summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2005-03-22 16:37:32 +0000
committerjmmv <jmmv@pkgsrc.org>2005-03-22 16:37:32 +0000
commit22f84b33143b8dc4a05118aef2e17efa9a1dfcb0 (patch)
treefefecf4423ed5a9d2a6db56b52a9cde9b68187c3 /multimedia
parent9042b10a07a3658d47ef4d47771d1d7961d03495 (diff)
downloadpkgsrc-22f84b33143b8dc4a05118aef2e17efa9a1dfcb0.tar.gz
Initial import of totem, version 1.0:
Totem is simple movie player for the GNOME desktop based on GStreamer and Xine. It features a playlist, a full-screen mode, seek and volume controls, as well as a pretty complete keyboard navigation. This package is built using the GStreamer backend.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/totem/DESCR5
-rw-r--r--multimedia/totem/Makefile14
-rw-r--r--multimedia/totem/Makefile.common46
-rw-r--r--multimedia/totem/PLIST155
-rw-r--r--multimedia/totem/distinfo7
-rw-r--r--multimedia/totem/patches/patch-aa44
-rw-r--r--multimedia/totem/patches/patch-ab14
7 files changed, 285 insertions, 0 deletions
diff --git a/multimedia/totem/DESCR b/multimedia/totem/DESCR
new file mode 100644
index 00000000000..f0c763b46c5
--- /dev/null
+++ b/multimedia/totem/DESCR
@@ -0,0 +1,5 @@
+Totem is simple movie player for the GNOME desktop based on GStreamer and
+Xine. It features a playlist, a full-screen mode, seek and volume controls,
+as well as a pretty complete keyboard navigation.
+
+This package is built using the GStreamer backend.
diff --git a/multimedia/totem/Makefile b/multimedia/totem/Makefile
new file mode 100644
index 00000000000..7d1cb4b41e4
--- /dev/null
+++ b/multimedia/totem/Makefile
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/03/22 16:37:32 jmmv Exp $
+#
+
+.include "Makefile.common"
+
+COMMENT+= (using GStreamer)
+
+CONFLICTS+= totem-xine-[0-9]*
+
+BUILDLINK_DEPENDS.gstreamer+= gstreamer>=0.8.6.1
+
+.include "../../multimedia/gst-plugins/buildlink3.mk"
+.include "../../multimedia/gstreamer/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/multimedia/totem/Makefile.common b/multimedia/totem/Makefile.common
new file mode 100644
index 00000000000..da2557c6ad3
--- /dev/null
+++ b/multimedia/totem/Makefile.common
@@ -0,0 +1,46 @@
+# $NetBSD: Makefile.common,v 1.1.1.1 2005/03/22 16:37:32 jmmv Exp $
+#
+
+DISTNAME= totem-1.0
+CATEGORIES= multimedia gnome
+MASTER_SITES= http://www.hadess.net/files/software/totem/
+
+MAINTAINER= jmmv@NetBSD.org
+HOMEPAGE= http://www.hadess.net/totem.php3
+COMMENT= Movie player for the GNOME Desktop
+
+DISTINFO_FILE= ${.CURDIR}/../../multimedia/totem/distinfo
+PATCHDIR= ${.CURDIR}/../../multimedia/totem/patches
+PLIST_SRC= ${.CURDIR}/../../multimedia/totem/PLIST
+
+GNU_CONFIGURE= YES
+USE_BUILDLINK3= YES
+USE_DIRS+= gnome2-1.5
+USE_GNU_TOOLS+= make
+USE_LIBTOOL= YES
+USE_PKGLOCALEDIR= YES
+USE_X11= YES
+
+PKGCONFIG_OVERRIDE= totem-plparser.pc.in
+
+GCONF2_SCHEMAS= totem.schemas
+GCONF2_SCHEMAS+= totem-handlers.schemas
+GCONF2_SCHEMAS+= totem-video-thumbnail.schemas
+
+BUILDLINK_DEPENDS.glib2+= glib2>=2.6.3
+
+.include "../../devel/GConf2/schemas.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../devel/libglade2/buildlink3.mk"
+.include "../../devel/libgnomeui/buildlink3.mk"
+.include "../../devel/pkgconfig/buildlink3.mk"
+.include "../../sysutils/gnome-vfs2/buildlink3.mk"
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
+.include "../../sysutils/nautilus/buildlink3.mk"
+.include "../../sysutils/nautilus-cd-burner/buildlink3.mk"
+.include "../../textproc/intltool/buildlink3.mk"
+.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../textproc/scrollkeeper/omf.mk"
+.include "../../x11/gnome-desktop/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
diff --git a/multimedia/totem/PLIST b/multimedia/totem/PLIST
new file mode 100644
index 00000000000..e288ac75897
--- /dev/null
+++ b/multimedia/totem/PLIST
@@ -0,0 +1,155 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/03/22 16:37:32 jmmv Exp $
+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
+lib/libtotem-plparser.la
+lib/nautilus/extensions-1.0/libtotem-properties-page.la
+lib/pkgconfig/totem-plparser.pc
+man/man1/totem.1
+share/applications/totem.desktop
+share/gconf/schemas/totem-handlers.schemas
+share/gconf/schemas/totem-video-thumbnail.schemas
+share/gconf/schemas/totem.schemas
+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/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
+${PKGLOCALEDIR}/locale/am/LC_MESSAGES/totem.mo
+${PKGLOCALEDIR}/locale/ar/LC_MESSAGES/totem.mo
+${PKGLOCALEDIR}/locale/az/LC_MESSAGES/totem.mo
+${PKGLOCALEDIR}/locale/be/LC_MESSAGES/totem.mo
+${PKGLOCALEDIR}/locale/bg/LC_MESSAGES/totem.mo
+${PKGLOCALEDIR}/locale/bn/LC_MESSAGES/totem.mo
+${PKGLOCALEDIR}/locale/ca/LC_MESSAGES/totem.mo
+${PKGLOCALEDIR}/locale/cs/LC_MESSAGES/totem.mo
+${PKGLOCALEDIR}/locale/cy/LC_MESSAGES/totem.mo
+${PKGLOCALEDIR}/locale/da/LC_MESSAGES/totem.mo
+${PKGLOCALEDIR}/locale/de/LC_MESSAGES/totem.mo
+${PKGLOCALEDIR}/locale/el/LC_MESSAGES/totem.mo
+${PKGLOCALEDIR}/locale/en_CA/LC_MESSAGES/totem.mo
+${PKGLOCALEDIR}/locale/en_GB/LC_MESSAGES/totem.mo
+${PKGLOCALEDIR}/locale/es/LC_MESSAGES/totem.mo
+${PKGLOCALEDIR}/locale/et/LC_MESSAGES/totem.mo
+${PKGLOCALEDIR}/locale/eu/LC_MESSAGES/totem.mo
+${PKGLOCALEDIR}/locale/fi/LC_MESSAGES/totem.mo
+${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/totem.mo
+${PKGLOCALEDIR}/locale/ga/LC_MESSAGES/totem.mo
+${PKGLOCALEDIR}/locale/gu/LC_MESSAGES/totem.mo
+${PKGLOCALEDIR}/locale/he/LC_MESSAGES/totem.mo
+${PKGLOCALEDIR}/locale/hi/LC_MESSAGES/totem.mo
+${PKGLOCALEDIR}/locale/hr/LC_MESSAGES/totem.mo
+${PKGLOCALEDIR}/locale/hu/LC_MESSAGES/totem.mo
+${PKGLOCALEDIR}/locale/id/LC_MESSAGES/totem.mo
+${PKGLOCALEDIR}/locale/is/LC_MESSAGES/totem.mo
+${PKGLOCALEDIR}/locale/it/LC_MESSAGES/totem.mo
+${PKGLOCALEDIR}/locale/ja/LC_MESSAGES/totem.mo
+${PKGLOCALEDIR}/locale/ko/LC_MESSAGES/totem.mo
+${PKGLOCALEDIR}/locale/lt/LC_MESSAGES/totem.mo
+${PKGLOCALEDIR}/locale/lv/LC_MESSAGES/totem.mo
+${PKGLOCALEDIR}/locale/mk/LC_MESSAGES/totem.mo
+${PKGLOCALEDIR}/locale/ml/LC_MESSAGES/totem.mo
+${PKGLOCALEDIR}/locale/ms/LC_MESSAGES/totem.mo
+${PKGLOCALEDIR}/locale/nb/LC_MESSAGES/totem.mo
+${PKGLOCALEDIR}/locale/nl/LC_MESSAGES/totem.mo
+${PKGLOCALEDIR}/locale/no/LC_MESSAGES/totem.mo
+${PKGLOCALEDIR}/locale/pa/LC_MESSAGES/totem.mo
+${PKGLOCALEDIR}/locale/pl/LC_MESSAGES/totem.mo
+${PKGLOCALEDIR}/locale/pt/LC_MESSAGES/totem.mo
+${PKGLOCALEDIR}/locale/pt_BR/LC_MESSAGES/totem.mo
+${PKGLOCALEDIR}/locale/ro/LC_MESSAGES/totem.mo
+${PKGLOCALEDIR}/locale/ru/LC_MESSAGES/totem.mo
+${PKGLOCALEDIR}/locale/sk/LC_MESSAGES/totem.mo
+${PKGLOCALEDIR}/locale/sq/LC_MESSAGES/totem.mo
+${PKGLOCALEDIR}/locale/sr/LC_MESSAGES/totem.mo
+${PKGLOCALEDIR}/locale/sr@Latn/LC_MESSAGES/totem.mo
+${PKGLOCALEDIR}/locale/sv/LC_MESSAGES/totem.mo
+${PKGLOCALEDIR}/locale/th/LC_MESSAGES/totem.mo
+${PKGLOCALEDIR}/locale/tr/LC_MESSAGES/totem.mo
+${PKGLOCALEDIR}/locale/uk/LC_MESSAGES/totem.mo
+${PKGLOCALEDIR}/locale/vi/LC_MESSAGES/totem.mo
+${PKGLOCALEDIR}/locale/wa/LC_MESSAGES/totem.mo
+${PKGLOCALEDIR}/locale/zh_CN/LC_MESSAGES/totem.mo
+${PKGLOCALEDIR}/locale/zh_TW/LC_MESSAGES/totem.mo
+share/omf/totem/totem-C.omf
+share/omf/totem/totem-de.omf
+share/omf/totem/totem-es.omf
+share/omf/totem/totem-ru.omf
+share/pixmaps/media-player-48.png
+share/pixmaps/vanity.png
+share/totem/filmholes-big-left.png
+share/totem/filmholes-big-right.png
+share/totem/filmholes.png
+share/totem/media-player-48.png
+share/totem/mozilla-viewer.glade
+share/totem/playlist-16.png
+share/totem/playlist-24.png
+share/totem/playlist-playing.png
+share/totem/playlist.glade
+share/totem/popup.glade
+share/totem/properties.glade
+share/totem/rhythmbox-volume-max.png
+share/totem/rhythmbox-volume-zero.png
+share/totem/screenshot.glade
+share/totem/skip_to.glade
+share/totem/stock-tool-brightness-contrast-22.png
+share/totem/stock_media_next.png
+share/totem/stock_media_pause.png
+share/totem/stock_media_play.png
+share/totem/stock_media_previous.png
+share/totem/totem.glade
+share/totem/totem_logo.png
+share/totem/uri.glade
+share/totem/vanity.glade
+share/totem/vanity.png
+@dirrm share/totem
+@comment in xdg-dirs: @dirrm share/pixmaps
+@dirrm share/omf/totem
+@comment in scrollkeeper: @dirrm share/omf
+@dirrm share/gnome/help/totem/ru/figures
+@dirrm share/gnome/help/totem/ru
+@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
+@comment in gnome2-dirs: @dirrm share/gnome/help
+@comment in GConf2: @dirrm share/gconf/schemas
+@comment in xdg-dirs: @dirrm share/applications
+@comment in nautilus: @dirrm lib/nautilus/extensions-1.0
+@dirrm include/totem/1/plparser
+@dirrm include/totem/1
+@dirrm include/totem
diff --git a/multimedia/totem/distinfo b/multimedia/totem/distinfo
new file mode 100644
index 00000000000..99ffb3be93d
--- /dev/null
+++ b/multimedia/totem/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/03/22 16:37:32 jmmv Exp $
+
+SHA1 (totem-1.0.tar.gz) = 7103b6af04b0e7bfae56b88ec28d5835d4758d22
+RMD160 (totem-1.0.tar.gz) = 7967eb96e20d09ed38474c4f36f8773081cd5238
+Size (totem-1.0.tar.gz) = 2011307 bytes
+SHA1 (patch-aa) = ff7b15fdfd4401dd22162fff1d930a6c851ca121
+SHA1 (patch-ab) = 87349c909d689885070fd3d669cfef78898be24a
diff --git a/multimedia/totem/patches/patch-aa b/multimedia/totem/patches/patch-aa
new file mode 100644
index 00000000000..55eb7d825dc
--- /dev/null
+++ b/multimedia/totem/patches/patch-aa
@@ -0,0 +1,44 @@
+$NetBSD: patch-aa,v 1.1.1.1 2005/03/22 16:37:32 jmmv Exp $
+
+Based on patch from FreeBSD:
+http://www.freebsd.org/cgi/cvsweb.cgi/ports/multimedia/totem/files/patch-src_totem-disk.c
+
+--- src/totem-disc.c.orig 2005-03-21 09:37:06.000000000 +0100
++++ src/totem-disc.c
+@@ -34,12 +34,35 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <errno.h>
+-#include <mntent.h>
+ #include <string.h>
+
+ #include <sys/ioctl.h>
+ #include <sys/stat.h>
++#if defined(__linux__)
+ #include <linux/cdrom.h>
++#elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
++#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
++#error "No support to access the CD in this platform."
++#endif
+
+ #include <glib.h>
+ #include <glib/gi18n.h>
diff --git a/multimedia/totem/patches/patch-ab b/multimedia/totem/patches/patch-ab
new file mode 100644
index 00000000000..2293e04b085
--- /dev/null
+++ b/multimedia/totem/patches/patch-ab
@@ -0,0 +1,14 @@
+$NetBSD: patch-ab,v 1.1.1.1 2005/03/22 16:37:32 jmmv Exp $
+
+--- src/Makefile.in.orig 2005-03-07 18:01:00.000000000 +0100
++++ src/Makefile.in
+@@ -686,7 +686,8 @@ clean-noinstLTLIBRARIES:
+ rm -f "$${dir}/so_locations"; \
+ done
+ pluginLTLIBRARIES_INSTALL = $(INSTALL)
+-install-pluginLTLIBRARIES: $(plugin_LTLIBRARIES)
++install-pluginLTLIBRARIES:
++dont-install-pluginLTLIBRARIES: $(plugin_LTLIBRARIES)
+ @$(NORMAL_INSTALL)
+ $(mkinstalldirs) $(DESTDIR)$(plugindir)
+ @list='$(plugin_LTLIBRARIES)'; for p in $$list; do \