# HG changeset patch # User Aleksej Bobylev # Date 1452618574 -7200 # Node ID dfc51ce7954a3d49cf2c7b79ba24d8985f16908a # Parent 4294075018641ac55df3f27cf73b21889bbcc333 firefox-official: allow updates; misc tiny edits diff -r 429407501864 -r dfc51ce7954a 0install/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/0install/description.txt Tue Jan 12 19:09:34 2016 +0200 @@ -0,0 +1,31 @@ +Zero Install is a decentralised cross-distribution software installation system +available under the LGPL. It allows software developers to publish programs +directly from their own web-sites, while supporting features familiar from +centralised distribution repositories such as shared libraries, automatic +updates and digital signatures. It is intended to complement, rather than +replace, the operating system's package management. 0install packages never +interfere with those provided by the distribution. + +0install does not define a new packaging format; unmodified tarballs or zip +archives can be used. Instead, it defines an XML metadata format to describe +these packages and the dependencies between them. A single metadata file can be +used on multiple platforms (e.g. Ubuntu, Debian, Fedora, openSUSE, Mac OS X and +Windows), assuming binary or source archives are available that work on those +systems. + +0install also has some interesting features not often found in traditional +package managers. For example, while it will share libraries whenever possible, +it can always install multiple versions of a package in parallel when there are +conflicting requirements. Installation is always side-effect-free (each package +is unpacked to its own directory and will not touch shared directories such as +/usr/bin), making it ideal for use with sandboxing technologies and +virtualisation. + +The XML file describing the program's requirements can also be included in a +source-code repository, allowing full dependency handling for unreleased +developer versions. For example, a user can clone a Git repository and build +and test the program, automatically downloading newer versions of libraries +where necessary, without interfering with the versions of those libraries +installed by their distribution, which continue to be used for other software. + +See [the 0install.net web-site](http://0install.net/) for full details. diff -r 429407501864 -r dfc51ce7954a 0install/receipt --- a/0install/receipt Tue Jan 12 15:40:40 2016 +0100 +++ b/0install/receipt Tue Jan 12 19:09:34 2016 +0200 @@ -18,6 +18,8 @@ compile_rules() { python setup.py install --root=$DESTDIR + # move man pages in a right place + mv $install/usr/man $install/usr/share } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 429407501864 -r dfc51ce7954a Geomyidae/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Geomyidae/description.txt Tue Jan 12 19:09:34 2016 +0200 @@ -0,0 +1,41 @@ +A gopherd for Linux/BSD. + +Features: + + * gopher menus (see index.gph for an example) + * dir listings (if no index.gph was found) + * CGI support (.cgi files are executed) + * search support in CGI files + * logging (-l option) and loglevels (-v option) + +Usage: + + geomyidae [-d] [-l logfile] [-v loglvl] [-b htdocs] [-p port] [-o sport] + [-u user] [-g group] [-h host] [-i IP] + + -d don't fork into background + -l logfile setting this will turn on logging into logfile + -v loglevel see below (default 7) + -b htdocs the htdocs root for serving files (default /var/gopher) + -p port set the port where geomyidae should listen on (default 70) + -o sport set the port that should be shown in the dir listings + -u user which user rights the serving children should get + -g group which group rights the serving children should get + -i IP IP which geomyidae should bind to + -h host host that should be used in the dir listings + +Loglevels: + + 0 - no logging + 1 - served plain files + 2 - dir listings + 4 - HTTP redirects + 8 - not found queries + + 1 + 2 + 4 = 7 (files + dir listings + HTTP) + +Init scripts: +The rc.d directory includes startup scripts for various distributions. + + +Have fun! diff -r 429407501864 -r dfc51ce7954a Geomyidae/receipt --- a/Geomyidae/receipt Tue Jan 12 15:40:40 2016 +0100 +++ b/Geomyidae/receipt Tue Jan 12 19:09:34 2016 +0200 @@ -14,7 +14,9 @@ # Rules to configure and make the package. compile_rules() { - cd $src + # Move man page to the right place + sed -i 's|/man/|/share&|' $src/Makefile + make && make DESTDIR=$DESTDIR install } diff -r 429407501864 -r dfc51ce7954a firefox-official-de/receipt --- a/firefox-official-de/receipt Tue Jan 12 15:40:40 2016 +0100 +++ b/firefox-official-de/receipt Tue Jan 12 19:09:34 2016 +0200 @@ -19,30 +19,35 @@ # Rules to configure and make the package. compile_rules() { + # Installation path + fx='/opt/mozilla/firefox' + mkdir -p \ + $install$fx \ $install/usr/bin \ - $install/usr/lib/firefox-$VERSION \ $install/usr/share/applications \ $install/usr/share/icons/hicolor/128x128/apps - cp -a $src/* $install/usr/lib/firefox-$VERSION + # Copy everything + cp -a $src/* $install$fx - # /usr/bin/firefox-official - ln -s /usr/lib/firefox-$VERSION/firefox $install/usr/bin/firefox-official + # Executable + ln -s $fx/firefox $install/usr/bin/firefox-official # Icons - ln -s /usr/lib/firefox-$VERSION/browser/icons/mozicon128.png \ + ln -s $fx/browser/icons/mozicon128.png \ $install/usr/share/icons/hicolor/128x128/apps/firefox-official.png for size in 16 32 48; do icon_folder="$install/usr/share/icons/hicolor/${size}x$size/apps" mkdir -p $icon_folder - ln -s /usr/lib/firefox-$VERSION/browser/chrome/icons/default/default$size.png \ + ln -s $fx/browser/chrome/icons/default/default$size.png \ $icon_folder/firefox-official.png done - # Remove updater files (user can't upgrade anyway) - rm -f $install/usr/lib/firefox-$VERSION/update* + # Allow user updates (save user's and our traffic) + chmod -R a+w $install$fx + # Desktop shortcut cp $stuff/firefox-official.desktop $install/usr/share/applications } diff -r 429407501864 -r dfc51ce7954a firefox-official-es/receipt --- a/firefox-official-es/receipt Tue Jan 12 15:40:40 2016 +0100 +++ b/firefox-official-es/receipt Tue Jan 12 19:09:34 2016 +0200 @@ -19,30 +19,35 @@ # Rules to configure and make the package. compile_rules() { + # Installation path + fx='/opt/mozilla/firefox' + mkdir -p \ + $install$fx \ $install/usr/bin \ - $install/usr/lib/firefox-$VERSION \ $install/usr/share/applications \ $install/usr/share/icons/hicolor/128x128/apps - cp -a $src/* $install/usr/lib/firefox-$VERSION + # Copy everything + cp -a $src/* $install$fx - # /usr/bin/firefox-official - ln -s /usr/lib/firefox-$VERSION/firefox $install/usr/bin/firefox-official + # Executable + ln -s $fx/firefox $install/usr/bin/firefox-official # Icons - ln -s /usr/lib/firefox-$VERSION/browser/icons/mozicon128.png \ + ln -s $fx/browser/icons/mozicon128.png \ $install/usr/share/icons/hicolor/128x128/apps/firefox-official.png for size in 16 32 48; do icon_folder="$install/usr/share/icons/hicolor/${size}x$size/apps" mkdir -p $icon_folder - ln -s /usr/lib/firefox-$VERSION/browser/chrome/icons/default/default$size.png \ + ln -s $fx/browser/chrome/icons/default/default$size.png \ $icon_folder/firefox-official.png done - # Remove updater files (user can't upgrade anyway) - rm -f $install/usr/lib/firefox-$VERSION/update* + # Allow user updates (save user's and our traffic) + chmod -R a+w $install$fx + # Desktop shortcut cp $stuff/firefox-official.desktop $install/usr/share/applications } diff -r 429407501864 -r dfc51ce7954a firefox-official-fr/receipt --- a/firefox-official-fr/receipt Tue Jan 12 15:40:40 2016 +0100 +++ b/firefox-official-fr/receipt Tue Jan 12 19:09:34 2016 +0200 @@ -19,30 +19,35 @@ # Rules to configure and make the package. compile_rules() { + # Installation path + fx='/opt/mozilla/firefox' + mkdir -p \ + $install$fx \ $install/usr/bin \ - $install/usr/lib/firefox-$VERSION \ $install/usr/share/applications \ $install/usr/share/icons/hicolor/128x128/apps - cp -a $src/* $install/usr/lib/firefox-$VERSION + # Copy everything + cp -a $src/* $install$fx - # /usr/bin/firefox-official - ln -s /usr/lib/firefox-$VERSION/firefox $install/usr/bin/firefox-official + # Executable + ln -s $fx/firefox $install/usr/bin/firefox-official # Icons - ln -s /usr/lib/firefox-$VERSION/browser/icons/mozicon128.png \ + ln -s $fx/browser/icons/mozicon128.png \ $install/usr/share/icons/hicolor/128x128/apps/firefox-official.png for size in 16 32 48; do icon_folder="$install/usr/share/icons/hicolor/${size}x$size/apps" mkdir -p $icon_folder - ln -s /usr/lib/firefox-$VERSION/browser/chrome/icons/default/default$size.png \ + ln -s $fx/browser/chrome/icons/default/default$size.png \ $icon_folder/firefox-official.png done - # Remove updater files (user can't upgrade anyway) - rm -f $install/usr/lib/firefox-$VERSION/update* + # Allow user updates (save user's and our traffic) + chmod -R a+w $install$fx + # Desktop shortcut cp $stuff/firefox-official.desktop $install/usr/share/applications } diff -r 429407501864 -r dfc51ce7954a firefox-official-it/receipt --- a/firefox-official-it/receipt Tue Jan 12 15:40:40 2016 +0100 +++ b/firefox-official-it/receipt Tue Jan 12 19:09:34 2016 +0200 @@ -19,30 +19,35 @@ # Rules to configure and make the package. compile_rules() { + # Installation path + fx='/opt/mozilla/firefox' + mkdir -p \ + $install$fx \ $install/usr/bin \ - $install/usr/lib/firefox-$VERSION \ $install/usr/share/applications \ $install/usr/share/icons/hicolor/128x128/apps - cp -a $src/* $install/usr/lib/firefox-$VERSION + # Copy everything + cp -a $src/* $install$fx - # /usr/bin/firefox-official - ln -s /usr/lib/firefox-$VERSION/firefox $install/usr/bin/firefox-official + # Executable + ln -s $fx/firefox $install/usr/bin/firefox-official # Icons - ln -s /usr/lib/firefox-$VERSION/browser/icons/mozicon128.png \ + ln -s $fx/browser/icons/mozicon128.png \ $install/usr/share/icons/hicolor/128x128/apps/firefox-official.png for size in 16 32 48; do icon_folder="$install/usr/share/icons/hicolor/${size}x$size/apps" mkdir -p $icon_folder - ln -s /usr/lib/firefox-$VERSION/browser/chrome/icons/default/default$size.png \ + ln -s $fx/browser/chrome/icons/default/default$size.png \ $icon_folder/firefox-official.png done - # Remove updater files (user can't upgrade anyway) - rm -f $install/usr/lib/firefox-$VERSION/update* + # Allow user updates (save user's and our traffic) + chmod -R a+w $install$fx + # Desktop shortcut cp $stuff/firefox-official.desktop $install/usr/share/applications } diff -r 429407501864 -r dfc51ce7954a firefox-official-pt-BR/receipt --- a/firefox-official-pt-BR/receipt Tue Jan 12 15:40:40 2016 +0100 +++ b/firefox-official-pt-BR/receipt Tue Jan 12 19:09:34 2016 +0200 @@ -19,30 +19,35 @@ # Rules to configure and make the package. compile_rules() { + # Installation path + fx='/opt/mozilla/firefox' + mkdir -p \ + $install$fx \ $install/usr/bin \ - $install/usr/lib/firefox-$VERSION \ $install/usr/share/applications \ $install/usr/share/icons/hicolor/128x128/apps - cp -a $src/* $install/usr/lib/firefox-$VERSION + # Copy everything + cp -a $src/* $install$fx - # /usr/bin/firefox-official - ln -s /usr/lib/firefox-$VERSION/firefox $install/usr/bin/firefox-official + # Executable + ln -s $fx/firefox $install/usr/bin/firefox-official # Icons - ln -s /usr/lib/firefox-$VERSION/browser/icons/mozicon128.png \ + ln -s $fx/browser/icons/mozicon128.png \ $install/usr/share/icons/hicolor/128x128/apps/firefox-official.png for size in 16 32 48; do icon_folder="$install/usr/share/icons/hicolor/${size}x$size/apps" mkdir -p $icon_folder - ln -s /usr/lib/firefox-$VERSION/browser/chrome/icons/default/default$size.png \ + ln -s $fx/browser/chrome/icons/default/default$size.png \ $icon_folder/firefox-official.png done - # Remove updater files (user can't upgrade anyway) - rm -f $install/usr/lib/firefox-$VERSION/update* + # Allow user updates (save user's and our traffic) + chmod -R a+w $install$fx + # Desktop shortcut cp $stuff/firefox-official.desktop $install/usr/share/applications } diff -r 429407501864 -r dfc51ce7954a firefox-official-ru/receipt --- a/firefox-official-ru/receipt Tue Jan 12 15:40:40 2016 +0100 +++ b/firefox-official-ru/receipt Tue Jan 12 19:09:34 2016 +0200 @@ -19,30 +19,35 @@ # Rules to configure and make the package. compile_rules() { + # Installation path + fx='/opt/mozilla/firefox' + mkdir -p \ + $install$fx \ $install/usr/bin \ - $install/usr/lib/firefox-$VERSION \ $install/usr/share/applications \ $install/usr/share/icons/hicolor/128x128/apps - cp -a $src/* $install/usr/lib/firefox-$VERSION + # Copy everything + cp -a $src/* $install$fx - # /usr/bin/firefox-official - ln -s /usr/lib/firefox-$VERSION/firefox $install/usr/bin/firefox-official + # Executable + ln -s $fx/firefox $install/usr/bin/firefox-official # Icons - ln -s /usr/lib/firefox-$VERSION/browser/icons/mozicon128.png \ + ln -s $fx/browser/icons/mozicon128.png \ $install/usr/share/icons/hicolor/128x128/apps/firefox-official.png for size in 16 32 48; do icon_folder="$install/usr/share/icons/hicolor/${size}x$size/apps" mkdir -p $icon_folder - ln -s /usr/lib/firefox-$VERSION/browser/chrome/icons/default/default$size.png \ + ln -s $fx/browser/chrome/icons/default/default$size.png \ $icon_folder/firefox-official.png done - # Remove updater files (user can't upgrade anyway) - rm -f $install/usr/lib/firefox-$VERSION/update* + # Allow user updates (save user's and our traffic) + chmod -R a+w $install$fx + # Desktop shortcut cp $stuff/firefox-official.desktop $install/usr/share/applications } diff -r 429407501864 -r dfc51ce7954a firefox-official-uk/receipt --- a/firefox-official-uk/receipt Tue Jan 12 15:40:40 2016 +0100 +++ b/firefox-official-uk/receipt Tue Jan 12 19:09:34 2016 +0200 @@ -19,30 +19,35 @@ # Rules to configure and make the package. compile_rules() { + # Installation path + fx='/opt/mozilla/firefox' + mkdir -p \ + $install$fx \ $install/usr/bin \ - $install/usr/lib/firefox-$VERSION \ $install/usr/share/applications \ $install/usr/share/icons/hicolor/128x128/apps - cp -a $src/* $install/usr/lib/firefox-$VERSION + # Copy everything + cp -a $src/* $install$fx - # /usr/bin/firefox-official - ln -s /usr/lib/firefox-$VERSION/firefox $install/usr/bin/firefox-official + # Executable + ln -s $fx/firefox $install/usr/bin/firefox-official # Icons - ln -s /usr/lib/firefox-$VERSION/browser/icons/mozicon128.png \ + ln -s $fx/browser/icons/mozicon128.png \ $install/usr/share/icons/hicolor/128x128/apps/firefox-official.png for size in 16 32 48; do icon_folder="$install/usr/share/icons/hicolor/${size}x$size/apps" mkdir -p $icon_folder - ln -s /usr/lib/firefox-$VERSION/browser/chrome/icons/default/default$size.png \ + ln -s $fx/browser/chrome/icons/default/default$size.png \ $icon_folder/firefox-official.png done - # Remove updater files (user can't upgrade anyway) - rm -f $install/usr/lib/firefox-$VERSION/update* + # Allow user updates (save user's and our traffic) + chmod -R a+w $install$fx + # Desktop shortcut cp $stuff/firefox-official.desktop $install/usr/share/applications } diff -r 429407501864 -r dfc51ce7954a firefox-official/receipt --- a/firefox-official/receipt Tue Jan 12 15:40:40 2016 +0100 +++ b/firefox-official/receipt Tue Jan 12 19:09:34 2016 +0200 @@ -17,20 +17,36 @@ # Rules to configure and make the package. compile_rules() { + # Installation path + fx='/opt/mozilla/firefox' + mkdir -p \ + $install$fx \ $install/usr/bin \ - $install/usr/lib/firefox-$VERSION \ + $install/usr/share/applications \ $install/usr/share/icons/hicolor/128x128/apps - cp -a $src/* $install/usr/lib/firefox-$VERSION + # Copy everything + cp -a $src/* $install$fx - # /usr/bin/firefox-official + pixmap - ln -s /usr/lib/firefox-$VERSION/firefox $install/usr/bin/$PACKAGE - ln -s /usr/lib/firefox-$VERSION/browser/icons/mozicon128.png \ - $install/usr/share/icons/hicolor/128x128/apps/$PACKAGE.png + # Executable + ln -s $fx/firefox $install/usr/bin/firefox-official - # Remove updater files (users can't upgrade anyway) - rm -f $install/usr/lib/firefox-$VERSION/update* + # Icons + ln -s $fx/browser/icons/mozicon128.png \ + $install/usr/share/icons/hicolor/128x128/apps/firefox-official.png + for size in 16 32 48; do + icon_folder="$install/usr/share/icons/hicolor/${size}x$size/apps" + mkdir -p $icon_folder + ln -s $fx/browser/chrome/icons/default/default$size.png \ + $icon_folder/firefox-official.png + done + + # Allow user updates (save user's and our traffic) + chmod -R a+w $install$fx + + # Desktop shortcut + cp $stuff/firefox-official.desktop $install/usr/share/applications } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 429407501864 -r dfc51ce7954a fpc/receipt --- a/fpc/receipt Tue Jan 12 15:40:40 2016 +0100 +++ b/fpc/receipt Tue Jan 12 19:09:34 2016 +0200 @@ -46,6 +46,9 @@ install -m 755 -d $DESTDIR/usr/share/licenses/fpc && install -m 644 $src/fpcsrc/rtl/COPYING.FPC \ $DESTDIR/usr/share/licenses/fpc/ + + # move man pages to the right place + mv $install/usr/man $install/usr/share } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 429407501864 -r dfc51ce7954a gtkhotkey/receipt --- a/gtkhotkey/receipt Tue Jan 12 15:40:40 2016 +0100 +++ b/gtkhotkey/receipt Tue Jan 12 19:09:34 2016 +0200 @@ -3,18 +3,18 @@ PACKAGE="gtkhotkey" VERSION="0.2.1" CATEGORY="x-window" -SHORT_DESC="Platform independent hotkey handling for Gtk+ applications." +SHORT_DESC="Platform independent hotkey handling for GTK+ applications." MAINTAINER="pankso@slitaz.org" LICENSE="LGPL3" +WEB_SITE="https://launchpad.net/gtkhotkey" TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="https://launchpad.net/gtkhotkey" -WGET_URL="https://launchpad.net/gtkhotkey/${VERSION%.*}/$VERSION/+download/$TARBALL" +WGET_URL="$WEB_SITE/${VERSION%.*}/$VERSION/+download/$TARBALL" DEPENDS="glib libgio gtk+" BUILD_DEPENDS="wget glib-dev libgio-dev gtk+-dev" # Rules to configure and make the package. -compile_rules() +compile_rules() { sed -i 's|||' src/x11/tomboykeybinder.h src/gtk-hotkey-error.h ./configure $CONFIGURE_ARGS && @@ -25,5 +25,5 @@ genpkg_rules() { mkdir -p $fs/usr/lib - cp -s $install/usr/lib/*.so* $fs/usr/lib + cp -a $install/usr/lib/*.so* $fs/usr/lib }