wok-next rev 20185
abiword, apache, connman, elementary, evince, ffmpeg, go, mono: receipt v2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 02 18:17:32 2017 +0100 (2017-11-02) |
parents | 384441c3ddea |
children | 12ed7c1691a4 |
files | abiword-dev/receipt abiword-plugins/description.txt abiword-plugins/receipt abiword/description.abiword-plugins.txt abiword/receipt apache-dev/receipt apache-doc/receipt apache/receipt connman-dev/receipt connman-tools/receipt connman/receipt elementary-dev/receipt elementary/receipt emacs-pkg-go-mode/receipt emacs-pkg-go-mode/stuff/80-go-init.el evince-dev/receipt evince-doc/receipt evince/receipt ffmpeg/receipt ffmpeg/stuff/ffserver.conf ffplay/receipt ffserver/receipt ffserver/stuff/ffserver.conf go-sources/receipt go/receipt go/stuff/80-go-init.el libelementary/receipt mono-dev/receipt mono-doc/receipt mono/receipt |
line diff
1.1 --- a/abiword-dev/receipt Thu Nov 02 17:11:17 2017 +0100 1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 1.3 @@ -1,23 +0,0 @@ 1.4 -# SliTaz package receipt. 1.5 - 1.6 -PACKAGE="abiword-dev" 1.7 -VERSION="2.8.6" 1.8 -CATEGORY="development" 1.9 -SHORT_DESC="Abiword devel files" 1.10 -MAINTAINER="pankso@slitaz.org" 1.11 -LICENSE="GPL2" 1.12 -WANTED="abiword" 1.13 -WEB_SITE="http://www.abisource.com/" 1.14 - 1.15 -DEPENDS="pkg-config" 1.16 - 1.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.18 -genpkg_rules() 1.19 -{ 1.20 - mkdir -p $fs/usr/lib/abiword-2.8/plugins 1.21 - cp -a $install/usr/lib/*.*a $fs/usr/lib 1.22 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.23 - cp -a $install/usr/lib/abiword-*/plugins/*.*a \ 1.24 - $fs/usr/lib/abiword-2.8/plugins 1.25 - cp -a $install/usr/include $fs/usr 1.26 -}
2.1 --- a/abiword-plugins/description.txt Thu Nov 02 17:11:17 2017 +0100 2.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 2.3 @@ -1,10 +0,0 @@ 2.4 -AbiWord Plugins extend AbiWord in various ways. For a cursory overview of 2.5 -functionality provided by the various AbiWord plugins, see the AbiWord 2.6 -Plugin Matrix. Note that some of these plugins are not available on all 2.7 -platforms that AbiWord supports. 2.8 - 2.9 -AbiWord Plugins 2.10 -http://www.abisource.com/download/plugins/ 2.11 - 2.12 -AbiWord Plugin Matrix. 2.13 -http://www.abisource.com/wiki/PluginMatrix
3.1 --- a/abiword-plugins/receipt Thu Nov 02 17:11:17 2017 +0100 3.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 3.3 @@ -1,23 +0,0 @@ 3.4 -# SliTaz package receipt. 3.5 - 3.6 -PACKAGE="abiword-plugins" 3.7 -VERSION="2.8.6" 3.8 -CATEGORY="office" 3.9 -SHORT_DESC="Extra plugins for Abiword (MSWord, OpenDocument, Wikidepia, etc)." 3.10 -MAINTAINER="pankso@slitaz.org" 3.11 -LICENSE="GPL2" 3.12 -WANTED="abiword" 3.13 -WEB_SITE="http://www.abisource.com/" 3.14 -TAGS="doc odf docx" 3.15 - 3.16 -DEPENDS="abiword glib readline xorg-libXdamage fribidi libxslt" 3.17 - 3.18 -# Rules to gen a SliTaz package suitable for Tazpkg. 3.19 -genpkg_rules() 3.20 -{ 3.21 - mkdir -p $fs/usr/lib/abiword-2.8/plugins $fs/usr/share 3.22 - 3.23 - cp -a $install/usr/lib/abiword-*/plugins/*.so \ 3.24 - $fs/usr/lib/abiword-2.8/plugins 3.25 -} 3.26 -
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 4.2 +++ b/abiword/description.abiword-plugins.txt Thu Nov 02 18:17:32 2017 +0100 4.3 @@ -0,0 +1,10 @@ 4.4 +AbiWord Plugins extend AbiWord in various ways. For a cursory overview of 4.5 +functionality provided by the various AbiWord plugins, see the AbiWord 4.6 +Plugin Matrix. Note that some of these plugins are not available on all 4.7 +platforms that AbiWord supports. 4.8 + 4.9 +AbiWord Plugins 4.10 +http://www.abisource.com/download/plugins/ 4.11 + 4.12 +AbiWord Plugin Matrix. 4.13 +http://www.abisource.com/wiki/PluginMatrix
5.1 --- a/abiword/receipt Thu Nov 02 17:11:17 2017 +0100 5.2 +++ b/abiword/receipt Thu Nov 02 18:17:32 2017 +0100 5.3 @@ -1,4 +1,4 @@ 5.4 -# SliTaz package receipt. 5.5 +# SliTaz package receipt v2. 5.6 5.7 PACKAGE="abiword" 5.8 VERSION="3.0.2" 5.9 @@ -10,18 +10,14 @@ 5.10 TARBALL="$PACKAGE-$VERSION.tar.gz" 5.11 WEB_SITE="http://www.abisource.com/" 5.12 WGET_URL="http://www.abisource.com/downloads/abiword/$VERSION/source/$TARBALL" 5.13 -TAGS="word doc office" 5.14 LOCALES="cs da de es fr hu id it pt ru sl sv zh" 5.15 5.16 -DEPENDS="gtk+3 fribidi libglade \ 5.17 -popt libxml2 libart_lgpl libgsf glib enchant wv xorg-libXdamage gcc-lib-base \ 5.18 -librsvg goffice glibc-locale libffi" 5.19 BUILD_DEPENDS="$DEPENDS gtk+3-dev pygobject-dev gobject-introspection-dev \ 5.20 pygobject3 fribidi-dev libglade-dev popt-dev libxml2-dev libart_lgpl-dev \ 5.21 libgsf-dev enchant-dev wv-dev libcroco-dev libboost-dev librsvg-dev gtk-doc \ 5.22 bison goffice-dev intltool gettext xorg-dev zlib-dev " 5.23 # libgnomeprint-dev libgnomeprintui-dev libgnomecanvas-dev 5.24 -SUGGESTED="abiword-plugins" 5.25 +SPLIT="abiword abiword-dev abiword-plugins" 5.26 5.27 # Rules to configure and make the package. 5.28 compile_rules() 5.29 @@ -49,35 +45,64 @@ 5.30 # Rules to gen a SliTaz package suitable for Tazpkg. 5.31 genpkg_rules() 5.32 { 5.33 - mkdir -p $fs/usr/share/pixmaps $fs/usr/lib/abiword-2.8/plugins $fs/usr/share/icons 5.34 + case $PACKAGE in 5.35 + abiword) 5.36 + TAGS="word doc office" 5.37 + DEPENDS="gtk+3 fribidi libglade popt libxml2 libart_lgpl \ 5.38 + libgsf glib enchant wv xorg-libXdamage gcc-lib-base \ 5.39 + librsvg goffice glibc-locale libffi" 5.40 + SUGGESTED="abiword-plugins" 5.41 + mkdir -p $fs/usr/share/pixmaps $fs/usr/lib/abiword-2.8/plugins $fs/usr/share/icons 5.42 5.43 - cp -a $install/usr/bin $fs/usr 5.44 - cp -a $install/usr/lib/*.so $fs/usr/lib 5.45 + cp -a $install/usr/bin $fs/usr 5.46 + cp -a $install/usr/lib/*.so $fs/usr/lib 5.47 5.48 - cp -a $install/usr/share/abiword-* $fs/usr/share 5.49 + cp -a $install/usr/share/abiword-* $fs/usr/share 5.50 5.51 - # Non standard pixmap 5.52 + # Non standard pixmap 5.53 5.54 - # fix error when abiword is run in command line 5.55 - ln -sf /usr/share/pixmaps/abiword.png $fs/usr/share/icons/abiword_48.png 5.56 + # fix error when abiword is run in command line 5.57 + ln -sf /usr/share/pixmaps/abiword.png $fs/usr/share/icons/abiword_48.png 5.58 5.59 - # Non-standard locale use: get all official SliTaz locales 5.60 - rm $fs/usr/share/abiword-*/strings/* 5.61 - rm $fs/usr/share/abiword-*/templates/* 5.62 - rm $fs/usr/share/abiword-*/system.pro* 5.63 + # Non-standard locale use: get all official SliTaz locales 5.64 + rm $fs/usr/share/abiword-*/strings/* 5.65 + rm $fs/usr/share/abiword-*/templates/* 5.66 + rm $fs/usr/share/abiword-*/system.pro* 5.67 5.68 - for LOCALE in $LOCALES; do 5.69 - cp $install/usr/share/abiword-*/strings/$LOCALE*.strings \ 5.70 - $fs/usr/share/abiword-*/strings/ 5.71 - # id locale not complete in sources 5.72 - if [ "$LOCALE" != "id" ]; then 5.73 - cp $install/usr/share/abiword-*/templates/normal.awt-$LOCALE* \ 5.74 - $fs/usr/share/abiword-*/templates/ 5.75 - cp $install/usr/share/abiword-*/system.profile-$LOCALE* \ 5.76 - $fs/usr/share/abiword-*/ 5.77 - fi 5.78 - done 5.79 + for LOCALE in $LOCALES; do 5.80 + cp $install/usr/share/abiword-*/strings/$LOCALE*.strings \ 5.81 + $fs/usr/share/abiword-*/strings/ 5.82 + # id locale not complete in sources 5.83 + if [ "$LOCALE" != "id" ]; then 5.84 + cp $install/usr/share/abiword-*/templates/normal.awt-$LOCALE* \ 5.85 + $fs/usr/share/abiword-*/templates/ 5.86 + cp $install/usr/share/abiword-*/system.profile-$LOCALE* \ 5.87 + $fs/usr/share/abiword-*/ 5.88 + fi 5.89 + done 5.90 5.91 - cp $install/usr/share/abiword-*/templates/*.awt $fs/usr/share/abiword-*/templates/ 5.92 - cp $install/usr/share/abiword-*/system.profile $fs/usr/share/abiword-*/ 5.93 + cp $install/usr/share/abiword-*/templates/*.awt $fs/usr/share/abiword-*/templates/ 5.94 + cp $install/usr/share/abiword-*/system.profile $fs/usr/share/abiword-*/ 5.95 + ;; 5.96 + abiword-dev) 5.97 + CAT="development|Abiword devel files" 5.98 + DEPENDS="pkg-config" 5.99 + mkdir -p $fs/usr/lib/abiword-2.8/plugins 5.100 + cp -a $install/usr/lib/*.*a $fs/usr/lib 5.101 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 5.102 + cp -a $install/usr/lib/abiword-*/plugins/*.*a \ 5.103 + $fs/usr/lib/abiword-2.8/plugins 5.104 + cp -a $install/usr/include $fs/usr 5.105 + ;; 5.106 + abiword-plugins) 5.107 + CAT="office|Extra plugins for Abiword (MSWord, OpenDocument, Wikidepia, etc)." 5.108 + TAGS="doc odf docx" 5.109 + DEPENDS="abiword glib readline xorg-libXdamage fribidi libxslt" 5.110 + mkdir -p $fs/usr/lib/abiword-2.8/plugins $fs/usr/share 5.111 + 5.112 + cp -a $install/usr/lib/abiword-*/plugins/*.so \ 5.113 + $fs/usr/lib/abiword-2.8/plugins 5.114 + 5.115 + ;; 5.116 + esac 5.117 }
6.1 --- a/apache-dev/receipt Thu Nov 02 17:11:17 2017 +0100 6.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 6.3 @@ -1,21 +0,0 @@ 6.4 -# SliTaz package receipt. 6.5 - 6.6 -PACKAGE="apache-dev" 6.7 -VERSION="2.4.16" 6.8 -CATEGORY="development" 6.9 -SHORT_DESC="HTTP server development files." 6.10 -MAINTAINER="pascal.bellard@slitaz.org" 6.11 -LICENSE="Apache" 6.12 -WEB_SITE="http://www.apache.org/" 6.13 -SOURCE="httpd" 6.14 -WANTED="apache" 6.15 - 6.16 -# Rules to gen a SliTaz package suitable for Tazpkg. 6.17 -genpkg_rules() 6.18 -{ 6.19 - mkdir -p $fs/usr/share/apache $fs/usr/bin 6.20 - cp -a $install/usr/include $fs/usr 6.21 - cp -a $install/usr/bin/apxs $fs/usr/bin 6.22 - cp -a $install/usr/share/apache/build $fs/usr/share/apache 6.23 -} 6.24 -
7.1 --- a/apache-doc/receipt Thu Nov 02 17:11:17 2017 +0100 7.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 7.3 @@ -1,19 +0,0 @@ 7.4 -# SliTaz package receipt. 7.5 - 7.6 -PACKAGE="apache-doc" 7.7 -VERSION="2.4.16" 7.8 -CATEGORY="development" 7.9 -SHORT_DESC="HTTP server documentation files." 7.10 -MAINTAINER="pascal.bellard@slitaz.org" 7.11 -LICENSE="Apache" 7.12 -WEB_SITE="http://www.apache.org/" 7.13 -SOURCE="httpd" 7.14 -WANTED="apache" 7.15 - 7.16 -# Rules to gen a SliTaz package suitable for Tazpkg. 7.17 -genpkg_rules() 7.18 -{ 7.19 - mkdir -p $fs/usr/share 7.20 - cp -a $install/usr/share/doc $fs/usr/share 7.21 -} 7.22 -
8.1 --- a/apache/receipt Thu Nov 02 17:11:17 2017 +0100 8.2 +++ b/apache/receipt Thu Nov 02 18:17:32 2017 +0100 8.3 @@ -1,4 +1,4 @@ 8.4 -# SliTaz package receipt. 8.5 +# SliTaz package receipt v2. 8.6 8.7 PACKAGE="apache" 8.8 VERSION="2.4.16" 8.9 @@ -10,14 +10,10 @@ 8.10 TARBALL="$SOURCE-$VERSION.tar.bz2" 8.11 WEB_SITE="http://www.apache.org/" 8.12 WGET_URL="${WEB_SITE}dist/$SOURCE/$TARBALL" 8.13 -CONFIG_FILES="/etc/apache /var/www /etc/ssl/apache" 8.14 -TAZPANEL_DAEMON="edit::/etc/apache/httpd.conf|web::$WEB_SITE" 8.15 -PROVIDE="lighttpd" 8.16 -TAGS="webserver http server" 8.17 8.18 -DEPENDS="apr-util apr openssl pcre util-linux-uuid expat zlib" 8.19 BUILD_DEPENDS="apr-util-dev apr-dev openssl-dev sed expat-dev zlib-dev \ 8.20 util-linux-uuid-dev openldap-dev bash pcre-dev" 8.21 +SPLIT="apache apache-dev apache-doc" 8.22 8.23 # Rules to configure and make the package. 8.24 compile_rules() 8.25 @@ -35,47 +31,68 @@ 8.26 # Rules to gen a SliTaz package suitable for Tazpkg. 8.27 genpkg_rules() 8.28 { 8.29 - mkdir -p $fs/usr/share/apache $fs/etc/init.d $fs/etc/apache/conf.d 8.30 - mkdir -p $fs/etc/ssl/apache 8.31 - cp -a $install/usr/share/apache/icons $fs/usr/share/apache 8.32 - cp -a $install/usr/share/apache/error $fs/usr/share/apache 8.33 - cp -a $install/usr/share/apache/modules $fs/usr/share/apache 8.34 - cp -a $install/usr/bin $fs/usr 8.35 - rm -r $fs/usr/bin/apxs 8.36 - cp -a $install/etc $fs 8.37 - rm -rf $fs/etc/apache/original 8.38 - cp -a $install/var $fs 8.39 + case $PACKAGE in 8.40 + apache) 8.41 + CONFIG_FILES="/etc/apache /var/www /etc/ssl/apache" 8.42 + TAZPANEL_DAEMON="edit::/etc/apache/httpd.conf|web::$WEB_SITE" 8.43 + PROVIDE="lighttpd" 8.44 + TAGS="webserver http server" 8.45 + DEPENDS="apr-util apr openssl pcre util-linux-uuid expat zlib" 8.46 + mkdir -p $fs/usr/share/apache $fs/etc/init.d $fs/etc/apache/conf.d 8.47 + mkdir -p $fs/etc/ssl/apache 8.48 + cp -a $install/usr/share/apache/icons $fs/usr/share/apache 8.49 + cp -a $install/usr/share/apache/error $fs/usr/share/apache 8.50 + cp -a $install/usr/share/apache/modules $fs/usr/share/apache 8.51 + cp -a $install/usr/bin $fs/usr 8.52 + rm -r $fs/usr/bin/apxs 8.53 + cp -a $install/etc $fs 8.54 + rm -rf $fs/etc/apache/original 8.55 + cp -a $install/var $fs 8.56 8.57 - cp -a $stuff/apache $fs/etc/init.d 8.58 - mkdir -p $fs/etc/apache/extra 8.59 - cp -a $stuff/fix-range-CVE-2011-3192.conf $fs/etc/apache/extra 8.60 + cp -a $stuff/apache $fs/etc/init.d 8.61 + mkdir -p $fs/etc/apache/extra 8.62 + cp -a $stuff/fix-range-CVE-2011-3192.conf $fs/etc/apache/extra 8.63 8.64 - sed -i -e 's|User daemon|User www|' -e 's|Group daemon|Group www|' \ 8.65 - -e 's|ServerAdmin you@example.com|ServerAdmin root@localhost|' \ 8.66 - -e 's|#Include /etc/apache/extra/httpd-ssl.conf|Include /etc/apache/extra/httpd-ssl.conf|' \ 8.67 - -e 's|/etc/apache/server.crt|/etc/ssl/apache/apache.pem|' \ 8.68 - -e 's|/etc/apache/server.key|/etc/ssl/apache/apache.pem|' \ 8.69 - -e 's|#LoadModule ssl_module|LoadModule ssl_module|' \ 8.70 - $fs/etc/apache/httpd.conf $fs/etc/apache/extra/httpd-ssl.conf 8.71 - echo "Include /etc/apache/conf.d" >> $fs/etc/apache/httpd.conf 8.72 - sed -i 's/^SSLSessionCache /#&/' $fs/etc/apache/extra/httpd-ssl.conf 8.73 - cat >> $fs/etc/apache/extra/httpd-ssl.conf <<EOT 8.74 + sed -i -e 's|User daemon|User www|' -e 's|Group daemon|Group www|' \ 8.75 + -e 's|ServerAdmin you@example.com|ServerAdmin root@localhost|' \ 8.76 + -e 's|#Include /etc/apache/extra/httpd-ssl.conf|Include /etc/apache/extra/httpd-ssl.conf|' \ 8.77 + -e 's|/etc/apache/server.crt|/etc/ssl/apache/apache.pem|' \ 8.78 + -e 's|/etc/apache/server.key|/etc/ssl/apache/apache.pem|' \ 8.79 + -e 's|#LoadModule ssl_module|LoadModule ssl_module|' \ 8.80 + $fs/etc/apache/httpd.conf $fs/etc/apache/extra/httpd-ssl.conf 8.81 + echo "Include /etc/apache/conf.d" >> $fs/etc/apache/httpd.conf 8.82 + sed -i 's/^SSLSessionCache /#&/' $fs/etc/apache/extra/httpd-ssl.conf 8.83 + cat >> $fs/etc/apache/extra/httpd-ssl.conf <<EOT 8.84 8.85 # Unsafe, see CVE-2014-3566 POODLE 8.86 SSLProtocol All -SSLv2 -SSLv3 8.87 EOT 8.88 + ;; 8.89 + apache-dev) 8.90 + CAT="development|HTTP server development files." 8.91 + mkdir -p $fs/usr/share/apache $fs/usr/bin 8.92 + cp -a $install/usr/include $fs/usr 8.93 + cp -a $install/usr/bin/apxs $fs/usr/bin 8.94 + cp -a $install/usr/share/apache/build $fs/usr/share/apache 8.95 + ;; 8.96 + apache-doc) 8.97 + CAT="development|HTTP server documentation files." 8.98 + mkdir -p $fs/usr/share 8.99 + cp -a $install/usr/share/doc $fs/usr/share 8.100 + ;; 8.101 + esac 8.102 } 8.103 8.104 # Pre and post install commands for Tazpkg. 8.105 # We stop the server by default in case of upgarde. 8.106 -pre_install() 8.107 +pre_install_apache() 8.108 { 8.109 [ -z "$1" ] && for i in httpd lighttpd ngnix cherokee $PACKAGE ; do 8.110 [ -f /etc/init.d/$i ] && /etc/init.d/$i stop 8.111 done 8.112 } 8.113 8.114 -post_install() 8.115 +post_install_apache() 8.116 { 8.117 local lang=$(. $1/etc/locale.conf 2>/dev/null; echo ${LANG#*_}) 8.118 local tz=$(cat $1/etc/TZ 2>/dev/null)
9.1 --- a/connman-dev/receipt Thu Nov 02 17:11:17 2017 +0100 9.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 9.3 @@ -1,33 +0,0 @@ 9.4 -# SliTaz package receipt. 9.5 - 9.6 -PACKAGE="connman-dev" 9.7 -VERSION="1.21" 9.8 -CATEGORY="network" 9.9 -SHORT_DESC="Daemon for managing internet connections, dev files." 9.10 -MAINTAINER="slaxemulator@gmail.com" 9.11 -LICENSE="GPL2" 9.12 -WEB_SITE="http://connman.net/" 9.13 -WANTED="connman" 9.14 - 9.15 -BUILD_DEPENDS="dbus-python pygobject" 9.16 - 9.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 9.18 -genpkg_rules() 9.19 -{ 9.20 - # vpn 9.21 - mkdir -p $fs/usr/lib/connman/plugins-vpn 9.22 - cp -a $install/usr/lib/connman/plugins-vpn/*a \ 9.23 - $fs/usr/lib/connman/plugins-vpn 9.24 - # include 9.25 - cp -a $install/usr/include $fs/usr 9.26 - # pkg-config 9.27 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 9.28 - # test tools 9.29 - mkdir -p $fs/usr/sbin 9.30 - install -Dm755 $src/tools/*-test $fs/usr/sbin 9.31 - install -Dm755 $src/tools/*-tool $fs/usr/sbin 9.32 - install -Dm755 $src/tools/*-unit $fs/usr/sbin 9.33 - install -Dm755 $src/tools/wispr $fs/usr/sbin 9.34 - # python tools 9.35 - install -Dm755 $src/test/* $fs/usr/sbin 9.36 -}
10.1 --- a/connman-tools/receipt Thu Nov 02 17:11:17 2017 +0100 10.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 10.3 @@ -1,20 +0,0 @@ 10.4 -# SliTaz package receipt. 10.5 - 10.6 -PACKAGE="connman-tools" 10.7 -VERSION="1.21" 10.8 -CATEGORY="network" 10.9 -SHORT_DESC="Daemon for managing internet connections, dev tools." 10.10 -MAINTAINER="slaxemulator@gmail.com" 10.11 -LICENSE="GPL2" 10.12 -WEB_SITE="http://connman.net/" 10.13 -WANTED="connman" 10.14 - 10.15 -DEPENDS="readline ncurses" 10.16 - 10.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 10.18 -genpkg_rules() 10.19 -{ 10.20 - # client 10.21 - mkdir -p $fs/usr/sbin 10.22 - install -Dm755 $src/client/connmanctl $fs/usr/sbin 10.23 -}
11.1 --- a/connman/receipt Thu Nov 02 17:11:17 2017 +0100 11.2 +++ b/connman/receipt Thu Nov 02 18:17:32 2017 +0100 11.3 @@ -1,4 +1,4 @@ 11.4 -# SliTaz package receipt. 11.5 +# SliTaz package receipt v2. 11.6 11.7 PACKAGE="connman" 11.8 VERSION="1.21" 11.9 @@ -10,12 +10,10 @@ 11.10 WEB_SITE="http://connman.net/" 11.11 WGET_URL="http://linux-kernel.uio.no/pub/linux/network/$PACKAGE/$TARBALL" 11.12 11.13 -DEPENDS="glib dbus iptables gnutls libnl libgcrypt udev wpa_supplicant 11.14 -dbus-helper" 11.15 BUILD_DEPENDS="glib-dev dbus-dev iptables-dev iptables gnutls-dev libnl-dev 11.16 openconnect udev-dev wpa_supplicant readline-dev ncurses-dev openvpn 11.17 bluez-dev ppp-dev" 11.18 -SUGGESTED="xl2tpd pptpclient openvpn" 11.19 +SPLIT="connman connman-dev connman-tools" 11.20 11.21 # Rules to configure and make the package. 11.22 compile_rules() 11.23 @@ -44,27 +42,60 @@ 11.24 # Rules to gen a SliTaz package suitable for Tazpkg. 11.25 genpkg_rules() 11.26 { 11.27 - # dbus conf 11.28 - mkdir -p $fs/etc 11.29 - cp -a $install/etc/dbus-1 $fs/etc 11.30 - # conman exec 11.31 - mkdir -p $fs/usr 11.32 - cp -a $install/usr/sbin $fs/usr 11.33 - # libs 11.34 - mkdir -p $fs/usr/lib/connman/plugins-vpn 11.35 - cp -a $install/usr/lib/connman/plugins-vpn/*.so \ 11.36 - $fs/usr/lib/connman/plugins-vpn 11.37 - # vpn scripts 11.38 - mkdir -p $fs/usr/lib/connman/scripts 11.39 - cp -a $install/usr/lib/connman/scripts $fs/usr/lib/connman 11.40 - # share 11.41 - cp -a $install/usr/share $fs/usr 11.42 - # init script 11.43 - cp -a $stuff/etc $fs 11.44 + case $PACKAGE in 11.45 + connman) 11.46 + DEPENDS="glib dbus iptables gnutls libnl libgcrypt udev \ 11.47 + wpa_supplicant dbus-helper" 11.48 + SUGGESTED="xl2tpd pptpclient openvpn" 11.49 + # dbus conf 11.50 + mkdir -p $fs/etc 11.51 + cp -a $install/etc/dbus-1 $fs/etc 11.52 + # conman exec 11.53 + mkdir -p $fs/usr 11.54 + cp -a $install/usr/sbin $fs/usr 11.55 + # libs 11.56 + mkdir -p $fs/usr/lib/connman/plugins-vpn 11.57 + cp -a $install/usr/lib/connman/plugins-vpn/*.so \ 11.58 + $fs/usr/lib/connman/plugins-vpn 11.59 + # vpn scripts 11.60 + mkdir -p $fs/usr/lib/connman/scripts 11.61 + cp -a $install/usr/lib/connman/scripts $fs/usr/lib/connman 11.62 + # share 11.63 + cp -a $install/usr/share $fs/usr 11.64 + # init script 11.65 + cp -a $stuff/etc $fs 11.66 + ;; 11.67 + connman-dev) 11.68 + CAT="network|Daemon for managing internet connections, dev files." 11.69 + # vpn 11.70 + mkdir -p $fs/usr/lib/connman/plugins-vpn 11.71 + cp -a $install/usr/lib/connman/plugins-vpn/*a \ 11.72 + $fs/usr/lib/connman/plugins-vpn 11.73 + # include 11.74 + cp -a $install/usr/include $fs/usr 11.75 + # pkg-config 11.76 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 11.77 + # test tools 11.78 + mkdir -p $fs/usr/sbin 11.79 + install -Dm755 $src/tools/*-test $fs/usr/sbin 11.80 + install -Dm755 $src/tools/*-tool $fs/usr/sbin 11.81 + install -Dm755 $src/tools/*-unit $fs/usr/sbin 11.82 + install -Dm755 $src/tools/wispr $fs/usr/sbin 11.83 + # python tools 11.84 + install -Dm755 $src/test/* $fs/usr/sbin 11.85 + ;; 11.86 + connman-tools) 11.87 + CAT="network|Daemon for managing internet connections, dev tools." 11.88 + DEPENDS="readline ncurses" 11.89 + # client 11.90 + mkdir -p $fs/usr/sbin 11.91 + install -Dm755 $src/client/connmanctl $fs/usr/sbin 11.92 + ;; 11.93 + esac 11.94 } 11.95 11.96 # Pre and post remove commands for Tazpkg 11.97 -post_install() 11.98 +post_install_connman() 11.99 { 11.100 if ! grep -qs ^CONNMAND_OPTIONS "$1/etc/daemons.conf"; then 11.101 echo '# Connman daemon options.' >> "$1/etc/daemons.conf" 11.102 @@ -76,7 +107,7 @@ 11.103 fi 11.104 } 11.105 11.106 -pre_remove() 11.107 +pre_remove_connman() 11.108 { 11.109 if [ -z "$1" ]; then 11.110 /etc/init.d/connman stop 2> /dev/null
12.1 --- a/elementary-dev/receipt Thu Nov 02 17:11:17 2017 +0100 12.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 12.3 @@ -1,35 +0,0 @@ 12.4 -# SliTaz package receipt. 12.5 - 12.6 -PACKAGE="elementary-dev" 12.7 -VERSION="1.7.10" 12.8 -CATEGORY="development" 12.9 -SHORT_DESC="EFL full regular widget set - Devel files." 12.10 -MAINTAINER="pankso@slitaz.org" 12.11 -LICENSE="LGPL2.1" 12.12 -WANTED="elementary" 12.13 -WEB_SITE="http://www.enlightenment.org/" 12.14 -HOST_ARCH="i486 arm" 12.15 - 12.16 -DEPENDS="efreet-dev emotion-dev ethumb-dev elementary pkg-config" 12.17 - 12.18 -# Rules to gen a SliTaz package suitable for Tazpkg. 12.19 -genpkg_rules() 12.20 -{ 12.21 - case "$ARCH" in 12.22 - i?86) edje_mods="/usr/lib/edje/modules/elm/linux-gnu-i486-1.0.0" ;; 12.23 - arm) edje_mods="/usr/lib/edje/modules/elm/linux-gnueabi-arm-1.0.0" ;; 12.24 - esac 12.25 - mkdir -p ${fs}${edje_mods} 12.26 - cp -a $install/usr/include $fs/usr 12.27 - cp -a $install/usr/lib/*.*a $fs/usr/lib 12.28 - cp -a ${install}${edje_mods}/module.la ${fs}${edje_mods} 12.29 - cp -a $install/usr/lib/elementary $fs/usr/lib 12.30 - rm -f $fs/usr/lib/elementary/modules/*/*/*.so 12.31 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 12.32 - # menus 12.33 - mkdir -p $fs/usr/bin 12.34 - cp -a $install/usr/bin/* $fs/usr/bin 12.35 - mkdir -p $fs/usr/share/pixmaps 12.36 - cp -a $install/usr/share/applications $fs/usr/share 12.37 - cp -a $install/usr/share/icons/* $fs/usr/share/pixmaps 12.38 -}
13.1 --- a/elementary/receipt Thu Nov 02 17:11:17 2017 +0100 13.2 +++ b/elementary/receipt Thu Nov 02 18:17:32 2017 +0100 13.3 @@ -1,4 +1,4 @@ 13.4 -# SliTaz package receipt. 13.5 +# SliTaz package receipt v2. 13.6 13.7 PACKAGE="elementary" 13.8 VERSION="1.7.10" 13.9 @@ -14,8 +14,8 @@ 13.10 13.11 GENERIC_MENUS="no" 13.12 RELATED="elementary libelementary" 13.13 -DEPENDS="efreet emotion ethumb libelementary" 13.14 BUILD_DEPENDS="efreet-dev emotion-dev ethumb-dev udev" 13.15 +SPLIT="elementary elementary-dev libelementary" 13.16 13.17 # Rules to configure and make the package. 13.18 compile_rules() 13.19 @@ -29,14 +29,47 @@ 13.20 # Rules to gen a SliTaz package suitable for Tazpkg. 13.21 genpkg_rules() 13.22 { 13.23 - # lib 13.24 - mkdir -p $fs/usr/lib $fs/usr/share 13.25 - cp -a $install/usr/lib/edje $fs/usr/lib 13.26 - cp -a $install/usr/lib/elementary $fs/usr/lib 13.27 - rm -f $fs/usr/lib/*/modules/*/*/*.la 13.28 - cp -a $install/usr/lib/*.so* $fs/usr/lib 13.29 - # Package: libelementary 13.30 - rm -f $fs/usr/lib/libelementary.so.* 13.31 - # share 13.32 - cp -a $install/usr/share/elementary $fs/usr/share 13.33 + case $PACKAGE in 13.34 + elementary) 13.35 + DEPENDS="efreet emotion ethumb libelementary" 13.36 + # lib 13.37 + mkdir -p $fs/usr/lib $fs/usr/share 13.38 + cp -a $install/usr/lib/edje $fs/usr/lib 13.39 + cp -a $install/usr/lib/elementary $fs/usr/lib 13.40 + rm -f $fs/usr/lib/*/modules/*/*/*.la 13.41 + cp -a $install/usr/lib/*.so* $fs/usr/lib 13.42 + # Package: libelementary 13.43 + rm -f $fs/usr/lib/libelementary.so.* 13.44 + # share 13.45 + cp -a $install/usr/share/elementary $fs/usr/share 13.46 + ;; 13.47 + elementary-dev) 13.48 + CAT="development|EFL full regular widget set - Devel files." 13.49 + DEPENDS="efreet-dev emotion-dev ethumb-dev elementary pkg-config" 13.50 + case "$ARCH" in 13.51 + i?86) edje_mods="/usr/lib/edje/modules/elm/linux-gnu-i486-1.0.0" ;; 13.52 + arm) edje_mods="/usr/lib/edje/modules/elm/linux-gnueabi-arm-1.0.0" ;; 13.53 + esac 13.54 + mkdir -p ${fs}${edje_mods} 13.55 + cp -a $install/usr/include $fs/usr 13.56 + cp -a $install/usr/lib/*.*a $fs/usr/lib 13.57 + cp -a ${install}${edje_mods}/module.la ${fs}${edje_mods} 13.58 + cp -a $install/usr/lib/elementary $fs/usr/lib 13.59 + rm -f $fs/usr/lib/elementary/modules/*/*/*.so 13.60 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 13.61 + # menus 13.62 + mkdir -p $fs/usr/bin 13.63 + cp -a $install/usr/bin/* $fs/usr/bin 13.64 + mkdir -p $fs/usr/share/pixmaps 13.65 + cp -a $install/usr/share/applications $fs/usr/share 13.66 + cp -a $install/usr/share/icons/* $fs/usr/share/pixmaps 13.67 + ;; 13.68 + libelementary) 13.69 + CAT="development|Elementary library." 13.70 + DEPENDS="xorg-libXp xorg-libXScrnSaver jpeg fribidi fontconfig \ 13.71 + edbus efreet glib eina" 13.72 + mkdir -p $fs/usr/lib 13.73 + cp -a $install/usr/lib/libelementary*so* $fs/usr/lib 13.74 + ;; 13.75 + esac 13.76 }
14.1 --- a/emacs-pkg-go-mode/receipt Thu Nov 02 17:11:17 2017 +0100 14.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 14.3 @@ -1,38 +0,0 @@ 14.4 -# SliTaz package receipt. 14.5 - 14.6 -PACKAGE="emacs-pkg-go-mode" 14.7 -VERSION="1.2.1" 14.8 -CATEGORY="development" 14.9 -SHORT_DESC="An Emacs major mode for editing Go code." 14.10 -MAINTAINER="domcox@slitaz.org" 14.11 -LICENSE="GPL3" 14.12 -BUILD_DEPENDS="emacs" 14.13 -WEB_SITE="http://www.golang.org" 14.14 -WANTED="go" 14.15 -TAGS="emacs go" 14.16 - 14.17 -DEPENDS="emacs" 14.18 - 14.19 -# Rules to gen a SliTaz package suitable for Tazpkg. 14.20 -genpkg_rules() 14.21 -{ 14.22 - echo -n "Installing start file" 14.23 - mkdir -p $fs/usr/share/emacs/site-lisp/site-start.d && \ 14.24 - cp -a stuff/80-go-init.el $fs/usr/share/emacs/site-lisp/site-start.d 14.25 - status 14.26 - 14.27 - echo -n "Installing go-mode" 14.28 - mkdir -p $fs/usr/share/emacs/site-lisp/go-mode && \ 14.29 - cp -a $src/misc/emacs/* $fs/usr/share/emacs/site-lisp/go-mode 14.30 - status 14.31 -} 14.32 - 14.33 -post_install() 14.34 -{ 14.35 - chroot "$1/" tazpkg reconfigure emacs 14.36 -} 14.37 - 14.38 -post_remove() 14.39 -{ 14.40 - chroot "$1/" tazpkg reconfigure emacs 14.41 -}
15.1 --- a/emacs-pkg-go-mode/stuff/80-go-init.el Thu Nov 02 17:11:17 2017 +0100 15.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 15.3 @@ -1,5 +0,0 @@ 15.4 -;; Register go-mode 15.5 - 15.6 - (add-to-list 'load-path "/usr/share/emacs/site-lisp/go-mode" t) 15.7 - (require 'go-mode-load) 15.8 -;;
16.1 --- a/evince-dev/receipt Thu Nov 02 17:11:17 2017 +0100 16.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 16.3 @@ -1,23 +0,0 @@ 16.4 -# SliTaz package receipt. 16.5 - 16.6 -PACKAGE="evince-dev" 16.7 -VERSION="2.32.0" 16.8 -CATEGORY="office" 16.9 -SHORT_DESC="Evince developement headers files." 16.10 -MAINTAINER="erjo@slitaz.org" 16.11 -LICENSE="GPL2" 16.12 -WEB_SITE="http://projects.gnome.org/evince/" 16.13 -WANTED="evince" 16.14 - 16.15 -DEPENDS="evince gnome-doc-utils" 16.16 - 16.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 16.18 -genpkg_rules() 16.19 -{ 16.20 - mkdir -p $fs/usr/lib/evince/3/backends 16.21 - 16.22 - cp -a $install/usr/include $fs/usr 16.23 - cp -a $install/usr/lib/*.*a $fs/usr/lib 16.24 - cp -a $install/usr/lib/evince/3/backends/*.*a $fs/usr/lib/evince/3/backends 16.25 - 16.26 -}
17.1 --- a/evince-doc/receipt Thu Nov 02 17:11:17 2017 +0100 17.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 17.3 @@ -1,29 +0,0 @@ 17.4 -# SliTaz package receipt. 17.5 - 17.6 -PACKAGE="evince-doc" 17.7 -VERSION="2.32.0" 17.8 -CATEGORY="development" 17.9 -SHORT_DESC="Evince documention." 17.10 -MAINTAINER="erjo@slitaz.org" 17.11 -LICENSE="GPL2" 17.12 -WEB_SITE="http://projects.gnome.org/evince/" 17.13 -WANTED="evince" 17.14 - 17.15 -DEPENDS="evince" 17.16 - 17.17 -# Rules to configure and make the package. 17.18 -compile_rules() 17.19 -{ 17.20 - [ -d $install/usr/share/gnome -a \ 17.21 - -d $install/usr/share/gtk-doc -a \ 17.22 - -d $install/usr/share/omf ] 17.23 -} 17.24 - 17.25 -# Rules to gen a SliTaz package suitable for Tazpkg. 17.26 -genpkg_rules() 17.27 -{ 17.28 - # Note: Evince build disables local help in favor of online help. 17.29 - # Consider removing this package from wok. 17.30 - mkdir -p $fs/usr/share 17.31 - cp -a $install/usr/share/gtk-doc $fs/usr/share 17.32 -}
18.1 --- a/evince/receipt Thu Nov 02 17:11:17 2017 +0100 18.2 +++ b/evince/receipt Thu Nov 02 18:17:32 2017 +0100 18.3 @@ -1,4 +1,4 @@ 18.4 -# SliTaz package receipt. 18.5 +# SliTaz package receipt v2. 18.6 18.7 PACKAGE="evince" 18.8 VERSION="2.32.0" 18.9 @@ -9,12 +9,11 @@ 18.10 TARBALL="$PACKAGE-$VERSION.tar.bz2" 18.11 WEB_SITE="http://projects.gnome.org/evince/" 18.12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL" 18.13 -TAGS="viewer pdf tiff ps postscript dvi" 18.14 18.15 -DEPENDS="lcms poppler tiff dbus-glib glib util-linux-uuid" 18.16 BUILD_DEPENDS="gnome-doc-utils-dev docbook-xml libxml2-dev \ 18.17 gnome-icon-theme gtk+-dev intltool lcms-dev util-linux-uuid-dev \ 18.18 poppler-dev tiff-dev dbus-glib-dev xorg-dev lcms2-dev" 18.19 +SPLIT="evince evince-dev evince-doc" 18.20 18.21 # Rules to configure and make the package. 18.22 compile_rules() 18.23 @@ -32,22 +31,50 @@ 18.24 --disable-help \ 18.25 $CONFIGURE_ARGS && 18.26 make -j1 && make -j1 DESTDIR=$DESTDIR install 18.27 + 18.28 + # Check for evince-doc 18.29 + [ -d $install/usr/share/gnome -a \ 18.30 + -d $install/usr/share/gtk-doc -a \ 18.31 + -d $install/usr/share/omf ] 18.32 } 18.33 18.34 # Rules to gen a SliTaz package suitable for Tazpkg. 18.35 genpkg_rules() 18.36 { 18.37 - mkdir -p $fs/usr/share/glib-2.0 $fs/usr/lib $fs/usr/share/applications 18.38 - cp -a $install/usr/bin $fs/usr 18.39 - cp -a $install/usr/lib/*.so* $fs/usr/lib 18.40 - cp -a $install/usr/lib/evince $fs/usr/lib 18.41 + case $PACKAGE in 18.42 + evince) 18.43 + TAGS="viewer pdf tiff ps postscript dvi" 18.44 + DEPENDS="lcms poppler tiff dbus-glib glib util-linux-uuid" 18.45 + mkdir -p $fs/usr/share/glib-2.0 $fs/usr/lib $fs/usr/share/applications 18.46 + cp -a $install/usr/bin $fs/usr 18.47 + cp -a $install/usr/lib/*.so* $fs/usr/lib 18.48 + cp -a $install/usr/lib/evince $fs/usr/lib 18.49 18.50 - cp -a $install/usr/share/dbus-1 $fs/usr/share 18.51 - cp -a $install/usr/share/icons $fs/usr/share 18.52 - cp -a $install/usr/share/evince $fs/usr/share 18.53 - cp -a $install/usr/share/glib-2.0/schemas $fs/usr/share/glib-2.0 18.54 - cp -a $stuff/evince.desktop $fs/usr/share/applications 18.55 + cp -a $install/usr/share/dbus-1 $fs/usr/share 18.56 + cp -a $install/usr/share/icons $fs/usr/share 18.57 + cp -a $install/usr/share/evince $fs/usr/share 18.58 + cp -a $install/usr/share/glib-2.0/schemas $fs/usr/share/glib-2.0 18.59 + cp -a $stuff/evince.desktop $fs/usr/share/applications 18.60 18.61 - # Removing unwanted files 18.62 - find $fs/usr/lib -name "*.*a" -exec rm -rf {} \; 18.63 + # Removing unwanted files 18.64 + find $fs/usr/lib -name "*.*a" -exec rm -rf {} \; 18.65 + ;; 18.66 + evince-dev) 18.67 + CAT="office|Evince developement headers files." 18.68 + DEPENDS="evince gnome-doc-utils" 18.69 + mkdir -p $fs/usr/lib/evince/3/backends 18.70 + 18.71 + cp -a $install/usr/include $fs/usr 18.72 + cp -a $install/usr/lib/*.*a $fs/usr/lib 18.73 + cp -a $install/usr/lib/evince/3/backends/*.*a $fs/usr/lib/evince/3/backends 18.74 + ;; 18.75 + evince-doc) 18.76 + CAT="development|Evince documention." 18.77 + DEPENDS="evince" 18.78 + # Note: Evince build disables local help in favor of online help. 18.79 + # Consider removing this package from wok. 18.80 + mkdir -p $fs/usr/share 18.81 + cp -a $install/usr/share/gtk-doc $fs/usr/share 18.82 + ;; 18.83 + esac 18.84 }
19.1 --- a/ffmpeg/receipt Thu Nov 02 17:11:17 2017 +0100 19.2 +++ b/ffmpeg/receipt Thu Nov 02 18:17:32 2017 +0100 19.3 @@ -17,7 +17,7 @@ 19.4 #coreutils-file-special yasm" 19.5 BUILD_DEPENDS="coreutils-file-format libass-dev fdk-aac-dev lame-dev opus-dev \ 19.6 libtheora-dev libvorbis-dev libvpx-dev x264-dev x265-dev xorg-libX11-dev" 19.7 -SPLIT="ffmpeg-dev" 19.8 +SPLIT="ffmpeg ffmpeg-dev ffplay ffserver" 19.9 19.10 # Rules to configure and make the package. 19.11 compile_rules() 19.12 @@ -91,6 +91,21 @@ 19.13 arm*) DEPENDS="alsa-lib bzip2 zlib" ;; 19.14 esac 19.15 ;; 19.16 + ffplay) 19.17 + CAT="multimedia|Very simple and portable media player using the ffmpeg and the SDL library." 19.18 + TAGS="audio video player" 19.19 + DEPENDS="ffmpeg libsdl" 19.20 + mkdir -p $fs/usr/bin 19.21 + cp -a $install/usr/bin/ffplay $fs/usr/bin 19.22 + ;; 19.23 + ffserver) 19.24 + CAT="multimedia|FFmpeg audio/video fast and small stream server." 19.25 + TAGS="audio video server" 19.26 + DEPENDS="ffmpeg" 19.27 + mkdir -p $fs/usr/bin $fs/etc 19.28 + cp ${stuff}/ffserver.conf $fs/etc 19.29 + cp -a $install/usr/bin/ffserver $fs/usr/bin 19.30 + ;; 19.31 *-dev) 19.32 copy @dev examples/ 19.33 DEPENDS="ffmpeg bzip2-dev fdk-aac-dev freetype-dev lame-dev \
20.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 20.2 +++ b/ffmpeg/stuff/ffserver.conf Thu Nov 02 18:17:32 2017 +0100 20.3 @@ -0,0 +1,377 @@ 20.4 +# /etc/ffserver.conf 20.5 +# 20.6 +# Port on which the server is listening. You must select a different 20.7 +# port from your standard HTTP web server if it is running on the same 20.8 +# computer. 20.9 +Port 8090 20.10 + 20.11 +# Address on which the server is bound. Only useful if you have 20.12 +# several network interfaces. 20.13 +BindAddress 0.0.0.0 20.14 + 20.15 +# Number of simultaneous HTTP connections that can be handled. It has 20.16 +# to be defined *before* the MaxClients parameter, since it defines the 20.17 +# MaxClients maximum limit. 20.18 +MaxHTTPConnections 2000 20.19 + 20.20 +# Number of simultaneous requests that can be handled. Since FFServer 20.21 +# is very fast, it is more likely that you will want to leave this high 20.22 +# and use MaxBandwidth, below. 20.23 +MaxClients 1000 20.24 + 20.25 +# This the maximum amount of kbit/sec that you are prepared to 20.26 +# consume when streaming to clients. 20.27 +MaxBandwidth 1000 20.28 + 20.29 +# Access log file (uses standard Apache log file format) 20.30 +# '-' is the standard output. 20.31 +CustomLog - 20.32 + 20.33 +# Suppress that if you want to launch ffserver as a daemon. 20.34 +NoDaemon 20.35 + 20.36 + 20.37 +################################################################## 20.38 +# Definition of the live feeds. Each live feed contains one video 20.39 +# and/or audio sequence coming from an ffmpeg encoder or another 20.40 +# ffserver. This sequence may be encoded simultaneously with several 20.41 +# codecs at several resolutions. 20.42 + 20.43 +<Feed feed1.ffm> 20.44 + 20.45 +# You must use 'ffmpeg' to send a live feed to ffserver. In this 20.46 +# example, you can type: 20.47 +# 20.48 +# ffmpeg http://localhost:8090/feed1.ffm 20.49 + 20.50 +# ffserver can also do time shifting. It means that it can stream any 20.51 +# previously recorded live stream. The request should contain: 20.52 +# "http://xxxx?date=[YYYY-MM-DDT][[HH:]MM:]SS[.m...]".You must specify 20.53 +# a path where the feed is stored on disk. You also specify the 20.54 +# maximum size of the feed, where zero means unlimited. Default: 20.55 +# File=/tmp/feed_name.ffm FileMaxSize=5M 20.56 +File /tmp/feed1.ffm 20.57 +FileMaxSize 200K 20.58 + 20.59 +# You could specify 20.60 +# ReadOnlyFile /saved/specialvideo.ffm 20.61 +# This marks the file as readonly and it will not be deleted or updated. 20.62 + 20.63 +# Specify launch in order to start ffmpeg automatically. 20.64 +# First ffmpeg must be defined with an appropriate path if needed, 20.65 +# after that options can follow, but avoid adding the http:// field 20.66 +#Launch ffmpeg 20.67 + 20.68 +# Only allow connections from localhost to the feed. 20.69 +ACL allow 127.0.0.1 20.70 + 20.71 +</Feed> 20.72 + 20.73 + 20.74 +################################################################## 20.75 +# Now you can define each stream which will be generated from the 20.76 +# original audio and video stream. Each format has a filename (here 20.77 +# 'test1.mpg'). FFServer will send this stream when answering a 20.78 +# request containing this filename. 20.79 + 20.80 +<Stream test1.mpg> 20.81 + 20.82 +# coming from live feed 'feed1' 20.83 +Feed feed1.ffm 20.84 + 20.85 +# Format of the stream : you can choose among: 20.86 +# mpeg : MPEG-1 multiplexed video and audio 20.87 +# mpegvideo : only MPEG-1 video 20.88 +# mp2 : MPEG-2 audio (use AudioCodec to select layer 2 and 3 codec) 20.89 +# ogg : Ogg format (Vorbis audio codec) 20.90 +# rm : RealNetworks-compatible stream. Multiplexed audio and video. 20.91 +# ra : RealNetworks-compatible stream. Audio only. 20.92 +# mpjpeg : Multipart JPEG (works with Netscape without any plugin) 20.93 +# jpeg : Generate a single JPEG image. 20.94 +# asf : ASF compatible streaming (Windows Media Player format). 20.95 +# swf : Macromedia Flash compatible stream 20.96 +# avi : AVI format (MPEG-4 video, MPEG audio sound) 20.97 +Format mpeg 20.98 + 20.99 +# Bitrate for the audio stream. Codecs usually support only a few 20.100 +# different bitrates. 20.101 +AudioBitRate 32 20.102 + 20.103 +# Number of audio channels: 1 = mono, 2 = stereo 20.104 +AudioChannels 1 20.105 + 20.106 +# Sampling frequency for audio. When using low bitrates, you should 20.107 +# lower this frequency to 22050 or 11025. The supported frequencies 20.108 +# depend on the selected audio codec. 20.109 +AudioSampleRate 44100 20.110 + 20.111 +# Bitrate for the video stream 20.112 +VideoBitRate 64 20.113 + 20.114 +# Ratecontrol buffer size 20.115 +VideoBufferSize 40 20.116 + 20.117 +# Number of frames per second 20.118 +VideoFrameRate 3 20.119 + 20.120 +# Size of the video frame: WxH (default: 160x128) 20.121 +# The following abbreviations are defined: sqcif, qcif, cif, 4cif, qqvga, 20.122 +# qvga, vga, svga, xga, uxga, qxga, sxga, qsxga, hsxga, wvga, wxga, wsxga, 20.123 +# wuxga, woxga, wqsxga, wquxga, whsxga, whuxga, cga, ega, hd480, hd720, 20.124 +# hd1080 20.125 +VideoSize 160x128 20.126 + 20.127 +# Transmit only intra frames (useful for low bitrates, but kills frame rate). 20.128 +#VideoIntraOnly 20.129 + 20.130 +# If non-intra only, an intra frame is transmitted every VideoGopSize 20.131 +# frames. Video synchronization can only begin at an intra frame. 20.132 +VideoGopSize 12 20.133 + 20.134 +# More MPEG-4 parameters 20.135 +# VideoHighQuality 20.136 +# Video4MotionVector 20.137 + 20.138 +# Choose your codecs: 20.139 +#AudioCodec mp2 20.140 +#VideoCodec mpeg1video 20.141 + 20.142 +# Suppress audio 20.143 +#NoAudio 20.144 + 20.145 +# Suppress video 20.146 +#NoVideo 20.147 + 20.148 +#VideoQMin 3 20.149 +#VideoQMax 31 20.150 + 20.151 +# Set this to the number of seconds backwards in time to start. Note that 20.152 +# most players will buffer 5-10 seconds of video, and also you need to allow 20.153 +# for a keyframe to appear in the data stream. 20.154 +#Preroll 15 20.155 + 20.156 +# ACL: 20.157 + 20.158 +# You can allow ranges of addresses (or single addresses) 20.159 +#ACL ALLOW <first address> 20.160 + 20.161 +# You can deny ranges of addresses (or single addresses) 20.162 +#ACL DENY <first address> 20.163 + 20.164 +# You can repeat the ACL allow/deny as often as you like. It is on a per 20.165 +# stream basis. The first match defines the action. If there are no matches, 20.166 +# then the default is the inverse of the last ACL statement. 20.167 +# 20.168 +# Thus 'ACL allow localhost' only allows access from localhost. 20.169 +# 'ACL deny 1.0.0.0 1.255.255.255' would deny the whole of network 1 and 20.170 +# allow everybody else. 20.171 + 20.172 +</Stream> 20.173 + 20.174 + 20.175 +################################################################## 20.176 +# Example streams 20.177 + 20.178 + 20.179 +# Multipart JPEG 20.180 + 20.181 +#<Stream test.mjpg> 20.182 +#Feed feed1.ffm 20.183 +#Format mpjpeg 20.184 +#VideoFrameRate 2 20.185 +#VideoIntraOnly 20.186 +#NoAudio 20.187 +#Strict -1 20.188 +#</Stream> 20.189 + 20.190 + 20.191 +# Single JPEG 20.192 + 20.193 +#<Stream test.jpg> 20.194 +#Feed feed1.ffm 20.195 +#Format jpeg 20.196 +#VideoFrameRate 2 20.197 +#VideoIntraOnly 20.198 +##VideoSize 352x240 20.199 +#NoAudio 20.200 +#Strict -1 20.201 +#</Stream> 20.202 + 20.203 + 20.204 +# Flash 20.205 + 20.206 +#<Stream test.swf> 20.207 +#Feed feed1.ffm 20.208 +#Format swf 20.209 +#VideoFrameRate 2 20.210 +#VideoIntraOnly 20.211 +#NoAudio 20.212 +#</Stream> 20.213 + 20.214 + 20.215 +# ASF compatible 20.216 + 20.217 +<Stream test.asf> 20.218 +Feed feed1.ffm 20.219 +Format asf 20.220 +VideoFrameRate 15 20.221 +VideoSize 352x240 20.222 +VideoBitRate 256 20.223 +VideoBufferSize 40 20.224 +VideoGopSize 30 20.225 +AudioBitRate 64 20.226 +StartSendOnKey 20.227 +</Stream> 20.228 + 20.229 + 20.230 +# MP3 audio 20.231 + 20.232 +#<Stream test.mp3> 20.233 +#Feed feed1.ffm 20.234 +#Format mp2 20.235 +#AudioCodec mp3 20.236 +#AudioBitRate 64 20.237 +#AudioChannels 1 20.238 +#AudioSampleRate 44100 20.239 +#NoVideo 20.240 +#</Stream> 20.241 + 20.242 + 20.243 +# Ogg Vorbis audio 20.244 + 20.245 +#<Stream test.ogg> 20.246 +#Feed feed1.ffm 20.247 +#Title "Stream title" 20.248 +#AudioBitRate 64 20.249 +#AudioChannels 2 20.250 +#AudioSampleRate 44100 20.251 +#NoVideo 20.252 +#</Stream> 20.253 + 20.254 + 20.255 +# Real with audio only at 32 kbits 20.256 + 20.257 +#<Stream test.ra> 20.258 +#Feed feed1.ffm 20.259 +#Format rm 20.260 +#AudioBitRate 32 20.261 +#NoVideo 20.262 +#NoAudio 20.263 +#</Stream> 20.264 + 20.265 + 20.266 +# Real with audio and video at 64 kbits 20.267 + 20.268 +#<Stream test.rm> 20.269 +#Feed feed1.ffm 20.270 +#Format rm 20.271 +#AudioBitRate 32 20.272 +#VideoBitRate 128 20.273 +#VideoFrameRate 25 20.274 +#VideoGopSize 25 20.275 +#NoAudio 20.276 +#</Stream> 20.277 + 20.278 + 20.279 +################################################################## 20.280 +# A stream coming from a file: you only need to set the input 20.281 +# filename and optionally a new format. Supported conversions: 20.282 +# AVI -> ASF 20.283 + 20.284 +#<Stream file.rm> 20.285 +#File "/usr/local/httpd/htdocs/tlive.rm" 20.286 +#NoAudio 20.287 +#</Stream> 20.288 + 20.289 +#<Stream file.asf> 20.290 +#File "/usr/local/httpd/htdocs/test.asf" 20.291 +#NoAudio 20.292 +#Author "Me" 20.293 +#Copyright "Super MegaCorp" 20.294 +#Title "Test stream from disk" 20.295 +#Comment "Test comment" 20.296 +#</Stream> 20.297 + 20.298 + 20.299 +################################################################## 20.300 +# RTSP examples 20.301 +# 20.302 +# You can access this stream with the RTSP URL: 20.303 +# rtsp://localhost:5454/test1-rtsp.mpg 20.304 +# 20.305 +# A non-standard RTSP redirector is also created. Its URL is: 20.306 +# http://localhost:8090/test1-rtsp.rtsp 20.307 + 20.308 +#<Stream test1-rtsp.mpg> 20.309 +#Format rtp 20.310 +#File "/usr/local/httpd/htdocs/test1.mpg" 20.311 +#</Stream> 20.312 + 20.313 + 20.314 +# Transcode an incoming live feed to another live feed, 20.315 +# using libx264 and video presets 20.316 + 20.317 +#<Stream live.h264> 20.318 +#Format rtp 20.319 +#Feed feed1.ffm 20.320 +#VideoCodec libx264 20.321 +#VideoFrameRate 24 20.322 +#VideoBitRate 100 20.323 +#VideoSize 480x272 20.324 +#AVPresetVideo default 20.325 +#AVPresetVideo baseline 20.326 +#AVOptionVideo flags +global_header 20.327 +# 20.328 +#AudioCodec libfaac 20.329 +#AudioBitRate 32 20.330 +#AudioChannels 2 20.331 +#AudioSampleRate 22050 20.332 +#AVOptionAudio flags +global_header 20.333 +#</Stream> 20.334 + 20.335 +################################################################## 20.336 +# SDP/multicast examples 20.337 +# 20.338 +# If you want to send your stream in multicast, you must set the 20.339 +# multicast address with MulticastAddress. The port and the TTL can 20.340 +# also be set. 20.341 +# 20.342 +# An SDP file is automatically generated by ffserver by adding the 20.343 +# 'sdp' extension to the stream name (here 20.344 +# http://localhost:8090/test1-sdp.sdp). You should usually give this 20.345 +# file to your player to play the stream. 20.346 +# 20.347 +# The 'NoLoop' option can be used to avoid looping when the stream is 20.348 +# terminated. 20.349 + 20.350 +#<Stream test1-sdp.mpg> 20.351 +#Format rtp 20.352 +#File "/usr/local/httpd/htdocs/test1.mpg" 20.353 +#MulticastAddress 224.124.0.1 20.354 +#MulticastPort 5000 20.355 +#MulticastTTL 16 20.356 +#NoLoop 20.357 +#</Stream> 20.358 + 20.359 + 20.360 +################################################################## 20.361 +# Special streams 20.362 + 20.363 +# Server status 20.364 + 20.365 +<Stream stat.html> 20.366 +Format status 20.367 + 20.368 +# Only allow local people to get the status 20.369 +ACL allow localhost 20.370 +ACL allow 192.168.0.0 192.168.255.255 20.371 + 20.372 +#FaviconURL http://pond1.gladstonefamily.net:8080/favicon.ico 20.373 +</Stream> 20.374 + 20.375 + 20.376 +# Redirect index.html to the appropriate site 20.377 + 20.378 +<Redirect index.html> 20.379 +URL http://www.ffmpeg.org/ 20.380 +</Redirect>
21.1 --- a/ffplay/receipt Thu Nov 02 17:11:17 2017 +0100 21.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 21.3 @@ -1,21 +0,0 @@ 21.4 -# SliTaz package receipt. 21.5 - 21.6 -PACKAGE="ffplay" 21.7 -VERSION="2.8.7" 21.8 -CATEGORY="multimedia" 21.9 -SHORT_DESC="Very simple and portable media player using the ffmpeg and the SDL library." 21.10 -MAINTAINER="pascal.bellard@slitaz.org" 21.11 -LICENSE="GPL2 LGPL2.1" 21.12 -WEB_SITE="http://ffmpeg.org/" 21.13 -WANTED="ffmpeg" 21.14 -TAGS="audio video player" 21.15 -#HOST_ARCH="i486 arm" 21.16 - 21.17 -DEPENDS="ffmpeg libsdl" 21.18 - 21.19 -# Rules to gen a SliTaz package suitable for Tazpkg. 21.20 -genpkg_rules() 21.21 -{ 21.22 - mkdir -p $fs/usr/bin 21.23 - cp -a $install/usr/bin/ffplay $fs/usr/bin 21.24 -}
22.1 --- a/ffserver/receipt Thu Nov 02 17:11:17 2017 +0100 22.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 22.3 @@ -1,22 +0,0 @@ 22.4 -# SliTaz package receipt. 22.5 - 22.6 -PACKAGE="ffserver" 22.7 -VERSION="2.8.7" 22.8 -CATEGORY="multimedia" 22.9 -SHORT_DESC="FFmpeg audio/video fast and small stream server." 22.10 -MAINTAINER="pascal.bellard@slitaz.org" 22.11 -LICENSE="GPL2 LGPL2.1" 22.12 -WEB_SITE="http://ffmpeg.org/" 22.13 -WANTED="ffmpeg" 22.14 -TAGS="audio video server" 22.15 -HOST_ARCH="i486 arm" 22.16 - 22.17 -DEPENDS="ffmpeg" 22.18 - 22.19 -# Rules to gen a SliTaz package suitable for Tazpkg. 22.20 -genpkg_rules() 22.21 -{ 22.22 - mkdir -p $fs/usr/bin $fs/etc 22.23 - cp ${stuff}/ffserver.conf $fs/etc 22.24 - cp -a $install/usr/bin/ffserver $fs/usr/bin 22.25 -}
23.1 --- a/ffserver/stuff/ffserver.conf Thu Nov 02 17:11:17 2017 +0100 23.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 23.3 @@ -1,377 +0,0 @@ 23.4 -# /etc/ffserver.conf 23.5 -# 23.6 -# Port on which the server is listening. You must select a different 23.7 -# port from your standard HTTP web server if it is running on the same 23.8 -# computer. 23.9 -Port 8090 23.10 - 23.11 -# Address on which the server is bound. Only useful if you have 23.12 -# several network interfaces. 23.13 -BindAddress 0.0.0.0 23.14 - 23.15 -# Number of simultaneous HTTP connections that can be handled. It has 23.16 -# to be defined *before* the MaxClients parameter, since it defines the 23.17 -# MaxClients maximum limit. 23.18 -MaxHTTPConnections 2000 23.19 - 23.20 -# Number of simultaneous requests that can be handled. Since FFServer 23.21 -# is very fast, it is more likely that you will want to leave this high 23.22 -# and use MaxBandwidth, below. 23.23 -MaxClients 1000 23.24 - 23.25 -# This the maximum amount of kbit/sec that you are prepared to 23.26 -# consume when streaming to clients. 23.27 -MaxBandwidth 1000 23.28 - 23.29 -# Access log file (uses standard Apache log file format) 23.30 -# '-' is the standard output. 23.31 -CustomLog - 23.32 - 23.33 -# Suppress that if you want to launch ffserver as a daemon. 23.34 -NoDaemon 23.35 - 23.36 - 23.37 -################################################################## 23.38 -# Definition of the live feeds. Each live feed contains one video 23.39 -# and/or audio sequence coming from an ffmpeg encoder or another 23.40 -# ffserver. This sequence may be encoded simultaneously with several 23.41 -# codecs at several resolutions. 23.42 - 23.43 -<Feed feed1.ffm> 23.44 - 23.45 -# You must use 'ffmpeg' to send a live feed to ffserver. In this 23.46 -# example, you can type: 23.47 -# 23.48 -# ffmpeg http://localhost:8090/feed1.ffm 23.49 - 23.50 -# ffserver can also do time shifting. It means that it can stream any 23.51 -# previously recorded live stream. The request should contain: 23.52 -# "http://xxxx?date=[YYYY-MM-DDT][[HH:]MM:]SS[.m...]".You must specify 23.53 -# a path where the feed is stored on disk. You also specify the 23.54 -# maximum size of the feed, where zero means unlimited. Default: 23.55 -# File=/tmp/feed_name.ffm FileMaxSize=5M 23.56 -File /tmp/feed1.ffm 23.57 -FileMaxSize 200K 23.58 - 23.59 -# You could specify 23.60 -# ReadOnlyFile /saved/specialvideo.ffm 23.61 -# This marks the file as readonly and it will not be deleted or updated. 23.62 - 23.63 -# Specify launch in order to start ffmpeg automatically. 23.64 -# First ffmpeg must be defined with an appropriate path if needed, 23.65 -# after that options can follow, but avoid adding the http:// field 23.66 -#Launch ffmpeg 23.67 - 23.68 -# Only allow connections from localhost to the feed. 23.69 -ACL allow 127.0.0.1 23.70 - 23.71 -</Feed> 23.72 - 23.73 - 23.74 -################################################################## 23.75 -# Now you can define each stream which will be generated from the 23.76 -# original audio and video stream. Each format has a filename (here 23.77 -# 'test1.mpg'). FFServer will send this stream when answering a 23.78 -# request containing this filename. 23.79 - 23.80 -<Stream test1.mpg> 23.81 - 23.82 -# coming from live feed 'feed1' 23.83 -Feed feed1.ffm 23.84 - 23.85 -# Format of the stream : you can choose among: 23.86 -# mpeg : MPEG-1 multiplexed video and audio 23.87 -# mpegvideo : only MPEG-1 video 23.88 -# mp2 : MPEG-2 audio (use AudioCodec to select layer 2 and 3 codec) 23.89 -# ogg : Ogg format (Vorbis audio codec) 23.90 -# rm : RealNetworks-compatible stream. Multiplexed audio and video. 23.91 -# ra : RealNetworks-compatible stream. Audio only. 23.92 -# mpjpeg : Multipart JPEG (works with Netscape without any plugin) 23.93 -# jpeg : Generate a single JPEG image. 23.94 -# asf : ASF compatible streaming (Windows Media Player format). 23.95 -# swf : Macromedia Flash compatible stream 23.96 -# avi : AVI format (MPEG-4 video, MPEG audio sound) 23.97 -Format mpeg 23.98 - 23.99 -# Bitrate for the audio stream. Codecs usually support only a few 23.100 -# different bitrates. 23.101 -AudioBitRate 32 23.102 - 23.103 -# Number of audio channels: 1 = mono, 2 = stereo 23.104 -AudioChannels 1 23.105 - 23.106 -# Sampling frequency for audio. When using low bitrates, you should 23.107 -# lower this frequency to 22050 or 11025. The supported frequencies 23.108 -# depend on the selected audio codec. 23.109 -AudioSampleRate 44100 23.110 - 23.111 -# Bitrate for the video stream 23.112 -VideoBitRate 64 23.113 - 23.114 -# Ratecontrol buffer size 23.115 -VideoBufferSize 40 23.116 - 23.117 -# Number of frames per second 23.118 -VideoFrameRate 3 23.119 - 23.120 -# Size of the video frame: WxH (default: 160x128) 23.121 -# The following abbreviations are defined: sqcif, qcif, cif, 4cif, qqvga, 23.122 -# qvga, vga, svga, xga, uxga, qxga, sxga, qsxga, hsxga, wvga, wxga, wsxga, 23.123 -# wuxga, woxga, wqsxga, wquxga, whsxga, whuxga, cga, ega, hd480, hd720, 23.124 -# hd1080 23.125 -VideoSize 160x128 23.126 - 23.127 -# Transmit only intra frames (useful for low bitrates, but kills frame rate). 23.128 -#VideoIntraOnly 23.129 - 23.130 -# If non-intra only, an intra frame is transmitted every VideoGopSize 23.131 -# frames. Video synchronization can only begin at an intra frame. 23.132 -VideoGopSize 12 23.133 - 23.134 -# More MPEG-4 parameters 23.135 -# VideoHighQuality 23.136 -# Video4MotionVector 23.137 - 23.138 -# Choose your codecs: 23.139 -#AudioCodec mp2 23.140 -#VideoCodec mpeg1video 23.141 - 23.142 -# Suppress audio 23.143 -#NoAudio 23.144 - 23.145 -# Suppress video 23.146 -#NoVideo 23.147 - 23.148 -#VideoQMin 3 23.149 -#VideoQMax 31 23.150 - 23.151 -# Set this to the number of seconds backwards in time to start. Note that 23.152 -# most players will buffer 5-10 seconds of video, and also you need to allow 23.153 -# for a keyframe to appear in the data stream. 23.154 -#Preroll 15 23.155 - 23.156 -# ACL: 23.157 - 23.158 -# You can allow ranges of addresses (or single addresses) 23.159 -#ACL ALLOW <first address> 23.160 - 23.161 -# You can deny ranges of addresses (or single addresses) 23.162 -#ACL DENY <first address> 23.163 - 23.164 -# You can repeat the ACL allow/deny as often as you like. It is on a per 23.165 -# stream basis. The first match defines the action. If there are no matches, 23.166 -# then the default is the inverse of the last ACL statement. 23.167 -# 23.168 -# Thus 'ACL allow localhost' only allows access from localhost. 23.169 -# 'ACL deny 1.0.0.0 1.255.255.255' would deny the whole of network 1 and 23.170 -# allow everybody else. 23.171 - 23.172 -</Stream> 23.173 - 23.174 - 23.175 -################################################################## 23.176 -# Example streams 23.177 - 23.178 - 23.179 -# Multipart JPEG 23.180 - 23.181 -#<Stream test.mjpg> 23.182 -#Feed feed1.ffm 23.183 -#Format mpjpeg 23.184 -#VideoFrameRate 2 23.185 -#VideoIntraOnly 23.186 -#NoAudio 23.187 -#Strict -1 23.188 -#</Stream> 23.189 - 23.190 - 23.191 -# Single JPEG 23.192 - 23.193 -#<Stream test.jpg> 23.194 -#Feed feed1.ffm 23.195 -#Format jpeg 23.196 -#VideoFrameRate 2 23.197 -#VideoIntraOnly 23.198 -##VideoSize 352x240 23.199 -#NoAudio 23.200 -#Strict -1 23.201 -#</Stream> 23.202 - 23.203 - 23.204 -# Flash 23.205 - 23.206 -#<Stream test.swf> 23.207 -#Feed feed1.ffm 23.208 -#Format swf 23.209 -#VideoFrameRate 2 23.210 -#VideoIntraOnly 23.211 -#NoAudio 23.212 -#</Stream> 23.213 - 23.214 - 23.215 -# ASF compatible 23.216 - 23.217 -<Stream test.asf> 23.218 -Feed feed1.ffm 23.219 -Format asf 23.220 -VideoFrameRate 15 23.221 -VideoSize 352x240 23.222 -VideoBitRate 256 23.223 -VideoBufferSize 40 23.224 -VideoGopSize 30 23.225 -AudioBitRate 64 23.226 -StartSendOnKey 23.227 -</Stream> 23.228 - 23.229 - 23.230 -# MP3 audio 23.231 - 23.232 -#<Stream test.mp3> 23.233 -#Feed feed1.ffm 23.234 -#Format mp2 23.235 -#AudioCodec mp3 23.236 -#AudioBitRate 64 23.237 -#AudioChannels 1 23.238 -#AudioSampleRate 44100 23.239 -#NoVideo 23.240 -#</Stream> 23.241 - 23.242 - 23.243 -# Ogg Vorbis audio 23.244 - 23.245 -#<Stream test.ogg> 23.246 -#Feed feed1.ffm 23.247 -#Title "Stream title" 23.248 -#AudioBitRate 64 23.249 -#AudioChannels 2 23.250 -#AudioSampleRate 44100 23.251 -#NoVideo 23.252 -#</Stream> 23.253 - 23.254 - 23.255 -# Real with audio only at 32 kbits 23.256 - 23.257 -#<Stream test.ra> 23.258 -#Feed feed1.ffm 23.259 -#Format rm 23.260 -#AudioBitRate 32 23.261 -#NoVideo 23.262 -#NoAudio 23.263 -#</Stream> 23.264 - 23.265 - 23.266 -# Real with audio and video at 64 kbits 23.267 - 23.268 -#<Stream test.rm> 23.269 -#Feed feed1.ffm 23.270 -#Format rm 23.271 -#AudioBitRate 32 23.272 -#VideoBitRate 128 23.273 -#VideoFrameRate 25 23.274 -#VideoGopSize 25 23.275 -#NoAudio 23.276 -#</Stream> 23.277 - 23.278 - 23.279 -################################################################## 23.280 -# A stream coming from a file: you only need to set the input 23.281 -# filename and optionally a new format. Supported conversions: 23.282 -# AVI -> ASF 23.283 - 23.284 -#<Stream file.rm> 23.285 -#File "/usr/local/httpd/htdocs/tlive.rm" 23.286 -#NoAudio 23.287 -#</Stream> 23.288 - 23.289 -#<Stream file.asf> 23.290 -#File "/usr/local/httpd/htdocs/test.asf" 23.291 -#NoAudio 23.292 -#Author "Me" 23.293 -#Copyright "Super MegaCorp" 23.294 -#Title "Test stream from disk" 23.295 -#Comment "Test comment" 23.296 -#</Stream> 23.297 - 23.298 - 23.299 -################################################################## 23.300 -# RTSP examples 23.301 -# 23.302 -# You can access this stream with the RTSP URL: 23.303 -# rtsp://localhost:5454/test1-rtsp.mpg 23.304 -# 23.305 -# A non-standard RTSP redirector is also created. Its URL is: 23.306 -# http://localhost:8090/test1-rtsp.rtsp 23.307 - 23.308 -#<Stream test1-rtsp.mpg> 23.309 -#Format rtp 23.310 -#File "/usr/local/httpd/htdocs/test1.mpg" 23.311 -#</Stream> 23.312 - 23.313 - 23.314 -# Transcode an incoming live feed to another live feed, 23.315 -# using libx264 and video presets 23.316 - 23.317 -#<Stream live.h264> 23.318 -#Format rtp 23.319 -#Feed feed1.ffm 23.320 -#VideoCodec libx264 23.321 -#VideoFrameRate 24 23.322 -#VideoBitRate 100 23.323 -#VideoSize 480x272 23.324 -#AVPresetVideo default 23.325 -#AVPresetVideo baseline 23.326 -#AVOptionVideo flags +global_header 23.327 -# 23.328 -#AudioCodec libfaac 23.329 -#AudioBitRate 32 23.330 -#AudioChannels 2 23.331 -#AudioSampleRate 22050 23.332 -#AVOptionAudio flags +global_header 23.333 -#</Stream> 23.334 - 23.335 -################################################################## 23.336 -# SDP/multicast examples 23.337 -# 23.338 -# If you want to send your stream in multicast, you must set the 23.339 -# multicast address with MulticastAddress. The port and the TTL can 23.340 -# also be set. 23.341 -# 23.342 -# An SDP file is automatically generated by ffserver by adding the 23.343 -# 'sdp' extension to the stream name (here 23.344 -# http://localhost:8090/test1-sdp.sdp). You should usually give this 23.345 -# file to your player to play the stream. 23.346 -# 23.347 -# The 'NoLoop' option can be used to avoid looping when the stream is 23.348 -# terminated. 23.349 - 23.350 -#<Stream test1-sdp.mpg> 23.351 -#Format rtp 23.352 -#File "/usr/local/httpd/htdocs/test1.mpg" 23.353 -#MulticastAddress 224.124.0.1 23.354 -#MulticastPort 5000 23.355 -#MulticastTTL 16 23.356 -#NoLoop 23.357 -#</Stream> 23.358 - 23.359 - 23.360 -################################################################## 23.361 -# Special streams 23.362 - 23.363 -# Server status 23.364 - 23.365 -<Stream stat.html> 23.366 -Format status 23.367 - 23.368 -# Only allow local people to get the status 23.369 -ACL allow localhost 23.370 -ACL allow 192.168.0.0 192.168.255.255 23.371 - 23.372 -#FaviconURL http://pond1.gladstonefamily.net:8080/favicon.ico 23.373 -</Stream> 23.374 - 23.375 - 23.376 -# Redirect index.html to the appropriate site 23.377 - 23.378 -<Redirect index.html> 23.379 -URL http://www.ffmpeg.org/ 23.380 -</Redirect>
24.1 --- a/go-sources/receipt Thu Nov 02 17:11:17 2017 +0100 24.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 24.3 @@ -1,36 +0,0 @@ 24.4 -# SliTaz package receipt. 24.5 - 24.6 -PACKAGE="go-sources" 24.7 -VERSION="1.2.1" 24.8 -CATEGORY="development" 24.9 -SHORT_DESC="The Go programming language - Sources files." 24.10 -MAINTAINER="domcox@slitaz.org" 24.11 -LICENSE="BSD" 24.12 -WEB_SITE="http://www.golang.org" 24.13 -WANTED="go" 24.14 -TAGS="go" 24.15 - 24.16 -DEPENDS="go" 24.17 -BUILD_DEPENDS="" 24.18 - 24.19 - 24.20 -# Rules to gen a SliTaz package suitable for Tazpkg. 24.21 -genpkg_rules() 24.22 -{ 24.23 - # misc 24.24 - mkdir -p $fs/usr/lib/go/misc 24.25 - for dir in arm cgo goplay swig; do 24.26 - cp -a $src/misc/$dir $fs/usr/lib/go/misc 24.27 - done 24.28 - 24.29 - # test 24.30 - cp -a $src/test/ $fs/usr/lib/go 24.31 - 24.32 - # doc 24.33 - cp -a $src/doc/ $fs/usr/lib/go 24.34 - 24.35 - # tools 24.36 - mkdir -p $fs/usr/lib/go/src 24.37 - cp -a $src/src/*.bash $fs/usr/lib/go/src 24.38 - cp -a $src/src/*.rc $fs/usr/lib/go/src 24.39 -}
25.1 --- a/go/receipt Thu Nov 02 17:11:17 2017 +0100 25.2 +++ b/go/receipt Thu Nov 02 18:17:32 2017 +0100 25.3 @@ -1,4 +1,4 @@ 25.4 -# SliTaz package receipt. 25.5 +# SliTaz package receipt v2. 25.6 25.7 PACKAGE="go" 25.8 VERSION="1.2.1" 25.9 @@ -9,10 +9,9 @@ 25.10 WEB_SITE="http://www.golang.org" 25.11 TARBALL="$PACKAGE$VERSION.src.tar.gz" 25.12 WGET_URL="https://go.googlecode.com/files/$TARBALL" 25.13 -TAGS="go" 25.14 25.15 -DEPENDS="" 25.16 BUILD_DEPENDS="bash bison make ed wget" 25.17 +SPLIT="go emacs-pkg-go-mode go-sources" 25.18 25.19 # Rules to configure and make the package. 25.20 compile_rules() 25.21 @@ -60,17 +59,68 @@ 25.22 # Rules to gen a SliTaz package suitable for Tazpkg. 25.23 genpkg_rules() 25.24 { 25.25 - mkdir -p $fs/usr/lib/go/src 25.26 - # bin 25.27 - cp -a $src/bin $fs/usr 25.28 - # go tree 25.29 - cp -a $src/pkg $fs/usr/lib/go 25.30 - # lib 25.31 - cp -a $src/lib $fs/usr/lib/go 25.32 - # include 25.33 - cp -a $src/include $fs/usr/lib/go 25.34 - # pkg 25.35 - cp -a $src/src/pkg $fs/usr/lib/go/src 25.36 - cp -a $src/src/cmd $fs/usr/lib/go/src 25.37 - cp -a $src/src/lib9 $fs/usr/lib/go/src 25.38 + case $PACKAGE in 25.39 + go) 25.40 + TAGS="go" 25.41 + DEPENDS="" 25.42 + mkdir -p $fs/usr/lib/go/src 25.43 + # bin 25.44 + cp -a $src/bin $fs/usr 25.45 + # go tree 25.46 + cp -a $src/pkg $fs/usr/lib/go 25.47 + # lib 25.48 + cp -a $src/lib $fs/usr/lib/go 25.49 + # include 25.50 + cp -a $src/include $fs/usr/lib/go 25.51 + # pkg 25.52 + cp -a $src/src/pkg $fs/usr/lib/go/src 25.53 + cp -a $src/src/cmd $fs/usr/lib/go/src 25.54 + cp -a $src/src/lib9 $fs/usr/lib/go/src 25.55 + ;; 25.56 + emacs-pkg-go-mode) 25.57 + CAT="development|An Emacs major mode for editing Go code." 25.58 + TAGS="emacs go" 25.59 + DEPENDS="emacs" 25.60 + echo -n "Installing start file" 25.61 + mkdir -p $fs/usr/share/emacs/site-lisp/site-start.d && \ 25.62 + cp -a stuff/80-go-init.el $fs/usr/share/emacs/site-lisp/site-start.d 25.63 + status 25.64 + 25.65 + echo -n "Installing go-mode" 25.66 + mkdir -p $fs/usr/share/emacs/site-lisp/go-mode && \ 25.67 + cp -a $src/misc/emacs/* $fs/usr/share/emacs/site-lisp/go-mode 25.68 + status 25.69 + ;; 25.70 + go-sources) 25.71 + CAT="development|The Go programming language - Sources files." 25.72 + TAGS="go" 25.73 + DEPENDS="go" 25.74 + # misc 25.75 + mkdir -p $fs/usr/lib/go/misc 25.76 + for dir in arm cgo goplay swig; do 25.77 + cp -a $src/misc/$dir $fs/usr/lib/go/misc 25.78 + done 25.79 + 25.80 + # test 25.81 + cp -a $src/test/ $fs/usr/lib/go 25.82 + 25.83 + # doc 25.84 + cp -a $src/doc/ $fs/usr/lib/go 25.85 + 25.86 + # tools 25.87 + mkdir -p $fs/usr/lib/go/src 25.88 + cp -a $src/src/*.bash $fs/usr/lib/go/src 25.89 + cp -a $src/src/*.rc $fs/usr/lib/go/src 25.90 + ;; 25.91 + esac 25.92 } 25.93 + 25.94 +post_install_emacs_pkg_go_mode() 25.95 +{ 25.96 + chroot "$1/" tazpkg reconfigure emacs 25.97 +} 25.98 + 25.99 +post_remove_emacs_pkg_go_mode() 25.100 +{ 25.101 + chroot "$1/" tazpkg reconfigure emacs 25.102 +}
26.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 26.2 +++ b/go/stuff/80-go-init.el Thu Nov 02 18:17:32 2017 +0100 26.3 @@ -0,0 +1,5 @@ 26.4 +;; Register go-mode 26.5 + 26.6 + (add-to-list 'load-path "/usr/share/emacs/site-lisp/go-mode" t) 26.7 + (require 'go-mode-load) 26.8 +;;
27.1 --- a/libelementary/receipt Thu Nov 02 17:11:17 2017 +0100 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="libelementary" 27.7 -VERSION="1.7.10" 27.8 -CATEGORY="development" 27.9 -SHORT_DESC="Elementary library." 27.10 -MAINTAINER="pankso@slitaz.org" 27.11 -LICENSE="LGPL2.1" 27.12 -WANTED="elementary" 27.13 -WEB_SITE="http://www.enlightenment.org/" 27.14 -HOST_ARCH="i486 arm" 27.15 - 27.16 -DEPENDS="xorg-libXp xorg-libXScrnSaver jpeg fribidi fontconfig edbus efreet \ 27.17 -glib eina" 27.18 - 27.19 -# Rules to gen a SliTaz package suitable for Tazpkg. 27.20 -genpkg_rules() 27.21 -{ 27.22 - mkdir -p $fs/usr/lib 27.23 - cp -a $install/usr/lib/libelementary*so* $fs/usr/lib 27.24 -}
28.1 --- a/mono-dev/receipt Thu Nov 02 17:11:17 2017 +0100 28.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 28.3 @@ -1,21 +0,0 @@ 28.4 -# SliTaz package receipt. 28.5 - 28.6 -PACKAGE="mono-dev" 28.7 -VERSION="2.10.8" 28.8 -CATEGORY="development" 28.9 -SHORT_DESC="mono development files." 28.10 -WEB_SITE="http://www.mono-project.com/" 28.11 -MAINTAINER="rcx@zoominternet.net" 28.12 -LICENSE="LGPL2" 28.13 -WANTED="mono" 28.14 - 28.15 -DEPENDS="mono pkg-config" 28.16 - 28.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 28.18 -genpkg_rules() 28.19 -{ 28.20 - mkdir -p $fs/usr/lib 28.21 - cp -a $install/usr/lib/*.a $fs/usr/lib 28.22 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 28.23 - cp -a $install/usr/include $fs/usr 28.24 -}
29.1 --- a/mono-doc/receipt Thu Nov 02 17:11:17 2017 +0100 29.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 29.3 @@ -1,17 +0,0 @@ 29.4 -# SliTaz package receipt. 29.5 - 29.6 -PACKAGE="mono-doc" 29.7 -VERSION="2.10.8" 29.8 -CATEGORY="development" 29.9 -SHORT_DESC="mono documentation files." 29.10 -WEB_SITE="http://www.mono-project.com/" 29.11 -MAINTAINER="rcx@zoominternet.net" 29.12 -LICENSE="LGPL2" 29.13 -WANTED="mono" 29.14 - 29.15 -# Rules to gen a SliTaz package suitable for Tazpkg. 29.16 -genpkg_rules() 29.17 -{ 29.18 - mkdir -p $fs/usr/lib 29.19 - cp -a $install/usr/lib/monodoc $fs/usr/lib 29.20 -}
30.1 --- a/mono/receipt Thu Nov 02 17:11:17 2017 +0100 30.2 +++ b/mono/receipt Thu Nov 02 18:17:32 2017 +0100 30.3 @@ -1,4 +1,4 @@ 30.4 -# SliTaz package receipt. 30.5 +# SliTaz package receipt v2. 30.6 30.7 PACKAGE="mono" 30.8 VERSION="2.10.8" 30.9 @@ -10,9 +10,9 @@ 30.10 WEB_SITE="http://www.mono-project.com/" 30.11 WGET_URL="http://download.mono-project.com/sources/$PACKAGE/$TARBALL" 30.12 30.13 -DEPENDS="glib glibc-base zlib libgdiplus" 30.14 BUILD_DEPENDS="tar bzip2 m4 pkg-config bison gawk \ 30.15 gettext glib-dev perl libgdiplus-dev" 30.16 +SPLIT="mono mono-dev mono-doc" 30.17 30.18 # Build documentation at http://mono-project.com/Compiling_Mono 30.19 # and http://mono-project.com/Release_Notes_Mono_2.4#Installing_Mono_2.4 30.20 @@ -20,7 +20,6 @@ 30.21 # Rules to configure and make the package. 30.22 compile_rules() 30.23 { 30.24 - cd $src 30.25 ./configure \ 30.26 --sysconfdir=/etc \ 30.27 --with-libgdiplus=installed \ 30.28 @@ -45,10 +44,28 @@ 30.29 # Rules to gen a SliTaz package suitable for Tazpkg. 30.30 genpkg_rules() 30.31 { 30.32 - mkdir -p $fs/usr/lib 30.33 - cp -a $install/usr/lib/*.so* $fs/usr/lib 30.34 - cp -a $install/usr/lib/mono $fs/usr/lib 30.35 - cp -a $install/usr/bin $fs/usr 30.36 - cp -a $install/etc $fs 30.37 - chmod +x $fs/usr/bin/* 30.38 + case $PACKAGE in 30.39 + mono) 30.40 + DEPENDS="glib glibc-base zlib libgdiplus" 30.41 + mkdir -p $fs/usr/lib 30.42 + cp -a $install/usr/lib/*.so* $fs/usr/lib 30.43 + cp -a $install/usr/lib/mono $fs/usr/lib 30.44 + cp -a $install/usr/bin $fs/usr 30.45 + cp -a $install/etc $fs 30.46 + chmod +x $fs/usr/bin/* 30.47 + ;; 30.48 + mono-dev) 30.49 + CAT="development|mono development files." 30.50 + DEPENDS="mono pkg-config" 30.51 + mkdir -p $fs/usr/lib 30.52 + cp -a $install/usr/lib/*.a $fs/usr/lib 30.53 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 30.54 + cp -a $install/usr/include $fs/usr 30.55 + ;; 30.56 + mono-doc) 30.57 + CAT="development|mono documentation files." 30.58 + mkdir -p $fs/usr/lib 30.59 + cp -a $install/usr/lib/monodoc $fs/usr/lib 30.60 + ;; 30.61 + esac 30.62 }