summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2013-08-15 05:45:54 +0000
committerobache <obache@pkgsrc.org>2013-08-15 05:45:54 +0000
commitac67d11779f2d2a17332196beac0fcea6fa06384 (patch)
tree2109518893522b33c18ce43e14bd502a5cf69dc2 /sysutils
parentf5264d626aa49c4003fa6ef7a50aa361090882fb (diff)
downloadpkgsrc-ac67d11779f2d2a17332196beac0fcea6fa06384.tar.gz
Update packaging
* switch to use libnotify07 * no need to maintain desktopdb. * LICENSE=gnu-gpl-v2 Bump PKGREVISION.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/gnome-volume-manager/Makefile8
-rw-r--r--sysutils/gnome-volume-manager/distinfo3
-rw-r--r--sysutils/gnome-volume-manager/patches/patch-src_manager.c18
3 files changed, 24 insertions, 5 deletions
diff --git a/sysutils/gnome-volume-manager/Makefile b/sysutils/gnome-volume-manager/Makefile
index 97acabe458a..42b66612a15 100644
--- a/sysutils/gnome-volume-manager/Makefile
+++ b/sysutils/gnome-volume-manager/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.34 2013/06/06 12:55:04 wiz Exp $
+# $NetBSD: Makefile,v 1.35 2013/08/15 05:45:54 obache Exp $
#
DISTNAME= gnome-volume-manager-2.24.1
-PKGREVISION= 27
+PKGREVISION= 28
CATEGORIES= sysutils gnome
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gnome-volume-manager/2.24/}
EXTRACT_SUFX= .tar.bz2
@@ -10,6 +10,7 @@ EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gnome.org/
COMMENT= GNOME daemon to auto-mount and manage storage devices
+LICENSE= gnu-gpl-v2
DEPENDS+= gnome-mount>=0.8:../../sysutils/gnome-mount
@@ -32,8 +33,7 @@ GCONF_SCHEMAS+= gnome-volume-manager.schemas
.include "../../devel/libglade/buildlink3.mk"
.include "../../devel/libgnomeui/buildlink3.mk"
.include "../../sysutils/hal/buildlink3.mk"
-.include "../../sysutils/libnotify/buildlink3.mk"
+.include "../../sysutils/libnotify07/buildlink3.mk"
.include "../../sysutils/dbus-glib/buildlink3.mk"
-.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/gnome-volume-manager/distinfo b/sysutils/gnome-volume-manager/distinfo
index 89bbc5b0463..e6b83f3bd39 100644
--- a/sysutils/gnome-volume-manager/distinfo
+++ b/sysutils/gnome-volume-manager/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.3 2009/02/24 15:24:12 wiz Exp $
+$NetBSD: distinfo,v 1.4 2013/08/15 05:45:54 obache Exp $
SHA1 (gnome-volume-manager-2.24.1.tar.bz2) = 1a79546133708e18400b42cc1d621ab38962c573
RMD160 (gnome-volume-manager-2.24.1.tar.bz2) = 418bff9f1e1492deb349ced1727f6aab0e360c76
Size (gnome-volume-manager-2.24.1.tar.bz2) = 374678 bytes
SHA1 (patch-aa) = de2b58679b657e8f03cff5610e0f5367fa3e1d76
+SHA1 (patch-src_manager.c) = c1b6c0d94b362be1c6ff89fc23c9841dba789191
diff --git a/sysutils/gnome-volume-manager/patches/patch-src_manager.c b/sysutils/gnome-volume-manager/patches/patch-src_manager.c
new file mode 100644
index 00000000000..d9c9ecca8a8
--- /dev/null
+++ b/sysutils/gnome-volume-manager/patches/patch-src_manager.c
@@ -0,0 +1,18 @@
+$NetBSD: patch-src_manager.c,v 1.1 2013/08/15 05:45:54 obache Exp $
+
+* for libnotify-0.7 API change
+
+--- src/manager.c.orig 2009-02-15 20:55:39.000000000 +0000
++++ src/manager.c
+@@ -3714,9 +3714,9 @@ gvm_statfs_check_space (const char *udi,
+
+ icon = libhal_device_get_property_string (hal_ctx, udi, "info.icon_name", NULL);
+ if (icon != NULL)
+- n = notify_notification_new (_("Low Disk Space"), msg, icon, NULL);
++ n = notify_notification_new (_("Low Disk Space"), msg, icon);
+ else
+- n = notify_notification_new (_("Low Disk Space"), msg, "drive-harddisk", NULL);
++ n = notify_notification_new (_("Low Disk Space"), msg, "drive-harddisk");
+
+ notify_notification_set_urgency (n, NOTIFY_URGENCY_CRITICAL);
+ notify_notification_show (n, NULL);