diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2009-01-10 05:22:13 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2009-01-10 05:22:13 +0000 |
commit | 610ae5681637c1051a0c17b54e29d97f53da2f3a (patch) | |
tree | c231a1eb74b07e444fa7363012cb84bf23d83ce0 /audio | |
parent | 15b6544926b07a98710eeb765baf03e3fc9a195c (diff) | |
download | ports-610ae5681637c1051a0c17b54e29d97f53da2f3a.tar.gz ports-610ae5681637c1051a0c17b54e29d97f53da2f3a.zip |
Notes
Diffstat (limited to 'audio')
35 files changed, 281 insertions, 2191 deletions
diff --git a/audio/Makefile b/audio/Makefile index d93960a2046b..39b3f6f926d8 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -193,6 +193,7 @@ SUBDIR += fmio SUBDIR += fmit SUBDIR += freealut + SUBDIR += freedesktop-sound-theme SUBDIR += freepats SUBDIR += funktrackergold SUBDIR += gai-album diff --git a/audio/esound/Makefile b/audio/esound/Makefile index 8f0f1e4735b3..71c50a2fd1fd 100644 --- a/audio/esound/Makefile +++ b/audio/esound/Makefile @@ -3,10 +3,11 @@ # Whom: Vanilla I. Shu <vanilla@FreeBSD.org> # # $FreeBSD$ +# $MCom: ports/audio/esound/Makefile,v 1.1 2008/11/20 19:38:24 marcus Exp $ # PORTNAME= esound -PORTVERSION= 0.2.40 +PORTVERSION= 0.2.41 CATEGORIES= audio MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.2 diff --git a/audio/esound/distinfo b/audio/esound/distinfo index 571cce564ad1..d33ab14b52c7 100644 --- a/audio/esound/distinfo +++ b/audio/esound/distinfo @@ -1,3 +1,3 @@ -MD5 (gnome/esound-0.2.40.tar.bz2) = e9009889ab81269f3021ebcad8addb96 -SHA256 (gnome/esound-0.2.40.tar.bz2) = 74b6d9f3dd68ee0b8d95d4d2c78cbd913807cb6c0739d05d8dd75a73fc84d4a7 -SIZE (gnome/esound-0.2.40.tar.bz2) = 423798 +MD5 (gnome/esound-0.2.41.tar.bz2) = 8d9aad3d94d15e0d59ba9dc0ea990c6c +SHA256 (gnome/esound-0.2.41.tar.bz2) = 5eb5dd29a64b3462a29a5b20652aba7aa926742cef43577bf0796b787ca34911 +SIZE (gnome/esound-0.2.41.tar.bz2) = 396474 diff --git a/audio/esound/files/patch-ad b/audio/esound/files/patch-ad index c2059f5d0703..68018a173ede 100644 --- a/audio/esound/files/patch-ad +++ b/audio/esound/files/patch-ad @@ -1,5 +1,5 @@ ---- esdlib.c.orig 2008-07-30 17:08:59.000000000 -0400 -+++ esdlib.c 2008-09-07 22:19:48.000000000 -0400 +--- esdlib.c.orig 2008-11-18 15:35:19.000000000 -0500 ++++ esdlib.c 2008-11-20 14:32:59.000000000 -0500 @@ -21,6 +21,8 @@ #include <errno.h> #include <sys/wait.h> @@ -9,17 +9,16 @@ #include <sys/un.h> -@@ -895,8 +897,7 @@ int esd_open_sound( const char *host ) - setsid(); - cmd = malloc(strlen(SERVERDIR"/esd -spawnfd 999999") + (esd_spawn_options?strlen(esd_spawn_options):0)); +@@ -928,7 +930,7 @@ int esd_open_sound( const char *rhost ) + putenv(preload2); + } + cmd = malloc(strlen(SERVERDIR"/esd -spawnfd 9999999999") + strlen(esd_spawn_options)); +- sprintf(cmd, "%s/esd %s -spawnfd %d", SERVERDIR, esd_spawn_options, esd_pipe[1]); ++ sprintf(cmd, "exec esd %s -spawnfd %d", esd_spawn_options?esd_spawn_options:"", esd_pipe[1]); -- sprintf(cmd, "%s/esd %s -spawnfd %d", SERVERDIR, esd_spawn_options?esd_spawn_options:"", esd_pipe[1]); -- -+ sprintf(cmd, "exec esd %s -spawnfd %d", esd_spawn_options?esd_spawn_options:"", esd_pipe[1]); - execl("/bin/sh", "/bin/sh", "-c", cmd, NULL); - perror("execl"); - _exit(1); -@@ -1709,3 +1710,34 @@ int esd_close( int esd ) + if(!fork()) { + /* child of child process. Minimal so startup overhead is +@@ -1747,3 +1749,34 @@ int esd_close( int esd ) return close( esd ); } diff --git a/audio/esound/files/patch-esddsp.c b/audio/esound/files/patch-esddsp.c index 3ea9a1c61369..3c24fc97e477 100644 --- a/audio/esound/files/patch-esddsp.c +++ b/audio/esound/files/patch-esddsp.c @@ -1,6 +1,14 @@ ---- esddsp.c.orig 2008-07-15 11:47:20.000000000 -0400 -+++ esddsp.c 2008-07-17 13:58:09.000000000 -0400 -@@ -220,16 +220,19 @@ open_wrapper (int (*func) (const char *, +--- esddsp.c.orig 2008-11-18 15:35:19.000000000 -0500 ++++ esddsp.c 2008-11-20 14:35:02.000000000 -0500 +@@ -70,6 +70,7 @@ + + #if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__bsdi__) + typedef unsigned long request_t; ++typedef off_t off64_t; + #else + typedef int request_t; + #endif +@@ -228,16 +229,19 @@ open_wrapper (int (*func) (const char *, const char *pathname, int flags, ...) { va_list args; @@ -25,7 +33,7 @@ if (!strcmp (pathname, "/dev/dsp")) { -@@ -260,7 +263,7 @@ open (const char *pathname, int flags, . +@@ -268,7 +272,7 @@ open (const char *pathname, int flags, . { static int (*func) (const char *, int, mode_t) = NULL; va_list args; @@ -34,7 +42,7 @@ DPRINTF ("open\n"); -@@ -275,9 +278,12 @@ open (const char *pathname, int flags, . +@@ -283,9 +287,12 @@ open (const char *pathname, int flags, . } } @@ -50,7 +58,7 @@ return open_wrapper(func, pathname, flags, mode); } -@@ -287,7 +293,7 @@ open64 (const char *pathname, int flags, +@@ -295,7 +302,7 @@ open64 (const char *pathname, int flags, { static int (*func) (const char *, int, mode_t) = NULL; va_list args; @@ -59,7 +67,7 @@ DPRINTF ("open64\n"); -@@ -302,9 +308,12 @@ open64 (const char *pathname, int flags, +@@ -310,9 +317,12 @@ open64 (const char *pathname, int flags, } } diff --git a/audio/freedesktop-sound-theme/Makefile b/audio/freedesktop-sound-theme/Makefile new file mode 100644 index 000000000000..35afe0e2a925 --- /dev/null +++ b/audio/freedesktop-sound-theme/Makefile @@ -0,0 +1,24 @@ +# New ports collection makefile for: freedesktop-sound-theme +# Date created: 15 August 2008 +# Whom: Joe Marcus Clarke <marcus@FreeBSD.org> +# +# $FreeBSD$ +# $MCom: ports/audio/freedesktop-sound-theme/Makefile,v 1.2 2008/12/21 20:39:32 marcus Exp $ +# + +PORTNAME= freedesktop-sound-theme +PORTVERSION= 0.2 +CATEGORIES= audio gnome +MASTER_SITES= http://people.freedesktop.org/~mccann/dist/ +DISTNAME= sound-theme-freedesktop-${PORTVERSION} + +MAINTAINER= gnome@FreeBSD.org +COMMENT= Sound theme based on the FreeDesktop specification + +USE_BZIP2= yes +USE_GNOME= gnomehier intlhack +USE_GETTEXT= yes +USE_GMAKE= yes +GNU_CONFIGURE= yes + +.include <bsd.port.mk> diff --git a/audio/freedesktop-sound-theme/distinfo b/audio/freedesktop-sound-theme/distinfo new file mode 100644 index 000000000000..decd5b7ce5d6 --- /dev/null +++ b/audio/freedesktop-sound-theme/distinfo @@ -0,0 +1,3 @@ +MD5 (sound-theme-freedesktop-0.2.tar.bz2) = 45c8383071d5c6514aa1899e2d0fc675 +SHA256 (sound-theme-freedesktop-0.2.tar.bz2) = cc7b5320bef9088d77aa11e6041bf6019152dac51cc7beef7a256484faf5b683 +SIZE (sound-theme-freedesktop-0.2.tar.bz2) = 852304 diff --git a/audio/freedesktop-sound-theme/pkg-descr b/audio/freedesktop-sound-theme/pkg-descr new file mode 100644 index 000000000000..58ba667da676 --- /dev/null +++ b/audio/freedesktop-sound-theme/pkg-descr @@ -0,0 +1,3 @@ +This is a sound theme based on the FreeDesktop sound theme specification. + +WWW: http://freedesktop.org/wiki/Specifications/sound-theme-spec diff --git a/audio/freedesktop-sound-theme/pkg-plist b/audio/freedesktop-sound-theme/pkg-plist new file mode 100644 index 000000000000..43a95d6b96a2 --- /dev/null +++ b/audio/freedesktop-sound-theme/pkg-plist @@ -0,0 +1,43 @@ +share/sounds/freedesktop/index.theme +share/sounds/freedesktop/stereo/audio-channel-front-center.ogg +share/sounds/freedesktop/stereo/audio-channel-front-left.ogg +share/sounds/freedesktop/stereo/audio-channel-front-right.ogg +share/sounds/freedesktop/stereo/audio-channel-rear-center.ogg +share/sounds/freedesktop/stereo/audio-channel-rear-left.ogg +share/sounds/freedesktop/stereo/audio-channel-rear-right.ogg +share/sounds/freedesktop/stereo/audio-channel-side-left.ogg +share/sounds/freedesktop/stereo/audio-channel-side-right.ogg +share/sounds/freedesktop/stereo/audio-test-signal.ogg +share/sounds/freedesktop/stereo/battery-low.ogg +share/sounds/freedesktop/stereo/bell.ogg +share/sounds/freedesktop/stereo/button-pressed.ogg +share/sounds/freedesktop/stereo/button-toggle-off.ogg +share/sounds/freedesktop/stereo/button-toggle-on.ogg +share/sounds/freedesktop/stereo/complete-media-burn.ogg +share/sounds/freedesktop/stereo/desktop-login.ogg +share/sounds/freedesktop/stereo/desktop-logout.ogg +share/sounds/freedesktop/stereo/dialog-cancel.ogg +share/sounds/freedesktop/stereo/dialog-error.ogg +share/sounds/freedesktop/stereo/dialog-information.ogg +share/sounds/freedesktop/stereo/dialog-ok.ogg +share/sounds/freedesktop/stereo/dialog-question.ogg +share/sounds/freedesktop/stereo/dialog-warning.ogg +share/sounds/freedesktop/stereo/link-pressed.ogg +share/sounds/freedesktop/stereo/menu-click.ogg +share/sounds/freedesktop/stereo/message-new-email.ogg +share/sounds/freedesktop/stereo/message-new-instant.ogg +share/sounds/freedesktop/stereo/phone-incoming-call.ogg +share/sounds/freedesktop/stereo/phone-outgoing-busy.ogg +share/sounds/freedesktop/stereo/power-unplug.ogg +share/sounds/freedesktop/stereo/service-login.ogg +share/sounds/freedesktop/stereo/service-logout.ogg +share/sounds/freedesktop/stereo/suspend-error.ogg +share/sounds/freedesktop/stereo/trash-empty.ogg +share/sounds/freedesktop/stereo/window-close.ogg +share/sounds/freedesktop/stereo/window-maximized.ogg +share/sounds/freedesktop/stereo/window-minimized.ogg +share/sounds/freedesktop/stereo/window-move-start.ogg +share/sounds/freedesktop/stereo/window-move-stop.ogg +share/sounds/freedesktop/stereo/window-slide.ogg +@dirrm share/sounds/freedesktop/stereo +@dirrm share/sounds/freedesktop diff --git a/audio/gnome-audio/Makefile b/audio/gnome-audio/Makefile index ea98db08e123..dff8af171cde 100644 --- a/audio/gnome-audio/Makefile +++ b/audio/gnome-audio/Makefile @@ -3,7 +3,7 @@ # Whom: Adam Weinberger <adamw@FreeBSD.org> # # $FreeBSD$ -# $MCom: ports/audio/gnome-audio/Makefile,v 1.8 2008/03/21 12:32:12 ahze Exp $ +# $MCom: ports/audio/gnome-audio/Makefile,v 1.10 2008/05/07 18:52:29 mezz Exp $ # PORTNAME= gnome-audio @@ -16,7 +16,7 @@ COMMENT= Sound files for use with GNOME 2 USE_BZIP2= yes NO_BUILD= yes -USE_GNOME= gnomeprefix gnomehier +USE_GNOME= gnomehier MAKE_ENV= prefix=${PREFIX} post-patch: diff --git a/audio/gnome-media/Makefile b/audio/gnome-media/Makefile index 2a6766433455..74e21e8ff561 100644 --- a/audio/gnome-media/Makefile +++ b/audio/gnome-media/Makefile @@ -3,12 +3,11 @@ # Whom: Joe Marcus Clarke <marcus@FreeBSD.org> # # $FreeBSD$ -# $MCom: ports/audio/gnome-media/Makefile,v 1.114 2008/03/11 02:39:19 mezz Exp $ +# $MCom: ports/audio/gnome-media/Makefile,v 1.123 2008/09/24 03:17:39 mezz Exp $ # PORTNAME= gnome-media -PORTVERSION= 2.22.0 -PORTREVISION= 1 +PORTVERSION= 2.24.0.1 CATEGORIES= audio gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome2 @@ -24,15 +23,14 @@ USE_GMAKE= yes GNU_CONFIGURE= yes USE_LDCONFIG= yes GNOME_DESKTOP_VERSION=2 -USE_GNOME= gnomeprefix gnomehack intlhack gnomedesktop \ - gail nautiluscdburner +USE_GNOME= gnomeprefix gnomehack intlhack gnomedesktop nautiluscdburner USE_GSTREAMER= cdparanoia esound gconf good CONFIGURE_ARGS= --enable-ipv6 CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" -GCONF_SCHEMAS= CDDB-Slave2.schemas gnome-audio-profiles.schemas \ - gnome-cd.schemas gnome-sound-recorder.schemas \ +GCONF_SCHEMAS= gnome-audio-profiles.schemas \ + gnome-sound-recorder.schemas \ gnome-volume-control.schemas post-patch: diff --git a/audio/gnome-media/distinfo b/audio/gnome-media/distinfo index 6f477f10616b..14cdbe58006a 100644 --- a/audio/gnome-media/distinfo +++ b/audio/gnome-media/distinfo @@ -1,3 +1,3 @@ -MD5 (gnome2/gnome-media-2.22.0.tar.bz2) = e3fabb87abd2731d7f345d724b40333a -SHA256 (gnome2/gnome-media-2.22.0.tar.bz2) = 9bafcc1d766ea3b0c30d79c33eb77ad8ceaad8631337f66f7797524e90281b4a -SIZE (gnome2/gnome-media-2.22.0.tar.bz2) = 2237463 +MD5 (gnome2/gnome-media-2.24.0.1.tar.bz2) = d0a9b0784872cecd09038aceea22e16f +SHA256 (gnome2/gnome-media-2.24.0.1.tar.bz2) = bfa79a9bea5ba6f73a6b0a232917bc7eefbed69819e42d0b09372b0c7ed3e853 +SIZE (gnome2/gnome-media-2.24.0.1.tar.bz2) = 2344888 diff --git a/audio/gnome-media/files/patch-cddb-slave2_gnet-private.h b/audio/gnome-media/files/patch-cddb-slave2_gnet-private.h deleted file mode 100644 index 1ec1fc50f5d5..000000000000 --- a/audio/gnome-media/files/patch-cddb-slave2_gnet-private.h +++ /dev/null @@ -1,11 +0,0 @@ ---- cddb-slave2/gnet-private.h.orig Tue Aug 31 19:58:18 2004 -+++ cddb-slave2/gnet-private.h Tue Aug 31 20:02:23 2004 -@@ -68,7 +68,7 @@ - #include <resolv.h> - #include <netdb.h> - --#ifndef __socklen_t_defined -+#if !defined(__socklen_t_defined) && !defined(__FreeBSD__) - typedef guint32 socklen_t; - #endif - diff --git a/audio/gnome-media/files/patch-cddb-slave2_tcp.c b/audio/gnome-media/files/patch-cddb-slave2_tcp.c deleted file mode 100644 index f316b7f01301..000000000000 --- a/audio/gnome-media/files/patch-cddb-slave2_tcp.c +++ /dev/null @@ -1,20 +0,0 @@ ---- cddb-slave2/tcp.c.orig Mon Sep 20 14:52:50 2004 -+++ cddb-slave2/tcp.c Sat Mar 12 03:30:52 2005 -@@ -265,7 +265,7 @@ gnet_tcp_socket_new_async (const GInetAd - continue; - - sa_in6->sin6_scope_id = ifindex; -- con = connect (s->sockfd, (struct sockaddr *)&sa6, sizeof(s->sa)); -+ con = connect (s->sockfd, (struct sockaddr *)&sa6, sizeof(sa6)); - if (con == 0 || errno == EINPROGRESS) - break; - -@@ -283,7 +283,7 @@ gnet_tcp_socket_new_async (const GInetAd - memcpy(&sa, &addr->sa, sizeof(sa)); - sa_in = (struct sockaddr_in *) &sa; - sa_in->sin_family = AF_INET; -- con = connect(s->sockfd, &sa, sizeof(s->sa)); -+ con = connect(s->sockfd, &sa, sizeof(sa)); - } - - /* Connect (but non-blocking!) */ diff --git a/audio/gnome-media/files/patch-gnome-cd_gst-cdrom.c b/audio/gnome-media/files/patch-gnome-cd_gst-cdrom.c deleted file mode 100644 index dee1aa98903d..000000000000 --- a/audio/gnome-media/files/patch-gnome-cd_gst-cdrom.c +++ /dev/null @@ -1,30 +0,0 @@ ---- gnome-cd/gst-cdrom.c.orig Mon Jan 22 09:01:38 2007 -+++ gnome-cd/gst-cdrom.c Mon Feb 12 15:59:18 2007 -@@ -44,13 +44,17 @@ - #endif - - #if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) --# define GST_CDROM_IOCTL_CDCAPABILITY_REQUEST CDIOCCAPABILITY -+# define GST_CDROM_IOCTL_CDCAPABILITY_REQUEST CDIOCGETVOL -+struct ioc_vol vol_value; -+# define GST_CDROM_IOCTL_CDCAPABILITY_REQUEST_ADDR &vol_value - # define GST_CDROM_IOCTL_EJECT_REQUEST CDIOCEJECT - #elif defined(__NetBSD__) || defined(__OpenBSD__) - # define GST_CDROM_IOCTL_CDCAPABILITY_REQUEST CDIOCGETVOL -+# define GST_CDROM_IOCTL_CDCAPABILITY_REQUEST_ADDR 0 - # define GST_CDROM_IOCTL_EJECT_REQUEST CDIOCEJECT - #else - # define GST_CDROM_IOCTL_CDCAPABILITY_REQUEST CDROM_GET_CAPABILITY -+# define GST_CDROM_IOCTL_CDCAPABILITY_REQUEST_ADDR 0 - # define GST_CDROM_IOCTL_EJECT_REQUEST CDROMEJECT - #endif - -@@ -190,7 +194,7 @@ gst_cdrom_is_cdrom_device (GnomeCDRom * - #ifdef __sun - res = TRUE; - #else -- if (ioctl (fd, GST_CDROM_IOCTL_CDCAPABILITY_REQUEST, 0) >= 0) { -+ if (ioctl (fd, GST_CDROM_IOCTL_CDCAPABILITY_REQUEST, GST_CDROM_IOCTL_CDCAPABILITY_REQUEST_ADDR) >= 0) { - res = TRUE; - } else { - GST_DEBUG ("ioctl() failed: %s", g_strerror (errno)); diff --git a/audio/gnome-media/pkg-plist b/audio/gnome-media/pkg-plist index 1174977da17d..9f18eb4a6317 100644 --- a/audio/gnome-media/pkg-plist +++ b/audio/gnome-media/pkg-plist @@ -1,20 +1,12 @@ -bin/cddb-slave2-properties bin/gnome-audio-profiles-properties -bin/gnome-cd bin/gnome-sound-recorder bin/gnome-volume-control bin/gstreamer-properties -bin/vumeter -include/cddb-slave2/cddb-slave-client.h include/gnome-media/profiles/audio-profile-choose.h include/gnome-media/profiles/audio-profile-edit.h include/gnome-media/profiles/audio-profile.h include/gnome-media/profiles/audio-profiles-edit.h include/gnome-media/profiles/gnome-media-profiles.h -lib/libcddb-slave2.a -lib/libcddb-slave2.la -lib/libcddb-slave2.so -lib/libcddb-slave2.so.0 lib/libglade/2.0/libgnome-media-profiles.a lib/libglade/2.0/libgnome-media-profiles.la lib/libglade/2.0/libgnome-media-profiles.so @@ -22,141 +14,21 @@ lib/libgnome-media-profiles.a lib/libgnome-media-profiles.la lib/libgnome-media-profiles.so lib/libgnome-media-profiles.so.0 -libdata/bonobo/servers/GNOME_Media_CDDBSlave2.server libdata/pkgconfig/gnome-media-profiles.pc -libexec/CDDBSlave2 -libexec/cddb-track-editor -share/applications/cddb-slave.desktop -share/applications/gnome-cd.desktop share/applications/gnome-sound-recorder.desktop share/applications/gnome-volume-control.desktop share/applications/gstreamer-properties.desktop -share/applications/reclevel.desktop -share/applications/vumeter.desktop %%DATADIR%%/glade/gnome-audio-profiles.glade2 -%%DATADIR%%/pixmaps/3dsound.png %%DATADIR%%/pixmaps/chain-broken.png %%DATADIR%%/pixmaps/chain.png -%%DATADIR%%/pixmaps/headphones.png -%%DATADIR%%/pixmaps/mixer.png -%%DATADIR%%/pixmaps/noplay.png -%%DATADIR%%/pixmaps/norecord.png -%%DATADIR%%/pixmaps/phone.png -%%DATADIR%%/pixmaps/play.png -%%DATADIR%%/pixmaps/record.png -%%DATADIR%%/pixmaps/tone.png -%%DATADIR%%/pixmaps/video.png share/gnome-sound-recorder/ui/ui.xml -share/gnome/help/gnome-cd/C/figures/cdplayer_trackeditor_button.png -share/gnome/help/gnome-cd/C/figures/cdplayer_trackeditor_window.png -share/gnome/help/gnome-cd/C/figures/cdplayer_window.png -share/gnome/help/gnome-cd/C/figures/eject_button.png -share/gnome/help/gnome-cd/C/figures/forward_button.png -share/gnome/help/gnome-cd/C/figures/next_button.png -share/gnome/help/gnome-cd/C/figures/pause_button.png -share/gnome/help/gnome-cd/C/figures/play_button.png -share/gnome/help/gnome-cd/C/figures/preferences_button.png -share/gnome/help/gnome-cd/C/figures/previous_button.png -share/gnome/help/gnome-cd/C/figures/rewind_button.png -share/gnome/help/gnome-cd/C/figures/stop_button.png -share/gnome/help/gnome-cd/C/gnome-cd.xml -share/gnome/help/gnome-cd/C/legal.xml -share/gnome/help/gnome-cd/ca/figures/cdplayer_trackeditor_button.png -share/gnome/help/gnome-cd/ca/figures/cdplayer_trackeditor_window.png -share/gnome/help/gnome-cd/ca/figures/cdplayer_window.png -share/gnome/help/gnome-cd/ca/figures/eject_button.png -share/gnome/help/gnome-cd/ca/figures/forward_button.png -share/gnome/help/gnome-cd/ca/figures/next_button.png -share/gnome/help/gnome-cd/ca/figures/pause_button.png -share/gnome/help/gnome-cd/ca/figures/play_button.png -share/gnome/help/gnome-cd/ca/figures/preferences_button.png -share/gnome/help/gnome-cd/ca/figures/previous_button.png -share/gnome/help/gnome-cd/ca/figures/rewind_button.png -share/gnome/help/gnome-cd/ca/figures/stop_button.png -share/gnome/help/gnome-cd/ca/gnome-cd.xml -share/gnome/help/gnome-cd/es/figures/cdplayer_trackeditor_button.png -share/gnome/help/gnome-cd/es/figures/cdplayer_trackeditor_window.png -share/gnome/help/gnome-cd/es/figures/cdplayer_window.png -share/gnome/help/gnome-cd/es/figures/eject_button.png -share/gnome/help/gnome-cd/es/figures/forward_button.png -share/gnome/help/gnome-cd/es/figures/next_button.png -share/gnome/help/gnome-cd/es/figures/pause_button.png -share/gnome/help/gnome-cd/es/figures/play_button.png -share/gnome/help/gnome-cd/es/figures/preferences_button.png -share/gnome/help/gnome-cd/es/figures/previous_button.png -share/gnome/help/gnome-cd/es/figures/rewind_button.png -share/gnome/help/gnome-cd/es/figures/stop_button.png -share/gnome/help/gnome-cd/es/gnome-cd.xml -share/gnome/help/gnome-cd/fr/figures/cdplayer_trackeditor_button.png -share/gnome/help/gnome-cd/fr/figures/cdplayer_trackeditor_window.png -share/gnome/help/gnome-cd/fr/figures/cdplayer_window.png -share/gnome/help/gnome-cd/fr/figures/eject_button.png -share/gnome/help/gnome-cd/fr/figures/forward_button.png -share/gnome/help/gnome-cd/fr/figures/next_button.png -share/gnome/help/gnome-cd/fr/figures/pause_button.png -share/gnome/help/gnome-cd/fr/figures/play_button.png -share/gnome/help/gnome-cd/fr/figures/preferences_button.png -share/gnome/help/gnome-cd/fr/figures/previous_button.png -share/gnome/help/gnome-cd/fr/figures/rewind_button.png -share/gnome/help/gnome-cd/fr/figures/stop_button.png -share/gnome/help/gnome-cd/fr/gnome-cd.xml -share/gnome/help/gnome-cd/it/figures/cdplayer_trackeditor_button.png -share/gnome/help/gnome-cd/it/figures/cdplayer_trackeditor_window.png -share/gnome/help/gnome-cd/it/figures/cdplayer_window.png -share/gnome/help/gnome-cd/it/figures/eject_button.png -share/gnome/help/gnome-cd/it/figures/forward_button.png -share/gnome/help/gnome-cd/it/figures/next_button.png -share/gnome/help/gnome-cd/it/figures/pause_button.png -share/gnome/help/gnome-cd/it/figures/play_button.png -share/gnome/help/gnome-cd/it/figures/preferences_button.png -share/gnome/help/gnome-cd/it/figures/previous_button.png -share/gnome/help/gnome-cd/it/figures/rewind_button.png -share/gnome/help/gnome-cd/it/figures/stop_button.png -share/gnome/help/gnome-cd/it/gnome-cd.xml -share/gnome/help/gnome-cd/oc/figures/cdplayer_trackeditor_button.png -share/gnome/help/gnome-cd/oc/figures/cdplayer_trackeditor_window.png -share/gnome/help/gnome-cd/oc/figures/cdplayer_window.png -share/gnome/help/gnome-cd/oc/figures/eject_button.png -share/gnome/help/gnome-cd/oc/figures/forward_button.png -share/gnome/help/gnome-cd/oc/figures/next_button.png -share/gnome/help/gnome-cd/oc/figures/pause_button.png -share/gnome/help/gnome-cd/oc/figures/play_button.png -share/gnome/help/gnome-cd/oc/figures/preferences_button.png -share/gnome/help/gnome-cd/oc/figures/previous_button.png -share/gnome/help/gnome-cd/oc/figures/rewind_button.png -share/gnome/help/gnome-cd/oc/figures/stop_button.png -share/gnome/help/gnome-cd/oc/gnome-cd.xml -share/gnome/help/gnome-cd/ru/figures/cdplayer_trackeditor_button.png -share/gnome/help/gnome-cd/ru/figures/cdplayer_trackeditor_window.png -share/gnome/help/gnome-cd/ru/figures/cdplayer_window.png -share/gnome/help/gnome-cd/ru/figures/eject_button.png -share/gnome/help/gnome-cd/ru/figures/forward_button.png -share/gnome/help/gnome-cd/ru/figures/next_button.png -share/gnome/help/gnome-cd/ru/figures/pause_button.png -share/gnome/help/gnome-cd/ru/figures/play_button.png -share/gnome/help/gnome-cd/ru/figures/preferences_button.png -share/gnome/help/gnome-cd/ru/figures/previous_button.png -share/gnome/help/gnome-cd/ru/figures/rewind_button.png -share/gnome/help/gnome-cd/ru/figures/stop_button.png -share/gnome/help/gnome-cd/ru/gnome-cd.xml -share/gnome/help/gnome-cd/sv/figures/cdplayer_trackeditor_button.png -share/gnome/help/gnome-cd/sv/figures/cdplayer_trackeditor_window.png -share/gnome/help/gnome-cd/sv/figures/cdplayer_window.png -share/gnome/help/gnome-cd/sv/figures/eject_button.png -share/gnome/help/gnome-cd/sv/figures/forward_button.png -share/gnome/help/gnome-cd/sv/figures/next_button.png -share/gnome/help/gnome-cd/sv/figures/pause_button.png -share/gnome/help/gnome-cd/sv/figures/play_button.png -share/gnome/help/gnome-cd/sv/figures/preferences_button.png -share/gnome/help/gnome-cd/sv/figures/previous_button.png -share/gnome/help/gnome-cd/sv/figures/rewind_button.png -share/gnome/help/gnome-cd/sv/figures/stop_button.png -share/gnome/help/gnome-cd/sv/gnome-cd.xml share/gnome/help/gnome-sound-recorder/C/figures/grecord_window.png share/gnome/help/gnome-sound-recorder/C/gnome-sound-recorder.xml share/gnome/help/gnome-sound-recorder/C/legal.xml share/gnome/help/gnome-sound-recorder/ca/figures/grecord_window.png share/gnome/help/gnome-sound-recorder/ca/gnome-sound-recorder.xml +share/gnome/help/gnome-sound-recorder/de/figures/grecord_window.png +share/gnome/help/gnome-sound-recorder/de/gnome-sound-recorder.xml share/gnome/help/gnome-sound-recorder/es/figures/grecord_window.png share/gnome/help/gnome-sound-recorder/es/gnome-sound-recorder.xml share/gnome/help/gnome-sound-recorder/fr/figures/grecord_window.png @@ -176,6 +48,8 @@ share/gnome/help/gnome-volume-control/C/gnome-volume-control.xml share/gnome/help/gnome-volume-control/C/legal.xml share/gnome/help/gnome-volume-control/ca/figures/gnome-volume-control_window.png share/gnome/help/gnome-volume-control/ca/gnome-volume-control.xml +share/gnome/help/gnome-volume-control/de/figures/gnome-volume-control_window.png +share/gnome/help/gnome-volume-control/de/gnome-volume-control.xml share/gnome/help/gnome-volume-control/es/figures/gnome-volume-control_window.png share/gnome/help/gnome-volume-control/es/gnome-volume-control.xml share/gnome/help/gnome-volume-control/fr/figures/gnome-volume-control_window.png @@ -193,6 +67,8 @@ share/gnome/help/gstreamer-properties/C/gstreamer-properties.xml share/gnome/help/gstreamer-properties/C/legal.xml share/gnome/help/gstreamer-properties/ca/figures/gstreamer_properties_window.png share/gnome/help/gstreamer-properties/ca/gstreamer-properties.xml +share/gnome/help/gstreamer-properties/de/figures/gstreamer_properties_window.png +share/gnome/help/gstreamer-properties/de/gstreamer-properties.xml share/gnome/help/gstreamer-properties/es/figures/gstreamer_properties_window.png share/gnome/help/gstreamer-properties/es/gstreamer-properties.xml share/gnome/help/gstreamer-properties/fr/figures/gstreamer_properties_window.png @@ -207,12 +83,18 @@ share/gnome/help/gstreamer-properties/sv/figures/gstreamer_properties_window.png share/gnome/help/gstreamer-properties/sv/gstreamer-properties.xml share/gstreamer-properties/glade/gstreamer-properties.glade share/gstreamer-properties/icons/gstreamer-properties.png -share/icons/hicolor/48x48/apps/gnome-cd.png -share/icons/hicolor/48x48/apps/gnome-grecord.png -share/icons/hicolor/48x48/apps/gnome-reclevel.png -share/icons/hicolor/48x48/apps/gnome-vumeter.png +share/icons/hicolor/16x16/apps/gnome-sound-recorder.png +share/icons/hicolor/16x16/devices/gvc-3d-sound.png +share/icons/hicolor/16x16/devices/gvc-headphones.png +share/icons/hicolor/16x16/devices/gvc-line-in.png +share/icons/hicolor/16x16/devices/gvc-tone.png +share/icons/hicolor/16x16/status/audio-input-microphone-muted.png +share/icons/hicolor/22x22/apps/gnome-sound-recorder.png +share/icons/hicolor/24x24/apps/gnome-sound-recorder.png +share/icons/hicolor/32x32/apps/gnome-sound-recorder.png +share/icons/hicolor/48x48/apps/gnome-sound-recorder.png share/icons/hicolor/48x48/apps/gstreamer-properties.png -share/idl/GNOME_Media_CDDBSlave2.idl +share/icons/hicolor/scalable/apps/gnome-sound-recorder.svg share/locale/am/LC_MESSAGES/gnome-media-2.0.mo share/locale/ar/LC_MESSAGES/gnome-media-2.0.mo share/locale/as/LC_MESSAGES/gnome-media-2.0.mo @@ -250,6 +132,7 @@ share/locale/id/LC_MESSAGES/gnome-media-2.0.mo share/locale/it/LC_MESSAGES/gnome-media-2.0.mo share/locale/ja/LC_MESSAGES/gnome-media-2.0.mo share/locale/ka/LC_MESSAGES/gnome-media-2.0.mo +share/locale/kn/LC_MESSAGES/gnome-media-2.0.mo share/locale/ko/LC_MESSAGES/gnome-media-2.0.mo share/locale/ku/LC_MESSAGES/gnome-media-2.0.mo share/locale/lt/LC_MESSAGES/gnome-media-2.0.mo @@ -278,9 +161,10 @@ share/locale/sk/LC_MESSAGES/gnome-media-2.0.mo share/locale/sl/LC_MESSAGES/gnome-media-2.0.mo share/locale/sq/LC_MESSAGES/gnome-media-2.0.mo share/locale/sr/LC_MESSAGES/gnome-media-2.0.mo -share/locale/sr@Latn/LC_MESSAGES/gnome-media-2.0.mo +share/locale/sr@latin/LC_MESSAGES/gnome-media-2.0.mo share/locale/sv/LC_MESSAGES/gnome-media-2.0.mo share/locale/ta/LC_MESSAGES/gnome-media-2.0.mo +share/locale/te/LC_MESSAGES/gnome-media-2.0.mo share/locale/th/LC_MESSAGES/gnome-media-2.0.mo share/locale/tk/LC_MESSAGES/gnome-media-2.0.mo share/locale/tr/LC_MESSAGES/gnome-media-2.0.mo @@ -291,16 +175,9 @@ share/locale/xh/LC_MESSAGES/gnome-media-2.0.mo share/locale/zh_CN/LC_MESSAGES/gnome-media-2.0.mo share/locale/zh_HK/LC_MESSAGES/gnome-media-2.0.mo share/locale/zh_TW/LC_MESSAGES/gnome-media-2.0.mo -share/omf/gnome-cd/gnome-cd-C.omf -share/omf/gnome-cd/gnome-cd-ca.omf -share/omf/gnome-cd/gnome-cd-es.omf -share/omf/gnome-cd/gnome-cd-fr.omf -share/omf/gnome-cd/gnome-cd-it.omf -share/omf/gnome-cd/gnome-cd-oc.omf -share/omf/gnome-cd/gnome-cd-ru.omf -share/omf/gnome-cd/gnome-cd-sv.omf share/omf/gnome-sound-recorder/gnome-sound-recorder-C.omf share/omf/gnome-sound-recorder/gnome-sound-recorder-ca.omf +share/omf/gnome-sound-recorder/gnome-sound-recorder-de.omf share/omf/gnome-sound-recorder/gnome-sound-recorder-es.omf share/omf/gnome-sound-recorder/gnome-sound-recorder-fr.omf share/omf/gnome-sound-recorder/gnome-sound-recorder-it.omf @@ -310,6 +187,7 @@ share/omf/gnome-sound-recorder/gnome-sound-recorder-sv.omf share/omf/gnome-sound-recorder/gnome-sound-recorder-uk.omf share/omf/gnome-volume-control/gnome-volume-control-C.omf share/omf/gnome-volume-control/gnome-volume-control-ca.omf +share/omf/gnome-volume-control/gnome-volume-control-de.omf share/omf/gnome-volume-control/gnome-volume-control-es.omf share/omf/gnome-volume-control/gnome-volume-control-fr.omf share/omf/gnome-volume-control/gnome-volume-control-it.omf @@ -318,69 +196,19 @@ share/omf/gnome-volume-control/gnome-volume-control-ru.omf share/omf/gnome-volume-control/gnome-volume-control-sv.omf share/omf/gstreamer-properties/gstreamer-properties-C.omf share/omf/gstreamer-properties/gstreamer-properties-ca.omf +share/omf/gstreamer-properties/gstreamer-properties-de.omf share/omf/gstreamer-properties/gstreamer-properties-es.omf share/omf/gstreamer-properties/gstreamer-properties-fr.omf share/omf/gstreamer-properties/gstreamer-properties-it.omf share/omf/gstreamer-properties/gstreamer-properties-oc.omf share/omf/gstreamer-properties/gstreamer-properties-ru.omf share/omf/gstreamer-properties/gstreamer-properties-sv.omf -share/pixmaps/gnome-cd/disc.png -share/pixmaps/gnome-cd/once.png -share/pixmaps/gnome-cd/repeat.png -share/pixmaps/gnome-cd/themes/None/None.theme -share/pixmaps/gnome-cd/themes/None/bottom-left.png -share/pixmaps/gnome-cd/themes/None/bottom-right.png -share/pixmaps/gnome-cd/themes/None/bottom.png -share/pixmaps/gnome-cd/themes/None/middle-left.png -share/pixmaps/gnome-cd/themes/None/middle-right.png -share/pixmaps/gnome-cd/themes/None/middle.png -share/pixmaps/gnome-cd/themes/None/top-left.png -share/pixmaps/gnome-cd/themes/None/top-right.png -share/pixmaps/gnome-cd/themes/None/top.png -share/pixmaps/gnome-cd/themes/lcd/bottom-left.png -share/pixmaps/gnome-cd/themes/lcd/bottom-right.png -share/pixmaps/gnome-cd/themes/lcd/bottom.png -share/pixmaps/gnome-cd/themes/lcd/lcd.theme -share/pixmaps/gnome-cd/themes/lcd/middle-left.png -share/pixmaps/gnome-cd/themes/lcd/middle-right.png -share/pixmaps/gnome-cd/themes/lcd/middle.png -share/pixmaps/gnome-cd/themes/lcd/top-left.png -share/pixmaps/gnome-cd/themes/lcd/top-right.png -share/pixmaps/gnome-cd/themes/lcd/top.png -share/pixmaps/gnome-cd/themes/media/bottom-left.png -share/pixmaps/gnome-cd/themes/media/bottom-right.png -share/pixmaps/gnome-cd/themes/media/bottom.png -share/pixmaps/gnome-cd/themes/media/media.theme -share/pixmaps/gnome-cd/themes/media/middle-left.png -share/pixmaps/gnome-cd/themes/media/middle-right.png -share/pixmaps/gnome-cd/themes/media/middle.png -share/pixmaps/gnome-cd/themes/media/top-left.png -share/pixmaps/gnome-cd/themes/media/top-right.png -share/pixmaps/gnome-cd/themes/media/top.png -share/pixmaps/gnome-cd/themes/red-lcd/bottom-left.png -share/pixmaps/gnome-cd/themes/red-lcd/bottom-right.png -share/pixmaps/gnome-cd/themes/red-lcd/bottom.png -share/pixmaps/gnome-cd/themes/red-lcd/middle-left.png -share/pixmaps/gnome-cd/themes/red-lcd/middle-right.png -share/pixmaps/gnome-cd/themes/red-lcd/middle.png -share/pixmaps/gnome-cd/themes/red-lcd/red-lcd.theme -share/pixmaps/gnome-cd/themes/red-lcd/top-left.png -share/pixmaps/gnome-cd/themes/red-lcd/top-right.png -share/pixmaps/gnome-cd/themes/red-lcd/top.png -share/pixmaps/gnome-cd/track.png -@dirrm share/pixmaps/gnome-cd/themes/red-lcd -@dirrm share/pixmaps/gnome-cd/themes/media -@dirrm share/pixmaps/gnome-cd/themes/lcd -@dirrm share/pixmaps/gnome-cd/themes/None -@dirrm share/pixmaps/gnome-cd/themes -@dirrm share/pixmaps/gnome-cd -@dirrm share/gstreamer-properties/icons -@dirrm share/gstreamer-properties/glade -@dirrm share/gstreamer-properties @dirrm share/omf/gstreamer-properties @dirrm share/omf/gnome-volume-control @dirrm share/omf/gnome-sound-recorder -@dirrm share/omf/gnome-cd +@dirrm share/gstreamer-properties/icons +@dirrm share/gstreamer-properties/glade +@dirrm share/gstreamer-properties @dirrm share/gnome/help/gstreamer-properties/sv/figures @dirrm share/gnome/help/gstreamer-properties/sv @dirrm share/gnome/help/gstreamer-properties/ru/figures @@ -393,6 +221,8 @@ share/pixmaps/gnome-cd/track.png @dirrm share/gnome/help/gstreamer-properties/fr @dirrm share/gnome/help/gstreamer-properties/es/figures @dirrm share/gnome/help/gstreamer-properties/es +@dirrm share/gnome/help/gstreamer-properties/de/figures +@dirrm share/gnome/help/gstreamer-properties/de @dirrm share/gnome/help/gstreamer-properties/ca/figures @dirrm share/gnome/help/gstreamer-properties/ca @dirrm share/gnome/help/gstreamer-properties/C/figures @@ -410,6 +240,8 @@ share/pixmaps/gnome-cd/track.png @dirrm share/gnome/help/gnome-volume-control/fr @dirrm share/gnome/help/gnome-volume-control/es/figures @dirrm share/gnome/help/gnome-volume-control/es +@dirrm share/gnome/help/gnome-volume-control/de/figures +@dirrm share/gnome/help/gnome-volume-control/de @dirrm share/gnome/help/gnome-volume-control/ca/figures @dirrm share/gnome/help/gnome-volume-control/ca @dirrm share/gnome/help/gnome-volume-control/C/figures @@ -429,28 +261,13 @@ share/pixmaps/gnome-cd/track.png @dirrm share/gnome/help/gnome-sound-recorder/fr @dirrm share/gnome/help/gnome-sound-recorder/es/figures @dirrm share/gnome/help/gnome-sound-recorder/es +@dirrm share/gnome/help/gnome-sound-recorder/de/figures +@dirrm share/gnome/help/gnome-sound-recorder/de @dirrm share/gnome/help/gnome-sound-recorder/ca/figures @dirrm share/gnome/help/gnome-sound-recorder/ca @dirrm share/gnome/help/gnome-sound-recorder/C/figures @dirrm share/gnome/help/gnome-sound-recorder/C @dirrm share/gnome/help/gnome-sound-recorder -@dirrm share/gnome/help/gnome-cd/sv/figures -@dirrm share/gnome/help/gnome-cd/sv -@dirrm share/gnome/help/gnome-cd/ru/figures -@dirrm share/gnome/help/gnome-cd/ru -@dirrm share/gnome/help/gnome-cd/oc/figures -@dirrm share/gnome/help/gnome-cd/oc -@dirrm share/gnome/help/gnome-cd/it/figures -@dirrm share/gnome/help/gnome-cd/it -@dirrm share/gnome/help/gnome-cd/fr/figures -@dirrm share/gnome/help/gnome-cd/fr -@dirrm share/gnome/help/gnome-cd/es/figures -@dirrm share/gnome/help/gnome-cd/es -@dirrm share/gnome/help/gnome-cd/ca/figures -@dirrm share/gnome/help/gnome-cd/ca -@dirrm share/gnome/help/gnome-cd/C/figures -@dirrm share/gnome/help/gnome-cd/C -@dirrm share/gnome/help/gnome-cd @dirrm share/gnome-sound-recorder/ui @dirrm share/gnome-sound-recorder @dirrm %%DATADIR%%/pixmaps @@ -459,11 +276,14 @@ share/pixmaps/gnome-cd/track.png @dirrmtry share/applications @dirrm include/gnome-media/profiles @dirrm include/gnome-media -@dirrm include/cddb-slave2 @dirrmtry share/locale/zh_HK/LC_MESSAGES @dirrmtry share/locale/zh_HK @dirrmtry share/locale/xh/LC_MESSAGES @dirrmtry share/locale/xh +@dirrmtry share/locale/te/LC_MESSAGES +@dirrmtry share/locale/te +@dirrmtry share/locale/sr@latin/LC_MESSAGES +@dirrmtry share/locale/sr@latin @dirrmtry share/locale/si/LC_MESSAGES @dirrmtry share/locale/si @dirrmtry share/locale/rw/LC_MESSAGES diff --git a/audio/libcanberra/Makefile b/audio/libcanberra/Makefile index fe5a39ef37e6..9d9dc6b923f4 100644 --- a/audio/libcanberra/Makefile +++ b/audio/libcanberra/Makefile @@ -6,10 +6,10 @@ # PORTNAME= libcanberra -PORTVERSION= 0.6 -PORTREVISION= 5 +PORTVERSION= 0.10 +PORTREVISION= 2 CATEGORIES= audio devel -MASTER_SITES= http://0pointer.de/public/ +MASTER_SITES= http://0pointer.de/lennart/projects/libcanberra/ MAINTAINER= gnome@FreeBSD.org COMMENT= Implementation of the Freedesktop sound theme spec @@ -17,30 +17,38 @@ COMMENT= Implementation of the Freedesktop sound theme spec LIB_DEPENDS= vorbisfile.5:${PORTSDIR}/audio/libvorbis USE_GMAKE= yes -USE_GNOME= gnomeprefix gnomehack gtk20 ltverhack +USE_GNOME= gnomeprefix gnomehack gtk20 ltverhack gconf2 USE_LDCONFIG= yes USE_AUTOTOOLS= libtool:15 libltdl:15 +CONFIGURE_ARGS= --disable-lynx CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" -OPTIONS= PULSE "Enable Pulse Audio support" off +GCONF_SCHEMAS= libcanberra.schemas -.include <bsd.port.pre.mk> +OPTIONS= PULSE "Enable Pulse Audio support" off \ + GSTREAMER "Enable GStreamer audio support" off -.if ${OSVERSION} >= 800059 -BROKEN= does not build -.endif +.include <bsd.port.pre.mk> .if !defined(WITHOUT_PULSE) LIB_DEPENDS+= pulse.0:${PORTSDIR}/audio/pulseaudio -PLIST_SUB+= PULSE="" OSS="@comment " -CONFIGURE_ARGS+=--disable-oss +PLIST_SUB+= PULSE="" .else CONFIGURE_ARGS+=--disable-pulse -PLIST_SUB+= PULSE="@comment " OSS="" +PLIST_SUB+= PULSE="@comment " +.endif + +.if !defined(WITHOUT_GSTREAMER) +USE_GSTREAMER= yes +PLIST_SUB+= GSTREAMER="" +.else +CONFIGURE_ARGS+=--disable-gstreamer +PLIST_SUB+= GSTREAMER="@comment " .endif post-patch: - @${FIND} ${WRKSRC} -type f | ${XARGS} ${TOUCH} + @${REINPLACE_CMD} -e 's|-Wmissing-include-dirs||g' \ + ${WRKSRC}/configure .include <bsd.port.post.mk> diff --git a/audio/libcanberra/distinfo b/audio/libcanberra/distinfo index f22448d9d6a5..7adb467b8697 100644 --- a/audio/libcanberra/distinfo +++ b/audio/libcanberra/distinfo @@ -1,3 +1,3 @@ -MD5 (libcanberra-0.6.tar.gz) = bec9dc81796babef76f2d687024daffb -SHA256 (libcanberra-0.6.tar.gz) = d9d047e94b8f6e0e036119c68e4485a85459a77383a27ed02bff9327171c88b7 -SIZE (libcanberra-0.6.tar.gz) = 794371 +MD5 (libcanberra-0.10.tar.gz) = 2623370bfcecaeecaeb85e5ec445f340 +SHA256 (libcanberra-0.10.tar.gz) = b0e3cb59e605412a52352cf9cf36344b165463d4e65916c95deb73fc51838272 +SIZE (libcanberra-0.10.tar.gz) = 826222 diff --git a/audio/libcanberra/files/patch-Makefile.in b/audio/libcanberra/files/patch-Makefile.in index 860803c710d8..bd5972c313b2 100644 --- a/audio/libcanberra/files/patch-Makefile.in +++ b/audio/libcanberra/files/patch-Makefile.in @@ -1,11 +1,28 @@ ---- Makefile.in.orig 2008-08-10 15:20:38.000000000 -0400 -+++ Makefile.in 2008-08-10 15:20:44.000000000 -0400 -@@ -248,7 +248,7 @@ top_build_prefix = @top_build_prefix@ - top_builddir = @top_builddir@ +--- Makefile.in.orig 2008-12-20 13:42:12.000000000 -0500 ++++ Makefile.in 2008-12-20 20:43:22.000000000 -0500 +@@ -271,7 +271,7 @@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ - EXTRA_DIST = bootstrap.sh autogen.sh LGPL README --SUBDIRS = src doc libltdl -+SUBDIRS = src doc - MAINTAINERCLEANFILES = - noinst_DATA = + dist_doc_DATA = README + EXTRA_DIST = bootstrap.sh autogen.sh LGPL libcanberra.schemas +-SUBDIRS = src gtkdoc libltdl doc ++SUBDIRS = src gtkdoc doc + MAINTAINERCLEANFILES = README + noinst_DATA = README pkgconfigdir = $(prefix)/libdata/pkgconfig +@@ -794,11 +794,11 @@ uninstall-am: uninstall-dist_docDATA uni + + + @GCONF_SCHEMAS_INSTALL_TRUE@install-data-local: +-@GCONF_SCHEMAS_INSTALL_TRUE@ if test -z "$(DESTDIR)" ; then \ +-@GCONF_SCHEMAS_INSTALL_TRUE@ for p in $(schemas_DATA) ; do \ +-@GCONF_SCHEMAS_INSTALL_TRUE@ GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(top_builddir)/data/$$p ; \ +-@GCONF_SCHEMAS_INSTALL_TRUE@ done \ +-@GCONF_SCHEMAS_INSTALL_TRUE@ fi ++@GCONF_SCHEMAS_INSTALL_TRUE@ if test -z "$(DESTDIR)" ; then \ ++@GCONF_SCHEMAS_INSTALL_TRUE@ for p in $(schemas_DATA) ; do \ ++@GCONF_SCHEMAS_INSTALL_TRUE@ GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(top_builddir)/$$p ; \ ++@GCONF_SCHEMAS_INSTALL_TRUE@ done ; \ ++@GCONF_SCHEMAS_INSTALL_TRUE@ fi + @GCONF_SCHEMAS_INSTALL_FALSE@install-data-local: + + README: diff --git a/audio/libcanberra/files/patch-config.h.in b/audio/libcanberra/files/patch-config.h.in deleted file mode 100644 index d1d6b10e84c4..000000000000 --- a/audio/libcanberra/files/patch-config.h.in +++ /dev/null @@ -1,42 +0,0 @@ ---- config.h.in.orig 2008-08-09 15:51:54.000000000 -0400 -+++ config.h.in 2008-08-09 15:51:57.000000000 -0400 -@@ -30,6 +30,9 @@ - /* Define to 1 if you have the `lstat' function. */ - #undef HAVE_LSTAT - -+/* Define to 1 if you have the <machine/soundcard.h> header file. */ -+#undef HAVE_MACHINE_SOUNDCARD_H -+ - /* Define to 1 if you have the <memory.h> header file. */ - #undef HAVE_MEMORY_H - -@@ -39,6 +42,9 @@ - /* Have NULL output? */ - #undef HAVE_NULL - -+/* Have OSS? */ -+#undef HAVE_OSS -+ - /* Define to 1 if you have the `posix_memalign' function. */ - #undef HAVE_POSIX_MEMALIGN - -@@ -57,6 +63,9 @@ - /* Define to 1 if you have the `sleep' function. */ - #undef HAVE_SLEEP - -+/* Define to 1 if you have the <soundcard.h> header file. */ -+#undef HAVE_SOUNDCARD_H -+ - /* Define to 1 if the system has the type `ssize_t'. */ - #undef HAVE_SSIZE_T - -@@ -93,6 +102,9 @@ - /* Define to 1 if you have the <sys/socket.h> header file. */ - #undef HAVE_SYS_SOCKET_H - -+/* Define to 1 if you have the <sys/soundcard.h> header file. */ -+#undef HAVE_SYS_SOUNDCARD_H -+ - /* Define to 1 if you have the <sys/stat.h> header file. */ - #undef HAVE_SYS_STAT_H - diff --git a/audio/libcanberra/files/patch-configure b/audio/libcanberra/files/patch-configure index b6d61bca2e26..7d643125157c 100644 --- a/audio/libcanberra/files/patch-configure +++ b/audio/libcanberra/files/patch-configure @@ -1,60 +1,23 @@ ---- configure.orig 2008-08-10 15:18:38.000000000 -0400 -+++ configure 2008-08-10 15:19:32.000000000 -0400 +--- configure.orig 2008-12-19 19:07:23.000000000 -0500 ++++ configure 2008-12-19 19:08:01.000000000 -0500 @@ -791,7 +791,6 @@ ac_includes_default="\ # include <unistd.h> #endif" -enable_option_checking=no - ac_subst_vars='SHELL - PATH_SEPARATOR - PACKAGE_NAME -@@ -909,7 +908,6 @@ ac_ct_F77 - LIBTOOL - LTDLINCL - LIBLTDL --subdirs - OS_IS_WIN32_TRUE + ac_subst_vars='LTLIBOBJS + LIBOBJS + GTK_DOC_USE_LIBTOOL_FALSE +@@ -878,7 +877,6 @@ USE_VERSION_SCRIPT_FALSE + USE_VERSION_SCRIPT_TRUE OS_IS_WIN32_FALSE - acx_pthread_config -@@ -935,15 +933,19 @@ VORBIS_LIBS - HAVE_DSO - HAVE_PULSE - HAVE_ALSA -+HAVE_OSS - HAVE_NULL - BUILTIN_DSO - BUILTIN_PULSE - BUILTIN_ALSA -+BUILTIN_OSS - BUILTIN_NULL - HAVE_PULSE_TRUE - HAVE_PULSE_FALSE - HAVE_ALSA_TRUE - HAVE_ALSA_FALSE -+HAVE_OSS_TRUE -+HAVE_OSS_FALSE - HAVE_NULL_TRUE - HAVE_NULL_FALSE - BUILTIN_DSO_TRUE -@@ -952,6 +954,8 @@ BUILTIN_PULSE_TRUE - BUILTIN_PULSE_FALSE - BUILTIN_ALSA_TRUE - BUILTIN_ALSA_FALSE -+BUILTIN_OSS_TRUE -+BUILTIN_OSS_FALSE - BUILTIN_NULL_TRUE - BUILTIN_NULL_FALSE - HTML_DIR -@@ -978,6 +982,7 @@ enable_largefile - enable_rpath - with_libiconv_prefix - enable_alsa -+enable_oss - enable_pulse - enable_null - enable_gtk -@@ -1009,7 +1014,7 @@ GTK_CFLAGS - GTK_LIBS + OS_IS_WIN32_TRUE +-subdirs + LIBLTDL + LTDLINCL + LIBTOOL +@@ -1054,7 +1052,7 @@ TDB_CFLAGS + TDB_LIBS VORBIS_CFLAGS VORBIS_LIBS' -ac_subdirs_all='libltdl' @@ -62,811 +25,3 @@ # Initialize some variables set by options. ac_init_help= -@@ -1650,6 +1655,7 @@ Optional Features: - --disable-largefile omit support for large files - --disable-rpath do not hardcode runtime library paths - --disable-alsa Disable optional ALSA support -+ --disable-oss Disable optional OSS support - --disable-pulse Disable optional PulseAudio support - --disable-null Disable optional null output - --disable-gtk Disable optional GTK+ support -@@ -6080,7 +6086,7 @@ ia64-*-hpux*) - ;; - *-*-irix6*) - # Find out which ABI we are using. -- echo '#line 6083 "configure"' > conftest.$ac_ext -+ echo '#line 6089 "configure"' > conftest.$ac_ext - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? -@@ -8509,11 +8515,11 @@ else - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` -- (eval echo "\"\$as_me:8512: $lt_compile\"" >&5) -+ (eval echo "\"\$as_me:8518: $lt_compile\"" >&5) - (eval "$lt_compile" 2>conftest.err) - ac_status=$? - cat conftest.err >&5 -- echo "$as_me:8516: \$? = $ac_status" >&5 -+ echo "$as_me:8522: \$? = $ac_status" >&5 - if (exit $ac_status) && test -s "$ac_outfile"; then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings other than the usual output. -@@ -8799,11 +8805,11 @@ else - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` -- (eval echo "\"\$as_me:8802: $lt_compile\"" >&5) -+ (eval echo "\"\$as_me:8808: $lt_compile\"" >&5) - (eval "$lt_compile" 2>conftest.err) - ac_status=$? - cat conftest.err >&5 -- echo "$as_me:8806: \$? = $ac_status" >&5 -+ echo "$as_me:8812: \$? = $ac_status" >&5 - if (exit $ac_status) && test -s "$ac_outfile"; then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings other than the usual output. -@@ -8903,11 +8909,11 @@ else - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` -- (eval echo "\"\$as_me:8906: $lt_compile\"" >&5) -+ (eval echo "\"\$as_me:8912: $lt_compile\"" >&5) - (eval "$lt_compile" 2>out/conftest.err) - ac_status=$? - cat out/conftest.err >&5 -- echo "$as_me:8910: \$? = $ac_status" >&5 -+ echo "$as_me:8916: \$? = $ac_status" >&5 - if (exit $ac_status) && test -s out/conftest2.$ac_objext - then - # The compiler can only warn and ignore the option if not recognized -@@ -11305,7 +11311,7 @@ else - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 - lt_status=$lt_dlunknown - cat > conftest.$ac_ext <<EOF --#line 11308 "configure" -+#line 11314 "configure" - #include "confdefs.h" - - #if HAVE_DLFCN_H -@@ -11405,7 +11411,7 @@ else - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 - lt_status=$lt_dlunknown - cat > conftest.$ac_ext <<EOF --#line 11408 "configure" -+#line 11414 "configure" - #include "confdefs.h" - - #if HAVE_DLFCN_H -@@ -13814,11 +13820,11 @@ else - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` -- (eval echo "\"\$as_me:13817: $lt_compile\"" >&5) -+ (eval echo "\"\$as_me:13823: $lt_compile\"" >&5) - (eval "$lt_compile" 2>conftest.err) - ac_status=$? - cat conftest.err >&5 -- echo "$as_me:13821: \$? = $ac_status" >&5 -+ echo "$as_me:13827: \$? = $ac_status" >&5 - if (exit $ac_status) && test -s "$ac_outfile"; then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings other than the usual output. -@@ -13918,11 +13924,11 @@ else - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` -- (eval echo "\"\$as_me:13921: $lt_compile\"" >&5) -+ (eval echo "\"\$as_me:13927: $lt_compile\"" >&5) - (eval "$lt_compile" 2>out/conftest.err) - ac_status=$? - cat out/conftest.err >&5 -- echo "$as_me:13925: \$? = $ac_status" >&5 -+ echo "$as_me:13931: \$? = $ac_status" >&5 - if (exit $ac_status) && test -s out/conftest2.$ac_objext - then - # The compiler can only warn and ignore the option if not recognized -@@ -15503,11 +15509,11 @@ else - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` -- (eval echo "\"\$as_me:15506: $lt_compile\"" >&5) -+ (eval echo "\"\$as_me:15512: $lt_compile\"" >&5) - (eval "$lt_compile" 2>conftest.err) - ac_status=$? - cat conftest.err >&5 -- echo "$as_me:15510: \$? = $ac_status" >&5 -+ echo "$as_me:15516: \$? = $ac_status" >&5 - if (exit $ac_status) && test -s "$ac_outfile"; then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings other than the usual output. -@@ -15607,11 +15613,11 @@ else - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` -- (eval echo "\"\$as_me:15610: $lt_compile\"" >&5) -+ (eval echo "\"\$as_me:15616: $lt_compile\"" >&5) - (eval "$lt_compile" 2>out/conftest.err) - ac_status=$? - cat out/conftest.err >&5 -- echo "$as_me:15614: \$? = $ac_status" >&5 -+ echo "$as_me:15620: \$? = $ac_status" >&5 - if (exit $ac_status) && test -s out/conftest2.$ac_objext - then - # The compiler can only warn and ignore the option if not recognized -@@ -17824,11 +17830,11 @@ else - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` -- (eval echo "\"\$as_me:17827: $lt_compile\"" >&5) -+ (eval echo "\"\$as_me:17833: $lt_compile\"" >&5) - (eval "$lt_compile" 2>conftest.err) - ac_status=$? - cat conftest.err >&5 -- echo "$as_me:17831: \$? = $ac_status" >&5 -+ echo "$as_me:17837: \$? = $ac_status" >&5 - if (exit $ac_status) && test -s "$ac_outfile"; then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings other than the usual output. -@@ -18114,11 +18120,11 @@ else - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` -- (eval echo "\"\$as_me:18117: $lt_compile\"" >&5) -+ (eval echo "\"\$as_me:18123: $lt_compile\"" >&5) - (eval "$lt_compile" 2>conftest.err) - ac_status=$? - cat conftest.err >&5 -- echo "$as_me:18121: \$? = $ac_status" >&5 -+ echo "$as_me:18127: \$? = $ac_status" >&5 - if (exit $ac_status) && test -s "$ac_outfile"; then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings other than the usual output. -@@ -18218,11 +18224,11 @@ else - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` -- (eval echo "\"\$as_me:18221: $lt_compile\"" >&5) -+ (eval echo "\"\$as_me:18227: $lt_compile\"" >&5) - (eval "$lt_compile" 2>out/conftest.err) - ac_status=$? - cat out/conftest.err >&5 -- echo "$as_me:18225: \$? = $ac_status" >&5 -+ echo "$as_me:18231: \$? = $ac_status" >&5 - if (exit $ac_status) && test -s out/conftest2.$ac_objext - then - # The compiler can only warn and ignore the option if not recognized -@@ -20908,10 +20914,6 @@ LIBTOOL='$(SHELL) $(top_builddir)/libtoo - - - -- --subdirs="$subdirs libltdl" -- -- - #### Determine build environment #### - - os_is_win32=0 -@@ -21692,6 +21694,46 @@ if test "${ac_cv_c_bigendian+set}" = set - $as_echo_n "(cached) " >&6 - else - ac_cv_c_bigendian=unknown -+ # See if __BIG_ENDIAN__ or __LITTLE_ENDIAN__ is defined. -+ cat >conftest.$ac_ext <<_ACEOF -+/* confdefs.h. */ -+_ACEOF -+cat confdefs.h >>conftest.$ac_ext -+cat >>conftest.$ac_ext <<_ACEOF -+/* end confdefs.h. */ -+#if ! (defined __BIG_ENDIAN__ || defined __LITTLE_ENDIAN__) -+ neither is defined; -+ #endif -+ typedef int dummy; -+ -+_ACEOF -+rm -f conftest.$ac_objext -+if { (ac_try="$ac_compile" -+case "(($ac_try" in -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -+ *) ac_try_echo=$ac_try;; -+esac -+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -+$as_echo "$ac_try_echo") >&5 -+ (eval "$ac_compile") 2>conftest.er1 -+ ac_status=$? -+ grep -v '^ *+' conftest.er1 >conftest.err -+ rm -f conftest.er1 -+ cat conftest.err >&5 -+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 -+ (exit $ac_status); } && { -+ test -z "$ac_c_werror_flag" || -+ test ! -s conftest.err -+ } && test -s conftest.$ac_objext; then -+ ac_cv_c_bigendian=universal -+else -+ $as_echo "$as_me: failed program was:" >&5 -+sed 's/^/| /' conftest.$ac_ext >&5 -+ -+ -+fi -+ -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - if test $ac_cv_c_bigendian = unknown; then - # See if sys/param.h defines the BYTE_ORDER macro. - cat >conftest.$ac_ext <<_ACEOF -@@ -25735,6 +25777,197 @@ fi - - - -+### OSS support (optional) ### -+# Check whether --enable-oss was given. -+if test "${enable_oss+set}" = set; then -+ enableval=$enable_oss; -+ case "${enableval}" in -+ yes) alsa=yes ;; -+ no) alsa=no ;; -+ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --disable-oss" >&5 -+$as_echo "$as_me: error: bad value ${enableval} for --disable-oss" >&2;} -+ { (exit 1); exit 1; }; } ;; -+ esac -+ -+else -+ oss=auto -+fi -+ -+ -+if test "x${oss}" != xno ; then -+ -+ -+ -+for ac_header in soundcard.h sys/soundcard.h machine/soundcard.h -+do -+as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then -+ { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 -+$as_echo_n "checking for $ac_header... " >&6; } -+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then -+ $as_echo_n "(cached) " >&6 -+fi -+ac_res=`eval 'as_val=${'$as_ac_Header'} -+ $as_echo "$as_val"'` -+ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 -+$as_echo "$ac_res" >&6; } -+else -+ # Is the header compilable? -+{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 -+$as_echo_n "checking $ac_header usability... " >&6; } -+cat >conftest.$ac_ext <<_ACEOF -+/* confdefs.h. */ -+_ACEOF -+cat confdefs.h >>conftest.$ac_ext -+cat >>conftest.$ac_ext <<_ACEOF -+/* end confdefs.h. */ -+$ac_includes_default -+#include <$ac_header> -+_ACEOF -+rm -f conftest.$ac_objext -+if { (ac_try="$ac_compile" -+case "(($ac_try" in -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -+ *) ac_try_echo=$ac_try;; -+esac -+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -+$as_echo "$ac_try_echo") >&5 -+ (eval "$ac_compile") 2>conftest.er1 -+ ac_status=$? -+ grep -v '^ *+' conftest.er1 >conftest.err -+ rm -f conftest.er1 -+ cat conftest.err >&5 -+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 -+ (exit $ac_status); } && { -+ test -z "$ac_c_werror_flag" || -+ test ! -s conftest.err -+ } && test -s conftest.$ac_objext; then -+ ac_header_compiler=yes -+else -+ $as_echo "$as_me: failed program was:" >&5 -+sed 's/^/| /' conftest.$ac_ext >&5 -+ -+ ac_header_compiler=no -+fi -+ -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 -+$as_echo "$ac_header_compiler" >&6; } -+ -+# Is the header present? -+{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 -+$as_echo_n "checking $ac_header presence... " >&6; } -+cat >conftest.$ac_ext <<_ACEOF -+/* confdefs.h. */ -+_ACEOF -+cat confdefs.h >>conftest.$ac_ext -+cat >>conftest.$ac_ext <<_ACEOF -+/* end confdefs.h. */ -+#include <$ac_header> -+_ACEOF -+if { (ac_try="$ac_cpp conftest.$ac_ext" -+case "(($ac_try" in -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -+ *) ac_try_echo=$ac_try;; -+esac -+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -+$as_echo "$ac_try_echo") >&5 -+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 -+ ac_status=$? -+ grep -v '^ *+' conftest.er1 >conftest.err -+ rm -f conftest.er1 -+ cat conftest.err >&5 -+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 -+ (exit $ac_status); } >/dev/null && { -+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || -+ test ! -s conftest.err -+ }; then -+ ac_header_preproc=yes -+else -+ $as_echo "$as_me: failed program was:" >&5 -+sed 's/^/| /' conftest.$ac_ext >&5 -+ -+ ac_header_preproc=no -+fi -+ -+rm -f conftest.err conftest.$ac_ext -+{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 -+$as_echo "$ac_header_preproc" >&6; } -+ -+# So? What about this header? -+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in -+ yes:no: ) -+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 -+$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} -+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 -+$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} -+ ac_header_preproc=yes -+ ;; -+ no:yes:* ) -+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 -+$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} -+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 -+$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} -+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 -+$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} -+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 -+$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} -+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 -+$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} -+ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 -+$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} -+ ( cat <<\_ASBOX -+## --------------------------------------------------- ## -+## Report this to mzyvopnaoreen (at) 0pointer (dot) de ## -+## --------------------------------------------------- ## -+_ASBOX -+ ) | sed "s/^/$as_me: WARNING: /" >&2 -+ ;; -+esac -+{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 -+$as_echo_n "checking for $ac_header... " >&6; } -+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then -+ $as_echo_n "(cached) " >&6 -+else -+ eval "$as_ac_Header=\$ac_header_preproc" -+fi -+ac_res=`eval 'as_val=${'$as_ac_Header'} -+ $as_echo "$as_val"'` -+ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 -+$as_echo "$ac_res" >&6; } -+ -+fi -+if test `eval 'as_val=${'$as_ac_Header'} -+ $as_echo "$as_val"'` = yes; then -+ cat >>confdefs.h <<_ACEOF -+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 -+_ACEOF -+ -+fi -+ -+done -+ -+ if test "${ac_cv_header_sys_soundcard_h}" = "yes" || \ -+ test "${ac_cv_header_soundcard_h}" = "yes" || \ -+ test "${ac_cv_header_machine_soundcard_h}" = "yes"; then -+ HAVE_OSS=1 -+ -+cat >>confdefs.h <<\_ACEOF -+#define HAVE_OSS 1 -+_ACEOF -+ -+ else -+ HAVE_OSS=0 -+ if test "x$oss" = xyes ; then -+ { { $as_echo "$as_me:$LINENO: error: *** OSS not found ***" >&5 -+$as_echo "$as_me: error: *** OSS not found ***" >&2;} -+ { (exit 1); exit 1; }; } -+ fi -+ fi -+else -+ HAVE_OSS=0 -+fi -+ - ### PulseAudio (optional) #### - - # Check whether --enable-pulse was given. -@@ -26143,6 +26376,7 @@ HAVE_DSO=0 - BUILTIN_DSO=0 - BUILTIN_PULSE=0 - BUILTIN_ALSA=0 -+BUILTIN_OSS=0 - BUILTIN_NULL=0 - - case "x$with_builtin" in -@@ -26155,6 +26389,7 @@ $as_echo "$as_me: error: *** PulseAudio - - BUILTIN_PULSE=1 - HAVE_ALSA=0 -+ HAVE_OSS=0 - HAVE_NULL=0 - ;; - -@@ -26166,10 +26401,24 @@ $as_echo "$as_me: error: *** ALSA select - fi - - BUILTIN_ALSA=1 -+ HAVE_OSS=0 - HAVE_PULSE=0 - HAVE_NULL=0 - ;; - -+ xoss) -+ if test "x$HAV_OSS" != x1 ; then -+ { { $as_echo "$as_me:$LINENO: error: *** OSS selected for builtin driver, but not enabled. ***" >&5 -+$as_echo "$as_me: error: *** OSS selected for builtin driver, but not enabled. ***" >&2;} -+ { (exit 1); exit 1; }; } -+ fi -+ -+ BUILTIN_OSS=1 -+ HAVE_ALSA=0 -+ HAVE_PULSE=0 -+ HAVE_NULL=0 -+ ;; -+ - xnull) - if test "x$HAVE_NULL" != x1 ; then - { { $as_echo "$as_me:$LINENO: error: *** Null output selected for builtin driver, but not enabled. ***" >&5 -@@ -26180,6 +26429,7 @@ $as_echo "$as_me: error: *** Null output - BUILTIN_NULL=1 - HAVE_PULSE=0 - HAVE_ALSA=0 -+ HAVE_OSS=0 - ;; - - xdso) -@@ -26198,7 +26448,7 @@ $as_echo "$as_me: error: *** Unknown dri - { (exit 1); exit 1; }; } - esac - --if test "x$HAVE_PULSE" != x1 -a "x$HAVE_ALSA" != x1 -a "x$HAVE_NULL" != x1 ; then -+if test "x$HAVE_PULSE" != x1 -a "x$HAVE_ALSA" != x1 -a "x$HAVE_OSS" != x1 -a "x$HAVE_NULL" != x1 ; then - { { $as_echo "$as_me:$LINENO: error: *** No backend enabled. ***" >&5 - $as_echo "$as_me: error: *** No backend enabled. ***" >&2;} - { (exit 1); exit 1; }; } -@@ -26212,6 +26462,8 @@ fi - - - -+ -+ - if test "x$HAVE_PULSE" = x1; then - HAVE_PULSE_TRUE= - HAVE_PULSE_FALSE='#' -@@ -26228,6 +26480,14 @@ else - HAVE_ALSA_FALSE= - fi - -+ if test "x$HAVE_OSS" = x1; then -+ HAVE_OSS_TRUE= -+ HAVE_OSS_FALSE='#' -+else -+ HAVE_OSS_TRUE='#' -+ HAVE_OSS_FALSE= -+fi -+ - if test "x$HAVE_NULL" = x1; then - HAVE_NULL_TRUE= - HAVE_NULL_FALSE='#' -@@ -26260,6 +26520,14 @@ else - BUILTIN_ALSA_FALSE= - fi - -+ if test "x$BUILTIN_OSS" = x1; then -+ BUILTIN_OSS_TRUE= -+ BUILTIN_OSS_FALSE='#' -+else -+ BUILTIN_OSS_TRUE='#' -+ BUILTIN_OSS_FALSE= -+fi -+ - if test "x$BUILTIN_NULL" = x1; then - BUILTIN_NULL_TRUE= - BUILTIN_NULL_FALSE='#' -@@ -26539,6 +26807,13 @@ $as_echo "$as_me: error: conditional \"H - Usually this means the macro was only invoked conditionally." >&2;} - { (exit 1); exit 1; }; } - fi -+if test -z "${HAVE_OSS_TRUE}" && test -z "${HAVE_OSS_FALSE}"; then -+ { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_OSS\" was never defined. -+Usually this means the macro was only invoked conditionally." >&5 -+$as_echo "$as_me: error: conditional \"HAVE_OSS\" was never defined. -+Usually this means the macro was only invoked conditionally." >&2;} -+ { (exit 1); exit 1; }; } -+fi - if test -z "${HAVE_NULL_TRUE}" && test -z "${HAVE_NULL_FALSE}"; then - { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_NULL\" was never defined. - Usually this means the macro was only invoked conditionally." >&5 -@@ -26567,6 +26842,13 @@ $as_echo "$as_me: error: conditional \"B - Usually this means the macro was only invoked conditionally." >&2;} - { (exit 1); exit 1; }; } - fi -+if test -z "${BUILTIN_OSS_TRUE}" && test -z "${BUILTIN_OSS_FALSE}"; then -+ { { $as_echo "$as_me:$LINENO: error: conditional \"BUILTIN_OSS\" was never defined. -+Usually this means the macro was only invoked conditionally." >&5 -+$as_echo "$as_me: error: conditional \"BUILTIN_OSS\" was never defined. -+Usually this means the macro was only invoked conditionally." >&2;} -+ { (exit 1); exit 1; }; } -+fi - if test -z "${BUILTIN_NULL_TRUE}" && test -z "${BUILTIN_NULL_FALSE}"; then - { { $as_echo "$as_me:$LINENO: error: conditional \"BUILTIN_NULL\" was never defined. - Usually this means the macro was only invoked conditionally." >&5 -@@ -26926,9 +27208,9 @@ _ACEOF - - cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 - # Files that config.status was made for. --config_files="`echo $ac_config_files`" --config_headers="`echo $ac_config_headers`" --config_commands="`echo $ac_config_commands`" -+config_files="$ac_config_files" -+config_headers="$ac_config_headers" -+config_commands="$ac_config_commands" - - _ACEOF - -@@ -27379,9 +27661,9 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_writ - } - split(mac1, mac2, "(") #) - macro = mac2[1] -- prefix = substr(line, 1, index(line, defundef) - 1) - if (D_is_set[macro]) { - # Preserve the white space surrounding the "#". -+ prefix = substr(line, 1, index(line, defundef) - 1) - print prefix "define", macro P[macro] D[macro] - next - } else { -@@ -27389,7 +27671,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_writ - # in the case of _POSIX_SOURCE, which is predefined and required - # on some systems where configure will not decide to define it. - if (defundef == "undef") { -- print "/*", prefix defundef, macro, "*/" -+ print "/*", line, "*/" - next - } - } -@@ -27906,193 +28188,6 @@ if test "$no_create" != yes; then - # would make configure fail if this is the last instruction. - $ac_cs_success || { (exit 1); exit 1; } - fi -- --# --# CONFIG_SUBDIRS section. --# --if test "$no_recursion" != yes; then -- -- # Remove --cache-file, --srcdir, and --disable-option-checking arguments -- # so they do not pile up. -- ac_sub_configure_args= -- ac_prev= -- eval "set x $ac_configure_args" -- shift -- for ac_arg -- do -- if test -n "$ac_prev"; then -- ac_prev= -- continue -- fi -- case $ac_arg in -- -cache-file | --cache-file | --cache-fil | --cache-fi \ -- | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) -- ac_prev=cache_file ;; -- -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ -- | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \ -- | --c=*) -- ;; -- --config-cache | -C) -- ;; -- -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) -- ac_prev=srcdir ;; -- -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) -- ;; -- -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) -- ac_prev=prefix ;; -- -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) -- ;; -- --disable-option-checking) -- ;; -- *) -- case $ac_arg in -- *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; -- esac -- ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;; -- esac -- done -- -- # Always prepend --prefix to ensure using the same prefix -- # in subdir configurations. -- ac_arg="--prefix=$prefix" -- case $ac_arg in -- *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; -- esac -- ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args" -- -- # Pass --silent -- if test "$silent" = yes; then -- ac_sub_configure_args="--silent $ac_sub_configure_args" -- fi -- -- # Always prepend --disable-option-checking to silence warnings, since -- # different subdirs can have different --enable and --with options. -- ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args" -- -- ac_popdir=`pwd` -- for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue -- -- # Do not complain, so a configure script can configure whichever -- # parts of a large source tree are present. -- test -d "$srcdir/$ac_dir" || continue -- -- ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" -- $as_echo "$as_me:$LINENO: $ac_msg" >&5 -- $as_echo "$ac_msg" >&6 -- { as_dir="$ac_dir" -- case $as_dir in #( -- -*) as_dir=./$as_dir;; -- esac -- test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { -- as_dirs= -- while :; do -- case $as_dir in #( -- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( -- *) as_qdir=$as_dir;; -- esac -- as_dirs="'$as_qdir' $as_dirs" -- as_dir=`$as_dirname -- "$as_dir" || --$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ -- X"$as_dir" : 'X\(//\)[^/]' \| \ -- X"$as_dir" : 'X\(//\)$' \| \ -- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || --$as_echo X"$as_dir" | -- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ -- s//\1/ -- q -- } -- /^X\(\/\/\)[^/].*/{ -- s//\1/ -- q -- } -- /^X\(\/\/\)$/{ -- s//\1/ -- q -- } -- /^X\(\/\).*/{ -- s//\1/ -- q -- } -- s/.*/./; q'` -- test -d "$as_dir" && break -- done -- test -z "$as_dirs" || eval "mkdir $as_dirs" -- } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 --$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} -- { (exit 1); exit 1; }; }; } -- ac_builddir=. -- --case "$ac_dir" in --.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; --*) -- ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` -- # A ".." for each directory in $ac_dir_suffix. -- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` -- case $ac_top_builddir_sub in -- "") ac_top_builddir_sub=. ac_top_build_prefix= ;; -- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; -- esac ;; --esac --ac_abs_top_builddir=$ac_pwd --ac_abs_builddir=$ac_pwd$ac_dir_suffix --# for backward compatibility: --ac_top_builddir=$ac_top_build_prefix -- --case $srcdir in -- .) # We are building in place. -- ac_srcdir=. -- ac_top_srcdir=$ac_top_builddir_sub -- ac_abs_top_srcdir=$ac_pwd ;; -- [\\/]* | ?:[\\/]* ) # Absolute name. -- ac_srcdir=$srcdir$ac_dir_suffix; -- ac_top_srcdir=$srcdir -- ac_abs_top_srcdir=$srcdir ;; -- *) # Relative name. -- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix -- ac_top_srcdir=$ac_top_build_prefix$srcdir -- ac_abs_top_srcdir=$ac_pwd/$srcdir ;; --esac --ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix -- -- -- cd "$ac_dir" -- -- # Check for guested configure; otherwise get Cygnus style configure. -- if test -f "$ac_srcdir/configure.gnu"; then -- ac_sub_configure=$ac_srcdir/configure.gnu -- elif test -f "$ac_srcdir/configure"; then -- ac_sub_configure=$ac_srcdir/configure -- elif test -f "$ac_srcdir/configure.in"; then -- # This should be Cygnus configure. -- ac_sub_configure=$ac_aux_dir/configure -- else -- { $as_echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5 --$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} -- ac_sub_configure= -- fi -- -- # The recursion is here. -- if test -n "$ac_sub_configure"; then -- # Make the cache file name correct relative to the subdirectory. -- case $cache_file in -- [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; -- *) # Relative name. -- ac_sub_cache_file=$ac_top_build_prefix$cache_file ;; -- esac -- -- { $as_echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 --$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} -- # The eval makes quoting arguments work. -- eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ -- --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || -- { { $as_echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5 --$as_echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;} -- { (exit 1); exit 1; }; } -- fi -- -- cd "$ac_popdir" -- done --fi - if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then - { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5 - $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;} -@@ -28123,6 +28218,15 @@ if test "x$BUILTIN_ALSA" = "x1" ; then - ENABLE_BUILTIN_ALSA=yes - fi - -+ENABLE_OSS=no -+if test "x$HAVE_OSS" = "x1" ; then -+ ENABLE_OSS=yes -+fi -+ENABLE_BUILTIN_OSS=no -+if test "x$BUILTIN_OSS" = "x1" ; then -+ ENABLE_BUILTIN_OSS=yes -+fi -+ - ENABLE_NULL=no - if test "x$HAVE_NULL" = "x1" ; then - ENABLE_NULL=yes -@@ -28152,6 +28256,8 @@ echo " - Builtin PulseAudio: ${ENABLE_BUILTIN_PULSE} - Enable ALSA: ${ENABLE_ALSA} - Builtin ALSA: ${ENABLE_BUILTIN_ALSA} -+ Enable OSS: ${ENABLE_OSS} -+ Builtin OSS: ${ENABLE_BUILTIN_OSS} - Enable Null Output: ${ENABLE_NULL} - Builtin Null Output: ${ENABLE_BUILTIN_NULL} - Enable GTK+: ${ENABLE_GTK} diff --git a/audio/libcanberra/files/patch-configure.ac b/audio/libcanberra/files/patch-configure.ac deleted file mode 100644 index 324d80d3b668..000000000000 --- a/audio/libcanberra/files/patch-configure.ac +++ /dev/null @@ -1,140 +0,0 @@ ---- configure.ac.orig 2008-08-09 15:27:28.000000000 -0400 -+++ configure.ac 2008-08-09 15:27:59.000000000 -0400 -@@ -219,6 +219,35 @@ fi - AC_SUBST(ALSA_CFLAGS) - AC_SUBST(ALSA_LIBS) - -+### OSS support (optional) ### -+AC_ARG_ENABLE([oss], -+ AC_HELP_STRING([--disable-oss], [Disable optional OSS support]), -+ [ -+ case "${enableval}" in -+ yes) alsa=yes ;; -+ no) alsa=no ;; -+ *) AC_MSG_ERROR(bad value ${enableval} for --disable-oss) ;; -+ esac -+ ], -+ [oss=auto]) -+ -+if test "x${oss}" != xno ; then -+ AC_CHECK_HEADERS(soundcard.h sys/soundcard.h machine/soundcard.h) -+ if test "${ac_cv_header_sys_soundcard_h}" = "yes" || \ -+ test "${ac_cv_header_soundcard_h}" = "yes" || \ -+ test "${ac_cv_header_machine_soundcard_h}" = "yes"; then -+ HAVE_OSS=1 -+ AC_DEFINE([HAVE_OSS], 1, [Have OSS?]) -+ else -+ HAVE_OSS=0 -+ if test "x$oss" = xyes ; then -+ AC_MSG_ERROR([*** OSS not found ***]) -+ fi -+ fi -+else -+ HAVE_OSS=0 -+fi -+ - ### PulseAudio (optional) #### - - AC_ARG_ENABLE([pulse], -@@ -333,6 +362,7 @@ HAVE_DSO=0 - BUILTIN_DSO=0 - BUILTIN_PULSE=0 - BUILTIN_ALSA=0 -+BUILTIN_OSS=0 - BUILTIN_NULL=0 - - case "x$with_builtin" in -@@ -343,6 +373,7 @@ case "x$with_builtin" in - - BUILTIN_PULSE=1 - HAVE_ALSA=0 -+ HAVE_OSS=0 - HAVE_NULL=0 - ;; - -@@ -352,10 +383,22 @@ case "x$with_builtin" in - fi - - BUILTIN_ALSA=1 -+ HAVE_OSS=0 - HAVE_PULSE=0 - HAVE_NULL=0 - ;; - -+ xoss) -+ if test "x$HAV_OSS" != x1 ; then -+ AC_MSG_ERROR([*** OSS selected for builtin driver, but not enabled. ***]) -+ fi -+ -+ BUILTIN_OSS=1 -+ HAVE_ALSA=0 -+ HAVE_PULSE=0 -+ HAVE_NULL=0 -+ ;; -+ - xnull) - if test "x$HAVE_NULL" != x1 ; then - AC_MSG_ERROR([*** Null output selected for builtin driver, but not enabled. ***]) -@@ -364,6 +407,7 @@ case "x$with_builtin" in - BUILTIN_NULL=1 - HAVE_PULSE=0 - HAVE_ALSA=0 -+ HAVE_OSS=0 - ;; - - xdso) -@@ -376,24 +420,28 @@ case "x$with_builtin" in - AC_MSG_ERROR([*** Unknown driver $with_builtin selected for builtin ***]) - esac - --if test "x$HAVE_PULSE" != x1 -a "x$HAVE_ALSA" != x1 -a "x$HAVE_NULL" != x1 ; then -+if test "x$HAVE_PULSE" != x1 -a "x$HAVE_ALSA" != x1 -a "x$HAVE_OSS" != x1 -a "x$HAVE_NULL" != x1 ; then - AC_MSG_ERROR([*** No backend enabled. ***]) - fi - - AC_SUBST(HAVE_DSO) - AC_SUBST(HAVE_PULSE) - AC_SUBST(HAVE_ALSA) -+AC_SUBST(HAVE_OSS) - AC_SUBST(HAVE_NULL) - AC_SUBST(BUILTIN_DSO) - AC_SUBST(BUILTIN_PULSE) - AC_SUBST(BUILTIN_ALSA) -+AC_SUBST(BUILTIN_OSS) - AC_SUBST(BUILTIN_NULL) - AM_CONDITIONAL([HAVE_PULSE], [test "x$HAVE_PULSE" = x1]) - AM_CONDITIONAL([HAVE_ALSA], [test "x$HAVE_ALSA" = x1]) -+AM_CONDITIONAL([HAVE_OSS], [test "x$HAVE_OSS" = x1]) - AM_CONDITIONAL([HAVE_NULL], [test "x$HAVE_NULL" = x1]) - AM_CONDITIONAL([BUILTIN_DSO], [test "x$BUILTIN_DSO" = x1]) - AM_CONDITIONAL([BUILTIN_PULSE], [test "x$BUILTIN_PULSE" = x1]) - AM_CONDITIONAL([BUILTIN_ALSA], [test "x$BUILTIN_ALSA" = x1]) -+AM_CONDITIONAL([BUILTIN_OSS], [test "x$BUILTIN_OSS" = x1]) - AM_CONDITIONAL([BUILTIN_NULL], [test "x$BUILTIN_NULL" = x1]) - - GTK_DOC_CHECK(1.9) -@@ -435,6 +483,15 @@ if test "x$BUILTIN_ALSA" = "x1" ; then - ENABLE_BUILTIN_ALSA=yes - fi - -+ENABLE_OSS=no -+if test "x$HAVE_OSS" = "x1" ; then -+ ENABLE_OSS=yes -+fi -+ENABLE_BUILTIN_OSS=no -+if test "x$BUILTIN_OSS" = "x1" ; then -+ ENABLE_BUILTIN_OSS=yes -+fi -+ - ENABLE_NULL=no - if test "x$HAVE_NULL" = "x1" ; then - ENABLE_NULL=yes -@@ -464,6 +521,8 @@ echo " - Builtin PulseAudio: ${ENABLE_BUILTIN_PULSE} - Enable ALSA: ${ENABLE_ALSA} - Builtin ALSA: ${ENABLE_BUILTIN_ALSA} -+ Enable OSS: ${ENABLE_OSS} -+ Builtin OSS: ${ENABLE_BUILTIN_OSS} - Enable Null Output: ${ENABLE_NULL} - Builtin Null Output: ${ENABLE_BUILTIN_NULL} - Enable GTK+: ${ENABLE_GTK} diff --git a/audio/libcanberra/files/patch-src_Makefile.am b/audio/libcanberra/files/patch-src_Makefile.am deleted file mode 100644 index 444a825f4794..000000000000 --- a/audio/libcanberra/files/patch-src_Makefile.am +++ /dev/null @@ -1,37 +0,0 @@ ---- src/Makefile.am.orig 2008-08-09 15:27:42.000000000 -0400 -+++ src/Makefile.am 2008-08-09 15:27:55.000000000 -0400 -@@ -164,6 +164,34 @@ libcanberra_alsa_la_LDFLAGS = \ - endif - endif - -+if HAVE_OSS -+if BUILTIN_OSS -+ -+libcanberra_la_SOURCES += \ -+ oss.c -+ -+else -+ -+plugin_LTLIBRARIES += \ -+ libcanberra-oss.la -+ -+libcanberra_oss_la_SOURCES = \ -+ oss.c -+libcanberra_oss_la_CFLAGS = \ -+ -Ddriver_open=oss_driver_open \ -+ -Ddriver_destroy=oss_driver_destroy \ -+ -Ddriver_change_device=oss_driver_change_device \ -+ -Ddriver_change_props=oss_driver_change_props \ -+ -Ddriver_play=oss_driver_play \ -+ -Ddriver_cancel=oss_driver_cancel \ -+ -Ddriver_cache=oss_driver_cache -+libcanberra_oss_la_LIBADD = \ -+ libcanberra.la -+libcanberra_oss_la_LDFLAGS = \ -+ -avoid-version -module -export-dynamic -+endif -+endif -+ - if HAVE_NULL - if BUILTIN_NULL - diff --git a/audio/libcanberra/files/patch-src_Makefile.in b/audio/libcanberra/files/patch-src_Makefile.in deleted file mode 100644 index 8223a42a4929..000000000000 --- a/audio/libcanberra/files/patch-src_Makefile.in +++ /dev/null @@ -1,225 +0,0 @@ ---- src/Makefile.in.orig 2008-08-09 15:27:46.000000000 -0400 -+++ src/Makefile.in 2008-08-09 15:28:08.000000000 -0400 -@@ -92,20 +92,26 @@ noinst_PROGRAMS = test-canberra$(EXEEXT) - @BUILTIN_ALSA_FALSE@@HAVE_ALSA_TRUE@am__append_12 = \ - @BUILTIN_ALSA_FALSE@@HAVE_ALSA_TRUE@ libcanberra-alsa.la - --@BUILTIN_NULL_TRUE@@HAVE_NULL_TRUE@am__append_13 = \ -+@BUILTIN_OSS_TRUE@@HAVE_OSS_TRUE@am__append_13 = \ -+@BUILTIN_OSS_TRUE@@HAVE_OSS_TRUE@ oss.c -+ -+@BUILTIN_OSS_FALSE@@HAVE_OSS_TRUE@am__append_14 = \ -+@BUILTIN_OSS_FALSE@@HAVE_OSS_TRUE@ libcanberra-oss.la -+ -+@BUILTIN_NULL_TRUE@@HAVE_NULL_TRUE@am__append_15 = \ - @BUILTIN_NULL_TRUE@@HAVE_NULL_TRUE@ null.c - --@BUILTIN_NULL_FALSE@@HAVE_NULL_TRUE@am__append_14 = \ -+@BUILTIN_NULL_FALSE@@HAVE_NULL_TRUE@am__append_16 = \ - @BUILTIN_NULL_FALSE@@HAVE_NULL_TRUE@ libcanberra-null.la - --@HAVE_GTK_TRUE@am__append_15 = \ -+@HAVE_GTK_TRUE@am__append_17 = \ - @HAVE_GTK_TRUE@ libcanberra-gtk.la - --@HAVE_GTK_TRUE@am__append_16 = \ -+@HAVE_GTK_TRUE@am__append_18 = \ - @HAVE_GTK_TRUE@ canberra-gtk.h - - @HAVE_GTK_TRUE@bin_PROGRAMS = canberra-gtk-play$(EXEEXT) --@HAVE_GTK_TRUE@am__append_17 = \ -+@HAVE_GTK_TRUE@am__append_19 = \ - @HAVE_GTK_TRUE@ libcanberra-login-sound.desktop.in \ - @HAVE_GTK_TRUE@ libcanberra-logout-sound.sh.in - -@@ -193,6 +199,18 @@ libcanberra_null_la_LINK = $(LIBTOOL) -- - $(libcanberra_null_la_LDFLAGS) $(LDFLAGS) -o $@ - @BUILTIN_NULL_FALSE@@HAVE_NULL_TRUE@am_libcanberra_null_la_rpath = \ - @BUILTIN_NULL_FALSE@@HAVE_NULL_TRUE@ -rpath $(plugindir) -+@BUILTIN_OSS_FALSE@@HAVE_OSS_TRUE@libcanberra_oss_la_DEPENDENCIES = \ -+@BUILTIN_OSS_FALSE@@HAVE_OSS_TRUE@ libcanberra.la -+am__libcanberra_oss_la_SOURCES_DIST = oss.c -+@BUILTIN_OSS_FALSE@@HAVE_OSS_TRUE@am_libcanberra_oss_la_OBJECTS = \ -+@BUILTIN_OSS_FALSE@@HAVE_OSS_TRUE@ libcanberra_oss_la-oss.lo -+libcanberra_oss_la_OBJECTS = $(am_libcanberra_oss_la_OBJECTS) -+libcanberra_oss_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ -+ $(LIBTOOLFLAGS) --mode=link $(CCLD) \ -+ $(libcanberra_oss_la_CFLAGS) $(CFLAGS) \ -+ $(libcanberra_oss_la_LDFLAGS) $(LDFLAGS) -o $@ -+@BUILTIN_OSS_FALSE@@HAVE_OSS_TRUE@am_libcanberra_oss_la_rpath = \ -+@BUILTIN_OSS_FALSE@@HAVE_OSS_TRUE@ -rpath $(plugindir) - @BUILTIN_PULSE_FALSE@@HAVE_PULSE_TRUE@libcanberra_pulse_la_DEPENDENCIES = \ - @BUILTIN_PULSE_FALSE@@HAVE_PULSE_TRUE@ $(am__DEPENDENCIES_1) \ - @BUILTIN_PULSE_FALSE@@HAVE_PULSE_TRUE@ libcanberra.la -@@ -218,14 +236,17 @@ am__libcanberra_la_SOURCES_DIST = canber - read-sound-file.c read-sound-file.h read-vorbis.c \ - read-vorbis.h read-wav.c read-wav.h sound-theme-spec.c \ - sound-theme-spec.h llist.h macro.h macro.c malloc.c malloc.h \ -- dso.c driver-order.c driver-order.h pulse.c alsa.c null.c -+ dso.c driver-order.c driver-order.h pulse.c alsa.c oss.c \ -+ null.c - @BUILTIN_DSO_TRUE@am__objects_1 = libcanberra_la-dso.lo \ - @BUILTIN_DSO_TRUE@ libcanberra_la-driver-order.lo - @BUILTIN_PULSE_TRUE@@HAVE_PULSE_TRUE@am__objects_2 = \ - @BUILTIN_PULSE_TRUE@@HAVE_PULSE_TRUE@ libcanberra_la-pulse.lo - @BUILTIN_ALSA_TRUE@@HAVE_ALSA_TRUE@am__objects_3 = \ - @BUILTIN_ALSA_TRUE@@HAVE_ALSA_TRUE@ libcanberra_la-alsa.lo --@BUILTIN_NULL_TRUE@@HAVE_NULL_TRUE@am__objects_4 = \ -+@BUILTIN_OSS_TRUE@@HAVE_OSS_TRUE@am__objects_4 = \ -+@BUILTIN_OSS_TRUE@@HAVE_OSS_TRUE@ libcanberra_la-oss.lo -+@BUILTIN_NULL_TRUE@@HAVE_NULL_TRUE@am__objects_5 = \ - @BUILTIN_NULL_TRUE@@HAVE_NULL_TRUE@ libcanberra_la-null.lo - am_libcanberra_la_OBJECTS = libcanberra_la-common.lo \ - libcanberra_la-mutex-posix.lo libcanberra_la-proplist.lo \ -@@ -233,7 +254,7 @@ am_libcanberra_la_OBJECTS = libcanberra_ - libcanberra_la-read-vorbis.lo libcanberra_la-read-wav.lo \ - libcanberra_la-sound-theme-spec.lo libcanberra_la-macro.lo \ - libcanberra_la-malloc.lo $(am__objects_1) $(am__objects_2) \ -- $(am__objects_3) $(am__objects_4) -+ $(am__objects_3) $(am__objects_4) $(am__objects_5) - libcanberra_la_OBJECTS = $(am_libcanberra_la_OBJECTS) - libcanberra_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ - $(LIBTOOLFLAGS) --mode=link $(CCLD) $(libcanberra_la_CFLAGS) \ -@@ -271,14 +292,15 @@ LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLF - SOURCES = $(libcanberra_alsa_la_SOURCES) \ - $(libcanberra_gtk_module_la_SOURCES) \ - $(libcanberra_gtk_la_SOURCES) $(libcanberra_multi_la_SOURCES) \ -- $(libcanberra_null_la_SOURCES) $(libcanberra_pulse_la_SOURCES) \ -- $(libcanberra_la_SOURCES) $(canberra_gtk_play_SOURCES) \ -- $(test_canberra_SOURCES) -+ $(libcanberra_null_la_SOURCES) $(libcanberra_oss_la_SOURCES) \ -+ $(libcanberra_pulse_la_SOURCES) $(libcanberra_la_SOURCES) \ -+ $(canberra_gtk_play_SOURCES) $(test_canberra_SOURCES) - DIST_SOURCES = $(am__libcanberra_alsa_la_SOURCES_DIST) \ - $(am__libcanberra_gtk_module_la_SOURCES_DIST) \ - $(am__libcanberra_gtk_la_SOURCES_DIST) \ - $(am__libcanberra_multi_la_SOURCES_DIST) \ - $(am__libcanberra_null_la_SOURCES_DIST) \ -+ $(am__libcanberra_oss_la_SOURCES_DIST) \ - $(am__libcanberra_pulse_la_SOURCES_DIST) \ - $(am__libcanberra_la_SOURCES_DIST) \ - $(am__canberra_gtk_play_SOURCES_DIST) $(test_canberra_SOURCES) -@@ -303,6 +325,7 @@ AWK = @AWK@ - BUILTIN_ALSA = @BUILTIN_ALSA@ - BUILTIN_DSO = @BUILTIN_DSO@ - BUILTIN_NULL = @BUILTIN_NULL@ -+BUILTIN_OSS = @BUILTIN_OSS@ - BUILTIN_PULSE = @BUILTIN_PULSE@ - CC = @CC@ - CCDEPMODE = @CCDEPMODE@ -@@ -335,6 +358,7 @@ HAVE_ALSA = @HAVE_ALSA@ - HAVE_DSO = @HAVE_DSO@ - HAVE_GTK = @HAVE_GTK@ - HAVE_NULL = @HAVE_NULL@ -+HAVE_OSS = @HAVE_OSS@ - HAVE_PULSE = @HAVE_PULSE@ - HTML_DIR = @HTML_DIR@ - INSTALL = @INSTALL@ -@@ -443,15 +467,16 @@ gnomeautostartdir = $(datadir)/gnome/aut - AM_CFLAGS = $(PTHREAD_CFLAGS) -DCA_PLUGIN_PATH=\"$(plugindir)\" - AM_CXXFLAGS = $(PTHREAD_CFLAGS) - AM_LDADD = $(PTHREAD_LIBS) --EXTRA_DIST = map-file $(am__append_17) --lib_LTLIBRARIES = libcanberra.la $(am__append_15) --include_HEADERS = canberra.h $(am__append_16) -+EXTRA_DIST = map-file $(am__append_19) -+lib_LTLIBRARIES = libcanberra.la $(am__append_17) -+include_HEADERS = canberra.h $(am__append_18) - libcanberra_la_SOURCES = canberra.h common.c common.h mutex-posix.c \ - mutex.h proplist.c proplist.h driver.h read-sound-file.c \ - read-sound-file.h read-vorbis.c read-vorbis.h read-wav.c \ - read-wav.h sound-theme-spec.c sound-theme-spec.h llist.h \ - macro.h macro.c malloc.c malloc.h $(am__append_1) \ -- $(am__append_5) $(am__append_9) $(am__append_13) -+ $(am__append_5) $(am__append_9) $(am__append_13) \ -+ $(am__append_15) - libcanberra_la_CFLAGS = $(AM_CFLAGS) $(VORBIS_CFLAGS) $(am__append_2) \ - $(am__append_6) $(am__append_10) - libcanberra_la_LIBADD = $(VORBIS_LIBS) $(am__append_3) $(am__append_7) \ -@@ -462,7 +487,7 @@ libcanberra_la_LDFLAGS = \ - -Wl,-version-script=$(srcdir)/map-file - - plugin_LTLIBRARIES = $(am__append_4) $(am__append_8) $(am__append_12) \ -- $(am__append_14) -+ $(am__append_14) $(am__append_16) - @BUILTIN_DSO_TRUE@libcanberra_multi_la_SOURCES = \ - @BUILTIN_DSO_TRUE@ multi.c - -@@ -521,6 +546,24 @@ plugin_LTLIBRARIES = $(am__append_4) $(a - @BUILTIN_ALSA_FALSE@@HAVE_ALSA_TRUE@libcanberra_alsa_la_LDFLAGS = \ - @BUILTIN_ALSA_FALSE@@HAVE_ALSA_TRUE@ -avoid-version -module -export-dynamic - -+@BUILTIN_OSS_FALSE@@HAVE_OSS_TRUE@libcanberra_oss_la_SOURCES = \ -+@BUILTIN_OSS_FALSE@@HAVE_OSS_TRUE@ oss.c -+ -+@BUILTIN_OSS_FALSE@@HAVE_OSS_TRUE@libcanberra_oss_la_CFLAGS = \ -+@BUILTIN_OSS_FALSE@@HAVE_OSS_TRUE@ -Ddriver_open=oss_driver_open \ -+@BUILTIN_OSS_FALSE@@HAVE_OSS_TRUE@ -Ddriver_destroy=oss_driver_destroy \ -+@BUILTIN_OSS_FALSE@@HAVE_OSS_TRUE@ -Ddriver_change_device=oss_driver_change_device \ -+@BUILTIN_OSS_FALSE@@HAVE_OSS_TRUE@ -Ddriver_change_props=oss_driver_change_props \ -+@BUILTIN_OSS_FALSE@@HAVE_OSS_TRUE@ -Ddriver_play=oss_driver_play \ -+@BUILTIN_OSS_FALSE@@HAVE_OSS_TRUE@ -Ddriver_cancel=oss_driver_cancel \ -+@BUILTIN_OSS_FALSE@@HAVE_OSS_TRUE@ -Ddriver_cache=oss_driver_cache -+ -+@BUILTIN_OSS_FALSE@@HAVE_OSS_TRUE@libcanberra_oss_la_LIBADD = \ -+@BUILTIN_OSS_FALSE@@HAVE_OSS_TRUE@ libcanberra.la -+ -+@BUILTIN_OSS_FALSE@@HAVE_OSS_TRUE@libcanberra_oss_la_LDFLAGS = \ -+@BUILTIN_OSS_FALSE@@HAVE_OSS_TRUE@ -avoid-version -module -export-dynamic -+ - @BUILTIN_NULL_FALSE@@HAVE_NULL_TRUE@libcanberra_null_la_SOURCES = \ - @BUILTIN_NULL_FALSE@@HAVE_NULL_TRUE@ null.c - -@@ -722,6 +765,8 @@ libcanberra-multi.la: $(libcanberra_mult - $(libcanberra_multi_la_LINK) $(am_libcanberra_multi_la_rpath) $(libcanberra_multi_la_OBJECTS) $(libcanberra_multi_la_LIBADD) $(LIBS) - libcanberra-null.la: $(libcanberra_null_la_OBJECTS) $(libcanberra_null_la_DEPENDENCIES) - $(libcanberra_null_la_LINK) $(am_libcanberra_null_la_rpath) $(libcanberra_null_la_OBJECTS) $(libcanberra_null_la_LIBADD) $(LIBS) -+libcanberra-oss.la: $(libcanberra_oss_la_OBJECTS) $(libcanberra_oss_la_DEPENDENCIES) -+ $(libcanberra_oss_la_LINK) $(am_libcanberra_oss_la_rpath) $(libcanberra_oss_la_OBJECTS) $(libcanberra_oss_la_LIBADD) $(LIBS) - libcanberra-pulse.la: $(libcanberra_pulse_la_OBJECTS) $(libcanberra_pulse_la_DEPENDENCIES) - $(libcanberra_pulse_la_LINK) $(am_libcanberra_pulse_la_rpath) $(libcanberra_pulse_la_OBJECTS) $(libcanberra_pulse_la_LIBADD) $(LIBS) - libcanberra.la: $(libcanberra_la_OBJECTS) $(libcanberra_la_DEPENDENCIES) -@@ -805,6 +850,7 @@ distclean-compile: - @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcanberra_la-malloc.Plo@am__quote@ - @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcanberra_la-mutex-posix.Plo@am__quote@ - @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcanberra_la-null.Plo@am__quote@ -+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcanberra_la-oss.Plo@am__quote@ - @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcanberra_la-proplist.Plo@am__quote@ - @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcanberra_la-pulse.Plo@am__quote@ - @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcanberra_la-read-sound-file.Plo@am__quote@ -@@ -813,6 +859,7 @@ distclean-compile: - @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcanberra_la-sound-theme-spec.Plo@am__quote@ - @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcanberra_multi_la-multi.Plo@am__quote@ - @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcanberra_null_la-null.Plo@am__quote@ -+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcanberra_oss_la-oss.Plo@am__quote@ - @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcanberra_pulse_la-pulse.Plo@am__quote@ - @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-canberra.Po@am__quote@ - -@@ -872,6 +919,13 @@ libcanberra_null_la-null.lo: null.c - @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcanberra_null_la_CFLAGS) $(CFLAGS) -c -o libcanberra_null_la-null.lo `test -f 'null.c' || echo '$(srcdir)/'`null.c - -+libcanberra_oss_la-oss.lo: oss.c -+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcanberra_oss_la_CFLAGS) $(CFLAGS) -MT libcanberra_oss_la-oss.lo -MD -MP -MF $(DEPDIR)/libcanberra_oss_la-oss.Tpo -c -o libcanberra_oss_la-oss.lo `test -f 'oss.c' || echo '$(srcdir)/'`oss.c -+@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcanberra_oss_la-oss.Tpo $(DEPDIR)/libcanberra_oss_la-oss.Plo -+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='oss.c' object='libcanberra_oss_la-oss.lo' libtool=yes @AMDEPBACKSLASH@ -+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcanberra_oss_la_CFLAGS) $(CFLAGS) -c -o libcanberra_oss_la-oss.lo `test -f 'oss.c' || echo '$(srcdir)/'`oss.c -+ - libcanberra_pulse_la-pulse.lo: pulse.c - @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcanberra_pulse_la_CFLAGS) $(CFLAGS) -MT libcanberra_pulse_la-pulse.lo -MD -MP -MF $(DEPDIR)/libcanberra_pulse_la-pulse.Tpo -c -o libcanberra_pulse_la-pulse.lo `test -f 'pulse.c' || echo '$(srcdir)/'`pulse.c - @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcanberra_pulse_la-pulse.Tpo $(DEPDIR)/libcanberra_pulse_la-pulse.Plo -@@ -970,6 +1024,13 @@ libcanberra_la-alsa.lo: alsa.c - @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcanberra_la_CFLAGS) $(CFLAGS) -c -o libcanberra_la-alsa.lo `test -f 'alsa.c' || echo '$(srcdir)/'`alsa.c - -+libcanberra_la-oss.lo: oss.c -+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcanberra_la_CFLAGS) $(CFLAGS) -MT libcanberra_la-oss.lo -MD -MP -MF $(DEPDIR)/libcanberra_la-oss.Tpo -c -o libcanberra_la-oss.lo `test -f 'oss.c' || echo '$(srcdir)/'`oss.c -+@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcanberra_la-oss.Tpo $(DEPDIR)/libcanberra_la-oss.Plo -+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='oss.c' object='libcanberra_la-oss.lo' libtool=yes @AMDEPBACKSLASH@ -+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcanberra_la_CFLAGS) $(CFLAGS) -c -o libcanberra_la-oss.lo `test -f 'oss.c' || echo '$(srcdir)/'`oss.c -+ - libcanberra_la-null.lo: null.c - @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcanberra_la_CFLAGS) $(CFLAGS) -MT libcanberra_la-null.lo -MD -MP -MF $(DEPDIR)/libcanberra_la-null.Tpo -c -o libcanberra_la-null.lo `test -f 'null.c' || echo '$(srcdir)/'`null.c - @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libcanberra_la-null.Tpo $(DEPDIR)/libcanberra_la-null.Plo diff --git a/audio/libcanberra/files/patch-src_driver-order.c b/audio/libcanberra/files/patch-src_driver-order.c deleted file mode 100644 index 35a0f474a886..000000000000 --- a/audio/libcanberra/files/patch-src_driver-order.c +++ /dev/null @@ -1,12 +0,0 @@ ---- src/driver-order.c.orig 2008-08-09 16:04:21.964956000 -0400 -+++ src/driver-order.c 2008-08-09 16:04:21.964956000 -0400 -@@ -34,6 +34,9 @@ const char* const ca_driver_order[] = { - #ifdef HAVE_ALSA - "alsa", - #endif -+#ifdef HAVE_OSS -+ "oss", -+#endif - /* ... */ - NULL - }; diff --git a/audio/libcanberra/files/patch-src_malloc.h b/audio/libcanberra/files/patch-src_malloc.h deleted file mode 100644 index 58efa3096a04..000000000000 --- a/audio/libcanberra/files/patch-src_malloc.h +++ /dev/null @@ -1,35 +0,0 @@ ---- src/malloc.h.orig 2008-06-10 10:42:46.000000000 -0400 -+++ src/malloc.h 2008-08-05 23:34:40.000000000 -0400 -@@ -31,6 +31,32 @@ - #define ca_free free - #define ca_malloc0(size) calloc(1, (size)) - #define ca_strdup strdup -+#ifdef __FreeBSD__ -+static inline char *strndup (const char *s, size_t n) -+{ -+ size_t nAvail; -+ char *p; -+ -+ if (!s) { -+ return NULL; -+ } -+ -+ if (memchr (s, '\0', n) != NULL) { -+ nAvail = strlen (s); -+ if (nAvail > n) -+ nAvail = n; -+ } else { -+ nAvail = n; -+ } -+ p = ca_malloc (nAvail + 1); -+ if (p == NULL) -+ return NULL; -+ memcpy (p, s, nAvail); -+ p[nAvail] = '\0'; -+ -+ return p; -+} -+#endif - #define ca_strndup strndup - - void* ca_memdup(const void* p, size_t size); diff --git a/audio/libcanberra/files/patch-src_oss.c b/audio/libcanberra/files/patch-src_oss.c index 8fee452883b7..ec8bdc3c4011 100644 --- a/audio/libcanberra/files/patch-src_oss.c +++ b/audio/libcanberra/files/patch-src_oss.c @@ -1,478 +1,28 @@ ---- src/oss.c.orig 2008-08-10 01:57:54.353155000 -0400 -+++ src/oss.c 2008-08-10 02:12:43.640204000 -0400 -@@ -0,0 +1,475 @@ -+/*** -+ This file is part of libcanberra. -+ -+ Copyright 2008 Joe Marcus Clarke -+ -+ libcanberra is free software; you can redistribute it and/or modify -+ it under the terms of the GNU Lesser General Public License as -+ published by the Free Software Foundation, either version 2.1 of the -+ License, or (at your option) any later version. -+ -+ libcanberra is distributed in the hope that it will be useful, but -+ WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -+ Lesser General Public License for more details. -+ -+ You should have received a copy of the GNU Lesser General Public -+ License along with libcanberra. If not, If not, see -+ <http://www.gnu.org/licenses/>. -+***/ -+ -+#ifdef HAVE_CONFIG_H -+#include <config.h> -+#endif -+ -+#include <sys/types.h> -+#include <sys/ioctl.h> -+#include <sys/uio.h> -+#include <unistd.h> -+ -+#ifdef HAVE_MACHINE_SOUNDCARD_H -+# include <machine/soundcard.h> -+#else -+# ifdef HAVE_SOUNDCARD_H -+# include <soundcard.h> -+# else -+# include <sys/soundcard.h> -+# endif -+#endif -+ -+#include <errno.h> -+#include <fcntl.h> -+#include <stdlib.h> -+#include <poll.h> -+#include <pthread.h> -+#include <semaphore.h> -+ -+#include "canberra.h" -+#include "common.h" -+#include "driver.h" -+#include "llist.h" -+#include "read-sound-file.h" -+#include "sound-theme-spec.h" -+#include "malloc.h" -+ -+struct private; -+ -+struct outstanding { -+ CA_LLIST_FIELDS(struct outstanding); -+ ca_bool_t dead; -+ uint32_t id; -+ ca_finish_callback_t callback; -+ void *userdata; -+ ca_sound_file *file; -+ int pcm; -+ int pipe_fd[2]; -+ ca_context *context; -+}; -+ -+struct private { -+ ca_theme_data *theme; -+ ca_mutex *outstanding_mutex; -+ ca_bool_t signal_semaphore; -+ sem_t semaphore; -+ ca_bool_t semaphore_allocated; -+ CA_LLIST_HEAD(struct outstanding, outstanding); -+}; -+ -+#define PRIVATE(c) ((struct private *) ((c)->private)) -+ -+static void outstanding_free(struct outstanding *o) { -+ ca_assert(o); -+ -+ if (o->pipe_fd[1] >= 0) -+ close(o->pipe_fd[1]); -+ -+ if (o->pipe_fd[0] >= 0) -+ close(o->pipe_fd[0]); -+ -+ if (o->file) -+ ca_sound_file_close(o->file); -+ -+ if (o->pcm > -1) { -+ close(o->pcm); -+ o->pcm = -1; -+ } -+ -+ ca_free(o); -+} -+ -+int driver_open(ca_context *c) { -+ struct private *p; -+ -+ ca_return_val_if_fail(c, CA_ERROR_INVALID); -+ ca_return_val_if_fail(!c->driver || ca_streq(c->driver, "oss"), CA_ERROR_NODRIVER); -+ ca_return_val_if_fail(!PRIVATE(c), CA_ERROR_STATE); -+ -+ if (!(c->private = p = ca_new0(struct private, 1))) -+ return CA_ERROR_OOM; -+ -+ if (!(p->outstanding_mutex = ca_mutex_new())) { -+ driver_destroy(c); -+ return CA_ERROR_OOM; -+ } -+ -+ if (sem_init(&p->semaphore, 0, 0) < 0) { -+ driver_destroy(c); -+ return CA_ERROR_OOM; -+ } -+ -+ p->semaphore_allocated = TRUE; -+ -+ return CA_SUCCESS; -+} -+ -+int driver_destroy(ca_context *c) { -+ struct private *p; -+ struct outstanding *out; -+ -+ ca_return_val_if_fail(c, CA_ERROR_INVALID); -+ ca_return_val_if_fail(c->private, CA_ERROR_STATE); -+ -+ p = PRIVATE(c); -+ -+ if (p->outstanding_mutex) { -+ ca_mutex_lock(p->outstanding_mutex); -+ -+ /* Tell all player threads to terminate */ -+ for (out = p->outstanding; out; out = out->next) { -+ -+ if (out->dead) -+ continue; -+ -+ out->dead = TRUE; -+ -+ if (out->callback) -+ out->callback(c, out->id, CA_ERROR_DESTROYED, out->userdata); -+ -+ /* This will cause the thread to wakeup and terminate */ -+ if (out->pipe_fd[1] >= 0) { -+ close(out->pipe_fd[1]); -+ out->pipe_fd[1] = -1; -+ } -+ } -+ -+ if (p->semaphore_allocated) { -+ /* Now wait until all players are destroyed */ -+ p->signal_semaphore = TRUE; -+ while (p->outstanding) { -+ ca_mutex_unlock(p->outstanding_mutex); -+ sem_wait(&p->semaphore); -+ ca_mutex_lock(p->outstanding_mutex); -+ } -+ } -+ -+ ca_mutex_unlock(p->outstanding_mutex); -+ ca_mutex_free(p->outstanding_mutex); -+ } -+ -+ if (p->theme) -+ ca_theme_data_free(p->theme); -+ -+ if (p->semaphore_allocated) -+ sem_destroy(&p->semaphore); -+ -+ ca_free(p); -+ -+ c->private = NULL; -+ -+ return CA_SUCCESS; -+} -+ -+int driver_change_device(ca_context *c, char *device) { -+ ca_return_val_if_fail(c, CA_ERROR_INVALID); -+ ca_return_val_if_fail(c->private, CA_ERROR_STATE); -+ -+ return CA_SUCCESS; -+} -+ -+int driver_change_props(ca_context *c, ca_proplist *changed, ca_proplist *merged) { -+ ca_return_val_if_fail(c, CA_ERROR_INVALID); -+ ca_return_val_if_fail(changed, CA_ERROR_INVALID); -+ ca_return_val_if_fail(merged, CA_ERROR_INVALID); -+ -+ return CA_SUCCESS; -+} -+ -+int driver_cache(ca_context *c, ca_proplist *proplist) { -+ ca_return_val_if_fail(c, CA_ERROR_INVALID); -+ ca_return_val_if_fail(proplist, CA_ERROR_INVALID); -+ -+ return CA_ERROR_NOTSUPPORTED; -+} -+ -+static int translate_error(int error) { -+ -+ switch (error) { -+ case ENODEV: -+ case ENOENT: -+ return CA_ERROR_NOTFOUND; -+ case EACCES: -+ case EPERM: -+ return CA_ERROR_ACCESS; -+ case ENOMEM: -+ return CA_ERROR_OOM; -+ case EBUSY: -+ return CA_ERROR_NOTAVAILABLE; -+ default: -+ if (ca_debug()) -+ fprintf(stderr, "Got unhandled error from OSS: %s\n", strerror(error)); -+ return CA_ERROR_IO; -+ } -+} -+ -+static int open_oss(ca_context *c, struct outstanding *out) { -+ struct private *p; -+ int mode; -+ int val; -+ int ret; -+ -+ ca_return_val_if_fail(c, CA_ERROR_INVALID); -+ ca_return_val_if_fail(c->private, CA_ERROR_STATE); -+ ca_return_val_if_fail(out, CA_ERROR_INVALID); -+ -+ p = PRIVATE(c); -+ -+ if ((out->pcm = open(c->device ? c->device : "/dev/dsp", O_WRONLY | O_NONBLOCK, 0)) < 0) -+ goto finish; -+ -+ mode = fcntl(out->pcm, F_GETFL); -+ mode &= ~O_NONBLOCK; -+ fcntl(out->pcm, F_SETFL, mode); -+ -+ switch (ca_sound_file_get_sample_type(out->file)) { -+ case CA_SAMPLE_U8: -+ val = AFMT_U8; -+ break; -+ case CA_SAMPLE_S16NE: -+ val = AFMT_S16_NE; -+ break; -+ case CA_SAMPLE_S16RE: +--- src/oss.c.orig 2008-09-01 19:53:47.000000000 -0400 ++++ src/oss.c 2008-12-21 13:51:09.000000000 -0500 +@@ -235,7 +235,7 @@ static int open_oss(ca_context *c, struc + ca_return_val_if_fail(c, CA_ERROR_INVALID); + ca_return_val_if_fail(c->private, CA_ERROR_STATE); + ca_return_val_if_fail(out, CA_ERROR_INVALID); +- ca_return_val_if_fail(ca_sound_file_get_nchannels(out->file) > 2, CA_ERROR_NOTSUPPORTED); ++ ca_return_val_if_fail(ca_sound_file_get_nchannels(out->file) <= 2, CA_ERROR_NOTSUPPORTED); + + p = PRIVATE(c); + +@@ -258,7 +258,7 @@ static int open_oss(ca_context *c, struc + val = AFMT_S16_NE; + break; + case CA_SAMPLE_S16RE: +-#if __BYTE_ORDER == __LITTLE_ENDIAN +#if _BYTE_ORDER == _LITTLE_ENDIAN -+ val = AFMT_S16_BE; -+#else -+ val = AFMT_S16_LE; -+#endif -+ break; -+ } -+ -+ if (ioctl(out->pcm, SNDCTL_DSP_SETFMT, &val) < 0) -+ goto finish; -+ -+ val = ca_sound_file_get_nchannels(out->file) > 1 ? 1 : 0; -+ if (ioctl(out->pcm, SNDCTL_DSP_STEREO, &val) < 0) -+ goto finish; -+ -+ val = ca_sound_file_get_rate(out->file); -+ if (ioctl(out->pcm, SNDCTL_DSP_SPEED, &val) < 0) -+ goto finish; -+ -+ return CA_SUCCESS; -+ -+finish: -+ -+ ret = errno; -+ close(out->pcm); + val = AFMT_S16_BE; + #else + val = AFMT_S16_LE; +@@ -423,6 +423,7 @@ int driver_play(ca_context *c, uint32_t + out->callback = cb; + out->userdata = userdata; + out->pipe_fd[0] = out->pipe_fd[1] = -1; + out->pcm = -1; -+ return translate_error(ret); -+} -+ -+#define BUFSIZE (4*1024) -+ -+static void* thread_func(void *userdata) { -+ struct outstanding *out = userdata; -+ int ret; -+ void *data, *d = NULL; -+ ssize_t bytes_written; -+ size_t fs, data_size; -+ size_t nbytes = 0; -+ struct pollfd *pfd = NULL; -+ nfds_t n_pfd; -+ struct private *p; -+ -+ p = PRIVATE(out->context); -+ -+ pthread_detach(pthread_self()); -+ -+ fs = ca_sound_file_frame_size(out->file); -+ data_size = (BUFSIZE/fs)*fs; -+ -+ if (!(data = ca_malloc(data_size))) { -+ ret = CA_ERROR_OOM; -+ goto finish; -+ } -+ -+ n_pfd = 2; -+ if (!(pfd = ca_new(struct pollfd, n_pfd))) { -+ ret = CA_ERROR_OOM; -+ goto finish; -+ } -+ -+ pfd[0].fd = out->pipe_fd[0]; -+ pfd[0].events = POLLIN; -+ pfd[0].revents = 0; -+ pfd[1].fd = out->pcm; -+ pfd[1].events = POLLOUT; -+ pfd[1].revents = 0; -+ -+ for (;;) { -+ if (out->dead) -+ break; -+ -+ if (poll(pfd, n_pfd, -1) < 0) { -+ ret = CA_ERROR_SYSTEM; -+ goto finish; -+ } -+ -+ /* We have been asked to shut down */ -+ if (pfd[0].revents) -+ break; -+ -+ if (nbytes <= 0) { -+ -+ nbytes = data_size; -+ -+ if ((ret = ca_sound_file_read_arbitrary(out->file, data, &nbytes)) < 0) -+ goto finish; -+ -+ d = data; -+ } -+ -+ if (nbytes <= 0) { -+ break; -+ } -+ -+ if ((bytes_written = write(out->pcm, d, nbytes)) <= 0) { -+ ret = errno; -+ goto finish; -+ -+ } -+ -+ nbytes -= bytes_written; -+ d = (uint8_t*) d + bytes_written; -+ } -+ -+ ret = CA_SUCCESS; -+ -+finish: -+ -+ ca_free(data); -+ ca_free(pfd); -+ -+ if (!out->dead) -+ if (out->callback) -+ out->callback(out->context, out->id, ret, out->userdata); -+ -+ ca_mutex_lock(p->outstanding_mutex); -+ -+ CA_LLIST_REMOVE(struct outstanding, p->outstanding, out); -+ -+ if (!p->outstanding && p->signal_semaphore) -+ sem_post(&p->semaphore); -+ -+ outstanding_free(out); -+ -+ ca_mutex_unlock(p->outstanding_mutex); -+ -+ return NULL; -+} -+ -+int driver_play(ca_context *c, uint32_t id, ca_proplist *proplist, ca_finish_callback_t cb, void *userdata) { -+ struct private *p; -+ struct outstanding *out = NULL; -+ int ret; -+ pthread_t thread; -+ -+ ca_return_val_if_fail(c, CA_ERROR_INVALID); -+ ca_return_val_if_fail(proplist, CA_ERROR_INVALID); -+ ca_return_val_if_fail(!userdata || cb, CA_ERROR_INVALID); -+ ca_return_val_if_fail(c->private, CA_ERROR_STATE); -+ -+ p = PRIVATE(c); -+ -+ if (!(out = ca_new0(struct outstanding, 1))) { -+ ret = CA_ERROR_OOM; -+ goto finish; -+ } -+ -+ out->context = c; -+ out->id = id; -+ out->callback = cb; -+ out->userdata = userdata; -+ out->pipe_fd[0] = out->pipe_fd[1] = -1; -+ -+ if (pipe(out->pipe_fd) < 0) { -+ ret = CA_ERROR_SYSTEM; -+ goto finish; -+ } -+ -+ if ((ret = ca_lookup_sound(&out->file, &p->theme, c->props, proplist)) < 0) -+ goto finish; -+ -+ if ((ret = open_oss(c, out)) < 0) -+ goto finish; -+ -+ /* OK, we're ready to go, so let's add this to our list */ -+ ca_mutex_lock(p->outstanding_mutex); -+ CA_LLIST_PREPEND(struct outstanding, p->outstanding, out); -+ ca_mutex_unlock(p->outstanding_mutex); -+ -+ if (pthread_create(&thread, NULL, thread_func, out) < 0) { -+ ret = CA_ERROR_OOM; -+ -+ ca_mutex_lock(p->outstanding_mutex); -+ CA_LLIST_REMOVE(struct outstanding, p->outstanding, out); -+ ca_mutex_unlock(p->outstanding_mutex); -+ -+ goto finish; -+ } -+ -+ ret = CA_SUCCESS; -+ -+finish: -+ -+ /* We keep the outstanding struct around if we need clean up later to */ -+ if (ret != CA_SUCCESS) -+ outstanding_free(out); -+ -+ return ret; -+} -+ -+int driver_cancel(ca_context *c, uint32_t id) { -+ struct private *p; -+ struct outstanding *out; -+ -+ ca_return_val_if_fail(c, CA_ERROR_INVALID); -+ ca_return_val_if_fail(c->private, CA_ERROR_STATE); -+ -+ p = PRIVATE(c); -+ -+ ca_mutex_lock(p->outstanding_mutex); -+ -+ for (out = p->outstanding; out; out = out->next) { -+ -+ if (out->id != id) -+ continue; -+ -+ if (out->dead) -+ continue; -+ -+ out->dead = TRUE; -+ -+ if (out->callback) -+ out->callback(c, out->id, CA_ERROR_CANCELED, out->userdata); -+ -+ /* This will cause the thread to wakeup and terminate */ -+ if (out->pipe_fd[1] >= 0) { -+ close(out->pipe_fd[1]); -+ out->pipe_fd[1] = -1; -+ } -+ } -+ -+ ca_mutex_unlock(p->outstanding_mutex); -+ -+ return CA_SUCCESS; -+} + + if (pipe(out->pipe_fd) < 0) { + ret = CA_ERROR_SYSTEM; diff --git a/audio/libcanberra/pkg-descr b/audio/libcanberra/pkg-descr index 7678d1df6686..bd46b142e00f 100644 --- a/audio/libcanberra/pkg-descr +++ b/audio/libcanberra/pkg-descr @@ -1,2 +1,4 @@ Libcanberra is an implementation of the Freedesktop Sound Theme specification. It allows developers to play sounds given a list of events. + +WWW: http://0pointer.de/lennart/projects/libcanberra/ diff --git a/audio/libcanberra/pkg-plist b/audio/libcanberra/pkg-plist index 8a2a4703e878..816a75992ec4 100644 --- a/audio/libcanberra/pkg-plist +++ b/audio/libcanberra/pkg-plist @@ -12,20 +12,24 @@ lib/libcanberra.a lib/libcanberra.la lib/libcanberra.so lib/libcanberra.so.0 +%%GSTREAMER%%lib/libcanberra/libcanberra-gstreamer.a +%%GSTREAMER%%lib/libcanberra/libcanberra-gstreamer.la +%%GSTREAMER%%lib/libcanberra/libcanberra-gstreamer.so lib/libcanberra/libcanberra-multi.a lib/libcanberra/libcanberra-multi.la lib/libcanberra/libcanberra-multi.so lib/libcanberra/libcanberra-null.a lib/libcanberra/libcanberra-null.la lib/libcanberra/libcanberra-null.so -%%OSS%%lib/libcanberra/libcanberra-oss.a -%%OSS%%lib/libcanberra/libcanberra-oss.la -%%OSS%%lib/libcanberra/libcanberra-oss.so +lib/libcanberra/libcanberra-oss.a +lib/libcanberra/libcanberra-oss.la +lib/libcanberra/libcanberra-oss.so %%PULSE%%lib/libcanberra/libcanberra-pulse.a %%PULSE%%lib/libcanberra/libcanberra-pulse.la %%PULSE%%lib/libcanberra/libcanberra-pulse.so libdata/pkgconfig/libcanberra-gtk.pc libdata/pkgconfig/libcanberra.pc +%%DOCSDIR%%/README %%DOCSDIR%%/ch01.html %%DOCSDIR%%/home.png %%DOCSDIR%%/index.html diff --git a/audio/rhythmbox-devel/Makefile b/audio/rhythmbox-devel/Makefile index 118be6773970..50cc486470de 100644 --- a/audio/rhythmbox-devel/Makefile +++ b/audio/rhythmbox-devel/Makefile @@ -3,7 +3,7 @@ # Whom: Joe Marcus Clarke <marcus@FreeBSD.org> # # $FreeBSD$ -# $MCom: ports-stable/audio/rhythmbox-devel/Makefile,v 1.2 2009/01/09 23:41:21 mezz Exp $ +# $MCom: ports/audio/rhythmbox-devel/Makefile,v 1.98 2008/08/24 22:26:21 marcus Exp $ # PORTNAME= rhythmbox @@ -19,7 +19,7 @@ COMMENT= Audio player for GNOME LIB_DEPENDS= musicbrainz.4:${PORTSDIR}/audio/libmusicbrainz \ id3tag.0:${PORTSDIR}/audio/libid3tag \ - totem-plparser.10:${PORTSDIR}/multimedia/totem-pl-parser \ + totem-plparser.12:${PORTSDIR}/multimedia/totem-pl-parser \ dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib \ sexy.2:${PORTSDIR}/x11-toolkits/libsexy \ soup-2.4.1:${PORTSDIR}/devel/libsoup \ diff --git a/audio/rhythmbox/Makefile b/audio/rhythmbox/Makefile index f1e4ef5dfc43..c3d9130320e4 100644 --- a/audio/rhythmbox/Makefile +++ b/audio/rhythmbox/Makefile @@ -3,12 +3,12 @@ # Whom: Joe Marcus Clarke <marcus@FreeBSD.org> # # $FreeBSD$ -# $MCom: ports/audio/rhythmbox/Makefile,v 1.88 2008/01/29 01:37:44 marcus Exp $ +# $MCom: ports/audio/rhythmbox/Makefile,v 1.93 2009/01/10 01:59:21 mezz Exp $ # PORTNAME= rhythmbox PORTVERSION= 0.10.1 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= audio gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.10 @@ -19,7 +19,7 @@ COMMENT= Audio player for GNOME LIB_DEPENDS= musicbrainz.4:${PORTSDIR}/audio/libmusicbrainz \ id3tag.0:${PORTSDIR}/audio/libid3tag \ - totem-plparser.10:${PORTSDIR}/multimedia/totem-pl-parser \ + totem-plparser.12:${PORTSDIR}/multimedia/totem-pl-parser \ dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib \ sexy.2:${PORTSDIR}/x11-toolkits/libsexy \ soup-2.2.8:${PORTSDIR}/devel/libsoup22 \ diff --git a/audio/rhythmbox/files/patch-shell_Makefile.in b/audio/rhythmbox/files/patch-shell_Makefile.in new file mode 100644 index 000000000000..970fee8a0c47 --- /dev/null +++ b/audio/rhythmbox/files/patch-shell_Makefile.in @@ -0,0 +1,10 @@ +--- shell/Makefile.in.orig 2008-06-07 13:56:05.000000000 -0400 ++++ shell/Makefile.in 2008-06-07 13:56:26.000000000 -0400 +@@ -351,6 +351,7 @@ INCLUDES = \ + $(WARN_CFLAGS) \ + $(GDA_CFLAGS) \ + $(RHYTHMBOX_CFLAGS) \ ++ $(SOUP_CFLAGS) \ + $(TOTEM_PLPARSER_CFLAGS) \ + $(DBUS_CFLAGS) \ + $(LIBNAUTILUS_BURN_CFLAGS) \ diff --git a/audio/sound-juicer/Makefile b/audio/sound-juicer/Makefile index 91068b542b5e..7357c84bc04d 100644 --- a/audio/sound-juicer/Makefile +++ b/audio/sound-juicer/Makefile @@ -3,12 +3,11 @@ # Whom: Alexander Nedotsukov <bland@FreeBSD.org> # # $FreeBSD$ -# $MCom: ports/audio/sound-juicer/Makefile,v 1.79 2008/03/10 20:39:31 mezz Exp $ +# $MCom: ports/audio/sound-juicer/Makefile,v 1.87 2008/09/21 06:37:08 kwm Exp $ # PORTNAME= sound-juicer -PORTVERSION= 2.22.0 -PORTREVISION= 4 +PORTVERSION= 2.24.0 CATEGORIES= audio gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome2 @@ -40,6 +39,7 @@ GCONF_SCHEMAS= sound-juicer.schemas post-patch: @${REINPLACE_CMD} -e 's|^\(SUBDIRS = .*\)tests\(.*\)|\1\2|' \ ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -e 's|" == "|" = "|g' ${WRKSRC}/configure post-install: @-update-desktop-database diff --git a/audio/sound-juicer/distinfo b/audio/sound-juicer/distinfo index cd51269a0247..29caaed87dae 100644 --- a/audio/sound-juicer/distinfo +++ b/audio/sound-juicer/distinfo @@ -1,3 +1,3 @@ -MD5 (gnome2/sound-juicer-2.22.0.tar.bz2) = 20f83a28915b7d7029198396258d1b4f -SHA256 (gnome2/sound-juicer-2.22.0.tar.bz2) = cabd3c44a3354edab4f9e112b1cc90c23ef05000bd643596a826ce5d0cfc2551 -SIZE (gnome2/sound-juicer-2.22.0.tar.bz2) = 1748273 +MD5 (gnome2/sound-juicer-2.24.0.tar.bz2) = 504979aadec8df1e59c1050bc968b2aa +SHA256 (gnome2/sound-juicer-2.24.0.tar.bz2) = 66a6573465c5458daf7802a0aea729af68a2b87a2833ad1798797b6d69e8af5f +SIZE (gnome2/sound-juicer-2.24.0.tar.bz2) = 1834986 diff --git a/audio/sound-juicer/pkg-plist b/audio/sound-juicer/pkg-plist index d530d0daa54a..be4170553fed 100644 --- a/audio/sound-juicer/pkg-plist +++ b/audio/sound-juicer/pkg-plist @@ -1,66 +1,57 @@ bin/sound-juicer share/applications/sound-juicer.desktop -share/gnome/help/sound-juicer/C/fdl-appendix.xml share/gnome/help/sound-juicer/C/figures/prefs.png share/gnome/help/sound-juicer/C/figures/startup.png share/gnome/help/sound-juicer/C/legal.xml share/gnome/help/sound-juicer/C/sound-juicer.xml -share/gnome/help/sound-juicer/de/fdl-appendix.xml +share/gnome/help/sound-juicer/ca/figures/prefs.png +share/gnome/help/sound-juicer/ca/figures/startup.png +share/gnome/help/sound-juicer/ca/legal.xml +share/gnome/help/sound-juicer/ca/sound-juicer.xml share/gnome/help/sound-juicer/de/figures/prefs.png share/gnome/help/sound-juicer/de/figures/startup.png share/gnome/help/sound-juicer/de/legal.xml share/gnome/help/sound-juicer/de/sound-juicer.xml -share/gnome/help/sound-juicer/el/fdl-appendix.xml share/gnome/help/sound-juicer/el/figures/prefs.png share/gnome/help/sound-juicer/el/figures/startup.png share/gnome/help/sound-juicer/el/legal.xml share/gnome/help/sound-juicer/el/sound-juicer.xml -share/gnome/help/sound-juicer/en_GB/fdl-appendix.xml share/gnome/help/sound-juicer/en_GB/figures/prefs.png share/gnome/help/sound-juicer/en_GB/figures/startup.png share/gnome/help/sound-juicer/en_GB/legal.xml share/gnome/help/sound-juicer/en_GB/sound-juicer.xml -share/gnome/help/sound-juicer/es/fdl-appendix.xml share/gnome/help/sound-juicer/es/figures/prefs.png share/gnome/help/sound-juicer/es/figures/startup.png share/gnome/help/sound-juicer/es/legal.xml share/gnome/help/sound-juicer/es/sound-juicer.xml -share/gnome/help/sound-juicer/fr/fdl-appendix.xml share/gnome/help/sound-juicer/fr/figures/prefs.png share/gnome/help/sound-juicer/fr/figures/startup.png share/gnome/help/sound-juicer/fr/legal.xml share/gnome/help/sound-juicer/fr/sound-juicer.xml -share/gnome/help/sound-juicer/nl/fdl-appendix.xml share/gnome/help/sound-juicer/nl/figures/prefs.png share/gnome/help/sound-juicer/nl/figures/startup.png share/gnome/help/sound-juicer/nl/legal.xml share/gnome/help/sound-juicer/nl/sound-juicer.xml -share/gnome/help/sound-juicer/oc/fdl-appendix.xml share/gnome/help/sound-juicer/oc/figures/prefs.png share/gnome/help/sound-juicer/oc/figures/startup.png share/gnome/help/sound-juicer/oc/legal.xml share/gnome/help/sound-juicer/oc/sound-juicer.xml -share/gnome/help/sound-juicer/pl/fdl-appendix.xml share/gnome/help/sound-juicer/pl/figures/prefs.png share/gnome/help/sound-juicer/pl/figures/startup.png share/gnome/help/sound-juicer/pl/legal.xml share/gnome/help/sound-juicer/pl/sound-juicer.xml -share/gnome/help/sound-juicer/pt_BR/fdl-appendix.xml share/gnome/help/sound-juicer/pt_BR/figures/prefs.png share/gnome/help/sound-juicer/pt_BR/figures/startup.png share/gnome/help/sound-juicer/pt_BR/legal.xml share/gnome/help/sound-juicer/pt_BR/sound-juicer.xml -share/gnome/help/sound-juicer/ru/fdl-appendix.xml share/gnome/help/sound-juicer/ru/figures/prefs.png share/gnome/help/sound-juicer/ru/figures/startup.png share/gnome/help/sound-juicer/ru/legal.xml share/gnome/help/sound-juicer/ru/sound-juicer.xml -share/gnome/help/sound-juicer/sv/fdl-appendix.xml share/gnome/help/sound-juicer/sv/figures/prefs.png share/gnome/help/sound-juicer/sv/figures/startup.png share/gnome/help/sound-juicer/sv/legal.xml share/gnome/help/sound-juicer/sv/sound-juicer.xml -share/gnome/help/sound-juicer/uk/fdl-appendix.xml share/gnome/help/sound-juicer/uk/figures/prefs.png share/gnome/help/sound-juicer/uk/figures/startup.png share/gnome/help/sound-juicer/uk/legal.xml @@ -132,7 +123,7 @@ share/locale/sk/LC_MESSAGES/sound-juicer.mo share/locale/sl/LC_MESSAGES/sound-juicer.mo share/locale/sq/LC_MESSAGES/sound-juicer.mo share/locale/sr/LC_MESSAGES/sound-juicer.mo -share/locale/sr@Latn/LC_MESSAGES/sound-juicer.mo +share/locale/sr@latin/LC_MESSAGES/sound-juicer.mo share/locale/sv/LC_MESSAGES/sound-juicer.mo share/locale/ta/LC_MESSAGES/sound-juicer.mo share/locale/te/LC_MESSAGES/sound-juicer.mo @@ -146,6 +137,7 @@ share/locale/zh_CN/LC_MESSAGES/sound-juicer.mo share/locale/zh_HK/LC_MESSAGES/sound-juicer.mo share/locale/zh_TW/LC_MESSAGES/sound-juicer.mo share/omf/sound-juicer/sound-juicer-C.omf +share/omf/sound-juicer/sound-juicer-ca.omf share/omf/sound-juicer/sound-juicer-de.omf share/omf/sound-juicer/sound-juicer-el.omf share/omf/sound-juicer/sound-juicer-en_GB.omf @@ -185,6 +177,8 @@ share/omf/sound-juicer/sound-juicer-uk.omf @dirrm share/gnome/help/sound-juicer/el @dirrm share/gnome/help/sound-juicer/de/figures @dirrm share/gnome/help/sound-juicer/de +@dirrm share/gnome/help/sound-juicer/ca/figures +@dirrm share/gnome/help/sound-juicer/ca @dirrm share/gnome/help/sound-juicer/C/figures @dirrm share/gnome/help/sound-juicer/C @dirrm share/gnome/help/sound-juicer @@ -199,6 +193,8 @@ share/omf/sound-juicer/sound-juicer-uk.omf @dirrmtry share/locale/ug @dirrmtry share/locale/te/LC_MESSAGES @dirrmtry share/locale/te +@dirrmtry share/locale/sr@latin/LC_MESSAGES +@dirrmtry share/locale/sr@latin @dirrmtry share/locale/si/LC_MESSAGES @dirrmtry share/locale/si @dirrmtry share/locale/rw/LC_MESSAGES |