summaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2010-12-27 01:23:02 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2010-12-27 01:23:02 +0800
commit82b0631277b02415e713e6a65ef0291ce1a05ac4 (patch)
tree1855bed986d24f5223b2f431c73e6d6523b81b53 /sysutils
parent0a5b8984e5b4e960c9da79052903310b37a66215 (diff)
downloadmarcuscom-ports-82b0631277b02415e713e6a65ef0291ce1a05ac4.tar
marcuscom-ports-82b0631277b02415e713e6a65ef0291ce1a05ac4.tar.gz
marcuscom-ports-82b0631277b02415e713e6a65ef0291ce1a05ac4.tar.bz2
marcuscom-ports-82b0631277b02415e713e6a65ef0291ce1a05ac4.tar.lz
marcuscom-ports-82b0631277b02415e713e6a65ef0291ce1a05ac4.tar.xz
marcuscom-ports-82b0631277b02415e713e6a65ef0291ce1a05ac4.tar.zst
marcuscom-ports-82b0631277b02415e713e6a65ef0291ce1a05ac4.zip
Adapt to new libnotify API.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@14956 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/gnome-mount/Makefile36
-rw-r--r--sysutils/gnome-mount/distinfo3
-rw-r--r--sysutils/gnome-mount/files/patch-gnome-mount.schemas.in47
-rw-r--r--sysutils/gnome-mount/files/patch-src_gnome-mount.c21
-rw-r--r--sysutils/gnome-mount/pkg-descr2
-rw-r--r--sysutils/gnome-mount/pkg-plist41
6 files changed, 150 insertions, 0 deletions
diff --git a/sysutils/gnome-mount/Makefile b/sysutils/gnome-mount/Makefile
new file mode 100644
index 000000000..1e8313dfe
--- /dev/null
+++ b/sysutils/gnome-mount/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: gnome-mount
+# Date created: 04 June 2006
+# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom: ports/sysutils/gnome-mount/Makefile,v 1.24 2008/02/04 23:18:46 mezz Exp $
+#
+
+PORTNAME= gnome-mount
+PORTVERSION= 0.8
+PORTREVISION= 8
+CATEGORIES= sysutils gnome
+MASTER_SITES= http://hal.freedesktop.org/releases/
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= A front-end to mount, umount, and eject using HAL
+
+LIB_DEPENDS= hal.1:${PORTSDIR}/sysutils/hal \
+ notify.1:${PORTSDIR}/devel/libnotify \
+ gnome-keyring:${PORTSDIR}/security/gnome-keyring
+RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/polkit-gnome.pc:${PORTSDIR}/sysutils/policykit-gnome
+
+USE_GNOME= gnomeprefix gnomehack intlhack gconf2 gtk20
+USE_GMAKE= yes
+USE_GETTEXT= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --disable-nautilus-extension
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+GCONF_SCHEMAS= gnome-mount.schemas
+MAN1= gnome-mount.1
+MLINKS= gnome-mount.1 gnome-eject.1 \
+ gnome-mount.1 gnome-umount.1
+
+.include <bsd.port.mk>
diff --git a/sysutils/gnome-mount/distinfo b/sysutils/gnome-mount/distinfo
new file mode 100644
index 000000000..99faf8250
--- /dev/null
+++ b/sysutils/gnome-mount/distinfo
@@ -0,0 +1,3 @@
+MD5 (gnome-mount-0.8.tar.gz) = 562ec9d0196e5e000bdd249a04a3aa6a
+SHA256 (gnome-mount-0.8.tar.gz) = 44ca6b78b49a4181435e489c7b7d416c8f26442dcecdc01ec4b981274ed957e2
+SIZE (gnome-mount-0.8.tar.gz) = 505788
diff --git a/sysutils/gnome-mount/files/patch-gnome-mount.schemas.in b/sysutils/gnome-mount/files/patch-gnome-mount.schemas.in
new file mode 100644
index 000000000..c46bf1609
--- /dev/null
+++ b/sysutils/gnome-mount/files/patch-gnome-mount.schemas.in
@@ -0,0 +1,47 @@
+--- gnome-mount.schemas.in.orig Tue Apr 10 18:50:12 2007
++++ gnome-mount.schemas.in Sat Apr 14 14:49:22 2007
+@@ -6,7 +6,7 @@
+ <applyto>/system/storage/default_options/vfat/mount_options</applyto>
+ <type>list</type>
+ <list_type>string</list_type>
+- <default>[shortname=lower,uid=]</default>
++ <default>[longnames,-u=]</default>
+ <locale name="C">
+ <short>Default mount options for vfat fs</short>
+ <long>A list of default mount options for volumes formatted with the vfat file system.</long>
+@@ -18,7 +18,7 @@
+ <applyto>/system/storage/default_options/iso9660/mount_options</applyto>
+ <type>list</type>
+ <list_type>string</list_type>
+- <default>[uid=]</default>
++ <default>[]</default>
+ <locale name="C">
+ <short>Default mount options for iso9660 fs</short>
+ <long>A list of default mount options for volumes formatted with the iso9660 file system.</long>
+@@ -30,7 +30,7 @@
+ <applyto>/system/storage/default_options/udf/mount_options</applyto>
+ <type>list</type>
+ <list_type>string</list_type>
+- <default>[uid=]</default>
++ <default>[]</default>
+ <locale name="C">
+ <short>Default mount options for udf fs</short>
+ <long>A list of default mount options for volumes formatted with the udf file system.</long>
+@@ -42,7 +42,7 @@
+ <applyto>/system/storage/default_options/ntfs/mount_options</applyto>
+ <type>list</type>
+ <list_type>string</list_type>
+- <default>[umask=222]</default>
++ <default>[-m=755]</default>
+ <locale name="C">
+ <short>Default mount options for ntfs fs</short>
+ <long>A list of default mount options for volumes formatted with the ntfs file system.</long>
+@@ -52,7 +52,7 @@
+ <key>/schemas/system/storage/default_options/ntfs/fstype_override</key>
+ <applyto>/system/storage/default_options/ntfs/fstype_override</applyto>
+ <type>string</type>
+- <default>ntfs-3g</default>
++ <default></default>
+ <locale name="C">
+ <short>When 'ntfs' is detected, what file system driver to use by default</short>
+ <long>The name of the file system driver to use by default when 'ntfs' is detected. This is useful for configuring the system to use the 'ntfs-3g' driver for all 'ntfs' file systems by default. User can still choose to use the 'ntfs' file system driver by overriding it per-volume or on the command line.</long>
diff --git a/sysutils/gnome-mount/files/patch-src_gnome-mount.c b/sysutils/gnome-mount/files/patch-src_gnome-mount.c
new file mode 100644
index 000000000..fb1a67192
--- /dev/null
+++ b/sysutils/gnome-mount/files/patch-src_gnome-mount.c
@@ -0,0 +1,21 @@
+--- src/gnome-mount.c.orig 2010-12-26 14:53:42.000000000 +0100
++++ src/gnome-mount.c 2010-12-26 18:19:30.000000000 +0100
+@@ -38,7 +38,7 @@
+
+ #include <glib/gi18n.h>
+ #include <gconf/gconf-client.h>
+-#include <gdk/gdkx.h>
++#include <gtk/gtk.h>
+ #include "copy-paste/gnome-password-dialog.h"
+ #include <gnome-keyring.h>
+ #include <libnotify/notify.h>
+@@ -1577,8 +1577,7 @@
+ message = g_strdup_printf (_("There is data that needs to be written to the device %s before it can be removed. Please do not remove the media or disconnect the drive."), unmount_note_drive_name);
+ unmount_note = notify_notification_new (summary,
+ message,
+- "gnome-dev-harddisk", /* TODO: use appropriate icon */
+- NULL);
++ "gnome-dev-harddisk");
+ if (unmount_note == NULL) {
+ g_warning ("Cannot create note for unmount cache sync");
+ } else {
diff --git a/sysutils/gnome-mount/pkg-descr b/sysutils/gnome-mount/pkg-descr
new file mode 100644
index 000000000..a75d36294
--- /dev/null
+++ b/sysutils/gnome-mount/pkg-descr
@@ -0,0 +1,2 @@
+gnome-mount is a HAL-based front-end to mount, umount, and eject which
+offers a centralized place where settings for these commands are maintained.
diff --git a/sysutils/gnome-mount/pkg-plist b/sysutils/gnome-mount/pkg-plist
new file mode 100644
index 000000000..3c685882f
--- /dev/null
+++ b/sysutils/gnome-mount/pkg-plist
@@ -0,0 +1,41 @@
+bin/gnome-eject
+bin/gnome-mount
+bin/gnome-umount
+libdata/pkgconfig/gnome-mount.pc
+%%DATADIR%%/gnome-mount-properties.glade
+share/locale/ar/LC_MESSAGES/gnome-mount.mo
+share/locale/be/LC_MESSAGES/gnome-mount.mo
+share/locale/be@latin/LC_MESSAGES/gnome-mount.mo
+share/locale/ca/LC_MESSAGES/gnome-mount.mo
+share/locale/da/LC_MESSAGES/gnome-mount.mo
+share/locale/dz/LC_MESSAGES/gnome-mount.mo
+share/locale/el/LC_MESSAGES/gnome-mount.mo
+share/locale/en_GB/LC_MESSAGES/gnome-mount.mo
+share/locale/es/LC_MESSAGES/gnome-mount.mo
+share/locale/fi/LC_MESSAGES/gnome-mount.mo
+share/locale/fr/LC_MESSAGES/gnome-mount.mo
+share/locale/hu/LC_MESSAGES/gnome-mount.mo
+share/locale/it/LC_MESSAGES/gnome-mount.mo
+share/locale/ja/LC_MESSAGES/gnome-mount.mo
+share/locale/lv/LC_MESSAGES/gnome-mount.mo
+share/locale/mk/LC_MESSAGES/gnome-mount.mo
+share/locale/nb/LC_MESSAGES/gnome-mount.mo
+share/locale/oc/LC_MESSAGES/gnome-mount.mo
+share/locale/pa/LC_MESSAGES/gnome-mount.mo
+share/locale/pl/LC_MESSAGES/gnome-mount.mo
+share/locale/pt/LC_MESSAGES/gnome-mount.mo
+share/locale/pt_BR/LC_MESSAGES/gnome-mount.mo
+share/locale/ru/LC_MESSAGES/gnome-mount.mo
+share/locale/sv/LC_MESSAGES/gnome-mount.mo
+share/locale/vi/LC_MESSAGES/gnome-mount.mo
+share/locale/zh_HK/LC_MESSAGES/gnome-mount.mo
+share/locale/zh_TW/LC_MESSAGES/gnome-mount.mo
+@dirrmtry share/locale/zh_HK/LC_MESSAGES
+@dirrmtry share/locale/zh_HK
+@dirrmtry share/locale/oc/LC_MESSAGES
+@dirrmtry share/locale/oc
+@dirrmtry share/locale/dz/LC_MESSAGES
+@dirrmtry share/locale/dz
+@dirrmtry share/locale/be@latin/LC_MESSAGES
+@dirrmtry share/locale/be@latin
+@dirrm %%DATADIR%%