wok-next rev 20467

Up cookutils (1034), TiMidity++, alpine, caps, alsaequal
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Mar 08 01:13:43 2018 +0200 (2018-03-08)
parents f7076d85b4de
children d463ecdfa17e
files TiMidity++/receipt TiMidity++/stuff/patches/mfi.c.patch TiMidity++/stuff/patches/series alpine/receipt alsaequal/receipt alsaequal/stuff/patches/caps_9.x.patch alsaequal/stuff/patches/false_error.patch alsaequal/stuff/patches/makefile.patch alsaequal/stuff/patches/series caps/receipt caps/stuff/patches/fix-overload.patch caps/stuff/patches/series cookutils/receipt
line diff
     1.1 --- a/TiMidity++/receipt	Wed Mar 07 23:20:34 2018 +0200
     1.2 +++ b/TiMidity++/receipt	Thu Mar 08 01:13:43 2018 +0200
     1.3 @@ -19,7 +19,6 @@
     1.4  		--enable-audio=alsa,portaudio,jack,ao,vorbis,flac,speex \
     1.5  		--enable-interface=gtk,xaw \
     1.6  		--enable-alsaseq \
     1.7 -		--disable-libOggFLACtest \
     1.8  		--with-default-path=/etc/timidity++/ \
     1.9  		$CONFIGURE_ARGS &&
    1.10  	make &&
    1.11 @@ -33,13 +32,3 @@
    1.12  	DEPENDS="alsa-lib portaudio jack libao libvorbis libogg \
    1.13  	flac gtk+ xorg-libXaw"
    1.14  }
    1.15 -
    1.16 -post_install() {
    1.17 -	# create config file
    1.18 -	mkdir "$1/usr/share/timidity"
    1.19 -	touch "$1/usr/share/timidity/timidity.cfg"
    1.20 -}
    1.21 -
    1.22 -post_remove() {
    1.23 -	rm -rf "$1/usr/share/timidity"
    1.24 -}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/TiMidity++/stuff/patches/mfi.c.patch	Thu Mar 08 01:13:43 2018 +0200
     2.3 @@ -0,0 +1,20 @@
     2.4 +--- timidity/mfi.c	2004-02-17 17:02:18.000000000 +0100
     2.5 ++++ timidity/mfi.c.new	2017-02-14 04:41:24.000000000 +0100
     2.6 +@@ -344,7 +344,7 @@
     2.7 + #define SEND_LASTNOTEINFO(lni, ch)				if (LASTNOTEINFO_HAS_DATA((lni)[ch])) SendLastNoteInfo(lni, ch);
     2.8 + #define SEND_AND_CLEAR_LASTNOTEINFO(lni, ch)	if (LASTNOTEINFO_HAS_DATA((lni)[ch])) { SendLastNoteInfo(lni, ch); (lni)[ch].on = NO_LAST_NOTE_INFO; }
     2.9 + 
    2.10 +-inline void StoreLastNoteInfo(LastNoteInfo *info, int channel, int time, int duration, int note, int velocity)
    2.11 ++static inline void StoreLastNoteInfo(LastNoteInfo *info, int channel, int time, int duration, int note, int velocity)
    2.12 + {
    2.13 + 	info[channel].on = time;
    2.14 + 	info[channel].off = time + duration;
    2.15 +@@ -352,7 +352,7 @@
    2.16 + 	info[channel].velocity = velocity;
    2.17 + }
    2.18 + 
    2.19 +-inline void SendLastNoteInfo(const LastNoteInfo *info, int channel)
    2.20 ++static inline void SendLastNoteInfo(const LastNoteInfo *info, int channel)
    2.21 + {
    2.22 + 	NOTE_BUF_EV_DEBUGSTR(channel, info[channel].on, note_name[info[channel].note % 12], info[channel].note / 12, info[channel].velocity, info[channel].off);
    2.23 + 	MIDIEVENT(info[channel].on, ME_NOTEON, channel, info[channel].note, info[channel].velocity);
     3.1 --- a/TiMidity++/stuff/patches/series	Wed Mar 07 23:20:34 2018 +0200
     3.2 +++ b/TiMidity++/stuff/patches/series	Thu Mar 08 01:13:43 2018 +0200
     3.3 @@ -1,3 +1,6 @@
     3.4  # from https://www.archlinux.org/packages/extra/x86_64/timidity++/
     3.5  -p1|timidity-tk86.patch
     3.6  -p1|timidity-jack.patch
     3.7 +
     3.8 +# https://bugs.gentoo.org/606894
     3.9 +-p0|mfi.c.patch
     4.1 --- a/alpine/receipt	Wed Mar 07 23:20:34 2018 +0200
     4.2 +++ b/alpine/receipt	Thu Mar 08 01:13:43 2018 +0200
     4.3 @@ -1,47 +1,32 @@
     4.4 -# SliTaz package receipt.
     4.5 +# SliTaz package receipt v2.
     4.6  
     4.7  PACKAGE="alpine"
     4.8  VERSION="2.00"
     4.9  CATEGORY="network"
    4.10 -SHORT_DESC="Fast, easy to use email client."
    4.11 +SHORT_DESC="Fast, easy to use email client"
    4.12  MAINTAINER="paul@slitaz.org"
    4.13  LICENSE="Apache"
    4.14  WEB_SITE="http://www.washington.edu/alpine/"
    4.15 +
    4.16  TARBALL="$PACKAGE.tar.gz"
    4.17  WGET_URL="ftp://ftp.cac.washington.edu/alpine/$TARBALL"
    4.18 -TAGS="mail client"
    4.19  
    4.20 -DEPENDS="openssl pam ncurses"
    4.21 -BUILD_DEPENDS="openssl-dev pam-dev ncurses-dev gfortran gettext"
    4.22 +BUILD_DEPENDS="openssl10-dev pam-dev ncurses-dev gfortran gettext"
    4.23  
    4.24 -# Rules to configure and make the package.
    4.25 -compile_rules()
    4.26 -{
    4.27 +compile_rules() {
    4.28 +	CPPFLAGS="$CPPFLAGS -I/usr/include/openssl-1.0" \
    4.29  	./configure \
    4.30  		--without-tcl \
    4.31  		--without-ldap \
    4.32  		--without-krb5 \
    4.33 +		--with-ssl-include-dir=/usr/include/openssl-1.0/ \
    4.34 +		--with-ssl-lib-dir=/usr/lib/openssl-1.0/ \
    4.35  		$CONFIGURE_ARGS &&
    4.36  	make && make DESTDIR=$DESTDIR install
    4.37  }
    4.38  
    4.39 -# Rules to gen a SliTaz package suitable for Tazpkg.
    4.40 -genpkg_rules()
    4.41 -{
    4.42 -	mkdir -p $fs/usr
    4.43 -	cp -a $install/usr/bin $fs/usr
    4.44 +genpkg_rules() {
    4.45 +	copy @std
    4.46 +	DEPENDS="ncurses openssl10 pam"
    4.47 +	TAGS="mail client"
    4.48  }
    4.49 -
    4.50 -post_install()
    4.51 -{
    4.52 -	# link old libldap libraries
    4.53 -	cd "$1/usr/lib"
    4.54 -	ln -s liblber-2.4.so.2.4.2 liblber-2.3.so.0
    4.55 -	ln -s libldap-2.4.so.2.4.2 libldap-2.3.so.0
    4.56 -}
    4.57 -
    4.58 -post_remove()
    4.59 -{
    4.60 -	rm -f /usr/lib/liblber-2.3.so.0
    4.61 -	rm -f /usr/lib/libldap-2.3.so.0
    4.62 -}
     5.1 --- a/alsaequal/receipt	Wed Mar 07 23:20:34 2018 +0200
     5.2 +++ b/alsaequal/receipt	Thu Mar 08 01:13:43 2018 +0200
     5.3 @@ -1,29 +1,24 @@
     5.4 -# SliTaz package receipt.
     5.5 +# SliTaz package receipt v2.
     5.6  
     5.7  PACKAGE="alsaequal"
     5.8  VERSION="0.6"
     5.9  CATEGORY="multimedia"
    5.10 -SHORT_DESC="Real-time adjustable equalizer plugin for ALSA."
    5.11 +SHORT_DESC="Real-time adjustable equalizer plugin for ALSA"
    5.12  MAINTAINER="paul@slitaz.org"
    5.13  LICENSE="LGPL2.1"
    5.14 +WEB_SITE="https://web.archive.org/web/20161105202833/http://thedigitalmachine.net/alsaequal.html"
    5.15 +
    5.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    5.17 -WEB_SITE="http://www.thedigitalmachine.net/alsaequal.html"
    5.18  WGET_URL="http://www.thedigitalmachine.net/tools/$TARBALL"
    5.19  
    5.20 -DEPENDS="alsa-utils caps"
    5.21  BUILD_DEPENDS="caps alsa-lib-dev"
    5.22  
    5.23 -# Rules to configure and make the package.
    5.24 -compile_rules()
    5.25 -{
    5.26 -	cd $src
    5.27 -	make 
    5.28 +compile_rules() {
    5.29 +	make &&
    5.30 +	make install
    5.31  }
    5.32  
    5.33 -# Rules to gen a SliTaz package suitable for Tazpkg.
    5.34 -genpkg_rules()
    5.35 -{
    5.36 -	mkdir -p $fs/usr/lib/alsa-lib
    5.37 -	cp -a $src/*.so* $fs/usr/lib/alsa-lib
    5.38 +genpkg_rules() {
    5.39 +	copy @std
    5.40 +	DEPENDS="alsa-utils caps"
    5.41  }
    5.42 -
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/alsaequal/stuff/patches/caps_9.x.patch	Thu Mar 08 01:13:43 2018 +0200
     6.3 @@ -0,0 +1,22 @@
     6.4 +
     6.5 +--- ctl_equal.c	2009-01-31 23:06:47.000000000 +0100
     6.6 ++++ ctl_equal.c	2014-01-23 15:23:01.000000000 +0100
     6.7 +@@ -167,7 +167,7 @@
     6.8 + 	snd_ctl_equal_t *equal;
     6.9 + 	const char *controls = ".alsaequal.bin";
    6.10 + 	const char *library = "/usr/lib/ladspa/caps.so";
    6.11 +-	const char *module = "Eq";
    6.12 ++	const char *module = "Eq10";
    6.13 + 	long channels = 2;
    6.14 + 	const char *sufix = " Playback Volume";
    6.15 + 	int err, i, index;
    6.16 +--- pcm_equal.c	2010-02-01 23:55:00.000000000 +0100
    6.17 ++++ pcm_equal.c	2014-01-23 15:23:16.000000000 +0100
    6.18 +@@ -151,7 +151,7 @@
    6.19 + 	snd_config_t *sconf = NULL;
    6.20 + 	const char *controls = ".alsaequal.bin";
    6.21 + 	const char *library = "/usr/lib/ladspa/caps.so";
    6.22 +-	const char *module = "Eq";
    6.23 ++	const char *module = "Eq10";
    6.24 + 	long channels = 2;
    6.25 + 	int err; 
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/alsaequal/stuff/patches/false_error.patch	Thu Mar 08 01:13:43 2018 +0200
     7.3 @@ -0,0 +1,13 @@
     7.4 +--- ctl_eqaul.c	2013-02-06 22:09:11.000000000 +0100
     7.5 ++++ ctl_equal.c	2013-02-06 22:10:02.000000000 +0100
     7.6 +@@ -263,8 +263,8 @@
     7.7 + 	for(i = 0; i < equal->num_input_controls; i++) {
     7.8 + 		if(equal->control_data->control[i].type == LADSPA_CNTRL_INPUT) {
     7.9 + 			index = equal->control_data->control[i].index;
    7.10 +-			if(equal->klass->PortDescriptors[index] !=
    7.11 +-					(LADSPA_PORT_INPUT | LADSPA_PORT_CONTROL)) {
    7.12 ++			if(equal->klass->PortDescriptors[index] &
    7.13 ++					(LADSPA_PORT_INPUT | LADSPA_PORT_CONTROL) == 0) {
    7.14 + 				SNDERR("Problem with control file %s, %d.", controls, index);
    7.15 + 				return -1;
    7.16 + 			}
     8.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.2 +++ b/alsaequal/stuff/patches/makefile.patch	Thu Mar 08 01:13:43 2018 +0200
     8.3 @@ -0,0 +1,13 @@
     8.4 +--- Makefile	2009-08-27 18:09:24.000000000 -0400
     8.5 ++++ Makefile	2009-08-27 18:09:49.000000000 -0400
     8.6 +@@ -45,8 +45,8 @@
     8.7 + 
     8.8 + install: all
     8.9 + 	@echo Installing...
    8.10 +-	$(Q)install -m 644 $(SND_PCM_BIN) ${DESTDIR}/usr/lib/alsa-lib/
    8.11 +-	$(Q)install -m 644 $(SND_CTL_BIN) ${DESTDIR}/usr/lib/alsa-lib/
    8.12 ++	$(Q)install -Dm755 $(SND_PCM_BIN) ${DESTDIR}/usr/lib/alsa-lib/$(SND_PCM_BIN)
    8.13 ++	$(Q)install -Dm755 $(SND_CTL_BIN) ${DESTDIR}/usr/lib/alsa-lib/$(SND_CTL_BIN)
    8.14 + 
    8.15 + uninstall:
    8.16 + 	@echo Un-installing... 
     9.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.2 +++ b/alsaequal/stuff/patches/series	Thu Mar 08 01:13:43 2018 +0200
     9.3 @@ -0,0 +1,4 @@
     9.4 +# from https://aur.archlinux.org/packages/alsaequal/
     9.5 +-p0|alsaequal.install
     9.6 +-p0|caps_9.x.patch
     9.7 +-p0|false_error.patch
    10.1 --- a/caps/receipt	Wed Mar 07 23:20:34 2018 +0200
    10.2 +++ b/caps/receipt	Thu Mar 08 01:13:43 2018 +0200
    10.3 @@ -5,7 +5,7 @@
    10.4  CATEGORY="multimedia"
    10.5  SHORT_DESC="The CAPS Audio Plugin Suite"
    10.6  MAINTAINER="paul@slitaz.org"
    10.7 -LICENSE="GPL2"
    10.8 +LICENSE="GPL3"
    10.9  WEB_SITE="http://quitte.de/dsp/caps.html"
   10.10  
   10.11  TARBALL="${PACKAGE}_${VERSION}.tar.bz2"
   10.12 @@ -16,12 +16,7 @@
   10.13  compile_rules() {
   10.14  	./configure.py &&
   10.15  	make &&
   10.16 -	make install
   10.17 -#	make rdf &&
   10.18 -#	make caps.so || return 1
   10.19 -#
   10.20 -#	install -Dm644 $src/caps.rdf $install/usr/share/ladspa/rdf/caps.rdf
   10.21 -#	install -Dm755 $src/caps.so  $install/usr/lib/ladspa/caps.so
   10.22 +	make PREFIX=$install/usr install
   10.23  }
   10.24  
   10.25  genpkg_rules() {
    11.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    11.2 +++ b/caps/stuff/patches/fix-overload.patch	Thu Mar 08 01:13:43 2018 +0200
    11.3 @@ -0,0 +1,11 @@
    11.4 +--- AutoFilter.cc	2014-11-10 09:12:26.000000000 +0100
    11.5 ++++ AutoFilter.cc.fix	2017-12-07 23:12:08.612583839 +0100
    11.6 +@@ -69,7 +69,7 @@
    11.7 + void
    11.8 + AutoFilter::cycle (uint frames)
    11.9 + {
   11.10 +-	div_t qr = div (frames, blocksize);
   11.11 ++	div_t qr = div ((int) frames, (int) blocksize);
   11.12 + 	int blocks = qr.quot;
   11.13 + 	if (qr.rem) ++blocks;
   11.14 + 	double over_blocks = 1./blocks;
    12.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    12.2 +++ b/caps/stuff/patches/series	Thu Mar 08 01:13:43 2018 +0200
    12.3 @@ -0,0 +1,2 @@
    12.4 +# from https://www.archlinux.org/packages/community/x86_64/caps/
    12.5 +-Np0|fix-overload.patch
    13.1 --- a/cookutils/receipt	Wed Mar 07 23:20:34 2018 +0200
    13.2 +++ b/cookutils/receipt	Thu Mar 08 01:13:43 2018 +0200
    13.3 @@ -1,7 +1,7 @@
    13.4  # SliTaz package receipt v2.
    13.5  
    13.6  PACKAGE="cookutils"
    13.7 -VERSION="1032"
    13.8 +VERSION="1034"
    13.9  CATEGORY="base-system"
   13.10  SHORT_DESC="SliTaz packages builder new generation"
   13.11  MAINTAINER="pankso@slitaz.org"