summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2003-09-17 02:35:56 +0000
committerSeemant Kulleen <seemant@gentoo.org>2003-09-17 02:35:56 +0000
commit2f7d6e5f08dfc4ca90f110b96525df06a8e631ac (patch)
tree345b15406d7e423d80196899416a0f4d8312bf2f /media-plugins
parentnew dancing tux visualisation plugin for xmms (diff)
downloadgentoo-2-2f7d6e5f08dfc4ca90f110b96525df06a8e631ac.tar.gz
gentoo-2-2f7d6e5f08dfc4ca90f110b96525df06a8e631ac.tar.bz2
gentoo-2-2f7d6e5f08dfc4ca90f110b96525df06a8e631ac.zip
new dancing tux visualisation plugin for xmms
Diffstat (limited to 'media-plugins')
-rw-r--r--media-plugins/xmms-wmdiscotux/ChangeLog14
-rw-r--r--media-plugins/xmms-wmdiscotux/Manifest6
-rw-r--r--media-plugins/xmms-wmdiscotux/files/digest-xmms-wmdiscotux-1.31
-rw-r--r--media-plugins/xmms-wmdiscotux/files/xmms-wmdiscotux-1.3-gcc-3.3.patch20
-rw-r--r--media-plugins/xmms-wmdiscotux/files/xmms-wmdiscotux-1.3-makefile.patch27
-rw-r--r--media-plugins/xmms-wmdiscotux/metadata.xml5
-rw-r--r--media-plugins/xmms-wmdiscotux/xmms-wmdiscotux-1.3.ebuild35
7 files changed, 107 insertions, 1 deletions
diff --git a/media-plugins/xmms-wmdiscotux/ChangeLog b/media-plugins/xmms-wmdiscotux/ChangeLog
new file mode 100644
index 000000000000..0edbae6d7e79
--- /dev/null
+++ b/media-plugins/xmms-wmdiscotux/ChangeLog
@@ -0,0 +1,14 @@
+# ChangeLog for media-plugins/xmms-wmdiscotux
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-wmdiscotux/ChangeLog,v 1.1 2003/09/17 02:35:55 seemant Exp $
+
+*xmms-wmdiscotux-1.3 (16 Sep 2003)
+
+ 16 Sep 2003; Seemant Kulleen <seemant@gentoo.org>
+ xmms-wmdiscotux-1.3.ebuild, files/xmms-wmdiscotux-1.3-gcc-3.3.patch,
+ files/xmms-wmdiscotux-1.3-makefile.patch:
+ Visualisation plugin for XMMS which shows a headbanging Tux. Thanks to: Keith
+ Constable <kccricket@mindless.com> in bug #26770. He created the two patches
+ in the files/ directory as well, and this compiles and works with gcc-3.3. as
+ well
+
diff --git a/media-plugins/xmms-wmdiscotux/Manifest b/media-plugins/xmms-wmdiscotux/Manifest
index c9a44ba68ffe..f583717117dc 100644
--- a/media-plugins/xmms-wmdiscotux/Manifest
+++ b/media-plugins/xmms-wmdiscotux/Manifest
@@ -1,2 +1,6 @@
-MD5 68af1f996ccb9bb5588881b994faf4eb xmms-wmdiscotux-1.3.ebuild 678
+MD5 b4941374794726bcb4ae625a14610d2e xmms-wmdiscotux-1.3.ebuild 920
+MD5 e00987c14ee355eb44daf5a5496f996a ChangeLog 691
+MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158
MD5 17e9a7d61d42d5dfacd5679afab562bf files/digest-xmms-wmdiscotux-1.3 65
+MD5 1174280451151c98f86a7c6cf1ad56f8 files/xmms-wmdiscotux-1.3-makefile.patch 1076
+MD5 f1203aa358e5225a31b77ec70da7802d files/xmms-wmdiscotux-1.3-gcc-3.3.patch 656
diff --git a/media-plugins/xmms-wmdiscotux/files/digest-xmms-wmdiscotux-1.3 b/media-plugins/xmms-wmdiscotux/files/digest-xmms-wmdiscotux-1.3
new file mode 100644
index 000000000000..d67d5c280ec1
--- /dev/null
+++ b/media-plugins/xmms-wmdiscotux/files/digest-xmms-wmdiscotux-1.3
@@ -0,0 +1 @@
+MD5 8043c73f29f1305446594a0353ad7839 wmdiscotux-1.3.tar.gz 83180
diff --git a/media-plugins/xmms-wmdiscotux/files/xmms-wmdiscotux-1.3-gcc-3.3.patch b/media-plugins/xmms-wmdiscotux/files/xmms-wmdiscotux-1.3-gcc-3.3.patch
new file mode 100644
index 000000000000..acfc86f9a102
--- /dev/null
+++ b/media-plugins/xmms-wmdiscotux/files/xmms-wmdiscotux-1.3-gcc-3.3.patch
@@ -0,0 +1,20 @@
+--- wmdiscotux.c.old 2000-11-16 09:51:52.000000000 -0500
++++ wmdiscotux.c 2003-09-15 16:03:54.000000000 -0400
+@@ -359,16 +359,7 @@
+ gtk_container_border_width(GTK_CONTAINER(dialog), 5);
+
+
+- label = gtk_label_new ("
+-wmDiscoTux\n\
+-v " VERSION "\n\
+-
+-by Antti Takala <fragment@nic.fi>\n\
+-
+-get the newest version from:\n\
+-http://wmdiscotux.stc.cx/\n\
+-
+-");
++ label = gtk_label_new ("wmDiscoTux\nv " VERSION "\nby Antti Takala <fragment@nic.fi>\nget the newest version from:\nhttp://wmdiscotux.stc.cx/\n");
+
+ gtk_box_pack_start(GTK_BOX(GTK_DIALOG(dialog)->vbox), label, FALSE, FALSE, 0);
+ gtk_widget_show(label);
diff --git a/media-plugins/xmms-wmdiscotux/files/xmms-wmdiscotux-1.3-makefile.patch b/media-plugins/xmms-wmdiscotux/files/xmms-wmdiscotux-1.3-makefile.patch
new file mode 100644
index 000000000000..5304e57d9b45
--- /dev/null
+++ b/media-plugins/xmms-wmdiscotux/files/xmms-wmdiscotux-1.3-makefile.patch
@@ -0,0 +1,27 @@
+--- Makefile.old 2000-11-15 13:33:43.000000000 -0500
++++ Makefile 2003-08-16 22:16:19.000000000 -0400
+@@ -1,14 +1,17 @@
++
+ CC = gcc
+-INCLUDEDIR = -I/usr/include -I/usr/X11R6/include -I/usr/local/include
+-CFLAGS = -O2 -Wall $(INCLUDEDIR) -fPIC `glib-config --cflags`
+-LFLAGS = -shared -fPIC -lpthread -L/usr/lib -ldl -lm -L/usr/X11R6/lib -lXpm -lX11
++OPT = -O2
++INCLUDEDIR = -I/usr/include -I/usr/X11R6/include -I/usr/local/include `gtk-config --cflags` `glib-config --cflags`
++CFLAGS = $(OPT) -Wall $(INCLUDEDIR) -fPIC
++LFLAGS = -shared -fPIC -lpthread -L/usr/lib -ldl -lm -L/usr/X11R6/lib -lXpm -lX11
++INSTALL-DIR = `xmms-config --visualization-plugin-dir`
+
+ libwmdiscotux.so: wmdiscotux.o wmgeneral.o
+- $(CC) -o libwmdiscotux.so wmdiscotux.o wmgeneral.o $(LFLAGS)
++ $(CC) -o libwmdiscotux.so wmdiscotux.o wmgeneral.o $(LFLAGS)
+
+ clean:
+- rm -f *.o core *.so*
++ rm -f *.o core *.so*
+
+ install: libwmdiscotux.so
+- cp libwmdiscotux.so `xmms-config --visualization-plugin-dir`
+-
++ mkdir -p $(DESTDIR)/$(INSTALL-DIR)
++ install libwmdiscotux.so $(DESTDIR)/$(INSTALL-DIR)
diff --git a/media-plugins/xmms-wmdiscotux/metadata.xml b/media-plugins/xmms-wmdiscotux/metadata.xml
new file mode 100644
index 000000000000..e1774e3d9ad7
--- /dev/null
+++ b/media-plugins/xmms-wmdiscotux/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sound</herd>
+</pkgmetadata>
diff --git a/media-plugins/xmms-wmdiscotux/xmms-wmdiscotux-1.3.ebuild b/media-plugins/xmms-wmdiscotux/xmms-wmdiscotux-1.3.ebuild
new file mode 100644
index 000000000000..6061ec458e79
--- /dev/null
+++ b/media-plugins/xmms-wmdiscotux/xmms-wmdiscotux-1.3.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-wmdiscotux/xmms-wmdiscotux-1.3.ebuild,v 1.1 2003/09/17 02:35:55 seemant Exp $
+
+IUSE=""
+
+MY_P=${P/xmms-}
+S=${WORKDIR}/${MY_P}
+DESCRIPTION="XMMS visualization plugin of a dockable, headbanging Tux."
+HOMEPAGE="http://fragment.stc.cx/?page=wmdiscotux"
+SRC_URI="http://fragment.stc.cx/files/${MY_P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa ~mips ~arm"
+
+DEPEND="media-sound/xmms"
+
+src_unpack() {
+ unpack ${A} || die
+ cd ${S} || die
+ # patch fixes the Makefile for portage
+ epatch ${FILESDIR}/${P}-makefile.patch
+ # patch fixes strange escaping in wmdiscotux.c
+ epatch ${FILESDIR}/${P}-gcc-3.3.patch
+}
+
+src_compile() {
+ emake OPT="$CFLAGS" || die
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+ dodoc README COPYING
+}