wok-next rev 20317

Up kmod, lxqt, oxygen-icons, slitaz-base-files, slitaz-configs; add eggwm-qt5, pencil2d.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Nov 11 16:06:23 2017 +0200 (2017-11-11)
parents a8c64a48b69e
children d394530f7404
files eggwm-qt5/receipt kmod/receipt lxqt/receipt oxygen-icons/receipt pencil2d/receipt slitaz-base-files/receipt slitaz-configs/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/eggwm-qt5/receipt	Sat Nov 11 16:06:23 2017 +0200
     1.3 @@ -0,0 +1,28 @@
     1.4 +# SliTaz package receipt v2.
     1.5 +
     1.6 +PACKAGE="eggwm-qt5"
     1.7 +VERSION="170821"
     1.8 +COMMIT="254abfb"
     1.9 +CATEGORY="base-system"
    1.10 +SHORT_DESC="Qt5 very basic window manager"
    1.11 +MAINTAINER="al.bobylev@gmail.com"
    1.12 +LICENSE="GPL3"
    1.13 +WEB_SITE="https://github.com/MoonLightDE/mlde.w.eggwm"
    1.14 +
    1.15 +TARBALL="$PACKAGE-$COMMIT.tar.gz"
    1.16 +WGET_URL="https://github.com/MoonLightDE/mlde.w.eggwm/archive/$COMMIT.tar.gz"
    1.17 +
    1.18 +BUILD_DEPENDS="qt5-dev xorg-libxcb-dev xorg-libX11-dev"
    1.19 +
    1.20 +compile_rules() {
    1.21 +	qmake -makefile &&
    1.22 +	make &&
    1.23 +	make INSTALL_ROOT=$install install || return 1
    1.24 +
    1.25 +	find $install/usr/share -type f -exec chmod a-x '{}' \;
    1.26 +}
    1.27 +
    1.28 +genpkg_rules() {
    1.29 +	copy @std
    1.30 +	DEPENDS="libatomic mesa17 qt5-base qt5-x11extras xorg-libX11"
    1.31 +}
     2.1 --- a/kmod/receipt	Sat Nov 11 13:50:03 2017 +0100
     2.2 +++ b/kmod/receipt	Sat Nov 11 16:06:23 2017 +0200
     2.3 @@ -16,9 +16,7 @@
     2.4  BUILD_DEPENDS_arm="zlib-dev xz-dev"
     2.5  SPLIT="kmod-dev"
     2.6  
     2.7 -# Rules to configure and make the package.
     2.8 -compile_rules()
     2.9 -{
    2.10 +compile_rules() {
    2.11  	./configure \
    2.12  		--bindir=/bin \
    2.13  		--with-rootlibdir=/lib \
    2.14 @@ -37,14 +35,14 @@
    2.15  	ln -s kmod $install/bin/lsmod
    2.16  }
    2.17  
    2.18 -# Rules to gen a SliTaz package suitable for Tazpkg.
    2.19 -genpkg_rules()
    2.20 -{
    2.21 +genpkg_rules() {
    2.22  	case $PACKAGE in
    2.23  		kmod)
    2.24  			copy @std
    2.25  			PROVIDE="modules-init-tools depmod"
    2.26 -			DEPENDS="zlib liblzma"
    2.27 +			# please keep glibc-base here because kmod used in the post-install
    2.28 +			# of linux-* packages and will not work instead
    2.29 +			DEPENDS="glibc-base zlib liblzma"
    2.30  			;;
    2.31  		*-dev)
    2.32  			copy @dev
     3.1 --- a/lxqt/receipt	Sat Nov 11 13:50:03 2017 +0100
     3.2 +++ b/lxqt/receipt	Sat Nov 11 16:06:23 2017 +0200
     3.3 @@ -1,49 +1,49 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="lxqt"
     3.7 -VERSION="0.8.0"
     3.8 +VERSION="0.11"
     3.9  CATEGORY="meta"
    3.10 -SHORT_DESC="LXQt metapackage + userconfig slim-install."
    3.11 +SHORT_DESC="LXQt metapackage"
    3.12  MAINTAINER="psychomaniak@xakep.ru"
    3.13  LICENSE="GPL2"
    3.14 -WEB_SITE="http://lxqt.org"
    3.15 +WEB_SITE="http://lxqt.org/"
    3.16  TAGS="LXQt"
    3.17  
    3.18 -DEPENDS="gvfs gvfs-udisks2 lximage-qt libQtMimeTypes liblxqt liblxqt-mount lxqt-about \
    3.19 -lxqt-admin lxqt-appswitcher lxqt-common lxqt-config lxqt-config-randr \
    3.20 -lxqt-globalkeys lxqt-notificationd lxqt-openssh-askpass lxqt-panel \
    3.21 -lxqt-policykit lxqt-powermanagement lxqt-qtplugin lxqt-runner lxqt-session \
    3.22 -lxqt-themes openbox obconf-qt oxygen-icons qlipper qtconfig pcmanfm-qt \
    3.23 -xorg-xprop xorg-xset"
    3.24 +DEPENDS="gvfs gvfs-udisks2 lximage-qt liblxqt lxqt-about lxqt-admin \
    3.25 +lxqt-common lxqt-config lxqt-globalkeys lxqt-notificationd \
    3.26 +lxqt-openssh-askpass lxqt-panel lxqt-policykit lxqt-powermanagement \
    3.27 +lxqt-qtplugin lxqt-runner lxqt-session lxqt-themes openbox \
    3.28 +qlipper pcmanfm-qt xorg-xprop xorg-xset qterminal"
    3.29 +# discontinued dependencies: libQtMimeTypes liblxqt-mount lxqt-appswitcher
    3.30 +# lxqt-config-randr obconf-qt qtconfig
    3.31  
    3.32 -SUGGESTED="copyq juffed qterminal qps qupzilla"
    3.33 +SUGGESTED="copyq juffed qps qupzilla oxygen-icons"
    3.34  
    3.35 -genpkg_rules()
    3.36 -{
    3.37 +genpkg_rules() {
    3.38  	mkdir -p $fs/etc
    3.39  }
    3.40  
    3.41 -post_install()
    3.42 -{
    3.43 -	for i in $(ls -d "$1"/home/* 2> /dev/null);
    3.44 -	do	[ -d "$i" ] && \
    3.45 +post_install() {
    3.46 +	for i in $(ls -d "$1"/home/* 2>/dev/null); do
    3.47 +		[ -d "$i" ] &&
    3.48  		sed '/WINDOW_MANAGER=/s|"\([^"]*\)"|"startlxqt"|' -i \
    3.49  		"$i/.config/slitaz/applications.conf" \
    3.50  		"$1/etc/slitaz/applications.conf"
    3.51  	done
    3.52 -	
    3.53 +
    3.54  	for a in lxpanel pcmanfm tazpkg-notify xcompmgr; do
    3.55 -		grep -q LXQt "$1/etc/xdg/autostart/$a.desktop" || \
    3.56 -		sed '/NotShowIn=/s|;$|&LXQt;|' -i "$1/etc/xdg/autostart/$a.desktop"
    3.57 +		if [ -e "$1/etc/xdg/autostart/$a.desktop" -a \
    3.58 +			! grep -q LXQt "$1/etc/xdg/autostart/$a.desktop" ]; then
    3.59 +			sed '/NotShowIn=/s|;$|&LXQt;|' -i "$1/etc/xdg/autostart/$a.desktop"
    3.60 +		fi
    3.61  	done
    3.62  }
    3.63  
    3.64 -post_remove()
    3.65 -{
    3.66 -	for i in $(ls -d "$1"/home/* 2> /dev/null);
    3.67 -	do [ -d "$i" ] && \
    3.68 -		sed '/WINDOW_MANAGER=/s|"\([^"]*\)"|"lxde-session"|' -i \
    3.69 -		"$i/.config/slitaz/applications.conf" \
    3.70 -		"$1/etc/slitaz/applications.conf"
    3.71 +post_remove() {
    3.72 +	for i in $(ls -d "$1"/home/* 2> /dev/null); do
    3.73 +		[ -d "$i" ] &&
    3.74 +		sed -i '/WINDOW_MANAGER=/ s|"\([^"]*\)"|"lxde-session"|' \
    3.75 +			"$i/.config/slitaz/applications.conf" \
    3.76 +			"$1/etc/slitaz/applications.conf"
    3.77  	done
    3.78  }
     4.1 --- a/oxygen-icons/receipt	Sat Nov 11 13:50:03 2017 +0100
     4.2 +++ b/oxygen-icons/receipt	Sat Nov 11 16:06:23 2017 +0200
     4.3 @@ -1,33 +1,24 @@
     4.4 -# SliTaz package receipt.
     4.5 +# SliTaz package receipt v2.
     4.6  
     4.7  PACKAGE="oxygen-icons"
     4.8 -VERSION="4.4.2"
     4.9 +VERSION="4.8.3"
    4.10  CATEGORY="customization"
    4.11  SHORT_DESC="Oxygen icon theme"
    4.12  MAINTAINER="al.bobylev@gmail.com"
    4.13  LICENSE="LGPL3"
    4.14  WEB_SITE="http://www.kde.org/"
    4.15 -TARBALL="${PACKAGE}_${VERSION}.orig.tar.gz"
    4.16 -WGET_URL="http://archive.ubuntu.com/ubuntu/pool/main/o/$PACKAGE/$TARBALL"
    4.17  
    4.18 -# Rules to gen a SliTaz package suitable for Tazpkg.
    4.19 -genpkg_rules()
    4.20 -{
    4.21 -	mkdir -p $fs/usr/share/icons/oxygen
    4.22 -	for size in 16 22 32 48; do
    4.23 -		cp -a $src/${size}x$size $fs/usr/share/icons/oxygen
    4.24 +TARBALL="${PACKAGE}_${VERSION}.orig.tar.xz"
    4.25 +WGET_URL="http://archive.ubuntu.com/ubuntu/pool/main/o/oxygen-icons/$TARBALL"
    4.26 +
    4.27 +compile_rules() {
    4.28 +	mkdir -p $install/usr/share/icons/oxygen
    4.29 +	for size in 16 22 48; do
    4.30 +		cp -a $src/${size}x$size $install/usr/share/icons/oxygen
    4.31  	done
    4.32 -	cp -a $src/index.theme $fs/usr/share/icons/oxygen
    4.33 +	cp -a $src/index.theme $install/usr/share/icons/oxygen
    4.34  }
    4.35  
    4.36 -qtfix="usr/share/icons/hicolor/index.theme"
    4.37 -
    4.38 -post_install()
    4.39 -{
    4.40 -	sed '/Inherits=/s|=.*$|=oxygen|' -i "$1/$qtfix"
    4.41 +genpkg_rules() {
    4.42 +	copy @std
    4.43  }
    4.44 -
    4.45 -pre_remove()
    4.46 -{
    4.47 -	sed '/Inherits=/s|=.*$|=SliTaz|' -i "$1/$qtfix"
    4.48 -}
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/pencil2d/receipt	Sat Nov 11 16:06:23 2017 +0200
     5.3 @@ -0,0 +1,36 @@
     5.4 +# SliTaz package receipt v2.
     5.5 +
     5.6 +PACKAGE="pencil2d"
     5.7 +VERSION="0.6-171109" # releases absent; current v.0.6 in the ChangeLog.md
     5.8 +COMMIT="80acbff"
     5.9 +CATEGORY="graphics"
    5.10 +SHORT_DESC="Animation and drawing software"
    5.11 +MAINTAINER="al.bobylev@gmail.com"
    5.12 +LICENSE="GPL3"
    5.13 +WEB_SITE="https://github.com/pencil2d/pencil"
    5.14 +
    5.15 +TARBALL="$PACKAGE-$COMMIT.tar.gz"
    5.16 +WGET_URL="https://github.com/pencil2d/pencil/archive/$COMMIT.tar.gz"
    5.17 +
    5.18 +BUILD_DEPENDS="qt5-dev mesa17-dev"
    5.19 +
    5.20 +compile_rules() {
    5.21 +	# specify correct version
    5.22 +	sed -i 's|0\.5\.4|0.6|' app/app.pro core_lib/core_lib.pro
    5.23 +	sed -i '/^Keywords/d' pencil2d.desktop # sdft can't handle keywords
    5.24 +
    5.25 +	mkdir build
    5.26 +	cd    build
    5.27 +	qmake \
    5.28 +		PREFIX=/usr \
    5.29 +		.. &&
    5.30 +	make &&
    5.31 +	make INSTALL_ROOT=$install install || return 1
    5.32 +
    5.33 +	find $install/usr/share -type f -exec chmod 0644 '{}' \;
    5.34 +}
    5.35 +
    5.36 +genpkg_rules() {
    5.37 +	copy @std hicolor/ # only 128 icon
    5.38 +	DEPENDS="libatomic mesa17 qt5-base qt5-multimedia qt5-svg"
    5.39 +}
     6.1 --- a/slitaz-base-files/receipt	Sat Nov 11 13:50:03 2017 +0100
     6.2 +++ b/slitaz-base-files/receipt	Sat Nov 11 16:06:23 2017 +0200
     6.3 @@ -43,6 +43,8 @@
     6.4  
     6.5  	# Set release
     6.6  	echo 'next' > $install/etc/slitaz-release
     6.7 +	# Set mirror1 as default mirror
     6.8 +	sed -i 's|mirror\.slitaz\.org|mirror1.slitaz.org|' $install/etc/slitaz/slitaz.conf
     6.9  
    6.10  	chown -R root:root $install
    6.11  	chmod 1777 $install/tmp
     7.1 --- a/slitaz-configs/receipt	Sat Nov 11 13:50:03 2017 +0100
     7.2 +++ b/slitaz-configs/receipt	Sat Nov 11 16:06:23 2017 +0200
     7.3 @@ -118,7 +118,10 @@
     7.4  			CAT="base-system|for GUI systems"
     7.5  			;;
     7.6  		slitaz-themes)
     7.7 -			copy /usr/share/themes/SliTaz*/ /usr/share/slim/ /usr/share/lxdm/
     7.8 +			copy \
     7.9 +				/usr/share/themes/SliTaz*/ \
    7.10 +				/usr/share/slim/ \
    7.11 +				/usr/share/lxdm/
    7.12  			CAT="customization|GTK+2, Openbox3, LXDM and SLiM themes"
    7.13  			DEPENDS="slim"
    7.14  			;;
    7.15 @@ -148,13 +151,13 @@
    7.16  			esac
    7.17  			copy \
    7.18  				/usr/share/ \
    7.19 -				/root/
    7.20 -			remove_already_packed
    7.21 +				/root/ \
    7.22 +				@rm
    7.23  
    7.24 -			DEPENDS="tazlito tazpkg"
    7.25 +			DEPENDS=" "
    7.26  			# Handle SliTaz arch
    7.27  			case "$SLITAZ_ARCH" in
    7.28 -				arm*) DEPENDS="" ;;
    7.29 +				arm*) DEPENDS=" " ;;
    7.30  			esac
    7.31  			;;
    7.32  	esac