# HG changeset patch # User Hans-G?nter Theisgen # Date 1647878278 -3600 # Node ID 2185de1303ccebd4d32998a3d182a8c8b09723a5 # Parent 25f321eee88ef04468785fe68196c48fe84bbdfa updated libgtop and libgtop-dev (2.28.4 -> 2.40.0) diff -r 25f321eee88e -r 2185de1303cc libgtop-dev/receipt --- a/libgtop-dev/receipt Mon Mar 21 15:36:41 2022 +0000 +++ b/libgtop-dev/receipt Mon Mar 21 16:57:58 2022 +0100 @@ -1,21 +1,18 @@ # SliTaz package receipt. PACKAGE="libgtop-dev" -VERSION="2.28.4" +VERSION="2.40.0" CATEGORY="development" -SHORT_DESC="Librairies for GNOME" +SHORT_DESC="Gnome library for system monitoring - development files." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" WEB_SITE="https://www.gnome.org" +DEPENDS="libgtop pkg-config" WANTED="libgtop" -DEPENDS="libgtop pkg-config" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib - cp -a $install/usr/include $fs/usr - cp -a $install/usr/lib/*a $fs/usr/lib - cp -a $install/usr/lib/pkgconfig $fs/usr/lib + get_dev_files } diff -r 25f321eee88e -r 2185de1303cc libgtop-lang/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libgtop-lang/receipt Mon Mar 21 16:57:58 2022 +0100 @@ -0,0 +1,17 @@ +# SliTaz package receipt. + +PACKAGE="libgtop-lang" +VERSION="2.40.0" +CATEGORY="localization" +SHORT_DESC="Gnome library for system monitoring - localised messages." +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="GPL2" +WEB_SITE="https://www.gnome.org" + +WANTED="libgtop" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cook_copy_folders locale +} diff -r 25f321eee88e -r 2185de1303cc libgtop/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libgtop/description.txt Mon Mar 21 16:57:58 2022 +0100 @@ -0,0 +1,6 @@ +LibGTop is a library to get system specific data such as CPU and +Memory Usage and information about running Processes. +Even if LibGTop is a part of the GNOME desktop environment, the +main interface of LibGTop is totally independent from any particular +desktop environment, so you can also use it as a standalone library +in any piece of GPLed software. diff -r 25f321eee88e -r 2185de1303cc libgtop/receipt --- a/libgtop/receipt Mon Mar 21 15:36:41 2022 +0000 +++ b/libgtop/receipt Mon Mar 21 16:57:58 2022 +0100 @@ -1,17 +1,19 @@ # SliTaz package receipt. PACKAGE="libgtop" -VERSION="2.28.4" +VERSION="2.40.0" CATEGORY="x-window" -SHORT_DESC="Librairies for GNOME" +SHORT_DESC="Gnome library for system monitoring." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" +WEB_SITE="https://www.gnome.org" + TARBALL="$PACKAGE-$VERSION.tar.xz" -WEB_SITE="https://www.gnome.org" -WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL" +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" -DEPENDS="glib" -BUILD_DEPENDS="glib-dev intltool" +SUGGESTED="libgtop-lang" +DEPENDS="gcc83-lib-base glib" +BUILD_DEPENDS="gcc83 glib-dev intltool" current_version() { @@ -22,16 +24,24 @@ # Rules to configure and make the package. compile_rules() { - sed -i 's|uname -m|echo i486|' src/Makefile* src/daemon/Makefile* - ./configure \ - --prefix=/usr \ + sed -i 's|uname -m|echo i486|' \ + src/Makefile* \ + src/daemon/Makefile* + + ./configure \ + CC=gcc-83 \ + CXX=g++-83 \ + --prefix=/usr \ $CONFIGURE_ARGS && - make && make install + sed -i -e 's|chown root |chown root $(DESTDIR)|' \ + -e 's|chmod 4755 |chmod 4755 $(DESTDIR)|' \ + src/daemon/Makefile && + make && + make install DESTDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/*.so* $fs/usr/lib + cook_copy_files *.so* }