1
0
mirror of https://github.com/gryf/gryf-overlay.git synced 2026-04-07 23:33:31 +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 @@
MD5 911bcc81619d27dc466f20e17bb80d16 eq-xmms-0.6.tar.gz 529447

View File

@@ -0,0 +1 @@
MD5 911bcc81619d27dc466f20e17bb80d16 eq-xmms-0.6.tar.gz 529447

View File

@@ -0,0 +1,2 @@
MD5 a1fa7eb14b3258f655292e42d44b2eb3 eq-xmms-0.6-sse_filters.patch.bz2 8889
MD5 911bcc81619d27dc466f20e17bb80d16 eq-xmms-0.6.tar.gz 529447

View File

@@ -0,0 +1,3 @@
MD5 d8ec07230c2d9dfae63c8ad63295c29c eq-xmms-0.6-cvs-20051113.patch.bz2 10540
MD5 a1fa7eb14b3258f655292e42d44b2eb3 eq-xmms-0.6-sse_filters.patch.bz2 8889
MD5 911bcc81619d27dc466f20e17bb80d16 eq-xmms-0.6.tar.gz 529447

View File

@@ -0,0 +1,3 @@
MD5 d8ec07230c2d9dfae63c8ad63295c29c eq-xmms-0.6-cvs-20051113.patch.bz2 10540
MD5 a1fa7eb14b3258f655292e42d44b2eb3 eq-xmms-0.6-sse_filters.patch.bz2 8889
MD5 911bcc81619d27dc466f20e17bb80d16 eq-xmms-0.6.tar.gz 529447

View File

@@ -0,0 +1 @@
MD5 a211f894906696c5bb1cfa65f57e8155 eq-xmms-0.7.tar.gz 632130

View File

@@ -0,0 +1,61 @@
diff -urN eq-xmms-0.6.orig/src/configuration.c eq-xmms-0.6/src/configuration.c
--- eq-xmms-0.6.orig/src/configuration.c 2004-05-16 00:11:31.000000000 +0000
+++ eq-xmms-0.6/src/configuration.c 2006-01-14 06:56:29.000000000 +0000
@@ -640,6 +640,13 @@
gint i,chn;
cfgfile = xmms_cfg_open_default_file();
+ if (!eqcfg.skin)
+ eqcfg.skin = "default";
+ if (!eqcfg.eqpreset_default_file)
+ eqcfg.eqpreset_default_file = g_strdup("eq_dir_default.preset");
+ if (!eqcfg.eqpreset_extension)
+ eqcfg.eqpreset_extension = g_strdup("eq_preset");
+
xmms_cfg_write_int(cfgfile, "eq_plugin", "x", eqcfg.x);
xmms_cfg_write_int(cfgfile, "eq_plugin", "y", eqcfg.y);
xmms_cfg_write_int(cfgfile, "eq_plugin", "band_num", eqcfg.band_num);
diff -urN eq-xmms-0.6.orig/src/eq.c eq-xmms-0.6/src/eq.c
--- eq-xmms-0.6.orig/src/eq.c 2004-05-16 02:24:31.000000000 +0000
+++ eq-xmms-0.6/src/eq.c 2006-01-14 07:07:21.000000000 +0000
@@ -31,7 +31,7 @@
static gint raisevol(gpointer data);
static gint monitor_song_change(gpointer data);
static int volume_diff;
-static guint monitor_id;
+static guint monitor_id = 0;
static gint previous_pos;
static gchar *previous_filename;
@@ -75,7 +75,8 @@
static void cleanup(void)
{
clean_gui();
- gtk_timeout_remove(monitor_id);
+ if (monitor_id)
+ gtk_timeout_remove(monitor_id);
g_free(previous_filename);
}
diff -urN eq-xmms-0.6.orig/src/gui.c eq-xmms-0.6/src/gui.c
--- eq-xmms-0.6.orig/src/gui.c 2004-04-03 11:55:58.000000000 +0000
+++ eq-xmms-0.6/src/gui.c 2006-01-14 06:56:29.000000000 +0000
@@ -194,8 +194,16 @@
void clean_gui(void)
{
eq_write_config();
- gtk_widget_destroy(GTK_WIDGET(eqskinwin));
- gtk_widget_destroy(GTK_WIDGET(EQequalizerwin));
+
+ if (eqskinwin) {
+ gtk_widget_destroy(GTK_WIDGET(eqskinwin));
+ eqskinwin = NULL;
+ }
+
+ if (EQequalizerwin) {
+ gtk_widget_destroy(GTK_WIDGET(EQequalizerwin));
+ EQequalizerwin = NULL;
+ }
eq_has_been_initialized = FALSE;
}

View File

@@ -0,0 +1,11 @@
--- eq-xmms-0.6/src/iir.c 2004-05-16 06:24:31.000000000 +0400
+++ eq-xmms/src/iir.c 2005-03-22 16:14:58.000000000 +0300
@@ -167,7 +167,7 @@
* the buffer (length is in bytes)
*/
halflength = (length >> 1);
- for (index = 0; index < halflength; index+=2)
+ for (index = 0; index < halflength; index+=nch)
{
/* For each channel */
for (channel = 0; channel < nch; channel++)

View File

@@ -0,0 +1,11 @@
--- eq-xmms-0.6.orig/configure.in 2004-05-15 18:55:08.000000000 -0700
+++ eq-xmms-0.6/configure.in 2004-06-28 11:52:02.034771660 -0700
@@ -115,7 +115,7 @@
[ --enable-sse2 force SSE2 instruction generation [[default=auto]]],
sse2=$enableval, sse2=no)
-ARCH_DEFINES_DEFAULT="-DARCH_X86"
+ARCH_DEFINES_DEFAULT=""
if test "x$debug" = xyes; then
XF_CFLAGS="-Wall -g -O2 -DDEBUG $XF_CFLAGS"
else

View File

@@ -0,0 +1,13 @@
diff --exclude=CVS -Nura eq-xmms-0.6/src/equalizer.c /home/voxus/stuff/cvs/eq-xmms/src/equalizer.c
--- eq-xmms-0.6/src/equalizer.c 2004-04-03 02:28:04.000000000 +0400
+++ /home/voxus/stuff/cvs/eq-xmms/src/equalizer.c 2004-05-25 03:33:36.000000000 +0400
@@ -755,7 +755,8 @@
EQequalizer_volume = EQcreate_hslider(&EQequalizer_wlist, EQequalizer_bg, EQequalizer_gc, 61, 4, 97, 8, 1, 30, 1, 30, 3, 7, 4, 61, 0, 94, EQequalizer_volume_frame_cb, EQequalizer_volume_motion_cb, EQequalizer_volume_release_cb, SKIN_EQSHADE);
EQequalizer_balance = EQcreate_hslider(&EQequalizer_wlist, EQequalizer_bg, EQequalizer_gc, 164, 4, 42, 8, 11, 30, 11, 30, 3, 7, 4, 164, 0, 39, EQequalizer_balance_frame_cb, EQequalizer_balance_motion_cb, EQequalizer_balance_release_cb, SKIN_EQSHADE);
EQequalizer_set_shade(eqcfg.shaded);
- EQequalizer_set_shade_slider();
+ // Quick fix for bug #897452
+ //EQequalizer_set_shade_slider();
// end of shade elements
tpix = EQcreate_pbutton(&EQequalizer_wlist, EQequalizer_bg, EQequalizer_gc, 42, 33, 26, 10, 0, 11, 27, 11, EQequalizer_quickhi_pushed, SKIN_EQQUICK);

View File

@@ -0,0 +1,18 @@
--- eq-xmms-0.6/src/iir_sse.c 2005-07-02 22:03:39.061780984 +0400
+++ eq-xmms/src/iir_sse.c 2005-07-02 22:02:35.121501384 +0400
@@ -195,7 +195,6 @@
}
}
-#ifdef ARCH_X86
/* Round function provided by Frank Klemm which saves around 100K
* CPU cycles in my PIII for each call to the IIR function with 4K samples
*/
@@ -211,7 +210,6 @@
rounded_value = ( rounded_value >> 31 ) ^ 0x7FFF;
return rounded_value;
}
-#endif
__inline__ int iir(gpointer * d, gint length, gint srate, gint nch)
{

View File

@@ -0,0 +1,45 @@
--- configure.in 2006-01-16 20:04:58.268962424 +0300
+++ configure.in 2006-01-16 20:07:43.681815848 +0300
@@ -155,6 +155,9 @@
XF_CFLAGS="$XF_CFLAGS -DBENCHMARK"
fi
;;
+ x86_64-*-*)
+ autodetect=no
+ ARCH_DEFINES="-DARCH_X86_64 -march=k8"
esac
;;
*)
--- src/iir.c 2006-01-16 20:01:23.000000000 +0300
+++ src/iir.c 2006-01-16 20:09:50.580524312 +0300
@@ -60,7 +60,7 @@
clean_history();
}
-#ifdef ARCH_X86
+#if defined(ARCH_X86) || defined(ARCH_X86_64)
/* Round function provided by Frank Klemm which saves around 100K
* CPU cycles in my PIII for each call to the IIR function with 4K samples
*/
--- src/iir_fpu.c 2006-01-15 03:26:32.000000000 +0300
+++ src/iir_fpu.c 2006-01-16 20:10:22.492672928 +0300
@@ -163,7 +163,7 @@
#ifdef ARCH_PPC
tempgint = round_ppc(out[channel]);
#else
-#ifdef ARCH_X86
+#if defined(ARCH_X86) || defined(ARCH_X86_64)
tempgint = round_trick(out[channel]);
#else
tempgint = (int)out[channel];
--- src/iir.h 2006-01-15 03:26:32.000000000 +0300
+++ src/iir.h 2006-01-16 20:15:35.987014544 +0300
@@ -58,7 +58,7 @@
__inline__ int iir(gpointer * d, gint length, gint srate, gint nch);
-#ifdef ARCH_X86
+#if defined(ARCH_X86) || defined(ARCH_X86_64)
__inline__ int round_trick(float floatvalue_to_round);
#endif
#ifdef ARCH_PPC