summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorrh <rh@pkgsrc.org>2003-04-25 04:49:42 +0000
committerrh <rh@pkgsrc.org>2003-04-25 04:49:42 +0000
commitf6c634387b00b80168525a9db9398c4eaa86dea3 (patch)
treed3b706fbb0fc9fdaae2e311921b128cdee60613c /audio
parent92b0a4ed20577ca04287dd7adefef223fb61ba34 (diff)
downloadpkgsrc-f6c634387b00b80168525a9db9398c4eaa86dea3.tar.gz
Initial import of gnome-media-2.2.1.1 as gnome2-media, a set of
audio/multimedia applications for GNOME2.
Diffstat (limited to 'audio')
-rw-r--r--audio/gnome2-media/DESCR12
-rw-r--r--audio/gnome2-media/Makefile44
-rw-r--r--audio/gnome2-media/PLIST111
-rw-r--r--audio/gnome2-media/buildlink2.mk35
-rw-r--r--audio/gnome2-media/distinfo10
-rw-r--r--audio/gnome2-media/patches/patch-aa13
-rw-r--r--audio/gnome2-media/patches/patch-ab19
-rw-r--r--audio/gnome2-media/patches/patch-ac30
-rw-r--r--audio/gnome2-media/patches/patch-ad18
-rw-r--r--audio/gnome2-media/patches/patch-ae13
-rw-r--r--audio/gnome2-media/patches/patch-af13
11 files changed, 318 insertions, 0 deletions
diff --git a/audio/gnome2-media/DESCR b/audio/gnome2-media/DESCR
new file mode 100644
index 00000000000..7d5d7bb41fc
--- /dev/null
+++ b/audio/gnome2-media/DESCR
@@ -0,0 +1,12 @@
+ This package contains gnome-media, a set of audio/multimedia tools
+for GNOME2.
+
+From the GNOME home page:
+
+GNOME stands for GNU Network Object Model Environment. The GNOME
+project intends to build a complete, user-friendly desktop based
+entirely on free software. GNOME is part of the GNU project, and
+GNOME is part of the OpenSource(tm) movement. The desktop will
+consist of small utilities and larger applications which share a
+consistent look and feel. GNOME uses GTK+ as the GUI toolkit for
+all GNOME-compliant applications.
diff --git a/audio/gnome2-media/Makefile b/audio/gnome2-media/Makefile
new file mode 100644
index 00000000000..daae751603c
--- /dev/null
+++ b/audio/gnome2-media/Makefile
@@ -0,0 +1,44 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/04/25 04:49:42 rh Exp $
+
+DISTNAME= gnome-media-2.2.1.1
+CATEGORIES= audio gnome
+MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gnome-media/2.2/}
+
+MAINTAINER= rh@netbsd.org
+HOMEPAGE= http://www.gnome.org/
+COMMENT= Set of audio/multimedia applications for GNOME2
+
+BUILD_USES_MSGFMT= yes
+
+GNU_CONFIGURE= yes
+USE_BUILDLINK2= yes
+USE_PKGLOCALEDIR= yes
+USE_LIBTOOL= yes
+USE_X11= yes
+USE_GMAKE= yes
+USE_PERL5= build
+LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
+
+CONFIGURE_ARGS+= --enable-gtk-doc=no
+CONFIGURE_ARGS+= --with-html-dir=${PREFIX}/share/doc/html
+CONFIGURE_ENV+= XGETTEXT="${LOCALBASE}/bin/xgettext"
+CONFIGURE_ENV+= GCONF_SCHEMA_FILE_DIR="${PREFIX}/share/gconf/schemas/"
+MAKE_ENV+= GCONF_SCHEMA_FILE_DIR="${PREFIX}/share/gconf/schemas/"
+
+GCONF2_SCHEMAS= CDDB-Slave2.schemas
+GCONF2_SCHEMAS+= gnome-volume-control.schemas
+GCONF2_SCHEMAS+= gnome-sound-recorder.schemas
+
+.include "../../audio/esound/buildlink2.mk"
+.include "../../misc/gst-plugins/buildlink2.mk"
+.include "../../misc/gstreamer/buildlink2.mk"
+.include "../../devel/GConf2/schemas.mk"
+.include "../../devel/GConf2-ui/buildlink2.mk"
+.include "../../devel/gail/buildlink2.mk"
+.include "../../devel/gettext-lib/buildlink2.mk"
+.include "../../devel/libgnomeui/buildlink2.mk"
+.include "../../devel/pkgconfig/buildlink2.mk"
+.include "../../textproc/scrollkeeper/omf.mk"
+.include "../../x11/gnome-desktop/buildlink2.mk"
+.include "../../mk/ossaudio.buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/audio/gnome2-media/PLIST b/audio/gnome2-media/PLIST
new file mode 100644
index 00000000000..292d1560c62
--- /dev/null
+++ b/audio/gnome2-media/PLIST
@@ -0,0 +1,111 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/04/25 04:49:42 rh Exp $
+bin/cddb-slave2-properties
+bin/gnome-sound-recorder
+bin/gnome-volume-control
+bin/gstreamer-properties
+bin/vumeter
+include/cddb-slave2/cddb-slave-client.h
+lib/bonobo/servers/GNOME_Media_CDDBSlave2.server
+lib/libcddb-slave2.a
+lib/libcddb-slave2.la
+lib/libcddb-slave2.so
+lib/libcddb-slave2.so.0
+lib/libcddb-slave2.so.0.0
+libexec/CDDBSlave2
+libexec/cddb-track-editor
+share/applications/gnome-sound-recorder.desktop
+share/applications/gnome-volume-control.desktop
+share/applications/reclevel.desktop
+share/applications/vumeter.desktop
+share/control-center-2.0/capplets/cddb-slave.desktop
+share/gconf/schemas/CDDB-Slave2.schemas
+share/gconf/schemas/gnome-sound-recorder.schemas
+share/gconf/schemas/gnome-volume-control.schemas
+share/gnome-media-2.0/icons/gstreamer-properties.png
+share/gnome-media-2.0/interfaces/gstreamer-properties.glade
+share/gnome-sound-recorder/ui/gsr.xml
+share/gnome/help/gnome-sound-recorder/C/figures/grecord-prefs-path.png
+share/gnome/help/gnome-sound-recorder/C/figures/grecord-prefs-play.png
+share/gnome/help/gnome-sound-recorder/C/figures/grecord-prefs-rec.png
+share/gnome/help/gnome-sound-recorder/C/figures/grecord-prefs-sound.png
+share/gnome/help/gnome-sound-recorder/C/figures/grecord-prefs-ui.png
+share/gnome/help/gnome-sound-recorder/C/figures/grecord.png
+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-volume-control/C/figures/gmix-prefs.png
+share/gnome/help/gnome-volume-control/C/figures/gmix.png
+share/gnome/help/gnome-volume-control/C/gnome-volume-control.xml
+share/gnome/help/gnome-volume-control/C/legal.xml
+share/idl/GNOME_Media_CDDBSlave2.idl
+${PKGLOCALEDIR}/locale/am/LC_MESSAGES/gnome-media-2.0.mo
+${PKGLOCALEDIR}/locale/ar/LC_MESSAGES/gnome-media-2.0.mo
+${PKGLOCALEDIR}/locale/az/LC_MESSAGES/gnome-media-2.0.mo
+${PKGLOCALEDIR}/locale/be/LC_MESSAGES/gnome-media-2.0.mo
+${PKGLOCALEDIR}/locale/bg/LC_MESSAGES/gnome-media-2.0.mo
+${PKGLOCALEDIR}/locale/ca/LC_MESSAGES/gnome-media-2.0.mo
+${PKGLOCALEDIR}/locale/cs/LC_MESSAGES/gnome-media-2.0.mo
+${PKGLOCALEDIR}/locale/da/LC_MESSAGES/gnome-media-2.0.mo
+${PKGLOCALEDIR}/locale/de/LC_MESSAGES/gnome-media-2.0.mo
+${PKGLOCALEDIR}/locale/el/LC_MESSAGES/gnome-media-2.0.mo
+${PKGLOCALEDIR}/locale/en_GB/LC_MESSAGES/gnome-media-2.0.mo
+${PKGLOCALEDIR}/locale/es/LC_MESSAGES/gnome-media-2.0.mo
+${PKGLOCALEDIR}/locale/et/LC_MESSAGES/gnome-media-2.0.mo
+${PKGLOCALEDIR}/locale/eu/LC_MESSAGES/gnome-media-2.0.mo
+${PKGLOCALEDIR}/locale/fi/LC_MESSAGES/gnome-media-2.0.mo
+${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/gnome-media-2.0.mo
+${PKGLOCALEDIR}/locale/ga/LC_MESSAGES/gnome-media-2.0.mo
+${PKGLOCALEDIR}/locale/gl/LC_MESSAGES/gnome-media-2.0.mo
+${PKGLOCALEDIR}/locale/he/LC_MESSAGES/gnome-media-2.0.mo
+${PKGLOCALEDIR}/locale/hi/LC_MESSAGES/gnome-media-2.0.mo
+${PKGLOCALEDIR}/locale/hu/LC_MESSAGES/gnome-media-2.0.mo
+${PKGLOCALEDIR}/locale/it/LC_MESSAGES/gnome-media-2.0.mo
+${PKGLOCALEDIR}/locale/ja/LC_MESSAGES/gnome-media-2.0.mo
+${PKGLOCALEDIR}/locale/ko/LC_MESSAGES/gnome-media-2.0.mo
+${PKGLOCALEDIR}/locale/lt/LC_MESSAGES/gnome-media-2.0.mo
+${PKGLOCALEDIR}/locale/lv/LC_MESSAGES/gnome-media-2.0.mo
+${PKGLOCALEDIR}/locale/mn/LC_MESSAGES/gnome-media-2.0.mo
+${PKGLOCALEDIR}/locale/ms/LC_MESSAGES/gnome-media-2.0.mo
+${PKGLOCALEDIR}/locale/nl/LC_MESSAGES/gnome-media-2.0.mo
+${PKGLOCALEDIR}/locale/nn/LC_MESSAGES/gnome-media-2.0.mo
+${PKGLOCALEDIR}/locale/no/LC_MESSAGES/gnome-media-2.0.mo
+${PKGLOCALEDIR}/locale/pl/LC_MESSAGES/gnome-media-2.0.mo
+${PKGLOCALEDIR}/locale/pt/LC_MESSAGES/gnome-media-2.0.mo
+${PKGLOCALEDIR}/locale/pt_BR/LC_MESSAGES/gnome-media-2.0.mo
+${PKGLOCALEDIR}/locale/ro/LC_MESSAGES/gnome-media-2.0.mo
+${PKGLOCALEDIR}/locale/ru/LC_MESSAGES/gnome-media-2.0.mo
+${PKGLOCALEDIR}/locale/sk/LC_MESSAGES/gnome-media-2.0.mo
+${PKGLOCALEDIR}/locale/sl/LC_MESSAGES/gnome-media-2.0.mo
+${PKGLOCALEDIR}/locale/sq/LC_MESSAGES/gnome-media-2.0.mo
+${PKGLOCALEDIR}/locale/sv/LC_MESSAGES/gnome-media-2.0.mo
+${PKGLOCALEDIR}/locale/tr/LC_MESSAGES/gnome-media-2.0.mo
+${PKGLOCALEDIR}/locale/uk/LC_MESSAGES/gnome-media-2.0.mo
+${PKGLOCALEDIR}/locale/vi/LC_MESSAGES/gnome-media-2.0.mo
+${PKGLOCALEDIR}/locale/wa/LC_MESSAGES/gnome-media-2.0.mo
+${PKGLOCALEDIR}/locale/zh_CN/LC_MESSAGES/gnome-media-2.0.mo
+${PKGLOCALEDIR}/locale/zh_TW/LC_MESSAGES/gnome-media-2.0.mo
+share/omf/gnome-media/gnome-volume-control-C.omf
+share/omf/gnome-media/grecord-C.omf
+share/pixmaps/gnome-grecord.png
+share/pixmaps/gnome-media/gnome-sound-recorder/media-play.png
+share/pixmaps/gnome-media/gnome-sound-recorder/media-rec.png
+share/pixmaps/gnome-media/gnome-sound-recorder/media-stop.png
+share/pixmaps/gnome-mixer.png
+share/pixmaps/gnome-reclevel.png
+share/pixmaps/gnome-vumeter.png
+share/pixmaps/gstreamer-properties.png
+@dirrm share/pixmaps/gnome-media/gnome-sound-recorder
+@dirrm share/pixmaps/gnome-media
+@dirrm share/omf/gnome-media
+@dirrm share/gnome/help/gnome-volume-control/C/figures
+@dirrm share/gnome/help/gnome-volume-control/C
+@dirrm share/gnome/help/gnome-volume-control
+@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-sound-recorder/ui
+@dirrm share/gnome-sound-recorder
+@dirrm share/gnome-media-2.0/interfaces
+@dirrm share/gnome-media-2.0/icons
+@dirrm share/gnome-media-2.0
+@dirrm include/cddb-slave2
diff --git a/audio/gnome2-media/buildlink2.mk b/audio/gnome2-media/buildlink2.mk
new file mode 100644
index 00000000000..5bffee0025b
--- /dev/null
+++ b/audio/gnome2-media/buildlink2.mk
@@ -0,0 +1,35 @@
+# $NetBSD: buildlink2.mk,v 1.1.1.1 2003/04/25 04:49:42 rh Exp $
+#
+# This Makefile fragment is included by packages that use gnome-media.
+#
+# This file was created automatically using createbuildlink 2.4.
+#
+
+.if !defined(GNOME_MEDIA_BUILDLINK2_MK)
+GNOME_MEDIA_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= gnome-media
+BUILDLINK_DEPENDS.gnome-media?= gnome-media>=2.2.1.1
+BUILDLINK_PKGSRCDIR.gnome-media?= ../../audio/gnome2-media
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.gnome-media=gnome-media
+BUILDLINK_PREFIX.gnome-media_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.gnome-media+= include/cddb-slave2/*.h
+BUILDLINK_FILES.gnome-media+= lib/bonobo/servers/GNOME_Media_CDDBSlave2.server
+BUILDLINK_FILES.gnome-media+= lib/libcddb-slave2.*
+
+.include "../../audio/esound/buildlink2.mk"
+.include "../../misc/gst-plugins/buildlink2.mk"
+.include "../../misc/gstreamer/buildlink2.mk"
+.include "../../devel/GConf2-ui/buildlink2.mk"
+.include "../../devel/gail/buildlink2.mk"
+.include "../../devel/gettext-lib/buildlink2.mk"
+.include "../../devel/libgnomeui/buildlink2.mk"
+.include "../../devel/pkgconfig/buildlink2.mk"
+.include "../../x11/gnome-desktop/buildlink2.mk"
+
+BUILDLINK_TARGETS+= gnome-media-buildlink
+
+gnome-media-buildlink: _BUILDLINK_USE
+
+.endif # GNOME_MEDIA_BUILDLINK2_MK
diff --git a/audio/gnome2-media/distinfo b/audio/gnome2-media/distinfo
new file mode 100644
index 00000000000..cf8ffffbc80
--- /dev/null
+++ b/audio/gnome2-media/distinfo
@@ -0,0 +1,10 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/04/25 04:49:42 rh Exp $
+
+SHA1 (gnome-media-2.2.1.1.tar.gz) = a11d865bad134dcbeb24602c81333693610b013c
+Size (gnome-media-2.2.1.1.tar.gz) = 1821362 bytes
+SHA1 (patch-aa) = 07cafe9d7b9917a46d2416344a59d0b73d05dfe3
+SHA1 (patch-ab) = c900d880a67cc98bf5926e887e9d65a53add9eb0
+SHA1 (patch-ac) = d0a9e20782e47782ce399a462900cb76d953c930
+SHA1 (patch-ad) = 9d0ad2316afb3e09530a929784f10fc4e97dae8b
+SHA1 (patch-ae) = b792f73931d76437bdf8e6604b2fc43a59f03402
+SHA1 (patch-af) = 04475e6bf06c1d6982fbc05b28d05708c915725d
diff --git a/audio/gnome2-media/patches/patch-aa b/audio/gnome2-media/patches/patch-aa
new file mode 100644
index 00000000000..07d9890af33
--- /dev/null
+++ b/audio/gnome2-media/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/04/25 04:49:42 rh Exp $
+
+--- cddb-slave2/Makefile.in.orig 2003-04-25 14:09:24.000000000 +1000
++++ cddb-slave2/Makefile.in
+@@ -243,7 +243,7 @@ libcddb_slave2include_HEADERS = \
+ cddb-slave-client.h
+
+
+-schemadir = $(sysconfdir)/gconf/schemas
++schemadir = @GCONF_SCHEMA_FILE_DIR@
+ schema_DATA = CDDB-Slave2.schemas
+
+ server_in_files = GNOME_Media_CDDBSlave2.server.in.in
diff --git a/audio/gnome2-media/patches/patch-ab b/audio/gnome2-media/patches/patch-ab
new file mode 100644
index 00000000000..b9460743db5
--- /dev/null
+++ b/audio/gnome2-media/patches/patch-ab
@@ -0,0 +1,19 @@
+$NetBSD: patch-ab,v 1.1.1.1 2003/04/25 04:49:42 rh Exp $
+
+--- Makefile.in.orig 2003-02-06 01:52:32.000000000 +1000
++++ Makefile.in
+@@ -160,13 +160,12 @@ always_built_SUBDIRS = cddb-slave2
+ SUBDIRS = po $(always_built_SUBDIRS) \
+ @PROGRAMS_VUMETER@ \
+ @PROGRAMS_GMIX@ \
+- @PROGRAMS_GNOME_CD@ \
+ @PROGRAMS_GRECORD@ \
+ @PROGRAMS_GSTPROPS@
+
+
+ DIST_SUBDIRS = po $(always_built_SUBDIRS) \
+- vu-meter gmix grecord gnome-cd gstreamer-properties
++ vu-meter gmix grecord gstreamer-properties
+
+
+ EXTRA_DIST = gnome-media.spec.in configure acinclude.m4 COPYING-DOCS \
diff --git a/audio/gnome2-media/patches/patch-ac b/audio/gnome2-media/patches/patch-ac
new file mode 100644
index 00000000000..11be00bce4b
--- /dev/null
+++ b/audio/gnome2-media/patches/patch-ac
@@ -0,0 +1,30 @@
+$NetBSD: patch-ac,v 1.1.1.1 2003/04/25 04:49:43 rh Exp $
+
+--- gmix/gmix.c.orig 2002-12-17 02:57:02.000000000 +1000
++++ gmix/gmix.c
+@@ -48,6 +48,7 @@
+ #include <math.h>
+ #include <sys/errno.h>
+ #include <sys/ioctl.h>
++#include <sys/param.h>
+ #include <fcntl.h>
+ #include <errno.h>
+ #include <unistd.h>
+@@ -57,7 +58,7 @@
+ #ifdef ALSA
+ #include <sys/asoundlib.h>
+ #else
+-#ifdef HAVE_LINUX_SOUNDCARD_H
++#ifdef HAVE_LINUX_SOUNDCARD_H
+ #include <linux/soundcard.h>
+ #else
+ #include <machine/soundcard.h>
+@@ -644,7 +645,7 @@ open_device (int num)
+ /*
+ * mixer-name
+ */
+-#ifndef __FreeBSD__
++#ifndef BSD
+ res = ioctl (new_device->fd, SOUND_MIXER_INFO, &new_device->info);
+ if (res != 0) {
+ g_free (new_device);
diff --git a/audio/gnome2-media/patches/patch-ad b/audio/gnome2-media/patches/patch-ad
new file mode 100644
index 00000000000..0d6b9e80ec0
--- /dev/null
+++ b/audio/gnome2-media/patches/patch-ad
@@ -0,0 +1,18 @@
+$NetBSD: patch-ad,v 1.1.1.1 2003/04/25 04:49:43 rh Exp $
+
+--- gmix/gmix.h.orig Tue Jun 12 03:50:47 2001
++++ gmix/gmix.h
+@@ -36,6 +36,13 @@
+ } mixer_info;
+ #endif
+
++#if !defined(HAVE_MIXER_INFO) && !defined(SOUND_MIXER_INFO)
++typedef struct {
++ char id[20];
++ char name[40];
++} mixer_info;
++#endif
++
+ /*
+ * All, that is known about a mixer-device
+ */
diff --git a/audio/gnome2-media/patches/patch-ae b/audio/gnome2-media/patches/patch-ae
new file mode 100644
index 00000000000..e79b52e47c6
--- /dev/null
+++ b/audio/gnome2-media/patches/patch-ae
@@ -0,0 +1,13 @@
+$NetBSD: patch-ae,v 1.1.1.1 2003/04/25 04:49:42 rh Exp $
+
+--- gmix/Makefile.in.orig 2003-04-25 14:09:24.000000000 +1000
++++ gmix/Makefile.in
+@@ -183,7 +183,7 @@ Audio_DATA = $(Audio_in_files:.desktop.i
+
+ pixmap_DATA = gnome-mixer.png
+
+-@BUILD_GMIX_TRUE@schemadir = @BUILD_GMIX_TRUE@$(sysconfdir)/gconf/schemas
++@BUILD_GMIX_TRUE@schemadir = @BUILD_GMIX_TRUE@@GCONF_SCHEMA_FILE_DIR@
+ @BUILD_GMIX_TRUE@schema_DATA = @BUILD_GMIX_TRUE@gnome-volume-control.schemas
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+ CONFIG_HEADER = ../config.h
diff --git a/audio/gnome2-media/patches/patch-af b/audio/gnome2-media/patches/patch-af
new file mode 100644
index 00000000000..a3876865ad3
--- /dev/null
+++ b/audio/gnome2-media/patches/patch-af
@@ -0,0 +1,13 @@
+$NetBSD: patch-af,v 1.1.1.1 2003/04/25 04:49:43 rh Exp $
+
+--- grecord/Makefile.in.orig 2003-04-25 14:09:24.000000000 +1000
++++ grecord/Makefile.in
+@@ -180,7 +180,7 @@ pixmap_DATA = media-rec.png \
+ uidir = $(datadir)/gnome-sound-recorder/ui
+ ui_DATA = gsr.xml
+
+-schemadir = $(sysconfdir)/gconf/schemas
++schemadir = @GCONF_SCHEMA_FILE_DIR@
+ schema_DATA = gnome-sound-recorder.schemas
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+ CONFIG_HEADER = ../config.h