From e738fee8847c1f606df7b338a589cc8c0539a521 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 8 Dec 2011 17:44:23 -0600 Subject: [PATCH] Rename additional KDE strings --- doc/scripts/tdesvn-build/index.docbook | 14 +++++++------- scripts/tdesvn-build | 24 ++++++++++++------------ scripts/tdesvn-buildrc-sample | 2 +- scripts/tdesvn-buildrc.xml | 2 +- 4 files changed, 21 insertions(+), 21 deletions(-) diff --git a/doc/scripts/tdesvn-build/index.docbook b/doc/scripts/tdesvn-build/index.docbook index e3026fcc..c14eccb4 100644 --- a/doc/scripts/tdesvn-build/index.docbook +++ b/doc/scripts/tdesvn-build/index.docbook @@ -189,12 +189,12 @@ a mirror close to you. -Pay close attention to the kdedir and qtdir global variables, as the first sets +Pay close attention to the tdedir and qtdir global variables, as the first sets where your &kde; build is going to be installed, (by default to ~/kde), and the second where (and if) your qt library is going to be built and installed, (by default to ~/tdesvn/build/qt-copy). You will need to know the -kdedir and qtdir location later, to set up the environment variables +tdedir and qtdir location later, to set up the environment variables that are necessary to run your new installation. Check if the listed modules are in fact the modules you want to build. The default options from the tdesvn-buildrc-sample file @@ -254,7 +254,7 @@ Open or create the .bash_profile file in the home directory and add to the end of the file: -TDEDIR=(path to kdedir) +TDEDIR=(path to tdedir) TDEDIRS=$TDEDIR PATH=$TDEDIR/bin:$QTDIR/bin:$PATH LD_LIBRARY_PATH=$TDEDIR/lib:$LD_LIBRARY_PATH @@ -265,7 +265,7 @@ If you are building the qt-copy module, add instead: QTDIR=(path to qtdir) -TDEDIR=(path to kdedir) +TDEDIR=(path to tdedir) TDEDIRS=$TDEDIR PATH=$TDEDIR/bin:$QTDIR/bin:$PATH MANPATH=$QTDIR/doc/man:$MANPATH @@ -557,7 +557,7 @@ authors using the address you can find above. do-not-compile, to mark directories to skip building. inst-apps, to only build and install some directories. install-after-build, to avoid installing after the build process. -kdedir, to set the directory to install KDE to. +tdedir, to set the directory to install KDE to. libpath, to set the LD_LIBRARY_PATH variable. make-install-prefix, to run a helper program (like sudo) during make install. make-options, to pass options to the make program. @@ -814,8 +814,8 @@ set this option to 0 in the configuration file. You can also use the - -kdedir + +tdedir Can't be overridden This option sets the directory that &kde; will be installed to after it is built. It defaults to ~/kde. If you change this to a directory diff --git a/scripts/tdesvn-build b/scripts/tdesvn-build index 99911ece..73951a0f 100755 --- a/scripts/tdesvn-build +++ b/scripts/tdesvn-build @@ -118,7 +118,7 @@ Allow you to run the script with a lower priority. The default value is =item B<--prefix=/kde/path> -This option is a shortcut to change the setting for kdedir from the +This option is a shortcut to change the setting for tdedir from the command line. It implies B<--reconfigure>. =item B<--color> @@ -300,7 +300,7 @@ my %package_opts = ( "email-on-compile-error" => "", "install-after-build" => "1", # Default to true "inst-apps" => "", - "kdedir" => "$ENV{HOME}/kde", + "tdedir" => "$ENV{HOME}/kde", "libpath" => "", "log-dir" => "log", "make-install-prefix" => "", # Some people need sudo @@ -786,7 +786,7 @@ sub get_option my $option = shift; my $global_opts = $package_opts{'global'}; my $defaultQtCopyArgs = '-qt-gif -plugin-imgfmt-mng -thread -no-exceptions -debug -dlopen-opengl -plugin-sql-sqlite'; - my @lockedOpts = qw(source-dir svn-server qtdir libpath binpath kdedir + my @lockedOpts = qw(source-dir svn-server qtdir libpath binpath tdedir pretend disable-agent-check); # These options can't override globals @@ -1677,7 +1677,7 @@ sub initialize_environment my $svnserver = get_option ('global', 'svn-server'); - my $pc_path = get_option('global', 'kdedir') . "/lib/pkgconfig"; + my $pc_path = get_option('global', 'tdedir') . "/lib/pkgconfig"; $pc_path .= ":" . $ENV{'PKG_CONFIG_PATH'} if ( exists $ENV{'PKG_CONFIG_PATH'} ); $ENV{'PKG_CONFIG_PATH'} = $pc_path; @@ -1932,7 +1932,7 @@ Options: --nice= Allows you to run the script with a lower priority The default value is 10 (lower priority by 10 steps). --prefix=/kde/path This option is a shortcut to change the setting for - kdedir from the command line. It implies + tdedir from the command line. It implies --reconfigure. --resume Tries to resume the make process from the last time @@ -2075,7 +2075,7 @@ DONE exit 8; } - set_option('global', '#kdedir', $prefix); + set_option('global', '#tdedir', $prefix); set_option('global', '#reconfigure', 1); last SWITCH; @@ -2798,10 +2798,10 @@ sub safe_configure if ($module ne 'qt-copy') { - my $kdedir = get_option ('global', 'kdedir'); + my $tdedir = get_option ('global', 'tdedir'); my $prefix = get_option ($module, 'prefix'); - $prefix = $kdedir unless $prefix; + $prefix = $tdedir unless $prefix; push @commands, "CXXFLAGS=$cxxflags" if $cxxflags; push @commands, "--prefix=$prefix"; @@ -3427,10 +3427,10 @@ sub setup_build_system sub update_module_environment { my $module = shift; - my $kdedir = get_option ($module, 'kdedir'); + my $tdedir = get_option ($module, 'tdedir'); my $qtdir = get_option ($module, 'qtdir'); - my $path = join(':', "$qtdir/bin", "$kdedir/bin", get_option ($module, 'binpath')); - my $libdir = join(':', "$qtdir/lib", "$kdedir/lib", get_option ($module, 'libpath')); + my $path = join(':', "$qtdir/bin", "$tdedir/bin", get_option ($module, 'binpath')); + my $libdir = join(':', "$qtdir/lib", "$tdedir/lib", get_option ($module, 'libpath')); # Set up the tqchildren's environment. We use setenv since it # won't set an environment variable to nothing. (e.g, setting @@ -3461,7 +3461,7 @@ sub update_module_environment setenv ('LD_LIBRARY_PATH', $libdir); setenv ('PATH', $path); - setenv ('TDEDIR', $kdedir); + setenv ('TDEDIR', $tdedir); setenv ('QTDIR', $qtdir); # Qt has several defines of its own. Special case qt-copy for this diff --git a/scripts/tdesvn-buildrc-sample b/scripts/tdesvn-buildrc-sample index f39ae662..c54bb18f 100644 --- a/scripts/tdesvn-buildrc-sample +++ b/scripts/tdesvn-buildrc-sample @@ -65,7 +65,7 @@ global # permissions. If you'd like, you can install and use the sudo program to # install KDE anywhere on your system, in conjunction with the # make-install-prefix option. -# kdedir ~/kde +# tdedir ~/kde # # You can overwrite the installation directory for a given module using # the per-module "prefix" option. Note that when doing this you need to diff --git a/scripts/tdesvn-buildrc.xml b/scripts/tdesvn-buildrc.xml index 547950d3..887e87f6 100644 --- a/scripts/tdesvn-buildrc.xml +++ b/scripts/tdesvn-buildrc.xml @@ -55,7 +55,7 @@ email-on-compile-error install-after-build inst-apps - kdedir + tdedir libpath log-dir make-install-prefix