[Midnightbsd-cvs] mports: mports/sysutils: add gnome-mount

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Tue Oct 23 17:06:52 EDT 2007


Log Message:
-----------
add gnome-mount

Modified Files:
--------------
    mports/sysutils:
        Makefile (r1.52 -> r1.53)

Added Files:
-----------
    mports/sysutils/gnome-mount:
        Makefile (r1.1)
        distinfo (r1.1)
        pkg-descr (r1.1)
        pkg-plist (r1.1)
    mports/sysutils/gnome-mount/files:
        patch-gnome-mount.schemas.in (r1.1)
        patch-src_gnome-mount.c (r1.1)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/sysutils/Makefile,v
retrieving revision 1.52
retrieving revision 1.53
diff -Lsysutils/Makefile -Lsysutils/Makefile -u -r1.52 -r1.53
--- sysutils/Makefile
+++ sysutils/Makefile
@@ -25,6 +25,7 @@
     SUBDIR += gag
     SUBDIR += gconf-editor
     SUBDIR += gnome-control-center
+    SUBDIR += gnome-mount
     SUBDIR += gnome-system-monitor
     SUBDIR += gnome_subr
     SUBDIR += hal
--- /dev/null
+++ 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.
--- /dev/null
+++ 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/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
+ at dirrm share/gnome/gnome-mount
+ at dirrmtry share/locale/dz/LC_MESSAGES
+ at dirrmtry share/locale/dz
+ at dirrmtry share/locale/ca/LC_MESSAGES
+ at dirrmtry share/locale/ca
+ at dirrmtry share/locale/be/LC_MESSAGES
+ at dirrmtry share/locale/be
--- /dev/null
+++ sysutils/gnome-mount/Makefile
@@ -0,0 +1,38 @@
+# New ports collection makefile for:	gnome-mount
+# Date created:			04 June 2006
+# Whom:				Joe Marcus Clarke <marcus at FreeBSD.org>
+#
+# $MidnightBSD: mports/sysutils/gnome-mount/Makefile,v 1.1 2007/10/23 21:06:50 laffer1 Exp $
+# $FreeBSD: ports/sysutils/gnome-mount/Makefile,v 1.9 2007/05/19 20:23:17 flz Exp $
+#   $MCom: ports/sysutils/gnome-mount/Makefile,v 1.13 2007/02/11 06:03:50 marcus Exp $
+#
+
+PORTNAME=	gnome-mount
+PORTVERSION=	0.6
+CATEGORIES=	sysutils gnome
+MASTER_SITES=	http://people.freedesktop.org/~david/dist/
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	A front-end to mount, umount, and eject using HAL
+LICENSE=	gpl2
+
+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>
--- /dev/null
+++ 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
--- /dev/null
+++ 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>
--- /dev/null
+++ 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 {


More information about the Midnightbsd-cvs mailing list