diff options
author | marcus <marcus@FreeBSD.org> | 2006-10-14 16:35:50 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2006-10-14 16:35:50 +0800 |
commit | 9b9c902909a87b589432804ec4e8a7fa23943ff4 (patch) | |
tree | aa2e443568b953ce772558b2be74a8451e38ec3d /sysutils/gnome-volume-manager | |
parent | f5a682ff4e0a5d73ce8bffeb88c799eb8ef0e816 (diff) | |
download | freebsd-ports-gnome-9b9c902909a87b589432804ec4e8a7fa23943ff4.tar.gz freebsd-ports-gnome-9b9c902909a87b589432804ec4e8a7fa23943ff4.tar.zst freebsd-ports-gnome-9b9c902909a87b589432804ec4e8a7fa23943ff4.zip |
Presenting GNOME 2.16.1 for FreeBSD. This release represents a massive
amount of work by the FreeBSD GNOME Team and our testers.
On top of the usual GNOME update, we have taken this opportunity to move
GNOME from X11BASE to LOCALBASE. This means roughly 600 ports NOT part of
the GNOME Desktop also need to be changed. The bulk of the move was carried
out by ahze, mezz, and pav, but it would not have been possible without
cooperation from the FreeBSD KDE team who worked with us to make sure
GNOME and KDE can still coexist happily. We would also like to send a
shout out to kris and pointyhat for putting up with multiple test runs
until we got something that was solid.
Back to GNOME 2.16. This release brings a huge amount of new functionality
to FreeBSD. The standard release notes can be read at
http://www.gnome.org/start/2.16/ . But on top of what you will read there,
jylefort and marcus have completed work on a port of HAL to FreeBSD. This
will allow FreeBSD to take advantage of closer hardware interaction such
as auto-mounting CD-ROMs, USB drives, and music players; auto-playing
audio CDs; and managing laptop power consumption.
But where would this all be without our loyal testers and contributors?
Therefore, the FreeBSD GNOME team would like to thank the following users:
Phillip Neumann <pneumann@gmail.com>
tmclaugh
mux
Yuri Pankov <yuri.pankov@gmail.com>
chinsan
Thomas <freebsdlists@bsdunix.ch>
Brian Gruber <knightbg@yahoo.com>
Franz Klammer <klammer@webonaut.com>
Dominique Goncalves <dominique.goncalves@gmail.com>
Pascal Hofstee <caelian@gmail.com>
Yasuda Keisuke <kysd@po.harenet.ne.jp>
backyard <backyard1454-bsd@yahoo.com>
Andris Raugulis <endrju@null.lv> <endrju@null.lv>
Eric L. Chen <d9364104@mail.nchu.edu.tw>
Pawel Worach <pawel.worach@gmail.com>
QuiRK on #freebsd-gnome
Shane Bell <decept0@gmail.com>
luigi
sajd on #freebsd-gnome
sat
Chris Coleman <chrisc@vmunix.com>
kaeru on #freebsd-gnome
crsd_ via irc.freenode.org/#FreeBSD-GNOME
Joel Diaz <joeldiaz@mac.com>
Enjoy!
Approved by: portmgr (implicit, kris)
Diffstat (limited to 'sysutils/gnome-volume-manager')
-rw-r--r-- | sysutils/gnome-volume-manager/Makefile | 30 | ||||
-rw-r--r-- | sysutils/gnome-volume-manager/distinfo | 3 | ||||
-rw-r--r-- | sysutils/gnome-volume-manager/files/patch-gnome-volume-manager.schemas.in | 11 | ||||
-rw-r--r-- | sysutils/gnome-volume-manager/files/patch-src_manager.c | 63 | ||||
-rw-r--r-- | sysutils/gnome-volume-manager/files/patch-src_properties.c | 14 | ||||
-rw-r--r-- | sysutils/gnome-volume-manager/pkg-descr | 3 | ||||
-rw-r--r-- | sysutils/gnome-volume-manager/pkg-plist | 118 |
7 files changed, 242 insertions, 0 deletions
diff --git a/sysutils/gnome-volume-manager/Makefile b/sysutils/gnome-volume-manager/Makefile new file mode 100644 index 000000000000..8eb999440ae5 --- /dev/null +++ b/sysutils/gnome-volume-manager/Makefile @@ -0,0 +1,30 @@ +# New ports collection makefile for: gnome-volume-manager +# Date created: 02 May 2006 +# Whom: Jean-Yves Lefort <jylefort@FreeBSD.org> +# +# $FreeBSD$ +# $MCom: ports/sysutils/gnome-volume-manager/Makefile,v 1.7 2006/09/15 05:50:19 marcus Exp $ +# + +PORTNAME= gnome-volume-manager +PORTVERSION= 2.15.0 +CATEGORIES= sysutils gnome +MASTER_SITES= ${MASTER_SITE_GNOME} +MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:R} + +MAINTAINER= gnome@FreeBSD.org +COMMENT= Automatically mount removable media, and more + +LIB_DEPENDS= hal.1:${PORTSDIR}/sysutils/hal \ + notify.2:${PORTSDIR}/devel/libnotify + +USE_XLIB= yes +USE_BZIP2= yes +USE_GNOME= gnomeprefix gnomehack intlhack nautilus2 +USE_GMAKE= yes +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib" +CONFIGURE_ARGS= --disable-multiuser +GCONF_SCHEMAS= gnome-volume-manager.schemas + +.include <bsd.port.mk> diff --git a/sysutils/gnome-volume-manager/distinfo b/sysutils/gnome-volume-manager/distinfo new file mode 100644 index 000000000000..9b0f0ca3ddf3 --- /dev/null +++ b/sysutils/gnome-volume-manager/distinfo @@ -0,0 +1,3 @@ +MD5 (gnome-volume-manager-2.15.0.tar.bz2) = d723bc2069fd19cf1c31961fbc1cf3c8 +SHA256 (gnome-volume-manager-2.15.0.tar.bz2) = f3d2ce3e2f2a4b757d4688bae7f6b8418d11340618f15d34871a002516ab8e0e +SIZE (gnome-volume-manager-2.15.0.tar.bz2) = 318479 diff --git a/sysutils/gnome-volume-manager/files/patch-gnome-volume-manager.schemas.in b/sysutils/gnome-volume-manager/files/patch-gnome-volume-manager.schemas.in new file mode 100644 index 000000000000..94af083a163b --- /dev/null +++ b/sysutils/gnome-volume-manager/files/patch-gnome-volume-manager.schemas.in @@ -0,0 +1,11 @@ +--- gnome-volume-manager.schemas.in.orig Wed Jun 7 21:41:12 2006 ++++ gnome-volume-manager.schemas.in Wed Jun 7 21:41:40 2006 +@@ -227,7 +227,7 @@ + <key>/schemas/desktop/gnome/volume_manager/autoprinter_command</key> + <applyto>/desktop/gnome/volume_manager/autoprinter_command</applyto> + <type>string</type> +- <default>gnome-printer-add hal://%h</default> ++ <default>gnome-cups-add hal://%h</default> + <locale name="C"> + <short>printer command</short> + <long>Command to run when a printer is connected.</long> diff --git a/sysutils/gnome-volume-manager/files/patch-src_manager.c b/sysutils/gnome-volume-manager/files/patch-src_manager.c new file mode 100644 index 000000000000..ded14abd6f96 --- /dev/null +++ b/sysutils/gnome-volume-manager/files/patch-src_manager.c @@ -0,0 +1,63 @@ +--- src/manager.c.orig Mon Jul 31 16:37:36 2006 ++++ src/manager.c Fri Sep 15 01:32:32 2006 +@@ -23,9 +23,12 @@ + #include <sys/types.h> + #include <sys/stat.h> + #include <dirent.h> ++#include <fcntl.h> + #include <signal.h> + #include <unistd.h> + #include <utmp.h> ++#include <sys/param.h> ++#include <sys/mount.h> + + #include <locale.h> + +@@ -3088,10 +3091,17 @@ gvm_local_user (void) + struct utmp *utmp; + const char *user; + size_t ulen; ++#ifndef __linux__ ++ int bytes, fd; ++ struct stat sb; ++ struct utmp buf[1024]; ++ long len; ++#endif + + user = g_get_user_name (); + ulen = strlen (user); + ++#ifdef __linux__ + setutent (); + + while (!local && (utmp = getutent ())) { +@@ -3103,7 +3113,28 @@ gvm_local_user (void) + } + + endutent (); +- ++#else ++ if ((fd = open (_PATH_WTMP, O_RDONLY, 0)) < 0 || fstat(fd, &sb) == -1) { ++ close (fd); ++ return TRUE; ++ } ++ len = (sb.st_size + sizeof(buf) - 1) / sizeof(buf); ++ ++ while (!local && --len >= 0) { ++ if (lseek(fd, (off_t) (len * sizeof(buf)), L_SET) == -1 || ++ (bytes = read (fd, buf, sizeof(buf))) == -1) { ++ close (fd); ++ return TRUE; ++ } ++ for (utmp = &buf[bytes / sizeof(buf[0]) - 1]; !local && utmp >= buf; --utmp) { ++ if (!utmp->ut_name[0] || strncmp (utmp->ut_name, user, ulen) != 0) ++ continue; ++ local = utmp->ut_line[0] == ':' && utmp->ut_line[1] >= '0' && utmp->ut_line[1] <= '9'; ++ } ++ } ++ ++ close (fd); ++#endif + return local; + } + diff --git a/sysutils/gnome-volume-manager/files/patch-src_properties.c b/sysutils/gnome-volume-manager/files/patch-src_properties.c new file mode 100644 index 000000000000..5e8d72a2d61b --- /dev/null +++ b/sysutils/gnome-volume-manager/files/patch-src_properties.c @@ -0,0 +1,14 @@ +--- src/properties.c.orig Sat Jul 15 13:54:29 2006 ++++ src/properties.c Sat Jul 15 13:55:03 2006 +@@ -499,7 +499,11 @@ main (int argc, char **argv) + _("The \"hald\" service is required but not currently " + "running. Enable the service and rerun this application, " + "or contact your system administrator.\n\n" ++#ifndef __FreeBSD__ + "Note: You need Linux kernel 2.6 for volume " ++#else ++ "Note: You need sysutils/hal installed for volume " ++#endif + "management to work.")); + + gtk_dialog_run (GTK_DIALOG (dialog)); diff --git a/sysutils/gnome-volume-manager/pkg-descr b/sysutils/gnome-volume-manager/pkg-descr new file mode 100644 index 000000000000..b8ce9b76814d --- /dev/null +++ b/sysutils/gnome-volume-manager/pkg-descr @@ -0,0 +1,3 @@ +gnome-volume-manager is a desktop-level daemon that enforces volume-related +policy in response to events received from HAL. Its goal is to implement all +functionality as a state-machine in response to asynchronous events from HAL. diff --git a/sysutils/gnome-volume-manager/pkg-plist b/sysutils/gnome-volume-manager/pkg-plist new file mode 100644 index 000000000000..c26bce96f36f --- /dev/null +++ b/sysutils/gnome-volume-manager/pkg-plist @@ -0,0 +1,118 @@ +bin/gnome-volume-manager +bin/gnome-volume-properties +share/gnome/applications/gnome-volume-properties.desktop +share/gnome/autostart/gnome-volume-manager.desktop +share/gnome/gnome-volume-manager/gnome-volume-properties.glade +share/gnome/gnome-volume-manager/icons/gvm-dev-tablet.png +share/locale/ang/LC_MESSAGES/gnome-volume-manager.mo +share/locale/ar/LC_MESSAGES/gnome-volume-manager.mo +share/locale/az/LC_MESSAGES/gnome-volume-manager.mo +share/locale/bg/LC_MESSAGES/gnome-volume-manager.mo +share/locale/bn/LC_MESSAGES/gnome-volume-manager.mo +share/locale/bn_IN/LC_MESSAGES/gnome-volume-manager.mo +share/locale/bs/LC_MESSAGES/gnome-volume-manager.mo +share/locale/ca/LC_MESSAGES/gnome-volume-manager.mo +share/locale/cs/LC_MESSAGES/gnome-volume-manager.mo +share/locale/cy/LC_MESSAGES/gnome-volume-manager.mo +share/locale/da/LC_MESSAGES/gnome-volume-manager.mo +share/locale/de/LC_MESSAGES/gnome-volume-manager.mo +share/locale/dz/LC_MESSAGES/gnome-volume-manager.mo +share/locale/el/LC_MESSAGES/gnome-volume-manager.mo +share/locale/en_CA/LC_MESSAGES/gnome-volume-manager.mo +share/locale/en_GB/LC_MESSAGES/gnome-volume-manager.mo +share/locale/es/LC_MESSAGES/gnome-volume-manager.mo +share/locale/et/LC_MESSAGES/gnome-volume-manager.mo +share/locale/eu/LC_MESSAGES/gnome-volume-manager.mo +share/locale/fa/LC_MESSAGES/gnome-volume-manager.mo +share/locale/fi/LC_MESSAGES/gnome-volume-manager.mo +share/locale/fr/LC_MESSAGES/gnome-volume-manager.mo +share/locale/gl/LC_MESSAGES/gnome-volume-manager.mo +share/locale/gu/LC_MESSAGES/gnome-volume-manager.mo +share/locale/he/LC_MESSAGES/gnome-volume-manager.mo +share/locale/hi/LC_MESSAGES/gnome-volume-manager.mo +share/locale/hr/LC_MESSAGES/gnome-volume-manager.mo +share/locale/hu/LC_MESSAGES/gnome-volume-manager.mo +share/locale/id/LC_MESSAGES/gnome-volume-manager.mo +share/locale/is/LC_MESSAGES/gnome-volume-manager.mo +share/locale/it/LC_MESSAGES/gnome-volume-manager.mo +share/locale/ja/LC_MESSAGES/gnome-volume-manager.mo +share/locale/ka/LC_MESSAGES/gnome-volume-manager.mo +share/locale/ko/LC_MESSAGES/gnome-volume-manager.mo +share/locale/lt/LC_MESSAGES/gnome-volume-manager.mo +share/locale/lv/LC_MESSAGES/gnome-volume-manager.mo +share/locale/mk/LC_MESSAGES/gnome-volume-manager.mo +share/locale/mn/LC_MESSAGES/gnome-volume-manager.mo +share/locale/ms/LC_MESSAGES/gnome-volume-manager.mo +share/locale/nb/LC_MESSAGES/gnome-volume-manager.mo +share/locale/ne/LC_MESSAGES/gnome-volume-manager.mo +share/locale/nl/LC_MESSAGES/gnome-volume-manager.mo +share/locale/nn/LC_MESSAGES/gnome-volume-manager.mo +share/locale/or/LC_MESSAGES/gnome-volume-manager.mo +share/locale/pa/LC_MESSAGES/gnome-volume-manager.mo +share/locale/pl/LC_MESSAGES/gnome-volume-manager.mo +share/locale/pt/LC_MESSAGES/gnome-volume-manager.mo +share/locale/pt_BR/LC_MESSAGES/gnome-volume-manager.mo +share/locale/ro/LC_MESSAGES/gnome-volume-manager.mo +share/locale/ru/LC_MESSAGES/gnome-volume-manager.mo +share/locale/rw/LC_MESSAGES/gnome-volume-manager.mo +share/locale/sk/LC_MESSAGES/gnome-volume-manager.mo +share/locale/sq/LC_MESSAGES/gnome-volume-manager.mo +share/locale/sr/LC_MESSAGES/gnome-volume-manager.mo +share/locale/sr@Latn/LC_MESSAGES/gnome-volume-manager.mo +share/locale/sv/LC_MESSAGES/gnome-volume-manager.mo +share/locale/ta/LC_MESSAGES/gnome-volume-manager.mo +share/locale/th/LC_MESSAGES/gnome-volume-manager.mo +share/locale/tr/LC_MESSAGES/gnome-volume-manager.mo +share/locale/uk/LC_MESSAGES/gnome-volume-manager.mo +share/locale/vi/LC_MESSAGES/gnome-volume-manager.mo +share/locale/xh/LC_MESSAGES/gnome-volume-manager.mo +share/locale/zh_CN/LC_MESSAGES/gnome-volume-manager.mo +share/locale/zh_HK/LC_MESSAGES/gnome-volume-manager.mo +share/locale/zh_TW/LC_MESSAGES/gnome-volume-manager.mo +@dirrmtry share/gnome/autostart +@dirrm share/gnome/gnome-volume-manager/icons +@dirrm share/gnome/gnome-volume-manager +@dirrmtry share/locale/zh_TW/LC_MESSAGES +@dirrmtry share/locale/zh_TW +@dirrmtry share/locale/zh_HK/LC_MESSAGES +@dirrmtry share/locale/zh_HK +@dirrmtry share/locale/zh_CN/LC_MESSAGES +@dirrmtry share/locale/zh_CN +@dirrmtry share/locale/xh/LC_MESSAGES +@dirrmtry share/locale/xh +@dirrmtry share/locale/uk/LC_MESSAGES +@dirrmtry share/locale/uk +@dirrmtry share/locale/sr/LC_MESSAGES +@dirrmtry share/locale/sr +@dirrmtry share/locale/sk/LC_MESSAGES +@dirrmtry share/locale/sk +@dirrmtry share/locale/rw/LC_MESSAGES +@dirrmtry share/locale/rw +@dirrmtry share/locale/ro/LC_MESSAGES +@dirrmtry share/locale/ro +@dirrmtry share/locale/pt/LC_MESSAGES +@dirrmtry share/locale/pt +@dirrmtry share/locale/pl/LC_MESSAGES +@dirrmtry share/locale/pl +@dirrmtry share/locale/nn/LC_MESSAGES +@dirrmtry share/locale/nn +@dirrmtry share/locale/ne/LC_MESSAGES +@dirrmtry share/locale/ne +@dirrmtry share/locale/ko/LC_MESSAGES +@dirrmtry share/locale/ko +@dirrmtry share/locale/gl/LC_MESSAGES +@dirrmtry share/locale/gl +@dirrmtry share/locale/fi/LC_MESSAGES +@dirrmtry share/locale/fi +@dirrmtry share/locale/el/LC_MESSAGES +@dirrmtry share/locale/el +@dirrmtry share/locale/dz/LC_MESSAGES +@dirrmtry share/locale/dz +@dirrmtry share/locale/cs/LC_MESSAGES +@dirrmtry share/locale/cs +@dirrmtry share/locale/ca/LC_MESSAGES +@dirrmtry share/locale/ca +@dirrmtry share/locale/bn_IN/LC_MESSAGES +@dirrmtry share/locale/bn_IN +@dirrmtry share/locale/ang/LC_MESSAGES +@dirrmtry share/locale/ang |