diff options
Diffstat (limited to 'source/kdei/kde-l10n')
5 files changed, 105 insertions, 10 deletions
diff --git a/source/kdei/kde-l10n/kde-l10n.SlackBuild b/source/kdei/kde-l10n/kde-l10n.SlackBuild index 1b522bf8..04670e75 100755 --- a/source/kdei/kde-l10n/kde-l10n.SlackBuild +++ b/source/kdei/kde-l10n/kde-l10n.SlackBuild @@ -1,7 +1,7 @@ #!/bin/sh # Copyright 2008 Robby Workman Northport, AL, USA -# Copyright 2009, 2010 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2009, 2010, 2011 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -35,9 +35,9 @@ if [ ! -r ./languages ]; then done fi -[ -z $VERSION ] && export VERSION=4.4.3 +[ -z $VERSION ] && export VERSION=4.5.5 [ -z $ARCH ] && export ARCH=noarch -[ -z $BUILD ] && export BUILD=1 +[ -z $BUILD ] && export BUILD=3 # Use this as CFLAGS and CXXFLAGS: if [ -z "$SLKCFLAGS" ]; then @@ -61,6 +61,35 @@ fi CWD=$(pwd) TMP=${TMP:-/tmp} +# This function will insert missing kdepim translations from kde-l10n-4.4.5: +insert_kdepim() { + if [ -r $CWD/kdepim-l10n/kdepim-l10n-$(echo $PKGNAM | cut -f 3 -d -)-4.4.5.tar.bz2 ]; then + tar xvf $CWD/kdepim-l10n/kdepim-l10n-$(echo $PKGNAM | cut -f 3 -d -)-4.4.5.tar.bz2 + fi + for dir in $(find . -type d -name messages) $(find . -type d -name docs) ; do + ( cd $dir + if [ -d kdepim ]; then + echo "add_subdirectory( kdepim )" >> CMakeLists.txt.new + fi + if [ -r CMakeLists.txt ]; then + cat CMakeLists.txt >> CMakeLists.txt.new + mv CMakeLists.txt.new CMakeLists.txt + else + rm -f CMakeLists.txt.new + fi + ) + done + # Update DTD specification. This will fix some of the issues... + sed -i -e "s/V4.1.2-Based/V4.2-Based/g" $(grep -lr "V4.1.2-Based" *) + sed -i -e "s/V4.1-Based/V4.2-Based/g" $(grep -lr "V4.1-Based" *) + sed -i -e "s/V4.2-Based Variant V1.0/V4.2-Based Variant V1.1/g" $(grep -lr "V4.2-Based Variant V1.0" *) + if ls $CWD/kdepim-l10n/kdepim-l10n-$(echo $PKGNAM | cut -f 3 -d -)-4.4.5.*.diff.gz 1> /dev/null 2> /dev/null ; then + for patch in $CWD/kdepim-l10n/kdepim-l10n-$(echo $PKGNAM | cut -f 3 -d -)-4.4.5.*.diff.gz ; do + zcat $patch | patch -p1 --verbose || exit 1 + done + fi +} + make_language_pack() { rm -rf $PKG mkdir -p $TMP $PKG @@ -68,6 +97,7 @@ cd $TMP rm -rf $PKGNAM-$VERSION tar xvf $CWD/$PKGNAM-$VERSION.tar.bz2 || exit 1 cd $PKGNAM-$VERSION || exit 1 +insert_kdepim; chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ @@ -75,7 +105,7 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; mkdir -p build -cd build +( cd build cmake \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ @@ -86,7 +116,7 @@ cd build .. make || exit 1 make install DESTDIR=$PKG || exit 1 -cd - +) || touch $TMP/$PKGNAM.failed ( cd $PKG find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null diff --git a/source/kdei/kde-l10n/kdepim-l10n/extract-kdepim-goodness.sh b/source/kdei/kde-l10n/kdepim-l10n/extract-kdepim-goodness.sh new file mode 100755 index 00000000..6d39e755 --- /dev/null +++ b/source/kdei/kde-l10n/kdepim-l10n/extract-kdepim-goodness.sh @@ -0,0 +1,23 @@ +#!/bin/sh +# This script was used to extract the kdepim part from the last kde-l10n +# release that contained them. The resulting kdepim-l10n sources will be +# merged into our language packages. + +# This should be run in the directory containing the kde-l10n-*-4.4.5 +# source tarballs that you wish to create kdepim-l10n archives from. + +for file in kde-l10n*.tar.bz2 ; do + rm -rf $(basename $file .tar.bz2) kdepim-l10n-$(echo $file | cut -f 3 -d -)-4.4.5 + echo "Extracting $file" + tar xf $file + mkdir kdepim-l10n-$(echo $file | cut -f 3 -d -)-4.4.5 + ( cd $(basename $file .tar.bz2) + find . -name "kdepim" -type d -exec cp -a --parents "{}" ../kdepim-l10n-$(echo $file | cut -f 3 -d -)-4.4.5 \; + ) + ( cd kdepim-l10n-$(echo $file | cut -f 3 -d -)-4.4.5 + tar cf ../kdepim-l10n-$(echo $file | cut -f 3 -d -)-4.4.5.tar . + ) + rm -f kdepim-l10n-$(echo $file | cut -f 3 -d -)-4.4.5.tar.bz2 + bzip2 -9 kdepim-l10n-$(echo $file | cut -f 3 -d -)-4.4.5.tar + rm -r $(basename $file .tar.bz2) kdepim-l10n-$(echo $file | cut -f 3 -d -)-4.4.5 +done diff --git a/source/kdei/kde-l10n/kdepim-l10n/kdepim-l10n-fr-4.4.5.korganizer.docbook.reorganize.diff b/source/kdei/kde-l10n/kdepim-l10n/kdepim-l10n-fr-4.4.5.korganizer.docbook.reorganize.diff new file mode 100644 index 00000000..df6184ab --- /dev/null +++ b/source/kdei/kde-l10n/kdepim-l10n/kdepim-l10n-fr-4.4.5.korganizer.docbook.reorganize.diff @@ -0,0 +1,34 @@ +--- ./docs/kdepim/korganizer/index.docbook.orig 2011-01-19 10:56:02.410999994 -0600 ++++ ./docs/kdepim/korganizer/index.docbook 2011-01-19 12:40:25.712999555 -0600 +@@ -108,6 +108,15 @@ + <releaseinfo + >2.20.00</releaseinfo> + ++<abstract ++><para ++>&korganizer; est un agenda personnel facile à utiliser (un <acronym ++>PIM</acronym ++>, acronyme anglais de <foreignphrase ++>personal information manager</foreignphrase ++>). Vous pouvez planifier des rendez-vous, des événements et des tâches à effectuer. &korganizer; vous remémorera les tâches en instances et vous aidera à respecter votre emploi du temps. </para ++></abstract> ++ + <keywordset> + <keyword + >KDE</keyword> +@@ -127,15 +136,6 @@ + >rendez-vous</keyword> + </keywordset> + +-<abstract +-><para +->&korganizer; est un agenda personnel facile à utiliser (un <acronym +->PIM</acronym +->, acronyme anglais de <foreignphrase +->personal information manager</foreignphrase +->). Vous pouvez planifier des rendez-vous, des événements et des tâches à effectuer. &korganizer; vous remémorera les tâches en instances et vous aidera à respecter votre emploi du temps. </para +-></abstract> +- + </bookinfo> + + <chapter id="introduction"> diff --git a/source/kdei/kde-l10n/languages b/source/kdei/kde-l10n/languages index 47b709a0..a46f4ced 100644 --- a/source/kdei/kde-l10n/languages +++ b/source/kdei/kde-l10n/languages @@ -3,7 +3,6 @@ bg ca ca@valencia cs -csb da de el @@ -22,6 +21,7 @@ he hi hr hu +ia id is it @@ -32,8 +32,6 @@ kn ko lt lv -mai -mk ml nb nds @@ -45,12 +43,11 @@ pt pt_BR ro ru -si sk sl sr sv -tg +th tr uk wa diff --git a/source/kdei/kde-l10n/slack-desc/slack-desc.kde-l10n-ia b/source/kdei/kde-l10n/slack-desc/slack-desc.kde-l10n-ia new file mode 100644 index 00000000..e0732347 --- /dev/null +++ b/source/kdei/kde-l10n/slack-desc/slack-desc.kde-l10n-ia @@ -0,0 +1,11 @@ +kde-l10n-ia: kde-l10n-ia +kde-l10n-ia: +kde-l10n-ia: Interlingua language support for KDE. +kde-l10n-ia: +kde-l10n-ia: +kde-l10n-ia: +kde-l10n-ia: +kde-l10n-ia: +kde-l10n-ia: +kde-l10n-ia: +kde-l10n-ia: |