# HG changeset patch # User Aleksej Bobylev # Date 1508856597 -10800 # Node ID 05d4a6d977d49058c2a3f7a94b43243c1da08d71 # Parent 685f9eb83991bdaa36498426bfcd80554103ff58 Up libcanberra (gtk2 and gtk3 support), vala (0.36.4), dconf (0.26.0), gucharmap3 (10.0.0), pycairo (1.15.3), pygobject3 (3.26.0), libgtop. Add dconf-editor, gtksourceview3. diff -r 685f9eb83991 -r 05d4a6d977d4 dconf-dev/receipt --- a/dconf-dev/receipt Tue Oct 24 17:34:03 2017 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,23 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="dconf-dev" -VERSION="0.13.0" -CATEGORY="development" -SHORT_DESC="Development files for dconf" -MAINTAINER="al.bobylev@gmail.com" -LICENSE="LGPL2.1" -WEB_SITE="http://live.gnome.org/dconf" - -WANTED="dconf" -DEPENDS="dconf" - -# 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/share/vala $fs/usr/share -} diff -r 685f9eb83991 -r 05d4a6d977d4 dconf-editor/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dconf-editor/receipt Tue Oct 24 17:49:57 2017 +0300 @@ -0,0 +1,33 @@ +# SliTaz package receipt v2. + +PACKAGE="dconf-editor" +VERSION="3.22.3" +CATEGORY="system-tools" +SHORT_DESC="A low-level configuration system (graphical editor)" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="LGPL2.1" +WEB_SITE="https://wiki.gnome.org/Projects/dconf" +LFS="http://www.linuxfromscratch.org/blfs/view/stable/gnome/dconf.html" + +TARBALL="$PACKAGE-$VERSION.tar.xz" +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" + +BUILD_DEPENDS="vala glib-dev gtk+3-dev dconf-dev gettext intltool" + +compile_rules() { + # sdft can't process keywords + sed -i '/_Keywords=/d' editor/ca.desrt.dconf-editor.desktop.in.in + + ./configure \ + --sysconfdir=/etc \ + $CONFIGURE_ARGS && + make && + make install +} + +genpkg_rules() { + copy @std + rm -r $fs/usr/share/icons; cook_copy_icons # only 16 and 48 + rm -r $fs/usr/share/appdata + DEPENDS="atk cairo dconf gdk-pixbuf glib gtk+3 pango dbus" +} diff -r 685f9eb83991 -r 05d4a6d977d4 dconf/receipt --- a/dconf/receipt Tue Oct 24 17:34:03 2017 +0300 +++ b/dconf/receipt Tue Oct 24 17:49:57 2017 +0300 @@ -1,43 +1,37 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="dconf" -VERSION="0.13.0" +VERSION="0.26.0" CATEGORY="system-tools" SHORT_DESC="A low-level configuration system" MAINTAINER="al.bobylev@gmail.com" LICENSE="LGPL2.1" -WEB_SITE="http://live.gnome.org/dconf" +WEB_SITE="https://wiki.gnome.org/Projects/dconf" +LFS="http://www.linuxfromscratch.org/blfs/view/stable/gnome/dconf.html" + TARBALL="$PACKAGE-$VERSION.tar.xz" -HI_VERSION=$(echo $VERSION | cut -d. -f1,2) -WGET_URL="$GNOME_MIRROR/$PACKAGE/$HI_VERSION/$TARBALL" +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" -DEPENDS="dbus" -BUILD_DEPENDS="vala glib-dev dbus-dev gtk+3-dev libxml2-dev" -GENERIC_MENUS="no" -GENERIC_PIXMAPS="no" +BUILD_DEPENDS="vala libxslt-dev gtk-doc dbus-dev" +SPLIT="dconf-dev" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { ./configure \ --sysconfdir=/etc \ - --libexecdir=/usr/lib \ $CONFIGURE_ARGS && make && make install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p \ - $fs/usr/bin \ - $fs/usr/lib \ - $fs/usr/share - cp -a $install/usr/bin/dconf $fs/usr/bin - cp -a $install/usr/lib/gio $fs/usr/lib - cp -a $install/usr/lib/*.so* $fs/usr/lib - cp -a $install/usr/lib/dconf-service $fs/usr/lib - cp -a $install/usr/share/dbus* $fs/usr/share - cp -a $install/usr/share/glib* $fs/usr/share +genpkg_rules() { + case $PACKAGE in + dconf) + copy @std + DEPENDS="glib dbus" + ;; + *-dev) + copy @dev + DEPENDS="dconf glib-dev" + ;; + esac } diff -r 685f9eb83991 -r 05d4a6d977d4 gtksourceview3/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gtksourceview3/receipt Tue Oct 24 17:49:57 2017 +0300 @@ -0,0 +1,42 @@ +# SliTaz package receipt v2. + +PACKAGE="gtksourceview3" +VERSION="3.24.3" +CATEGORY="x-window" +SHORT_DESC="Extends GTK+3 framework for multiline text editing" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="GPL2" +WEB_SITE="https://wiki.gnome.org/Projects/GtkSourceView" +LFS="http://www.linuxfromscratch.org/blfs/view/stable/x/gtksourceview.html" + +TARBALL="gtksourceview-$VERSION.tar.xz" +WGET_URL="$GNOME_MIRROR/gtksourceview/${VERSION%.*}/$TARBALL" + +BUILD_DEPENDS="glib-dev itstool gtk+3-dev libxml2-dev gettext gtk-doc vala" +SPLIT="gtksourceview3-dev" + +compile_rules() { + ./configure $CONFIGURE_ARGS && make && make install +} + +genpkg_rules() { + case $PACKAGE in + gtksourceview3) + copy @std + DEPENDS="atk bzlib cairo fontconfig freetype gdk-pixbuf glib gtk+3 \ + libffi libharfbuzz liblzma libpng16 libxml2 pango pcre \ + util-linux-blkid util-linux-mount util-linux-uuid xorg-libX11 \ + xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender xorg-libxcb \ + xorg-pixman zlib" + ;; + *-dev) + copy @dev + DEPENDS="gtksourceview3 atk-dev bzip2-dev cairo-dev fontconfig-dev \ + freetype-dev gdk-pixbuf-dev glib-dev gtk+3-dev harfbuzz-dev \ + libffi-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-libXrender-dev xorg-libxcb-dev xorg-pixman-dev xz-dev zlib-dev" + ;; + esac +} diff -r 685f9eb83991 -r 05d4a6d977d4 gucharmap3-dev/receipt --- a/gucharmap3-dev/receipt Tue Oct 24 17:34:03 2017 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,22 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="gucharmap3-dev" -VERSION="3.18.2" -CATEGORY="development" -SHORT_DESC="GNOME Character Map (GTK+3), development files" -MAINTAINER="al.bobylev@gmail.com" -LICENSE="GPL3" -WEB_SITE="https://wiki.gnome.org/action/show/Apps/Gucharmap" - -WANTED="gucharmap3" -DEPENDS="gucharmap3" - -# 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/gir-1.0 $fs/usr/share -} diff -r 685f9eb83991 -r 05d4a6d977d4 gucharmap3-i18n/receipt --- a/gucharmap3-i18n/receipt Tue Oct 24 17:34:03 2017 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="gucharmap3-i18n" -VERSION="3.18.2" -CATEGORY="localization" -SHORT_DESC="Language files for GNOME Character Map (GTK+3)" -MAINTAINER="al.bobylev@gmail.com" -LICENSE="GPL3" -WEB_SITE="https://wiki.gnome.org/action/show/Apps/Gucharmap" - -WANTED="gucharmap3" -DEPENDS="gucharmap3" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/share/locale - cp -a $install/usr/share/locale/* $fs/usr/share/locale -} diff -r 685f9eb83991 -r 05d4a6d977d4 gucharmap3/receipt --- a/gucharmap3/receipt Tue Oct 24 17:34:03 2017 +0300 +++ b/gucharmap3/receipt Tue Oct 24 17:49:57 2017 +0300 @@ -1,47 +1,60 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="gucharmap3" -VERSION="3.18.2" +VERSION="10.0.0" CATEGORY="utilities" -SHORT_DESC="GNOME Character Map (GTK+3)" +SHORT_DESC="GNOME Character Map for GTK+3" MAINTAINER="al.bobylev@gmail.com" LICENSE="GPL3" +WEB_SITE="https://wiki.gnome.org/Apps/Gucharmap" +LFS="http://www.linuxfromscratch.org/blfs/view/stable/gnome/gucharmap.html" + TARBALL="gucharmap-$VERSION.tar.xz" -WEB_SITE="https://wiki.gnome.org/action/show/Apps/Gucharmap" WGET_URL="$GNOME_MIRROR/gucharmap/${VERSION%.*}/$TARBALL" -DEPENDS="gtk+3 xorg-libXdamage" -BUILD_DEPENDS="automake gtk-doc libtool itstool libxml2-tools glib-dev \ -gtk+3-dev desktop-file-utils-extra gobject-introspection-dev vala" -SPLIT="gucharmap3-i18n" +BUILD_DEPENDS="gtk-doc automake gettext libtool gobject-introspection-dev \ +intltool yelp-tools itstool gtk+3-dev desktop-file-utils-extra wget \ +coreutils-file-summarize unzip vala" +SPLIT="gucharmap3-i18n gucharmap-gnome gucharmap3 gucharmap3-dev" -# Rules to configure and make the package. -compile_rules() -{ - # Idea is to have two nonintersecting packages: - # gucharmap (for GTK+2) and gucharmap3 (for GTK+3) - sed -i '/AC_INIT/s|gucharmap|&3|3; s|GETTEXT_PACKAGE=.*$|&3|' \ - $src/configure.ac - # Disable stuff we never had - sed -i '/GNOME_DEBUG_CHECK/d; /YELP/d' $src/configure.ac - sed -i '/YELP/d' $src/help/Makefile.am - - ./autogen.sh --program-suffix=3 - make && make install +compile_rules() { + ./autogen.sh \ + --enable-vala \ + --with-unicode-data=download \ + --program-suffix=3 && + make && make install || return 1 find $install/usr/bin -type l -delete - mv $install/usr/share/applications/gucharmap.desktop \ - $install/usr/share/applications/gucharmap3.desktop - sed -i 's|Exec=gucharmap|&3|' \ - $install/usr/share/applications/gucharmap3.desktop } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib $fs/usr/share/applications - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/lib/*.so* $fs/usr/lib - cp -a $install/usr/share/applications $fs/usr/share - cp -a $install/usr/share/glib-2.0 $fs/usr/share +genpkg_rules() { + case $PACKAGE in + *-i18n) + copy *.mo + CAT="localization|language files" + ;; + *-gnome) + copy help/ metainfo/ + CAT="gnome|GNOME integration" + ;; + gucharmap3) + copy @std + remove_already_packed + DEPENDS="atk bzlib cairo fontconfig freetype gdk-pixbuf glib gtk+3 \ + libffi libharfbuzz liblzma libpng16 libxml2 pango pcre \ + util-linux-blkid util-linux-mount util-linux-uuid xorg-libX11 \ + xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender xorg-libxcb \ + xorg-pixman zlib" + ;; + *-dev) + copy @dev + DEPENDS="${SPLIT/$PACKAGE/} atk-dev bzip2-dev cairo-dev \ + fontconfig-dev freetype-dev gdk-pixbuf-dev glib-dev gtk+3-dev \ + harfbuzz-dev libffi-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-libXrender-dev \ + xorg-libxcb-dev xorg-pixman-dev xz-dev zlib-dev" + ;; + esac } diff -r 685f9eb83991 -r 05d4a6d977d4 gucharmap3/stuff/patches/gucharmap3.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gucharmap3/stuff/patches/gucharmap3.patch Tue Oct 24 17:49:57 2017 +0300 @@ -0,0 +1,64 @@ +Idea is to have two nonintersecting SliTaz packages: +gucharmap (for GTK+2) and gucharmap3 (for GTK+3) +Author: Aleksej Bobylev + +--- a/configure.ac ++++ b/configure.ac +@@ -36,7 +36,7 @@ + + AC_PREREQ([2.56]) + +-AC_INIT([GNOME Character Map],[gucharmap_version],[http://bugzilla.gnome.org/enter_bug.cgi?product=gucharmap],[gucharmap]) ++AC_INIT([GNOME Character Map],[gucharmap_version],[http://bugzilla.gnome.org/enter_bug.cgi?product=gucharmap],[gucharmap3]) + + AC_CONFIG_MACRO_DIR([m4]) + AC_CONFIG_SRCDIR([gucharmap/gucharmap.h.in]) +@@ -48,7 +48,7 @@ + + # checks for progs + +-GNOME_DEBUG_CHECK ++#GNOME_DEBUG_CHECK + + AC_PROG_CC + AC_DISABLE_STATIC +@@ -222,7 +222,7 @@ + # i18n + # **** + +-GETTEXT_PACKAGE=gucharmap ++GETTEXT_PACKAGE=gucharmap3 + AC_SUBST([GETTEXT_PACKAGE]) + AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE],["$GETTEXT_PACKAGE"],[The gucharmap gettext domain]) + AM_GLIB_GNU_GETTEXT +@@ -319,7 +319,7 @@ + + AC_CONFIG_FILES([ + Makefile +-gucharmap.desktop.in ++gucharmap3.desktop.in + gucharmap.nsi + gucharmap.spec + data/Makefile +--- /dev/null ++++ b/gucharmap3.desktop.in.in +@@ -0,0 +1,8 @@ ++[Desktop Entry] ++Type=Application ++_Name=Character Map ++_Comment=Insert special characters into documents ++StartupNotify=true ++Exec=gucharmap3 ++Icon=accessories-character-map ++Categories=GNOME;GTK;Utility; +--- a/Makefile.am ++++ b/Makefile.am +@@ -14,7 +14,7 @@ + distcleancheck_listfiles = find . -type -f print | grep -v 'omf\.out' + + desktopdir = $(datadir)/applications +-desktop_in_files = gucharmap.desktop.in.in ++desktop_in_files = gucharmap3.desktop.in.in + desktop_DATA = $(desktop_in_files:.desktop.in.in=.desktop) + + pkgconfigdir = $(libdir)/pkgconfig diff -r 685f9eb83991 -r 05d4a6d977d4 gucharmap3/stuff/patches/series --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gucharmap3/stuff/patches/series Tue Oct 24 17:49:57 2017 +0300 @@ -0,0 +1,1 @@ +gucharmap3.patch diff -r 685f9eb83991 -r 05d4a6d977d4 libcanberra/receipt --- a/libcanberra/receipt Tue Oct 24 17:34:03 2017 +0300 +++ b/libcanberra/receipt Tue Oct 24 17:49:57 2017 +0300 @@ -7,18 +7,19 @@ MAINTAINER="devl547@gmail.com" LICENSE="LGPL2.1" WEB_SITE="http://0pointer.de/lennart/projects/libcanberra/" +LFS="http://www.linuxfromscratch.org/blfs/view/stable/multimedia/libcanberra.html" TARBALL="$PACKAGE-$VERSION.tar.xz" WGET_URL="$WEB_SITE/$TARBALL" BUILD_DEPENDS="libtool gtk+-dev libvorbis-dev alsa-lib-dev eudev-dev \ -gstreamer1-dev" -SPLIT="libcanberra-gnome libcanberra-gstreamer1 libcanberra libcanberra-dev" +gstreamer1-dev gtk+3-dev" +SPLIT="libcanberra-gnome libcanberra-gstreamer1 libcanberra-gtk2 \ +libcanberra-gtk3 libcanberra libcanberra-dev" # Rules to configure and make the package. compile_rules() { - # http://www.linuxfromscratch.org/blfs/view/stable/multimedia/libcanberra.html ./configure \ --enable-gtk \ --disable-oss \ @@ -34,6 +35,7 @@ *-gnome) copy gnome-settings-daemon-3.0/ gdm/ gnome/ canberra-boot CAT="gnome|GNOME integration" + DEPENDS="eudev libcanberra" ;; *-gstreamer1) copy libcanberra-gstreamer.so @@ -41,21 +43,37 @@ DEPENDS="libcanberra glib gstreamer1 libffi libltdl libogg \ libvorbis pcre" ;; + *-gtk2) + copy gtk-2.0/modules/*.so libcanberra-gtk.so* + CAT="sound|GTK+2 integration" + DEPENDS="libcanberra atk bzlib cairo fontconfig freetype \ + gdk-pixbuf glib gtk+ libffi libharfbuzz libltdl liblzma libogg \ + libpng16 libvorbis libxml2 pango pcre util-linux-blkid \ + util-linux-mount util-linux-uuid xorg-libX11 xorg-libXau \ + xorg-libXdmcp xorg-libXext xorg-libXrender xorg-libxcb xorg-pixman \ + zlib" + ;; + *-gtk3) + copy gtk-3.0/modules/*.so libcanberra-gtk3.so* canberra-gtk-play + CAT="sound|GTK+3 integration" + DEPENDS="libcanberra atk bzlib cairo fontconfig freetype \ + gdk-pixbuf glib gtk+3 libffi libharfbuzz libltdl liblzma libogg \ + libpng16 libvorbis libxml2 pango pcre util-linux-blkid \ + util-linux-mount util-linux-uuid xorg-libX11 xorg-libXau \ + xorg-libXdmcp xorg-libXext xorg-libXrender xorg-libxcb xorg-pixman \ + zlib" + ;; libcanberra) copy @std remove_already_packed - DEPENDS="alsa-lib atk bzlib cairo fontconfig freetype gdk-pixbuf \ - glib gtk+ libffi libharfbuzz libltdl liblzma libogg libpng16 \ - libvorbis libxml2 pango pcre util-linux-blkid util-linux-mount \ - util-linux-uuid xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext \ - xorg-libXrender xorg-libxcb xorg-pixman zlib" + DEPENDS="alsa-lib libltdl libogg libvorbis" ;; *-dev) copy @dev - DEPENDS="libcanberra libcanberra-gnome libcanberra-gstreamer1 \ + DEPENDS="${SPLIT/$PACKAGE/} \ alsa-lib-dev atk-dev bzip2-dev cairo-dev fontconfig-dev \ freetype-dev gdk-pixbuf-dev glib-dev gstreamer1-dev gtk+-dev \ - harfbuzz-dev libffi-dev libogg-dev libpng16-dev libtool \ + gtk+3-dev harfbuzz-dev libffi-dev libogg-dev libpng16-dev libtool \ libvorbis-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 \ diff -r 685f9eb83991 -r 05d4a6d977d4 libgtop/receipt --- a/libgtop/receipt Tue Oct 24 17:34:03 2017 +0300 +++ b/libgtop/receipt Tue Oct 24 17:49:57 2017 +0300 @@ -3,10 +3,11 @@ PACKAGE="libgtop" VERSION="2.38.0" CATEGORY="x-window" -SHORT_DESC="Librairies for GNOME" +SHORT_DESC="Portable System Access Library" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" -WEB_SITE="http://www.gnome.org" +WEB_SITE="https://developer.gnome.org/libgtop/stable/" +LFS="http://www.linuxfromscratch.org/blfs/view/stable/gnome/libgtop.html" TARBALL="$PACKAGE-$VERSION.tar.xz" WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" diff -r 685f9eb83991 -r 05d4a6d977d4 pycairo/receipt --- a/pycairo/receipt Tue Oct 24 17:34:03 2017 +0300 +++ b/pycairo/receipt Tue Oct 24 17:49:57 2017 +0300 @@ -1,36 +1,33 @@ # SliTaz package receipt v2. PACKAGE="pycairo" -VERSION="1.10.0" +VERSION="1.15.3" CATEGORY="development" SHORT_DESC="Python bindings for the cairo graphics library" MAINTAINER="erjo@slitaz.org" LICENSE="MPL LGPL2.1" -WEB_SITE="http://www.cairographics.org/pycairo/" +WEB_SITE="https://www.cairographics.org/pycairo/" -TARBALL="py2cairo-$VERSION.tar.bz2" -WGET_URL="http://www.cairographics.org/releases/$TARBALL" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="https://github.com/pygobject/pycairo/releases/download/v$VERSION/$TARBALL" -BUILD_DEPENDS="pkg-config cairo cairo-dev xorg-xproto python-dev" +BUILD_DEPENDS="python-dev cairo-dev" SPLIT="pycairo-dev" -# Rules to configure and make the package. -compile_rules() -{ - ./waf configure --prefix=/usr && - ./waf build && - ./waf install --destdir=$DESTDIR +compile_rules() { + python setup.py build && + python setup.py install --root=$install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ +genpkg_rules() { case $PACKAGE in pycairo) copy @std - DEPENDS="cairo expat fontconfig freetype xorg-libX11 xorg-libXau \ - xorg-libXdmcp xorg-libXrender xcb-util" + DEPENDS="cairo python" ;; - *-dev) copy @dev;; + *-dev) + copy @dev + DEPENDS="pycairo cairo-dev" + ;; esac } diff -r 685f9eb83991 -r 05d4a6d977d4 pygobject3/receipt --- a/pygobject3/receipt Tue Oct 24 17:34:03 2017 +0300 +++ b/pygobject3/receipt Tue Oct 24 17:49:57 2017 +0300 @@ -1,31 +1,44 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="pygobject3" -SOURCE="pygobject" -VERSION="3.18.2" +VERSION="3.26.0" CATEGORY="development" -SHORT_DESC="Python bindings for the GObject3 library" +SHORT_DESC="Python Bindings for GLib/GObject/GIO/GTK+" MAINTAINER="psychomaniak@xakep.ru" LICENSE="LGPL2.1" -TARBALL="$SOURCE-$VERSION.tar.xz" -WEB_SITE="http://live.gnome.org/PyGObject" -WGET_URL="$GNOME_MIRROR/$SOURCE/${VERSION%.*}/$TARBALL" +WEB_SITE="https://wiki.gnome.org/Projects/PyGObject" -PROVIDE="python-gi" -DEPENDS="python pycairo glib libffi gtk-girepository" -BUILD_DEPENDS="$DEPENDS python python-dev pkg-config glib-dev \ -pycairo-dev cairo-dev libffi-dev gobject-introspection-dev" +TARBALL="pygobject-$VERSION.tar.xz" +WGET_URL="$GNOME_MIRROR/pygobject/${VERSION%.*}/$TARBALL" -# Rules to configure and make the package. -compile_rules() -{ +BUILD_DEPENDS="automake glib-dev libtool python-dev gobject-introspection-dev \ +cairo-dev pycairo-dev" +SPLIT="pygobject3-dev" + +compile_rules() { + NOCONFIGURE=1 ./autogen.sh && ./configure $CONFIGURE_ARGS > /dev/null 2>&1 # create ./libtool ./configure $CONFIGURE_ARGS && - make && make install + sed -i 's| -shared | -Wl,-O1,--as-needed\0|g' libtool && + make && + make install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cp -a $install/* $fs +genpkg_rules() { + case $PACKAGE in + pygobject3) + copy @std + DEPENDS="cairo glib gobject-introspection libffi python" + PROVIDE="python-gi" + ;; + *-dev) + copy @dev + DEPENDS="pygobject3 bzip2-dev cairo-dev fontconfig-dev \ + freetype-dev glib-dev gobject-introspection-dev harfbuzz-dev \ + libffi-dev libpng16-dev libxml2-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-libXrender-dev xorg-libxcb-dev xorg-pixman-dev xz-dev zlib-dev" + ;; + esac } diff -r 685f9eb83991 -r 05d4a6d977d4 vala/receipt --- a/vala/receipt Tue Oct 24 17:34:03 2017 +0300 +++ b/vala/receipt Tue Oct 24 17:49:57 2017 +0300 @@ -1,30 +1,26 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="vala" -VERSION="0.32.1" +VERSION="0.36.4" CATEGORY="development" SHORT_DESC="Compiler for the GObject type system" MAINTAINER="mimas@slitaz.org" LICENSE="LGPL2.1" WEB_SITE="https://wiki.gnome.org/Projects/Vala" -TAGS="compiler" +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/vala.html" HOST_ARCH="i486 arm" TARBALL="$PACKAGE-$VERSION.tar.xz" WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" -DEPENDS="glib-dev glibc-dev libffi-dev pcre-dev" BUILD_DEPENDS="glib-dev libxslt-dev" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { ./configure $CONFIGURE_ARGS && make && make install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cp -a $install/* $fs - rm -r $fs/usr/share/man $fs/usr/share/devhelp +genpkg_rules() { + copy @std @dev + DEPENDS="glib-dev libffi-dev pcre-dev" + TAGS="compiler" }