diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-06-05 01:40:16 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-06-05 01:40:16 +0800 |
commit | e1203e89c0f8d9dbe743fa62d969181464a0a0d7 (patch) | |
tree | 41d2830f0b5b53d2ad758ca65e6ffac95d2e91e3 /sysutils/gnome-mount | |
parent | 31ca390e4cd2fcd65d91c80d4f92545cb8f2936c (diff) | |
download | marcuscom-ports-e1203e89c0f8d9dbe743fa62d969181464a0a0d7.tar marcuscom-ports-e1203e89c0f8d9dbe743fa62d969181464a0a0d7.tar.gz marcuscom-ports-e1203e89c0f8d9dbe743fa62d969181464a0a0d7.tar.bz2 marcuscom-ports-e1203e89c0f8d9dbe743fa62d969181464a0a0d7.tar.lz marcuscom-ports-e1203e89c0f8d9dbe743fa62d969181464a0a0d7.tar.xz marcuscom-ports-e1203e89c0f8d9dbe743fa62d969181464a0a0d7.tar.zst marcuscom-ports-e1203e89c0f8d9dbe743fa62d969181464a0a0d7.zip |
Add gnome-mount, a HAL-based front-end to mount, umount, and eject
functionalities.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6363 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'sysutils/gnome-mount')
-rw-r--r-- | sysutils/gnome-mount/Makefile | 28 | ||||
-rw-r--r-- | sysutils/gnome-mount/distinfo | 3 | ||||
-rw-r--r-- | sysutils/gnome-mount/files/patch-src_gnome-mount.c | 18 | ||||
-rw-r--r-- | sysutils/gnome-mount/pkg-descr | 2 | ||||
-rw-r--r-- | sysutils/gnome-mount/pkg-plist | 6 |
5 files changed, 57 insertions, 0 deletions
diff --git a/sysutils/gnome-mount/Makefile b/sysutils/gnome-mount/Makefile new file mode 100644 index 000000000..5b233b3e7 --- /dev/null +++ b/sysutils/gnome-mount/Makefile @@ -0,0 +1,28 @@ +# New ports collection makefile for: gnome-mount +# Date created: 04 June 2006 +# Whom: Joe Marcus Clarke <marcus@FreeBSD.org> +# +# $FreeBSD$ +# $MCom$ +# + +PORTNAME= gnome-mount +PORTVERSION= 0.3 +CATEGORIES= sysutils gnome +MASTER_SITES= http://people.freedesktop.org/~david/ + +MAINTAINER= gnome@FreeBSD.org +COMMENT= A font-end to mount, umount, and eject using HAL + +LIB_DEPENDS= hal.1:${PORTSDIR}/sysutils/hal + +USE_X_PREFIX= yes +USE_GNOME= gnomeprefix gnomehack intlhack libgnomeui +USE_GMAKE= yes +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +GCONF_SCHEMAS= gnome-mount.schemas + +.include <bsd.port.mk> diff --git a/sysutils/gnome-mount/distinfo b/sysutils/gnome-mount/distinfo new file mode 100644 index 000000000..5273de628 --- /dev/null +++ b/sysutils/gnome-mount/distinfo @@ -0,0 +1,3 @@ +MD5 (gnome-mount-0.3.tar.gz) = 2bf5649b21e98378c49e44bbd42bf89d +SHA256 (gnome-mount-0.3.tar.gz) = 13269aa6f767b8e65eb795a29041308ac664ccff9b5ce15eacbf52c5d62dc719 +SIZE (gnome-mount-0.3.tar.gz) = 112926 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..217cae97a --- /dev/null +++ b/sysutils/gnome-mount/files/patch-src_gnome-mount.c @@ -0,0 +1,18 @@ +--- src/gnome-mount.c.orig Sun Jun 4 13:20:44 2006 ++++ src/gnome-mount.c Sun Jun 4 13:27:18 2006 +@@ -338,6 +338,7 @@ main (int argc, char *argv[]) + + fsoptions = NULL; + ++#ifdef __linux__ + snprintf (uidbuf, sizeof(uidbuf) - 1, "uid=%d", getuid()); + + /* TODO: read defaults from gconf */ +@@ -349,6 +350,7 @@ main (int argc, char *argv[]) + } else if (strcmp (fstype, "udf") == 0) { + fsoptions = g_list_append (fsoptions, uidbuf); + } ++#endif + + /* TODO: read per-volume settings from gconf and adjust fsoptions */ + 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..12cb1f6e5 --- /dev/null +++ b/sysutils/gnome-mount/pkg-plist @@ -0,0 +1,6 @@ +bin/gnome-eject +bin/gnome-mount +bin/gnome-mount-properties +bin/gnome-umount +share/gnome/gnome-mount/gnome-mount-properties.glade +@dirrm share/gnome/gnome-mount |