[Uml-devel] branches/KDE/3.5/kdesdk/umbrello
Oliver Kellogg
okellogg at users.sourceforge.net
Wed Oct 25 06:12:11 UTC 2006
SVN commit 598950 by okellogg:
update to use KDE SVN
M +44 -35 make-umbrello-release.sh
--- branches/KDE/3.5/kdesdk/umbrello/make-umbrello-release.sh #598949:598950
@@ -1,40 +1,49 @@
-#!/bin/bash
-export CVSROOT=:ext:jriddell at cvs.kde.org:/home/kde
-export KDETAG=KDE_3_4_0_ALPHA_1
-export UMBRELLO_VERSION=1.4.0alpha1
-cvs export -l -r $KDETAG kdesdk
-cvs export -l -r $KDETAG kdesdk/doc
-cvs export -r $KDETAG kdesdk/doc/umbrello
-cvs export -r $KDETAG kdesdk/umbrello
-
-mv kdesdk umbrello-${UMBRELLO_VERSION}
-cd umbrello-${UMBRELLO_VERSION}
-cp -r ~/devel/kdesdk/admin .
+#!/bin/sh
+#
+# Make a release from the current branches/KDE/3.5/kdesdk/umbrello
+#
+# Run this script as follows:
+# . make-umbrello-release.sh VERSION [KDEUSER]
+# where VERSION is to be replaced by the version to release
+# and KDEUSER is to be replaced by your KDE SVN user name
+# (only required if you're not jriddell.)
+#
+# The release tarfile will be placed in /tmp/kdesdk.
+#
+version=$1
+user=$2
+if [ "X$user" = "X" ]; then
+ user=jriddell
+fi
+origdir=`pwd`
+udir=umbrello-$version
+cd /tmp
+svn co -N svn+ssh://${user}@svn.kde.org:/home/kde/branches/KDE/3.5/kdesdk
+cd kdesdk
+svn co svn+ssh://${user}@svn.kde.org:/home/kde/branches/KDE/3.5/kdesdk/umbrello $udir
+svn co svn+ssh://${user}@svn.kde.org:/home/kde/branches/KDE/3.5/kde-common/admin $udir/admin
+svn co svn+ssh://${user}@svn.kde.org:/home/kde/branches/KDE/3.5/kdesdk/doc/umbrello $udir/doc
+find . -type d -a -name .svn -exec /bin/rm -rf {} \;
+mv Makefile.cvs acinclude.m4 aclocal.m4 $udir/
+cd $udir
+mv configure.in.in configure.in.in.orig
+echo '#MIN_CONFIG' > configure.in.in
+echo 'KDE_ENABLE_HIDDEN_VISIBILITY' >> configure.in.in
+echo 'CXXFLAGS="$CXXFLAGS $KDE_DEFAULT_CXXFLAGS"' >> configure.in.in
+echo '' >> configure.in.in
+cat configure.in.in.orig >> configure.in.in
+rm configure.in.in.orig
+perl -p -e 's at umbrello/VERSION at VERSION@g' -i `find umbrello -name Makefile.am`
make -f Makefile.cvs
-
-cp umbrello/README .
-cp umbrello/AUTHORS .
-cp umbrello/INSTALL .
-cp umbrello/TODO .
-#KDE 3.4 cp umbrello/THANKS .
-rm kdesdk.lsm
-cp umbrello/uml.lsm .
-cp umbrello/ChangeLog .
-
cd ..
-tar cfvj umbrello-${UMBRELLO_VERSION}.tar.bz2 umbrello-${UMBRELLO_VERSION}
+tarfile=${udir}.tar.bz2
+tar cfvj $tarfile $udir
+mv $tarfile $origdir/
+cd $origdir
+# rm -rf /tmp/kdesdk
-#test
-rm -rf umbrello-${UMBRELLO_VERSION}
-tar xfvj umbrello-${UMBRELLO_VERSION}.tar.bz2
-cd umbrello-${UMBRELLO_VERSION}
-./configure --prefix=/usr
-make
-cd umbrello/umbrello
-./umbrello
-
-cd ../../..
-echo upload to upload.sf.net
-echo wput umbrello-${UMBRELLO_VERSION}.tar.bz2 ftp://upload.sf.net/incoming/
+echo upload $tarfile to upload.sf.net
+echo wput $tarfile ftp://upload.sf.net/incoming/
echo update uml.sf.net including uploading ChangeLog
echo advertise on freshmeat and kde-apps
+
More information about the umbrello-devel
mailing list