summaryrefslogtreecommitdiff
path: root/multimedia/gnome-media
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2004-02-22 16:30:59 +0000
committerjmmv <jmmv@pkgsrc.org>2004-02-22 16:30:59 +0000
commit9635aa6bd77d319c64908235ae2177d5b3287674 (patch)
treee6dc92406f9deed7b88324d4688fb5c5bdb7a760 /multimedia/gnome-media
parentb1d9985c82f7a8e128ea879b0b71732047017d2a (diff)
downloadpkgsrc-9635aa6bd77d319c64908235ae2177d5b3287674.tar.gz
Move gnome-media from audio to the multimedia category.
This is version 1.2.3nb9.
Diffstat (limited to 'multimedia/gnome-media')
-rw-r--r--multimedia/gnome-media/DESCR12
-rw-r--r--multimedia/gnome-media/Makefile29
-rw-r--r--multimedia/gnome-media/PLIST84
-rw-r--r--multimedia/gnome-media/distinfo10
-rw-r--r--multimedia/gnome-media/patches/patch-aa13
-rw-r--r--multimedia/gnome-media/patches/patch-ab13
-rw-r--r--multimedia/gnome-media/patches/patch-ac32
-rw-r--r--multimedia/gnome-media/patches/patch-ad18
-rw-r--r--multimedia/gnome-media/patches/patch-ae17
-rw-r--r--multimedia/gnome-media/patches/patch-af12
10 files changed, 240 insertions, 0 deletions
diff --git a/multimedia/gnome-media/DESCR b/multimedia/gnome-media/DESCR
new file mode 100644
index 00000000000..15d3a561f51
--- /dev/null
+++ b/multimedia/gnome-media/DESCR
@@ -0,0 +1,12 @@
+ This package contains gnome-media, a set of audio/multimedia tools
+for GNOME.
+
+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/multimedia/gnome-media/Makefile b/multimedia/gnome-media/Makefile
new file mode 100644
index 00000000000..65f4806ab9b
--- /dev/null
+++ b/multimedia/gnome-media/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/02/22 16:30:59 jmmv Exp $
+
+DISTNAME= gnome-media-1.2.3
+PKGREVISION= 9
+CATEGORIES= multimedia gnome
+MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gnome-media/1.2/}
+
+MAINTAINER= rh@NetBSD.org
+HOMEPAGE= http://www.gnome.org/
+COMMENT= Set of audio/multimedia applications for GNOME
+
+DEPENDS+= gnome1-dirs>=1.2:../../misc/gnome1-dirs
+
+BUILD_USES_MSGFMT= YES
+
+GNU_CONFIGURE= YES
+USE_BUILDLINK2= YES
+USE_PKGLOCALEDIR= YES
+USE_LIBTOOL= YES
+USE_X11BASE= YES
+USE_GNU_TOOLS+= make
+LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
+
+CONFIGURE_ENV+= XGETTEXT="${LOCALBASE}/bin/xgettext"
+
+.include "../../www/libghttp/buildlink2.mk"
+.include "../../x11/gnome-libs/buildlink2.mk"
+.include "../../textproc/scrollkeeper/omf.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/multimedia/gnome-media/PLIST b/multimedia/gnome-media/PLIST
new file mode 100644
index 00000000000..bd124dbbadc
--- /dev/null
+++ b/multimedia/gnome-media/PLIST
@@ -0,0 +1,84 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/02/22 16:31:00 jmmv Exp $
+bin/cddbslave
+bin/cddbsubmit
+bin/gmix
+bin/grecord
+bin/vumeter
+share/gnome/apps/Multimedia/gmix.desktop
+share/gnome/apps/Multimedia/vumeter.desktop
+share/gnome/apps/Multimedia/Soundrecorder.desktop
+share/gnome/cddb-submit-methods
+share/gnome/help/gmix/C/authors.html
+share/gnome/help/gmix/C/bugs.html
+share/gnome/help/gmix/C/figures/gmix-prefs.png
+share/gnome/help/gmix/C/figures/gmix.png
+share/gnome/help/gmix/C/gmix-prefs.html
+share/gnome/help/gmix/C/gmix-use.html
+share/gnome/help/gmix/C/gmix.sgml
+share/gnome/help/gmix/C/index.html
+share/gnome/help/gmix/C/license.html
+share/gnome/help/gmix/C/ln7.html
+share/gnome/help/gmix/C/topic.dat
+share/gnome/help/gmix/it/authors.html
+share/gnome/help/gmix/it/bugs.html
+share/gnome/help/gmix/it/figures/gmix-prefs.png
+share/gnome/help/gmix/it/figures/gmix.png
+share/gnome/help/gmix/it/gmix-prefs.html
+share/gnome/help/gmix/it/gmix-use.html
+share/gnome/help/gmix/it/gmix.sgml
+share/gnome/help/gmix/it/index.html
+share/gnome/help/gmix/it/license.html
+share/gnome/help/gmix/it/ln10.html
+share/gnome/help/gmix/it/topic.dat
+${PKGLOCALEDIR}/locale/az/LC_MESSAGES/gnome-media.mo
+${PKGLOCALEDIR}/locale/cs/LC_MESSAGES/gnome-media.mo
+${PKGLOCALEDIR}/locale/da/LC_MESSAGES/gnome-media.mo
+${PKGLOCALEDIR}/locale/de/LC_MESSAGES/gnome-media.mo
+${PKGLOCALEDIR}/locale/en_GB/LC_MESSAGES/gnome-media.mo
+${PKGLOCALEDIR}/locale/es/LC_MESSAGES/gnome-media.mo
+${PKGLOCALEDIR}/locale/et/LC_MESSAGES/gnome-media.mo
+${PKGLOCALEDIR}/locale/fi/LC_MESSAGES/gnome-media.mo
+${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/gnome-media.mo
+${PKGLOCALEDIR}/locale/ga/LC_MESSAGES/gnome-media.mo
+${PKGLOCALEDIR}/locale/hu/LC_MESSAGES/gnome-media.mo
+${PKGLOCALEDIR}/locale/it/LC_MESSAGES/gnome-media.mo
+${PKGLOCALEDIR}/locale/ja/LC_MESSAGES/gnome-media.mo
+${PKGLOCALEDIR}/locale/ko/LC_MESSAGES/gnome-media.mo
+${PKGLOCALEDIR}/locale/nl/LC_MESSAGES/gnome-media.mo
+${PKGLOCALEDIR}/locale/no/LC_MESSAGES/gnome-media.mo
+${PKGLOCALEDIR}/locale/pl/LC_MESSAGES/gnome-media.mo
+${PKGLOCALEDIR}/locale/pt/LC_MESSAGES/gnome-media.mo
+${PKGLOCALEDIR}/locale/pt_BR/LC_MESSAGES/gnome-media.mo
+${PKGLOCALEDIR}/locale/ru/LC_MESSAGES/gnome-media.mo
+${PKGLOCALEDIR}/locale/sk/LC_MESSAGES/gnome-media.mo
+${PKGLOCALEDIR}/locale/sl/LC_MESSAGES/gnome-media.mo
+${PKGLOCALEDIR}/locale/sv/LC_MESSAGES/gnome-media.mo
+${PKGLOCALEDIR}/locale/zh_TW.Big5/LC_MESSAGES/gnome-media.mo
+${PKGLOCALEDIR}/locale/zh_CN.GB2312/LC_MESSAGES/gnome-media.mo
+${PKGLOCALEDIR}/locale/ca/LC_MESSAGES/gnome-media.mo
+${PKGLOCALEDIR}/locale/el/LC_MESSAGES/gnome-media.mo
+${PKGLOCALEDIR}/locale/ro/LC_MESSAGES/gnome-media.mo
+${PKGLOCALEDIR}/locale/uk/LC_MESSAGES/gnome-media.mo
+${PKGLOCALEDIR}/locale/gl/LC_MESSAGES/gnome-media.mo
+${PKGLOCALEDIR}/locale/lt/LC_MESSAGES/gnome-media.mo
+${PKGLOCALEDIR}/locale/tr/LC_MESSAGES/gnome-media.mo
+share/omf/gnome-media/gmix-C.omf
+share/omf/gnome-media/gmix-it.omf
+share/pixmaps/gnome-grecord.png
+share/pixmaps/gnome-mixer.png
+share/pixmaps/gnome-vumeter.png
+share/mime-info/grecord.keys
+share/mime-info/grecord.mime
+@dirrm share/omf/gnome-media
+@comment in scrollkeeper: @dirrm share/omf
+@comment in gnome-dirs: @dirrm share/mime-info
+@exec ${MKDIR} %D/share/gnome/help/gmix/it/stylesheet-images
+@dirrm share/gnome/help/gmix/it/stylesheet-images
+@dirrm share/gnome/help/gmix/it/figures
+@dirrm share/gnome/help/gmix/it
+@exec ${MKDIR} %D/share/gnome/help/gmix/C/stylesheet-images
+@dirrm share/gnome/help/gmix/C/stylesheet-images
+@dirrm share/gnome/help/gmix/C/figures
+@dirrm share/gnome/help/gmix/C
+@dirrm share/gnome/help/gmix
+@comment in gnome-dirs: @dirrm share/gnome/apps/Multimedia
diff --git a/multimedia/gnome-media/distinfo b/multimedia/gnome-media/distinfo
new file mode 100644
index 00000000000..11d5544870a
--- /dev/null
+++ b/multimedia/gnome-media/distinfo
@@ -0,0 +1,10 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/02/22 16:31:00 jmmv Exp $
+
+SHA1 (gnome-media-1.2.3.tar.gz) = 2b20ed2eb69576dad1c740b14c095a01ba270d61
+Size (gnome-media-1.2.3.tar.gz) = 789032 bytes
+SHA1 (patch-aa) = 0fbbff8ba31f7a3c662db412701edab02e5af5fd
+SHA1 (patch-ab) = c86c48b12a5e61e84b0ae17b73ec3656996c8ed0
+SHA1 (patch-ac) = 3cb7bad07d5ea0265bc083705d51a6574c49410c
+SHA1 (patch-ad) = 9d0ad2316afb3e09530a929784f10fc4e97dae8b
+SHA1 (patch-ae) = 643f24f3d8a20bd2e7071e1c4d51a8a3590086e8
+SHA1 (patch-af) = bc3fe755bc8e12be3436e121da5a1c059883cd11
diff --git a/multimedia/gnome-media/patches/patch-aa b/multimedia/gnome-media/patches/patch-aa
new file mode 100644
index 00000000000..56029cd6b4a
--- /dev/null
+++ b/multimedia/gnome-media/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/02/22 16:31:00 jmmv Exp $
+
+--- gmix/prefs.c.orig Mon Jun 11 19:50:47 2001
++++ gmix/prefs.c
+@@ -34,6 +34,8 @@
+ #include <ctype.h>
+ #ifdef ALSA
+ #include <sys/asoundlib.h>
++#elif defined(HAVE_SOUNDCARD_H)
++#include <soundcard.h>
+ #else
+ #ifdef HAVE_LINUX_SOUNDCARD_H
+ #include <linux/soundcard.h>
diff --git a/multimedia/gnome-media/patches/patch-ab b/multimedia/gnome-media/patches/patch-ab
new file mode 100644
index 00000000000..833a52305f4
--- /dev/null
+++ b/multimedia/gnome-media/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2004/02/22 16:31:00 jmmv Exp $
+
+--- gmix/Makefile.in.orig Tue Jun 12 18:58:12 2001
++++ gmix/Makefile.in
+@@ -146,7 +146,7 @@
+ gmix_SOURCES = gmix.c gmix.h prefs.c prefs.h
+
+
+-gmix_LDADD = $(GNOME_LIBDIR) $(GNOMEUI_LIBS) $(INTLLIBS) $(GMIX_LIBS)
++gmix_LDADD = $(GNOME_LIBDIR) $(GNOMEUI_LIBS) $(INTLLIBS) $(GMIX_LIBS) -lossaudio
+
+
+ Audio_in_files = gmix.desktop.in
diff --git a/multimedia/gnome-media/patches/patch-ac b/multimedia/gnome-media/patches/patch-ac
new file mode 100644
index 00000000000..06db03b19e2
--- /dev/null
+++ b/multimedia/gnome-media/patches/patch-ac
@@ -0,0 +1,32 @@
+$NetBSD: patch-ac,v 1.1.1.1 2004/02/22 16:31:00 jmmv Exp $
+
+--- gmix/gmix.c.orig Mon Jun 11 19:50:47 2001
++++ gmix/gmix.c
+@@ -55,7 +55,9 @@
+ #ifdef ALSA
+ #include <sys/asoundlib.h>
+ #else
+-#ifdef HAVE_LINUX_SOUNDCARD_H
++#ifdef HAVE_SOUNDCARD_H
++#include <soundcard.h>
++#elif defined(HAVE_LINUX_SOUNDCARD_H)
+ #include <linux/soundcard.h>
+ #else
+ #include <machine/soundcard.h>
+@@ -538,12 +547,16 @@
+ /*
+ * mixer-name
+ */
++#ifdef HAVE_MIXER_INFO
+ res=ioctl(new_device->fd, SOUND_MIXER_INFO, &new_device->info);
+ if (res!=0) {
+ g_free(new_device);
+ return NULL;
+ }
+ if(!isalpha(new_device->info.name[0]))
++#else
++ g_snprintf(new_device->info.id, 31, "%d", num+1);
++#endif
+ g_snprintf(new_device->info.name, 31, "Card %d", num+1);
+ /*
+ * several bitmasks describing the mixer
diff --git a/multimedia/gnome-media/patches/patch-ad b/multimedia/gnome-media/patches/patch-ad
new file mode 100644
index 00000000000..2e21755ad4a
--- /dev/null
+++ b/multimedia/gnome-media/patches/patch-ad
@@ -0,0 +1,18 @@
+$NetBSD: patch-ad,v 1.1.1.1 2004/02/22 16:31:00 jmmv 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/multimedia/gnome-media/patches/patch-ae b/multimedia/gnome-media/patches/patch-ae
new file mode 100644
index 00000000000..9c80f95e6cc
--- /dev/null
+++ b/multimedia/gnome-media/patches/patch-ae
@@ -0,0 +1,17 @@
+$NetBSD: patch-ae,v 1.1.1.1 2004/02/22 16:31:00 jmmv Exp $
+
+--- Makefile.in.orig Tue Jun 12 18:58:00 2001
++++ Makefile.in
+@@ -135,10 +135,10 @@
+
+ always_built_SUBDIRS = cddbslave
+
+-SUBDIRS = intl po macros omf-install $(always_built_SUBDIRS) @PROGRAMS_VUMETER@ @PROGRAMS_GMIX@ @PROGRAMS_TCD@ @PROGRAMS_GRECORD@
++SUBDIRS = intl po macros omf-install $(always_built_SUBDIRS) @PROGRAMS_VUMETER@ @PROGRAMS_GMIX@ @PROGRAMS_GRECORD@
+
+
+-DIST_SUBDIRS = intl po macros omf-install $(always_built_SUBDIRS) vu-meter gmix tcd grecord
++DIST_SUBDIRS = intl po macros omf-install $(always_built_SUBDIRS) vu-meter gmix grecord
+
+
+ EXTRA_DIST = gnome-media.spec.in configure acinclude.m4 COPYING-DOCS sgmldocs.make xml-i18n-extract.in xml-i18n-merge.in xml-i18n-update.in
diff --git a/multimedia/gnome-media/patches/patch-af b/multimedia/gnome-media/patches/patch-af
new file mode 100644
index 00000000000..7fbc3dae96e
--- /dev/null
+++ b/multimedia/gnome-media/patches/patch-af
@@ -0,0 +1,12 @@
+$NetBSD: patch-af,v 1.1.1.1 2004/02/22 16:31:00 jmmv Exp $
+--- po/Makefile.in.in.orig Tue Oct 5 21:27:59 1999
++++ po/Makefile.in.in Sun Nov 7 22:38:50 1999
+@@ -19,7 +19,7 @@
+ prefix = @prefix@
+ exec_prefix = @exec_prefix@
+ datadir = $(prefix)/@DATADIRNAME@
+-localedir = $(datadir)/locale
++localedir = $(prefix)/share/locale
+ gnulocaledir = $(prefix)/share/locale
+ gettextsrcdir = $(prefix)/share/gettext/po
+ subdir = po