summaryrefslogtreecommitdiffstats
path: root/release_app.rb
diff options
context:
space:
mode:
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`