summaryrefslogtreecommitdiffstats
path: root/release_app.rb
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-16 13:50:19 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-16 13:50:19 -0600
commitc954cd41d38d75615d182ca8649fb4320148bdb3 (patch)
tree125eb6216c2d08800783cf36d87013b4df8d8b3e /release_app.rb
parent3fe5b9df0c463a3e9508242ab01f4c0242cf988b (diff)
downloadtdeedu-c954cd41d38d75615d182ca8649fb4320148bdb3.tar.gz
tdeedu-c954cd41d38d75615d182ca8649fb4320148bdb3.zip
Additional renaming of kde to tde
Diffstat (limited to 'release_app.rb')
-rwxr-xr-xrelease_app.rb30
1 files changed, 15 insertions, 15 deletions
diff --git a/release_app.rb b/release_app.rb
index 6b4518f5..6d9315c3 100755
--- a/release_app.rb
+++ b/release_app.rb
@@ -12,7 +12,7 @@ require 'getoptlong'
opts = GetoptLong.new(
[ "--noi18n", "-i", GetoptLong::NO_ARGUMENT ],
[ "--nogpg", "-g", GetoptLong::NO_ARGUMENT ],
- [ "--libkdeedu", "-l", GetoptLong::NO_ARGUMENT ],
+ [ "--libtdeedu", "-l", GetoptLong::NO_ARGUMENT ],
[ "--widgets", "-w", GetoptLong::NO_ARGUMENT ],
[ "--appname", "-a", GetoptLong::REQUIRED_ARGUMENT ],
[ "--help", "-h", GetoptLong::NO_ARGUMENT ]
@@ -20,7 +20,7 @@ opts = GetoptLong.new(
doi18n = "yes"
dogpg = "yes"
-packlibkdeedu = "no"
+packlibtdeedu = "no"
packwidgets = "no"
name = ""
@@ -30,8 +30,8 @@ opts.each do |opt, arg|
doi18n = "no"
elsif opt == "--nogpg"
dogpg = "no"
- elsif opt == "--libkdeedu"
- packlibkdeedu = "yes"
+ elsif opt == "--libtdeedu"
+ packlibtdeedu = "yes"
elsif opt == "--widgets"
packwidgets = "yes"
elsif opt == "--appname"
@@ -41,7 +41,7 @@ opts.each do |opt, arg|
Optional:\n
--noi18n to disable the packaging of translations and documentation\n
--nogpg to disable signing with GnuPG\n
- --libkdeedu to enable packing libkdeedu\n
+ --libtdeedu to enable packing libtdeedu\n
--widgets to enable packing the KDEEDU-Widgets"
exit()
end
@@ -80,16 +80,16 @@ ENV["UNSERMAKE"] = "no"
Dir.mkdir( folder )
Dir.chdir( folder )
-if packlibkdeedu == "yes"
- svn( "co -N", "/trunk/KDE/kdeedu/" )
- Dir.chdir( "kdeedu")
- puts "Checking out libkdeedu".center(40, " - ")
- `svn up libkdeedu`
+if packlibtdeedu == "yes"
+ svn( "co -N", "/trunk/KDE/tdeedu/" )
+ Dir.chdir( "tdeedu")
+ puts "Checking out libtdeedu".center(40, " - ")
+ `svn up libtdeedu`
end
if packwidgets == "yes"
svn( "co -N", "/trunk/playground/edu/" )
Dir.chdir( "playground/edu")
- puts "Checking out the kdeedu-widgets".center(40, " - ")
+ puts "Checking out the tdeedu-widgets".center(40, " - ")
svn( "co", "/trunk/playground/edu/widgets/")
end
@@ -116,7 +116,7 @@ if doi18n == "yes"
lang.chomp!
`rm -rf ../doc/#{lang}`
`rm -rf #{name}`
- docdirname = "l10n/#{lang}/docs/kdeedu/#{name}"
+ docdirname = "l10n/#{lang}/docs/tdeedu/#{name}"
`svn co -q https://svn.kde.org/home/kde/trunk/#{docdirname} > /dev/null 2>&1`
next unless FileTest.exists?( "#{name}" )
`cp -R #{name}/ ../doc/#{lang}`
@@ -148,7 +148,7 @@ if doi18n == "yes"
for lang in i18nlangs
lang.chomp!
- pofilename = "l10n/#{lang}/messages/kdeedu/#{name}.po"
+ pofilename = "l10n/#{lang}/messages/tdeedu/#{name}.po"
`svn cat https://svn.kde.org/home/kde/trunk/#{pofilename} 2> /dev/null | tee l10n/#{name}.po`
next if FileTest.size( "l10n/#{name}.po" ) == 0
@@ -188,7 +188,7 @@ Dir.chdir( "#{name}" )
`rm -rf debian`
-Dir.chdir( ".." ) # kdeedu
+Dir.chdir( ".." ) # tdeedu
puts( "\n" )
`find | xargs touch`
@@ -206,7 +206,7 @@ puts "Compressing".center(40, " - ")
`mv * ..`
Dir.chdir( ".." )
`rm -rf kde-common`
-`rm -rf kdeedu` # after the moving of the directory this is empty
+`rm -rf tdeedu` # after the moving of the directory this is empty
Dir.chdir( ".." ) # root folder
`tar -cf #{folder}.tar #{folder}`
`bzip2 #{folder}.tar`