[Kde-imaging] extragear/libs
Angelo Naselli
anaselli at linux.it
Wed May 10 22:38:56 CEST 2006
SVN commit 539525 by anaselli:
- changed release_xxx.rb scripts to manage RELEASE tag into package
- added prepare_xxx.rb scripts to change files for version information
CCMAIL: kde-imaging at kde.org
AM prepare_kipiplugins.rb
AM prepare_libkexif.rb
AM prepare_libkipi.rb
M +24 -3 release_kipiplugins.rb
M +24 -3 release_libkexif.rb
M +26 -4 release_libkipi.rb
** trunk/extragear/libs/prepare_kipiplugins.rb #property svn:executable
+ *
** trunk/extragear/libs/prepare_libkexif.rb #property svn:executable
+ *
** trunk/extragear/libs/prepare_libkipi.rb #property svn:executable
+ *
--- trunk/extragear/libs/release_kipiplugins.rb #539524:539525
@@ -9,10 +9,12 @@
name = "kipi-plugins"
egmodule = "libs"
-version = "0.1.0-rc1"
+version = "0.1.0-rc2"
docs = "yes"
+usesvnver = "yes"
-svnbase = "https://toma@svn.kde.org/home/kde"
+#svnbase = "https://toma@svn.kde.org/home/kde"
+svnbase = "svn://anonsvn.kde.org/home/kde"
svnroot = "#{svnbase}/trunk"
adminroot = "#{svnbase}/branches/KDE/3.5"
@@ -45,7 +47,13 @@
#----------------------------------------------------------------
-folder = name + "-" + version
+if (usesvnver != "yes")
+ folder = name + "-" + version
+else
+ t = Time.now
+ folder = name + "-" + version + "." + "0." + t.strftime("%Y%m%d")
+end
+
addPo = [name] + addPo
addDocs = [name] + addDocs
@@ -169,9 +177,21 @@
`rm -rf l10n`
puts "\n"
+#add a release marker
+`export LANGUAGE=en_US.UTF-8; export LC_ALL=en_US.UTF-8; svn info #{name} | egrep '^Last Changed (Rev|Date):' > RELEASE.rev`
+
# Remove SVN data folder
`find -name ".svn" | xargs rm -rf`
+# Remove release_XXX.rb files
+`/bin/rm -rf release_kipiplugins.rb`
+`/bin/rm -rf release_libkexif.rb`
+`/bin/rm -rf release_libkipi.rb`
+# Remove prepare_XXX.rb files
+`/bin/rm -rf prepare_kipiplugins.rb`
+`/bin/rm -rf prepare_libkexif.rb`
+`/bin/rm -rf prepare_libkipi.rb`
+
`/bin/mv * ..`
Dir.chdir( ".." ) # name-version
`rmdir #{egmodule}`
@@ -183,6 +203,7 @@
`/bin/mv -f ChangeLog ..`
`/bin/mv -f COPYING ..`
`/bin/mv -f INSTALL ..`
+`/bin/mv -f NEWS ..`
`/bin/mv -f README ..`
`/bin/mv -f TODO ..`
Dir.chdir( ".." )
--- trunk/extragear/libs/release_libkexif.rb #539524:539525
@@ -9,10 +9,12 @@
name = "libkexif"
egmodule = "libs"
-version = "0.2.2"
+version = "0.2.3"
docs = "no"
+usesvnver = "yes"
-svnbase = "https://toma@svn.kde.org/home/kde"
+#svnbase = "https://toma@svn.kde.org/home/kde"
+svnbase = "svn://anonsvn.kde.org/home/kde"
svnroot = "#{svnbase}/trunk"
adminroot = "#{svnbase}/branches/KDE/3.5"
@@ -21,7 +23,13 @@
#----------------------------------------------------------------
-folder = name + "-" + version
+if (usesvnver != "yes")
+ folder = name + "-" + version
+else
+ t = Time.now
+ folder = name + "-" + version + "." + "0." + t.strftime("%Y%m%d")
+end
+
addPo = [name] + addPo
addDocs = [name] + addDocs
@@ -145,9 +153,21 @@
`rm -rf l10n`
puts "\n"
+#add a release marker
+`export LANGUAGE=en_US.UTF-8; export LC_ALL=en_US.UTF-8; svn info #{name} | egrep '^Last Changed (Rev|Date):' > RELEASE.rev`
+
# Remove SVN data folder
`find -name ".svn" | xargs rm -rf`
+# Remove release_XXX.rb files
+`/bin/rm -rf release_kipiplugins.rb`
+`/bin/rm -rf release_libkexif.rb`
+`/bin/rm -rf release_libkipi.rb`
+# Remove prepare_XXX.rb files
+`/bin/rm -rf prepare_kipiplugins.rb`
+`/bin/rm -rf prepare_libkexif.rb`
+`/bin/rm -rf prepare_libkipi.rb`
+
`/bin/mv * ..`
Dir.chdir( ".." ) # name-version
`rmdir #{egmodule}`
@@ -159,6 +179,7 @@
`/bin/mv -f ChangeLog ..`
`/bin/mv -f COPYING ..`
`/bin/mv -f INSTALL ..`
+`/bin/mv -f NEWS ..`
`/bin/mv -f README ..`
`/bin/mv -f TODO ..`
Dir.chdir( ".." )
--- trunk/extragear/libs/release_libkipi.rb #539524:539525
@@ -9,10 +9,12 @@
name = "libkipi"
egmodule = "libs"
-version = "0.1.2"
+version = "0.1.3"
docs = "no"
+usesvnver = "yes"
-svnbase = "https://toma@svn.kde.org/home/kde"
+#svnbase = "https://toma@svn.kde.org/home/kde"
+svnbase = "svn://anonsvn.kde.org/home/kde"
svnroot = "#{svnbase}/trunk"
adminroot = "#{svnbase}/branches/KDE/3.5"
@@ -21,7 +23,13 @@
#----------------------------------------------------------------
-folder = name + "-" + version
+if (usesvnver != "yes")
+ folder = name + "-" + version
+else
+ t = Time.now
+ folder = name + "-" + version + "." + "0." + t.strftime("%Y%m%d")
+end
+
addPo = [name] + addPo
addDocs = [name] + addDocs
@@ -34,7 +42,8 @@
`rm -rf #{folder} 2> /dev/null`
`rm -rf folder.tar.bz2 2> /dev/null`
-Dir.mkdir( folder )
+# Dir.mkdir( folder )
+Dir.mkdir( "#{folder}" )
Dir.chdir( folder )
`svn co -N #{svnroot}/extragear/#{egmodule}`
@@ -145,9 +154,21 @@
`rm -rf l10n`
puts "\n"
+#add a release marker
+`export LANGUAGE=en_US.UTF-8; export LC_ALL=en_US.UTF-8; svn info #{name} | egrep '^Last Changed (Rev|Date):' > RELEASE.rev`
+
# Remove SVN data folder
`find -name ".svn" | xargs rm -rf`
+# Remove release_XXX.rb files
+`/bin/rm -rf release_kipiplugins.rb`
+`/bin/rm -rf release_libkexif.rb`
+`/bin/rm -rf release_libkipi.rb`
+# Remove prepare_XXX.rb files
+`/bin/rm -rf prepare_kipiplugins.rb`
+`/bin/rm -rf prepare_libkexif.rb`
+`/bin/rm -rf prepare_libkipi.rb`
+
`/bin/mv * ..`
Dir.chdir( ".." ) # name-version
`rmdir #{egmodule}`
@@ -159,6 +180,7 @@
`/bin/mv -f ChangeLog ..`
`/bin/mv -f COPYING ..`
`/bin/mv -f INSTALL ..`
+`/bin/mv -f NEWS ..`
`/bin/mv -f README ..`
`/bin/mv -f TODO ..`
Dir.chdir( ".." )
More information about the Kde-imaging
mailing list