FreeBSD Bugzilla – Attachment 47561 Details for
Bug 72841
[PATCH] multimedia/totem: update to 0.99.19
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
totem-0.99.19.patch
totem-0.99.19.patch (text/plain), 5.99 KB, created by
Michael Johnson
on 2004-10-18 21:00:39 UTC
(
hide
)
Description:
totem-0.99.19.patch
Filename:
MIME Type:
Creator:
Michael Johnson
Created:
2004-10-18 21:00:39 UTC
Size:
5.99 KB
patch
obsolete
>diff -ruN --exclude=CVS /usr/ports/multimedia/totem.orig/Makefile /usr/ports/multimedia/totem/Makefile >--- /usr/ports/multimedia/totem.orig/Makefile Mon Oct 18 14:11:12 2004 >+++ /usr/ports/multimedia/totem/Makefile Mon Oct 18 14:27:05 2004 >@@ -6,15 +6,17 @@ > # > > PORTNAME= totem >-PORTVERSION= 0.99.15.1 >+PORTVERSION= 0.99.19 > CATEGORIES= multimedia gnome > MASTER_SITES= ${MASTER_SITE_GNOME} >-MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/.....$//} >+MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/...$//} > DIST_SUBDIR= gnome2 > > MAINTAINER= hendrik@scholz.net > COMMENT= A Xine-based video player for the Gnome 2 Desktop > >+LIB_DEPENDS= nautilus-burn.0:${PORTSDIR}/sysutils/nautilus-cd-burner >+ > USE_REINPLACE= yes > USE_BZIP2= yes > USE_X_PREFIX= yes >@@ -53,7 +55,6 @@ > .endif > .endif > >-.if defined(WITH_GSTREAMER_OVERRIDE) > .if defined(WITH_DVD_DEVICE) > DEFAULT_DVD_DEVICE=${WITH_DVD_DEVICE} > .else >@@ -63,24 +64,20 @@ > DEFAULT_DVD_DEVICE=/dev/acd0 > .endif > .endif >-.endif > > pre-everything:: > @${ECHO_MSG} "===> The default CDROM device is ${DEFAULT_CDROM_DEVICE}" > @${ECHO_MSG} "===> Define WITH_CDROM_DEVICE if you want to change the default" > @${ECHO_MSG} "===> For example, 'make WITH_CDROM_DEVICE=\"/dev/somedevice\"'" > @${ECHO_MSG} "===>" >-.if defined(WITH_GSTREAMER_OVERRIDE) > @${ECHO_MSG} "===> The default DVD device is ${DEFAULT_DVD_DEVICE}" > @${ECHO_MSG} "===> Define WITH_DVD_DEVICE if you want to change the default" > @${ECHO_MSG} "===> For example, 'make WITH_DVD_DEVICE=\"/dev/somedevice\"'" >-.endif > > post-patch: > @${REINPLACE_CMD} -e 's|/dev/cdrom|${DEFAULT_CDROM_DEVICE}|' \ >- ${WRKSRC}/src/cd-drive.c \ > ${WRKSRC}/src/totem-preferences.c \ >- ${WRKSRC}/src/bacon-cd-selection.c >+ ${WRKSRC}/src/bacon-video-widget-gst.c > .if defined(WITH_GSTREAMER_OVERRIDE) > @${REINPLACE_CMD} -e 's|/dev/dvd|${DEFAULT_DVD_DEVICE}|' \ > ${WRKSRC}/src/bacon-video-widget-gst.c >diff -ruN --exclude=CVS /usr/ports/multimedia/totem.orig/distinfo /usr/ports/multimedia/totem/distinfo >--- /usr/ports/multimedia/totem.orig/distinfo Mon Oct 18 14:11:12 2004 >+++ /usr/ports/multimedia/totem/distinfo Mon Oct 18 12:49:35 2004 >@@ -1,2 +1,2 @@ >-MD5 (gnome2/totem-0.99.15.1.tar.bz2) = c5db3ea18fc66afce61e959c255706c7 >-SIZE (gnome2/totem-0.99.15.1.tar.bz2) = 1025252 >+MD5 (gnome2/totem-0.99.19.tar.bz2) = e2d8c6cd39b0843d51d357cc3921873a >+SIZE (gnome2/totem-0.99.19.tar.bz2) = 1062379 >diff -ruN --exclude=CVS /usr/ports/multimedia/totem.orig/files/patch-src_totem-disc.c /usr/ports/multimedia/totem/files/patch-src_totem-disc.c >--- /usr/ports/multimedia/totem.orig/files/patch-src_totem-disc.c Wed Dec 31 19:00:00 1969 >+++ /usr/ports/multimedia/totem/files/patch-src_totem-disc.c Mon Oct 18 14:16:57 2004 >@@ -0,0 +1,49 @@ >+--- src/totem-disc.c.orig Mon Oct 18 14:00:05 2004 >++++ src/totem-disc.c Mon Oct 18 14:00:14 2004 >+@@ -26,12 +26,34 @@ >+ #include <stdlib.h> >+ #include <unistd.h> >+ #include <errno.h> >+-#include <mntent.h> >+ #include <string.h> >+ >+ #include <sys/ioctl.h> >+ #include <sys/stat.h> >++ >++#ifdef __FreeBSD__ >++#include <sys/cdio.h> >++#include <sys/disklabel.h> >++ >++#define CDROM_DRIVE_STATUS 0x5326 >++#define CDROM_DISC_STATUS 0x5327 >++#define CDS_AUDIO 100 >++#define CDS_MIXED 105 >++#define CDS_DATA_1 101 >++#define CDS_DATA_2 102 >++#define CDS_NO_INFO 0 /* if not implemented */ >++#define CDS_NO_DISC 1 >++#define CDS_TRAY_OPEN 2 >++#define CDS_DRIVE_NOT_READY 3 >++#define CDS_DISC_OK 4 >++#define CDS_XA_2_1 103 >++#define CDS_XA_2_2 104 >++#define ENOMEDIUM ENODEV >++#define CDROM_GET_CAPABILITY CDIOCCLRDEBUG >++#else >+ #include <linux/cdrom.h> >++#include <mntent.h> >++#endif >+ >+ #include <glib.h> >+ #include <glib/gi18n.h> >+@@ -395,8 +417,10 @@ >+ /* open disc, check capabilities and open mount */ >+ if (!cd_cache_open_device (cache, error)) >+ return MEDIA_TYPE_ERROR; >++#ifdef __linux__ >+ if (!(cache->cap & CDC_DVD)) >+ return MEDIA_TYPE_DATA; >++#endif >+ if (!(dir = cd_cache_open_mountpoint (cache, error))) >+ return MEDIA_TYPE_ERROR; >+ >diff -ruN --exclude=CVS /usr/ports/multimedia/totem.orig/pkg-plist /usr/ports/multimedia/totem/pkg-plist >--- /usr/ports/multimedia/totem.orig/pkg-plist Mon Oct 18 14:11:12 2004 >+++ /usr/ports/multimedia/totem/pkg-plist Mon Oct 18 14:07:20 2004 >@@ -1,5 +1,8 @@ > bin/totem > bin/totem-video-thumbnailer >+@unexec env GCONF_CONFIG_SOURCE=xml::%D/etc/gconf/gconf.xml.defaults gconftool-2 --makefile-uninstall-rule %D/etc/gconf/schemas/totem-handlers.schemas >/dev/null || /usr/bin/true >+etc/gconf/schemas/totem-handlers.schemas >+@exec env GCONF_CONFIG_SOURCE=xml::%D/etc/gconf/gconf.xml.defaults gconftool-2 --makefile-install-rule %D/etc/gconf/schemas/totem-handlers.schemas >/dev/null || /usr/bin/true > @unexec env GCONF_CONFIG_SOURCE=xml::%D/etc/gconf/gconf.xml.defaults gconftool-2 --makefile-uninstall-rule %D/etc/gconf/schemas/totem-video-thumbnail.schemas > /dev/null || /usr/bin/true > etc/gconf/schemas/totem-video-thumbnail.schemas > @exec env GCONF_CONFIG_SOURCE=xml::%D/etc/gconf/gconf.xml.defaults gconftool-2 --makefile-install-rule %D/etc/gconf/schemas/totem-video-thumbnail.schemas > /dev/null || /usr/bin/true >@@ -94,6 +97,7 @@ > share/locale/fi/LC_MESSAGES/totem.mo > share/locale/fr/LC_MESSAGES/totem.mo > share/locale/ga/LC_MESSAGES/totem.mo >+share/locale/gu/LC_MESSAGES/totem.mo > share/locale/he/LC_MESSAGES/totem.mo > share/locale/hr/LC_MESSAGES/totem.mo > share/locale/hu/LC_MESSAGES/totem.mo >@@ -106,6 +110,7 @@ > share/locale/mk/LC_MESSAGES/totem.mo > share/locale/ml/LC_MESSAGES/totem.mo > share/locale/ms/LC_MESSAGES/totem.mo >+share/locale/nb/LC_MESSAGES/totem.mo > share/locale/nl/LC_MESSAGES/totem.mo > share/locale/no/LC_MESSAGES/totem.mo > share/locale/pl/LC_MESSAGES/totem.mo >@@ -114,6 +119,7 @@ > share/locale/ro/LC_MESSAGES/totem.mo > share/locale/ru/LC_MESSAGES/totem.mo > share/locale/sk/LC_MESSAGES/totem.mo >+share/locale/sq/LC_MESSAGES/totem.mo > share/locale/sr/LC_MESSAGES/totem.mo > share/locale/sr@Latn/LC_MESSAGES/totem.mo > share/locale/sv/LC_MESSAGES/totem.mo
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 72841
: 47561