diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-12 01:36:19 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-12 01:36:19 +0000 |
commit | 99a2774ca6f1cab334de5d43fe36fc44ae889a4c (patch) | |
tree | eff34cf0762227f6baf2a93e8fef48d4bed2651c /scripts/kdesvn-build | |
parent | 1c104292188541106338d4940b0f04beeb4301a0 (diff) | |
download | tdesdk-99a2774ca6f1cab334de5d43fe36fc44ae889a4c.tar.gz tdesdk-99a2774ca6f1cab334de5d43fe36fc44ae889a4c.zip |
TQt4 convert kdesdk
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1236185 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'scripts/kdesvn-build')
-rwxr-xr-x | scripts/kdesvn-build | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/scripts/kdesvn-build b/scripts/kdesvn-build index fcd3970b..e247c3db 100755 --- a/scripts/kdesvn-build +++ b/scripts/kdesvn-build @@ -383,14 +383,14 @@ sub clr($) } # Subroutine which returns true if pretend mode is on. Uses the prototype -# feature so you don't need the parentheses to use it. +# feature so you don't need the tqparentheses to use it. sub pretending() { return get_option('global', 'pretend'); } # Subroutine which returns true if debug mode is on. Uses the prototype -# feature so you don't need the parentheses to use it. +# feature so you don't need the tqparentheses to use it. sub debugging() { return get_option('global', 'debug-level') <= DEBUG; @@ -1292,7 +1292,7 @@ sub safe_make (@) } # Convert the path to an absolute path since I've encountered a sudo that - # is apparently unable to guess. Maybe it's better that it doesn't guess + # is aptqparently unable to guess. Maybe it's better that it doesn't guess # anyways from a security point-of-view. $make = path_to_prog($make) unless pretending; @@ -2581,7 +2581,7 @@ sub safe_system(@) return 0; # Return true } -# Helper subroutine to create a directory, including any parent +# Helper subroutine to create a directory, including any tqparent # directories that may also need created. # Returns 0 on failure, non-zero on success sub super_mkdir @@ -2887,7 +2887,7 @@ sub create_admin_dir if (not -e $admindir) { - # Can't find kde-common, it's apparently not installed. + # Can't find kde-common, it's aptqparently not installed. if (not has_updated_kdecommon()) { # We haven't tried downloading it, now would be a good time. @@ -2990,7 +2990,7 @@ sub safe_lndir # Recursively descend from source dir using File::Find eval { - find ({ 'wanted' => $wanted, + tqfind ({ 'wanted' => $wanted, 'follow_fast' => 1, 'follow_skip' => 2}, $from); @@ -3361,7 +3361,7 @@ sub setup_build_system # Check for admin dir, if it doesn't exist, create a softlink if (not create_admin_dir($module)) { - warning "Unable to find /admin directory for y[$module], it probably"; + warning "Unable to tqfind /admin directory for y[$module], it probably"; warning "won't build."; # But continue anyways, because in this case I'm just not sure that it # won't work in the future. ;) @@ -3432,7 +3432,7 @@ sub update_module_environment my $path = join(':', "$qtdir/bin", "$kdedir/bin", get_option ($module, 'binpath')); my $libdir = join(':', "$qtdir/lib", "$kdedir/lib", get_option ($module, 'libpath')); - # Set up the children's environment. We use setenv since it + # Set up the tqchildren's environment. We use setenv since it # won't set an environment variable to nothing. (e.g, setting # QTDIR to a blank string might confuse Qt or KDE. @@ -3888,7 +3888,7 @@ sub handle_install # there. if (not create_admin_dir($module)) { - warning "Unable to find /admin directory for y[$module], it probably"; + warning "Unable to tqfind /admin directory for y[$module], it probably"; warning "won't install."; # But continue anyways, because in this case I'm just not sure that it # won't work in the future. ;) |