# HG changeset patch # User Aleksej Bobylev # Date 1511006374 -7200 # Node ID 16a417e1e89d3704c804d395456b2a06e3013c7b # Parent abcb4412bfe67fedbfea48f3dbedb1098e8794ec Up (v2): libgnome-keyring, libgnome, libgnomecanvas, libgnomecanvasmm, libgnomeprint, libgnomeprintui, libgnomeui, libgooglepinyin, libgpod, libqcow, libzeitgeist diff -r abcb4412bfe6 -r 16a417e1e89d libgnome-dev/receipt --- a/libgnome-dev/receipt Fri Nov 17 18:18:29 2017 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,26 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="libgnome-dev" -VERSION="2.30.0" -CATEGORY="development" -SHORT_DESC="Libgnome devel files." -MAINTAINER="pankso@slitaz.org" -LICENSE="GPL2" -WEB_SITE="http://www.gnome.org/" -WANTED="libgnome" -GENERIC_PIXMAPS="no" - -DEPENDS="libbonobo-dev gnome-vfs-dev esound-dev audiofile-dev GConf-dev \ -popt-dev alsa-lib-dev dbus-glib-dev 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/bonobo $fs/usr/lib - cp -a $install/usr/lib/pkgconfig $fs/usr/lib - # Clean unwated files - cd $fs/usr/lib ; find . -name "*.so*" -exec rm -f {} \; -} diff -r abcb4412bfe6 -r 16a417e1e89d libgnome-keyring-dev/receipt --- a/libgnome-keyring-dev/receipt Fri Nov 17 18:18:29 2017 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,22 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="libgnome-keyring-dev" -VERSION="2.32.0" -CATEGORY="development" -SHORT_DESC="A libray that keep password and other secrets for users, development files." -MAINTAINER="pankso@slitaz.org" -LICENSE="LGPL2" -WEB_SITE="http://www.gnome.org" -WANTED="libgnome-keyring" -HOST_ARCH="i486 arm" - -DEPENDS="libgnome-keyring 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 -} diff -r abcb4412bfe6 -r 16a417e1e89d libgnome-keyring/receipt --- a/libgnome-keyring/receipt Fri Nov 17 18:18:29 2017 +0100 +++ b/libgnome-keyring/receipt Sat Nov 18 13:59:34 2017 +0200 @@ -1,34 +1,38 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="libgnome-keyring" VERSION="2.32.0" CATEGORY="x-window" -SHORT_DESC="A libray that keep password and other secrets for users." +SHORT_DESC="A library that keep password and other secrets for users" MAINTAINER="pankso@slitaz.org" LICENSE="LGPL2" -TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://www.gnome.org" -WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL" HOST_ARCH="i486 arm" -DEPENDS="libgcrypt dbus glib" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL" + BUILD_DEPENDS="libgcrypt-dev dbus-dev glib-dev intltool" +SPLIT="libgnome-keyring-dev" -# Rules to configure and make the package. -compile_rules() -{ - cd $src +compile_rules() { ./configure \ --libexecdir=/usr/lib/$PACKAGE \ --sysconfdir=/etc/gnome \ - --disable-pam \ $CONFIGURE_ARGS && make && make install } -# 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 +genpkg_rules() { + case $PACKAGE in + libgnome-keyring) + copy @std + DEPENDS="dbus glib libgcrypt libgpg-error" + ;; + *-dev) + copy @dev + DEPENDS="libgnome-keyring dbus-dev glib-dev libgcrypt-dev \ + libgpg-error-dev pcre-dev" + ;; + esac } diff -r abcb4412bfe6 -r 16a417e1e89d libgnome/receipt --- a/libgnome/receipt Fri Nov 17 18:18:29 2017 +0100 +++ b/libgnome/receipt Sat Nov 18 13:59:34 2017 +0200 @@ -1,4 +1,4 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="libgnome" VERSION="2.30.0" @@ -6,43 +6,44 @@ SHORT_DESC="GNOME Library" MAINTAINER="pankso@slitaz.org" LICENSE="GPL2" +WEB_SITE="http://www.gnome.org" + TARBALL="$PACKAGE-$VERSION.tar.bz2" -WEB_SITE="http://www.gnome.org" -WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL" -GENERIC_PIXMAPS="no" +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" -DEPENDS="libbonobo gnome-vfs esound audiofile GConf popt alsa-lib dbus-glib \ -openssl" BUILD_DEPENDS="libbonobo-dev gnome-vfs-dev esound-dev audiofile-dev \ GConf-dev popt-dev alsa-lib-dev dbus-glib-dev intltool libffi libxml2-dev" +SPLIT="libgnome-dev" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { sed -i 's/-DG_DISABLE_DEPRECATED//' libgnome/Makefile* + ./configure \ --sysconfdir=/etc/gnome \ --localstatedir=/var/lib \ $CONFIGURE_ARGS && - make && make install + make && make install || return 1 + + mkdir -p $install/usr/share/images + ln -s ../pixmaps/backgrounds/gnome/background-default.jpg \ + $install/usr/share/images/gnome-default.jpg } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib $fs/usr/share - cp -a $install/etc $fs - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/lib/bonobo $fs/usr/lib - cp -a $install/usr/lib/*.so* $fs/usr/lib - - # Background - cp -a $install/usr/share/gnome-background-* $fs/usr/share - cp -a $install/usr/share/pixmaps $fs/usr/share - mkdir -p $fs/usr/share/images && cd $fs/usr/share/images - ln -s ../pixmaps/backgrounds/gnome/background-default.jpg \ - gnome-default.jpg - - # Clean unwated files - cd $fs/usr/lib ; find . -name "*.*a" -exec rm -f {} \; +genpkg_rules() { + case $PACKAGE in + libgnome) + copy @std + DEPENDS="GConf alsa-lib audiofile dbus dbus-glib esound glib \ + gnome-vfs libbonobo libffi liblzma libxml2 orbit2 pcre popt \ + util-linux-blkid util-linux-mount util-linux-uuid zlib" + ;; + *-dev) + copy @dev + DEPENDS="libgnome GConf-dev alsa-lib-dev audiofile-dev dbus-dev \ + dbus-glib-dev esound-dev glib-dev gnome-vfs-dev libbonobo-dev \ + libffi-dev libxml2-dev orbit2-dev pcre-dev popt-dev \ + util-linux-blkid-dev util-linux-mount-dev util-linux-uuid-dev \ + xz-dev zlib-dev" + ;; + esac } diff -r abcb4412bfe6 -r 16a417e1e89d libgnomecanvas-dev/receipt --- a/libgnomecanvas-dev/receipt Fri Nov 17 18:18:29 2017 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,29 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="libgnomecanvas-dev" -VERSION="2.30.3" -CATEGORY="development" -SHORT_DESC="GNOME canvas library" -MAINTAINER="pankso@slitaz.org" -LICENSE="GPL2" -WANTED="libgnomecanvas" -WEB_SITE="http://www.gnome.org/" - -DEPENDS="libgnomecanvas libart_lgpl-dev gtk+-dev libglade-dev pkg-config" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - - # Copy static and all libglade libs - cp -a $install/usr/lib/*.*a $fs/usr/lib - cp -a $install/usr/lib/pkgconfig $fs/usr/lib - cp -a $install/usr/lib/libglade $fs/usr/lib - - cp -a $install/usr/include $fs/usr - - # Remove static libs - rm $fs/usr/lib/libglade/*/*.so -} - diff -r abcb4412bfe6 -r 16a417e1e89d libgnomecanvas/receipt --- a/libgnomecanvas/receipt Fri Nov 17 18:18:29 2017 +0100 +++ b/libgnomecanvas/receipt Sat Nov 18 13:59:34 2017 +0200 @@ -1,4 +1,4 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="libgnomecanvas" VERSION="2.30.3" @@ -6,18 +6,16 @@ SHORT_DESC="GNOME canvas library" MAINTAINER="pankso@slitaz.org" LICENSE="GPL2" +WEB_SITE="http://www.gnome.org/" + TARBALL="$PACKAGE-$VERSION.tar.bz2" -WEB_SITE="http://www.gnome.org/" WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" -DEPENDS="gtk+ libglade libart_lgpl xorg-libXdamage xorg-libXcursor" BUILD_DEPENDS="gtk+-dev libglade-dev libart_lgpl-dev xorg-libXcursor-dev \ intltool" +SPLIT="libgnomecanvas-dev" -# Rules to configure and make the package. -compile_rules() -{ - cd $src +compile_rules() { ./configure \ --with-html-dir=/usr/share/doc \ --enable-glade \ @@ -25,18 +23,25 @@ make && make install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib $fs/usr/share/locale - - # Copy shared libs - cp -a $install/usr/lib/*.so* $fs/usr/lib - cp -a $install/usr/lib/libglade $fs/usr/lib - - cp -a $install/usr/share/locale/fr $fs/usr/share/locale - - # Remove static libs - rm $fs/usr/lib/libglade/*/*.*a +genpkg_rules() { + case $PACKAGE in + libgnomecanvas) + copy @std + DEPENDS="atk bzlib cairo fontconfig freetype gdk-pixbuf glib gtk+ \ + libart_lgpl libffi libglade libharfbuzz liblzma libpng16 libxml2 \ + pango pcre util-linux-blkid util-linux-mount util-linux-uuid \ + xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext \ + xorg-libXinerama xorg-libXrender xorg-libxcb xorg-pixman zlib" + ;; + *-dev) + copy @dev + DEPENDS="libgnomecanvas atk-dev bzip2-dev cairo-dev fontconfig-dev \ + freetype-dev gdk-pixbuf-dev glib-dev gtk+-dev harfbuzz-dev \ + libart_lgpl-dev libffi-dev libglade-dev libpng16-dev libxml2-dev \ + pango-dev pcre-dev util-linux-blkid-dev util-linux-mount-dev \ + util-linux-uuid-dev xorg-libX11-dev xorg-libXau-dev \ + xorg-libXdmcp-dev xorg-libXext-dev xorg-libXinerama-dev \ + xorg-libXrender-dev xorg-libxcb-dev xorg-pixman-dev xz-dev zlib-dev" + ;; + esac } - diff -r abcb4412bfe6 -r 16a417e1e89d libgnomecanvasmm-dev/receipt --- a/libgnomecanvasmm-dev/receipt Fri Nov 17 18:18:29 2017 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,21 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="libgnomecanvasmm-dev" -VERSION="2.26.0" -CATEGORY="development" -SHORT_DESC="devel files for libgnomecanvasmm" -MAINTAINER="slaxemulator@gmail.com" -LICENSE="LGPL2.1" -WEB_SITE="http://gtkmm.sourceforge.net/" -WANTED="libgnomecanvasmm" - -DEPENDS="libgnomecanvasmm 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/pkgconfig $fs/usr/lib - cp -a $install/usr/lib/$WANTED-*/ $fs/usr/lib -} diff -r abcb4412bfe6 -r 16a417e1e89d libgnomecanvasmm/receipt --- a/libgnomecanvasmm/receipt Fri Nov 17 18:18:29 2017 +0100 +++ b/libgnomecanvasmm/receipt Sat Nov 18 13:59:34 2017 +0200 @@ -1,21 +1,20 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="libgnomecanvasmm" VERSION="2.26.0" CATEGORY="x-window" -SHORT_DESC="A C++ wrapper for libgnomecanvas." +SHORT_DESC="A C++ wrapper for libgnomecanvas" MAINTAINER="slaxemulator@gmail.com" LICENSE="LGPL2.1" WEB_SITE="http://gtkmm.sourceforge.net/" + TARBALL="$PACKAGE-$VERSION.tar.bz2" WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" -DEPENDS="gtkmm libgnomecanvas" -BUILD_DEPENDS="gtkmm-dev libgnomecanvas-dev" +BUILD_DEPENDS="gfortran gtkmm-dev libgnomecanvas-dev" +SPLIT="libgnomecanvasmm-dev" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { sed -i 's|.*glibmm/propertyproxy.h|#include \n&|' \ libgnomecanvas/libgnomecanvasmm/properties.h sed -i 's|gtkmm/main|gtkmm|' \ @@ -23,6 +22,7 @@ libgnomecanvas/libgnomecanvasmm/init.cc \ examples/canvas_affine/canvas_affine.cc \ examples/canvas_events/canvas_events.cc + ./configure \ --sysconfdir=/etc \ --localstatedir=/var \ @@ -30,9 +30,25 @@ make && make install } -# 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 +genpkg_rules() { + case $PACKAGE in + libgnomecanvasmm) + copy @std + DEPENDS="atk atkmm cairo cairomm fontconfig freetype gdk-pixbuf \ + glib glibmm gtk+ gtkmm libart_lgpl libgiomm libgnomecanvas \ + libsigc++ pango pangomm" + ;; + *-dev) + copy @dev + DEPENDS="libgnomecanvasmm atk-dev atkmm-dev bzip2-dev cairo-dev \ + cairomm-dev fontconfig-dev freetype-dev gdk-pixbuf-dev glib-dev \ + glibmm-dev gtk+-dev gtkmm-dev harfbuzz-dev libart_lgpl-dev \ + libffi-dev libgiomm-dev libgnomecanvas-dev libpng16-dev \ + libsigc++-dev libxml2-dev pango-dev pangomm-dev pcre-dev \ + util-linux-blkid-dev util-linux-mount-dev util-linux-uuid-dev \ + xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \ + xorg-libXinerama-dev xorg-libXrender-dev xorg-libxcb-dev \ + xorg-pixman-dev xz-dev zlib-dev" + ;; + esac } diff -r abcb4412bfe6 -r 16a417e1e89d libgnomeprint/receipt --- a/libgnomeprint/receipt Fri Nov 17 18:18:29 2017 +0100 +++ b/libgnomeprint/receipt Sat Nov 18 13:59:34 2017 +0200 @@ -12,11 +12,9 @@ BUILD_DEPENDS="pkg-config glib-dev pango-dev intltool flex libart_lgpl-dev \ libxml2-dev" -SPLIT="libgnomeprint libgnomeprint-dev" +SPLIT="libgnomeprint-dev" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { ./configure \ --with-html-dir=/usr/share/doc \ --without-cups \ @@ -24,40 +22,18 @@ make && make install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ +genpkg_rules() { case $PACKAGE in - libgnomeprint) - DEPENDS="gtk+ popt libxml2 libart_lgpl" - mkdir -p $fs/usr/lib $fs/usr/share/locale - - # Copy shared libs - cp -a $install/usr/lib/*.so* $fs/usr/lib - cp -a $install/usr/lib/$PACKAGE $fs/usr/lib - - cp -a $install/usr/share/locale/fr $fs/usr/share/locale - cp -a $install/usr/share/$PACKAGE $fs/usr/share - - # Remove static libs - rm $fs/usr/lib/$PACKAGE/$VERSION/modules/*.*a - rm $fs/usr/lib/$PACKAGE/$VERSION/modules/*/*.*a - ;; - libgnomeprint-dev) - CAT="development|GNOME print library" - DEPENDS="gtk+-dev popt-dev libxml2-dev pkg-config" - mkdir -p $fs/usr/lib - - # Copy static libs - cp -a $install/usr/lib/*.*a $fs/usr/lib - cp -a $install/usr/lib/pkgconfig $fs/usr/lib - cp -a $install/usr/lib/libgnomeprint $fs/usr/lib - - cp -a $install/usr/include $fs/usr - - # Remove shared libs - rm $fs/usr/lib/libgnomeprint/$VERSION/modules/*.so* - rm $fs/usr/lib/libgnomeprint/$VERSION/modules/*/*.so* - ;; + libgnomeprint) + copy @std + DEPENDS="bzlib fontconfig freetype glib libart_lgpl libffi \ + libharfbuzz liblzma libpng16 libxml2 pango pcre zlib" + ;; + libgnomeprint-dev) + copy @dev + DEPENDS="libgnomeprint bzip2-dev fontconfig-dev freetype-dev \ + glib-dev harfbuzz-dev libart_lgpl-dev libffi-dev libpng16-dev \ + libxml2-dev pango-dev pcre-dev xz-dev zlib-dev" + ;; esac } diff -r abcb4412bfe6 -r 16a417e1e89d libgnomeprintui-dev/receipt --- a/libgnomeprintui-dev/receipt Fri Nov 17 18:18:29 2017 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,23 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="libgnomeprintui-dev" -VERSION="2.18.6" -CATEGORY="development" -SHORT_DESC="GNOME print user interface library" -MAINTAINER="pankso@slitaz.org" -LICENSE="GPL2" -WANTED="libgnomeprintui" -WEB_SITE="http://www.gnome.org/" - -DEPENDS="gtk+-dev libgnomeprint-dev libgnomecanvas-dev libgnomeprintui \ -gnome-icon-theme pkg-config" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/*.*a $fs/usr/lib - cp -a $install/usr/lib/pkgconfig $fs/usr/lib - cp -a $install/usr/include $fs/usr -} - diff -r abcb4412bfe6 -r 16a417e1e89d libgnomeprintui/receipt --- a/libgnomeprintui/receipt Fri Nov 17 18:18:29 2017 +0100 +++ b/libgnomeprintui/receipt Sat Nov 18 13:59:34 2017 +0200 @@ -1,4 +1,4 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="libgnomeprintui" VERSION="2.18.6" @@ -6,29 +6,45 @@ SHORT_DESC="GNOME print user interface library" MAINTAINER="pankso@slitaz.org" LICENSE="GPL2" +WEB_SITE="http://www.gnome.org/" + TARBALL="$PACKAGE-$VERSION.tar.bz2" -WEB_SITE="http://www.gnome.org/" WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL" -DEPENDS="gtk+ libgnomeprint libgnomecanvas libart_lgpl" BUILD_DEPENDS="pkg-config gnome-icon-theme flex libgnomeprint-dev \ xorg-libXinerama-dev xorg-libXrandr-dev xorg-libXcursor-dev \ xorg-libXcomposite-dev xorg-libXdamage-dev \ libgnomecanvas-dev libart_lgpl-dev intltool" +SPLIT="libgnomeprintui-dev" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { ./configure \ --with-html-dir=/usr/share/doc \ $CONFIGURE_ARGS && make && make install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib $fs/usr/share - cp -a $install/usr/lib/*.so* $fs/usr/lib - cp -a $install/usr/share/$PACKAGE $fs/usr/share +genpkg_rules() { + case $PACKAGE in + libgnomeprintui) + copy @std + DEPENDS="atk bzlib cairo fontconfig freetype gdk-pixbuf glib gtk+ \ + libart_lgpl libffi libgnomecanvas libgnomeprint libharfbuzz \ + liblzma libpng16 libxml2 pango pcre util-linux-blkid \ + util-linux-mount util-linux-uuid xorg-libX11 xorg-libXau \ + xorg-libXdmcp xorg-libXext xorg-libXinerama xorg-libXrender \ + xorg-libxcb xorg-pixman zlib" + ;; + *-dev) + copy @dev + DEPENDS="libgnomeprintui atk-dev bzip2-dev cairo-dev \ + fontconfig-dev freetype-dev gdk-pixbuf-dev glib-dev gtk+-dev \ + harfbuzz-dev libart_lgpl-dev libffi-dev libgnomecanvas-dev \ + libgnomeprint-dev libpng16-dev libxml2-dev pango-dev pcre-dev \ + util-linux-blkid-dev util-linux-mount-dev util-linux-uuid-dev \ + xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \ + xorg-libXinerama-dev xorg-libXrender-dev xorg-libxcb-dev \ + xorg-pixman-dev xz-dev zlib-dev gnome-icon-theme" + ;; + esac } diff -r abcb4412bfe6 -r 16a417e1e89d libgnomeui-dev/receipt --- a/libgnomeui-dev/receipt Fri Nov 17 18:18:29 2017 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,23 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="libgnomeui-dev" -VERSION="2.24.5" -CATEGORY="development" -SHORT_DESC="Gnome UI libs devel files" -MAINTAINER="erjo@slitaz.org" -LICENSE="GPL2" -WEB_SITE="http://www.gnome.org" -WANTED="libgnomeui" - -DEPENDS="libgnomeui libbonoboui-dev libgnome-keyring-dev 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/libglade $fs/usr/lib - cp -a $install/usr/lib/pkgconfig $fs/usr/lib - find $fs/usr/lib -name *.so* -exec rm -f {} \; -} diff -r abcb4412bfe6 -r 16a417e1e89d libgnomeui/receipt --- a/libgnomeui/receipt Fri Nov 17 18:18:29 2017 +0100 +++ b/libgnomeui/receipt Sat Nov 18 13:59:34 2017 +0200 @@ -1,37 +1,55 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="libgnomeui" VERSION="2.24.5" CATEGORY="x-window" -SHORT_DESC="This is the gui parts of what was previously gnome-libs" +SHORT_DESC="This is the GUI parts of what was previously gnome-libs" MAINTAINER="erjo@slitaz.org" LICENSE="GPL2" -TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://www.gnome.org" -DEPENDS="libgnome libgnomecanvas libglade libbonoboui gnome-keyring" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" + BUILD_DEPENDS="libgnome-dev libgnomecanvas-dev gnome-keyring \ libgnome-keyring-dev libbonoboui-dev util-linux-uuid-dev libgcrypt-dev \ -dbus-glib-dev esound-dev audiofile-dev libglade-dev intltool" -WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL" +dbus-glib-dev esound-dev audiofile-dev libglade-dev intltool xorg-libICE-dev \ +xorg-libSM-dev" +SPLIT="libgnomeui-dev" -# Rules to configure and make the package. -compile_rules() -{ - cd $src +compile_rules() { ./configure \ - --prefix=/usr \ --libexecdir=/usr/lib/$PACKAGE \ $CONFIGURE_ARGS && make && make install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib $fs/usr/share - cp -a $install/usr/lib/*.so* $fs/usr/lib - cp -a $install/usr/lib/libglade $fs/usr/lib - cp -a $install/usr/share/pixmaps $fs/usr/share - find $fs/usr/lib -name *.*a -exec rm -f {} \; +genpkg_rules() { + case $PACKAGE in + libgnomeui) + copy @std + DEPENDS="GConf alsa-lib atk audiofile bzlib cairo dbus dbus-glib \ + esound fontconfig freetype gdk-pixbuf glib gnome-vfs gtk+ \ + libart_lgpl libbonobo libbonoboui libffi libgcrypt libglade \ + libgnome libgnome-keyring libgnomecanvas libgpg-error libharfbuzz \ + liblzma libpng16 libxml2 orbit2 pango pcre popt util-linux-blkid \ + util-linux-mount util-linux-uuid xorg-libICE xorg-libSM \ + xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext \ + xorg-libXinerama xorg-libXrender xorg-libxcb xorg-pixman zlib" + ;; + *-dev) + copy @dev + DEPENDS="libgnomeui GConf-dev alsa-lib-dev atk-dev audiofile-dev \ + bzip2-dev cairo-dev dbus-dev dbus-glib-dev esound-dev \ + fontconfig-dev freetype-dev gdk-pixbuf-dev glib-dev gnome-vfs-dev \ + gtk+-dev harfbuzz-dev libart_lgpl-dev libbonoboui-dev libffi-dev \ + libgcrypt-dev libglade-dev libgnome-dev libgnome-keyring-dev \ + libgnomecanvas-dev libgpg-error-dev libpng16-dev libxml2-dev \ + orbit2-dev pango-dev pcre-dev popt-dev util-linux-blkid-dev \ + util-linux-mount-dev util-linux-uuid-dev xorg-libICE-dev \ + xorg-libSM-dev xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev \ + xorg-libXext-dev xorg-libXinerama-dev xorg-libXrender-dev \ + xorg-libxcb-dev xorg-pixman-dev xz-dev zlib-dev" + ;; + esac } diff -r abcb4412bfe6 -r 16a417e1e89d libgooglepinyin-dev/receipt --- a/libgooglepinyin-dev/receipt Fri Nov 17 18:18:29 2017 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,21 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="libgooglepinyin-dev" -VERSION="0.1.1" -CATEGORY="development" -SHORT_DESC="A fork from google pinyin on android" -MAINTAINER="lufeng369@slitaz.org" -LICENSE="Apache" -WEB_SITE="http://code.google.com/p/libgooglepinyin/" -WANTED="libgooglepinyin" - -DEPENDS="libgooglepinyin pkg-config" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib/pkgconfig/ - cp -a $install/usr/include/ $fs/usr/ - cp -a $install/usr/lib/pkgconfig/*.pc $fs/usr/lib/pkgconfig/ - cp -a $install/usr/share/ $fs/usr/ -} diff -r abcb4412bfe6 -r 16a417e1e89d libgooglepinyin/receipt --- a/libgooglepinyin/receipt Fri Nov 17 18:18:29 2017 +0100 +++ b/libgooglepinyin/receipt Sat Nov 18 13:59:34 2017 +0200 @@ -1,4 +1,4 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="libgooglepinyin" VERSION="0.1.1" @@ -6,28 +6,27 @@ SHORT_DESC="A fork from google pinyin on android" MAINTAINER="lufeng369@slitaz.org" LICENSE="Apache" +WEB_SITE="http://code.google.com/p/libgooglepinyin/" + TARBALL="$PACKAGE-$VERSION.tar.bz2" -WEB_SITE="http://code.google.com/p/libgooglepinyin/" WGET_URL="http://libgooglepinyin.googlecode.com/files/$TARBALL" -DEPENDS="" -BUILD_DEPENDS="cairo-dev pango-dev intltool cmake gtk+-dev gcc" +BUILD_DEPENDS="cmake" +SPLIT="libgooglepinyin-dev" -# Rules to configure and make the package. -compile_rules() -{ - mkdir -p $src/build - cd $src/build - cmake $src -DCMAKE_INSTALL_PREFIX=/usr || return 1 - cd $src - make -C build || return 1 - make install/fast -C build DESTDIR=$DESTDIR +compile_rules() { + mkdir build + cd build + cmake \ + -DCMAKE_INSTALL_PREFIX=/usr \ + .. && + make && + make install/fast DESTDIR=$DESTDIR } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib/ $fs/usr/share/ - cp -a $install/usr/lib/libgooglepinyin.so* $fs/usr/lib/ - cp -a $install/usr/share/googlepinyin/ $fs/usr/share/ +genpkg_rules() { + case $PACKAGE in + libgooglepinyin) copy @std;; + *-dev) copy @dev;; + esac } diff -r abcb4412bfe6 -r 16a417e1e89d libgpod-dev/receipt --- a/libgpod-dev/receipt Fri Nov 17 18:18:29 2017 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,21 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="libgpod-dev" -VERSION="0.7.94" -CATEGORY="development" -SHORT_DESC="libgpod devel files" -MAINTAINER="jozee@slitaz.org" -LICENSE="GPL2" -WANTED="libgpod" -WEB_SITE="http://www.gtkpod.org/libgpod.html" - -DEPENDS="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/pkgconfig $fs/usr/lib - cp -a $install/usr/lib/*.*a $fs/usr/lib/ -} diff -r abcb4412bfe6 -r 16a417e1e89d libgpod/receipt --- a/libgpod/receipt Fri Nov 17 18:18:29 2017 +0100 +++ b/libgpod/receipt Sat Nov 18 13:59:34 2017 +0200 @@ -1,31 +1,35 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="libgpod" VERSION="0.7.94" CATEGORY="multimedia" -SHORT_DESC="a shared library to access the contents of an iPod" +SHORT_DESC="Library to access the contents of an iPod" MAINTAINER="jozee@slitaz.org" LICENSE="GPL2" +WEB_SITE="http://www.gtkpod.org/libgpod.html" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://www.gtkpod.org/libgpod.html" WGET_URL="$SF_MIRROR/gtkpod/$TARBALL" -DEPENDS="gtk+ mutagen libxml2 sqlite3 libplist zlib" -BUILD_DEPENDS="$DEPENDS intltool pygobject libxml2-dev pkg-config sqlite3-dev \ -glib-dev libplist-dev zlib-dev libffi" +BUILD_DEPENDS="$DEPENDS intltool pygobject libxml2-dev sqlite3-dev glib-dev \ +libplist-dev zlib-dev libffi" +SPLIT="libgpod-dev" -# Rules to configure and make the package. -compile_rules() -{ - cd $src - ./configure --prefix=/usr $CONFIGURE_ARGS && - make PREFIX=/usr && - make PREFIX=/usr DESTDIR=$DESTDIR install +compile_rules() { + ./configure $CONFIGURE_ARGS && make && make install } -# 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/ +genpkg_rules() { + case $PACKAGE in + libgpod) + copy @std + DEPENDS="glib libffi liblzma libplist libsqlite3 libxml2 pcre \ + zlib gtk+ mutagen sqlite3" + ;; + *-dev) + copy @dev + DEPENDS="libgpod glib-dev libffi-dev libplist-dev libxml2-dev \ + pcre-dev sqlite3-dev xz-dev zlib-dev" + ;; + esac } diff -r abcb4412bfe6 -r 16a417e1e89d libqcow-dev/receipt --- a/libqcow-dev/receipt Fri Nov 17 18:18:29 2017 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="libqcow-dev" -VERSION="20120225" -CATEGORY="development" -SHORT_DESC="Tools for reading QEMU Copy-On-Write (QCOW) images, development files." -MAINTAINER="pascal.bellard@slitaz.org" -LICENSE="LGPL3" -WEB_SITE="http://libqcow.sourceforge.net/" -WANTED="libqcow" - -# 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 -} diff -r abcb4412bfe6 -r 16a417e1e89d libqcow/receipt --- a/libqcow/receipt Fri Nov 17 18:18:29 2017 +0100 +++ b/libqcow/receipt Sat Nov 18 13:59:34 2017 +0200 @@ -1,33 +1,36 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="libqcow" -VERSION="20120225" +VERSION="20170222" CATEGORY="misc" -SHORT_DESC="Tools for reading QEMU Copy-On-Write (QCOW) image files." +SHORT_DESC="Tools for reading QEMU Copy-On-Write (QCOW) image files" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="LGPL3" +WEB_SITE="https://github.com/libyal/libqcow" + TARBALL="$PACKAGE-alpha-$VERSION.tar.gz" -WEB_SITE="http://libqcow.sourceforge.net/" -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" +WGET_URL="https://github.com/libyal/libqcow/releases/download/$VERSION/$TARBALL" -DEPENDS="fuse libcrypto" -BUILD_DEPENDS="fuse-dev openssl-dev" +BUILD_DEPENDS="gettext openssl-dev zlib-dev fuse-dev" +SPLIT="libqcow-dev" -# Rules to configure and make the package. -compile_rules() -{ - cd $src - ./configure --prefix=/usr --mandir=/usr/share/man \ +compile_rules() { + ./configure \ --localstatedir=/var \ $CONFIGURE_ARGS && make && - make DESTDIR=$DESTDIR install + make install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/lib/*.so* $fs/usr/lib +genpkg_rules() { + case $PACKAGE in + libqcow) + copy @std + DEPENDS="fuse libcrypto zlib" + ;; + *-dev) + copy @dev + DEPENDS="libqcow openssl-dev zlib-dev" + ;; + esac } diff -r abcb4412bfe6 -r 16a417e1e89d libzeitgeist-dev/receipt --- a/libzeitgeist-dev/receipt Fri Nov 17 18:18:29 2017 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,24 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="libzeitgeist-dev" -VERSION="0.3.18" -CATEGORY="development" -SHORT_DESC="Development files for libzeitgeist" -MAINTAINER="al.bobylev@gmail.com" -LICENSE="LGPL2.1" -WEB_SITE="https://launchpad.net/libzeitgeist" - -WANTED="libzeitgeist" -DEPENDS="libzeitgeist glib-dev pkg-config" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p \ - $fs/usr/lib \ - $fs/usr/share - cp -a $install/usr/include $fs/usr - cp -a $install/usr/lib/pkgconfig $fs/usr/lib - cp -a $install/usr/lib/*.la $fs/usr/lib - cp -a $install/usr/share/vala $fs/usr/share -} diff -r abcb4412bfe6 -r 16a417e1e89d libzeitgeist/receipt --- a/libzeitgeist/receipt Fri Nov 17 18:18:29 2017 +0100 +++ b/libzeitgeist/receipt Sat Nov 18 13:59:34 2017 +0200 @@ -1,24 +1,20 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="libzeitgeist" VERSION="0.3.18" -SERIES="0.3" CATEGORY="utilities" SHORT_DESC="Zeitgeist client library" MAINTAINER="al.bobylev@gmail.com" LICENSE="LGPL2.1" WEB_SITE="https://launchpad.net/libzeitgeist" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WGET_URL="$WEB_SITE/$SERIES/$VERSION/+download/$TARBALL" +WGET_URL="$WEB_SITE/${VERSION%.*}/$VERSION/+download/$TARBALL" -VERSION_NOTE="latest stable" +BUILD_DEPENDS="glib-dev" +SPLIT="libzeitgeist-dev" -DEPENDS="glib" -BUILD_DEPENDS="wget glib-dev" - -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { ./configure \ --disable-static \ $CONFIGURE_ARGS && @@ -26,9 +22,17 @@ make install } -# 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 +genpkg_rules() { + case $PACKAGE in + libzeitgeist) + copy @std + DEPENDS="glib" + ;; + *-dev) + copy @dev + DEPENDS="libzeitgeist glib-dev libffi-dev pcre-dev \ + util-linux-blkid-dev util-linux-mount-dev util-linux-uuid-dev \ + zlib-dev" + ;; + esac }