# HG changeset patch # User Aleksej Bobylev # Date 1510409183 -7200 # Node ID 0709fcf9b0d786178e0788b019b7614b8b9f7689 # Parent a8c64a48b69e83c6c74bf4295a6d3e12f8163a6c Up kmod, lxqt, oxygen-icons, slitaz-base-files, slitaz-configs; add eggwm-qt5, pencil2d. diff -r a8c64a48b69e -r 0709fcf9b0d7 eggwm-qt5/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eggwm-qt5/receipt Sat Nov 11 16:06:23 2017 +0200 @@ -0,0 +1,28 @@ +# SliTaz package receipt v2. + +PACKAGE="eggwm-qt5" +VERSION="170821" +COMMIT="254abfb" +CATEGORY="base-system" +SHORT_DESC="Qt5 very basic window manager" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="GPL3" +WEB_SITE="https://github.com/MoonLightDE/mlde.w.eggwm" + +TARBALL="$PACKAGE-$COMMIT.tar.gz" +WGET_URL="https://github.com/MoonLightDE/mlde.w.eggwm/archive/$COMMIT.tar.gz" + +BUILD_DEPENDS="qt5-dev xorg-libxcb-dev xorg-libX11-dev" + +compile_rules() { + qmake -makefile && + make && + make INSTALL_ROOT=$install install || return 1 + + find $install/usr/share -type f -exec chmod a-x '{}' \; +} + +genpkg_rules() { + copy @std + DEPENDS="libatomic mesa17 qt5-base qt5-x11extras xorg-libX11" +} diff -r a8c64a48b69e -r 0709fcf9b0d7 kmod/receipt --- a/kmod/receipt Sat Nov 11 13:50:03 2017 +0100 +++ b/kmod/receipt Sat Nov 11 16:06:23 2017 +0200 @@ -16,9 +16,7 @@ BUILD_DEPENDS_arm="zlib-dev xz-dev" SPLIT="kmod-dev" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { ./configure \ --bindir=/bin \ --with-rootlibdir=/lib \ @@ -37,14 +35,14 @@ ln -s kmod $install/bin/lsmod } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ +genpkg_rules() { case $PACKAGE in kmod) copy @std PROVIDE="modules-init-tools depmod" - DEPENDS="zlib liblzma" + # please keep glibc-base here because kmod used in the post-install + # of linux-* packages and will not work instead + DEPENDS="glibc-base zlib liblzma" ;; *-dev) copy @dev diff -r a8c64a48b69e -r 0709fcf9b0d7 lxqt/receipt --- a/lxqt/receipt Sat Nov 11 13:50:03 2017 +0100 +++ b/lxqt/receipt Sat Nov 11 16:06:23 2017 +0200 @@ -1,49 +1,49 @@ # SliTaz package receipt. PACKAGE="lxqt" -VERSION="0.8.0" +VERSION="0.11" CATEGORY="meta" -SHORT_DESC="LXQt metapackage + userconfig slim-install." +SHORT_DESC="LXQt metapackage" MAINTAINER="psychomaniak@xakep.ru" LICENSE="GPL2" -WEB_SITE="http://lxqt.org" +WEB_SITE="http://lxqt.org/" TAGS="LXQt" -DEPENDS="gvfs gvfs-udisks2 lximage-qt libQtMimeTypes liblxqt liblxqt-mount lxqt-about \ -lxqt-admin lxqt-appswitcher lxqt-common lxqt-config lxqt-config-randr \ -lxqt-globalkeys lxqt-notificationd lxqt-openssh-askpass lxqt-panel \ -lxqt-policykit lxqt-powermanagement lxqt-qtplugin lxqt-runner lxqt-session \ -lxqt-themes openbox obconf-qt oxygen-icons qlipper qtconfig pcmanfm-qt \ -xorg-xprop xorg-xset" +DEPENDS="gvfs gvfs-udisks2 lximage-qt liblxqt lxqt-about lxqt-admin \ +lxqt-common lxqt-config lxqt-globalkeys lxqt-notificationd \ +lxqt-openssh-askpass lxqt-panel lxqt-policykit lxqt-powermanagement \ +lxqt-qtplugin lxqt-runner lxqt-session lxqt-themes openbox \ +qlipper pcmanfm-qt xorg-xprop xorg-xset qterminal" +# discontinued dependencies: libQtMimeTypes liblxqt-mount lxqt-appswitcher +# lxqt-config-randr obconf-qt qtconfig -SUGGESTED="copyq juffed qterminal qps qupzilla" +SUGGESTED="copyq juffed qps qupzilla oxygen-icons" -genpkg_rules() -{ +genpkg_rules() { mkdir -p $fs/etc } -post_install() -{ - for i in $(ls -d "$1"/home/* 2> /dev/null); - do [ -d "$i" ] && \ +post_install() { + for i in $(ls -d "$1"/home/* 2>/dev/null); do + [ -d "$i" ] && sed '/WINDOW_MANAGER=/s|"\([^"]*\)"|"startlxqt"|' -i \ "$i/.config/slitaz/applications.conf" \ "$1/etc/slitaz/applications.conf" done - + for a in lxpanel pcmanfm tazpkg-notify xcompmgr; do - grep -q LXQt "$1/etc/xdg/autostart/$a.desktop" || \ - sed '/NotShowIn=/s|;$|&LXQt;|' -i "$1/etc/xdg/autostart/$a.desktop" + if [ -e "$1/etc/xdg/autostart/$a.desktop" -a \ + ! grep -q LXQt "$1/etc/xdg/autostart/$a.desktop" ]; then + sed '/NotShowIn=/s|;$|&LXQt;|' -i "$1/etc/xdg/autostart/$a.desktop" + fi done } -post_remove() -{ - for i in $(ls -d "$1"/home/* 2> /dev/null); - do [ -d "$i" ] && \ - sed '/WINDOW_MANAGER=/s|"\([^"]*\)"|"lxde-session"|' -i \ - "$i/.config/slitaz/applications.conf" \ - "$1/etc/slitaz/applications.conf" +post_remove() { + for i in $(ls -d "$1"/home/* 2> /dev/null); do + [ -d "$i" ] && + sed -i '/WINDOW_MANAGER=/ s|"\([^"]*\)"|"lxde-session"|' \ + "$i/.config/slitaz/applications.conf" \ + "$1/etc/slitaz/applications.conf" done } diff -r a8c64a48b69e -r 0709fcf9b0d7 oxygen-icons/receipt --- a/oxygen-icons/receipt Sat Nov 11 13:50:03 2017 +0100 +++ b/oxygen-icons/receipt Sat Nov 11 16:06:23 2017 +0200 @@ -1,33 +1,24 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="oxygen-icons" -VERSION="4.4.2" +VERSION="4.8.3" CATEGORY="customization" SHORT_DESC="Oxygen icon theme" MAINTAINER="al.bobylev@gmail.com" LICENSE="LGPL3" WEB_SITE="http://www.kde.org/" -TARBALL="${PACKAGE}_${VERSION}.orig.tar.gz" -WGET_URL="http://archive.ubuntu.com/ubuntu/pool/main/o/$PACKAGE/$TARBALL" -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/share/icons/oxygen - for size in 16 22 32 48; do - cp -a $src/${size}x$size $fs/usr/share/icons/oxygen +TARBALL="${PACKAGE}_${VERSION}.orig.tar.xz" +WGET_URL="http://archive.ubuntu.com/ubuntu/pool/main/o/oxygen-icons/$TARBALL" + +compile_rules() { + mkdir -p $install/usr/share/icons/oxygen + for size in 16 22 48; do + cp -a $src/${size}x$size $install/usr/share/icons/oxygen done - cp -a $src/index.theme $fs/usr/share/icons/oxygen + cp -a $src/index.theme $install/usr/share/icons/oxygen } -qtfix="usr/share/icons/hicolor/index.theme" - -post_install() -{ - sed '/Inherits=/s|=.*$|=oxygen|' -i "$1/$qtfix" +genpkg_rules() { + copy @std } - -pre_remove() -{ - sed '/Inherits=/s|=.*$|=SliTaz|' -i "$1/$qtfix" -} diff -r a8c64a48b69e -r 0709fcf9b0d7 pencil2d/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pencil2d/receipt Sat Nov 11 16:06:23 2017 +0200 @@ -0,0 +1,36 @@ +# SliTaz package receipt v2. + +PACKAGE="pencil2d" +VERSION="0.6-171109" # releases absent; current v.0.6 in the ChangeLog.md +COMMIT="80acbff" +CATEGORY="graphics" +SHORT_DESC="Animation and drawing software" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="GPL3" +WEB_SITE="https://github.com/pencil2d/pencil" + +TARBALL="$PACKAGE-$COMMIT.tar.gz" +WGET_URL="https://github.com/pencil2d/pencil/archive/$COMMIT.tar.gz" + +BUILD_DEPENDS="qt5-dev mesa17-dev" + +compile_rules() { + # specify correct version + sed -i 's|0\.5\.4|0.6|' app/app.pro core_lib/core_lib.pro + sed -i '/^Keywords/d' pencil2d.desktop # sdft can't handle keywords + + mkdir build + cd build + qmake \ + PREFIX=/usr \ + .. && + make && + make INSTALL_ROOT=$install install || return 1 + + find $install/usr/share -type f -exec chmod 0644 '{}' \; +} + +genpkg_rules() { + copy @std hicolor/ # only 128 icon + DEPENDS="libatomic mesa17 qt5-base qt5-multimedia qt5-svg" +} diff -r a8c64a48b69e -r 0709fcf9b0d7 slitaz-base-files/receipt --- a/slitaz-base-files/receipt Sat Nov 11 13:50:03 2017 +0100 +++ b/slitaz-base-files/receipt Sat Nov 11 16:06:23 2017 +0200 @@ -43,6 +43,8 @@ # Set release echo 'next' > $install/etc/slitaz-release + # Set mirror1 as default mirror + sed -i 's|mirror\.slitaz\.org|mirror1.slitaz.org|' $install/etc/slitaz/slitaz.conf chown -R root:root $install chmod 1777 $install/tmp diff -r a8c64a48b69e -r 0709fcf9b0d7 slitaz-configs/receipt --- a/slitaz-configs/receipt Sat Nov 11 13:50:03 2017 +0100 +++ b/slitaz-configs/receipt Sat Nov 11 16:06:23 2017 +0200 @@ -118,7 +118,10 @@ CAT="base-system|for GUI systems" ;; slitaz-themes) - copy /usr/share/themes/SliTaz*/ /usr/share/slim/ /usr/share/lxdm/ + copy \ + /usr/share/themes/SliTaz*/ \ + /usr/share/slim/ \ + /usr/share/lxdm/ CAT="customization|GTK+2, Openbox3, LXDM and SLiM themes" DEPENDS="slim" ;; @@ -148,13 +151,13 @@ esac copy \ /usr/share/ \ - /root/ - remove_already_packed + /root/ \ + @rm - DEPENDS="tazlito tazpkg" + DEPENDS=" " # Handle SliTaz arch case "$SLITAZ_ARCH" in - arm*) DEPENDS="" ;; + arm*) DEPENDS=" " ;; esac ;; esac