wok-6.x rev 24990

idesk: imlib2 >= 1.7.5 support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 13 20:03:04 2022 +0000 (2022-05-13)
parents a3c074272684
children e171b422f9e7
files idesk/receipt idesk/stuff/configure.in.patch listpatron/receipt lmms/receipt logsurfer/receipt mdk3/receipt mypaint/receipt opencpn/receipt openttd/receipt p910nd/receipt
line diff
     1.1 --- a/idesk/receipt	Thu May 12 17:03:36 2022 +0100
     1.2 +++ b/idesk/receipt	Fri May 13 20:03:04 2022 +0000
     1.3 @@ -12,7 +12,7 @@
     1.4  HOST_ARCH="i486 arm"
     1.5  
     1.6  DEPENDS="imlib2 xorg-libXft"
     1.7 -BUILD_DEPENDS="imlib2-dev xorg-libXft-dev"
     1.8 +BUILD_DEPENDS="imlib2-dev xorg-libXft-dev automake"
     1.9  
    1.10  # What is the latest version available today?
    1.11  current_version()
    1.12 @@ -25,7 +25,9 @@
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15  {
    1.16 +	patch -p 0 < $stuff/configure.in.patch || exit 1
    1.17  	patch -p 0 < $stuff/DesktopConfig.patch || exit 1
    1.18 +	autoconf
    1.19  	./configure \
    1.20  		--enable-xft \
    1.21  		$CONFIGURE_ARGS &&
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/idesk/stuff/configure.in.patch	Fri May 13 20:03:04 2022 +0000
     2.3 @@ -0,0 +1,32 @@
     2.4 +--- configure.in
     2.5 ++++ configure.in
     2.6 +@@ -94,21 +94,15 @@
     2.7 + 
     2.8 + dnl Imlib2 detection
     2.9 + 
    2.10 +-AC_PATH_GENERIC(imlib2, , [
    2.11 +-    AC_SUBST(IMLIB_LIBS)
    2.12 +-   AC_SUBST(IMLIB_CXXFLAGS) ],
    2.13 +-  AC_MSG_ERROR(Cannot find imlib2: Is imlib2-config in the path?
    2.14 +-               You need Imlib2 to build Idesk.  Verify that you have Imlib2-dev))
    2.15 +-
    2.16 +-dnl the above doesn't work for some reason :/
    2.17 +-IMLIB_LIBS=`imlib2-config --libs`
    2.18 +-IMLIB_CFLAGS=`imlib2-config --cflags`
    2.19 +-AC_SUBST(IMLIB_LIBS)
    2.20 +-AC_SUBST(IMLIB_CXXFLAGS)
    2.21 +-
    2.22 +-CXXFLAGS="$CXXFLAGS $IMLIB_CXXFLAGS"
    2.23 +-LIBS="$LIBS $IMLIB_LIBS"
    2.24 ++PKG_CHECK_MODULES(IMLIB2, [imlib2], [imlib2_pkgconfig=yes], [imlib2_pkgconfig=no])
    2.25 ++if test "x$imlib2_pkgconfig" = "xyes"; then
    2.26 ++   AC_DEFINE(HAVE_IMLIB2, 1, [Define to 1 if you have imlib2])
    2.27 ++fi
    2.28 ++AC_SUBST(IMLIB2_LIBS)
    2.29 ++AC_SUBST(IMLIB2_CXXFLAGS)
    2.30 + 
    2.31 ++CXXFLAGS="$CXXFLAGS $IMLIB2_CXXFLAGS"
    2.32 ++LIBS="$LIBS $IMLIB2_LIBS"
    2.33 + 
    2.34 + dnl Check for libsn Startup Notificacion options
    2.35 + STARTUP=""
     3.1 --- a/listpatron/receipt	Thu May 12 17:03:36 2022 +0100
     3.2 +++ b/listpatron/receipt	Fri May 13 20:03:04 2022 +0000
     3.3 @@ -8,7 +8,7 @@
     3.4  LICENSE="GPL2"
     3.5  TARBALL="$PACKAGE-$VERSION.tar.gz"
     3.6  WEB_SITE="http://www.electricmonk.nl/Programmings/ListPatron"
     3.7 -WGET_URL="http://projects.electricmonk.nl/projects/$PACKAGE/$TARBALL"
     3.8 +WGET_URL="https://github.com/fboender/listpatron/releases/download/$VERSION/$TARBALL"
     3.9  
    3.10  DEPENDS="gtk+ xorg-libXdamage"
    3.11  BUILD_DEPENDS="gtk+-dev"
     4.1 --- a/lmms/receipt	Thu May 12 17:03:36 2022 +0100
     4.2 +++ b/lmms/receipt	Fri May 13 20:03:04 2022 +0000
     4.3 @@ -6,9 +6,9 @@
     4.4  SHORT_DESC="The Linux MultiMedia Studio"
     4.5  MAINTAINER="slaxemulator@gmail.com"
     4.6  LICENSE="GPL2"
     4.7 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
     4.8 +TARBALL="$PACKAGE-$VERSION.tar.gz"
     4.9  WEB_SITE="http://lmms.sourceforge.net/"
    4.10 -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    4.11 +WGET_URL="https://github.com/LMMS/lmms/archive/refs/tags/v$VERSION.tar.gz"
    4.12  
    4.13  DEPENDS="libsdl glib fluidsynth libpng libvorbis fftw xorg-libXft \
    4.14  xorg-libXinerama libsamplerate libQtGui libQtXml phonon-backend-gstreamer"
     5.1 --- a/logsurfer/receipt	Thu May 12 17:03:36 2022 +0100
     5.2 +++ b/logsurfer/receipt	Fri May 13 20:03:04 2022 +0000
     5.3 @@ -8,7 +8,7 @@
     5.4  LICENSE="GPL"
     5.5  TARBALL="$PACKAGE-$VERSION.tar.gz"
     5.6  WEB_SITE="https://www.crypt.gen.nz/logsurfer/"
     5.7 -WGET_URL="$WEB_SITE/$TARBALL"
     5.8 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
     5.9  
    5.10  # What is the latest version available today?
    5.11  current_version()
     6.1 --- a/mdk3/receipt	Thu May 12 17:03:36 2022 +0100
     6.2 +++ b/mdk3/receipt	Fri May 13 20:03:04 2022 +0000
     6.3 @@ -8,7 +8,7 @@
     6.4  LICENSE="GPL2"
     6.5  TARBALL="$PACKAGE-$VERSION.tar.bz2"
     6.6  WEB_SITE="https://www.kali.org/tools/mdk3/"
     6.7 -WGET_URL="http://homepages.tu-darmstadt.de/~p_larbig/wlan/$TARBALL"
     6.8 +WGET_URL="https://salsa.debian.org/pkg-security-team/mdk3/-/archive/upstream/6.0/mdk3-upstream-6.0.tar.bz2"
     6.9  
    6.10  DEPENDS=""
    6.11  
     7.1 --- a/mypaint/receipt	Thu May 12 17:03:36 2022 +0100
     7.2 +++ b/mypaint/receipt	Fri May 13 20:03:04 2022 +0000
     7.3 @@ -8,7 +8,7 @@
     7.4  LICENSE="GPL2"
     7.5  WEB_SITE="http://mypaint.org/"
     7.6  TARBALL="$PACKAGE-$VERSION.tar.bz2"
     7.7 -WGET_URL="http://download.gna.org/$PACKAGE/$TARBALL"
     7.8 +WGET_URL="https://github.com/mypaint/mypaint/releases/download/v$VERSION/$TARBALL"
     7.9  
    7.10  DEPENDS="pygtk python-numpy protobuf-python"
    7.11  BUILD_DEPENDS="$DEPENDS pygtk-dev protobuf-dev python-dev scons swig"
     8.1 --- a/opencpn/receipt	Thu May 12 17:03:36 2022 +0100
     8.2 +++ b/opencpn/receipt	Fri May 13 20:03:04 2022 +0000
     8.3 @@ -8,7 +8,7 @@
     8.4  LICENSE="GPL2"
     8.5  SUGGESTED="nvidia"
     8.6  TARBALL="$PACKAGE-$VERSION.tar.bz2"
     8.7 -WEB_SITE="http://opencpn.sourceforge.net"
     8.8 +WEB_SITE="https://www.opencpn.org/"
     8.9  WGET_URL="http://nchc.dl.sourceforge.net/sourceforge/$PACKAGE/$TARBALL"
    8.10  
    8.11  DEPENDS="wxWidgets28 mesa libglu-mesa"
     9.1 --- a/openttd/receipt	Thu May 12 17:03:36 2022 +0100
     9.2 +++ b/openttd/receipt	Fri May 13 20:03:04 2022 +0000
     9.3 @@ -8,7 +8,7 @@
     9.4  LICENSE="GPL2"
     9.5  TARBALL="$PACKAGE-$VERSION-source.tar.gz"
     9.6  WEB_SITE="https://www.openttd.org"
     9.7 -WGET_URL="http://us.binaries.openttd.org/binaries/releases/$VERSION/$TARBALL"
     9.8 +WGET_URL="https://cdn.openttd.org/openttd-releases/$VERSION/$TARBALL"
     9.9  
    9.10  DEPENDS="libsdl lzo zlib libpng icu"
    9.11  BUILD_DEPENDS="libsdl-dev lzo-dev zlib-dev libpng-dev liblzma-dev icu-dev"
    10.1 --- a/p910nd/receipt	Thu May 12 17:03:36 2022 +0100
    10.2 +++ b/p910nd/receipt	Fri May 13 20:03:04 2022 +0000
    10.3 @@ -7,10 +7,10 @@
    10.4  SHORT_DESC="Network to printer (/dev/lp* or /dev/usb/lp*) gateway."
    10.5  MAINTAINER="pascal.bellard@slitaz.org"
    10.6  LICENSE="GPL2"
    10.7 -WEB_SITE="http://$PACKAGE.sourceforge.net/"
    10.8 +WEB_SITE="https://github.com/kenyapcomau/p910nd"
    10.9  
   10.10 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
   10.11 -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
   10.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
   10.13 +WGET_URL="https://github.com/kenyapcomau/p910nd/archive/refs/tags/$VERSION.tar.gz"
   10.14  
   10.15  # What is the latest version available today?
   10.16  current_version()
   10.17 @@ -22,8 +22,9 @@
   10.18  # Rules to configure and make the package.
   10.19  compile_rules()
   10.20  {
   10.21 +	sed -i 's|subsys/||' p910nd.8
   10.22  	make CFLAGS=-DLOCKFILE_DIR=\\\"/var/lock\\\" &&
   10.23 -	make DESTDIR=$DESTDIR install
   10.24 +	make DESTDIR=$DESTDIR CONFIG=aux/p910nd.conf INITSCRIPT=aux/p910nd.init MANPAGE=p910nd.8 install
   10.25  }
   10.26  
   10.27  # Rules to gen a SliTaz package suitable for Tazpkg.
   10.28 @@ -34,6 +35,6 @@
   10.29  
   10.30  	cp -a $install/usr/sbin $fs/usr
   10.31  
   10.32 -	sed '1,/%description/d;/%pre/,$d' $src/p910nd.spec > $WOK/$PACKAGE/description.txt
   10.33 +	sed '1,/%description/d;/%pre/,$d' $src/aux/p910nd.spec > $WOK/$PACKAGE/description.txt
   10.34  	ln -s daemon $fs/etc/init.d/p910nd
   10.35  }