diff options
author | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-05-01 01:56:22 +0800 |
---|---|---|
committer | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-05-01 01:56:22 +0800 |
commit | bd71c57c551b4f2a93612ab2299dd2891491ab9c (patch) | |
tree | 7fb3a6d53921fa616414903791abcce9e5c503c0 /audio | |
parent | 76f08006754cb11adbbb9d15538e8c85bdb745ab (diff) | |
download | marcuscom-ports-bd71c57c551b4f2a93612ab2299dd2891491ab9c.tar marcuscom-ports-bd71c57c551b4f2a93612ab2299dd2891491ab9c.tar.gz marcuscom-ports-bd71c57c551b4f2a93612ab2299dd2891491ab9c.tar.bz2 marcuscom-ports-bd71c57c551b4f2a93612ab2299dd2891491ab9c.tar.lz marcuscom-ports-bd71c57c551b4f2a93612ab2299dd2891491ab9c.tar.xz marcuscom-ports-bd71c57c551b4f2a93612ab2299dd2891491ab9c.tar.zst marcuscom-ports-bd71c57c551b4f2a93612ab2299dd2891491ab9c.zip |
share/gnome -> share
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@8706 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'audio')
-rw-r--r-- | audio/goobox/Makefile | 47 | ||||
-rw-r--r-- | audio/goobox/distinfo | 3 | ||||
-rw-r--r-- | audio/goobox/files/patch-src_cd-drive.c | 12 | ||||
-rw-r--r-- | audio/goobox/files/patch-src_main.c | 51 | ||||
-rw-r--r-- | audio/goobox/pkg-descr | 4 | ||||
-rw-r--r-- | audio/goobox/pkg-plist | 68 |
6 files changed, 185 insertions, 0 deletions
diff --git a/audio/goobox/Makefile b/audio/goobox/Makefile new file mode 100644 index 000000000..06e8c1fb8 --- /dev/null +++ b/audio/goobox/Makefile @@ -0,0 +1,47 @@ +# New ports collection makefile for: guikachu +# Date created: 11 Nov 2004 +# Whom: Alexander Nedotsukov <bland@FreeBSD.org> +# +# $FreeBSD$ +# $MCom: ports/audio/goobox/Makefile,v 1.17 2006/07/25 06:20:43 mezz Exp $ +# + +PORTNAME= goobox +PORTVERSION= 0.9.93 +PORTREVISION= 6 +CATEGORIES= audio gnome +MASTER_SITES= ${MASTER_SITE_GNOME} +MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} +DIST_SUBDIR= gnome2 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= CD player and ripper for GNOME Desktop environment + +RUN_DEPENDS= cddb-slave2-properties:${PORTSDIR}/audio/gnome-media + +USE_XLIB= yes +USE_GETTEXT= yes +USE_BZIP2= yes +USE_GMAKE= yes +USE_GNOME= gnomeprefix gnomehack intlhack libgnomeui libglade2 libbonobo \ + gnomedocutils +USE_GSTREAMER80= cdparanoia gconf +GNU_CONFIGURE= yes +INSTALLS_OMF= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +GCONF_SCHEMAS= goobox.schemas + +OPTIONS= NOTIFY "Enable libnotify support" on + +.include <bsd.port.pre.mk> + +.if !defined(WITHOUT_NOTIFY) +LIB_DEPENDS+= notify.1:${PORTSDIR}/devel/libnotify +CONFIGURE_ARGS+= --enable-notification +.else +CONFIGURE_ARGS+= --disable-notification +.endif + +.include <bsd.port.post.mk> diff --git a/audio/goobox/distinfo b/audio/goobox/distinfo new file mode 100644 index 000000000..858faf3f6 --- /dev/null +++ b/audio/goobox/distinfo @@ -0,0 +1,3 @@ +MD5 (gnome2/goobox-0.9.93.tar.bz2) = d12dcf26907935ee4803107c572a5392 +SHA256 (gnome2/goobox-0.9.93.tar.bz2) = fffecbdccf6f1dfbd53d02a2daff882ce62970a563b48e8612957015f4d2939d +SIZE (gnome2/goobox-0.9.93.tar.bz2) = 539913 diff --git a/audio/goobox/files/patch-src_cd-drive.c b/audio/goobox/files/patch-src_cd-drive.c new file mode 100644 index 000000000..44f796b1a --- /dev/null +++ b/audio/goobox/files/patch-src_cd-drive.c @@ -0,0 +1,12 @@ +--- src/cd-drive.c.orig Sun Dec 24 22:45:32 2006 ++++ src/cd-drive.c Sun Dec 24 22:45:12 2006 +@@ -82,6 +82,9 @@ struct CDDrivePriv { + char *udi; + }; + ++static int get_device_max_read_speed (char *device); ++static int get_device_max_write_speed (char *device); ++ + static CDDrive *cd_drive_new (void); + + /* Utility functions, be careful to have a match with what's use in the diff --git a/audio/goobox/files/patch-src_main.c b/audio/goobox/files/patch-src_main.c new file mode 100644 index 000000000..eaf098579 --- /dev/null +++ b/audio/goobox/files/patch-src_main.c @@ -0,0 +1,51 @@ +--- src/main.c.orig Fri Nov 18 21:20:08 2005 ++++ src/main.c Mon Feb 20 22:41:55 2006 +@@ -47,7 +47,6 @@ + + #ifdef HAVE_LIBNOTIFY + #include <libnotify/notify.h> +-static NotifyHandle *notify_h = NULL; + #endif /* HAVE_LIBNOTIFY */ + + GtkWindow *main_window = NULL; +@@ -193,7 +192,7 @@ + + #ifdef HAVE_LIBNOTIFY + if (! notify_init ("goobox")) +- g_error ("Cannot initialize notification system."); ++ g_warning ("Cannot initialize notification system."); + #endif /* HAVE_LIBNOTIFY */ + + goo_stock_init (); +@@ -557,27 +556,10 @@ + int y) + { + #ifdef HAVE_LIBNOTIFY +- NotifyIcon *icon = notify_icon_new_from_uri("goobox"); +- NotifyHints *hints = NULL; +- +- if ((x >= 0) && (y >= 0)) { +- hints = notify_hints_new (); +- notify_hints_set_int (hints, "x", x); +- notify_hints_set_int (hints, "y", y); +- } ++ if(!notify_is_initted()) ++ return; ++ NotifyNotification *n = notify_notification_new (title,msg,"goobox",GTK_WIDGET (main_window)); ++ notify_notification_show(n, NULL); + +- notify_h = notify_send_notification (notify_h, +- "device", +- NOTIFY_URGENCY_NORMAL, +- title, +- msg, +- icon, +- TRUE, 0, +- hints, // no hints +- NULL, // no user data +- 0); +- +- if (icon != NULL) +- notify_icon_destroy (icon); + #endif /* HAVE_LIBNOTIFY */ + } diff --git a/audio/goobox/pkg-descr b/audio/goobox/pkg-descr new file mode 100644 index 000000000..c263704fd --- /dev/null +++ b/audio/goobox/pkg-descr @@ -0,0 +1,4 @@ +Goobox is a CD player and ripper for the GNOME Desktop environment, +it uses gstreamer to play and rip CDs and cddb-slave2 (distributed +with gnome-media) to get and edit CD metadata such as track titles +and album name. diff --git a/audio/goobox/pkg-plist b/audio/goobox/pkg-plist new file mode 100644 index 000000000..93cd80299 --- /dev/null +++ b/audio/goobox/pkg-plist @@ -0,0 +1,68 @@ +bin/goobox +libdata/bonobo/servers/GNOME_Goobox.server +share/application-registry/goobox.applications +share/applications/goobox.desktop +share/goobox/glade/goo_cover_chooser.glade +share/goobox/glade/goobox.glade +share/gnome/help/goobox/C/goobox.xml +share/gnome/help/goobox/C/legal.xml +share/omf/goobox/goobox-C.omf +share/pixmaps/goobox.png +share/locale/ar/LC_MESSAGES/goobox.mo +share/locale/bg/LC_MESSAGES/goobox.mo +share/locale/cs/LC_MESSAGES/goobox.mo +share/locale/da/LC_MESSAGES/goobox.mo +share/locale/de/LC_MESSAGES/goobox.mo +share/locale/el/LC_MESSAGES/goobox.mo +share/locale/en_CA/LC_MESSAGES/goobox.mo +share/locale/en_GB/LC_MESSAGES/goobox.mo +share/locale/es/LC_MESSAGES/goobox.mo +share/locale/eu/LC_MESSAGES/goobox.mo +share/locale/fi/LC_MESSAGES/goobox.mo +share/locale/fr/LC_MESSAGES/goobox.mo +share/locale/hu/LC_MESSAGES/goobox.mo +share/locale/it/LC_MESSAGES/goobox.mo +share/locale/ja/LC_MESSAGES/goobox.mo +share/locale/ko/LC_MESSAGES/goobox.mo +share/locale/lt/LC_MESSAGES/goobox.mo +share/locale/nb/LC_MESSAGES/goobox.mo +share/locale/ne/LC_MESSAGES/goobox.mo +share/locale/nl/LC_MESSAGES/goobox.mo +share/locale/no/LC_MESSAGES/goobox.mo +share/locale/pa/LC_MESSAGES/goobox.mo +share/locale/pl/LC_MESSAGES/goobox.mo +share/locale/pt/LC_MESSAGES/goobox.mo +share/locale/pt_BR/LC_MESSAGES/goobox.mo +share/locale/ru/LC_MESSAGES/goobox.mo +share/locale/rw/LC_MESSAGES/goobox.mo +share/locale/sq/LC_MESSAGES/goobox.mo +share/locale/sv/LC_MESSAGES/goobox.mo +share/locale/zh_CN/LC_MESSAGES/goobox.mo +share/locale/zh_TW/LC_MESSAGES/goobox.mo +@dirrm share/omf/goobox +@dirrm share/gnome/help/goobox/C +@dirrm share/gnome/help/goobox +@dirrm share/goobox/glade +@dirrm share/goobox +@dirrmtry share/locale/zh_TW/LC_MESSAGES +@dirrmtry share/locale/zh_TW +@dirrmtry share/locale/zh_CN/LC_MESSAGES +@dirrmtry share/locale/zh_CN +@dirrmtry share/locale/rw/LC_MESSAGES +@dirrmtry share/locale/rw +@dirrmtry share/locale/pt/LC_MESSAGES +@dirrmtry share/locale/pt +@dirrmtry share/locale/pl/LC_MESSAGES +@dirrmtry share/locale/pl +@dirrmtry share/locale/no/LC_MESSAGES +@dirrmtry share/locale/no +@dirrmtry share/locale/ne/LC_MESSAGES +@dirrmtry share/locale/ne +@dirrmtry share/locale/ko/LC_MESSAGES +@dirrmtry share/locale/ko +@dirrmtry share/locale/fi/LC_MESSAGES +@dirrmtry share/locale/fi +@dirrmtry share/locale/el/LC_MESSAGES +@dirrmtry share/locale/el +@dirrmtry share/locale/cs/LC_MESSAGES +@dirrmtry share/locale/cs |