# HG changeset patch # User Pascal Bellard # Date 1652472184 0 # Node ID 9981cfce1dd86d8e9a1ead616daa24938fef39d0 # Parent a3c0742726849b49a65a323b20da9df6f6e697de idesk: imlib2 >= 1.7.5 support diff -r a3c074272684 -r 9981cfce1dd8 idesk/receipt --- a/idesk/receipt Thu May 12 17:03:36 2022 +0100 +++ b/idesk/receipt Fri May 13 20:03:04 2022 +0000 @@ -12,7 +12,7 @@ HOST_ARCH="i486 arm" DEPENDS="imlib2 xorg-libXft" -BUILD_DEPENDS="imlib2-dev xorg-libXft-dev" +BUILD_DEPENDS="imlib2-dev xorg-libXft-dev automake" # What is the latest version available today? current_version() @@ -25,7 +25,9 @@ # Rules to configure and make the package. compile_rules() { + patch -p 0 < $stuff/configure.in.patch || exit 1 patch -p 0 < $stuff/DesktopConfig.patch || exit 1 + autoconf ./configure \ --enable-xft \ $CONFIGURE_ARGS && diff -r a3c074272684 -r 9981cfce1dd8 idesk/stuff/configure.in.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/idesk/stuff/configure.in.patch Fri May 13 20:03:04 2022 +0000 @@ -0,0 +1,32 @@ +--- configure.in ++++ configure.in +@@ -94,21 +94,15 @@ + + dnl Imlib2 detection + +-AC_PATH_GENERIC(imlib2, , [ +- AC_SUBST(IMLIB_LIBS) +- AC_SUBST(IMLIB_CXXFLAGS) ], +- AC_MSG_ERROR(Cannot find imlib2: Is imlib2-config in the path? +- You need Imlib2 to build Idesk. Verify that you have Imlib2-dev)) +- +-dnl the above doesn't work for some reason :/ +-IMLIB_LIBS=`imlib2-config --libs` +-IMLIB_CFLAGS=`imlib2-config --cflags` +-AC_SUBST(IMLIB_LIBS) +-AC_SUBST(IMLIB_CXXFLAGS) +- +-CXXFLAGS="$CXXFLAGS $IMLIB_CXXFLAGS" +-LIBS="$LIBS $IMLIB_LIBS" ++PKG_CHECK_MODULES(IMLIB2, [imlib2], [imlib2_pkgconfig=yes], [imlib2_pkgconfig=no]) ++if test "x$imlib2_pkgconfig" = "xyes"; then ++ AC_DEFINE(HAVE_IMLIB2, 1, [Define to 1 if you have imlib2]) ++fi ++AC_SUBST(IMLIB2_LIBS) ++AC_SUBST(IMLIB2_CXXFLAGS) + ++CXXFLAGS="$CXXFLAGS $IMLIB2_CXXFLAGS" ++LIBS="$LIBS $IMLIB2_LIBS" + + dnl Check for libsn Startup Notificacion options + STARTUP="" diff -r a3c074272684 -r 9981cfce1dd8 listpatron/receipt --- a/listpatron/receipt Thu May 12 17:03:36 2022 +0100 +++ b/listpatron/receipt Fri May 13 20:03:04 2022 +0000 @@ -8,7 +8,7 @@ LICENSE="GPL2" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://www.electricmonk.nl/Programmings/ListPatron" -WGET_URL="http://projects.electricmonk.nl/projects/$PACKAGE/$TARBALL" +WGET_URL="https://github.com/fboender/listpatron/releases/download/$VERSION/$TARBALL" DEPENDS="gtk+ xorg-libXdamage" BUILD_DEPENDS="gtk+-dev" diff -r a3c074272684 -r 9981cfce1dd8 lmms/receipt --- a/lmms/receipt Thu May 12 17:03:36 2022 +0100 +++ b/lmms/receipt Fri May 13 20:03:04 2022 +0000 @@ -6,9 +6,9 @@ SHORT_DESC="The Linux MultiMedia Studio" MAINTAINER="slaxemulator@gmail.com" LICENSE="GPL2" -TARBALL="$PACKAGE-$VERSION.tar.bz2" +TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://lmms.sourceforge.net/" -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" +WGET_URL="https://github.com/LMMS/lmms/archive/refs/tags/v$VERSION.tar.gz" DEPENDS="libsdl glib fluidsynth libpng libvorbis fftw xorg-libXft \ xorg-libXinerama libsamplerate libQtGui libQtXml phonon-backend-gstreamer" diff -r a3c074272684 -r 9981cfce1dd8 logsurfer/receipt --- a/logsurfer/receipt Thu May 12 17:03:36 2022 +0100 +++ b/logsurfer/receipt Fri May 13 20:03:04 2022 +0000 @@ -8,7 +8,7 @@ LICENSE="GPL" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="https://www.crypt.gen.nz/logsurfer/" -WGET_URL="$WEB_SITE/$TARBALL" +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" # What is the latest version available today? current_version() diff -r a3c074272684 -r 9981cfce1dd8 mdk3/receipt --- a/mdk3/receipt Thu May 12 17:03:36 2022 +0100 +++ b/mdk3/receipt Fri May 13 20:03:04 2022 +0000 @@ -8,7 +8,7 @@ LICENSE="GPL2" TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="https://www.kali.org/tools/mdk3/" -WGET_URL="http://homepages.tu-darmstadt.de/~p_larbig/wlan/$TARBALL" +WGET_URL="https://salsa.debian.org/pkg-security-team/mdk3/-/archive/upstream/6.0/mdk3-upstream-6.0.tar.bz2" DEPENDS="" diff -r a3c074272684 -r 9981cfce1dd8 mypaint/receipt --- a/mypaint/receipt Thu May 12 17:03:36 2022 +0100 +++ b/mypaint/receipt Fri May 13 20:03:04 2022 +0000 @@ -8,7 +8,7 @@ LICENSE="GPL2" WEB_SITE="http://mypaint.org/" TARBALL="$PACKAGE-$VERSION.tar.bz2" -WGET_URL="http://download.gna.org/$PACKAGE/$TARBALL" +WGET_URL="https://github.com/mypaint/mypaint/releases/download/v$VERSION/$TARBALL" DEPENDS="pygtk python-numpy protobuf-python" BUILD_DEPENDS="$DEPENDS pygtk-dev protobuf-dev python-dev scons swig" diff -r a3c074272684 -r 9981cfce1dd8 opencpn/receipt --- a/opencpn/receipt Thu May 12 17:03:36 2022 +0100 +++ b/opencpn/receipt Fri May 13 20:03:04 2022 +0000 @@ -8,7 +8,7 @@ LICENSE="GPL2" SUGGESTED="nvidia" TARBALL="$PACKAGE-$VERSION.tar.bz2" -WEB_SITE="http://opencpn.sourceforge.net" +WEB_SITE="https://www.opencpn.org/" WGET_URL="http://nchc.dl.sourceforge.net/sourceforge/$PACKAGE/$TARBALL" DEPENDS="wxWidgets28 mesa libglu-mesa" diff -r a3c074272684 -r 9981cfce1dd8 openttd/receipt --- a/openttd/receipt Thu May 12 17:03:36 2022 +0100 +++ b/openttd/receipt Fri May 13 20:03:04 2022 +0000 @@ -8,7 +8,7 @@ LICENSE="GPL2" TARBALL="$PACKAGE-$VERSION-source.tar.gz" WEB_SITE="https://www.openttd.org" -WGET_URL="http://us.binaries.openttd.org/binaries/releases/$VERSION/$TARBALL" +WGET_URL="https://cdn.openttd.org/openttd-releases/$VERSION/$TARBALL" DEPENDS="libsdl lzo zlib libpng icu" BUILD_DEPENDS="libsdl-dev lzo-dev zlib-dev libpng-dev liblzma-dev icu-dev" diff -r a3c074272684 -r 9981cfce1dd8 p910nd/receipt --- a/p910nd/receipt Thu May 12 17:03:36 2022 +0100 +++ b/p910nd/receipt Fri May 13 20:03:04 2022 +0000 @@ -7,10 +7,10 @@ SHORT_DESC="Network to printer (/dev/lp* or /dev/usb/lp*) gateway." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" -WEB_SITE="http://$PACKAGE.sourceforge.net/" +WEB_SITE="https://github.com/kenyapcomau/p910nd" -TARBALL="$PACKAGE-$VERSION.tar.bz2" -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="https://github.com/kenyapcomau/p910nd/archive/refs/tags/$VERSION.tar.gz" # What is the latest version available today? current_version() @@ -22,8 +22,9 @@ # Rules to configure and make the package. compile_rules() { + sed -i 's|subsys/||' p910nd.8 make CFLAGS=-DLOCKFILE_DIR=\\\"/var/lock\\\" && - make DESTDIR=$DESTDIR install + make DESTDIR=$DESTDIR CONFIG=aux/p910nd.conf INITSCRIPT=aux/p910nd.init MANPAGE=p910nd.8 install } # Rules to gen a SliTaz package suitable for Tazpkg. @@ -34,6 +35,6 @@ cp -a $install/usr/sbin $fs/usr - sed '1,/%description/d;/%pre/,$d' $src/p910nd.spec > $WOK/$PACKAGE/description.txt + sed '1,/%description/d;/%pre/,$d' $src/aux/p910nd.spec > $WOK/$PACKAGE/description.txt ln -s daemon $fs/etc/init.d/p910nd }