Accepting request 88045 from GNOME:Factory
Fixed translation-update-upstream support OBS-URL: https://build.opensuse.org/request/show/88045 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gtk2?expand=0&rev=112
This commit is contained in:
commit
e2d7e5f7d7
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 14 17:20:07 CEST 2011 - sbrabec@suse.cz
|
||||
|
||||
- Fixed translation-update-upstream support (bnc#690180).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 31 09:52:22 CEST 2011 - vuntz@opensuse.org
|
||||
|
||||
|
13
gtk2.spec
13
gtk2.spec
@ -300,9 +300,16 @@ This package contains the development files for GTK+ 2.x.
|
||||
# Hacky workaround against broken tarball; the test will fail when it can be removed (see bgo#658039)
|
||||
test "x`wc -l tests/testtreeview.c`" = "x38 tests/testtreeview.c"
|
||||
sed -i "s/\ttesttreeview\t//g" tests/Makefile.am
|
||||
# This breaks the build, so disabled for now (see bnc#690180)
|
||||
#translation-update-upstream
|
||||
#translation-update-upstream po-properties gtk20-properties
|
||||
translation-update-upstream
|
||||
translation-update-upstream po-properties gtk20-properties
|
||||
# remove incomplete translations caused by translation-update-upstream (global LINGUAS file, two domains)
|
||||
for LNG in po/*.po ; do
|
||||
LNG=`basename ${LNG%%.po}`
|
||||
if ! test -f po-properties/$LNG.po ; then
|
||||
echo "Removing incomplete $LNG from LINGUAS."
|
||||
sed -i "/^$LNG\$/d" po/LINGUAS
|
||||
fi
|
||||
done
|
||||
gnome-patch-translation-prepare
|
||||
%if "%_lib" == "lib64"
|
||||
cp -a %{S:2} .
|
||||
|
Loading…
x
Reference in New Issue
Block a user