# HG changeset patch # User Hans-G?nter Theisgen # Date 1658296987 -3600 # Node ID c95a110e9ce052a3605d97de60671f27e77e58c7 # Parent f3adabaf01f2d8f0dfd58ff6ab5e09598f8742a2 updated scrot (0.8-12 -> 1.7) diff -r f3adabaf01f2 -r c95a110e9ce0 scrot/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/scrot/description.txt Wed Jul 20 07:03:07 2022 +0100 @@ -0,0 +1,4 @@ +Scrot (SCReen shOT) is a simple commandline screen capture +utility that uses imlib2 to grab and save images. +Multiple image formats are supported through imlib2's +dynamic saver modules. diff -r f3adabaf01f2 -r c95a110e9ce0 scrot/receipt --- a/scrot/receipt Wed Jul 20 06:44:28 2022 +0100 +++ b/scrot/receipt Wed Jul 20 07:03:07 2022 +0100 @@ -1,18 +1,19 @@ # SliTaz package receipt. PACKAGE="scrot" -VERSION="0.8-12" +VERSION="1.7" CATEGORY="x-window" -SHORT_DESC="A screen capture utility" +SHORT_DESC="A screen capture utility." MAINTAINER="al.bobylev@gmail.com" LICENSE="BSD" -TARBALL="$PACKAGE-${VERSION%-*}.tar.gz" -WEB_SITE="http://freecode.com/projects/scrot" -WGET_URL="https://github.com/dreamer/scrot/archive/$TARBALL" +WEB_SITE="https://github.com/resurrecting-open-source-projects/scrot" -DEPENDS="bzlib freetype giblib glibc-base imlib2 libxcb xorg-libX11 \ -xorg-libXau xorg-libXdmcp xorg-libXext zlib" -BUILD_DEPENDS="patch giblib-dev imlib2-dev xorg-libX11-dev" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="https://github.com/resurrecting-open-source-projects/$PACKAGE/archive/$VERSION.tar.gz" + +DEPENDS="bzlib freetype giblib glibc-base imlib2 libbsd libxcb xorg-libX11 + xorg-libXau xorg-libXdmcp xorg-libXext zlib" +BUILD_DEPENDS="autoconf-archive automake giblib-dev imlib2-dev libbsd-dev xorg-libX11-dev" # What is the latest version available today? current_version() @@ -25,16 +26,17 @@ # Rules to configure and make the package. compile_rules() { - sed -i 's|prefix)/doc|prefix)/share/doc|' * - patch -p1 < $stuff/scrot.patch - ./configure $CONFIGURE_ARGS && +# sed -i 's|prefix)/doc|prefix)/share/doc|' * +# patch -p1 < $stuff/scrot.patch + + ./autogen.sh m4_pattern_allow && + ./configure $CONFIGURE_ARGS && make && - make DESTDIR=$DESTDIR install + make install DESTDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr - cp -a $install/usr/bin $fs/usr + cook_copy_folders bin }