1
0
mirror of https://github.com/gryf/gryf-overlay.git synced 2026-04-10 08:53:33 +02:00

initial import

This commit is contained in:
root
2010-02-09 21:25:29 +01:00
commit b2719dc011
1080 changed files with 41656 additions and 0 deletions

View File

@@ -0,0 +1,52 @@
# ChangeLog for media-plugins/xmms-synaesthesia
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-synaesthesia/ChangeLog,v 1.11 2005/05/01 17:16:35 hansmi Exp $
01 May 2005; Michael Hanselmann <hansmi@gentoo.org>
xmms-synaesthesia-0.0.3_rc3-r1.ebuild:
Stable on ppc.
*xmms-synaesthesia-0.0.3_rc3-r1 (23 Mar 2005)
23 Mar 2005; Jeremy Huddleston <eradicator@gentoo.org>
-xmms-synaesthesia-0.0.3_rc3.ebuild,
+xmms-synaesthesia-0.0.3_rc3-r1.ebuild:
Remove config.cache file which got included in the tarball by upstream.
Revbump, but keeping stable.
14 Sep 2004; Jeremy Huddleston <eradicator@gentoo.org>
xmms-synaesthesia-0.0.3_rc3.ebuild:
Stable amd64, sparc.
15 Jul 2004; Tom Martin <slarti@gentoo.org>
files/xmms-synaesthesia-0.0.3_rc3-amd64.patch:
Fixed the patch.
15 Jul 2004; Tom Martin <slarti@gentoo.org>
xmms-synaesthesia-0.0.3_rc3.ebuild:
Added amd64 patches, thanks to Tyler Montbriand <tsm@accesscomm.ca> in bug
54937. Added ~amd64 keyword.
07 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org>
+files/xmms-synaesthesia-0.0.3_rc3-gcc34.patch:
-amd64. Added gcc-3.4 patch
07 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org>
xmms-synaesthesia-0.0.3_rc3.ebuild:
~sparc
14 Apr 2004; Jeremy Huddleston <eradicator@gentoo.org>
xmms-synaesthesia-0.0.3_rc3.ebuild:
Stable x86.
30 Mar 2004; David Holm <dholm@gentoo.org>
xmms-synaesthesia-0.0.3_rc3.ebuild:
Added to ~ppc.
*xmms-synaesthesia-0.0.3_rc3 (22 Jun 2003)
22 Jun 2003; jje <jje@gentoo.org> xmms-synaesthesia-0.0.3_rc3.ebuild:
Initial revision.
Submitted by: Susie Edgeworth <arienadean@yahoo.com>

View File

@@ -0,0 +1,24 @@
AUX xmms-synaesthesia-0.0.3_rc3-amd64.patch 4703 RMD160 6d99431090c1c5ff3d6e46806f54a6c92ca93c8b SHA1 1c1e7350fd388a7e334e5fa0f2cb3b971e8ee5c8 SHA256 e3fa126818b77d9b1b7c95ba86b56dcd49aad8f37fdc5d5322f6929299eae40a
MD5 3981baf76e4c63e1a2120828475f757d files/xmms-synaesthesia-0.0.3_rc3-amd64.patch 4703
RMD160 6d99431090c1c5ff3d6e46806f54a6c92ca93c8b files/xmms-synaesthesia-0.0.3_rc3-amd64.patch 4703
SHA256 e3fa126818b77d9b1b7c95ba86b56dcd49aad8f37fdc5d5322f6929299eae40a files/xmms-synaesthesia-0.0.3_rc3-amd64.patch 4703
AUX xmms-synaesthesia-0.0.3_rc3-gcc34.patch 4218 RMD160 022f8a5f7d4d3dffe1639eb299cdb29d6a702e8a SHA1 9ec79a85cfbdd5c5df238e18907b189702d3a193 SHA256 8a4c32f363e163adb845e1285f0e9532a07203cc5e93d622fe1a19c21acb6857
MD5 859fafdcac4022b35eca555e692a64d1 files/xmms-synaesthesia-0.0.3_rc3-gcc34.patch 4218
RMD160 022f8a5f7d4d3dffe1639eb299cdb29d6a702e8a files/xmms-synaesthesia-0.0.3_rc3-gcc34.patch 4218
SHA256 8a4c32f363e163adb845e1285f0e9532a07203cc5e93d622fe1a19c21acb6857 files/xmms-synaesthesia-0.0.3_rc3-gcc34.patch 4218
DIST synaesthesia-xmms-0.0.3-rc3.tar.gz 152116
EBUILD xmms-synaesthesia-0.0.3_rc3-r1.ebuild 850 RMD160 6d13d7266d34a5e09042296b2389a6caac1c1d4b SHA1 cd82fe0e3675c111f0c9bae418986e9912a1a42d SHA256 a4fb68262eef376d0df35b6983c0899df2fae727544aaa6b03269c0b2e01d91e
MD5 ee8dbf8be9ab8a5f11e1a9db32a3e9c0 xmms-synaesthesia-0.0.3_rc3-r1.ebuild 850
RMD160 6d13d7266d34a5e09042296b2389a6caac1c1d4b xmms-synaesthesia-0.0.3_rc3-r1.ebuild 850
SHA256 a4fb68262eef376d0df35b6983c0899df2fae727544aaa6b03269c0b2e01d91e xmms-synaesthesia-0.0.3_rc3-r1.ebuild 850
MISC ChangeLog 1717 RMD160 706717e3a5670a054e293f1333a7f4efbc0e192d SHA1 4bcb63ceb3d3b3bd6677dedaf255828e8891b062 SHA256 b74d9a3ad04b52873dc2ca8a1bba204e230cd9d7b03ba62c1f7bd313f3c16610
MD5 d8dfa88f79a5633ed61437751a50129b ChangeLog 1717
RMD160 706717e3a5670a054e293f1333a7f4efbc0e192d ChangeLog 1717
SHA256 b74d9a3ad04b52873dc2ca8a1bba204e230cd9d7b03ba62c1f7bd313f3c16610 ChangeLog 1717
MISC metadata.xml 158 RMD160 6842e2189a50bd8a98e84802c38180ac1421c00e SHA1 703cea5a2109d41f7c87993c1f01d418a4c85174 SHA256 dfb5b47e6836db39fb187301dfcff1c2605e91d13d21db160806a563d8c75f9b
MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158
RMD160 6842e2189a50bd8a98e84802c38180ac1421c00e metadata.xml 158
SHA256 dfb5b47e6836db39fb187301dfcff1c2605e91d13d21db160806a563d8c75f9b metadata.xml 158
MD5 7ba67c996535a47c1b9e0136f01a631f files/digest-xmms-synaesthesia-0.0.3_rc3-r1 79
RMD160 6c8bc5e1f2629ccb11b94c88b130584c4d7e1415 files/digest-xmms-synaesthesia-0.0.3_rc3-r1 79
SHA256 6bb851acf63a46027428ebe7840cea8e5831d3b96b3ddc9b49d181d9b606c391 files/digest-xmms-synaesthesia-0.0.3_rc3-r1 79

View File

@@ -0,0 +1 @@
MD5 6d807486d30a733d1069e39e4ecf6074 synaesthesia-xmms-0.0.3-rc3.tar.gz 152116

View File

@@ -0,0 +1,179 @@
--- syna_core.c.orig 2004-07-15 22:18:39.666434864 +0100
+++ syna_core.c 2004-07-15 22:19:19.330405024 +0100
@@ -150,17 +150,20 @@
static void fadeFade()
{
- register unsigned long *ptr = (unsigned long *) output;
+ register unsigned int *ptr = (unsigned int *) output;
int i = outWidth * outHeight * 2 / 4;
do
{
/* //Bytewize version was: *(ptr++) -= *ptr+(*ptr>>1)>>4;*/
if (*ptr)
+ {
/* //if (*ptr & 0xf0f0f0f0ul)*/
- *(ptr++) -=
+ *(ptr) -=
((*ptr & 0xf0f0f0f0ul) >> 4) +
((*ptr & 0xe0e0e0e0ul) >> 5);
+ ptr++;
+ }
/* //else {
// *(ptr++) = (*ptr * 14 >> 4) & 0x0f0f0f0ful;
//}*/
@@ -203,9 +206,13 @@
gint x, y, i, j, start, end;
gint step = outWidth * 2;
- lastLastOutput = lastOutput;
- lastOutput = output;
- output = t;
+ synx_output[2]=synx_output[1];
+ synx_output[1]=synx_output[0];
+ synx_output[0]=t;
+
+// lastLastOutput = lastOutput;
+// lastOutput = output;
+// output = t;
for (x = 0, i = 0, j = outWidth * (outHeight - 1) * 2; x < outWidth; x++, i += 2, j += 2)
{
@@ -273,13 +280,18 @@
static void fadeHeat()
{
- guint16 *t = (guint16 *) lastLastOutput;
+// guint16 *t = (guint16 *) lastLastOutput;
+ guint16 *t=synx_output[2];
gint x, y, i, j, start, end;
gint step = outWidth * 2;
- lastLastOutput = lastOutput;
- lastOutput = output;
- output = t;
+ synx_output[2]=synx_output[1];
+ synx_output[1]=synx_output[0];
+ synx_output[0]=t;
+
+// lastLastOutput = lastOutput;
+// lastOutput = output;
+// output = t;
for (x = 0, i = 0, j = outWidth * (outHeight - 1) * 2; x < outWidth; x++, i += 2, j += 2)
{
--- syna_xmms.c.orig 2004-07-15 21:56:12.813187680 +0100
+++ syna_xmms.c 2004-07-15 22:19:29.203904024 +0100
@@ -20,6 +20,8 @@
#include <gdk/gdkkeysyms.h>
#include <pthread.h>
#include <string.h>
+#include <stdlib.h>
+#include <string.h>
#include "math.h"
#include <xmms/plugin.h>
#include <xmms/util.h>
@@ -285,6 +287,7 @@
case SYNX_MENU_FULLSCRN:
synx_fullscreen_toggle();
break;
+ break;
default:
break;
/* ugh */
@@ -385,22 +388,32 @@
gdk_draw_pixmap(area->window, area->style->white_gc, bg_pixmap, 0, 0, (win_w-LOGO_OWIDTH)/2, (win_h-LOGO_OHEIGHT)/2, LOGO_WIDTH, LOGO_HEIGHT);
}
-static void *synx_main_thread(void *arg) {
+static void *synx_main_thread(void *arg)
+{
+ guchar *tmpscr=NULL;
+ int cursize=0;
/* I don't care about lost conditions, darn it! */
pthread_mutex_lock(&dummy_mutex);
- for (;;) {
+ for (;;)
+ {
pthread_cond_wait(&update_signal, &dummy_mutex);
if (synx_quit) break;
GDK_THREADS_ENTER();
SYNX_LOCK();
- if (GTK_WIDGET_REALIZED(window)) {
- guchar tmpscr[synx_img_w*synx_img_h]; /* FIXME: Probably GCC-specific. */
+ if (GTK_WIDGET_REALIZED(window))
+ {
+// guchar tmpscr[synx_img_w*synx_img_h]; /* FIXME: Probably GCC-specific. */
+ if((tmpscr==NULL)||(cursize!=(synx_img_w*synx_img_h)))
+ {
+ tmpscr=(guchar *)realloc(tmpscr,synx_img_w*synx_img_h);
+ cursize=synx_img_w*synx_img_h;
+ memset(tmpscr,0x80,cursize);
+ }
syna_fade();
syna_coreGo(pcm_data);
-
synx_screenShow(synx_output[0], tmpscr);
gdk_draw_indexed_image(area->window,area->style->white_gc,(win_w-synx_img_w)/2,(win_h-synx_img_h)/2,synx_img_w,synx_img_h,GDK_RGB_DITHER_NONE,tmpscr,synx_img_w,cmap);
}
@@ -408,6 +421,9 @@
GDK_THREADS_LEAVE();
}
+ if(tmpscr!=NULL)
+ free(tmpscr);
+
pthread_mutex_unlock(&dummy_mutex);
pthread_exit(NULL);
@@ -480,16 +496,19 @@
SYNX_UNLOCK();
}
-static void synx_playback_start(void) {
+static void synx_playback_start(void)
+{
SYNX_LOCK();
synx_playing = TRUE;
- if (GTK_WIDGET_REALIZED(window) && synx_cfg.auto_fullscreen) {
+ if (GTK_WIDGET_REALIZED(window) && synx_cfg.auto_fullscreen)
+ {
if (!synx_am_fullscreen) synx_fullscreen_toggle();
}
SYNX_UNLOCK();
}
-static void synx_playback_stop(void) {
+static void synx_playback_stop(void)
+{
SYNX_LOCK();
synx_playing = FALSE;
@@ -503,9 +522,10 @@
SYNX_UNLOCK();
}
-static void synx_screenShow(guint16 *src, unsigned char *dest) {
- register unsigned long *ptr2 = (unsigned long*)src;
- unsigned long *ptr1 = (unsigned long*)dest;
+static void synx_screenShow(guint16 *src, unsigned char *dest)
+{
+ register unsigned int *ptr2 = (unsigned int*)src;
+ unsigned int *ptr1 = (unsigned int*)dest;
int i = synx_img_w*synx_img_h/4;
/* Asger Alstrup Nielsen's (alstrup@diku.dk)
@@ -563,7 +583,8 @@
}
}
-static void synx_about(void) {
+static void synx_about(void)
+{
GtkWidget *dialog, *button, *label;
dialog = gtk_dialog_new();

View File

@@ -0,0 +1,86 @@
diff -Naur synaesthesia-xmms-0.0.3-rc3.orig/confdefs.h synaesthesia-xmms-0.0.3-rc3/confdefs.h
--- synaesthesia-xmms-0.0.3-rc3.orig/confdefs.h 1969-12-31 16:00:00.000000000 -0800
+++ synaesthesia-xmms-0.0.3-rc3/confdefs.h 2004-07-07 14:32:18.156189458 -0700
@@ -0,0 +1,3 @@
+
+#define PACKAGE "synaesthesia-xmms"
+#define VERSION "0.0.3-rc3"
diff -Naur synaesthesia-xmms-0.0.3-rc3.orig/config.cache synaesthesia-xmms-0.0.3-rc3/config.cache
--- synaesthesia-xmms-0.0.3-rc3.orig/config.cache 1969-12-31 16:00:00.000000000 -0800
+++ synaesthesia-xmms-0.0.3-rc3/config.cache 2004-07-07 14:32:19.064038909 -0700
@@ -0,0 +1,26 @@
+# This file is a shell script that caches the results of configure
+# tests run on this system so they can be shared between configure
+# scripts and configure runs. It is not useful on other systems.
+# If it contains results you don't want to keep, you may remove or edit it.
+#
+# By default, configure uses ./config.cache as the cache file,
+# creating it if it does not exist already. You can give configure
+# the --cache-file=FILE option to use a different cache file; that is
+# what configure does when it calls configure scripts in
+# subdirectories, so they share the cache.
+# Giving --cache-file=/dev/null disables caching, for debugging configure.
+# config.status only pays attention to the cache file if you give it the
+# --recheck option to rerun configure.
+#
+ac_cv_path_LD=${ac_cv_path_LD=/usr/x86_64-pc-linux-gnu/bin/ld}
+ac_cv_path_NM=${ac_cv_path_NM='/usr/bin/nm -B'}
+ac_cv_path_install=${ac_cv_path_install='/bin/install -c'}
+ac_cv_prog_CC=${ac_cv_prog_CC=gcc}
+ac_cv_prog_LN_S=${ac_cv_prog_LN_S='ln -s'}
+ac_cv_prog_RANLIB=${ac_cv_prog_RANLIB=ranlib}
+ac_cv_prog_cc_cross=${ac_cv_prog_cc_cross=no}
+ac_cv_prog_cc_g=${ac_cv_prog_cc_g=yes}
+ac_cv_prog_cc_works=${ac_cv_prog_cc_works=yes}
+ac_cv_prog_gcc=${ac_cv_prog_gcc=yes}
+ac_cv_prog_gnu_ld=${ac_cv_prog_gnu_ld=yes}
+ac_cv_prog_make_make_set=${ac_cv_prog_make_make_set=yes}
diff -Naur synaesthesia-xmms-0.0.3-rc3.orig/config.log synaesthesia-xmms-0.0.3-rc3/config.log
--- synaesthesia-xmms-0.0.3-rc3.orig/config.log 1969-12-31 16:00:00.000000000 -0800
+++ synaesthesia-xmms-0.0.3-rc3/config.log 2004-07-07 14:32:19.023045707 -0700
@@ -0,0 +1,26 @@
+This file contains any messages produced by compilers while
+running configure, to aid debugging if configure makes a mistake.
+
+configure:582: checking for a BSD compatible install
+configure:635: checking whether build environment is sane
+configure:692: checking whether make sets ${MAKE}
+configure:738: checking for working aclocal
+configure:751: checking for working autoconf
+configure:764: checking for working automake
+configure:777: checking for working autoheader
+configure:790: checking for working makeinfo
+configure:882: checking host system type
+configure:903: checking build system type
+configure:923: checking for ranlib
+configure:953: checking for gcc
+configure:1066: checking whether the C compiler (gcc -O2 -pipe -fomit-frame-pointer ) works
+configure:1082: gcc -o conftest -O2 -pipe -fomit-frame-pointer conftest.c 1>&5
+configure:1108: checking whether the C compiler (gcc -O2 -pipe -fomit-frame-pointer ) is a cross-compiler
+configure:1113: checking whether we are using GNU C
+configure:1122: gcc -E conftest.c
+configure:1141: checking whether gcc accepts -g
+configure:1184: checking for ld used by GCC
+configure:1246: checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld
+GNU ld version 2.15.90.0.1.1 20040303
+configure:1262: checking for BSD-compatible nm
+configure:1298: checking whether ln -s works
diff -Naur synaesthesia-xmms-0.0.3-rc3.orig/syna_xmms.c synaesthesia-xmms-0.0.3-rc3/syna_xmms.c
--- synaesthesia-xmms-0.0.3-rc3.orig/syna_xmms.c 2001-04-26 13:55:51.000000000 -0700
+++ synaesthesia-xmms-0.0.3-rc3/syna_xmms.c 2004-07-07 14:31:50.743735231 -0700
@@ -19,6 +19,7 @@
#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>
#include <pthread.h>
+#include <string.h>
#include "math.h"
#include <xmms/plugin.h>
#include <xmms/util.h>
@@ -285,6 +286,7 @@
synx_fullscreen_toggle();
break;
default:
+ break;
/* ugh */
}
}

View File

@@ -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>

View File

@@ -0,0 +1,36 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-synaesthesia/xmms-synaesthesia-0.0.3_rc3-r1.ebuild,v 1.2 2005/05/01 17:16:35 hansmi Exp $
IUSE=""
inherit gnuconfig eutils
MY_P=${PN#*-}-${PN%-*}-${PV/_rc/-rc}
S=${WORKDIR}/${MY_P}
SRC_URI="http://staff.xmms.org/zinx/xmms/${MY_P}.tar.gz"
HOMEPAGE="http://staff.xmms.org/zinx/xmms/"
DESCRIPTION="Synaesthesia effect in a XMMS version."
DEPEND="media-sound/xmms"
RDEPEND=""
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 ppc sparc amd64"
src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/${P}-gcc34.patch
use amd64 && epatch ${FILESDIR}/${P}-amd64.patch
gnuconfig_update
rm config.cache
}
src_install() {
make DESTDIR="${D}" install || die
dodoc AUTHORS ChangeLog NEWS README
}