Hello community, here is the log from the commit of package schismtracker for openSUSE:Factory checked in at Wed Jun 1 11:16:07 CEST 2011.
-------- New Changes file: --- /dev/null 2010-08-26 16:28:41.000000000 +0200 +++ /mounts/work_src_done/STABLE/schismtracker/schismtracker.changes 2011-04-09 03:50:15.000000000 +0200 @@ -0,0 +1,37 @@ +------------------------------------------------------------------- +Sat Apr 9 01:39:48 UTC 2011 - [email protected] + +- updated to Hg snapshot 20110409 +- removed __DATE__/__TIME__ from source (via patch) + +------------------------------------------------------------------- +Mon Aug 30 23:41:58 UTC 2010 - [email protected] + +- Add a patch to schismtracker that restores sound for + sound chips that lack hardware mixing capabilities. + +------------------------------------------------------------------- +Wed Feb 24 12:22:56 UTC 2010 - [email protected] + +- renamed to schismtracker + +------------------------------------------------------------------- +Wed Feb 24 09:50:35 UTC 2010 - [email protected] + +- updated to Hg snapshot 20100224 + +------------------------------------------------------------------- +Tue Dec 11 11:08:26 CET 2007 - [email protected] + +- updated to CVS snapshot 20071208 + +------------------------------------------------------------------- +Thu Nov 1 16:59:48 CET 2007 - [email protected] + +- added desktop and icon files + +------------------------------------------------------------------- +Tue Sep 18 17:57:58 CEST 2007 - [email protected] + +- created package (initial version 0.4.99.1 = 0.5rc1) + calling whatdependson for head-i586 New: ---- schism-alsa.diff schism-nodate.diff schismtracker-0.20110409.tar.xz schismtracker.changes schismtracker.desktop schismtracker.spec ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ schismtracker.spec ++++++ # # spec file for package schismtracker # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: schismtracker Version: 0.20110409 Release: 1 Url: http://schismtracker.org/ License: GPL v2 or later Group: Productivity/Multimedia/Sound/Editors and Convertors Summary: Music editor that aims to match the look and feel of Impulse Tracker #Hg-Clone: http://schismtracker.org/hg/ Source: %name-%version.tar.xz Source1: %name.desktop Patch1: schism-alsa.diff Patch2: schism-nodate.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: SDL-devel >= 1.2.10 BuildRequires: xorg-x11-devel BuildRequires: alsa-devel freeglut-devel gcc-c++ BuildRequires: python >= 2.4 xz BuildRequires: update-desktop-files %description Schism Tracker is a free reimplementation of Impulse Tracker, a program used to create high quality music without the requirements of specialized, expensive equipment, and with a unique "finger feel" that is difficult to replicate in-part. The player is based on a highly modified version of the Modplug engine, with a number of bugfixes and changes to improve IT playback. %prep %setup -q -n %name %patch -P 1 -P 2 -p1 %build if [ ! -e configure ]; then autoreconf -fi fi %configure make %{?_smp_mflags} %install make DESTDIR=%buildroot install # install icons for size in 16 22 24 32 36 48 64 72 96 128 192; do install -D -m 0644 icons/schism-icon-$size.png %buildroot%_datadir/icons/hicolor/${size}x$size/apps/%name.png done install -D -m 0644 icons/schism-icon.svg %buildroot%_datadir/icons/hicolor/scalable/apps/%name.svg # install desktop file %suse_update_desktop_file -i %name %clean rm -rf %buildroot %files %defattr(-,root,root) %doc AUTHORS COPYING NEWS README %_bindir/schismtracker %_datadir/icons/hicolor %_datadir/applications/%name.desktop %_mandir/man*/* %changelog ++++++ schism-alsa.diff ++++++ From: Jan Engelhardt <[email protected]> schism/audio: do not force "hw" ALSA device Forcing direct hardware access using the "hw" device is incorrect IMHO, especially so with sound chips that lack hardware mixing on any of the three levels: (1) concurrent access to the hw device, (2) lack of volume control, (3) lack of rate conversion. "default" is the sane choice to have schism output to the converters that handle any or all of these three points. Developer Storlek claims problems with fake devices. Upon furhter investigation, fake devices such as the ALSA plugins have a reason to ignore it, or at least tinker with it. Consider my case with a Realtek ALC259 (driven by snd-hda-intel) that fails (1) and (3): By default, schismtracker asks for 1024 fragments and 44.1 kHz. If the sound chip however does not support hardware mixing and can only do, for example, 48 kHz, ALSA will automatically add converters into the audio chain such that the program can still operate at 44100 Hz without distorted sound. 1024 fragments of 128 bytes each are requested and thusly allocated, that is, the sound buffer will be 128 kilobytes in total. This value is taken at face - but for 48 kHz. The 44.1 kHz ALSA user thus only gets a 44100/48000*131072 = 120422 byte buffer, or 940 fragments. The rate conversion will then automatically interpolate the signal to 1024 fragments. (No distortions or lag ensues from this for me.) So 940 is correct and the comment seemingly bogus. Storlek still does not like changing "hw" :-( A workaround is to call schismtracker with the "-a alsa:default" option. --- schism/audio_playback.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) Index: schismtracker/schism/audio_playback.c =================================================================== --- schismtracker.orig/schism/audio_playback.c +++ schismtracker/schism/audio_playback.c @@ -1274,15 +1274,10 @@ static int _audio_open(const char *drive if (SDL_InitSubSystem(SDL_INIT_AUDIO) < 0) return 0; - /* This is needed in order to coax alsa into actually respecting the buffer size, since it's evidently - ignored entirely for "fake" devices such as "default" -- which SDL happens to use if no device name - is set. (see SDL_alsa_audio.c: http://tinyurl.com/ybf398f) - If hw doesn't exist, so be it -- let this fail, we'll fall back to the dummy device, and the - user can pick a more reasonable device later. */ if (SDL_AudioDriverName(driver_name, sizeof(driver_name)) != NULL && !strcmp(driver_name, "alsa")) { char *dev = getenv("AUDIODEV"); if (!dev || !*dev) - put_env_var("AUDIODEV", "hw"); + put_env_var("AUDIODEV", "default"); } /* ... THIS is needed because, if the buffer size isn't a power of two, the dsp driver will punt since ++++++ schism-nodate.diff ++++++ From: Jan Engelhardt <[email protected]> Upstream: never Replace __DATE__ and __TIME__ with static text. Note: rpmlint will still complain when the static date that was encoded happens to be the current day. That is ok, since rpmlint uses just a heuristic - excessive rebuilds should not actually be happening. --- schism/version.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) Index: schismtracker/schism/version.c =================================================================== --- schismtracker.orig/schism/version.c +++ schismtracker/schism/version.c @@ -100,6 +100,10 @@ Note: this is a hack, it'd be great to h Fortunately, most of this should be able to be optimized down to static assignment. */ +/* update whenever you checkout */ +#define __HG_DATE__ "Apr 9 2011" +#define __HG_TIME__ "00:00:00" /* screw this */ + static int get_version_tm(struct tm *version) { char *ret; @@ -119,7 +123,7 @@ static int get_version_tm(struct tm *ver return 1; /* Argh. */ memset(version, 0, sizeof(*version)); - ret = strptime(__DATE__, "%b %e %Y", version); + ret = strptime(__HG_DATE__, "%b %e %Y", version); if (ret && !*ret) return 1; /* Give up; we don't know anything. */ @@ -152,7 +156,7 @@ void ver_init(void) #endif snprintf(top_banner_normal, sizeof(top_banner_normal) - 1, "Schism Tracker %s built %s %s", - ver, __DATE__, __TIME__); + ver, __HG_DATE__, __HG_TIME__); top_banner_normal[sizeof(top_banner_normal) - 1] = '\0'; /* to be sure */ } ++++++ schismtracker.desktop ++++++ [Desktop Entry] Name=Schism Tracker GenericName=Tracker Comment=Music editor that aims to match the look and feel of Impulse Tracker Exec=schismtracker Icon=schismtracker Categories=AudioVideo;Sequencer; Terminal=false Type=Application ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
