wok-next rev 19854

Up alsa-utils, cookutils, lxsession, slitaz-i18n, terminus-font.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Sep 04 02:20:25 2017 +0300 (2017-09-04)
parents d57d8c4514f4
children e96c2053ccb9
files alsa-utils/receipt alsa-utils/stuff/alsamixer.desktop alsa-utils/stuff/applications/alsamixer.desktop cookutils/receipt lxsession/receipt slitaz-i18n/stuff/locale-pack.conf terminus-font/receipt
line diff
     1.1 --- a/alsa-utils/receipt	Sat Sep 02 16:37:59 2017 +0300
     1.2 +++ b/alsa-utils/receipt	Mon Sep 04 02:20:25 2017 +0300
     1.3 @@ -1,64 +1,67 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="alsa-utils"
     1.8 -VERSION="1.0.27.2"
     1.9 +VERSION="1.1.4"
    1.10  CATEGORY="multimedia"
    1.11 -SHORT_DESC="Alsa sound system utilities and config tools."
    1.12 +SHORT_DESC="Command line utilities for the ALSA project"
    1.13  MAINTAINER="pankso@slitaz.org"
    1.14  LICENSE="GPL2"
    1.15  WEB_SITE="http://www.alsa-project.org/"
    1.16 +HOST_ARCH="i486 arm"
    1.17 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/multimedia/alsa-utils.html"
    1.18 +
    1.19  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.20  WGET_URL="ftp://ftp.alsa-project.org/pub/utils/$TARBALL"
    1.21 -CONFIG_FILES="/var/lib/alsa/asound.state"
    1.22 -HOST_ARCH="i486 arm"
    1.23  
    1.24 -DEPENDS="alsa-lib ncurses util-linux-getopt"
    1.25 -BUILD_DEPENDS="alsa-lib-dev ncurses-dev gettext"
    1.26 +BUILD_DEPENDS="alsa-lib-dev ncurses-dev gettext eudev-dev"
    1.27 +SPLIT="alsa-utils-test alsa-info alsa-utils"
    1.28  
    1.29  # Rules to configure and make the package.
    1.30  compile_rules()
    1.31  {
    1.32  	./configure \
    1.33 +		--disable-alsaconf \
    1.34 +		--disable-bat \
    1.35  		--disable-xmlto \
    1.36 +		--with-curses=ncursesw \
    1.37  		$CONFIGURE_ARGS &&
    1.38 -	make &&
    1.39 -	make DESTDIR=$DESTDIR install
    1.40 +	make && make install || return 1
    1.41 +
    1.42 +	# Remove empty dir
    1.43 +	rmdir $install/usr/share/man/man7
    1.44 +
    1.45 +	appdir=$install/usr/share/applications
    1.46 +	mkdir -p $appdir
    1.47 +	cp $stuff/alsamixer.desktop $appdir
    1.48 +
    1.49 +	# Declare asound.state
    1.50 +	touch $install/var/lib/alsa/asound.state
    1.51 +
    1.52 +	# For conf we need /var/tmp
    1.53 +	mkdir -p $install/var/tmp
    1.54 +	chmod 1777 $install/var/tmp
    1.55  }
    1.56  
    1.57  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.58  genpkg_rules()
    1.59  {
    1.60 -	mkdir -p $fs/usr/share/alsa $fs/var/lib/alsa $fs/etc
    1.61 -	#touch $fs/etc/asound.state
    1.62 -	cp -a $install/usr/bin $fs/usr
    1.63 -	cp -a $install/usr/sbin $fs/usr
    1.64 -	cp -a $install/usr/share/alsa/init $fs/usr/share/alsa
    1.65 -
    1.66 -	# Declare asound.state
    1.67 -	touch $fs/var/lib/alsa/asound.state
    1.68 -	chmod 755 $fs/usr/sbin/*
    1.69 -	# Remove speaker-test (18 Ko and needs sounds)
    1.70 -	rm $fs/usr/bin/speaker-test
    1.71 -	# For conf we need /var/tmp
    1.72 -	mkdir -p $fs/var/tmp
    1.73 -	chmod 1777 $fs/var/tmp
    1.74 -	# Remove alsaconf (use soundconf).
    1.75 -	rm $fs/usr/sbin/alsaconf
    1.76 +	case $PACKAGE in
    1.77 +		alsa-utils-test)
    1.78 +			copy speaker-test speaker-test/ *.wav
    1.79 +			CAT="multimedia|speaker test"
    1.80 +			DEPENDS="alsa-lib"
    1.81 +			;;
    1.82 +		alsa-info)
    1.83 +			copy alsa-info.sh
    1.84 +			CAT="multimedia|gather ALSA subsystem information"
    1.85 +			DEPENDS="alsa-utils bash dialog ncurses-extra pciutils wget"
    1.86 +			;;
    1.87 +		alsa-utils)
    1.88 +			copy @std
    1.89 +			remove_already_packed
    1.90 +			DEPENDS="alsa-lib ncurses ncurses-libform ncurses-libmenu \
    1.91 +			ncurses-libpanel"
    1.92 +			CONFIG_FILES="/var/lib/alsa/asound.state"
    1.93 +			;;
    1.94 +	esac
    1.95  }
    1.96 -
    1.97 -# Main alsa config (card name, volumes, etc) have moved upstream. So backup
    1.98 -# current one and reenable it after package install so user still have ther
    1.99 -# sound card and settings working.
   1.100 -pre_install()
   1.101 -{
   1.102 -	if [ -f "$1/etc/asound.state" ]; then
   1.103 -		mv "$1/etc/asound.state" "$1/tmp"
   1.104 -	fi
   1.105 -}
   1.106 -
   1.107 -post_install()
   1.108 -{
   1.109 -	if [ -f "$1/tmp/asound.state" ]; then
   1.110 -		mv "$1/tmp/asound.state" "$1/var/lib/alsa"
   1.111 -	fi
   1.112 -}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/alsa-utils/stuff/alsamixer.desktop	Mon Sep 04 02:20:25 2017 +0300
     2.3 @@ -0,0 +1,9 @@
     2.4 +[Desktop Entry]
     2.5 +Type=Application
     2.6 +Name=Alsamixer Volume mixer
     2.7 +Name[fr]=Mixer de volumes Alsamixer
     2.8 +Name[ru]=Регулятор громкости Alsamixer
     2.9 +Name[zh_CN]=Alsamixer 音量控制
    2.10 +Exec=terminal -e alsamixer
    2.11 +Icon=multimedia-volume-control
    2.12 +Categories=AudioVideo;Audio;Mixer;
     3.1 --- a/alsa-utils/stuff/applications/alsamixer.desktop	Sat Sep 02 16:37:59 2017 +0300
     3.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.3 @@ -1,9 +0,0 @@
     3.4 -[Desktop Entry]
     3.5 -Type=Application
     3.6 -Name=Alsamixer Volume mixer
     3.7 -Name[fr]=Mixer de volumes Alsamixer
     3.8 -Name[ru]=Регулятор громкости Alsamixer
     3.9 -Name[zh_CN]=Alsamixer 音量控制
    3.10 -Exec=terminal -e alsamixer
    3.11 -Icon=multimedia-volume-control
    3.12 -Categories=AudioVideo;Audio;Mixer;
     4.1 --- a/cookutils/receipt	Sat Sep 02 16:37:59 2017 +0300
     4.2 +++ b/cookutils/receipt	Mon Sep 04 02:20:25 2017 +0300
     4.3 @@ -1,7 +1,7 @@
     4.4  # SliTaz package receipt v2.
     4.5  
     4.6  PACKAGE="cookutils"
     4.7 -VERSION="965"
     4.8 +VERSION="966"
     4.9  CATEGORY="base-system"
    4.10  SHORT_DESC="SliTaz packages builder new generation"
    4.11  MAINTAINER="pankso@slitaz.org"
     5.1 --- a/lxsession/receipt	Sat Sep 02 16:37:59 2017 +0300
     5.2 +++ b/lxsession/receipt	Mon Sep 04 02:20:25 2017 +0300
     5.3 @@ -53,8 +53,8 @@
     5.4  	# config files examples
     5.5  	cp data/*.example $confdir
     5.6  
     5.7 -	# LXDE autostart dir
     5.8 -	mkdir -p $confdir/autostart
     5.9 +	# LXDE autostart file
    5.10 +	touch $confdir/autostart
    5.11  }
    5.12  
    5.13  # Rules to gen a SliTaz package suitable for Tazpkg.
     6.1 --- a/slitaz-i18n/stuff/locale-pack.conf	Sat Sep 02 16:37:59 2017 +0300
     6.2 +++ b/slitaz-i18n/stuff/locale-pack.conf	Mon Sep 04 02:20:25 2017 +0300
     6.3 @@ -5,8 +5,10 @@
     6.4  gpicview gtk+ gvfs kbd leafpad libfm gnutls libgpg-error libidn xz libwebkit \
     6.5  lxappearance lxinput lxpanel lxrandr lxsession lxsession-edit lxtask \
     6.6  mhwaveedit midori mtpaint nano obconf openbox parted pcmanfm polkit popt \
     6.7 -sakura shared-mime-info udisks2 util-linux vorbis-tools vte \
     6.8 -xorg-xkeyboard-config yad-gtk2"
     6.9 +sakura-gtk2 shared-mime-info udisks2 util-linux vorbis-tools vte-gtk2 \
    6.10 +xorg-xkeyboard-config yad-gtk2 \
    6.11 +consolekit2 gcolor2 libexif libgphoto2 libsecret libsoup libwnck2 \
    6.12 +mate-notification-daemon mc vorbis-tools"
    6.13  
    6.14  CORE_PKGS_ARM="acl attr dialog e2fsprogs jwm libgpg-error lynx nano"
    6.15  
     7.1 --- a/terminus-font/receipt	Sat Sep 02 16:37:59 2017 +0300
     7.2 +++ b/terminus-font/receipt	Mon Sep 04 02:20:25 2017 +0300
     7.3 @@ -39,10 +39,12 @@
     7.4  		terminus-font-x11)
     7.5  			copy *.pcf*
     7.6  			CAT="x-window|Xorg pcf fonts"
     7.7 +			DEPENDS=" "
     7.8  			;;
     7.9  		terminus-font-base)
    7.10  			copy ter-v14n.*
    7.11  			CAT="system-tools|8x14 console font"
    7.12 +			DEPENDS=" "
    7.13  			;;
    7.14  		terminus-font)
    7.15  			copy @std