Commit d319f6f5 authored by Andrey V.Kosteltsev's avatar Andrey V.Kosteltsev

gettext-runtime, libtextstyle 0.20.1

parent 4f0fd03d
......@@ -50,7 +50,7 @@ include ../../../../build-system/constants.mk
SOURCE_REQUIRES = sources/packages/x/WindowMaker
REQUIRES = app/gettext/0.19.7
REQUIRES = app/gettext/0.20.1
REQUIRES += X11/X.org/lib/libXaw/1.0.13
REQUIRES += X11/X.org/lib/libXft/2.3.2
REQUIRES += X11/X.org/lib/libXinerama/1.1.3
......
......@@ -51,7 +51,7 @@ include ../../../build-system/constants.mk
SOURCE_REQUIRES = sources/GNU/bash
REQUIRES = libs/readline/8.0
REQUIRES += app/gettext/0.19.7
REQUIRES += app/gettext/0.20.1
# ======= __END_OF_REQUIRES__ =======
......
......@@ -58,8 +58,8 @@ REQUIRES += libs/libunistring/0.9.10
version = 0.19.7
tar_gz_archive = $(SRC_PACKAGE_PATH)/GNU/gettext/gettext-$(version).tar.gz
SRC_ARCHIVE = $(tar_gz_archive)
tar_xz_archive = $(SRC_PACKAGE_PATH)/GNU/gettext/gettext-$(version).tar.xz
SRC_ARCHIVE = $(tar_xz_archive)
SRC_DIR = $(TARGET_BUILD_DIR)/gettext-$(version)
src_dir_name = gettext-$(version)
src_done = $(TARGET_BUILD_DIR)/.source_done
......
......@@ -60,8 +60,8 @@ endif
version = 0.19.7
tar_gz_archive = $(SRC_PACKAGE_PATH)/GNU/gettext/gettext-$(version).tar.gz
SRC_ARCHIVE = $(tar_gz_archive)
tar_xz_archive = $(SRC_PACKAGE_PATH)/GNU/gettext/gettext-$(version).tar.xz
SRC_ARCHIVE = $(tar_xz_archive)
SRC_DIR = $(TARGET_BUILD_DIR)/gettext-$(version)
src_dir_name = gettext-$(version)
src_done = $(TARGET_BUILD_DIR)/.source_done
......
This diff is collapsed.
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
|-----handy-ruler------------------------------------------------------|
gettext-tools: gettext-tools @VERSION@ (internationalization framework tools)
gettext-tools:
gettext-tools: The GNU gettext-tools package is useful for authors and maintainers
gettext-tools: of internationalized software, or for anyone compiling programs that
gettext-tools: use the gettext functions. This package provides the needed tools
gettext-tools: and library functions for the handling of messages in different
gettext-tools: languages. Some other GNU packages use the gettext program (included
gettext-tools: in this package) to internationalize the messages given by shell
gettext-tools: scripts.
gettext-tools:
gettext-tools:
#!/bin/sh
# Preserve new files
install_file() {
NEW="$1"
OLD="`dirname $NEW`/`basename $NEW .new`"
# If there's no file by that name, mv it over:
if [ ! -r $OLD ]; then
mv $NEW $OLD
elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then # toss the redundant copy
rm $NEW
fi
# Otherwise, we leave the .new copy for the admin to consider...
}
# arg 1: the new package version
pre_install() {
/bin/true
}
# arg 1: the new package version
post_install() {
#
# NOTE:
# 'install-info' can work using relative paths and we can make use build machine
# utility during installation to the some partition and use target 'install-info'
# during installation directly on the running target machine.
#
if [ -x /usr/bin/install-info ] ; then
install-info --info-dir=usr/share/info usr/share/info/gettext.info.gz 2>/dev/null
elif ! grep "(gettext)" usr/share/info/dir 1> /dev/null 2> /dev/null ; then
cat << EOF >> usr/share/info/dir
GNU Gettext Utilities
* autopoint: (gettext)autopoint Invocation.
Copy gettext infrastructure.
* envsubst: (gettext)envsubst Invocation.
Expand environment variables.
* gettextize: (gettext)gettextize Invocation.
Prepare a package for gettext.
* gettext: (gettext). GNU gettext utilities.
* ISO3166: (gettext)Country Codes.
ISO 3166 country codes.
* ISO639: (gettext)Language Codes.
ISO 639 language codes.
* msgattrib: (gettext)msgattrib Invocation.
Select part of a PO file.
* msgcat: (gettext)msgcat Invocation.
Combine several PO files.
* msgcmp: (gettext)msgcmp Invocation.
Compare a PO file and template.
* msgcomm: (gettext)msgcomm Invocation.
Match two PO files.
* msgconv: (gettext)msgconv Invocation.
Convert PO file to encoding.
* msgen: (gettext)msgen Invocation.
Create an English PO file.
* msgexec: (gettext)msgexec Invocation.
Process a PO file.
* msgfilter: (gettext)msgfilter Invocation.
Pipe a PO file through a filter.
* msgfmt: (gettext)msgfmt Invocation.
Make MO files out of PO files.
* msggrep: (gettext)msggrep Invocation.
Select part of a PO file.
* msginit: (gettext)msginit Invocation.
Create a fresh PO file.
* msgmerge: (gettext)msgmerge Invocation.
Update a PO file from template.
* msgunfmt: (gettext)msgunfmt Invocation.
Uncompile MO file into PO file.
* msguniq: (gettext)msguniq Invocation.
Unify duplicates for PO file.
* ngettext: (gettext)ngettext Invocation.
Translate a message with plural.
* xgettext: (gettext)xgettext Invocation.
Extract strings into a PO file.
EOF
fi
}
# arg 1: the new package version
# arg 2: the old package version
pre_update() {
/bin/true
}
# arg 1: the new package version
# arg 2: the old package version
post_update() {
post_install
}
# arg 1: the old package version
pre_remove() {
if [ -x /usr/bin/install-info ] ; then
install-info --delete --info-file=usr/share/info/gettext.info.gz --dir-file=usr/share/info/dir 2> /dev/null || /bin/true
fi
}
# arg 1: the old package version
post_remove() {
/bin/true
}
operation=$1
shift
$operation $*
This diff is collapsed.
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
|-----handy-ruler------------------------------------------------------|
gettext: GNU gettext @VERSION@ (internationalization framework)
gettext:
gettext: The GNU gettext package contains "gettext" and "ngettext", programs
gettext: that are used to internationalize the messages given by shell
gettext: scripts.
gettext:
gettext:
gettext:
gettext:
gettext:
gettext:
#!/bin/sh
# Preserve new files
install_file() {
NEW="$1"
OLD="`dirname $NEW`/`basename $NEW .new`"
# If there's no file by that name, mv it over:
if [ ! -r $OLD ]; then
mv $NEW $OLD
elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then # toss the redundant copy
rm $NEW
fi
# Otherwise, we leave the .new copy for the admin to consider...
}
# arg 1: the new package version
pre_install() {
/bin/true
}
# arg 1: the new package version
post_install() {
#
# NOTE:
# 'install-info' can work using relative paths and we can make use build machine
# utility during installation to the some partition and use target 'install-info'
# during installation directly on the running target machine.
#
if [ -x /usr/bin/install-info ] ; then
install-info --info-dir=usr/share/info usr/share/info/autosprintf.info.gz 2>/dev/null
install-info --info-dir=usr/share/info usr/share/info/libtextstyle.info.gz 2>/dev/null
elif ! grep "(autosprintf)" usr/share/info/dir 1> /dev/null 2> /dev/null ; then
cat << EOF >> usr/share/info/dir
C++ libraries
* autosprintf: (autosprintf). Support for printf format strings in C++.
Software development
* GNU libtextstyle: (libtextstyle).
Output of styled text.
EOF
fi
}
# arg 1: the new package version
# arg 2: the old package version
pre_update() {
/bin/true
}
# arg 1: the new package version
# arg 2: the old package version
post_update() {
post_install
}
# arg 1: the old package version
pre_remove() {
if [ -x /usr/bin/install-info ] ; then
install-info --delete --info-file=usr/share/info/autosprintf.info.gz --dir-file=usr/share/info/dir 2> /dev/null || /bin/true
install-info --delete --info-file=usr/share/info/libtextstyle.info.gz --dir-file=usr/share/info/dir 2> /dev/null || /bin/true
fi
}
# arg 1: the old package version
post_remove() {
/bin/true
}
operation=$1
shift
$operation $*
......@@ -13,7 +13,7 @@ include ../../../build-system/constants.mk
SOURCE_REQUIRES = sources/GNU/libiconv
REQUIRES = libs/libiconv/1.14
REQUIRES += app/gettext/0.19.7-x86_32
REQUIRES += app/gettext/0.20.1-x86_32
# ======= __END_OF_REQUIRES__ =======
......
......@@ -50,7 +50,7 @@ include ../../../build-system/constants.mk
SOURCE_REQUIRES = sources/GNU/libiconv
REQUIRES = app/gettext/0.19.7
REQUIRES = app/gettext/0.20.1
# ======= __END_OF_REQUIRES__ =======
......
......@@ -50,7 +50,7 @@ include ../../../build-system/constants.mk
SOURCE_REQUIRES = sources/packages/l/shared-mime-info
REQUIRES = libs/glib2/2.48.0
REQUIRES += app/gettext/0.19.7
REQUIRES += app/gettext/0.20.1
REQUIRES += libs/libxml2/2.9.3
# ======= __END_OF_REQUIRES__ =======
......
......@@ -196,7 +196,7 @@ endif
# ...
# │ ...
# │ │
# │ ├── app/gettext/0.19.7
# │ ├── app/gettext/0.20.1
# │ ...
# ...
#
......@@ -477,7 +477,7 @@ endif
# │
# │ ...
# │ ├───────────────────────────────────┬── libs/readline/8.0
# │ │ └── app/gettext/0.19.7
# │ │ └── app/gettext/0.20.1
# │ ├── app/bash/4.3 ■
# │ │
# │ ...
......@@ -652,7 +652,7 @@ REQUIRES += app/hdparm/9.48
REQUIRES += app/less/451
REQUIRES += app/lha/114i
REQUIRES += app/logrotate/3.9.1
REQUIRES += app/gettext/0.19.7-tools
REQUIRES += app/gettext/0.20.1-tools
REQUIRES += secure/libcgroup/0.41
ifeq ($(HARDWARE),$(HARDWARE_PC64))
......
......@@ -7,9 +7,9 @@ include ../../../build-system/constants.mk
url = $(DOWNLOAD_SERVER)/sources/GNU/gettext
versions = 0.18.3.2 0.19.7
versions = 0.19.7 0.20.1
pkgname = gettext
suffix = tar.gz
suffix = tar.xz
tarballs = $(addsuffix .$(suffix), $(addprefix $(pkgname)-, $(versions)))
sha1s = $(addsuffix .sha1sum, $(tarballs))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment