wok rev 18526
Separate "gettext-tools" from "gettext"; "poedit": check dependencies
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 27 00:47:37 2015 +0200 (2015-10-27) |
parents | 561e55bb4626 |
children | 22a186ed0584 |
files | gettext-tools/description.txt gettext-tools/receipt gettext/description.txt gettext/receipt poedit/description.txt poedit/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gettext-tools/description.txt Tue Oct 27 00:47:37 2015 +0200 1.3 @@ -0,0 +1,5 @@ 1.4 +This package is a part of GNU gettext, it contains: 1.5 + 1.6 + * `xgettext`: to collect translations from sources to new POT file 1.7 + * `msgmerge`: to update existing PO files with the new POT file 1.8 + * `msgfmt`: to compile MO files from PO files
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/gettext-tools/receipt Tue Oct 27 00:47:37 2015 +0200 2.3 @@ -0,0 +1,28 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="gettext-tools" 2.7 +VERSION="0.19.4" 2.8 +CATEGORY="libs" 2.9 +SHORT_DESC="GNU gettext tools to manage translations" 2.10 +MAINTAINER="al.bobylev@gmail.com" 2.11 +LICENSE="GPL3" 2.12 +WEB_SITE="http://www.gnu.org/software/gettext/" 2.13 + 2.14 +DEPENDS="acl glib libgomp" 2.15 + 2.16 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.17 +genpkg_rules() 2.18 +{ 2.19 + mkdir -p \ 2.20 + $fs/usr/bin \ 2.21 + $fs/usr/lib 2.22 + cp -a \ 2.23 + $install/usr/bin/msgfmt \ 2.24 + $install/usr/bin/msgmerge \ 2.25 + $install/usr/bin/xgettext \ 2.26 + $fs/usr/bin 2.27 + cp -a \ 2.28 + $install/usr/lib/libgettextlib*.so* \ 2.29 + $install/usr/lib/libgettextsrc*.so* \ 2.30 + $fs/usr/lib 2.31 +}
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/gettext/description.txt Tue Oct 27 00:47:37 2015 +0200 3.3 @@ -0,0 +1,17 @@ 3.4 +This is the GNU gettext package. It is interesting for authors or maintainers of 3.5 +other packages or programs which they want to see internationalized. As one step 3.6 +the handling of messages in different languages should be implemented. For this 3.7 +task GNU gettext provides the needed tools and library functions. 3.8 + 3.9 +It is also interesting for translators, because GNU gettext provides the 3.10 +'msgmerge' program, which prepares a message catalog before a translation 3.11 +update. 3.12 + 3.13 +Users of GNU packages should also install GNU gettext because some other GNU 3.14 +packages will use the gettext program included in this package to 3.15 +internationalize the messages given by shell scripts. 3.16 + 3.17 + * [The homepage of this package](http://www.gnu.org/software/gettext/) 3.18 + * [The primary FTP site for its distribution] 3.19 + (ftp://ftp.gnu.org/pub/gnu/gettext/) 3.20 + * Send comments and bug reports to <bug-gnu-gettext@gnu.org>
4.1 --- a/gettext/receipt Mon Oct 26 18:17:02 2015 +0200 4.2 +++ b/gettext/receipt Tue Oct 27 00:47:37 2015 +0200 4.3 @@ -13,7 +13,7 @@ 4.4 4.5 # Why deps on glib-dev ??? And glib build depends on gettext anyway... 4.6 DEPENDS="gettext-base libgomp acl-dev gcc-lib-base glib-dev libxml2-dev m4 \ 4.7 -ncurses" 4.8 +ncurses gettext-tools" 4.9 BUILD_DEPENDS="acl attr-dev glib-dev libxml2-dev ncurses-dev" 4.10 4.11 # Handle cross compilation. Glibc-locale are installed in cross chroot. 4.12 @@ -24,7 +24,6 @@ 4.13 # Rules to configure and make the package. 4.14 compile_rules() 4.15 { 4.16 - cd $src 4.17 ./configure $CONFIGURE_ARGS && 4.18 make && make install 4.19 } 4.20 @@ -38,9 +37,11 @@ 4.21 cp -a $install/usr/include $fs/usr 4.22 cp -a $install/usr/share/aclocal $fs/usr/share 4.23 cp -a $install/usr/share/gettext $fs/usr/share 4.24 - # Remove gettext-base files. 4.25 - rm $fs/usr/bin/gettext 4.26 - rm $fs/usr/bin/gettext.sh 4.27 - rm $fs/usr/bin/envsubst 4.28 - rm $fs/usr/bin/ngettext 4.29 + 4.30 + # Remove "gettext-base" and "gettext-tools" files. 4.31 + for bin in gettext gettext.sh envsubst ngettext msgfmt msgmerge xgettext; do 4.32 + rm $fs/usr/bin/$bin 4.33 + done 4.34 + rm $fs/usr/lib/libgettextlib*.so* 4.35 + rm $fs/usr/lib/libgettextsrc*.so* 4.36 }
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 5.2 +++ b/poedit/description.txt Tue Oct 27 00:47:37 2015 +0200 5.3 @@ -0,0 +1,15 @@ 5.4 +Poedit - a cross-platform gettext catalogs editing tool 5.5 + 5.6 +This program is GUI frontend to GNU gettext utilities and catalogs editor/source 5.7 +code parser. It helps with translating application into another language. For 5.8 +details on principles of the solution used, see GNU gettext documentation or 5.9 +wxWidgets' wxLocale class reference. 5.10 + 5.11 +Poedit is released under the MIT license and you're free to do whatever you want 5.12 +with it and its source code (well, almost :-) -- see the license text). 5.13 + 5.14 +Links: 5.15 + 5.16 + * [Poedit homepage](http://poedit.net/) 5.17 + * [GNU gettext homepage](http://www.gnu.org/software/gettext/), contains 5.18 + documentation
6.1 --- a/poedit/receipt Mon Oct 26 18:17:02 2015 +0200 6.2 +++ b/poedit/receipt Tue Oct 27 00:47:37 2015 +0200 6.3 @@ -10,11 +10,11 @@ 6.4 TARBALL="$PACKAGE-$VERSION.tar.gz" 6.5 WGET_URL="https://github.com/vslavik/$PACKAGE/archive/v$VERSION-oss.tar.gz" 6.6 6.7 -DEPENDS="xorg wxWidgets pango gettext-base libdb xorg-libXdamage \ 6.8 -xorg-libXxf86vm gtkspell lucene++ libboost-chrono" 6.9 +DEPENDS="wxWidgets lucene++ gtkspell gcc49-lib-base gettext-tools" 6.10 BUILD_DEPENDS="automake gettext asciidoc libxslt xmlto util-linux-getopt \ 6.11 -docbook-xsl gcc49 gcc-lib-base wxWidgets-dev icu-dev gtkspell-dev \ 6.12 +docbook-xsl gcc49 wxWidgets-dev icu-dev gtkspell-dev \ 6.13 lucene++-dev db-dev libdb libdb-cxx expat-dev" 6.14 +SUGGESTED="aspell" 6.15 6.16 # Rules to configure and make the package. 6.17 compile_rules() 6.18 @@ -36,4 +36,3 @@ 6.19 cp -a $install/* $fs 6.20 rm -r $fs/usr/share/locale $fs/usr/share/man 6.21 } 6.22 -