diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-02-12 18:09:55 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-02-12 18:09:55 +0000 |
commit | 630b7196d93786595546565329160ff26332704b (patch) | |
tree | 16f570c8f65cf789945d96ab7c4c7c9a46c10e2f /admin/detect_uds_hidden.diff | |
download | tdeio-locate-630b7196d93786595546565329160ff26332704b.tar.gz tdeio-locate-630b7196d93786595546565329160ff26332704b.zip |
Added KDE3 version of kio-locate
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kio-locate@1089224 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'admin/detect_uds_hidden.diff')
-rw-r--r-- | admin/detect_uds_hidden.diff | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/admin/detect_uds_hidden.diff b/admin/detect_uds_hidden.diff new file mode 100644 index 0000000..254de80 --- /dev/null +++ b/admin/detect_uds_hidden.diff @@ -0,0 +1,29 @@ +Only in kio-locate/admin/: .arch-ids +diff -ur bksys-1.5.1.pre4/admin/kde.py kio-locate/admin/kde.py +--- bksys-1.5.1.pre4/admin/kde.py 2005-08-16 23:16:32.000000000 +0200 ++++ kio-locate/admin/kde.py 2005-08-17 12:27:49.000000000 +0200 +@@ -242,6 +242,15 @@ + qtlibs=qtdir+"/lib"+libsuffix + env['QTLIBPATH']=qtlibs + ++ ## check if KDE has the UDS_HIDDEN patch ++ print "Checking KDE for UDS_HIDDEN : ", ++ if 'UDS_HIDDEN' in os.popen('cat ' + env['KDEINCLUDEPATH'] + '/kio/global.h').read(): ++ env['HAVE_UDS_HIDDEN']='1' ++ p('GREEN', 'yes') ++ else: ++ env['HAVE_UDS_HIDDEN']='0' ++ p('YELLOW', 'no') ++ + def generate(env): + """"Set up the qt and kde environment and builders - the moc part is difficult to understand """ + +@@ -304,7 +313,7 @@ + ('KDELOCALE', ''), ('KDEDOC', ''), ('KDEKCFG', ''), + ('KDEXDG', ''), ('KDEXDGDIR', ''), ('KDEMENU', ''), + ('KDEMIME', ''), ('KDEICONS', ''), ('KDESERV', ''), +- ('KDESERVTYPES', ''), ('KDEAPPS', ''), ++ ('KDESERVTYPES', ''), ('KDEAPPS', ''), ('HAVE_UDS_HIDDEN', ''), + ) + opts.Update(env) + |