Hello community,

here is the log from the commit of package kdesdk3 for openSUSE:Factory checked 
in at 2014-12-01 14:01:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kdesdk3 (Old)
 and      /work/SRC/openSUSE:Factory/.kdesdk3.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kdesdk3"

Changes:
--------
--- /work/SRC/openSUSE:Factory/kdesdk3/kdesdk3.changes  2012-05-12 
08:51:32.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.kdesdk3.new/kdesdk3.changes     2014-12-01 
14:01:34.000000000 +0100
@@ -1,0 +2,15 @@
+Sun Nov 30 01:39:00 UTC 2014 - Led <[email protected]>
+
+- fix 'echo -e' in cvs.sh script that may be unsupported in some
+  POSIX-complete shells
+- update patches:
+  * kdesdk-3.5.10-fix-bashisms.patch
+
+-------------------------------------------------------------------
+Sat Nov 29 21:01:00 UTC 2014 - Led <[email protected]>
+
+- fix bashisms in scripts
+- add patches:
+  * kdesdk-3.5.10-fix-bashisms.patch
+
+-------------------------------------------------------------------

New:
----
  kdesdk-3.5.10-fix-bashisms.patch

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

Other differences:
------------------
++++++ kdesdk3.spec ++++++
--- /var/tmp/diff_new_pack.kk92bH/_old  2014-12-01 14:01:36.000000000 +0100
+++ /var/tmp/diff_new_pack.kk92bH/_new  2014-12-01 14:01:36.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package kdesdk3
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 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
@@ -13,6 +13,8 @@
 # published by the Open Source Initiative.
 
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
+#
+
 
 Name:           kdesdk3
 %define _mandir /opt/kde3/share/man
@@ -34,6 +36,7 @@
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Source0:        kdesdk-%{version}.tar.bz2
 Patch0:         3_5_BRANCH.diff
+Patch1:         kdesdk-3.5.10-fix-bashisms.patch
 
 %description
 This is a collection of applications and tools used by KDE developers.
@@ -78,7 +81,8 @@
 poxml: translate DocBook files using translated PO files.
 
 %package devel
-Requires:       kdesdk3 kdelibs3-devel
+Requires:       kdelibs3-devel
+Requires:       kdesdk3
 Summary:        Include Files and Libraries mandatory for Development
 Group:          Development/Libraries/C and C++
 
@@ -89,6 +93,7 @@
 %prep
 %setup -q -n kdesdk-%{version}
 %patch0
+%patch1 -p1
 # kmtrace does not work with glibc 2.3 anymore and valgrind is way better
 rm -rf kmtrace
 . /etc/opt/kde3/common_options

++++++ kdesdk-3.5.10-fix-bashisms.patch ++++++
diff -Ndur kdesdk-3.5.10/admin/cvs.sh kdesdk-3.5.10-fix-bashisms/admin/cvs.sh
--- kdesdk-3.5.10/admin/cvs.sh  2008-08-19 23:23:58.000000000 +0300
+++ kdesdk-3.5.10-fix-bashisms/admin/cvs.sh     2014-11-30 03:37:09.086560745 
+0200
@@ -549,7 +549,12 @@
        fi
    fi
    if find . -name \*.c\* -o -name \*.h\* | fgrep -v ".svn" | xargs fgrep -s 
-q KAboutData ; then
-       echo -e 'i18n("_: NAME OF TRANSLATORS\\n"\n"Your names")\ni18n("_: 
EMAIL OF TRANSLATORS\\n"\n"Your emails")' > _translatorinfo.cpp
+       cat > _translatorinfo.cpp <<-EOF
+       i18n("_: NAME OF TRANSLATORS\n"
+       "Your names")
+       i18n("_: EMAIL OF TRANSLATORS\n"
+       "Your emails")
+       EOF
    else echo " " > _translatorinfo.cpp
    fi
    perl -e '$mes=0; while (<STDIN>) { next if (/^(if\s|else\s|endif)/); if 
(/^messages:/) { $mes=1; print $_; next; } if ($mes) { if (/$\\(XGETTEXT\)/ && 
/ -o/) { s/ -o \$\(podir\)/ _translatorinfo.cpp -o \$\(podir\)/ } print $_; } 
else { print $_; } }' < Makefile.am | egrep -v '^include ' > _transMakefile
diff -Ndur kdesdk-3.5.10/kapptemplate/admin/cvs.sh 
kdesdk-3.5.10-fix-bashisms/kapptemplate/admin/cvs.sh
--- kdesdk-3.5.10/kapptemplate/admin/cvs.sh     2008-08-19 23:23:58.000000000 
+0300
+++ kdesdk-3.5.10-fix-bashisms/kapptemplate/admin/cvs.sh        2014-11-30 
03:36:42.274562559 +0200
@@ -549,7 +549,12 @@
        fi
    fi
    if find . -name \*.c\* -o -name \*.h\* | fgrep -v ".svn" | xargs fgrep -s 
-q KAboutData ; then
-       echo -e 'i18n("_: NAME OF TRANSLATORS\\n"\n"Your names")\ni18n("_: 
EMAIL OF TRANSLATORS\\n"\n"Your emails")' > _translatorinfo.cpp
+       cat > _translatorinfo.cpp <<-EOF
+       i18n("_: NAME OF TRANSLATORS\n"
+       "Your names")
+       i18n("_: EMAIL OF TRANSLATORS\n"
+       "Your emails")
+       EOF
    else echo " " > _translatorinfo.cpp
    fi
    perl -e '$mes=0; while (<STDIN>) { next if (/^(if\s|else\s|endif)/); if 
(/^messages:/) { $mes=1; print $_; next; } if ($mes) { if (/$\\(XGETTEXT\)/ && 
/ -o/) { s/ -o \$\(podir\)/ _translatorinfo.cpp -o \$\(podir\)/ } print $_; } 
else { print $_; } }' < Makefile.am | egrep -v '^include ' > _transMakefile
diff -Ndur kdesdk-3.5.10/scripts/build-progress.sh 
kdesdk-3.5.10-fix-bashisms/scripts/build-progress.sh
--- kdesdk-3.5.10/scripts/build-progress.sh     2005-09-10 11:21:03.000000000 
+0300
+++ kdesdk-3.5.10-fix-bashisms/scripts/build-progress.sh        2014-11-30 
03:35:14.215568516 +0200
@@ -5,7 +5,7 @@
 # <[email protected]> for the code :-)
 set_title() {
 if ([ "$TERM" = "xterm" ] || [ "$TERM" = "xterm-color" ] || [ "$TERM" = 
"screen" ]) && tty -s; then
-  echo -ne "\033]0;$1\007"
+  printf "\033]0;$1\007"
 fi
 }
 . ./kde-buildrc
diff -Ndur kdesdk-3.5.10/scripts/cheatmake 
kdesdk-3.5.10-fix-bashisms/scripts/cheatmake
--- kdesdk-3.5.10/scripts/cheatmake     2005-09-10 11:21:02.000000000 +0300
+++ kdesdk-3.5.10-fix-bashisms/scripts/cheatmake        2014-11-30 
03:35:14.215568516 +0200
@@ -31,7 +31,7 @@
 fi
 cd $builddir
 srcdir=`egrep '^srcdir *=' Makefile | sed -e "s#srcdir *= *##"`
-UNSERMAKE=`type -p unsermake`
+type unsermake >/dev/null 2>&1 && UNSERMAKE=unsermake || UNSERMAKE=
 using_unsermake=
 if head -n 1 Makefile | grep unsermake >/dev/null; then
     using_unsermake=new
diff -Ndur kdesdk-3.5.10/scripts/create_svnignore 
kdesdk-3.5.10-fix-bashisms/scripts/create_svnignore
--- kdesdk-3.5.10/scripts/create_svnignore      2006-05-22 21:08:05.000000000 
+0300
+++ kdesdk-3.5.10-fix-bashisms/scripts/create_svnignore 2014-11-30 
03:35:14.215568516 +0200
@@ -49,8 +49,8 @@
                if fgrep -q .ui Makefile.am; then
                        uis=`ls -1 *.ui 2>/dev/null`
                        for ui in $uis; do
-                               addignore ${ui/.ui/.h}
-                               addignore ${ui/.ui/.cpp}
+                               addignore ${ui%.ui}.h
+                               addignore ${ui%.ui}.cpp
                        done
                fi
                
diff -Ndur kdesdk-3.5.10/scripts/cvsaddcurrentdir 
kdesdk-3.5.10-fix-bashisms/scripts/cvsaddcurrentdir
--- kdesdk-3.5.10/scripts/cvsaddcurrentdir      2005-09-10 11:21:02.000000000 
+0300
+++ kdesdk-3.5.10-fix-bashisms/scripts/cvsaddcurrentdir 2014-11-30 
03:35:14.215568516 +0200
@@ -15,9 +15,10 @@
 
 ask_for_adding() {
 echo
-read -p "Add file $file to cvs ? (y/n) " answer rest
+echo -n "Add file $file to cvs ? (y/n) "
+read answer rest
 #if [ "$answer" != "y" ]; then echo $file; fi
-if [ "$answer" == "y" ]; then cvs add $file; fi
+if [ "$answer" = "y" ]; then cvs add $file; fi
 }
 
 
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to