# HG changeset patch # User Aleksej Bobylev # Date 1500637440 -10800 # Node ID aef69ec23a2f9ab8ba22a63da6ca60ecb77d2b76 # Parent 511f2f28cee17cfda15c3de9440d14de34fb4ac9 Up gpicview, libunique, lxappearance-obconf, lxde-icon-theme, lxinput, lxrandr, lxsession, lxtask, openbox, pcre, pcre2, tazpkg, tcc, vte. Add lsb-release, lxde-common. Remove libunique-gtk3 (break build, no one depends on it, and deprecated by gnome itself), lguest (part of "linux" receipt), libmysqlclient (part of "mysql" receipt). diff -r 511f2f28cee1 -r aef69ec23a2f gpicview/description.txt --- a/gpicview/description.txt Thu Jul 20 13:40:52 2017 +0300 +++ b/gpicview/description.txt Fri Jul 21 14:44:00 2017 +0300 @@ -1,4 +1,5 @@ GPicView is a lightweight GTK+ 2.x based image viewer with following features: + * Extremely lightweight and fast with low memory usage * Very suitable for default image viewer of desktop system * Simple and intuitive interface diff -r 511f2f28cee1 -r aef69ec23a2f gpicview/receipt --- a/gpicview/receipt Thu Jul 20 13:40:52 2017 +0300 +++ b/gpicview/receipt Fri Jul 21 14:44:00 2017 +0300 @@ -1,23 +1,25 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="gpicview" -VERSION="0.2.4" +VERSION="0.2.5" CATEGORY="graphics" SHORT_DESC="Lightweight image viewer" MAINTAINER="pankso@slitaz.org" LICENSE="GPL2" -TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://lxde.sourceforge.net/gpicview/" -WGET_URL="$SF_MIRROR/lxde/$TARBALL" -TAGS="LXDE" HOST_ARCH="i486 arm" -DEPENDS="gtk+ expat glib libpng jpeg zlib" -BUILD_DEPENDS="gtk+-dev expat-dev glib-dev libpng-dev jpeg-dev" +TARBALL="$PACKAGE-$VERSION.tar.xz" +WGET_URL="$SF_MIRROR/lxde/$TARBALL" + +BUILD_DEPENDS="intltool gtk+-dev" # Rules to configure and make the package. compile_rules() { + # http://www.linuxfromscratch.org/blfs/view/stable/lxde/gpicview.html + sed -i 's|Utility;||' gpicview.desktop.in + ./configure \ $CONFIGURE_ARGS && make && make install @@ -26,7 +28,9 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/share - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/share/$PACKAGE $fs/usr/share + # skip pixmaps and icons (found in the icon theme) + copy bin/ *.desktop *.ui + DEPENDS="atk cairo fontconfig freetype gdk-pixbuf glib gtk+ libjpeg-turbo \ + pango xorg-libX11" + TAGS="LXDE" } diff -r 511f2f28cee1 -r aef69ec23a2f lguest/receipt --- a/lguest/receipt Thu Jul 20 13:40:52 2017 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,18 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="lguest" -VERSION="4.9.4" -CATEGORY="base-system" -SHORT_DESC="The Linux Kernel paravirtualization tool" -MAINTAINER="devel@slitaz.org" -LICENSE="GPL2" -WEB_SITE="https://www.kernel.org/" - -WANTED="linux" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/sbin - cp -a $src/tools/lguest/lguest $fs/usr/sbin -} diff -r 511f2f28cee1 -r aef69ec23a2f libmysqlclient/receipt --- a/libmysqlclient/receipt Thu Jul 20 13:40:52 2017 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="libmysqlclient" -VERSION="5.5.27" -CATEGORY="misc" -SHORT_DESC="SQL database system client libraries." -MAINTAINER="pascal.bellard@slitaz.org" -LICENSE="GPL2" -WEB_SITE="https://www.mysql.com/" - -WANTED="mysql" -DEPENDS="libcrypto libssl zlib" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/libmysqlclient*so* $fs/usr/lib -} diff -r 511f2f28cee1 -r aef69ec23a2f libunique-dev/receipt --- a/libunique-dev/receipt Thu Jul 20 13:40:52 2017 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,23 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="libunique-dev" -VERSION="1.1.6" -CATEGORY="development" -SHORT_DESC="Library for writing single instance application (development files)" -MAINTAINER="erjo@slitaz.org" -LICENSE="LGPL2.1" -WEB_SITE="https://wiki.gnome.org/Attic/LibUnique" -HOST_ARCH="i486 arm" - -WANTED="libunique" -DEPENDS="libunique atk-dev bzip2-dev cairo-dev fontconfig-dev freetype-dev \ -gdk-pixbuf-dev glib-dev glibc-dev gtk+-dev harfbuzz-dev libffi-dev \ -liblzma-dev libpng-dev libxcb-dev libxml2-dev pango-dev pcre-dev pixman-dev \ -xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \ -xorg-libXrender-dev zlib-dev" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - copy *.h *.la *.pc *.typelib *.gir -} diff -r 511f2f28cee1 -r aef69ec23a2f libunique-doc/receipt --- a/libunique-doc/receipt Thu Jul 20 13:40:52 2017 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,20 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="libunique-doc" -VERSION="1.1.6" -CATEGORY="development" -SHORT_DESC="Libunique documentation." -MAINTAINER="erjo@slitaz.org" -LICENSE="LGPL2.1" -WEB_SITE="http://live.gnome.org/LibUnique" -WANTED="libunique" - -DEPENDS="libunique" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/share - cp -a $install/usr/share/gtk-doc $fs/usr/share -} - diff -r 511f2f28cee1 -r aef69ec23a2f libunique-gtk3-dev/receipt --- a/libunique-gtk3-dev/receipt Thu Jul 20 13:40:52 2017 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,25 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="libunique-gtk3-dev" -VERSION="3.0.2" -CATEGORY="development" -SHORT_DESC="Development files for LibUnique" -MAINTAINER="erjo@slitaz.org" -LICENSE="LGPL2.1" -WEB_SITE="http://live.gnome.org/LibUnique" - -WANTED="libunique-gtk3" -DEPENDS="libunique-gtk3 gtk+3-dev dbus-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/girepository* $fs/usr/lib - cp -a $install/usr/lib/pkgconfig $fs/usr/lib - cp -a $install/usr/lib/*.la $fs/usr/lib - cp -a $install/usr/share/gir* $fs/usr/share -} diff -r 511f2f28cee1 -r aef69ec23a2f libunique-gtk3/receipt --- a/libunique-gtk3/receipt Thu Jul 20 13:40:52 2017 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,37 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="libunique-gtk3" -VERSION="3.0.2" -CATEGORY="development" -SHORT_DESC="Create single instance applications" -MAINTAINER="erjo@slitaz.org" -LICENSE="LGPL2.1" -WEB_SITE="http://live.gnome.org/LibUnique" -SOURCE="libunique" -TARBALL="$SOURCE-$VERSION.tar.xz" -WGET_URL="$GNOME_MIRROR/$SOURCE/${VERSION%.*}/$TARBALL" -TAGS="gtk3" - -DEPENDS="dbus-glib gtk+3" -BUILD_DEPENDS="glib-dev gtk+3-dev dbus-glib-dev gobject-introspection-dev \ -libxml2-dev" - -# Rules to configure and make the package. -compile_rules() -{ - ./configure \ - --disable-static \ - --enable-debug=no \ - --disable-gtk-doc \ - $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 -} - diff -r 511f2f28cee1 -r aef69ec23a2f libunique/receipt --- a/libunique/receipt Thu Jul 20 13:40:52 2017 +0300 +++ b/libunique/receipt Fri Jul 21 14:44:00 2017 +0300 @@ -1,4 +1,4 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="libunique" VERSION="1.1.6" @@ -12,26 +12,20 @@ TARBALL="$PACKAGE-$VERSION.tar.bz2" WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" -DEPENDS="atk bzlib cairo fontconfig freetype gdk-pixbuf glib gtk+ harfbuzz \ -libffi liblzma libpng libxcb libxml2 pango pcre pixman xorg-libX11 \ -xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender zlib" -BUILD_DEPENDS="automake glib-dev gettext libtool gtk+-dev xorg-libICE-dev \ -gobject-introspection-dev gtk-doc" BUILD_DEPENDS_arm="cairo-dev gtk+-dev glib-dev expat-dev" - -case "$ARCH" in - arm*) BUILD_DEPENDS="$BUILD_DEPENDS_arm";; -esac +BUILD_DEPENDS="patch automake glib-dev gettext libtool gtk+-dev \ +xorg-libICE-dev gobject-introspection-dev gtk-doc" +SPLIT="libunique-dev" # Rules to configure and make the package. compile_rules() { - while read i; do patch -p1 -i $stuff/patches/$i; done < $stuff/patches/series - + # http://www.linuxfromscratch.org/blfs/view/stable/general/libunique.html autoreconf -fi && ./configure \ --disable-dbus \ --disable-static \ + --disable-debug \ $CONFIGURE_ARGS && make && make install } @@ -39,5 +33,23 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - copy *.so* + case $PACKAGE in + libunique) + copy @std + DEPENDS="atk bzlib cairo fontconfig freetype gdk-pixbuf glib gtk+ \ + 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="libunique atk-dev bzip2-dev cairo-dev fontconfig-dev \ + freetype-dev gdk-pixbuf-dev glib-dev gtk+-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 511f2f28cee1 -r aef69ec23a2f lsb-release/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lsb-release/description.txt Fri Jul 21 14:44:00 2017 +0300 @@ -0,0 +1,2 @@ +The lsb_release script gives information about the Linux Standards Base (LSB) +status of the distribution. diff -r 511f2f28cee1 -r aef69ec23a2f lsb-release/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lsb-release/receipt Fri Jul 21 14:44:00 2017 +0300 @@ -0,0 +1,40 @@ +# SliTaz package receipt v2. + +PACKAGE="lsb-release" +VERSION="1.4" +CATEGORY="base-system" +SHORT_DESC="Linux Standards Base (LSB) status of the distribution" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="OSI" +WEB_SITE="https://sourceforge.net/projects/lsb/" + +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="$SF_MIRROR/lsb/$TARBALL" + +BUILD_DEPENDS="help2man" + +# Rules to configure and make the package. +compile_rules() +{ + # http://www.linuxfromscratch.org/blfs/view/stable/postlfs/lsb-release.html + sed -i "s|n/a|unavailable|" lsb_release + ./help2man -N \ + --include ./lsb_release.examples \ + --alt_version_key=program_version \ + ./lsb_release > lsb_release.1 + + mkdir -p $install/usr/share/man/man1/ + install -v -m644 lsb_release.1 $install/usr/share/man/man1/ + + mkdir -p $install/usr/bin/ + install -v -m755 lsb_release $install/usr/bin/ + + mkdir -p $install/etc/ + cp $stuff/lsb-release $install/etc/ +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + copy @std +} diff -r 511f2f28cee1 -r aef69ec23a2f lsb-release/stuff/lsb-release --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lsb-release/stuff/lsb-release Fri Jul 21 14:44:00 2017 +0300 @@ -0,0 +1,4 @@ +DISTRIB_ID="SliTaz" +DISTRIB_RELEASE="6.0" +DISTRIB_CODENAME="Freefall" +DISTRIB_DESCRIPTION="SliTaz GNU/Linux" diff -r 511f2f28cee1 -r aef69ec23a2f lxappearance-obconf/receipt --- a/lxappearance-obconf/receipt Thu Jul 20 13:40:52 2017 +0300 +++ b/lxappearance-obconf/receipt Fri Jul 21 14:44:00 2017 +0300 @@ -1,27 +1,26 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="lxappearance-obconf" -VERSION="0.2.2" +VERSION="0.2.3" CATEGORY="x-window" SHORT_DESC="LXDE GTK+ theme switcher (plugin)" MAINTAINER="pankso@slitaz.org" LICENSE="GPL2" +WEB_SITE="http://lxde.org/" +HOST_ARCH="i486 arm" + TARBALL="$PACKAGE-$VERSION.tar.xz" WGET_URL="$SF_MIRROR/lxde/$TARBALL" -WEB_SITE="http://lxde.org/" -TAGS="LXDE" -HOST_ARCH="i486 arm" -DEPENDS="openbox lxappearance" -BUILD_DEPENDS="openbox-dev libxcb-dev glib-dev libxml2-dev \ -fontconfig-dev gtk+-dev expat-dev util-linux-uuid-dev lxappearance-dev \ -xorg-libXft-dev xorg-libSM-dev xorg-libXinerama-dev xorg-libXrandr-dev" +BUILD_DEPENDS="intltool openbox-dev gtk+-dev lxappearance-dev" # Rules to configure and make the package. compile_rules() { + # http://www.linuxfromscratch.org/blfs/view/stable/lxde/lxappearance-obconf.html ./configure \ --sysconfdir=/etc \ + --disable-static \ $CONFIGURE_ARGS && make && make install } @@ -29,8 +28,7 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/share - cp -a $install/usr/lib $fs/usr - cp -a $install/usr/share/lxappearance $fs/usr/share - rm -f $fs/usr/lib/lxappearance/plugins/*.*a + copy @std + DEPENDS="openbox lxappearance" + TAGS="LXDE" } diff -r 511f2f28cee1 -r aef69ec23a2f lxde-common/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lxde-common/receipt Fri Jul 21 14:44:00 2017 +0300 @@ -0,0 +1,31 @@ +# SliTaz package receipt v2. + +PACKAGE="lxde-common" +VERSION="0.99.2" +CATEGORY="base-system" +SHORT_DESC="Set of default configuration for LXDE" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="LGPL3" +WEB_SITE="http://www.lxde.org/" + +TARBALL="$PACKAGE-$VERSION.tar.xz" +WGET_URL="$SF_MIRROR/lxde/$TARBALL" + +BUILD_DEPENDS="intltool" + +# Rules to configure and make the package. +compile_rules() +{ + # http://www.linuxfromscratch.org/blfs/view/stable/lxde/lxde-common.html + ./configure \ + --sysconfdir=/etc \ + $CONFIGURE_ARGS && + make && make install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + TAGS="LXDE" + copy @std +} diff -r 511f2f28cee1 -r aef69ec23a2f lxde-icon-theme/receipt --- a/lxde-icon-theme/receipt Thu Jul 20 13:40:52 2017 +0300 +++ b/lxde-icon-theme/receipt Fri Jul 21 14:44:00 2017 +0300 @@ -1,4 +1,4 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="lxde-icon-theme" VERSION="0.5.1" @@ -7,21 +7,33 @@ MAINTAINER="al.bobylev@gmail.com" LICENSE="LGPL3" WEB_SITE="http://www.lxde.org/" + TARBALL="$PACKAGE-$VERSION.tar.xz" WGET_URL="$SF_MIRROR/lxde/$TARBALL" -TAGS="LXDE" -DEPENDS="" -BUILD_DEPENDS="coreutils" +BUILD_DEPENDS="coreutils-operations" +SPLIT="lxde-icon-theme-base lxde-icon-theme" # Rules to configure and make the package. compile_rules() { + # http://www.linuxfromscratch.org/blfs/view/stable/x/lxde-icon-theme.html ./configure $CONFIGURE_ARGS && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - cp -a $install/* $fs + TAGS="LXDE" + case $PACKAGE in + *-base) + copy 16x16/ 48x48/ icon.theme + CAT="customization|16 and 48 sizes only" + ;; + *-theme) + copy @std + remove_already_packed + DEPENDS="lxde-icon-theme-base" + ;; + esac } diff -r 511f2f28cee1 -r aef69ec23a2f lxinput/receipt --- a/lxinput/receipt Thu Jul 20 13:40:52 2017 +0300 +++ b/lxinput/receipt Fri Jul 21 14:44:00 2017 +0300 @@ -1,24 +1,27 @@ # SliTaz package receipt. PACKAGE="lxinput" -VERSION="0.3.4" +VERSION="0.3.5" CATEGORY="x-window" SHORT_DESC="LXDE keyboard and mouse configuration" MAINTAINER="pankso@slitaz.org" LICENSE="GPL3" WEB_SITE="http://lxde.org" +HOST_ARCH="i486 arm" + TARBALL="$PACKAGE-$VERSION.tar.xz" WGET_URL="$SF_MIRROR/lxde/$TARBALL" -TAGS="LXDE keyboard mouse" -HOST_ARCH="i486 arm" -GENERIC_MENUS="no" -DEPENDS="gtk+ xorg-xset" -BUILD_DEPENDS="gtk+-dev" +BUILD_DEPENDS="intltool gtk+-dev" # Rules to configure and make the package. compile_rules() { + # http://www.linuxfromscratch.org/blfs/view/stable/lxde/lxinput.html + + sed -i 's|^Icon=.*$|Icon=preferences-desktop-keyboard|' \ + data/lxinput.desktop.in + ./configure \ $CONFIGURE_ARGS && make && make install @@ -27,9 +30,9 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - cp -a $install/* $fs - rm -r $fs/usr/share/locale $fs/usr/share/man - rm -r $fs/usr/share/lxinput/*.png - sed -i 's|^Icon=.*$|Icon=preferences-desktop-keyboard|' \ - $fs/usr/share/applications/lxinput.desktop + # skip icons (found in the icon theme) + copy bin/ *.ui + DEPENDS="atk cairo fontconfig freetype gdk-pixbuf glib gtk+ pango \ + xorg-libX11 xorg-xset" + TAGS="LXDE keyboard mouse" } diff -r 511f2f28cee1 -r aef69ec23a2f lxrandr/receipt --- a/lxrandr/receipt Thu Jul 20 13:40:52 2017 +0300 +++ b/lxrandr/receipt Fri Jul 21 14:44:00 2017 +0300 @@ -1,4 +1,4 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="lxrandr" VERSION="0.3.1" @@ -6,21 +6,23 @@ SHORT_DESC="LXDE monitor configuration tool" MAINTAINER="gokhlayeh@slitaz.org" LICENSE="GPL2" -TARBALL="$PACKAGE-$VERSION.tar.xz" WEB_SITE="http://lxde.org" -WGET_URL="$SF_MIRROR/lxde/$TARBALL" -TAGS="LXDE" HOST_ARCH="i486 arm" -DEPENDS="gtk+ xorg-xrandr" -BUILD_DEPENDS="gtk+-dev xorg-libXrandr-dev" +TARBALL="$PACKAGE-$VERSION.tar.xz" +WGET_URL="$SF_MIRROR/lxde/$TARBALL" + +BUILD_DEPENDS="intltool gtk+-dev" # Rules to configure and make the package. compile_rules() { - # Fix sources. - echo "Icon=video-display" >> data/lxrandr.desktop.in - touch po/stamp-it + # http://www.linuxfromscratch.org/blfs/view/stable/lxde/lxrandr.html + + # change icon and remove keywords from desktop file + sed -i 's|^Icon=.*$|Icon=preferences-desktop-display|; + /^_Keywords=/d' data/lxrandr.desktop.in + ./configure \ $CONFIGURE_ARGS && make && make install @@ -29,14 +31,7 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/share $fs/usr - - # Remove man & locales - rm -rf $fs/usr/share/man - rm -rf $fs/usr/share/locale - - sed -i 's|^Icon=.*$|Icon=preferences-desktop-display|' \ - $fs/usr/share/applications/lxrandr.desktop + copy @std + DEPENDS="atk cairo fontconfig freetype gdk-pixbuf glib gtk+ pango" + TAGS="LXDE" } diff -r 511f2f28cee1 -r aef69ec23a2f lxsession/receipt --- a/lxsession/receipt Thu Jul 20 13:40:52 2017 +0300 +++ b/lxsession/receipt Fri Jul 21 14:44:00 2017 +0300 @@ -1,34 +1,57 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="lxsession" -VERSION="0.4.6.1" +VERSION="0.5.3" CATEGORY="x-window" -SHORT_DESC="LXDE X session manager." +SHORT_DESC="LXDE X session manager" MAINTAINER="pankso@slitaz.org" LICENSE="GPL2" WEB_SITE="http://wiki.lxde.org/en/LXSession" -TARBALL="$PACKAGE-$VERSION.tar.gz" -WGET_URL="$SF_MIRROR/lxde/$TARBALL" HOST_ARCH="i486 arm" -DEPENDS="gtk+ dbus" -BUILD_DEPENDS="gtk+-dev dbus-dev" +TARBALL="$PACKAGE-$VERSION.tar.xz" +WGET_URL="$SF_MIRROR/lxde/$TARBALL" + +BUILD_DEPENDS="intltool xorg-libX11-dev libunique-dev polkit-dev vala libxslt \ +docbook-xsl" # Rules to configure and make the package. compile_rules() { + # http://www.linuxfromscratch.org/blfs/view/stable/lxde/lxsession.html + # Additional keys: --enable-buildin-clipboard, --enable-buildin-polkit ./configure \ --sysconfdir=/etc \ + --enable-buildin-clipboard \ + --enable-buildin-polkit \ $CONFIGURE_ARGS && - make && make install + make && make install && + + # customize desktop.conf for SliTaz + mkdir -p $install/etc/xdg/lxsession/LXDE/ && + cp $src/data/desktop.conf.example $install/etc/xdg/lxsession/LXDE/desktop.conf && + sed -i ' + s|^\(terminal_manager/command\).*|\1=terminal|; + s|^\(launcher_manager/command\).*|\1=lxpanelctl|; + s|^\(window_manager\).*|\1=openbox|; + s|^#*\(iXft/Hinting\)|\1=1|; + s|^\(sNet/ThemeName\).*|\1=Clearlooks Human|; + s|^\(sNet/IconThemeName\).*|\1=SliTaz-Faenza-Dark|; + s|^\(sGtk/FontName\).*|\1=DejaVu Sans 10|; + s|^#*\(iGtk/ToolbarIconSize\).*|\1=2|; + s|^#*\(sGtk/CursorThemeName\).*|\1=slitaz-polar|; + ' $install/etc/xdg/lxsession/LXDE/desktop.conf && + + # change icon + sed -i 's|^Icon=.*$|Icon=session-properties|' \ + $install/usr/share/applications/lxsession-edit.desktop } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/share $fs/etc/xdg/lxsession/LXDE - cp -a $install/usr/bin $fs/usr - # Use SliTaz Icon them for lxsession-logout - cp -a $stuff/desktop.conf $fs/etc/xdg/lxsession/LXDE - chown -R 0.0 $fs + copy @std + DEPENDS="atk cairo fontconfig freetype gdk-pixbuf glib gtk+ libunique \ + pango polkit xorg-libX11 dbus-glib lsb-release" + PROVIDE="lxsession-edit" } diff -r 511f2f28cee1 -r aef69ec23a2f lxsession/stuff/desktop.conf --- a/lxsession/stuff/desktop.conf Thu Jul 20 13:40:52 2017 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,51 +0,0 @@ -[Session] -disable_autostart=no -polkit/command=lxpolkit -clipboard/command=lxclipboard -xsettings_manager/command=build-in -proxy_manager/command=build-in -keyring/command=ssh-agent -quit_manager/command=lxsession-logout -quit_manager/image=/usr/share/lxde/images/logout-banner.png -quit_manager/layout=top -lock_manager/command=lxlock -terminal_manager/command=terminal -launcher_manager/command=lxpanelctl -window_manager=openbox - -[GTK] -iXft/Antialias=1 -iXft/Hinting=1 -sXft/HintStyle=hintfull -sXft/RGBA=none -sNet/ThemeName=Clearlooks Human -sNet/IconThemeName=SliTaz-Faenza-Dark -iNet/EnableEventSounds=0 -iNet/EnableInputFeedbackSounds=0 -sGtk/ColorScheme= -sGtk/FontName=DejaVu Sans 10 -iGtk/ToolbarStyle=3 -iGtk/ToolbarIconSize=2 -iGtk/ButtonImages=1 -iGtk/MenuImages=1 -iGtk/CursorThemeSize=18 -sGtk/CursorThemeName=slitaz-polar - -[Mouse] -AccFactor=20 -AccThreshold=10 -LeftHanded=0 - -[Keyboard] -Delay=500 -Interval=30 -Beep=1 - -[State] -guess_default=true - -[Dbus] -lxde=true - -[Environment] -menu_prefix=lxde- diff -r 511f2f28cee1 -r aef69ec23a2f lxtask/receipt --- a/lxtask/receipt Thu Jul 20 13:40:52 2017 +0300 +++ b/lxtask/receipt Fri Jul 21 14:44:00 2017 +0300 @@ -1,31 +1,34 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="lxtask" -VERSION="0.1.6" +VERSION="0.1.8" CATEGORY="system-tools" SHORT_DESC="LXDE task manager" MAINTAINER="pankso@slitaz.org" LICENSE="GPL2" -TARBALL="$PACKAGE-$VERSION.tar.xz" WEB_SITE="http://lxde.sourceforge.net/" -WGET_URL="$SF_MIRROR/lxde/$TARBALL" -TAGS="LXDE" HOST_ARCH="i486 arm" -DEPENDS="gtk+ xorg-libXdamage" -BUILD_DEPENDS="gtk+-dev xorg-libXdamage-dev xorg-xproto" +TARBALL="$PACKAGE-$VERSION.tar.xz" +WGET_URL="$SF_MIRROR/lxde/$TARBALL" + +BUILD_DEPENDS="gtk+-dev intltool" # Rules to configure and make the package. compile_rules() { - ./configure \ - $CONFIGURE_ARGS && - make && make install + # http://www.linuxfromscratch.org/blfs/view/stable/lxde/lxtask.html + + # remove keywords from desktop file + sed -i '/^_Keywords=/d' data/lxtask.desktop.in + + ./configure $CONFIGURE_ARGS && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr - cp -a $install/usr/bin $fs/usr + copy @std + DEPENDS="atk cairo fontconfig freetype gdk-pixbuf glib gtk+ pango" + TAGS="LXDE" } diff -r 511f2f28cee1 -r aef69ec23a2f lxtask/stuff/lxtask.png Binary file lxtask/stuff/lxtask.png has changed diff -r 511f2f28cee1 -r aef69ec23a2f openbox/receipt --- a/openbox/receipt Thu Jul 20 13:40:52 2017 +0300 +++ b/openbox/receipt Fri Jul 21 14:44:00 2017 +0300 @@ -18,7 +18,7 @@ xorg-libXi-dev" BUILD_DEPENDS_arm="pango-dev glib-dev xorg-libXft-dev util-linux-uuid-dev \ libxml2-dev xcb-util-dev" -SPLIT="openbox-themes openbox-dev" # openbox-python? +SPLIT="openbox-themes openbox-python openbox-dev" SIBLINGS="openbox-max" # Rules to configure and make the package. @@ -70,7 +70,7 @@ ;; openbox-dev) copy @dev - DEPENDS="openbox openbox-python openbox-themes bzip2-dev \ + DEPENDS="openbox openbox-themes bzip2-dev \ fontconfig-dev freetype-dev glib-dev harfbuzz-dev libffi-dev \ liblzma-dev libpng16-dev libxcb-dev libxml2-dev pango-dev pcre-dev \ util-linux-uuid-dev xorg-libICE-dev xorg-libSM-dev xorg-libX11-dev \ diff -r 511f2f28cee1 -r aef69ec23a2f pcre-apps/receipt --- a/pcre-apps/receipt Thu Jul 20 13:40:52 2017 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="pcre-apps" -VERSION="8.39" -CATEGORY="development" -SHORT_DESC="Perl Compatible Regular Expressions (applications)" -MAINTAINER="al.bobylev@gmail.com" -LICENSE="BSD" -WEB_SITE="http://www.pcre.org/" -HOST_ARCH="i486 arm" - -WANTED="pcre" -DEPENDS="bzlib ncurses pcre readline zlib" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - copy pcregrep pcretest -} diff -r 511f2f28cee1 -r aef69ec23a2f pcre-dev/receipt --- a/pcre-dev/receipt Thu Jul 20 13:40:52 2017 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="pcre-dev" -VERSION="8.39" -CATEGORY="development" -SHORT_DESC="Perl Compatible Regular Expressions (development files)" -MAINTAINER="pankso@slitaz.org" -LICENSE="BSD" -WEB_SITE="http://www.pcre.org/" -HOST_ARCH="i486 arm" - -WANTED="pcre" -DEPENDS="pcre pcre-apps" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - copy pcre-config *.h *.la *.pc -} diff -r 511f2f28cee1 -r aef69ec23a2f pcre/receipt --- a/pcre/receipt Thu Jul 20 13:40:52 2017 +0300 +++ b/pcre/receipt Fri Jul 21 14:44:00 2017 +0300 @@ -1,9 +1,9 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="pcre" -VERSION="8.39" +VERSION="8.40" CATEGORY="system-tools" -SHORT_DESC="Perl 5 Compatible Regular Expression, library" +SHORT_DESC="Perl 5 Compatible Regular Expression" MAINTAINER="pankso@slitaz.org" LICENSE="BSD" WEB_SITE="http://www.pcre.org/" @@ -12,11 +12,13 @@ TARBALL="$PACKAGE-$VERSION.tar.bz2" WGET_URL="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/$TARBALL" -BUILD_DEPENDS="zlib-dev bzip2-dev readline-dev" +BUILD_DEPENDS="zlib-dev bzip2-dev readline-dev valgrind-dev" +SPLIT="pcre-apps pcre-dev" # Rules to configure and make the package. compile_rules() { + # http://www.linuxfromscratch.org/blfs/view/stable/general/pcre.html ./configure \ --docdir=/usr/share/doc/pcre-$VERSION \ --enable-unicode-properties \ @@ -27,6 +29,7 @@ --enable-pcretest-libreadline \ --disable-static \ --enable-jit \ + --enable-valgrind \ $CONFIGURE_ARGS && make && make install && @@ -39,5 +42,17 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - copy *.so* + case $PACKAGE in + pcre) + copy *.so* + CAT="system-tools|library" + ;; + *-apps) + copy @std + remove_already_packed + DEPENDS="pcre bzlib ncurses readline zlib" + CAT="development|applications" + ;; + *-dev) copy @dev;; + esac } diff -r 511f2f28cee1 -r aef69ec23a2f pcre2-dev/receipt --- a/pcre2-dev/receipt Thu Jul 20 13:40:52 2017 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,21 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="pcre2-dev" -VERSION="10.21" -CATEGORY="development" -SHORT_DESC="Perl Compatible Regular Expressions 2, development files" -MAINTAINER="al.bobylev@gmail.com" -LICENSE="BSD" -WEB_SITE="http://www.pcre.org/" -HOST_ARCH="i486 arm" - -WANTED="pcre2" -DEPENDS="pcre2 pkg-config" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cp -a $install/* $fs - rm $fs/usr/lib/*.so* - rm -r $fs/usr/share -} diff -r 511f2f28cee1 -r aef69ec23a2f pcre2/receipt --- a/pcre2/receipt Thu Jul 20 13:40:52 2017 +0300 +++ b/pcre2/receipt Fri Jul 21 14:44:00 2017 +0300 @@ -1,37 +1,61 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="pcre2" -VERSION="10.21" +VERSION="10.23" CATEGORY="system-tools" -SHORT_DESC="Perl 5 Compatible Regular Expression 2, library" +SHORT_DESC="Perl 5 Compatible Regular Expression 2" MAINTAINER="al.bobylev@gmail.com" LICENSE="BSD" +WEB_SITE="http://www.pcre.org/" +HOST_ARCH="i486 arm" + TARBALL="$PACKAGE-$VERSION.tar.bz2" -WEB_SITE="http://www.pcre.org/" WGET_URL="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/$TARBALL" -HOST_ARCH="i486 arm" + +BUILD_DEPENDS="zlib-dev bzip2-dev readline-dev valgrind-dev" +SPLIT="pcre2-apps pcre2-dev" # Rules to configure and make the package. compile_rules() { + # http://www.linuxfromscratch.org/blfs/view/stable/general/pcre2.html ./configure \ - --prefix=/usr \ + --docdir=/usr/share/doc/pcre2-$VERSION \ + --enable-unicode \ --enable-pcre2-16 \ --enable-pcre2-32 \ + --enable-pcre2grep-libz \ + --enable-pcre2grep-libbz2 \ + --enable-pcre2test-libreadline \ + --disable-static \ --enable-jit \ + --enable-valgrind \ $CONFIGURE_ARGS && make && make install - find $install/usr/share/man -type f -exec gzip -9 \{\} \; - for i in $(find $install/usr/share/man -type l); do - dest=$(readlink $i) - rm $i; ln -s $dest.gz $i.gz - done +# find $install/usr/share/man -type f -exec gzip -9 \{\} \; +# for i in $(find $install/usr/share/man -type l); do +# dest=$(readlink $i) +# rm $i; ln -s $dest.gz $i.gz +# done } # 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 + case $PACKAGE in + pcre2) + copy *.so* + CAT="system-tools|library" + ;; + *-apps) + copy @std + remove_already_packed + DEPENDS="pcre2 bzlib ncurses readline zlib" + CAT="development|applications" + ;; + *-dev) + copy @dev + ;; + esac } diff -r 511f2f28cee1 -r aef69ec23a2f tazpkg/receipt --- a/tazpkg/receipt Thu Jul 20 13:40:52 2017 +0300 +++ b/tazpkg/receipt Fri Jul 21 14:44:00 2017 +0300 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="tazpkg" -VERSION="948" +VERSION="949" CATEGORY="base-system" SHORT_DESC="SliTaz packages manager" MAINTAINER="pankso@slitaz.org" diff -r 511f2f28cee1 -r aef69ec23a2f tcc-arm/receipt --- a/tcc-arm/receipt Thu Jul 20 13:40:52 2017 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,20 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="tcc-arm" -VERSION=20170515 -CATEGORY="development" -SHORT_DESC="fast Tiny C cross Compiler to ARM target." -MAINTAINER="pascal.bellard@slitaz.org" -LICENSE="LGPL2.1" -WEB_SITE="http://bellard.org/tcc/" -DEPENDS="tcc-common" -WANTED="tcc" -TAGS="compiler C arm" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/bin - cp -a $install/usr/bin/arm-*-tcc $fs/usr/bin -} - diff -r 511f2f28cee1 -r aef69ec23a2f tcc-c67/receipt --- a/tcc-c67/receipt Thu Jul 20 13:40:52 2017 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,20 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="tcc-c67" -VERSION=20170515 -CATEGORY="development" -SHORT_DESC="fast Tiny C cross Compiler to C67 target." -MAINTAINER="pascal.bellard@slitaz.org" -LICENSE="LGPL2.1" -WEB_SITE="http://bellard.org/tcc/" -DEPENDS="tcc-common" -WANTED="tcc" -TAGS="compiler C c67" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/bin - cp -a $install/usr/bin/c67-tcc $fs/usr/bin -} - diff -r 511f2f28cee1 -r aef69ec23a2f tcc-common/receipt --- a/tcc-common/receipt Thu Jul 20 13:40:52 2017 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,21 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="tcc-common" -VERSION=20170515 -CATEGORY="development" -SHORT_DESC="fast Tiny C Compiler, common files." -MAINTAINER="pascal.bellard@slitaz.org" -LICENSE="LGPL2.1" -WEB_SITE="http://bellard.org/tcc/" -WANTED="tcc" -#HOST_ARCH="i486 arm" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/include - cp -a $install/usr/lib $fs/usr - mv $fs/usr/lib/tcc/include/tcclib.h $fs/usr/include - rm -rf $fs/usr/lib/tcc/win32 -} - diff -r 511f2f28cee1 -r aef69ec23a2f tcc-win32/receipt --- a/tcc-win32/receipt Thu Jul 20 13:40:52 2017 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,22 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="tcc-win32" -VERSION=20170515 -CATEGORY="development" -SHORT_DESC="fast Tiny C cross Compiler to win32 target." -MAINTAINER="pascal.bellard@slitaz.org" -LICENSE="LGPL2.1" -WEB_SITE="http://bellard.org/tcc/" -DEPENDS="tcc-common" -SUGGESTED="mingw32-w32api" -WANTED="tcc" -TAGS="compiler C" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/bin $fs/usr/lib/tcc - cp -a $install/usr/bin/*-win32-tcc $fs/usr/bin - cp -a $install/usr/lib/tcc/win32 $fs/usr/lib/tcc -} - diff -r 511f2f28cee1 -r aef69ec23a2f tcc-x86_64/receipt --- a/tcc-x86_64/receipt Thu Jul 20 13:40:52 2017 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,20 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="tcc-x86_64" -VERSION=20170515 -CATEGORY="development" -SHORT_DESC="fast Tiny C cross Compiler to x86_64 target." -MAINTAINER="pascal.bellard@slitaz.org" -LICENSE="LGPL2.1" -WEB_SITE="http://bellard.org/tcc/" -DEPENDS="tcc-common" -WANTED="tcc" -TAGS="compiler C" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/bin - cp -a $install/usr/bin/x86_64-tcc $fs/usr/bin -} - diff -r 511f2f28cee1 -r aef69ec23a2f tcc/receipt --- a/tcc/receipt Thu Jul 20 13:40:52 2017 +0300 +++ b/tcc/receipt Fri Jul 21 14:44:00 2017 +0300 @@ -1,40 +1,33 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="tcc" -GITHASH="307b7b183d4ee56e74090b0e525d6a587840e31f" # 15/5/2017 -VERSION=20170515 +GITHASH="0cc24d0e8487eaf53bb2849fef7e438a8e8fc94d" # 21/7/2017 +VERSION="20170721" CATEGORY="development" -SHORT_DESC="Fast Tiny C Compiler." +SHORT_DESC="Fast Tiny C Compiler" MAINTAINER="pascal.bellard@slitaz.org" -TARBALL="$PACKAGE-$VERSION.tar.gz" LICENSE="LGPL2.1 MIT" WEB_SITE="http://bellard.org/tcc/" -WGET_URL="http://repo.or.cz/tinycc.git/snapshot/$GITHASH.tar.gz" -TAGS="compiler C assembler" #HOST_ARCH="i486 arm" -DEPENDS="tcc-common" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="http://repo.or.cz/tinycc.git/snapshot/$GITHASH.tar.gz" + +BUILD_DEPENDS_arm=" " # Perl is installed in a cross env. BUILD_DEPENDS="perl texinfo diffutils" - -# Perl is installed in a cross env. -case "$ARCH" in - arm) BUILD_DEPENDS="" ;; -esac +SPLIT="tcc-arm tcc-c67 tcc-i386 tcc-x86_64 tcc-win tcc-osx" # Rules to configure and make the package. compile_rules() { case "$ARCH" in - arm) - ./configure \ - --prefix=/usr \ - --cross-prefix=arm-slitaz-linux-gnueabi- \ - --cpu=armv4l ;; - *) - ./configure \ - --prefix=/usr \ - --enable-cross ;; - esac && + arm) ARCH_ARGS="--cross-prefix=arm-slitaz-linux-gnueabi- --cpu=armv4l";; + *) ARCH_ARGS="--enable-cross";; + esac + + ./configure \ + --prefix=/usr \ + $ARCH_ARGS && make && make test && make DESTDIR=$DESTDIR install } @@ -42,7 +35,41 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/bin - cp -a $install/usr/bin/tcc $fs/usr/bin + case $PACKAGE in + tcc) + copy tcc libtcc.a libtcc1.a libtcc.h /usr/lib/tcc/include/ + TAGS="compiler C assembler" + ;; + tcc-arm) + copy arm-tcc arm64-tcc libtcc1-arm.a libtcc1-arm64.a + CAT="development|to ARM Hard Float Linux, AArch64 Linux targets" + TAGS="compiler C arm" + ;; + tcc-c67) + copy c67-tcc + CAT="development|to C67 Linux target" + TAGS="compiler C c67" + ;; + tcc-win) + copy i386-win32-tcc x86_64-win32-tcc arm-wince-tcc win32/ + CAT="development|to i386 Windows, x86_64 Windows, ARM Hard Float Windows targets" + SUGGESTED="mingw32-w32api" + TAGS="compiler C" + ;; + tcc-i386) + copy i386-tcc libtcc1-i386.a + CAT="development|to i386 Linux target" + TAGS="compiler C" + ;; + tcc-x86_64) + copy x86_64-tcc libtcc1-x86_64.a + CAT="development|to x86_64 Linux target" + TAGS="compiler C" + ;; + tcc-osx) + copy x86_64-osx-tcc libtcc1-x86_64-osx.a + CAT="development|to x86_64 Darwin target" + TAGS="compiler C" + ;; + esac } - diff -r 511f2f28cee1 -r aef69ec23a2f vte-dev/receipt --- a/vte-dev/receipt Thu Jul 20 13:40:52 2017 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,26 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="vte-dev" -VERSION="0.28.2" -CATEGORY="development" -SHORT_DESC="Terminal capabilities for GTK+ widgets devel files." -WANTED="vte" -MAINTAINER="pankso@slitaz.org" -LICENSE="GPL2" -WEB_SITE="http://www.gnome.org/" -HOST_ARCH="i486 arm" - -DEPENDS="vte" - -# 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 - [ -d "$install/usr/lib/girepository-1.0" ] && - cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib - [ -d "$install/usr/share/gir-1.0" ] && \ - cp -a $install/usr/share/gir-1.0 $fs/usr/share - cp -a $install/usr/include $fs/usr -} diff -r 511f2f28cee1 -r aef69ec23a2f vte-terminal/receipt --- a/vte-terminal/receipt Thu Jul 20 13:40:52 2017 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,21 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="vte-terminal" -VERSION="0.28.2" -CATEGORY="development" -SHORT_DESC="X Terminal from the vte package." -WANTED="vte" -MAINTAINER="pankso@slitaz.org" -LICENSE="GPL2" -WEB_SITE="http://www.gnome.org/" -TAGS="terminal" -HOST_ARCH="i486 arm" - -DEPENDS="expat vte" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr - cp -a $install/usr/bin $fs/usr -} diff -r 511f2f28cee1 -r aef69ec23a2f vte/receipt --- a/vte/receipt Thu Jul 20 13:40:52 2017 +0300 +++ b/vte/receipt Fri Jul 21 14:44:00 2017 +0300 @@ -1,40 +1,44 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="vte" -VERSION="0.28.2" # Also --> python-vte +VERSION="0.46.1" CATEGORY="utilities" -SHORT_DESC="Terminal capabilities for GTK+ widgets." +SHORT_DESC="Terminal capabilities for GTK+ widgets" MAINTAINER="pankso@slitaz.org" LICENSE="GPL2" -TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="http://www.gnome.org/" -WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" HOST_ARCH="i486 arm" -DEPENDS="gtk+ ncurses xorg-libXdamage" -BUILD_DEPENDS="gtk+-dev ncurses-dev" +TARBALL="$PACKAGE-$VERSION.tar.xz" +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" + +BUILD_DEPENDS="pygtk-dev python-dev gobject-introspection-dev perl \ +perl-xml-parser ncurses-dev" +BUILD_DEPENDS_arm="gtk+-dev ncurses-dev" +SPLIT="vte-terminal python-vte vte-dev" + +BUILD_DEPENDS="automake gettext gobject-introspection-dev vala intltool \ +pango-dev gtk+3-dev pcre2-dev gnutls-dev" # Handle cross compilation. case "$ARCH" in - i?86) - BUILD_DEPENDS="pygtk-dev python-dev gobject-introspection-dev - perl perl-xml-parser ncurses-dev" - ARCH_ARGS="--enable-introspection=yes" ;; - arm) - ARCH_ARGS="--enable-introspection=no" ;; + i?86) ARCH_ARGS="--enable-introspection=yes";; + arm) ARCH_ARGS="--enable-introspection=no";; esac # Rules to configure and make the package. compile_rules() { - patch -p1 -i $stuff/AltKey.patch + # http://www.linuxfromscratch.org/blfs/view/stable/gnome/vte.html + sed -i '/Werror/d' configure.ac && + autoreconf && + ./configure \ - --libexecdir=/usr/lib/vte \ - --with-html-dir=/usr/share/doc \ - --with-pcre \ + --sysconfdir=/etc \ --disable-static \ - $CONFIGURE_ARGS && - make && make install + $CONFIGURE_ARGS $ARCH_ARGS && + make -j1 && make install + # add 'Home' and 'End' keys #sed -i '9i\ \ \ \ :kh=\\E[H:@7=\\E[F:\\' $install/usr/share/vte/termcap-0.0/xterm } @@ -42,8 +46,21 @@ # 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/vte $fs/usr/lib - cp -a $install/usr/share/vte $fs/usr/share + case $PACKAGE in + vte) + copy @std + DEPENDS="gtk+ ncurses xorg-libXdamage" + ;; + vte-terminal) + copy bin/ + CAT="development|X Terminal" + DEPENDS="expat vte" + ;; + python-vte) + copy python*/ pygtk/ + CAT="development|terminal capabilities for GTK+ widgets" + DEPENDS="vte" + ;; + vte-dev) copy @dev;; + esac } diff -r 511f2f28cee1 -r aef69ec23a2f vte/stuff/AltKey.patch --- a/vte/stuff/AltKey.patch Thu Jul 20 13:40:52 2017 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,50 +0,0 @@ -From a9d6a34708f846952f423d078397352858f7b1a4 Mon Sep 17 00:00:00 2001 -From: Christian Persch -Date: Sat, 12 May 2012 18:48:05 +0200 -Subject: [PATCH] keymap: Treat ALT as META - -https://bugzilla.gnome.org/show_bug.cgi?id=663779 ---- - src/vte.c | 23 ++++++++++++++--------- - 1 files changed, 14 insertions(+), 9 deletions(-) - -diff --git a/src/vte.c b/src/vte.c -index dd27e9a..0657921 100644 ---- a/src/vte.c -+++ b/src/vte.c -@@ -5170,19 +5170,24 @@ static void - vte_terminal_read_modifiers (VteTerminal *terminal, - GdkEvent *event) - { -+ GdkKeymap *keymap; - GdkModifierType modifiers; - - /* Read the modifiers. */ -- if (gdk_event_get_state((GdkEvent*)event, &modifiers)) { -- GdkKeymap *keymap; --#if GTK_CHECK_VERSION (2, 90, 8) -- keymap = gdk_keymap_get_for_display(gdk_window_get_display(((GdkEventAny*)event)->window)); --#else -- keymap = gdk_keymap_get_for_display(gdk_drawable_get_display(((GdkEventAny*)event)->window)); -+ if (!gdk_event_get_state((GdkEvent*)event, &modifiers)) -+ return; -+ -+ keymap = gdk_keymap_get_for_display(gdk_window_get_display(((GdkEventAny*)event)->window)); -+ -+ gdk_keymap_add_virtual_modifiers (keymap, &modifiers); -+ -+#if 1 -+ /* HACK! Treat ALT as META; see bug #663779. */ -+ if (modifiers & GDK_MOD1_MASK) -+ modifiers |= VTE_META_MASK; - #endif -- gdk_keymap_add_virtual_modifiers (keymap, &modifiers); -- terminal->pvt->modifiers = modifiers; -- } -+ -+ terminal->pvt->modifiers = modifiers; - } - - /* Read and handle a keypress event. */ --- -1.7.5.1.217.g4e3aa.dirty \ No newline at end of file