diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-12-19 02:56:42 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-12-19 02:56:42 +0800 |
commit | d6dc3a37be3ac936339cb72e723e69918a4a79bd (patch) | |
tree | 69d87b633c0f1e52b1a48ef1daddcbff10860bfb /multimedia/totem | |
parent | 4482b02056dd89e68cfd4a06387d4c9422eedb7e (diff) | |
download | marcuscom-ports-d6dc3a37be3ac936339cb72e723e69918a4a79bd.tar marcuscom-ports-d6dc3a37be3ac936339cb72e723e69918a4a79bd.tar.gz marcuscom-ports-d6dc3a37be3ac936339cb72e723e69918a4a79bd.tar.bz2 marcuscom-ports-d6dc3a37be3ac936339cb72e723e69918a4a79bd.tar.lz marcuscom-ports-d6dc3a37be3ac936339cb72e723e69918a4a79bd.tar.xz marcuscom-ports-d6dc3a37be3ac936339cb72e723e69918a4a79bd.tar.zst marcuscom-ports-d6dc3a37be3ac936339cb72e723e69918a4a79bd.zip |
Update to 1.3.0.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@5305 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'multimedia/totem')
-rw-r--r-- | multimedia/totem/Makefile | 124 | ||||
-rw-r--r-- | multimedia/totem/distinfo | 3 | ||||
-rw-r--r-- | multimedia/totem/files/patch-src_totem-disk.c | 32 | ||||
-rw-r--r-- | multimedia/totem/files/patch-src_totem-mozilla-plugin.cpp | 10 | ||||
-rw-r--r-- | multimedia/totem/files/pkg-message-mozilla.in | 8 | ||||
-rw-r--r-- | multimedia/totem/files/pkg-message.in | 4 | ||||
-rw-r--r-- | multimedia/totem/pkg-descr | 7 | ||||
-rw-r--r-- | multimedia/totem/pkg-plist | 185 |
8 files changed, 373 insertions, 0 deletions
diff --git a/multimedia/totem/Makefile b/multimedia/totem/Makefile new file mode 100644 index 000000000..a4a328e4f --- /dev/null +++ b/multimedia/totem/Makefile @@ -0,0 +1,124 @@ +# New ports collection makefile for: totem +# Date created: 17 Oct 2002 +# Whom: Hendrik Scholz <hendrik@scholz.net> +# +# $FreeBSD$ +# + +PORTNAME= totem +PORTVERSION= 1.3.0 +CATEGORIES= multimedia gnome +MASTER_SITES= ${MASTER_SITE_GNOME} +MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:R} +DIST_SUBDIR= gnome2 + +MAINTAINER?= hendrik@scholz.net +COMMENT?= A Xine-based video player for the Gnome 2 Desktop + +BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-codes +RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-codes + +USE_REINPLACE= yes +USE_BZIP2= yes +USE_X_PREFIX= yes +USE_GNOME= gnomeprefix intlhack gnomehack gnomedesktop desktopfileutils \ + nautiluscdburner +WANT_GSTREAMER= yes +USE_GMAKE= yes +USE_AUTOTOOLS= libtool:15 +INSTALLS_SHLIB= yes +INSTALLS_OMF= yes +PKGMESSAGE= ${WRKDIR}/pkg-message +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \ + LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib -lXrandr" + +OPTIONS?= DVDNAV "Enable DVD support" on \ + GSTREAMER "Use Gstreamer instead of Xine" off \ + MOZILLA_PLUGIN "Totem mozilla plugin" off + +MAN1= totem.1 totem-video-thumbnailer.1 +GCONF_SCHEMAS= totem-handlers.schemas totem-video-thumbnail.schemas \ + totem.schemas +CONFLICTS= totem-gstreamer-[0-9]* + +.include <bsd.port.pre.mk> + +LIB_DEPENDS+= musicbrainz:${PORTSDIR}/audio/libmusicbrainz + +.if defined(WITH_MOZILLA_PLUGIN) +USE_GECKO= firefox mozilla seamonkey +.include "${.CURDIR}/../../www/mozilla/bsd.gecko.mk" +PLIST_SUB+= MOZILLA="" +LIB_DEPENDS+= dbus-1.1:${PORTSDIR}/devel/dbus +CONFIGURE_ARGS+=--with-mozilla=${GECKO} +.else +PLIST_SUB+= MOZILLA="@comment " +CONFIGURE_ARGS+=--disable-mozilla +.endif + +.if defined(WITH_GSTREAMER) +BUILD_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-codes +RUN_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-codes +CONFIGURE_ARGS+=--enable-gstreamer +USE_GSTREAMER+= gnomevfs core gconf +WITHOUT_DVDNAV= yes +PLIST_SUB+= GSTREAMER="" +.else +LIB_DEPENDS+= xine.15:${PORTSDIR}/multimedia/libxine +PLIST_SUB+= GSTREAMER="@comment " +.endif + +.if defined(WITH_DVDNAV) && !defined(WITHOUT_DVDNAV) +LIB_DEPENDS+= dvdnav.4:${PORTSDIR}/multimedia/libdvdnav +.endif + +.if defined(WITH_CDROM_DEVICE) +DEFAULT_CDROM_DEVICE=${WITH_CDROM_DEVICE} +.else +.if ${OSVERSION} < 500000 +DEFAULT_CDROM_DEVICE=/dev/acd0c +.else +DEFAULT_CDROM_DEVICE=/dev/acd0 +.endif +.endif + +.if defined(WITH_DVD_DEVICE) +DEFAULT_DVD_DEVICE=${WITH_DVD_DEVICE} +.else +.if ${OSVERSION} < 500000 +DEFAULT_DVD_DEVICE=/dev/acd0c +.else +DEFAULT_DVD_DEVICE=/dev/acd0 +.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} "===>" + @${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\"'" + +post-patch: + @${CP} -f ${FILESDIR}/pkg-message.in ${PKGMESSAGE} +.if defined(WITH_MOZILLA_PLUGIN) + @${ECHO} "" >> ${PKGMESSAGE} + @${CAT} ${FILESDIR}/pkg-message-mozilla.in >> ${PKGMESSAGE} +.endif + @${REINPLACE_CMD} -e 's|/plugins||; \ + s|@MOZILLA_PLUGINDIR@|${PREFIX}/lib/browser_plugins|' \ + ${WRKSRC}/src/Makefile.in + @${REINPLACE_CMD} -e 's|/dev/cdrom|${DEFAULT_CDROM_DEVICE}|' \ + ${WRKSRC}/src/totem-preferences.c \ + ${WRKSRC}/src/backend/bacon-video-widget-gst.c +.if defined(WITH_GSTREAMER) + @${REINPLACE_CMD} -e 's|/dev/dvd|${DEFAULT_DVD_DEVICE}|' \ + ${WRKSRC}/src/backend/bacon-video-widget-gst.c +.endif + +post-install: + @-update-desktop-database + +.include <bsd.port.post.mk> diff --git a/multimedia/totem/distinfo b/multimedia/totem/distinfo new file mode 100644 index 000000000..e0735db94 --- /dev/null +++ b/multimedia/totem/distinfo @@ -0,0 +1,3 @@ +MD5 (gnome2/totem-1.3.0.tar.bz2) = 185c086e0d8eb265d31a7f35fcad11df +SHA256 (gnome2/totem-1.3.0.tar.bz2) = 81ce719786b17084a5299cdc29823af46f2d4ce4ceda7dfc654845f95b33d234 +SIZE (gnome2/totem-1.3.0.tar.bz2) = 1437498 diff --git a/multimedia/totem/files/patch-src_totem-disk.c b/multimedia/totem/files/patch-src_totem-disk.c new file mode 100644 index 000000000..6b6ef565e --- /dev/null +++ b/multimedia/totem/files/patch-src_totem-disk.c @@ -0,0 +1,32 @@ +--- src/plparse/totem-disc.c.orig Thu Nov 24 16:53:02 2005 ++++ src/plparse/totem-disc.c Sun Dec 18 13:34:12 2005 +@@ -43,7 +43,29 @@ + #include <glib/gi18n.h> + #include <libgnomevfs/gnome-vfs.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 CDC_DVD 0x8000 ++#define ENOMEDIUM ENODEV ++#define CDROM_GET_CAPABILITY CDIOCCLRDEBUG ++#else + #include <linux/cdrom.h> ++#endif + + #include "totem-disc.h" + diff --git a/multimedia/totem/files/patch-src_totem-mozilla-plugin.cpp b/multimedia/totem/files/patch-src_totem-mozilla-plugin.cpp new file mode 100644 index 000000000..2c34077ea --- /dev/null +++ b/multimedia/totem/files/patch-src_totem-mozilla-plugin.cpp @@ -0,0 +1,10 @@ +--- src/totem-mozilla-plugin.cpp.orig Tue Nov 8 21:50:10 2005 ++++ src/totem-mozilla-plugin.cpp Tue Nov 8 21:50:27 2005 +@@ -27,6 +27,7 @@ + #include <stdint.h> + #include <unistd.h> + #include <fcntl.h> ++#include <signal.h> + #include <sys/wait.h> + #include <string.h> + diff --git a/multimedia/totem/files/pkg-message-mozilla.in b/multimedia/totem/files/pkg-message-mozilla.in new file mode 100644 index 000000000..ddbbe4e54 --- /dev/null +++ b/multimedia/totem/files/pkg-message-mozilla.in @@ -0,0 +1,8 @@ +************************************************************************** +The totem mozilla plugin requires a D-BUS-enabled desktop session. Consult +the FreeBSD GNOME FAQ for instructions on setting up your desktop session +through D-BUS: + + http://www.freebsd.org/gnome/docs/faq2.html#q25 + +************************************************************************** diff --git a/multimedia/totem/files/pkg-message.in b/multimedia/totem/files/pkg-message.in new file mode 100644 index 000000000..05d7f5b20 --- /dev/null +++ b/multimedia/totem/files/pkg-message.in @@ -0,0 +1,4 @@ +Make sure you've enough shared memory, the xine FAQ +advises to have the following sysctl settings: +kern.ipc.shmmax=67108864 +kern.ipc.shmall=32768 diff --git a/multimedia/totem/pkg-descr b/multimedia/totem/pkg-descr new file mode 100644 index 000000000..404246e58 --- /dev/null +++ b/multimedia/totem/pkg-descr @@ -0,0 +1,7 @@ +Totem is simple movie player for the Gnome 2 desktop based on xine. +It features a simple playlist, a full-screen mode, seek and volume controls, +as well as a pretty complete keyboard navigation. + +WWW: http://www.hadess.net/totem.php3 + +-- Hendrik Scholz <hendrik@scholz.net> diff --git a/multimedia/totem/pkg-plist b/multimedia/totem/pkg-plist new file mode 100644 index 000000000..6efefb56b --- /dev/null +++ b/multimedia/totem/pkg-plist @@ -0,0 +1,185 @@ +bin/totem +bin/totem-video-thumbnailer +include/totem/1/plparser/totem-disc.h +include/totem/1/plparser/totem-pl-parser-builtins.h +include/totem/1/plparser/totem-pl-parser.h +%%MOZILLA%%lib/browser_plugins/libtotem_mozilla.a +%%MOZILLA%%lib/browser_plugins/libtotem_mozilla.so +%%MOZILLA%%lib/browser_plugins/libtotem_mozilla.xpt +lib/libtotem-plparser.a +lib/libtotem-plparser.so +lib/libtotem-plparser.so.1 +lib/nautilus/extensions-1.0/libtotem-properties-page.a +lib/nautilus/extensions-1.0/libtotem-properties-page.so +lib/nautilus/extensions-1.0/libtotem-properties-page.so.0 +libdata/pkgconfig/totem-plparser.pc +%%MOZILLA%%libexec/totem-mozilla-viewer +share/gnome/applications/totem.desktop +share/gnome/help/totem/C/figures/totem_next_button.png +share/gnome/help/totem/C/figures/totem_pause_button.png +share/gnome/help/totem/C/figures/totem_play_button.png +share/gnome/help/totem/C/figures/totem_previous_button.png +share/gnome/help/totem/C/figures/totem_show_playlist_button.png +share/gnome/help/totem/C/figures/totem_start_window.png +share/gnome/help/totem/C/figures/totem_volume_maximum_button.png +share/gnome/help/totem/C/figures/totem_volume_mute_button.png +share/gnome/help/totem/C/legal.xml +share/gnome/help/totem/C/totem.xml +share/gnome/help/totem/de/figures/totem_next_button.png +share/gnome/help/totem/de/figures/totem_pause_button.png +share/gnome/help/totem/de/figures/totem_play_button.png +share/gnome/help/totem/de/figures/totem_previous_button.png +share/gnome/help/totem/de/figures/totem_show_playlist_button.png +share/gnome/help/totem/de/figures/totem_start_window.png +share/gnome/help/totem/de/figures/totem_volume_maximum_button.png +share/gnome/help/totem/de/figures/totem_volume_mute_button.png +share/gnome/help/totem/de/legal.xml +share/gnome/help/totem/de/totem.xml +share/gnome/help/totem/es/figures/totem_next_button.png +share/gnome/help/totem/es/figures/totem_pause_button.png +share/gnome/help/totem/es/figures/totem_play_button.png +share/gnome/help/totem/es/figures/totem_previous_button.png +share/gnome/help/totem/es/figures/totem_show_playlist_button.png +share/gnome/help/totem/es/figures/totem_start_window.png +share/gnome/help/totem/es/figures/totem_volume_maximum_button.png +share/gnome/help/totem/es/figures/totem_volume_mute_button.png +share/gnome/help/totem/es/legal.xml +share/gnome/help/totem/es/totem.xml +share/gnome/help/totem/fr/figures/totem_next_button.png +share/gnome/help/totem/fr/figures/totem_pause_button.png +share/gnome/help/totem/fr/figures/totem_play_button.png +share/gnome/help/totem/fr/figures/totem_previous_button.png +share/gnome/help/totem/fr/figures/totem_show_playlist_button.png +share/gnome/help/totem/fr/figures/totem_start_window.png +share/gnome/help/totem/fr/figures/totem_volume_maximum_button.png +share/gnome/help/totem/fr/figures/totem_volume_mute_button.png +share/gnome/help/totem/fr/legal.xml +share/gnome/help/totem/fr/totem.xml +share/gnome/help/totem/ru/figures/totem_screenshot.png +share/gnome/help/totem/ru/figures/totem_start_window.png +share/gnome/help/totem/ru/legal.xml +share/gnome/help/totem/ru/totem.xml +share/gnome/help/totem/uk/figures/totem_next_button.png +share/gnome/help/totem/uk/figures/totem_pause_button.png +share/gnome/help/totem/uk/figures/totem_play_button.png +share/gnome/help/totem/uk/figures/totem_previous_button.png +share/gnome/help/totem/uk/figures/totem_show_playlist_button.png +share/gnome/help/totem/uk/figures/totem_start_window.png +share/gnome/help/totem/uk/figures/totem_volume_maximum_button.png +share/gnome/help/totem/uk/figures/totem_volume_mute_button.png +share/gnome/help/totem/uk/legal.xml +share/gnome/help/totem/uk/totem.xml +share/gnome/omf/totem/totem-C.omf +share/gnome/omf/totem/totem-de.omf +share/gnome/omf/totem/totem-es.omf +share/gnome/omf/totem/totem-fr.omf +share/gnome/omf/totem/totem-ru.omf +share/gnome/omf/totem/totem-uk.omf +share/gnome/pixmaps/media-player-48.png +share/gnome/pixmaps/vanity.png +share/gnome/totem/filmholes-big-left.png +share/gnome/totem/filmholes-big-right.png +share/gnome/totem/filmholes.png +share/gnome/totem/media-player-48.png +share/gnome/totem/mozilla-viewer.glade +share/gnome/totem/playlist-playing.png +share/gnome/totem/playlist.glade +share/gnome/totem/popup.glade +share/gnome/totem/properties.glade +share/gnome/totem/rhythmbox-volume-max.png +share/gnome/totem/rhythmbox-volume-zero.png +share/gnome/totem/screenshot.glade +share/gnome/totem/skip_to.glade +share/gnome/totem/stock-tool-brightness-contrast-22.png +share/gnome/totem/stock_media_next.png +share/gnome/totem/stock_media_pause.png +share/gnome/totem/stock_media_play.png +share/gnome/totem/stock_media_previous.png +share/gnome/totem/totem.glade +share/gnome/totem/totem_logo.png +share/gnome/totem/uri.glade +share/gnome/totem/vanity.glade +share/gnome/totem/vanity.png +share/locale/am/LC_MESSAGES/totem.mo +share/locale/ar/LC_MESSAGES/totem.mo +share/locale/az/LC_MESSAGES/totem.mo +share/locale/be/LC_MESSAGES/totem.mo +share/locale/bg/LC_MESSAGES/totem.mo +share/locale/bn/LC_MESSAGES/totem.mo +share/locale/ca/LC_MESSAGES/totem.mo +share/locale/cs/LC_MESSAGES/totem.mo +share/locale/cy/LC_MESSAGES/totem.mo +share/locale/da/LC_MESSAGES/totem.mo +share/locale/de/LC_MESSAGES/totem.mo +share/locale/el/LC_MESSAGES/totem.mo +share/locale/en_CA/LC_MESSAGES/totem.mo +share/locale/en_GB/LC_MESSAGES/totem.mo +share/locale/es/LC_MESSAGES/totem.mo +share/locale/et/LC_MESSAGES/totem.mo +share/locale/eu/LC_MESSAGES/totem.mo +share/locale/fa/LC_MESSAGES/totem.mo +share/locale/fi/LC_MESSAGES/totem.mo +share/locale/fr/LC_MESSAGES/totem.mo +share/locale/ga/LC_MESSAGES/totem.mo +share/locale/gl/LC_MESSAGES/totem.mo +share/locale/gu/LC_MESSAGES/totem.mo +share/locale/he/LC_MESSAGES/totem.mo +share/locale/hi/LC_MESSAGES/totem.mo +share/locale/hr/LC_MESSAGES/totem.mo +share/locale/hu/LC_MESSAGES/totem.mo +share/locale/id/LC_MESSAGES/totem.mo +share/locale/is/LC_MESSAGES/totem.mo +share/locale/it/LC_MESSAGES/totem.mo +share/locale/ja/LC_MESSAGES/totem.mo +share/locale/ko/LC_MESSAGES/totem.mo +share/locale/lt/LC_MESSAGES/totem.mo +share/locale/lv/LC_MESSAGES/totem.mo +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/ne/LC_MESSAGES/totem.mo +share/locale/nl/LC_MESSAGES/totem.mo +share/locale/no/LC_MESSAGES/totem.mo +share/locale/pa/LC_MESSAGES/totem.mo +share/locale/pl/LC_MESSAGES/totem.mo +share/locale/pt/LC_MESSAGES/totem.mo +share/locale/pt_BR/LC_MESSAGES/totem.mo +share/locale/ro/LC_MESSAGES/totem.mo +share/locale/ru/LC_MESSAGES/totem.mo +share/locale/rw/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 +share/locale/te/LC_MESSAGES/totem.mo +share/locale/th/LC_MESSAGES/totem.mo +share/locale/tr/LC_MESSAGES/totem.mo +share/locale/ug/LC_MESSAGES/totem.mo +share/locale/uk/LC_MESSAGES/totem.mo +share/locale/vi/LC_MESSAGES/totem.mo +share/locale/wa/LC_MESSAGES/totem.mo +share/locale/xh/LC_MESSAGES/totem.mo +share/locale/zh_CN/LC_MESSAGES/totem.mo +share/locale/zh_TW/LC_MESSAGES/totem.mo +@dirrm share/gnome/totem +@dirrm share/gnome/omf/totem +@dirrm share/gnome/help/totem/uk/figures +@dirrm share/gnome/help/totem/uk +@dirrm share/gnome/help/totem/ru/figures +@dirrm share/gnome/help/totem/ru +@dirrm share/gnome/help/totem/fr/figures +@dirrm share/gnome/help/totem/fr +@dirrm share/gnome/help/totem/es/figures +@dirrm share/gnome/help/totem/es +@dirrm share/gnome/help/totem/de/figures +@dirrm share/gnome/help/totem/de +@dirrm share/gnome/help/totem/C/figures +@dirrm share/gnome/help/totem/C +@dirrm share/gnome/help/totem +@dirrm include/totem/1/plparser +@dirrm include/totem/1 +@dirrm include/totem +@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true +@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true |