diff options
Diffstat (limited to 'sysutils/gnome-mount')
-rw-r--r-- | sysutils/gnome-mount/Makefile | 37 | ||||
-rw-r--r-- | sysutils/gnome-mount/distinfo | 3 | ||||
-rw-r--r-- | sysutils/gnome-mount/files/patch-gnome-mount.schemas.in | 47 | ||||
-rw-r--r-- | sysutils/gnome-mount/files/patch-src_gnome-mount.c | 20 | ||||
-rw-r--r-- | sysutils/gnome-mount/pkg-descr | 2 | ||||
-rw-r--r-- | sysutils/gnome-mount/pkg-plist | 33 |
6 files changed, 142 insertions, 0 deletions
diff --git a/sysutils/gnome-mount/Makefile b/sysutils/gnome-mount/Makefile new file mode 100644 index 000000000..f0daa09ac --- /dev/null +++ b/sysutils/gnome-mount/Makefile @@ -0,0 +1,37 @@ +# 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.13 2007/02/11 06:03:50 marcus Exp $ +# + +PORTNAME= gnome-mount +PORTVERSION= 0.6 +PORTREVISION= 3 +CATEGORIES= sysutils gnome +MASTER_SITES= http://people.freedesktop.org/~david/dist/ + +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 + +USE_XLIB= yes +USE_GNOME= gnomeprefix gnomehack intlhack nautilus2 +USE_GMAKE= yes +USE_GETTEXT= yes +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --enable-nautilus-extension +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +GCONF_SCHEMAS= gnome-mount.schemas +MAN1= gnome-mount.1 + +post-patch: + @${REINPLACE_CMD} -e 's|0.5.8.1|0.5.8|g' \ + ${WRKSRC}/configure + +.include <bsd.port.mk> diff --git a/sysutils/gnome-mount/distinfo b/sysutils/gnome-mount/distinfo new file mode 100644 index 000000000..94f471d4a --- /dev/null +++ b/sysutils/gnome-mount/distinfo @@ -0,0 +1,3 @@ +MD5 (gnome-mount-0.6.tar.gz) = d2612aecfa73806e072316033d78b203 +SHA256 (gnome-mount-0.6.tar.gz) = 4169840c49135a58dff6b99445492b74bc751dbb19c9133568ecfbcbf3219cad +SIZE (gnome-mount-0.6.tar.gz) = 466656 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..0d4136e5c --- /dev/null +++ b/sysutils/gnome-mount/files/patch-src_gnome-mount.c @@ -0,0 +1,20 @@ +--- src/gnome-mount.c.orig Sun Sep 17 01:17:54 2006 ++++ src/gnome-mount.c Sun Feb 11 01:03:16 2007 +@@ -380,7 +385,7 @@ show_error_dialog_mount (LibHalVolume *v + } else if (strcmp (error_name, "org.freedesktop.Hal.Device.Volume.AlreadyMounted") == 0) { + + /* don't show any dialog for this */ +- gtk_widget_unref (w); ++ gtk_widget_destroy (w); + w = NULL; + + #if 0 +@@ -399,7 +404,7 @@ show_error_dialog_mount (LibHalVolume *v + * + * Don't show any dialog for this. + */ +- gtk_widget_unref (w); ++ gtk_widget_destroy (w); + w = NULL; + + } 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..b7b351e89 --- /dev/null +++ b/sysutils/gnome-mount/pkg-plist @@ -0,0 +1,33 @@ +bin/gnome-eject +bin/gnome-mount +bin/gnome-umount +lib/nautilus/extensions-1.0/libgnome-mount.a +lib/nautilus/extensions-1.0/libgnome-mount.la +lib/nautilus/extensions-1.0/libgnome-mount.so +libdata/pkgconfig/gnome-mount.pc +share/gnome-mount/gnome-mount-properties.glade +share/locale/ar/LC_MESSAGES/gnome-mount.mo +share/locale/be/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/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/mk/LC_MESSAGES/gnome-mount.mo +share/locale/nb/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 +@dirrm share/gnome-mount +@dirrmtry share/locale/dz/LC_MESSAGES +@dirrmtry share/locale/dz +@dirrmtry share/locale/ca/LC_MESSAGES +@dirrmtry share/locale/ca +@dirrmtry share/locale/be/LC_MESSAGES +@dirrmtry share/locale/be |