Update of /cvsroot/fink/dists/10.4-transitional/unstable/main/finkinfo/sound
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17791/10.4-transitional/unstable/main/finkinfo/sound
Modified Files:
xmms.info xmms.patch
Log Message:
New upstream version (from tracker item #1200136)
Index: xmms.info
===================================================================
RCS file:
/cvsroot/fink/dists/10.4-transitional/unstable/main/finkinfo/sound/xmms.info,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- xmms.info 21 Mar 2006 17:06:34 -0000 1.5
+++ xmms.info 25 Mar 2006 11:41:26 -0000 1.6
@@ -1,18 +1,15 @@
Package: xmms
-Version: 1.2.8
-Revision: 4
-Architecture: powerpc
+Version: 1.2.10
+Revision: 1
Depends: %N-bin (>= %v-%r)
-BuildDepends: esound, libogg, libvorbis0, libmikmod, glib, gtk+, libxml, fink
(>= 0.9.9), libgettext3-dev, gettext-bin, gettext-tools, libiconv-dev, x11-dev,
esound-bin, audiofile, gcc3.3
+BuildDepends: esound, libogg, libvorbis0, libmikmod, glib, gtk+, libxml, fink
(>= 0.9.9), gettext-dev, gettext-bin, gettext-tools, libiconv-dev, x11-dev,
esound-bin, audiofile
Replaces: %N (<< 1.2.7)
Source: http://www.xmms.org/files/1.2.x/%n-%v.tar.bz2
-Source-MD5: d523735b59232f0eedd45dc2b7a4f5ad
+Source-MD5: 03a85cfc5e1877a2e1f7be4fa1d3f63c
Patch: %n.patch
NoSetLDFLAGS: true
SetCPPFLAGS: -no-cpp-precomp
SetLIBS: -L%p/lib
-NoSetMAKEFLAGS: true
-SetMAKEFLAGS: -j1
ConfigureParams: --mandir=%p/share/man --without-gnome
CompileScript: <<
export CC=gcc-3.3; export CXX=g++-3.3; ./configure %c
@@ -22,12 +19,12 @@
<<
InstallScript: <<
make install DESTDIR=%d
- rm -f %i/share/locale/locale.alias
+ rm -f %p/share/locale/locale.alias
<<
BuildDependsOnly: True
SplitOff: <<
Package: %N-shlibs
- Depends: esound-bin, libvorbis0-shlibs, libmikmod-shlibs, libxml-shlibs,
libgettext3-shlibs
+ Depends: esound-bin, libvorbis0-shlibs, libmikmod-shlibs, libxml-shlibs
Replaces: %N (<< 1.2.7)
Description: Multimedia player shared libraries
Files: lib/libxmms.*.dylib
@@ -43,7 +40,7 @@
DocFiles: AUTHORS COPYING ChangeLog FAQ NEWS README TODO
<<
DocFiles: AUTHORS COPYING ChangeLog FAQ NEWS README TODO
-Description: Multimedia player development headers and libraries
+Description: Multimedia player headers and libraries
DescDetail: <<
X MultiMedia System is a sound player written from scratch. Since it
uses the WinAmp GUI, it can use WinAmp skins. It can play mp3s, mods, s3ms,
@@ -51,7 +48,7 @@
visualization plugins.
<<
License: GPL
-Maintainer: None <[email protected]>
+Maintainer: Henning Kiel <[EMAIL PROTECTED]>
DescPackaging: <<
Originally packaged by Masanori Sekino.
<<
Index: xmms.patch
===================================================================
RCS file:
/cvsroot/fink/dists/10.4-transitional/unstable/main/finkinfo/sound/xmms.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- xmms.patch 27 Apr 2005 03:26:38 -0000 1.1
+++ xmms.patch 25 Mar 2006 11:41:26 -0000 1.2
@@ -1,29 +1,6 @@
-diff -Naur xmms-1.2.8.old/configure xmms-1.2.8.new/configure
---- xmms-1.2.8.old/configure Fri Sep 5 06:00:38 2003
-+++ xmms-1.2.8.new/configure Mon Dec 8 03:04:01 2003
-@@ -3918,7 +3918,7 @@
- # FIXME: Relying on posixy $() will cause problems for
- # cross-compilation, but unfortunately the echo tests do not
- # yet detect zsh echo's removal of \ escapes.
-- archive_cmds='$nonopt $(test "x$module" = xyes && echo -bundle || echo
-dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linker_flags
-install_name $rpath/$soname $verstring'
-+ archive_cmds='$nonopt $(test x$module = xyes && echo -bundle || echo
-dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linker_flags
$(test .$module != .yes && echo -install_name $rpath/$soname $verstring)'
- # We need to add '_' to the symbols in $export_symbols first
- #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
- hardcode_direct=yes
-diff -Naur xmms-1.2.8.old/gnomexmms/gnomexmms.desktop
xmms-1.2.8.new/gnomexmms/gnomexmms.desktop
---- xmms-1.2.8.old/gnomexmms/gnomexmms.desktop Tue Nov 28 07:20:58 2000
-+++ xmms-1.2.8.new/gnomexmms/gnomexmms.desktop Mon Dec 8 03:04:01 2003
-@@ -9,6 +9,6 @@
- Name[sv]=XMMS-panelprogram
- Name[pt_BR]=Applet do XMMS
- Exec=gnomexmms --activate-goad-server=gnomexmms
--Icon=
-+Icon=gnomexmms.xpm
- Terminal=0
- Type=Application
-diff -Naur xmms-1.2.8.old/libxmms/util.c xmms-1.2.8.new/libxmms/util.c
---- xmms-1.2.8.old/libxmms/util.c Wed Jan 15 00:09:18 2003
-+++ xmms-1.2.8.new/libxmms/util.c Mon Dec 8 03:04:01 2003
+diff -urN xmms-1.2.10/libxmms/util.c xmms-1.2.10_patched/libxmms/util.c
+--- xmms-1.2.10/libxmms/util.c 2003-05-19 23:22:07.000000000 +0200
++++ xmms-1.2.10_patched/libxmms/util.c 2005-05-11 19:22:53.000000000 +0200
@@ -15,6 +15,13 @@
#include <sys/sysctl.h>
#endif
@@ -38,38 +15,45 @@
#if TIME_WITH_SYS_TIME
# include <sys/time.h>
# include <time.h>
-@@ -73,6 +80,28 @@
+@@ -73,6 +80,35 @@
gboolean xmms_check_realtime_priority(void)
{
+#if defined (__APPLE__)
-+ struct thread_time_constraint_policy ttcpolicy;
-+ int bus_speed, mib [2] = { CTL_HW, HW_BUS_FREQ };
-+ size_t len;
++ mach_port_t machThread = mach_thread_self();
++ kern_return_t result = 0;
++ thread_extended_policy_data_t timeShareData;
++ thread_precedence_policy_data_t precidenceData;
+
-+ len = sizeof (bus_speed);
-+ sysctl (mib, 2, &bus_speed, &len, NULL, 0);
++ //Copied from
http://lists.apple.com/archives/scitech/2003/Jan/msg00119.html. We put priority
to 20 and, this is the important part,
++ //set this thread not to timeshare, but to a round robin priority.
++ precidenceData.importance = 20;
++ timeShareData.timeshare = FALSE;
+
-+ /* Is it enough? */
-+ ttcpolicy.period = bus_speed / 120;
-+ ttcpolicy.computation = bus_speed / 1000;
-+ ttcpolicy.constraint = bus_speed / 500;
-+ ttcpolicy.preemptible = 1;
++ //Set the scheduling flavor. We want to do this first, since doing so
++ //can alter the priority
++ result = thread_policy_set( machThread,
++ THREAD_EXTENDED_POLICY,
++ &timeShareData,
++ THREAD_EXTENDED_POLICY_COUNT );
+
-+ thread_policy_set (mach_thread_self (),
-+ THREAD_TIME_CONSTRAINT_POLICY,
-+ (int*)&ttcpolicy,
-+ THREAD_TIME_CONSTRAINT_POLICY_COUNT);
++ if( 0 != result )
++ return result;
++
++ //Now set the priority
++ return thread_policy_set( machThread,
++ THREAD_PRECEDENCE_POLICY,
++ &precidenceData,
++ THREAD_PRECEDENCE_POLICY_COUNT );
+
+ return TRUE;
+#endif
-+
#ifdef HAVE_SCHED_SETSCHEDULER
#ifdef __FreeBSD__
/*
-diff -Naur xmms-1.2.8.old/ltmain.sh xmms-1.2.8.new/ltmain.sh
---- xmms-1.2.8.old/ltmain.sh Wed Aug 13 21:59:04 2003
-+++ xmms-1.2.8.new/ltmain.sh Mon Dec 8 04:11:26 2003
+diff -urN xmms-1.2.10/ltmain.sh xmms-1.2.10_patched/ltmain.sh
+--- xmms-1.2.10/ltmain.sh 2003-09-04 22:59:05.000000000 +0200
++++ xmms-1.2.10_patched/ltmain.sh 2005-05-11 17:50:01.000000000 +0200
@@ -4053,10 +4053,10 @@
# Directory that this library needs to be installed in:
@@ -85,17 +69,3 @@
done
fi
-diff -Naur xmms-1.2.8.old/xmms/Makefile.in xmms-1.2.8.new/xmms/Makefile.in
---- xmms-1.2.8.old/xmms/Makefile.in Fri Sep 5 06:01:20 2003
-+++ xmms-1.2.8.new/xmms/Makefile.in Mon Dec 8 03:11:12 2003
-@@ -176,8 +176,8 @@
- bin_PROGRAMS = xmms
-
- xmms_LDFLAGS = -export-dynamic
--xmms_LDADD = @GTK_LIBS@ @PTHREAD_LIBS@ @SM_LIBS@ @VM_LIBS@ \
[EMAIL PROTECTED]@ $(top_builddir)/libxmms/libxmms.la @LTLIBINTL@
-+xmms_LDADD = $(top_builddir)/libxmms/libxmms.la @GTK_LIBS@ \
[EMAIL PROTECTED]@ @SM_LIBS@ @VM_LIBS@ @POSIX_LIBS@ @LTLIBINTL@
-
-
- INCLUDES = @GTK_CFLAGS@ @XMMS_DEFINES@ @ARCH_DEFINES@ \
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Fink-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-commits