aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2006-11-08 13:17:13 +0800
committermarcus <marcus@FreeBSD.org>2006-11-08 13:17:13 +0800
commita641e14963b80c3a908d0f3a675db8a1ef52820d (patch)
tree16ac364e1ad8ab359d69017bfee2c97b2005cdcc /sysutils
parentd109aab40da6bbf05413e0e30bc3515ec63f7d4e (diff)
downloadfreebsd-ports-graphics-a641e14963b80c3a908d0f3a675db8a1ef52820d.tar.gz
freebsd-ports-graphics-a641e14963b80c3a908d0f3a675db8a1ef52820d.tar.zst
freebsd-ports-graphics-a641e14963b80c3a908d0f3a675db8a1ef52820d.zip
Update to 2.16.2.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/gnome-power-manager/Makefile12
-rw-r--r--sysutils/gnome-power-manager/distinfo6
-rw-r--r--sysutils/gnome-power-manager/files/patch-src_gpm-manager.c27
-rw-r--r--sysutils/gnome-power-manager/pkg-plist2
4 files changed, 14 insertions, 33 deletions
diff --git a/sysutils/gnome-power-manager/Makefile b/sysutils/gnome-power-manager/Makefile
index d6bd6fa0f2b..c5c37d3a124 100644
--- a/sysutils/gnome-power-manager/Makefile
+++ b/sysutils/gnome-power-manager/Makefile
@@ -7,8 +7,7 @@
#
PORTNAME= gnome-power-manager
-PORTVERSION= 2.16.1
-PORTREVISION= 1
+PORTVERSION= 2.16.2
CATEGORIES= sysutils gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
@@ -29,10 +28,17 @@ INSTALLS_ICONS= yes
USE_AUTOTOOLS= libtool:15
USE_GNOME= gnomeprefix gnomehack intlhack libgnomeui libwnck \
gnomedocutils
-CONFIGURE_ARGS= --disable-icon-framing
+CONFIGURE_ARGS= --disable-icon-framing \
+ --docdir=${PREFIX}/share/doc/${PORTNAME} \
+ --with-doc-dir=${PREFIX}/share/doc \
+ --disable-docbook-docs
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
GCONF_SCHEMAS= gnome-power-manager.schemas
+post-patch:
+ @${REINPLACE_CMD} -e 's|-lresolv||' \
+ ${WRKSRC}/configure
+
.include <bsd.port.mk>
diff --git a/sysutils/gnome-power-manager/distinfo b/sysutils/gnome-power-manager/distinfo
index e01eb689ac1..0e63167dc6f 100644
--- a/sysutils/gnome-power-manager/distinfo
+++ b/sysutils/gnome-power-manager/distinfo
@@ -1,3 +1,3 @@
-MD5 (gnome2/gnome-power-manager-2.16.1.tar.bz2) = 6798ee24e5e94befab5a7584c19771cb
-SHA256 (gnome2/gnome-power-manager-2.16.1.tar.bz2) = c2bddef973b8a72b8da03b2cffad5107bfaefb64bd42a0763d9d925e222a3490
-SIZE (gnome2/gnome-power-manager-2.16.1.tar.bz2) = 1862984
+MD5 (gnome2/gnome-power-manager-2.16.2.tar.bz2) = e7af47f4d49f7a10728216922dc82b4b
+SHA256 (gnome2/gnome-power-manager-2.16.2.tar.bz2) = a0894478b9f5e7fd48a3cf8f7abd8fe27b74fc9dec165c603d3840416b12eae9
+SIZE (gnome2/gnome-power-manager-2.16.2.tar.bz2) = 1863372
diff --git a/sysutils/gnome-power-manager/files/patch-src_gpm-manager.c b/sysutils/gnome-power-manager/files/patch-src_gpm-manager.c
deleted file mode 100644
index d590fca4919..00000000000
--- a/sysutils/gnome-power-manager/files/patch-src_gpm-manager.c
+++ /dev/null
@@ -1,27 +0,0 @@
-Index: gpm-manager.c
-===================================================================
-RCS file: /cvs/gnome/gnome-power-manager/src/gpm-manager.c,v
-retrieving revision 1.172.2.2
-diff -u -r1.172.2.2 gpm-manager.c
---- src/gpm-manager.c 19 Oct 2006 16:47:59 -0000 1.172.2.2
-+++ src/gpm-manager.c 6 Nov 2006 19:02:16 -0000
-@@ -680,6 +680,10 @@
- manager->priv->dpms_throttle_id = 0;
- }
- } else {
-+ /* if throttle already exists then remove */
-+ if (manager->priv->dpms_throttle_id > 0) {
-+ gpm_screensaver_remove_throttle (manager->priv->screensaver, manager->priv->dpms_throttle_id);
-+ }
- manager->priv->dpms_throttle_id = gpm_screensaver_add_throttle (manager->priv->screensaver, _("Display power management activated"));
- }
- }
-@@ -2863,6 +2867,8 @@
- /* Do we ignore inhibit requests? */
- manager->priv->ignore_inhibits = gconf_client_get_bool (manager->priv->gconf_client,
- GPM_PREF_IGNORE_INHIBITS, NULL);
-+ /* set no throttle */
-+ manager->priv->dpms_throttle_id = -1;
- }
-
- /**
diff --git a/sysutils/gnome-power-manager/pkg-plist b/sysutils/gnome-power-manager/pkg-plist
index 74bbe12673e..5ad8c3fa774 100644
--- a/sysutils/gnome-power-manager/pkg-plist
+++ b/sysutils/gnome-power-manager/pkg-plist
@@ -218,6 +218,7 @@ share/icons/hicolor/scalable/apps/gpm-ups-100-charging.svg
share/icons/hicolor/scalable/apps/gpm-ups-100.svg
share/icons/hicolor/scalable/apps/gpm-ups-charged.svg
share/icons/hicolor/scalable/apps/gpm-ups-missing.svg
+share/locale/ar/LC_MESSAGES/gnome-power-manager.mo
share/locale/bg/LC_MESSAGES/gnome-power-manager.mo
share/locale/bn/LC_MESSAGES/gnome-power-manager.mo
share/locale/bn_IN/LC_MESSAGES/gnome-power-manager.mo
@@ -237,6 +238,7 @@ share/locale/fi/LC_MESSAGES/gnome-power-manager.mo
share/locale/fr/LC_MESSAGES/gnome-power-manager.mo
share/locale/gl/LC_MESSAGES/gnome-power-manager.mo
share/locale/gu/LC_MESSAGES/gnome-power-manager.mo
+share/locale/he/LC_MESSAGES/gnome-power-manager.mo
share/locale/hi/LC_MESSAGES/gnome-power-manager.mo
share/locale/hu/LC_MESSAGES/gnome-power-manager.mo
share/locale/it/LC_MESSAGES/gnome-power-manager.mo