# HG changeset patch # User Aleksej Bobylev # Date 1480961233 -7200 # Node ID 8312b3fd937f04e3398236f52e2039943bf1bf80 # Parent 1feee7ca564d22cb5b0bc9352064475510d88838 retawq: rework receipt; add cryptkeeper. diff -r 1feee7ca564d -r 8312b3fd937f cryptkeeper/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/cryptkeeper/receipt Mon Dec 05 20:07:13 2016 +0200 @@ -0,0 +1,30 @@ +# SliTaz package receipt. + +PACKAGE="cryptkeeper" +VERSION="0.9.5" +CATEGORY="security" +SHORT_DESC="Linux system tray applet that manages EncFS encrypted folders" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="GPL3" +WEB_SITE="http://tom.noflag.org.uk/cryptkeeper.html" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="http://tom.noflag.org.uk/cryptkeeper/$TARBALL" + +DEPENDS="gtk+ GConf encfs" +BUILD_DEPENDS="gtk+-dev GConf-dev xorg-libX11-dev" + +# Rules to configure and make the package. +compile_rules() +{ + mv po/ru_RU.gmo po/ru.gmo + patch -p1 -i $stuff/cryptkeeper.patch + export LDFLAGS="-lX11" + + ./configure $CONFIGURE_ARGS && make && make install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cook_copy_folders usr +} diff -r 1feee7ca564d -r 8312b3fd937f cryptkeeper/stuff/cryptkeeper.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/cryptkeeper/stuff/cryptkeeper.patch Mon Dec 05 20:07:13 2016 +0200 @@ -0,0 +1,29 @@ +--- a/src/defines.h ++++ b/src/defines.h +@@ -4,7 +4,7 @@ + #define UI_SPACING 5 + #define UI_WINDOW_BORDER 10 + +-#define DEFAULT_FILEMANAGER "nautilus" ++#define DEFAULT_FILEMANAGER "pcmanfm" + + #include "../config.h" + #include "../lib/gettext.h" + +--- a/po/LINGUAS ++++ b.po/LINGUAS +@@ -1 +1 @@ +-en@quot en@boldquot fr en_GB de_DE pt_BR ru_RU tr pl es_ES it ++en@quot en@boldquot fr en_GB de_DE pt_BR ru tr pl es_ES it + +--- a/cryptkeeper.desktop ++++ b/cryptkeeper.desktop +@@ -3,7 +3,7 @@ + Name=Cryptkeeper + Exec=cryptkeeper + Icon=cryptkeeper +-Categories=Application;System; ++Categories=Application;System;Security; + Terminal=false + Type=Application + StartupNotify=false diff -r 1feee7ca564d -r 8312b3fd937f retawq/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/retawq/description.txt Mon Dec 05 20:07:13 2016 +0200 @@ -0,0 +1,6 @@ +`retawq` is an interactive, multi-threaded network client (web browser) for +text terminals on computers with Unix-like operating systems. It is written in +C, fast, small, nicely configurable, and comfortable; e.g. the low-level +network communications are performed in a non-blocking way, and you can keep +open as many "virtual windows" as you want and work simultaneously in two of +them in a split-screen mode. diff -r 1feee7ca564d -r 8312b3fd937f retawq/receipt --- a/retawq/receipt Mon Dec 05 15:16:10 2016 +0200 +++ b/retawq/receipt Mon Dec 05 20:07:13 2016 +0200 @@ -3,37 +3,43 @@ PACKAGE="retawq" VERSION="0.2.6c" CATEGORY="network" -SHORT_DESC="Text mode Web browser." +SHORT_DESC="Multi-threaded web browser for text terminals" MAINTAINER="pankso@slitaz.org" LICENSE="GPL2" +WEB_SITE="http://retawq.sourceforge.net/" TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://retawq.sourceforge.net/" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" TAGS="web-browser" HOST_ARCH="i486 arm" -DEPENDS="ncurses" -BUILD_DEPENDS="ncurses-dev" +DEPENDS="ncurses libtinfo" +BUILD_DEPENDS="ncurses-dev libtinfo" # Rules to configure and make the package. compile_rules() { - export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries" + export LDFLAGS="-ltinfo" # We have no locale support on ARM actually case "$ARCH" in - arm) opts="" ;; + arm) opts="" ;; i?86) opts="--enable-i18n" ;; esac - cd $src + patch -p1 -i $stuff/retawq.patch + ./configure \ --enable-local-cgi \ --path-prefix=/usr \ --path-doc=/usr/share/doc/retawq \ - --path-man=/usr/share/man $opts && - make + --path-man=/usr/share/man \ + $opts && + make && make install + + mkdir -p $install/usr/share/applications $install/etc + cp $stuff/retawq.desktop $install/usr/share/applications + cp -a $stuff/skel $install/etc } -# The base webbrows for ARM, so check +# The base web browser for ARM, so check testsuite() { readelf -h $src/retawq @@ -42,13 +48,5 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/etc $fs/usr/bin - cp -a $src/retawq $fs/usr/bin - cp -a $stuff/skel $fs/etc - # I18n for locale-* packages - for lang in de es fr ja pt_BR; do - mkdir -p $install/usr/share/locale/$lang/LC_MESSAGES - cp $src/i18n/$lang.mo \ - $install/usr/share/locale/$lang/LC_MESSAGES/retawq.mo - done + cook_copy_folders bin skel } diff -r 1feee7ca564d -r 8312b3fd937f retawq/stuff/retawq.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/retawq/stuff/retawq.patch Mon Dec 05 20:07:13 2016 +0200 @@ -0,0 +1,18 @@ +--- a/configure ++++ b/configure +@@ -1660,13 +1660,13 @@ + initial_path="\$4" + files="\$5" + act="\${ITCHCONFIG_ACT-}" +- ic_makedir="\${MKDIRPROG-mkdir}" ++ ic_makedir="mkdir -p" + ic_program_prefix="$ic_program_prefix" + ic_program_suffix="$ic_program_suffix" + checked_path= + for one_file in \$files + do +- path="\$initial_path" ++ path="\$DESTDIR\$initial_path" + file=\`echo "\$one_file" | sed 's,.*[/],,'\` + case \$magic in + m0) ;;