aboutsummaryrefslogtreecommitdiff
path: root/audio/gnome-media
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2005-03-20 09:48:45 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2005-03-20 09:48:45 +0000
commit55cac619d17c3640c4d09c7db60f4097104f32bd (patch)
tree00d5a6f46599ace28661ed95004a183a22a817a3 /audio/gnome-media
parent2e7e4accfca780b752428900e1286983d3dc1f62 (diff)
downloadports-55cac619d17c3640c4d09c7db60f4097104f32bd.tar.gz
ports-55cac619d17c3640c4d09c7db60f4097104f32bd.zip
Notes
Diffstat (limited to 'audio/gnome-media')
-rw-r--r--audio/gnome-media/Makefile2
-rw-r--r--audio/gnome-media/files/patch-gnome-cd_Makefile.in30
-rw-r--r--audio/gnome-media/files/patch-gnome-cd_gst-cdparanoia-cdrom.c25
3 files changed, 22 insertions, 35 deletions
diff --git a/audio/gnome-media/Makefile b/audio/gnome-media/Makefile
index ff31e07e5ee3..eca86ed46727 100644
--- a/audio/gnome-media/Makefile
+++ b/audio/gnome-media/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gnomemedia2
PORTVERSION= 2.10.0
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= audio gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/gnome-media/2.10
diff --git a/audio/gnome-media/files/patch-gnome-cd_Makefile.in b/audio/gnome-media/files/patch-gnome-cd_Makefile.in
deleted file mode 100644
index b534f8fec923..000000000000
--- a/audio/gnome-media/files/patch-gnome-cd_Makefile.in
+++ /dev/null
@@ -1,30 +0,0 @@
---- gnome-cd/Makefile.in.orig Sat Mar 12 02:52:17 2005
-+++ gnome-cd/Makefile.in Sat Mar 12 03:03:20 2005
-@@ -282,8 +282,8 @@
- libgnomemedia_cddbslave2_la_SOURCES = $(IDL_GENERATED)
- @CDROM_HOST_SOLARIS_TRUE@@HAVE_GSTREAMER_FALSE@cd_sources = solaris-cdrom.c solaris-cdrom.h
-
--@HAVE_GSTREAMER_TRUE@cd_sources = gst-cdparanoia-cdrom.c
--@CDROM_HOST_BSD_TRUE@@HAVE_GSTREAMER_FALSE@cd_sources = bsd-cdrom.c bsd-cdrom.h
-+#@HAVE_GSTREAMER_TRUE@cd_sources = gst-cdparanoia-cdrom.c
-+@CDROM_HOST_BSD_TRUE@cd_sources = bsd-cdrom.c bsd-cdrom.h
- @CDROM_HOST_LINUX_TRUE@@HAVE_GSTREAMER_FALSE@cd_sources = linux-cdrom.c linux-cdrom.h
-
- bin_PROGRAMS = gnome-cd
-@@ -352,13 +352,13 @@
- solaris-cdrom.h gst-cdparanoia-cdrom.c bsd-cdrom.c bsd-cdrom.h \
- linux-cdrom.c linux-cdrom.h preferences.c preferences.h \
- cd-selection.c cd-selection.h theme.c
--@CDROM_HOST_BSD_TRUE@@HAVE_GSTREAMER_FALSE@am__objects_2 = \
--@CDROM_HOST_BSD_TRUE@@HAVE_GSTREAMER_FALSE@ bsd-cdrom.$(OBJEXT)
-+@CDROM_HOST_BSD_TRUE@am__objects_2 = \
-+@CDROM_HOST_BSD_TRUE@ bsd-cdrom.$(OBJEXT)
- @CDROM_HOST_LINUX_TRUE@@HAVE_GSTREAMER_FALSE@am__objects_2 = \
- @CDROM_HOST_LINUX_TRUE@@HAVE_GSTREAMER_FALSE@ linux-cdrom.$(OBJEXT)
- @CDROM_HOST_SOLARIS_TRUE@@HAVE_GSTREAMER_FALSE@am__objects_2 = \
- @CDROM_HOST_SOLARIS_TRUE@@HAVE_GSTREAMER_FALSE@ solaris-cdrom.$(OBJEXT)
--@HAVE_GSTREAMER_TRUE@am__objects_2 = gst-cdparanoia-cdrom.$(OBJEXT)
-+#@HAVE_GSTREAMER_TRUE@am__objects_2 = gst-cdparanoia-cdrom.$(OBJEXT)
- am_gnome_cd_OBJECTS = eggtrayicon.$(OBJEXT) gnome-cd.$(OBJEXT) \
- callbacks.$(OBJEXT) cddb.$(OBJEXT) cdrom.$(OBJEXT) \
- display.$(OBJEXT) $(am__objects_2) preferences.$(OBJEXT) \
diff --git a/audio/gnome-media/files/patch-gnome-cd_gst-cdparanoia-cdrom.c b/audio/gnome-media/files/patch-gnome-cd_gst-cdparanoia-cdrom.c
index 4942519dde40..2e153baaae6a 100644
--- a/audio/gnome-media/files/patch-gnome-cd_gst-cdparanoia-cdrom.c
+++ b/audio/gnome-media/files/patch-gnome-cd_gst-cdparanoia-cdrom.c
@@ -1,6 +1,23 @@
---- gnome-cd/gst-cdparanoia-cdrom.c.orig Sat Mar 12 00:09:14 2005
-+++ gnome-cd/gst-cdparanoia-cdrom.c Sat Mar 12 00:19:15 2005
-@@ -1443,15 +1443,18 @@
+--- gnome-cd/gst-cdparanoia-cdrom.c.orig Mon Feb 7 12:39:31 2005
++++ gnome-cd/gst-cdparanoia-cdrom.c Sun Mar 20 04:42:32 2005
+@@ -1213,6 +1213,16 @@
+ *status = NULL;
+ return FALSE;
+ }
++#else
++ if (ioctl (cdrom->fd, CDIOREADTOCHEADER, priv->tochdr) < 0) {
++ realstatus->cd = GNOME_CDROM_STATUS_NO_DISC;
++ realstatus->audio = GNOME_CDROM_AUDIO_NOTHING;
++ realstatus->track = -1;
++
++ gst_cdparanoia_cdrom_close (lcd);
++ return TRUE;
++ }
++ realstatus->cd = GNOME_CDROM_STATUS_OK;
+ #endif
+
+ /* Get the volume */
+@@ -1443,15 +1453,18 @@
return FALSE;
}
@@ -22,7 +39,7 @@
if (ioctl (fd, CDIOCGETVOL, 0) < 0) {
#else
if (ioctl (fd, CDROM_GET_CAPABILITY, 0) < 0) {
-@@ -1463,6 +1466,7 @@
+@@ -1463,6 +1476,7 @@
}
close (fd);