wok diff xscreensaver/receipt @ rev 25694

dropbear: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 21 14:12:01 2024 +0000 (6 months ago)
parents 6a41c533bf52
children
line diff
     1.1 --- a/xscreensaver/receipt	Wed May 18 20:20:32 2022 +0000
     1.2 +++ b/xscreensaver/receipt	Sun Apr 21 14:12:01 2024 +0000
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="xscreensaver"
     1.7 -VERSION="5.44"
     1.8 +VERSION="5.45"
     1.9  CATEGORY="x-window"
    1.10  SHORT_DESC="A collection of free screen savers."
    1.11  MAINTAINER="al.bobylev@gmail.com"
    1.12 @@ -11,12 +11,11 @@
    1.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14  WGET_URL="http://sources.buildroot.net/$PACKAGE/$TARBALL"
    1.15  
    1.16 -DEPENDS=""
    1.17 -BUILD_DEPENDS="bc gdk-pixbuf-dev gtk+-dev jpeg-dev libglade-dev 
    1.18 -	libxml2-dev mesa-dev xorg-libX11-dev xorg-libXext-dev 
    1.19 -	xorg-libXi-dev xorg-libXinerama-dev xorg-libXmu-dev 
    1.20 -	xorg-libXpm-dev xorg-libXrandr-dev xorg-libXt-dev 
    1.21 -	xorg-libXxf86vm-dev"
    1.22 +BUILD_DEPENDS="bc gdk-pixbuf-dev gtk+-dev jpeg-dev
    1.23 +	libglade-dev libxml2-dev mesa-dev xorg-libX11-dev
    1.24 +	xorg-libXext-dev xorg-libXi-dev xorg-libXinerama-dev
    1.25 +	xorg-libXmu-dev xorg-libXpm-dev xorg-libXrandr-dev
    1.26 +	xorg-libXt-dev xorg-libXxf86vm-dev"
    1.27  
    1.28  # What is the latest version available today?
    1.29  current_version()
    1.30 @@ -28,11 +27,24 @@
    1.31  # Rules to configure and make the package.
    1.32  compile_rules()
    1.33  {
    1.34 -	export LDFLAGS="$LDFLAGS $(pkg-config --libs gtk+-2.0 gdk-pixbuf-xlib-2.0 gl)"
    1.35 +	# Thanks Slackware for patch and have work xscreensaver
    1.36 +        export CFLAGS="$CFLAGS -std=gnu89"
    1.37  
    1.38 -	./configure $CONFIGURE_ARGS &&
    1.39 -	make && 
    1.40 -	make install_prefix=$DESTDIR install
    1.41 +        # Drop popup about version is old
    1.42 +        patch -p1 < $stuff/xscreensaver.no.expiration.date.diff
    1.43 +        # Patch for shadow
    1.44 +        patch -p1 < $stuff/xscreensaver.setuid.diff
    1.45 +
    1.46 +        ./configure        \
    1.47 +            --with-shadow  \
    1.48 +            --with-jpeg    \
    1.49 +            --with-gl      \
    1.50 +        $CONFIGURE_ARGS &&
    1.51 +        make &&
    1.52 +        make install_prefix=$DESTDIR install
    1.53 +
    1.54 +        # Need for password unlock
    1.55 +        chmod 2751 $install/usr/bin/xscreensaver
    1.56  }
    1.57  
    1.58  # Rules to gen a SliTaz package suitable for Tazpkg.