wok-next rev 20463
Combine receipts
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Mar 06 11:29:35 2018 +0200 (2018-03-06) |
parents | 8940878905f3 |
children | 4396aed7eb01 |
files | brscan/description.brscan.txt brscan/description.brscan2.txt brscan/description.txt brscan/receipt brscan2/description.txt brscan2/receipt clutter-gtk-dev/receipt clutter-gtk/receipt dev86/receipt ecm-extras/receipt ecm/receipt elksemu/receipt epdf-dev/receipt epdf/receipt ffmpeg-compat-dev/receipt ffmpeg-compat/receipt gnome-vfs-monikers-dev/receipt gnome-vfs-monikers/receipt goffice-dev/receipt goffice/receipt gtkballs-themes/receipt gtkballs/receipt i2c-tools-dev/receipt i2c-tools/receipt libdvdcss-dev/receipt libdvdcss/receipt libee-dev/receipt libee/receipt libglw-mesa-dev/receipt libglw-mesa/receipt libiodbc-dev/receipt libiodbc/receipt libirman-dev/receipt libirman/receipt libjson-c-dev/receipt libjson-c/receipt liboobs-dev/receipt liboobs/receipt libtkimg-dev/receipt libtkimg/receipt linphone-dev/receipt linphone/receipt lz5-dev/receipt lz5/receipt nagios-dev/receipt nagios/receipt nagios/stuff/nagios-3.2.1-Makefiles.u nagios/stuff/nagios-3.2.3-Makefiles.u nagios/stuff/nagios-3.5.0-Makefiles.u nagios/stuff/patches/nagios-3.2.1-Makefiles.u nagios/stuff/patches/nagios-3.2.3-Makefiles.u nagios/stuff/patches/nagios-3.5.0-Makefiles.u nagios/stuff/patches/series nbs-dev/receipt nbs/receipt oniguruma-dev/receipt oniguruma/receipt opencsg-dev/receipt opencsg/receipt openexr-dev/receipt openexr/receipt ortp-dev/receipt ortp/receipt rlog-dev/receipt rlog/receipt rtaudio-dev/receipt rtaudio/receipt sleuthkit-dev/receipt sleuthkit/receipt soprano-dev/receipt soprano/receipt telepathy-glib-dev/receipt telepathy-glib/receipt vanessa_logger-dev/receipt vanessa_logger/receipt wine-rt-dev/receipt wine-rt/receipt wine-rt/stuff/patches/series wine-rt/stuff/patches/wine-rt-101107.patch wine-rt/stuff/wine-rt-101107.patch xalan-c-dev/receipt xalan-c/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/brscan/description.brscan.txt Tue Mar 06 11:29:35 2018 +0200 1.3 @@ -0,0 +1,14 @@ 1.4 +Brother scanner drivers for sane with the following models: 1.5 + 1.6 +DCP-1000 DCP-1400 DCP-4020C DCP-8020 DCP-8025D 1.7 +DCP-8040 DCP-8045D 1.8 + 1.9 +FAX-4750e FAX-5750e 1.10 + 1.11 +MFC-3100C MFC-3200C MFC-3220C MFC-3320CN MFC-3420C 1.12 +MFC-3820CN MFC-4420C MFC-4800 MFC-4820C MFC-5100C 1.13 +MFC-5200C MFC-580 MFC-590 MFC-6800 MFC-8220 1.14 +MFC-8420 MFC-8440 MFC-8500 MFC-8820D MFC-8840D 1.15 +MFC-890 MFC-9030 MFC-9070 MFC-9160 MFC-9180 1.16 +MFC-9660 MFC-9700 MFC-9760 MFC-9800 MFC-9860 1.17 +MFC-9880
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/brscan/description.brscan2.txt Tue Mar 06 11:29:35 2018 +0200 2.3 @@ -0,0 +1,20 @@ 2.4 +Brother scanner drivers for sane with the following models: 2.5 + 2.6 +DCP-110C DCP-115C DCP-116C DCP-117C DCP-120C 2.7 +DCP-130C DCP-135C DCP-150C DCP-153C DCP-310CN 2.8 +DCP-315CN DCP-330C DCP-340CW DCP-350C DCP-353C 2.9 +DCP-540CN DCP-560CN DCP-7010 DCP-7020 DCP-7025 2.10 +DCP-750CW DCP-770CW DCP-8060 DCP-8065DN DCP-9040CN 2.11 +DCP-9045CN 2.12 +DCP-7030 DCP-7040 DCP-7045N 2.13 + 2.14 +MFC-210C MFC-215C MFC-230C MFC-235C MFC-240C 2.15 +MFC-260C MFC-3240C MFC-3340CN MFC-3360C MFC-410CN 2.16 +MFC-420CN MFC-425CN MFC-440CN MFC-465CN MFC-5440CN 2.17 +MFC-5460CN MFC-5840CN MFC-5860CN MFC-620CN MFC-640CW 2.18 +MFC-660CN MFC-665CW MFC-680CN MFC-685CW MFC-7220 2.19 +MFC-7225N MFC-7420 MFC-7820N MFC-820CW MFC-845CW 2.20 +MFC-8460N MFC-8660DN MFC-885CW MFC-8860DN MFC-8870DW 2.21 +MFC-9420CN MFC-9440CN MFC-9840CDW 2.22 +MFC-7320 MFC-7340 MFC-7440N MFC-7450 MFC-7840N 2.23 +MFC-7840W
3.1 --- a/brscan/description.txt Tue Mar 06 03:00:01 2018 +0200 3.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 3.3 @@ -1,14 +0,0 @@ 3.4 -Brother scanner drivers for sane with the following models: 3.5 - 3.6 -DCP-1000 DCP-1400 DCP-4020C DCP-8020 DCP-8025D 3.7 -DCP-8040 DCP-8045D 3.8 - 3.9 -FAX-4750e FAX-5750e 3.10 - 3.11 -MFC-3100C MFC-3200C MFC-3220C MFC-3320CN MFC-3420C 3.12 -MFC-3820CN MFC-4420C MFC-4800 MFC-4820C MFC-5100C 3.13 -MFC-5200C MFC-580 MFC-590 MFC-6800 MFC-8220 3.14 -MFC-8420 MFC-8440 MFC-8500 MFC-8820D MFC-8840D 3.15 -MFC-890 MFC-9030 MFC-9070 MFC-9160 MFC-9180 3.16 -MFC-9660 MFC-9700 MFC-9760 MFC-9800 MFC-9860 3.17 -MFC-9880
4.1 --- a/brscan/receipt Tue Mar 06 03:00:01 2018 +0200 4.2 +++ b/brscan/receipt Tue Mar 06 11:29:35 2018 +0200 4.3 @@ -1,28 +1,28 @@ 4.4 -# SliTaz package receipt. 4.5 +# SliTaz package receipt v2. 4.6 4.7 PACKAGE="brscan" 4.8 VERSION="0.2.4" 4.9 CATEGORY="office" 4.10 -SHORT_DESC="Brother Scanner driver for SANE." 4.11 +SHORT_DESC="Brother Scanner driver for SANE" 4.12 MAINTAINER="pascal.bellard@slitaz.org" 4.13 LICENSE="GPL2" 4.14 -SOURCE="$PACKAGE-src" 4.15 -TARBALL="$SOURCE-$VERSION.tar.gz" 4.16 WEB_SITE="http://solutions.brother.com/linux/sol/printer/linux/sane_drivers.html" 4.17 + 4.18 +TARBALL="brscan-src-$VERSION.tar.gz" 4.19 WGET_URL="http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/sane_source/$TARBALL" 4.20 -TAGS="scanner driver" 4.21 4.22 -DEPENDS="sane-backends ncurses" 4.23 BUILD_DEPENDS="file ncurses-dev libusb-compat-dev" 4.24 +SPLIT="brscan2" 4.25 4.26 -# Rules to configure and make the package. 4.27 -compile_rules() 4.28 -{ 4.29 +compile_rules() { 4.30 cd $src/brscan 4.31 - ./configure --prefix=/usr --infodir=/usr/share/info \ 4.32 - --sysconfdir=/etc --localstatedir=/var \ 4.33 - --mandir=/usr/share/man \ 4.34 - $CONFIGURE_ARGS || return 1 4.35 + ./configure \ 4.36 + --prefix=/usr \ 4.37 + --infodir=/usr/share/info \ 4.38 + --sysconfdir=/etc \ 4.39 + --localstatedir=/var \ 4.40 + --mandir=/usr/share/man \ 4.41 + $CONFIGURE_ARGS || return 1 4.42 sed -i '/mk_package/d' Makefile 4.43 make -j1 && { 4.44 cd .. 4.45 @@ -31,50 +31,114 @@ 4.46 } 4.47 } 4.48 4.49 -# Rules to gen a SliTaz package suitable for Tazpkg. 4.50 -genpkg_rules() 4.51 -{ 4.52 - mkdir -p $fs/usr/bin $fs/usr/lib/sane 4.53 - for i in BHL BHL2 BHL2FB BHLFB BHMFB BHminiFB YL4 YL4FB \ 4.54 - ZL2 ZL2FB ZLe ZLeFB ; do 4.55 - mkdir -p $fs/usr/local/Brother/sane/GrayCmData/$i 4.56 - cp -a $install/brscan/libbrcolm/GrayCmData/$i/* \ 4.57 - $fs/usr/local/Brother/sane/GrayCmData/$i 4.58 - chmod 644 $fs/usr/local/Brother/sane/GrayCmData/$i/* 4.59 - done 4.60 - cp $install/brscan/backend_brscan/.libs/libsane-brother.so.1.0.7 \ 4.61 - $fs/usr/lib/sane/libsane-brother.so.1.0.7 4.62 - ln -s libsane-brother.so.1.0.7 $fs/usr/lib/sane/libsane-brother.so.1 4.63 - ln -s libsane-brother.so.1 $fs/usr/lib/sane/libsane-brother.so 4.64 - cp $install/brscan/libbrscandec/libbrscandec.so.1.0.0 \ 4.65 - $fs/usr/lib/libbrscandec.so.1.0.0 4.66 - chmod 755 $fs/usr/lib/libbrscandec.so.1.0.0 4.67 - ln -s libbrscandec.so.1.0.0 $fs/usr/lib/libbrscandec.so.1 4.68 - ln -s libbrscandec.so.1 $fs/usr/lib/libbrscandec.so 4.69 - cp $install/brscan/libbrcolm/libbrcolm.so.1.0.0 \ 4.70 - $fs/usr/lib/libbrcolm.so.1.0.0 4.71 - ln -s libbrcolm.so.1.0.0 $fs/usr/lib/libbrcolm.so.1 4.72 - ln -s libbrcolm.so.1 $fs/usr/lib/libbrcolm.so 4.73 - cp $install/brscan/mk_package/Brsane.ini \ 4.74 - $fs/usr/local/Brother/sane/Brsane.ini 4.75 - cp $install/brscan/mk_package/brsanenetdevice.cfg \ 4.76 - $fs/usr/local/Brother/sane/brsanenetdevice.cfg 4.77 - chmod 666 $fs/usr/local/Brother/sane/brsanenetdevice.cfg 4.78 - cp $install/brscan/netconfig/brsaneconfig \ 4.79 - $fs/usr/local/Brother/sane/brsaneconfig 4.80 - ln -s /usr/local/Brother/sane/brsaneconfig $fs/usr/bin/brsaneconfig 4.81 - cp $install/brscan/mk_package/setupSaneScan \ 4.82 - $fs/usr/local/Brother/sane/setupSaneScan 4.83 - chmod 755 $fs/usr/local/Brother/sane/setupSaneScan 4.84 +genpkg_rules() { 4.85 + case $PACKAGE in 4.86 + brscan) 4.87 + mkdir -p $fs/usr/bin $fs/usr/lib/sane 4.88 + for i in BHL BHL2 BHL2FB BHLFB BHMFB BHminiFB YL4 YL4FB \ 4.89 + ZL2 ZL2FB ZLe ZLeFB; do 4.90 + mkdir -p $fs/usr/local/Brother/sane/GrayCmData/$i 4.91 + cp -a $install/brscan/libbrcolm/GrayCmData/$i/* \ 4.92 + $fs/usr/local/Brother/sane/GrayCmData/$i 4.93 + chmod 644 $fs/usr/local/Brother/sane/GrayCmData/$i/* 4.94 + done 4.95 + cp $install/brscan/backend_brscan/.libs/libsane-brother.so.1.0.7 \ 4.96 + $fs/usr/lib/sane/libsane-brother.so.1.0.7 4.97 + ln -s libsane-brother.so.1.0.7 $fs/usr/lib/sane/libsane-brother.so.1 4.98 + ln -s libsane-brother.so.1 $fs/usr/lib/sane/libsane-brother.so 4.99 + cp $install/brscan/libbrscandec/libbrscandec.so.1.0.0 \ 4.100 + $fs/usr/lib/libbrscandec.so.1.0.0 4.101 + chmod 755 $fs/usr/lib/libbrscandec.so.1.0.0 4.102 + ln -s libbrscandec.so.1.0.0 $fs/usr/lib/libbrscandec.so.1 4.103 + ln -s libbrscandec.so.1 $fs/usr/lib/libbrscandec.so 4.104 + cp $install/brscan/libbrcolm/libbrcolm.so.1.0.0 \ 4.105 + $fs/usr/lib/libbrcolm.so.1.0.0 4.106 + ln -s libbrcolm.so.1.0.0 $fs/usr/lib/libbrcolm.so.1 4.107 + ln -s libbrcolm.so.1 $fs/usr/lib/libbrcolm.so 4.108 + cp $install/brscan/mk_package/Brsane.ini \ 4.109 + $fs/usr/local/Brother/sane/Brsane.ini 4.110 + cp $install/brscan/mk_package/brsanenetdevice.cfg \ 4.111 + $fs/usr/local/Brother/sane/brsanenetdevice.cfg 4.112 + chmod 666 $fs/usr/local/Brother/sane/brsanenetdevice.cfg 4.113 + cp $install/brscan/netconfig/brsaneconfig \ 4.114 + $fs/usr/local/Brother/sane/brsaneconfig 4.115 + ln -s /usr/local/Brother/sane/brsaneconfig $fs/usr/bin/brsaneconfig 4.116 + cp $install/brscan/mk_package/setupSaneScan \ 4.117 + $fs/usr/local/Brother/sane/setupSaneScan 4.118 + chmod 755 $fs/usr/local/Brother/sane/setupSaneScan 4.119 + DEPENDS="sane-backends ncurses" 4.120 + TAGS="scanner driver" 4.121 + ;; 4.122 + brscan2) 4.123 + mkdir -p $fs/usr/bin $fs/usr/lib/sane $fs/usr/local/Brother/sane/models2 4.124 + for i in ALL AL; do 4.125 + mkdir -p $fs/usr/local/Brother/sane/GrayCmData/$i 4.126 + cp -a $src/brscan/libbrcolm2/GrayCmData/$i/* \ 4.127 + $fs/usr/local/Brother/sane/GrayCmData/$i 4.128 + chmod 644 $fs/usr/local/Brother/sane/GrayCmData/$i 4.129 + done 4.130 + cp $src/brscan/backend_brscan2/.libs/libsane-brother2.so.1.0.7 \ 4.131 + $fs/usr/lib/sane/libsane-brother2.so.1.0.7 4.132 + ln -s libsane-brother2.so.1.0.7 $fs/usr/lib/sane/libsane-brother2.so.1 4.133 + ln -s libsane-brother2.so.1 $fs/usr/lib/sane/libsane-brother2.so 4.134 + cp $src/brscan/libbrscandec2/libbrscandec2.so.1.0.0 \ 4.135 + $fs/usr/lib/libbrscandec2.so.1.0.0 4.136 + chmod 755 $fs/usr/lib/libbrscandec2.so.1.0.0 4.137 + ln -s libbrscandec2.so.1.0.0 $fs/usr/lib/libbrscandec2.so.1 4.138 + ln -s libbrscandec2.so.1 $fs/usr/lib/libbrscandec2.so 4.139 + cp $src/brscan/libbrcolm2/libbrcolm2.so.1.0.0 \ 4.140 + $fs/usr/lib/libbrcolm2.so.1.0.0 4.141 + chmod 755 $fs/usr/lib/libbrcolm2.so.1.0.0 4.142 + ln -s libbrcolm2.so.1.0.0 $fs/usr/lib/libbrcolm2.so.1 4.143 + ln -s libbrcolm2.so.1 $fs/usr/lib/libbrcolm2.so 4.144 + while read line; do 4.145 + echo $line 4.146 + echo $line | grep -q 'Support Model' || continue 4.147 + cat <<EOT 4.148 +0x01eb,6,1,"MFC-7320",131,4 4.149 +0x01e7,6,1,"MFC-7340",131,4 4.150 +0x01e6,6,1,"MFC-7440N",131,4 4.151 +0x01ee,6,1,"MFC-7450",131,4 4.152 +0x01ed,6,1,"MFC-7840N",131,4 4.153 +0x01e5,6,1,"MFC-7840W",131,4 4.154 +0x01ea,6,1,"DCP-7030",131,4 4.155 +0x01e9,6,1,"DCP-7040",131,4 4.156 +0x01e8,6,1,"DCP-7045N",131,4 4.157 + 4.158 +EOT 4.159 + done < $src/brscan/mk_package/Brsane2.ini > \ 4.160 + $fs/usr/local/Brother/sane/Brsane2.ini 4.161 + chmod 644 $fs/usr/local/Brother/sane/Brsane2.ini 4.162 + cp $src/brscan/mk_package/brsanenetdevice2.cfg \ 4.163 + $fs/usr/local/Brother/sane/brsanenetdevice2.cfg 4.164 + chmod 666 $fs/usr/local/Brother/sane/brsanenetdevice2.cfg 4.165 + cp $src/brscan/netconfig/brsaneconfig2 \ 4.166 + $fs/usr/local/Brother/sane/brsaneconfig2 4.167 + ln -s /usr/local/Brother/sane/brsaneconfig2 $fs/usr/bin/brsaneconfig2 4.168 + cp $src/brscan/mk_package/setupSaneScan2 \ 4.169 + $fs/usr/local/Brother/sane/setupSaneScan2 4.170 + chmod 755 $fs/usr/local/Brother/sane/setupSaneScan2 4.171 + cp $src/brscan/mk_package/ext1.ini \ 4.172 + $fs/usr/local/Brother/sane/models2/ext1.ini 4.173 + CAT="office|part 2" 4.174 + DEPENDS="sane-backends" 4.175 + TAGS="scanner driver" 4.176 + ;; 4.177 + esac 4.178 } 4.179 4.180 -# Pre and post install and remove commands for Tazpkg. 4.181 -post_install() 4.182 -{ 4.183 +post_install_brscan() { 4.184 chroot "$1/" /usr/local/Brother/sane/setupSaneScan -i 4.185 } 4.186 4.187 -pre_remove() 4.188 -{ 4.189 +pre_remove_brscan() { 4.190 chroot "$1/" /usr/local/Brother/sane/setupSaneScan -e 4.191 } 4.192 + 4.193 +post_install_brscan2() { 4.194 + chroot "$1/" /usr/local/Brother/sane/setupSaneScan2 -i 4.195 +} 4.196 + 4.197 +pre_remove_brscan2() { 4.198 + chroot "$1/" /usr/local/Brother/sane/setupSaneScan2 -e 4.199 +}
5.1 --- a/brscan2/description.txt Tue Mar 06 03:00:01 2018 +0200 5.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 5.3 @@ -1,20 +0,0 @@ 5.4 -Brother scanner drivers for sane with the following models: 5.5 - 5.6 -DCP-110C DCP-115C DCP-116C DCP-117C DCP-120C 5.7 -DCP-130C DCP-135C DCP-150C DCP-153C DCP-310CN 5.8 -DCP-315CN DCP-330C DCP-340CW DCP-350C DCP-353C 5.9 -DCP-540CN DCP-560CN DCP-7010 DCP-7020 DCP-7025 5.10 -DCP-750CW DCP-770CW DCP-8060 DCP-8065DN DCP-9040CN 5.11 -DCP-9045CN 5.12 -DCP-7030 DCP-7040 DCP-7045N 5.13 - 5.14 -MFC-210C MFC-215C MFC-230C MFC-235C MFC-240C 5.15 -MFC-260C MFC-3240C MFC-3340CN MFC-3360C MFC-410CN 5.16 -MFC-420CN MFC-425CN MFC-440CN MFC-465CN MFC-5440CN 5.17 -MFC-5460CN MFC-5840CN MFC-5860CN MFC-620CN MFC-640CW 5.18 -MFC-660CN MFC-665CW MFC-680CN MFC-685CW MFC-7220 5.19 -MFC-7225N MFC-7420 MFC-7820N MFC-820CW MFC-845CW 5.20 -MFC-8460N MFC-8660DN MFC-885CW MFC-8860DN MFC-8870DW 5.21 -MFC-9420CN MFC-9440CN MFC-9840CDW 5.22 -MFC-7320 MFC-7340 MFC-7440N MFC-7450 MFC-7840N 5.23 -MFC-7840W
6.1 --- a/brscan2/receipt Tue Mar 06 03:00:01 2018 +0200 6.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 6.3 @@ -1,79 +0,0 @@ 6.4 -# SliTaz package receipt. 6.5 - 6.6 -PACKAGE="brscan2" 6.7 -VERSION="0.2.4" 6.8 -CATEGORY="office" 6.9 -SHORT_DESC="Brother Scanner driver for SANE." 6.10 -MAINTAINER="pascal.bellard@slitaz.org" 6.11 -LICENSE="GPL2" 6.12 -WANTED="brscan" 6.13 -WEB_SITE="http://solutions.brother.com/linux/sol/printer/linux/sane_drivers.html" 6.14 -TAGS="scanner driver" 6.15 - 6.16 -DEPENDS="sane-backends" 6.17 - 6.18 -# Rules to gen a SliTaz package suitable for Tazpkg. 6.19 -genpkg_rules() 6.20 -{ 6.21 - mkdir -p $fs/usr/bin $fs/usr/lib/sane $fs/usr/local/Brother/sane/models2 6.22 - for i in ALL AL ; do 6.23 - mkdir -p $fs/usr/local/Brother/sane/GrayCmData/$i 6.24 - cp -a $src/brscan/libbrcolm2/GrayCmData/$i/* \ 6.25 - $fs/usr/local/Brother/sane/GrayCmData/$i 6.26 - chmod 644 $fs/usr/local/Brother/sane/GrayCmData/$i 6.27 - done 6.28 - cp $src/brscan/backend_brscan2/.libs/libsane-brother2.so.1.0.7 \ 6.29 - $fs/usr/lib/sane/libsane-brother2.so.1.0.7 6.30 - ln -s libsane-brother2.so.1.0.7 $fs/usr/lib/sane/libsane-brother2.so.1 6.31 - ln -s libsane-brother2.so.1 $fs/usr/lib/sane/libsane-brother2.so 6.32 - cp $src/brscan/libbrscandec2/libbrscandec2.so.1.0.0 \ 6.33 - $fs/usr/lib/libbrscandec2.so.1.0.0 6.34 - chmod 755 $fs/usr/lib/libbrscandec2.so.1.0.0 6.35 - ln -s libbrscandec2.so.1.0.0 $fs/usr/lib/libbrscandec2.so.1 6.36 - ln -s libbrscandec2.so.1 $fs/usr/lib/libbrscandec2.so 6.37 - cp $src/brscan/libbrcolm2/libbrcolm2.so.1.0.0 \ 6.38 - $fs/usr/lib/libbrcolm2.so.1.0.0 6.39 - chmod 755 $fs/usr/lib/libbrcolm2.so.1.0.0 6.40 - ln -s libbrcolm2.so.1.0.0 $fs/usr/lib/libbrcolm2.so.1 6.41 - ln -s libbrcolm2.so.1 $fs/usr/lib/libbrcolm2.so 6.42 - while read line; do 6.43 - echo $line 6.44 - echo $line | grep -q 'Support Model' || continue 6.45 - cat <<EOT 6.46 -0x01eb,6,1,"MFC-7320",131,4 6.47 -0x01e7,6,1,"MFC-7340",131,4 6.48 -0x01e6,6,1,"MFC-7440N",131,4 6.49 -0x01ee,6,1,"MFC-7450",131,4 6.50 -0x01ed,6,1,"MFC-7840N",131,4 6.51 -0x01e5,6,1,"MFC-7840W",131,4 6.52 -0x01ea,6,1,"DCP-7030",131,4 6.53 -0x01e9,6,1,"DCP-7040",131,4 6.54 -0x01e8,6,1,"DCP-7045N",131,4 6.55 - 6.56 -EOT 6.57 - done < $src/brscan/mk_package/Brsane2.ini > \ 6.58 - $fs/usr/local/Brother/sane/Brsane2.ini 6.59 - chmod 644 $fs/usr/local/Brother/sane/Brsane2.ini 6.60 - cp $src/brscan/mk_package/brsanenetdevice2.cfg \ 6.61 - $fs/usr/local/Brother/sane/brsanenetdevice2.cfg 6.62 - chmod 666 $fs/usr/local/Brother/sane/brsanenetdevice2.cfg 6.63 - cp $src/brscan/netconfig/brsaneconfig2 \ 6.64 - $fs/usr/local/Brother/sane/brsaneconfig2 6.65 - ln -s /usr/local/Brother/sane/brsaneconfig2 $fs/usr/bin/brsaneconfig2 6.66 - cp $src/brscan/mk_package/setupSaneScan2 \ 6.67 - $fs/usr/local/Brother/sane/setupSaneScan2 6.68 - chmod 755 $fs/usr/local/Brother/sane/setupSaneScan2 6.69 - cp $src/brscan/mk_package/ext1.ini \ 6.70 - $fs/usr/local/Brother/sane/models2/ext1.ini 6.71 -} 6.72 - 6.73 -# Pre and post install and remove commands for Tazpkg. 6.74 -post_install() 6.75 -{ 6.76 - chroot "$1/" /usr/local/Brother/sane/setupSaneScan2 -i 6.77 -} 6.78 - 6.79 -pre_remove() 6.80 -{ 6.81 - chroot "$1/" /usr/local/Brother/sane/setupSaneScan2 -e 6.82 -}
7.1 --- a/clutter-gtk-dev/receipt Tue Mar 06 03:00:01 2018 +0200 7.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 7.3 @@ -1,22 +0,0 @@ 7.4 -# SliTaz package receipt. 7.5 - 7.6 -PACKAGE="clutter-gtk-dev" 7.7 -VERSION="0.10.8" 7.8 -CATEGORY="development" 7.9 -SHORT_DESC="Clutter GTK devel files." 7.10 -MAINTAINER="pankso@slitaz.org" 7.11 -LICENSE="LGPL2.1" 7.12 -WANTED="clutter-gtk" 7.13 -WEB_SITE="http://clutter-project.org/" 7.14 - 7.15 -DEPENDS="clutter-gtk pkg-config" 7.16 - 7.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 7.18 -genpkg_rules() 7.19 -{ 7.20 - mkdir -p $fs/usr/lib $fs/usr/share 7.21 - cp -a $install/usr/lib/*.*a $fs/usr/lib 7.22 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 7.23 - cp -a $install/usr/include $fs/usr 7.24 - cp -a $install/usr/share/gir-1.0 $fs/usr/share 7.25 -}
8.1 --- a/clutter-gtk/receipt Tue Mar 06 03:00:01 2018 +0200 8.2 +++ b/clutter-gtk/receipt Tue Mar 06 11:29:35 2018 +0200 8.3 @@ -1,22 +1,21 @@ 8.4 -# SliTaz package receipt. 8.5 +# SliTaz package receipt v2. 8.6 8.7 PACKAGE="clutter-gtk" 8.8 VERSION="0.10.8" 8.9 CATEGORY="x-window" 8.10 -SHORT_DESC="GTK+ libraries for Clutter." 8.11 +SHORT_DESC="GTK+ libraries for Clutter" 8.12 MAINTAINER="pankso@slitaz.org" 8.13 LICENSE="LGPL2.1" 8.14 +WEB_SITE="http://clutter-project.org/" 8.15 + 8.16 TARBALL="$PACKAGE-$VERSION.tar.bz2" 8.17 -WEB_SITE="http://clutter-project.org/" 8.18 WGET_URL="http://www.clutter-project.org/sources/$PACKAGE/${VERSION%.*}/$TARBALL" 8.19 8.20 -DEPENDS="gtk+ clutter" 8.21 BUILD_DEPENDS="gtk+-dev clutter-dev gobject-introspection-dev automake autoconf \ 8.22 libtool gtk-doc expat-dev xorg-libxshmfence-dev" 8.23 +SPLIT="clutter-gtk-dev" 8.24 8.25 -# Rules to configure and make the package. 8.26 -compile_rules() 8.27 -{ 8.28 +compile_rules() { 8.29 patch -Np1 -i $stuff/fix-gir.patch 8.30 sed -i -e 's/GTK_WIDGET_REALIZED/gtk_widget_get_realized/' \ 8.31 -e 's/GTK_WIDGET_VISIBLE/gtk_widget_get_visible/' \ 8.32 @@ -29,10 +28,20 @@ 8.33 make DESTDIR=$DESTDIR install 2>&1 | grep -v /usr/share/gtk-doc/html 8.34 } 8.35 8.36 -# Rules to gen a SliTaz package suitable for Tazpkg. 8.37 -genpkg_rules() 8.38 -{ 8.39 - mkdir -p $fs/usr/lib 8.40 - cp -a $install/usr/lib/*.so* $fs/usr/lib 8.41 - cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib 8.42 +genpkg_rules() { 8.43 + case $PACKAGE in 8.44 + clutter-gtk) 8.45 + mkdir -p $fs/usr/lib 8.46 + cp -a $install/usr/lib/*.so* $fs/usr/lib 8.47 + cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib 8.48 + DEPENDS="gtk+ clutter" 8.49 + ;; 8.50 + *-dev) 8.51 + mkdir -p $fs/usr/lib $fs/usr/share 8.52 + cp -a $install/usr/lib/*.*a $fs/usr/lib 8.53 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 8.54 + cp -a $install/usr/include $fs/usr 8.55 + cp -a $install/usr/share/gir-1.0 $fs/usr/share 8.56 + ;; 8.57 + esac 8.58 }
9.1 --- a/dev86/receipt Tue Mar 06 03:00:01 2018 +0200 9.2 +++ b/dev86/receipt Tue Mar 06 11:29:35 2018 +0200 9.3 @@ -1,45 +1,68 @@ 9.4 -# SliTaz package receipt. 9.5 +# SliTaz package receipt v2. 9.6 9.7 PACKAGE="dev86" 9.8 VERSION="0.16.21" 9.9 CATEGORY="development" 9.10 -SHORT_DESC="Linux 8086 development environment." 9.11 +SHORT_DESC="Linux 8086 development environment" 9.12 MAINTAINER="pascal.bellard@slitaz.org" 9.13 LICENSE="GPL2" 9.14 WEB_SITE="http://www.debath.co.uk/" 9.15 -TAGS="compiler C assembler 8086" 9.16 9.17 TARBALL="$PACKAGE-$VERSION.tar.gz" 9.18 WGET_URL="$GITHUB/lkundrak/dev86/tarball/v$VERSION" 9.19 9.20 BUILD_DEPENDS="coreutils-file-output-full" # for `cat -v` 9.21 +SPLIT="elksemu" 9.22 9.23 -# Rules to configure and make the package. 9.24 -compile_rules() 9.25 -{ 9.26 +compile_rules() { 9.27 sed -i 's|/usr/man|/usr/share/man|' man/Makefile 9.28 sed -i 's|REFIX)/man|REFIX)/share/man|' Makefile */Makefile 9.29 make -j 1 PREFIX=/usr && 9.30 make -j 1 DIST=$DESTDIR install 9.31 } 9.32 9.33 -# Rules to gen a SliTaz package suitable for Tazpkg. 9.34 -genpkg_rules() 9.35 -{ 9.36 - mkdir -p $fs/usr 9.37 - cp -a $install/usr/bin $fs/usr 9.38 - cp -a $install/usr/lib $fs/usr 9.39 - cp -a $stuff/com2exe $fs/usr/bin 9.40 +genpkg_rules() { 9.41 + case $PACKAGE in 9.42 + dev86) 9.43 + mkdir -p $fs/usr 9.44 + cp -a $install/usr/bin $fs/usr 9.45 + cp -a $install/usr/lib $fs/usr 9.46 + cp -a $stuff/com2exe $fs/usr/bin 9.47 + TAGS="compiler C assembler 8086" 9.48 + ;; 9.49 + elksemu) 9.50 + mkdir -p $fs/usr/bin 9.51 + cp -a $install/usr/bin/elksemu $fs/usr/bin 9.52 + CAT="system-tools|ELKS binary format support" 9.53 + TAGS="virtual 8086 vm86" 9.54 + ;; 9.55 + esac 9.56 } 9.57 9.58 -# Pre and post install commands for Tazpkg. 9.59 -post_install() 9.60 -{ 9.61 +post_install_dev86() { 9.62 [ "$1" ] && return 9.63 register=/proc/sys/fs/binfmt_misc/register 9.64 - [ -f $register ] || modprobe binfmt_misc 2> /dev/null || true 9.65 + [ -f $register ] || modprobe binfmt_misc 2>/dev/null || true 9.66 [ -f $register ] && cat > $register <<EOT 9.67 :i86-elks:M::\x01\x03\x20\x00:\xff\xff\xff\x83:/usr/bin/elksemu: 9.68 EOT 9.69 true 9.70 } 9.71 + 9.72 +post_install_elksemu() { 9.73 + fmt="binfmt_misc" 9.74 + proc="/proc/sys/fs/binfmt_misc" 9.75 + cat > /tmp/runelks$$ <<EOT 9.76 +[ ! -e $proc/register ] && modprobe $fmt && mount -t $fmt $fmt $proc 9.77 +echo ':i86-elks:M::\x01\x03\x20\x00:\xff\xff\xff\x83:/usr/bin/elksemu:' >$proc/register 9.78 +EOT 9.79 + rc="$1/etc/init.d/local.sh" 9.80 + grep -q ':i86-elks:M:' $rc || cat /tmp/runelks$$ >> $rc 9.81 + [ -n "$1" ] || . /tmp/runelks$$ 9.82 + rm -f /tmp/runelks$$ 9.83 +} 9.84 + 9.85 +pre_remove_elksemu() { 9.86 + echo -1 > /proc/sys/fs/binfmt_misc/i86-elks 9.87 + sed -i '/binfmt_misc/{N;/:i86-elks:M:/d}' "$1/etc/init.d/local.sh" 9.88 +}
10.1 --- a/ecm-extras/receipt Tue Mar 06 03:00:01 2018 +0200 10.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 10.3 @@ -1,18 +0,0 @@ 10.4 -# SliTaz package receipt. 10.5 - 10.6 -PACKAGE="ecm-extras" 10.7 -VERSION="1.03" 10.8 -CATEGORY="misc" 10.9 -SHORT_DESC="Extra tools from ecm" 10.10 -MAINTAINER="slaxemulator@gmail.com" 10.11 -LICENSE="GPL3" 10.12 -WEB_SITE="http://www.neillcorlett.com/ecm/" 10.13 -WANTED="ecm" 10.14 - 10.15 -# Rules to gen a SliTaz package suitable for Tazpkg. 10.16 -genpkg_rules() 10.17 -{ 10.18 - mkdir -p $fs/usr 10.19 - cp -a $install/usr/bin $fs/usr 10.20 - [ -f $fs/usr/bin/ecm ] && rm -f $fs/usr/bin/ecm 10.21 -}
11.1 --- a/ecm/receipt Tue Mar 06 03:00:01 2018 +0200 11.2 +++ b/ecm/receipt Tue Mar 06 11:29:35 2018 +0200 11.3 @@ -1,19 +1,20 @@ 11.4 -# SliTaz package receipt. 11.5 +# SliTaz package receipt v2. 11.6 11.7 PACKAGE="ecm" 11.8 VERSION="1.03" 11.9 CATEGORY="misc" 11.10 -SHORT_DESC="Converts CD image files into a lossless format optimized for compression tools" 11.11 +SHORT_DESC="Converts CD image files into a lossless format optimized for \ 11.12 +compression tools" 11.13 MAINTAINER="slaxemulator@gmail.com" 11.14 LICENSE="GPL3" 11.15 -SOURCE="cmdpack" 11.16 -TARBALL="$SOURCE-${VERSION}-src.tar.gz" 11.17 WEB_SITE="http://www.neillcorlett.com/ecm/" 11.18 + 11.19 +TARBALL="cmdpack-$VERSION-src.tar.gz" 11.20 WGET_URL="http://www.neillcorlett.com/downloads/$TARBALL" 11.21 11.22 -# Rules to configure and make the package. 11.23 -compile_rules() 11.24 -{ 11.25 +SPLIT="ecm-extras" 11.26 + 11.27 +compile_rules() { 11.28 cd $src/src 11.29 sed -i 's/uint8_t saved_address.4./& = {0,0,0,0}/' cdpatch.c 11.30 mkdir -p $DESTDIR/usr/bin 11.31 @@ -24,11 +25,19 @@ 11.32 done 11.33 } 11.34 11.35 -# Rules to gen a SliTaz package suitable for Tazpkg. 11.36 -genpkg_rules() 11.37 -{ 11.38 - mkdir -p $fs/usr/bin 11.39 - cp -a $install/usr/bin/ecm $fs/usr/bin 11.40 - ln -sf ecm $fs/usr/bin/unecm 11.41 +genpkg_rules() { 11.42 + case $PACKAGE in 11.43 + ecm) 11.44 + mkdir -p $fs/usr/bin 11.45 + cp -a $install/usr/bin/ecm $fs/usr/bin 11.46 + ln -sf ecm $fs/usr/bin/unecm 11.47 + ;; 11.48 + ecm-extras) 11.49 + mkdir -p $fs/usr 11.50 + cp -a $install/usr/bin $fs/usr 11.51 + [ -f $fs/usr/bin/ecm ] && rm -f $fs/usr/bin/ecm 11.52 + CAT="misc|extra tools" 11.53 + ;; 11.54 + esac 11.55 } 11.56
12.1 --- a/elksemu/receipt Tue Mar 06 03:00:01 2018 +0200 12.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 12.3 @@ -1,40 +0,0 @@ 12.4 -# SliTaz package receipt. 12.5 - 12.6 -PACKAGE="elksemu" 12.7 -VERSION="0.16.21" 12.8 -CATEGORY="system-tools" 12.9 -SHORT_DESC="ELKS (linux-8086) binary format support" 12.10 -MAINTAINER="devel@slitaz.org" 12.11 -LICENSE="GPL2" 12.12 -WEB_SITE="http://www.debath.co.uk/" 12.13 -WANTED="dev86" 12.14 -TAGS="virtual 8086 vm86" 12.15 - 12.16 -# Rules to gen a SliTaz package suitable for Tazpkg. 12.17 -genpkg_rules() 12.18 -{ 12.19 - mkdir -p $fs/usr/bin 12.20 - cp -a $install/usr/bin/elksemu $fs/usr/bin 12.21 -} 12.22 - 12.23 -# Post install command for Tazpkg. 12.24 -post_install() 12.25 -{ 12.26 - fmt="binfmt_misc" 12.27 - proc="/proc/sys/fs/binfmt_misc" 12.28 - cat > /tmp/runelks$$ <<EOT 12.29 -[ ! -e $proc/register ] && modprobe $fmt && mount -t $fmt $fmt $proc 12.30 -echo ':i86-elks:M::\x01\x03\x20\x00:\xff\xff\xff\x83:/usr/bin/elksemu:' >$proc/register 12.31 -EOT 12.32 - rc="$1/etc/init.d/local.sh" 12.33 - grep -q ':i86-elks:M:' $rc || cat /tmp/runelks$$ >> $rc 12.34 - [ -n "$1" ] || . /tmp/runelks$$ 12.35 - rm -f /tmp/runelks$$ 12.36 -} 12.37 - 12.38 -# Pre remove command for Tazpkg. 12.39 -pre_remove() 12.40 -{ 12.41 - echo -1 > /proc/sys/fs/binfmt_misc/i86-elks 12.42 - sed -i '/binfmt_misc/{N;/:i86-elks:M:/d}' "$1/etc/init.d/local.sh" 12.43 -}
13.1 --- a/epdf-dev/receipt Tue Mar 06 03:00:01 2018 +0200 13.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 13.3 @@ -1,21 +0,0 @@ 13.4 -# SliTaz package receipt. 13.5 - 13.6 -PACKAGE="epdf-dev" 13.7 -VERSION="79352" 13.8 -CATEGORY="development" 13.9 -SHORT_DESC="Enlightenment's PDF devel files." 13.10 -MAINTAINER="pankso@slitaz.org" 13.11 -LICENSE="GPL2" 13.12 -WANTED="epdf" 13.13 -WEB_SITE="http://www.enlightenment.org/" 13.14 - 13.15 -DEPENDS="poppler-dev eina-dev ecore-dev evas-dev pkg-config" 13.16 - 13.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 13.18 -genpkg_rules() 13.19 -{ 13.20 - mkdir -p $fs/usr/lib 13.21 - cp -a $install/usr/include $fs/usr 13.22 - cp -a $install/usr/lib/*.*a $fs/usr/lib 13.23 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 13.24 -}
14.1 --- a/epdf/receipt Tue Mar 06 03:00:01 2018 +0200 14.2 +++ b/epdf/receipt Tue Mar 06 11:29:35 2018 +0200 14.3 @@ -1,22 +1,21 @@ 14.4 -# SliTaz package receipt. 14.5 +# SliTaz package receipt v2. 14.6 14.7 PACKAGE="epdf" 14.8 VERSION="79352" 14.9 CATEGORY="x-window" 14.10 -SHORT_DESC="Enlightenment's PDF library." 14.11 +SHORT_DESC="Enlightenment's PDF library" 14.12 MAINTAINER="pankso@slitaz.org" 14.13 LICENSE="GPL2" 14.14 +WEB_SITE="http://www.enlightenment.org/" 14.15 + 14.16 TARBALL="$PACKAGE-$VERSION.tar.bz2" 14.17 -WEB_SITE="http://www.enlightenment.org/" 14.18 WGET_URL="svn|http://svn.enlightenment.org/svn/e/trunk/PROTO/epdf/" 14.19 14.20 -DEPENDS="poppler eina ecore evas" 14.21 BUILD_DEPENDS="poppler-dev subversion automake autoconf libtool eina-dev \ 14.22 ecore-dev evas-dev" 14.23 +SPLIT="epdf-dev" 14.24 14.25 -# Rules to configure and make the package. 14.26 -compile_rules() 14.27 -{ 14.28 +compile_rules() { 14.29 ./autogen.sh \ 14.30 --prefix=/usr \ 14.31 $CONFIGURE_ARGS 2>&1 | \ 14.32 @@ -24,11 +23,20 @@ 14.33 make && make install 14.34 } 14.35 14.36 -# Rules to gen a SliTaz package suitable for Tazpkg. 14.37 -genpkg_rules() 14.38 -{ 14.39 - mkdir -p $fs/usr/lib 14.40 - cp -a $install/usr/bin $fs/usr 14.41 - cp -a $install/usr/lib/*.so* $fs/usr/lib 14.42 +genpkg_rules() { 14.43 + case $PACKAGE in 14.44 + epdf) 14.45 + mkdir -p $fs/usr/lib 14.46 + cp -a $install/usr/bin $fs/usr 14.47 + cp -a $install/usr/lib/*.so* $fs/usr/lib 14.48 + DEPENDS="poppler eina ecore evas" 14.49 + ;; 14.50 + *-dev) 14.51 + mkdir -p $fs/usr/lib 14.52 + cp -a $install/usr/include $fs/usr 14.53 + cp -a $install/usr/lib/*.*a $fs/usr/lib 14.54 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 14.55 + DEPENDS="poppler-dev eina-dev ecore-dev evas-dev" 14.56 + ;; 14.57 + esac 14.58 } 14.59 -
15.1 --- a/ffmpeg-compat-dev/receipt Tue Mar 06 03:00:01 2018 +0200 15.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 15.3 @@ -1,17 +0,0 @@ 15.4 -# SliTaz package receipt. 15.5 - 15.6 -PACKAGE="ffmpeg-compat-dev" 15.7 -VERSION="0.10.12" 15.8 -CATEGORY="development" 15.9 -SHORT_DESC="Devel files for ffmpeg-compat (used to build enna)" 15.10 -MAINTAINER="pascal.bellard@slitaz.org" 15.11 -LICENSE="GPL2 LGPL2.1" 15.12 -WEB_SITE="http://ffmpeg.org/" 15.13 -WANTED="ffmpeg-compat" 15.14 - 15.15 -# Rules to gen a SliTaz package suitable for Tazpkg. 15.16 -genpkg_rules() 15.17 -{ 15.18 - mkdir -p $fs/usr 15.19 - cp -a $install/usr/include $fs/usr 15.20 -}
16.1 --- a/ffmpeg-compat/receipt Tue Mar 06 03:00:01 2018 +0200 16.2 +++ b/ffmpeg-compat/receipt Tue Mar 06 11:29:35 2018 +0200 16.3 @@ -1,4 +1,4 @@ 16.4 -# SliTaz package receipt. 16.5 +# SliTaz package receipt v2. 16.6 16.7 PACKAGE="ffmpeg-compat" 16.8 VERSION="0.10.12" 16.9 @@ -7,32 +7,27 @@ 16.10 MAINTAINER="pascal.bellard@slitaz.org" 16.11 LICENSE="GPL2 LGPL2.1" 16.12 WEB_SITE="http://ffmpeg.org/" 16.13 -SOURCE="ffmpeg" 16.14 -TARBALL="$SOURCE-$VERSION.tar.bz2" 16.15 + 16.16 +TARBALL="ffmpeg-$VERSION.tar.bz2" 16.17 WGET_URL="${WEB_SITE}releases/$TARBALL" 16.18 16.19 -DEPENDS="alsa-lib libsdl bzip2" 16.20 +BUILD_DEPENDS_arm="zlib-dev bzip2-dev yasm libsdl-dev" 16.21 BUILD_DEPENDS="libsdl-dev zlib-dev bzip2-dev coreutils-file-format \ 16.22 coreutils-file-special yasm" 16.23 +SPLIT="ffmpeg-compat-dev" 16.24 16.25 -# Handle cross compilation. Host coreutils-file-* are used 16.26 -case "$ARCH" in 16.27 - i?86) 16.28 - ARCH_ARGS="--arch=$ARCH --cpu=$ARCH" ;; 16.29 - arm*) 16.30 - BUILD_DEPENDS="zlib-dev bzip2-dev yasm libsdl-dev" 16.31 - ARCH_ARGS="--enable-cross-compile --arch=armel --target-os=linux \ 16.32 ---cross-prefix=$HOST_SYSTEM-" ;; 16.33 -esac 16.34 +compile_rules() { 16.35 + case "$ARCH" in 16.36 + i?86) 16.37 + ARCH_ARGS="--arch=$ARCH --cpu=$ARCH";; 16.38 + arm*) 16.39 + ARCH_ARGS="--enable-cross-compile --arch=armel --target-os=linux \ 16.40 + --cross-prefix=$HOST_SYSTEM-";; 16.41 + x86_64) 16.42 + ARCH_ARGS="" #??? 16.43 + ;; 16.44 + esac 16.45 16.46 -# Handle arch package install 16.47 -case "$SLITAZ_ARCH" in 16.48 - arm*) DEPENDS="alsa-lib bzip2" ;; 16.49 -esac 16.50 - 16.51 -# Rules to configure and make the package. 16.52 -compile_rules() 16.53 -{ 16.54 ./configure \ 16.55 --prefix=/usr \ 16.56 --incdir=/usr/include/ffmpeg-compat \ 16.57 @@ -56,23 +51,32 @@ 16.58 --disable-encoder=msmpeg4v3 \ 16.59 --disable-symver \ 16.60 --disable-debug \ 16.61 - --disable-doc ${ARCH_ARGS} && 16.62 + --disable-doc \ 16.63 + $ARCH_ARGS && 16.64 make && make install 16.65 } 16.66 16.67 -# Rules to gen a SliTaz package suitable for Tazpkg. 16.68 -genpkg_rules() 16.69 -{ 16.70 - mkdir -p $fs/usr/lib 16.71 - cp -a $install/usr/lib/ffmpeg-compat $fs/usr/lib 16.72 +genpkg_rules() { 16.73 + case $PACKAGE in 16.74 + ffmpeg-compat) 16.75 + mkdir -p $fs/usr/lib 16.76 + cp -a $install/usr/lib/ffmpeg-compat $fs/usr/lib 16.77 + DEPENDS="alsa-lib libsdl bzip2" 16.78 + case "$SLITAZ_ARCH" in 16.79 + arm*) DEPENDS="alsa-lib bzip2";; 16.80 + esac 16.81 + ;; 16.82 + *-dev) 16.83 + mkdir -p $fs/usr 16.84 + cp -a $install/usr/include $fs/usr 16.85 + ;; 16.86 + esac 16.87 } 16.88 16.89 -post_install() 16.90 -{ 16.91 +post_install_ffmpeg_compat() { 16.92 echo "/usr/lib/ffmpeg-compat" >> "$1/etc/ld.so.conf" 16.93 } 16.94 16.95 -post_remove() 16.96 -{ 16.97 - sed -i '#/usr/lib/ffmpeg-compat#'d "$1/etc/ld.so.conf" 16.98 +post_remove_ffmpeg_compat() { 16.99 + sed -i '#/usr/lib/ffmpeg-compat#'d "$1/etc/ld.so.conf" 16.100 }
17.1 --- a/gnome-vfs-monikers-dev/receipt Tue Mar 06 03:00:01 2018 +0200 17.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 17.3 @@ -1,25 +0,0 @@ 17.4 -# SliTaz package receipt. 17.5 - 17.6 -PACKAGE="gnome-vfs-monikers-dev" 17.7 -VERSION="2.15.3" 17.8 -CATEGORY="development" 17.9 -SHORT_DESC="GNOME Bonobo monikers dev files " 17.10 -MAINTAINER="erjo@slitaz.org" 17.11 -LICENSE="GPL2" 17.12 -WEB_SITE="http://www.gnome.org" 17.13 -WANTED="gnome-vfs-monikers" 17.14 - 17.15 -DEPENDS="gnome-vfs libbonobo" 17.16 -BUILD_DEPENDS="gnome-vfs-dev libbonobo-dev" 17.17 - 17.18 -# Rules to gen a SliTaz package suitable for Tazpkg. 17.19 -genpkg_rules() 17.20 -{ 17.21 - mkdir -p $fs/usr 17.22 - cp -a $install/usr/lib $fs/usr 17.23 - 17.24 - # Clean unwated files 17.25 - cd $fs/usr/lib ; find . -name "*.so*" -exec rm -f {} \; 17.26 - 17.27 -} 17.28 -
18.1 --- a/gnome-vfs-monikers/receipt Tue Mar 06 03:00:01 2018 +0200 18.2 +++ b/gnome-vfs-monikers/receipt Tue Mar 06 11:29:35 2018 +0200 18.3 @@ -1,22 +1,21 @@ 18.4 -# SliTaz package receipt. 18.5 +# SliTaz package receipt v2. 18.6 18.7 PACKAGE="gnome-vfs-monikers" 18.8 VERSION="2.15.3" 18.9 CATEGORY="x-window" 18.10 -SHORT_DESC="GNOME Bonobo monikers " 18.11 +SHORT_DESC="GNOME Bonobo monikers" 18.12 MAINTAINER="erjo@slitaz.org" 18.13 LICENSE="GPL2" 18.14 +WEB_SITE="http://www.gnome.org" 18.15 + 18.16 TARBALL="$PACKAGE-$VERSION.tar.bz2" 18.17 -WEB_SITE="http://www.gnome.org" 18.18 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL" 18.19 18.20 -DEPENDS="gnome-vfs libbonobo" 18.21 BUILD_DEPENDS="gnome-vfs-dev libbonobo-dev glib-dev orbit2-dev dbus-glib-dev \ 18.22 perl-xml-parser libxml2-dev" 18.23 +SPLIT="gnome-vfs-monikers-dev" 18.24 18.25 -# Rules to configure and make the package. 18.26 -compile_rules() 18.27 -{ 18.28 +compile_rules() { 18.29 export CFLAGS="-I/usr/include/libbonobo-2.0 -I/usr/include/glib-2.0 \ 18.30 -I/usr/lib/glib-2.0/include -I/usr/include/bonobo-activation-2.0 \ 18.31 -I/usr/include/orbit-2.0 -I/usr/include/gnome-vfs-2.0" 18.32 @@ -28,16 +27,26 @@ 18.33 make && make DESTDIR=$DESTDIR install 18.34 } 18.35 18.36 -# Rules to gen a SliTaz package suitable for Tazpkg. 18.37 -genpkg_rules() 18.38 -{ 18.39 - mkdir -p $fs/usr/ 18.40 - cp -a $install/usr/lib $fs/usr 18.41 - 18.42 - # Clean unwated files 18.43 - cd $fs/usr/lib ; find . -name "*.*a" -exec rm -f {} \; 18.44 - 18.45 - # Strip all 18.46 - find . -name "*.so" -exec strip -s {} \; 18.47 +genpkg_rules() { 18.48 + case $PACKAGE in 18.49 + gnome-vfs-monikers) 18.50 + mkdir -p $fs/usr/ 18.51 + cp -a $install/usr/lib $fs/usr 18.52 + 18.53 + # Clean unwated files 18.54 + cd $fs/usr/lib ; find . -name "*.*a" -exec rm -f {} \; 18.55 + 18.56 + # Strip all 18.57 + find . -name "*.so" -exec strip -s {} \; 18.58 + DEPENDS="gnome-vfs libbonobo" 18.59 + ;; 18.60 + *-dev) 18.61 + mkdir -p $fs/usr 18.62 + cp -a $install/usr/lib $fs/usr 18.63 + 18.64 + # Clean unwated files 18.65 + cd $fs/usr/lib ; find . -name "*.so*" -exec rm -f {} \; 18.66 + DEPENDS="gnome-vfs-monikers gnome-vfs libbonobo" 18.67 + ;; 18.68 + esac 18.69 } 18.70 -
19.1 --- a/goffice-dev/receipt Tue Mar 06 03:00:01 2018 +0200 19.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 19.3 @@ -1,19 +0,0 @@ 19.4 -# SliTaz package receipt. 19.5 - 19.6 -PACKAGE="goffice-dev" 19.7 -VERSION="0.10.32" 19.8 -CATEGORY="development" 19.9 -SHORT_DESC="GOffice devel files." 19.10 -MAINTAINER="pankso@slitaz.org" 19.11 -LICENSE="GPL2" 19.12 -WEB_SITE="https://developer.gnome.org/goffice/" 19.13 - 19.14 -WANTED="goffice" 19.15 -DEPENDS="goffice glib-dev libgsf-dev libxml2-dev gtk+3-dev \ 19.16 -cairo-dev pango-dev librsvg-dev libxslt-dev" 19.17 - 19.18 -# Rules to gen a SliTaz package suitable for Tazpkg. 19.19 -genpkg_rules() 19.20 -{ 19.21 - copy *.h *.la *.pc 19.22 -}
20.1 --- a/goffice/receipt Tue Mar 06 03:00:01 2018 +0200 20.2 +++ b/goffice/receipt Tue Mar 06 11:29:35 2018 +0200 20.3 @@ -1,4 +1,4 @@ 20.4 -# SliTaz package receipt. 20.5 +# SliTaz package receipt v2. 20.6 20.7 PACKAGE="goffice" 20.8 VERSION="0.10.32" 20.9 @@ -6,27 +6,35 @@ 20.10 SHORT_DESC="GOffice is a library of document-centric objects and utilities" 20.11 MAINTAINER="pankso@slitaz.org" 20.12 LICENSE="GPL2" 20.13 +WEB_SITE="https://developer.gnome.org/goffice/" 20.14 + 20.15 TARBALL="$PACKAGE-$VERSION.tar.xz" 20.16 -WEB_SITE="https://developer.gnome.org/goffice/" 20.17 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" 20.18 20.19 -DEPENDS="at-spi2 at-spi2-atk atk bzlib cairo dbus fontconfig freetype \ 20.20 -gdk-pixbuf glib glibc-base gtk+3 harfbuzz libcroco libffi libgsf libpng16 \ 20.21 -librsvg xorg-libxcb libxml2 libxslt pango pcre xorg-pixman util-linux-uuid xorg-libICE \ 20.22 -xorg-libSM xorg-libX11 xorg-libXau xorg-libXcomposite xorg-libXcursor \ 20.23 -xorg-libXdamage xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXi \ 20.24 -xorg-libXinerama xorg-libXrandr xorg-libXrender zlib" 20.25 BUILD_DEPENDS="cairo-dev gtk+3-dev libgsf-dev librsvg-dev libxslt-dev gtk-doc \ 20.26 intltool" 20.27 +SPLIT="goffice-dev" 20.28 20.29 -# Rules to configure and make the package. 20.30 -compile_rules() 20.31 -{ 20.32 +compile_rules() { 20.33 ./configure $CONFIGURE_ARGS && make && make install 20.34 } 20.35 20.36 -# Rules to gen a SliTaz package suitable for Tazpkg. 20.37 -genpkg_rules() 20.38 -{ 20.39 - copy *.so* *.xml *.xsl README 20.40 +genpkg_rules() { 20.41 + case $PACKAGE in 20.42 + goffice) 20.43 + copy *.so* *.xml *.xsl README 20.44 + DEPENDS="at-spi2 at-spi2-atk atk bzlib cairo dbus fontconfig \ 20.45 + freetype gdk-pixbuf glib glibc-base gtk+3 harfbuzz libcroco libffi \ 20.46 + libgsf libpng16 librsvg xorg-libxcb libxml2 libxslt pango pcre \ 20.47 + xorg-pixman util-linux-uuid xorg-libICE xorg-libSM xorg-libX11 \ 20.48 + xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdamage \ 20.49 + xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXi \ 20.50 + xorg-libXinerama xorg-libXrandr xorg-libXrender zlib" 20.51 + ;; 20.52 + *-dev) 20.53 + copy *.h *.la *.pc 20.54 + DEPENDS="goffice glib-dev libgsf-dev libxml2-dev gtk+3-dev \ 20.55 + cairo-dev pango-dev librsvg-dev libxslt-dev" 20.56 + ;; 20.57 + esac 20.58 }
21.1 --- a/gtkballs-themes/receipt Tue Mar 06 03:00:01 2018 +0200 21.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 21.3 @@ -1,23 +0,0 @@ 21.4 -# SliTaz package receipt. 21.5 - 21.6 -PACKAGE="gtkballs-themes" 21.7 -VERSION="3.1.5" 21.8 -CATEGORY="games" 21.9 -SHORT_DESC="Themes for GtkBalls Lines clone." 21.10 -MAINTAINER="pankso@slitaz.org" 21.11 -LICENSE="GPL2" 21.12 -WANTED="gtkballs" 21.13 -WEB_SITE="http://gtkballs.antex.ru/" 21.14 - 21.15 -DEPENDS="gtkballs" 21.16 - 21.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 21.18 -genpkg_rules() 21.19 -{ 21.20 - mkdir -p $fs/usr/share/gtkballs 21.21 - cp -a $install/usr/share/gtkballs/themes $fs/usr/share/gtkballs 21.22 - rm -rf $fs/usr/share/gtkballs/themes/klines 21.23 - mv $fs/usr/share/gtkballs/themes/Default \ 21.24 - $fs/usr/share/gtkballs/themes/Original 21.25 -} 21.26 -
22.1 --- a/gtkballs/receipt Tue Mar 06 03:00:01 2018 +0200 22.2 +++ b/gtkballs/receipt Tue Mar 06 11:29:35 2018 +0200 22.3 @@ -1,23 +1,20 @@ 22.4 -# SliTaz package receipt. 22.5 +# SliTaz package receipt v2. 22.6 22.7 PACKAGE="gtkballs" 22.8 VERSION="3.1.5" 22.9 CATEGORY="games" 22.10 -SHORT_DESC="Clone of DOS Lines." 22.11 +SHORT_DESC="Clone of DOS Lines" 22.12 MAINTAINER="pankso@slitaz.org" 22.13 LICENSE="GPL2" 22.14 -SUGGESTED="gtkballs-themes" 22.15 +WEB_SITE="http://gtkballs.antex.ru/" 22.16 + 22.17 TARBALL="$PACKAGE-$VERSION.tar.gz" 22.18 -WEB_SITE="http://gtkballs.antex.ru/" 22.19 WGET_URL="http://gtkballs.antex.ru/dist/$TARBALL" 22.20 22.21 -DEPENDS="gtk+ xorg-libXdamage" 22.22 BUILD_DEPENDS="gtk+-dev" 22.23 +SPLIT="gtkballs=themes" 22.24 22.25 -# Rules to configure and make the package. 22.26 -compile_rules() 22.27 -{ 22.28 - cd $src 22.29 +compile_rules() { 22.30 ./configure \ 22.31 --prefix=/usr \ 22.32 --bindir=/usr/games \ 22.33 @@ -28,21 +25,32 @@ 22.34 make DESTDIR=$DESTDIR install 22.35 } 22.36 22.37 -# Rules to gen a SliTaz package suitable for Tazpkg. 22.38 -genpkg_rules() 22.39 -{ 22.40 - mkdir -p $fs/usr/share/gtkballs/themes $fs/usr/share/pixmaps 22.41 - cp -a $install/usr/games $fs/usr 22.42 - # Themes 22.43 - #cp -a $install/usr/share/gtkballs/themes/Default \ 22.44 - # $fs/usr/share/gtkballs/themes 22.45 - cp -a $install/usr/share/gtkballs/themes/klines \ 22.46 - $fs/usr/share/gtkballs/themes/Default 22.47 - cp -a stuff/cell.xpm $fs/usr/share/gtkballs/themes/Default 22.48 - # Pixmaps 22.49 - cp -a $install/usr/share/gtkballs/gtkballs_16x16.png \ 22.50 - $fs/usr/share/pixmaps/gtkballs.png 22.51 - cp -a $install/var $fs 22.52 - chmod 666 $fs/var/games/gtkballs-scores 22.53 +genpkg_rules() { 22.54 + case $PACKAGE in 22.55 + gtkballs) 22.56 + mkdir -p $fs/usr/share/gtkballs/themes $fs/usr/share/pixmaps 22.57 + cp -a $install/usr/games $fs/usr 22.58 + # Themes 22.59 + #cp -a $install/usr/share/gtkballs/themes/Default \ 22.60 + # $fs/usr/share/gtkballs/themes 22.61 + cp -a $install/usr/share/gtkballs/themes/klines \ 22.62 + $fs/usr/share/gtkballs/themes/Default 22.63 + cp -a stuff/cell.xpm $fs/usr/share/gtkballs/themes/Default 22.64 + # Pixmaps 22.65 + cp -a $install/usr/share/gtkballs/gtkballs_16x16.png \ 22.66 + $fs/usr/share/pixmaps/gtkballs.png 22.67 + cp -a $install/var $fs 22.68 + chmod 666 $fs/var/games/gtkballs-scores 22.69 + DEPENDS="gtk+ xorg-libXdamage" 22.70 + SUGGESTED="gtkballs-themes" 22.71 + ;; 22.72 + gtkballs-themes) 22.73 + CAT="games|game themes" 22.74 + mkdir -p $fs/usr/share/gtkballs 22.75 + cp -a $install/usr/share/gtkballs/themes $fs/usr/share/gtkballs 22.76 + rm -rf $fs/usr/share/gtkballs/themes/klines 22.77 + mv $fs/usr/share/gtkballs/themes/Default \ 22.78 + $fs/usr/share/gtkballs/themes/Original 22.79 + ;; 22.80 + esac 22.81 } 22.82 -
23.1 --- a/i2c-tools-dev/receipt Tue Mar 06 03:00:01 2018 +0200 23.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 23.3 @@ -1,18 +0,0 @@ 23.4 -# SliTaz package receipt. 23.5 - 23.6 -PACKAGE="i2c-tools-dev" 23.7 -VERSION="3.1.1" 23.8 -CATEGORY="development" 23.9 -SHORT_DESC="I2C tools devel files" 23.10 -MAINTAINER="pankso@slitaz.org" 23.11 -LICENSE="GPL2" 23.12 -WEB_SITE="http://www.lm-sensors.org/wiki/I2CTools" 23.13 - 23.14 -WANTED="i2c-tools" 23.15 - 23.16 -# Rules to gen a SliTaz package suitable for Tazpkg. 23.17 -genpkg_rules() 23.18 -{ 23.19 - mkdir -p $fs/usr 23.20 - cp -a $install/usr/include $fs/usr 23.21 -}
24.1 --- a/i2c-tools/receipt Tue Mar 06 03:00:01 2018 +0200 24.2 +++ b/i2c-tools/receipt Tue Mar 06 11:29:35 2018 +0200 24.3 @@ -1,4 +1,4 @@ 24.4 -# SliTaz package receipt. 24.5 +# SliTaz package receipt v2. 24.6 24.7 PACKAGE="i2c-tools" 24.8 VERSION="3.1.1" 24.9 @@ -7,20 +7,27 @@ 24.10 MAINTAINER="pankso@slitaz.org" 24.11 LICENSE="GPL2" 24.12 WEB_SITE="http://www.lm-sensors.org/wiki/I2CTools" 24.13 + 24.14 TARBALL="$PACKAGE-$VERSION.tar.bz2" 24.15 WGET_URL="http://dl.lm-sensors.org/$PACKAGE/releases/$TARBALL" 24.16 24.17 -# Rules to configure and make the package. 24.18 -compile_rules() 24.19 -{ 24.20 +SPLIT="i2c-tools-dev" 24.21 + 24.22 +compile_rules() { 24.23 sed -i s"#^prefix =.*#prefix = /usr#" Makefile && 24.24 make && make DESTDIR=${DESTDIR} install 24.25 } 24.26 24.27 -# Rules to gen a SliTaz package suitable for Tazpkg. 24.28 -genpkg_rules() 24.29 -{ 24.30 - mkdir -p $fs/usr 24.31 - cp -a $install/usr/bin $fs/usr 24.32 - cp -a $install/usr/sbin $fs/usr 24.33 +genpkg_rules() { 24.34 + case $PACKAGE in 24.35 + i2c-tools) 24.36 + mkdir -p $fs/usr 24.37 + cp -a $install/usr/bin $fs/usr 24.38 + cp -a $install/usr/sbin $fs/usr 24.39 + ;; 24.40 + *-dev) 24.41 + mkdir -p $fs/usr 24.42 + cp -a $install/usr/include $fs/usr 24.43 + ;; 24.44 + esac 24.45 }
25.1 --- a/libdvdcss-dev/receipt Tue Mar 06 03:00:01 2018 +0200 25.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 25.3 @@ -1,34 +0,0 @@ 25.4 -# SliTaz package receipt." 25.5 - 25.6 -PACKAGE="libdvdcss-dev" 25.7 -VERSION="1.2.12" 25.8 -CATEGORY="system-tools" 25.9 -SHORT_DESC="Read DVDs dev files." 25.10 -MAINTAINER="erjo@slitaz.org" 25.11 -LICENSE="GPL2" 25.12 -WANTED="libdvdcss" 25.13 -WEB_SITE="http://www.videolan.org/developers/libdvdcss.html" 25.14 - 25.15 -DEPENDS="libdvdcss pkg-config" 25.16 - 25.17 -genpkg_rules() 25.18 -{ 25.19 - mkdir -p $fs/usr 25.20 - 25.21 - # Copying include dir if existes 25.22 - if [ -d "$install/usr/include" ]; then 25.23 - cp -a $install/usr/include $fs/usr 25.24 - fi 25.25 - 25.26 - # Copying pkgconfig dir if existes 25.27 - if [ -d "$install/usr/lib/pkgconfig" ]; then 25.28 - mkdir -p $fs/usr/lib/ 25.29 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 25.30 - fi 25.31 - 25.32 - # Copying static libs if existes 25.33 - if ( find $install/usr/lib -name "*.*a" > /dev/null ); then 25.34 - mkdir -p $fs/usr/lib 25.35 - cp -a $install/usr/lib/*.*a $fs/usr/lib 25.36 - fi 25.37 -}
26.1 --- a/libdvdcss/receipt Tue Mar 06 03:00:01 2018 +0200 26.2 +++ b/libdvdcss/receipt Tue Mar 06 11:29:35 2018 +0200 26.3 @@ -1,28 +1,52 @@ 26.4 -# SliTaz package receipt. 26.5 +# SliTaz package receipt v2. 26.6 26.7 PACKAGE="libdvdcss" 26.8 VERSION="1.2.12" 26.9 CATEGORY="system-tools" 26.10 -SHORT_DESC="Accessing DVDs like a block device." 26.11 +SHORT_DESC="Accessing DVDs like a block device" 26.12 MAINTAINER="erjo@slitaz.org" 26.13 LICENSE="GPL2" 26.14 +WEB_SITE="http://www.videolan.org/developers/libdvdcss.html" 26.15 + 26.16 TARBALL="$PACKAGE-$VERSION.tar.bz2" 26.17 -WEB_SITE="http://www.videolan.org/developers/libdvdcss.html" 26.18 WGET_URL="http://download.videolan.org/pub/videolan/libdvdcss/$VERSION/$TARBALL" 26.19 26.20 -# Rules to configure and make the package. 26.21 -compile_rules() 26.22 -{ 26.23 - cd $src 26.24 - ./configure --prefix=/usr $CONFIGURE_ARGS 26.25 - make 26.26 +SPLIT="libdvdcss-dev" 26.27 + 26.28 +compile_rules() { 26.29 + ./configure \ 26.30 + --prefix=/usr \ 26.31 + $CONFIGURE_ARGS && 26.32 + make && 26.33 make DESTDIR=$DESTDIR install 26.34 } 26.35 26.36 -# Rules to gen a SliTaz package suitable for Tazpkg. 26.37 -genpkg_rules() 26.38 -{ 26.39 - mkdir -p $fs/usr/lib 26.40 - cp -a $install/usr/lib/*.so* $fs/usr/lib 26.41 +genpkg_rules() { 26.42 + case $PACKAGE in 26.43 + libdvdcss) 26.44 + mkdir -p $fs/usr/lib 26.45 + cp -a $install/usr/lib/*.so* $fs/usr/lib 26.46 + ;; 26.47 + *-dev) 26.48 + mkdir -p $fs/usr 26.49 + 26.50 + # Copying include dir if existes 26.51 + if [ -d "$install/usr/include" ]; then 26.52 + cp -a $install/usr/include $fs/usr 26.53 + fi 26.54 + 26.55 + # Copying pkgconfig dir if existes 26.56 + if [ -d "$install/usr/lib/pkgconfig" ]; then 26.57 + mkdir -p $fs/usr/lib/ 26.58 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 26.59 + fi 26.60 + 26.61 + # Copying static libs if existes 26.62 + if ( find $install/usr/lib -name "*.*a" > /dev/null ); then 26.63 + mkdir -p $fs/usr/lib 26.64 + cp -a $install/usr/lib/*.*a $fs/usr/lib 26.65 + fi 26.66 + ;; 26.67 + esac 26.68 } 26.69
27.1 --- a/libee-dev/receipt Tue Mar 06 03:00:01 2018 +0200 27.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 27.3 @@ -1,21 +0,0 @@ 27.4 -# SliTaz package receipt. 27.5 - 27.6 -PACKAGE="libee-dev" 27.7 -VERSION="0.3.2" 27.8 -CATEGORY="development" 27.9 -SHORT_DESC="libee dev files." 27.10 -MAINTAINER="erjo@slitaz.org" 27.11 -LICENSE="LGPL2.1" 27.12 -WEB_SITE="http://www.libee.org/download/" 27.13 -WANTED="libee" 27.14 - 27.15 -DEPENDS="libee pkg-config" 27.16 - 27.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 27.18 -genpkg_rules() 27.19 -{ 27.20 - mkdir -p $fs/usr/lib 27.21 - cp -a $install/usr/lib/*.*a $fs/usr/lib 27.22 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 27.23 - cp -a $install/usr/include $fs/usr 27.24 -}
28.1 --- a/libee/receipt Tue Mar 06 03:00:01 2018 +0200 28.2 +++ b/libee/receipt Tue Mar 06 11:29:35 2018 +0200 28.3 @@ -1,4 +1,4 @@ 28.4 -# SliTaz package receipt. 28.5 +# SliTaz package receipt v2. 28.6 28.7 PACKAGE="libee" 28.8 VERSION="0.3.2" 28.9 @@ -7,27 +7,35 @@ 28.10 MAINTAINER="erjo@slitaz.org" 28.11 LICENSE="LGPL2.1" 28.12 WEB_SITE="http://www.libee.org/download/" 28.13 + 28.14 TARBALL="$PACKAGE-$VERSION.tar.gz" 28.15 WGET_URL="http://www.libee.org/files/download/$TARBALL" 28.16 28.17 -DEPENDS="libestr" 28.18 BUILD_DEPENDS="libestr-dev automake" 28.19 +SPLIT="libee-dev" 28.20 28.21 -# Rules to configure and make the package. 28.22 -compile_rules() 28.23 -{ 28.24 - cd $src 28.25 +compile_rules() { 28.26 # Patch from http://www.gossamer-threads.com/lists/rsyslog/users/4600 28.27 patch -p 1 < $stuff/libee-build-fix.patch 28.28 - ./configure $CONFIGURE_ARGS \ 28.29 - --disable-testbench && make -j 1 && make install 28.30 + ./configure \ 28.31 + --disable-testbench \ 28.32 + $CONFIGURE_ARGS && 28.33 + make -j 1 && make install 28.34 } 28.35 28.36 -# Rules to gen a SliTaz package suitable for Tazpkg. 28.37 -genpkg_rules() 28.38 -{ 28.39 - mkdir -p $fs/usr/lib 28.40 - 28.41 - cp -a $install/usr/lib/*.so* $fs/usr/lib 28.42 - cp -a $install/usr/sbin $fs/usr 28.43 +genpkg_rules() { 28.44 + case $PACKAGE in 28.45 + libee) 28.46 + mkdir -p $fs/usr/lib 28.47 + cp -a $install/usr/lib/*.so* $fs/usr/lib 28.48 + cp -a $install/usr/sbin $fs/usr 28.49 + DEPENDS="libestr" 28.50 + ;; 28.51 + *-dev) 28.52 + mkdir -p $fs/usr/lib 28.53 + cp -a $install/usr/lib/*.*a $fs/usr/lib 28.54 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 28.55 + cp -a $install/usr/include $fs/usr 28.56 + ;; 28.57 + esac 28.58 }
29.1 --- a/libglw-mesa-dev/receipt Tue Mar 06 03:00:01 2018 +0200 29.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 29.3 @@ -1,21 +0,0 @@ 29.4 -# SliTaz package receipt. 29.5 - 29.6 -PACKAGE="libglw-mesa-dev" 29.7 -VERSION="8.0.0" 29.8 -CATEGORY="development" 29.9 -SHORT_DESC="OpenGL widget library, development files." 29.10 -MAINTAINER="pascal.bellard@slitaz.org" 29.11 -LICENSE="MIT" 29.12 -WEB_SITE="http://www.mesa3d.org/" 29.13 - 29.14 -WANTED="libglw-mesa" 29.15 -DEPENDS="libglw-mesa pkg-config" 29.16 - 29.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 29.18 -genpkg_rules() 29.19 -{ 29.20 - mkdir -p $fs/usr/lib 29.21 - cp -a $install/usr/lib/libGLw*a $fs/usr/lib 29.22 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 29.23 - cp -a $install/usr/include $fs/usr 29.24 -}
30.1 --- a/libglw-mesa/receipt Tue Mar 06 03:00:01 2018 +0200 30.2 +++ b/libglw-mesa/receipt Tue Mar 06 11:29:35 2018 +0200 30.3 @@ -1,4 +1,4 @@ 30.4 -# SliTaz package receipt. 30.5 +# SliTaz package receipt v2. 30.6 30.7 PACKAGE="libglw-mesa" 30.8 VERSION="8.0.0" 30.9 @@ -6,19 +6,16 @@ 30.10 SHORT_DESC="OpenGL widget library" 30.11 MAINTAINER="pascal.bellard@slitaz.org" 30.12 LICENSE="MIT" 30.13 +WEB_SITE="http://www.mesa3d.org/" 30.14 + 30.15 TARBALL="$PACKAGE-$VERSION.tar.bz2" 30.16 -WEB_SITE="http://www.mesa3d.org/" 30.17 WGET_URL="git|git://anongit.freedesktop.org/mesa/glw.git" 30.18 -PROVIDE="libglw" 30.19 30.20 DEPENDS="glibc-base util-linux-uuid zlib freetype lesstif mesa \ 30.21 xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXt" 30.22 -BUILD_DEPENDS="mesa-dev automake autoconf libtool util-linux-uuid-dev \ 30.23 - expat-dev xorg-dev intltool gettext xorg-libxshmfence-dev" 30.24 +SPLIT="libglw-mesa-dev" 30.25 30.26 -# Rules to configure and make the package. 30.27 -compile_rules() 30.28 -{ 30.29 +compile_rules() { 30.30 ./autogen.sh 30.31 ./configure \ 30.32 --prefix=/usr \ 30.33 @@ -26,9 +23,21 @@ 30.34 make $MAKEFLAGS && make install 30.35 } 30.36 30.37 -# Rules to gen a SliTaz package suitable for Tazpkg. 30.38 -genpkg_rules() 30.39 -{ 30.40 - mkdir -p $fs/usr/lib 30.41 - cp -a $install/usr/lib/libGLw*so* $fs/usr/lib 30.42 +genpkg_rules() { 30.43 + case $PACKAGE in 30.44 + libglw-mesa) 30.45 + mkdir -p $fs/usr/lib 30.46 + cp -a $install/usr/lib/libGLw*so* $fs/usr/lib 30.47 + BUILD_DEPENDS="mesa-dev automake autoconf libtool \ 30.48 + util-linux-uuid-dev expat-dev xorg-dev intltool gettext \ 30.49 + xorg-libxshmfence-dev" 30.50 + PROVIDE="libglw" 30.51 + ;; 30.52 + *-dev) 30.53 + mkdir -p $fs/usr/lib 30.54 + cp -a $install/usr/lib/libGLw*a $fs/usr/lib 30.55 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 30.56 + cp -a $install/usr/include $fs/usr 30.57 + ;; 30.58 + esac 30.59 }
31.1 --- a/libiodbc-dev/receipt Tue Mar 06 03:00:01 2018 +0200 31.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 31.3 @@ -1,21 +0,0 @@ 31.4 -# SliTaz package receipt. 31.5 - 31.6 -PACKAGE="libiodbc-dev" 31.7 -VERSION="3.52.7" 31.8 -CATEGORY="development" 31.9 -SHORT_DESC="The libiodbc devel files." 31.10 -MAINTAINER="pankso@slitaz.org" 31.11 -LICENSE="LGPL2" 31.12 -WANTED="libiodbc" 31.13 -WEB_SITE="http://www.iodbc.org/" 31.14 - 31.15 -DEPENDS="pkg-config" 31.16 - 31.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 31.18 -genpkg_rules() 31.19 -{ 31.20 - mkdir -p $fs/usr/lib 31.21 - cp -a $install/usr/include $fs/usr 31.22 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 31.23 - cp -a $install/usr/lib/*.*a $fs/usr/lib 31.24 -}
32.1 --- a/libiodbc/receipt Tue Mar 06 03:00:01 2018 +0200 32.2 +++ b/libiodbc/receipt Tue Mar 06 11:29:35 2018 +0200 32.3 @@ -1,29 +1,35 @@ 32.4 -# SliTaz package receipt. 32.5 +# SliTaz package receipt v2. 32.6 32.7 PACKAGE="libiodbc" 32.8 VERSION="3.52.7" 32.9 CATEGORY="system-tools" 32.10 -SHORT_DESC="Independent Open DataBase Connectivity." 32.11 +SHORT_DESC="Independent Open DataBase Connectivity" 32.12 MAINTAINER="pankso@slitaz.org" 32.13 LICENSE="GPL2" 32.14 +WEB_SITE="http://www.iodbc.org/" 32.15 + 32.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 32.17 -WEB_SITE="http://www.iodbc.org/" 32.18 WGET_URL="http://www.iodbc.org/downloads/iODBC/$TARBALL" 32.19 32.20 -DEPENDS="" 32.21 -BUILD_DEPENDS="" 32.22 +SPLIT="libiodbc-dev" 32.23 32.24 -# Rules to configure and make the package. 32.25 -compile_rules() 32.26 -{ 32.27 +compile_rules() { 32.28 ./configure $CONFIGURE_ARGS && 32.29 make && make install 32.30 } 32.31 32.32 -# Rules to gen a SliTaz package suitable for Tazpkg. 32.33 -genpkg_rules() 32.34 -{ 32.35 - mkdir -p $fs/usr/lib 32.36 - cp -a $install/usr/bin $fs/usr 32.37 - cp -a $install/usr/lib/*.so* $fs/usr/lib 32.38 +genpkg_rules() { 32.39 + case $PACKAGE in 32.40 + libiodbc) 32.41 + mkdir -p $fs/usr/lib 32.42 + cp -a $install/usr/bin $fs/usr 32.43 + cp -a $install/usr/lib/*.so* $fs/usr/lib 32.44 + ;; 32.45 + *-dev) 32.46 + mkdir -p $fs/usr/lib 32.47 + cp -a $install/usr/include $fs/usr 32.48 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 32.49 + cp -a $install/usr/lib/*.*a $fs/usr/lib 32.50 + ;; 32.51 + esac 32.52 }
33.1 --- a/libirman-dev/receipt Tue Mar 06 03:00:01 2018 +0200 33.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 33.3 @@ -1,19 +0,0 @@ 33.4 -# SliTaz package receipt. 33.5 - 33.6 -PACKAGE="libirman-dev" 33.7 -VERSION="0.4.5" 33.8 -CATEGORY="development" 33.9 -SHORT_DESC="libirman devel files." 33.10 -MAINTAINER="rcx@zoominternet.net" 33.11 -LICENSE="GPL2" 33.12 -WEB_SITE="http://www.lirc.org/html/install.html" 33.13 - 33.14 -WANTED="libirman" 33.15 - 33.16 -# Rules to gen a SliTaz package suitable for Tazpkg. 33.17 -genpkg_rules() 33.18 -{ 33.19 - mkdir -p $fs/usr/lib 33.20 - cp -a $install/usr/lib/*.*a $fs/usr/lib 33.21 - cp -a $install/usr/include $fs/usr 33.22 -}
34.1 --- a/libirman/receipt Tue Mar 06 03:00:01 2018 +0200 34.2 +++ b/libirman/receipt Tue Mar 06 11:29:35 2018 +0200 34.3 @@ -1,19 +1,19 @@ 34.4 -# SliTaz package receipt. 34.5 +# SliTaz package receipt v2. 34.6 34.7 PACKAGE="libirman" 34.8 VERSION="0.4.5" 34.9 CATEGORY="utilities" 34.10 -SHORT_DESC="Library for Irman." 34.11 +SHORT_DESC="Library for Irman" 34.12 MAINTAINER="rcx@zoominternet.net" 34.13 LICENSE="GPL2" 34.14 +WEB_SITE="http://www.lirc.org/html/install.html" 34.15 + 34.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 34.17 -WEB_SITE="http://www.lirc.org/html/install.html" 34.18 WGET_URL="http://www.lirc.org/software/snapshots/$TARBALL" 34.19 -CONFIG_FILES="/etc/irman.conf" 34.20 34.21 -# Rules to configure and make the package. 34.22 -compile_rules() 34.23 -{ 34.24 +SPLIT="libirman-dev" 34.25 + 34.26 +compile_rules() { 34.27 ./configure \ 34.28 --prefix=/usr \ 34.29 --sysconfdir=/etc \ 34.30 @@ -21,11 +21,19 @@ 34.31 make && make install 34.32 } 34.33 34.34 -# Rules to gen a SliTaz package suitable for Tazpkg. 34.35 -genpkg_rules() 34.36 -{ 34.37 - mkdir -p $fs/usr/lib 34.38 - cp -a $install/usr/lib/*.so* $fs/usr/lib 34.39 - cp -a $install/usr/bin $fs/usr 34.40 - cp -a $install/etc $fs 34.41 +genpkg_rules() { 34.42 + case $PACKAGE in 34.43 + libirman) 34.44 + mkdir -p $fs/usr/lib 34.45 + cp -a $install/usr/lib/*.so* $fs/usr/lib 34.46 + cp -a $install/usr/bin $fs/usr 34.47 + cp -a $install/etc $fs 34.48 + CONFIG_FILES="/etc/irman.conf" 34.49 + ;; 34.50 + *-dev) 34.51 + mkdir -p $fs/usr/lib 34.52 + cp -a $install/usr/lib/*.*a $fs/usr/lib 34.53 + cp -a $install/usr/include $fs/usr 34.54 + ;; 34.55 + esac 34.56 }
35.1 --- a/libjson-c-dev/receipt Tue Mar 06 03:00:01 2018 +0200 35.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 35.3 @@ -1,21 +0,0 @@ 35.4 -# SliTaz package receipt. 35.5 - 35.6 -PACKAGE="libjson-c-dev" 35.7 -VERSION="0.12-20140410" 35.8 -CATEGORY="development" 35.9 -SHORT_DESC="A JSON implementation in C, development files" 35.10 -MAINTAINER="pascal.bellard@slitaz.org" 35.11 -LICENSE="MIT" 35.12 -WEB_SITE="https://github.com/json-c/json-c" 35.13 -WANTED="libjson-c" 35.14 - 35.15 -DEPENDS="libjson-c" 35.16 - 35.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 35.18 -genpkg_rules() 35.19 -{ 35.20 - mkdir -p $fs/usr/lib 35.21 - cp -a $install/usr/include $fs/usr/ 35.22 - cp -a $install/usr/lib/*a $fs/usr/lib 35.23 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 35.24 -}
36.1 --- a/libjson-c/receipt Tue Mar 06 03:00:01 2018 +0200 36.2 +++ b/libjson-c/receipt Tue Mar 06 11:29:35 2018 +0200 36.3 @@ -1,4 +1,4 @@ 36.4 -# SliTaz package receipt. 36.5 +# SliTaz package receipt v2. 36.6 36.7 PACKAGE="libjson-c" 36.8 VERSION="0.12-20140410" 36.9 @@ -6,27 +6,35 @@ 36.10 SHORT_DESC="A JSON implementation in C" 36.11 MAINTAINER="pascal.bellard@slitaz.org" 36.12 LICENSE="MIT" 36.13 +WEB_SITE="https://github.com/json-c/json-c" 36.14 + 36.15 TARBALL="$PACKAGE-$VERSION.tar.gz" 36.16 -WEB_SITE="https://github.com/json-c/json-c" 36.17 WGET_URL="$WEB_SITE/archive/json-c-$VERSION.tar.gz" 36.18 36.19 -DEPENDS="" 36.20 BUILD_DEPENDS="wget bash automake autoconf libtool" 36.21 +SPLIT="libjson-c-dev" 36.22 36.23 -# Rules to configure and make the package. 36.24 -compile_rules() 36.25 -{ 36.26 +compile_rules() { 36.27 sed -i 's/-Werror /&-Wno-error=unused-but-set-variable /' Makefile* 36.28 ./autogen.sh 36.29 - ./configure --prefix=/usr \ 36.30 + ./configure \ 36.31 + --prefix=/usr \ 36.32 $CONFIGURE_ARGS && 36.33 make && 36.34 make -j 1 DESTDIR=$DESTDIR install 36.35 } 36.36 36.37 -# Rules to gen a SliTaz package suitable for Tazpkg. 36.38 -genpkg_rules() 36.39 -{ 36.40 - mkdir -p $fs/usr/lib 36.41 - cp -a $install/usr/lib/*.so* $fs/usr/lib 36.42 +genpkg_rules() { 36.43 + case $PACKAGE in 36.44 + libjson-c) 36.45 + mkdir -p $fs/usr/lib 36.46 + cp -a $install/usr/lib/*.so* $fs/usr/lib 36.47 + ;; 36.48 + *-dev) 36.49 + mkdir -p $fs/usr/lib 36.50 + cp -a $install/usr/include $fs/usr/ 36.51 + cp -a $install/usr/lib/*a $fs/usr/lib 36.52 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 36.53 + ;; 36.54 + esac 36.55 }
37.1 --- a/liboobs-dev/receipt Tue Mar 06 03:00:01 2018 +0200 37.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 37.3 @@ -1,20 +0,0 @@ 37.4 -# SliTaz package receipt. 37.5 - 37.6 -PACKAGE="liboobs-dev" 37.7 -VERSION="2.32.0" 37.8 -CATEGORY="development" 37.9 -SHORT_DESC="Development files for liboobs" 37.10 -MAINTAINER="al.bobylev@gmail.com" 37.11 -LICENSE="GPL2" 37.12 -WEB_SITE="https://developer.gnome.org/liboobs/stable" 37.13 - 37.14 -WANTED="liboobs" 37.15 -DEPENDS="liboobs glib-dev dbus-dev" 37.16 - 37.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 37.18 -genpkg_rules() 37.19 -{ 37.20 - mkdir -p $fs/usr/lib 37.21 - cp -a $install/usr/include $fs/usr 37.22 - cp -a $install/usr/lib/*.*a $install/usr/lib/pkgconfig $fs/usr/lib 37.23 -}
38.1 --- a/liboobs/receipt Tue Mar 06 03:00:01 2018 +0200 38.2 +++ b/liboobs/receipt Tue Mar 06 11:29:35 2018 +0200 38.3 @@ -1,4 +1,4 @@ 38.4 -# SliTaz package receipt. 38.5 +# SliTaz package receipt v2. 38.6 38.7 PACKAGE="liboobs" 38.8 VERSION="2.32.0" 38.9 @@ -7,21 +7,27 @@ 38.10 MAINTAINER="al.bobylev@gmail.com" 38.11 LICENSE="GPL2" 38.12 WEB_SITE="https://developer.gnome.org/liboobs/stable" 38.13 + 38.14 TARBALL="$PACKAGE-$VERSION.tar.gz" 38.15 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" 38.16 38.17 -DEPENDS="dbus dbus-glib glib glibc-base libffi pcre system-tools-backends" 38.18 BUILD_DEPENDS="dbus-glib-dev glib-dev system-tools-backends" 38.19 +SPLIT="liboobs-dev" 38.20 38.21 -# Rules to configure and make the package. 38.22 -compile_rules() 38.23 -{ 38.24 +compile_rules() { 38.25 ./configure $CONFIGURE_ARGS && make && make install 38.26 } 38.27 38.28 -# Rules to gen a SliTaz package suitable for Tazpkg. 38.29 -genpkg_rules() 38.30 -{ 38.31 - mkdir -p $fs/usr/lib 38.32 - cp -a $install/usr/lib/*.so* $fs/usr/lib 38.33 +genpkg_rules() { 38.34 + case $PACKAGE in 38.35 + liboobs) 38.36 + copy @std 38.37 + DEPENDS="dbus dbus-glib glib glibc-base libffi pcre \ 38.38 + system-tools-backends" 38.39 + ;; 38.40 + *-dev) 38.41 + copy @dev 38.42 + DEPENDS="liboobs glib-dev dbus-dev" 38.43 + ;; 38.44 + esac 38.45 }
39.1 --- a/libtkimg-dev/receipt Tue Mar 06 03:00:01 2018 +0200 39.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 39.3 @@ -1,22 +0,0 @@ 39.4 -# SliTaz package receipt. 39.5 - 39.6 -PACKAGE="libtkimg-dev" 39.7 -VERSION="1.4.2" 39.8 -CATEGORY="development" 39.9 -SHORT_DESC="Extended image format support for Tcl/Tk, development files" 39.10 -MAINTAINER="pascal.bellard@slitaz.org" 39.11 -LICENSE="BSD GPL2" 39.12 -WEB_SITE="http://tkimg.sourceforge.net/" 39.13 -WANTED="libtkimg" 39.14 - 39.15 -DEPENDS="libtkimg" 39.16 - 39.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 39.18 -genpkg_rules() 39.19 -{ 39.20 - mkdir -p $fs/usr/lib/Img$VERSION 39.21 - cp -a $install/usr/lib/Img$VERSION/*.a $fs/usr/lib/Img$VERSION 39.22 - cp -a $src/Img/exec_prefix/lib/Img/*.a $fs/usr/lib/Img$VERSION 39.23 - cp -a $install/usr/include $fs/usr 39.24 - cp -a $src/Img/prefix/include $fs/usr 39.25 -}
40.1 --- a/libtkimg/receipt Tue Mar 06 03:00:01 2018 +0200 40.2 +++ b/libtkimg/receipt Tue Mar 06 11:29:35 2018 +0200 40.3 @@ -1,39 +1,48 @@ 40.4 -# SliTaz package receipt. 40.5 +# SliTaz package receipt v2. 40.6 40.7 PACKAGE="libtkimg" 40.8 -SOURCE="tkimg" 40.9 VERSION="1.4.2" 40.10 CATEGORY="development" 40.11 SHORT_DESC="Extended image format support for Tcl/Tk" 40.12 MAINTAINER="pascal.bellard@slitaz.org" 40.13 LICENSE="BSD GPL2" 40.14 -TARBALL="$SOURCE$VERSION.tar.bz2" 40.15 WEB_SITE="http://tkimg.sourceforge.net/" 40.16 -WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL" 40.17 40.18 -DEPENDS="tk" 40.19 +TARBALL="tkimg$VERSION.tar.bz2" 40.20 +WGET_URL="$SF_MIRROR/tkimg/$TARBALL" 40.21 + 40.22 BUILD_DEPENDS="tcllib tcl-dev tk-dev xorg-dev" 40.23 +SPLIT="libtkimg-dev" 40.24 40.25 -# Rules to configure and make the package. 40.26 -compile_rules() 40.27 -{ 40.28 +compile_rules() { 40.29 make distclean 40.30 - ./configure --prefix=/usr \ 40.31 + ./configure \ 40.32 + --prefix=/usr \ 40.33 --mandir=/usr/share/man \ 40.34 $CONFIGURE_ARGS && 40.35 make all && 40.36 make INSTALL_ROOT=$DESTDIR install 40.37 } 40.38 40.39 -# Rules to gen a SliTaz package suitable for Tazpkg. 40.40 -genpkg_rules() 40.41 -{ 40.42 - mkdir -p $fs/usr/lib/Img$VERSION 40.43 - cp -a $install/usr/lib/*.sh $fs/usr/lib 40.44 - cp -a $src/Img/exec_prefix/lib/*.sh $fs/usr/lib 40.45 - cat $install/usr/lib/Img$VERSION/*.tcl \ 40.46 - $src/Img/exec_prefix/lib/Img/*.tcl > \ 40.47 - $fs/usr/lib/Img$VERSION/pkgIndex.tcl 40.48 - cp -a $install/usr/lib/Img$VERSION/*.so $fs/usr/lib/Img$VERSION 40.49 - cp -a $src/Img/exec_prefix/lib/Img/*.so $fs/usr/lib/Img$VERSION 40.50 +genpkg_rules() { 40.51 + case $PACKAGE in 40.52 + libtkimg) 40.53 + mkdir -p $fs/usr/lib/Img$VERSION 40.54 + cp -a $install/usr/lib/*.sh $fs/usr/lib 40.55 + cp -a $src/Img/exec_prefix/lib/*.sh $fs/usr/lib 40.56 + cat $install/usr/lib/Img$VERSION/*.tcl \ 40.57 + $src/Img/exec_prefix/lib/Img/*.tcl > \ 40.58 + $fs/usr/lib/Img$VERSION/pkgIndex.tcl 40.59 + cp -a $install/usr/lib/Img$VERSION/*.so $fs/usr/lib/Img$VERSION 40.60 + cp -a $src/Img/exec_prefix/lib/Img/*.so $fs/usr/lib/Img$VERSION 40.61 + DEPENDS="tk" 40.62 + ;; 40.63 + *-dev) 40.64 + mkdir -p $fs/usr/lib/Img$VERSION 40.65 + cp -a $install/usr/lib/Img$VERSION/*.a $fs/usr/lib/Img$VERSION 40.66 + cp -a $src/Img/exec_prefix/lib/Img/*.a $fs/usr/lib/Img$VERSION 40.67 + cp -a $install/usr/include $fs/usr 40.68 + cp -a $src/Img/prefix/include $fs/usr 40.69 + ;; 40.70 + esac 40.71 }
41.1 --- a/linphone-dev/receipt Tue Mar 06 03:00:01 2018 +0200 41.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 41.3 @@ -1,21 +0,0 @@ 41.4 -# SliTaz package receipt. 41.5 - 41.6 -PACKAGE="linphone-dev" 41.7 -VERSION="3.5.2" 41.8 -CATEGORY="development" 41.9 -SHORT_DESC="SIP soft phone development files." 41.10 -MAINTAINER="pascal.bellard@slitaz.org" 41.11 -LICENSE="GPL2" 41.12 -WEB_SITE="http://www.linphone.org/" 41.13 -WANTED="linphone" 41.14 - 41.15 -DEPENDS="pkg-config" 41.16 - 41.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 41.18 -genpkg_rules() 41.19 -{ 41.20 - mkdir -p $fs/usr/lib 41.21 - cp -a $install/usr/include $fs/usr 41.22 - cp -a $install/usr/lib/*.*a $fs/usr/lib 41.23 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 41.24 -}
42.1 --- a/linphone/receipt Tue Mar 06 03:00:01 2018 +0200 42.2 +++ b/linphone/receipt Tue Mar 06 11:29:35 2018 +0200 42.3 @@ -1,24 +1,22 @@ 42.4 -# SliTaz package receipt. 42.5 +# SliTaz package receipt v2. 42.6 42.7 PACKAGE="linphone" 42.8 VERSION="3.5.2" 42.9 CATEGORY="network" 42.10 -SHORT_DESC="SIP soft phone." 42.11 +SHORT_DESC="SIP soft phone" 42.12 MAINTAINER="pascal.bellard@slitaz.org" 42.13 LICENSE="GPL2" 42.14 +WEB_SITE="http://www.linphone.org/" 42.15 + 42.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 42.17 -WEB_SITE="http://www.linphone.org/" 42.18 WGET_URL="http://download-mirror.savannah.gnu.org/releases/linphone/${VERSION%.*}.x/sources/$TARBALL" 42.19 -TAGS="softphone telephony" 42.20 42.21 -DEPENDS="osip exosip speex ffmpeg xorg-libXv libv4l libglade gtk+ glib" 42.22 BUILD_DEPENDS="intltool libsdl-dev ffmpeg-dev osip-dev exosip-dev speex-dev \ 42.23 xorg-libXv-dev libv4l-dev libglade-dev gtk+-dev glib-dev speex-dev" 42.24 +SPLIT="linphone-dev" 42.25 42.26 -# Rules to configure and make the package. 42.27 -compile_rules() 42.28 -{ 42.29 - sed -i -e 's/CodecID/AV&/' -e 's/avcodec_init();//' \ 42.30 +compile_rules() { 42.31 + sed -i -e 's/CodecID/AV&/' -e 's/avcodec_init();//' \ 42.32 -e 's/avcodec_open(\([^)]*\)/avcodec_open2(\1, NULL/' \ 42.33 -e 's/avcodec_get_context_defaults(\([^)]*\)/avcodec_get_context_defaults3(\1, NULL/' \ 42.34 -e 's/avcodec_alloc_context(\([^)]*\)/avcodec_alloc_context3(\1 NULL/' \ 42.35 @@ -27,24 +25,39 @@ 42.36 # Define deprecated ffmepg flags ... 42.37 CFLAGS="-Wno-deprecated-declarations -DCODEC_FLAG_PART=0x0080 -DCODEC_FLAG_H263P_UMV=0x0200000 -DCODEC_FLAG_H263P_SLICE_STRUCT=0x01000000 -DFF_I_TYPE=1" \ 42.38 LIBS="-lavutil -lz" \ 42.39 - ./configure --prefix=/usr --libexecdir=/usr/bin \ 42.40 - --infodir=/usr/share/info --mandir=/usr/share/man $CONFIGURE_ARGS 42.41 + ./configure \ 42.42 + --prefix=/usr \ 42.43 + --libexecdir=/usr/bin \ 42.44 + --infodir=/usr/share/info \ 42.45 + --mandir=/usr/share/man \ 42.46 + $CONFIGURE_ARGS && 42.47 make && 42.48 make DESTDIR=$DESTDIR install 2>&1 | sed \ 42.49 -e "s/css': No such file/css': no such file/" \ 42.50 -e "s/html': No such file/html': no such file/" 42.51 } 42.52 42.53 -# Rules to gen a SliTaz package suitable for Tazpkg. 42.54 -genpkg_rules() 42.55 -{ 42.56 - mkdir -p $fs/usr/lib $fs/usr/share 42.57 - cp -a $install/usr/share/applications $fs/usr/share 42.58 - cp -a $install/usr/share/pixmaps $fs/usr/share 42.59 - cp -a $install/usr/share/sounds $fs/usr/share 42.60 - cp -a $install/usr/share/locale $fs/usr/share 42.61 - cp -a $install/usr/share/images $fs/usr/share 42.62 - cp -a $install/usr/share/linphone $fs/usr/share 42.63 - cp -a $install/usr/bin $fs/usr 42.64 - cp -a $install/usr/lib/*.so* $fs/usr/lib 42.65 +genpkg_rules() { 42.66 + case $PACKAGE in 42.67 + linphone) 42.68 + mkdir -p $fs/usr/lib $fs/usr/share 42.69 + cp -a $install/usr/share/applications $fs/usr/share 42.70 + cp -a $install/usr/share/pixmaps $fs/usr/share 42.71 + cp -a $install/usr/share/sounds $fs/usr/share 42.72 + cp -a $install/usr/share/locale $fs/usr/share 42.73 + cp -a $install/usr/share/images $fs/usr/share 42.74 + cp -a $install/usr/share/linphone $fs/usr/share 42.75 + cp -a $install/usr/bin $fs/usr 42.76 + cp -a $install/usr/lib/*.so* $fs/usr/lib 42.77 + DEPENDS="osip exosip speex ffmpeg xorg-libXv libv4l libglade gtk+ \ 42.78 + glib" 42.79 + TAGS="softphone telephony" 42.80 + ;; 42.81 + *-dev) 42.82 + mkdir -p $fs/usr/lib 42.83 + cp -a $install/usr/include $fs/usr 42.84 + cp -a $install/usr/lib/*.*a $fs/usr/lib 42.85 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 42.86 + ;; 42.87 + esac 42.88 }
43.1 --- a/lz5-dev/receipt Tue Mar 06 03:00:01 2018 +0200 43.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 43.3 @@ -1,18 +0,0 @@ 43.4 -# SliTaz package receipt. 43.5 - 43.6 -PACKAGE="lz5-dev" 43.7 -VERSION="1.5" 43.8 -CATEGORY="development" 43.9 -SHORT_DESC="A modification of LZ4 with a better ratio, delevlopment files." 43.10 -MAINTAINER="pascal.bellard@slitaz.org" 43.11 -LICENSE="BSD GPL2" 43.12 -WEB_SITE="https://github.com/inikep/lz5" 43.13 - 43.14 -WANTED="lz5" 43.15 -DEPENDS="lz5" 43.16 - 43.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 43.18 -genpkg_rules() 43.19 -{ 43.20 - copy include/ lib/ 43.21 -}
44.1 --- a/lz5/receipt Tue Mar 06 03:00:01 2018 +0200 44.2 +++ b/lz5/receipt Tue Mar 06 11:29:35 2018 +0200 44.3 @@ -1,9 +1,9 @@ 44.4 -# SliTaz package receipt. 44.5 +# SliTaz package receipt v2. 44.6 44.7 PACKAGE="lz5" 44.8 VERSION="1.5" 44.9 CATEGORY="base-system" 44.10 -SHORT_DESC="A modification of LZ4 with a better ratio but slower." 44.11 +SHORT_DESC="A modification of LZ4 with a better ratio but slower" 44.12 MAINTAINER="pascal.bellard@slitaz.org" 44.13 LICENSE="BSD GPL2" 44.14 WEB_SITE="https://github.com/inikep/lz5" 44.15 @@ -11,15 +11,20 @@ 44.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 44.17 WGET_URL="$GITHUB/inikep/lz5/tarball/v$VERSION" 44.18 44.19 -# Rules to configure and make the package. 44.20 -compile_rules() 44.21 -{ 44.22 +SPLIT="lz5-dev" 44.23 + 44.24 +compile_rules() { 44.25 make && 44.26 make PREFIX=/usr DESTDIR=$DESTDIR install 44.27 } 44.28 44.29 -# Rules to gen a SliTaz package suitable for Tazpkg. 44.30 -genpkg_rules() 44.31 -{ 44.32 - copy bin/ 44.33 +genpkg_rules() { 44.34 + case $PACKAGE in 44.35 + lz5) 44.36 + copy bin/ 44.37 + ;; 44.38 + *-dev) 44.39 + copy include/ lib/ 44.40 + ;; 44.41 + esac 44.42 }
45.1 --- a/nagios-dev/receipt Tue Mar 06 03:00:01 2018 +0200 45.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 45.3 @@ -1,18 +0,0 @@ 45.4 -# SliTaz package receipt. 45.5 - 45.6 -PACKAGE="nagios-dev" 45.7 -VERSION="3.5.0" 45.8 -CATEGORY="development" 45.9 -SHORT_DESC="Nagios development files" 45.10 -MAINTAINER="erjo@slitaz.org" 45.11 -LICENSE="GPL2" 45.12 -WEB_SITE="http://www.nagios.org/" 45.13 -WANTED="nagios" 45.14 - 45.15 -# Rules to gen a SliTaz package suitable for Tazpkg. 45.16 -genpkg_rules() 45.17 -{ 45.18 - mkdir -p $fs/usr 45.19 - cp -pa $src/include $fs/usr 45.20 -} 45.21 -
46.1 --- a/nagios/receipt Tue Mar 06 03:00:01 2018 +0200 46.2 +++ b/nagios/receipt Tue Mar 06 11:29:35 2018 +0200 46.3 @@ -1,4 +1,4 @@ 46.4 -# SliTaz package receipt. 46.5 +# SliTaz package receipt v2. 46.6 46.7 PACKAGE="nagios" 46.8 VERSION="3.5.0" 46.9 @@ -6,26 +6,15 @@ 46.10 SHORT_DESC="Host and network monitoring" 46.11 MAINTAINER="erjo@slitaz.org" 46.12 LICENSE="GPL2" 46.13 +WEB_SITE="http://www.nagios.org/" 46.14 + 46.15 TARBALL="$PACKAGE-$VERSION.tar.gz" 46.16 -WEB_SITE="http://www.nagios.org/" 46.17 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 46.18 -SUGGESTED="nagios-nrpe" 46.19 46.20 -DEPENDS="apache nagios-plugins libpng16 libjpeg libltdl" 46.21 BUILD_DEPENDS="libgd-dev libpng16-dev jpeg-dev libtool" 46.22 +SPLIT="nagios-dev" 46.23 46.24 -# Rules to configure and make the package. 46.25 -compile_rules() 46.26 -{ 46.27 - cd $src 46.28 - while read patch_file; do 46.29 - if [ ! -f done.$patch_file ]; then 46.30 - patch -p1 < $stuff/$patch_file || return 1 46.31 - touch done.$patch_file 46.32 - fi 46.33 - done <<EOT 46.34 -$PACKAGE-$VERSION-Makefiles.u 46.35 -EOT 46.36 +compile_rules() { 46.37 ./configure \ 46.38 --prefix=/usr \ 46.39 --infodir=/usr/share/info \ 46.40 @@ -40,79 +29,90 @@ 46.41 --sbindir=/usr/lib/nagios/cgi \ 46.42 --datadir=/usr/share/nagios \ 46.43 --localstatedir=/var/lib/nagios \ 46.44 - $CONFIGURE_ARGS 46.45 - 46.46 - sed -i s!HTMLDIR=.*!HTMLDIR=/usr/share/nagios! html/Makefile 46.47 - 46.48 + $CONFIGURE_ARGS && 46.49 + sed -i 's!HTMLDIR=.*!HTMLDIR=/usr/share/nagios!' html/Makefile && 46.50 + 46.51 #~ make all && make DESTDIR=$DESTDIR fullinstall \ 46.52 #~ && make DESTDIR=$DESTDIR install-config 46.53 - make all && make install \ 46.54 - && make install-config \ 46.55 - && make install-commandmode \ 46.56 - && make install-webconf \ 46.57 - && make install-classicui 46.58 - 46.59 + make all && 46.60 + make install && 46.61 + make install-config && 46.62 + make install-commandmode && 46.63 + make install-webconf && 46.64 + make install-classicui 46.65 } 46.66 46.67 -# Rules to gen a SliTaz package suitable for Tazpkg. 46.68 -genpkg_rules() 46.69 -{ 46.70 - mkdir -p $fs/usr $fs/etc/init.d \ 46.71 - $fs/var/lib/nagios/rw \ 46.72 - $fs/var/log/nagios \ 46.73 - $fs/var/spool/nagios/checkresults \ 46.74 - $fs/etc/apache 46.75 - 46.76 - cp -a $install/etc/apache $fs/etc 46.77 - cp -a $install/etc/nagios $fs/etc 46.78 - cp -a $stuff/nagios $fs/etc/init.d 46.79 - install -o root -g root -m 644 $stuff/htpasswd.users $fs/etc/nagios/ 46.80 - 46.81 - cp -a $install/usr/bin $fs/usr 46.82 - cp -a $install/usr/lib $fs/usr 46.83 - cp -a $install/usr/share $fs/usr 46.84 - 46.85 - # Put doc in separate package 46.86 - rm -rf $fs/usr/share/nagios/docs 46.87 - 46.88 - # Fix Apache config for Nagvis 46.89 - sed -i 's/Options None/Options FollowSymLinks/' $fs/etc/apache/conf.d/nagios.conf 46.90 - 46.91 - # Fix permissions 46.92 - chmod 755 $fs/usr/bin/nagios* 46.93 +genpkg_rules() { 46.94 + case $PACKAGE in 46.95 + nagios) 46.96 + mkdir -p $fs/usr $fs/etc/init.d \ 46.97 + $fs/var/lib/nagios/rw \ 46.98 + $fs/var/log/nagios \ 46.99 + $fs/var/spool/nagios/checkresults \ 46.100 + $fs/etc/apache 46.101 + 46.102 + cp -a $install/etc/apache $fs/etc 46.103 + cp -a $install/etc/nagios $fs/etc 46.104 + cp -a $stuff/nagios $fs/etc/init.d 46.105 + install -m644 $stuff/htpasswd.users $fs/etc/nagios/ 46.106 + 46.107 + cp -a $install/usr/bin $fs/usr 46.108 + cp -a $install/usr/lib $fs/usr 46.109 + cp -a $install/usr/share $fs/usr 46.110 + 46.111 + # Put doc in separate package 46.112 + rm -rf $fs/usr/share/nagios/docs 46.113 + 46.114 + # Fix Apache config for Nagvis 46.115 + sed -i 's/Options None/Options FollowSymLinks/' $fs/etc/apache/conf.d/nagios.conf 46.116 + 46.117 + # Fix permissions 46.118 + chmod 755 $fs/usr/bin/nagios* 46.119 + DEPENDS="apache nagios-plugins libpng16 libjpeg libltdl" 46.120 + SUGGESTED="nagios-nrpe" 46.121 + ;; 46.122 + nagios-dev) 46.123 + mkdir -p $fs/usr 46.124 + cp -pa $src/include $fs/usr 46.125 + ;; 46.126 + esac 46.127 } 46.128 46.129 -post_install() 46.130 -{ 46.131 +post_install_nagios() { 46.132 if ! grep -q nagios "$1/etc/passwd"; then 46.133 echo -n "Adding user/group nagios..." 46.134 chroot "$1/" addgroup -S nagios 46.135 chroot "$1/" adduser -S -D -H -G nagios nagios 46.136 status 46.137 fi 46.138 - 46.139 + 46.140 # Fix perms for files and directories 46.141 chroot "$1/" chown -R nagios.nagios /var/log/nagios \ 46.142 - /var/spool/nagios \ 46.143 - /var/lib/nagios \ 46.144 - /usr/share/nagios \ 46.145 - /etc/nagios/* 46.146 - 46.147 - 46.148 + /var/spool/nagios \ 46.149 + /var/lib/nagios \ 46.150 + /usr/share/nagios \ 46.151 + /etc/nagios/* 46.152 + 46.153 chmod 2775 "$1/var/lib/nagios/rw" 46.154 chroot "$1/" addgroup www nagios 46.155 - 46.156 + 46.157 # Start Nagios daemon if we are on running system 46.158 [ "$1" ] || /etc/init.d/nagios start 46.159 - 46.160 - # post_install messges 46.161 - echo -e "\nTo starts $PACKAGE server you can run :\n" 46.162 - echo "/etc/init.d/$PACKAGE start" 46.163 - echo -e "Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf\n" 46.164 - echo -e "Default login/password for the Web GUI is nagiosadmin/nagios" 46.165 + 46.166 + # post_install messages 46.167 + [ -n "$quiet" ] || cat <<EOT 46.168 + 46.169 + .--------------------------------------------------------------. 46.170 + | To starts nagios server you can run: | 46.171 + | /etc/init.d/$PACKAGE start | 46.172 + | | 46.173 + | Or add nagios to RUN_DAEMONS in /etc/rcS.conf | 46.174 + |--------------------------------------------------------------| 46.175 + | Default login/password for the Web GUI is nagiosadmin/nagios | 46.176 + '--------------------------------------------------------------' 46.177 +EOT 46.178 } 46.179 46.180 -pre_remove() 46.181 -{ 46.182 +pre_remove_nagios() { 46.183 [ "$1" ] || /etc/init.d/nagios stop 46.184 }
47.1 --- a/nagios/stuff/nagios-3.2.1-Makefiles.u Tue Mar 06 03:00:01 2018 +0200 47.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 47.3 @@ -1,98 +0,0 @@ 47.4 ---- nagios-3.2.1-ori/Makefile.in Thu Dec 31 11:12:08 2009 47.5 -+++ nagios-3.2.1/Makefile.in Sun Jun 6 11:03:32 2010 47.6 -@@ -30,8 +30,8 @@ 47.7 - LIBEXECDIR=@libexecdir@ 47.8 - HTMLDIR=@datarootdir@ 47.9 - INSTALL=@INSTALL@ 47.10 --INSTALL_OPTS=@INSTALL_OPTS@ 47.11 --COMMAND_OPTS=@COMMAND_OPTS@ 47.12 -+INSTALL_OPTS= 47.13 -+COMMAND_OPTS= 47.14 - HTTPD_CONF=@HTTPD_CONF@ 47.15 - INIT_DIR=@init_dir@ 47.16 - INIT_OPTS=-o root -g root 47.17 -@@ -264,6 +264,7 @@ 47.18 - @echo "" 47.19 - 47.20 - install-webconf: 47.21 -+ $(INSTALL) -m 755 -d $(DESTDIR)$(HTTPD_CONF) 47.22 - $(INSTALL) -m 644 sample-config/httpd.conf $(DESTDIR)$(HTTPD_CONF)/nagios.conf 47.23 - 47.24 - @echo "" 47.25 ---- nagios-3.2.1-ori/base/Makefile.in Wed Jun 17 05:57:21 2009 47.26 -+++ nagios-3.2.1/base/Makefile.in Sun Jun 6 11:03:32 2010 47.27 -@@ -39,8 +39,8 @@ 47.28 - CGIDIR=@sbindir@ 47.29 - HTMLDIR=@datarootdir@ 47.30 - INSTALL=@INSTALL@ 47.31 --INSTALL_OPTS=@INSTALL_OPTS@ 47.32 --COMMAND_OPTS=@COMMAND_OPTS@ 47.33 -+INSTALL_OPTS= 47.34 -+COMMAND_OPTS= 47.35 - STRIP=@STRIP@ 47.36 - 47.37 - CGIURL=@cgiurl@ 47.38 ---- nagios-3.2.1-ori/cgi/Makefile.in Wed Jun 17 05:57:21 2009 47.39 -+++ nagios-3.2.1/cgi/Makefile.in Sun Jun 6 11:03:32 2010 47.40 -@@ -18,8 +18,8 @@ 47.41 - CGIDIR=@sbindir@ 47.42 - HTMLDIR=@datarootdir@ 47.43 - INSTALL=@INSTALL@ 47.44 --INSTALL_OPTS=@INSTALL_OPTS@ 47.45 --COMMAND_OPTS=@COMMAND_OPTS@ 47.46 -+INSTALL_OPTS= 47.47 -+COMMAND_OPTS= 47.48 - STRIP=@STRIP@ 47.49 - 47.50 - CGIEXTRAS=@CGIEXTRAS@ 47.51 ---- nagios-3.2.1-ori/common/Makefile.in Wed Jun 17 05:57:21 2009 47.52 -+++ nagios-3.2.1/common/Makefile.in Sun Jun 6 11:03:32 2010 47.53 -@@ -20,8 +20,8 @@ 47.54 - CGIDIR=@sbindir@ 47.55 - HTMLDIR=@datarootdir@ 47.56 - INSTALL=@INSTALL@ 47.57 --INSTALL_OPTS=@INSTALL_OPTS@ 47.58 --COMMAND_OPTS=@COMMAND_OPTS@ 47.59 -+INSTALL_OPTS= 47.60 -+COMMAND_OPTS= 47.61 - 47.62 - CP=@CP@ 47.63 - 47.64 ---- nagios-3.2.1-ori/contrib/Makefile.in Mon May 19 20:01:58 2008 47.65 -+++ nagios-3.2.1/contrib/Makefile.in Sun Jun 6 10:43:34 2010 47.66 -@@ -15,7 +15,7 @@ 47.67 - # Generated automatically from configure script 47.68 - SNPRINTF_O=@SNPRINTF_O@ 47.69 - INSTALL=@INSTALL@ 47.70 --INSTALL_OPTS=@INSTALL_OPTS@ 47.71 -+INSTALL_OPTS= 47.72 - 47.73 - 47.74 - prefix=@prefix@ 47.75 ---- nagios-3.2.1-ori/html/Makefile.in Wed Jul 8 00:34:51 2009 47.76 -+++ nagios-3.2.1/html/Makefile.in Sun Jun 6 10:59:50 2010 47.77 -@@ -10,8 +10,8 @@ 47.78 - CGIDIR=@sbindir@ 47.79 - HTMLDIR=@datadir@ 47.80 - INSTALL=@INSTALL@ 47.81 --INSTALL_OPTS=@INSTALL_OPTS@ 47.82 --COMMAND_OPTS=@COMMAND_OPTS@ 47.83 -+INSTALL_OPTS= 47.84 -+COMMAND_OPTS= 47.85 - 47.86 - CP=@CP@ 47.87 - 47.88 ---- nagios-3.2.1-ori/module/Makefile.in Sat Dec 15 00:02:24 2007 47.89 -+++ nagios-3.2.1/module/Makefile.in Sun Jun 6 11:03:32 2010 47.90 -@@ -19,9 +19,8 @@ 47.91 - exec_prefix=@exec_prefix@ 47.92 - BINDIR=@bindir@ 47.93 - INSTALL=@INSTALL@ 47.94 --INSTALL_OPTS=@INSTALL_OPTS@ 47.95 --COMMAND_OPTS=@COMMAND_OPTS@ 47.96 --STRIP=@STRIP@ 47.97 -+INSTALL_OPTS= 47.98 -+COMMAND_OPTS= 47.99 - 47.100 - CP=@CP@ 47.101 -
48.1 --- a/nagios/stuff/nagios-3.2.3-Makefiles.u Tue Mar 06 03:00:01 2018 +0200 48.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 48.3 @@ -1,98 +0,0 @@ 48.4 ---- nagios-3.2.1-ori/Makefile.in Thu Dec 31 11:12:08 2009 48.5 -+++ nagios-3.2.1/Makefile.in Sun Jun 6 11:03:32 2010 48.6 -@@ -30,8 +30,8 @@ 48.7 - LIBEXECDIR=@libexecdir@ 48.8 - HTMLDIR=@datarootdir@ 48.9 - INSTALL=@INSTALL@ 48.10 --INSTALL_OPTS=@INSTALL_OPTS@ 48.11 --COMMAND_OPTS=@COMMAND_OPTS@ 48.12 -+INSTALL_OPTS= 48.13 -+COMMAND_OPTS= 48.14 - HTTPD_CONF=@HTTPD_CONF@ 48.15 - INIT_DIR=@init_dir@ 48.16 - INIT_OPTS=-o root -g root 48.17 -@@ -264,6 +264,7 @@ 48.18 - @echo "" 48.19 - 48.20 - install-webconf: 48.21 -+ $(INSTALL) -m 755 -d $(DESTDIR)$(HTTPD_CONF) 48.22 - $(INSTALL) -m 644 sample-config/httpd.conf $(DESTDIR)$(HTTPD_CONF)/nagios.conf 48.23 - 48.24 - @echo "" 48.25 ---- nagios-3.2.1-ori/base/Makefile.in Wed Jun 17 05:57:21 2009 48.26 -+++ nagios-3.2.1/base/Makefile.in Sun Jun 6 11:03:32 2010 48.27 -@@ -39,8 +39,8 @@ 48.28 - CGIDIR=@sbindir@ 48.29 - HTMLDIR=@datarootdir@ 48.30 - INSTALL=@INSTALL@ 48.31 --INSTALL_OPTS=@INSTALL_OPTS@ 48.32 --COMMAND_OPTS=@COMMAND_OPTS@ 48.33 -+INSTALL_OPTS= 48.34 -+COMMAND_OPTS= 48.35 - STRIP=@STRIP@ 48.36 - 48.37 - CGIURL=@cgiurl@ 48.38 ---- nagios-3.2.1-ori/cgi/Makefile.in Wed Jun 17 05:57:21 2009 48.39 -+++ nagios-3.2.1/cgi/Makefile.in Sun Jun 6 11:03:32 2010 48.40 -@@ -18,8 +18,8 @@ 48.41 - CGIDIR=@sbindir@ 48.42 - HTMLDIR=@datarootdir@ 48.43 - INSTALL=@INSTALL@ 48.44 --INSTALL_OPTS=@INSTALL_OPTS@ 48.45 --COMMAND_OPTS=@COMMAND_OPTS@ 48.46 -+INSTALL_OPTS= 48.47 -+COMMAND_OPTS= 48.48 - STRIP=@STRIP@ 48.49 - 48.50 - CGIEXTRAS=@CGIEXTRAS@ 48.51 ---- nagios-3.2.1-ori/common/Makefile.in Wed Jun 17 05:57:21 2009 48.52 -+++ nagios-3.2.1/common/Makefile.in Sun Jun 6 11:03:32 2010 48.53 -@@ -20,8 +20,8 @@ 48.54 - CGIDIR=@sbindir@ 48.55 - HTMLDIR=@datarootdir@ 48.56 - INSTALL=@INSTALL@ 48.57 --INSTALL_OPTS=@INSTALL_OPTS@ 48.58 --COMMAND_OPTS=@COMMAND_OPTS@ 48.59 -+INSTALL_OPTS= 48.60 -+COMMAND_OPTS= 48.61 - 48.62 - CP=@CP@ 48.63 - 48.64 ---- nagios-3.2.1-ori/contrib/Makefile.in Mon May 19 20:01:58 2008 48.65 -+++ nagios-3.2.1/contrib/Makefile.in Sun Jun 6 10:43:34 2010 48.66 -@@ -15,7 +15,7 @@ 48.67 - # Generated automatically from configure script 48.68 - SNPRINTF_O=@SNPRINTF_O@ 48.69 - INSTALL=@INSTALL@ 48.70 --INSTALL_OPTS=@INSTALL_OPTS@ 48.71 -+INSTALL_OPTS= 48.72 - 48.73 - 48.74 - prefix=@prefix@ 48.75 ---- nagios-3.2.1-ori/html/Makefile.in Wed Jul 8 00:34:51 2009 48.76 -+++ nagios-3.2.1/html/Makefile.in Sun Jun 6 10:59:50 2010 48.77 -@@ -10,8 +10,8 @@ 48.78 - CGIDIR=@sbindir@ 48.79 - HTMLDIR=@datadir@ 48.80 - INSTALL=@INSTALL@ 48.81 --INSTALL_OPTS=@INSTALL_OPTS@ 48.82 --COMMAND_OPTS=@COMMAND_OPTS@ 48.83 -+INSTALL_OPTS= 48.84 -+COMMAND_OPTS= 48.85 - 48.86 - CP=@CP@ 48.87 - 48.88 ---- nagios-3.2.1-ori/module/Makefile.in Sat Dec 15 00:02:24 2007 48.89 -+++ nagios-3.2.1/module/Makefile.in Sun Jun 6 11:03:32 2010 48.90 -@@ -19,9 +19,8 @@ 48.91 - exec_prefix=@exec_prefix@ 48.92 - BINDIR=@bindir@ 48.93 - INSTALL=@INSTALL@ 48.94 --INSTALL_OPTS=@INSTALL_OPTS@ 48.95 --COMMAND_OPTS=@COMMAND_OPTS@ 48.96 --STRIP=@STRIP@ 48.97 -+INSTALL_OPTS= 48.98 -+COMMAND_OPTS= 48.99 - 48.100 - CP=@CP@ 48.101 -
49.1 --- a/nagios/stuff/nagios-3.5.0-Makefiles.u Tue Mar 06 03:00:01 2018 +0200 49.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 49.3 @@ -1,98 +0,0 @@ 49.4 ---- nagios-3.2.1-ori/Makefile.in Thu Dec 31 11:12:08 2009 49.5 -+++ nagios-3.2.1/Makefile.in Sun Jun 6 11:03:32 2010 49.6 -@@ -30,8 +30,8 @@ 49.7 - LIBEXECDIR=@libexecdir@ 49.8 - HTMLDIR=@datarootdir@ 49.9 - INSTALL=@INSTALL@ 49.10 --INSTALL_OPTS=@INSTALL_OPTS@ 49.11 --COMMAND_OPTS=@COMMAND_OPTS@ 49.12 -+INSTALL_OPTS= 49.13 -+COMMAND_OPTS= 49.14 - HTTPD_CONF=@HTTPD_CONF@ 49.15 - INIT_DIR=@init_dir@ 49.16 - INIT_OPTS=-o root -g root 49.17 -@@ -264,6 +264,7 @@ 49.18 - @echo "" 49.19 - 49.20 - install-webconf: 49.21 -+ $(INSTALL) -m 755 -d $(DESTDIR)$(HTTPD_CONF) 49.22 - $(INSTALL) -m 644 sample-config/httpd.conf $(DESTDIR)$(HTTPD_CONF)/nagios.conf 49.23 - 49.24 - @echo "" 49.25 ---- nagios-3.2.1-ori/base/Makefile.in Wed Jun 17 05:57:21 2009 49.26 -+++ nagios-3.2.1/base/Makefile.in Sun Jun 6 11:03:32 2010 49.27 -@@ -39,8 +39,8 @@ 49.28 - CGIDIR=@sbindir@ 49.29 - HTMLDIR=@datarootdir@ 49.30 - INSTALL=@INSTALL@ 49.31 --INSTALL_OPTS=@INSTALL_OPTS@ 49.32 --COMMAND_OPTS=@COMMAND_OPTS@ 49.33 -+INSTALL_OPTS= 49.34 -+COMMAND_OPTS= 49.35 - STRIP=@STRIP@ 49.36 - 49.37 - CGIURL=@cgiurl@ 49.38 ---- nagios-3.2.1-ori/cgi/Makefile.in Wed Jun 17 05:57:21 2009 49.39 -+++ nagios-3.2.1/cgi/Makefile.in Sun Jun 6 11:03:32 2010 49.40 -@@ -18,8 +18,8 @@ 49.41 - CGIDIR=@sbindir@ 49.42 - HTMLDIR=@datarootdir@ 49.43 - INSTALL=@INSTALL@ 49.44 --INSTALL_OPTS=@INSTALL_OPTS@ 49.45 --COMMAND_OPTS=@COMMAND_OPTS@ 49.46 -+INSTALL_OPTS= 49.47 -+COMMAND_OPTS= 49.48 - STRIP=@STRIP@ 49.49 - 49.50 - CGIEXTRAS=@CGIEXTRAS@ 49.51 ---- nagios-3.2.1-ori/common/Makefile.in Wed Jun 17 05:57:21 2009 49.52 -+++ nagios-3.2.1/common/Makefile.in Sun Jun 6 11:03:32 2010 49.53 -@@ -20,8 +20,8 @@ 49.54 - CGIDIR=@sbindir@ 49.55 - HTMLDIR=@datarootdir@ 49.56 - INSTALL=@INSTALL@ 49.57 --INSTALL_OPTS=@INSTALL_OPTS@ 49.58 --COMMAND_OPTS=@COMMAND_OPTS@ 49.59 -+INSTALL_OPTS= 49.60 -+COMMAND_OPTS= 49.61 - 49.62 - CP=@CP@ 49.63 - 49.64 ---- nagios-3.2.1-ori/contrib/Makefile.in Mon May 19 20:01:58 2008 49.65 -+++ nagios-3.2.1/contrib/Makefile.in Sun Jun 6 10:43:34 2010 49.66 -@@ -15,7 +15,7 @@ 49.67 - # Generated automatically from configure script 49.68 - SNPRINTF_O=@SNPRINTF_O@ 49.69 - INSTALL=@INSTALL@ 49.70 --INSTALL_OPTS=@INSTALL_OPTS@ 49.71 -+INSTALL_OPTS= 49.72 - 49.73 - 49.74 - prefix=@prefix@ 49.75 ---- nagios-3.2.1-ori/html/Makefile.in Wed Jul 8 00:34:51 2009 49.76 -+++ nagios-3.2.1/html/Makefile.in Sun Jun 6 10:59:50 2010 49.77 -@@ -10,8 +10,8 @@ 49.78 - CGIDIR=@sbindir@ 49.79 - HTMLDIR=@datadir@ 49.80 - INSTALL=@INSTALL@ 49.81 --INSTALL_OPTS=@INSTALL_OPTS@ 49.82 --COMMAND_OPTS=@COMMAND_OPTS@ 49.83 -+INSTALL_OPTS= 49.84 -+COMMAND_OPTS= 49.85 - 49.86 - CP=@CP@ 49.87 - 49.88 ---- nagios-3.2.1-ori/module/Makefile.in Sat Dec 15 00:02:24 2007 49.89 -+++ nagios-3.2.1/module/Makefile.in Sun Jun 6 11:03:32 2010 49.90 -@@ -19,9 +19,8 @@ 49.91 - exec_prefix=@exec_prefix@ 49.92 - BINDIR=@bindir@ 49.93 - INSTALL=@INSTALL@ 49.94 --INSTALL_OPTS=@INSTALL_OPTS@ 49.95 --COMMAND_OPTS=@COMMAND_OPTS@ 49.96 --STRIP=@STRIP@ 49.97 -+INSTALL_OPTS= 49.98 -+COMMAND_OPTS= 49.99 - 49.100 - CP=@CP@ 49.101 -
50.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 50.2 +++ b/nagios/stuff/patches/nagios-3.2.1-Makefiles.u Tue Mar 06 11:29:35 2018 +0200 50.3 @@ -0,0 +1,98 @@ 50.4 +--- nagios-3.2.1-ori/Makefile.in Thu Dec 31 11:12:08 2009 50.5 ++++ nagios-3.2.1/Makefile.in Sun Jun 6 11:03:32 2010 50.6 +@@ -30,8 +30,8 @@ 50.7 + LIBEXECDIR=@libexecdir@ 50.8 + HTMLDIR=@datarootdir@ 50.9 + INSTALL=@INSTALL@ 50.10 +-INSTALL_OPTS=@INSTALL_OPTS@ 50.11 +-COMMAND_OPTS=@COMMAND_OPTS@ 50.12 ++INSTALL_OPTS= 50.13 ++COMMAND_OPTS= 50.14 + HTTPD_CONF=@HTTPD_CONF@ 50.15 + INIT_DIR=@init_dir@ 50.16 + INIT_OPTS=-o root -g root 50.17 +@@ -264,6 +264,7 @@ 50.18 + @echo "" 50.19 + 50.20 + install-webconf: 50.21 ++ $(INSTALL) -m 755 -d $(DESTDIR)$(HTTPD_CONF) 50.22 + $(INSTALL) -m 644 sample-config/httpd.conf $(DESTDIR)$(HTTPD_CONF)/nagios.conf 50.23 + 50.24 + @echo "" 50.25 +--- nagios-3.2.1-ori/base/Makefile.in Wed Jun 17 05:57:21 2009 50.26 ++++ nagios-3.2.1/base/Makefile.in Sun Jun 6 11:03:32 2010 50.27 +@@ -39,8 +39,8 @@ 50.28 + CGIDIR=@sbindir@ 50.29 + HTMLDIR=@datarootdir@ 50.30 + INSTALL=@INSTALL@ 50.31 +-INSTALL_OPTS=@INSTALL_OPTS@ 50.32 +-COMMAND_OPTS=@COMMAND_OPTS@ 50.33 ++INSTALL_OPTS= 50.34 ++COMMAND_OPTS= 50.35 + STRIP=@STRIP@ 50.36 + 50.37 + CGIURL=@cgiurl@ 50.38 +--- nagios-3.2.1-ori/cgi/Makefile.in Wed Jun 17 05:57:21 2009 50.39 ++++ nagios-3.2.1/cgi/Makefile.in Sun Jun 6 11:03:32 2010 50.40 +@@ -18,8 +18,8 @@ 50.41 + CGIDIR=@sbindir@ 50.42 + HTMLDIR=@datarootdir@ 50.43 + INSTALL=@INSTALL@ 50.44 +-INSTALL_OPTS=@INSTALL_OPTS@ 50.45 +-COMMAND_OPTS=@COMMAND_OPTS@ 50.46 ++INSTALL_OPTS= 50.47 ++COMMAND_OPTS= 50.48 + STRIP=@STRIP@ 50.49 + 50.50 + CGIEXTRAS=@CGIEXTRAS@ 50.51 +--- nagios-3.2.1-ori/common/Makefile.in Wed Jun 17 05:57:21 2009 50.52 ++++ nagios-3.2.1/common/Makefile.in Sun Jun 6 11:03:32 2010 50.53 +@@ -20,8 +20,8 @@ 50.54 + CGIDIR=@sbindir@ 50.55 + HTMLDIR=@datarootdir@ 50.56 + INSTALL=@INSTALL@ 50.57 +-INSTALL_OPTS=@INSTALL_OPTS@ 50.58 +-COMMAND_OPTS=@COMMAND_OPTS@ 50.59 ++INSTALL_OPTS= 50.60 ++COMMAND_OPTS= 50.61 + 50.62 + CP=@CP@ 50.63 + 50.64 +--- nagios-3.2.1-ori/contrib/Makefile.in Mon May 19 20:01:58 2008 50.65 ++++ nagios-3.2.1/contrib/Makefile.in Sun Jun 6 10:43:34 2010 50.66 +@@ -15,7 +15,7 @@ 50.67 + # Generated automatically from configure script 50.68 + SNPRINTF_O=@SNPRINTF_O@ 50.69 + INSTALL=@INSTALL@ 50.70 +-INSTALL_OPTS=@INSTALL_OPTS@ 50.71 ++INSTALL_OPTS= 50.72 + 50.73 + 50.74 + prefix=@prefix@ 50.75 +--- nagios-3.2.1-ori/html/Makefile.in Wed Jul 8 00:34:51 2009 50.76 ++++ nagios-3.2.1/html/Makefile.in Sun Jun 6 10:59:50 2010 50.77 +@@ -10,8 +10,8 @@ 50.78 + CGIDIR=@sbindir@ 50.79 + HTMLDIR=@datadir@ 50.80 + INSTALL=@INSTALL@ 50.81 +-INSTALL_OPTS=@INSTALL_OPTS@ 50.82 +-COMMAND_OPTS=@COMMAND_OPTS@ 50.83 ++INSTALL_OPTS= 50.84 ++COMMAND_OPTS= 50.85 + 50.86 + CP=@CP@ 50.87 + 50.88 +--- nagios-3.2.1-ori/module/Makefile.in Sat Dec 15 00:02:24 2007 50.89 ++++ nagios-3.2.1/module/Makefile.in Sun Jun 6 11:03:32 2010 50.90 +@@ -19,9 +19,8 @@ 50.91 + exec_prefix=@exec_prefix@ 50.92 + BINDIR=@bindir@ 50.93 + INSTALL=@INSTALL@ 50.94 +-INSTALL_OPTS=@INSTALL_OPTS@ 50.95 +-COMMAND_OPTS=@COMMAND_OPTS@ 50.96 +-STRIP=@STRIP@ 50.97 ++INSTALL_OPTS= 50.98 ++COMMAND_OPTS= 50.99 + 50.100 + CP=@CP@ 50.101 +
51.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 51.2 +++ b/nagios/stuff/patches/nagios-3.2.3-Makefiles.u Tue Mar 06 11:29:35 2018 +0200 51.3 @@ -0,0 +1,98 @@ 51.4 +--- nagios-3.2.1-ori/Makefile.in Thu Dec 31 11:12:08 2009 51.5 ++++ nagios-3.2.1/Makefile.in Sun Jun 6 11:03:32 2010 51.6 +@@ -30,8 +30,8 @@ 51.7 + LIBEXECDIR=@libexecdir@ 51.8 + HTMLDIR=@datarootdir@ 51.9 + INSTALL=@INSTALL@ 51.10 +-INSTALL_OPTS=@INSTALL_OPTS@ 51.11 +-COMMAND_OPTS=@COMMAND_OPTS@ 51.12 ++INSTALL_OPTS= 51.13 ++COMMAND_OPTS= 51.14 + HTTPD_CONF=@HTTPD_CONF@ 51.15 + INIT_DIR=@init_dir@ 51.16 + INIT_OPTS=-o root -g root 51.17 +@@ -264,6 +264,7 @@ 51.18 + @echo "" 51.19 + 51.20 + install-webconf: 51.21 ++ $(INSTALL) -m 755 -d $(DESTDIR)$(HTTPD_CONF) 51.22 + $(INSTALL) -m 644 sample-config/httpd.conf $(DESTDIR)$(HTTPD_CONF)/nagios.conf 51.23 + 51.24 + @echo "" 51.25 +--- nagios-3.2.1-ori/base/Makefile.in Wed Jun 17 05:57:21 2009 51.26 ++++ nagios-3.2.1/base/Makefile.in Sun Jun 6 11:03:32 2010 51.27 +@@ -39,8 +39,8 @@ 51.28 + CGIDIR=@sbindir@ 51.29 + HTMLDIR=@datarootdir@ 51.30 + INSTALL=@INSTALL@ 51.31 +-INSTALL_OPTS=@INSTALL_OPTS@ 51.32 +-COMMAND_OPTS=@COMMAND_OPTS@ 51.33 ++INSTALL_OPTS= 51.34 ++COMMAND_OPTS= 51.35 + STRIP=@STRIP@ 51.36 + 51.37 + CGIURL=@cgiurl@ 51.38 +--- nagios-3.2.1-ori/cgi/Makefile.in Wed Jun 17 05:57:21 2009 51.39 ++++ nagios-3.2.1/cgi/Makefile.in Sun Jun 6 11:03:32 2010 51.40 +@@ -18,8 +18,8 @@ 51.41 + CGIDIR=@sbindir@ 51.42 + HTMLDIR=@datarootdir@ 51.43 + INSTALL=@INSTALL@ 51.44 +-INSTALL_OPTS=@INSTALL_OPTS@ 51.45 +-COMMAND_OPTS=@COMMAND_OPTS@ 51.46 ++INSTALL_OPTS= 51.47 ++COMMAND_OPTS= 51.48 + STRIP=@STRIP@ 51.49 + 51.50 + CGIEXTRAS=@CGIEXTRAS@ 51.51 +--- nagios-3.2.1-ori/common/Makefile.in Wed Jun 17 05:57:21 2009 51.52 ++++ nagios-3.2.1/common/Makefile.in Sun Jun 6 11:03:32 2010 51.53 +@@ -20,8 +20,8 @@ 51.54 + CGIDIR=@sbindir@ 51.55 + HTMLDIR=@datarootdir@ 51.56 + INSTALL=@INSTALL@ 51.57 +-INSTALL_OPTS=@INSTALL_OPTS@ 51.58 +-COMMAND_OPTS=@COMMAND_OPTS@ 51.59 ++INSTALL_OPTS= 51.60 ++COMMAND_OPTS= 51.61 + 51.62 + CP=@CP@ 51.63 + 51.64 +--- nagios-3.2.1-ori/contrib/Makefile.in Mon May 19 20:01:58 2008 51.65 ++++ nagios-3.2.1/contrib/Makefile.in Sun Jun 6 10:43:34 2010 51.66 +@@ -15,7 +15,7 @@ 51.67 + # Generated automatically from configure script 51.68 + SNPRINTF_O=@SNPRINTF_O@ 51.69 + INSTALL=@INSTALL@ 51.70 +-INSTALL_OPTS=@INSTALL_OPTS@ 51.71 ++INSTALL_OPTS= 51.72 + 51.73 + 51.74 + prefix=@prefix@ 51.75 +--- nagios-3.2.1-ori/html/Makefile.in Wed Jul 8 00:34:51 2009 51.76 ++++ nagios-3.2.1/html/Makefile.in Sun Jun 6 10:59:50 2010 51.77 +@@ -10,8 +10,8 @@ 51.78 + CGIDIR=@sbindir@ 51.79 + HTMLDIR=@datadir@ 51.80 + INSTALL=@INSTALL@ 51.81 +-INSTALL_OPTS=@INSTALL_OPTS@ 51.82 +-COMMAND_OPTS=@COMMAND_OPTS@ 51.83 ++INSTALL_OPTS= 51.84 ++COMMAND_OPTS= 51.85 + 51.86 + CP=@CP@ 51.87 + 51.88 +--- nagios-3.2.1-ori/module/Makefile.in Sat Dec 15 00:02:24 2007 51.89 ++++ nagios-3.2.1/module/Makefile.in Sun Jun 6 11:03:32 2010 51.90 +@@ -19,9 +19,8 @@ 51.91 + exec_prefix=@exec_prefix@ 51.92 + BINDIR=@bindir@ 51.93 + INSTALL=@INSTALL@ 51.94 +-INSTALL_OPTS=@INSTALL_OPTS@ 51.95 +-COMMAND_OPTS=@COMMAND_OPTS@ 51.96 +-STRIP=@STRIP@ 51.97 ++INSTALL_OPTS= 51.98 ++COMMAND_OPTS= 51.99 + 51.100 + CP=@CP@ 51.101 +
52.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 52.2 +++ b/nagios/stuff/patches/nagios-3.5.0-Makefiles.u Tue Mar 06 11:29:35 2018 +0200 52.3 @@ -0,0 +1,98 @@ 52.4 +--- nagios-3.2.1-ori/Makefile.in Thu Dec 31 11:12:08 2009 52.5 ++++ nagios-3.2.1/Makefile.in Sun Jun 6 11:03:32 2010 52.6 +@@ -30,8 +30,8 @@ 52.7 + LIBEXECDIR=@libexecdir@ 52.8 + HTMLDIR=@datarootdir@ 52.9 + INSTALL=@INSTALL@ 52.10 +-INSTALL_OPTS=@INSTALL_OPTS@ 52.11 +-COMMAND_OPTS=@COMMAND_OPTS@ 52.12 ++INSTALL_OPTS= 52.13 ++COMMAND_OPTS= 52.14 + HTTPD_CONF=@HTTPD_CONF@ 52.15 + INIT_DIR=@init_dir@ 52.16 + INIT_OPTS=-o root -g root 52.17 +@@ -264,6 +264,7 @@ 52.18 + @echo "" 52.19 + 52.20 + install-webconf: 52.21 ++ $(INSTALL) -m 755 -d $(DESTDIR)$(HTTPD_CONF) 52.22 + $(INSTALL) -m 644 sample-config/httpd.conf $(DESTDIR)$(HTTPD_CONF)/nagios.conf 52.23 + 52.24 + @echo "" 52.25 +--- nagios-3.2.1-ori/base/Makefile.in Wed Jun 17 05:57:21 2009 52.26 ++++ nagios-3.2.1/base/Makefile.in Sun Jun 6 11:03:32 2010 52.27 +@@ -39,8 +39,8 @@ 52.28 + CGIDIR=@sbindir@ 52.29 + HTMLDIR=@datarootdir@ 52.30 + INSTALL=@INSTALL@ 52.31 +-INSTALL_OPTS=@INSTALL_OPTS@ 52.32 +-COMMAND_OPTS=@COMMAND_OPTS@ 52.33 ++INSTALL_OPTS= 52.34 ++COMMAND_OPTS= 52.35 + STRIP=@STRIP@ 52.36 + 52.37 + CGIURL=@cgiurl@ 52.38 +--- nagios-3.2.1-ori/cgi/Makefile.in Wed Jun 17 05:57:21 2009 52.39 ++++ nagios-3.2.1/cgi/Makefile.in Sun Jun 6 11:03:32 2010 52.40 +@@ -18,8 +18,8 @@ 52.41 + CGIDIR=@sbindir@ 52.42 + HTMLDIR=@datarootdir@ 52.43 + INSTALL=@INSTALL@ 52.44 +-INSTALL_OPTS=@INSTALL_OPTS@ 52.45 +-COMMAND_OPTS=@COMMAND_OPTS@ 52.46 ++INSTALL_OPTS= 52.47 ++COMMAND_OPTS= 52.48 + STRIP=@STRIP@ 52.49 + 52.50 + CGIEXTRAS=@CGIEXTRAS@ 52.51 +--- nagios-3.2.1-ori/common/Makefile.in Wed Jun 17 05:57:21 2009 52.52 ++++ nagios-3.2.1/common/Makefile.in Sun Jun 6 11:03:32 2010 52.53 +@@ -20,8 +20,8 @@ 52.54 + CGIDIR=@sbindir@ 52.55 + HTMLDIR=@datarootdir@ 52.56 + INSTALL=@INSTALL@ 52.57 +-INSTALL_OPTS=@INSTALL_OPTS@ 52.58 +-COMMAND_OPTS=@COMMAND_OPTS@ 52.59 ++INSTALL_OPTS= 52.60 ++COMMAND_OPTS= 52.61 + 52.62 + CP=@CP@ 52.63 + 52.64 +--- nagios-3.2.1-ori/contrib/Makefile.in Mon May 19 20:01:58 2008 52.65 ++++ nagios-3.2.1/contrib/Makefile.in Sun Jun 6 10:43:34 2010 52.66 +@@ -15,7 +15,7 @@ 52.67 + # Generated automatically from configure script 52.68 + SNPRINTF_O=@SNPRINTF_O@ 52.69 + INSTALL=@INSTALL@ 52.70 +-INSTALL_OPTS=@INSTALL_OPTS@ 52.71 ++INSTALL_OPTS= 52.72 + 52.73 + 52.74 + prefix=@prefix@ 52.75 +--- nagios-3.2.1-ori/html/Makefile.in Wed Jul 8 00:34:51 2009 52.76 ++++ nagios-3.2.1/html/Makefile.in Sun Jun 6 10:59:50 2010 52.77 +@@ -10,8 +10,8 @@ 52.78 + CGIDIR=@sbindir@ 52.79 + HTMLDIR=@datadir@ 52.80 + INSTALL=@INSTALL@ 52.81 +-INSTALL_OPTS=@INSTALL_OPTS@ 52.82 +-COMMAND_OPTS=@COMMAND_OPTS@ 52.83 ++INSTALL_OPTS= 52.84 ++COMMAND_OPTS= 52.85 + 52.86 + CP=@CP@ 52.87 + 52.88 +--- nagios-3.2.1-ori/module/Makefile.in Sat Dec 15 00:02:24 2007 52.89 ++++ nagios-3.2.1/module/Makefile.in Sun Jun 6 11:03:32 2010 52.90 +@@ -19,9 +19,8 @@ 52.91 + exec_prefix=@exec_prefix@ 52.92 + BINDIR=@bindir@ 52.93 + INSTALL=@INSTALL@ 52.94 +-INSTALL_OPTS=@INSTALL_OPTS@ 52.95 +-COMMAND_OPTS=@COMMAND_OPTS@ 52.96 +-STRIP=@STRIP@ 52.97 ++INSTALL_OPTS= 52.98 ++COMMAND_OPTS= 52.99 + 52.100 + CP=@CP@ 52.101 +
53.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 53.2 +++ b/nagios/stuff/patches/series Tue Mar 06 11:29:35 2018 +0200 53.3 @@ -0,0 +1,1 @@ 53.4 +-p1|nagios-3.5.0-Makefiles.u
54.1 --- a/nbs-dev/receipt Tue Mar 06 03:00:01 2018 +0200 54.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 54.3 @@ -1,18 +0,0 @@ 54.4 -# SliTaz package receipt. 54.5 - 54.6 -PACKAGE="nbs-dev" 54.7 -VERSION="2007svn" 54.8 -CATEGORY="development" 54.9 -SHORT_DESC="Network Broadcast Sound development files." 54.10 -MAINTAINER="pascal.bellard@slitaz.org" 54.11 -LICENSE="GPL2" 54.12 -WEB_SITE="http://svn.digium.com/view/nbs" 54.13 -WANTED="nbs" 54.14 - 54.15 -# Rules to gen a SliTaz package suitable for Tazpkg. 54.16 -genpkg_rules() 54.17 -{ 54.18 - mkdir -p $fs/usr/lib 54.19 - cp -a $install/usr/lib/*.*a $fs/usr/lib 54.20 - cp -a $install/usr/include $fs/usr 54.21 -}
55.1 --- a/nbs/receipt Tue Mar 06 03:00:01 2018 +0200 55.2 +++ b/nbs/receipt Tue Mar 06 11:29:35 2018 +0200 55.3 @@ -1,33 +1,38 @@ 55.4 -# SliTaz package receipt. 55.5 +# SliTaz package receipt v2. 55.6 55.7 PACKAGE="nbs" 55.8 VERSION="2007svn" 55.9 CATEGORY="network" 55.10 -SHORT_DESC="Network Broadcast Sound." 55.11 +SHORT_DESC="Network Broadcast Sound" 55.12 MAINTAINER="pascal.bellard@slitaz.org" 55.13 LICENSE="GPL2" 55.14 WEB_SITE="http://svn.digium.com/view/nbs" 55.15 + 55.16 TARBALL="$PACKAGE-$VERSION.tar.bz2" 55.17 WGET_URL="subversion|http://svn.digium.com/svn/nbs/trunk" 55.18 55.19 BUILD_DEPENDS="subversion" 55.20 +SPLIT="nbs-dev" 55.21 55.22 -# Rules to configure and make the package. 55.23 -compile_rules() 55.24 -{ 55.25 - cd $src 55.26 +compile_rules() { 55.27 patch -p0 < $stuff/Makefile.u && 55.28 make && 55.29 make DESTDIR=$DESTDIR install 55.30 } 55.31 55.32 -# Rules to gen a SliTaz package suitable for Tazpkg. 55.33 -genpkg_rules() 55.34 -{ 55.35 - mkdir -p $fs/usr/lib 55.36 - cp -a $install/usr/bin $fs/usr 55.37 - cp -a $install/usr/sbin $fs/usr 55.38 - cp -a $install/usr/lib/*.so* $fs/usr/lib 55.39 - ln -s libnbs.so.1.0 $fs/usr/lib/libnbs.so.1 55.40 +genpkg_rules() { 55.41 + case $PACKAGE in 55.42 + nbs) 55.43 + mkdir -p $fs/usr/lib 55.44 + cp -a $install/usr/bin $fs/usr 55.45 + cp -a $install/usr/sbin $fs/usr 55.46 + cp -a $install/usr/lib/*.so* $fs/usr/lib 55.47 + ln -s libnbs.so.1.0 $fs/usr/lib/libnbs.so.1 55.48 + ;; 55.49 + *-dev) 55.50 + mkdir -p $fs/usr/lib 55.51 + cp -a $install/usr/lib/*.*a $fs/usr/lib 55.52 + cp -a $install/usr/include $fs/usr 55.53 + ;; 55.54 + esac 55.55 } 55.56 -
56.1 --- a/oniguruma-dev/receipt Tue Mar 06 03:00:01 2018 +0200 56.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 56.3 @@ -1,18 +0,0 @@ 56.4 -# SliTaz package receipt. 56.5 - 56.6 -PACKAGE="oniguruma-dev" 56.7 -VERSION="6.2.0" 56.8 -CATEGORY="development" 56.9 -SHORT_DESC="Regular expression library (development files)" 56.10 -MAINTAINER="al.bobylev@gmail.com" 56.11 -LICENSE="BSD" 56.12 -WEB_SITE="https://github.com/kkos/oniguruma" 56.13 - 56.14 -WANTED="oniguruma" 56.15 -DEPENDS="oniguruma" 56.16 - 56.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 56.18 -genpkg_rules() 56.19 -{ 56.20 - copy *.h *.a *.la *.pc onig-config 56.21 -}
57.1 --- a/oniguruma/receipt Tue Mar 06 03:00:01 2018 +0200 57.2 +++ b/oniguruma/receipt Tue Mar 06 11:29:35 2018 +0200 57.3 @@ -1,4 +1,4 @@ 57.4 -# SliTaz package receipt. 57.5 +# SliTaz package receipt v2. 57.6 57.7 PACKAGE="oniguruma" 57.8 VERSION="6.2.0" 57.9 @@ -12,19 +12,18 @@ 57.10 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz" 57.11 57.12 BUILD_DEPENDS="automake libtool" 57.13 +SPLIT="oniguruma-dev" 57.14 57.15 -# Rules to configure and make the package. 57.16 -compile_rules() 57.17 -{ 57.18 +compile_rules() { 57.19 autoreconf -vfi && 57.20 - ./configure $CONFIGURE_ARGS && make && make install && 57.21 + ./configure $CONFIGURE_ARGS && make && make install || return 1 57.22 57.23 - docdir=$install/usr/share/doc/oniguruma-$VERSION && 57.24 - mkdir -p $docdir && cp doc/* $docdir && rm $docdir/*.ja 57.25 + cook_pick_docs doc/* 57.26 } 57.27 57.28 -# Rules to gen a SliTaz package suitable for Tazpkg. 57.29 -genpkg_rules() 57.30 -{ 57.31 - copy *.so* 57.32 +genpkg_rules() { 57.33 + case $PACKAGE in 57.34 + oniguruma) copy @std;; 57.35 + *-dev) copy @dev;; 57.36 + esac 57.37 }
58.1 --- a/opencsg-dev/receipt Tue Mar 06 03:00:01 2018 +0200 58.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 58.3 @@ -1,20 +0,0 @@ 58.4 -# SliTaz package receipt. 58.5 - 58.6 -PACKAGE="opencsg-dev" 58.7 -VERSION="1.4.0" 58.8 -CATEGORY="development" 58.9 -SHORT_DESC="The CSG rendering library, development files." 58.10 -MAINTAINER="pascal.bellard@slitaz.org" 58.11 -LICENSE="GPL2" 58.12 -WEB_SITE="http://www.opencsg.org/" 58.13 -WANTED="opencsg" 58.14 - 58.15 -DEPENDS="opencsg" 58.16 - 58.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 58.18 -genpkg_rules() 58.19 -{ 58.20 - mkdir -p $fs/usr 58.21 - cp -a $install/usr/bin $fs/usr 58.22 - cp -a $install/usr/include $fs/usr 58.23 -}
59.1 --- a/opencsg/receipt Tue Mar 06 03:00:01 2018 +0200 59.2 +++ b/opencsg/receipt Tue Mar 06 11:29:35 2018 +0200 59.3 @@ -1,24 +1,21 @@ 59.4 -# SliTaz package receipt. 59.5 +# SliTaz package receipt v2. 59.6 59.7 PACKAGE="opencsg" 59.8 -SOURCE="OpenCSG" 59.9 VERSION="1.4.0" 59.10 CATEGORY="graphics" 59.11 -SHORT_DESC="The CSG rendering library." 59.12 +SHORT_DESC="The CSG rendering library" 59.13 MAINTAINER="pascal.bellard@slitaz.org" 59.14 LICENSE="GPL2" 59.15 -TARBALL="$SOURCE-$VERSION.tar.gz" 59.16 WEB_SITE="http://www.opencsg.org/" 59.17 + 59.18 +TARBALL="OpenCSG-$VERSION.tar.gz" 59.19 WGET_URL="${WEB_SITE}$TARBALL" 59.20 59.21 -DEPENDS="glew mesa" 59.22 BUILD_DEPENDS="glew-dev mesa-dev freeglut-dev" 59.23 +SPLIT="opencsg-dev" 59.24 59.25 -# Rules to configure and make the package. 59.26 -# 59.27 -compile_rules() 59.28 -{ 59.29 - for i in /usr/lib /usr/bin /bin /usr/include ; do 59.30 +compile_rules() { 59.31 + for i in /usr/lib /usr/bin /bin /usr/include; do 59.32 mkdir -p $DESTDIR$i 59.33 done 59.34 find -name Makefile | xargs sed -i 's|usr/local|usr|' 59.35 @@ -26,9 +23,17 @@ 59.36 make INSTALL_ROOT=$DESTDIR install 59.37 } 59.38 59.39 -# Rules to gen a SliTaz package suitable for Tazpkg. 59.40 -genpkg_rules() 59.41 -{ 59.42 - mkdir -p $fs/usr 59.43 - cp -a $install/usr/lib $fs/usr 59.44 +genpkg_rules() { 59.45 + case $PACKAGE in 59.46 + opencsg) 59.47 + mkdir -p $fs/usr 59.48 + cp -a $install/usr/lib $fs/usr 59.49 + DEPENDS="glew mesa" 59.50 + ;; 59.51 + *-dev) 59.52 + mkdir -p $fs/usr 59.53 + cp -a $install/usr/bin $fs/usr 59.54 + cp -a $install/usr/include $fs/usr 59.55 + ;; 59.56 + esac 59.57 }
60.1 --- a/openexr-dev/receipt Tue Mar 06 03:00:01 2018 +0200 60.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 60.3 @@ -1,22 +0,0 @@ 60.4 -# SliTaz package receipt. 60.5 - 60.6 -PACKAGE="openexr-dev" 60.7 -VERSION="2.2.0" 60.8 -CATEGORY="development" 60.9 -SHORT_DESC="devel files for openexr" 60.10 -MAINTAINER="slaxemulator@gmail.com" 60.11 -LICENSE="BSD" 60.12 -WEB_SITE="http://www.openexr.org/" 60.13 -WANTED="openexr" 60.14 - 60.15 -DEPENDS="openexr pkg-config" 60.16 - 60.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 60.18 -genpkg_rules() 60.19 -{ 60.20 - mkdir -p $fs/usr/lib $fs/usr/share 60.21 - cp -a $install/usr/include $fs/usr 60.22 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 60.23 - cp -a $install/usr/lib/*.*a $fs/usr/lib 60.24 - cp -a $install/usr/share/aclocal $fs/usr/share 60.25 -}
61.1 --- a/openexr/receipt Tue Mar 06 03:00:01 2018 +0200 61.2 +++ b/openexr/receipt Tue Mar 06 11:29:35 2018 +0200 61.3 @@ -1,30 +1,39 @@ 61.4 -# SliTaz package receipt. 61.5 +# SliTaz package receipt v2. 61.6 61.7 PACKAGE="openexr" 61.8 VERSION="2.2.0" 61.9 CATEGORY="x-window" 61.10 -SHORT_DESC="openexr library for EXR images" 61.11 +SHORT_DESC="Library for EXR images" 61.12 MAINTAINER="slaxemulator@gmail.com" 61.13 LICENSE="BSD" 61.14 +WEB_SITE="http://www.openexr.org/" 61.15 + 61.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 61.17 -WEB_SITE="http://www.openexr.org/" 61.18 WGET_URL="http://savannah.nongnu.org/download/$PACKAGE/$TARBALL" 61.19 61.20 -DEPENDS="zlib ilmbase" 61.21 BUILD_DEPENDS="zlib zlib-dev ilmbase-dev" 61.22 +SPLIT="openexr-dev" 61.23 61.24 -# Rules to configure and make the package. 61.25 -compile_rules() 61.26 -{ 61.27 +compile_rules() { 61.28 ./configure \ 61.29 $CONFIGURE_ARGS && 61.30 make && make install 61.31 } 61.32 61.33 -# Rules to gen a SliTaz package suitable for Tazpkg. 61.34 -genpkg_rules() 61.35 -{ 61.36 - mkdir -p $fs/usr/lib 61.37 - cp -a $install/usr/bin $fs/usr 61.38 - cp -a $install/usr/lib/*.so* $fs/usr/lib 61.39 +genpkg_rules() { 61.40 + case $PACKAGE in 61.41 + openexr) 61.42 + mkdir -p $fs/usr/lib 61.43 + cp -a $install/usr/bin $fs/usr 61.44 + cp -a $install/usr/lib/*.so* $fs/usr/lib 61.45 + DEPENDS="zlib ilmbase" 61.46 + ;; 61.47 + *-dev) 61.48 + mkdir -p $fs/usr/lib $fs/usr/share 61.49 + cp -a $install/usr/include $fs/usr 61.50 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 61.51 + cp -a $install/usr/lib/*.*a $fs/usr/lib 61.52 + cp -a $install/usr/share/aclocal $fs/usr/share 61.53 + ;; 61.54 + esac 61.55 }
62.1 --- a/ortp-dev/receipt Tue Mar 06 03:00:01 2018 +0200 62.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 62.3 @@ -1,21 +0,0 @@ 62.4 -# SliTaz package receipt. 62.5 - 62.6 -PACKAGE="ortp-dev" 62.7 -VERSION="0.20.0" 62.8 -CATEGORY="development" 62.9 -SHORT_DESC="Library implementing the Real-time Transport Protocol (RFC3550), development files." 62.10 -MAINTAINER="pascal.bellard@slitaz.org" 62.11 -LICENSE="LGPL2.1" 62.12 -WEB_SITE="http://freecode.com/projects/ortp" 62.13 -WANTED="ortp" 62.14 - 62.15 -DEPENDS="ortp pkg-config" 62.16 - 62.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 62.18 -genpkg_rules() 62.19 -{ 62.20 - mkdir -p $fs/usr/lib 62.21 - cp -a $install/usr/lib/*a $fs/usr/lib 62.22 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 62.23 - cp -a $install/usr/include $fs/usr 62.24 -}
63.1 --- a/ortp/receipt Tue Mar 06 03:00:01 2018 +0200 63.2 +++ b/ortp/receipt Tue Mar 06 11:29:35 2018 +0200 63.3 @@ -1,28 +1,37 @@ 63.4 -# SliTaz package receipt. 63.5 +# SliTaz package receipt v2. 63.6 63.7 PACKAGE="ortp" 63.8 VERSION="0.20.0" 63.9 CATEGORY="network" 63.10 -SHORT_DESC="Library implementing the Real-time Transport Protocol (RFC3550)." 63.11 +SHORT_DESC="Library implementing the Real-time Transport Protocol (RFC3550)" 63.12 MAINTAINER="pascal.bellard@slitaz.org" 63.13 LICENSE="LGPL2.1" 63.14 +WEB_SITE="http://freecode.com/projects/ortp" 63.15 + 63.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 63.17 -WEB_SITE="http://freecode.com/projects/ortp" 63.18 WGET_URL="http://download-mirror.savannah.gnu.org/releases/linphone/$PACKAGE/sources/$TARBALL" 63.19 63.20 -# Rules to configure and make the package. 63.21 -compile_rules() 63.22 -{ 63.23 - cd $src 63.24 - ./configure --prefix=/usr \ 63.25 +SPLIT="ortp-dev" 63.26 + 63.27 +compile_rules() { 63.28 + ./configure \ 63.29 + --prefix=/usr \ 63.30 $CONFIGURE_ARGS && 63.31 make && 63.32 make DESTDIR=$DESTDIR install 63.33 } 63.34 63.35 -# Rules to gen a SliTaz package suitable for Tazpkg. 63.36 -genpkg_rules() 63.37 -{ 63.38 - mkdir -p $fs/usr/lib 63.39 - cp -a $install/usr/lib/*.so* $fs/usr/lib 63.40 +genpkg_rules() { 63.41 + case $PACKAGE in 63.42 + ortp) 63.43 + mkdir -p $fs/usr/lib 63.44 + cp -a $install/usr/lib/*.so* $fs/usr/lib 63.45 + ;; 63.46 + *-dev) 63.47 + mkdir -p $fs/usr/lib 63.48 + cp -a $install/usr/lib/*a $fs/usr/lib 63.49 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 63.50 + cp -a $install/usr/include $fs/usr 63.51 + ;; 63.52 + esac 63.53 }
64.1 --- a/rlog-dev/receipt Tue Mar 06 03:00:01 2018 +0200 64.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 64.3 @@ -1,21 +0,0 @@ 64.4 -# SliTaz package receipt. 64.5 - 64.6 -PACKAGE="rlog-dev" 64.7 -VERSION="1.4" 64.8 -CATEGORY="development" 64.9 -SHORT_DESC="C++ logging library." 64.10 -MAINTAINER="b1+slitaz@nagel.org" 64.11 -LICENSE="LGPL2.1" 64.12 -WANTED="rlog" 64.13 -WEB_SITE="http://www.arg0.net/rlog" 64.14 - 64.15 -DEPENDS="pkg-config" 64.16 - 64.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 64.18 -genpkg_rules() 64.19 -{ 64.20 - mkdir -p $fs/usr/lib 64.21 - cp -a $install/usr/include $fs/usr 64.22 - cp -a $install/usr/lib/*.*a $fs/usr/lib 64.23 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 64.24 -}
65.1 --- a/rlog/receipt Tue Mar 06 03:00:01 2018 +0200 65.2 +++ b/rlog/receipt Tue Mar 06 11:29:35 2018 +0200 65.3 @@ -1,30 +1,35 @@ 65.4 -# SliTaz package receipt. 65.5 +# SliTaz package receipt v2. 65.6 65.7 PACKAGE="rlog" 65.8 VERSION="1.4" 65.9 CATEGORY="misc" 65.10 -SHORT_DESC="C++ logging library." 65.11 +SHORT_DESC="C++ logging library" 65.12 MAINTAINER="b1+slitaz@nagel.org" 65.13 LICENSE="LGPL2.1" 65.14 +WEB_SITE="http://www.arg0.net/rlog" 65.15 + 65.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 65.17 -WEB_SITE="http://www.arg0.net/rlog" 65.18 WGET_URL="http://rlog.googlecode.com/files/$TARBALL" 65.19 -TAGS="C++ log" 65.20 65.21 -DEPENDS="gcc-lib-base" 65.22 +SPLIT="rlog-dev" 65.23 65.24 -# Rules to configure and make the package. 65.25 -compile_rules() 65.26 -{ 65.27 - cd $src 65.28 - ./configure --prefix=/usr $CONFIGURE_ARGS && 65.29 +compile_rules() { 65.30 + ./configure \ 65.31 + --prefix=/usr \ 65.32 + $CONFIGURE_ARGS && 65.33 make && 65.34 make DESTDIR=$DESTDIR install 65.35 } 65.36 65.37 -# Rules to gen a SliTaz package suitable for Tazpkg. 65.38 -genpkg_rules() 65.39 -{ 65.40 - mkdir -p $fs/usr/lib 65.41 - cp -a $install/usr/lib/*.so* $fs/usr/lib 65.42 +genpkg_rules() { 65.43 + case $PACKAGE in 65.44 + rlog) 65.45 + copy @std 65.46 + DEPENDS="gcc-lib-base" 65.47 + TAGS="C++ log" 65.48 + ;; 65.49 + *-dev) 65.50 + copy @dev 65.51 + ;; 65.52 + esac 65.53 }
66.1 --- a/rtaudio-dev/receipt Tue Mar 06 03:00:01 2018 +0200 66.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 66.3 @@ -1,21 +0,0 @@ 66.4 -# SliTaz package receipt. 66.5 - 66.6 -PACKAGE="rtaudio-dev" 66.7 -VERSION="4.0.11" 66.8 -CATEGORY="development" 66.9 -SHORT_DESC="Rtaudio C++ classes devel files." 66.10 -MAINTAINER="pankso@slitaz.org" 66.11 -LICENSE="MIT" 66.12 -WEB_SITE="http://www.music.mcgill.ca/~gary/rtaudio/" 66.13 -WANTED="rtaudio" 66.14 - 66.15 -# Rules to gen a SliTaz package suitable for Tazpkg. 66.16 -genpkg_rules() 66.17 -{ 66.18 - mkdir -p $fs/usr/bin $fs/usr/include/rtaudio 66.19 - cp -a $src/rtaudio-config $fs/usr/bin 66.20 - cp -a $src/*.h $fs/usr/include/rtaudio 66.21 - cp -a $src/include/*.h $fs/usr/include/rtaudio 66.22 - # GCC fix 66.23 - sed -i "/inline/s/;$//" "$fs/usr/include/rtaudio/RtAudio.h" 66.24 -}
67.1 --- a/rtaudio/receipt Tue Mar 06 03:00:01 2018 +0200 67.2 +++ b/rtaudio/receipt Tue Mar 06 11:29:35 2018 +0200 67.3 @@ -1,21 +1,20 @@ 67.4 -# SliTaz package receipt. 67.5 +# SliTaz package receipt v2. 67.6 67.7 PACKAGE="rtaudio" 67.8 VERSION="4.0.11" 67.9 CATEGORY="multimedia" 67.10 -SHORT_DESC="Common API for realtime audio input/output (C++ classes)." 67.11 +SHORT_DESC="Common API for realtime audio input/output (C++ classes)" 67.12 MAINTAINER="pankso@slitaz.org" 67.13 LICENSE="MIT" 67.14 +WEB_SITE="http://www.music.mcgill.ca/~gary/rtaudio/" 67.15 + 67.16 TARBALL="${PACKAGE}-${VERSION}.tar.gz" 67.17 -WEB_SITE="http://www.music.mcgill.ca/~gary/rtaudio/" 67.18 WGET_URL="http://www.music.mcgill.ca/~gary/rtaudio/release/$TARBALL" 67.19 67.20 -DEPENDS="alsa-lib jack" 67.21 BUILD_DEPENDS="alsa-lib-dev jack-dev" 67.22 +SPLIT="rtaudio-dev" 67.23 67.24 -# Rules to configure and make the package. 67.25 -compile_rules() 67.26 -{ 67.27 +compile_rules() { 67.28 ./configure \ 67.29 --prefix=/usr \ 67.30 --with-alsa \ 67.31 @@ -28,13 +27,27 @@ 67.32 #python setup.py build 67.33 #python setup.py install --root="$DESTDIR" 67.34 echo "Continuing, any error will remine in pkg build..." 67.35 + 67.36 + mkdir -p $install/usr/lib 67.37 + cp -a $src/librtaudio.so* $install/usr/lib 67.38 + ln -s librtaudio.so.$VERSION $install/usr/lib/librtaudio.so.4 67.39 + 67.40 + mkdir -p $install/usr/bin $install/usr/include/rtaudio 67.41 + cp -a $src/rtaudio-config $install/usr/bin 67.42 + cp -a $src/*.h $install/usr/include/rtaudio 67.43 + cp -a $src/include/*.h $install/usr/include/rtaudio 67.44 + # GCC fix 67.45 + sed -i '/inline/ s|;$||' $install/usr/include/rtaudio/RtAudio.h 67.46 } 67.47 67.48 -# Rules to gen a SliTaz package suitable for Tazpkg. 67.49 -genpkg_rules() 67.50 -{ 67.51 - mkdir -p $fs/usr/lib 67.52 - cp -a $src/librtaudio.so* $fs/usr/lib 67.53 - cd $fs/usr/lib 67.54 - ln -s librtaudio.so.$VERSION librtaudio.so.4 67.55 +genpkg_rules() { 67.56 + case $PACKAGE in 67.57 + rtaudio) 67.58 + copy @std 67.59 + DEPENDS="alsa-lib jack" 67.60 + ;; 67.61 + *-dev) 67.62 + copy @dev 67.63 + ;; 67.64 + esac 67.65 }
68.1 --- a/sleuthkit-dev/receipt Tue Mar 06 03:00:01 2018 +0200 68.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 68.3 @@ -1,21 +0,0 @@ 68.4 -# SliTaz package receipt. 68.5 - 68.6 -PACKAGE="sleuthkit-dev" 68.7 -VERSION="3.2.3" 68.8 -CATEGORY="development" 68.9 -SHORT_DESC="devel files for sleuthkit." 68.10 -MAINTAINER="slaxemulator@gmail.com" 68.11 -LICENSE="GPL2" 68.12 -WEB_SITE="http://www.sleuthkit.org/sleuthkit" 68.13 -WANTED="sleuthkit" 68.14 - 68.15 -DEPENDS="sleuthkit" 68.16 - 68.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 68.18 -genpkg_rules() 68.19 -{ 68.20 - mkdir -p $fs/usr/lib 68.21 - cp -a $install/usr/lib/*.*a $fs/usr/lib 68.22 - cp -a $install/usr/include $fs/usr 68.23 -} 68.24 -
69.1 --- a/sleuthkit/receipt Tue Mar 06 03:00:01 2018 +0200 69.2 +++ b/sleuthkit/receipt Tue Mar 06 11:29:35 2018 +0200 69.3 @@ -1,22 +1,21 @@ 69.4 -# SliTaz package receipt. 69.5 +# SliTaz package receipt v2. 69.6 69.7 PACKAGE="sleuthkit" 69.8 VERSION="3.2.3" 69.9 CATEGORY="misc" 69.10 -SHORT_DESC="File system and media management forensic analysis tools (supports NTFS, FAT, UFS1/2, FFS, Ext2 and Ext3)" 69.11 +SHORT_DESC="File system and media management forensic analysis tools (supports \ 69.12 +NTFS, FAT, UFS1/2, FFS, Ext2 and Ext3)" 69.13 MAINTAINER="slaxemulator@gmail.com" 69.14 LICENSE="GPL2" 69.15 +WEB_SITE="http://www.sleuthkit.org/sleuthkit" 69.16 + 69.17 TARBALL="$PACKAGE-$VERSION.tar.gz" 69.18 -WEB_SITE="http://www.sleuthkit.org/sleuthkit" 69.19 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 69.20 69.21 -DEPENDS="perl" 69.22 BUILD_DEPENDS="perl sqlite3-dev libpthread-stubs" 69.23 +SPLIT="sleuthkit-dev" 69.24 69.25 -# Rules to configure and make the package. 69.26 -compile_rules() 69.27 -{ 69.28 - cd $src 69.29 +compile_rules() { 69.30 ./configure \ 69.31 --prefix=/usr \ 69.32 --infodir=/usr/share/info \ 69.33 @@ -27,12 +26,19 @@ 69.34 make LDFLAGS+="-lpthread -ldl" && make DESTDIR=$DESTDIR install 69.35 } 69.36 69.37 -# Rules to gen a SliTaz package suitable for Tazpkg. 69.38 -genpkg_rules() 69.39 -{ 69.40 - mkdir -p $fs/usr/lib $fs/usr/share 69.41 - cp -a $install/usr/bin $fs/usr 69.42 - cp -a $install/usr/lib/*.so* $fs/usr/lib 69.43 - cp -a $install/usr/share/tsk3 $fs/usr/share 69.44 +genpkg_rules() { 69.45 + case $PACKAGE in 69.46 + sleuthkit) 69.47 + mkdir -p $fs/usr/lib $fs/usr/share 69.48 + cp -a $install/usr/bin $fs/usr 69.49 + cp -a $install/usr/lib/*.so* $fs/usr/lib 69.50 + cp -a $install/usr/share/tsk3 $fs/usr/share 69.51 + DEPENDS="perl" 69.52 + ;; 69.53 + *-dev) 69.54 + mkdir -p $fs/usr/lib 69.55 + cp -a $install/usr/lib/*.*a $fs/usr/lib 69.56 + cp -a $install/usr/include $fs/usr 69.57 + ;; 69.58 + esac 69.59 } 69.60 -
70.1 --- a/soprano-dev/receipt Tue Mar 06 03:00:01 2018 +0200 70.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 70.3 @@ -1,20 +0,0 @@ 70.4 -# SliTaz package receipt. 70.5 - 70.6 -PACKAGE="soprano-dev" 70.7 -VERSION="2.8.0" 70.8 -CATEGORY="development" 70.9 -SHORT_DESC="Soprano pkgconfig and include files." 70.10 -MAINTAINER="pankso@slitaz.org" 70.11 -LICENSE="GPL2" 70.12 -WANTED="soprano" 70.13 -WEB_SITE="http://soprano.sourceforge.net/" 70.14 - 70.15 -DEPENDS="pkg-config" 70.16 - 70.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 70.18 -genpkg_rules() 70.19 -{ 70.20 - mkdir -p $fs/usr/lib 70.21 - cp -a $install/usr/include $fs/usr 70.22 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 70.23 -}
71.1 --- a/soprano/receipt Tue Mar 06 03:00:01 2018 +0200 71.2 +++ b/soprano/receipt Tue Mar 06 11:29:35 2018 +0200 71.3 @@ -1,4 +1,4 @@ 71.4 -# SliTaz package receipt. 71.5 +# SliTaz package receipt v2. 71.6 71.7 PACKAGE="soprano" 71.8 VERSION="2.8.0" 71.9 @@ -6,29 +6,37 @@ 71.10 SHORT_DESC="Soprano is the Qt/C++ RDF framework" 71.11 MAINTAINER="pankso@slitaz.org" 71.12 LICENSE="GPL2" 71.13 +WEB_SITE="http://soprano.sourceforge.net/" 71.14 + 71.15 TARBALL="$PACKAGE-$VERSION.tar.bz2" 71.16 -WEB_SITE="http://soprano.sourceforge.net/" 71.17 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 71.18 71.19 -DEPENDS="libQtCore libQtNetwork raptor libiodbc" 71.20 BUILD_DEPENDS="cmake qmake Qt4-dev raptor-dev libiodbc-dev" 71.21 +SPLIT="soprano-dev" 71.22 71.23 -# Rules to configure and make the package. 71.24 -compile_rules() 71.25 -{ 71.26 - mkdir -p build && cd build 71.27 +compile_rules() { 71.28 + mkdir build 71.29 + cd build 71.30 cmake \ 71.31 -DCMAKE_INSTALL_PREFIX=/usr \ 71.32 .. && 71.33 make && make install 71.34 } 71.35 71.36 -# Rules to gen a SliTaz package suitable for Tazpkg. 71.37 -genpkg_rules() 71.38 -{ 71.39 - mkdir -p $fs/usr/lib 71.40 - cp -a $install/usr/bin $fs/usr 71.41 - cp -a $install/usr/lib/*.so* $fs/usr/lib 71.42 - cp -a $install/usr/lib/soprano $fs/usr/lib 71.43 - cp -a $install/usr/share $fs/usr 71.44 +genpkg_rules() { 71.45 + case $PACKAGE in 71.46 + soprano) 71.47 + mkdir -p $fs/usr/lib 71.48 + cp -a $install/usr/bin $fs/usr 71.49 + cp -a $install/usr/lib/*.so* $fs/usr/lib 71.50 + cp -a $install/usr/lib/soprano $fs/usr/lib 71.51 + cp -a $install/usr/share $fs/usr 71.52 + DEPENDS="libQtCore libQtNetwork raptor libiodbc" 71.53 + ;; 71.54 + *-dev) 71.55 + mkdir -p $fs/usr/lib 71.56 + cp -a $install/usr/include $fs/usr 71.57 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 71.58 + ;; 71.59 + esac 71.60 }
72.1 --- a/telepathy-glib-dev/receipt Tue Mar 06 03:00:01 2018 +0200 72.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 72.3 @@ -1,21 +0,0 @@ 72.4 -# SliTaz package receipt. 72.5 - 72.6 -PACKAGE="telepathy-glib-dev" 72.7 -VERSION="0.99.11" 72.8 -CATEGORY="development" 72.9 -SHORT_DESC="A D-Bus framework for unifying real time communication, development files." 72.10 -MAINTAINER="pascal.bellard@slitaz.org" 72.11 -LICENSE="LGPL2.1" 72.12 -WEB_SITE="http://telepathy.freedesktop.org/wiki/" 72.13 -WANTED="telepathy-glib" 72.14 - 72.15 -DEPENDS="telepathy-glib" 72.16 - 72.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 72.18 -genpkg_rules() 72.19 -{ 72.20 - mkdir -p $fs/usr/lib 72.21 - cp -a $install/usr/include $fs/usr 72.22 - cp -a $install/usr/lib/*a $fs/usr/lib 72.23 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 72.24 -}
73.1 --- a/telepathy-glib/receipt Tue Mar 06 03:00:01 2018 +0200 73.2 +++ b/telepathy-glib/receipt Tue Mar 06 11:29:35 2018 +0200 73.3 @@ -1,34 +1,43 @@ 73.4 -# SliTaz package receipt. 73.5 +# SliTaz package receipt v2. 73.6 73.7 PACKAGE="telepathy-glib" 73.8 VERSION="0.99.11" 73.9 CATEGORY="network" 73.10 -SHORT_DESC="A D-Bus framework for unifying real time communication." 73.11 +SHORT_DESC="A D-Bus framework for unifying real time communication" 73.12 MAINTAINER="pascal.bellard@slitaz.org" 73.13 LICENSE="LGPL2.1" 73.14 +WEB_SITE="http://telepathy.freedesktop.org/wiki/" 73.15 + 73.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 73.17 -WEB_SITE="http://telepathy.freedesktop.org/wiki/" 73.18 WGET_URL="http://telepathy.freedesktop.org/releases/$PACKAGE/$TARBALL" 73.19 73.20 -DEPENDS="glib gobject-introspection dbus dbus-glib libffi" 73.21 BUILD_DEPENDS="glib-dev gobject-introspection-dev \ 73.22 dbus-dev dbus-glib-dev intltool diffutils libffi libxslt gtk-doc" 73.23 +SPLIT="telepathy-glib-dev" 73.24 73.25 -# Rules to configure and make the package. 73.26 -compile_rules() 73.27 -{ 73.28 - ./configure --prefix=/usr \ 73.29 +compile_rules() { 73.30 + ./configure \ 73.31 + --prefix=/usr \ 73.32 $CONFIGURE_ARGS && 73.33 make && 73.34 make DESTDIR=$DESTDIR install 73.35 } 73.36 73.37 -# Rules to gen a SliTaz package suitable for Tazpkg. 73.38 -genpkg_rules() 73.39 -{ 73.40 - mkdir -p $fs/usr/share $fs/usr/lib 73.41 - cp -a $install/usr/share/gir* $fs/usr/share 73.42 - cp -a $install/usr/share/glib* $fs/usr/share 73.43 - cp -a $install/usr/lib/*.so* $fs/usr/lib 73.44 - cp -a $install/usr/lib/gir* $fs/usr/lib 73.45 +genpkg_rules() { 73.46 + case $PACKAGE in 73.47 + telepathy-glib) 73.48 + mkdir -p $fs/usr/share $fs/usr/lib 73.49 + cp -a $install/usr/share/gir* $fs/usr/share 73.50 + cp -a $install/usr/share/glib* $fs/usr/share 73.51 + cp -a $install/usr/lib/*.so* $fs/usr/lib 73.52 + cp -a $install/usr/lib/gir* $fs/usr/lib 73.53 + DEPENDS="glib gobject-introspection dbus dbus-glib libffi" 73.54 + ;; 73.55 + *-dev) 73.56 + mkdir -p $fs/usr/lib 73.57 + cp -a $install/usr/include $fs/usr 73.58 + cp -a $install/usr/lib/*a $fs/usr/lib 73.59 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 73.60 + ;; 73.61 + esac 73.62 }
74.1 --- a/vanessa_logger-dev/receipt Tue Mar 06 03:00:01 2018 +0200 74.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 74.3 @@ -1,21 +0,0 @@ 74.4 -# SliTaz package receipt. 74.5 - 74.6 -PACKAGE="vanessa_logger-dev" 74.7 -VERSION="0.0.10" 74.8 -CATEGORY="development" 74.9 -SHORT_DESC="generic logging layer development files." 74.10 -MAINTAINER="pascal.bellard@slitaz.org" 74.11 -LICENSE="LGPL2.1" 74.12 -WEB_SITE="http://www.vergenet.net/linux/vanessa" 74.13 -WANTED="vanessa_logger" 74.14 - 74.15 -DEPENDS="vanessa_logger pkg-config" 74.16 - 74.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 74.18 -genpkg_rules() 74.19 -{ 74.20 - mkdir -p $fs/usr/lib 74.21 - cp -a $install/usr/include $fs/usr 74.22 - cp -a $install/usr/lib/*a $fs/usr/lib 74.23 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 74.24 -}
75.1 --- a/vanessa_logger/receipt Tue Mar 06 03:00:01 2018 +0200 75.2 +++ b/vanessa_logger/receipt Tue Mar 06 11:29:35 2018 +0200 75.3 @@ -1,26 +1,35 @@ 75.4 -# SliTaz package receipt. 75.5 +# SliTaz package receipt v2. 75.6 75.7 PACKAGE="vanessa_logger" 75.8 VERSION="0.0.10" 75.9 CATEGORY="network" 75.10 -SHORT_DESC="generic logging layer." 75.11 +SHORT_DESC="Generic logging layer" 75.12 MAINTAINER="pascal.bellard@slitaz.org" 75.13 LICENSE="LGPL2.1" 75.14 +WEB_SITE="http://www.vergenet.net/linux/vanessa" 75.15 + 75.16 TARBALL="$PACKAGE-$VERSION.tar.bz2" 75.17 -WEB_SITE="http://www.vergenet.net/linux/vanessa" 75.18 WGET_URL="$WEB_SITE/download/$PACKAGE/$VERSION/$TARBALL" 75.19 75.20 -# Rules to configure and make the package. 75.21 -compile_rules() 75.22 -{ 75.23 +SPLIT="vanessa_logger-dev" 75.24 + 75.25 +compile_rules() { 75.26 ./configure && 75.27 make && make DESTDIR=$DESTDIR install 75.28 } 75.29 75.30 -# Rules to gen a SliTaz package suitable for Tazpkg. 75.31 -genpkg_rules() 75.32 -{ 75.33 - mkdir -p $fs/usr/lib 75.34 - cp -a $install/usr/bin $fs/usr 75.35 - cp -a $install/usr/lib/*.so* $fs/usr/lib 75.36 +genpkg_rules() { 75.37 + case $PACKAGE in 75.38 + vanessa_logger) 75.39 + mkdir -p $fs/usr/lib 75.40 + cp -a $install/usr/bin $fs/usr 75.41 + cp -a $install/usr/lib/*.so* $fs/usr/lib 75.42 + ;; 75.43 + *-dev) 75.44 + mkdir -p $fs/usr/lib 75.45 + cp -a $install/usr/include $fs/usr 75.46 + cp -a $install/usr/lib/*a $fs/usr/lib 75.47 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 75.48 + ;; 75.49 + esac 75.50 }
76.1 --- a/wine-rt-dev/receipt Tue Mar 06 03:00:01 2018 +0200 76.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 76.3 @@ -1,20 +0,0 @@ 76.4 -# SliTaz package receipt. 76.5 - 76.6 -PACKAGE="wine-rt-dev" 76.7 -VERSION="1.7.16" 76.8 -CATEGORY="system-tools" 76.9 -SHORT_DESC="Windows API for Linux development files." 76.10 -MAINTAINER="xj@wp.pl" 76.11 -LICENSE="LGPL2.1" 76.12 -WEB_SITE="http://www.winehq.org/" 76.13 -WANTED="wine-rt" 76.14 -PROVIDE="wine-dev" 76.15 - 76.16 -# Rules to gen a SliTaz package suitable for Tazpkg. 76.17 -genpkg_rules() 76.18 -{ 76.19 - mkdir -p $fs/usr/lib/wine $fs/usr/share 76.20 - cp -a $install/usr/include $fs/usr 76.21 - cp -a $install/usr/lib/wine/*.a $fs/usr/lib/wine 76.22 - cp -a $install/usr/lib/wine/*.def* $fs/usr/lib/wine 76.23 -}
77.1 --- a/wine-rt/receipt Tue Mar 06 03:00:01 2018 +0200 77.2 +++ b/wine-rt/receipt Tue Mar 06 11:29:35 2018 +0200 77.3 @@ -1,68 +1,72 @@ 77.4 -# SliTaz package receipt. 77.5 +# SliTaz package receipt v2. 77.6 77.7 PACKAGE="wine-rt" 77.8 VERSION="1.7.16" 77.9 CATEGORY="misc" 77.10 -SHORT_DESC="Windows API for Linux." 77.11 +SHORT_DESC="Windows API for Linux" 77.12 MAINTAINER="xj@wp.pl" 77.13 LICENSE="LGPL2.1" 77.14 -TARBALL="${PACKAGE%-rt}-$VERSION.tar.bz2" 77.15 WEB_SITE="http://www.winehq.org/" 77.16 -WGET_URL="$SF_MIRROR/${PACKAGE%-rt}/$TARBALL" 77.17 -TAGS="windows" 77.18 -PROVIDE="wine" 77.19 77.20 -DEPENDS="alsa-lib libxml2 libxslt mesa libglu-mesa xorg-dev lcms freetype jpeg \ 77.21 -libpng16 tiff" 77.22 +TARBALL="wine-$VERSION.tar.bz2" 77.23 +WGET_URL="$SF_MIRROR/wine/$TARBALL" 77.24 + 77.25 BUILD_DEPENDS="alsa-lib-dev flex bison mesa-dev libglu-mesa-dev freetype-dev \ 77.26 libtool libxml2-dev libxslt-dev lcms-dev jpeg-dev libpng16-dev tiff-dev prelink" 77.27 +SPLIT="wine-rt-dev" 77.28 77.29 -# Rules to configure and make the package. 77.30 -compile_rules() 77.31 -{ 77.32 - cd $src 77.33 - patch -s -Np1 -i $stuff/wine-rt-101107.patch 77.34 - 77.35 -CONFIGURE_ARGS=' 77.36 - --prefix=/usr 77.37 - --disable-tests 77.38 - --without-capi 77.39 - --without-cms 77.40 - --without-coreaudio 77.41 - --without-cups 77.42 - --without-gphoto 77.43 - --without-gnutls 77.44 - --without-gsm 77.45 - --without-ldap 77.46 - --without-mpg123 77.47 - --without-openal 77.48 - --without-opencl 77.49 - --without-openssl 77.50 - --without-oss 77.51 - --without-sane 77.52 - --without-v4l 77.53 - --disable-win16 77.54 - --with-x 77.55 -' 77.56 - CFLAGS="$CFLAGS -O2 -funroll-loops -frounding-math -mfpmath=sse -msse2 \ 77.57 - -fsignaling-nans -pipe" 77.58 - 77.59 - ./configure $CONFIGURE_ARGS && 77.60 - make $MAKEFLAGS && make install 77.61 +compile_rules() { 77.62 + CFLAGS="$CFLAGS -O2 -funroll-loops -frounding-math -mfpmath=sse -msse2 \ 77.63 + -fsignaling-nans -pipe" 77.64 + 77.65 + ./configure \ 77.66 + --prefix=/usr \ 77.67 + --disable-tests \ 77.68 + --without-capi \ 77.69 + --without-cms \ 77.70 + --without-coreaudio \ 77.71 + --without-cups \ 77.72 + --without-gphoto \ 77.73 + --without-gnutls \ 77.74 + --without-gsm \ 77.75 + --without-ldap \ 77.76 + --without-mpg123 \ 77.77 + --without-openal \ 77.78 + --without-opencl \ 77.79 + --without-openssl \ 77.80 + --without-oss \ 77.81 + --without-sane \ 77.82 + --without-v4l \ 77.83 + --disable-win16 \ 77.84 + --with-x \ 77.85 + $CONFIGURE_ARGS && 77.86 + make $MAKEFLAGS && make install 77.87 } 77.88 77.89 -# Rules to gen a SliTaz package suitable for Tazpkg. 77.90 -genpkg_rules() 77.91 -{ 77.92 - mkdir -p $fs/usr/lib/wine $fs/usr/share 77.93 - cp -a $install/usr/bin $fs/usr 77.94 - cp -a $install/usr/share/wine $fs/usr/share 77.95 - cp -a $install/usr/share/applications $fs/usr/share 77.96 - cp -a $install/usr/lib/lib* $fs/usr/lib 77.97 - cp -a $install/usr/lib/wine/*.so $fs/usr/lib/wine 77.98 +genpkg_rules() { 77.99 + case $PACKAGE in 77.100 + wine-rt) 77.101 + mkdir -p $fs/usr/lib/wine $fs/usr/share 77.102 + cp -a $install/usr/bin $fs/usr 77.103 + cp -a $install/usr/share/wine $fs/usr/share 77.104 + cp -a $install/usr/share/applications $fs/usr/share 77.105 + cp -a $install/usr/lib/lib* $fs/usr/lib 77.106 + cp -a $install/usr/lib/wine/*.so $fs/usr/lib/wine 77.107 + DEPENDS="alsa-lib libxml2 libxslt mesa libglu-mesa xorg-dev lcms \ 77.108 + freetype jpeg libpng16 tiff" 77.109 + PROVIDE="wine" 77.110 + TAGS="windows" 77.111 + ;; 77.112 + *-dev) 77.113 + mkdir -p $fs/usr/lib/wine $fs/usr/share 77.114 + cp -a $install/usr/include $fs/usr 77.115 + cp -a $install/usr/lib/wine/*.a $fs/usr/lib/wine 77.116 + cp -a $install/usr/lib/wine/*.def* $fs/usr/lib/wine 77.117 + PROVIDE="wine-dev" 77.118 + ;; 77.119 + esac 77.120 } 77.121 77.122 -post_install() 77.123 -{ 77.124 +post_install_wine_rt() { 77.125 [ "$1" ] || modprobe snd-seq 2>/dev/null 77.126 }
78.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 78.2 +++ b/wine-rt/stuff/patches/series Tue Mar 06 11:29:35 2018 +0200 78.3 @@ -0,0 +1,1 @@ 78.4 +wine-rt-101107.patch
79.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 79.2 +++ b/wine-rt/stuff/patches/wine-rt-101107.patch Tue Mar 06 11:29:35 2018 +0200 79.3 @@ -0,0 +1,264 @@ 79.4 +From 1dceb627db51a239a63ed5276f7e8911be6751bc Mon Sep 17 00:00:00 2001 79.5 +From: Joakim B Hernberg <jhernberg@alchemy.lu> 79.6 +Date: Sun, 7 Nov 2010 19:10:49 +0100 79.7 +Subject: [PATCH] 3:rd wine-rt patch 101107 79.8 + 79.9 +--- 79.10 + README.WINE-RT | 27 +++++++++++++++++ 79.11 + server/main.c | 60 ++++++++++++++++++++++++++++++++++++++ 79.12 + server/thread.c | 87 ++++++++++++++++++++++++++++++++++++++++++------------ 79.13 + 3 files changed, 154 insertions(+), 20 deletions(-) 79.14 + create mode 100644 README.WINE-RT 79.15 + 79.16 +diff --git a/README.WINE-RT b/README.WINE-RT 79.17 +new file mode 100644 79.18 +index 0000000..3f3f2c1 79.19 +--- /dev/null 79.20 ++++ b/README.WINE-RT 79.21 +@@ -0,0 +1,27 @@ 79.22 ++What is it? 79.23 ++The Wine-RT patch allows programs that use windows' concept of thread priority to gain similar functionality under linux. It maps windows priority levels to linux scheduling policies. THREAD_PRIORITY_ABOVE_NORMAL, THREAD_PRIORITY_HIGHEST and THREAD_PRIORITY_TIME_CRITICAL levels which are made to run as linux SCHED_FIFO threads at priority levels that are defined by the WINERT variable. THREAD_PRIORITY_NORMAL threads are run as normal linux threads (as all threads are without the patch), and the priorities below normal (THREAD_PRIORITY_BELOW_NORMAL, THREAD_PRIORITY_LOWEST) are run as SCHED_BATCH. THREAD_PRIORITY_IDLE threads are run as SCHED_IDLE. 79.24 ++Windows' concept of priority classes is not implemented at all. 79.25 ++ 79.26 ++Please note that threads running SCHED_FIFO might hang your entire system, so please exercise caution! 79.27 ++ 79.28 ++How does it work? 79.29 ++When a windows program asks for a thread to be run at a higher priority, Wine will ask the linux system to schedule it as a SCHED_FIFO thread, which means that the tread will keep on executing until it has either finished, voluntarily yields execution or gets preempted by a higher priority SCHED_FIFO thread. This is already done by many linux audio applications, to ensure less xruns on lower buffer sizes. With Wine-RT, the same thing can be done for Wine applications. 79.30 ++ 79.31 ++How to use it? 79.32 ++The Wine-RT functionality is not enabled by default. Instead it is controlled by 2 environment variables "WINE_RT" and "WINE_SRV_RT". 79.33 ++ 79.34 ++The "WINE_RT" variable has 2 purposes, it has to be set in order to activate the patch, and it determines the priority of the SCHED_FIFO threads, Its value can be set from 1 to your system's rtprio max value minus 10, as set in limits.conf or limits.d/audio.conf. (In Debian, Ubuntu and KXStudio this value is 99). THREAD_PRIORITY_ABOVE_NORMAL threads will run at this priority level, THREAD_PRIORITY_HIGHEST threads at this level + 5, and THREAD_PRIORITY_TIME_CRITICAL threads at this level + 10. 79.35 ++ 79.36 ++WINE_SRV_RT makes the wineserver main thread run SCHED_FIFO. Valid values range from 1 to your system's rtprio max value. 79.37 ++ 79.38 ++We can set these variables in 2 simple ways. 79.39 ++First one is using a terminal with "exports", like this: 79.40 ++export WINE_RT=# 79.41 ++export WINE_SRV_RT=# 79.42 ++wine <app> 79.43 ++ 79.44 ++or just prefix your application with 'env VARIABLE=value', like this: 79.45 ++env WINE_RT=# WINE_SRV_RT=# wine <app> 79.46 ++ 79.47 ++A recommended starting point might be "env WINE_RT=15 WINE_SRV_RT=10 wine appname.exe". 79.48 ++ 79.49 +diff --git a/server/main.c b/server/main.c 79.50 +index 2d841e8..a89d1e0 100644 79.51 +--- a/server/main.c 79.52 ++++ b/server/main.c 79.53 +@@ -27,10 +27,18 @@ 79.54 + #include <stdio.h> 79.55 + #include <stdlib.h> 79.56 + #include <sys/time.h> 79.57 ++#include <sys/resource.h> 79.58 ++#include <sys/mman.h> 79.59 + #include <unistd.h> 79.60 + #ifdef HAVE_GETOPT_H 79.61 + # include <getopt.h> 79.62 + #endif 79.63 ++#ifdef HAVE_SCHED_H 79.64 ++#include <sched.h> 79.65 ++#ifndef SCHED_NORMAL 79.66 ++#define SCHED_NORMAL SCHED_OTHER 79.67 ++#endif 79.68 ++#endif 79.69 + 79.70 + #include "object.h" 79.71 + #include "file.h" 79.72 +@@ -44,6 +52,9 @@ int foreground = 0; 79.73 + timeout_t master_socket_timeout = 3 * -TICKS_PER_SEC; /* master socket timeout, default is 3 seconds */ 79.74 + const char *server_argv0; 79.75 + 79.76 ++/* global variable used here and in thread.c to determine whether wine runs with rt threads and at what base value */ 79.77 ++int base_rt_priority = -1; 79.78 ++ 79.79 + /* parse-line args */ 79.80 + 79.81 + static void usage(void) 79.82 +@@ -125,6 +136,51 @@ static void sigterm_handler( int signum ) 79.83 + exit(1); /* make sure atexit functions get called */ 79.84 + } 79.85 + 79.86 ++#ifdef HAVE_SCHED_H 79.87 ++void init_rt_scheduling( void ) 79.88 ++{ 79.89 ++ struct sched_param param; 79.90 ++ struct rlimit limit; 79.91 ++ int priority_max, policy, wine_server_rt_priority; 79.92 ++ char *enviroment, *endptr; 79.93 ++ 79.94 ++ getrlimit( RLIMIT_RTPRIO, &limit ); 79.95 ++ priority_max = limit.rlim_max; 79.96 ++ 79.97 ++ /* check for realtime mode and set the base priority level */ 79.98 ++ 79.99 ++ if (!(enviroment = getenv( "WINE_RT" ))) 79.100 ++ return; 79.101 ++ base_rt_priority = (int) strtol( enviroment, &endptr, 10 ); 79.102 ++ if (enviroment == endptr || base_rt_priority == 0 || base_rt_priority > priority_max - 10) 79.103 ++ { 79.104 ++ fprintf( stderr, "Unable to run WINE in rt mode, WINE_RT values supported on this system range from 1 to %i\n", priority_max - 10 ); 79.105 ++ base_rt_priority = -1; 79.106 ++ return; 79.107 ++ } 79.108 ++ fprintf( stderr, "WINE realtime scheduling hack enabled, realtime base priority has been set to %i\n", base_rt_priority ); 79.109 ++ 79.110 ++ /* determine scheduling policy for the main wineserver thread */ 79.111 ++ 79.112 ++ if (!(enviroment = getenv( "WINE_SRV_RT" ))) 79.113 ++ { 79.114 ++ fprintf( stderr, "wineserver running SCHED_NORMAL\n" ); 79.115 ++ return; 79.116 ++ } 79.117 ++ wine_server_rt_priority = (int) strtol( enviroment, &endptr, 10 ); 79.118 ++ if (enviroment == endptr || wine_server_rt_priority == 0 || wine_server_rt_priority > priority_max) 79.119 ++ { 79.120 ++ fprintf( stderr, "Unable to run the wineserver SCHED_FIFO, valid WINE_SRV_RT values range from 1 to %i\n", priority_max ); 79.121 ++ return; 79.122 ++ } 79.123 ++ fprintf( stderr, "wineserver running SCHED_FIFO at priority %i\n", wine_server_rt_priority ); 79.124 ++ policy = SCHED_FIFO; 79.125 ++ param.sched_priority = wine_server_rt_priority; 79.126 ++ if (sched_setscheduler ( 0, policy, ¶m) != 0) 79.127 ++ fprintf (stderr, "Error scheduling wineserver as SCHED_FIFO\n"); 79.128 ++} 79.129 ++#endif 79.130 ++ 79.131 + int main( int argc, char *argv[] ) 79.132 + { 79.133 + setvbuf( stderr, NULL, _IOLBF, 0 ); 79.134 +@@ -138,6 +194,10 @@ int main( int argc, char *argv[] ) 79.135 + signal( SIGTERM, sigterm_handler ); 79.136 + signal( SIGABRT, sigterm_handler ); 79.137 + 79.138 ++#ifdef HAVE_SCHED_H 79.139 ++ init_rt_scheduling(); 79.140 ++#endif 79.141 ++ mlockall(MCL_FUTURE); 79.142 + sock_init(); 79.143 + open_master_socket(); 79.144 + 79.145 +diff --git a/server/thread.c b/server/thread.c 79.146 +index 05e4121..2d103b4 100644 79.147 +--- a/server/thread.c 79.148 ++++ b/server/thread.c 79.149 +@@ -32,11 +32,18 @@ 79.150 + #include <sys/types.h> 79.151 + #include <unistd.h> 79.152 + #include <time.h> 79.153 +-#ifdef HAVE_POLL_H 79.154 +-#include <poll.h> 79.155 +-#endif 79.156 + #ifdef HAVE_SCHED_H 79.157 + #include <sched.h> 79.158 ++#ifndef SCHED_NORMAL 79.159 ++#define SCHED_NORMAL SCHED_OTHER 79.160 ++#endif 79.161 ++#ifndef SCHED_IDLE 79.162 ++#define SCHED_IDLE 5 /* missing from my glibc, taken from linux/sched.h */ 79.163 ++#endif 79.164 ++#endif 79.165 ++ 79.166 ++#ifdef HAVE_POLL_H 79.167 ++#include <poll.h> 79.168 + #endif 79.169 + 79.170 + #include "ntstatus.h" 79.171 +@@ -164,6 +171,8 @@ static const struct fd_ops thread_fd_ops = 79.172 + 79.173 + static struct list thread_list = LIST_INIT(thread_list); 79.174 + 79.175 ++extern int base_rt_priority; 79.176 ++ 79.177 + /* initialize the structure for a newly allocated thread */ 79.178 + static inline void init_thread_structure( struct thread *thread ) 79.179 + { 79.180 +@@ -432,29 +441,67 @@ int set_thread_affinity( struct thread *thread, affinity_t affinity ) 79.181 + return ret; 79.182 + } 79.183 + 79.184 +-#define THREAD_PRIORITY_REALTIME_HIGHEST 6 79.185 +-#define THREAD_PRIORITY_REALTIME_LOWEST -7 79.186 ++void set_thread_priority( struct thread *thread, int priority ) 79.187 ++{ 79.188 ++#ifdef HAVE_SCHED_H 79.189 ++ struct sched_param param; 79.190 ++ int policy; 79.191 ++ 79.192 ++ if (base_rt_priority == -1 || (thread->unix_tid == -1)) return; 79.193 ++ 79.194 ++ switch (priority) 79.195 ++ { 79.196 ++ case THREAD_PRIORITY_TIME_CRITICAL: 79.197 ++ param.sched_priority = base_rt_priority + 10; 79.198 ++ policy = SCHED_FIFO; 79.199 ++ fprintf( stderr, "Thread %i at THREAD_PRIORITY_TIME_CRITICAL set to SCHED_FIFO - priority %i\n", thread->unix_tid, param.sched_priority ); 79.200 ++ break; 79.201 ++ case THREAD_PRIORITY_HIGHEST: 79.202 ++ param.sched_priority = base_rt_priority + 5; 79.203 ++ policy = SCHED_FIFO; 79.204 ++ fprintf( stderr, "Thread %i at THREAD_PRIORITY_HIGHEST set to SCHED_FIFO - priority %i\n", thread->unix_tid, param.sched_priority ); 79.205 ++ break; 79.206 ++ case THREAD_PRIORITY_ABOVE_NORMAL: 79.207 ++ param.sched_priority = base_rt_priority; 79.208 ++ policy = SCHED_FIFO; 79.209 ++ fprintf( stderr, "Thread %i at THREAD_PRIORITY_ABOVE_NORMAL set to SCHED_FIFO - priority %i\n", thread->unix_tid, param.sched_priority ); 79.210 ++ break; 79.211 ++ case THREAD_PRIORITY_NORMAL: 79.212 ++ param.sched_priority = 0; 79.213 ++ policy = SCHED_NORMAL; 79.214 ++ fprintf( stderr, "Setting thread %i at level THREAD_PRIORITY_NORMAL to SCHED_NORMAL\n", thread->unix_tid ); 79.215 ++ break; 79.216 ++ case THREAD_PRIORITY_BELOW_NORMAL: 79.217 ++ param.sched_priority = 0; 79.218 ++ policy = SCHED_BATCH; 79.219 ++ fprintf( stderr, "Setting thread %i at level THREAD_PRIORITY_BELOW_NORMAL to SCHED_BATCH\n", thread->unix_tid ); 79.220 ++ break; 79.221 ++ case THREAD_PRIORITY_LOWEST: 79.222 ++ param.sched_priority = 0; 79.223 ++ policy = SCHED_BATCH; 79.224 ++ fprintf( stderr, "Setting thread %i at THREAD_PRIORITY_LOWEST level to SCHED_BATCH\n", thread->unix_tid ); 79.225 ++ break; 79.226 ++ case THREAD_PRIORITY_IDLE: 79.227 ++ param.sched_priority = 0; 79.228 ++ policy = SCHED_IDLE; 79.229 ++ fprintf( stderr, "Setting thread %i with level THREAD_PRIORITY_IDLE to SCHED_IDLE\n", thread->unix_tid ); 79.230 ++ break; 79.231 ++ default: 79.232 ++ fprintf( stderr, "Error setting scheduling priority level, unknown should never come here\n" ); 79.233 ++ return; 79.234 ++ } 79.235 ++ if (sched_setscheduler (thread->unix_tid, policy, ¶m) != 0) fprintf (stderr, "Error setting priorities\n"); 79.236 ++ thread->priority = priority; 79.237 ++ return; 79.238 ++#endif 79.239 ++} 79.240 + 79.241 + /* set all information about a thread */ 79.242 + static void set_thread_info( struct thread *thread, 79.243 + const struct set_thread_info_request *req ) 79.244 + { 79.245 + if (req->mask & SET_THREAD_INFO_PRIORITY) 79.246 +- { 79.247 +- int max = THREAD_PRIORITY_HIGHEST; 79.248 +- int min = THREAD_PRIORITY_LOWEST; 79.249 +- if (thread->process->priority == PROCESS_PRIOCLASS_REALTIME) 79.250 +- { 79.251 +- max = THREAD_PRIORITY_REALTIME_HIGHEST; 79.252 +- min = THREAD_PRIORITY_REALTIME_LOWEST; 79.253 +- } 79.254 +- if ((req->priority >= min && req->priority <= max) || 79.255 +- req->priority == THREAD_PRIORITY_IDLE || 79.256 +- req->priority == THREAD_PRIORITY_TIME_CRITICAL) 79.257 +- thread->priority = req->priority; 79.258 +- else 79.259 +- set_error( STATUS_INVALID_PARAMETER ); 79.260 +- } 79.261 ++ set_thread_priority( thread, req->priority ); 79.262 + if (req->mask & SET_THREAD_INFO_AFFINITY) 79.263 + { 79.264 + if ((req->affinity & thread->process->affinity) != req->affinity) 79.265 +-- 79.266 +1.7.3.2 79.267 +
80.1 --- a/wine-rt/stuff/wine-rt-101107.patch Tue Mar 06 03:00:01 2018 +0200 80.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 80.3 @@ -1,264 +0,0 @@ 80.4 -From 1dceb627db51a239a63ed5276f7e8911be6751bc Mon Sep 17 00:00:00 2001 80.5 -From: Joakim B Hernberg <jhernberg@alchemy.lu> 80.6 -Date: Sun, 7 Nov 2010 19:10:49 +0100 80.7 -Subject: [PATCH] 3:rd wine-rt patch 101107 80.8 - 80.9 ---- 80.10 - README.WINE-RT | 27 +++++++++++++++++ 80.11 - server/main.c | 60 ++++++++++++++++++++++++++++++++++++++ 80.12 - server/thread.c | 87 ++++++++++++++++++++++++++++++++++++++++++------------ 80.13 - 3 files changed, 154 insertions(+), 20 deletions(-) 80.14 - create mode 100644 README.WINE-RT 80.15 - 80.16 -diff --git a/README.WINE-RT b/README.WINE-RT 80.17 -new file mode 100644 80.18 -index 0000000..3f3f2c1 80.19 ---- /dev/null 80.20 -+++ b/README.WINE-RT 80.21 -@@ -0,0 +1,27 @@ 80.22 -+What is it? 80.23 -+The Wine-RT patch allows programs that use windows' concept of thread priority to gain similar functionality under linux. It maps windows priority levels to linux scheduling policies. THREAD_PRIORITY_ABOVE_NORMAL, THREAD_PRIORITY_HIGHEST and THREAD_PRIORITY_TIME_CRITICAL levels which are made to run as linux SCHED_FIFO threads at priority levels that are defined by the WINERT variable. THREAD_PRIORITY_NORMAL threads are run as normal linux threads (as all threads are without the patch), and the priorities below normal (THREAD_PRIORITY_BELOW_NORMAL, THREAD_PRIORITY_LOWEST) are run as SCHED_BATCH. THREAD_PRIORITY_IDLE threads are run as SCHED_IDLE. 80.24 -+Windows' concept of priority classes is not implemented at all. 80.25 -+ 80.26 -+Please note that threads running SCHED_FIFO might hang your entire system, so please exercise caution! 80.27 -+ 80.28 -+How does it work? 80.29 -+When a windows program asks for a thread to be run at a higher priority, Wine will ask the linux system to schedule it as a SCHED_FIFO thread, which means that the tread will keep on executing until it has either finished, voluntarily yields execution or gets preempted by a higher priority SCHED_FIFO thread. This is already done by many linux audio applications, to ensure less xruns on lower buffer sizes. With Wine-RT, the same thing can be done for Wine applications. 80.30 -+ 80.31 -+How to use it? 80.32 -+The Wine-RT functionality is not enabled by default. Instead it is controlled by 2 environment variables "WINE_RT" and "WINE_SRV_RT". 80.33 -+ 80.34 -+The "WINE_RT" variable has 2 purposes, it has to be set in order to activate the patch, and it determines the priority of the SCHED_FIFO threads, Its value can be set from 1 to your system's rtprio max value minus 10, as set in limits.conf or limits.d/audio.conf. (In Debian, Ubuntu and KXStudio this value is 99). THREAD_PRIORITY_ABOVE_NORMAL threads will run at this priority level, THREAD_PRIORITY_HIGHEST threads at this level + 5, and THREAD_PRIORITY_TIME_CRITICAL threads at this level + 10. 80.35 -+ 80.36 -+WINE_SRV_RT makes the wineserver main thread run SCHED_FIFO. Valid values range from 1 to your system's rtprio max value. 80.37 -+ 80.38 -+We can set these variables in 2 simple ways. 80.39 -+First one is using a terminal with "exports", like this: 80.40 -+export WINE_RT=# 80.41 -+export WINE_SRV_RT=# 80.42 -+wine <app> 80.43 -+ 80.44 -+or just prefix your application with 'env VARIABLE=value', like this: 80.45 -+env WINE_RT=# WINE_SRV_RT=# wine <app> 80.46 -+ 80.47 -+A recommended starting point might be "env WINE_RT=15 WINE_SRV_RT=10 wine appname.exe". 80.48 -+ 80.49 -diff --git a/server/main.c b/server/main.c 80.50 -index 2d841e8..a89d1e0 100644 80.51 ---- a/server/main.c 80.52 -+++ b/server/main.c 80.53 -@@ -27,10 +27,18 @@ 80.54 - #include <stdio.h> 80.55 - #include <stdlib.h> 80.56 - #include <sys/time.h> 80.57 -+#include <sys/resource.h> 80.58 -+#include <sys/mman.h> 80.59 - #include <unistd.h> 80.60 - #ifdef HAVE_GETOPT_H 80.61 - # include <getopt.h> 80.62 - #endif 80.63 -+#ifdef HAVE_SCHED_H 80.64 -+#include <sched.h> 80.65 -+#ifndef SCHED_NORMAL 80.66 -+#define SCHED_NORMAL SCHED_OTHER 80.67 -+#endif 80.68 -+#endif 80.69 - 80.70 - #include "object.h" 80.71 - #include "file.h" 80.72 -@@ -44,6 +52,9 @@ int foreground = 0; 80.73 - timeout_t master_socket_timeout = 3 * -TICKS_PER_SEC; /* master socket timeout, default is 3 seconds */ 80.74 - const char *server_argv0; 80.75 - 80.76 -+/* global variable used here and in thread.c to determine whether wine runs with rt threads and at what base value */ 80.77 -+int base_rt_priority = -1; 80.78 -+ 80.79 - /* parse-line args */ 80.80 - 80.81 - static void usage(void) 80.82 -@@ -125,6 +136,51 @@ static void sigterm_handler( int signum ) 80.83 - exit(1); /* make sure atexit functions get called */ 80.84 - } 80.85 - 80.86 -+#ifdef HAVE_SCHED_H 80.87 -+void init_rt_scheduling( void ) 80.88 -+{ 80.89 -+ struct sched_param param; 80.90 -+ struct rlimit limit; 80.91 -+ int priority_max, policy, wine_server_rt_priority; 80.92 -+ char *enviroment, *endptr; 80.93 -+ 80.94 -+ getrlimit( RLIMIT_RTPRIO, &limit ); 80.95 -+ priority_max = limit.rlim_max; 80.96 -+ 80.97 -+ /* check for realtime mode and set the base priority level */ 80.98 -+ 80.99 -+ if (!(enviroment = getenv( "WINE_RT" ))) 80.100 -+ return; 80.101 -+ base_rt_priority = (int) strtol( enviroment, &endptr, 10 ); 80.102 -+ if (enviroment == endptr || base_rt_priority == 0 || base_rt_priority > priority_max - 10) 80.103 -+ { 80.104 -+ fprintf( stderr, "Unable to run WINE in rt mode, WINE_RT values supported on this system range from 1 to %i\n", priority_max - 10 ); 80.105 -+ base_rt_priority = -1; 80.106 -+ return; 80.107 -+ } 80.108 -+ fprintf( stderr, "WINE realtime scheduling hack enabled, realtime base priority has been set to %i\n", base_rt_priority ); 80.109 -+ 80.110 -+ /* determine scheduling policy for the main wineserver thread */ 80.111 -+ 80.112 -+ if (!(enviroment = getenv( "WINE_SRV_RT" ))) 80.113 -+ { 80.114 -+ fprintf( stderr, "wineserver running SCHED_NORMAL\n" ); 80.115 -+ return; 80.116 -+ } 80.117 -+ wine_server_rt_priority = (int) strtol( enviroment, &endptr, 10 ); 80.118 -+ if (enviroment == endptr || wine_server_rt_priority == 0 || wine_server_rt_priority > priority_max) 80.119 -+ { 80.120 -+ fprintf( stderr, "Unable to run the wineserver SCHED_FIFO, valid WINE_SRV_RT values range from 1 to %i\n", priority_max ); 80.121 -+ return; 80.122 -+ } 80.123 -+ fprintf( stderr, "wineserver running SCHED_FIFO at priority %i\n", wine_server_rt_priority ); 80.124 -+ policy = SCHED_FIFO; 80.125 -+ param.sched_priority = wine_server_rt_priority; 80.126 -+ if (sched_setscheduler ( 0, policy, ¶m) != 0) 80.127 -+ fprintf (stderr, "Error scheduling wineserver as SCHED_FIFO\n"); 80.128 -+} 80.129 -+#endif 80.130 -+ 80.131 - int main( int argc, char *argv[] ) 80.132 - { 80.133 - setvbuf( stderr, NULL, _IOLBF, 0 ); 80.134 -@@ -138,6 +194,10 @@ int main( int argc, char *argv[] ) 80.135 - signal( SIGTERM, sigterm_handler ); 80.136 - signal( SIGABRT, sigterm_handler ); 80.137 - 80.138 -+#ifdef HAVE_SCHED_H 80.139 -+ init_rt_scheduling(); 80.140 -+#endif 80.141 -+ mlockall(MCL_FUTURE); 80.142 - sock_init(); 80.143 - open_master_socket(); 80.144 - 80.145 -diff --git a/server/thread.c b/server/thread.c 80.146 -index 05e4121..2d103b4 100644 80.147 ---- a/server/thread.c 80.148 -+++ b/server/thread.c 80.149 -@@ -32,11 +32,18 @@ 80.150 - #include <sys/types.h> 80.151 - #include <unistd.h> 80.152 - #include <time.h> 80.153 --#ifdef HAVE_POLL_H 80.154 --#include <poll.h> 80.155 --#endif 80.156 - #ifdef HAVE_SCHED_H 80.157 - #include <sched.h> 80.158 -+#ifndef SCHED_NORMAL 80.159 -+#define SCHED_NORMAL SCHED_OTHER 80.160 -+#endif 80.161 -+#ifndef SCHED_IDLE 80.162 -+#define SCHED_IDLE 5 /* missing from my glibc, taken from linux/sched.h */ 80.163 -+#endif 80.164 -+#endif 80.165 -+ 80.166 -+#ifdef HAVE_POLL_H 80.167 -+#include <poll.h> 80.168 - #endif 80.169 - 80.170 - #include "ntstatus.h" 80.171 -@@ -164,6 +171,8 @@ static const struct fd_ops thread_fd_ops = 80.172 - 80.173 - static struct list thread_list = LIST_INIT(thread_list); 80.174 - 80.175 -+extern int base_rt_priority; 80.176 -+ 80.177 - /* initialize the structure for a newly allocated thread */ 80.178 - static inline void init_thread_structure( struct thread *thread ) 80.179 - { 80.180 -@@ -432,29 +441,67 @@ int set_thread_affinity( struct thread *thread, affinity_t affinity ) 80.181 - return ret; 80.182 - } 80.183 - 80.184 --#define THREAD_PRIORITY_REALTIME_HIGHEST 6 80.185 --#define THREAD_PRIORITY_REALTIME_LOWEST -7 80.186 -+void set_thread_priority( struct thread *thread, int priority ) 80.187 -+{ 80.188 -+#ifdef HAVE_SCHED_H 80.189 -+ struct sched_param param; 80.190 -+ int policy; 80.191 -+ 80.192 -+ if (base_rt_priority == -1 || (thread->unix_tid == -1)) return; 80.193 -+ 80.194 -+ switch (priority) 80.195 -+ { 80.196 -+ case THREAD_PRIORITY_TIME_CRITICAL: 80.197 -+ param.sched_priority = base_rt_priority + 10; 80.198 -+ policy = SCHED_FIFO; 80.199 -+ fprintf( stderr, "Thread %i at THREAD_PRIORITY_TIME_CRITICAL set to SCHED_FIFO - priority %i\n", thread->unix_tid, param.sched_priority ); 80.200 -+ break; 80.201 -+ case THREAD_PRIORITY_HIGHEST: 80.202 -+ param.sched_priority = base_rt_priority + 5; 80.203 -+ policy = SCHED_FIFO; 80.204 -+ fprintf( stderr, "Thread %i at THREAD_PRIORITY_HIGHEST set to SCHED_FIFO - priority %i\n", thread->unix_tid, param.sched_priority ); 80.205 -+ break; 80.206 -+ case THREAD_PRIORITY_ABOVE_NORMAL: 80.207 -+ param.sched_priority = base_rt_priority; 80.208 -+ policy = SCHED_FIFO; 80.209 -+ fprintf( stderr, "Thread %i at THREAD_PRIORITY_ABOVE_NORMAL set to SCHED_FIFO - priority %i\n", thread->unix_tid, param.sched_priority ); 80.210 -+ break; 80.211 -+ case THREAD_PRIORITY_NORMAL: 80.212 -+ param.sched_priority = 0; 80.213 -+ policy = SCHED_NORMAL; 80.214 -+ fprintf( stderr, "Setting thread %i at level THREAD_PRIORITY_NORMAL to SCHED_NORMAL\n", thread->unix_tid ); 80.215 -+ break; 80.216 -+ case THREAD_PRIORITY_BELOW_NORMAL: 80.217 -+ param.sched_priority = 0; 80.218 -+ policy = SCHED_BATCH; 80.219 -+ fprintf( stderr, "Setting thread %i at level THREAD_PRIORITY_BELOW_NORMAL to SCHED_BATCH\n", thread->unix_tid ); 80.220 -+ break; 80.221 -+ case THREAD_PRIORITY_LOWEST: 80.222 -+ param.sched_priority = 0; 80.223 -+ policy = SCHED_BATCH; 80.224 -+ fprintf( stderr, "Setting thread %i at THREAD_PRIORITY_LOWEST level to SCHED_BATCH\n", thread->unix_tid ); 80.225 -+ break; 80.226 -+ case THREAD_PRIORITY_IDLE: 80.227 -+ param.sched_priority = 0; 80.228 -+ policy = SCHED_IDLE; 80.229 -+ fprintf( stderr, "Setting thread %i with level THREAD_PRIORITY_IDLE to SCHED_IDLE\n", thread->unix_tid ); 80.230 -+ break; 80.231 -+ default: 80.232 -+ fprintf( stderr, "Error setting scheduling priority level, unknown should never come here\n" ); 80.233 -+ return; 80.234 -+ } 80.235 -+ if (sched_setscheduler (thread->unix_tid, policy, ¶m) != 0) fprintf (stderr, "Error setting priorities\n"); 80.236 -+ thread->priority = priority; 80.237 -+ return; 80.238 -+#endif 80.239 -+} 80.240 - 80.241 - /* set all information about a thread */ 80.242 - static void set_thread_info( struct thread *thread, 80.243 - const struct set_thread_info_request *req ) 80.244 - { 80.245 - if (req->mask & SET_THREAD_INFO_PRIORITY) 80.246 -- { 80.247 -- int max = THREAD_PRIORITY_HIGHEST; 80.248 -- int min = THREAD_PRIORITY_LOWEST; 80.249 -- if (thread->process->priority == PROCESS_PRIOCLASS_REALTIME) 80.250 -- { 80.251 -- max = THREAD_PRIORITY_REALTIME_HIGHEST; 80.252 -- min = THREAD_PRIORITY_REALTIME_LOWEST; 80.253 -- } 80.254 -- if ((req->priority >= min && req->priority <= max) || 80.255 -- req->priority == THREAD_PRIORITY_IDLE || 80.256 -- req->priority == THREAD_PRIORITY_TIME_CRITICAL) 80.257 -- thread->priority = req->priority; 80.258 -- else 80.259 -- set_error( STATUS_INVALID_PARAMETER ); 80.260 -- } 80.261 -+ set_thread_priority( thread, req->priority ); 80.262 - if (req->mask & SET_THREAD_INFO_AFFINITY) 80.263 - { 80.264 - if ((req->affinity & thread->process->affinity) != req->affinity) 80.265 --- 80.266 -1.7.3.2 80.267 -
81.1 --- a/xalan-c-dev/receipt Tue Mar 06 03:00:01 2018 +0200 81.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 81.3 @@ -1,17 +0,0 @@ 81.4 -# SliTaz package receipt. 81.5 - 81.6 -PACKAGE="xalan-c-dev" 81.7 -VERSION="1.10.0-r705082" 81.8 -CATEGORY="development" 81.9 -SHORT_DESC="xalan-c devel files." 81.10 -WEB_SITE="http://xalan.apache.org/" 81.11 -MAINTAINER="rcx@zoominternet.net" 81.12 -LICENSE="Apache" 81.13 -WANTED="xalan-c" 81.14 - 81.15 -# Rules to gen a SliTaz package suitable for Tazpkg. 81.16 -genpkg_rules() 81.17 -{ 81.18 - mkdir -p $fs/usr 81.19 - cp -a $install/usr/include $fs/usr 81.20 -}
82.1 --- a/xalan-c/receipt Tue Mar 06 03:00:01 2018 +0200 82.2 +++ b/xalan-c/receipt Tue Mar 06 11:29:35 2018 +0200 82.3 @@ -1,40 +1,52 @@ 82.4 -# SliTaz package receipt. 82.5 +# SliTaz package receipt v2. 82.6 82.7 PACKAGE="xalan-c" 82.8 VERSION="1.10.0-r705082" 82.9 CATEGORY="development" 82.10 -SHORT_DESC="An XSLT processor for transforming XML documents into HTML, text, or other XML document types." 82.11 +SHORT_DESC="An XSLT processor for transforming XML documents into HTML, text, \ 82.12 +or other XML document types" 82.13 MAINTAINER="rcx@zoominternet.net" 82.14 LICENSE="Apache" 82.15 +WEB_SITE="http://xalan.apache.org/" 82.16 + 82.17 TARBALL="Xalan-C_r705082-src.tar.gz" 82.18 -WEB_SITE="http://xalan.apache.org/" 82.19 # Need to use the patched r705082 version on Gentoo's mirrors 82.20 # Normal WGET_URL would be "http://www.apache.org/dist/xml/$PACKAGE/source/$TARBALL" 82.21 WGET_URL="http://www.gtlib.gatech.edu/pub/gentoo/distfiles/$TARBALL" 82.22 82.23 -DEPENDS="glibc-base gcc-lib-base xerces-c libcurl openssl icu" 82.24 BUILD_DEPENDS="xerces-c-dev" 82.25 +SPLIT="xalan-c-dev" 82.26 82.27 -# Rules to configure and make the package. 82.28 -compile_rules() 82.29 -{ 82.30 +compile_rules() { 82.31 mv c/* . && rm -r c 82.32 sed -i 's/isnan/std::&/' src/xalanc/PlatformSupport/DoubleSupport.hpp 82.33 sed -i 's/mutable MemoryManager/MemoryManager/' src/xalanc/*/*.hpp 82.34 - 82.35 + 82.36 export XERCESCROOT=/usr 82.37 export XALANCROOT=$src 82.38 - 82.39 - ./runConfigure -p linux -c gcc -x g++ -P /usr \ 82.40 - -C --build=$HOST_SYSTEM -C --host=$HOST_SYSTEM && 82.41 + 82.42 + ./runConfigure \ 82.43 + -p linux \ 82.44 + -c gcc \ 82.45 + -x g++ \ 82.46 + -P /usr \ 82.47 + -C --build=$HOST_SYSTEM \ 82.48 + -C --host=$HOST_SYSTEM && 82.49 make -j1 && 82.50 make install 82.51 } 82.52 82.53 -# Rules to gen a SliTaz package suitable for Tazpkg. 82.54 -genpkg_rules() 82.55 -{ 82.56 - mkdir -p $fs/usr/lib 82.57 - cp -a $install/usr/lib/*.so* $fs/usr/lib 82.58 - cp -a $install/usr/bin $fs/usr 82.59 +genpkg_rules() { 82.60 + case $PACKAGE in 82.61 + xalan-c) 82.62 + mkdir -p $fs/usr/lib 82.63 + cp -a $install/usr/lib/*.so* $fs/usr/lib 82.64 + cp -a $install/usr/bin $fs/usr 82.65 + DEPENDS="glibc-base gcc-lib-base xerces-c libcurl openssl icu" 82.66 + ;; 82.67 + *-dev) 82.68 + mkdir -p $fs/usr 82.69 + cp -a $install/usr/include $fs/usr 82.70 + ;; 82.71 + esac 82.72 }