Mailinglist Archive: opensuse-commit (564 mails)

< Previous Next >
commit kde-susetranslations for openSUSE:Factory
  • From: root@xxxxxxxxxxxxxxx (h_root)
  • Date: Wed, 09 Jun 2010 17:10:19 +0200
  • Message-id: <20100609151019.C3449201E1@xxxxxxxxxxxxxxx>

Hello community,

here is the log from the commit of package kde-susetranslations for
openSUSE:Factory
checked in at Wed Jun 9 17:10:19 CEST 2010.



--------
--- KDE/kde-susetranslations/kde-susetranslations.changes 2009-09-28
17:19:07.000000000 +0200
+++
/mounts/work_src_done/STABLE/kde-susetranslations/kde-susetranslations.changes
2010-06-08 11:46:31.000000000 +0200
@@ -1,0 +2,10 @@
+Tue Jun 8 11:44:19 CEST 2010 - dmueller@xxxxxxx
+
+- bump version to 11.3
+
+-------------------------------------------------------------------
+Fri Jun 4 09:56:07 UTC 2010 - llunak@xxxxxxxxxx
+
+- updated translations
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


New:
----
fill_po.sh
update_rpm

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ kde-susetranslations.spec ++++++
--- /var/tmp/diff_new_pack.200ueG/_old 2010-06-09 17:09:42.000000000 +0200
+++ /var/tmp/diff_new_pack.200ueG/_new 2010-06-09 17:09:42.000000000 +0200
@@ -1,7 +1,7 @@
#
-# spec file for package kde-susetranslations (Version 11.1)
+# spec file for package kde-susetranslations (Version 11.3)
#
-# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -20,13 +20,12 @@

Name: kde-susetranslations
BuildRequires: kdelibs3-devel libkde4-devel
-License: GPL v2 or later
+License: GPLv2+
Group: System/GUI/KDE
Summary: SUSE KDE Translations
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Version: 11.1
-Release: 17
-# https://svn.suse.de/svn/desktop/trunk/kde-susetranslations/update_rpm
+Version: 11.3
+Release: 1
Source0: kde-susetranslations.tar.bz2
Source1: COPYING
BuildArch: noarch
@@ -51,7 +50,7 @@
Ludwig Nussel <lnussel@xxxxxxx>

%package -n simple-ccsm-kde-lang
-License: GPL v2 or later
+License: GPLv2+
Summary: Languages for package simple-ccsm-kde
Group: System/Localization
%define sversion 11.1

++++++ fill_po.sh ++++++
#!/bin/bash
# vim: sw=4 et

SUBDIRS=$1
LOCATION=$2

test -z "$SUBDIRS" && exit 1
test -z "$LOCATION" && LOCATION='${LOCALE_INSTALL_DIR}'

rm -f CMakeLists.txt
echo "find_package(Gettext REQUIRED)" >> CMakeLists.txt

LANGS=`cd $MY_LCN_CHECKOUT && ls -1d ?? ??_??`
echo $LANGS
for lang in $LANGS; do
PO_LIST=""
for i in $SUBDIRS; do
echo -n "copying $lang/po/$i.$lang.po... "
if test -f "$MY_LCN_CHECKOUT/$lang/po/$i.$lang.po"; then
mkdir -p $lang
cp -p $MY_LCN_CHECKOUT/$lang/po/$i.$lang.po $lang/$i.po
PO_LIST="$PO_LIST $i.po"
echo "done"
else
echo "missing"
fi
done
echo "gettext_process_po_files($lang ALL INSTALL_DESTINATION $LOCATION
$PO_LIST )" >> $lang/CMakeLists.txt
echo "add_subdirectory($lang)" >> CMakeLists.txt
done
++++++ kde-susetranslations.tar.bz2 ++++++
++++ 167993 lines of diff (skipped)

++++++ update_rpm ++++++
#! /bin/sh

opwd=$PWD
fill_po=$PWD/fill_po.sh
test -e "$fill_po" || exit 1
tdir=`mktemp -d`
pushd $tdir || exit 1

mkdir kde-susetranslations
mkdir kde-susetranslations/po-kde3
mkdir kde-susetranslations/po-kde4

cat >kde-susetranslations/CMakeLists.txt <<EOF
project(kde-susetranslations)
cmake_minimum_required(VERSION 2.4.5)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR}/cmake/modules )
# search packages used by KDE
find_package(KDE4 REQUIRED)
include (KDE4Defaults)
include (MacroLibrary)
include(MacroOptionalAddSubdirectory)
macro_optional_add_subdirectory(po-kde3)
macro_optional_add_subdirectory(po-kde4)
EOF

if test -d "$MY_LCN_CHECKOUT"; then
echo "Updating $MY_LCN_CHECKOUT"
svn up $MY_LCN_CHECKOUT || exit 1
else
echo "No \$MY_LCN_CHECKOUT set, will checkout temporarly"
svn export https://svn.berlios.de/svnroot/repos/opensuse-i18n/trunk/lcn ||
exit 1
export MY_LCN_CHECKOUT=$PWD/lcn
fi

pushd kde-susetranslations/po-kde3
bash "$fill_po" 'susetranslations' /opt/kde3/share/locale
popd

pushd kde-susetranslations/po-kde4
bash "$fill_po" 'simple-ccsm-kde'
popd

tar -cvj -f $opwd/kde-susetranslations.tar.bz2 kde-susetranslations
popd
rm -rf $tdir

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages