summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2013-09-15 20:29:47 +0200
committerSlávek Banko <slavek.banko@axis.cz>2013-09-15 20:29:47 +0200
commitf24915471ea396c53670df51b2affc4af74373bf (patch)
tree04e25e027d641ad6b82ba5828ae9a9c72924b1f1 /debian
parent1c7a831407fea1378682db5c21b06e792343be06 (diff)
downloadtde-packaging-f24915471ea396c53670df51b2affc4af74373bf.tar.gz
tde-packaging-f24915471ea396c53670df51b2affc4af74373bf.zip
Switch patch system from simple to quilt on Debian and Ubuntu
Diffstat (limited to 'debian')
-rw-r--r--debian/lenny/applications/abakus/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/applications/abakus/debian/control2
-rw-r--r--debian/lenny/applications/abakus/debian/patches/series (renamed from debian/lenny/applications/adept/debian/patches/.gitignore)0
-rwxr-xr-xdebian/lenny/applications/abakus/debian/rules2
-rw-r--r--debian/lenny/applications/adept/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/applications/adept/debian/control2
-rw-r--r--debian/lenny/applications/adept/debian/patches/series1
-rwxr-xr-xdebian/lenny/applications/adept/debian/rules2
-rw-r--r--debian/lenny/applications/amarok.cmake/debian/cdbs/debian-qt-kde.mk2
-rwxr-xr-xdebian/lenny/applications/amarok.cmake/debian/rules2
-rw-r--r--debian/lenny/applications/amarok/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/applications/basket/debian/control2
-rwxr-xr-xdebian/lenny/applications/basket/debian/rules6
-rw-r--r--debian/lenny/applications/bibletime/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/applications/bibletime/debian/patches/series (renamed from debian/lenny/applications/bibletime/debian/patches/.gitignore)0
-rwxr-xr-xdebian/lenny/applications/bibletime/debian/rules2
-rw-r--r--debian/lenny/applications/compizconfig-backend-tdeconfig/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/applications/compizconfig-backend-tdeconfig/debian/control2
-rw-r--r--debian/lenny/applications/compizconfig-backend-tdeconfig/debian/patches/series (renamed from debian/lenny/applications/compizconfig-backend-tdeconfig/debian/patches/.gitignore)0
-rwxr-xr-xdebian/lenny/applications/compizconfig-backend-tdeconfig/debian/rules2
-rw-r--r--debian/lenny/applications/digikam/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/applications/digikam/debian/control2
-rw-r--r--debian/lenny/applications/digikam/debian/patches/series (renamed from debian/lenny/applications/digikam/debian/patches/.gitignore)0
-rwxr-xr-xdebian/lenny/applications/digikam/debian/rules2
-rw-r--r--debian/lenny/applications/dolphin/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/applications/dolphin/debian/control2
-rw-r--r--debian/lenny/applications/dolphin/debian/patches/series (renamed from debian/lenny/applications/dolphin/debian/patches/.gitignore)0
-rwxr-xr-xdebian/lenny/applications/dolphin/debian/rules2
-rw-r--r--debian/lenny/applications/filelight-l10n/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/applications/filelight-l10n/debian/control2
-rw-r--r--debian/lenny/applications/filelight-l10n/debian/patches/series (renamed from debian/lenny/applications/fusion-icon/debian/patches/.gitignore)0
-rwxr-xr-xdebian/lenny/applications/filelight-l10n/debian/rules2
-rw-r--r--debian/lenny/applications/filelight/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/applications/fusion-icon/debian/control2
-rw-r--r--debian/lenny/applications/fusion-icon/debian/patches/series (renamed from debian/lenny/applications/gtk-qt-engine/debian/patches/.gitignore)0
-rwxr-xr-xdebian/lenny/applications/fusion-icon/debian/rules2
-rw-r--r--debian/lenny/applications/gtk-qt-engine/debian/control2
-rw-r--r--debian/lenny/applications/gtk-qt-engine/debian/patches/series (renamed from debian/lenny/applications/gwenview/debian/patches/.gitignore)0
-rwxr-xr-xdebian/lenny/applications/gtk-qt-engine/debian/rules2
-rw-r--r--debian/lenny/applications/gtk3-tqt-engine/debian/control2
-rw-r--r--debian/lenny/applications/gtk3-tqt-engine/debian/patches/series (renamed from debian/lenny/applications/k9copy/debian/patches/.gitignore)0
-rwxr-xr-xdebian/lenny/applications/gtk3-tqt-engine/debian/rules2
-rw-r--r--debian/lenny/applications/gwenview-i18n/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/applications/gwenview-i18n/debian/patches/series (renamed from debian/lenny/applications/kaffeine/debian/patches/.gitignore)0
-rwxr-xr-xdebian/lenny/applications/gwenview-i18n/debian/rules2
-rw-r--r--debian/lenny/applications/gwenview/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/applications/gwenview/debian/control2
-rw-r--r--debian/lenny/applications/gwenview/debian/patches/series (renamed from debian/lenny/applications/katapult/debian/patches/.gitignore)0
-rwxr-xr-xdebian/lenny/applications/gwenview/debian/rules2
-rw-r--r--debian/lenny/applications/k3b/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/applications/k3b/debian/control2
-rw-r--r--debian/lenny/applications/k3b/debian/patches/series1
-rwxr-xr-xdebian/lenny/applications/k3b/debian/rules2
-rw-r--r--debian/lenny/applications/k9copy/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/applications/k9copy/debian/control2
-rw-r--r--debian/lenny/applications/k9copy/debian/patches/series (renamed from debian/lenny/applications/kbfx/debian/patches/.gitignore)0
-rwxr-xr-xdebian/lenny/applications/k9copy/debian/rules2
-rw-r--r--debian/lenny/applications/kaffeine/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/applications/kaffeine/debian/control2
-rw-r--r--debian/lenny/applications/kaffeine/debian/patches/series (renamed from debian/lenny/applications/kbookreader/debian/patches/.gitignore)0
-rwxr-xr-xdebian/lenny/applications/kaffeine/debian/rules2
-rw-r--r--debian/lenny/applications/kasablanca/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/applications/kasablanca/debian/control2
-rw-r--r--debian/lenny/applications/kasablanca/debian/patches/series2
-rwxr-xr-xdebian/lenny/applications/kasablanca/debian/rules2
-rw-r--r--debian/lenny/applications/katapult/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/applications/katapult/debian/control2
-rw-r--r--debian/lenny/applications/katapult/debian/patches/series (renamed from debian/lenny/applications/kdirstat/debian/patches/.gitignore)0
-rwxr-xr-xdebian/lenny/applications/katapult/debian/rules2
-rw-r--r--debian/lenny/applications/kbarcode/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/applications/kbfx/debian/control2
-rw-r--r--debian/lenny/applications/kbfx/debian/patches/series (renamed from debian/lenny/applications/kdpkg/debian/patches/.gitignore)0
-rwxr-xr-xdebian/lenny/applications/kbfx/debian/rules2
-rw-r--r--debian/lenny/applications/kbibtex/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/applications/kbiff/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/applications/kbookreader/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/applications/kbookreader/debian/control2
-rw-r--r--debian/lenny/applications/kbookreader/debian/patches/series (renamed from debian/lenny/applications/kiosktool/debian/patches/.gitignore)0
-rwxr-xr-xdebian/lenny/applications/kbookreader/debian/rules2
-rw-r--r--debian/lenny/applications/kcmautostart/debian/control2
-rw-r--r--debian/lenny/applications/kcmautostart/debian/patches/series (renamed from debian/lenny/applications/kmplayer/debian/patches/.gitignore)0
-rwxr-xr-xdebian/lenny/applications/kcmautostart/debian/rules2
-rw-r--r--debian/lenny/applications/kcmldap/debian/control2
-rw-r--r--debian/lenny/applications/kcmldap/debian/patches/series (renamed from debian/lenny/applications/knemo/debian/patches/.gitignore)0
-rwxr-xr-xdebian/lenny/applications/kcmldap/debian/rules2
-rw-r--r--debian/lenny/applications/kcmldapcontroller/debian/control2
-rw-r--r--debian/lenny/applications/kcmldapcontroller/debian/patches/series (renamed from debian/lenny/applications/knetstats/debian/patches/.gitignore)0
-rwxr-xr-xdebian/lenny/applications/kcmldapcontroller/debian/rules2
-rw-r--r--debian/lenny/applications/kcmldapmanager/debian/control2
-rw-r--r--debian/lenny/applications/kcmldapmanager/debian/patches/series (renamed from debian/lenny/applications/koffice/debian/patches/.gitignore)0
-rwxr-xr-xdebian/lenny/applications/kcmldapmanager/debian/rules2
-rw-r--r--debian/lenny/applications/kcpuload/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/applications/kdbg/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/applications/kdbusnotification/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/applications/kdiff3/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/applications/kdirstat/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/applications/kdirstat/debian/control2
-rw-r--r--debian/lenny/applications/kdirstat/debian/patches/series (renamed from debian/lenny/applications/kpowersave.cmake/debian/patches/.gitignore)0
-rwxr-xr-xdebian/lenny/applications/kdirstat/debian/rules2
-rw-r--r--debian/lenny/applications/kdpkg/debian/control2
-rw-r--r--debian/lenny/applications/kdpkg/debian/patches/series (renamed from debian/lenny/applications/kpowersave/debian/patches/.gitignore)0
-rwxr-xr-xdebian/lenny/applications/kdpkg/debian/rules2
-rw-r--r--debian/lenny/applications/keep/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/applications/keep/debian/control2
-rw-r--r--debian/lenny/applications/keep/debian/patches/series1
-rwxr-xr-xdebian/lenny/applications/keep/debian/rules2
-rw-r--r--debian/lenny/applications/kerberostray/debian/control2
-rw-r--r--debian/lenny/applications/kerberostray/debian/patches/series (renamed from debian/lenny/applications/krusader/debian/patches/.gitignore)0
-rwxr-xr-xdebian/lenny/applications/kerberostray/debian/rules2
-rw-r--r--debian/lenny/applications/kerry/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/applications/kerry/debian/control2
-rw-r--r--debian/lenny/applications/kerry/debian/patches/series (renamed from debian/lenny/applications/ksystemlog/debian/patches/.gitignore)0
-rwxr-xr-xdebian/lenny/applications/kerry/debian/rules2
-rw-r--r--debian/lenny/applications/kftpgrabber/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/applications/kftpgrabber/debian/control2
-rw-r--r--debian/lenny/applications/kftpgrabber/debian/patches/series (renamed from debian/lenny/applications/ktorrent/debian/patches/.gitignore)0
-rwxr-xr-xdebian/lenny/applications/kftpgrabber/debian/rules2
-rw-r--r--debian/lenny/applications/kgtk-qt3/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/applications/kgtk-qt3/debian/control2
-rw-r--r--debian/lenny/applications/kgtk-qt3/debian/patches/series (renamed from debian/lenny/applications/kvirc/debian/patches/.gitignore)0
-rwxr-xr-xdebian/lenny/applications/kgtk-qt3/debian/rules2
-rw-r--r--debian/lenny/applications/kile/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/applications/kiosktool/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/applications/kiosktool/debian/control2
-rw-r--r--debian/lenny/applications/kiosktool/debian/patches/series (renamed from debian/lenny/applications/kvkbd/debian/patches/.gitignore)0
-rwxr-xr-xdebian/lenny/applications/kiosktool/debian/rules2
-rw-r--r--debian/lenny/applications/kkbswitch/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/applications/klcddimmer/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/applications/kmplayer/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/applications/kmplayer/debian/control2
-rw-r--r--debian/lenny/applications/kmplayer/debian/patches/series (renamed from debian/lenny/applications/piklab/debian/patches/.gitignore)0
-rwxr-xr-xdebian/lenny/applications/kmplayer/debian/rules2
-rw-r--r--debian/lenny/applications/kmymoney/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/applications/kmymoney/debian/control2
-rw-r--r--debian/lenny/applications/kmymoney/debian/patches/series (renamed from debian/lenny/applications/rosegarden/debian/patches/.gitignore)0
-rwxr-xr-xdebian/lenny/applications/kmymoney/debian/rules2
-rw-r--r--debian/lenny/applications/knemo/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/applications/knemo/debian/control2
-rw-r--r--debian/lenny/applications/knemo/debian/patches/series (renamed from debian/lenny/applications/tde-guidance/debian/patches/.gitignore)0
-rwxr-xr-xdebian/lenny/applications/knemo/debian/rules2
-rw-r--r--debian/lenny/applications/knetstats/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/applications/knetstats/debian/control2
-rw-r--r--debian/lenny/applications/knetstats/debian/patches/series (renamed from debian/lenny/applications/tde-style-qtcurve/debian/patches/.gitignore)0
-rwxr-xr-xdebian/lenny/applications/knetstats/debian/rules2
-rw-r--r--debian/lenny/applications/knetworkmanager.cmake/debian/cdbs/debian-qt-kde.mk2
-rwxr-xr-xdebian/lenny/applications/knetworkmanager.cmake/debian/rules2
-rw-r--r--debian/lenny/applications/knetworkmanager8/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/applications/knmap/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/applications/knmap/debian/control2
-rw-r--r--debian/lenny/applications/knmap/debian/patches/series (renamed from debian/lenny/applications/tde-systemsettings/debian/patches/.gitignore)0
-rwxr-xr-xdebian/lenny/applications/knmap/debian/rules2
-rw-r--r--debian/lenny/applications/koffice/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/applications/koffice/debian/control2
-rw-r--r--debian/lenny/applications/koffice/debian/patches/series (renamed from debian/lenny/applications/tdeio-apt/debian/patches/.gitignore)0
-rwxr-xr-xdebian/lenny/applications/koffice/debian/rules2
-rw-r--r--debian/lenny/applications/konversation/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/applications/kopete-otr/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/applications/kpilot/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/applications/kpowersave.cmake/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/applications/kpowersave.cmake/debian/control2
-rw-r--r--debian/lenny/applications/kpowersave.cmake/debian/patches/series (renamed from debian/lenny/applications/tdeio-umountwrapper/debian/patches/.gitignore)0
-rwxr-xr-xdebian/lenny/applications/kpowersave.cmake/debian/rules2
-rw-r--r--debian/lenny/applications/kpowersave/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/applications/kpowersave/debian/control2
-rw-r--r--debian/lenny/applications/kpowersave/debian/patches/series (renamed from debian/lenny/applications/tdepowersave/debian/patches/.gitignore)0
-rwxr-xr-xdebian/lenny/applications/kpowersave/debian/rules2
-rw-r--r--debian/lenny/applications/krecipes/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/applications/krename/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/applications/krename/debian/control2
-rw-r--r--debian/lenny/applications/krename/debian/patches/series (renamed from debian/lenny/applications/tdesudo/debian/patches/.gitignore)0
-rwxr-xr-xdebian/lenny/applications/krename/debian/rules2
-rw-r--r--debian/lenny/applications/krusader/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/applications/krusader/debian/control2
-rw-r--r--debian/lenny/applications/krusader/debian/patches/series (renamed from debian/lenny/applications/twin-style-crystal/debian/patches/.gitignore)0
-rwxr-xr-xdebian/lenny/applications/krusader/debian/rules2
-rw-r--r--debian/lenny/applications/ksensors/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/applications/ksensors/debian/control2
-rw-r--r--debian/lenny/applications/ksensors/debian/patches/series (renamed from debian/lenny/applications/wlassistant/debian/patches/.gitignore)0
-rwxr-xr-xdebian/lenny/applications/ksensors/debian/rules2
-rw-r--r--debian/lenny/applications/kshowmail/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/applications/kshutdown/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/applications/ksystemlog/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/applications/ksystemlog/debian/control2
-rw-r--r--debian/lenny/applications/ksystemlog/debian/patches/series (renamed from debian/lenny/libraries/libkipi/debian/patches/.gitignore)0
-rwxr-xr-xdebian/lenny/applications/ksystemlog/debian/rules2
-rw-r--r--debian/lenny/applications/ktorrent/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/applications/ktorrent/debian/control2
-rw-r--r--debian/lenny/applications/ktorrent/debian/patches/series (renamed from debian/lenny/tdegraphics/debian/patches/.gitignore)0
-rwxr-xr-xdebian/lenny/applications/ktorrent/debian/rules2
-rw-r--r--debian/lenny/applications/kuickshow/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/applications/kuickshow/debian/control2
-rw-r--r--debian/lenny/applications/kuickshow/debian/patches/series (renamed from debian/lenny/tdepim/debian/patches/.gitignore)0
-rwxr-xr-xdebian/lenny/applications/kuickshow/debian/rules2
-rw-r--r--debian/lenny/applications/kvirc/debian/control2
-rw-r--r--debian/lenny/applications/kvirc/debian/patches/series (renamed from debian/squeeze/applications/adept/debian/patches/.gitignore)0
-rwxr-xr-xdebian/lenny/applications/kvirc/debian/rules2
-rw-r--r--debian/lenny/applications/kvkbd/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/applications/kvkbd/debian/control2
-rw-r--r--debian/lenny/applications/kvkbd/debian/patches/series (renamed from debian/squeeze/applications/bibletime/debian/patches/.gitignore)0
-rwxr-xr-xdebian/lenny/applications/kvkbd/debian/rules2
-rw-r--r--debian/lenny/applications/mplayerthumbs/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/applications/piklab/debian/control2
-rw-r--r--debian/lenny/applications/piklab/debian/patches/series (renamed from debian/squeeze/applications/compizconfig-backend-tdeconfig/debian/patches/.gitignore)0
-rwxr-xr-xdebian/lenny/applications/piklab/debian/rules9
-rw-r--r--debian/lenny/applications/qt4-tqt-theme-engine/debian/control2
-rw-r--r--debian/lenny/applications/qt4-tqt-theme-engine/debian/patches/series (renamed from debian/squeeze/applications/digikam/debian/patches/.gitignore)0
-rwxr-xr-xdebian/lenny/applications/qt4-tqt-theme-engine/debian/rules2
-rw-r--r--debian/lenny/applications/rosegarden/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/applications/rosegarden/debian/control2
-rw-r--r--debian/lenny/applications/rosegarden/debian/patches/series (renamed from debian/squeeze/applications/dolphin/debian/patches/.gitignore)0
-rwxr-xr-xdebian/lenny/applications/rosegarden/debian/rules2
-rw-r--r--debian/lenny/applications/smb4k/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/applications/soundkonverter/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/applications/tde-guidance/debian/control2
-rw-r--r--debian/lenny/applications/tde-guidance/debian/patches/series (renamed from debian/squeeze/applications/fusion-icon/debian/patches/.gitignore)0
-rwxr-xr-xdebian/lenny/applications/tde-guidance/debian/rules2
-rw-r--r--debian/lenny/applications/tde-style-qtcurve/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/applications/tde-style-qtcurve/debian/control2
-rw-r--r--debian/lenny/applications/tde-style-qtcurve/debian/patches/series (renamed from debian/squeeze/applications/gtk-qt-engine/debian/patches/.gitignore)0
-rwxr-xr-xdebian/lenny/applications/tde-style-qtcurve/debian/rules2
-rw-r--r--debian/lenny/applications/tde-systemsettings/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/applications/tde-systemsettings/debian/control2
-rw-r--r--debian/lenny/applications/tde-systemsettings/debian/patches/series (renamed from debian/squeeze/applications/gwenview/debian/patches/.gitignore)0
-rwxr-xr-xdebian/lenny/applications/tde-systemsettings/debian/rules2
-rw-r--r--debian/lenny/applications/tdeio-apt/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/applications/tdeio-apt/debian/control2
-rw-r--r--debian/lenny/applications/tdeio-apt/debian/patches/series (renamed from debian/squeeze/applications/k9copy/debian/patches/.gitignore)0
-rwxr-xr-xdebian/lenny/applications/tdeio-apt/debian/rules2
-rw-r--r--debian/lenny/applications/tdeio-ftps/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/applications/tdeio-locate/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/applications/tdeio-locate/debian/control2
-rw-r--r--debian/lenny/applications/tdeio-locate/debian/patches/series (renamed from debian/squeeze/applications/kaffeine/debian/patches/.gitignore)0
-rwxr-xr-xdebian/lenny/applications/tdeio-locate/debian/rules2
-rw-r--r--debian/lenny/applications/tdeio-umountwrapper/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/applications/tdeio-umountwrapper/debian/control2
-rw-r--r--debian/lenny/applications/tdeio-umountwrapper/debian/patches/series (renamed from debian/squeeze/applications/katapult/debian/patches/.gitignore)0
-rwxr-xr-xdebian/lenny/applications/tdeio-umountwrapper/debian/rules2
-rw-r--r--debian/lenny/applications/tdenetworkmanager/debian/cdbs/debian-qt-kde.mk2
-rwxr-xr-xdebian/lenny/applications/tdenetworkmanager/debian/rules2
-rw-r--r--debian/lenny/applications/tdepowersave/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/applications/tdepowersave/debian/control2
-rw-r--r--debian/lenny/applications/tdepowersave/debian/patches/series (renamed from debian/squeeze/applications/kbfx/debian/patches/.gitignore)0
-rwxr-xr-xdebian/lenny/applications/tdepowersave/debian/rules2
-rw-r--r--debian/lenny/applications/tdesudo/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/applications/tdesudo/debian/control2
-rw-r--r--debian/lenny/applications/tdesudo/debian/patches/series (renamed from debian/squeeze/applications/kbookreader/debian/patches/.gitignore)0
-rwxr-xr-xdebian/lenny/applications/tdesudo/debian/rules2
-rw-r--r--debian/lenny/applications/tdesvn/debian/cdbs/debian-qt-kde.mk2
-rwxr-xr-xdebian/lenny/applications/tdesvn/debian/rules2
-rw-r--r--debian/lenny/applications/tdmtheme/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/applications/tork/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/applications/twin-style-crystal/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/applications/twin-style-crystal/debian/control2
-rw-r--r--debian/lenny/applications/twin-style-crystal/debian/patches/series (renamed from debian/squeeze/applications/kdirstat/debian/patches/.gitignore)0
-rwxr-xr-xdebian/lenny/applications/twin-style-crystal/debian/rules2
-rw-r--r--debian/lenny/applications/wlassistant/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/applications/wlassistant/debian/control2
-rw-r--r--debian/lenny/applications/wlassistant/debian/patches/series (renamed from debian/squeeze/applications/kdpkg/debian/patches/.gitignore)0
-rwxr-xr-xdebian/lenny/applications/wlassistant/debian/rules2
-rw-r--r--debian/lenny/applications/yakuake/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/dependencies/arts/debian/control2
-rw-r--r--debian/lenny/dependencies/arts/debian/patches/series1
-rwxr-xr-xdebian/lenny/dependencies/arts/debian/rules2
-rw-r--r--debian/lenny/dependencies/dbus-1-tqt/debian/control2
-rw-r--r--debian/lenny/dependencies/dbus-1-tqt/debian/patches/series (renamed from debian/squeeze/applications/kiosktool/debian/patches/.gitignore)0
-rwxr-xr-xdebian/lenny/dependencies/dbus-1-tqt/debian/rules2
-rw-r--r--debian/lenny/dependencies/dbus-tqt/debian/control2
-rw-r--r--debian/lenny/dependencies/dbus-tqt/debian/patches/series (renamed from debian/squeeze/applications/kmplayer/debian/patches/.gitignore)0
-rwxr-xr-xdebian/lenny/dependencies/dbus-tqt/debian/rules2
-rw-r--r--debian/lenny/dependencies/libart-lgpl/debian/control2
-rw-r--r--debian/lenny/dependencies/libart-lgpl/debian/patches/series (renamed from debian/squeeze/applications/knemo/debian/patches/.gitignore)0
-rwxr-xr-xdebian/lenny/dependencies/libart-lgpl/debian/rules2
-rw-r--r--debian/lenny/dependencies/libcaldav/debian/control2
-rw-r--r--debian/lenny/dependencies/libcaldav/debian/patches/series (renamed from debian/squeeze/applications/knetstats/debian/patches/.gitignore)0
-rwxr-xr-xdebian/lenny/dependencies/libcaldav/debian/rules6
-rw-r--r--debian/lenny/dependencies/libcarddav/debian/control2
-rw-r--r--debian/lenny/dependencies/libcarddav/debian/patches/series (renamed from debian/squeeze/applications/koffice/debian/patches/.gitignore)0
-rwxr-xr-xdebian/lenny/dependencies/libcarddav/debian/rules6
-rw-r--r--debian/lenny/dependencies/python-tqt/debian/patches/series2
-rw-r--r--debian/lenny/dependencies/qt3/debian/control2
-rwxr-xr-xdebian/lenny/dependencies/qt3/debian/rules8
-rw-r--r--debian/lenny/dependencies/sip4-tqt/debian/patches/series4
-rw-r--r--debian/lenny/dependencies/sip4-tqt/debian/patches/siputils_objdir_module_fix.diff10
-rw-r--r--debian/lenny/dependencies/tqt3/debian/control2
-rwxr-xr-xdebian/lenny/dependencies/tqt3/debian/rules8
-rw-r--r--debian/lenny/dependencies/tqtinterface/debian/control2
-rw-r--r--debian/lenny/dependencies/tqtinterface/debian/patches/series (renamed from debian/squeeze/applications/kpowersave.cmake/debian/patches/.gitignore)0
-rwxr-xr-xdebian/lenny/dependencies/tqtinterface/debian/rules2
-rw-r--r--debian/lenny/libraries/kipi-plugins/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/libraries/libkdcraw/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/libraries/libkexiv2/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/libraries/libkipi/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/libraries/libkipi/debian/control2
-rw-r--r--debian/lenny/libraries/libkipi/debian/patches/series (renamed from debian/squeeze/applications/kpowersave/debian/patches/.gitignore)0
-rwxr-xr-xdebian/lenny/libraries/libkipi/debian/rules2
-rw-r--r--debian/lenny/libraries/libtdeldap/debian/control2
-rw-r--r--debian/lenny/libraries/libtdeldap/debian/patches/series (renamed from debian/squeeze/applications/krusader/debian/patches/.gitignore)0
-rwxr-xr-xdebian/lenny/libraries/libtdeldap/debian/rules2
-rw-r--r--debian/lenny/tdeaccessibility/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/tdeaccessibility/debian/control2
-rw-r--r--debian/lenny/tdeaccessibility/debian/patches/series3
-rwxr-xr-xdebian/lenny/tdeaccessibility/debian/rules2
-rw-r--r--debian/lenny/tdeaddons/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/tdeaddons/debian/control2
-rw-r--r--debian/lenny/tdeaddons/debian/patches/series3
-rwxr-xr-xdebian/lenny/tdeaddons/debian/rules2
-rw-r--r--debian/lenny/tdeadmin/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/tdeadmin/debian/control2
-rw-r--r--debian/lenny/tdeadmin/debian/patches/series3
-rwxr-xr-xdebian/lenny/tdeadmin/debian/rules2
-rw-r--r--debian/lenny/tdeartwork/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/tdeartwork/debian/control2
-rw-r--r--debian/lenny/tdeartwork/debian/patches/series (renamed from debian/squeeze/applications/ksystemlog/debian/patches/.gitignore)0
-rwxr-xr-xdebian/lenny/tdeartwork/debian/rules2
-rw-r--r--debian/lenny/tdebase/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/tdebase/debian/control2
-rw-r--r--debian/lenny/tdebase/debian/patches/series2
-rwxr-xr-xdebian/lenny/tdebase/debian/rules2
-rw-r--r--debian/lenny/tdebindings/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/tdeedu/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/tdeedu/debian/control2
-rw-r--r--debian/lenny/tdeedu/debian/patches/series3
-rwxr-xr-xdebian/lenny/tdeedu/debian/rules2
-rw-r--r--debian/lenny/tdegames/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/tdegames/debian/control2
-rw-r--r--debian/lenny/tdegames/debian/patches/series3
-rwxr-xr-xdebian/lenny/tdegames/debian/rules2
-rw-r--r--debian/lenny/tdegraphics/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/tdegraphics/debian/control2
-rw-r--r--debian/lenny/tdegraphics/debian/patches/series3
-rwxr-xr-xdebian/lenny/tdegraphics/debian/rules2
-rw-r--r--debian/lenny/tdelibs/debian/control2
-rw-r--r--debian/lenny/tdelibs/debian/patches/series (renamed from debian/squeeze/applications/ktorrent/debian/patches/.gitignore)0
-rwxr-xr-xdebian/lenny/tdelibs/debian/rules2
-rw-r--r--debian/lenny/tdemultimedia/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/tdemultimedia/debian/control2
-rw-r--r--debian/lenny/tdemultimedia/debian/patches/series3
-rwxr-xr-xdebian/lenny/tdemultimedia/debian/rules2
-rw-r--r--debian/lenny/tdenetwork/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/tdenetwork/debian/control2
-rw-r--r--debian/lenny/tdenetwork/debian/patches/series3
-rwxr-xr-xdebian/lenny/tdenetwork/debian/rules2
-rw-r--r--debian/lenny/tdepim/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/tdepim/debian/control2
-rw-r--r--debian/lenny/tdepim/debian/patches/series (renamed from debian/squeeze/applications/kvirc/debian/patches/.gitignore)0
-rwxr-xr-xdebian/lenny/tdepim/debian/rules2
-rw-r--r--debian/lenny/tdesdk/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/tdesdk/debian/control2
-rw-r--r--debian/lenny/tdesdk/debian/patches/series3
-rwxr-xr-xdebian/lenny/tdesdk/debian/rules2
-rw-r--r--debian/lenny/tdetoys/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/tdetoys/debian/control2
-rw-r--r--debian/lenny/tdetoys/debian/patches/series3
-rwxr-xr-xdebian/lenny/tdetoys/debian/rules2
-rw-r--r--debian/lenny/tdeutils/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/tdeutils/debian/control2
-rw-r--r--debian/lenny/tdeutils/debian/patches/series5
-rwxr-xr-xdebian/lenny/tdeutils/debian/rules2
-rw-r--r--debian/lenny/tdevelop/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/tdevelop/debian/control2
-rw-r--r--debian/lenny/tdevelop/debian/patches/series3
-rwxr-xr-xdebian/lenny/tdevelop/debian/rules2
-rw-r--r--debian/lenny/tdewebdev/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/lenny/tdewebdev/debian/control2
-rw-r--r--debian/lenny/tdewebdev/debian/patches/series1
-rwxr-xr-xdebian/lenny/tdewebdev/debian/rules2
-rw-r--r--debian/squeeze/applications/abakus/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/applications/abakus/debian/control2
-rw-r--r--debian/squeeze/applications/abakus/debian/patches/series (renamed from debian/squeeze/applications/kvkbd/debian/patches/.gitignore)0
-rwxr-xr-xdebian/squeeze/applications/abakus/debian/rules2
-rw-r--r--debian/squeeze/applications/adept/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/applications/adept/debian/control2
-rw-r--r--debian/squeeze/applications/adept/debian/patches/series1
-rwxr-xr-xdebian/squeeze/applications/adept/debian/rules2
-rw-r--r--debian/squeeze/applications/amarok.cmake/debian/cdbs/debian-qt-kde.mk2
-rwxr-xr-xdebian/squeeze/applications/amarok.cmake/debian/rules2
-rw-r--r--debian/squeeze/applications/amarok/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/applications/basket/debian/control2
-rwxr-xr-xdebian/squeeze/applications/basket/debian/rules6
-rw-r--r--debian/squeeze/applications/bibletime/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/applications/bibletime/debian/patches/series (renamed from debian/squeeze/applications/piklab/debian/patches/.gitignore)0
-rwxr-xr-xdebian/squeeze/applications/bibletime/debian/rules2
-rw-r--r--debian/squeeze/applications/compizconfig-backend-tdeconfig/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/applications/compizconfig-backend-tdeconfig/debian/control2
-rw-r--r--debian/squeeze/applications/compizconfig-backend-tdeconfig/debian/patches/series (renamed from debian/squeeze/applications/rosegarden/debian/patches/.gitignore)0
-rwxr-xr-xdebian/squeeze/applications/compizconfig-backend-tdeconfig/debian/rules2
-rw-r--r--debian/squeeze/applications/digikam/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/applications/digikam/debian/control2
-rw-r--r--debian/squeeze/applications/digikam/debian/patches/series (renamed from debian/squeeze/applications/tde-guidance/debian/patches/.gitignore)0
-rwxr-xr-xdebian/squeeze/applications/digikam/debian/rules2
-rw-r--r--debian/squeeze/applications/dolphin/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/applications/dolphin/debian/control2
-rw-r--r--debian/squeeze/applications/dolphin/debian/patches/series (renamed from debian/squeeze/applications/tde-style-qtcurve/debian/patches/.gitignore)0
-rwxr-xr-xdebian/squeeze/applications/dolphin/debian/rules2
-rw-r--r--debian/squeeze/applications/filelight-l10n/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/applications/filelight-l10n/debian/control2
-rw-r--r--debian/squeeze/applications/filelight-l10n/debian/patches/series (renamed from debian/squeeze/applications/tde-systemsettings/debian/patches/.gitignore)0
-rwxr-xr-xdebian/squeeze/applications/filelight-l10n/debian/rules2
-rw-r--r--debian/squeeze/applications/filelight/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/applications/fusion-icon/debian/control2
-rw-r--r--debian/squeeze/applications/fusion-icon/debian/patches/series (renamed from debian/squeeze/applications/tdeio-apt/debian/patches/.gitignore)0
-rwxr-xr-xdebian/squeeze/applications/fusion-icon/debian/rules2
-rw-r--r--debian/squeeze/applications/gtk-qt-engine/debian/control2
-rw-r--r--debian/squeeze/applications/gtk-qt-engine/debian/patches/series (renamed from debian/squeeze/applications/tdeio-umountwrapper/debian/patches/.gitignore)0
-rwxr-xr-xdebian/squeeze/applications/gtk-qt-engine/debian/rules2
-rw-r--r--debian/squeeze/applications/gtk3-tqt-engine/debian/control2
-rw-r--r--debian/squeeze/applications/gtk3-tqt-engine/debian/patches/series (renamed from debian/squeeze/applications/tdepowersave/debian/patches/.gitignore)0
-rwxr-xr-xdebian/squeeze/applications/gtk3-tqt-engine/debian/rules2
-rw-r--r--debian/squeeze/applications/gwenview-i18n/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/applications/gwenview-i18n/debian/patches/series (renamed from debian/squeeze/applications/tdesudo/debian/patches/.gitignore)0
-rwxr-xr-xdebian/squeeze/applications/gwenview-i18n/debian/rules2
-rw-r--r--debian/squeeze/applications/gwenview/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/applications/gwenview/debian/control2
-rw-r--r--debian/squeeze/applications/gwenview/debian/patches/series (renamed from debian/squeeze/applications/twin-style-crystal/debian/patches/.gitignore)0
-rwxr-xr-xdebian/squeeze/applications/gwenview/debian/rules2
-rw-r--r--debian/squeeze/applications/k3b/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/applications/k3b/debian/control2
-rw-r--r--debian/squeeze/applications/k3b/debian/patches/series1
-rwxr-xr-xdebian/squeeze/applications/k3b/debian/rules2
-rw-r--r--debian/squeeze/applications/k9copy/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/applications/k9copy/debian/control2
-rw-r--r--debian/squeeze/applications/k9copy/debian/patches/series (renamed from debian/squeeze/applications/wlassistant/debian/patches/.gitignore)0
-rwxr-xr-xdebian/squeeze/applications/k9copy/debian/rules2
-rw-r--r--debian/squeeze/applications/kaffeine/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/applications/kaffeine/debian/control2
-rw-r--r--debian/squeeze/applications/kaffeine/debian/patches/series (renamed from debian/squeeze/libraries/libkipi/debian/patches/.gitignore)0
-rwxr-xr-xdebian/squeeze/applications/kaffeine/debian/rules2
-rw-r--r--debian/squeeze/applications/kasablanca/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/applications/kasablanca/debian/control2
-rw-r--r--debian/squeeze/applications/kasablanca/debian/patches/series2
-rwxr-xr-xdebian/squeeze/applications/kasablanca/debian/rules2
-rw-r--r--debian/squeeze/applications/katapult/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/applications/katapult/debian/control2
-rw-r--r--debian/squeeze/applications/katapult/debian/patches/series (renamed from debian/squeeze/tdegraphics/debian/patches/.gitignore)0
-rwxr-xr-xdebian/squeeze/applications/katapult/debian/rules2
-rw-r--r--debian/squeeze/applications/kbarcode/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/applications/kbfx/debian/control2
-rw-r--r--debian/squeeze/applications/kbfx/debian/patches/series (renamed from debian/squeeze/tdepim/debian/patches/.gitignore)0
-rwxr-xr-xdebian/squeeze/applications/kbfx/debian/rules2
-rw-r--r--debian/squeeze/applications/kbibtex/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/applications/kbiff/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/applications/kbookreader/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/applications/kbookreader/debian/control2
-rw-r--r--debian/squeeze/applications/kbookreader/debian/patches/series (renamed from debian/wheezy/applications/adept/debian/patches/.gitignore)0
-rwxr-xr-xdebian/squeeze/applications/kbookreader/debian/rules2
-rw-r--r--debian/squeeze/applications/kcmautostart/debian/control2
-rw-r--r--debian/squeeze/applications/kcmautostart/debian/patches/series (renamed from debian/wheezy/applications/bibletime/debian/patches/.gitignore)0
-rwxr-xr-xdebian/squeeze/applications/kcmautostart/debian/rules2
-rw-r--r--debian/squeeze/applications/kcmldap/debian/control2
-rw-r--r--debian/squeeze/applications/kcmldap/debian/patches/series (renamed from debian/wheezy/applications/compizconfig-backend-tdeconfig/debian/patches/.gitignore)0
-rwxr-xr-xdebian/squeeze/applications/kcmldap/debian/rules2
-rw-r--r--debian/squeeze/applications/kcmldapcontroller/debian/control2
-rw-r--r--debian/squeeze/applications/kcmldapcontroller/debian/patches/series (renamed from debian/wheezy/applications/digikam/debian/patches/.gitignore)0
-rwxr-xr-xdebian/squeeze/applications/kcmldapcontroller/debian/rules2
-rw-r--r--debian/squeeze/applications/kcmldapmanager/debian/control2
-rw-r--r--debian/squeeze/applications/kcmldapmanager/debian/patches/series (renamed from debian/wheezy/applications/dolphin/debian/patches/.gitignore)0
-rwxr-xr-xdebian/squeeze/applications/kcmldapmanager/debian/rules2
-rw-r--r--debian/squeeze/applications/kcpuload/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/applications/kdbg/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/applications/kdbusnotification/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/applications/kdiff3/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/applications/kdirstat/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/applications/kdirstat/debian/control2
-rw-r--r--debian/squeeze/applications/kdirstat/debian/patches/series (renamed from debian/wheezy/applications/fusion-icon/debian/patches/.gitignore)0
-rwxr-xr-xdebian/squeeze/applications/kdirstat/debian/rules2
-rw-r--r--debian/squeeze/applications/kdpkg/debian/control2
-rw-r--r--debian/squeeze/applications/kdpkg/debian/patches/series (renamed from debian/wheezy/applications/gtk-qt-engine/debian/patches/.gitignore)0
-rwxr-xr-xdebian/squeeze/applications/kdpkg/debian/rules2
-rw-r--r--debian/squeeze/applications/keep/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/applications/keep/debian/control2
-rw-r--r--debian/squeeze/applications/keep/debian/patches/series1
-rwxr-xr-xdebian/squeeze/applications/keep/debian/rules2
-rw-r--r--debian/squeeze/applications/kerberostray/debian/control2
-rw-r--r--debian/squeeze/applications/kerberostray/debian/patches/series (renamed from debian/wheezy/applications/gwenview/debian/patches/.gitignore)0
-rwxr-xr-xdebian/squeeze/applications/kerberostray/debian/rules2
-rw-r--r--debian/squeeze/applications/kerry/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/applications/kerry/debian/control2
-rw-r--r--debian/squeeze/applications/kerry/debian/patches/series (renamed from debian/wheezy/applications/k9copy/debian/patches/.gitignore)0
-rwxr-xr-xdebian/squeeze/applications/kerry/debian/rules2
-rw-r--r--debian/squeeze/applications/kftpgrabber/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/applications/kftpgrabber/debian/control2
-rw-r--r--debian/squeeze/applications/kftpgrabber/debian/patches/series (renamed from debian/wheezy/applications/kaffeine/debian/patches/.gitignore)0
-rwxr-xr-xdebian/squeeze/applications/kftpgrabber/debian/rules2
-rw-r--r--debian/squeeze/applications/kgtk-qt3/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/applications/kgtk-qt3/debian/control2
-rw-r--r--debian/squeeze/applications/kgtk-qt3/debian/patches/series (renamed from debian/wheezy/applications/katapult/debian/patches/.gitignore)0
-rwxr-xr-xdebian/squeeze/applications/kgtk-qt3/debian/rules2
-rw-r--r--debian/squeeze/applications/kile/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/applications/kiosktool/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/applications/kiosktool/debian/control2
-rw-r--r--debian/squeeze/applications/kiosktool/debian/patches/series (renamed from debian/wheezy/applications/kbfx/debian/patches/.gitignore)0
-rwxr-xr-xdebian/squeeze/applications/kiosktool/debian/rules2
-rw-r--r--debian/squeeze/applications/kkbswitch/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/applications/klcddimmer/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/applications/kmplayer/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/applications/kmplayer/debian/control2
-rw-r--r--debian/squeeze/applications/kmplayer/debian/patches/series (renamed from debian/wheezy/applications/kbookreader/debian/patches/.gitignore)0
-rwxr-xr-xdebian/squeeze/applications/kmplayer/debian/rules2
-rw-r--r--debian/squeeze/applications/kmymoney/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/applications/kmymoney/debian/control2
-rw-r--r--debian/squeeze/applications/kmymoney/debian/patches/series (renamed from debian/wheezy/applications/kdirstat/debian/patches/.gitignore)0
-rwxr-xr-xdebian/squeeze/applications/kmymoney/debian/rules2
-rw-r--r--debian/squeeze/applications/knemo/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/applications/knemo/debian/control2
-rw-r--r--debian/squeeze/applications/knemo/debian/patches/series (renamed from debian/wheezy/applications/kdpkg/debian/patches/.gitignore)0
-rwxr-xr-xdebian/squeeze/applications/knemo/debian/rules2
-rw-r--r--debian/squeeze/applications/knetstats/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/applications/knetstats/debian/control2
-rw-r--r--debian/squeeze/applications/knetstats/debian/patches/series (renamed from debian/wheezy/applications/kiosktool/debian/patches/.gitignore)0
-rwxr-xr-xdebian/squeeze/applications/knetstats/debian/rules2
-rw-r--r--debian/squeeze/applications/knetworkmanager.cmake/debian/cdbs/debian-qt-kde.mk2
-rwxr-xr-xdebian/squeeze/applications/knetworkmanager.cmake/debian/rules2
-rw-r--r--debian/squeeze/applications/knetworkmanager8/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/applications/knmap/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/applications/knmap/debian/control2
-rw-r--r--debian/squeeze/applications/knmap/debian/patches/series (renamed from debian/wheezy/applications/kmplayer/debian/patches/.gitignore)0
-rwxr-xr-xdebian/squeeze/applications/knmap/debian/rules2
-rw-r--r--debian/squeeze/applications/koffice/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/applications/koffice/debian/control2
-rw-r--r--debian/squeeze/applications/koffice/debian/patches/series (renamed from debian/wheezy/applications/knemo/debian/patches/.gitignore)0
-rwxr-xr-xdebian/squeeze/applications/koffice/debian/rules2
-rw-r--r--debian/squeeze/applications/konversation/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/applications/kopete-otr/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/applications/kpilot/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/applications/kpowersave.cmake/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/applications/kpowersave.cmake/debian/control2
-rw-r--r--debian/squeeze/applications/kpowersave.cmake/debian/patches/series (renamed from debian/wheezy/applications/knetstats/debian/patches/.gitignore)0
-rwxr-xr-xdebian/squeeze/applications/kpowersave.cmake/debian/rules2
-rw-r--r--debian/squeeze/applications/kpowersave/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/applications/kpowersave/debian/control2
-rw-r--r--debian/squeeze/applications/kpowersave/debian/patches/series (renamed from debian/wheezy/applications/koffice/debian/patches/.gitignore)0
-rwxr-xr-xdebian/squeeze/applications/kpowersave/debian/rules2
-rw-r--r--debian/squeeze/applications/krecipes/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/applications/krename/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/applications/krename/debian/control2
-rw-r--r--debian/squeeze/applications/krename/debian/patches/series (renamed from debian/wheezy/applications/kpowersave.cmake/debian/patches/.gitignore)0
-rwxr-xr-xdebian/squeeze/applications/krename/debian/rules2
-rw-r--r--debian/squeeze/applications/krusader/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/applications/krusader/debian/control2
-rw-r--r--debian/squeeze/applications/krusader/debian/patches/series (renamed from debian/wheezy/applications/kpowersave/debian/patches/.gitignore)0
-rwxr-xr-xdebian/squeeze/applications/krusader/debian/rules2
-rw-r--r--debian/squeeze/applications/ksensors/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/applications/ksensors/debian/control2
-rw-r--r--debian/squeeze/applications/ksensors/debian/patches/series (renamed from debian/wheezy/applications/krusader/debian/patches/.gitignore)0
-rwxr-xr-xdebian/squeeze/applications/ksensors/debian/rules2
-rw-r--r--debian/squeeze/applications/kshowmail/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/applications/kshutdown/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/applications/ksystemlog/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/applications/ksystemlog/debian/control2
-rw-r--r--debian/squeeze/applications/ksystemlog/debian/patches/series (renamed from debian/wheezy/applications/ksystemlog/debian/patches/.gitignore)0
-rwxr-xr-xdebian/squeeze/applications/ksystemlog/debian/rules2
-rw-r--r--debian/squeeze/applications/ktorrent/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/applications/ktorrent/debian/control2
-rw-r--r--debian/squeeze/applications/ktorrent/debian/patches/series (renamed from debian/wheezy/applications/ktorrent/debian/patches/.gitignore)0
-rwxr-xr-xdebian/squeeze/applications/ktorrent/debian/rules2
-rw-r--r--debian/squeeze/applications/kuickshow/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/applications/kuickshow/debian/control2
-rw-r--r--debian/squeeze/applications/kuickshow/debian/patches/series (renamed from debian/wheezy/applications/kvirc/debian/patches/.gitignore)0
-rwxr-xr-xdebian/squeeze/applications/kuickshow/debian/rules2
-rw-r--r--debian/squeeze/applications/kvirc/debian/control2
-rw-r--r--debian/squeeze/applications/kvirc/debian/patches/series (renamed from debian/wheezy/applications/kvkbd/debian/patches/.gitignore)0
-rwxr-xr-xdebian/squeeze/applications/kvirc/debian/rules2
-rw-r--r--debian/squeeze/applications/kvkbd/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/applications/kvkbd/debian/control2
-rw-r--r--debian/squeeze/applications/kvkbd/debian/patches/series (renamed from debian/wheezy/applications/piklab/debian/patches/.gitignore)0
-rwxr-xr-xdebian/squeeze/applications/kvkbd/debian/rules2
-rw-r--r--debian/squeeze/applications/mplayerthumbs/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/applications/piklab/debian/control2
-rw-r--r--debian/squeeze/applications/piklab/debian/patches/series (renamed from debian/wheezy/applications/rosegarden/debian/patches/.gitignore)0
-rwxr-xr-xdebian/squeeze/applications/piklab/debian/rules9
-rw-r--r--debian/squeeze/applications/qt4-tqt-theme-engine/debian/control2
-rw-r--r--debian/squeeze/applications/qt4-tqt-theme-engine/debian/patches/series (renamed from debian/wheezy/applications/tde-guidance/debian/patches/.gitignore)0
-rwxr-xr-xdebian/squeeze/applications/qt4-tqt-theme-engine/debian/rules2
-rw-r--r--debian/squeeze/applications/rosegarden/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/applications/rosegarden/debian/control2
-rw-r--r--debian/squeeze/applications/rosegarden/debian/patches/series (renamed from debian/wheezy/applications/tde-style-qtcurve/debian/patches/.gitignore)0
-rwxr-xr-xdebian/squeeze/applications/rosegarden/debian/rules2
-rw-r--r--debian/squeeze/applications/smb4k/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/applications/soundkonverter/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/applications/tde-guidance/debian/control2
-rw-r--r--debian/squeeze/applications/tde-guidance/debian/patches/series (renamed from debian/wheezy/applications/tde-systemsettings/debian/patches/.gitignore)0
-rwxr-xr-xdebian/squeeze/applications/tde-guidance/debian/rules2
-rw-r--r--debian/squeeze/applications/tde-style-qtcurve/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/applications/tde-style-qtcurve/debian/control2
-rw-r--r--debian/squeeze/applications/tde-style-qtcurve/debian/patches/series (renamed from debian/wheezy/applications/tdeio-apt/debian/patches/.gitignore)0
-rwxr-xr-xdebian/squeeze/applications/tde-style-qtcurve/debian/rules2
-rw-r--r--debian/squeeze/applications/tde-systemsettings/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/applications/tde-systemsettings/debian/control2
-rw-r--r--debian/squeeze/applications/tde-systemsettings/debian/patches/series (renamed from debian/wheezy/applications/tdeio-umountwrapper/debian/patches/.gitignore)0
-rwxr-xr-xdebian/squeeze/applications/tde-systemsettings/debian/rules2
-rw-r--r--debian/squeeze/applications/tdeio-apt/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/applications/tdeio-apt/debian/control2
-rw-r--r--debian/squeeze/applications/tdeio-apt/debian/patches/series (renamed from debian/wheezy/applications/tdepowersave/debian/patches/.gitignore)0
-rwxr-xr-xdebian/squeeze/applications/tdeio-apt/debian/rules2
-rw-r--r--debian/squeeze/applications/tdeio-ftps/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/applications/tdeio-locate/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/applications/tdeio-locate/debian/control2
-rw-r--r--debian/squeeze/applications/tdeio-locate/debian/patches/series (renamed from debian/wheezy/applications/tdesudo/debian/patches/.gitignore)0
-rwxr-xr-xdebian/squeeze/applications/tdeio-locate/debian/rules2
-rw-r--r--debian/squeeze/applications/tdeio-umountwrapper/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/applications/tdeio-umountwrapper/debian/control2
-rw-r--r--debian/squeeze/applications/tdeio-umountwrapper/debian/patches/series (renamed from debian/wheezy/applications/twin-style-crystal/debian/patches/.gitignore)0
-rwxr-xr-xdebian/squeeze/applications/tdeio-umountwrapper/debian/rules2
-rw-r--r--debian/squeeze/applications/tdenetworkmanager/debian/cdbs/debian-qt-kde.mk2
-rwxr-xr-xdebian/squeeze/applications/tdenetworkmanager/debian/rules2
-rw-r--r--debian/squeeze/applications/tdepowersave/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/applications/tdepowersave/debian/control2
-rw-r--r--debian/squeeze/applications/tdepowersave/debian/patches/series (renamed from debian/wheezy/applications/wlassistant/debian/patches/.gitignore)0
-rwxr-xr-xdebian/squeeze/applications/tdepowersave/debian/rules2
-rw-r--r--debian/squeeze/applications/tdesudo/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/applications/tdesudo/debian/control2
-rw-r--r--debian/squeeze/applications/tdesudo/debian/patches/series (renamed from debian/wheezy/libraries/libkipi/debian/patches/.gitignore)0
-rwxr-xr-xdebian/squeeze/applications/tdesudo/debian/rules2
-rw-r--r--debian/squeeze/applications/tdesvn/debian/cdbs/debian-qt-kde.mk2
-rwxr-xr-xdebian/squeeze/applications/tdesvn/debian/rules2
-rw-r--r--debian/squeeze/applications/tdmtheme/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/applications/tork/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/applications/twin-style-crystal/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/applications/twin-style-crystal/debian/control2
-rw-r--r--debian/squeeze/applications/twin-style-crystal/debian/patches/series (renamed from debian/wheezy/tdegraphics/debian/patches/.gitignore)0
-rwxr-xr-xdebian/squeeze/applications/twin-style-crystal/debian/rules2
-rw-r--r--debian/squeeze/applications/wlassistant/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/applications/wlassistant/debian/control2
-rw-r--r--debian/squeeze/applications/wlassistant/debian/patches/series (renamed from debian/wheezy/tdepim/debian/patches/.gitignore)0
-rwxr-xr-xdebian/squeeze/applications/wlassistant/debian/rules2
-rw-r--r--debian/squeeze/applications/yakuake/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/dependencies/arts/debian/control2
-rw-r--r--debian/squeeze/dependencies/arts/debian/patches/series1
-rwxr-xr-xdebian/squeeze/dependencies/arts/debian/rules2
-rw-r--r--debian/squeeze/dependencies/dbus-1-tqt/debian/control2
-rw-r--r--debian/squeeze/dependencies/dbus-1-tqt/debian/patches/series0
-rwxr-xr-xdebian/squeeze/dependencies/dbus-1-tqt/debian/rules2
-rw-r--r--debian/squeeze/dependencies/dbus-tqt/debian/control2
-rw-r--r--debian/squeeze/dependencies/dbus-tqt/debian/patches/series0
-rwxr-xr-xdebian/squeeze/dependencies/dbus-tqt/debian/rules2
-rw-r--r--debian/squeeze/dependencies/libart-lgpl/debian/control2
-rw-r--r--debian/squeeze/dependencies/libart-lgpl/debian/patches/series0
-rwxr-xr-xdebian/squeeze/dependencies/libart-lgpl/debian/rules2
-rw-r--r--debian/squeeze/dependencies/libcaldav/debian/control2
-rw-r--r--debian/squeeze/dependencies/libcaldav/debian/patches/series0
-rwxr-xr-xdebian/squeeze/dependencies/libcaldav/debian/rules6
-rw-r--r--debian/squeeze/dependencies/libcarddav/debian/control2
-rw-r--r--debian/squeeze/dependencies/libcarddav/debian/patches/series0
-rwxr-xr-xdebian/squeeze/dependencies/libcarddav/debian/rules6
-rw-r--r--debian/squeeze/dependencies/python-tqt/debian/patches/series2
-rw-r--r--debian/squeeze/dependencies/qt3/debian/control2
-rwxr-xr-xdebian/squeeze/dependencies/qt3/debian/rules8
-rw-r--r--debian/squeeze/dependencies/sip4-tqt/debian/patches/series4
-rw-r--r--debian/squeeze/dependencies/sip4-tqt/debian/patches/siputils_objdir_module_fix.diff10
-rw-r--r--debian/squeeze/dependencies/tqt3/debian/control2
-rwxr-xr-xdebian/squeeze/dependencies/tqt3/debian/rules8
-rw-r--r--debian/squeeze/dependencies/tqtinterface/debian/control2
-rw-r--r--debian/squeeze/dependencies/tqtinterface/debian/patches/series0
-rwxr-xr-xdebian/squeeze/dependencies/tqtinterface/debian/rules2
-rw-r--r--debian/squeeze/libraries/kipi-plugins/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/libraries/libkdcraw/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/libraries/libkexiv2/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/libraries/libkipi/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/libraries/libkipi/debian/control2
-rw-r--r--debian/squeeze/libraries/libkipi/debian/patches/series0
-rwxr-xr-xdebian/squeeze/libraries/libkipi/debian/rules2
-rw-r--r--debian/squeeze/libraries/libtdeldap/debian/control2
-rw-r--r--debian/squeeze/libraries/libtdeldap/debian/patches/series0
-rwxr-xr-xdebian/squeeze/libraries/libtdeldap/debian/rules2
-rw-r--r--debian/squeeze/tdeaccessibility/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/tdeaccessibility/debian/control2
-rw-r--r--debian/squeeze/tdeaccessibility/debian/patches/series3
-rwxr-xr-xdebian/squeeze/tdeaccessibility/debian/rules2
-rw-r--r--debian/squeeze/tdeaddons/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/tdeaddons/debian/control2
-rw-r--r--debian/squeeze/tdeaddons/debian/patches/series3
-rwxr-xr-xdebian/squeeze/tdeaddons/debian/rules2
-rw-r--r--debian/squeeze/tdeadmin/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/tdeadmin/debian/control2
-rw-r--r--debian/squeeze/tdeadmin/debian/patches/series3
-rwxr-xr-xdebian/squeeze/tdeadmin/debian/rules2
-rw-r--r--debian/squeeze/tdeartwork/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/tdeartwork/debian/control2
-rw-r--r--debian/squeeze/tdeartwork/debian/patches/series0
-rwxr-xr-xdebian/squeeze/tdeartwork/debian/rules2
-rw-r--r--debian/squeeze/tdebase/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/tdebase/debian/control2
-rw-r--r--debian/squeeze/tdebase/debian/patches/series2
-rwxr-xr-xdebian/squeeze/tdebase/debian/rules2
-rw-r--r--debian/squeeze/tdebindings/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/tdeedu/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/tdeedu/debian/control2
-rw-r--r--debian/squeeze/tdeedu/debian/patches/series3
-rwxr-xr-xdebian/squeeze/tdeedu/debian/rules2
-rw-r--r--debian/squeeze/tdegames/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/tdegames/debian/control2
-rw-r--r--debian/squeeze/tdegames/debian/patches/series3
-rwxr-xr-xdebian/squeeze/tdegames/debian/rules2
-rw-r--r--debian/squeeze/tdegraphics/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/tdegraphics/debian/control2
-rw-r--r--debian/squeeze/tdegraphics/debian/patches/series3
-rwxr-xr-xdebian/squeeze/tdegraphics/debian/rules2
-rw-r--r--debian/squeeze/tdelibs/debian/control2
-rw-r--r--debian/squeeze/tdelibs/debian/patches/series0
-rwxr-xr-xdebian/squeeze/tdelibs/debian/rules2
-rw-r--r--debian/squeeze/tdemultimedia/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/tdemultimedia/debian/control2
-rw-r--r--debian/squeeze/tdemultimedia/debian/patches/series3
-rwxr-xr-xdebian/squeeze/tdemultimedia/debian/rules2
-rw-r--r--debian/squeeze/tdenetwork/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/tdenetwork/debian/control2
-rw-r--r--debian/squeeze/tdenetwork/debian/patches/series3
-rwxr-xr-xdebian/squeeze/tdenetwork/debian/rules2
-rw-r--r--debian/squeeze/tdepim/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/tdepim/debian/control2
-rw-r--r--debian/squeeze/tdepim/debian/patches/series0
-rwxr-xr-xdebian/squeeze/tdepim/debian/rules2
-rw-r--r--debian/squeeze/tdesdk/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/tdesdk/debian/control2
-rw-r--r--debian/squeeze/tdesdk/debian/patches/series3
-rwxr-xr-xdebian/squeeze/tdesdk/debian/rules2
-rw-r--r--debian/squeeze/tdetoys/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/tdetoys/debian/control2
-rw-r--r--debian/squeeze/tdetoys/debian/patches/series3
-rwxr-xr-xdebian/squeeze/tdetoys/debian/rules2
-rw-r--r--debian/squeeze/tdeutils/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/tdeutils/debian/control2
-rw-r--r--debian/squeeze/tdeutils/debian/patches/series5
-rwxr-xr-xdebian/squeeze/tdeutils/debian/rules2
-rw-r--r--debian/squeeze/tdevelop/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/tdevelop/debian/control2
-rw-r--r--debian/squeeze/tdevelop/debian/patches/series3
-rwxr-xr-xdebian/squeeze/tdevelop/debian/rules2
-rw-r--r--debian/squeeze/tdewebdev/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/squeeze/tdewebdev/debian/control2
-rw-r--r--debian/squeeze/tdewebdev/debian/patches/series1
-rwxr-xr-xdebian/squeeze/tdewebdev/debian/rules2
-rw-r--r--debian/wheezy/applications/abakus/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/applications/abakus/debian/control2
-rw-r--r--debian/wheezy/applications/abakus/debian/patches/series0
-rwxr-xr-xdebian/wheezy/applications/abakus/debian/rules2
-rw-r--r--debian/wheezy/applications/adept/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/applications/adept/debian/control2
-rw-r--r--debian/wheezy/applications/adept/debian/patches/series1
-rwxr-xr-xdebian/wheezy/applications/adept/debian/rules2
-rw-r--r--debian/wheezy/applications/amarok.cmake/debian/cdbs/debian-qt-kde.mk2
-rwxr-xr-xdebian/wheezy/applications/amarok.cmake/debian/rules2
-rw-r--r--debian/wheezy/applications/amarok/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/applications/basket/debian/control2
-rwxr-xr-xdebian/wheezy/applications/basket/debian/rules6
-rw-r--r--debian/wheezy/applications/bibletime/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/applications/bibletime/debian/patches/series0
-rwxr-xr-xdebian/wheezy/applications/bibletime/debian/rules2
-rw-r--r--debian/wheezy/applications/compizconfig-backend-tdeconfig/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/applications/compizconfig-backend-tdeconfig/debian/control2
-rw-r--r--debian/wheezy/applications/compizconfig-backend-tdeconfig/debian/patches/series0
-rwxr-xr-xdebian/wheezy/applications/compizconfig-backend-tdeconfig/debian/rules2
-rw-r--r--debian/wheezy/applications/digikam/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/applications/digikam/debian/control2
-rw-r--r--debian/wheezy/applications/digikam/debian/patches/series0
-rwxr-xr-xdebian/wheezy/applications/digikam/debian/rules2
-rw-r--r--debian/wheezy/applications/dolphin/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/applications/dolphin/debian/control2
-rw-r--r--debian/wheezy/applications/dolphin/debian/patches/series0
-rwxr-xr-xdebian/wheezy/applications/dolphin/debian/rules2
-rw-r--r--debian/wheezy/applications/filelight-l10n/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/applications/filelight-l10n/debian/control2
-rw-r--r--debian/wheezy/applications/filelight-l10n/debian/patches/series0
-rwxr-xr-xdebian/wheezy/applications/filelight-l10n/debian/rules2
-rw-r--r--debian/wheezy/applications/filelight/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/applications/fusion-icon/debian/control2
-rw-r--r--debian/wheezy/applications/fusion-icon/debian/patches/series0
-rwxr-xr-xdebian/wheezy/applications/fusion-icon/debian/rules2
-rw-r--r--debian/wheezy/applications/gtk-qt-engine/debian/control2
-rw-r--r--debian/wheezy/applications/gtk-qt-engine/debian/patches/series0
-rwxr-xr-xdebian/wheezy/applications/gtk-qt-engine/debian/rules2
-rw-r--r--debian/wheezy/applications/gtk3-tqt-engine/debian/control2
-rw-r--r--debian/wheezy/applications/gtk3-tqt-engine/debian/patches/series0
-rwxr-xr-xdebian/wheezy/applications/gtk3-tqt-engine/debian/rules2
-rw-r--r--debian/wheezy/applications/gwenview-i18n/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/applications/gwenview-i18n/debian/patches/series0
-rwxr-xr-xdebian/wheezy/applications/gwenview-i18n/debian/rules2
-rw-r--r--debian/wheezy/applications/gwenview/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/applications/gwenview/debian/control2
-rw-r--r--debian/wheezy/applications/gwenview/debian/patches/series0
-rwxr-xr-xdebian/wheezy/applications/gwenview/debian/rules2
-rw-r--r--debian/wheezy/applications/k3b/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/applications/k3b/debian/control2
-rw-r--r--debian/wheezy/applications/k3b/debian/patches/series1
-rwxr-xr-xdebian/wheezy/applications/k3b/debian/rules2
-rw-r--r--debian/wheezy/applications/k9copy/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/applications/k9copy/debian/control2
-rw-r--r--debian/wheezy/applications/k9copy/debian/patches/series0
-rwxr-xr-xdebian/wheezy/applications/k9copy/debian/rules2
-rw-r--r--debian/wheezy/applications/kaffeine/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/applications/kaffeine/debian/control2
-rw-r--r--debian/wheezy/applications/kaffeine/debian/patches/series0
-rwxr-xr-xdebian/wheezy/applications/kaffeine/debian/rules2
-rw-r--r--debian/wheezy/applications/kasablanca/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/applications/kasablanca/debian/control2
-rw-r--r--debian/wheezy/applications/kasablanca/debian/patches/series2
-rwxr-xr-xdebian/wheezy/applications/kasablanca/debian/rules2
-rw-r--r--debian/wheezy/applications/katapult/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/applications/katapult/debian/control2
-rw-r--r--debian/wheezy/applications/katapult/debian/patches/series0
-rwxr-xr-xdebian/wheezy/applications/katapult/debian/rules2
-rw-r--r--debian/wheezy/applications/kbarcode/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/applications/kbfx/debian/control2
-rw-r--r--debian/wheezy/applications/kbfx/debian/patches/series0
-rwxr-xr-xdebian/wheezy/applications/kbfx/debian/rules2
-rw-r--r--debian/wheezy/applications/kbibtex/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/applications/kbiff/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/applications/kbookreader/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/applications/kbookreader/debian/control2
-rw-r--r--debian/wheezy/applications/kbookreader/debian/patches/series0
-rwxr-xr-xdebian/wheezy/applications/kbookreader/debian/rules2
-rw-r--r--debian/wheezy/applications/kcmautostart/debian/control2
-rw-r--r--debian/wheezy/applications/kcmautostart/debian/patches/series0
-rwxr-xr-xdebian/wheezy/applications/kcmautostart/debian/rules2
-rw-r--r--debian/wheezy/applications/kcmldap/debian/control2
-rw-r--r--debian/wheezy/applications/kcmldap/debian/patches/series0
-rwxr-xr-xdebian/wheezy/applications/kcmldap/debian/rules2
-rw-r--r--debian/wheezy/applications/kcmldapcontroller/debian/control2
-rw-r--r--debian/wheezy/applications/kcmldapcontroller/debian/patches/series0
-rwxr-xr-xdebian/wheezy/applications/kcmldapcontroller/debian/rules2
-rw-r--r--debian/wheezy/applications/kcmldapmanager/debian/control2
-rw-r--r--debian/wheezy/applications/kcmldapmanager/debian/patches/series0
-rwxr-xr-xdebian/wheezy/applications/kcmldapmanager/debian/rules2
-rw-r--r--debian/wheezy/applications/kcpuload/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/applications/kdbg/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/applications/kdbusnotification/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/applications/kdiff3/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/applications/kdirstat/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/applications/kdirstat/debian/control2
-rw-r--r--debian/wheezy/applications/kdirstat/debian/patches/series0
-rwxr-xr-xdebian/wheezy/applications/kdirstat/debian/rules2
-rw-r--r--debian/wheezy/applications/kdpkg/debian/control2
-rw-r--r--debian/wheezy/applications/kdpkg/debian/patches/series0
-rwxr-xr-xdebian/wheezy/applications/kdpkg/debian/rules2
-rw-r--r--debian/wheezy/applications/keep/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/applications/keep/debian/control2
-rw-r--r--debian/wheezy/applications/keep/debian/patches/series1
-rwxr-xr-xdebian/wheezy/applications/keep/debian/rules2
-rw-r--r--debian/wheezy/applications/kerberostray/debian/control2
-rw-r--r--debian/wheezy/applications/kerberostray/debian/patches/series0
-rwxr-xr-xdebian/wheezy/applications/kerberostray/debian/rules2
-rw-r--r--debian/wheezy/applications/kerry/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/applications/kerry/debian/control2
-rw-r--r--debian/wheezy/applications/kerry/debian/patches/series0
-rwxr-xr-xdebian/wheezy/applications/kerry/debian/rules2
-rw-r--r--debian/wheezy/applications/kftpgrabber/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/applications/kftpgrabber/debian/control2
-rw-r--r--debian/wheezy/applications/kftpgrabber/debian/patches/series0
-rwxr-xr-xdebian/wheezy/applications/kftpgrabber/debian/rules2
-rw-r--r--debian/wheezy/applications/kgtk-qt3/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/applications/kgtk-qt3/debian/control2
-rw-r--r--debian/wheezy/applications/kgtk-qt3/debian/patches/series0
-rwxr-xr-xdebian/wheezy/applications/kgtk-qt3/debian/rules2
-rw-r--r--debian/wheezy/applications/kile/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/applications/kiosktool/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/applications/kiosktool/debian/control2
-rw-r--r--debian/wheezy/applications/kiosktool/debian/patches/series0
-rwxr-xr-xdebian/wheezy/applications/kiosktool/debian/rules2
-rw-r--r--debian/wheezy/applications/kkbswitch/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/applications/klcddimmer/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/applications/kmplayer/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/applications/kmplayer/debian/control2
-rw-r--r--debian/wheezy/applications/kmplayer/debian/patches/series0
-rwxr-xr-xdebian/wheezy/applications/kmplayer/debian/rules2
-rw-r--r--debian/wheezy/applications/kmymoney/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/applications/kmymoney/debian/control2
-rw-r--r--debian/wheezy/applications/kmymoney/debian/patches/series0
-rwxr-xr-xdebian/wheezy/applications/kmymoney/debian/rules2
-rw-r--r--debian/wheezy/applications/knemo/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/applications/knemo/debian/control2
-rw-r--r--debian/wheezy/applications/knemo/debian/patches/series0
-rwxr-xr-xdebian/wheezy/applications/knemo/debian/rules2
-rw-r--r--debian/wheezy/applications/knetstats/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/applications/knetstats/debian/control2
-rw-r--r--debian/wheezy/applications/knetstats/debian/patches/series0
-rwxr-xr-xdebian/wheezy/applications/knetstats/debian/rules2
-rw-r--r--debian/wheezy/applications/knetworkmanager.cmake/debian/cdbs/debian-qt-kde.mk2
-rwxr-xr-xdebian/wheezy/applications/knetworkmanager.cmake/debian/rules2
-rw-r--r--debian/wheezy/applications/knetworkmanager8/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/applications/knmap/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/applications/knmap/debian/control2
-rw-r--r--debian/wheezy/applications/knmap/debian/patches/series0
-rwxr-xr-xdebian/wheezy/applications/knmap/debian/rules2
-rw-r--r--debian/wheezy/applications/koffice/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/applications/koffice/debian/control2
-rw-r--r--debian/wheezy/applications/koffice/debian/patches/series0
-rwxr-xr-xdebian/wheezy/applications/koffice/debian/rules2
-rw-r--r--debian/wheezy/applications/konversation/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/applications/kopete-otr/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/applications/kpilot/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/applications/kpowersave.cmake/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/applications/kpowersave.cmake/debian/control2
-rw-r--r--debian/wheezy/applications/kpowersave.cmake/debian/patches/series0
-rwxr-xr-xdebian/wheezy/applications/kpowersave.cmake/debian/rules2
-rw-r--r--debian/wheezy/applications/kpowersave/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/applications/kpowersave/debian/control2
-rw-r--r--debian/wheezy/applications/kpowersave/debian/patches/series0
-rwxr-xr-xdebian/wheezy/applications/kpowersave/debian/rules2
-rw-r--r--debian/wheezy/applications/krecipes/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/applications/krename/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/applications/krename/debian/control2
-rw-r--r--debian/wheezy/applications/krename/debian/patches/series0
-rwxr-xr-xdebian/wheezy/applications/krename/debian/rules2
-rw-r--r--debian/wheezy/applications/krusader/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/applications/krusader/debian/control2
-rw-r--r--debian/wheezy/applications/krusader/debian/patches/series0
-rwxr-xr-xdebian/wheezy/applications/krusader/debian/rules2
-rw-r--r--debian/wheezy/applications/ksensors/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/applications/ksensors/debian/control2
-rw-r--r--debian/wheezy/applications/ksensors/debian/patches/series0
-rwxr-xr-xdebian/wheezy/applications/ksensors/debian/rules2
-rw-r--r--debian/wheezy/applications/kshowmail/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/applications/kshutdown/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/applications/ksystemlog/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/applications/ksystemlog/debian/control2
-rw-r--r--debian/wheezy/applications/ksystemlog/debian/patches/series0
-rwxr-xr-xdebian/wheezy/applications/ksystemlog/debian/rules2
-rw-r--r--debian/wheezy/applications/ktorrent/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/applications/ktorrent/debian/control2
-rw-r--r--debian/wheezy/applications/ktorrent/debian/patches/series0
-rwxr-xr-xdebian/wheezy/applications/ktorrent/debian/rules2
-rw-r--r--debian/wheezy/applications/kuickshow/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/applications/kuickshow/debian/control2
-rw-r--r--debian/wheezy/applications/kuickshow/debian/patches/series0
-rwxr-xr-xdebian/wheezy/applications/kuickshow/debian/rules2
-rw-r--r--debian/wheezy/applications/kvirc/debian/control2
-rw-r--r--debian/wheezy/applications/kvirc/debian/patches/series0
-rwxr-xr-xdebian/wheezy/applications/kvirc/debian/rules2
-rw-r--r--debian/wheezy/applications/kvkbd/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/applications/kvkbd/debian/control2
-rw-r--r--debian/wheezy/applications/kvkbd/debian/patches/series0
-rwxr-xr-xdebian/wheezy/applications/kvkbd/debian/rules2
-rw-r--r--debian/wheezy/applications/mplayerthumbs/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/applications/piklab/debian/control2
-rw-r--r--debian/wheezy/applications/piklab/debian/patches/series0
-rwxr-xr-xdebian/wheezy/applications/piklab/debian/rules9
-rw-r--r--debian/wheezy/applications/qt4-tqt-theme-engine/debian/control2
-rw-r--r--debian/wheezy/applications/qt4-tqt-theme-engine/debian/patches/series0
-rwxr-xr-xdebian/wheezy/applications/qt4-tqt-theme-engine/debian/rules2
-rw-r--r--debian/wheezy/applications/rosegarden/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/applications/rosegarden/debian/control2
-rw-r--r--debian/wheezy/applications/rosegarden/debian/patches/series0
-rwxr-xr-xdebian/wheezy/applications/rosegarden/debian/rules2
-rw-r--r--debian/wheezy/applications/smb4k/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/applications/soundkonverter/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/applications/tde-guidance/debian/control2
-rw-r--r--debian/wheezy/applications/tde-guidance/debian/patches/series0
-rwxr-xr-xdebian/wheezy/applications/tde-guidance/debian/rules2
-rw-r--r--debian/wheezy/applications/tde-style-qtcurve/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/applications/tde-style-qtcurve/debian/control2
-rw-r--r--debian/wheezy/applications/tde-style-qtcurve/debian/patches/series0
-rwxr-xr-xdebian/wheezy/applications/tde-style-qtcurve/debian/rules2
-rw-r--r--debian/wheezy/applications/tde-systemsettings/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/applications/tde-systemsettings/debian/control2
-rw-r--r--debian/wheezy/applications/tde-systemsettings/debian/patches/series0
-rwxr-xr-xdebian/wheezy/applications/tde-systemsettings/debian/rules2
-rw-r--r--debian/wheezy/applications/tdeio-apt/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/applications/tdeio-apt/debian/control2
-rw-r--r--debian/wheezy/applications/tdeio-apt/debian/patches/series0
-rwxr-xr-xdebian/wheezy/applications/tdeio-apt/debian/rules2
-rw-r--r--debian/wheezy/applications/tdeio-ftps/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/applications/tdeio-locate/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/applications/tdeio-locate/debian/control2
-rw-r--r--debian/wheezy/applications/tdeio-locate/debian/patches/series0
-rwxr-xr-xdebian/wheezy/applications/tdeio-locate/debian/rules2
-rw-r--r--debian/wheezy/applications/tdeio-umountwrapper/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/applications/tdeio-umountwrapper/debian/control2
-rw-r--r--debian/wheezy/applications/tdeio-umountwrapper/debian/patches/series0
-rwxr-xr-xdebian/wheezy/applications/tdeio-umountwrapper/debian/rules2
-rw-r--r--debian/wheezy/applications/tdenetworkmanager/debian/cdbs/debian-qt-kde.mk2
-rwxr-xr-xdebian/wheezy/applications/tdenetworkmanager/debian/rules2
-rw-r--r--debian/wheezy/applications/tdepowersave/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/applications/tdepowersave/debian/control2
-rw-r--r--debian/wheezy/applications/tdepowersave/debian/patches/series0
-rwxr-xr-xdebian/wheezy/applications/tdepowersave/debian/rules2
-rw-r--r--debian/wheezy/applications/tdesudo/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/applications/tdesudo/debian/control2
-rw-r--r--debian/wheezy/applications/tdesudo/debian/patches/series0
-rwxr-xr-xdebian/wheezy/applications/tdesudo/debian/rules2
-rw-r--r--debian/wheezy/applications/tdesvn/debian/cdbs/debian-qt-kde.mk2
-rwxr-xr-xdebian/wheezy/applications/tdesvn/debian/rules2
-rw-r--r--debian/wheezy/applications/tdmtheme/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/applications/tork/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/applications/twin-style-crystal/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/applications/twin-style-crystal/debian/control2
-rw-r--r--debian/wheezy/applications/twin-style-crystal/debian/patches/series0
-rwxr-xr-xdebian/wheezy/applications/twin-style-crystal/debian/rules2
-rw-r--r--debian/wheezy/applications/wlassistant/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/applications/wlassistant/debian/control2
-rw-r--r--debian/wheezy/applications/wlassistant/debian/patches/series0
-rwxr-xr-xdebian/wheezy/applications/wlassistant/debian/rules2
-rw-r--r--debian/wheezy/applications/yakuake/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/dependencies/arts/debian/control2
-rw-r--r--debian/wheezy/dependencies/arts/debian/patches/series1
-rwxr-xr-xdebian/wheezy/dependencies/arts/debian/rules2
-rw-r--r--debian/wheezy/dependencies/dbus-1-tqt/debian/control2
-rw-r--r--debian/wheezy/dependencies/dbus-1-tqt/debian/patches/series0
-rwxr-xr-xdebian/wheezy/dependencies/dbus-1-tqt/debian/rules2
-rw-r--r--debian/wheezy/dependencies/dbus-tqt/debian/control2
-rw-r--r--debian/wheezy/dependencies/dbus-tqt/debian/patches/series0
-rwxr-xr-xdebian/wheezy/dependencies/dbus-tqt/debian/rules2
-rw-r--r--debian/wheezy/dependencies/libart-lgpl/debian/control2
-rw-r--r--debian/wheezy/dependencies/libart-lgpl/debian/patches/series0
-rwxr-xr-xdebian/wheezy/dependencies/libart-lgpl/debian/rules2
-rw-r--r--debian/wheezy/dependencies/libcaldav/debian/control2
-rw-r--r--debian/wheezy/dependencies/libcaldav/debian/patches/series0
-rwxr-xr-xdebian/wheezy/dependencies/libcaldav/debian/rules6
-rw-r--r--debian/wheezy/dependencies/libcarddav/debian/control2
-rw-r--r--debian/wheezy/dependencies/libcarddav/debian/patches/series0
-rwxr-xr-xdebian/wheezy/dependencies/libcarddav/debian/rules6
-rw-r--r--debian/wheezy/dependencies/python-tqt/debian/patches/series2
-rw-r--r--debian/wheezy/dependencies/qt3/debian/control2
-rwxr-xr-xdebian/wheezy/dependencies/qt3/debian/rules8
-rw-r--r--debian/wheezy/dependencies/sip4-tqt/debian/patches/series4
-rw-r--r--debian/wheezy/dependencies/sip4-tqt/debian/patches/siputils_objdir_module_fix.diff10
-rw-r--r--debian/wheezy/dependencies/tqt3/debian/control2
-rwxr-xr-xdebian/wheezy/dependencies/tqt3/debian/rules8
-rw-r--r--debian/wheezy/dependencies/tqtinterface/debian/control2
-rw-r--r--debian/wheezy/dependencies/tqtinterface/debian/patches/series0
-rwxr-xr-xdebian/wheezy/dependencies/tqtinterface/debian/rules2
-rw-r--r--debian/wheezy/libraries/kipi-plugins/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/libraries/libkdcraw/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/libraries/libkexiv2/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/libraries/libkipi/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/libraries/libkipi/debian/control2
-rw-r--r--debian/wheezy/libraries/libkipi/debian/patches/series0
-rwxr-xr-xdebian/wheezy/libraries/libkipi/debian/rules2
-rw-r--r--debian/wheezy/libraries/libtdeldap/debian/control2
-rw-r--r--debian/wheezy/libraries/libtdeldap/debian/patches/series0
-rwxr-xr-xdebian/wheezy/libraries/libtdeldap/debian/rules2
-rw-r--r--debian/wheezy/tdeaccessibility/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/tdeaccessibility/debian/control2
-rw-r--r--debian/wheezy/tdeaccessibility/debian/patches/series3
-rwxr-xr-xdebian/wheezy/tdeaccessibility/debian/rules2
-rw-r--r--debian/wheezy/tdeaddons/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/tdeaddons/debian/control2
-rw-r--r--debian/wheezy/tdeaddons/debian/patches/series3
-rwxr-xr-xdebian/wheezy/tdeaddons/debian/rules2
-rw-r--r--debian/wheezy/tdeadmin/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/tdeadmin/debian/control2
-rw-r--r--debian/wheezy/tdeadmin/debian/patches/series3
-rwxr-xr-xdebian/wheezy/tdeadmin/debian/rules2
-rw-r--r--debian/wheezy/tdeartwork/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/tdeartwork/debian/control2
-rw-r--r--debian/wheezy/tdeartwork/debian/patches/series0
-rwxr-xr-xdebian/wheezy/tdeartwork/debian/rules2
-rw-r--r--debian/wheezy/tdebase/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/tdebase/debian/control2
-rw-r--r--debian/wheezy/tdebase/debian/patches/series2
-rwxr-xr-xdebian/wheezy/tdebase/debian/rules2
-rw-r--r--debian/wheezy/tdebindings/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/tdeedu/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/tdeedu/debian/control2
-rw-r--r--debian/wheezy/tdeedu/debian/patches/series3
-rwxr-xr-xdebian/wheezy/tdeedu/debian/rules2
-rw-r--r--debian/wheezy/tdegames/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/tdegames/debian/control2
-rw-r--r--debian/wheezy/tdegames/debian/patches/series3
-rwxr-xr-xdebian/wheezy/tdegames/debian/rules2
-rw-r--r--debian/wheezy/tdegraphics/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/tdegraphics/debian/control2
-rw-r--r--debian/wheezy/tdegraphics/debian/patches/series3
-rwxr-xr-xdebian/wheezy/tdegraphics/debian/rules2
-rw-r--r--debian/wheezy/tdelibs/debian/control2
-rw-r--r--debian/wheezy/tdelibs/debian/patches/series0
-rwxr-xr-xdebian/wheezy/tdelibs/debian/rules2
-rw-r--r--debian/wheezy/tdemultimedia/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/tdemultimedia/debian/control2
-rw-r--r--debian/wheezy/tdemultimedia/debian/patches/series3
-rwxr-xr-xdebian/wheezy/tdemultimedia/debian/rules2
-rw-r--r--debian/wheezy/tdenetwork/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/tdenetwork/debian/control2
-rw-r--r--debian/wheezy/tdenetwork/debian/patches/series3
-rwxr-xr-xdebian/wheezy/tdenetwork/debian/rules2
-rw-r--r--debian/wheezy/tdepim/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/tdepim/debian/control2
-rw-r--r--debian/wheezy/tdepim/debian/patches/series0
-rwxr-xr-xdebian/wheezy/tdepim/debian/rules2
-rw-r--r--debian/wheezy/tdesdk/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/tdesdk/debian/control2
-rw-r--r--debian/wheezy/tdesdk/debian/patches/series3
-rwxr-xr-xdebian/wheezy/tdesdk/debian/rules2
-rw-r--r--debian/wheezy/tdetoys/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/tdetoys/debian/control2
-rw-r--r--debian/wheezy/tdetoys/debian/patches/series3
-rwxr-xr-xdebian/wheezy/tdetoys/debian/rules2
-rw-r--r--debian/wheezy/tdeutils/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/tdeutils/debian/control2
-rw-r--r--debian/wheezy/tdeutils/debian/patches/series5
-rwxr-xr-xdebian/wheezy/tdeutils/debian/rules2
-rw-r--r--debian/wheezy/tdevelop/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/tdevelop/debian/control2
-rw-r--r--debian/wheezy/tdevelop/debian/patches/series3
-rwxr-xr-xdebian/wheezy/tdevelop/debian/rules2
-rw-r--r--debian/wheezy/tdewebdev/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--debian/wheezy/tdewebdev/debian/control2
-rw-r--r--debian/wheezy/tdewebdev/debian/patches/series1
-rwxr-xr-xdebian/wheezy/tdewebdev/debian/rules2
1098 files changed, 1332 insertions, 612 deletions
diff --git a/debian/lenny/applications/abakus/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/abakus/debian/cdbs/debian-qt-kde.mk
index 5e704aa4a..c5d8ecfd3 100644
--- a/debian/lenny/applications/abakus/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/abakus/debian/cdbs/debian-qt-kde.mk
@@ -15,7 +15,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/abakus/debian/control b/debian/lenny/applications/abakus/debian/control
index 0fbc2fdb5..d3c0c5279 100644
--- a/debian/lenny/applications/abakus/debian/control
+++ b/debian/lenny/applications/abakus/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Steffen Joeris <steffen.joeris@skolelinux.de>
-Build-Depends: autotools-dev, debhelper (>= 4.1.0), cdbs (>= 0.4.0), cmake, imagemagick, tdelibs14-trinity-dev, chrpath, bison, flex
+Build-Depends: autotools-dev, debhelper (>= 4.1.0), quilt, cdbs (>= 0.4.0), cmake, imagemagick, tdelibs14-trinity-dev, chrpath, bison, flex
Standards-Version: 3.8.4
Package: abakus-trinity
diff --git a/debian/lenny/applications/adept/debian/patches/.gitignore b/debian/lenny/applications/abakus/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/lenny/applications/adept/debian/patches/.gitignore
+++ b/debian/lenny/applications/abakus/debian/patches/series
diff --git a/debian/lenny/applications/abakus/debian/rules b/debian/lenny/applications/abakus/debian/rules
index c856f7cae..83d7d7fb4 100755
--- a/debian/lenny/applications/abakus/debian/rules
+++ b/debian/lenny/applications/abakus/debian/rules
@@ -11,7 +11,7 @@ export LD_LIBRARY_PATH
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
include debian/cdbs/debian-qt-kde.mk
diff --git a/debian/lenny/applications/adept/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/adept/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/lenny/applications/adept/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/adept/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/adept/debian/control b/debian/lenny/applications/adept/debian/control
index 12796cfa7..95fee8d1e 100644
--- a/debian/lenny/applications/adept/debian/control
+++ b/debian/lenny/applications/adept/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Peter Rockai <me@mornfall.net>
Uploaders: Isaac Clerencia <isaac@debian.org>, Enrico Zini <enrico@debian.org>
-Build-Depends: cdbs, debhelper (>> 4.1), dh-buildinfo, libapt-front-dev (>= 0.4.0-0.1ubuntu5), libapt-front-dev (<< 0.5), libtagcoll2-dev (>= 2.0.6), libtagcoll2-dev (<< 2.1), libwibble-dev (>= 0.1.10), libwibble-dev (<< 0.2), tdelibs14-trinity-dev (>= 3.5.0), sharutils, automake, autoconf, libtool, libltdl-dev
+Build-Depends: cdbs, debhelper (>> 4.1), quilt, dh-buildinfo, libapt-front-dev (>= 0.4.0-0.1ubuntu5), libapt-front-dev (<< 0.5), libtagcoll2-dev (>= 2.0.6), libtagcoll2-dev (<< 2.1), libwibble-dev (>= 0.1.10), libwibble-dev (<< 0.2), tdelibs14-trinity-dev (>= 3.5.0), sharutils, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: adept-trinity
diff --git a/debian/lenny/applications/adept/debian/patches/series b/debian/lenny/applications/adept/debian/patches/series
new file mode 100644
index 000000000..ad5b05138
--- /dev/null
+++ b/debian/lenny/applications/adept/debian/patches/series
@@ -0,0 +1 @@
+remove_apport.diff
diff --git a/debian/lenny/applications/adept/debian/rules b/debian/lenny/applications/adept/debian/rules
index 742307eb6..0e554102b 100755
--- a/debian/lenny/applications/adept/debian/rules
+++ b/debian/lenny/applications/adept/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
DEB_CONFIGURE_MANDIR := /opt/trinity/share/man
diff --git a/debian/lenny/applications/amarok.cmake/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/amarok.cmake/debian/cdbs/debian-qt-kde.mk
index 345cc0a61..fb36ac52f 100644
--- a/debian/lenny/applications/amarok.cmake/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/amarok.cmake/debian/cdbs/debian-qt-kde.mk
@@ -15,7 +15,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/amarok.cmake/debian/rules b/debian/lenny/applications/amarok.cmake/debian/rules
index 4fd9a743d..7f157aa03 100755
--- a/debian/lenny/applications/amarok.cmake/debian/rules
+++ b/debian/lenny/applications/amarok.cmake/debian/rules
@@ -11,7 +11,7 @@ export LD_LIBRARY_PATH
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
include debian/cdbs/debian-qt-kde.mk
diff --git a/debian/lenny/applications/amarok/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/amarok/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/lenny/applications/amarok/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/amarok/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/basket/debian/control b/debian/lenny/applications/basket/debian/control
index 8b485c191..33cb331ad 100644
--- a/debian/lenny/applications/basket/debian/control
+++ b/debian/lenny/applications/basket/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>
Uploaders: Ana Beatriz Guerrero Lopez <ana@debian.org>, Sune Vuorela <debian@pusling.com>
-Build-Depends: libasound2-dev, debhelper (>= 5), tdelibs14-trinity-dev, tdepim-trinity-dev, libgpgme11-dev, quilt (>= 0.40), automake, autoconf, libtool, libltdl-dev
+Build-Depends: libasound2-dev, cdbs, debhelper (>= 5), tdelibs14-trinity-dev, tdepim-trinity-dev, libgpgme11-dev, quilt (>= 0.40), automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: basket-trinity
diff --git a/debian/lenny/applications/basket/debian/rules b/debian/lenny/applications/basket/debian/rules
index d3cf5255e..4afb63bdd 100755
--- a/debian/lenny/applications/basket/debian/rules
+++ b/debian/lenny/applications/basket/debian/rules
@@ -26,10 +26,10 @@ else
CFLAGS += -O2
endif
-include /usr/share/quilt/quilt.make
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
-config.status: $(QUILT_STAMPFN)
+config.status: post-patches
dh_testdir
test -e config.sub -a -L config.sub || \
ln -sf /usr/share/misc/config.sub config.sub
@@ -59,7 +59,7 @@ build-stamp: config.status
touch build-stamp
-clean: unpatch
+clean::
dh_testdir
dh_testroot
diff --git a/debian/lenny/applications/bibletime/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/bibletime/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/lenny/applications/bibletime/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/bibletime/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/bibletime/debian/patches/.gitignore b/debian/lenny/applications/bibletime/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/lenny/applications/bibletime/debian/patches/.gitignore
+++ b/debian/lenny/applications/bibletime/debian/patches/series
diff --git a/debian/lenny/applications/bibletime/debian/rules b/debian/lenny/applications/bibletime/debian/rules
index 4106bf0f4..9e134b1f7 100755
--- a/debian/lenny/applications/bibletime/debian/rules
+++ b/debian/lenny/applications/bibletime/debian/rules
@@ -3,7 +3,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/debian-qt-kde.mk
include /usr/share/cdbs/1/class/autotools.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
DEB_DH_INSTALL_SOURCEDIR := debian
diff --git a/debian/lenny/applications/compizconfig-backend-tdeconfig/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/compizconfig-backend-tdeconfig/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/lenny/applications/compizconfig-backend-tdeconfig/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/compizconfig-backend-tdeconfig/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/compizconfig-backend-tdeconfig/debian/control b/debian/lenny/applications/compizconfig-backend-tdeconfig/debian/control
index febf1777d..591e61775 100644
--- a/debian/lenny/applications/compizconfig-backend-tdeconfig/debian/control
+++ b/debian/lenny/applications/compizconfig-backend-tdeconfig/debian/control
@@ -2,7 +2,7 @@ Source: compizconfig-backend-tdeconfig-trinity
Section: libs
Priority: extra
Maintainer: Timothy Pearosn <kb9vqf@pearsoncomputing.net>
-Build-Depends: cdbs, debhelper (>= 5), compiz-trinity-dev, pkg-config, intltool, tdelibs14-trinity-dev, libcompizconfig0-trinity-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: cdbs, debhelper (>= 5), quilt, compiz-trinity-dev, pkg-config, intltool, tdelibs14-trinity-dev, libcompizconfig0-trinity-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: compizconfig-backend-tdeconfig-trinity
diff --git a/debian/lenny/applications/compizconfig-backend-tdeconfig/debian/patches/.gitignore b/debian/lenny/applications/compizconfig-backend-tdeconfig/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/lenny/applications/compizconfig-backend-tdeconfig/debian/patches/.gitignore
+++ b/debian/lenny/applications/compizconfig-backend-tdeconfig/debian/patches/series
diff --git a/debian/lenny/applications/compizconfig-backend-tdeconfig/debian/rules b/debian/lenny/applications/compizconfig-backend-tdeconfig/debian/rules
index 85efaa2fa..eb681a06a 100755
--- a/debian/lenny/applications/compizconfig-backend-tdeconfig/debian/rules
+++ b/debian/lenny/applications/compizconfig-backend-tdeconfig/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
DEB_CONFIGURE_MANDIR := /opt/trinity/share/man
diff --git a/debian/lenny/applications/digikam/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/digikam/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/lenny/applications/digikam/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/digikam/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/digikam/debian/control b/debian/lenny/applications/digikam/debian/control
index 67ba409c4..2c4f978c3 100644
--- a/debian/lenny/applications/digikam/debian/control
+++ b/debian/lenny/applications/digikam/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>
Uploaders: Achim Bohnet <ach@mpe.mpg.de>, Mark Purcell <msp@debian.org>, Fathi Boudra <fabo@debian.org>
-Build-Depends: cdbs, debhelper (>= 5), tdelibs14-trinity-dev,
+Build-Depends: cdbs, debhelper (>= 5), quilt, tdelibs14-trinity-dev,
libtiff-dev, libgphoto2-6-dev | libgphoto2-2-dev, libkipi0-trinity-dev,
libsqlite3-dev, liblcms1-dev, libkexiv2-3-trinity-dev (>= 0.1.6),
libjasper-dev, libpng12-dev | libpng-dev, libexiv2-dev,
diff --git a/debian/lenny/applications/digikam/debian/patches/.gitignore b/debian/lenny/applications/digikam/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/lenny/applications/digikam/debian/patches/.gitignore
+++ b/debian/lenny/applications/digikam/debian/patches/series
diff --git a/debian/lenny/applications/digikam/debian/rules b/debian/lenny/applications/digikam/debian/rules
index 76fa321bc..cc9992ad3 100755
--- a/debian/lenny/applications/digikam/debian/rules
+++ b/debian/lenny/applications/digikam/debian/rules
@@ -1,7 +1,7 @@
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
include debian/cdbs/debian-qt-kde.mk
-include /usr/share/gnome-pkg-tools/1/rules/sf-get-source.mk
diff --git a/debian/lenny/applications/dolphin/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/dolphin/debian/cdbs/debian-qt-kde.mk
index 345cc0a61..fb36ac52f 100644
--- a/debian/lenny/applications/dolphin/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/dolphin/debian/cdbs/debian-qt-kde.mk
@@ -15,7 +15,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/dolphin/debian/control b/debian/lenny/applications/dolphin/debian/control
index 4893570ea..8fc8f23d2 100644
--- a/debian/lenny/applications/dolphin/debian/control
+++ b/debian/lenny/applications/dolphin/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Anthony Mercatante <tonio@ubuntu.com>
-Build-Depends: debhelper (>= 5), cdbs, tdelibs14-trinity-dev, libkonq4-trinity-dev, tdebase-trinity-dev, docbook2x, docbook-xml, libtool, libltdl-dev, cmake
+Build-Depends: debhelper (>= 5), quilt, cdbs, tdelibs14-trinity-dev, libkonq4-trinity-dev, tdebase-trinity-dev, docbook2x, docbook-xml, libtool, libltdl-dev, cmake
Standards-Version: 3.8.4
Package: dolphin-trinity
diff --git a/debian/lenny/applications/dolphin/debian/patches/.gitignore b/debian/lenny/applications/dolphin/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/lenny/applications/dolphin/debian/patches/.gitignore
+++ b/debian/lenny/applications/dolphin/debian/patches/series
diff --git a/debian/lenny/applications/dolphin/debian/rules b/debian/lenny/applications/dolphin/debian/rules
index 66ea98891..f978c418e 100755
--- a/debian/lenny/applications/dolphin/debian/rules
+++ b/debian/lenny/applications/dolphin/debian/rules
@@ -11,7 +11,7 @@ export LD_LIBRARY_PATH
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
include debian/cdbs/debian-qt-kde.mk
diff --git a/debian/lenny/applications/filelight-l10n/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/filelight-l10n/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/lenny/applications/filelight-l10n/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/filelight-l10n/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/filelight-l10n/debian/control b/debian/lenny/applications/filelight-l10n/debian/control
index 812a4a68f..0cbcfc3ef 100644
--- a/debian/lenny/applications/filelight-l10n/debian/control
+++ b/debian/lenny/applications/filelight-l10n/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Uploaders: Ral Snchez Siles <rasasi78@gmail.com>
-Build-Depends: tdelibs14-trinity-dev (>= 4:3.4.3), cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), automake, autoconf, libtool, libltdl-dev
+Build-Depends: tdelibs14-trinity-dev (>= 4:3.4.3), cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), quilt, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Homepage: http://www.methylblue.com/filelight/
diff --git a/debian/lenny/applications/fusion-icon/debian/patches/.gitignore b/debian/lenny/applications/filelight-l10n/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/lenny/applications/fusion-icon/debian/patches/.gitignore
+++ b/debian/lenny/applications/filelight-l10n/debian/patches/series
diff --git a/debian/lenny/applications/filelight-l10n/debian/rules b/debian/lenny/applications/filelight-l10n/debian/rules
index 84a2f4975..6d6088aad 100755
--- a/debian/lenny/applications/filelight-l10n/debian/rules
+++ b/debian/lenny/applications/filelight-l10n/debian/rules
@@ -4,7 +4,7 @@ DEB_PATCHDIRS := debian/patches/common debian/patches
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/lenny/applications/filelight/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/filelight/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/lenny/applications/filelight/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/filelight/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/fusion-icon/debian/control b/debian/lenny/applications/fusion-icon/debian/control
index 992d74863..2b6f86ef6 100644
--- a/debian/lenny/applications/fusion-icon/debian/control
+++ b/debian/lenny/applications/fusion-icon/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Uploaders: Python Applications Packaging Team <python-apps-team@lists.alioth.debian.org>
XS-Python-Version: all
-Build-Depends: cdbs (>= 0.4.49), debhelper (>= 5.0.37.1), pkg-config, python-all-dev
+Build-Depends: cdbs (>= 0.4.49), debhelper (>= 5.0.37.1), quilt, pkg-config, python-all-dev
Build-Depends-Indep: python-support (>= 0.6), intltool
Standards-Version: 3.8.4
diff --git a/debian/lenny/applications/gtk-qt-engine/debian/patches/.gitignore b/debian/lenny/applications/fusion-icon/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/lenny/applications/gtk-qt-engine/debian/patches/.gitignore
+++ b/debian/lenny/applications/fusion-icon/debian/patches/series
diff --git a/debian/lenny/applications/fusion-icon/debian/rules b/debian/lenny/applications/fusion-icon/debian/rules
index 2b780a204..3c129a596 100755
--- a/debian/lenny/applications/fusion-icon/debian/rules
+++ b/debian/lenny/applications/fusion-icon/debian/rules
@@ -5,7 +5,7 @@ DEB_PYTHON_SYSTEM=pysupport
include /usr/share/cdbs/1/rules/debhelper.mk
# include /usr/share/cdbs/1/class/python-distutils.mk
include debian/python-distutils-custom.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
diff --git a/debian/lenny/applications/gtk-qt-engine/debian/control b/debian/lenny/applications/gtk-qt-engine/debian/control
index cf970f8fa..9ab358185 100644
--- a/debian/lenny/applications/gtk-qt-engine/debian/control
+++ b/debian/lenny/applications/gtk-qt-engine/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Bastian Venthur <venthur@debian.org>
-Build-Depends: debhelper (>= 5.0), cdbs, tdelibs14-trinity-dev, libgtk2.0-dev, cmake, libgtk2.0-dev (>= 2.10.1)
+Build-Depends: debhelper (>= 5.0), quilt, cdbs, tdelibs14-trinity-dev, libgtk2.0-dev, cmake, libgtk2.0-dev (>= 2.10.1)
Standards-Version: 3.8.4
Package: gtk-qt-engine-trinity
diff --git a/debian/lenny/applications/gwenview/debian/patches/.gitignore b/debian/lenny/applications/gtk-qt-engine/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/lenny/applications/gwenview/debian/patches/.gitignore
+++ b/debian/lenny/applications/gtk-qt-engine/debian/patches/series
diff --git a/debian/lenny/applications/gtk-qt-engine/debian/rules b/debian/lenny/applications/gtk-qt-engine/debian/rules
index 8c78b986c..64a42472c 100755
--- a/debian/lenny/applications/gtk-qt-engine/debian/rules
+++ b/debian/lenny/applications/gtk-qt-engine/debian/rules
@@ -11,7 +11,7 @@ export LD_LIBRARY_PATH
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
include debian/cdbs/debian-qt-kde.mk
diff --git a/debian/lenny/applications/gtk3-tqt-engine/debian/control b/debian/lenny/applications/gtk3-tqt-engine/debian/control
index a192c467e..4acce9a2e 100644
--- a/debian/lenny/applications/gtk3-tqt-engine/debian/control
+++ b/debian/lenny/applications/gtk3-tqt-engine/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Raphaël Pinson <raphink@raphink.net>
-Build-Depends: debhelper (>= 5), cdbs, tdelibs14-trinity-dev, libcairo2-dev, libgtk-3-dev, libpango1.0-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: debhelper (>= 5), quilt, cdbs, tdelibs14-trinity-dev, libcairo2-dev, libgtk-3-dev, libpango1.0-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: gtk3-tqt-engine-trinity
diff --git a/debian/lenny/applications/k9copy/debian/patches/.gitignore b/debian/lenny/applications/gtk3-tqt-engine/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/lenny/applications/k9copy/debian/patches/.gitignore
+++ b/debian/lenny/applications/gtk3-tqt-engine/debian/patches/series
diff --git a/debian/lenny/applications/gtk3-tqt-engine/debian/rules b/debian/lenny/applications/gtk3-tqt-engine/debian/rules
index 9bed17b05..e4abe53af 100755
--- a/debian/lenny/applications/gtk3-tqt-engine/debian/rules
+++ b/debian/lenny/applications/gtk3-tqt-engine/debian/rules
@@ -1,6 +1,6 @@
#!/usr/bin/make -f
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/debhelper.mk
diff --git a/debian/lenny/applications/gwenview-i18n/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/gwenview-i18n/debian/cdbs/debian-qt-kde.mk
index fa0d532f4..ec89756bb 100644
--- a/debian/lenny/applications/gwenview-i18n/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/gwenview-i18n/debian/cdbs/debian-qt-kde.mk
@@ -15,7 +15,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/kaffeine/debian/patches/.gitignore b/debian/lenny/applications/gwenview-i18n/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/lenny/applications/kaffeine/debian/patches/.gitignore
+++ b/debian/lenny/applications/gwenview-i18n/debian/patches/series
diff --git a/debian/lenny/applications/gwenview-i18n/debian/rules b/debian/lenny/applications/gwenview-i18n/debian/rules
index 3070a9c9d..045fcc43f 100755
--- a/debian/lenny/applications/gwenview-i18n/debian/rules
+++ b/debian/lenny/applications/gwenview-i18n/debian/rules
@@ -4,7 +4,7 @@ DEB_PATCHDIRS := debian/patches/common debian/patches
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
-include debian/debiandirs
diff --git a/debian/lenny/applications/gwenview/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/gwenview/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/lenny/applications/gwenview/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/gwenview/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/gwenview/debian/control b/debian/lenny/applications/gwenview/debian/control
index 359bad80c..296502cdb 100644
--- a/debian/lenny/applications/gwenview/debian/control
+++ b/debian/lenny/applications/gwenview/debian/control
@@ -2,7 +2,7 @@ Source: gwenview-trinity
Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
-Build-Depends: cdbs (>= 0.4.39-0.1), debhelper (>= 6.0.0), tdelibs14-trinity-dev (>= 4:3.4.3), libkipi0-trinity-dev (>= 0.1.2-2), libexiv2-dev, libmng-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: cdbs (>= 0.4.39-0.1), debhelper (>= 6.0.0), quilt, tdelibs14-trinity-dev (>= 4:3.4.3), libkipi0-trinity-dev (>= 0.1.2-2), libexiv2-dev, libmng-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Homepage: http://gwenview.sourceforge.net
diff --git a/debian/lenny/applications/katapult/debian/patches/.gitignore b/debian/lenny/applications/gwenview/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/lenny/applications/katapult/debian/patches/.gitignore
+++ b/debian/lenny/applications/gwenview/debian/patches/series
diff --git a/debian/lenny/applications/gwenview/debian/rules b/debian/lenny/applications/gwenview/debian/rules
index 2fca00e50..943f33d55 100755
--- a/debian/lenny/applications/gwenview/debian/rules
+++ b/debian/lenny/applications/gwenview/debian/rules
@@ -4,7 +4,7 @@ DEB_PATCHDIRS := debian/patches/common debian/patches
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/lenny/applications/k3b/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/k3b/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/lenny/applications/k3b/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/k3b/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/k3b/debian/control b/debian/lenny/applications/k3b/debian/control
index f77c83db2..1d7188cb2 100644
--- a/debian/lenny/applications/k3b/debian/control
+++ b/debian/lenny/applications/k3b/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>
Uploaders: Francois Marier <francois@debian.org>, Fathi Boudra <fabo@debian.org>
-Build-Depends: libdvdread4, libdvdread-dev, alsa, libasound2-dev, lame, libmp3lame-dev, debhelper (>= 6), cdbs (>= 0.4.52ubuntu18), tdelibs14-trinity-dev (>= 3.5.0), libflac++-dev (>= 1.1.2), flac, libdbus-tqt-1-dev, libpopt-dev, libmpcdec-dev, libtag1-dev (>= 1.4-3), libmad0-dev, chrpath, libavformat-dev, libavcodec-dev, libvorbis-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: libdvdread4, libdvdread-dev, alsa, libasound2-dev, lame, libmp3lame-dev, debhelper (>= 6), quilt, cdbs (>= 0.4.52ubuntu18), tdelibs14-trinity-dev (>= 3.5.0), libflac++-dev (>= 1.1.2), flac, libdbus-tqt-1-dev, libpopt-dev, libmpcdec-dev, libtag1-dev (>= 1.4-3), libmad0-dev, chrpath, libavformat-dev, libavcodec-dev, libvorbis-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Homepage: http://www.k3b.org
diff --git a/debian/lenny/applications/k3b/debian/patches/series b/debian/lenny/applications/k3b/debian/patches/series
new file mode 100644
index 000000000..bff63cb8c
--- /dev/null
+++ b/debian/lenny/applications/k3b/debian/patches/series
@@ -0,0 +1 @@
+111_advice_kubuntu_restricted_extras.diff
diff --git a/debian/lenny/applications/k3b/debian/rules b/debian/lenny/applications/k3b/debian/rules
index cc895cd83..f3d017250 100755
--- a/debian/lenny/applications/k3b/debian/rules
+++ b/debian/lenny/applications/k3b/debian/rules
@@ -1,7 +1,7 @@
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include debian/cdbs/kde.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/kde5
diff --git a/debian/lenny/applications/k9copy/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/k9copy/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/lenny/applications/k9copy/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/k9copy/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/k9copy/debian/control b/debian/lenny/applications/k9copy/debian/control
index b166a14fd..5b895ca12 100644
--- a/debian/lenny/applications/k9copy/debian/control
+++ b/debian/lenny/applications/k9copy/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Anthony Mercatante <tonio@ubuntu.com>
-Build-Depends: debhelper (>= 5), cdbs, tdelibs14-trinity-dev, docbook2x, docbook-xml, libdvdread-dev, libdbus-1-dev, libk3b-trinity-dev, libavformat-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: debhelper (>= 5), quilt, cdbs, tdelibs14-trinity-dev, docbook2x, docbook-xml, libdvdread-dev, libdbus-1-dev, libk3b-trinity-dev, libavformat-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: k9copy-trinity
diff --git a/debian/lenny/applications/kbfx/debian/patches/.gitignore b/debian/lenny/applications/k9copy/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/lenny/applications/kbfx/debian/patches/.gitignore
+++ b/debian/lenny/applications/k9copy/debian/patches/series
diff --git a/debian/lenny/applications/k9copy/debian/rules b/debian/lenny/applications/k9copy/debian/rules
index 9d406d017..365bf8ac6 100755
--- a/debian/lenny/applications/k9copy/debian/rules
+++ b/debian/lenny/applications/k9copy/debian/rules
@@ -1,7 +1,7 @@
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include debian/cdbs/kde.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/lenny/applications/kaffeine/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/kaffeine/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/lenny/applications/kaffeine/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/kaffeine/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/kaffeine/debian/control b/debian/lenny/applications/kaffeine/debian/control
index f16c8de4a..f7cd853c3 100644
--- a/debian/lenny/applications/kaffeine/debian/control
+++ b/debian/lenny/applications/kaffeine/debian/control
@@ -5,7 +5,7 @@ Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>
Uploaders: Riku Voipio <riku.voipio@iki.fi>, Fathi Boudra <fboudra@free.fr>,
Mark Purcell <msp@debian.org>
-Build-Depends: cdbs, debhelper (>= 5), tdelibs14-trinity-dev,
+Build-Depends: cdbs, debhelper (>= 5), quilt, tdelibs14-trinity-dev,
libcdparanoia0-dev, libogg-dev, libxine2-dev | libxine-dev (>= 1.1.7), libxcb1-dev,
libxtst-dev, libgstreamer0.10-dev, libgstreamer-plugins-base0.10-dev,
libcdio-cdda-dev, libcdio-paranoia-dev,
diff --git a/debian/lenny/applications/kbookreader/debian/patches/.gitignore b/debian/lenny/applications/kaffeine/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/lenny/applications/kbookreader/debian/patches/.gitignore
+++ b/debian/lenny/applications/kaffeine/debian/patches/series
diff --git a/debian/lenny/applications/kaffeine/debian/rules b/debian/lenny/applications/kaffeine/debian/rules
index 5087a0863..3afb59271 100755
--- a/debian/lenny/applications/kaffeine/debian/rules
+++ b/debian/lenny/applications/kaffeine/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/lenny/applications/kasablanca/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/kasablanca/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/debian/lenny/applications/kasablanca/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/kasablanca/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
#include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/kasablanca/debian/control b/debian/lenny/applications/kasablanca/debian/control
index 0e8aed6ad..01515bd06 100644
--- a/debian/lenny/applications/kasablanca/debian/control
+++ b/debian/lenny/applications/kasablanca/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Debian TDE Extras Team <pkg-tde-extras@lists.alioth.debian.org>
Uploaders: Fathi Boudra <fboudra@free.fr>, Mark Purcell <msp@debian.org>
-Build-Depends: cdbs, debhelper (>= 5), automake, libtool, tdelibs14-trinity-dev, docbook2x, docbook-xml
+Build-Depends: cdbs, debhelper (>= 5), quilt, automake, libtool, tdelibs14-trinity-dev, docbook2x, docbook-xml
Standards-Version: 3.8.3
Package: kasablanca-trinity
diff --git a/debian/lenny/applications/kasablanca/debian/patches/series b/debian/lenny/applications/kasablanca/debian/patches/series
new file mode 100644
index 000000000..b8743ddd9
--- /dev/null
+++ b/debian/lenny/applications/kasablanca/debian/patches/series
@@ -0,0 +1,2 @@
+04_am_maintainer_mode.diff
+06_disable_no_undefined.diff
diff --git a/debian/lenny/applications/kasablanca/debian/rules b/debian/lenny/applications/kasablanca/debian/rules
index 76e30e3f1..e12e8b448 100755
--- a/debian/lenny/applications/kasablanca/debian/rules
+++ b/debian/lenny/applications/kasablanca/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include
DEB_CONFIGURE_MANDIR := /opt/trinity/share/man
diff --git a/debian/lenny/applications/katapult/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/katapult/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/lenny/applications/katapult/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/katapult/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/katapult/debian/control b/debian/lenny/applications/katapult/debian/control
index afe221266..9250caf9d 100644
--- a/debian/lenny/applications/katapult/debian/control
+++ b/debian/lenny/applications/katapult/debian/control
@@ -2,7 +2,7 @@ Source: katapult-trinity
Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
-Build-Depends: cdbs (>= 0.4.46ubuntu5), debhelper (>= 5.0.0), tdelibs14-trinity-dev, docbook2x, libxi-dev, sharutils, automake, autoconf, libtool, libltdl-dev
+Build-Depends: cdbs (>= 0.4.46ubuntu5), debhelper (>= 5.0.0), quilt, tdelibs14-trinity-dev, docbook2x, libxi-dev, sharutils, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: katapult-trinity
diff --git a/debian/lenny/applications/kdirstat/debian/patches/.gitignore b/debian/lenny/applications/katapult/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/lenny/applications/kdirstat/debian/patches/.gitignore
+++ b/debian/lenny/applications/katapult/debian/patches/series
diff --git a/debian/lenny/applications/katapult/debian/rules b/debian/lenny/applications/katapult/debian/rules
index 779671876..8f2dd7642 100755
--- a/debian/lenny/applications/katapult/debian/rules
+++ b/debian/lenny/applications/katapult/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
DEB_CONFIGURE_MANDIR := /opt/trinity/share/man
diff --git a/debian/lenny/applications/kbarcode/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/kbarcode/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/lenny/applications/kbarcode/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/kbarcode/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/kbfx/debian/control b/debian/lenny/applications/kbfx/debian/control
index 0f89b49de..9ecf9699b 100644
--- a/debian/lenny/applications/kbfx/debian/control
+++ b/debian/lenny/applications/kbfx/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Uploaders: Fathi Boudra <fboudra@free.fr>, Mark Purcell <msp@debian.org>
-Build-Depends: cdbs, debhelper (>= 5), cmake, tdelibs14-trinity-dev
+Build-Depends: cdbs, debhelper (>= 5), quilt, cmake, tdelibs14-trinity-dev
Standards-Version: 3.8.4
Package: kbfx-trinity
diff --git a/debian/lenny/applications/kdpkg/debian/patches/.gitignore b/debian/lenny/applications/kbfx/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/lenny/applications/kdpkg/debian/patches/.gitignore
+++ b/debian/lenny/applications/kbfx/debian/patches/series
diff --git a/debian/lenny/applications/kbfx/debian/rules b/debian/lenny/applications/kbfx/debian/rules
index 7c57eacb9..ddf86b0bb 100755
--- a/debian/lenny/applications/kbfx/debian/rules
+++ b/debian/lenny/applications/kbfx/debian/rules
@@ -11,7 +11,7 @@ DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinit
include debian/cmake.mk
include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/lenny/applications/kbibtex/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/kbibtex/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/debian/lenny/applications/kbibtex/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/kbibtex/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
#include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/kbiff/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/kbiff/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/debian/lenny/applications/kbiff/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/kbiff/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
#include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/kbookreader/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/kbookreader/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/lenny/applications/kbookreader/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/kbookreader/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/kbookreader/debian/control b/debian/lenny/applications/kbookreader/debian/control
index 34a8fec43..b36c96220 100644
--- a/debian/lenny/applications/kbookreader/debian/control
+++ b/debian/lenny/applications/kbookreader/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Anthony Mercatante <tonio@ubuntu.com>
-Build-Depends: debhelper (>= 5), cdbs, tdelibs14-trinity-dev, docbook2x, automake, autoconf, libtool, libltdl-dev
+Build-Depends: debhelper (>= 5), quilt, cdbs, tdelibs14-trinity-dev, docbook2x, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Homepage: http://k9copy.sourceforge.net/
diff --git a/debian/lenny/applications/kiosktool/debian/patches/.gitignore b/debian/lenny/applications/kbookreader/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/lenny/applications/kiosktool/debian/patches/.gitignore
+++ b/debian/lenny/applications/kbookreader/debian/patches/series
diff --git a/debian/lenny/applications/kbookreader/debian/rules b/debian/lenny/applications/kbookreader/debian/rules
index 53794c4fe..ef1dd49ff 100755
--- a/debian/lenny/applications/kbookreader/debian/rules
+++ b/debian/lenny/applications/kbookreader/debian/rules
@@ -1,7 +1,7 @@
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include debian/cdbs/kde.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/lenny/applications/kcmautostart/debian/control b/debian/lenny/applications/kcmautostart/debian/control
index 2eb9e9c3f..225c33269 100644
--- a/debian/lenny/applications/kcmautostart/debian/control
+++ b/debian/lenny/applications/kcmautostart/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Raphaël Pinson <raphink@raphink.net>
-Build-Depends: debhelper (>= 5), cdbs, tdelibs14-trinity-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: debhelper (>= 5), quilt, cdbs, tdelibs14-trinity-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: kcontrol-autostart-trinity
diff --git a/debian/lenny/applications/kmplayer/debian/patches/.gitignore b/debian/lenny/applications/kcmautostart/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/lenny/applications/kmplayer/debian/patches/.gitignore
+++ b/debian/lenny/applications/kcmautostart/debian/patches/series
diff --git a/debian/lenny/applications/kcmautostart/debian/rules b/debian/lenny/applications/kcmautostart/debian/rules
index 9bed17b05..e4abe53af 100755
--- a/debian/lenny/applications/kcmautostart/debian/rules
+++ b/debian/lenny/applications/kcmautostart/debian/rules
@@ -1,6 +1,6 @@
#!/usr/bin/make -f
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/debhelper.mk
diff --git a/debian/lenny/applications/kcmldap/debian/control b/debian/lenny/applications/kcmldap/debian/control
index 5bdbbbe9c..77afbaf4a 100644
--- a/debian/lenny/applications/kcmldap/debian/control
+++ b/debian/lenny/applications/kcmldap/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Raphaël Pinson <raphink@raphink.net>
-Build-Depends: debhelper (>= 5), cdbs, tdelibs14-trinity-dev, libtdeldap-trinity-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: debhelper (>= 5), quilt, cdbs, tdelibs14-trinity-dev, libtdeldap-trinity-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: kcontrol-ldap-bonding-trinity
diff --git a/debian/lenny/applications/knemo/debian/patches/.gitignore b/debian/lenny/applications/kcmldap/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/lenny/applications/knemo/debian/patches/.gitignore
+++ b/debian/lenny/applications/kcmldap/debian/patches/series
diff --git a/debian/lenny/applications/kcmldap/debian/rules b/debian/lenny/applications/kcmldap/debian/rules
index 9bed17b05..e4abe53af 100755
--- a/debian/lenny/applications/kcmldap/debian/rules
+++ b/debian/lenny/applications/kcmldap/debian/rules
@@ -1,6 +1,6 @@
#!/usr/bin/make -f
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/debhelper.mk
diff --git a/debian/lenny/applications/kcmldapcontroller/debian/control b/debian/lenny/applications/kcmldapcontroller/debian/control
index bd10bfa04..81a9a046d 100644
--- a/debian/lenny/applications/kcmldapcontroller/debian/control
+++ b/debian/lenny/applications/kcmldapcontroller/debian/control
@@ -2,7 +2,7 @@ Source: kcontrol-ldap-controller-trinity
Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
-Build-Depends: debhelper (>= 5), cdbs, tdelibs14-trinity-dev, libldap2-dev, libtdeldap-trinity-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: debhelper (>= 5), quilt, cdbs, tdelibs14-trinity-dev, libldap2-dev, libtdeldap-trinity-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: kcontrol-ldap-controller-trinity
diff --git a/debian/lenny/applications/knetstats/debian/patches/.gitignore b/debian/lenny/applications/kcmldapcontroller/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/lenny/applications/knetstats/debian/patches/.gitignore
+++ b/debian/lenny/applications/kcmldapcontroller/debian/patches/series
diff --git a/debian/lenny/applications/kcmldapcontroller/debian/rules b/debian/lenny/applications/kcmldapcontroller/debian/rules
index 9bed17b05..e4abe53af 100755
--- a/debian/lenny/applications/kcmldapcontroller/debian/rules
+++ b/debian/lenny/applications/kcmldapcontroller/debian/rules
@@ -1,6 +1,6 @@
#!/usr/bin/make -f
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/debhelper.mk
diff --git a/debian/lenny/applications/kcmldapmanager/debian/control b/debian/lenny/applications/kcmldapmanager/debian/control
index 10551309e..70af95ae3 100644
--- a/debian/lenny/applications/kcmldapmanager/debian/control
+++ b/debian/lenny/applications/kcmldapmanager/debian/control
@@ -2,7 +2,7 @@ Source: kcontrol-ldap-manager-trinity
Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
-Build-Depends: debhelper (>= 5), cdbs, tdelibs14-trinity-dev, libldap2-dev, libtdeldap-trinity-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: debhelper (>= 5), quilt, cdbs, tdelibs14-trinity-dev, libldap2-dev, libtdeldap-trinity-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: kcontrol-ldap-manager-trinity
diff --git a/debian/lenny/applications/koffice/debian/patches/.gitignore b/debian/lenny/applications/kcmldapmanager/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/lenny/applications/koffice/debian/patches/.gitignore
+++ b/debian/lenny/applications/kcmldapmanager/debian/patches/series
diff --git a/debian/lenny/applications/kcmldapmanager/debian/rules b/debian/lenny/applications/kcmldapmanager/debian/rules
index 9bed17b05..e4abe53af 100755
--- a/debian/lenny/applications/kcmldapmanager/debian/rules
+++ b/debian/lenny/applications/kcmldapmanager/debian/rules
@@ -1,6 +1,6 @@
#!/usr/bin/make -f
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/debhelper.mk
diff --git a/debian/lenny/applications/kcpuload/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/kcpuload/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/lenny/applications/kcpuload/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/kcpuload/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/kdbg/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/kdbg/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/debian/lenny/applications/kdbg/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/kdbg/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
#include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/kdbusnotification/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/kdbusnotification/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/lenny/applications/kdbusnotification/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/kdbusnotification/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/kdiff3/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/kdiff3/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/lenny/applications/kdiff3/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/kdiff3/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/kdirstat/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/kdirstat/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/lenny/applications/kdirstat/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/kdirstat/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/kdirstat/debian/control b/debian/lenny/applications/kdirstat/debian/control
index 341097934..7f5a1b7ed 100644
--- a/debian/lenny/applications/kdirstat/debian/control
+++ b/debian/lenny/applications/kdirstat/debian/control
@@ -2,7 +2,7 @@ Source: kdirstat-trinity
Section: misc
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
-Build-Depends: cdbs (>= 0.4.41), debhelper (>= 5), tdelibs14-trinity-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: cdbs (>= 0.4.41), debhelper (>= 5), quilt, tdelibs14-trinity-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Homepage: http://kdirstat.sourceforge.net/
diff --git a/debian/lenny/applications/kpowersave.cmake/debian/patches/.gitignore b/debian/lenny/applications/kdirstat/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/lenny/applications/kpowersave.cmake/debian/patches/.gitignore
+++ b/debian/lenny/applications/kdirstat/debian/patches/series
diff --git a/debian/lenny/applications/kdirstat/debian/rules b/debian/lenny/applications/kdirstat/debian/rules
index 8c0a950a3..afa7b060d 100755
--- a/debian/lenny/applications/kdirstat/debian/rules
+++ b/debian/lenny/applications/kdirstat/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
DEB_CONFIGURE_MANDIR := /opt/trinity/share/man
diff --git a/debian/lenny/applications/kdpkg/debian/control b/debian/lenny/applications/kdpkg/debian/control
index 3123a23f7..0fdcb9f25 100644
--- a/debian/lenny/applications/kdpkg/debian/control
+++ b/debian/lenny/applications/kdpkg/debian/control
@@ -3,7 +3,7 @@ Section: admin
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Alexander Kopf <kopf-alexander@gmx.de>
-Build-Depends: cdbs, debhelper (>= 5), tdelibs14-trinity-dev, gettext, automake, autoconf, libtool, libltdl-dev
+Build-Depends: cdbs, debhelper (>= 5), quilt, tdelibs14-trinity-dev, gettext, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: kdpkg-trinity
diff --git a/debian/lenny/applications/kpowersave/debian/patches/.gitignore b/debian/lenny/applications/kdpkg/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/lenny/applications/kpowersave/debian/patches/.gitignore
+++ b/debian/lenny/applications/kdpkg/debian/patches/series
diff --git a/debian/lenny/applications/kdpkg/debian/rules b/debian/lenny/applications/kdpkg/debian/rules
index 455414f69..2ff6ee66f 100755
--- a/debian/lenny/applications/kdpkg/debian/rules
+++ b/debian/lenny/applications/kdpkg/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
DEB_CONFIGURE_MANDIR := /opt/trinity/share/man
diff --git a/debian/lenny/applications/keep/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/keep/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/lenny/applications/keep/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/keep/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/keep/debian/control b/debian/lenny/applications/keep/debian/control
index 4f380fc56..4048f3218 100644
--- a/debian/lenny/applications/keep/debian/control
+++ b/debian/lenny/applications/keep/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>
Uploaders: Fathi Boudra <fboudra@free.fr>, Mark Purcell <msp@debian.org>
-Build-Depends: cdbs, debhelper (>= 5), tdelibs14-trinity-dev, docbook2x, docbook-xml, automake, autoconf, libtool, libltdl-dev
+Build-Depends: cdbs, debhelper (>= 5), quilt, tdelibs14-trinity-dev, docbook2x, docbook-xml, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: keep-trinity
diff --git a/debian/lenny/applications/keep/debian/patches/series b/debian/lenny/applications/keep/debian/patches/series
new file mode 100644
index 000000000..9ccf4a125
--- /dev/null
+++ b/debian/lenny/applications/keep/debian/patches/series
@@ -0,0 +1 @@
+kubuntu_01_kdepot.diff
diff --git a/debian/lenny/applications/keep/debian/rules b/debian/lenny/applications/keep/debian/rules
index c08262790..ae055a958 100755
--- a/debian/lenny/applications/keep/debian/rules
+++ b/debian/lenny/applications/keep/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/lenny/applications/kerberostray/debian/control b/debian/lenny/applications/kerberostray/debian/control
index 215814458..bf4d6c2e5 100644
--- a/debian/lenny/applications/kerberostray/debian/control
+++ b/debian/lenny/applications/kerberostray/debian/control
@@ -2,7 +2,7 @@ Source: kerberostray-trinity
Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
-Build-Depends: debhelper (>= 5), cdbs, tdelibs14-trinity-dev, libtdeldap-trinity-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: debhelper (>= 5), quilt, cdbs, tdelibs14-trinity-dev, libtdeldap-trinity-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: kerberostray-trinity
diff --git a/debian/lenny/applications/krusader/debian/patches/.gitignore b/debian/lenny/applications/kerberostray/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/lenny/applications/krusader/debian/patches/.gitignore
+++ b/debian/lenny/applications/kerberostray/debian/patches/series
diff --git a/debian/lenny/applications/kerberostray/debian/rules b/debian/lenny/applications/kerberostray/debian/rules
index 9bed17b05..e4abe53af 100755
--- a/debian/lenny/applications/kerberostray/debian/rules
+++ b/debian/lenny/applications/kerberostray/debian/rules
@@ -1,6 +1,6 @@
#!/usr/bin/make -f
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/debhelper.mk
diff --git a/debian/lenny/applications/kerry/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/kerry/debian/cdbs/debian-qt-kde.mk
index 4a11bc028..6b7b16643 100644
--- a/debian/lenny/applications/kerry/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/kerry/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/kerry/debian/control b/debian/lenny/applications/kerry/debian/control
index 432af377d..5f6563c67 100644
--- a/debian/lenny/applications/kerry/debian/control
+++ b/debian/lenny/applications/kerry/debian/control
@@ -2,7 +2,7 @@ Source: kerry-trinity
Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
-Build-Depends: debhelper (>= 5.0.0), cdbs, tdelibs14-trinity-dev, libkonq4-trinity-dev, libbeagle-dev (>= 0.3.0), docbook2x, chrpath, automake, autoconf, libtool, libltdl-dev
+Build-Depends: debhelper (>= 5.0.0), quilt, cdbs, tdelibs14-trinity-dev, libkonq4-trinity-dev, libbeagle-dev (>= 0.3.0), docbook2x, chrpath, automake, autoconf, libtool, libltdl-dev
Homepage: http://en.opensuse.org/Kerry
Standards-Version: 3.8.4
diff --git a/debian/lenny/applications/ksystemlog/debian/patches/.gitignore b/debian/lenny/applications/kerry/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/lenny/applications/ksystemlog/debian/patches/.gitignore
+++ b/debian/lenny/applications/kerry/debian/patches/series
diff --git a/debian/lenny/applications/kerry/debian/rules b/debian/lenny/applications/kerry/debian/rules
index dea466c17..7b26c5eb5 100755
--- a/debian/lenny/applications/kerry/debian/rules
+++ b/debian/lenny/applications/kerry/debian/rules
@@ -1,7 +1,7 @@
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
# include /usr/share/cdbs/1/class/kde.mk
include debian/cdbs/debian-qt-kde.mk
diff --git a/debian/lenny/applications/kftpgrabber/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/kftpgrabber/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/debian/lenny/applications/kftpgrabber/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/kftpgrabber/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
#include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/kftpgrabber/debian/control b/debian/lenny/applications/kftpgrabber/debian/control
index eaa793711..3e06c17d3 100644
--- a/debian/lenny/applications/kftpgrabber/debian/control
+++ b/debian/lenny/applications/kftpgrabber/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Debian TDE Extras Team <pkg-tde-extras@lists.alioth.debian.org>
Uploaders: Fathi Boudra <fabo@debian.org>, Mark Purcell <msp@debian.org>, Michael Meskes <meskes@debian.org>
-Build-Depends: cdbs, debhelper (>= 5), automake, libtool, tdelibs14-trinity-dev, docbook2x, docbook-xml
+Build-Depends: cdbs, debhelper (>= 5), quilt, automake, libtool, tdelibs14-trinity-dev, docbook2x, docbook-xml
Standards-Version: 3.8.3
Homepage: http://www.kftp.org
diff --git a/debian/lenny/applications/ktorrent/debian/patches/.gitignore b/debian/lenny/applications/kftpgrabber/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/lenny/applications/ktorrent/debian/patches/.gitignore
+++ b/debian/lenny/applications/kftpgrabber/debian/patches/series
diff --git a/debian/lenny/applications/kftpgrabber/debian/rules b/debian/lenny/applications/kftpgrabber/debian/rules
index 51e8bf7a9..64be165cd 100755
--- a/debian/lenny/applications/kftpgrabber/debian/rules
+++ b/debian/lenny/applications/kftpgrabber/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include
diff --git a/debian/lenny/applications/kgtk-qt3/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/kgtk-qt3/debian/cdbs/debian-qt-kde.mk
index 5e704aa4a..c5d8ecfd3 100644
--- a/debian/lenny/applications/kgtk-qt3/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/kgtk-qt3/debian/cdbs/debian-qt-kde.mk
@@ -15,7 +15,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/kgtk-qt3/debian/control b/debian/lenny/applications/kgtk-qt3/debian/control
index 253fe5cb6..fd84fc01c 100644
--- a/debian/lenny/applications/kgtk-qt3/debian/control
+++ b/debian/lenny/applications/kgtk-qt3/debian/control
@@ -2,7 +2,7 @@ Source: kgtk-qt3-trinity
Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
-Build-Depends: debhelper (>= 7), cdbs, tdelibs14-trinity-dev, libgtk2.0-dev, libtqtinterface-dev, cmake
+Build-Depends: debhelper (>= 7), quilt, cdbs, tdelibs14-trinity-dev, libgtk2.0-dev, libtqtinterface-dev, cmake
Standards-Version: 3.8.4
Homepage: http://trinity.pearsoncomputing.net
diff --git a/debian/lenny/applications/kvirc/debian/patches/.gitignore b/debian/lenny/applications/kgtk-qt3/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/lenny/applications/kvirc/debian/patches/.gitignore
+++ b/debian/lenny/applications/kgtk-qt3/debian/patches/series
diff --git a/debian/lenny/applications/kgtk-qt3/debian/rules b/debian/lenny/applications/kgtk-qt3/debian/rules
index b4cb7a953..91c8ec995 100755
--- a/debian/lenny/applications/kgtk-qt3/debian/rules
+++ b/debian/lenny/applications/kgtk-qt3/debian/rules
@@ -11,7 +11,7 @@ export LD_LIBRARY_PATH
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
include debian/cdbs/debian-qt-kde.mk
diff --git a/debian/lenny/applications/kile/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/kile/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/lenny/applications/kile/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/kile/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/kiosktool/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/kiosktool/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/lenny/applications/kiosktool/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/kiosktool/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/kiosktool/debian/control b/debian/lenny/applications/kiosktool/debian/control
index 322d2b3b4..6779d88ff 100644
--- a/debian/lenny/applications/kiosktool/debian/control
+++ b/debian/lenny/applications/kiosktool/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Pedro Jurado Maqueda <melenas@kdehispano.org>
-Build-Depends: debhelper (>= 4.1.0), cdbs, tdelibs14-trinity-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: debhelper (>= 4.1.0), quilt, cdbs, tdelibs14-trinity-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: kiosktool-trinity
diff --git a/debian/lenny/applications/kvkbd/debian/patches/.gitignore b/debian/lenny/applications/kiosktool/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/lenny/applications/kvkbd/debian/patches/.gitignore
+++ b/debian/lenny/applications/kiosktool/debian/patches/series
diff --git a/debian/lenny/applications/kiosktool/debian/rules b/debian/lenny/applications/kiosktool/debian/rules
index 507e5a458..7e010577d 100755
--- a/debian/lenny/applications/kiosktool/debian/rules
+++ b/debian/lenny/applications/kiosktool/debian/rules
@@ -1,7 +1,7 @@
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include debian/cdbs/kde.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/lenny/applications/kkbswitch/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/kkbswitch/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/debian/lenny/applications/kkbswitch/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/kkbswitch/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
#include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/klcddimmer/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/klcddimmer/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/debian/lenny/applications/klcddimmer/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/klcddimmer/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
#include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/kmplayer/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/kmplayer/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/lenny/applications/kmplayer/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/kmplayer/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/kmplayer/debian/control b/debian/lenny/applications/kmplayer/debian/control
index 26e85a2ed..3843dc2b7 100644
--- a/debian/lenny/applications/kmplayer/debian/control
+++ b/debian/lenny/applications/kmplayer/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>
Uploaders: Fathi Boudra <fboudra@free.fr>, Mark Purcell <msp@debian.org>
-Build-Depends: cdbs, debhelper (>= 5), tdelibs14-trinity-dev,
+Build-Depends: cdbs, debhelper (>= 5), quilt, tdelibs14-trinity-dev,
libcairo2-dev, libdbus-1-dev, libdbus-glib-1-dev, libdbus-tqt-1-dev,
libgstreamer-plugins-base0.10-dev, libgtk2.0-dev, libxine2-dev | libxine-dev, libxv-dev, docbook2x,
automake, autoconf, libtool, libltdl-dev
diff --git a/debian/lenny/applications/piklab/debian/patches/.gitignore b/debian/lenny/applications/kmplayer/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/lenny/applications/piklab/debian/patches/.gitignore
+++ b/debian/lenny/applications/kmplayer/debian/patches/series
diff --git a/debian/lenny/applications/kmplayer/debian/rules b/debian/lenny/applications/kmplayer/debian/rules
index 2c29e9b14..093944c34 100755
--- a/debian/lenny/applications/kmplayer/debian/rules
+++ b/debian/lenny/applications/kmplayer/debian/rules
@@ -1,7 +1,7 @@
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include debian/cdbs/kde.mk
include /usr/share/cdbs/1/rules/utils.mk
diff --git a/debian/lenny/applications/kmymoney/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/kmymoney/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/lenny/applications/kmymoney/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/kmymoney/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/kmymoney/debian/control b/debian/lenny/applications/kmymoney/debian/control
index ef3eb2188..58d0cac2a 100644
--- a/debian/lenny/applications/kmymoney/debian/control
+++ b/debian/lenny/applications/kmymoney/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>
Uploaders: Mark Purcell <msp@debian.org>, Fathi Boudra <fabo@debian.org>
-Build-Depends: debhelper (>= 7.0.50~), cdbs, chrpath, automake, libtool, tdelibs14-trinity-dev, libofx-dev, libsqlite3-dev, recode, html2ps
+Build-Depends: debhelper (>= 7.0.50~), quilt, cdbs, chrpath, automake, libtool, tdelibs14-trinity-dev, libofx-dev, libsqlite3-dev, recode, html2ps
Standards-Version: 3.8.4
Package: kmymoney2-trinity
diff --git a/debian/lenny/applications/rosegarden/debian/patches/.gitignore b/debian/lenny/applications/kmymoney/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/lenny/applications/rosegarden/debian/patches/.gitignore
+++ b/debian/lenny/applications/kmymoney/debian/patches/series
diff --git a/debian/lenny/applications/kmymoney/debian/rules b/debian/lenny/applications/kmymoney/debian/rules
index 4c3b55cb4..d636191c4 100755
--- a/debian/lenny/applications/kmymoney/debian/rules
+++ b/debian/lenny/applications/kmymoney/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
DEB_CONFIGURE_MANDIR := /opt/trinity/share/man
diff --git a/debian/lenny/applications/knemo/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/knemo/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/lenny/applications/knemo/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/knemo/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/knemo/debian/control b/debian/lenny/applications/knemo/debian/control
index e92e60364..e11fc58c2 100644
--- a/debian/lenny/applications/knemo/debian/control
+++ b/debian/lenny/applications/knemo/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Uploaders: Achim Bohnet <ach@mpe.mpg.de>, Mark Purcell <msp@debian.org>
-Build-Depends: debhelper (>> 4.1), cdbs, tdelibs14-trinity-dev, net-tools, wireless-tools, libiw-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: debhelper (>> 4.1), quilt, cdbs, tdelibs14-trinity-dev, net-tools, wireless-tools, libiw-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: knemo-trinity
diff --git a/debian/lenny/applications/tde-guidance/debian/patches/.gitignore b/debian/lenny/applications/knemo/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/lenny/applications/tde-guidance/debian/patches/.gitignore
+++ b/debian/lenny/applications/knemo/debian/patches/series
diff --git a/debian/lenny/applications/knemo/debian/rules b/debian/lenny/applications/knemo/debian/rules
index 345d9f54d..9e3a13754 100755
--- a/debian/lenny/applications/knemo/debian/rules
+++ b/debian/lenny/applications/knemo/debian/rules
@@ -1,7 +1,7 @@
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include debian/cdbs/kde.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/lenny/applications/knetstats/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/knetstats/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/lenny/applications/knetstats/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/knetstats/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/knetstats/debian/control b/debian/lenny/applications/knetstats/debian/control
index 600b079f8..41d913327 100644
--- a/debian/lenny/applications/knetstats/debian/control
+++ b/debian/lenny/applications/knetstats/debian/control
@@ -2,7 +2,7 @@ Source: knetstats-trinity
Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
-Build-Depends: debhelper (>= 5.0), cdbs, tdelibs14-trinity-dev, docbook2x, automake, autoconf, libtool, libltdl-dev
+Build-Depends: debhelper (>= 5.0), quilt, cdbs, tdelibs14-trinity-dev, docbook2x, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Homepage: http://knetstats.sourceforge.net/
diff --git a/debian/lenny/applications/tde-style-qtcurve/debian/patches/.gitignore b/debian/lenny/applications/knetstats/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/lenny/applications/tde-style-qtcurve/debian/patches/.gitignore
+++ b/debian/lenny/applications/knetstats/debian/patches/series
diff --git a/debian/lenny/applications/knetstats/debian/rules b/debian/lenny/applications/knetstats/debian/rules
index 1a573fb20..7da95d739 100755
--- a/debian/lenny/applications/knetstats/debian/rules
+++ b/debian/lenny/applications/knetstats/debian/rules
@@ -1,7 +1,7 @@
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include debian/cdbs/kde.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/lenny/applications/knetworkmanager.cmake/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/knetworkmanager.cmake/debian/cdbs/debian-qt-kde.mk
index 345cc0a61..fb36ac52f 100644
--- a/debian/lenny/applications/knetworkmanager.cmake/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/knetworkmanager.cmake/debian/cdbs/debian-qt-kde.mk
@@ -15,7 +15,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/knetworkmanager.cmake/debian/rules b/debian/lenny/applications/knetworkmanager.cmake/debian/rules
index 5043dd652..7b801da5f 100755
--- a/debian/lenny/applications/knetworkmanager.cmake/debian/rules
+++ b/debian/lenny/applications/knetworkmanager.cmake/debian/rules
@@ -11,7 +11,7 @@ export LD_LIBRARY_PATH
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
include debian/cdbs/debian-qt-kde.mk
diff --git a/debian/lenny/applications/knetworkmanager8/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/knetworkmanager8/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/lenny/applications/knetworkmanager8/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/knetworkmanager8/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/knmap/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/knmap/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/debian/lenny/applications/knmap/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/knmap/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
#include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/knmap/debian/control b/debian/lenny/applications/knmap/debian/control
index ff43fd3f7..6b8893341 100644
--- a/debian/lenny/applications/knmap/debian/control
+++ b/debian/lenny/applications/knmap/debian/control
@@ -2,7 +2,7 @@ Source: knmap-trinity
Section: tde
Priority: extra
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
-Build-Depends: debhelper (>> 5), autotools-dev, tdelibs14-trinity-dev, automake, libtool, cdbs, docbook2x, docbook-xml
+Build-Depends: debhelper (>> 5), quilt, autotools-dev, tdelibs14-trinity-dev, automake, libtool, cdbs, docbook2x, docbook-xml
Standards-Version: 3.8.2
Package: knmap-trinity
diff --git a/debian/lenny/applications/tde-systemsettings/debian/patches/.gitignore b/debian/lenny/applications/knmap/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/lenny/applications/tde-systemsettings/debian/patches/.gitignore
+++ b/debian/lenny/applications/knmap/debian/patches/series
diff --git a/debian/lenny/applications/knmap/debian/rules b/debian/lenny/applications/knmap/debian/rules
index 348e53573..7a20baa99 100755
--- a/debian/lenny/applications/knmap/debian/rules
+++ b/debian/lenny/applications/knmap/debian/rules
@@ -1,6 +1,6 @@
#!/usr/bin/make -f
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/kde.mk
diff --git a/debian/lenny/applications/koffice/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/koffice/debian/cdbs/debian-qt-kde.mk
index b93e7c154..a803f50d6 100644
--- a/debian/lenny/applications/koffice/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/koffice/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/koffice/debian/control b/debian/lenny/applications/koffice/debian/control
index ed66aecc6..57604185f 100644
--- a/debian/lenny/applications/koffice/debian/control
+++ b/debian/lenny/applications/koffice/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Uploaders: Ana Beatriz Guerrero Lopez <ana@debian.org>, Ral Snchez Siles <rasasi78@gmail.com>
-Build-Depends: cdbs (>= 0.4.52ubuntu18), debhelper (>= 5), binutils (>= 2.14.90.0.7), recode, docbook-to-man, gawk, gettext, flex, tdelibs14-trinity-dev (>= 4:3.4.3), libaspell-dev, libfontconfig1-dev, libopenexr-dev, libpaper-dev, libreadline5-dev | libreadline6-dev, libtiff-dev, libwv2-dev (>= 0.2.2-4), libxml2-dev, libxslt1-dev, python-dev, ruby, ruby-dev, libwpd-dev, libpqxx-dev | libpqxx3-dev, libmysqlclient15-dev | libmysqlclient16-dev | libmysqlclient18-dev, sharutils, bzip2, libpoppler-tqt-dev, libexif-dev, libasound2-dev, libogg-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: cdbs (>= 0.4.52ubuntu18), debhelper (>= 5), quilt, binutils (>= 2.14.90.0.7), recode, docbook-to-man, gawk, gettext, flex, tdelibs14-trinity-dev (>= 4:3.4.3), libaspell-dev, libfontconfig1-dev, libopenexr-dev, libpaper-dev, libreadline5-dev | libreadline6-dev, libtiff-dev, libwv2-dev (>= 0.2.2-4), libxml2-dev, libxslt1-dev, python-dev, ruby, ruby-dev, libwpd-dev, libpqxx-dev | libpqxx3-dev, libmysqlclient15-dev | libmysqlclient16-dev | libmysqlclient18-dev, sharutils, bzip2, libpoppler-tqt-dev, libexif-dev, libasound2-dev, libogg-dev, automake, autoconf, libtool, libltdl-dev
Build-Depends-Indep: libtqtinterface-doc, graphviz, gsfonts-x11
Standards-Version: 3.8.4
Homepage: http://www.koffice.org
diff --git a/debian/lenny/applications/tdeio-apt/debian/patches/.gitignore b/debian/lenny/applications/koffice/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/lenny/applications/tdeio-apt/debian/patches/.gitignore
+++ b/debian/lenny/applications/koffice/debian/patches/series
diff --git a/debian/lenny/applications/koffice/debian/rules b/debian/lenny/applications/koffice/debian/rules
index ed91a11c3..495d85db8 100755
--- a/debian/lenny/applications/koffice/debian/rules
+++ b/debian/lenny/applications/koffice/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/debian-qt-kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/lenny/applications/konversation/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/konversation/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/lenny/applications/konversation/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/konversation/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/kopete-otr/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/kopete-otr/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/lenny/applications/kopete-otr/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/kopete-otr/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/kpilot/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/kpilot/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/lenny/applications/kpilot/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/kpilot/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/kpowersave.cmake/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/kpowersave.cmake/debian/cdbs/debian-qt-kde.mk
index 345cc0a61..fb36ac52f 100644
--- a/debian/lenny/applications/kpowersave.cmake/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/kpowersave.cmake/debian/cdbs/debian-qt-kde.mk
@@ -15,7 +15,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/kpowersave.cmake/debian/control b/debian/lenny/applications/kpowersave.cmake/debian/control
index 3764a2501..69515ab10 100644
--- a/debian/lenny/applications/kpowersave.cmake/debian/control
+++ b/debian/lenny/applications/kpowersave.cmake/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Michael Biebl <biebl@debian.org>
-Build-Depends: cdbs, debhelper (>= 5.0.0), tdelibs14-trinity-dev, libxss-dev, libxtst-dev, libhal-dev (>= 0.5.6), libdbus-1-dev (>= 0.6), libdbus-tqt-1-dev, libtool, libltdl-dev, cmake
+Build-Depends: cdbs, debhelper (>= 5.0.0), quilt, tdelibs14-trinity-dev, libxss-dev, libxtst-dev, libhal-dev (>= 0.5.6), libdbus-1-dev (>= 0.6), libdbus-tqt-1-dev, libtool, libltdl-dev, cmake
Standards-Version: 3.8.4
Homepage: http://sourceforge.net/projects/powersave/
diff --git a/debian/lenny/applications/tdeio-umountwrapper/debian/patches/.gitignore b/debian/lenny/applications/kpowersave.cmake/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/lenny/applications/tdeio-umountwrapper/debian/patches/.gitignore
+++ b/debian/lenny/applications/kpowersave.cmake/debian/patches/series
diff --git a/debian/lenny/applications/kpowersave.cmake/debian/rules b/debian/lenny/applications/kpowersave.cmake/debian/rules
index 0d2383bae..6d3ac5584 100755
--- a/debian/lenny/applications/kpowersave.cmake/debian/rules
+++ b/debian/lenny/applications/kpowersave.cmake/debian/rules
@@ -11,7 +11,7 @@ export LD_LIBRARY_PATH
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
include debian/cdbs/debian-qt-kde.mk
diff --git a/debian/lenny/applications/kpowersave/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/kpowersave/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/lenny/applications/kpowersave/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/kpowersave/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/kpowersave/debian/control b/debian/lenny/applications/kpowersave/debian/control
index 98d35e654..9de632947 100644
--- a/debian/lenny/applications/kpowersave/debian/control
+++ b/debian/lenny/applications/kpowersave/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Michael Biebl <biebl@debian.org>
-Build-Depends: cdbs, debhelper (>= 5.0.0), tdelibs14-trinity-dev, libxss-dev, libxtst-dev, libhal-dev (>= 0.5.6), libdbus-1-dev (>= 0.6), libdbus-tqt-1-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: cdbs, debhelper (>= 5.0.0), quilt, tdelibs14-trinity-dev, libxss-dev, libxtst-dev, libhal-dev (>= 0.5.6), libdbus-1-dev (>= 0.6), libdbus-tqt-1-dev, automake, autoconf, libtool, libltdl-dev
Build-Conflicts: autoconf2.13
Standards-Version: 3.8.4
Homepage: http://sourceforge.net/projects/powersave/
diff --git a/debian/lenny/applications/tdepowersave/debian/patches/.gitignore b/debian/lenny/applications/kpowersave/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/lenny/applications/tdepowersave/debian/patches/.gitignore
+++ b/debian/lenny/applications/kpowersave/debian/patches/series
diff --git a/debian/lenny/applications/kpowersave/debian/rules b/debian/lenny/applications/kpowersave/debian/rules
index 0cf9afbec..fb0e95a07 100755
--- a/debian/lenny/applications/kpowersave/debian/rules
+++ b/debian/lenny/applications/kpowersave/debian/rules
@@ -2,7 +2,7 @@
include debian/cdbs/kde.mk
include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
DEB_CONFIGURE_MANDIR := /opt/trinity/share/man
diff --git a/debian/lenny/applications/krecipes/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/krecipes/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/debian/lenny/applications/krecipes/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/krecipes/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
#include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/krename/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/krename/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/lenny/applications/krename/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/krename/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/krename/debian/control b/debian/lenny/applications/krename/debian/control
index 647940933..87d98d5d8 100644
--- a/debian/lenny/applications/krename/debian/control
+++ b/debian/lenny/applications/krename/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Uploaders: Richard A. Johnson <nixternal@ubuntu.com>
-Build-Depends: debhelper (>= 5), cdbs, tdelibs14-trinity-dev, patchutils, libx11-dev, libxext-dev, libxpm-dev, x-dev | x11proto-core-dev | libx11-dev, perl, automake, autoconf, libtool, libltdl-dev
+Build-Depends: debhelper (>= 5), quilt, cdbs, tdelibs14-trinity-dev, patchutils, libx11-dev, libxext-dev, libxpm-dev, x-dev | x11proto-core-dev | libx11-dev, perl, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: krename-trinity
diff --git a/debian/lenny/applications/tdesudo/debian/patches/.gitignore b/debian/lenny/applications/krename/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/lenny/applications/tdesudo/debian/patches/.gitignore
+++ b/debian/lenny/applications/krename/debian/patches/series
diff --git a/debian/lenny/applications/krename/debian/rules b/debian/lenny/applications/krename/debian/rules
index 4983ad699..7df9beee2 100755
--- a/debian/lenny/applications/krename/debian/rules
+++ b/debian/lenny/applications/krename/debian/rules
@@ -4,7 +4,7 @@ DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
DEB_CONFIGURE_MANDIR := /opt/trinity/share/man
diff --git a/debian/lenny/applications/krusader/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/krusader/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/lenny/applications/krusader/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/krusader/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/krusader/debian/control b/debian/lenny/applications/krusader/debian/control
index cf06f9ab8..c434dd86d 100644
--- a/debian/lenny/applications/krusader/debian/control
+++ b/debian/lenny/applications/krusader/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Uploaders: Fathi Boudra <fabo@debian.org>, Mark Purcell <msp@debian.org>
-Build-Depends: cdbs, debhelper (>= 5), libkonq4-trinity-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: cdbs, debhelper (>= 5), quilt, libkonq4-trinity-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Homepage: http://krusader.sourceforge.net
diff --git a/debian/lenny/applications/twin-style-crystal/debian/patches/.gitignore b/debian/lenny/applications/krusader/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/lenny/applications/twin-style-crystal/debian/patches/.gitignore
+++ b/debian/lenny/applications/krusader/debian/patches/series
diff --git a/debian/lenny/applications/krusader/debian/rules b/debian/lenny/applications/krusader/debian/rules
index 4b297b1ae..d27f15ff5 100755
--- a/debian/lenny/applications/krusader/debian/rules
+++ b/debian/lenny/applications/krusader/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/lenny/applications/ksensors/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/ksensors/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/debian/lenny/applications/ksensors/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/ksensors/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
#include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/ksensors/debian/control b/debian/lenny/applications/ksensors/debian/control
index f0ba5d2d4..e7de2b810 100644
--- a/debian/lenny/applications/ksensors/debian/control
+++ b/debian/lenny/applications/ksensors/debian/control
@@ -2,7 +2,7 @@ Source: ksensors-trinity
Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
-Build-Depends: debhelper (>> 5), cdbs, autotools-dev, automake, autoconf, libtool, libsensors4-dev, tdelibs14-trinity-dev, imagemagick
+Build-Depends: debhelper (>> 5), quilt, cdbs, autotools-dev, automake, autoconf, libtool, libsensors4-dev, tdelibs14-trinity-dev, imagemagick
Build-Conflicts: autoconf2.13
Standards-Version: 3.8.3
diff --git a/debian/lenny/applications/wlassistant/debian/patches/.gitignore b/debian/lenny/applications/ksensors/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/lenny/applications/wlassistant/debian/patches/.gitignore
+++ b/debian/lenny/applications/ksensors/debian/patches/series
diff --git a/debian/lenny/applications/ksensors/debian/rules b/debian/lenny/applications/ksensors/debian/rules
index 8b97ef030..8030d443a 100755
--- a/debian/lenny/applications/ksensors/debian/rules
+++ b/debian/lenny/applications/ksensors/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include
DEB_CONFIGURE_MANDIR := /opt/trinity/share/man
diff --git a/debian/lenny/applications/kshowmail/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/kshowmail/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/debian/lenny/applications/kshowmail/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/kshowmail/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
#include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/kshutdown/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/kshutdown/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/debian/lenny/applications/kshutdown/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/kshutdown/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
#include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/ksystemlog/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/ksystemlog/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/lenny/applications/ksystemlog/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/ksystemlog/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/ksystemlog/debian/control b/debian/lenny/applications/ksystemlog/debian/control
index a2266c11c..090c9bdaf 100644
--- a/debian/lenny/applications/ksystemlog/debian/control
+++ b/debian/lenny/applications/ksystemlog/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>
Uploaders: Fathi Boudra <fboudra@free.fr>, Mark Purcell <msp@debian.org>
-Build-Depends: cdbs, debhelper (>= 5), tdelibs14-trinity-dev, docbook2x, automake, autoconf, libtool, libltdl-dev
+Build-Depends: cdbs, debhelper (>= 5), quilt, tdelibs14-trinity-dev, docbook2x, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: ksystemlog-trinity
diff --git a/debian/lenny/libraries/libkipi/debian/patches/.gitignore b/debian/lenny/applications/ksystemlog/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/lenny/libraries/libkipi/debian/patches/.gitignore
+++ b/debian/lenny/applications/ksystemlog/debian/patches/series
diff --git a/debian/lenny/applications/ksystemlog/debian/rules b/debian/lenny/applications/ksystemlog/debian/rules
index 5b9d63684..f28f54627 100755
--- a/debian/lenny/applications/ksystemlog/debian/rules
+++ b/debian/lenny/applications/ksystemlog/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
DEB_CONFIGURE_MANDIR := /opt/trinity/share/man
diff --git a/debian/lenny/applications/ktorrent/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/ktorrent/debian/cdbs/debian-qt-kde.mk
index b93e7c154..a803f50d6 100644
--- a/debian/lenny/applications/ktorrent/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/ktorrent/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/ktorrent/debian/control b/debian/lenny/applications/ktorrent/debian/control
index b51a9b726..d2916b49e 100644
--- a/debian/lenny/applications/ktorrent/debian/control
+++ b/debian/lenny/applications/ktorrent/debian/control
@@ -2,7 +2,7 @@ Source: ktorrent-trinity
Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
-Build-Depends: debhelper (>= 5.0), cdbs, docbook2x, tdelibs14-trinity-dev, libpcre3-dev, libx11-dev, libgmp3-dev, libavahi-tqt-dev, libgeoip-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: debhelper (>= 5.0), quilt, cdbs, docbook2x, tdelibs14-trinity-dev, libpcre3-dev, libx11-dev, libgmp3-dev, libavahi-tqt-dev, libgeoip-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: ktorrent-trinity
diff --git a/debian/lenny/tdegraphics/debian/patches/.gitignore b/debian/lenny/applications/ktorrent/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/lenny/tdegraphics/debian/patches/.gitignore
+++ b/debian/lenny/applications/ktorrent/debian/patches/series
diff --git a/debian/lenny/applications/ktorrent/debian/rules b/debian/lenny/applications/ktorrent/debian/rules
index d0046eb44..862c88e23 100755
--- a/debian/lenny/applications/ktorrent/debian/rules
+++ b/debian/lenny/applications/ktorrent/debian/rules
@@ -1,7 +1,7 @@
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include debian/cdbs/debian-qt-kde.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/lenny/applications/kuickshow/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/kuickshow/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/lenny/applications/kuickshow/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/kuickshow/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/kuickshow/debian/control b/debian/lenny/applications/kuickshow/debian/control
index 5244beea1..90492e544 100644
--- a/debian/lenny/applications/kuickshow/debian/control
+++ b/debian/lenny/applications/kuickshow/debian/control
@@ -2,7 +2,7 @@ Source: kuickshow-trinity
Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
-Build-Depends: cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), gawk, tdelibs14-trinity-dev, imlib11-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), quilt, gawk, tdelibs14-trinity-dev, imlib11-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: kuickshow-trinity
diff --git a/debian/lenny/tdepim/debian/patches/.gitignore b/debian/lenny/applications/kuickshow/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/lenny/tdepim/debian/patches/.gitignore
+++ b/debian/lenny/applications/kuickshow/debian/patches/series
diff --git a/debian/lenny/applications/kuickshow/debian/rules b/debian/lenny/applications/kuickshow/debian/rules
index 46fe966da..1f3a7d8fc 100755
--- a/debian/lenny/applications/kuickshow/debian/rules
+++ b/debian/lenny/applications/kuickshow/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/debian-qt-kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/lenny/applications/kvirc/debian/control b/debian/lenny/applications/kvirc/debian/control
index 620e8e29c..07a222fa5 100644
--- a/debian/lenny/applications/kvirc/debian/control
+++ b/debian/lenny/applications/kvirc/debian/control
@@ -1,5 +1,5 @@
Source: kvirc-trinity
-Build-Depends: cdbs (>= 0.4.12), debhelper (>= 4.1.46), tdelibs14-trinity-dev (>= 4:3.1.3), libesd0-dev, libperl-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: cdbs (>= 0.4.12), debhelper (>= 4.1.46), quilt, tdelibs14-trinity-dev (>= 4:3.1.3), libesd0-dev, libperl-dev, automake, autoconf, libtool, libltdl-dev
Section: net
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
diff --git a/debian/squeeze/applications/adept/debian/patches/.gitignore b/debian/lenny/applications/kvirc/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/squeeze/applications/adept/debian/patches/.gitignore
+++ b/debian/lenny/applications/kvirc/debian/patches/series
diff --git a/debian/lenny/applications/kvirc/debian/rules b/debian/lenny/applications/kvirc/debian/rules
index 0cb35b452..d0de2524f 100755
--- a/debian/lenny/applications/kvirc/debian/rules
+++ b/debian/lenny/applications/kvirc/debian/rules
@@ -15,7 +15,7 @@ common-configure-impl::
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
DEB_CONFIGURE_MANDIR := /opt/trinity/share/man
diff --git a/debian/lenny/applications/kvkbd/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/kvkbd/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/lenny/applications/kvkbd/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/kvkbd/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/kvkbd/debian/control b/debian/lenny/applications/kvkbd/debian/control
index 9377fc71b..ee7ec6d2e 100644
--- a/debian/lenny/applications/kvkbd/debian/control
+++ b/debian/lenny/applications/kvkbd/debian/control
@@ -2,7 +2,7 @@ Source: kvkbd-trinity
Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
-Build-Depends: debhelper (>= 5), cdbs, libxtst-dev, tdelibs14-trinity-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: debhelper (>= 5), quilt, cdbs, libxtst-dev, tdelibs14-trinity-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Homepage: http://pan4os.info/main/index.php
diff --git a/debian/squeeze/applications/bibletime/debian/patches/.gitignore b/debian/lenny/applications/kvkbd/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/squeeze/applications/bibletime/debian/patches/.gitignore
+++ b/debian/lenny/applications/kvkbd/debian/patches/series
diff --git a/debian/lenny/applications/kvkbd/debian/rules b/debian/lenny/applications/kvkbd/debian/rules
index 0f564108e..1ac5329b7 100755
--- a/debian/lenny/applications/kvkbd/debian/rules
+++ b/debian/lenny/applications/kvkbd/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
DEB_CONFIGURE_MANDIR := /opt/trinity/share/man
diff --git a/debian/lenny/applications/mplayerthumbs/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/mplayerthumbs/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/debian/lenny/applications/mplayerthumbs/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/mplayerthumbs/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
#include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/piklab/debian/control b/debian/lenny/applications/piklab/debian/control
index 984b4b234..6314b47e9 100644
--- a/debian/lenny/applications/piklab/debian/control
+++ b/debian/lenny/applications/piklab/debian/control
@@ -2,7 +2,7 @@ Source: piklab-trinity
Section: electronics
Priority: extra
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
-Build-Depends: debhelper (>= 5), autotools-dev, quilt, chrpath,
+Build-Depends: cdbs, debhelper (>= 5), autotools-dev, quilt, chrpath,
libusb-dev, tdelibs14-trinity-dev, libreadline5-dev | libreadline6-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Homepage: http://piklab.sourceforge.net/
diff --git a/debian/squeeze/applications/compizconfig-backend-tdeconfig/debian/patches/.gitignore b/debian/lenny/applications/piklab/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/squeeze/applications/compizconfig-backend-tdeconfig/debian/patches/.gitignore
+++ b/debian/lenny/applications/piklab/debian/patches/series
diff --git a/debian/lenny/applications/piklab/debian/rules b/debian/lenny/applications/piklab/debian/rules
index 6d0a1d510..d15b8b977 100755
--- a/debian/lenny/applications/piklab/debian/rules
+++ b/debian/lenny/applications/piklab/debian/rules
@@ -26,7 +26,9 @@ else
CFLAGS += -O2
endif
-config: config-stamp
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+
+config: post-patches config-stamp
config-stamp: configure
dh_testdir
@@ -39,8 +41,6 @@ config-stamp: configure
make -f admin/Makefile.common cvs
touch debian/stamp-bootstrap
- $(MAKE) -f /usr/share/quilt/quilt.make patch
-
ifneq "$(wildcard /usr/share/misc/config.sub)" ""
cp -f /usr/share/misc/config.sub config.sub
endif
@@ -62,7 +62,7 @@ build-stamp: config-stamp
#docbook-to-man debian/piklab.sgml > piklab.1
touch $@
-clean:
+clean::
dh_testdir
dh_testroot
@@ -80,7 +80,6 @@ clean:
rm -f po/*.gmo
rm -f src/common/global/svn_revision/svn_revision.h
rm -f config.sub config.guess config.status config.log
- $(MAKE) -f /usr/share/quilt/quilt.make unpatch
dh_clean
install: build-stamp
diff --git a/debian/lenny/applications/qt4-tqt-theme-engine/debian/control b/debian/lenny/applications/qt4-tqt-theme-engine/debian/control
index 9c2a37a0e..29d985d0a 100644
--- a/debian/lenny/applications/qt4-tqt-theme-engine/debian/control
+++ b/debian/lenny/applications/qt4-tqt-theme-engine/debian/control
@@ -2,7 +2,7 @@ Source: qt4-tqt-theme-engine
Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
-Build-Depends: debhelper (>= 5), cdbs, tdelibs14-trinity-dev, libqt4-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: debhelper (>= 5), quilt, cdbs, tdelibs14-trinity-dev, libqt4-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: qt4-tqt-theme-engine
diff --git a/debian/squeeze/applications/digikam/debian/patches/.gitignore b/debian/lenny/applications/qt4-tqt-theme-engine/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/squeeze/applications/digikam/debian/patches/.gitignore
+++ b/debian/lenny/applications/qt4-tqt-theme-engine/debian/patches/series
diff --git a/debian/lenny/applications/qt4-tqt-theme-engine/debian/rules b/debian/lenny/applications/qt4-tqt-theme-engine/debian/rules
index 2cde95722..19ea67382 100755
--- a/debian/lenny/applications/qt4-tqt-theme-engine/debian/rules
+++ b/debian/lenny/applications/qt4-tqt-theme-engine/debian/rules
@@ -1,6 +1,6 @@
#!/usr/bin/make -f
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/class/qmake.mk
include /usr/share/cdbs/1/rules/debhelper.mk
diff --git a/debian/lenny/applications/rosegarden/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/rosegarden/debian/cdbs/debian-qt-kde.mk
index 5e704aa4a..c5d8ecfd3 100644
--- a/debian/lenny/applications/rosegarden/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/rosegarden/debian/cdbs/debian-qt-kde.mk
@@ -15,7 +15,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/rosegarden/debian/control b/debian/lenny/applications/rosegarden/debian/control
index 3b0310398..386c0f7db 100644
--- a/debian/lenny/applications/rosegarden/debian/control
+++ b/debian/lenny/applications/rosegarden/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian Multimedia Team <debian-multimedia@lists.debian.org>
Uploaders: Mike O'Connor <stew@debian.org>, Free Ekanayaka <freee@debian.org>
-Build-Depends: debhelper (>> 5.0.0), cdbs, cmake, tdelibs14-trinity-dev, libasound2-dev (>= 1.0.0), libjack-dev, ladspa-sdk, liblrdf0-dev, liblircclient-dev, dssi-dev (>= 0.4 ), liblo-dev, libxft-dev, libfftw3-dev
+Build-Depends: debhelper (>> 5.0.0), quilt, cdbs, cmake, tdelibs14-trinity-dev, libasound2-dev (>= 1.0.0), libjack-dev, ladspa-sdk, liblrdf0-dev, liblircclient-dev, dssi-dev (>= 0.4 ), liblo-dev, libxft-dev, libfftw3-dev
Standards-Version: 3.8.4
Homepage: http://www.rosegardenmusic.com/
diff --git a/debian/squeeze/applications/dolphin/debian/patches/.gitignore b/debian/lenny/applications/rosegarden/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/squeeze/applications/dolphin/debian/patches/.gitignore
+++ b/debian/lenny/applications/rosegarden/debian/patches/series
diff --git a/debian/lenny/applications/rosegarden/debian/rules b/debian/lenny/applications/rosegarden/debian/rules
index 3fc2b777e..1bac8145d 100755
--- a/debian/lenny/applications/rosegarden/debian/rules
+++ b/debian/lenny/applications/rosegarden/debian/rules
@@ -11,7 +11,7 @@ export LD_LIBRARY_PATH
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
include debian/cdbs/debian-qt-kde.mk
diff --git a/debian/lenny/applications/smb4k/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/smb4k/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/lenny/applications/smb4k/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/smb4k/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/soundkonverter/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/soundkonverter/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/lenny/applications/soundkonverter/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/soundkonverter/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/tde-guidance/debian/control b/debian/lenny/applications/tde-guidance/debian/control
index afc565441..25ac915af 100644
--- a/debian/lenny/applications/tde-guidance/debian/control
+++ b/debian/lenny/applications/tde-guidance/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>
Uploaders: Fathi Boudra <fboudra@free.fr>, Mark Purcell <msp@debian.org>
-Build-Depends: cdbs, debhelper (>= 5), chrpath, tdelibs14-trinity-dev,
+Build-Depends: cdbs, debhelper (>= 5), quilt, chrpath, tdelibs14-trinity-dev,
libpythonize0-trinity-dev, libtool, libxml2-utils, libxss-dev, libxxf86vm-dev,
pytdeextensions-trinity, pytqt-tools, python-tqt, python-trinity-trinity, python-trinity-trinity-dev, python-sip4-dev,
python-support (>= 0.6), python (>= 2.5), python-dev (>= 2.5), x11proto-scrnsaver-dev, python-tqt-dev, hwdata
diff --git a/debian/squeeze/applications/fusion-icon/debian/patches/.gitignore b/debian/lenny/applications/tde-guidance/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/squeeze/applications/fusion-icon/debian/patches/.gitignore
+++ b/debian/lenny/applications/tde-guidance/debian/patches/series
diff --git a/debian/lenny/applications/tde-guidance/debian/rules b/debian/lenny/applications/tde-guidance/debian/rules
index 0cf0d64e7..ad10455d4 100755
--- a/debian/lenny/applications/tde-guidance/debian/rules
+++ b/debian/lenny/applications/tde-guidance/debian/rules
@@ -5,7 +5,7 @@ DEB_PYTHON_SYSTEM = pysupport
include /usr/share/cdbs/1/rules/debhelper.mk
#include /usr/share/cdbs/1/class/python-distutils.mk
include debian/python-distutils-jaunty.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_DH_INSTALL_ARGS = --sourcedir=debian/tmp
diff --git a/debian/lenny/applications/tde-style-qtcurve/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/tde-style-qtcurve/debian/cdbs/debian-qt-kde.mk
index 5e704aa4a..c5d8ecfd3 100644
--- a/debian/lenny/applications/tde-style-qtcurve/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/tde-style-qtcurve/debian/cdbs/debian-qt-kde.mk
@@ -15,7 +15,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/tde-style-qtcurve/debian/control b/debian/lenny/applications/tde-style-qtcurve/debian/control
index 9df97ecc5..ce0609dde 100644
--- a/debian/lenny/applications/tde-style-qtcurve/debian/control
+++ b/debian/lenny/applications/tde-style-qtcurve/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Bastian Venthur <venthur@debian.org>
-Build-Depends: debhelper (>= 5), tdelibs14-trinity-dev, cmake, cdbs
+Build-Depends: debhelper (>= 5), quilt, tdelibs14-trinity-dev, cmake, cdbs
Standards-Version: 3.8.4
Package: tde-style-qtcurve-trinity
diff --git a/debian/squeeze/applications/gtk-qt-engine/debian/patches/.gitignore b/debian/lenny/applications/tde-style-qtcurve/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/squeeze/applications/gtk-qt-engine/debian/patches/.gitignore
+++ b/debian/lenny/applications/tde-style-qtcurve/debian/patches/series
diff --git a/debian/lenny/applications/tde-style-qtcurve/debian/rules b/debian/lenny/applications/tde-style-qtcurve/debian/rules
index 685703a85..f697a7e99 100755
--- a/debian/lenny/applications/tde-style-qtcurve/debian/rules
+++ b/debian/lenny/applications/tde-style-qtcurve/debian/rules
@@ -13,7 +13,7 @@ export LD_LIBRARY_PATH
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
include debian/cdbs/debian-qt-kde.mk
diff --git a/debian/lenny/applications/tde-systemsettings/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/tde-systemsettings/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/lenny/applications/tde-systemsettings/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/tde-systemsettings/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/tde-systemsettings/debian/control b/debian/lenny/applications/tde-systemsettings/debian/control
index 811961829..e2fa87c3b 100644
--- a/debian/lenny/applications/tde-systemsettings/debian/control
+++ b/debian/lenny/applications/tde-systemsettings/debian/control
@@ -2,7 +2,7 @@ Source: tde-systemsettings-trinity
Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
-Build-Depends: cdbs (>= 0.4.23-1.1), autotools-dev, debhelper (>= 4.1.0), patchutils (>= 0.2.25), tdelibs14-trinity-dev (>= 3.3), docbook2x, automake, autoconf, libtool, libltdl-dev
+Build-Depends: cdbs (>= 0.4.23-1.1), autotools-dev, debhelper (>= 4.1.0), quilt, patchutils (>= 0.2.25), tdelibs14-trinity-dev (>= 3.3), docbook2x, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: tde-systemsettings-trinity
diff --git a/debian/squeeze/applications/gwenview/debian/patches/.gitignore b/debian/lenny/applications/tde-systemsettings/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/squeeze/applications/gwenview/debian/patches/.gitignore
+++ b/debian/lenny/applications/tde-systemsettings/debian/patches/series
diff --git a/debian/lenny/applications/tde-systemsettings/debian/rules b/debian/lenny/applications/tde-systemsettings/debian/rules
index ed2e13a90..7e11dd034 100755
--- a/debian/lenny/applications/tde-systemsettings/debian/rules
+++ b/debian/lenny/applications/tde-systemsettings/debian/rules
@@ -3,7 +3,7 @@
cdbs_kde_enable_debug = --disable-debug
include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include debian/cdbs/kde.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/lenny/applications/tdeio-apt/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/tdeio-apt/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/lenny/applications/tdeio-apt/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/tdeio-apt/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/tdeio-apt/debian/control b/debian/lenny/applications/tdeio-apt/debian/control
index 02d55c5ab..8d4a84cdd 100644
--- a/debian/lenny/applications/tdeio-apt/debian/control
+++ b/debian/lenny/applications/tdeio-apt/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Emmanuel Bouthenot <kolter@openics.org>
-Build-Depends: debhelper (>= 5), cdbs, tdelibs14-trinity-dev, sharutils, automake, autoconf, libtool, libltdl-dev
+Build-Depends: debhelper (>= 5), quilt, cdbs, tdelibs14-trinity-dev, sharutils, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: tdeio-apt-trinity
diff --git a/debian/squeeze/applications/k9copy/debian/patches/.gitignore b/debian/lenny/applications/tdeio-apt/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/squeeze/applications/k9copy/debian/patches/.gitignore
+++ b/debian/lenny/applications/tdeio-apt/debian/patches/series
diff --git a/debian/lenny/applications/tdeio-apt/debian/rules b/debian/lenny/applications/tdeio-apt/debian/rules
index 9e8c0f52b..5b3afa420 100755
--- a/debian/lenny/applications/tdeio-apt/debian/rules
+++ b/debian/lenny/applications/tdeio-apt/debian/rules
@@ -1,7 +1,7 @@
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include debian/cdbs/kde.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/lenny/applications/tdeio-ftps/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/tdeio-ftps/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/debian/lenny/applications/tdeio-ftps/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/tdeio-ftps/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
#include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/tdeio-locate/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/tdeio-locate/debian/cdbs/debian-qt-kde.mk
index 5e704aa4a..c5d8ecfd3 100644
--- a/debian/lenny/applications/tdeio-locate/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/tdeio-locate/debian/cdbs/debian-qt-kde.mk
@@ -15,7 +15,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/tdeio-locate/debian/control b/debian/lenny/applications/tdeio-locate/debian/control
index 69dfc5707..6b61a5af0 100644
--- a/debian/lenny/applications/tdeio-locate/debian/control
+++ b/debian/lenny/applications/tdeio-locate/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Tobi Vollebregt <tobivollebregt@gmail.com>
-Build-Depends: cdbs, debhelper (>= 5), tdelibs14-trinity-dev, bzip2, python (>= 2.3), cmake
+Build-Depends: cdbs, debhelper (>= 5), quilt, tdelibs14-trinity-dev, bzip2, python (>= 2.3), cmake
Standards-Version: 3.8.4
Package: tdeio-locate-trinity
diff --git a/debian/squeeze/applications/kaffeine/debian/patches/.gitignore b/debian/lenny/applications/tdeio-locate/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/squeeze/applications/kaffeine/debian/patches/.gitignore
+++ b/debian/lenny/applications/tdeio-locate/debian/patches/series
diff --git a/debian/lenny/applications/tdeio-locate/debian/rules b/debian/lenny/applications/tdeio-locate/debian/rules
index 55427aa5d..01ccf387a 100755
--- a/debian/lenny/applications/tdeio-locate/debian/rules
+++ b/debian/lenny/applications/tdeio-locate/debian/rules
@@ -11,7 +11,7 @@ export LD_LIBRARY_PATH
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
include debian/cdbs/debian-qt-kde.mk
diff --git a/debian/lenny/applications/tdeio-umountwrapper/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/tdeio-umountwrapper/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/lenny/applications/tdeio-umountwrapper/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/tdeio-umountwrapper/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/tdeio-umountwrapper/debian/control b/debian/lenny/applications/tdeio-umountwrapper/debian/control
index 49703991a..5ac7d89cc 100644
--- a/debian/lenny/applications/tdeio-umountwrapper/debian/control
+++ b/debian/lenny/applications/tdeio-umountwrapper/debian/control
@@ -2,7 +2,7 @@ Source: tdeio-umountwrapper-trinity
Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
-Build-Depends: debhelper (>> 5), cdbs, tdelibs14-trinity-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: debhelper (>> 5), quilt, cdbs, tdelibs14-trinity-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: tdeio-umountwrapper-trinity
diff --git a/debian/squeeze/applications/katapult/debian/patches/.gitignore b/debian/lenny/applications/tdeio-umountwrapper/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/squeeze/applications/katapult/debian/patches/.gitignore
+++ b/debian/lenny/applications/tdeio-umountwrapper/debian/patches/series
diff --git a/debian/lenny/applications/tdeio-umountwrapper/debian/rules b/debian/lenny/applications/tdeio-umountwrapper/debian/rules
index ddfd17b35..27e351eba 100755
--- a/debian/lenny/applications/tdeio-umountwrapper/debian/rules
+++ b/debian/lenny/applications/tdeio-umountwrapper/debian/rules
@@ -1,7 +1,7 @@
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include debian/cdbs/kde.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/lenny/applications/tdenetworkmanager/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/tdenetworkmanager/debian/cdbs/debian-qt-kde.mk
index 345cc0a61..fb36ac52f 100644
--- a/debian/lenny/applications/tdenetworkmanager/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/tdenetworkmanager/debian/cdbs/debian-qt-kde.mk
@@ -15,7 +15,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/tdenetworkmanager/debian/rules b/debian/lenny/applications/tdenetworkmanager/debian/rules
index 00ac9877f..c08c59d57 100755
--- a/debian/lenny/applications/tdenetworkmanager/debian/rules
+++ b/debian/lenny/applications/tdenetworkmanager/debian/rules
@@ -11,7 +11,7 @@ export LD_LIBRARY_PATH
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
include debian/cdbs/debian-qt-kde.mk
diff --git a/debian/lenny/applications/tdepowersave/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/tdepowersave/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/lenny/applications/tdepowersave/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/tdepowersave/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/tdepowersave/debian/control b/debian/lenny/applications/tdepowersave/debian/control
index de60dd3ae..ca4a5def2 100644
--- a/debian/lenny/applications/tdepowersave/debian/control
+++ b/debian/lenny/applications/tdepowersave/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Michael Biebl <biebl@debian.org>
-Build-Depends: cdbs, debhelper (>= 5.0.0), tdelibs14-trinity-dev, libxss-dev, libxtst-dev, libdbus-1-dev (>= 0.6), libdbus-tqt-1-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: cdbs, debhelper (>= 5.0.0), quilt, tdelibs14-trinity-dev, libxss-dev, libxtst-dev, libdbus-1-dev (>= 0.6), libdbus-tqt-1-dev, automake, autoconf, libtool, libltdl-dev
Build-Conflicts: autoconf2.13
Standards-Version: 3.8.4
Homepage: http://sourceforge.net/projects/powersave/
diff --git a/debian/squeeze/applications/kbfx/debian/patches/.gitignore b/debian/lenny/applications/tdepowersave/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/squeeze/applications/kbfx/debian/patches/.gitignore
+++ b/debian/lenny/applications/tdepowersave/debian/patches/series
diff --git a/debian/lenny/applications/tdepowersave/debian/rules b/debian/lenny/applications/tdepowersave/debian/rules
index 485481ef7..f74a76605 100755
--- a/debian/lenny/applications/tdepowersave/debian/rules
+++ b/debian/lenny/applications/tdepowersave/debian/rules
@@ -2,7 +2,7 @@
include debian/cdbs/kde.mk
include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
DEB_CONFIGURE_MANDIR := /opt/trinity/share/man
diff --git a/debian/lenny/applications/tdesudo/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/tdesudo/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/lenny/applications/tdesudo/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/tdesudo/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/tdesudo/debian/control b/debian/lenny/applications/tdesudo/debian/control
index c5ef4bdee..f71c78ab3 100644
--- a/debian/lenny/applications/tdesudo/debian/control
+++ b/debian/lenny/applications/tdesudo/debian/control
@@ -2,7 +2,7 @@ Source: tdesudo-trinity
Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
-Build-Depends: debhelper (>> 5), cdbs, tdelibs14-trinity-dev, docbook2x, automake, autoconf, libtool, libltdl-dev
+Build-Depends: debhelper (>> 5), quilt, cdbs, tdelibs14-trinity-dev, docbook2x, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: tdesudo-trinity
diff --git a/debian/squeeze/applications/kbookreader/debian/patches/.gitignore b/debian/lenny/applications/tdesudo/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/squeeze/applications/kbookreader/debian/patches/.gitignore
+++ b/debian/lenny/applications/tdesudo/debian/patches/series
diff --git a/debian/lenny/applications/tdesudo/debian/rules b/debian/lenny/applications/tdesudo/debian/rules
index 443a43aed..83c31e0c9 100755
--- a/debian/lenny/applications/tdesudo/debian/rules
+++ b/debian/lenny/applications/tdesudo/debian/rules
@@ -1,7 +1,7 @@
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include debian/cdbs/kde.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/lenny/applications/tdesvn/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/tdesvn/debian/cdbs/debian-qt-kde.mk
index 5e704aa4a..c5d8ecfd3 100644
--- a/debian/lenny/applications/tdesvn/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/tdesvn/debian/cdbs/debian-qt-kde.mk
@@ -15,7 +15,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/tdesvn/debian/rules b/debian/lenny/applications/tdesvn/debian/rules
index 37d2a944b..0e1c5995b 100755
--- a/debian/lenny/applications/tdesvn/debian/rules
+++ b/debian/lenny/applications/tdesvn/debian/rules
@@ -11,7 +11,7 @@ export LD_LIBRARY_PATH
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
include debian/cdbs/debian-qt-kde.mk
diff --git a/debian/lenny/applications/tdmtheme/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/tdmtheme/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/lenny/applications/tdmtheme/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/tdmtheme/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/tork/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/tork/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/debian/lenny/applications/tork/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/tork/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
#include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/twin-style-crystal/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/twin-style-crystal/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/lenny/applications/twin-style-crystal/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/twin-style-crystal/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/twin-style-crystal/debian/control b/debian/lenny/applications/twin-style-crystal/debian/control
index a5a93ab76..fc2c9e65a 100644
--- a/debian/lenny/applications/twin-style-crystal/debian/control
+++ b/debian/lenny/applications/twin-style-crystal/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Sune Vuorela <debian@pusling.com>
-Build-Depends: debhelper (>= 5.0.0), cdbs, tdebase-trinity-dev, sharutils, automake, autoconf, libtool, libltdl-dev
+Build-Depends: debhelper (>= 5.0.0), quilt, cdbs, tdebase-trinity-dev, sharutils, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: twin-style-crystal-trinity
diff --git a/debian/squeeze/applications/kdirstat/debian/patches/.gitignore b/debian/lenny/applications/twin-style-crystal/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/squeeze/applications/kdirstat/debian/patches/.gitignore
+++ b/debian/lenny/applications/twin-style-crystal/debian/patches/series
diff --git a/debian/lenny/applications/twin-style-crystal/debian/rules b/debian/lenny/applications/twin-style-crystal/debian/rules
index 4fb0c5bb5..00b9013fa 100755
--- a/debian/lenny/applications/twin-style-crystal/debian/rules
+++ b/debian/lenny/applications/twin-style-crystal/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
DEB_CONFIGURE_MANDIR := /opt/trinity/share/man
diff --git a/debian/lenny/applications/wlassistant/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/wlassistant/debian/cdbs/debian-qt-kde.mk
index 5e704aa4a..c5d8ecfd3 100644
--- a/debian/lenny/applications/wlassistant/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/wlassistant/debian/cdbs/debian-qt-kde.mk
@@ -15,7 +15,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/applications/wlassistant/debian/control b/debian/lenny/applications/wlassistant/debian/control
index 3a49d47ab..2b3517258 100644
--- a/debian/lenny/applications/wlassistant/debian/control
+++ b/debian/lenny/applications/wlassistant/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Uploaders: Achim Bohnet <ach@mpe.mpg.de>, Mark Purcell <msp@debian.org>
-Build-Depends: debhelper (>= 4.1.0), cmake, cdbs, tdelibs14-trinity-dev, net-tools, wireless-tools, libiw-dev
+Build-Depends: debhelper (>= 4.1.0), quilt, cmake, cdbs, tdelibs14-trinity-dev, net-tools, wireless-tools, libiw-dev
Standards-Version: 3.8.4
Package: wlassistant-trinity
diff --git a/debian/squeeze/applications/kdpkg/debian/patches/.gitignore b/debian/lenny/applications/wlassistant/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/squeeze/applications/kdpkg/debian/patches/.gitignore
+++ b/debian/lenny/applications/wlassistant/debian/patches/series
diff --git a/debian/lenny/applications/wlassistant/debian/rules b/debian/lenny/applications/wlassistant/debian/rules
index 1a8fdeafb..5e6564e64 100755
--- a/debian/lenny/applications/wlassistant/debian/rules
+++ b/debian/lenny/applications/wlassistant/debian/rules
@@ -11,7 +11,7 @@ export LD_LIBRARY_PATH
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
include debian/cdbs/debian-qt-kde.mk
diff --git a/debian/lenny/applications/yakuake/debian/cdbs/debian-qt-kde.mk b/debian/lenny/applications/yakuake/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/lenny/applications/yakuake/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/applications/yakuake/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/dependencies/arts/debian/control b/debian/lenny/dependencies/arts/debian/control
index 6d1a9874f..5394cc196 100644
--- a/debian/lenny/dependencies/arts/debian/control
+++ b/debian/lenny/dependencies/arts/debian/control
@@ -4,7 +4,7 @@ Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian Qt/TDE Maintainers <debian-qt-tde@lists.debian.org>
Priority: optional
Uploaders: Adeodato Sim <dato@net.com.org.es>, Ana Beatriz Guerrero Lopez <ana@debian.org>, Fathi Boudra <fabo@debian.org>, Modestas Vainius <modestas@vainius.eu>
-Build-Depends: cdbs (>= 0.4.48), debhelper (>= 6),
+Build-Depends: cdbs (>= 0.4.48), debhelper (>= 6), quilt,
docbook-to-man, gawk, gettext, sharutils, texinfo,
libasound2-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386],
libaudio-dev, libaudiofile-dev, libesd0-dev, libglib2.0-dev, libmad0-dev,
diff --git a/debian/lenny/dependencies/arts/debian/patches/series b/debian/lenny/dependencies/arts/debian/patches/series
new file mode 100644
index 000000000..59e055db8
--- /dev/null
+++ b/debian/lenny/dependencies/arts/debian/patches/series
@@ -0,0 +1 @@
+12_cleanup_artsc-config.diff
diff --git a/debian/lenny/dependencies/arts/debian/rules b/debian/lenny/dependencies/arts/debian/rules
index 1b4911297..8886acad3 100755
--- a/debian/lenny/dependencies/arts/debian/rules
+++ b/debian/lenny/dependencies/arts/debian/rules
@@ -10,7 +10,7 @@ export LD_LIBRARY_PATH
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
include debian/cdbs/debian-qt-kde.mk
diff --git a/debian/lenny/dependencies/dbus-1-tqt/debian/control b/debian/lenny/dependencies/dbus-1-tqt/debian/control
index 36e73bbb1..6c1b0c969 100644
--- a/debian/lenny/dependencies/dbus-1-tqt/debian/control
+++ b/debian/lenny/dependencies/dbus-1-tqt/debian/control
@@ -2,7 +2,7 @@ Source: dbus-1-tqt
Section: devel
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
-Build-Depends: cdbs (>= 0.4.43), debhelper (>= 5.0.37.2), libtqtinterface-dev, libdbus-1-dev (>= 0.90), cmake
+Build-Depends: cdbs (>= 0.4.43), debhelper (>= 5.0.37.2), quilt, libtqtinterface-dev, libdbus-1-dev (>= 0.90), cmake
Standards-Version: 3.8.3
Package: libdbus-1-tqt-dev
diff --git a/debian/squeeze/applications/kiosktool/debian/patches/.gitignore b/debian/lenny/dependencies/dbus-1-tqt/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/squeeze/applications/kiosktool/debian/patches/.gitignore
+++ b/debian/lenny/dependencies/dbus-1-tqt/debian/patches/series
diff --git a/debian/lenny/dependencies/dbus-1-tqt/debian/rules b/debian/lenny/dependencies/dbus-1-tqt/debian/rules
index 3b86de7db..0585b8d86 100755
--- a/debian/lenny/dependencies/dbus-1-tqt/debian/rules
+++ b/debian/lenny/dependencies/dbus-1-tqt/debian/rules
@@ -1,6 +1,6 @@
#!/usr/bin/make -f
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
diff --git a/debian/lenny/dependencies/dbus-tqt/debian/control b/debian/lenny/dependencies/dbus-tqt/debian/control
index cdf2d334a..7c5dbc0c4 100644
--- a/debian/lenny/dependencies/dbus-tqt/debian/control
+++ b/debian/lenny/dependencies/dbus-tqt/debian/control
@@ -3,7 +3,7 @@ Section: devel
Priority: optional
Maintainer: Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>
Uploaders: Sjoerd Simons <sjoerd@debian.org>, Sebastian Drge <slomo@ubuntu.com>
-Build-Depends: cdbs (>= 0.4.43), debhelper (>= 5.0.37.2), libtqtinterface-dev, libdbus-1-dev (>= 0.90), cmake
+Build-Depends: cdbs (>= 0.4.43), debhelper (>= 5.0.37.2), quilt, libtqtinterface-dev, libdbus-1-dev (>= 0.90), cmake
Standards-Version: 3.8.3
Package: libdbus-tqt-1-dev
diff --git a/debian/squeeze/applications/kmplayer/debian/patches/.gitignore b/debian/lenny/dependencies/dbus-tqt/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/squeeze/applications/kmplayer/debian/patches/.gitignore
+++ b/debian/lenny/dependencies/dbus-tqt/debian/patches/series
diff --git a/debian/lenny/dependencies/dbus-tqt/debian/rules b/debian/lenny/dependencies/dbus-tqt/debian/rules
index a59bed76e..26bf6c196 100755
--- a/debian/lenny/dependencies/dbus-tqt/debian/rules
+++ b/debian/lenny/dependencies/dbus-tqt/debian/rules
@@ -3,7 +3,7 @@
# Copyright © 2003 Daniel Stone <daniels@debian.org>
# Copyright © 2006 Sjoerd Simons <sjoerd@debian.org>
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
diff --git a/debian/lenny/dependencies/libart-lgpl/debian/control b/debian/lenny/dependencies/libart-lgpl/debian/control
index d131211f3..3d0317045 100644
--- a/debian/lenny/dependencies/libart-lgpl/debian/control
+++ b/debian/lenny/dependencies/libart-lgpl/debian/control
@@ -9,7 +9,7 @@ Priority: optional
Maintainer: Josselin Mouette <joss@debian.org>
Uploaders: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>, Loic Minier <lool@dooz.org>, Sebastian Drge <slomo@debian.org>, Sebastien Bacher <seb128@debian.org>
Standards-Version: 3.8.4
-Build-Depends: debhelper (>= 5),
+Build-Depends: debhelper (>= 5), quilt,
gnome-pkg-tools (>= 0.7),
cdbs,
dpkg-dev (>= 1.13.19),
diff --git a/debian/squeeze/applications/knemo/debian/patches/.gitignore b/debian/lenny/dependencies/libart-lgpl/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/squeeze/applications/knemo/debian/patches/.gitignore
+++ b/debian/lenny/dependencies/libart-lgpl/debian/patches/series
diff --git a/debian/lenny/dependencies/libart-lgpl/debian/rules b/debian/lenny/dependencies/libart-lgpl/debian/rules
index 2751eb1f2..add68d0c4 100755
--- a/debian/lenny/dependencies/libart-lgpl/debian/rules
+++ b/debian/lenny/dependencies/libart-lgpl/debian/rules
@@ -1,7 +1,7 @@
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
include /usr/share/cdbs/1/class/gnome.mk
include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk
diff --git a/debian/lenny/dependencies/libcaldav/debian/control b/debian/lenny/dependencies/libcaldav/debian/control
index 6051e6de1..8ba2fed15 100644
--- a/debian/lenny/dependencies/libcaldav/debian/control
+++ b/debian/lenny/dependencies/libcaldav/debian/control
@@ -1,5 +1,5 @@
Source: libcaldav
-Build-Depends: debhelper (>= 5), quilt, libcurl4-gnutls-dev (>= 7.19), libglib2.0-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: cdbs, debhelper (>= 5), quilt, libcurl4-gnutls-dev (>= 7.19), libglib2.0-dev, automake, autoconf, libtool, libltdl-dev
Section: graphics
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
diff --git a/debian/squeeze/applications/knetstats/debian/patches/.gitignore b/debian/lenny/dependencies/libcaldav/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/squeeze/applications/knetstats/debian/patches/.gitignore
+++ b/debian/lenny/dependencies/libcaldav/debian/patches/series
diff --git a/debian/lenny/dependencies/libcaldav/debian/rules b/debian/lenny/dependencies/libcaldav/debian/rules
index fb72a35e7..0d067bc3d 100755
--- a/debian/lenny/dependencies/libcaldav/debian/rules
+++ b/debian/lenny/dependencies/libcaldav/debian/rules
@@ -1,6 +1,6 @@
#!/usr/bin/make -f
-include /usr/share/quilt/quilt.make
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
@@ -28,7 +28,7 @@ no_auto_tools = ACLOCAL="`pwd`/missing aclocal" \
make_flags = moduledir=/usr/lib/gdk-imlib2 $(no_auto_tools)
-build: $(QUILT_STAMPFN) build-stamp
+build: post-patches build-stamp
build-stamp:
dh_testdir
./autogen.sh
@@ -38,7 +38,7 @@ build-stamp:
touch build-stamp
-clean: unpatch
+clean::
dh_testdir
dh_testroot
rm -f build-stamp
diff --git a/debian/lenny/dependencies/libcarddav/debian/control b/debian/lenny/dependencies/libcarddav/debian/control
index 7bf8ff1dc..7e3b740bb 100644
--- a/debian/lenny/dependencies/libcarddav/debian/control
+++ b/debian/lenny/dependencies/libcarddav/debian/control
@@ -1,5 +1,5 @@
Source: libcarddav
-Build-Depends: debhelper (>= 5), libcurl4-gnutls-dev, libglib2.0-dev, quilt, automake, autoconf, libtool, libltdl-dev
+Build-Depends: cdbs, debhelper (>= 5), libcurl4-gnutls-dev, libglib2.0-dev, quilt, automake, autoconf, libtool, libltdl-dev
Section: graphics
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
diff --git a/debian/squeeze/applications/koffice/debian/patches/.gitignore b/debian/lenny/dependencies/libcarddav/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/squeeze/applications/koffice/debian/patches/.gitignore
+++ b/debian/lenny/dependencies/libcarddav/debian/patches/series
diff --git a/debian/lenny/dependencies/libcarddav/debian/rules b/debian/lenny/dependencies/libcarddav/debian/rules
index 24bdcbc93..b22fbca64 100755
--- a/debian/lenny/dependencies/libcarddav/debian/rules
+++ b/debian/lenny/dependencies/libcarddav/debian/rules
@@ -1,6 +1,6 @@
#!/usr/bin/make -f
-include /usr/share/quilt/quilt.make
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
@@ -28,7 +28,7 @@ no_auto_tools = ACLOCAL="`pwd`/missing aclocal" \
make_flags = moduledir=/usr/lib/gdk-imlib2 $(no_auto_tools)
-build: $(QUILT_STAMPFN) build-stamp
+build: post-patches build-stamp
build-stamp:
dh_testdir
./autogen.sh
@@ -38,7 +38,7 @@ build-stamp:
touch build-stamp
-clean: unpatch
+clean::
dh_testdir
dh_testroot
rm -f build-stamp
diff --git a/debian/lenny/dependencies/python-tqt/debian/patches/series b/debian/lenny/dependencies/python-tqt/debian/patches/series
index 15bc57c10..573069d8d 100644
--- a/debian/lenny/dependencies/python-tqt/debian/patches/series
+++ b/debian/lenny/dependencies/python-tqt/debian/patches/series
@@ -1 +1 @@
-debian_configure_changes.diff
+# debian_configure_changes.diff
diff --git a/debian/lenny/dependencies/qt3/debian/control b/debian/lenny/dependencies/qt3/debian/control
index cf10bbb50..c9e01e13b 100644
--- a/debian/lenny/dependencies/qt3/debian/control
+++ b/debian/lenny/dependencies/qt3/debian/control
@@ -2,7 +2,7 @@ Source: qt-x11-free
Maintainer: Debian Developers <kubuntu-devel@lists.ubuntu.com>
XSBC-Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Uploaders: Ana Beatriz Guerrero Lopez <ana@debian.org>, Sune Vuorela <debian@pusling.com>, Fathi Boudra <fabo@debian.org>, Modestas Vainius <modestas@vainius.eu>
-Build-Depends: debhelper (>= 5.0.31), quilt, cpio, libxext-dev (>= 4.3.0.dfsg.1-4),
+Build-Depends: cdbs, debhelper (>= 5.0.31), quilt, cpio, libxext-dev (>= 4.3.0.dfsg.1-4),
libxrandr-dev (>= 4.3.0.dfsg.1-4), libsm-dev (>= 4.3.0.dfsg.1-4),
libxmu-dev (>= 4.3.0.dfsg.1-4), libice-dev (>= 4.3.0.dfsg.1-4),
libx11-dev (>= 4.3.0.dfsg.1-4), libxt-dev (>= 4.3.0.dfsg.1-4), libxrender-dev,
diff --git a/debian/lenny/dependencies/qt3/debian/rules b/debian/lenny/dependencies/qt3/debian/rules
index 7ede42ad9..57dce235a 100755
--- a/debian/lenny/dependencies/qt3/debian/rules
+++ b/debian/lenny/dependencies/qt3/debian/rules
@@ -29,7 +29,7 @@ endif #sparc
endif #hurd
# quilt stuff
-include /usr/share/quilt/quilt.make
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
# build variables (directorys)
DEBIAN = $(shell pwd)/debian
@@ -123,7 +123,7 @@ build: libqt-thread-stamp
touch build-stamp
-libqt-thread-stamp: $(QUILT_STAMPFN)
+libqt-thread-stamp: post-patches
@echo "QTDIR is ${QTDIR}"
@@ -171,7 +171,7 @@ libqt-thread-stamp: $(QUILT_STAMPFN)
touch libqt-thread-stamp
-clean: unpatch
+clean::
dh_testdir
@@ -475,4 +475,4 @@ binary-arch: build install
dh_builddeb -a $(IBASE) $(DEB_DH_BUILDDEB_ARGS)
binary: binary-indep binary-arch
-.PHONY: build binary-indep binary-arch binary install clean patch unpatch
+.PHONY: build binary-indep binary-arch binary install clean
diff --git a/debian/lenny/dependencies/sip4-tqt/debian/patches/series b/debian/lenny/dependencies/sip4-tqt/debian/patches/series
index c42871d34..0b31a69ff 100644
--- a/debian/lenny/dependencies/sip4-tqt/debian/patches/series
+++ b/debian/lenny/dependencies/sip4-tqt/debian/patches/series
@@ -1,2 +1,2 @@
-siputils_debian_changes.diff
-siputils_objdir_module_fix.diff
+# siputils_debian_changes.diff
+# siputils_objdir_module_fix.diff
diff --git a/debian/lenny/dependencies/sip4-tqt/debian/patches/siputils_objdir_module_fix.diff b/debian/lenny/dependencies/sip4-tqt/debian/patches/siputils_objdir_module_fix.diff
index a9d580737..3c4570b21 100644
--- a/debian/lenny/dependencies/sip4-tqt/debian/patches/siputils_objdir_module_fix.diff
+++ b/debian/lenny/dependencies/sip4-tqt/debian/patches/siputils_objdir_module_fix.diff
@@ -1,8 +1,8 @@
-Index: sip4-qt3-4.10/siputils.py
+Index: b/siputils.py
===================================================================
---- sip4-qt3-4.10.orig/siputils.py 2010-01-26 23:45:34.144734105 +0100
-+++ sip4-qt3-4.10/siputils.py 2010-01-26 23:46:51.605699383 +0100
-@@ -1546,9 +1546,12 @@
+--- a/siputils.py
++++ b/siputils.py
+@@ -1547,9 +1547,12 @@
mfile.write("\n$(OFILES): $(HFILES)\n")
for mf in self._build["tqmoc_headers"].split():
@@ -14,5 +14,5 @@ Index: sip4-qt3-4.10/siputils.py
+ mf = os.path.join(self._src_dir, mf)
+
mfile.write("\n%s: %s\n" % (cpp, mf))
- mfile.write("\t$(TQMOC) -o %s %s\n" % (cpp, mf))
+ mfile.write("\t$(MOC) -o %s %s\n" % (cpp, mf))
diff --git a/debian/lenny/dependencies/tqt3/debian/control b/debian/lenny/dependencies/tqt3/debian/control
index 25b539b6b..0232e1c45 100644
--- a/debian/lenny/dependencies/tqt3/debian/control
+++ b/debian/lenny/dependencies/tqt3/debian/control
@@ -2,7 +2,7 @@ Source: tqt-x11-free
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Uploaders: Ana Beatriz Guerrero Lopez <ana@debian.org>, Sune Vuorela <debian@pusling.com>, Fathi Boudra <fabo@debian.org>, Modestas Vainius <modestas@vainius.eu>
-Build-Depends: debhelper (>= 5.0.31), quilt, cpio, libxext-dev (>= 4.3.0.dfsg.1-4),
+Build-Depends: cdbs, debhelper (>= 5.0.31), quilt, cpio, libxext-dev (>= 4.3.0.dfsg.1-4),
libxrandr-dev (>= 4.3.0.dfsg.1-4), libsm-dev (>= 4.3.0.dfsg.1-4),
libxmu-dev (>= 4.3.0.dfsg.1-4), libice-dev (>= 4.3.0.dfsg.1-4),
libx11-dev (>= 4.3.0.dfsg.1-4), libxt-dev (>= 4.3.0.dfsg.1-4), libxrender-dev,
diff --git a/debian/lenny/dependencies/tqt3/debian/rules b/debian/lenny/dependencies/tqt3/debian/rules
index d2d66f6a7..b91e34413 100755
--- a/debian/lenny/dependencies/tqt3/debian/rules
+++ b/debian/lenny/dependencies/tqt3/debian/rules
@@ -33,7 +33,7 @@ endif #sparc
endif #hurd
# quilt stuff
-include /usr/share/quilt/quilt.make
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
# build variables (directorys)
DEBIAN = $(shell pwd)/debian
@@ -127,7 +127,7 @@ build: libqt-thread-stamp
touch build-stamp
-libqt-thread-stamp: $(QUILT_STAMPFN)
+libqt-thread-stamp: post-patches
@echo "QTDIR is ${QTDIR}"
@@ -175,7 +175,7 @@ libqt-thread-stamp: $(QUILT_STAMPFN)
touch libqt-thread-stamp
-clean: unpatch
+clean::
dh_testdir
@@ -468,4 +468,4 @@ binary-arch: build install
dh_builddeb -a $(IBASE) $(DEB_DH_BUILDDEB_ARGS)
binary: binary-indep binary-arch
-.PHONY: build binary-indep binary-arch binary install clean patch unpatch
+.PHONY: build binary-indep binary-arch binary install clean
diff --git a/debian/lenny/dependencies/tqtinterface/debian/control b/debian/lenny/dependencies/tqtinterface/debian/control
index 4996e799f..c671091c9 100644
--- a/debian/lenny/dependencies/tqtinterface/debian/control
+++ b/debian/lenny/dependencies/tqtinterface/debian/control
@@ -2,7 +2,7 @@ Source: libtqtinterface
Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
-Build-Depends: debhelper (>> 4.0.0), libtqt3-mt-dev, tqt3-apps-dev, cmake, cdbs
+Build-Depends: debhelper (>> 4.0.0), quilt, libtqt3-mt-dev, tqt3-apps-dev, cmake, cdbs
Standards-Version: 3.8.4
Package: libtqtinterface
diff --git a/debian/squeeze/applications/kpowersave.cmake/debian/patches/.gitignore b/debian/lenny/dependencies/tqtinterface/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/squeeze/applications/kpowersave.cmake/debian/patches/.gitignore
+++ b/debian/lenny/dependencies/tqtinterface/debian/patches/series
diff --git a/debian/lenny/dependencies/tqtinterface/debian/rules b/debian/lenny/dependencies/tqtinterface/debian/rules
index 5d8f4cb4c..051e7e40f 100755
--- a/debian/lenny/dependencies/tqtinterface/debian/rules
+++ b/debian/lenny/dependencies/tqtinterface/debian/rules
@@ -3,7 +3,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_KDE_APIDOX := yes
diff --git a/debian/lenny/libraries/kipi-plugins/debian/cdbs/debian-qt-kde.mk b/debian/lenny/libraries/kipi-plugins/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/lenny/libraries/kipi-plugins/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/libraries/kipi-plugins/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/libraries/libkdcraw/debian/cdbs/debian-qt-kde.mk b/debian/lenny/libraries/libkdcraw/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/lenny/libraries/libkdcraw/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/libraries/libkdcraw/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/libraries/libkexiv2/debian/cdbs/debian-qt-kde.mk b/debian/lenny/libraries/libkexiv2/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/lenny/libraries/libkexiv2/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/libraries/libkexiv2/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/libraries/libkipi/debian/cdbs/debian-qt-kde.mk b/debian/lenny/libraries/libkipi/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/lenny/libraries/libkipi/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/libraries/libkipi/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/libraries/libkipi/debian/control b/debian/lenny/libraries/libkipi/debian/control
index 0a2924914..4a5c8d057 100644
--- a/debian/lenny/libraries/libkipi/debian/control
+++ b/debian/lenny/libraries/libkipi/debian/control
@@ -3,7 +3,7 @@ Section: libs
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Uploaders: Achim Bohnet <ach@mpe.mpg.de>, Mark Purcell <msp@debian.org>
-Build-Depends: cdbs, debhelper (>> 4.1), libexif-dev, tdelibs14-trinity-dev (>= 4:3.4.3-2), automake, autoconf, libtool, libltdl-dev
+Build-Depends: cdbs, debhelper (>> 4.1), quilt, libexif-dev, tdelibs14-trinity-dev (>= 4:3.4.3-2), automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: libkipi0-trinity-dev
diff --git a/debian/squeeze/applications/kpowersave/debian/patches/.gitignore b/debian/lenny/libraries/libkipi/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/squeeze/applications/kpowersave/debian/patches/.gitignore
+++ b/debian/lenny/libraries/libkipi/debian/patches/series
diff --git a/debian/lenny/libraries/libkipi/debian/rules b/debian/lenny/libraries/libkipi/debian/rules
index c95fe1343..9835b9048 100755
--- a/debian/lenny/libraries/libkipi/debian/rules
+++ b/debian/lenny/libraries/libkipi/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/debian-qt-kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/lenny/libraries/libtdeldap/debian/control b/debian/lenny/libraries/libtdeldap/debian/control
index 78bbffbc8..0f20c21ab 100644
--- a/debian/lenny/libraries/libtdeldap/debian/control
+++ b/debian/lenny/libraries/libtdeldap/debian/control
@@ -2,7 +2,7 @@ Source: libtdeldap-trinity
Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
-Build-Depends: debhelper (>= 5), cdbs, tdelibs14-trinity-dev, libldap2-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: debhelper (>= 5), quilt, cdbs, tdelibs14-trinity-dev, libldap2-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: libtdeldap-trinity
diff --git a/debian/squeeze/applications/krusader/debian/patches/.gitignore b/debian/lenny/libraries/libtdeldap/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/squeeze/applications/krusader/debian/patches/.gitignore
+++ b/debian/lenny/libraries/libtdeldap/debian/patches/series
diff --git a/debian/lenny/libraries/libtdeldap/debian/rules b/debian/lenny/libraries/libtdeldap/debian/rules
index 9bed17b05..e4abe53af 100755
--- a/debian/lenny/libraries/libtdeldap/debian/rules
+++ b/debian/lenny/libraries/libtdeldap/debian/rules
@@ -1,6 +1,6 @@
#!/usr/bin/make -f
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/debhelper.mk
diff --git a/debian/lenny/tdeaccessibility/debian/cdbs/debian-qt-kde.mk b/debian/lenny/tdeaccessibility/debian/cdbs/debian-qt-kde.mk
index 4a11bc028..6b7b16643 100644
--- a/debian/lenny/tdeaccessibility/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/tdeaccessibility/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/tdeaccessibility/debian/control b/debian/lenny/tdeaccessibility/debian/control
index 6b3eb0beb..546906d83 100644
--- a/debian/lenny/tdeaccessibility/debian/control
+++ b/debian/lenny/tdeaccessibility/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Uploaders: Ana Beatriz Guerrero Lopez <ana@debian.org>, Christopher Martin <chrsmrtn@debian.org>, Josh Metzler <joshdeb@metzlers.org>, Sune Vuorela <debian@pusling.com>
-Build-Depends: cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), gawk, gettext, groff-base, tdelibs14-trinity-dev, tdemultimedia-trinity-dev, libakode-dev, libxtst-dev, sharutils, libogg-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), quilt, gawk, gettext, groff-base, tdelibs14-trinity-dev, tdemultimedia-trinity-dev, libakode-dev, libxtst-dev, sharutils, libogg-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: tdeaccessibility-trinity
diff --git a/debian/lenny/tdeaccessibility/debian/patches/series b/debian/lenny/tdeaccessibility/debian/patches/series
new file mode 100644
index 000000000..6b3ddc8ec
--- /dev/null
+++ b/debian/lenny/tdeaccessibility/debian/patches/series
@@ -0,0 +1,3 @@
+common/04_am_maintainer_mode.diff
+common/06_disable_no_undefined.diff
+common/kubuntu_01_kdepot.diff
diff --git a/debian/lenny/tdeaccessibility/debian/rules b/debian/lenny/tdeaccessibility/debian/rules
index 4fdbdb6c3..98b74d04f 100755
--- a/debian/lenny/tdeaccessibility/debian/rules
+++ b/debian/lenny/tdeaccessibility/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/debian-qt-kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/lenny/tdeaddons/debian/cdbs/debian-qt-kde.mk b/debian/lenny/tdeaddons/debian/cdbs/debian-qt-kde.mk
index 4a11bc028..6b7b16643 100644
--- a/debian/lenny/tdeaddons/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/tdeaddons/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/tdeaddons/debian/control b/debian/lenny/tdeaddons/debian/control
index bb2178f76..ce6a3b1cb 100644
--- a/debian/lenny/tdeaddons/debian/control
+++ b/debian/lenny/tdeaddons/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Uploaders: Ana Beatriz Guerrero Lopez <ana@debian.org>, Christopher Martin <chrsmrtn@debian.org>
-Build-Depends: libasound2-dev, cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), autotools-dev, gawk, gettext, tdelibs14-trinity-dev, atlantik-trinity-dev, tdebase-trinity-dev, tdemultimedia-trinity-dev, libtdegames-trinity-dev, libkonq4-trinity-dev, tdepim-trinity-dev, libsdl1.2-dev (>= 1.2.2-3.3), libssl-dev (>= 0.9.6), libdb4.8++-dev | libdb++-dev, libogg-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: libasound2-dev, cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), quilt, autotools-dev, gawk, gettext, tdelibs14-trinity-dev, atlantik-trinity-dev, tdebase-trinity-dev, tdemultimedia-trinity-dev, libtdegames-trinity-dev, libkonq4-trinity-dev, tdepim-trinity-dev, libsdl1.2-dev (>= 1.2.2-3.3), libssl-dev (>= 0.9.6), libdb4.8++-dev | libdb++-dev, libogg-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: tdeaddons-trinity
diff --git a/debian/lenny/tdeaddons/debian/patches/series b/debian/lenny/tdeaddons/debian/patches/series
new file mode 100644
index 000000000..6b3ddc8ec
--- /dev/null
+++ b/debian/lenny/tdeaddons/debian/patches/series
@@ -0,0 +1,3 @@
+common/04_am_maintainer_mode.diff
+common/06_disable_no_undefined.diff
+common/kubuntu_01_kdepot.diff
diff --git a/debian/lenny/tdeaddons/debian/rules b/debian/lenny/tdeaddons/debian/rules
index 8e8bb53a9..692eacfb0 100755
--- a/debian/lenny/tdeaddons/debian/rules
+++ b/debian/lenny/tdeaddons/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/debian-qt-kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/lenny/tdeadmin/debian/cdbs/debian-qt-kde.mk b/debian/lenny/tdeadmin/debian/cdbs/debian-qt-kde.mk
index 4a11bc028..6b7b16643 100644
--- a/debian/lenny/tdeadmin/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/tdeadmin/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/tdeadmin/debian/control b/debian/lenny/tdeadmin/debian/control
index 61e7437cd..de6e4622c 100644
--- a/debian/lenny/tdeadmin/debian/control
+++ b/debian/lenny/tdeadmin/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Uploaders: Ana Beatriz Guerrero Lopez <ana@debian.org>, Christopher Martin <chrsmrtn@debian.org>, Fathi Boudra <fboudra@free.fr>, Modestas Vainius <geromanas@mailas.com>, Sune Vuorela <debian@pusling.com>
-Build-Depends: libasound2-dev, cdbs (>= 0.4.39-0.1), autotools-dev, debhelper (>= 5.0.31), docbook-to-man, gawk, gettext, tdelibs14-trinity-dev, libbz2-dev, libpam0g-dev, sharutils, texinfo, rpm, automake, autoconf, libtool, libltdl-dev
+Build-Depends: libasound2-dev, cdbs (>= 0.4.39-0.1), autotools-dev, debhelper (>= 5.0.31), quilt, docbook-to-man, gawk, gettext, tdelibs14-trinity-dev, libbz2-dev, libpam0g-dev, sharutils, texinfo, rpm, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: tdeadmin-trinity
diff --git a/debian/lenny/tdeadmin/debian/patches/series b/debian/lenny/tdeadmin/debian/patches/series
new file mode 100644
index 000000000..6b3ddc8ec
--- /dev/null
+++ b/debian/lenny/tdeadmin/debian/patches/series
@@ -0,0 +1,3 @@
+common/04_am_maintainer_mode.diff
+common/06_disable_no_undefined.diff
+common/kubuntu_01_kdepot.diff
diff --git a/debian/lenny/tdeadmin/debian/rules b/debian/lenny/tdeadmin/debian/rules
index 849de5f21..4ddc3ff78 100755
--- a/debian/lenny/tdeadmin/debian/rules
+++ b/debian/lenny/tdeadmin/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/debian-qt-kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/lenny/tdeartwork/debian/cdbs/debian-qt-kde.mk b/debian/lenny/tdeartwork/debian/cdbs/debian-qt-kde.mk
index 497be9751..425264528 100644
--- a/debian/lenny/tdeartwork/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/tdeartwork/debian/cdbs/debian-qt-kde.mk
@@ -20,7 +20,9 @@ endif
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/tdeartwork/debian/control b/debian/lenny/tdeartwork/debian/control
index f9b3dca86..da7c130cf 100644
--- a/debian/lenny/tdeartwork/debian/control
+++ b/debian/lenny/tdeartwork/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Ubuntu Core developers <ubuntu-devel-discuss@lists.ubuntu.com>
XSBC-Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Uploaders: Ana Beatriz Guerrero Lopez <ana@debian.org>, Christopher Martin <chrsmrtn@debian.org>, Sune Vuorela <debian@pusling.com>
-Build-Depends: cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), cmake, autotools-dev, tdelibs14-trinity-dev, gawk, gettext, sharutils, tdebase-trinity-dev, twin-trinity, libgl1-mesa-dev | libgl-dev, libglu1-mesa-dev | libglu-dev, xscreensaver, xscreensaver-gl, xscreensaver-data, xscreensaver-data-extra, xscreensaver-gl-extra, rss-glx, fireflies, automake, autoconf, libtool, libltdl-dev
+Build-Depends: cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), quilt, cmake, autotools-dev, tdelibs14-trinity-dev, gawk, gettext, sharutils, tdebase-trinity-dev, twin-trinity, libgl1-mesa-dev | libgl-dev, libglu1-mesa-dev | libglu-dev, xscreensaver, xscreensaver-gl, xscreensaver-data, xscreensaver-data-extra, xscreensaver-gl-extra, rss-glx, fireflies, automake, autoconf, libtool, libltdl-dev
Build-Conflicts: autoconf2.13, nvidia-glx
Standards-Version: 3.8.4
diff --git a/debian/squeeze/applications/ksystemlog/debian/patches/.gitignore b/debian/lenny/tdeartwork/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/squeeze/applications/ksystemlog/debian/patches/.gitignore
+++ b/debian/lenny/tdeartwork/debian/patches/series
diff --git a/debian/lenny/tdeartwork/debian/rules b/debian/lenny/tdeartwork/debian/rules
index 963f996bc..062bd4f29 100755
--- a/debian/lenny/tdeartwork/debian/rules
+++ b/debian/lenny/tdeartwork/debian/rules
@@ -3,7 +3,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
include debian/cdbs/debian-qt-kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include
diff --git a/debian/lenny/tdebase/debian/cdbs/debian-qt-kde.mk b/debian/lenny/tdebase/debian/cdbs/debian-qt-kde.mk
index fa0d532f4..ec89756bb 100644
--- a/debian/lenny/tdebase/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/tdebase/debian/cdbs/debian-qt-kde.mk
@@ -15,7 +15,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/tdebase/debian/control b/debian/lenny/tdebase/debian/control
index 51d256bed..ba7b1cce7 100644
--- a/debian/lenny/tdebase/debian/control
+++ b/debian/lenny/tdebase/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Uploaders: Ana Beatriz Guerrero Lopez <ana@debian.org>, Fathi Boudra <fboudra@free.fr>, Modestas Vainius <geromanas@mailas.com>, Sune Vuorela <debian@pusling.com>
-Build-Depends: libasound2-dev, cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), autotools-dev, gawk, gettext, tdelibs14-trinity-dev, libldap2-dev, libncurses5-dev, libpam0g-dev, libpopt-dev, libraw1394-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386], libsensors-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386], libsmbclient-dev, libusb-dev, libxtst-dev, libfontenc-dev, xscreensaver, xscreensaver-data, xscreensaver-data-extra, libxss-dev, libxcomposite-dev, libxdamage-dev, libxkbfile-dev, xutils, sharutils, texinfo, libavahi-compat-libdnssd-dev (>= 0.4), x11proto-kb-dev, xmkmf | xutils-dev, tdelibs14-trinity, libogg-dev, libdbus-tqt-1-dev, libavahi-tqt-dev, udev, libudev-dev, libdbus-1-tqt-dev, libart-2.0-dev (>= 14.0.0), libtool, libltdl-dev, cmake
+Build-Depends: libasound2-dev, cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), quilt, autotools-dev, gawk, gettext, tdelibs14-trinity-dev, libldap2-dev, libncurses5-dev, libpam0g-dev, libpopt-dev, libraw1394-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386], libsensors-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386], libsmbclient-dev, libusb-dev, libxtst-dev, libfontenc-dev, xscreensaver, xscreensaver-data, xscreensaver-data-extra, libxss-dev, libxcomposite-dev, libxdamage-dev, libxkbfile-dev, xutils, sharutils, texinfo, libavahi-compat-libdnssd-dev (>= 0.4), x11proto-kb-dev, xmkmf | xutils-dev, tdelibs14-trinity, libogg-dev, libdbus-tqt-1-dev, libavahi-tqt-dev, udev, libudev-dev, libdbus-1-tqt-dev, libart-2.0-dev (>= 14.0.0), libtool, libltdl-dev, cmake
Build-Depends-Indep: doxygen, libtqtinterface-doc, graphviz, gsfonts-x11, tdelibs14-trinity-doc
Build-Conflicts: nvidia-glx (<< 1.0.8774-6)
Standards-Version: 3.8.4
diff --git a/debian/lenny/tdebase/debian/patches/series b/debian/lenny/tdebase/debian/patches/series
new file mode 100644
index 000000000..15ab12afb
--- /dev/null
+++ b/debian/lenny/tdebase/debian/patches/series
@@ -0,0 +1,2 @@
+disable_default_tdm_theme.diff
+disable_starttde_wallpaper.diff
diff --git a/debian/lenny/tdebase/debian/rules b/debian/lenny/tdebase/debian/rules
index e2ee7f0b7..c3d424f10 100755
--- a/debian/lenny/tdebase/debian/rules
+++ b/debian/lenny/tdebase/debian/rules
@@ -11,7 +11,7 @@ export LD_LIBRARY_PATH
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
include debian/cdbs/debian-qt-kde.mk
diff --git a/debian/lenny/tdebindings/debian/cdbs/debian-qt-kde.mk b/debian/lenny/tdebindings/debian/cdbs/debian-qt-kde.mk
index 2a219d60a..1e862f623 100644
--- a/debian/lenny/tdebindings/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/tdebindings/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/tdeedu/debian/cdbs/debian-qt-kde.mk b/debian/lenny/tdeedu/debian/cdbs/debian-qt-kde.mk
index 4a11bc028..6b7b16643 100644
--- a/debian/lenny/tdeedu/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/tdeedu/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/tdeedu/debian/control b/debian/lenny/tdeedu/debian/control
index 487e5c66d..0d277efab 100644
--- a/debian/lenny/tdeedu/debian/control
+++ b/debian/lenny/tdeedu/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Uploaders: Ana Beatriz Guerrero Lopez <ana@debian.org>, Christopher Martin <chrsmrtn@debian.org>, Daniel Schepler <schepler@debian.org>, Sune Vuorela <debian@pusling.com>
-Build-Depends: ocaml-nox, libfacile-ocaml-dev, libasound2-dev, cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), autotools-dev, gawk, gettext, tdelibs14-trinity-dev, libboost-python-dev (>= 1.33.1), libusb-dev, sharutils, doxygen, libogg-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: ocaml-nox, libfacile-ocaml-dev, libasound2-dev, cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), quilt, autotools-dev, gawk, gettext, tdelibs14-trinity-dev, libboost-python-dev (>= 1.33.1), libusb-dev, sharutils, doxygen, libogg-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: tdeedu-trinity
diff --git a/debian/lenny/tdeedu/debian/patches/series b/debian/lenny/tdeedu/debian/patches/series
new file mode 100644
index 000000000..6b3ddc8ec
--- /dev/null
+++ b/debian/lenny/tdeedu/debian/patches/series
@@ -0,0 +1,3 @@
+common/04_am_maintainer_mode.diff
+common/06_disable_no_undefined.diff
+common/kubuntu_01_kdepot.diff
diff --git a/debian/lenny/tdeedu/debian/rules b/debian/lenny/tdeedu/debian/rules
index 9f81df4c0..c457b98e2 100755
--- a/debian/lenny/tdeedu/debian/rules
+++ b/debian/lenny/tdeedu/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/debian-qt-kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/lenny/tdegames/debian/cdbs/debian-qt-kde.mk b/debian/lenny/tdegames/debian/cdbs/debian-qt-kde.mk
index 4a11bc028..6b7b16643 100644
--- a/debian/lenny/tdegames/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/tdegames/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/tdegames/debian/control b/debian/lenny/tdegames/debian/control
index 1504d7ae3..59ed12c27 100644
--- a/debian/lenny/tdegames/debian/control
+++ b/debian/lenny/tdegames/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Uploaders: Ana Beatriz Guerrero Lopez <ana@debian.org>, Christopher Martin <chrsmrtn@debian.org>, Daniel Schepler <schepler@debian.org>, Sune Vuorela <debian@pusling.com>
-Build-Depends: libasound2-dev, cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), autotools-dev, gawk, gettext, tdelibs14-trinity-dev, tdemultimedia-trinity-dev, libtool, groff-base, sharutils, bzip2, sharutils, libogg-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: libasound2-dev, cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), quilt, autotools-dev, gawk, gettext, tdelibs14-trinity-dev, tdemultimedia-trinity-dev, libtool, groff-base, sharutils, bzip2, sharutils, libogg-dev, automake, autoconf, libtool, libltdl-dev
Build-Depends-Indep: doxygen, graphviz, gsfonts-x11, libtqtinterface-doc, tdelibs14-trinity-doc
Standards-Version: 3.8.4
diff --git a/debian/lenny/tdegames/debian/patches/series b/debian/lenny/tdegames/debian/patches/series
new file mode 100644
index 000000000..6b3ddc8ec
--- /dev/null
+++ b/debian/lenny/tdegames/debian/patches/series
@@ -0,0 +1,3 @@
+common/04_am_maintainer_mode.diff
+common/06_disable_no_undefined.diff
+common/kubuntu_01_kdepot.diff
diff --git a/debian/lenny/tdegames/debian/rules b/debian/lenny/tdegames/debian/rules
index 085eb8404..7f682874f 100755
--- a/debian/lenny/tdegames/debian/rules
+++ b/debian/lenny/tdegames/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/debian-qt-kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
export kde_bindir = /opt/trinity/games
diff --git a/debian/lenny/tdegraphics/debian/cdbs/debian-qt-kde.mk b/debian/lenny/tdegraphics/debian/cdbs/debian-qt-kde.mk
index df08f2d37..7c7e6d56c 100644
--- a/debian/lenny/tdegraphics/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/tdegraphics/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/tdegraphics/debian/control b/debian/lenny/tdegraphics/debian/control
index ea835feac..8b88b8c15 100644
--- a/debian/lenny/tdegraphics/debian/control
+++ b/debian/lenny/tdegraphics/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Uploaders: Ana Beatriz Guerrero Lopez <ana@debian.org>, Francesco Pedrini <francesco.pedrini@gmail.com>, Josh Metzler <joshdeb@metzlers.org>, Sune Vuorela <debian@pusling.com>
-Build-Depends: imlib11-dev, cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), autotools-dev, gawk, gettext, tdelibs14-trinity-dev, libexif-dev (>= 0.6.9-1), libfribidi-dev, freeglut3-dev, libgphoto2-6-dev | libgphoto2-2-dev, libopenexr-dev (>= 1.2.1), libpaper-dev, libpoppler-private-dev | libpoppler-dev (<< 0.18.4-3), libpoppler-dev, libsane-dev (>> 1.0.15), libtiff-dev, libtiff-tools, libusb-dev, sharutils, libxxf86vm-dev, chrpath [powerpc], cmake, libtool, libltdl-dev
+Build-Depends: imlib11-dev, cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), quilt, autotools-dev, gawk, gettext, tdelibs14-trinity-dev, libexif-dev (>= 0.6.9-1), libfribidi-dev, freeglut3-dev, libgphoto2-6-dev | libgphoto2-2-dev, libopenexr-dev (>= 1.2.1), libpaper-dev, libpoppler-private-dev | libpoppler-dev (<< 0.18.4-3), libpoppler-dev, libsane-dev (>> 1.0.15), libtiff-dev, libtiff-tools, libusb-dev, sharutils, libxxf86vm-dev, chrpath [powerpc], cmake, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: tdegraphics-trinity
diff --git a/debian/lenny/tdegraphics/debian/patches/series b/debian/lenny/tdegraphics/debian/patches/series
new file mode 100644
index 000000000..6b3ddc8ec
--- /dev/null
+++ b/debian/lenny/tdegraphics/debian/patches/series
@@ -0,0 +1,3 @@
+common/04_am_maintainer_mode.diff
+common/06_disable_no_undefined.diff
+common/kubuntu_01_kdepot.diff
diff --git a/debian/lenny/tdegraphics/debian/rules b/debian/lenny/tdegraphics/debian/rules
index 9aedb5fcf..87727752f 100755
--- a/debian/lenny/tdegraphics/debian/rules
+++ b/debian/lenny/tdegraphics/debian/rules
@@ -11,7 +11,7 @@ export LD_LIBRARY_PATH
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_CMAKE_EXTRA_FLAGS := -DLIB_SUFFIX="" -DCMAKE_INSTALL_PREFIX="/opt/trinity" -DCONFIG_INSTALL_DIR="/etc/trinity" -DSYSCONF_INSTALL_DIR="/etc/trinity" -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" -DCMAKE_INCLUDE_PATH="/opt/trinity/include/" -DAUTODETECT_QT_DIRS="ON" -DCMAKE_VERBOSE_MAKEFILE="ON" -DBUILD_ALL="ON" -DCMAKE_SKIP_RPATH="OFF" \
diff --git a/debian/lenny/tdelibs/debian/control b/debian/lenny/tdelibs/debian/control
index d3124cae8..d516bc037 100644
--- a/debian/lenny/tdelibs/debian/control
+++ b/debian/lenny/tdelibs/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Uploaders: Adeodato Sim <dato@net.com.org.es>, Ana Beatriz Guerrero Lopez <ana@debian.org>, Daniel Schepler <schepler@debian.org>, Fathi Boudra <fboudra@free.fr>, Sune Vuorela <debian@pusling.com>
-Build-Depends: cdbs (>= 0.4.41ubuntu2), debhelper (>= 5.0.31), autotools-dev,
+Build-Depends: cdbs (>= 0.4.41ubuntu2), debhelper (>= 5.0.31), quilt, autotools-dev,
binutils (>= 2.14.90.0.7), binutils-dev, docbook-to-man, gawk, gettext,
libart-2.0-dev (>= 14.0.0), libarts1-trinity-dev (>= 1.5.0), libacl1-dev,
libattr1-dev, libasound2-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386],
diff --git a/debian/squeeze/applications/ktorrent/debian/patches/.gitignore b/debian/lenny/tdelibs/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/squeeze/applications/ktorrent/debian/patches/.gitignore
+++ b/debian/lenny/tdelibs/debian/patches/series
diff --git a/debian/lenny/tdelibs/debian/rules b/debian/lenny/tdelibs/debian/rules
index 2024e1380..5ea30a3cc 100755
--- a/debian/lenny/tdelibs/debian/rules
+++ b/debian/lenny/tdelibs/debian/rules
@@ -11,7 +11,7 @@ export LD_LIBRARY_PATH
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
include debian/cdbs/debian-qt-kde.mk
diff --git a/debian/lenny/tdemultimedia/debian/cdbs/debian-qt-kde.mk b/debian/lenny/tdemultimedia/debian/cdbs/debian-qt-kde.mk
index 4a11bc028..6b7b16643 100644
--- a/debian/lenny/tdemultimedia/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/tdemultimedia/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/tdemultimedia/debian/control b/debian/lenny/tdemultimedia/debian/control
index b4c0ea921..7ea0661d4 100644
--- a/debian/lenny/tdemultimedia/debian/control
+++ b/debian/lenny/tdemultimedia/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Uploaders: Ana Beatriz Guerrero Lopez <ana@debian.org>, Christopher Martin <chrsmrtn@debian.org>, Fathi Boudra <fboudra@free.fr>, Sune Vuorela <debian@pusling.com>
-Build-Depends: cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), autotools-dev, cdparanoia, gawk, gettext, tdelibs14-trinity-dev, libcdparanoia0-dev, libesd0-dev, libflac-dev (>= 1.1.4-1), libgstreamer-plugins-base0.10-dev, libsamplerate0-dev, libspeex-dev (>> 1.1.5), libtag1-dev (>> 1.3.1), libtheora-dev, libxine2-dev | libxine-dev, sharutils, texinfo, libxxf86dga-dev, libxv-dev, libxxf86vm-dev, libakode-dev, libogg-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), quilt, autotools-dev, cdparanoia, gawk, gettext, tdelibs14-trinity-dev, libcdparanoia0-dev, libesd0-dev, libflac-dev (>= 1.1.4-1), libgstreamer-plugins-base0.10-dev, libsamplerate0-dev, libspeex-dev (>> 1.1.5), libtag1-dev (>> 1.3.1), libtheora-dev, libxine2-dev | libxine-dev, sharutils, texinfo, libxxf86dga-dev, libxv-dev, libxxf86vm-dev, libakode-dev, libogg-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: tdemultimedia-trinity
diff --git a/debian/lenny/tdemultimedia/debian/patches/series b/debian/lenny/tdemultimedia/debian/patches/series
new file mode 100644
index 000000000..6b3ddc8ec
--- /dev/null
+++ b/debian/lenny/tdemultimedia/debian/patches/series
@@ -0,0 +1,3 @@
+common/04_am_maintainer_mode.diff
+common/06_disable_no_undefined.diff
+common/kubuntu_01_kdepot.diff
diff --git a/debian/lenny/tdemultimedia/debian/rules b/debian/lenny/tdemultimedia/debian/rules
index 4dcb0d43d..1a946ecfc 100755
--- a/debian/lenny/tdemultimedia/debian/rules
+++ b/debian/lenny/tdemultimedia/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/debian-qt-kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/lenny/tdenetwork/debian/cdbs/debian-qt-kde.mk b/debian/lenny/tdenetwork/debian/cdbs/debian-qt-kde.mk
index f8b76cb04..4a9d74d88 100644
--- a/debian/lenny/tdenetwork/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/tdenetwork/debian/cdbs/debian-qt-kde.mk
@@ -20,7 +20,9 @@ endif
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/tdenetwork/debian/control b/debian/lenny/tdenetwork/debian/control
index 410c33725..e4180cb98 100644
--- a/debian/lenny/tdenetwork/debian/control
+++ b/debian/lenny/tdenetwork/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Uploaders: Ana Beatriz Guerrero Lopez <ana@debian.org>, Christopher Martin <chrsmrtn@debian.org>, Modestas Vainius <geromanas@mailas.com>, Sarah Hobbs <hobbsee@ubuntu.com>, Sune Vuorela <debian@pusling.com>
-Build-Depends: libasound2-dev, cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), cmake, autotools-dev, docbook-to-man, doxygen, gawk, gettext, tdelibs14-trinity-dev, libgadu-dev, libiw-dev (>> 27+28pre8), libmeanwhile-dev (>= 1.0.2), libslp-dev, libsqlite3-dev, libtiff-dev, libxml2-dev, libxslt1-dev, libxtst-dev, libtqtinterface-doc, sharutils, valgrind [!armel], libxxf86vm-dev, libv4l-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: libasound2-dev, cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), quilt, cmake, autotools-dev, docbook-to-man, doxygen, gawk, gettext, tdelibs14-trinity-dev, libgadu-dev, libiw-dev (>> 27+28pre8), libmeanwhile-dev (>= 1.0.2), libslp-dev, libsqlite3-dev, libtiff-dev, libxml2-dev, libxslt1-dev, libxtst-dev, libtqtinterface-doc, sharutils, valgrind [!armel], libxxf86vm-dev, libv4l-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: tdenetwork-trinity
diff --git a/debian/lenny/tdenetwork/debian/patches/series b/debian/lenny/tdenetwork/debian/patches/series
new file mode 100644
index 000000000..6b3ddc8ec
--- /dev/null
+++ b/debian/lenny/tdenetwork/debian/patches/series
@@ -0,0 +1,3 @@
+common/04_am_maintainer_mode.diff
+common/06_disable_no_undefined.diff
+common/kubuntu_01_kdepot.diff
diff --git a/debian/lenny/tdenetwork/debian/rules b/debian/lenny/tdenetwork/debian/rules
index 0ee562691..539d5a557 100755
--- a/debian/lenny/tdenetwork/debian/rules
+++ b/debian/lenny/tdenetwork/debian/rules
@@ -15,7 +15,7 @@ export DH_OPTIONS
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
include debian/cdbs/debian-qt-kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include
diff --git a/debian/lenny/tdepim/debian/cdbs/debian-qt-kde.mk b/debian/lenny/tdepim/debian/cdbs/debian-qt-kde.mk
index fa0d532f4..ec89756bb 100644
--- a/debian/lenny/tdepim/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/tdepim/debian/cdbs/debian-qt-kde.mk
@@ -15,7 +15,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/tdepim/debian/control b/debian/lenny/tdepim/debian/control
index 09d891a98..9b28415cd 100644
--- a/debian/lenny/tdepim/debian/control
+++ b/debian/lenny/tdepim/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Uploaders: Ana Beatriz Guerrero Lopez <ana@debian.org>, Josh Metzler <joshdeb@metzlers.org>, Sune Vuorela <debian@pusling.com>
-Build-Depends: libasound2-dev, cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31),
+Build-Depends: libasound2-dev, cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), quilt,
cdparanoia, gawk, gettext, tdelibs14-trinity-dev, bison, byacc, bzip2,
flex, groff-base, libopensync0-dev, libogg-dev,
libboost-dev (>= 1.33.1), libgpgme11-dev, liblockdev1-dev,
diff --git a/debian/squeeze/applications/kvirc/debian/patches/.gitignore b/debian/lenny/tdepim/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/squeeze/applications/kvirc/debian/patches/.gitignore
+++ b/debian/lenny/tdepim/debian/patches/series
diff --git a/debian/lenny/tdepim/debian/rules b/debian/lenny/tdepim/debian/rules
index 48c8b7fa2..e01240a19 100755
--- a/debian/lenny/tdepim/debian/rules
+++ b/debian/lenny/tdepim/debian/rules
@@ -11,7 +11,7 @@ export LD_LIBRARY_PATH
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
include debian/cdbs/debian-qt-kde.mk
diff --git a/debian/lenny/tdesdk/debian/cdbs/debian-qt-kde.mk b/debian/lenny/tdesdk/debian/cdbs/debian-qt-kde.mk
index f8b76cb04..4a9d74d88 100644
--- a/debian/lenny/tdesdk/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/tdesdk/debian/cdbs/debian-qt-kde.mk
@@ -20,7 +20,9 @@ endif
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/tdesdk/debian/control b/debian/lenny/tdesdk/debian/control
index d92d97c2d..088678120 100644
--- a/debian/lenny/tdesdk/debian/control
+++ b/debian/lenny/tdesdk/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Uploaders: Ana Beatriz Guerrero Lopez <ana@debian.org>, Fathi Boudra <fboudra@free.fr>, Josh Metzler <joshdeb@metzlers.org>, Sune Vuorela <debian@pusling.com>
-Build-Depends: libasound2-dev, cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), cmake, autotools-dev, gawk,
+Build-Depends: libasound2-dev, cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), quilt, cmake, autotools-dev, gawk,
gettext, pkg-config, tdelibs14-trinity-dev, binutils-dev, bison, flex,
tdepim-trinity-dev, libapr1-dev, libkcal2-trinity-dev,
libktnef1-trinity-dev, libsvn-dev, libdb-dev,
diff --git a/debian/lenny/tdesdk/debian/patches/series b/debian/lenny/tdesdk/debian/patches/series
new file mode 100644
index 000000000..6b3ddc8ec
--- /dev/null
+++ b/debian/lenny/tdesdk/debian/patches/series
@@ -0,0 +1,3 @@
+common/04_am_maintainer_mode.diff
+common/06_disable_no_undefined.diff
+common/kubuntu_01_kdepot.diff
diff --git a/debian/lenny/tdesdk/debian/rules b/debian/lenny/tdesdk/debian/rules
index 1eefdc788..e65d7e0df 100755
--- a/debian/lenny/tdesdk/debian/rules
+++ b/debian/lenny/tdesdk/debian/rules
@@ -3,7 +3,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
include debian/cdbs/debian-qt-kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include
diff --git a/debian/lenny/tdetoys/debian/cdbs/debian-qt-kde.mk b/debian/lenny/tdetoys/debian/cdbs/debian-qt-kde.mk
index f8b76cb04..4a9d74d88 100644
--- a/debian/lenny/tdetoys/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/tdetoys/debian/cdbs/debian-qt-kde.mk
@@ -20,7 +20,9 @@ endif
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/tdetoys/debian/control b/debian/lenny/tdetoys/debian/control
index 6c3d306f3..d858c4c51 100644
--- a/debian/lenny/tdetoys/debian/control
+++ b/debian/lenny/tdetoys/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Uploaders: Ana Beatriz Guerrero Lopez <ana@debian.org>, Christopher Martin <chrsmrtn@debian.org>, Modestas Vainius <geromanas@mailas.com>
-Build-Depends: libasound2-dev, cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), cmake, autotools-dev, tdelibs14-trinity-dev, gawk, gettext, sharutils, automake, autoconf, libtool, libltdl-dev
+Build-Depends: libasound2-dev, cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), quilt, cmake, autotools-dev, tdelibs14-trinity-dev, gawk, gettext, sharutils, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: tdetoys-trinity
diff --git a/debian/lenny/tdetoys/debian/patches/series b/debian/lenny/tdetoys/debian/patches/series
new file mode 100644
index 000000000..6b3ddc8ec
--- /dev/null
+++ b/debian/lenny/tdetoys/debian/patches/series
@@ -0,0 +1,3 @@
+common/04_am_maintainer_mode.diff
+common/06_disable_no_undefined.diff
+common/kubuntu_01_kdepot.diff
diff --git a/debian/lenny/tdetoys/debian/rules b/debian/lenny/tdetoys/debian/rules
index da1268d9f..21108293f 100755
--- a/debian/lenny/tdetoys/debian/rules
+++ b/debian/lenny/tdetoys/debian/rules
@@ -3,7 +3,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
include debian/cdbs/debian-qt-kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include
diff --git a/debian/lenny/tdeutils/debian/cdbs/debian-qt-kde.mk b/debian/lenny/tdeutils/debian/cdbs/debian-qt-kde.mk
index f8b76cb04..4a9d74d88 100644
--- a/debian/lenny/tdeutils/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/tdeutils/debian/cdbs/debian-qt-kde.mk
@@ -20,7 +20,9 @@ endif
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/tdeutils/debian/control b/debian/lenny/tdeutils/debian/control
index 009724fc7..eac52ecdd 100644
--- a/debian/lenny/tdeutils/debian/control
+++ b/debian/lenny/tdeutils/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Uploaders: Ana Beatriz Guerrero Lopez <ana@debian.org>, Christopher Martin <chrsmrtn@debian.org>, Fathi Boudra <fboudra@free.fr>, Josh Metzler <joshdeb@metzlers.org>, Sune Vuorela <debian@pusling.com>
-Build-Depends: libasound2-dev, cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), cmake, autotools-dev, gawk, gettext, tdelibs14-trinity-dev, tdebase-trinity-dev, libkonq4-trinity-dev, libgmp3-dev, libsnmp-dev, libxpm-dev, python-dev, libxtst-dev, xutils, sharutils, automake, autoconf, libtool, libltdl-dev
+Build-Depends: libasound2-dev, cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), quilt, cmake, autotools-dev, gawk, gettext, tdelibs14-trinity-dev, tdebase-trinity-dev, libkonq4-trinity-dev, libgmp3-dev, libsnmp-dev, libxpm-dev, python-dev, libxtst-dev, xutils, sharutils, automake, autoconf, libtool, libltdl-dev
Build-Depends-Indep: doxygen, libtqtinterface-doc, graphviz, gsfonts-x11, tdelibs14-trinity-doc
Standards-Version: 3.8.4
diff --git a/debian/lenny/tdeutils/debian/patches/series b/debian/lenny/tdeutils/debian/patches/series
new file mode 100644
index 000000000..f4421a4c2
--- /dev/null
+++ b/debian/lenny/tdeutils/debian/patches/series
@@ -0,0 +1,5 @@
+common/04_am_maintainer_mode.diff
+common/06_disable_no_undefined.diff
+common/kubuntu_01_kdepot.diff
+
+01-klaptopdaemon-setuphandler.diff
diff --git a/debian/lenny/tdeutils/debian/rules b/debian/lenny/tdeutils/debian/rules
index 19848196e..c7e800362 100755
--- a/debian/lenny/tdeutils/debian/rules
+++ b/debian/lenny/tdeutils/debian/rules
@@ -3,7 +3,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
include debian/cdbs/debian-qt-kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include
diff --git a/debian/lenny/tdevelop/debian/cdbs/debian-qt-kde.mk b/debian/lenny/tdevelop/debian/cdbs/debian-qt-kde.mk
index f8b76cb04..4a9d74d88 100644
--- a/debian/lenny/tdevelop/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/tdevelop/debian/cdbs/debian-qt-kde.mk
@@ -20,7 +20,9 @@ endif
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/tdevelop/debian/control b/debian/lenny/tdevelop/debian/control
index 2e9d698f8..cfc4a38d6 100644
--- a/debian/lenny/tdevelop/debian/control
+++ b/debian/lenny/tdevelop/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Jeremy Lain <jeremy.laine@m4x.org>
-Build-Depends: cdbs (>= 0.4.38), debhelper (>= 5), cmake, tdelibs14-trinity-dev, gettext, tdelibs14-trinity-doc, libtqtinterface-doc, flex, python, libcvsservice-trinity-dev, groff-base, libsvn-dev, libaprutil1-dev, libdb-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: cdbs (>= 0.4.38), debhelper (>= 5), quilt, cmake, tdelibs14-trinity-dev, gettext, tdelibs14-trinity-doc, libtqtinterface-doc, flex, python, libcvsservice-trinity-dev, groff-base, libsvn-dev, libaprutil1-dev, libdb-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: tdevelop-trinity
diff --git a/debian/lenny/tdevelop/debian/patches/series b/debian/lenny/tdevelop/debian/patches/series
new file mode 100644
index 000000000..6b3ddc8ec
--- /dev/null
+++ b/debian/lenny/tdevelop/debian/patches/series
@@ -0,0 +1,3 @@
+common/04_am_maintainer_mode.diff
+common/06_disable_no_undefined.diff
+common/kubuntu_01_kdepot.diff
diff --git a/debian/lenny/tdevelop/debian/rules b/debian/lenny/tdevelop/debian/rules
index 95a3981ea..9d5bcbc87 100755
--- a/debian/lenny/tdevelop/debian/rules
+++ b/debian/lenny/tdevelop/debian/rules
@@ -7,7 +7,7 @@ makebuilddir::
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
include debian/cdbs/debian-qt-kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include
diff --git a/debian/lenny/tdewebdev/debian/cdbs/debian-qt-kde.mk b/debian/lenny/tdewebdev/debian/cdbs/debian-qt-kde.mk
index 4a11bc028..6b7b16643 100644
--- a/debian/lenny/tdewebdev/debian/cdbs/debian-qt-kde.mk
+++ b/debian/lenny/tdewebdev/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/lenny/tdewebdev/debian/control b/debian/lenny/tdewebdev/debian/control
index c1cf6d923..565d755ad 100644
--- a/debian/lenny/tdewebdev/debian/control
+++ b/debian/lenny/tdewebdev/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Uploaders: Adeodato Sim <dato@net.com.org.es>, Ana Beatriz Guerrero Lopez <ana@debian.org>, Armin Berres <trigger+debian@space-based.de>, Sune Vuorela <debian@pusling.com>
-Build-Depends: cdbs (>= 0.4.39-0.1), debhelper (>= 5), autotools-dev, gawk, gettext, tdelibs14-trinity-dev, libreadline5-dev | libreadline6-dev, libxml2-dev, libxslt1-dev, sharutils, texinfo, automake, autoconf, libtool, libltdl-dev
+Build-Depends: cdbs (>= 0.4.39-0.1), debhelper (>= 5), quilt, autotools-dev, gawk, gettext, tdelibs14-trinity-dev, libreadline5-dev | libreadline6-dev, libxml2-dev, libxslt1-dev, sharutils, texinfo, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Homepage: http://trinity.pearsoncomputing.net
diff --git a/debian/lenny/tdewebdev/debian/patches/series b/debian/lenny/tdewebdev/debian/patches/series
new file mode 100644
index 000000000..8f8f0bd6b
--- /dev/null
+++ b/debian/lenny/tdewebdev/debian/patches/series
@@ -0,0 +1 @@
+common/kubuntu_01_kdepot.diff
diff --git a/debian/lenny/tdewebdev/debian/rules b/debian/lenny/tdewebdev/debian/rules
index 1e601c5e2..46e21c610 100755
--- a/debian/lenny/tdewebdev/debian/rules
+++ b/debian/lenny/tdewebdev/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/debian-qt-kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/squeeze/applications/abakus/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/abakus/debian/cdbs/debian-qt-kde.mk
index 5e704aa4a..c5d8ecfd3 100644
--- a/debian/squeeze/applications/abakus/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/abakus/debian/cdbs/debian-qt-kde.mk
@@ -15,7 +15,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/abakus/debian/control b/debian/squeeze/applications/abakus/debian/control
index 0fbc2fdb5..d3c0c5279 100644
--- a/debian/squeeze/applications/abakus/debian/control
+++ b/debian/squeeze/applications/abakus/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Steffen Joeris <steffen.joeris@skolelinux.de>
-Build-Depends: autotools-dev, debhelper (>= 4.1.0), cdbs (>= 0.4.0), cmake, imagemagick, tdelibs14-trinity-dev, chrpath, bison, flex
+Build-Depends: autotools-dev, debhelper (>= 4.1.0), quilt, cdbs (>= 0.4.0), cmake, imagemagick, tdelibs14-trinity-dev, chrpath, bison, flex
Standards-Version: 3.8.4
Package: abakus-trinity
diff --git a/debian/squeeze/applications/kvkbd/debian/patches/.gitignore b/debian/squeeze/applications/abakus/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/squeeze/applications/kvkbd/debian/patches/.gitignore
+++ b/debian/squeeze/applications/abakus/debian/patches/series
diff --git a/debian/squeeze/applications/abakus/debian/rules b/debian/squeeze/applications/abakus/debian/rules
index c856f7cae..83d7d7fb4 100755
--- a/debian/squeeze/applications/abakus/debian/rules
+++ b/debian/squeeze/applications/abakus/debian/rules
@@ -11,7 +11,7 @@ export LD_LIBRARY_PATH
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
include debian/cdbs/debian-qt-kde.mk
diff --git a/debian/squeeze/applications/adept/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/adept/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/squeeze/applications/adept/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/adept/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/adept/debian/control b/debian/squeeze/applications/adept/debian/control
index 12796cfa7..95fee8d1e 100644
--- a/debian/squeeze/applications/adept/debian/control
+++ b/debian/squeeze/applications/adept/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Peter Rockai <me@mornfall.net>
Uploaders: Isaac Clerencia <isaac@debian.org>, Enrico Zini <enrico@debian.org>
-Build-Depends: cdbs, debhelper (>> 4.1), dh-buildinfo, libapt-front-dev (>= 0.4.0-0.1ubuntu5), libapt-front-dev (<< 0.5), libtagcoll2-dev (>= 2.0.6), libtagcoll2-dev (<< 2.1), libwibble-dev (>= 0.1.10), libwibble-dev (<< 0.2), tdelibs14-trinity-dev (>= 3.5.0), sharutils, automake, autoconf, libtool, libltdl-dev
+Build-Depends: cdbs, debhelper (>> 4.1), quilt, dh-buildinfo, libapt-front-dev (>= 0.4.0-0.1ubuntu5), libapt-front-dev (<< 0.5), libtagcoll2-dev (>= 2.0.6), libtagcoll2-dev (<< 2.1), libwibble-dev (>= 0.1.10), libwibble-dev (<< 0.2), tdelibs14-trinity-dev (>= 3.5.0), sharutils, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: adept-trinity
diff --git a/debian/squeeze/applications/adept/debian/patches/series b/debian/squeeze/applications/adept/debian/patches/series
new file mode 100644
index 000000000..ad5b05138
--- /dev/null
+++ b/debian/squeeze/applications/adept/debian/patches/series
@@ -0,0 +1 @@
+remove_apport.diff
diff --git a/debian/squeeze/applications/adept/debian/rules b/debian/squeeze/applications/adept/debian/rules
index 742307eb6..0e554102b 100755
--- a/debian/squeeze/applications/adept/debian/rules
+++ b/debian/squeeze/applications/adept/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
DEB_CONFIGURE_MANDIR := /opt/trinity/share/man
diff --git a/debian/squeeze/applications/amarok.cmake/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/amarok.cmake/debian/cdbs/debian-qt-kde.mk
index 345cc0a61..fb36ac52f 100644
--- a/debian/squeeze/applications/amarok.cmake/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/amarok.cmake/debian/cdbs/debian-qt-kde.mk
@@ -15,7 +15,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/amarok.cmake/debian/rules b/debian/squeeze/applications/amarok.cmake/debian/rules
index 4fd9a743d..7f157aa03 100755
--- a/debian/squeeze/applications/amarok.cmake/debian/rules
+++ b/debian/squeeze/applications/amarok.cmake/debian/rules
@@ -11,7 +11,7 @@ export LD_LIBRARY_PATH
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
include debian/cdbs/debian-qt-kde.mk
diff --git a/debian/squeeze/applications/amarok/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/amarok/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/squeeze/applications/amarok/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/amarok/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/basket/debian/control b/debian/squeeze/applications/basket/debian/control
index 8b485c191..33cb331ad 100644
--- a/debian/squeeze/applications/basket/debian/control
+++ b/debian/squeeze/applications/basket/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>
Uploaders: Ana Beatriz Guerrero Lopez <ana@debian.org>, Sune Vuorela <debian@pusling.com>
-Build-Depends: libasound2-dev, debhelper (>= 5), tdelibs14-trinity-dev, tdepim-trinity-dev, libgpgme11-dev, quilt (>= 0.40), automake, autoconf, libtool, libltdl-dev
+Build-Depends: libasound2-dev, cdbs, debhelper (>= 5), tdelibs14-trinity-dev, tdepim-trinity-dev, libgpgme11-dev, quilt (>= 0.40), automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: basket-trinity
diff --git a/debian/squeeze/applications/basket/debian/rules b/debian/squeeze/applications/basket/debian/rules
index d3cf5255e..4afb63bdd 100755
--- a/debian/squeeze/applications/basket/debian/rules
+++ b/debian/squeeze/applications/basket/debian/rules
@@ -26,10 +26,10 @@ else
CFLAGS += -O2
endif
-include /usr/share/quilt/quilt.make
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
-config.status: $(QUILT_STAMPFN)
+config.status: post-patches
dh_testdir
test -e config.sub -a -L config.sub || \
ln -sf /usr/share/misc/config.sub config.sub
@@ -59,7 +59,7 @@ build-stamp: config.status
touch build-stamp
-clean: unpatch
+clean::
dh_testdir
dh_testroot
diff --git a/debian/squeeze/applications/bibletime/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/bibletime/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/squeeze/applications/bibletime/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/bibletime/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/piklab/debian/patches/.gitignore b/debian/squeeze/applications/bibletime/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/squeeze/applications/piklab/debian/patches/.gitignore
+++ b/debian/squeeze/applications/bibletime/debian/patches/series
diff --git a/debian/squeeze/applications/bibletime/debian/rules b/debian/squeeze/applications/bibletime/debian/rules
index 4106bf0f4..9e134b1f7 100755
--- a/debian/squeeze/applications/bibletime/debian/rules
+++ b/debian/squeeze/applications/bibletime/debian/rules
@@ -3,7 +3,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/debian-qt-kde.mk
include /usr/share/cdbs/1/class/autotools.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
DEB_DH_INSTALL_SOURCEDIR := debian
diff --git a/debian/squeeze/applications/compizconfig-backend-tdeconfig/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/compizconfig-backend-tdeconfig/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/squeeze/applications/compizconfig-backend-tdeconfig/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/compizconfig-backend-tdeconfig/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/compizconfig-backend-tdeconfig/debian/control b/debian/squeeze/applications/compizconfig-backend-tdeconfig/debian/control
index febf1777d..591e61775 100644
--- a/debian/squeeze/applications/compizconfig-backend-tdeconfig/debian/control
+++ b/debian/squeeze/applications/compizconfig-backend-tdeconfig/debian/control
@@ -2,7 +2,7 @@ Source: compizconfig-backend-tdeconfig-trinity
Section: libs
Priority: extra
Maintainer: Timothy Pearosn <kb9vqf@pearsoncomputing.net>
-Build-Depends: cdbs, debhelper (>= 5), compiz-trinity-dev, pkg-config, intltool, tdelibs14-trinity-dev, libcompizconfig0-trinity-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: cdbs, debhelper (>= 5), quilt, compiz-trinity-dev, pkg-config, intltool, tdelibs14-trinity-dev, libcompizconfig0-trinity-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: compizconfig-backend-tdeconfig-trinity
diff --git a/debian/squeeze/applications/rosegarden/debian/patches/.gitignore b/debian/squeeze/applications/compizconfig-backend-tdeconfig/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/squeeze/applications/rosegarden/debian/patches/.gitignore
+++ b/debian/squeeze/applications/compizconfig-backend-tdeconfig/debian/patches/series
diff --git a/debian/squeeze/applications/compizconfig-backend-tdeconfig/debian/rules b/debian/squeeze/applications/compizconfig-backend-tdeconfig/debian/rules
index 85efaa2fa..eb681a06a 100755
--- a/debian/squeeze/applications/compizconfig-backend-tdeconfig/debian/rules
+++ b/debian/squeeze/applications/compizconfig-backend-tdeconfig/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
DEB_CONFIGURE_MANDIR := /opt/trinity/share/man
diff --git a/debian/squeeze/applications/digikam/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/digikam/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/squeeze/applications/digikam/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/digikam/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/digikam/debian/control b/debian/squeeze/applications/digikam/debian/control
index 67ba409c4..2c4f978c3 100644
--- a/debian/squeeze/applications/digikam/debian/control
+++ b/debian/squeeze/applications/digikam/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>
Uploaders: Achim Bohnet <ach@mpe.mpg.de>, Mark Purcell <msp@debian.org>, Fathi Boudra <fabo@debian.org>
-Build-Depends: cdbs, debhelper (>= 5), tdelibs14-trinity-dev,
+Build-Depends: cdbs, debhelper (>= 5), quilt, tdelibs14-trinity-dev,
libtiff-dev, libgphoto2-6-dev | libgphoto2-2-dev, libkipi0-trinity-dev,
libsqlite3-dev, liblcms1-dev, libkexiv2-3-trinity-dev (>= 0.1.6),
libjasper-dev, libpng12-dev | libpng-dev, libexiv2-dev,
diff --git a/debian/squeeze/applications/tde-guidance/debian/patches/.gitignore b/debian/squeeze/applications/digikam/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/squeeze/applications/tde-guidance/debian/patches/.gitignore
+++ b/debian/squeeze/applications/digikam/debian/patches/series
diff --git a/debian/squeeze/applications/digikam/debian/rules b/debian/squeeze/applications/digikam/debian/rules
index 76fa321bc..cc9992ad3 100755
--- a/debian/squeeze/applications/digikam/debian/rules
+++ b/debian/squeeze/applications/digikam/debian/rules
@@ -1,7 +1,7 @@
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
include debian/cdbs/debian-qt-kde.mk
-include /usr/share/gnome-pkg-tools/1/rules/sf-get-source.mk
diff --git a/debian/squeeze/applications/dolphin/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/dolphin/debian/cdbs/debian-qt-kde.mk
index 345cc0a61..fb36ac52f 100644
--- a/debian/squeeze/applications/dolphin/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/dolphin/debian/cdbs/debian-qt-kde.mk
@@ -15,7 +15,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/dolphin/debian/control b/debian/squeeze/applications/dolphin/debian/control
index 4893570ea..8fc8f23d2 100644
--- a/debian/squeeze/applications/dolphin/debian/control
+++ b/debian/squeeze/applications/dolphin/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Anthony Mercatante <tonio@ubuntu.com>
-Build-Depends: debhelper (>= 5), cdbs, tdelibs14-trinity-dev, libkonq4-trinity-dev, tdebase-trinity-dev, docbook2x, docbook-xml, libtool, libltdl-dev, cmake
+Build-Depends: debhelper (>= 5), quilt, cdbs, tdelibs14-trinity-dev, libkonq4-trinity-dev, tdebase-trinity-dev, docbook2x, docbook-xml, libtool, libltdl-dev, cmake
Standards-Version: 3.8.4
Package: dolphin-trinity
diff --git a/debian/squeeze/applications/tde-style-qtcurve/debian/patches/.gitignore b/debian/squeeze/applications/dolphin/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/squeeze/applications/tde-style-qtcurve/debian/patches/.gitignore
+++ b/debian/squeeze/applications/dolphin/debian/patches/series
diff --git a/debian/squeeze/applications/dolphin/debian/rules b/debian/squeeze/applications/dolphin/debian/rules
index 66ea98891..f978c418e 100755
--- a/debian/squeeze/applications/dolphin/debian/rules
+++ b/debian/squeeze/applications/dolphin/debian/rules
@@ -11,7 +11,7 @@ export LD_LIBRARY_PATH
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
include debian/cdbs/debian-qt-kde.mk
diff --git a/debian/squeeze/applications/filelight-l10n/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/filelight-l10n/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/squeeze/applications/filelight-l10n/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/filelight-l10n/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/filelight-l10n/debian/control b/debian/squeeze/applications/filelight-l10n/debian/control
index 812a4a68f..0cbcfc3ef 100644
--- a/debian/squeeze/applications/filelight-l10n/debian/control
+++ b/debian/squeeze/applications/filelight-l10n/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Uploaders: Ral Snchez Siles <rasasi78@gmail.com>
-Build-Depends: tdelibs14-trinity-dev (>= 4:3.4.3), cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), automake, autoconf, libtool, libltdl-dev
+Build-Depends: tdelibs14-trinity-dev (>= 4:3.4.3), cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), quilt, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Homepage: http://www.methylblue.com/filelight/
diff --git a/debian/squeeze/applications/tde-systemsettings/debian/patches/.gitignore b/debian/squeeze/applications/filelight-l10n/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/squeeze/applications/tde-systemsettings/debian/patches/.gitignore
+++ b/debian/squeeze/applications/filelight-l10n/debian/patches/series
diff --git a/debian/squeeze/applications/filelight-l10n/debian/rules b/debian/squeeze/applications/filelight-l10n/debian/rules
index 84a2f4975..6d6088aad 100755
--- a/debian/squeeze/applications/filelight-l10n/debian/rules
+++ b/debian/squeeze/applications/filelight-l10n/debian/rules
@@ -4,7 +4,7 @@ DEB_PATCHDIRS := debian/patches/common debian/patches
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/squeeze/applications/filelight/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/filelight/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/squeeze/applications/filelight/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/filelight/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/fusion-icon/debian/control b/debian/squeeze/applications/fusion-icon/debian/control
index 992d74863..2b6f86ef6 100644
--- a/debian/squeeze/applications/fusion-icon/debian/control
+++ b/debian/squeeze/applications/fusion-icon/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Uploaders: Python Applications Packaging Team <python-apps-team@lists.alioth.debian.org>
XS-Python-Version: all
-Build-Depends: cdbs (>= 0.4.49), debhelper (>= 5.0.37.1), pkg-config, python-all-dev
+Build-Depends: cdbs (>= 0.4.49), debhelper (>= 5.0.37.1), quilt, pkg-config, python-all-dev
Build-Depends-Indep: python-support (>= 0.6), intltool
Standards-Version: 3.8.4
diff --git a/debian/squeeze/applications/tdeio-apt/debian/patches/.gitignore b/debian/squeeze/applications/fusion-icon/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/squeeze/applications/tdeio-apt/debian/patches/.gitignore
+++ b/debian/squeeze/applications/fusion-icon/debian/patches/series
diff --git a/debian/squeeze/applications/fusion-icon/debian/rules b/debian/squeeze/applications/fusion-icon/debian/rules
index 2b780a204..3c129a596 100755
--- a/debian/squeeze/applications/fusion-icon/debian/rules
+++ b/debian/squeeze/applications/fusion-icon/debian/rules
@@ -5,7 +5,7 @@ DEB_PYTHON_SYSTEM=pysupport
include /usr/share/cdbs/1/rules/debhelper.mk
# include /usr/share/cdbs/1/class/python-distutils.mk
include debian/python-distutils-custom.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
diff --git a/debian/squeeze/applications/gtk-qt-engine/debian/control b/debian/squeeze/applications/gtk-qt-engine/debian/control
index cf970f8fa..9ab358185 100644
--- a/debian/squeeze/applications/gtk-qt-engine/debian/control
+++ b/debian/squeeze/applications/gtk-qt-engine/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Bastian Venthur <venthur@debian.org>
-Build-Depends: debhelper (>= 5.0), cdbs, tdelibs14-trinity-dev, libgtk2.0-dev, cmake, libgtk2.0-dev (>= 2.10.1)
+Build-Depends: debhelper (>= 5.0), quilt, cdbs, tdelibs14-trinity-dev, libgtk2.0-dev, cmake, libgtk2.0-dev (>= 2.10.1)
Standards-Version: 3.8.4
Package: gtk-qt-engine-trinity
diff --git a/debian/squeeze/applications/tdeio-umountwrapper/debian/patches/.gitignore b/debian/squeeze/applications/gtk-qt-engine/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/squeeze/applications/tdeio-umountwrapper/debian/patches/.gitignore
+++ b/debian/squeeze/applications/gtk-qt-engine/debian/patches/series
diff --git a/debian/squeeze/applications/gtk-qt-engine/debian/rules b/debian/squeeze/applications/gtk-qt-engine/debian/rules
index 8c78b986c..64a42472c 100755
--- a/debian/squeeze/applications/gtk-qt-engine/debian/rules
+++ b/debian/squeeze/applications/gtk-qt-engine/debian/rules
@@ -11,7 +11,7 @@ export LD_LIBRARY_PATH
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
include debian/cdbs/debian-qt-kde.mk
diff --git a/debian/squeeze/applications/gtk3-tqt-engine/debian/control b/debian/squeeze/applications/gtk3-tqt-engine/debian/control
index a192c467e..4acce9a2e 100644
--- a/debian/squeeze/applications/gtk3-tqt-engine/debian/control
+++ b/debian/squeeze/applications/gtk3-tqt-engine/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Raphaël Pinson <raphink@raphink.net>
-Build-Depends: debhelper (>= 5), cdbs, tdelibs14-trinity-dev, libcairo2-dev, libgtk-3-dev, libpango1.0-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: debhelper (>= 5), quilt, cdbs, tdelibs14-trinity-dev, libcairo2-dev, libgtk-3-dev, libpango1.0-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: gtk3-tqt-engine-trinity
diff --git a/debian/squeeze/applications/tdepowersave/debian/patches/.gitignore b/debian/squeeze/applications/gtk3-tqt-engine/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/squeeze/applications/tdepowersave/debian/patches/.gitignore
+++ b/debian/squeeze/applications/gtk3-tqt-engine/debian/patches/series
diff --git a/debian/squeeze/applications/gtk3-tqt-engine/debian/rules b/debian/squeeze/applications/gtk3-tqt-engine/debian/rules
index 9bed17b05..e4abe53af 100755
--- a/debian/squeeze/applications/gtk3-tqt-engine/debian/rules
+++ b/debian/squeeze/applications/gtk3-tqt-engine/debian/rules
@@ -1,6 +1,6 @@
#!/usr/bin/make -f
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/debhelper.mk
diff --git a/debian/squeeze/applications/gwenview-i18n/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/gwenview-i18n/debian/cdbs/debian-qt-kde.mk
index fa0d532f4..ec89756bb 100644
--- a/debian/squeeze/applications/gwenview-i18n/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/gwenview-i18n/debian/cdbs/debian-qt-kde.mk
@@ -15,7 +15,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/tdesudo/debian/patches/.gitignore b/debian/squeeze/applications/gwenview-i18n/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/squeeze/applications/tdesudo/debian/patches/.gitignore
+++ b/debian/squeeze/applications/gwenview-i18n/debian/patches/series
diff --git a/debian/squeeze/applications/gwenview-i18n/debian/rules b/debian/squeeze/applications/gwenview-i18n/debian/rules
index 3070a9c9d..045fcc43f 100755
--- a/debian/squeeze/applications/gwenview-i18n/debian/rules
+++ b/debian/squeeze/applications/gwenview-i18n/debian/rules
@@ -4,7 +4,7 @@ DEB_PATCHDIRS := debian/patches/common debian/patches
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
-include debian/debiandirs
diff --git a/debian/squeeze/applications/gwenview/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/gwenview/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/squeeze/applications/gwenview/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/gwenview/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/gwenview/debian/control b/debian/squeeze/applications/gwenview/debian/control
index 359bad80c..296502cdb 100644
--- a/debian/squeeze/applications/gwenview/debian/control
+++ b/debian/squeeze/applications/gwenview/debian/control
@@ -2,7 +2,7 @@ Source: gwenview-trinity
Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
-Build-Depends: cdbs (>= 0.4.39-0.1), debhelper (>= 6.0.0), tdelibs14-trinity-dev (>= 4:3.4.3), libkipi0-trinity-dev (>= 0.1.2-2), libexiv2-dev, libmng-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: cdbs (>= 0.4.39-0.1), debhelper (>= 6.0.0), quilt, tdelibs14-trinity-dev (>= 4:3.4.3), libkipi0-trinity-dev (>= 0.1.2-2), libexiv2-dev, libmng-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Homepage: http://gwenview.sourceforge.net
diff --git a/debian/squeeze/applications/twin-style-crystal/debian/patches/.gitignore b/debian/squeeze/applications/gwenview/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/squeeze/applications/twin-style-crystal/debian/patches/.gitignore
+++ b/debian/squeeze/applications/gwenview/debian/patches/series
diff --git a/debian/squeeze/applications/gwenview/debian/rules b/debian/squeeze/applications/gwenview/debian/rules
index 2fca00e50..943f33d55 100755
--- a/debian/squeeze/applications/gwenview/debian/rules
+++ b/debian/squeeze/applications/gwenview/debian/rules
@@ -4,7 +4,7 @@ DEB_PATCHDIRS := debian/patches/common debian/patches
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/squeeze/applications/k3b/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/k3b/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/squeeze/applications/k3b/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/k3b/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/k3b/debian/control b/debian/squeeze/applications/k3b/debian/control
index f77c83db2..1d7188cb2 100644
--- a/debian/squeeze/applications/k3b/debian/control
+++ b/debian/squeeze/applications/k3b/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>
Uploaders: Francois Marier <francois@debian.org>, Fathi Boudra <fabo@debian.org>
-Build-Depends: libdvdread4, libdvdread-dev, alsa, libasound2-dev, lame, libmp3lame-dev, debhelper (>= 6), cdbs (>= 0.4.52ubuntu18), tdelibs14-trinity-dev (>= 3.5.0), libflac++-dev (>= 1.1.2), flac, libdbus-tqt-1-dev, libpopt-dev, libmpcdec-dev, libtag1-dev (>= 1.4-3), libmad0-dev, chrpath, libavformat-dev, libavcodec-dev, libvorbis-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: libdvdread4, libdvdread-dev, alsa, libasound2-dev, lame, libmp3lame-dev, debhelper (>= 6), quilt, cdbs (>= 0.4.52ubuntu18), tdelibs14-trinity-dev (>= 3.5.0), libflac++-dev (>= 1.1.2), flac, libdbus-tqt-1-dev, libpopt-dev, libmpcdec-dev, libtag1-dev (>= 1.4-3), libmad0-dev, chrpath, libavformat-dev, libavcodec-dev, libvorbis-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Homepage: http://www.k3b.org
diff --git a/debian/squeeze/applications/k3b/debian/patches/series b/debian/squeeze/applications/k3b/debian/patches/series
new file mode 100644
index 000000000..bff63cb8c
--- /dev/null
+++ b/debian/squeeze/applications/k3b/debian/patches/series
@@ -0,0 +1 @@
+111_advice_kubuntu_restricted_extras.diff
diff --git a/debian/squeeze/applications/k3b/debian/rules b/debian/squeeze/applications/k3b/debian/rules
index cc895cd83..f3d017250 100755
--- a/debian/squeeze/applications/k3b/debian/rules
+++ b/debian/squeeze/applications/k3b/debian/rules
@@ -1,7 +1,7 @@
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include debian/cdbs/kde.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/kde5
diff --git a/debian/squeeze/applications/k9copy/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/k9copy/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/squeeze/applications/k9copy/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/k9copy/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/k9copy/debian/control b/debian/squeeze/applications/k9copy/debian/control
index b166a14fd..5b895ca12 100644
--- a/debian/squeeze/applications/k9copy/debian/control
+++ b/debian/squeeze/applications/k9copy/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Anthony Mercatante <tonio@ubuntu.com>
-Build-Depends: debhelper (>= 5), cdbs, tdelibs14-trinity-dev, docbook2x, docbook-xml, libdvdread-dev, libdbus-1-dev, libk3b-trinity-dev, libavformat-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: debhelper (>= 5), quilt, cdbs, tdelibs14-trinity-dev, docbook2x, docbook-xml, libdvdread-dev, libdbus-1-dev, libk3b-trinity-dev, libavformat-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: k9copy-trinity
diff --git a/debian/squeeze/applications/wlassistant/debian/patches/.gitignore b/debian/squeeze/applications/k9copy/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/squeeze/applications/wlassistant/debian/patches/.gitignore
+++ b/debian/squeeze/applications/k9copy/debian/patches/series
diff --git a/debian/squeeze/applications/k9copy/debian/rules b/debian/squeeze/applications/k9copy/debian/rules
index 9d406d017..365bf8ac6 100755
--- a/debian/squeeze/applications/k9copy/debian/rules
+++ b/debian/squeeze/applications/k9copy/debian/rules
@@ -1,7 +1,7 @@
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include debian/cdbs/kde.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/squeeze/applications/kaffeine/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/kaffeine/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/squeeze/applications/kaffeine/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/kaffeine/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/kaffeine/debian/control b/debian/squeeze/applications/kaffeine/debian/control
index f16c8de4a..f7cd853c3 100644
--- a/debian/squeeze/applications/kaffeine/debian/control
+++ b/debian/squeeze/applications/kaffeine/debian/control
@@ -5,7 +5,7 @@ Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>
Uploaders: Riku Voipio <riku.voipio@iki.fi>, Fathi Boudra <fboudra@free.fr>,
Mark Purcell <msp@debian.org>
-Build-Depends: cdbs, debhelper (>= 5), tdelibs14-trinity-dev,
+Build-Depends: cdbs, debhelper (>= 5), quilt, tdelibs14-trinity-dev,
libcdparanoia0-dev, libogg-dev, libxine2-dev | libxine-dev (>= 1.1.7), libxcb1-dev,
libxtst-dev, libgstreamer0.10-dev, libgstreamer-plugins-base0.10-dev,
libcdio-cdda-dev, libcdio-paranoia-dev,
diff --git a/debian/squeeze/libraries/libkipi/debian/patches/.gitignore b/debian/squeeze/applications/kaffeine/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/squeeze/libraries/libkipi/debian/patches/.gitignore
+++ b/debian/squeeze/applications/kaffeine/debian/patches/series
diff --git a/debian/squeeze/applications/kaffeine/debian/rules b/debian/squeeze/applications/kaffeine/debian/rules
index 5087a0863..3afb59271 100755
--- a/debian/squeeze/applications/kaffeine/debian/rules
+++ b/debian/squeeze/applications/kaffeine/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/squeeze/applications/kasablanca/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/kasablanca/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/debian/squeeze/applications/kasablanca/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/kasablanca/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
#include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/kasablanca/debian/control b/debian/squeeze/applications/kasablanca/debian/control
index 0e8aed6ad..01515bd06 100644
--- a/debian/squeeze/applications/kasablanca/debian/control
+++ b/debian/squeeze/applications/kasablanca/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Debian TDE Extras Team <pkg-tde-extras@lists.alioth.debian.org>
Uploaders: Fathi Boudra <fboudra@free.fr>, Mark Purcell <msp@debian.org>
-Build-Depends: cdbs, debhelper (>= 5), automake, libtool, tdelibs14-trinity-dev, docbook2x, docbook-xml
+Build-Depends: cdbs, debhelper (>= 5), quilt, automake, libtool, tdelibs14-trinity-dev, docbook2x, docbook-xml
Standards-Version: 3.8.3
Package: kasablanca-trinity
diff --git a/debian/squeeze/applications/kasablanca/debian/patches/series b/debian/squeeze/applications/kasablanca/debian/patches/series
new file mode 100644
index 000000000..b8743ddd9
--- /dev/null
+++ b/debian/squeeze/applications/kasablanca/debian/patches/series
@@ -0,0 +1,2 @@
+04_am_maintainer_mode.diff
+06_disable_no_undefined.diff
diff --git a/debian/squeeze/applications/kasablanca/debian/rules b/debian/squeeze/applications/kasablanca/debian/rules
index 76e30e3f1..e12e8b448 100755
--- a/debian/squeeze/applications/kasablanca/debian/rules
+++ b/debian/squeeze/applications/kasablanca/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include
DEB_CONFIGURE_MANDIR := /opt/trinity/share/man
diff --git a/debian/squeeze/applications/katapult/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/katapult/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/squeeze/applications/katapult/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/katapult/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/katapult/debian/control b/debian/squeeze/applications/katapult/debian/control
index afe221266..9250caf9d 100644
--- a/debian/squeeze/applications/katapult/debian/control
+++ b/debian/squeeze/applications/katapult/debian/control
@@ -2,7 +2,7 @@ Source: katapult-trinity
Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
-Build-Depends: cdbs (>= 0.4.46ubuntu5), debhelper (>= 5.0.0), tdelibs14-trinity-dev, docbook2x, libxi-dev, sharutils, automake, autoconf, libtool, libltdl-dev
+Build-Depends: cdbs (>= 0.4.46ubuntu5), debhelper (>= 5.0.0), quilt, tdelibs14-trinity-dev, docbook2x, libxi-dev, sharutils, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: katapult-trinity
diff --git a/debian/squeeze/tdegraphics/debian/patches/.gitignore b/debian/squeeze/applications/katapult/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/squeeze/tdegraphics/debian/patches/.gitignore
+++ b/debian/squeeze/applications/katapult/debian/patches/series
diff --git a/debian/squeeze/applications/katapult/debian/rules b/debian/squeeze/applications/katapult/debian/rules
index 779671876..8f2dd7642 100755
--- a/debian/squeeze/applications/katapult/debian/rules
+++ b/debian/squeeze/applications/katapult/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
DEB_CONFIGURE_MANDIR := /opt/trinity/share/man
diff --git a/debian/squeeze/applications/kbarcode/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/kbarcode/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/squeeze/applications/kbarcode/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/kbarcode/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/kbfx/debian/control b/debian/squeeze/applications/kbfx/debian/control
index 0f89b49de..9ecf9699b 100644
--- a/debian/squeeze/applications/kbfx/debian/control
+++ b/debian/squeeze/applications/kbfx/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Uploaders: Fathi Boudra <fboudra@free.fr>, Mark Purcell <msp@debian.org>
-Build-Depends: cdbs, debhelper (>= 5), cmake, tdelibs14-trinity-dev
+Build-Depends: cdbs, debhelper (>= 5), quilt, cmake, tdelibs14-trinity-dev
Standards-Version: 3.8.4
Package: kbfx-trinity
diff --git a/debian/squeeze/tdepim/debian/patches/.gitignore b/debian/squeeze/applications/kbfx/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/squeeze/tdepim/debian/patches/.gitignore
+++ b/debian/squeeze/applications/kbfx/debian/patches/series
diff --git a/debian/squeeze/applications/kbfx/debian/rules b/debian/squeeze/applications/kbfx/debian/rules
index 7c57eacb9..ddf86b0bb 100755
--- a/debian/squeeze/applications/kbfx/debian/rules
+++ b/debian/squeeze/applications/kbfx/debian/rules
@@ -11,7 +11,7 @@ DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinit
include debian/cmake.mk
include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/squeeze/applications/kbibtex/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/kbibtex/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/debian/squeeze/applications/kbibtex/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/kbibtex/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
#include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/kbiff/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/kbiff/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/debian/squeeze/applications/kbiff/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/kbiff/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
#include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/kbookreader/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/kbookreader/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/squeeze/applications/kbookreader/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/kbookreader/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/kbookreader/debian/control b/debian/squeeze/applications/kbookreader/debian/control
index 34a8fec43..b36c96220 100644
--- a/debian/squeeze/applications/kbookreader/debian/control
+++ b/debian/squeeze/applications/kbookreader/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Anthony Mercatante <tonio@ubuntu.com>
-Build-Depends: debhelper (>= 5), cdbs, tdelibs14-trinity-dev, docbook2x, automake, autoconf, libtool, libltdl-dev
+Build-Depends: debhelper (>= 5), quilt, cdbs, tdelibs14-trinity-dev, docbook2x, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Homepage: http://k9copy.sourceforge.net/
diff --git a/debian/wheezy/applications/adept/debian/patches/.gitignore b/debian/squeeze/applications/kbookreader/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/wheezy/applications/adept/debian/patches/.gitignore
+++ b/debian/squeeze/applications/kbookreader/debian/patches/series
diff --git a/debian/squeeze/applications/kbookreader/debian/rules b/debian/squeeze/applications/kbookreader/debian/rules
index 53794c4fe..ef1dd49ff 100755
--- a/debian/squeeze/applications/kbookreader/debian/rules
+++ b/debian/squeeze/applications/kbookreader/debian/rules
@@ -1,7 +1,7 @@
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include debian/cdbs/kde.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/squeeze/applications/kcmautostart/debian/control b/debian/squeeze/applications/kcmautostart/debian/control
index 2eb9e9c3f..225c33269 100644
--- a/debian/squeeze/applications/kcmautostart/debian/control
+++ b/debian/squeeze/applications/kcmautostart/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Raphaël Pinson <raphink@raphink.net>
-Build-Depends: debhelper (>= 5), cdbs, tdelibs14-trinity-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: debhelper (>= 5), quilt, cdbs, tdelibs14-trinity-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: kcontrol-autostart-trinity
diff --git a/debian/wheezy/applications/bibletime/debian/patches/.gitignore b/debian/squeeze/applications/kcmautostart/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/wheezy/applications/bibletime/debian/patches/.gitignore
+++ b/debian/squeeze/applications/kcmautostart/debian/patches/series
diff --git a/debian/squeeze/applications/kcmautostart/debian/rules b/debian/squeeze/applications/kcmautostart/debian/rules
index 9bed17b05..e4abe53af 100755
--- a/debian/squeeze/applications/kcmautostart/debian/rules
+++ b/debian/squeeze/applications/kcmautostart/debian/rules
@@ -1,6 +1,6 @@
#!/usr/bin/make -f
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/debhelper.mk
diff --git a/debian/squeeze/applications/kcmldap/debian/control b/debian/squeeze/applications/kcmldap/debian/control
index 5bdbbbe9c..77afbaf4a 100644
--- a/debian/squeeze/applications/kcmldap/debian/control
+++ b/debian/squeeze/applications/kcmldap/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Raphaël Pinson <raphink@raphink.net>
-Build-Depends: debhelper (>= 5), cdbs, tdelibs14-trinity-dev, libtdeldap-trinity-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: debhelper (>= 5), quilt, cdbs, tdelibs14-trinity-dev, libtdeldap-trinity-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: kcontrol-ldap-bonding-trinity
diff --git a/debian/wheezy/applications/compizconfig-backend-tdeconfig/debian/patches/.gitignore b/debian/squeeze/applications/kcmldap/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/wheezy/applications/compizconfig-backend-tdeconfig/debian/patches/.gitignore
+++ b/debian/squeeze/applications/kcmldap/debian/patches/series
diff --git a/debian/squeeze/applications/kcmldap/debian/rules b/debian/squeeze/applications/kcmldap/debian/rules
index 9bed17b05..e4abe53af 100755
--- a/debian/squeeze/applications/kcmldap/debian/rules
+++ b/debian/squeeze/applications/kcmldap/debian/rules
@@ -1,6 +1,6 @@
#!/usr/bin/make -f
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/debhelper.mk
diff --git a/debian/squeeze/applications/kcmldapcontroller/debian/control b/debian/squeeze/applications/kcmldapcontroller/debian/control
index bd10bfa04..81a9a046d 100644
--- a/debian/squeeze/applications/kcmldapcontroller/debian/control
+++ b/debian/squeeze/applications/kcmldapcontroller/debian/control
@@ -2,7 +2,7 @@ Source: kcontrol-ldap-controller-trinity
Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
-Build-Depends: debhelper (>= 5), cdbs, tdelibs14-trinity-dev, libldap2-dev, libtdeldap-trinity-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: debhelper (>= 5), quilt, cdbs, tdelibs14-trinity-dev, libldap2-dev, libtdeldap-trinity-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: kcontrol-ldap-controller-trinity
diff --git a/debian/wheezy/applications/digikam/debian/patches/.gitignore b/debian/squeeze/applications/kcmldapcontroller/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/wheezy/applications/digikam/debian/patches/.gitignore
+++ b/debian/squeeze/applications/kcmldapcontroller/debian/patches/series
diff --git a/debian/squeeze/applications/kcmldapcontroller/debian/rules b/debian/squeeze/applications/kcmldapcontroller/debian/rules
index 9bed17b05..e4abe53af 100755
--- a/debian/squeeze/applications/kcmldapcontroller/debian/rules
+++ b/debian/squeeze/applications/kcmldapcontroller/debian/rules
@@ -1,6 +1,6 @@
#!/usr/bin/make -f
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/debhelper.mk
diff --git a/debian/squeeze/applications/kcmldapmanager/debian/control b/debian/squeeze/applications/kcmldapmanager/debian/control
index 10551309e..70af95ae3 100644
--- a/debian/squeeze/applications/kcmldapmanager/debian/control
+++ b/debian/squeeze/applications/kcmldapmanager/debian/control
@@ -2,7 +2,7 @@ Source: kcontrol-ldap-manager-trinity
Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
-Build-Depends: debhelper (>= 5), cdbs, tdelibs14-trinity-dev, libldap2-dev, libtdeldap-trinity-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: debhelper (>= 5), quilt, cdbs, tdelibs14-trinity-dev, libldap2-dev, libtdeldap-trinity-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: kcontrol-ldap-manager-trinity
diff --git a/debian/wheezy/applications/dolphin/debian/patches/.gitignore b/debian/squeeze/applications/kcmldapmanager/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/wheezy/applications/dolphin/debian/patches/.gitignore
+++ b/debian/squeeze/applications/kcmldapmanager/debian/patches/series
diff --git a/debian/squeeze/applications/kcmldapmanager/debian/rules b/debian/squeeze/applications/kcmldapmanager/debian/rules
index 9bed17b05..e4abe53af 100755
--- a/debian/squeeze/applications/kcmldapmanager/debian/rules
+++ b/debian/squeeze/applications/kcmldapmanager/debian/rules
@@ -1,6 +1,6 @@
#!/usr/bin/make -f
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/debhelper.mk
diff --git a/debian/squeeze/applications/kcpuload/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/kcpuload/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/squeeze/applications/kcpuload/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/kcpuload/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/kdbg/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/kdbg/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/debian/squeeze/applications/kdbg/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/kdbg/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
#include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/kdbusnotification/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/kdbusnotification/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/squeeze/applications/kdbusnotification/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/kdbusnotification/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/kdiff3/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/kdiff3/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/squeeze/applications/kdiff3/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/kdiff3/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/kdirstat/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/kdirstat/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/squeeze/applications/kdirstat/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/kdirstat/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/kdirstat/debian/control b/debian/squeeze/applications/kdirstat/debian/control
index 341097934..7f5a1b7ed 100644
--- a/debian/squeeze/applications/kdirstat/debian/control
+++ b/debian/squeeze/applications/kdirstat/debian/control
@@ -2,7 +2,7 @@ Source: kdirstat-trinity
Section: misc
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
-Build-Depends: cdbs (>= 0.4.41), debhelper (>= 5), tdelibs14-trinity-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: cdbs (>= 0.4.41), debhelper (>= 5), quilt, tdelibs14-trinity-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Homepage: http://kdirstat.sourceforge.net/
diff --git a/debian/wheezy/applications/fusion-icon/debian/patches/.gitignore b/debian/squeeze/applications/kdirstat/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/wheezy/applications/fusion-icon/debian/patches/.gitignore
+++ b/debian/squeeze/applications/kdirstat/debian/patches/series
diff --git a/debian/squeeze/applications/kdirstat/debian/rules b/debian/squeeze/applications/kdirstat/debian/rules
index 8c0a950a3..afa7b060d 100755
--- a/debian/squeeze/applications/kdirstat/debian/rules
+++ b/debian/squeeze/applications/kdirstat/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
DEB_CONFIGURE_MANDIR := /opt/trinity/share/man
diff --git a/debian/squeeze/applications/kdpkg/debian/control b/debian/squeeze/applications/kdpkg/debian/control
index 3123a23f7..0fdcb9f25 100644
--- a/debian/squeeze/applications/kdpkg/debian/control
+++ b/debian/squeeze/applications/kdpkg/debian/control
@@ -3,7 +3,7 @@ Section: admin
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Alexander Kopf <kopf-alexander@gmx.de>
-Build-Depends: cdbs, debhelper (>= 5), tdelibs14-trinity-dev, gettext, automake, autoconf, libtool, libltdl-dev
+Build-Depends: cdbs, debhelper (>= 5), quilt, tdelibs14-trinity-dev, gettext, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: kdpkg-trinity
diff --git a/debian/wheezy/applications/gtk-qt-engine/debian/patches/.gitignore b/debian/squeeze/applications/kdpkg/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/wheezy/applications/gtk-qt-engine/debian/patches/.gitignore
+++ b/debian/squeeze/applications/kdpkg/debian/patches/series
diff --git a/debian/squeeze/applications/kdpkg/debian/rules b/debian/squeeze/applications/kdpkg/debian/rules
index 455414f69..2ff6ee66f 100755
--- a/debian/squeeze/applications/kdpkg/debian/rules
+++ b/debian/squeeze/applications/kdpkg/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
DEB_CONFIGURE_MANDIR := /opt/trinity/share/man
diff --git a/debian/squeeze/applications/keep/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/keep/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/squeeze/applications/keep/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/keep/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/keep/debian/control b/debian/squeeze/applications/keep/debian/control
index 4f380fc56..4048f3218 100644
--- a/debian/squeeze/applications/keep/debian/control
+++ b/debian/squeeze/applications/keep/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>
Uploaders: Fathi Boudra <fboudra@free.fr>, Mark Purcell <msp@debian.org>
-Build-Depends: cdbs, debhelper (>= 5), tdelibs14-trinity-dev, docbook2x, docbook-xml, automake, autoconf, libtool, libltdl-dev
+Build-Depends: cdbs, debhelper (>= 5), quilt, tdelibs14-trinity-dev, docbook2x, docbook-xml, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: keep-trinity
diff --git a/debian/squeeze/applications/keep/debian/patches/series b/debian/squeeze/applications/keep/debian/patches/series
new file mode 100644
index 000000000..9ccf4a125
--- /dev/null
+++ b/debian/squeeze/applications/keep/debian/patches/series
@@ -0,0 +1 @@
+kubuntu_01_kdepot.diff
diff --git a/debian/squeeze/applications/keep/debian/rules b/debian/squeeze/applications/keep/debian/rules
index c08262790..ae055a958 100755
--- a/debian/squeeze/applications/keep/debian/rules
+++ b/debian/squeeze/applications/keep/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/squeeze/applications/kerberostray/debian/control b/debian/squeeze/applications/kerberostray/debian/control
index 215814458..bf4d6c2e5 100644
--- a/debian/squeeze/applications/kerberostray/debian/control
+++ b/debian/squeeze/applications/kerberostray/debian/control
@@ -2,7 +2,7 @@ Source: kerberostray-trinity
Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
-Build-Depends: debhelper (>= 5), cdbs, tdelibs14-trinity-dev, libtdeldap-trinity-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: debhelper (>= 5), quilt, cdbs, tdelibs14-trinity-dev, libtdeldap-trinity-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: kerberostray-trinity
diff --git a/debian/wheezy/applications/gwenview/debian/patches/.gitignore b/debian/squeeze/applications/kerberostray/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/wheezy/applications/gwenview/debian/patches/.gitignore
+++ b/debian/squeeze/applications/kerberostray/debian/patches/series
diff --git a/debian/squeeze/applications/kerberostray/debian/rules b/debian/squeeze/applications/kerberostray/debian/rules
index 9bed17b05..e4abe53af 100755
--- a/debian/squeeze/applications/kerberostray/debian/rules
+++ b/debian/squeeze/applications/kerberostray/debian/rules
@@ -1,6 +1,6 @@
#!/usr/bin/make -f
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/debhelper.mk
diff --git a/debian/squeeze/applications/kerry/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/kerry/debian/cdbs/debian-qt-kde.mk
index 4a11bc028..6b7b16643 100644
--- a/debian/squeeze/applications/kerry/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/kerry/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/kerry/debian/control b/debian/squeeze/applications/kerry/debian/control
index 432af377d..5f6563c67 100644
--- a/debian/squeeze/applications/kerry/debian/control
+++ b/debian/squeeze/applications/kerry/debian/control
@@ -2,7 +2,7 @@ Source: kerry-trinity
Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
-Build-Depends: debhelper (>= 5.0.0), cdbs, tdelibs14-trinity-dev, libkonq4-trinity-dev, libbeagle-dev (>= 0.3.0), docbook2x, chrpath, automake, autoconf, libtool, libltdl-dev
+Build-Depends: debhelper (>= 5.0.0), quilt, cdbs, tdelibs14-trinity-dev, libkonq4-trinity-dev, libbeagle-dev (>= 0.3.0), docbook2x, chrpath, automake, autoconf, libtool, libltdl-dev
Homepage: http://en.opensuse.org/Kerry
Standards-Version: 3.8.4
diff --git a/debian/wheezy/applications/k9copy/debian/patches/.gitignore b/debian/squeeze/applications/kerry/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/wheezy/applications/k9copy/debian/patches/.gitignore
+++ b/debian/squeeze/applications/kerry/debian/patches/series
diff --git a/debian/squeeze/applications/kerry/debian/rules b/debian/squeeze/applications/kerry/debian/rules
index dea466c17..7b26c5eb5 100755
--- a/debian/squeeze/applications/kerry/debian/rules
+++ b/debian/squeeze/applications/kerry/debian/rules
@@ -1,7 +1,7 @@
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
# include /usr/share/cdbs/1/class/kde.mk
include debian/cdbs/debian-qt-kde.mk
diff --git a/debian/squeeze/applications/kftpgrabber/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/kftpgrabber/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/debian/squeeze/applications/kftpgrabber/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/kftpgrabber/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
#include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/kftpgrabber/debian/control b/debian/squeeze/applications/kftpgrabber/debian/control
index eaa793711..3e06c17d3 100644
--- a/debian/squeeze/applications/kftpgrabber/debian/control
+++ b/debian/squeeze/applications/kftpgrabber/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Debian TDE Extras Team <pkg-tde-extras@lists.alioth.debian.org>
Uploaders: Fathi Boudra <fabo@debian.org>, Mark Purcell <msp@debian.org>, Michael Meskes <meskes@debian.org>
-Build-Depends: cdbs, debhelper (>= 5), automake, libtool, tdelibs14-trinity-dev, docbook2x, docbook-xml
+Build-Depends: cdbs, debhelper (>= 5), quilt, automake, libtool, tdelibs14-trinity-dev, docbook2x, docbook-xml
Standards-Version: 3.8.3
Homepage: http://www.kftp.org
diff --git a/debian/wheezy/applications/kaffeine/debian/patches/.gitignore b/debian/squeeze/applications/kftpgrabber/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/wheezy/applications/kaffeine/debian/patches/.gitignore
+++ b/debian/squeeze/applications/kftpgrabber/debian/patches/series
diff --git a/debian/squeeze/applications/kftpgrabber/debian/rules b/debian/squeeze/applications/kftpgrabber/debian/rules
index 51e8bf7a9..64be165cd 100755
--- a/debian/squeeze/applications/kftpgrabber/debian/rules
+++ b/debian/squeeze/applications/kftpgrabber/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include
diff --git a/debian/squeeze/applications/kgtk-qt3/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/kgtk-qt3/debian/cdbs/debian-qt-kde.mk
index 5e704aa4a..c5d8ecfd3 100644
--- a/debian/squeeze/applications/kgtk-qt3/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/kgtk-qt3/debian/cdbs/debian-qt-kde.mk
@@ -15,7 +15,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/kgtk-qt3/debian/control b/debian/squeeze/applications/kgtk-qt3/debian/control
index 253fe5cb6..fd84fc01c 100644
--- a/debian/squeeze/applications/kgtk-qt3/debian/control
+++ b/debian/squeeze/applications/kgtk-qt3/debian/control
@@ -2,7 +2,7 @@ Source: kgtk-qt3-trinity
Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
-Build-Depends: debhelper (>= 7), cdbs, tdelibs14-trinity-dev, libgtk2.0-dev, libtqtinterface-dev, cmake
+Build-Depends: debhelper (>= 7), quilt, cdbs, tdelibs14-trinity-dev, libgtk2.0-dev, libtqtinterface-dev, cmake
Standards-Version: 3.8.4
Homepage: http://trinity.pearsoncomputing.net
diff --git a/debian/wheezy/applications/katapult/debian/patches/.gitignore b/debian/squeeze/applications/kgtk-qt3/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/wheezy/applications/katapult/debian/patches/.gitignore
+++ b/debian/squeeze/applications/kgtk-qt3/debian/patches/series
diff --git a/debian/squeeze/applications/kgtk-qt3/debian/rules b/debian/squeeze/applications/kgtk-qt3/debian/rules
index b4cb7a953..91c8ec995 100755
--- a/debian/squeeze/applications/kgtk-qt3/debian/rules
+++ b/debian/squeeze/applications/kgtk-qt3/debian/rules
@@ -11,7 +11,7 @@ export LD_LIBRARY_PATH
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
include debian/cdbs/debian-qt-kde.mk
diff --git a/debian/squeeze/applications/kile/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/kile/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/squeeze/applications/kile/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/kile/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/kiosktool/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/kiosktool/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/squeeze/applications/kiosktool/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/kiosktool/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/kiosktool/debian/control b/debian/squeeze/applications/kiosktool/debian/control
index 322d2b3b4..6779d88ff 100644
--- a/debian/squeeze/applications/kiosktool/debian/control
+++ b/debian/squeeze/applications/kiosktool/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Pedro Jurado Maqueda <melenas@kdehispano.org>
-Build-Depends: debhelper (>= 4.1.0), cdbs, tdelibs14-trinity-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: debhelper (>= 4.1.0), quilt, cdbs, tdelibs14-trinity-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: kiosktool-trinity
diff --git a/debian/wheezy/applications/kbfx/debian/patches/.gitignore b/debian/squeeze/applications/kiosktool/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/wheezy/applications/kbfx/debian/patches/.gitignore
+++ b/debian/squeeze/applications/kiosktool/debian/patches/series
diff --git a/debian/squeeze/applications/kiosktool/debian/rules b/debian/squeeze/applications/kiosktool/debian/rules
index 507e5a458..7e010577d 100755
--- a/debian/squeeze/applications/kiosktool/debian/rules
+++ b/debian/squeeze/applications/kiosktool/debian/rules
@@ -1,7 +1,7 @@
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include debian/cdbs/kde.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/squeeze/applications/kkbswitch/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/kkbswitch/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/debian/squeeze/applications/kkbswitch/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/kkbswitch/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
#include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/klcddimmer/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/klcddimmer/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/debian/squeeze/applications/klcddimmer/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/klcddimmer/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
#include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/kmplayer/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/kmplayer/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/squeeze/applications/kmplayer/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/kmplayer/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/kmplayer/debian/control b/debian/squeeze/applications/kmplayer/debian/control
index 26e85a2ed..3843dc2b7 100644
--- a/debian/squeeze/applications/kmplayer/debian/control
+++ b/debian/squeeze/applications/kmplayer/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>
Uploaders: Fathi Boudra <fboudra@free.fr>, Mark Purcell <msp@debian.org>
-Build-Depends: cdbs, debhelper (>= 5), tdelibs14-trinity-dev,
+Build-Depends: cdbs, debhelper (>= 5), quilt, tdelibs14-trinity-dev,
libcairo2-dev, libdbus-1-dev, libdbus-glib-1-dev, libdbus-tqt-1-dev,
libgstreamer-plugins-base0.10-dev, libgtk2.0-dev, libxine2-dev | libxine-dev, libxv-dev, docbook2x,
automake, autoconf, libtool, libltdl-dev
diff --git a/debian/wheezy/applications/kbookreader/debian/patches/.gitignore b/debian/squeeze/applications/kmplayer/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/wheezy/applications/kbookreader/debian/patches/.gitignore
+++ b/debian/squeeze/applications/kmplayer/debian/patches/series
diff --git a/debian/squeeze/applications/kmplayer/debian/rules b/debian/squeeze/applications/kmplayer/debian/rules
index 2c29e9b14..093944c34 100755
--- a/debian/squeeze/applications/kmplayer/debian/rules
+++ b/debian/squeeze/applications/kmplayer/debian/rules
@@ -1,7 +1,7 @@
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include debian/cdbs/kde.mk
include /usr/share/cdbs/1/rules/utils.mk
diff --git a/debian/squeeze/applications/kmymoney/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/kmymoney/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/squeeze/applications/kmymoney/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/kmymoney/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/kmymoney/debian/control b/debian/squeeze/applications/kmymoney/debian/control
index ef3eb2188..58d0cac2a 100644
--- a/debian/squeeze/applications/kmymoney/debian/control
+++ b/debian/squeeze/applications/kmymoney/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>
Uploaders: Mark Purcell <msp@debian.org>, Fathi Boudra <fabo@debian.org>
-Build-Depends: debhelper (>= 7.0.50~), cdbs, chrpath, automake, libtool, tdelibs14-trinity-dev, libofx-dev, libsqlite3-dev, recode, html2ps
+Build-Depends: debhelper (>= 7.0.50~), quilt, cdbs, chrpath, automake, libtool, tdelibs14-trinity-dev, libofx-dev, libsqlite3-dev, recode, html2ps
Standards-Version: 3.8.4
Package: kmymoney2-trinity
diff --git a/debian/wheezy/applications/kdirstat/debian/patches/.gitignore b/debian/squeeze/applications/kmymoney/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/wheezy/applications/kdirstat/debian/patches/.gitignore
+++ b/debian/squeeze/applications/kmymoney/debian/patches/series
diff --git a/debian/squeeze/applications/kmymoney/debian/rules b/debian/squeeze/applications/kmymoney/debian/rules
index 4c3b55cb4..d636191c4 100755
--- a/debian/squeeze/applications/kmymoney/debian/rules
+++ b/debian/squeeze/applications/kmymoney/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
DEB_CONFIGURE_MANDIR := /opt/trinity/share/man
diff --git a/debian/squeeze/applications/knemo/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/knemo/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/squeeze/applications/knemo/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/knemo/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/knemo/debian/control b/debian/squeeze/applications/knemo/debian/control
index e92e60364..e11fc58c2 100644
--- a/debian/squeeze/applications/knemo/debian/control
+++ b/debian/squeeze/applications/knemo/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Uploaders: Achim Bohnet <ach@mpe.mpg.de>, Mark Purcell <msp@debian.org>
-Build-Depends: debhelper (>> 4.1), cdbs, tdelibs14-trinity-dev, net-tools, wireless-tools, libiw-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: debhelper (>> 4.1), quilt, cdbs, tdelibs14-trinity-dev, net-tools, wireless-tools, libiw-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: knemo-trinity
diff --git a/debian/wheezy/applications/kdpkg/debian/patches/.gitignore b/debian/squeeze/applications/knemo/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/wheezy/applications/kdpkg/debian/patches/.gitignore
+++ b/debian/squeeze/applications/knemo/debian/patches/series
diff --git a/debian/squeeze/applications/knemo/debian/rules b/debian/squeeze/applications/knemo/debian/rules
index 345d9f54d..9e3a13754 100755
--- a/debian/squeeze/applications/knemo/debian/rules
+++ b/debian/squeeze/applications/knemo/debian/rules
@@ -1,7 +1,7 @@
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include debian/cdbs/kde.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/squeeze/applications/knetstats/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/knetstats/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/squeeze/applications/knetstats/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/knetstats/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/knetstats/debian/control b/debian/squeeze/applications/knetstats/debian/control
index 600b079f8..41d913327 100644
--- a/debian/squeeze/applications/knetstats/debian/control
+++ b/debian/squeeze/applications/knetstats/debian/control
@@ -2,7 +2,7 @@ Source: knetstats-trinity
Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
-Build-Depends: debhelper (>= 5.0), cdbs, tdelibs14-trinity-dev, docbook2x, automake, autoconf, libtool, libltdl-dev
+Build-Depends: debhelper (>= 5.0), quilt, cdbs, tdelibs14-trinity-dev, docbook2x, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Homepage: http://knetstats.sourceforge.net/
diff --git a/debian/wheezy/applications/kiosktool/debian/patches/.gitignore b/debian/squeeze/applications/knetstats/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/wheezy/applications/kiosktool/debian/patches/.gitignore
+++ b/debian/squeeze/applications/knetstats/debian/patches/series
diff --git a/debian/squeeze/applications/knetstats/debian/rules b/debian/squeeze/applications/knetstats/debian/rules
index 1a573fb20..7da95d739 100755
--- a/debian/squeeze/applications/knetstats/debian/rules
+++ b/debian/squeeze/applications/knetstats/debian/rules
@@ -1,7 +1,7 @@
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include debian/cdbs/kde.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/squeeze/applications/knetworkmanager.cmake/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/knetworkmanager.cmake/debian/cdbs/debian-qt-kde.mk
index 345cc0a61..fb36ac52f 100644
--- a/debian/squeeze/applications/knetworkmanager.cmake/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/knetworkmanager.cmake/debian/cdbs/debian-qt-kde.mk
@@ -15,7 +15,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/knetworkmanager.cmake/debian/rules b/debian/squeeze/applications/knetworkmanager.cmake/debian/rules
index 5043dd652..7b801da5f 100755
--- a/debian/squeeze/applications/knetworkmanager.cmake/debian/rules
+++ b/debian/squeeze/applications/knetworkmanager.cmake/debian/rules
@@ -11,7 +11,7 @@ export LD_LIBRARY_PATH
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
include debian/cdbs/debian-qt-kde.mk
diff --git a/debian/squeeze/applications/knetworkmanager8/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/knetworkmanager8/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/squeeze/applications/knetworkmanager8/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/knetworkmanager8/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/knmap/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/knmap/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/debian/squeeze/applications/knmap/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/knmap/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
#include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/knmap/debian/control b/debian/squeeze/applications/knmap/debian/control
index ff43fd3f7..6b8893341 100644
--- a/debian/squeeze/applications/knmap/debian/control
+++ b/debian/squeeze/applications/knmap/debian/control
@@ -2,7 +2,7 @@ Source: knmap-trinity
Section: tde
Priority: extra
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
-Build-Depends: debhelper (>> 5), autotools-dev, tdelibs14-trinity-dev, automake, libtool, cdbs, docbook2x, docbook-xml
+Build-Depends: debhelper (>> 5), quilt, autotools-dev, tdelibs14-trinity-dev, automake, libtool, cdbs, docbook2x, docbook-xml
Standards-Version: 3.8.2
Package: knmap-trinity
diff --git a/debian/wheezy/applications/kmplayer/debian/patches/.gitignore b/debian/squeeze/applications/knmap/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/wheezy/applications/kmplayer/debian/patches/.gitignore
+++ b/debian/squeeze/applications/knmap/debian/patches/series
diff --git a/debian/squeeze/applications/knmap/debian/rules b/debian/squeeze/applications/knmap/debian/rules
index 348e53573..7a20baa99 100755
--- a/debian/squeeze/applications/knmap/debian/rules
+++ b/debian/squeeze/applications/knmap/debian/rules
@@ -1,6 +1,6 @@
#!/usr/bin/make -f
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/kde.mk
diff --git a/debian/squeeze/applications/koffice/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/koffice/debian/cdbs/debian-qt-kde.mk
index b93e7c154..a803f50d6 100644
--- a/debian/squeeze/applications/koffice/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/koffice/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/koffice/debian/control b/debian/squeeze/applications/koffice/debian/control
index ed66aecc6..57604185f 100644
--- a/debian/squeeze/applications/koffice/debian/control
+++ b/debian/squeeze/applications/koffice/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Uploaders: Ana Beatriz Guerrero Lopez <ana@debian.org>, Ral Snchez Siles <rasasi78@gmail.com>
-Build-Depends: cdbs (>= 0.4.52ubuntu18), debhelper (>= 5), binutils (>= 2.14.90.0.7), recode, docbook-to-man, gawk, gettext, flex, tdelibs14-trinity-dev (>= 4:3.4.3), libaspell-dev, libfontconfig1-dev, libopenexr-dev, libpaper-dev, libreadline5-dev | libreadline6-dev, libtiff-dev, libwv2-dev (>= 0.2.2-4), libxml2-dev, libxslt1-dev, python-dev, ruby, ruby-dev, libwpd-dev, libpqxx-dev | libpqxx3-dev, libmysqlclient15-dev | libmysqlclient16-dev | libmysqlclient18-dev, sharutils, bzip2, libpoppler-tqt-dev, libexif-dev, libasound2-dev, libogg-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: cdbs (>= 0.4.52ubuntu18), debhelper (>= 5), quilt, binutils (>= 2.14.90.0.7), recode, docbook-to-man, gawk, gettext, flex, tdelibs14-trinity-dev (>= 4:3.4.3), libaspell-dev, libfontconfig1-dev, libopenexr-dev, libpaper-dev, libreadline5-dev | libreadline6-dev, libtiff-dev, libwv2-dev (>= 0.2.2-4), libxml2-dev, libxslt1-dev, python-dev, ruby, ruby-dev, libwpd-dev, libpqxx-dev | libpqxx3-dev, libmysqlclient15-dev | libmysqlclient16-dev | libmysqlclient18-dev, sharutils, bzip2, libpoppler-tqt-dev, libexif-dev, libasound2-dev, libogg-dev, automake, autoconf, libtool, libltdl-dev
Build-Depends-Indep: libtqtinterface-doc, graphviz, gsfonts-x11
Standards-Version: 3.8.4
Homepage: http://www.koffice.org
diff --git a/debian/wheezy/applications/knemo/debian/patches/.gitignore b/debian/squeeze/applications/koffice/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/wheezy/applications/knemo/debian/patches/.gitignore
+++ b/debian/squeeze/applications/koffice/debian/patches/series
diff --git a/debian/squeeze/applications/koffice/debian/rules b/debian/squeeze/applications/koffice/debian/rules
index ed91a11c3..495d85db8 100755
--- a/debian/squeeze/applications/koffice/debian/rules
+++ b/debian/squeeze/applications/koffice/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/debian-qt-kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/squeeze/applications/konversation/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/konversation/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/squeeze/applications/konversation/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/konversation/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/kopete-otr/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/kopete-otr/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/squeeze/applications/kopete-otr/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/kopete-otr/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/kpilot/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/kpilot/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/squeeze/applications/kpilot/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/kpilot/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/kpowersave.cmake/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/kpowersave.cmake/debian/cdbs/debian-qt-kde.mk
index 345cc0a61..fb36ac52f 100644
--- a/debian/squeeze/applications/kpowersave.cmake/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/kpowersave.cmake/debian/cdbs/debian-qt-kde.mk
@@ -15,7 +15,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/kpowersave.cmake/debian/control b/debian/squeeze/applications/kpowersave.cmake/debian/control
index 3764a2501..69515ab10 100644
--- a/debian/squeeze/applications/kpowersave.cmake/debian/control
+++ b/debian/squeeze/applications/kpowersave.cmake/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Michael Biebl <biebl@debian.org>
-Build-Depends: cdbs, debhelper (>= 5.0.0), tdelibs14-trinity-dev, libxss-dev, libxtst-dev, libhal-dev (>= 0.5.6), libdbus-1-dev (>= 0.6), libdbus-tqt-1-dev, libtool, libltdl-dev, cmake
+Build-Depends: cdbs, debhelper (>= 5.0.0), quilt, tdelibs14-trinity-dev, libxss-dev, libxtst-dev, libhal-dev (>= 0.5.6), libdbus-1-dev (>= 0.6), libdbus-tqt-1-dev, libtool, libltdl-dev, cmake
Standards-Version: 3.8.4
Homepage: http://sourceforge.net/projects/powersave/
diff --git a/debian/wheezy/applications/knetstats/debian/patches/.gitignore b/debian/squeeze/applications/kpowersave.cmake/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/wheezy/applications/knetstats/debian/patches/.gitignore
+++ b/debian/squeeze/applications/kpowersave.cmake/debian/patches/series
diff --git a/debian/squeeze/applications/kpowersave.cmake/debian/rules b/debian/squeeze/applications/kpowersave.cmake/debian/rules
index 0d2383bae..6d3ac5584 100755
--- a/debian/squeeze/applications/kpowersave.cmake/debian/rules
+++ b/debian/squeeze/applications/kpowersave.cmake/debian/rules
@@ -11,7 +11,7 @@ export LD_LIBRARY_PATH
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
include debian/cdbs/debian-qt-kde.mk
diff --git a/debian/squeeze/applications/kpowersave/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/kpowersave/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/squeeze/applications/kpowersave/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/kpowersave/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/kpowersave/debian/control b/debian/squeeze/applications/kpowersave/debian/control
index 98d35e654..9de632947 100644
--- a/debian/squeeze/applications/kpowersave/debian/control
+++ b/debian/squeeze/applications/kpowersave/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Michael Biebl <biebl@debian.org>
-Build-Depends: cdbs, debhelper (>= 5.0.0), tdelibs14-trinity-dev, libxss-dev, libxtst-dev, libhal-dev (>= 0.5.6), libdbus-1-dev (>= 0.6), libdbus-tqt-1-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: cdbs, debhelper (>= 5.0.0), quilt, tdelibs14-trinity-dev, libxss-dev, libxtst-dev, libhal-dev (>= 0.5.6), libdbus-1-dev (>= 0.6), libdbus-tqt-1-dev, automake, autoconf, libtool, libltdl-dev
Build-Conflicts: autoconf2.13
Standards-Version: 3.8.4
Homepage: http://sourceforge.net/projects/powersave/
diff --git a/debian/wheezy/applications/koffice/debian/patches/.gitignore b/debian/squeeze/applications/kpowersave/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/wheezy/applications/koffice/debian/patches/.gitignore
+++ b/debian/squeeze/applications/kpowersave/debian/patches/series
diff --git a/debian/squeeze/applications/kpowersave/debian/rules b/debian/squeeze/applications/kpowersave/debian/rules
index 0cf9afbec..fb0e95a07 100755
--- a/debian/squeeze/applications/kpowersave/debian/rules
+++ b/debian/squeeze/applications/kpowersave/debian/rules
@@ -2,7 +2,7 @@
include debian/cdbs/kde.mk
include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
DEB_CONFIGURE_MANDIR := /opt/trinity/share/man
diff --git a/debian/squeeze/applications/krecipes/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/krecipes/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/debian/squeeze/applications/krecipes/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/krecipes/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
#include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/krename/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/krename/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/squeeze/applications/krename/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/krename/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/krename/debian/control b/debian/squeeze/applications/krename/debian/control
index 647940933..87d98d5d8 100644
--- a/debian/squeeze/applications/krename/debian/control
+++ b/debian/squeeze/applications/krename/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Uploaders: Richard A. Johnson <nixternal@ubuntu.com>
-Build-Depends: debhelper (>= 5), cdbs, tdelibs14-trinity-dev, patchutils, libx11-dev, libxext-dev, libxpm-dev, x-dev | x11proto-core-dev | libx11-dev, perl, automake, autoconf, libtool, libltdl-dev
+Build-Depends: debhelper (>= 5), quilt, cdbs, tdelibs14-trinity-dev, patchutils, libx11-dev, libxext-dev, libxpm-dev, x-dev | x11proto-core-dev | libx11-dev, perl, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: krename-trinity
diff --git a/debian/wheezy/applications/kpowersave.cmake/debian/patches/.gitignore b/debian/squeeze/applications/krename/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/wheezy/applications/kpowersave.cmake/debian/patches/.gitignore
+++ b/debian/squeeze/applications/krename/debian/patches/series
diff --git a/debian/squeeze/applications/krename/debian/rules b/debian/squeeze/applications/krename/debian/rules
index 4983ad699..7df9beee2 100755
--- a/debian/squeeze/applications/krename/debian/rules
+++ b/debian/squeeze/applications/krename/debian/rules
@@ -4,7 +4,7 @@ DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
DEB_CONFIGURE_MANDIR := /opt/trinity/share/man
diff --git a/debian/squeeze/applications/krusader/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/krusader/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/squeeze/applications/krusader/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/krusader/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/krusader/debian/control b/debian/squeeze/applications/krusader/debian/control
index cf06f9ab8..c434dd86d 100644
--- a/debian/squeeze/applications/krusader/debian/control
+++ b/debian/squeeze/applications/krusader/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Uploaders: Fathi Boudra <fabo@debian.org>, Mark Purcell <msp@debian.org>
-Build-Depends: cdbs, debhelper (>= 5), libkonq4-trinity-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: cdbs, debhelper (>= 5), quilt, libkonq4-trinity-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Homepage: http://krusader.sourceforge.net
diff --git a/debian/wheezy/applications/kpowersave/debian/patches/.gitignore b/debian/squeeze/applications/krusader/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/wheezy/applications/kpowersave/debian/patches/.gitignore
+++ b/debian/squeeze/applications/krusader/debian/patches/series
diff --git a/debian/squeeze/applications/krusader/debian/rules b/debian/squeeze/applications/krusader/debian/rules
index 4b297b1ae..d27f15ff5 100755
--- a/debian/squeeze/applications/krusader/debian/rules
+++ b/debian/squeeze/applications/krusader/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/squeeze/applications/ksensors/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/ksensors/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/debian/squeeze/applications/ksensors/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/ksensors/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
#include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/ksensors/debian/control b/debian/squeeze/applications/ksensors/debian/control
index f0ba5d2d4..e7de2b810 100644
--- a/debian/squeeze/applications/ksensors/debian/control
+++ b/debian/squeeze/applications/ksensors/debian/control
@@ -2,7 +2,7 @@ Source: ksensors-trinity
Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
-Build-Depends: debhelper (>> 5), cdbs, autotools-dev, automake, autoconf, libtool, libsensors4-dev, tdelibs14-trinity-dev, imagemagick
+Build-Depends: debhelper (>> 5), quilt, cdbs, autotools-dev, automake, autoconf, libtool, libsensors4-dev, tdelibs14-trinity-dev, imagemagick
Build-Conflicts: autoconf2.13
Standards-Version: 3.8.3
diff --git a/debian/wheezy/applications/krusader/debian/patches/.gitignore b/debian/squeeze/applications/ksensors/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/wheezy/applications/krusader/debian/patches/.gitignore
+++ b/debian/squeeze/applications/ksensors/debian/patches/series
diff --git a/debian/squeeze/applications/ksensors/debian/rules b/debian/squeeze/applications/ksensors/debian/rules
index 8b97ef030..8030d443a 100755
--- a/debian/squeeze/applications/ksensors/debian/rules
+++ b/debian/squeeze/applications/ksensors/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include
DEB_CONFIGURE_MANDIR := /opt/trinity/share/man
diff --git a/debian/squeeze/applications/kshowmail/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/kshowmail/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/debian/squeeze/applications/kshowmail/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/kshowmail/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
#include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/kshutdown/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/kshutdown/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/debian/squeeze/applications/kshutdown/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/kshutdown/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
#include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/ksystemlog/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/ksystemlog/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/squeeze/applications/ksystemlog/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/ksystemlog/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/ksystemlog/debian/control b/debian/squeeze/applications/ksystemlog/debian/control
index a2266c11c..090c9bdaf 100644
--- a/debian/squeeze/applications/ksystemlog/debian/control
+++ b/debian/squeeze/applications/ksystemlog/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>
Uploaders: Fathi Boudra <fboudra@free.fr>, Mark Purcell <msp@debian.org>
-Build-Depends: cdbs, debhelper (>= 5), tdelibs14-trinity-dev, docbook2x, automake, autoconf, libtool, libltdl-dev
+Build-Depends: cdbs, debhelper (>= 5), quilt, tdelibs14-trinity-dev, docbook2x, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: ksystemlog-trinity
diff --git a/debian/wheezy/applications/ksystemlog/debian/patches/.gitignore b/debian/squeeze/applications/ksystemlog/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/wheezy/applications/ksystemlog/debian/patches/.gitignore
+++ b/debian/squeeze/applications/ksystemlog/debian/patches/series
diff --git a/debian/squeeze/applications/ksystemlog/debian/rules b/debian/squeeze/applications/ksystemlog/debian/rules
index 5b9d63684..f28f54627 100755
--- a/debian/squeeze/applications/ksystemlog/debian/rules
+++ b/debian/squeeze/applications/ksystemlog/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
DEB_CONFIGURE_MANDIR := /opt/trinity/share/man
diff --git a/debian/squeeze/applications/ktorrent/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/ktorrent/debian/cdbs/debian-qt-kde.mk
index b93e7c154..a803f50d6 100644
--- a/debian/squeeze/applications/ktorrent/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/ktorrent/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/ktorrent/debian/control b/debian/squeeze/applications/ktorrent/debian/control
index b51a9b726..d2916b49e 100644
--- a/debian/squeeze/applications/ktorrent/debian/control
+++ b/debian/squeeze/applications/ktorrent/debian/control
@@ -2,7 +2,7 @@ Source: ktorrent-trinity
Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
-Build-Depends: debhelper (>= 5.0), cdbs, docbook2x, tdelibs14-trinity-dev, libpcre3-dev, libx11-dev, libgmp3-dev, libavahi-tqt-dev, libgeoip-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: debhelper (>= 5.0), quilt, cdbs, docbook2x, tdelibs14-trinity-dev, libpcre3-dev, libx11-dev, libgmp3-dev, libavahi-tqt-dev, libgeoip-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: ktorrent-trinity
diff --git a/debian/wheezy/applications/ktorrent/debian/patches/.gitignore b/debian/squeeze/applications/ktorrent/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/wheezy/applications/ktorrent/debian/patches/.gitignore
+++ b/debian/squeeze/applications/ktorrent/debian/patches/series
diff --git a/debian/squeeze/applications/ktorrent/debian/rules b/debian/squeeze/applications/ktorrent/debian/rules
index d0046eb44..862c88e23 100755
--- a/debian/squeeze/applications/ktorrent/debian/rules
+++ b/debian/squeeze/applications/ktorrent/debian/rules
@@ -1,7 +1,7 @@
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include debian/cdbs/debian-qt-kde.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/squeeze/applications/kuickshow/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/kuickshow/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/squeeze/applications/kuickshow/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/kuickshow/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/kuickshow/debian/control b/debian/squeeze/applications/kuickshow/debian/control
index 5244beea1..90492e544 100644
--- a/debian/squeeze/applications/kuickshow/debian/control
+++ b/debian/squeeze/applications/kuickshow/debian/control
@@ -2,7 +2,7 @@ Source: kuickshow-trinity
Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
-Build-Depends: cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), gawk, tdelibs14-trinity-dev, imlib11-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), quilt, gawk, tdelibs14-trinity-dev, imlib11-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: kuickshow-trinity
diff --git a/debian/wheezy/applications/kvirc/debian/patches/.gitignore b/debian/squeeze/applications/kuickshow/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/wheezy/applications/kvirc/debian/patches/.gitignore
+++ b/debian/squeeze/applications/kuickshow/debian/patches/series
diff --git a/debian/squeeze/applications/kuickshow/debian/rules b/debian/squeeze/applications/kuickshow/debian/rules
index 46fe966da..1f3a7d8fc 100755
--- a/debian/squeeze/applications/kuickshow/debian/rules
+++ b/debian/squeeze/applications/kuickshow/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/debian-qt-kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/squeeze/applications/kvirc/debian/control b/debian/squeeze/applications/kvirc/debian/control
index 620e8e29c..07a222fa5 100644
--- a/debian/squeeze/applications/kvirc/debian/control
+++ b/debian/squeeze/applications/kvirc/debian/control
@@ -1,5 +1,5 @@
Source: kvirc-trinity
-Build-Depends: cdbs (>= 0.4.12), debhelper (>= 4.1.46), tdelibs14-trinity-dev (>= 4:3.1.3), libesd0-dev, libperl-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: cdbs (>= 0.4.12), debhelper (>= 4.1.46), quilt, tdelibs14-trinity-dev (>= 4:3.1.3), libesd0-dev, libperl-dev, automake, autoconf, libtool, libltdl-dev
Section: net
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
diff --git a/debian/wheezy/applications/kvkbd/debian/patches/.gitignore b/debian/squeeze/applications/kvirc/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/wheezy/applications/kvkbd/debian/patches/.gitignore
+++ b/debian/squeeze/applications/kvirc/debian/patches/series
diff --git a/debian/squeeze/applications/kvirc/debian/rules b/debian/squeeze/applications/kvirc/debian/rules
index 0cb35b452..d0de2524f 100755
--- a/debian/squeeze/applications/kvirc/debian/rules
+++ b/debian/squeeze/applications/kvirc/debian/rules
@@ -15,7 +15,7 @@ common-configure-impl::
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
DEB_CONFIGURE_MANDIR := /opt/trinity/share/man
diff --git a/debian/squeeze/applications/kvkbd/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/kvkbd/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/squeeze/applications/kvkbd/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/kvkbd/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/kvkbd/debian/control b/debian/squeeze/applications/kvkbd/debian/control
index 9377fc71b..ee7ec6d2e 100644
--- a/debian/squeeze/applications/kvkbd/debian/control
+++ b/debian/squeeze/applications/kvkbd/debian/control
@@ -2,7 +2,7 @@ Source: kvkbd-trinity
Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
-Build-Depends: debhelper (>= 5), cdbs, libxtst-dev, tdelibs14-trinity-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: debhelper (>= 5), quilt, cdbs, libxtst-dev, tdelibs14-trinity-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Homepage: http://pan4os.info/main/index.php
diff --git a/debian/wheezy/applications/piklab/debian/patches/.gitignore b/debian/squeeze/applications/kvkbd/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/wheezy/applications/piklab/debian/patches/.gitignore
+++ b/debian/squeeze/applications/kvkbd/debian/patches/series
diff --git a/debian/squeeze/applications/kvkbd/debian/rules b/debian/squeeze/applications/kvkbd/debian/rules
index 0f564108e..1ac5329b7 100755
--- a/debian/squeeze/applications/kvkbd/debian/rules
+++ b/debian/squeeze/applications/kvkbd/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
DEB_CONFIGURE_MANDIR := /opt/trinity/share/man
diff --git a/debian/squeeze/applications/mplayerthumbs/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/mplayerthumbs/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/debian/squeeze/applications/mplayerthumbs/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/mplayerthumbs/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
#include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/piklab/debian/control b/debian/squeeze/applications/piklab/debian/control
index 984b4b234..6314b47e9 100644
--- a/debian/squeeze/applications/piklab/debian/control
+++ b/debian/squeeze/applications/piklab/debian/control
@@ -2,7 +2,7 @@ Source: piklab-trinity
Section: electronics
Priority: extra
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
-Build-Depends: debhelper (>= 5), autotools-dev, quilt, chrpath,
+Build-Depends: cdbs, debhelper (>= 5), autotools-dev, quilt, chrpath,
libusb-dev, tdelibs14-trinity-dev, libreadline5-dev | libreadline6-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Homepage: http://piklab.sourceforge.net/
diff --git a/debian/wheezy/applications/rosegarden/debian/patches/.gitignore b/debian/squeeze/applications/piklab/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/wheezy/applications/rosegarden/debian/patches/.gitignore
+++ b/debian/squeeze/applications/piklab/debian/patches/series
diff --git a/debian/squeeze/applications/piklab/debian/rules b/debian/squeeze/applications/piklab/debian/rules
index 6d0a1d510..d15b8b977 100755
--- a/debian/squeeze/applications/piklab/debian/rules
+++ b/debian/squeeze/applications/piklab/debian/rules
@@ -26,7 +26,9 @@ else
CFLAGS += -O2
endif
-config: config-stamp
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+
+config: post-patches config-stamp
config-stamp: configure
dh_testdir
@@ -39,8 +41,6 @@ config-stamp: configure
make -f admin/Makefile.common cvs
touch debian/stamp-bootstrap
- $(MAKE) -f /usr/share/quilt/quilt.make patch
-
ifneq "$(wildcard /usr/share/misc/config.sub)" ""
cp -f /usr/share/misc/config.sub config.sub
endif
@@ -62,7 +62,7 @@ build-stamp: config-stamp
#docbook-to-man debian/piklab.sgml > piklab.1
touch $@
-clean:
+clean::
dh_testdir
dh_testroot
@@ -80,7 +80,6 @@ clean:
rm -f po/*.gmo
rm -f src/common/global/svn_revision/svn_revision.h
rm -f config.sub config.guess config.status config.log
- $(MAKE) -f /usr/share/quilt/quilt.make unpatch
dh_clean
install: build-stamp
diff --git a/debian/squeeze/applications/qt4-tqt-theme-engine/debian/control b/debian/squeeze/applications/qt4-tqt-theme-engine/debian/control
index 9c2a37a0e..29d985d0a 100644
--- a/debian/squeeze/applications/qt4-tqt-theme-engine/debian/control
+++ b/debian/squeeze/applications/qt4-tqt-theme-engine/debian/control
@@ -2,7 +2,7 @@ Source: qt4-tqt-theme-engine
Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
-Build-Depends: debhelper (>= 5), cdbs, tdelibs14-trinity-dev, libqt4-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: debhelper (>= 5), quilt, cdbs, tdelibs14-trinity-dev, libqt4-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: qt4-tqt-theme-engine
diff --git a/debian/wheezy/applications/tde-guidance/debian/patches/.gitignore b/debian/squeeze/applications/qt4-tqt-theme-engine/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/wheezy/applications/tde-guidance/debian/patches/.gitignore
+++ b/debian/squeeze/applications/qt4-tqt-theme-engine/debian/patches/series
diff --git a/debian/squeeze/applications/qt4-tqt-theme-engine/debian/rules b/debian/squeeze/applications/qt4-tqt-theme-engine/debian/rules
index 2cde95722..19ea67382 100755
--- a/debian/squeeze/applications/qt4-tqt-theme-engine/debian/rules
+++ b/debian/squeeze/applications/qt4-tqt-theme-engine/debian/rules
@@ -1,6 +1,6 @@
#!/usr/bin/make -f
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/class/qmake.mk
include /usr/share/cdbs/1/rules/debhelper.mk
diff --git a/debian/squeeze/applications/rosegarden/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/rosegarden/debian/cdbs/debian-qt-kde.mk
index 5e704aa4a..c5d8ecfd3 100644
--- a/debian/squeeze/applications/rosegarden/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/rosegarden/debian/cdbs/debian-qt-kde.mk
@@ -15,7 +15,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/rosegarden/debian/control b/debian/squeeze/applications/rosegarden/debian/control
index 3b0310398..386c0f7db 100644
--- a/debian/squeeze/applications/rosegarden/debian/control
+++ b/debian/squeeze/applications/rosegarden/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian Multimedia Team <debian-multimedia@lists.debian.org>
Uploaders: Mike O'Connor <stew@debian.org>, Free Ekanayaka <freee@debian.org>
-Build-Depends: debhelper (>> 5.0.0), cdbs, cmake, tdelibs14-trinity-dev, libasound2-dev (>= 1.0.0), libjack-dev, ladspa-sdk, liblrdf0-dev, liblircclient-dev, dssi-dev (>= 0.4 ), liblo-dev, libxft-dev, libfftw3-dev
+Build-Depends: debhelper (>> 5.0.0), quilt, cdbs, cmake, tdelibs14-trinity-dev, libasound2-dev (>= 1.0.0), libjack-dev, ladspa-sdk, liblrdf0-dev, liblircclient-dev, dssi-dev (>= 0.4 ), liblo-dev, libxft-dev, libfftw3-dev
Standards-Version: 3.8.4
Homepage: http://www.rosegardenmusic.com/
diff --git a/debian/wheezy/applications/tde-style-qtcurve/debian/patches/.gitignore b/debian/squeeze/applications/rosegarden/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/wheezy/applications/tde-style-qtcurve/debian/patches/.gitignore
+++ b/debian/squeeze/applications/rosegarden/debian/patches/series
diff --git a/debian/squeeze/applications/rosegarden/debian/rules b/debian/squeeze/applications/rosegarden/debian/rules
index 3fc2b777e..1bac8145d 100755
--- a/debian/squeeze/applications/rosegarden/debian/rules
+++ b/debian/squeeze/applications/rosegarden/debian/rules
@@ -11,7 +11,7 @@ export LD_LIBRARY_PATH
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
include debian/cdbs/debian-qt-kde.mk
diff --git a/debian/squeeze/applications/smb4k/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/smb4k/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/squeeze/applications/smb4k/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/smb4k/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/soundkonverter/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/soundkonverter/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/squeeze/applications/soundkonverter/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/soundkonverter/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/tde-guidance/debian/control b/debian/squeeze/applications/tde-guidance/debian/control
index afc565441..25ac915af 100644
--- a/debian/squeeze/applications/tde-guidance/debian/control
+++ b/debian/squeeze/applications/tde-guidance/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>
Uploaders: Fathi Boudra <fboudra@free.fr>, Mark Purcell <msp@debian.org>
-Build-Depends: cdbs, debhelper (>= 5), chrpath, tdelibs14-trinity-dev,
+Build-Depends: cdbs, debhelper (>= 5), quilt, chrpath, tdelibs14-trinity-dev,
libpythonize0-trinity-dev, libtool, libxml2-utils, libxss-dev, libxxf86vm-dev,
pytdeextensions-trinity, pytqt-tools, python-tqt, python-trinity-trinity, python-trinity-trinity-dev, python-sip4-dev,
python-support (>= 0.6), python (>= 2.5), python-dev (>= 2.5), x11proto-scrnsaver-dev, python-tqt-dev, hwdata
diff --git a/debian/wheezy/applications/tde-systemsettings/debian/patches/.gitignore b/debian/squeeze/applications/tde-guidance/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/wheezy/applications/tde-systemsettings/debian/patches/.gitignore
+++ b/debian/squeeze/applications/tde-guidance/debian/patches/series
diff --git a/debian/squeeze/applications/tde-guidance/debian/rules b/debian/squeeze/applications/tde-guidance/debian/rules
index 0cf0d64e7..ad10455d4 100755
--- a/debian/squeeze/applications/tde-guidance/debian/rules
+++ b/debian/squeeze/applications/tde-guidance/debian/rules
@@ -5,7 +5,7 @@ DEB_PYTHON_SYSTEM = pysupport
include /usr/share/cdbs/1/rules/debhelper.mk
#include /usr/share/cdbs/1/class/python-distutils.mk
include debian/python-distutils-jaunty.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_DH_INSTALL_ARGS = --sourcedir=debian/tmp
diff --git a/debian/squeeze/applications/tde-style-qtcurve/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/tde-style-qtcurve/debian/cdbs/debian-qt-kde.mk
index 5e704aa4a..c5d8ecfd3 100644
--- a/debian/squeeze/applications/tde-style-qtcurve/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/tde-style-qtcurve/debian/cdbs/debian-qt-kde.mk
@@ -15,7 +15,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/tde-style-qtcurve/debian/control b/debian/squeeze/applications/tde-style-qtcurve/debian/control
index 9df97ecc5..ce0609dde 100644
--- a/debian/squeeze/applications/tde-style-qtcurve/debian/control
+++ b/debian/squeeze/applications/tde-style-qtcurve/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Bastian Venthur <venthur@debian.org>
-Build-Depends: debhelper (>= 5), tdelibs14-trinity-dev, cmake, cdbs
+Build-Depends: debhelper (>= 5), quilt, tdelibs14-trinity-dev, cmake, cdbs
Standards-Version: 3.8.4
Package: tde-style-qtcurve-trinity
diff --git a/debian/wheezy/applications/tdeio-apt/debian/patches/.gitignore b/debian/squeeze/applications/tde-style-qtcurve/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/wheezy/applications/tdeio-apt/debian/patches/.gitignore
+++ b/debian/squeeze/applications/tde-style-qtcurve/debian/patches/series
diff --git a/debian/squeeze/applications/tde-style-qtcurve/debian/rules b/debian/squeeze/applications/tde-style-qtcurve/debian/rules
index 685703a85..f697a7e99 100755
--- a/debian/squeeze/applications/tde-style-qtcurve/debian/rules
+++ b/debian/squeeze/applications/tde-style-qtcurve/debian/rules
@@ -13,7 +13,7 @@ export LD_LIBRARY_PATH
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
include debian/cdbs/debian-qt-kde.mk
diff --git a/debian/squeeze/applications/tde-systemsettings/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/tde-systemsettings/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/squeeze/applications/tde-systemsettings/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/tde-systemsettings/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/tde-systemsettings/debian/control b/debian/squeeze/applications/tde-systemsettings/debian/control
index 811961829..e2fa87c3b 100644
--- a/debian/squeeze/applications/tde-systemsettings/debian/control
+++ b/debian/squeeze/applications/tde-systemsettings/debian/control
@@ -2,7 +2,7 @@ Source: tde-systemsettings-trinity
Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
-Build-Depends: cdbs (>= 0.4.23-1.1), autotools-dev, debhelper (>= 4.1.0), patchutils (>= 0.2.25), tdelibs14-trinity-dev (>= 3.3), docbook2x, automake, autoconf, libtool, libltdl-dev
+Build-Depends: cdbs (>= 0.4.23-1.1), autotools-dev, debhelper (>= 4.1.0), quilt, patchutils (>= 0.2.25), tdelibs14-trinity-dev (>= 3.3), docbook2x, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: tde-systemsettings-trinity
diff --git a/debian/wheezy/applications/tdeio-umountwrapper/debian/patches/.gitignore b/debian/squeeze/applications/tde-systemsettings/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/wheezy/applications/tdeio-umountwrapper/debian/patches/.gitignore
+++ b/debian/squeeze/applications/tde-systemsettings/debian/patches/series
diff --git a/debian/squeeze/applications/tde-systemsettings/debian/rules b/debian/squeeze/applications/tde-systemsettings/debian/rules
index ed2e13a90..7e11dd034 100755
--- a/debian/squeeze/applications/tde-systemsettings/debian/rules
+++ b/debian/squeeze/applications/tde-systemsettings/debian/rules
@@ -3,7 +3,7 @@
cdbs_kde_enable_debug = --disable-debug
include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include debian/cdbs/kde.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/squeeze/applications/tdeio-apt/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/tdeio-apt/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/squeeze/applications/tdeio-apt/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/tdeio-apt/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/tdeio-apt/debian/control b/debian/squeeze/applications/tdeio-apt/debian/control
index 02d55c5ab..8d4a84cdd 100644
--- a/debian/squeeze/applications/tdeio-apt/debian/control
+++ b/debian/squeeze/applications/tdeio-apt/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Emmanuel Bouthenot <kolter@openics.org>
-Build-Depends: debhelper (>= 5), cdbs, tdelibs14-trinity-dev, sharutils, automake, autoconf, libtool, libltdl-dev
+Build-Depends: debhelper (>= 5), quilt, cdbs, tdelibs14-trinity-dev, sharutils, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: tdeio-apt-trinity
diff --git a/debian/wheezy/applications/tdepowersave/debian/patches/.gitignore b/debian/squeeze/applications/tdeio-apt/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/wheezy/applications/tdepowersave/debian/patches/.gitignore
+++ b/debian/squeeze/applications/tdeio-apt/debian/patches/series
diff --git a/debian/squeeze/applications/tdeio-apt/debian/rules b/debian/squeeze/applications/tdeio-apt/debian/rules
index 9e8c0f52b..5b3afa420 100755
--- a/debian/squeeze/applications/tdeio-apt/debian/rules
+++ b/debian/squeeze/applications/tdeio-apt/debian/rules
@@ -1,7 +1,7 @@
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include debian/cdbs/kde.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/squeeze/applications/tdeio-ftps/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/tdeio-ftps/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/debian/squeeze/applications/tdeio-ftps/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/tdeio-ftps/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
#include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/tdeio-locate/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/tdeio-locate/debian/cdbs/debian-qt-kde.mk
index 5e704aa4a..c5d8ecfd3 100644
--- a/debian/squeeze/applications/tdeio-locate/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/tdeio-locate/debian/cdbs/debian-qt-kde.mk
@@ -15,7 +15,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/tdeio-locate/debian/control b/debian/squeeze/applications/tdeio-locate/debian/control
index 69dfc5707..6b61a5af0 100644
--- a/debian/squeeze/applications/tdeio-locate/debian/control
+++ b/debian/squeeze/applications/tdeio-locate/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Tobi Vollebregt <tobivollebregt@gmail.com>
-Build-Depends: cdbs, debhelper (>= 5), tdelibs14-trinity-dev, bzip2, python (>= 2.3), cmake
+Build-Depends: cdbs, debhelper (>= 5), quilt, tdelibs14-trinity-dev, bzip2, python (>= 2.3), cmake
Standards-Version: 3.8.4
Package: tdeio-locate-trinity
diff --git a/debian/wheezy/applications/tdesudo/debian/patches/.gitignore b/debian/squeeze/applications/tdeio-locate/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/wheezy/applications/tdesudo/debian/patches/.gitignore
+++ b/debian/squeeze/applications/tdeio-locate/debian/patches/series
diff --git a/debian/squeeze/applications/tdeio-locate/debian/rules b/debian/squeeze/applications/tdeio-locate/debian/rules
index 55427aa5d..01ccf387a 100755
--- a/debian/squeeze/applications/tdeio-locate/debian/rules
+++ b/debian/squeeze/applications/tdeio-locate/debian/rules
@@ -11,7 +11,7 @@ export LD_LIBRARY_PATH
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
include debian/cdbs/debian-qt-kde.mk
diff --git a/debian/squeeze/applications/tdeio-umountwrapper/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/tdeio-umountwrapper/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/squeeze/applications/tdeio-umountwrapper/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/tdeio-umountwrapper/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/tdeio-umountwrapper/debian/control b/debian/squeeze/applications/tdeio-umountwrapper/debian/control
index 49703991a..5ac7d89cc 100644
--- a/debian/squeeze/applications/tdeio-umountwrapper/debian/control
+++ b/debian/squeeze/applications/tdeio-umountwrapper/debian/control
@@ -2,7 +2,7 @@ Source: tdeio-umountwrapper-trinity
Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
-Build-Depends: debhelper (>> 5), cdbs, tdelibs14-trinity-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: debhelper (>> 5), quilt, cdbs, tdelibs14-trinity-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: tdeio-umountwrapper-trinity
diff --git a/debian/wheezy/applications/twin-style-crystal/debian/patches/.gitignore b/debian/squeeze/applications/tdeio-umountwrapper/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/wheezy/applications/twin-style-crystal/debian/patches/.gitignore
+++ b/debian/squeeze/applications/tdeio-umountwrapper/debian/patches/series
diff --git a/debian/squeeze/applications/tdeio-umountwrapper/debian/rules b/debian/squeeze/applications/tdeio-umountwrapper/debian/rules
index ddfd17b35..27e351eba 100755
--- a/debian/squeeze/applications/tdeio-umountwrapper/debian/rules
+++ b/debian/squeeze/applications/tdeio-umountwrapper/debian/rules
@@ -1,7 +1,7 @@
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include debian/cdbs/kde.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/squeeze/applications/tdenetworkmanager/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/tdenetworkmanager/debian/cdbs/debian-qt-kde.mk
index 345cc0a61..fb36ac52f 100644
--- a/debian/squeeze/applications/tdenetworkmanager/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/tdenetworkmanager/debian/cdbs/debian-qt-kde.mk
@@ -15,7 +15,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/tdenetworkmanager/debian/rules b/debian/squeeze/applications/tdenetworkmanager/debian/rules
index 00ac9877f..c08c59d57 100755
--- a/debian/squeeze/applications/tdenetworkmanager/debian/rules
+++ b/debian/squeeze/applications/tdenetworkmanager/debian/rules
@@ -11,7 +11,7 @@ export LD_LIBRARY_PATH
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
include debian/cdbs/debian-qt-kde.mk
diff --git a/debian/squeeze/applications/tdepowersave/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/tdepowersave/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/squeeze/applications/tdepowersave/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/tdepowersave/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/tdepowersave/debian/control b/debian/squeeze/applications/tdepowersave/debian/control
index de60dd3ae..ca4a5def2 100644
--- a/debian/squeeze/applications/tdepowersave/debian/control
+++ b/debian/squeeze/applications/tdepowersave/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Michael Biebl <biebl@debian.org>
-Build-Depends: cdbs, debhelper (>= 5.0.0), tdelibs14-trinity-dev, libxss-dev, libxtst-dev, libdbus-1-dev (>= 0.6), libdbus-tqt-1-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: cdbs, debhelper (>= 5.0.0), quilt, tdelibs14-trinity-dev, libxss-dev, libxtst-dev, libdbus-1-dev (>= 0.6), libdbus-tqt-1-dev, automake, autoconf, libtool, libltdl-dev
Build-Conflicts: autoconf2.13
Standards-Version: 3.8.4
Homepage: http://sourceforge.net/projects/powersave/
diff --git a/debian/wheezy/applications/wlassistant/debian/patches/.gitignore b/debian/squeeze/applications/tdepowersave/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/wheezy/applications/wlassistant/debian/patches/.gitignore
+++ b/debian/squeeze/applications/tdepowersave/debian/patches/series
diff --git a/debian/squeeze/applications/tdepowersave/debian/rules b/debian/squeeze/applications/tdepowersave/debian/rules
index 485481ef7..f74a76605 100755
--- a/debian/squeeze/applications/tdepowersave/debian/rules
+++ b/debian/squeeze/applications/tdepowersave/debian/rules
@@ -2,7 +2,7 @@
include debian/cdbs/kde.mk
include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
DEB_CONFIGURE_MANDIR := /opt/trinity/share/man
diff --git a/debian/squeeze/applications/tdesudo/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/tdesudo/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/squeeze/applications/tdesudo/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/tdesudo/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/tdesudo/debian/control b/debian/squeeze/applications/tdesudo/debian/control
index c5ef4bdee..f71c78ab3 100644
--- a/debian/squeeze/applications/tdesudo/debian/control
+++ b/debian/squeeze/applications/tdesudo/debian/control
@@ -2,7 +2,7 @@ Source: tdesudo-trinity
Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
-Build-Depends: debhelper (>> 5), cdbs, tdelibs14-trinity-dev, docbook2x, automake, autoconf, libtool, libltdl-dev
+Build-Depends: debhelper (>> 5), quilt, cdbs, tdelibs14-trinity-dev, docbook2x, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: tdesudo-trinity
diff --git a/debian/wheezy/libraries/libkipi/debian/patches/.gitignore b/debian/squeeze/applications/tdesudo/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/wheezy/libraries/libkipi/debian/patches/.gitignore
+++ b/debian/squeeze/applications/tdesudo/debian/patches/series
diff --git a/debian/squeeze/applications/tdesudo/debian/rules b/debian/squeeze/applications/tdesudo/debian/rules
index 443a43aed..83c31e0c9 100755
--- a/debian/squeeze/applications/tdesudo/debian/rules
+++ b/debian/squeeze/applications/tdesudo/debian/rules
@@ -1,7 +1,7 @@
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include debian/cdbs/kde.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/squeeze/applications/tdesvn/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/tdesvn/debian/cdbs/debian-qt-kde.mk
index 5e704aa4a..c5d8ecfd3 100644
--- a/debian/squeeze/applications/tdesvn/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/tdesvn/debian/cdbs/debian-qt-kde.mk
@@ -15,7 +15,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/tdesvn/debian/rules b/debian/squeeze/applications/tdesvn/debian/rules
index 37d2a944b..0e1c5995b 100755
--- a/debian/squeeze/applications/tdesvn/debian/rules
+++ b/debian/squeeze/applications/tdesvn/debian/rules
@@ -11,7 +11,7 @@ export LD_LIBRARY_PATH
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
include debian/cdbs/debian-qt-kde.mk
diff --git a/debian/squeeze/applications/tdmtheme/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/tdmtheme/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/squeeze/applications/tdmtheme/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/tdmtheme/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/tork/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/tork/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/debian/squeeze/applications/tork/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/tork/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
#include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/twin-style-crystal/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/twin-style-crystal/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/squeeze/applications/twin-style-crystal/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/twin-style-crystal/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/twin-style-crystal/debian/control b/debian/squeeze/applications/twin-style-crystal/debian/control
index a5a93ab76..fc2c9e65a 100644
--- a/debian/squeeze/applications/twin-style-crystal/debian/control
+++ b/debian/squeeze/applications/twin-style-crystal/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Sune Vuorela <debian@pusling.com>
-Build-Depends: debhelper (>= 5.0.0), cdbs, tdebase-trinity-dev, sharutils, automake, autoconf, libtool, libltdl-dev
+Build-Depends: debhelper (>= 5.0.0), quilt, cdbs, tdebase-trinity-dev, sharutils, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: twin-style-crystal-trinity
diff --git a/debian/wheezy/tdegraphics/debian/patches/.gitignore b/debian/squeeze/applications/twin-style-crystal/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/wheezy/tdegraphics/debian/patches/.gitignore
+++ b/debian/squeeze/applications/twin-style-crystal/debian/patches/series
diff --git a/debian/squeeze/applications/twin-style-crystal/debian/rules b/debian/squeeze/applications/twin-style-crystal/debian/rules
index 4fb0c5bb5..00b9013fa 100755
--- a/debian/squeeze/applications/twin-style-crystal/debian/rules
+++ b/debian/squeeze/applications/twin-style-crystal/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
DEB_CONFIGURE_MANDIR := /opt/trinity/share/man
diff --git a/debian/squeeze/applications/wlassistant/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/wlassistant/debian/cdbs/debian-qt-kde.mk
index 5e704aa4a..c5d8ecfd3 100644
--- a/debian/squeeze/applications/wlassistant/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/wlassistant/debian/cdbs/debian-qt-kde.mk
@@ -15,7 +15,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/applications/wlassistant/debian/control b/debian/squeeze/applications/wlassistant/debian/control
index 3a49d47ab..2b3517258 100644
--- a/debian/squeeze/applications/wlassistant/debian/control
+++ b/debian/squeeze/applications/wlassistant/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Uploaders: Achim Bohnet <ach@mpe.mpg.de>, Mark Purcell <msp@debian.org>
-Build-Depends: debhelper (>= 4.1.0), cmake, cdbs, tdelibs14-trinity-dev, net-tools, wireless-tools, libiw-dev
+Build-Depends: debhelper (>= 4.1.0), quilt, cmake, cdbs, tdelibs14-trinity-dev, net-tools, wireless-tools, libiw-dev
Standards-Version: 3.8.4
Package: wlassistant-trinity
diff --git a/debian/wheezy/tdepim/debian/patches/.gitignore b/debian/squeeze/applications/wlassistant/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/debian/wheezy/tdepim/debian/patches/.gitignore
+++ b/debian/squeeze/applications/wlassistant/debian/patches/series
diff --git a/debian/squeeze/applications/wlassistant/debian/rules b/debian/squeeze/applications/wlassistant/debian/rules
index 1a8fdeafb..5e6564e64 100755
--- a/debian/squeeze/applications/wlassistant/debian/rules
+++ b/debian/squeeze/applications/wlassistant/debian/rules
@@ -11,7 +11,7 @@ export LD_LIBRARY_PATH
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
include debian/cdbs/debian-qt-kde.mk
diff --git a/debian/squeeze/applications/yakuake/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/yakuake/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/squeeze/applications/yakuake/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/yakuake/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/dependencies/arts/debian/control b/debian/squeeze/dependencies/arts/debian/control
index 6d1a9874f..5394cc196 100644
--- a/debian/squeeze/dependencies/arts/debian/control
+++ b/debian/squeeze/dependencies/arts/debian/control
@@ -4,7 +4,7 @@ Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian Qt/TDE Maintainers <debian-qt-tde@lists.debian.org>
Priority: optional
Uploaders: Adeodato Sim <dato@net.com.org.es>, Ana Beatriz Guerrero Lopez <ana@debian.org>, Fathi Boudra <fabo@debian.org>, Modestas Vainius <modestas@vainius.eu>
-Build-Depends: cdbs (>= 0.4.48), debhelper (>= 6),
+Build-Depends: cdbs (>= 0.4.48), debhelper (>= 6), quilt,
docbook-to-man, gawk, gettext, sharutils, texinfo,
libasound2-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386],
libaudio-dev, libaudiofile-dev, libesd0-dev, libglib2.0-dev, libmad0-dev,
diff --git a/debian/squeeze/dependencies/arts/debian/patches/series b/debian/squeeze/dependencies/arts/debian/patches/series
new file mode 100644
index 000000000..59e055db8
--- /dev/null
+++ b/debian/squeeze/dependencies/arts/debian/patches/series
@@ -0,0 +1 @@
+12_cleanup_artsc-config.diff
diff --git a/debian/squeeze/dependencies/arts/debian/rules b/debian/squeeze/dependencies/arts/debian/rules
index 1b4911297..8886acad3 100755
--- a/debian/squeeze/dependencies/arts/debian/rules
+++ b/debian/squeeze/dependencies/arts/debian/rules
@@ -10,7 +10,7 @@ export LD_LIBRARY_PATH
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
include debian/cdbs/debian-qt-kde.mk
diff --git a/debian/squeeze/dependencies/dbus-1-tqt/debian/control b/debian/squeeze/dependencies/dbus-1-tqt/debian/control
index 36e73bbb1..6c1b0c969 100644
--- a/debian/squeeze/dependencies/dbus-1-tqt/debian/control
+++ b/debian/squeeze/dependencies/dbus-1-tqt/debian/control
@@ -2,7 +2,7 @@ Source: dbus-1-tqt
Section: devel
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
-Build-Depends: cdbs (>= 0.4.43), debhelper (>= 5.0.37.2), libtqtinterface-dev, libdbus-1-dev (>= 0.90), cmake
+Build-Depends: cdbs (>= 0.4.43), debhelper (>= 5.0.37.2), quilt, libtqtinterface-dev, libdbus-1-dev (>= 0.90), cmake
Standards-Version: 3.8.3
Package: libdbus-1-tqt-dev
diff --git a/debian/squeeze/dependencies/dbus-1-tqt/debian/patches/series b/debian/squeeze/dependencies/dbus-1-tqt/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/squeeze/dependencies/dbus-1-tqt/debian/patches/series
diff --git a/debian/squeeze/dependencies/dbus-1-tqt/debian/rules b/debian/squeeze/dependencies/dbus-1-tqt/debian/rules
index 3b86de7db..0585b8d86 100755
--- a/debian/squeeze/dependencies/dbus-1-tqt/debian/rules
+++ b/debian/squeeze/dependencies/dbus-1-tqt/debian/rules
@@ -1,6 +1,6 @@
#!/usr/bin/make -f
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
diff --git a/debian/squeeze/dependencies/dbus-tqt/debian/control b/debian/squeeze/dependencies/dbus-tqt/debian/control
index cdf2d334a..7c5dbc0c4 100644
--- a/debian/squeeze/dependencies/dbus-tqt/debian/control
+++ b/debian/squeeze/dependencies/dbus-tqt/debian/control
@@ -3,7 +3,7 @@ Section: devel
Priority: optional
Maintainer: Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>
Uploaders: Sjoerd Simons <sjoerd@debian.org>, Sebastian Drge <slomo@ubuntu.com>
-Build-Depends: cdbs (>= 0.4.43), debhelper (>= 5.0.37.2), libtqtinterface-dev, libdbus-1-dev (>= 0.90), cmake
+Build-Depends: cdbs (>= 0.4.43), debhelper (>= 5.0.37.2), quilt, libtqtinterface-dev, libdbus-1-dev (>= 0.90), cmake
Standards-Version: 3.8.3
Package: libdbus-tqt-1-dev
diff --git a/debian/squeeze/dependencies/dbus-tqt/debian/patches/series b/debian/squeeze/dependencies/dbus-tqt/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/squeeze/dependencies/dbus-tqt/debian/patches/series
diff --git a/debian/squeeze/dependencies/dbus-tqt/debian/rules b/debian/squeeze/dependencies/dbus-tqt/debian/rules
index a59bed76e..26bf6c196 100755
--- a/debian/squeeze/dependencies/dbus-tqt/debian/rules
+++ b/debian/squeeze/dependencies/dbus-tqt/debian/rules
@@ -3,7 +3,7 @@
# Copyright © 2003 Daniel Stone <daniels@debian.org>
# Copyright © 2006 Sjoerd Simons <sjoerd@debian.org>
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
diff --git a/debian/squeeze/dependencies/libart-lgpl/debian/control b/debian/squeeze/dependencies/libart-lgpl/debian/control
index d131211f3..3d0317045 100644
--- a/debian/squeeze/dependencies/libart-lgpl/debian/control
+++ b/debian/squeeze/dependencies/libart-lgpl/debian/control
@@ -9,7 +9,7 @@ Priority: optional
Maintainer: Josselin Mouette <joss@debian.org>
Uploaders: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>, Loic Minier <lool@dooz.org>, Sebastian Drge <slomo@debian.org>, Sebastien Bacher <seb128@debian.org>
Standards-Version: 3.8.4
-Build-Depends: debhelper (>= 5),
+Build-Depends: debhelper (>= 5), quilt,
gnome-pkg-tools (>= 0.7),
cdbs,
dpkg-dev (>= 1.13.19),
diff --git a/debian/squeeze/dependencies/libart-lgpl/debian/patches/series b/debian/squeeze/dependencies/libart-lgpl/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/squeeze/dependencies/libart-lgpl/debian/patches/series
diff --git a/debian/squeeze/dependencies/libart-lgpl/debian/rules b/debian/squeeze/dependencies/libart-lgpl/debian/rules
index 2751eb1f2..add68d0c4 100755
--- a/debian/squeeze/dependencies/libart-lgpl/debian/rules
+++ b/debian/squeeze/dependencies/libart-lgpl/debian/rules
@@ -1,7 +1,7 @@
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
include /usr/share/cdbs/1/class/gnome.mk
include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk
diff --git a/debian/squeeze/dependencies/libcaldav/debian/control b/debian/squeeze/dependencies/libcaldav/debian/control
index 6051e6de1..8ba2fed15 100644
--- a/debian/squeeze/dependencies/libcaldav/debian/control
+++ b/debian/squeeze/dependencies/libcaldav/debian/control
@@ -1,5 +1,5 @@
Source: libcaldav
-Build-Depends: debhelper (>= 5), quilt, libcurl4-gnutls-dev (>= 7.19), libglib2.0-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: cdbs, debhelper (>= 5), quilt, libcurl4-gnutls-dev (>= 7.19), libglib2.0-dev, automake, autoconf, libtool, libltdl-dev
Section: graphics
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
diff --git a/debian/squeeze/dependencies/libcaldav/debian/patches/series b/debian/squeeze/dependencies/libcaldav/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/squeeze/dependencies/libcaldav/debian/patches/series
diff --git a/debian/squeeze/dependencies/libcaldav/debian/rules b/debian/squeeze/dependencies/libcaldav/debian/rules
index fb72a35e7..0d067bc3d 100755
--- a/debian/squeeze/dependencies/libcaldav/debian/rules
+++ b/debian/squeeze/dependencies/libcaldav/debian/rules
@@ -1,6 +1,6 @@
#!/usr/bin/make -f
-include /usr/share/quilt/quilt.make
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
@@ -28,7 +28,7 @@ no_auto_tools = ACLOCAL="`pwd`/missing aclocal" \
make_flags = moduledir=/usr/lib/gdk-imlib2 $(no_auto_tools)
-build: $(QUILT_STAMPFN) build-stamp
+build: post-patches build-stamp
build-stamp:
dh_testdir
./autogen.sh
@@ -38,7 +38,7 @@ build-stamp:
touch build-stamp
-clean: unpatch
+clean::
dh_testdir
dh_testroot
rm -f build-stamp
diff --git a/debian/squeeze/dependencies/libcarddav/debian/control b/debian/squeeze/dependencies/libcarddav/debian/control
index 7bf8ff1dc..7e3b740bb 100644
--- a/debian/squeeze/dependencies/libcarddav/debian/control
+++ b/debian/squeeze/dependencies/libcarddav/debian/control
@@ -1,5 +1,5 @@
Source: libcarddav
-Build-Depends: debhelper (>= 5), libcurl4-gnutls-dev, libglib2.0-dev, quilt, automake, autoconf, libtool, libltdl-dev
+Build-Depends: cdbs, debhelper (>= 5), libcurl4-gnutls-dev, libglib2.0-dev, quilt, automake, autoconf, libtool, libltdl-dev
Section: graphics
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
diff --git a/debian/squeeze/dependencies/libcarddav/debian/patches/series b/debian/squeeze/dependencies/libcarddav/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/squeeze/dependencies/libcarddav/debian/patches/series
diff --git a/debian/squeeze/dependencies/libcarddav/debian/rules b/debian/squeeze/dependencies/libcarddav/debian/rules
index 24bdcbc93..b22fbca64 100755
--- a/debian/squeeze/dependencies/libcarddav/debian/rules
+++ b/debian/squeeze/dependencies/libcarddav/debian/rules
@@ -1,6 +1,6 @@
#!/usr/bin/make -f
-include /usr/share/quilt/quilt.make
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
@@ -28,7 +28,7 @@ no_auto_tools = ACLOCAL="`pwd`/missing aclocal" \
make_flags = moduledir=/usr/lib/gdk-imlib2 $(no_auto_tools)
-build: $(QUILT_STAMPFN) build-stamp
+build: post-patches build-stamp
build-stamp:
dh_testdir
./autogen.sh
@@ -38,7 +38,7 @@ build-stamp:
touch build-stamp
-clean: unpatch
+clean::
dh_testdir
dh_testroot
rm -f build-stamp
diff --git a/debian/squeeze/dependencies/python-tqt/debian/patches/series b/debian/squeeze/dependencies/python-tqt/debian/patches/series
index 15bc57c10..573069d8d 100644
--- a/debian/squeeze/dependencies/python-tqt/debian/patches/series
+++ b/debian/squeeze/dependencies/python-tqt/debian/patches/series
@@ -1 +1 @@
-debian_configure_changes.diff
+# debian_configure_changes.diff
diff --git a/debian/squeeze/dependencies/qt3/debian/control b/debian/squeeze/dependencies/qt3/debian/control
index cf10bbb50..c9e01e13b 100644
--- a/debian/squeeze/dependencies/qt3/debian/control
+++ b/debian/squeeze/dependencies/qt3/debian/control
@@ -2,7 +2,7 @@ Source: qt-x11-free
Maintainer: Debian Developers <kubuntu-devel@lists.ubuntu.com>
XSBC-Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Uploaders: Ana Beatriz Guerrero Lopez <ana@debian.org>, Sune Vuorela <debian@pusling.com>, Fathi Boudra <fabo@debian.org>, Modestas Vainius <modestas@vainius.eu>
-Build-Depends: debhelper (>= 5.0.31), quilt, cpio, libxext-dev (>= 4.3.0.dfsg.1-4),
+Build-Depends: cdbs, debhelper (>= 5.0.31), quilt, cpio, libxext-dev (>= 4.3.0.dfsg.1-4),
libxrandr-dev (>= 4.3.0.dfsg.1-4), libsm-dev (>= 4.3.0.dfsg.1-4),
libxmu-dev (>= 4.3.0.dfsg.1-4), libice-dev (>= 4.3.0.dfsg.1-4),
libx11-dev (>= 4.3.0.dfsg.1-4), libxt-dev (>= 4.3.0.dfsg.1-4), libxrender-dev,
diff --git a/debian/squeeze/dependencies/qt3/debian/rules b/debian/squeeze/dependencies/qt3/debian/rules
index 7ede42ad9..57dce235a 100755
--- a/debian/squeeze/dependencies/qt3/debian/rules
+++ b/debian/squeeze/dependencies/qt3/debian/rules
@@ -29,7 +29,7 @@ endif #sparc
endif #hurd
# quilt stuff
-include /usr/share/quilt/quilt.make
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
# build variables (directorys)
DEBIAN = $(shell pwd)/debian
@@ -123,7 +123,7 @@ build: libqt-thread-stamp
touch build-stamp
-libqt-thread-stamp: $(QUILT_STAMPFN)
+libqt-thread-stamp: post-patches
@echo "QTDIR is ${QTDIR}"
@@ -171,7 +171,7 @@ libqt-thread-stamp: $(QUILT_STAMPFN)
touch libqt-thread-stamp
-clean: unpatch
+clean::
dh_testdir
@@ -475,4 +475,4 @@ binary-arch: build install
dh_builddeb -a $(IBASE) $(DEB_DH_BUILDDEB_ARGS)
binary: binary-indep binary-arch
-.PHONY: build binary-indep binary-arch binary install clean patch unpatch
+.PHONY: build binary-indep binary-arch binary install clean
diff --git a/debian/squeeze/dependencies/sip4-tqt/debian/patches/series b/debian/squeeze/dependencies/sip4-tqt/debian/patches/series
index c42871d34..0b31a69ff 100644
--- a/debian/squeeze/dependencies/sip4-tqt/debian/patches/series
+++ b/debian/squeeze/dependencies/sip4-tqt/debian/patches/series
@@ -1,2 +1,2 @@
-siputils_debian_changes.diff
-siputils_objdir_module_fix.diff
+# siputils_debian_changes.diff
+# siputils_objdir_module_fix.diff
diff --git a/debian/squeeze/dependencies/sip4-tqt/debian/patches/siputils_objdir_module_fix.diff b/debian/squeeze/dependencies/sip4-tqt/debian/patches/siputils_objdir_module_fix.diff
index a9d580737..3c4570b21 100644
--- a/debian/squeeze/dependencies/sip4-tqt/debian/patches/siputils_objdir_module_fix.diff
+++ b/debian/squeeze/dependencies/sip4-tqt/debian/patches/siputils_objdir_module_fix.diff
@@ -1,8 +1,8 @@
-Index: sip4-qt3-4.10/siputils.py
+Index: b/siputils.py
===================================================================
---- sip4-qt3-4.10.orig/siputils.py 2010-01-26 23:45:34.144734105 +0100
-+++ sip4-qt3-4.10/siputils.py 2010-01-26 23:46:51.605699383 +0100
-@@ -1546,9 +1546,12 @@
+--- a/siputils.py
++++ b/siputils.py
+@@ -1547,9 +1547,12 @@
mfile.write("\n$(OFILES): $(HFILES)\n")
for mf in self._build["tqmoc_headers"].split():
@@ -14,5 +14,5 @@ Index: sip4-qt3-4.10/siputils.py
+ mf = os.path.join(self._src_dir, mf)
+
mfile.write("\n%s: %s\n" % (cpp, mf))
- mfile.write("\t$(TQMOC) -o %s %s\n" % (cpp, mf))
+ mfile.write("\t$(MOC) -o %s %s\n" % (cpp, mf))
diff --git a/debian/squeeze/dependencies/tqt3/debian/control b/debian/squeeze/dependencies/tqt3/debian/control
index 1655a1357..b524aa513 100644
--- a/debian/squeeze/dependencies/tqt3/debian/control
+++ b/debian/squeeze/dependencies/tqt3/debian/control
@@ -2,7 +2,7 @@ Source: tqt-x11-free
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Uploaders: Ana Beatriz Guerrero Lopez <ana@debian.org>, Sune Vuorela <debian@pusling.com>, Fathi Boudra <fabo@debian.org>, Modestas Vainius <modestas@vainius.eu>
-Build-Depends: debhelper (>= 5.0.31), quilt, cpio, libxext-dev (>= 4.3.0.dfsg.1-4),
+Build-Depends: cdbs, debhelper (>= 5.0.31), quilt, cpio, libxext-dev (>= 4.3.0.dfsg.1-4),
libxrandr-dev (>= 4.3.0.dfsg.1-4), libsm-dev (>= 4.3.0.dfsg.1-4),
libxmu-dev (>= 4.3.0.dfsg.1-4), libice-dev (>= 4.3.0.dfsg.1-4),
libx11-dev (>= 4.3.0.dfsg.1-4), libxt-dev (>= 4.3.0.dfsg.1-4), libxrender-dev,
diff --git a/debian/squeeze/dependencies/tqt3/debian/rules b/debian/squeeze/dependencies/tqt3/debian/rules
index d2d66f6a7..b91e34413 100755
--- a/debian/squeeze/dependencies/tqt3/debian/rules
+++ b/debian/squeeze/dependencies/tqt3/debian/rules
@@ -33,7 +33,7 @@ endif #sparc
endif #hurd
# quilt stuff
-include /usr/share/quilt/quilt.make
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
# build variables (directorys)
DEBIAN = $(shell pwd)/debian
@@ -127,7 +127,7 @@ build: libqt-thread-stamp
touch build-stamp
-libqt-thread-stamp: $(QUILT_STAMPFN)
+libqt-thread-stamp: post-patches
@echo "QTDIR is ${QTDIR}"
@@ -175,7 +175,7 @@ libqt-thread-stamp: $(QUILT_STAMPFN)
touch libqt-thread-stamp
-clean: unpatch
+clean::
dh_testdir
@@ -468,4 +468,4 @@ binary-arch: build install
dh_builddeb -a $(IBASE) $(DEB_DH_BUILDDEB_ARGS)
binary: binary-indep binary-arch
-.PHONY: build binary-indep binary-arch binary install clean patch unpatch
+.PHONY: build binary-indep binary-arch binary install clean
diff --git a/debian/squeeze/dependencies/tqtinterface/debian/control b/debian/squeeze/dependencies/tqtinterface/debian/control
index 4996e799f..c671091c9 100644
--- a/debian/squeeze/dependencies/tqtinterface/debian/control
+++ b/debian/squeeze/dependencies/tqtinterface/debian/control
@@ -2,7 +2,7 @@ Source: libtqtinterface
Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
-Build-Depends: debhelper (>> 4.0.0), libtqt3-mt-dev, tqt3-apps-dev, cmake, cdbs
+Build-Depends: debhelper (>> 4.0.0), quilt, libtqt3-mt-dev, tqt3-apps-dev, cmake, cdbs
Standards-Version: 3.8.4
Package: libtqtinterface
diff --git a/debian/squeeze/dependencies/tqtinterface/debian/patches/series b/debian/squeeze/dependencies/tqtinterface/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/squeeze/dependencies/tqtinterface/debian/patches/series
diff --git a/debian/squeeze/dependencies/tqtinterface/debian/rules b/debian/squeeze/dependencies/tqtinterface/debian/rules
index 5d8f4cb4c..051e7e40f 100755
--- a/debian/squeeze/dependencies/tqtinterface/debian/rules
+++ b/debian/squeeze/dependencies/tqtinterface/debian/rules
@@ -3,7 +3,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_KDE_APIDOX := yes
diff --git a/debian/squeeze/libraries/kipi-plugins/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/libraries/kipi-plugins/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/squeeze/libraries/kipi-plugins/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/libraries/kipi-plugins/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/libraries/libkdcraw/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/libraries/libkdcraw/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/squeeze/libraries/libkdcraw/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/libraries/libkdcraw/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/libraries/libkexiv2/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/libraries/libkexiv2/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/squeeze/libraries/libkexiv2/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/libraries/libkexiv2/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/libraries/libkipi/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/libraries/libkipi/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/squeeze/libraries/libkipi/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/libraries/libkipi/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/libraries/libkipi/debian/control b/debian/squeeze/libraries/libkipi/debian/control
index 0a2924914..4a5c8d057 100644
--- a/debian/squeeze/libraries/libkipi/debian/control
+++ b/debian/squeeze/libraries/libkipi/debian/control
@@ -3,7 +3,7 @@ Section: libs
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Uploaders: Achim Bohnet <ach@mpe.mpg.de>, Mark Purcell <msp@debian.org>
-Build-Depends: cdbs, debhelper (>> 4.1), libexif-dev, tdelibs14-trinity-dev (>= 4:3.4.3-2), automake, autoconf, libtool, libltdl-dev
+Build-Depends: cdbs, debhelper (>> 4.1), quilt, libexif-dev, tdelibs14-trinity-dev (>= 4:3.4.3-2), automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: libkipi0-trinity-dev
diff --git a/debian/squeeze/libraries/libkipi/debian/patches/series b/debian/squeeze/libraries/libkipi/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/squeeze/libraries/libkipi/debian/patches/series
diff --git a/debian/squeeze/libraries/libkipi/debian/rules b/debian/squeeze/libraries/libkipi/debian/rules
index c95fe1343..9835b9048 100755
--- a/debian/squeeze/libraries/libkipi/debian/rules
+++ b/debian/squeeze/libraries/libkipi/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/debian-qt-kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/squeeze/libraries/libtdeldap/debian/control b/debian/squeeze/libraries/libtdeldap/debian/control
index 78bbffbc8..0f20c21ab 100644
--- a/debian/squeeze/libraries/libtdeldap/debian/control
+++ b/debian/squeeze/libraries/libtdeldap/debian/control
@@ -2,7 +2,7 @@ Source: libtdeldap-trinity
Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
-Build-Depends: debhelper (>= 5), cdbs, tdelibs14-trinity-dev, libldap2-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: debhelper (>= 5), quilt, cdbs, tdelibs14-trinity-dev, libldap2-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: libtdeldap-trinity
diff --git a/debian/squeeze/libraries/libtdeldap/debian/patches/series b/debian/squeeze/libraries/libtdeldap/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/squeeze/libraries/libtdeldap/debian/patches/series
diff --git a/debian/squeeze/libraries/libtdeldap/debian/rules b/debian/squeeze/libraries/libtdeldap/debian/rules
index 9bed17b05..e4abe53af 100755
--- a/debian/squeeze/libraries/libtdeldap/debian/rules
+++ b/debian/squeeze/libraries/libtdeldap/debian/rules
@@ -1,6 +1,6 @@
#!/usr/bin/make -f
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/debhelper.mk
diff --git a/debian/squeeze/tdeaccessibility/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/tdeaccessibility/debian/cdbs/debian-qt-kde.mk
index 4a11bc028..6b7b16643 100644
--- a/debian/squeeze/tdeaccessibility/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/tdeaccessibility/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/tdeaccessibility/debian/control b/debian/squeeze/tdeaccessibility/debian/control
index 6b3eb0beb..546906d83 100644
--- a/debian/squeeze/tdeaccessibility/debian/control
+++ b/debian/squeeze/tdeaccessibility/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Uploaders: Ana Beatriz Guerrero Lopez <ana@debian.org>, Christopher Martin <chrsmrtn@debian.org>, Josh Metzler <joshdeb@metzlers.org>, Sune Vuorela <debian@pusling.com>
-Build-Depends: cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), gawk, gettext, groff-base, tdelibs14-trinity-dev, tdemultimedia-trinity-dev, libakode-dev, libxtst-dev, sharutils, libogg-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), quilt, gawk, gettext, groff-base, tdelibs14-trinity-dev, tdemultimedia-trinity-dev, libakode-dev, libxtst-dev, sharutils, libogg-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: tdeaccessibility-trinity
diff --git a/debian/squeeze/tdeaccessibility/debian/patches/series b/debian/squeeze/tdeaccessibility/debian/patches/series
new file mode 100644
index 000000000..6b3ddc8ec
--- /dev/null
+++ b/debian/squeeze/tdeaccessibility/debian/patches/series
@@ -0,0 +1,3 @@
+common/04_am_maintainer_mode.diff
+common/06_disable_no_undefined.diff
+common/kubuntu_01_kdepot.diff
diff --git a/debian/squeeze/tdeaccessibility/debian/rules b/debian/squeeze/tdeaccessibility/debian/rules
index 4fdbdb6c3..98b74d04f 100755
--- a/debian/squeeze/tdeaccessibility/debian/rules
+++ b/debian/squeeze/tdeaccessibility/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/debian-qt-kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/squeeze/tdeaddons/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/tdeaddons/debian/cdbs/debian-qt-kde.mk
index 4a11bc028..6b7b16643 100644
--- a/debian/squeeze/tdeaddons/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/tdeaddons/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/tdeaddons/debian/control b/debian/squeeze/tdeaddons/debian/control
index bb2178f76..ce6a3b1cb 100644
--- a/debian/squeeze/tdeaddons/debian/control
+++ b/debian/squeeze/tdeaddons/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Uploaders: Ana Beatriz Guerrero Lopez <ana@debian.org>, Christopher Martin <chrsmrtn@debian.org>
-Build-Depends: libasound2-dev, cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), autotools-dev, gawk, gettext, tdelibs14-trinity-dev, atlantik-trinity-dev, tdebase-trinity-dev, tdemultimedia-trinity-dev, libtdegames-trinity-dev, libkonq4-trinity-dev, tdepim-trinity-dev, libsdl1.2-dev (>= 1.2.2-3.3), libssl-dev (>= 0.9.6), libdb4.8++-dev | libdb++-dev, libogg-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: libasound2-dev, cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), quilt, autotools-dev, gawk, gettext, tdelibs14-trinity-dev, atlantik-trinity-dev, tdebase-trinity-dev, tdemultimedia-trinity-dev, libtdegames-trinity-dev, libkonq4-trinity-dev, tdepim-trinity-dev, libsdl1.2-dev (>= 1.2.2-3.3), libssl-dev (>= 0.9.6), libdb4.8++-dev | libdb++-dev, libogg-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: tdeaddons-trinity
diff --git a/debian/squeeze/tdeaddons/debian/patches/series b/debian/squeeze/tdeaddons/debian/patches/series
new file mode 100644
index 000000000..6b3ddc8ec
--- /dev/null
+++ b/debian/squeeze/tdeaddons/debian/patches/series
@@ -0,0 +1,3 @@
+common/04_am_maintainer_mode.diff
+common/06_disable_no_undefined.diff
+common/kubuntu_01_kdepot.diff
diff --git a/debian/squeeze/tdeaddons/debian/rules b/debian/squeeze/tdeaddons/debian/rules
index 8e8bb53a9..692eacfb0 100755
--- a/debian/squeeze/tdeaddons/debian/rules
+++ b/debian/squeeze/tdeaddons/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/debian-qt-kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/squeeze/tdeadmin/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/tdeadmin/debian/cdbs/debian-qt-kde.mk
index 4a11bc028..6b7b16643 100644
--- a/debian/squeeze/tdeadmin/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/tdeadmin/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/tdeadmin/debian/control b/debian/squeeze/tdeadmin/debian/control
index 61e7437cd..de6e4622c 100644
--- a/debian/squeeze/tdeadmin/debian/control
+++ b/debian/squeeze/tdeadmin/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Uploaders: Ana Beatriz Guerrero Lopez <ana@debian.org>, Christopher Martin <chrsmrtn@debian.org>, Fathi Boudra <fboudra@free.fr>, Modestas Vainius <geromanas@mailas.com>, Sune Vuorela <debian@pusling.com>
-Build-Depends: libasound2-dev, cdbs (>= 0.4.39-0.1), autotools-dev, debhelper (>= 5.0.31), docbook-to-man, gawk, gettext, tdelibs14-trinity-dev, libbz2-dev, libpam0g-dev, sharutils, texinfo, rpm, automake, autoconf, libtool, libltdl-dev
+Build-Depends: libasound2-dev, cdbs (>= 0.4.39-0.1), autotools-dev, debhelper (>= 5.0.31), quilt, docbook-to-man, gawk, gettext, tdelibs14-trinity-dev, libbz2-dev, libpam0g-dev, sharutils, texinfo, rpm, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: tdeadmin-trinity
diff --git a/debian/squeeze/tdeadmin/debian/patches/series b/debian/squeeze/tdeadmin/debian/patches/series
new file mode 100644
index 000000000..6b3ddc8ec
--- /dev/null
+++ b/debian/squeeze/tdeadmin/debian/patches/series
@@ -0,0 +1,3 @@
+common/04_am_maintainer_mode.diff
+common/06_disable_no_undefined.diff
+common/kubuntu_01_kdepot.diff
diff --git a/debian/squeeze/tdeadmin/debian/rules b/debian/squeeze/tdeadmin/debian/rules
index 849de5f21..4ddc3ff78 100755
--- a/debian/squeeze/tdeadmin/debian/rules
+++ b/debian/squeeze/tdeadmin/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/debian-qt-kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/squeeze/tdeartwork/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/tdeartwork/debian/cdbs/debian-qt-kde.mk
index 497be9751..425264528 100644
--- a/debian/squeeze/tdeartwork/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/tdeartwork/debian/cdbs/debian-qt-kde.mk
@@ -20,7 +20,9 @@ endif
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/tdeartwork/debian/control b/debian/squeeze/tdeartwork/debian/control
index f9b3dca86..da7c130cf 100644
--- a/debian/squeeze/tdeartwork/debian/control
+++ b/debian/squeeze/tdeartwork/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Ubuntu Core developers <ubuntu-devel-discuss@lists.ubuntu.com>
XSBC-Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Uploaders: Ana Beatriz Guerrero Lopez <ana@debian.org>, Christopher Martin <chrsmrtn@debian.org>, Sune Vuorela <debian@pusling.com>
-Build-Depends: cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), cmake, autotools-dev, tdelibs14-trinity-dev, gawk, gettext, sharutils, tdebase-trinity-dev, twin-trinity, libgl1-mesa-dev | libgl-dev, libglu1-mesa-dev | libglu-dev, xscreensaver, xscreensaver-gl, xscreensaver-data, xscreensaver-data-extra, xscreensaver-gl-extra, rss-glx, fireflies, automake, autoconf, libtool, libltdl-dev
+Build-Depends: cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), quilt, cmake, autotools-dev, tdelibs14-trinity-dev, gawk, gettext, sharutils, tdebase-trinity-dev, twin-trinity, libgl1-mesa-dev | libgl-dev, libglu1-mesa-dev | libglu-dev, xscreensaver, xscreensaver-gl, xscreensaver-data, xscreensaver-data-extra, xscreensaver-gl-extra, rss-glx, fireflies, automake, autoconf, libtool, libltdl-dev
Build-Conflicts: autoconf2.13, nvidia-glx
Standards-Version: 3.8.4
diff --git a/debian/squeeze/tdeartwork/debian/patches/series b/debian/squeeze/tdeartwork/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/squeeze/tdeartwork/debian/patches/series
diff --git a/debian/squeeze/tdeartwork/debian/rules b/debian/squeeze/tdeartwork/debian/rules
index 963f996bc..062bd4f29 100755
--- a/debian/squeeze/tdeartwork/debian/rules
+++ b/debian/squeeze/tdeartwork/debian/rules
@@ -3,7 +3,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
include debian/cdbs/debian-qt-kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include
diff --git a/debian/squeeze/tdebase/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/tdebase/debian/cdbs/debian-qt-kde.mk
index fa0d532f4..ec89756bb 100644
--- a/debian/squeeze/tdebase/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/tdebase/debian/cdbs/debian-qt-kde.mk
@@ -15,7 +15,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/tdebase/debian/control b/debian/squeeze/tdebase/debian/control
index e4874266c..8185afb92 100644
--- a/debian/squeeze/tdebase/debian/control
+++ b/debian/squeeze/tdebase/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Uploaders: Ana Beatriz Guerrero Lopez <ana@debian.org>, Fathi Boudra <fboudra@free.fr>, Modestas Vainius <geromanas@mailas.com>, Sune Vuorela <debian@pusling.com>
-Build-Depends: libasound2-dev, cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), autotools-dev, gawk, gettext, tdelibs14-trinity-dev, libldap2-dev, libncurses5-dev, libpam0g-dev, libpopt-dev, libraw1394-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386], libsensors4-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386], libsmbclient-dev, libusb-dev, libxtst-dev, libfontenc-dev, xscreensaver, xscreensaver-data, xscreensaver-data-extra, libxss-dev, libxcomposite-dev, libxdamage-dev, libxkbfile-dev, xutils, sharutils, texinfo, libavahi-compat-libdnssd-dev (>= 0.4), x11proto-kb-dev, xmkmf | xutils-dev, tdelibs14-trinity, libogg-dev, libdbus-tqt-1-dev, libavahi-tqt-dev, udev, libudev-dev, libdbus-1-tqt-dev, libart-2.0-dev (>= 14.0.0), libtool, libltdl-dev, cmake
+Build-Depends: libasound2-dev, cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), quilt, autotools-dev, gawk, gettext, tdelibs14-trinity-dev, libldap2-dev, libncurses5-dev, libpam0g-dev, libpopt-dev, libraw1394-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386], libsensors4-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386], libsmbclient-dev, libusb-dev, libxtst-dev, libfontenc-dev, xscreensaver, xscreensaver-data, xscreensaver-data-extra, libxss-dev, libxcomposite-dev, libxdamage-dev, libxkbfile-dev, xutils, sharutils, texinfo, libavahi-compat-libdnssd-dev (>= 0.4), x11proto-kb-dev, xmkmf | xutils-dev, tdelibs14-trinity, libogg-dev, libdbus-tqt-1-dev, libavahi-tqt-dev, udev, libudev-dev, libdbus-1-tqt-dev, libart-2.0-dev (>= 14.0.0), libtool, libltdl-dev, cmake
Build-Depends-Indep: doxygen, libtqtinterface-doc, graphviz, gsfonts-x11, tdelibs14-trinity-doc
Build-Conflicts: nvidia-glx (<< 1.0.8774-6)
Standards-Version: 3.8.4
diff --git a/debian/squeeze/tdebase/debian/patches/series b/debian/squeeze/tdebase/debian/patches/series
new file mode 100644
index 000000000..15ab12afb
--- /dev/null
+++ b/debian/squeeze/tdebase/debian/patches/series
@@ -0,0 +1,2 @@
+disable_default_tdm_theme.diff
+disable_starttde_wallpaper.diff
diff --git a/debian/squeeze/tdebase/debian/rules b/debian/squeeze/tdebase/debian/rules
index e2ee7f0b7..c3d424f10 100755
--- a/debian/squeeze/tdebase/debian/rules
+++ b/debian/squeeze/tdebase/debian/rules
@@ -11,7 +11,7 @@ export LD_LIBRARY_PATH
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
include debian/cdbs/debian-qt-kde.mk
diff --git a/debian/squeeze/tdebindings/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/tdebindings/debian/cdbs/debian-qt-kde.mk
index 2a219d60a..1e862f623 100644
--- a/debian/squeeze/tdebindings/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/tdebindings/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/tdeedu/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/tdeedu/debian/cdbs/debian-qt-kde.mk
index 4a11bc028..6b7b16643 100644
--- a/debian/squeeze/tdeedu/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/tdeedu/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/tdeedu/debian/control b/debian/squeeze/tdeedu/debian/control
index 487e5c66d..0d277efab 100644
--- a/debian/squeeze/tdeedu/debian/control
+++ b/debian/squeeze/tdeedu/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Uploaders: Ana Beatriz Guerrero Lopez <ana@debian.org>, Christopher Martin <chrsmrtn@debian.org>, Daniel Schepler <schepler@debian.org>, Sune Vuorela <debian@pusling.com>
-Build-Depends: ocaml-nox, libfacile-ocaml-dev, libasound2-dev, cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), autotools-dev, gawk, gettext, tdelibs14-trinity-dev, libboost-python-dev (>= 1.33.1), libusb-dev, sharutils, doxygen, libogg-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: ocaml-nox, libfacile-ocaml-dev, libasound2-dev, cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), quilt, autotools-dev, gawk, gettext, tdelibs14-trinity-dev, libboost-python-dev (>= 1.33.1), libusb-dev, sharutils, doxygen, libogg-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: tdeedu-trinity
diff --git a/debian/squeeze/tdeedu/debian/patches/series b/debian/squeeze/tdeedu/debian/patches/series
new file mode 100644
index 000000000..6b3ddc8ec
--- /dev/null
+++ b/debian/squeeze/tdeedu/debian/patches/series
@@ -0,0 +1,3 @@
+common/04_am_maintainer_mode.diff
+common/06_disable_no_undefined.diff
+common/kubuntu_01_kdepot.diff
diff --git a/debian/squeeze/tdeedu/debian/rules b/debian/squeeze/tdeedu/debian/rules
index 9f81df4c0..c457b98e2 100755
--- a/debian/squeeze/tdeedu/debian/rules
+++ b/debian/squeeze/tdeedu/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/debian-qt-kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/squeeze/tdegames/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/tdegames/debian/cdbs/debian-qt-kde.mk
index 4a11bc028..6b7b16643 100644
--- a/debian/squeeze/tdegames/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/tdegames/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/tdegames/debian/control b/debian/squeeze/tdegames/debian/control
index 1504d7ae3..59ed12c27 100644
--- a/debian/squeeze/tdegames/debian/control
+++ b/debian/squeeze/tdegames/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Uploaders: Ana Beatriz Guerrero Lopez <ana@debian.org>, Christopher Martin <chrsmrtn@debian.org>, Daniel Schepler <schepler@debian.org>, Sune Vuorela <debian@pusling.com>
-Build-Depends: libasound2-dev, cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), autotools-dev, gawk, gettext, tdelibs14-trinity-dev, tdemultimedia-trinity-dev, libtool, groff-base, sharutils, bzip2, sharutils, libogg-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: libasound2-dev, cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), quilt, autotools-dev, gawk, gettext, tdelibs14-trinity-dev, tdemultimedia-trinity-dev, libtool, groff-base, sharutils, bzip2, sharutils, libogg-dev, automake, autoconf, libtool, libltdl-dev
Build-Depends-Indep: doxygen, graphviz, gsfonts-x11, libtqtinterface-doc, tdelibs14-trinity-doc
Standards-Version: 3.8.4
diff --git a/debian/squeeze/tdegames/debian/patches/series b/debian/squeeze/tdegames/debian/patches/series
new file mode 100644
index 000000000..6b3ddc8ec
--- /dev/null
+++ b/debian/squeeze/tdegames/debian/patches/series
@@ -0,0 +1,3 @@
+common/04_am_maintainer_mode.diff
+common/06_disable_no_undefined.diff
+common/kubuntu_01_kdepot.diff
diff --git a/debian/squeeze/tdegames/debian/rules b/debian/squeeze/tdegames/debian/rules
index 085eb8404..7f682874f 100755
--- a/debian/squeeze/tdegames/debian/rules
+++ b/debian/squeeze/tdegames/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/debian-qt-kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
export kde_bindir = /opt/trinity/games
diff --git a/debian/squeeze/tdegraphics/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/tdegraphics/debian/cdbs/debian-qt-kde.mk
index df08f2d37..7c7e6d56c 100644
--- a/debian/squeeze/tdegraphics/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/tdegraphics/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/tdegraphics/debian/control b/debian/squeeze/tdegraphics/debian/control
index ea835feac..8b88b8c15 100644
--- a/debian/squeeze/tdegraphics/debian/control
+++ b/debian/squeeze/tdegraphics/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Uploaders: Ana Beatriz Guerrero Lopez <ana@debian.org>, Francesco Pedrini <francesco.pedrini@gmail.com>, Josh Metzler <joshdeb@metzlers.org>, Sune Vuorela <debian@pusling.com>
-Build-Depends: imlib11-dev, cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), autotools-dev, gawk, gettext, tdelibs14-trinity-dev, libexif-dev (>= 0.6.9-1), libfribidi-dev, freeglut3-dev, libgphoto2-6-dev | libgphoto2-2-dev, libopenexr-dev (>= 1.2.1), libpaper-dev, libpoppler-private-dev | libpoppler-dev (<< 0.18.4-3), libpoppler-dev, libsane-dev (>> 1.0.15), libtiff-dev, libtiff-tools, libusb-dev, sharutils, libxxf86vm-dev, chrpath [powerpc], cmake, libtool, libltdl-dev
+Build-Depends: imlib11-dev, cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), quilt, autotools-dev, gawk, gettext, tdelibs14-trinity-dev, libexif-dev (>= 0.6.9-1), libfribidi-dev, freeglut3-dev, libgphoto2-6-dev | libgphoto2-2-dev, libopenexr-dev (>= 1.2.1), libpaper-dev, libpoppler-private-dev | libpoppler-dev (<< 0.18.4-3), libpoppler-dev, libsane-dev (>> 1.0.15), libtiff-dev, libtiff-tools, libusb-dev, sharutils, libxxf86vm-dev, chrpath [powerpc], cmake, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: tdegraphics-trinity
diff --git a/debian/squeeze/tdegraphics/debian/patches/series b/debian/squeeze/tdegraphics/debian/patches/series
new file mode 100644
index 000000000..6b3ddc8ec
--- /dev/null
+++ b/debian/squeeze/tdegraphics/debian/patches/series
@@ -0,0 +1,3 @@
+common/04_am_maintainer_mode.diff
+common/06_disable_no_undefined.diff
+common/kubuntu_01_kdepot.diff
diff --git a/debian/squeeze/tdegraphics/debian/rules b/debian/squeeze/tdegraphics/debian/rules
index 9aedb5fcf..87727752f 100755
--- a/debian/squeeze/tdegraphics/debian/rules
+++ b/debian/squeeze/tdegraphics/debian/rules
@@ -11,7 +11,7 @@ export LD_LIBRARY_PATH
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_CMAKE_EXTRA_FLAGS := -DLIB_SUFFIX="" -DCMAKE_INSTALL_PREFIX="/opt/trinity" -DCONFIG_INSTALL_DIR="/etc/trinity" -DSYSCONF_INSTALL_DIR="/etc/trinity" -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" -DCMAKE_INCLUDE_PATH="/opt/trinity/include/" -DAUTODETECT_QT_DIRS="ON" -DCMAKE_VERBOSE_MAKEFILE="ON" -DBUILD_ALL="ON" -DCMAKE_SKIP_RPATH="OFF" \
diff --git a/debian/squeeze/tdelibs/debian/control b/debian/squeeze/tdelibs/debian/control
index d3124cae8..d516bc037 100644
--- a/debian/squeeze/tdelibs/debian/control
+++ b/debian/squeeze/tdelibs/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Uploaders: Adeodato Sim <dato@net.com.org.es>, Ana Beatriz Guerrero Lopez <ana@debian.org>, Daniel Schepler <schepler@debian.org>, Fathi Boudra <fboudra@free.fr>, Sune Vuorela <debian@pusling.com>
-Build-Depends: cdbs (>= 0.4.41ubuntu2), debhelper (>= 5.0.31), autotools-dev,
+Build-Depends: cdbs (>= 0.4.41ubuntu2), debhelper (>= 5.0.31), quilt, autotools-dev,
binutils (>= 2.14.90.0.7), binutils-dev, docbook-to-man, gawk, gettext,
libart-2.0-dev (>= 14.0.0), libarts1-trinity-dev (>= 1.5.0), libacl1-dev,
libattr1-dev, libasound2-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386],
diff --git a/debian/squeeze/tdelibs/debian/patches/series b/debian/squeeze/tdelibs/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/squeeze/tdelibs/debian/patches/series
diff --git a/debian/squeeze/tdelibs/debian/rules b/debian/squeeze/tdelibs/debian/rules
index 2024e1380..5ea30a3cc 100755
--- a/debian/squeeze/tdelibs/debian/rules
+++ b/debian/squeeze/tdelibs/debian/rules
@@ -11,7 +11,7 @@ export LD_LIBRARY_PATH
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
include debian/cdbs/debian-qt-kde.mk
diff --git a/debian/squeeze/tdemultimedia/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/tdemultimedia/debian/cdbs/debian-qt-kde.mk
index 4a11bc028..6b7b16643 100644
--- a/debian/squeeze/tdemultimedia/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/tdemultimedia/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/tdemultimedia/debian/control b/debian/squeeze/tdemultimedia/debian/control
index b4c0ea921..7ea0661d4 100644
--- a/debian/squeeze/tdemultimedia/debian/control
+++ b/debian/squeeze/tdemultimedia/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Uploaders: Ana Beatriz Guerrero Lopez <ana@debian.org>, Christopher Martin <chrsmrtn@debian.org>, Fathi Boudra <fboudra@free.fr>, Sune Vuorela <debian@pusling.com>
-Build-Depends: cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), autotools-dev, cdparanoia, gawk, gettext, tdelibs14-trinity-dev, libcdparanoia0-dev, libesd0-dev, libflac-dev (>= 1.1.4-1), libgstreamer-plugins-base0.10-dev, libsamplerate0-dev, libspeex-dev (>> 1.1.5), libtag1-dev (>> 1.3.1), libtheora-dev, libxine2-dev | libxine-dev, sharutils, texinfo, libxxf86dga-dev, libxv-dev, libxxf86vm-dev, libakode-dev, libogg-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), quilt, autotools-dev, cdparanoia, gawk, gettext, tdelibs14-trinity-dev, libcdparanoia0-dev, libesd0-dev, libflac-dev (>= 1.1.4-1), libgstreamer-plugins-base0.10-dev, libsamplerate0-dev, libspeex-dev (>> 1.1.5), libtag1-dev (>> 1.3.1), libtheora-dev, libxine2-dev | libxine-dev, sharutils, texinfo, libxxf86dga-dev, libxv-dev, libxxf86vm-dev, libakode-dev, libogg-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: tdemultimedia-trinity
diff --git a/debian/squeeze/tdemultimedia/debian/patches/series b/debian/squeeze/tdemultimedia/debian/patches/series
new file mode 100644
index 000000000..6b3ddc8ec
--- /dev/null
+++ b/debian/squeeze/tdemultimedia/debian/patches/series
@@ -0,0 +1,3 @@
+common/04_am_maintainer_mode.diff
+common/06_disable_no_undefined.diff
+common/kubuntu_01_kdepot.diff
diff --git a/debian/squeeze/tdemultimedia/debian/rules b/debian/squeeze/tdemultimedia/debian/rules
index 4dcb0d43d..1a946ecfc 100755
--- a/debian/squeeze/tdemultimedia/debian/rules
+++ b/debian/squeeze/tdemultimedia/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/debian-qt-kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/squeeze/tdenetwork/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/tdenetwork/debian/cdbs/debian-qt-kde.mk
index f8b76cb04..4a9d74d88 100644
--- a/debian/squeeze/tdenetwork/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/tdenetwork/debian/cdbs/debian-qt-kde.mk
@@ -20,7 +20,9 @@ endif
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/tdenetwork/debian/control b/debian/squeeze/tdenetwork/debian/control
index 410c33725..e4180cb98 100644
--- a/debian/squeeze/tdenetwork/debian/control
+++ b/debian/squeeze/tdenetwork/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Uploaders: Ana Beatriz Guerrero Lopez <ana@debian.org>, Christopher Martin <chrsmrtn@debian.org>, Modestas Vainius <geromanas@mailas.com>, Sarah Hobbs <hobbsee@ubuntu.com>, Sune Vuorela <debian@pusling.com>
-Build-Depends: libasound2-dev, cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), cmake, autotools-dev, docbook-to-man, doxygen, gawk, gettext, tdelibs14-trinity-dev, libgadu-dev, libiw-dev (>> 27+28pre8), libmeanwhile-dev (>= 1.0.2), libslp-dev, libsqlite3-dev, libtiff-dev, libxml2-dev, libxslt1-dev, libxtst-dev, libtqtinterface-doc, sharutils, valgrind [!armel], libxxf86vm-dev, libv4l-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: libasound2-dev, cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), quilt, cmake, autotools-dev, docbook-to-man, doxygen, gawk, gettext, tdelibs14-trinity-dev, libgadu-dev, libiw-dev (>> 27+28pre8), libmeanwhile-dev (>= 1.0.2), libslp-dev, libsqlite3-dev, libtiff-dev, libxml2-dev, libxslt1-dev, libxtst-dev, libtqtinterface-doc, sharutils, valgrind [!armel], libxxf86vm-dev, libv4l-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: tdenetwork-trinity
diff --git a/debian/squeeze/tdenetwork/debian/patches/series b/debian/squeeze/tdenetwork/debian/patches/series
new file mode 100644
index 000000000..6b3ddc8ec
--- /dev/null
+++ b/debian/squeeze/tdenetwork/debian/patches/series
@@ -0,0 +1,3 @@
+common/04_am_maintainer_mode.diff
+common/06_disable_no_undefined.diff
+common/kubuntu_01_kdepot.diff
diff --git a/debian/squeeze/tdenetwork/debian/rules b/debian/squeeze/tdenetwork/debian/rules
index 0ee562691..539d5a557 100755
--- a/debian/squeeze/tdenetwork/debian/rules
+++ b/debian/squeeze/tdenetwork/debian/rules
@@ -15,7 +15,7 @@ export DH_OPTIONS
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
include debian/cdbs/debian-qt-kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include
diff --git a/debian/squeeze/tdepim/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/tdepim/debian/cdbs/debian-qt-kde.mk
index fa0d532f4..ec89756bb 100644
--- a/debian/squeeze/tdepim/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/tdepim/debian/cdbs/debian-qt-kde.mk
@@ -15,7 +15,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/tdepim/debian/control b/debian/squeeze/tdepim/debian/control
index 09d891a98..9b28415cd 100644
--- a/debian/squeeze/tdepim/debian/control
+++ b/debian/squeeze/tdepim/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Uploaders: Ana Beatriz Guerrero Lopez <ana@debian.org>, Josh Metzler <joshdeb@metzlers.org>, Sune Vuorela <debian@pusling.com>
-Build-Depends: libasound2-dev, cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31),
+Build-Depends: libasound2-dev, cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), quilt,
cdparanoia, gawk, gettext, tdelibs14-trinity-dev, bison, byacc, bzip2,
flex, groff-base, libopensync0-dev, libogg-dev,
libboost-dev (>= 1.33.1), libgpgme11-dev, liblockdev1-dev,
diff --git a/debian/squeeze/tdepim/debian/patches/series b/debian/squeeze/tdepim/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/squeeze/tdepim/debian/patches/series
diff --git a/debian/squeeze/tdepim/debian/rules b/debian/squeeze/tdepim/debian/rules
index 48c8b7fa2..e01240a19 100755
--- a/debian/squeeze/tdepim/debian/rules
+++ b/debian/squeeze/tdepim/debian/rules
@@ -11,7 +11,7 @@ export LD_LIBRARY_PATH
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
include debian/cdbs/debian-qt-kde.mk
diff --git a/debian/squeeze/tdesdk/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/tdesdk/debian/cdbs/debian-qt-kde.mk
index f8b76cb04..4a9d74d88 100644
--- a/debian/squeeze/tdesdk/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/tdesdk/debian/cdbs/debian-qt-kde.mk
@@ -20,7 +20,9 @@ endif
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/tdesdk/debian/control b/debian/squeeze/tdesdk/debian/control
index d92d97c2d..088678120 100644
--- a/debian/squeeze/tdesdk/debian/control
+++ b/debian/squeeze/tdesdk/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Uploaders: Ana Beatriz Guerrero Lopez <ana@debian.org>, Fathi Boudra <fboudra@free.fr>, Josh Metzler <joshdeb@metzlers.org>, Sune Vuorela <debian@pusling.com>
-Build-Depends: libasound2-dev, cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), cmake, autotools-dev, gawk,
+Build-Depends: libasound2-dev, cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), quilt, cmake, autotools-dev, gawk,
gettext, pkg-config, tdelibs14-trinity-dev, binutils-dev, bison, flex,
tdepim-trinity-dev, libapr1-dev, libkcal2-trinity-dev,
libktnef1-trinity-dev, libsvn-dev, libdb-dev,
diff --git a/debian/squeeze/tdesdk/debian/patches/series b/debian/squeeze/tdesdk/debian/patches/series
new file mode 100644
index 000000000..6b3ddc8ec
--- /dev/null
+++ b/debian/squeeze/tdesdk/debian/patches/series
@@ -0,0 +1,3 @@
+common/04_am_maintainer_mode.diff
+common/06_disable_no_undefined.diff
+common/kubuntu_01_kdepot.diff
diff --git a/debian/squeeze/tdesdk/debian/rules b/debian/squeeze/tdesdk/debian/rules
index 15a2da318..c4ecc592b 100755
--- a/debian/squeeze/tdesdk/debian/rules
+++ b/debian/squeeze/tdesdk/debian/rules
@@ -3,7 +3,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
include debian/cdbs/debian-qt-kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include
diff --git a/debian/squeeze/tdetoys/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/tdetoys/debian/cdbs/debian-qt-kde.mk
index f8b76cb04..4a9d74d88 100644
--- a/debian/squeeze/tdetoys/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/tdetoys/debian/cdbs/debian-qt-kde.mk
@@ -20,7 +20,9 @@ endif
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/tdetoys/debian/control b/debian/squeeze/tdetoys/debian/control
index 6c3d306f3..d858c4c51 100644
--- a/debian/squeeze/tdetoys/debian/control
+++ b/debian/squeeze/tdetoys/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Uploaders: Ana Beatriz Guerrero Lopez <ana@debian.org>, Christopher Martin <chrsmrtn@debian.org>, Modestas Vainius <geromanas@mailas.com>
-Build-Depends: libasound2-dev, cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), cmake, autotools-dev, tdelibs14-trinity-dev, gawk, gettext, sharutils, automake, autoconf, libtool, libltdl-dev
+Build-Depends: libasound2-dev, cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), quilt, cmake, autotools-dev, tdelibs14-trinity-dev, gawk, gettext, sharutils, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: tdetoys-trinity
diff --git a/debian/squeeze/tdetoys/debian/patches/series b/debian/squeeze/tdetoys/debian/patches/series
new file mode 100644
index 000000000..6b3ddc8ec
--- /dev/null
+++ b/debian/squeeze/tdetoys/debian/patches/series
@@ -0,0 +1,3 @@
+common/04_am_maintainer_mode.diff
+common/06_disable_no_undefined.diff
+common/kubuntu_01_kdepot.diff
diff --git a/debian/squeeze/tdetoys/debian/rules b/debian/squeeze/tdetoys/debian/rules
index da1268d9f..21108293f 100755
--- a/debian/squeeze/tdetoys/debian/rules
+++ b/debian/squeeze/tdetoys/debian/rules
@@ -3,7 +3,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
include debian/cdbs/debian-qt-kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include
diff --git a/debian/squeeze/tdeutils/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/tdeutils/debian/cdbs/debian-qt-kde.mk
index f8b76cb04..4a9d74d88 100644
--- a/debian/squeeze/tdeutils/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/tdeutils/debian/cdbs/debian-qt-kde.mk
@@ -20,7 +20,9 @@ endif
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/tdeutils/debian/control b/debian/squeeze/tdeutils/debian/control
index 009724fc7..eac52ecdd 100644
--- a/debian/squeeze/tdeutils/debian/control
+++ b/debian/squeeze/tdeutils/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Uploaders: Ana Beatriz Guerrero Lopez <ana@debian.org>, Christopher Martin <chrsmrtn@debian.org>, Fathi Boudra <fboudra@free.fr>, Josh Metzler <joshdeb@metzlers.org>, Sune Vuorela <debian@pusling.com>
-Build-Depends: libasound2-dev, cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), cmake, autotools-dev, gawk, gettext, tdelibs14-trinity-dev, tdebase-trinity-dev, libkonq4-trinity-dev, libgmp3-dev, libsnmp-dev, libxpm-dev, python-dev, libxtst-dev, xutils, sharutils, automake, autoconf, libtool, libltdl-dev
+Build-Depends: libasound2-dev, cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), quilt, cmake, autotools-dev, gawk, gettext, tdelibs14-trinity-dev, tdebase-trinity-dev, libkonq4-trinity-dev, libgmp3-dev, libsnmp-dev, libxpm-dev, python-dev, libxtst-dev, xutils, sharutils, automake, autoconf, libtool, libltdl-dev
Build-Depends-Indep: doxygen, libtqtinterface-doc, graphviz, gsfonts-x11, tdelibs14-trinity-doc
Standards-Version: 3.8.4
diff --git a/debian/squeeze/tdeutils/debian/patches/series b/debian/squeeze/tdeutils/debian/patches/series
new file mode 100644
index 000000000..f4421a4c2
--- /dev/null
+++ b/debian/squeeze/tdeutils/debian/patches/series
@@ -0,0 +1,5 @@
+common/04_am_maintainer_mode.diff
+common/06_disable_no_undefined.diff
+common/kubuntu_01_kdepot.diff
+
+01-klaptopdaemon-setuphandler.diff
diff --git a/debian/squeeze/tdeutils/debian/rules b/debian/squeeze/tdeutils/debian/rules
index 19848196e..c7e800362 100755
--- a/debian/squeeze/tdeutils/debian/rules
+++ b/debian/squeeze/tdeutils/debian/rules
@@ -3,7 +3,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
include debian/cdbs/debian-qt-kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include
diff --git a/debian/squeeze/tdevelop/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/tdevelop/debian/cdbs/debian-qt-kde.mk
index f8b76cb04..4a9d74d88 100644
--- a/debian/squeeze/tdevelop/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/tdevelop/debian/cdbs/debian-qt-kde.mk
@@ -20,7 +20,9 @@ endif
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/tdevelop/debian/control b/debian/squeeze/tdevelop/debian/control
index 2e9d698f8..cfc4a38d6 100644
--- a/debian/squeeze/tdevelop/debian/control
+++ b/debian/squeeze/tdevelop/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Jeremy Lain <jeremy.laine@m4x.org>
-Build-Depends: cdbs (>= 0.4.38), debhelper (>= 5), cmake, tdelibs14-trinity-dev, gettext, tdelibs14-trinity-doc, libtqtinterface-doc, flex, python, libcvsservice-trinity-dev, groff-base, libsvn-dev, libaprutil1-dev, libdb-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: cdbs (>= 0.4.38), debhelper (>= 5), quilt, cmake, tdelibs14-trinity-dev, gettext, tdelibs14-trinity-doc, libtqtinterface-doc, flex, python, libcvsservice-trinity-dev, groff-base, libsvn-dev, libaprutil1-dev, libdb-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: tdevelop-trinity
diff --git a/debian/squeeze/tdevelop/debian/patches/series b/debian/squeeze/tdevelop/debian/patches/series
new file mode 100644
index 000000000..6b3ddc8ec
--- /dev/null
+++ b/debian/squeeze/tdevelop/debian/patches/series
@@ -0,0 +1,3 @@
+common/04_am_maintainer_mode.diff
+common/06_disable_no_undefined.diff
+common/kubuntu_01_kdepot.diff
diff --git a/debian/squeeze/tdevelop/debian/rules b/debian/squeeze/tdevelop/debian/rules
index 95a3981ea..9d5bcbc87 100755
--- a/debian/squeeze/tdevelop/debian/rules
+++ b/debian/squeeze/tdevelop/debian/rules
@@ -7,7 +7,7 @@ makebuilddir::
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
include debian/cdbs/debian-qt-kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include
diff --git a/debian/squeeze/tdewebdev/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/tdewebdev/debian/cdbs/debian-qt-kde.mk
index 4a11bc028..6b7b16643 100644
--- a/debian/squeeze/tdewebdev/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/tdewebdev/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/squeeze/tdewebdev/debian/control b/debian/squeeze/tdewebdev/debian/control
index c1cf6d923..565d755ad 100644
--- a/debian/squeeze/tdewebdev/debian/control
+++ b/debian/squeeze/tdewebdev/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Uploaders: Adeodato Sim <dato@net.com.org.es>, Ana Beatriz Guerrero Lopez <ana@debian.org>, Armin Berres <trigger+debian@space-based.de>, Sune Vuorela <debian@pusling.com>
-Build-Depends: cdbs (>= 0.4.39-0.1), debhelper (>= 5), autotools-dev, gawk, gettext, tdelibs14-trinity-dev, libreadline5-dev | libreadline6-dev, libxml2-dev, libxslt1-dev, sharutils, texinfo, automake, autoconf, libtool, libltdl-dev
+Build-Depends: cdbs (>= 0.4.39-0.1), debhelper (>= 5), quilt, autotools-dev, gawk, gettext, tdelibs14-trinity-dev, libreadline5-dev | libreadline6-dev, libxml2-dev, libxslt1-dev, sharutils, texinfo, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Homepage: http://trinity.pearsoncomputing.net
diff --git a/debian/squeeze/tdewebdev/debian/patches/series b/debian/squeeze/tdewebdev/debian/patches/series
new file mode 100644
index 000000000..8f8f0bd6b
--- /dev/null
+++ b/debian/squeeze/tdewebdev/debian/patches/series
@@ -0,0 +1 @@
+common/kubuntu_01_kdepot.diff
diff --git a/debian/squeeze/tdewebdev/debian/rules b/debian/squeeze/tdewebdev/debian/rules
index 1e601c5e2..46e21c610 100755
--- a/debian/squeeze/tdewebdev/debian/rules
+++ b/debian/squeeze/tdewebdev/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/debian-qt-kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/wheezy/applications/abakus/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/abakus/debian/cdbs/debian-qt-kde.mk
index 5e704aa4a..c5d8ecfd3 100644
--- a/debian/wheezy/applications/abakus/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/abakus/debian/cdbs/debian-qt-kde.mk
@@ -15,7 +15,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/abakus/debian/control b/debian/wheezy/applications/abakus/debian/control
index 0fbc2fdb5..d3c0c5279 100644
--- a/debian/wheezy/applications/abakus/debian/control
+++ b/debian/wheezy/applications/abakus/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Steffen Joeris <steffen.joeris@skolelinux.de>
-Build-Depends: autotools-dev, debhelper (>= 4.1.0), cdbs (>= 0.4.0), cmake, imagemagick, tdelibs14-trinity-dev, chrpath, bison, flex
+Build-Depends: autotools-dev, debhelper (>= 4.1.0), quilt, cdbs (>= 0.4.0), cmake, imagemagick, tdelibs14-trinity-dev, chrpath, bison, flex
Standards-Version: 3.8.4
Package: abakus-trinity
diff --git a/debian/wheezy/applications/abakus/debian/patches/series b/debian/wheezy/applications/abakus/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/wheezy/applications/abakus/debian/patches/series
diff --git a/debian/wheezy/applications/abakus/debian/rules b/debian/wheezy/applications/abakus/debian/rules
index c856f7cae..83d7d7fb4 100755
--- a/debian/wheezy/applications/abakus/debian/rules
+++ b/debian/wheezy/applications/abakus/debian/rules
@@ -11,7 +11,7 @@ export LD_LIBRARY_PATH
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
include debian/cdbs/debian-qt-kde.mk
diff --git a/debian/wheezy/applications/adept/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/adept/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/wheezy/applications/adept/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/adept/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/adept/debian/control b/debian/wheezy/applications/adept/debian/control
index 12796cfa7..95fee8d1e 100644
--- a/debian/wheezy/applications/adept/debian/control
+++ b/debian/wheezy/applications/adept/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Peter Rockai <me@mornfall.net>
Uploaders: Isaac Clerencia <isaac@debian.org>, Enrico Zini <enrico@debian.org>
-Build-Depends: cdbs, debhelper (>> 4.1), dh-buildinfo, libapt-front-dev (>= 0.4.0-0.1ubuntu5), libapt-front-dev (<< 0.5), libtagcoll2-dev (>= 2.0.6), libtagcoll2-dev (<< 2.1), libwibble-dev (>= 0.1.10), libwibble-dev (<< 0.2), tdelibs14-trinity-dev (>= 3.5.0), sharutils, automake, autoconf, libtool, libltdl-dev
+Build-Depends: cdbs, debhelper (>> 4.1), quilt, dh-buildinfo, libapt-front-dev (>= 0.4.0-0.1ubuntu5), libapt-front-dev (<< 0.5), libtagcoll2-dev (>= 2.0.6), libtagcoll2-dev (<< 2.1), libwibble-dev (>= 0.1.10), libwibble-dev (<< 0.2), tdelibs14-trinity-dev (>= 3.5.0), sharutils, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: adept-trinity
diff --git a/debian/wheezy/applications/adept/debian/patches/series b/debian/wheezy/applications/adept/debian/patches/series
new file mode 100644
index 000000000..ad5b05138
--- /dev/null
+++ b/debian/wheezy/applications/adept/debian/patches/series
@@ -0,0 +1 @@
+remove_apport.diff
diff --git a/debian/wheezy/applications/adept/debian/rules b/debian/wheezy/applications/adept/debian/rules
index 742307eb6..0e554102b 100755
--- a/debian/wheezy/applications/adept/debian/rules
+++ b/debian/wheezy/applications/adept/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
DEB_CONFIGURE_MANDIR := /opt/trinity/share/man
diff --git a/debian/wheezy/applications/amarok.cmake/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/amarok.cmake/debian/cdbs/debian-qt-kde.mk
index 345cc0a61..fb36ac52f 100644
--- a/debian/wheezy/applications/amarok.cmake/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/amarok.cmake/debian/cdbs/debian-qt-kde.mk
@@ -15,7 +15,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/amarok.cmake/debian/rules b/debian/wheezy/applications/amarok.cmake/debian/rules
index 4fd9a743d..7f157aa03 100755
--- a/debian/wheezy/applications/amarok.cmake/debian/rules
+++ b/debian/wheezy/applications/amarok.cmake/debian/rules
@@ -11,7 +11,7 @@ export LD_LIBRARY_PATH
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
include debian/cdbs/debian-qt-kde.mk
diff --git a/debian/wheezy/applications/amarok/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/amarok/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/wheezy/applications/amarok/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/amarok/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/basket/debian/control b/debian/wheezy/applications/basket/debian/control
index 8b485c191..33cb331ad 100644
--- a/debian/wheezy/applications/basket/debian/control
+++ b/debian/wheezy/applications/basket/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>
Uploaders: Ana Beatriz Guerrero Lopez <ana@debian.org>, Sune Vuorela <debian@pusling.com>
-Build-Depends: libasound2-dev, debhelper (>= 5), tdelibs14-trinity-dev, tdepim-trinity-dev, libgpgme11-dev, quilt (>= 0.40), automake, autoconf, libtool, libltdl-dev
+Build-Depends: libasound2-dev, cdbs, debhelper (>= 5), tdelibs14-trinity-dev, tdepim-trinity-dev, libgpgme11-dev, quilt (>= 0.40), automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: basket-trinity
diff --git a/debian/wheezy/applications/basket/debian/rules b/debian/wheezy/applications/basket/debian/rules
index d3cf5255e..4afb63bdd 100755
--- a/debian/wheezy/applications/basket/debian/rules
+++ b/debian/wheezy/applications/basket/debian/rules
@@ -26,10 +26,10 @@ else
CFLAGS += -O2
endif
-include /usr/share/quilt/quilt.make
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
-config.status: $(QUILT_STAMPFN)
+config.status: post-patches
dh_testdir
test -e config.sub -a -L config.sub || \
ln -sf /usr/share/misc/config.sub config.sub
@@ -59,7 +59,7 @@ build-stamp: config.status
touch build-stamp
-clean: unpatch
+clean::
dh_testdir
dh_testroot
diff --git a/debian/wheezy/applications/bibletime/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/bibletime/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/wheezy/applications/bibletime/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/bibletime/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/bibletime/debian/patches/series b/debian/wheezy/applications/bibletime/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/wheezy/applications/bibletime/debian/patches/series
diff --git a/debian/wheezy/applications/bibletime/debian/rules b/debian/wheezy/applications/bibletime/debian/rules
index 4106bf0f4..9e134b1f7 100755
--- a/debian/wheezy/applications/bibletime/debian/rules
+++ b/debian/wheezy/applications/bibletime/debian/rules
@@ -3,7 +3,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/debian-qt-kde.mk
include /usr/share/cdbs/1/class/autotools.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
DEB_DH_INSTALL_SOURCEDIR := debian
diff --git a/debian/wheezy/applications/compizconfig-backend-tdeconfig/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/compizconfig-backend-tdeconfig/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/wheezy/applications/compizconfig-backend-tdeconfig/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/compizconfig-backend-tdeconfig/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/compizconfig-backend-tdeconfig/debian/control b/debian/wheezy/applications/compizconfig-backend-tdeconfig/debian/control
index febf1777d..591e61775 100644
--- a/debian/wheezy/applications/compizconfig-backend-tdeconfig/debian/control
+++ b/debian/wheezy/applications/compizconfig-backend-tdeconfig/debian/control
@@ -2,7 +2,7 @@ Source: compizconfig-backend-tdeconfig-trinity
Section: libs
Priority: extra
Maintainer: Timothy Pearosn <kb9vqf@pearsoncomputing.net>
-Build-Depends: cdbs, debhelper (>= 5), compiz-trinity-dev, pkg-config, intltool, tdelibs14-trinity-dev, libcompizconfig0-trinity-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: cdbs, debhelper (>= 5), quilt, compiz-trinity-dev, pkg-config, intltool, tdelibs14-trinity-dev, libcompizconfig0-trinity-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: compizconfig-backend-tdeconfig-trinity
diff --git a/debian/wheezy/applications/compizconfig-backend-tdeconfig/debian/patches/series b/debian/wheezy/applications/compizconfig-backend-tdeconfig/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/wheezy/applications/compizconfig-backend-tdeconfig/debian/patches/series
diff --git a/debian/wheezy/applications/compizconfig-backend-tdeconfig/debian/rules b/debian/wheezy/applications/compizconfig-backend-tdeconfig/debian/rules
index 85efaa2fa..eb681a06a 100755
--- a/debian/wheezy/applications/compizconfig-backend-tdeconfig/debian/rules
+++ b/debian/wheezy/applications/compizconfig-backend-tdeconfig/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
DEB_CONFIGURE_MANDIR := /opt/trinity/share/man
diff --git a/debian/wheezy/applications/digikam/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/digikam/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/wheezy/applications/digikam/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/digikam/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/digikam/debian/control b/debian/wheezy/applications/digikam/debian/control
index 67ba409c4..2c4f978c3 100644
--- a/debian/wheezy/applications/digikam/debian/control
+++ b/debian/wheezy/applications/digikam/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>
Uploaders: Achim Bohnet <ach@mpe.mpg.de>, Mark Purcell <msp@debian.org>, Fathi Boudra <fabo@debian.org>
-Build-Depends: cdbs, debhelper (>= 5), tdelibs14-trinity-dev,
+Build-Depends: cdbs, debhelper (>= 5), quilt, tdelibs14-trinity-dev,
libtiff-dev, libgphoto2-6-dev | libgphoto2-2-dev, libkipi0-trinity-dev,
libsqlite3-dev, liblcms1-dev, libkexiv2-3-trinity-dev (>= 0.1.6),
libjasper-dev, libpng12-dev | libpng-dev, libexiv2-dev,
diff --git a/debian/wheezy/applications/digikam/debian/patches/series b/debian/wheezy/applications/digikam/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/wheezy/applications/digikam/debian/patches/series
diff --git a/debian/wheezy/applications/digikam/debian/rules b/debian/wheezy/applications/digikam/debian/rules
index 76fa321bc..cc9992ad3 100755
--- a/debian/wheezy/applications/digikam/debian/rules
+++ b/debian/wheezy/applications/digikam/debian/rules
@@ -1,7 +1,7 @@
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
include debian/cdbs/debian-qt-kde.mk
-include /usr/share/gnome-pkg-tools/1/rules/sf-get-source.mk
diff --git a/debian/wheezy/applications/dolphin/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/dolphin/debian/cdbs/debian-qt-kde.mk
index 345cc0a61..fb36ac52f 100644
--- a/debian/wheezy/applications/dolphin/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/dolphin/debian/cdbs/debian-qt-kde.mk
@@ -15,7 +15,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/dolphin/debian/control b/debian/wheezy/applications/dolphin/debian/control
index 4893570ea..8fc8f23d2 100644
--- a/debian/wheezy/applications/dolphin/debian/control
+++ b/debian/wheezy/applications/dolphin/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Anthony Mercatante <tonio@ubuntu.com>
-Build-Depends: debhelper (>= 5), cdbs, tdelibs14-trinity-dev, libkonq4-trinity-dev, tdebase-trinity-dev, docbook2x, docbook-xml, libtool, libltdl-dev, cmake
+Build-Depends: debhelper (>= 5), quilt, cdbs, tdelibs14-trinity-dev, libkonq4-trinity-dev, tdebase-trinity-dev, docbook2x, docbook-xml, libtool, libltdl-dev, cmake
Standards-Version: 3.8.4
Package: dolphin-trinity
diff --git a/debian/wheezy/applications/dolphin/debian/patches/series b/debian/wheezy/applications/dolphin/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/wheezy/applications/dolphin/debian/patches/series
diff --git a/debian/wheezy/applications/dolphin/debian/rules b/debian/wheezy/applications/dolphin/debian/rules
index 66ea98891..f978c418e 100755
--- a/debian/wheezy/applications/dolphin/debian/rules
+++ b/debian/wheezy/applications/dolphin/debian/rules
@@ -11,7 +11,7 @@ export LD_LIBRARY_PATH
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
include debian/cdbs/debian-qt-kde.mk
diff --git a/debian/wheezy/applications/filelight-l10n/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/filelight-l10n/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/wheezy/applications/filelight-l10n/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/filelight-l10n/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/filelight-l10n/debian/control b/debian/wheezy/applications/filelight-l10n/debian/control
index 812a4a68f..0cbcfc3ef 100644
--- a/debian/wheezy/applications/filelight-l10n/debian/control
+++ b/debian/wheezy/applications/filelight-l10n/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Uploaders: Ral Snchez Siles <rasasi78@gmail.com>
-Build-Depends: tdelibs14-trinity-dev (>= 4:3.4.3), cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), automake, autoconf, libtool, libltdl-dev
+Build-Depends: tdelibs14-trinity-dev (>= 4:3.4.3), cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), quilt, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Homepage: http://www.methylblue.com/filelight/
diff --git a/debian/wheezy/applications/filelight-l10n/debian/patches/series b/debian/wheezy/applications/filelight-l10n/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/wheezy/applications/filelight-l10n/debian/patches/series
diff --git a/debian/wheezy/applications/filelight-l10n/debian/rules b/debian/wheezy/applications/filelight-l10n/debian/rules
index 84a2f4975..6d6088aad 100755
--- a/debian/wheezy/applications/filelight-l10n/debian/rules
+++ b/debian/wheezy/applications/filelight-l10n/debian/rules
@@ -4,7 +4,7 @@ DEB_PATCHDIRS := debian/patches/common debian/patches
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/wheezy/applications/filelight/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/filelight/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/wheezy/applications/filelight/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/filelight/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/fusion-icon/debian/control b/debian/wheezy/applications/fusion-icon/debian/control
index 992d74863..2b6f86ef6 100644
--- a/debian/wheezy/applications/fusion-icon/debian/control
+++ b/debian/wheezy/applications/fusion-icon/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Uploaders: Python Applications Packaging Team <python-apps-team@lists.alioth.debian.org>
XS-Python-Version: all
-Build-Depends: cdbs (>= 0.4.49), debhelper (>= 5.0.37.1), pkg-config, python-all-dev
+Build-Depends: cdbs (>= 0.4.49), debhelper (>= 5.0.37.1), quilt, pkg-config, python-all-dev
Build-Depends-Indep: python-support (>= 0.6), intltool
Standards-Version: 3.8.4
diff --git a/debian/wheezy/applications/fusion-icon/debian/patches/series b/debian/wheezy/applications/fusion-icon/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/wheezy/applications/fusion-icon/debian/patches/series
diff --git a/debian/wheezy/applications/fusion-icon/debian/rules b/debian/wheezy/applications/fusion-icon/debian/rules
index 2b780a204..3c129a596 100755
--- a/debian/wheezy/applications/fusion-icon/debian/rules
+++ b/debian/wheezy/applications/fusion-icon/debian/rules
@@ -5,7 +5,7 @@ DEB_PYTHON_SYSTEM=pysupport
include /usr/share/cdbs/1/rules/debhelper.mk
# include /usr/share/cdbs/1/class/python-distutils.mk
include debian/python-distutils-custom.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
diff --git a/debian/wheezy/applications/gtk-qt-engine/debian/control b/debian/wheezy/applications/gtk-qt-engine/debian/control
index cf970f8fa..9ab358185 100644
--- a/debian/wheezy/applications/gtk-qt-engine/debian/control
+++ b/debian/wheezy/applications/gtk-qt-engine/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Bastian Venthur <venthur@debian.org>
-Build-Depends: debhelper (>= 5.0), cdbs, tdelibs14-trinity-dev, libgtk2.0-dev, cmake, libgtk2.0-dev (>= 2.10.1)
+Build-Depends: debhelper (>= 5.0), quilt, cdbs, tdelibs14-trinity-dev, libgtk2.0-dev, cmake, libgtk2.0-dev (>= 2.10.1)
Standards-Version: 3.8.4
Package: gtk-qt-engine-trinity
diff --git a/debian/wheezy/applications/gtk-qt-engine/debian/patches/series b/debian/wheezy/applications/gtk-qt-engine/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/wheezy/applications/gtk-qt-engine/debian/patches/series
diff --git a/debian/wheezy/applications/gtk-qt-engine/debian/rules b/debian/wheezy/applications/gtk-qt-engine/debian/rules
index 8c78b986c..64a42472c 100755
--- a/debian/wheezy/applications/gtk-qt-engine/debian/rules
+++ b/debian/wheezy/applications/gtk-qt-engine/debian/rules
@@ -11,7 +11,7 @@ export LD_LIBRARY_PATH
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
include debian/cdbs/debian-qt-kde.mk
diff --git a/debian/wheezy/applications/gtk3-tqt-engine/debian/control b/debian/wheezy/applications/gtk3-tqt-engine/debian/control
index a192c467e..4acce9a2e 100644
--- a/debian/wheezy/applications/gtk3-tqt-engine/debian/control
+++ b/debian/wheezy/applications/gtk3-tqt-engine/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Raphaël Pinson <raphink@raphink.net>
-Build-Depends: debhelper (>= 5), cdbs, tdelibs14-trinity-dev, libcairo2-dev, libgtk-3-dev, libpango1.0-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: debhelper (>= 5), quilt, cdbs, tdelibs14-trinity-dev, libcairo2-dev, libgtk-3-dev, libpango1.0-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: gtk3-tqt-engine-trinity
diff --git a/debian/wheezy/applications/gtk3-tqt-engine/debian/patches/series b/debian/wheezy/applications/gtk3-tqt-engine/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/wheezy/applications/gtk3-tqt-engine/debian/patches/series
diff --git a/debian/wheezy/applications/gtk3-tqt-engine/debian/rules b/debian/wheezy/applications/gtk3-tqt-engine/debian/rules
index 9bed17b05..e4abe53af 100755
--- a/debian/wheezy/applications/gtk3-tqt-engine/debian/rules
+++ b/debian/wheezy/applications/gtk3-tqt-engine/debian/rules
@@ -1,6 +1,6 @@
#!/usr/bin/make -f
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/debhelper.mk
diff --git a/debian/wheezy/applications/gwenview-i18n/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/gwenview-i18n/debian/cdbs/debian-qt-kde.mk
index fa0d532f4..ec89756bb 100644
--- a/debian/wheezy/applications/gwenview-i18n/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/gwenview-i18n/debian/cdbs/debian-qt-kde.mk
@@ -15,7 +15,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/gwenview-i18n/debian/patches/series b/debian/wheezy/applications/gwenview-i18n/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/wheezy/applications/gwenview-i18n/debian/patches/series
diff --git a/debian/wheezy/applications/gwenview-i18n/debian/rules b/debian/wheezy/applications/gwenview-i18n/debian/rules
index 3070a9c9d..045fcc43f 100755
--- a/debian/wheezy/applications/gwenview-i18n/debian/rules
+++ b/debian/wheezy/applications/gwenview-i18n/debian/rules
@@ -4,7 +4,7 @@ DEB_PATCHDIRS := debian/patches/common debian/patches
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
-include debian/debiandirs
diff --git a/debian/wheezy/applications/gwenview/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/gwenview/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/wheezy/applications/gwenview/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/gwenview/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/gwenview/debian/control b/debian/wheezy/applications/gwenview/debian/control
index 359bad80c..296502cdb 100644
--- a/debian/wheezy/applications/gwenview/debian/control
+++ b/debian/wheezy/applications/gwenview/debian/control
@@ -2,7 +2,7 @@ Source: gwenview-trinity
Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
-Build-Depends: cdbs (>= 0.4.39-0.1), debhelper (>= 6.0.0), tdelibs14-trinity-dev (>= 4:3.4.3), libkipi0-trinity-dev (>= 0.1.2-2), libexiv2-dev, libmng-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: cdbs (>= 0.4.39-0.1), debhelper (>= 6.0.0), quilt, tdelibs14-trinity-dev (>= 4:3.4.3), libkipi0-trinity-dev (>= 0.1.2-2), libexiv2-dev, libmng-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Homepage: http://gwenview.sourceforge.net
diff --git a/debian/wheezy/applications/gwenview/debian/patches/series b/debian/wheezy/applications/gwenview/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/wheezy/applications/gwenview/debian/patches/series
diff --git a/debian/wheezy/applications/gwenview/debian/rules b/debian/wheezy/applications/gwenview/debian/rules
index 2fca00e50..943f33d55 100755
--- a/debian/wheezy/applications/gwenview/debian/rules
+++ b/debian/wheezy/applications/gwenview/debian/rules
@@ -4,7 +4,7 @@ DEB_PATCHDIRS := debian/patches/common debian/patches
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/wheezy/applications/k3b/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/k3b/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/wheezy/applications/k3b/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/k3b/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/k3b/debian/control b/debian/wheezy/applications/k3b/debian/control
index f77c83db2..1d7188cb2 100644
--- a/debian/wheezy/applications/k3b/debian/control
+++ b/debian/wheezy/applications/k3b/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>
Uploaders: Francois Marier <francois@debian.org>, Fathi Boudra <fabo@debian.org>
-Build-Depends: libdvdread4, libdvdread-dev, alsa, libasound2-dev, lame, libmp3lame-dev, debhelper (>= 6), cdbs (>= 0.4.52ubuntu18), tdelibs14-trinity-dev (>= 3.5.0), libflac++-dev (>= 1.1.2), flac, libdbus-tqt-1-dev, libpopt-dev, libmpcdec-dev, libtag1-dev (>= 1.4-3), libmad0-dev, chrpath, libavformat-dev, libavcodec-dev, libvorbis-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: libdvdread4, libdvdread-dev, alsa, libasound2-dev, lame, libmp3lame-dev, debhelper (>= 6), quilt, cdbs (>= 0.4.52ubuntu18), tdelibs14-trinity-dev (>= 3.5.0), libflac++-dev (>= 1.1.2), flac, libdbus-tqt-1-dev, libpopt-dev, libmpcdec-dev, libtag1-dev (>= 1.4-3), libmad0-dev, chrpath, libavformat-dev, libavcodec-dev, libvorbis-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Homepage: http://www.k3b.org
diff --git a/debian/wheezy/applications/k3b/debian/patches/series b/debian/wheezy/applications/k3b/debian/patches/series
new file mode 100644
index 000000000..bff63cb8c
--- /dev/null
+++ b/debian/wheezy/applications/k3b/debian/patches/series
@@ -0,0 +1 @@
+111_advice_kubuntu_restricted_extras.diff
diff --git a/debian/wheezy/applications/k3b/debian/rules b/debian/wheezy/applications/k3b/debian/rules
index cc895cd83..f3d017250 100755
--- a/debian/wheezy/applications/k3b/debian/rules
+++ b/debian/wheezy/applications/k3b/debian/rules
@@ -1,7 +1,7 @@
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include debian/cdbs/kde.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/kde5
diff --git a/debian/wheezy/applications/k9copy/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/k9copy/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/wheezy/applications/k9copy/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/k9copy/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/k9copy/debian/control b/debian/wheezy/applications/k9copy/debian/control
index b166a14fd..5b895ca12 100644
--- a/debian/wheezy/applications/k9copy/debian/control
+++ b/debian/wheezy/applications/k9copy/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Anthony Mercatante <tonio@ubuntu.com>
-Build-Depends: debhelper (>= 5), cdbs, tdelibs14-trinity-dev, docbook2x, docbook-xml, libdvdread-dev, libdbus-1-dev, libk3b-trinity-dev, libavformat-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: debhelper (>= 5), quilt, cdbs, tdelibs14-trinity-dev, docbook2x, docbook-xml, libdvdread-dev, libdbus-1-dev, libk3b-trinity-dev, libavformat-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: k9copy-trinity
diff --git a/debian/wheezy/applications/k9copy/debian/patches/series b/debian/wheezy/applications/k9copy/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/wheezy/applications/k9copy/debian/patches/series
diff --git a/debian/wheezy/applications/k9copy/debian/rules b/debian/wheezy/applications/k9copy/debian/rules
index 9d406d017..365bf8ac6 100755
--- a/debian/wheezy/applications/k9copy/debian/rules
+++ b/debian/wheezy/applications/k9copy/debian/rules
@@ -1,7 +1,7 @@
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include debian/cdbs/kde.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/wheezy/applications/kaffeine/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/kaffeine/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/wheezy/applications/kaffeine/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/kaffeine/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/kaffeine/debian/control b/debian/wheezy/applications/kaffeine/debian/control
index f16c8de4a..f7cd853c3 100644
--- a/debian/wheezy/applications/kaffeine/debian/control
+++ b/debian/wheezy/applications/kaffeine/debian/control
@@ -5,7 +5,7 @@ Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>
Uploaders: Riku Voipio <riku.voipio@iki.fi>, Fathi Boudra <fboudra@free.fr>,
Mark Purcell <msp@debian.org>
-Build-Depends: cdbs, debhelper (>= 5), tdelibs14-trinity-dev,
+Build-Depends: cdbs, debhelper (>= 5), quilt, tdelibs14-trinity-dev,
libcdparanoia0-dev, libogg-dev, libxine2-dev | libxine-dev (>= 1.1.7), libxcb1-dev,
libxtst-dev, libgstreamer0.10-dev, libgstreamer-plugins-base0.10-dev,
libcdio-cdda-dev, libcdio-paranoia-dev,
diff --git a/debian/wheezy/applications/kaffeine/debian/patches/series b/debian/wheezy/applications/kaffeine/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/wheezy/applications/kaffeine/debian/patches/series
diff --git a/debian/wheezy/applications/kaffeine/debian/rules b/debian/wheezy/applications/kaffeine/debian/rules
index 5087a0863..3afb59271 100755
--- a/debian/wheezy/applications/kaffeine/debian/rules
+++ b/debian/wheezy/applications/kaffeine/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/wheezy/applications/kasablanca/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/kasablanca/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/debian/wheezy/applications/kasablanca/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/kasablanca/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
#include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/kasablanca/debian/control b/debian/wheezy/applications/kasablanca/debian/control
index 0e8aed6ad..01515bd06 100644
--- a/debian/wheezy/applications/kasablanca/debian/control
+++ b/debian/wheezy/applications/kasablanca/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Debian TDE Extras Team <pkg-tde-extras@lists.alioth.debian.org>
Uploaders: Fathi Boudra <fboudra@free.fr>, Mark Purcell <msp@debian.org>
-Build-Depends: cdbs, debhelper (>= 5), automake, libtool, tdelibs14-trinity-dev, docbook2x, docbook-xml
+Build-Depends: cdbs, debhelper (>= 5), quilt, automake, libtool, tdelibs14-trinity-dev, docbook2x, docbook-xml
Standards-Version: 3.8.3
Package: kasablanca-trinity
diff --git a/debian/wheezy/applications/kasablanca/debian/patches/series b/debian/wheezy/applications/kasablanca/debian/patches/series
new file mode 100644
index 000000000..b8743ddd9
--- /dev/null
+++ b/debian/wheezy/applications/kasablanca/debian/patches/series
@@ -0,0 +1,2 @@
+04_am_maintainer_mode.diff
+06_disable_no_undefined.diff
diff --git a/debian/wheezy/applications/kasablanca/debian/rules b/debian/wheezy/applications/kasablanca/debian/rules
index 76e30e3f1..e12e8b448 100755
--- a/debian/wheezy/applications/kasablanca/debian/rules
+++ b/debian/wheezy/applications/kasablanca/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include
DEB_CONFIGURE_MANDIR := /opt/trinity/share/man
diff --git a/debian/wheezy/applications/katapult/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/katapult/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/wheezy/applications/katapult/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/katapult/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/katapult/debian/control b/debian/wheezy/applications/katapult/debian/control
index afe221266..9250caf9d 100644
--- a/debian/wheezy/applications/katapult/debian/control
+++ b/debian/wheezy/applications/katapult/debian/control
@@ -2,7 +2,7 @@ Source: katapult-trinity
Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
-Build-Depends: cdbs (>= 0.4.46ubuntu5), debhelper (>= 5.0.0), tdelibs14-trinity-dev, docbook2x, libxi-dev, sharutils, automake, autoconf, libtool, libltdl-dev
+Build-Depends: cdbs (>= 0.4.46ubuntu5), debhelper (>= 5.0.0), quilt, tdelibs14-trinity-dev, docbook2x, libxi-dev, sharutils, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: katapult-trinity
diff --git a/debian/wheezy/applications/katapult/debian/patches/series b/debian/wheezy/applications/katapult/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/wheezy/applications/katapult/debian/patches/series
diff --git a/debian/wheezy/applications/katapult/debian/rules b/debian/wheezy/applications/katapult/debian/rules
index 779671876..8f2dd7642 100755
--- a/debian/wheezy/applications/katapult/debian/rules
+++ b/debian/wheezy/applications/katapult/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
DEB_CONFIGURE_MANDIR := /opt/trinity/share/man
diff --git a/debian/wheezy/applications/kbarcode/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/kbarcode/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/wheezy/applications/kbarcode/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/kbarcode/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/kbfx/debian/control b/debian/wheezy/applications/kbfx/debian/control
index 0f89b49de..9ecf9699b 100644
--- a/debian/wheezy/applications/kbfx/debian/control
+++ b/debian/wheezy/applications/kbfx/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Uploaders: Fathi Boudra <fboudra@free.fr>, Mark Purcell <msp@debian.org>
-Build-Depends: cdbs, debhelper (>= 5), cmake, tdelibs14-trinity-dev
+Build-Depends: cdbs, debhelper (>= 5), quilt, cmake, tdelibs14-trinity-dev
Standards-Version: 3.8.4
Package: kbfx-trinity
diff --git a/debian/wheezy/applications/kbfx/debian/patches/series b/debian/wheezy/applications/kbfx/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/wheezy/applications/kbfx/debian/patches/series
diff --git a/debian/wheezy/applications/kbfx/debian/rules b/debian/wheezy/applications/kbfx/debian/rules
index 7c57eacb9..ddf86b0bb 100755
--- a/debian/wheezy/applications/kbfx/debian/rules
+++ b/debian/wheezy/applications/kbfx/debian/rules
@@ -11,7 +11,7 @@ DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinit
include debian/cmake.mk
include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/wheezy/applications/kbibtex/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/kbibtex/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/debian/wheezy/applications/kbibtex/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/kbibtex/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
#include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/kbiff/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/kbiff/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/debian/wheezy/applications/kbiff/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/kbiff/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
#include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/kbookreader/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/kbookreader/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/wheezy/applications/kbookreader/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/kbookreader/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/kbookreader/debian/control b/debian/wheezy/applications/kbookreader/debian/control
index 34a8fec43..b36c96220 100644
--- a/debian/wheezy/applications/kbookreader/debian/control
+++ b/debian/wheezy/applications/kbookreader/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Anthony Mercatante <tonio@ubuntu.com>
-Build-Depends: debhelper (>= 5), cdbs, tdelibs14-trinity-dev, docbook2x, automake, autoconf, libtool, libltdl-dev
+Build-Depends: debhelper (>= 5), quilt, cdbs, tdelibs14-trinity-dev, docbook2x, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Homepage: http://k9copy.sourceforge.net/
diff --git a/debian/wheezy/applications/kbookreader/debian/patches/series b/debian/wheezy/applications/kbookreader/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/wheezy/applications/kbookreader/debian/patches/series
diff --git a/debian/wheezy/applications/kbookreader/debian/rules b/debian/wheezy/applications/kbookreader/debian/rules
index 53794c4fe..ef1dd49ff 100755
--- a/debian/wheezy/applications/kbookreader/debian/rules
+++ b/debian/wheezy/applications/kbookreader/debian/rules
@@ -1,7 +1,7 @@
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include debian/cdbs/kde.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/wheezy/applications/kcmautostart/debian/control b/debian/wheezy/applications/kcmautostart/debian/control
index 2eb9e9c3f..225c33269 100644
--- a/debian/wheezy/applications/kcmautostart/debian/control
+++ b/debian/wheezy/applications/kcmautostart/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Raphaël Pinson <raphink@raphink.net>
-Build-Depends: debhelper (>= 5), cdbs, tdelibs14-trinity-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: debhelper (>= 5), quilt, cdbs, tdelibs14-trinity-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: kcontrol-autostart-trinity
diff --git a/debian/wheezy/applications/kcmautostart/debian/patches/series b/debian/wheezy/applications/kcmautostart/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/wheezy/applications/kcmautostart/debian/patches/series
diff --git a/debian/wheezy/applications/kcmautostart/debian/rules b/debian/wheezy/applications/kcmautostart/debian/rules
index 9bed17b05..e4abe53af 100755
--- a/debian/wheezy/applications/kcmautostart/debian/rules
+++ b/debian/wheezy/applications/kcmautostart/debian/rules
@@ -1,6 +1,6 @@
#!/usr/bin/make -f
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/debhelper.mk
diff --git a/debian/wheezy/applications/kcmldap/debian/control b/debian/wheezy/applications/kcmldap/debian/control
index 5bdbbbe9c..77afbaf4a 100644
--- a/debian/wheezy/applications/kcmldap/debian/control
+++ b/debian/wheezy/applications/kcmldap/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Raphaël Pinson <raphink@raphink.net>
-Build-Depends: debhelper (>= 5), cdbs, tdelibs14-trinity-dev, libtdeldap-trinity-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: debhelper (>= 5), quilt, cdbs, tdelibs14-trinity-dev, libtdeldap-trinity-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: kcontrol-ldap-bonding-trinity
diff --git a/debian/wheezy/applications/kcmldap/debian/patches/series b/debian/wheezy/applications/kcmldap/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/wheezy/applications/kcmldap/debian/patches/series
diff --git a/debian/wheezy/applications/kcmldap/debian/rules b/debian/wheezy/applications/kcmldap/debian/rules
index 9bed17b05..e4abe53af 100755
--- a/debian/wheezy/applications/kcmldap/debian/rules
+++ b/debian/wheezy/applications/kcmldap/debian/rules
@@ -1,6 +1,6 @@
#!/usr/bin/make -f
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/debhelper.mk
diff --git a/debian/wheezy/applications/kcmldapcontroller/debian/control b/debian/wheezy/applications/kcmldapcontroller/debian/control
index bd10bfa04..81a9a046d 100644
--- a/debian/wheezy/applications/kcmldapcontroller/debian/control
+++ b/debian/wheezy/applications/kcmldapcontroller/debian/control
@@ -2,7 +2,7 @@ Source: kcontrol-ldap-controller-trinity
Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
-Build-Depends: debhelper (>= 5), cdbs, tdelibs14-trinity-dev, libldap2-dev, libtdeldap-trinity-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: debhelper (>= 5), quilt, cdbs, tdelibs14-trinity-dev, libldap2-dev, libtdeldap-trinity-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: kcontrol-ldap-controller-trinity
diff --git a/debian/wheezy/applications/kcmldapcontroller/debian/patches/series b/debian/wheezy/applications/kcmldapcontroller/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/wheezy/applications/kcmldapcontroller/debian/patches/series
diff --git a/debian/wheezy/applications/kcmldapcontroller/debian/rules b/debian/wheezy/applications/kcmldapcontroller/debian/rules
index 9bed17b05..e4abe53af 100755
--- a/debian/wheezy/applications/kcmldapcontroller/debian/rules
+++ b/debian/wheezy/applications/kcmldapcontroller/debian/rules
@@ -1,6 +1,6 @@
#!/usr/bin/make -f
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/debhelper.mk
diff --git a/debian/wheezy/applications/kcmldapmanager/debian/control b/debian/wheezy/applications/kcmldapmanager/debian/control
index 10551309e..70af95ae3 100644
--- a/debian/wheezy/applications/kcmldapmanager/debian/control
+++ b/debian/wheezy/applications/kcmldapmanager/debian/control
@@ -2,7 +2,7 @@ Source: kcontrol-ldap-manager-trinity
Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
-Build-Depends: debhelper (>= 5), cdbs, tdelibs14-trinity-dev, libldap2-dev, libtdeldap-trinity-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: debhelper (>= 5), quilt, cdbs, tdelibs14-trinity-dev, libldap2-dev, libtdeldap-trinity-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: kcontrol-ldap-manager-trinity
diff --git a/debian/wheezy/applications/kcmldapmanager/debian/patches/series b/debian/wheezy/applications/kcmldapmanager/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/wheezy/applications/kcmldapmanager/debian/patches/series
diff --git a/debian/wheezy/applications/kcmldapmanager/debian/rules b/debian/wheezy/applications/kcmldapmanager/debian/rules
index 9bed17b05..e4abe53af 100755
--- a/debian/wheezy/applications/kcmldapmanager/debian/rules
+++ b/debian/wheezy/applications/kcmldapmanager/debian/rules
@@ -1,6 +1,6 @@
#!/usr/bin/make -f
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/debhelper.mk
diff --git a/debian/wheezy/applications/kcpuload/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/kcpuload/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/wheezy/applications/kcpuload/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/kcpuload/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/kdbg/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/kdbg/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/debian/wheezy/applications/kdbg/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/kdbg/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
#include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/kdbusnotification/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/kdbusnotification/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/wheezy/applications/kdbusnotification/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/kdbusnotification/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/kdiff3/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/kdiff3/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/wheezy/applications/kdiff3/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/kdiff3/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/kdirstat/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/kdirstat/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/wheezy/applications/kdirstat/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/kdirstat/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/kdirstat/debian/control b/debian/wheezy/applications/kdirstat/debian/control
index 341097934..7f5a1b7ed 100644
--- a/debian/wheezy/applications/kdirstat/debian/control
+++ b/debian/wheezy/applications/kdirstat/debian/control
@@ -2,7 +2,7 @@ Source: kdirstat-trinity
Section: misc
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
-Build-Depends: cdbs (>= 0.4.41), debhelper (>= 5), tdelibs14-trinity-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: cdbs (>= 0.4.41), debhelper (>= 5), quilt, tdelibs14-trinity-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Homepage: http://kdirstat.sourceforge.net/
diff --git a/debian/wheezy/applications/kdirstat/debian/patches/series b/debian/wheezy/applications/kdirstat/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/wheezy/applications/kdirstat/debian/patches/series
diff --git a/debian/wheezy/applications/kdirstat/debian/rules b/debian/wheezy/applications/kdirstat/debian/rules
index 8c0a950a3..afa7b060d 100755
--- a/debian/wheezy/applications/kdirstat/debian/rules
+++ b/debian/wheezy/applications/kdirstat/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
DEB_CONFIGURE_MANDIR := /opt/trinity/share/man
diff --git a/debian/wheezy/applications/kdpkg/debian/control b/debian/wheezy/applications/kdpkg/debian/control
index 3123a23f7..0fdcb9f25 100644
--- a/debian/wheezy/applications/kdpkg/debian/control
+++ b/debian/wheezy/applications/kdpkg/debian/control
@@ -3,7 +3,7 @@ Section: admin
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Alexander Kopf <kopf-alexander@gmx.de>
-Build-Depends: cdbs, debhelper (>= 5), tdelibs14-trinity-dev, gettext, automake, autoconf, libtool, libltdl-dev
+Build-Depends: cdbs, debhelper (>= 5), quilt, tdelibs14-trinity-dev, gettext, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: kdpkg-trinity
diff --git a/debian/wheezy/applications/kdpkg/debian/patches/series b/debian/wheezy/applications/kdpkg/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/wheezy/applications/kdpkg/debian/patches/series
diff --git a/debian/wheezy/applications/kdpkg/debian/rules b/debian/wheezy/applications/kdpkg/debian/rules
index 455414f69..2ff6ee66f 100755
--- a/debian/wheezy/applications/kdpkg/debian/rules
+++ b/debian/wheezy/applications/kdpkg/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
DEB_CONFIGURE_MANDIR := /opt/trinity/share/man
diff --git a/debian/wheezy/applications/keep/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/keep/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/wheezy/applications/keep/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/keep/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/keep/debian/control b/debian/wheezy/applications/keep/debian/control
index 4f380fc56..4048f3218 100644
--- a/debian/wheezy/applications/keep/debian/control
+++ b/debian/wheezy/applications/keep/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>
Uploaders: Fathi Boudra <fboudra@free.fr>, Mark Purcell <msp@debian.org>
-Build-Depends: cdbs, debhelper (>= 5), tdelibs14-trinity-dev, docbook2x, docbook-xml, automake, autoconf, libtool, libltdl-dev
+Build-Depends: cdbs, debhelper (>= 5), quilt, tdelibs14-trinity-dev, docbook2x, docbook-xml, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: keep-trinity
diff --git a/debian/wheezy/applications/keep/debian/patches/series b/debian/wheezy/applications/keep/debian/patches/series
new file mode 100644
index 000000000..9ccf4a125
--- /dev/null
+++ b/debian/wheezy/applications/keep/debian/patches/series
@@ -0,0 +1 @@
+kubuntu_01_kdepot.diff
diff --git a/debian/wheezy/applications/keep/debian/rules b/debian/wheezy/applications/keep/debian/rules
index c08262790..ae055a958 100755
--- a/debian/wheezy/applications/keep/debian/rules
+++ b/debian/wheezy/applications/keep/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/wheezy/applications/kerberostray/debian/control b/debian/wheezy/applications/kerberostray/debian/control
index 215814458..bf4d6c2e5 100644
--- a/debian/wheezy/applications/kerberostray/debian/control
+++ b/debian/wheezy/applications/kerberostray/debian/control
@@ -2,7 +2,7 @@ Source: kerberostray-trinity
Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
-Build-Depends: debhelper (>= 5), cdbs, tdelibs14-trinity-dev, libtdeldap-trinity-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: debhelper (>= 5), quilt, cdbs, tdelibs14-trinity-dev, libtdeldap-trinity-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: kerberostray-trinity
diff --git a/debian/wheezy/applications/kerberostray/debian/patches/series b/debian/wheezy/applications/kerberostray/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/wheezy/applications/kerberostray/debian/patches/series
diff --git a/debian/wheezy/applications/kerberostray/debian/rules b/debian/wheezy/applications/kerberostray/debian/rules
index 9bed17b05..e4abe53af 100755
--- a/debian/wheezy/applications/kerberostray/debian/rules
+++ b/debian/wheezy/applications/kerberostray/debian/rules
@@ -1,6 +1,6 @@
#!/usr/bin/make -f
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/debhelper.mk
diff --git a/debian/wheezy/applications/kerry/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/kerry/debian/cdbs/debian-qt-kde.mk
index 4a11bc028..6b7b16643 100644
--- a/debian/wheezy/applications/kerry/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/kerry/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/kerry/debian/control b/debian/wheezy/applications/kerry/debian/control
index 432af377d..5f6563c67 100644
--- a/debian/wheezy/applications/kerry/debian/control
+++ b/debian/wheezy/applications/kerry/debian/control
@@ -2,7 +2,7 @@ Source: kerry-trinity
Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
-Build-Depends: debhelper (>= 5.0.0), cdbs, tdelibs14-trinity-dev, libkonq4-trinity-dev, libbeagle-dev (>= 0.3.0), docbook2x, chrpath, automake, autoconf, libtool, libltdl-dev
+Build-Depends: debhelper (>= 5.0.0), quilt, cdbs, tdelibs14-trinity-dev, libkonq4-trinity-dev, libbeagle-dev (>= 0.3.0), docbook2x, chrpath, automake, autoconf, libtool, libltdl-dev
Homepage: http://en.opensuse.org/Kerry
Standards-Version: 3.8.4
diff --git a/debian/wheezy/applications/kerry/debian/patches/series b/debian/wheezy/applications/kerry/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/wheezy/applications/kerry/debian/patches/series
diff --git a/debian/wheezy/applications/kerry/debian/rules b/debian/wheezy/applications/kerry/debian/rules
index dea466c17..7b26c5eb5 100755
--- a/debian/wheezy/applications/kerry/debian/rules
+++ b/debian/wheezy/applications/kerry/debian/rules
@@ -1,7 +1,7 @@
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
# include /usr/share/cdbs/1/class/kde.mk
include debian/cdbs/debian-qt-kde.mk
diff --git a/debian/wheezy/applications/kftpgrabber/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/kftpgrabber/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/debian/wheezy/applications/kftpgrabber/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/kftpgrabber/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
#include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/kftpgrabber/debian/control b/debian/wheezy/applications/kftpgrabber/debian/control
index eaa793711..3e06c17d3 100644
--- a/debian/wheezy/applications/kftpgrabber/debian/control
+++ b/debian/wheezy/applications/kftpgrabber/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Debian TDE Extras Team <pkg-tde-extras@lists.alioth.debian.org>
Uploaders: Fathi Boudra <fabo@debian.org>, Mark Purcell <msp@debian.org>, Michael Meskes <meskes@debian.org>
-Build-Depends: cdbs, debhelper (>= 5), automake, libtool, tdelibs14-trinity-dev, docbook2x, docbook-xml
+Build-Depends: cdbs, debhelper (>= 5), quilt, automake, libtool, tdelibs14-trinity-dev, docbook2x, docbook-xml
Standards-Version: 3.8.3
Homepage: http://www.kftp.org
diff --git a/debian/wheezy/applications/kftpgrabber/debian/patches/series b/debian/wheezy/applications/kftpgrabber/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/wheezy/applications/kftpgrabber/debian/patches/series
diff --git a/debian/wheezy/applications/kftpgrabber/debian/rules b/debian/wheezy/applications/kftpgrabber/debian/rules
index 51e8bf7a9..64be165cd 100755
--- a/debian/wheezy/applications/kftpgrabber/debian/rules
+++ b/debian/wheezy/applications/kftpgrabber/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include
diff --git a/debian/wheezy/applications/kgtk-qt3/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/kgtk-qt3/debian/cdbs/debian-qt-kde.mk
index 5e704aa4a..c5d8ecfd3 100644
--- a/debian/wheezy/applications/kgtk-qt3/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/kgtk-qt3/debian/cdbs/debian-qt-kde.mk
@@ -15,7 +15,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/kgtk-qt3/debian/control b/debian/wheezy/applications/kgtk-qt3/debian/control
index 253fe5cb6..fd84fc01c 100644
--- a/debian/wheezy/applications/kgtk-qt3/debian/control
+++ b/debian/wheezy/applications/kgtk-qt3/debian/control
@@ -2,7 +2,7 @@ Source: kgtk-qt3-trinity
Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
-Build-Depends: debhelper (>= 7), cdbs, tdelibs14-trinity-dev, libgtk2.0-dev, libtqtinterface-dev, cmake
+Build-Depends: debhelper (>= 7), quilt, cdbs, tdelibs14-trinity-dev, libgtk2.0-dev, libtqtinterface-dev, cmake
Standards-Version: 3.8.4
Homepage: http://trinity.pearsoncomputing.net
diff --git a/debian/wheezy/applications/kgtk-qt3/debian/patches/series b/debian/wheezy/applications/kgtk-qt3/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/wheezy/applications/kgtk-qt3/debian/patches/series
diff --git a/debian/wheezy/applications/kgtk-qt3/debian/rules b/debian/wheezy/applications/kgtk-qt3/debian/rules
index b4cb7a953..91c8ec995 100755
--- a/debian/wheezy/applications/kgtk-qt3/debian/rules
+++ b/debian/wheezy/applications/kgtk-qt3/debian/rules
@@ -11,7 +11,7 @@ export LD_LIBRARY_PATH
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
include debian/cdbs/debian-qt-kde.mk
diff --git a/debian/wheezy/applications/kile/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/kile/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/wheezy/applications/kile/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/kile/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/kiosktool/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/kiosktool/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/wheezy/applications/kiosktool/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/kiosktool/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/kiosktool/debian/control b/debian/wheezy/applications/kiosktool/debian/control
index 322d2b3b4..6779d88ff 100644
--- a/debian/wheezy/applications/kiosktool/debian/control
+++ b/debian/wheezy/applications/kiosktool/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Pedro Jurado Maqueda <melenas@kdehispano.org>
-Build-Depends: debhelper (>= 4.1.0), cdbs, tdelibs14-trinity-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: debhelper (>= 4.1.0), quilt, cdbs, tdelibs14-trinity-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: kiosktool-trinity
diff --git a/debian/wheezy/applications/kiosktool/debian/patches/series b/debian/wheezy/applications/kiosktool/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/wheezy/applications/kiosktool/debian/patches/series
diff --git a/debian/wheezy/applications/kiosktool/debian/rules b/debian/wheezy/applications/kiosktool/debian/rules
index 507e5a458..7e010577d 100755
--- a/debian/wheezy/applications/kiosktool/debian/rules
+++ b/debian/wheezy/applications/kiosktool/debian/rules
@@ -1,7 +1,7 @@
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include debian/cdbs/kde.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/wheezy/applications/kkbswitch/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/kkbswitch/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/debian/wheezy/applications/kkbswitch/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/kkbswitch/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
#include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/klcddimmer/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/klcddimmer/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/debian/wheezy/applications/klcddimmer/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/klcddimmer/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
#include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/kmplayer/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/kmplayer/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/wheezy/applications/kmplayer/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/kmplayer/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/kmplayer/debian/control b/debian/wheezy/applications/kmplayer/debian/control
index 26e85a2ed..3843dc2b7 100644
--- a/debian/wheezy/applications/kmplayer/debian/control
+++ b/debian/wheezy/applications/kmplayer/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>
Uploaders: Fathi Boudra <fboudra@free.fr>, Mark Purcell <msp@debian.org>
-Build-Depends: cdbs, debhelper (>= 5), tdelibs14-trinity-dev,
+Build-Depends: cdbs, debhelper (>= 5), quilt, tdelibs14-trinity-dev,
libcairo2-dev, libdbus-1-dev, libdbus-glib-1-dev, libdbus-tqt-1-dev,
libgstreamer-plugins-base0.10-dev, libgtk2.0-dev, libxine2-dev | libxine-dev, libxv-dev, docbook2x,
automake, autoconf, libtool, libltdl-dev
diff --git a/debian/wheezy/applications/kmplayer/debian/patches/series b/debian/wheezy/applications/kmplayer/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/wheezy/applications/kmplayer/debian/patches/series
diff --git a/debian/wheezy/applications/kmplayer/debian/rules b/debian/wheezy/applications/kmplayer/debian/rules
index 2c29e9b14..093944c34 100755
--- a/debian/wheezy/applications/kmplayer/debian/rules
+++ b/debian/wheezy/applications/kmplayer/debian/rules
@@ -1,7 +1,7 @@
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include debian/cdbs/kde.mk
include /usr/share/cdbs/1/rules/utils.mk
diff --git a/debian/wheezy/applications/kmymoney/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/kmymoney/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/wheezy/applications/kmymoney/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/kmymoney/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/kmymoney/debian/control b/debian/wheezy/applications/kmymoney/debian/control
index ef3eb2188..58d0cac2a 100644
--- a/debian/wheezy/applications/kmymoney/debian/control
+++ b/debian/wheezy/applications/kmymoney/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>
Uploaders: Mark Purcell <msp@debian.org>, Fathi Boudra <fabo@debian.org>
-Build-Depends: debhelper (>= 7.0.50~), cdbs, chrpath, automake, libtool, tdelibs14-trinity-dev, libofx-dev, libsqlite3-dev, recode, html2ps
+Build-Depends: debhelper (>= 7.0.50~), quilt, cdbs, chrpath, automake, libtool, tdelibs14-trinity-dev, libofx-dev, libsqlite3-dev, recode, html2ps
Standards-Version: 3.8.4
Package: kmymoney2-trinity
diff --git a/debian/wheezy/applications/kmymoney/debian/patches/series b/debian/wheezy/applications/kmymoney/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/wheezy/applications/kmymoney/debian/patches/series
diff --git a/debian/wheezy/applications/kmymoney/debian/rules b/debian/wheezy/applications/kmymoney/debian/rules
index 4c3b55cb4..d636191c4 100755
--- a/debian/wheezy/applications/kmymoney/debian/rules
+++ b/debian/wheezy/applications/kmymoney/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
DEB_CONFIGURE_MANDIR := /opt/trinity/share/man
diff --git a/debian/wheezy/applications/knemo/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/knemo/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/wheezy/applications/knemo/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/knemo/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/knemo/debian/control b/debian/wheezy/applications/knemo/debian/control
index e92e60364..e11fc58c2 100644
--- a/debian/wheezy/applications/knemo/debian/control
+++ b/debian/wheezy/applications/knemo/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Uploaders: Achim Bohnet <ach@mpe.mpg.de>, Mark Purcell <msp@debian.org>
-Build-Depends: debhelper (>> 4.1), cdbs, tdelibs14-trinity-dev, net-tools, wireless-tools, libiw-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: debhelper (>> 4.1), quilt, cdbs, tdelibs14-trinity-dev, net-tools, wireless-tools, libiw-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: knemo-trinity
diff --git a/debian/wheezy/applications/knemo/debian/patches/series b/debian/wheezy/applications/knemo/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/wheezy/applications/knemo/debian/patches/series
diff --git a/debian/wheezy/applications/knemo/debian/rules b/debian/wheezy/applications/knemo/debian/rules
index 345d9f54d..9e3a13754 100755
--- a/debian/wheezy/applications/knemo/debian/rules
+++ b/debian/wheezy/applications/knemo/debian/rules
@@ -1,7 +1,7 @@
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include debian/cdbs/kde.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/wheezy/applications/knetstats/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/knetstats/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/wheezy/applications/knetstats/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/knetstats/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/knetstats/debian/control b/debian/wheezy/applications/knetstats/debian/control
index 600b079f8..41d913327 100644
--- a/debian/wheezy/applications/knetstats/debian/control
+++ b/debian/wheezy/applications/knetstats/debian/control
@@ -2,7 +2,7 @@ Source: knetstats-trinity
Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
-Build-Depends: debhelper (>= 5.0), cdbs, tdelibs14-trinity-dev, docbook2x, automake, autoconf, libtool, libltdl-dev
+Build-Depends: debhelper (>= 5.0), quilt, cdbs, tdelibs14-trinity-dev, docbook2x, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Homepage: http://knetstats.sourceforge.net/
diff --git a/debian/wheezy/applications/knetstats/debian/patches/series b/debian/wheezy/applications/knetstats/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/wheezy/applications/knetstats/debian/patches/series
diff --git a/debian/wheezy/applications/knetstats/debian/rules b/debian/wheezy/applications/knetstats/debian/rules
index 1a573fb20..7da95d739 100755
--- a/debian/wheezy/applications/knetstats/debian/rules
+++ b/debian/wheezy/applications/knetstats/debian/rules
@@ -1,7 +1,7 @@
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include debian/cdbs/kde.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/wheezy/applications/knetworkmanager.cmake/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/knetworkmanager.cmake/debian/cdbs/debian-qt-kde.mk
index 345cc0a61..fb36ac52f 100644
--- a/debian/wheezy/applications/knetworkmanager.cmake/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/knetworkmanager.cmake/debian/cdbs/debian-qt-kde.mk
@@ -15,7 +15,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/knetworkmanager.cmake/debian/rules b/debian/wheezy/applications/knetworkmanager.cmake/debian/rules
index 5043dd652..7b801da5f 100755
--- a/debian/wheezy/applications/knetworkmanager.cmake/debian/rules
+++ b/debian/wheezy/applications/knetworkmanager.cmake/debian/rules
@@ -11,7 +11,7 @@ export LD_LIBRARY_PATH
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
include debian/cdbs/debian-qt-kde.mk
diff --git a/debian/wheezy/applications/knetworkmanager8/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/knetworkmanager8/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/wheezy/applications/knetworkmanager8/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/knetworkmanager8/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/knmap/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/knmap/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/debian/wheezy/applications/knmap/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/knmap/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
#include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/knmap/debian/control b/debian/wheezy/applications/knmap/debian/control
index ff43fd3f7..6b8893341 100644
--- a/debian/wheezy/applications/knmap/debian/control
+++ b/debian/wheezy/applications/knmap/debian/control
@@ -2,7 +2,7 @@ Source: knmap-trinity
Section: tde
Priority: extra
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
-Build-Depends: debhelper (>> 5), autotools-dev, tdelibs14-trinity-dev, automake, libtool, cdbs, docbook2x, docbook-xml
+Build-Depends: debhelper (>> 5), quilt, autotools-dev, tdelibs14-trinity-dev, automake, libtool, cdbs, docbook2x, docbook-xml
Standards-Version: 3.8.2
Package: knmap-trinity
diff --git a/debian/wheezy/applications/knmap/debian/patches/series b/debian/wheezy/applications/knmap/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/wheezy/applications/knmap/debian/patches/series
diff --git a/debian/wheezy/applications/knmap/debian/rules b/debian/wheezy/applications/knmap/debian/rules
index 348e53573..7a20baa99 100755
--- a/debian/wheezy/applications/knmap/debian/rules
+++ b/debian/wheezy/applications/knmap/debian/rules
@@ -1,6 +1,6 @@
#!/usr/bin/make -f
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/kde.mk
diff --git a/debian/wheezy/applications/koffice/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/koffice/debian/cdbs/debian-qt-kde.mk
index b93e7c154..a803f50d6 100644
--- a/debian/wheezy/applications/koffice/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/koffice/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/koffice/debian/control b/debian/wheezy/applications/koffice/debian/control
index ed66aecc6..57604185f 100644
--- a/debian/wheezy/applications/koffice/debian/control
+++ b/debian/wheezy/applications/koffice/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Uploaders: Ana Beatriz Guerrero Lopez <ana@debian.org>, Ral Snchez Siles <rasasi78@gmail.com>
-Build-Depends: cdbs (>= 0.4.52ubuntu18), debhelper (>= 5), binutils (>= 2.14.90.0.7), recode, docbook-to-man, gawk, gettext, flex, tdelibs14-trinity-dev (>= 4:3.4.3), libaspell-dev, libfontconfig1-dev, libopenexr-dev, libpaper-dev, libreadline5-dev | libreadline6-dev, libtiff-dev, libwv2-dev (>= 0.2.2-4), libxml2-dev, libxslt1-dev, python-dev, ruby, ruby-dev, libwpd-dev, libpqxx-dev | libpqxx3-dev, libmysqlclient15-dev | libmysqlclient16-dev | libmysqlclient18-dev, sharutils, bzip2, libpoppler-tqt-dev, libexif-dev, libasound2-dev, libogg-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: cdbs (>= 0.4.52ubuntu18), debhelper (>= 5), quilt, binutils (>= 2.14.90.0.7), recode, docbook-to-man, gawk, gettext, flex, tdelibs14-trinity-dev (>= 4:3.4.3), libaspell-dev, libfontconfig1-dev, libopenexr-dev, libpaper-dev, libreadline5-dev | libreadline6-dev, libtiff-dev, libwv2-dev (>= 0.2.2-4), libxml2-dev, libxslt1-dev, python-dev, ruby, ruby-dev, libwpd-dev, libpqxx-dev | libpqxx3-dev, libmysqlclient15-dev | libmysqlclient16-dev | libmysqlclient18-dev, sharutils, bzip2, libpoppler-tqt-dev, libexif-dev, libasound2-dev, libogg-dev, automake, autoconf, libtool, libltdl-dev
Build-Depends-Indep: libtqtinterface-doc, graphviz, gsfonts-x11
Standards-Version: 3.8.4
Homepage: http://www.koffice.org
diff --git a/debian/wheezy/applications/koffice/debian/patches/series b/debian/wheezy/applications/koffice/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/wheezy/applications/koffice/debian/patches/series
diff --git a/debian/wheezy/applications/koffice/debian/rules b/debian/wheezy/applications/koffice/debian/rules
index ed91a11c3..495d85db8 100755
--- a/debian/wheezy/applications/koffice/debian/rules
+++ b/debian/wheezy/applications/koffice/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/debian-qt-kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/wheezy/applications/konversation/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/konversation/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/wheezy/applications/konversation/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/konversation/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/kopete-otr/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/kopete-otr/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/wheezy/applications/kopete-otr/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/kopete-otr/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/kpilot/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/kpilot/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/wheezy/applications/kpilot/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/kpilot/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/kpowersave.cmake/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/kpowersave.cmake/debian/cdbs/debian-qt-kde.mk
index 345cc0a61..fb36ac52f 100644
--- a/debian/wheezy/applications/kpowersave.cmake/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/kpowersave.cmake/debian/cdbs/debian-qt-kde.mk
@@ -15,7 +15,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/kpowersave.cmake/debian/control b/debian/wheezy/applications/kpowersave.cmake/debian/control
index 3764a2501..69515ab10 100644
--- a/debian/wheezy/applications/kpowersave.cmake/debian/control
+++ b/debian/wheezy/applications/kpowersave.cmake/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Michael Biebl <biebl@debian.org>
-Build-Depends: cdbs, debhelper (>= 5.0.0), tdelibs14-trinity-dev, libxss-dev, libxtst-dev, libhal-dev (>= 0.5.6), libdbus-1-dev (>= 0.6), libdbus-tqt-1-dev, libtool, libltdl-dev, cmake
+Build-Depends: cdbs, debhelper (>= 5.0.0), quilt, tdelibs14-trinity-dev, libxss-dev, libxtst-dev, libhal-dev (>= 0.5.6), libdbus-1-dev (>= 0.6), libdbus-tqt-1-dev, libtool, libltdl-dev, cmake
Standards-Version: 3.8.4
Homepage: http://sourceforge.net/projects/powersave/
diff --git a/debian/wheezy/applications/kpowersave.cmake/debian/patches/series b/debian/wheezy/applications/kpowersave.cmake/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/wheezy/applications/kpowersave.cmake/debian/patches/series
diff --git a/debian/wheezy/applications/kpowersave.cmake/debian/rules b/debian/wheezy/applications/kpowersave.cmake/debian/rules
index 0d2383bae..6d3ac5584 100755
--- a/debian/wheezy/applications/kpowersave.cmake/debian/rules
+++ b/debian/wheezy/applications/kpowersave.cmake/debian/rules
@@ -11,7 +11,7 @@ export LD_LIBRARY_PATH
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
include debian/cdbs/debian-qt-kde.mk
diff --git a/debian/wheezy/applications/kpowersave/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/kpowersave/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/wheezy/applications/kpowersave/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/kpowersave/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/kpowersave/debian/control b/debian/wheezy/applications/kpowersave/debian/control
index 98d35e654..9de632947 100644
--- a/debian/wheezy/applications/kpowersave/debian/control
+++ b/debian/wheezy/applications/kpowersave/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Michael Biebl <biebl@debian.org>
-Build-Depends: cdbs, debhelper (>= 5.0.0), tdelibs14-trinity-dev, libxss-dev, libxtst-dev, libhal-dev (>= 0.5.6), libdbus-1-dev (>= 0.6), libdbus-tqt-1-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: cdbs, debhelper (>= 5.0.0), quilt, tdelibs14-trinity-dev, libxss-dev, libxtst-dev, libhal-dev (>= 0.5.6), libdbus-1-dev (>= 0.6), libdbus-tqt-1-dev, automake, autoconf, libtool, libltdl-dev
Build-Conflicts: autoconf2.13
Standards-Version: 3.8.4
Homepage: http://sourceforge.net/projects/powersave/
diff --git a/debian/wheezy/applications/kpowersave/debian/patches/series b/debian/wheezy/applications/kpowersave/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/wheezy/applications/kpowersave/debian/patches/series
diff --git a/debian/wheezy/applications/kpowersave/debian/rules b/debian/wheezy/applications/kpowersave/debian/rules
index 0cf9afbec..fb0e95a07 100755
--- a/debian/wheezy/applications/kpowersave/debian/rules
+++ b/debian/wheezy/applications/kpowersave/debian/rules
@@ -2,7 +2,7 @@
include debian/cdbs/kde.mk
include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
DEB_CONFIGURE_MANDIR := /opt/trinity/share/man
diff --git a/debian/wheezy/applications/krecipes/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/krecipes/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/debian/wheezy/applications/krecipes/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/krecipes/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
#include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/krename/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/krename/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/wheezy/applications/krename/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/krename/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/krename/debian/control b/debian/wheezy/applications/krename/debian/control
index 647940933..87d98d5d8 100644
--- a/debian/wheezy/applications/krename/debian/control
+++ b/debian/wheezy/applications/krename/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Uploaders: Richard A. Johnson <nixternal@ubuntu.com>
-Build-Depends: debhelper (>= 5), cdbs, tdelibs14-trinity-dev, patchutils, libx11-dev, libxext-dev, libxpm-dev, x-dev | x11proto-core-dev | libx11-dev, perl, automake, autoconf, libtool, libltdl-dev
+Build-Depends: debhelper (>= 5), quilt, cdbs, tdelibs14-trinity-dev, patchutils, libx11-dev, libxext-dev, libxpm-dev, x-dev | x11proto-core-dev | libx11-dev, perl, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: krename-trinity
diff --git a/debian/wheezy/applications/krename/debian/patches/series b/debian/wheezy/applications/krename/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/wheezy/applications/krename/debian/patches/series
diff --git a/debian/wheezy/applications/krename/debian/rules b/debian/wheezy/applications/krename/debian/rules
index 4983ad699..7df9beee2 100755
--- a/debian/wheezy/applications/krename/debian/rules
+++ b/debian/wheezy/applications/krename/debian/rules
@@ -4,7 +4,7 @@ DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
DEB_CONFIGURE_MANDIR := /opt/trinity/share/man
diff --git a/debian/wheezy/applications/krusader/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/krusader/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/wheezy/applications/krusader/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/krusader/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/krusader/debian/control b/debian/wheezy/applications/krusader/debian/control
index cf06f9ab8..c434dd86d 100644
--- a/debian/wheezy/applications/krusader/debian/control
+++ b/debian/wheezy/applications/krusader/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Uploaders: Fathi Boudra <fabo@debian.org>, Mark Purcell <msp@debian.org>
-Build-Depends: cdbs, debhelper (>= 5), libkonq4-trinity-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: cdbs, debhelper (>= 5), quilt, libkonq4-trinity-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Homepage: http://krusader.sourceforge.net
diff --git a/debian/wheezy/applications/krusader/debian/patches/series b/debian/wheezy/applications/krusader/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/wheezy/applications/krusader/debian/patches/series
diff --git a/debian/wheezy/applications/krusader/debian/rules b/debian/wheezy/applications/krusader/debian/rules
index 4b297b1ae..d27f15ff5 100755
--- a/debian/wheezy/applications/krusader/debian/rules
+++ b/debian/wheezy/applications/krusader/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/wheezy/applications/ksensors/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/ksensors/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/debian/wheezy/applications/ksensors/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/ksensors/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
#include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/ksensors/debian/control b/debian/wheezy/applications/ksensors/debian/control
index f0ba5d2d4..e7de2b810 100644
--- a/debian/wheezy/applications/ksensors/debian/control
+++ b/debian/wheezy/applications/ksensors/debian/control
@@ -2,7 +2,7 @@ Source: ksensors-trinity
Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
-Build-Depends: debhelper (>> 5), cdbs, autotools-dev, automake, autoconf, libtool, libsensors4-dev, tdelibs14-trinity-dev, imagemagick
+Build-Depends: debhelper (>> 5), quilt, cdbs, autotools-dev, automake, autoconf, libtool, libsensors4-dev, tdelibs14-trinity-dev, imagemagick
Build-Conflicts: autoconf2.13
Standards-Version: 3.8.3
diff --git a/debian/wheezy/applications/ksensors/debian/patches/series b/debian/wheezy/applications/ksensors/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/wheezy/applications/ksensors/debian/patches/series
diff --git a/debian/wheezy/applications/ksensors/debian/rules b/debian/wheezy/applications/ksensors/debian/rules
index 8b97ef030..8030d443a 100755
--- a/debian/wheezy/applications/ksensors/debian/rules
+++ b/debian/wheezy/applications/ksensors/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include
DEB_CONFIGURE_MANDIR := /opt/trinity/share/man
diff --git a/debian/wheezy/applications/kshowmail/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/kshowmail/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/debian/wheezy/applications/kshowmail/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/kshowmail/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
#include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/kshutdown/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/kshutdown/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/debian/wheezy/applications/kshutdown/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/kshutdown/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
#include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/ksystemlog/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/ksystemlog/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/wheezy/applications/ksystemlog/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/ksystemlog/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/ksystemlog/debian/control b/debian/wheezy/applications/ksystemlog/debian/control
index a2266c11c..090c9bdaf 100644
--- a/debian/wheezy/applications/ksystemlog/debian/control
+++ b/debian/wheezy/applications/ksystemlog/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>
Uploaders: Fathi Boudra <fboudra@free.fr>, Mark Purcell <msp@debian.org>
-Build-Depends: cdbs, debhelper (>= 5), tdelibs14-trinity-dev, docbook2x, automake, autoconf, libtool, libltdl-dev
+Build-Depends: cdbs, debhelper (>= 5), quilt, tdelibs14-trinity-dev, docbook2x, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: ksystemlog-trinity
diff --git a/debian/wheezy/applications/ksystemlog/debian/patches/series b/debian/wheezy/applications/ksystemlog/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/wheezy/applications/ksystemlog/debian/patches/series
diff --git a/debian/wheezy/applications/ksystemlog/debian/rules b/debian/wheezy/applications/ksystemlog/debian/rules
index 5b9d63684..f28f54627 100755
--- a/debian/wheezy/applications/ksystemlog/debian/rules
+++ b/debian/wheezy/applications/ksystemlog/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
DEB_CONFIGURE_MANDIR := /opt/trinity/share/man
diff --git a/debian/wheezy/applications/ktorrent/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/ktorrent/debian/cdbs/debian-qt-kde.mk
index b93e7c154..a803f50d6 100644
--- a/debian/wheezy/applications/ktorrent/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/ktorrent/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/ktorrent/debian/control b/debian/wheezy/applications/ktorrent/debian/control
index b51a9b726..d2916b49e 100644
--- a/debian/wheezy/applications/ktorrent/debian/control
+++ b/debian/wheezy/applications/ktorrent/debian/control
@@ -2,7 +2,7 @@ Source: ktorrent-trinity
Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
-Build-Depends: debhelper (>= 5.0), cdbs, docbook2x, tdelibs14-trinity-dev, libpcre3-dev, libx11-dev, libgmp3-dev, libavahi-tqt-dev, libgeoip-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: debhelper (>= 5.0), quilt, cdbs, docbook2x, tdelibs14-trinity-dev, libpcre3-dev, libx11-dev, libgmp3-dev, libavahi-tqt-dev, libgeoip-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: ktorrent-trinity
diff --git a/debian/wheezy/applications/ktorrent/debian/patches/series b/debian/wheezy/applications/ktorrent/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/wheezy/applications/ktorrent/debian/patches/series
diff --git a/debian/wheezy/applications/ktorrent/debian/rules b/debian/wheezy/applications/ktorrent/debian/rules
index d0046eb44..862c88e23 100755
--- a/debian/wheezy/applications/ktorrent/debian/rules
+++ b/debian/wheezy/applications/ktorrent/debian/rules
@@ -1,7 +1,7 @@
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include debian/cdbs/debian-qt-kde.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/wheezy/applications/kuickshow/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/kuickshow/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/wheezy/applications/kuickshow/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/kuickshow/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/kuickshow/debian/control b/debian/wheezy/applications/kuickshow/debian/control
index 5244beea1..90492e544 100644
--- a/debian/wheezy/applications/kuickshow/debian/control
+++ b/debian/wheezy/applications/kuickshow/debian/control
@@ -2,7 +2,7 @@ Source: kuickshow-trinity
Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
-Build-Depends: cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), gawk, tdelibs14-trinity-dev, imlib11-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), quilt, gawk, tdelibs14-trinity-dev, imlib11-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: kuickshow-trinity
diff --git a/debian/wheezy/applications/kuickshow/debian/patches/series b/debian/wheezy/applications/kuickshow/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/wheezy/applications/kuickshow/debian/patches/series
diff --git a/debian/wheezy/applications/kuickshow/debian/rules b/debian/wheezy/applications/kuickshow/debian/rules
index 46fe966da..1f3a7d8fc 100755
--- a/debian/wheezy/applications/kuickshow/debian/rules
+++ b/debian/wheezy/applications/kuickshow/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/debian-qt-kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/wheezy/applications/kvirc/debian/control b/debian/wheezy/applications/kvirc/debian/control
index 620e8e29c..07a222fa5 100644
--- a/debian/wheezy/applications/kvirc/debian/control
+++ b/debian/wheezy/applications/kvirc/debian/control
@@ -1,5 +1,5 @@
Source: kvirc-trinity
-Build-Depends: cdbs (>= 0.4.12), debhelper (>= 4.1.46), tdelibs14-trinity-dev (>= 4:3.1.3), libesd0-dev, libperl-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: cdbs (>= 0.4.12), debhelper (>= 4.1.46), quilt, tdelibs14-trinity-dev (>= 4:3.1.3), libesd0-dev, libperl-dev, automake, autoconf, libtool, libltdl-dev
Section: net
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
diff --git a/debian/wheezy/applications/kvirc/debian/patches/series b/debian/wheezy/applications/kvirc/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/wheezy/applications/kvirc/debian/patches/series
diff --git a/debian/wheezy/applications/kvirc/debian/rules b/debian/wheezy/applications/kvirc/debian/rules
index 0cb35b452..d0de2524f 100755
--- a/debian/wheezy/applications/kvirc/debian/rules
+++ b/debian/wheezy/applications/kvirc/debian/rules
@@ -15,7 +15,7 @@ common-configure-impl::
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
DEB_CONFIGURE_MANDIR := /opt/trinity/share/man
diff --git a/debian/wheezy/applications/kvkbd/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/kvkbd/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/wheezy/applications/kvkbd/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/kvkbd/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/kvkbd/debian/control b/debian/wheezy/applications/kvkbd/debian/control
index 9377fc71b..ee7ec6d2e 100644
--- a/debian/wheezy/applications/kvkbd/debian/control
+++ b/debian/wheezy/applications/kvkbd/debian/control
@@ -2,7 +2,7 @@ Source: kvkbd-trinity
Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
-Build-Depends: debhelper (>= 5), cdbs, libxtst-dev, tdelibs14-trinity-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: debhelper (>= 5), quilt, cdbs, libxtst-dev, tdelibs14-trinity-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Homepage: http://pan4os.info/main/index.php
diff --git a/debian/wheezy/applications/kvkbd/debian/patches/series b/debian/wheezy/applications/kvkbd/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/wheezy/applications/kvkbd/debian/patches/series
diff --git a/debian/wheezy/applications/kvkbd/debian/rules b/debian/wheezy/applications/kvkbd/debian/rules
index 0f564108e..1ac5329b7 100755
--- a/debian/wheezy/applications/kvkbd/debian/rules
+++ b/debian/wheezy/applications/kvkbd/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
DEB_CONFIGURE_MANDIR := /opt/trinity/share/man
diff --git a/debian/wheezy/applications/mplayerthumbs/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/mplayerthumbs/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/debian/wheezy/applications/mplayerthumbs/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/mplayerthumbs/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
#include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/piklab/debian/control b/debian/wheezy/applications/piklab/debian/control
index 984b4b234..6314b47e9 100644
--- a/debian/wheezy/applications/piklab/debian/control
+++ b/debian/wheezy/applications/piklab/debian/control
@@ -2,7 +2,7 @@ Source: piklab-trinity
Section: electronics
Priority: extra
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
-Build-Depends: debhelper (>= 5), autotools-dev, quilt, chrpath,
+Build-Depends: cdbs, debhelper (>= 5), autotools-dev, quilt, chrpath,
libusb-dev, tdelibs14-trinity-dev, libreadline5-dev | libreadline6-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Homepage: http://piklab.sourceforge.net/
diff --git a/debian/wheezy/applications/piklab/debian/patches/series b/debian/wheezy/applications/piklab/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/wheezy/applications/piklab/debian/patches/series
diff --git a/debian/wheezy/applications/piklab/debian/rules b/debian/wheezy/applications/piklab/debian/rules
index 6d0a1d510..d15b8b977 100755
--- a/debian/wheezy/applications/piklab/debian/rules
+++ b/debian/wheezy/applications/piklab/debian/rules
@@ -26,7 +26,9 @@ else
CFLAGS += -O2
endif
-config: config-stamp
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+
+config: post-patches config-stamp
config-stamp: configure
dh_testdir
@@ -39,8 +41,6 @@ config-stamp: configure
make -f admin/Makefile.common cvs
touch debian/stamp-bootstrap
- $(MAKE) -f /usr/share/quilt/quilt.make patch
-
ifneq "$(wildcard /usr/share/misc/config.sub)" ""
cp -f /usr/share/misc/config.sub config.sub
endif
@@ -62,7 +62,7 @@ build-stamp: config-stamp
#docbook-to-man debian/piklab.sgml > piklab.1
touch $@
-clean:
+clean::
dh_testdir
dh_testroot
@@ -80,7 +80,6 @@ clean:
rm -f po/*.gmo
rm -f src/common/global/svn_revision/svn_revision.h
rm -f config.sub config.guess config.status config.log
- $(MAKE) -f /usr/share/quilt/quilt.make unpatch
dh_clean
install: build-stamp
diff --git a/debian/wheezy/applications/qt4-tqt-theme-engine/debian/control b/debian/wheezy/applications/qt4-tqt-theme-engine/debian/control
index 9c2a37a0e..29d985d0a 100644
--- a/debian/wheezy/applications/qt4-tqt-theme-engine/debian/control
+++ b/debian/wheezy/applications/qt4-tqt-theme-engine/debian/control
@@ -2,7 +2,7 @@ Source: qt4-tqt-theme-engine
Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
-Build-Depends: debhelper (>= 5), cdbs, tdelibs14-trinity-dev, libqt4-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: debhelper (>= 5), quilt, cdbs, tdelibs14-trinity-dev, libqt4-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: qt4-tqt-theme-engine
diff --git a/debian/wheezy/applications/qt4-tqt-theme-engine/debian/patches/series b/debian/wheezy/applications/qt4-tqt-theme-engine/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/wheezy/applications/qt4-tqt-theme-engine/debian/patches/series
diff --git a/debian/wheezy/applications/qt4-tqt-theme-engine/debian/rules b/debian/wheezy/applications/qt4-tqt-theme-engine/debian/rules
index 2cde95722..19ea67382 100755
--- a/debian/wheezy/applications/qt4-tqt-theme-engine/debian/rules
+++ b/debian/wheezy/applications/qt4-tqt-theme-engine/debian/rules
@@ -1,6 +1,6 @@
#!/usr/bin/make -f
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/class/qmake.mk
include /usr/share/cdbs/1/rules/debhelper.mk
diff --git a/debian/wheezy/applications/rosegarden/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/rosegarden/debian/cdbs/debian-qt-kde.mk
index 5e704aa4a..c5d8ecfd3 100644
--- a/debian/wheezy/applications/rosegarden/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/rosegarden/debian/cdbs/debian-qt-kde.mk
@@ -15,7 +15,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/rosegarden/debian/control b/debian/wheezy/applications/rosegarden/debian/control
index 3b0310398..386c0f7db 100644
--- a/debian/wheezy/applications/rosegarden/debian/control
+++ b/debian/wheezy/applications/rosegarden/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian Multimedia Team <debian-multimedia@lists.debian.org>
Uploaders: Mike O'Connor <stew@debian.org>, Free Ekanayaka <freee@debian.org>
-Build-Depends: debhelper (>> 5.0.0), cdbs, cmake, tdelibs14-trinity-dev, libasound2-dev (>= 1.0.0), libjack-dev, ladspa-sdk, liblrdf0-dev, liblircclient-dev, dssi-dev (>= 0.4 ), liblo-dev, libxft-dev, libfftw3-dev
+Build-Depends: debhelper (>> 5.0.0), quilt, cdbs, cmake, tdelibs14-trinity-dev, libasound2-dev (>= 1.0.0), libjack-dev, ladspa-sdk, liblrdf0-dev, liblircclient-dev, dssi-dev (>= 0.4 ), liblo-dev, libxft-dev, libfftw3-dev
Standards-Version: 3.8.4
Homepage: http://www.rosegardenmusic.com/
diff --git a/debian/wheezy/applications/rosegarden/debian/patches/series b/debian/wheezy/applications/rosegarden/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/wheezy/applications/rosegarden/debian/patches/series
diff --git a/debian/wheezy/applications/rosegarden/debian/rules b/debian/wheezy/applications/rosegarden/debian/rules
index 3fc2b777e..1bac8145d 100755
--- a/debian/wheezy/applications/rosegarden/debian/rules
+++ b/debian/wheezy/applications/rosegarden/debian/rules
@@ -11,7 +11,7 @@ export LD_LIBRARY_PATH
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
include debian/cdbs/debian-qt-kde.mk
diff --git a/debian/wheezy/applications/smb4k/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/smb4k/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/wheezy/applications/smb4k/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/smb4k/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/soundkonverter/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/soundkonverter/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/wheezy/applications/soundkonverter/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/soundkonverter/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/tde-guidance/debian/control b/debian/wheezy/applications/tde-guidance/debian/control
index afc565441..25ac915af 100644
--- a/debian/wheezy/applications/tde-guidance/debian/control
+++ b/debian/wheezy/applications/tde-guidance/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>
Uploaders: Fathi Boudra <fboudra@free.fr>, Mark Purcell <msp@debian.org>
-Build-Depends: cdbs, debhelper (>= 5), chrpath, tdelibs14-trinity-dev,
+Build-Depends: cdbs, debhelper (>= 5), quilt, chrpath, tdelibs14-trinity-dev,
libpythonize0-trinity-dev, libtool, libxml2-utils, libxss-dev, libxxf86vm-dev,
pytdeextensions-trinity, pytqt-tools, python-tqt, python-trinity-trinity, python-trinity-trinity-dev, python-sip4-dev,
python-support (>= 0.6), python (>= 2.5), python-dev (>= 2.5), x11proto-scrnsaver-dev, python-tqt-dev, hwdata
diff --git a/debian/wheezy/applications/tde-guidance/debian/patches/series b/debian/wheezy/applications/tde-guidance/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/wheezy/applications/tde-guidance/debian/patches/series
diff --git a/debian/wheezy/applications/tde-guidance/debian/rules b/debian/wheezy/applications/tde-guidance/debian/rules
index 0cf0d64e7..ad10455d4 100755
--- a/debian/wheezy/applications/tde-guidance/debian/rules
+++ b/debian/wheezy/applications/tde-guidance/debian/rules
@@ -5,7 +5,7 @@ DEB_PYTHON_SYSTEM = pysupport
include /usr/share/cdbs/1/rules/debhelper.mk
#include /usr/share/cdbs/1/class/python-distutils.mk
include debian/python-distutils-jaunty.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_DH_INSTALL_ARGS = --sourcedir=debian/tmp
diff --git a/debian/wheezy/applications/tde-style-qtcurve/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/tde-style-qtcurve/debian/cdbs/debian-qt-kde.mk
index 5e704aa4a..c5d8ecfd3 100644
--- a/debian/wheezy/applications/tde-style-qtcurve/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/tde-style-qtcurve/debian/cdbs/debian-qt-kde.mk
@@ -15,7 +15,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/tde-style-qtcurve/debian/control b/debian/wheezy/applications/tde-style-qtcurve/debian/control
index 9df97ecc5..ce0609dde 100644
--- a/debian/wheezy/applications/tde-style-qtcurve/debian/control
+++ b/debian/wheezy/applications/tde-style-qtcurve/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Bastian Venthur <venthur@debian.org>
-Build-Depends: debhelper (>= 5), tdelibs14-trinity-dev, cmake, cdbs
+Build-Depends: debhelper (>= 5), quilt, tdelibs14-trinity-dev, cmake, cdbs
Standards-Version: 3.8.4
Package: tde-style-qtcurve-trinity
diff --git a/debian/wheezy/applications/tde-style-qtcurve/debian/patches/series b/debian/wheezy/applications/tde-style-qtcurve/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/wheezy/applications/tde-style-qtcurve/debian/patches/series
diff --git a/debian/wheezy/applications/tde-style-qtcurve/debian/rules b/debian/wheezy/applications/tde-style-qtcurve/debian/rules
index 685703a85..f697a7e99 100755
--- a/debian/wheezy/applications/tde-style-qtcurve/debian/rules
+++ b/debian/wheezy/applications/tde-style-qtcurve/debian/rules
@@ -13,7 +13,7 @@ export LD_LIBRARY_PATH
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
include debian/cdbs/debian-qt-kde.mk
diff --git a/debian/wheezy/applications/tde-systemsettings/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/tde-systemsettings/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/wheezy/applications/tde-systemsettings/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/tde-systemsettings/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/tde-systemsettings/debian/control b/debian/wheezy/applications/tde-systemsettings/debian/control
index 811961829..e2fa87c3b 100644
--- a/debian/wheezy/applications/tde-systemsettings/debian/control
+++ b/debian/wheezy/applications/tde-systemsettings/debian/control
@@ -2,7 +2,7 @@ Source: tde-systemsettings-trinity
Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
-Build-Depends: cdbs (>= 0.4.23-1.1), autotools-dev, debhelper (>= 4.1.0), patchutils (>= 0.2.25), tdelibs14-trinity-dev (>= 3.3), docbook2x, automake, autoconf, libtool, libltdl-dev
+Build-Depends: cdbs (>= 0.4.23-1.1), autotools-dev, debhelper (>= 4.1.0), quilt, patchutils (>= 0.2.25), tdelibs14-trinity-dev (>= 3.3), docbook2x, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: tde-systemsettings-trinity
diff --git a/debian/wheezy/applications/tde-systemsettings/debian/patches/series b/debian/wheezy/applications/tde-systemsettings/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/wheezy/applications/tde-systemsettings/debian/patches/series
diff --git a/debian/wheezy/applications/tde-systemsettings/debian/rules b/debian/wheezy/applications/tde-systemsettings/debian/rules
index ed2e13a90..7e11dd034 100755
--- a/debian/wheezy/applications/tde-systemsettings/debian/rules
+++ b/debian/wheezy/applications/tde-systemsettings/debian/rules
@@ -3,7 +3,7 @@
cdbs_kde_enable_debug = --disable-debug
include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include debian/cdbs/kde.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/wheezy/applications/tdeio-apt/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/tdeio-apt/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/wheezy/applications/tdeio-apt/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/tdeio-apt/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/tdeio-apt/debian/control b/debian/wheezy/applications/tdeio-apt/debian/control
index 02d55c5ab..8d4a84cdd 100644
--- a/debian/wheezy/applications/tdeio-apt/debian/control
+++ b/debian/wheezy/applications/tdeio-apt/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Emmanuel Bouthenot <kolter@openics.org>
-Build-Depends: debhelper (>= 5), cdbs, tdelibs14-trinity-dev, sharutils, automake, autoconf, libtool, libltdl-dev
+Build-Depends: debhelper (>= 5), quilt, cdbs, tdelibs14-trinity-dev, sharutils, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: tdeio-apt-trinity
diff --git a/debian/wheezy/applications/tdeio-apt/debian/patches/series b/debian/wheezy/applications/tdeio-apt/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/wheezy/applications/tdeio-apt/debian/patches/series
diff --git a/debian/wheezy/applications/tdeio-apt/debian/rules b/debian/wheezy/applications/tdeio-apt/debian/rules
index 9e8c0f52b..5b3afa420 100755
--- a/debian/wheezy/applications/tdeio-apt/debian/rules
+++ b/debian/wheezy/applications/tdeio-apt/debian/rules
@@ -1,7 +1,7 @@
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include debian/cdbs/kde.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/wheezy/applications/tdeio-ftps/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/tdeio-ftps/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/debian/wheezy/applications/tdeio-ftps/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/tdeio-ftps/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
#include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/tdeio-locate/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/tdeio-locate/debian/cdbs/debian-qt-kde.mk
index 5e704aa4a..c5d8ecfd3 100644
--- a/debian/wheezy/applications/tdeio-locate/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/tdeio-locate/debian/cdbs/debian-qt-kde.mk
@@ -15,7 +15,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/tdeio-locate/debian/control b/debian/wheezy/applications/tdeio-locate/debian/control
index 69dfc5707..6b61a5af0 100644
--- a/debian/wheezy/applications/tdeio-locate/debian/control
+++ b/debian/wheezy/applications/tdeio-locate/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Tobi Vollebregt <tobivollebregt@gmail.com>
-Build-Depends: cdbs, debhelper (>= 5), tdelibs14-trinity-dev, bzip2, python (>= 2.3), cmake
+Build-Depends: cdbs, debhelper (>= 5), quilt, tdelibs14-trinity-dev, bzip2, python (>= 2.3), cmake
Standards-Version: 3.8.4
Package: tdeio-locate-trinity
diff --git a/debian/wheezy/applications/tdeio-locate/debian/patches/series b/debian/wheezy/applications/tdeio-locate/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/wheezy/applications/tdeio-locate/debian/patches/series
diff --git a/debian/wheezy/applications/tdeio-locate/debian/rules b/debian/wheezy/applications/tdeio-locate/debian/rules
index 55427aa5d..01ccf387a 100755
--- a/debian/wheezy/applications/tdeio-locate/debian/rules
+++ b/debian/wheezy/applications/tdeio-locate/debian/rules
@@ -11,7 +11,7 @@ export LD_LIBRARY_PATH
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
include debian/cdbs/debian-qt-kde.mk
diff --git a/debian/wheezy/applications/tdeio-umountwrapper/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/tdeio-umountwrapper/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/wheezy/applications/tdeio-umountwrapper/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/tdeio-umountwrapper/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/tdeio-umountwrapper/debian/control b/debian/wheezy/applications/tdeio-umountwrapper/debian/control
index 49703991a..5ac7d89cc 100644
--- a/debian/wheezy/applications/tdeio-umountwrapper/debian/control
+++ b/debian/wheezy/applications/tdeio-umountwrapper/debian/control
@@ -2,7 +2,7 @@ Source: tdeio-umountwrapper-trinity
Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
-Build-Depends: debhelper (>> 5), cdbs, tdelibs14-trinity-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: debhelper (>> 5), quilt, cdbs, tdelibs14-trinity-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: tdeio-umountwrapper-trinity
diff --git a/debian/wheezy/applications/tdeio-umountwrapper/debian/patches/series b/debian/wheezy/applications/tdeio-umountwrapper/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/wheezy/applications/tdeio-umountwrapper/debian/patches/series
diff --git a/debian/wheezy/applications/tdeio-umountwrapper/debian/rules b/debian/wheezy/applications/tdeio-umountwrapper/debian/rules
index ddfd17b35..27e351eba 100755
--- a/debian/wheezy/applications/tdeio-umountwrapper/debian/rules
+++ b/debian/wheezy/applications/tdeio-umountwrapper/debian/rules
@@ -1,7 +1,7 @@
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include debian/cdbs/kde.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/wheezy/applications/tdenetworkmanager/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/tdenetworkmanager/debian/cdbs/debian-qt-kde.mk
index 345cc0a61..fb36ac52f 100644
--- a/debian/wheezy/applications/tdenetworkmanager/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/tdenetworkmanager/debian/cdbs/debian-qt-kde.mk
@@ -15,7 +15,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/tdenetworkmanager/debian/rules b/debian/wheezy/applications/tdenetworkmanager/debian/rules
index 00ac9877f..c08c59d57 100755
--- a/debian/wheezy/applications/tdenetworkmanager/debian/rules
+++ b/debian/wheezy/applications/tdenetworkmanager/debian/rules
@@ -11,7 +11,7 @@ export LD_LIBRARY_PATH
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
include debian/cdbs/debian-qt-kde.mk
diff --git a/debian/wheezy/applications/tdepowersave/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/tdepowersave/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/wheezy/applications/tdepowersave/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/tdepowersave/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/tdepowersave/debian/control b/debian/wheezy/applications/tdepowersave/debian/control
index de60dd3ae..ca4a5def2 100644
--- a/debian/wheezy/applications/tdepowersave/debian/control
+++ b/debian/wheezy/applications/tdepowersave/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Michael Biebl <biebl@debian.org>
-Build-Depends: cdbs, debhelper (>= 5.0.0), tdelibs14-trinity-dev, libxss-dev, libxtst-dev, libdbus-1-dev (>= 0.6), libdbus-tqt-1-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: cdbs, debhelper (>= 5.0.0), quilt, tdelibs14-trinity-dev, libxss-dev, libxtst-dev, libdbus-1-dev (>= 0.6), libdbus-tqt-1-dev, automake, autoconf, libtool, libltdl-dev
Build-Conflicts: autoconf2.13
Standards-Version: 3.8.4
Homepage: http://sourceforge.net/projects/powersave/
diff --git a/debian/wheezy/applications/tdepowersave/debian/patches/series b/debian/wheezy/applications/tdepowersave/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/wheezy/applications/tdepowersave/debian/patches/series
diff --git a/debian/wheezy/applications/tdepowersave/debian/rules b/debian/wheezy/applications/tdepowersave/debian/rules
index 485481ef7..f74a76605 100755
--- a/debian/wheezy/applications/tdepowersave/debian/rules
+++ b/debian/wheezy/applications/tdepowersave/debian/rules
@@ -2,7 +2,7 @@
include debian/cdbs/kde.mk
include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
DEB_CONFIGURE_MANDIR := /opt/trinity/share/man
diff --git a/debian/wheezy/applications/tdesudo/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/tdesudo/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/wheezy/applications/tdesudo/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/tdesudo/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/tdesudo/debian/control b/debian/wheezy/applications/tdesudo/debian/control
index c5ef4bdee..f71c78ab3 100644
--- a/debian/wheezy/applications/tdesudo/debian/control
+++ b/debian/wheezy/applications/tdesudo/debian/control
@@ -2,7 +2,7 @@ Source: tdesudo-trinity
Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
-Build-Depends: debhelper (>> 5), cdbs, tdelibs14-trinity-dev, docbook2x, automake, autoconf, libtool, libltdl-dev
+Build-Depends: debhelper (>> 5), quilt, cdbs, tdelibs14-trinity-dev, docbook2x, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: tdesudo-trinity
diff --git a/debian/wheezy/applications/tdesudo/debian/patches/series b/debian/wheezy/applications/tdesudo/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/wheezy/applications/tdesudo/debian/patches/series
diff --git a/debian/wheezy/applications/tdesudo/debian/rules b/debian/wheezy/applications/tdesudo/debian/rules
index 443a43aed..83c31e0c9 100755
--- a/debian/wheezy/applications/tdesudo/debian/rules
+++ b/debian/wheezy/applications/tdesudo/debian/rules
@@ -1,7 +1,7 @@
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include debian/cdbs/kde.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/wheezy/applications/tdesvn/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/tdesvn/debian/cdbs/debian-qt-kde.mk
index 5e704aa4a..c5d8ecfd3 100644
--- a/debian/wheezy/applications/tdesvn/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/tdesvn/debian/cdbs/debian-qt-kde.mk
@@ -15,7 +15,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/tdesvn/debian/rules b/debian/wheezy/applications/tdesvn/debian/rules
index 37d2a944b..0e1c5995b 100755
--- a/debian/wheezy/applications/tdesvn/debian/rules
+++ b/debian/wheezy/applications/tdesvn/debian/rules
@@ -11,7 +11,7 @@ export LD_LIBRARY_PATH
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
include debian/cdbs/debian-qt-kde.mk
diff --git a/debian/wheezy/applications/tdmtheme/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/tdmtheme/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/wheezy/applications/tdmtheme/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/tdmtheme/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/tork/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/tork/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/debian/wheezy/applications/tork/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/tork/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
#include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/twin-style-crystal/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/twin-style-crystal/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/wheezy/applications/twin-style-crystal/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/twin-style-crystal/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/twin-style-crystal/debian/control b/debian/wheezy/applications/twin-style-crystal/debian/control
index a5a93ab76..fc2c9e65a 100644
--- a/debian/wheezy/applications/twin-style-crystal/debian/control
+++ b/debian/wheezy/applications/twin-style-crystal/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Sune Vuorela <debian@pusling.com>
-Build-Depends: debhelper (>= 5.0.0), cdbs, tdebase-trinity-dev, sharutils, automake, autoconf, libtool, libltdl-dev
+Build-Depends: debhelper (>= 5.0.0), quilt, cdbs, tdebase-trinity-dev, sharutils, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: twin-style-crystal-trinity
diff --git a/debian/wheezy/applications/twin-style-crystal/debian/patches/series b/debian/wheezy/applications/twin-style-crystal/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/wheezy/applications/twin-style-crystal/debian/patches/series
diff --git a/debian/wheezy/applications/twin-style-crystal/debian/rules b/debian/wheezy/applications/twin-style-crystal/debian/rules
index 4fb0c5bb5..00b9013fa 100755
--- a/debian/wheezy/applications/twin-style-crystal/debian/rules
+++ b/debian/wheezy/applications/twin-style-crystal/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
DEB_CONFIGURE_MANDIR := /opt/trinity/share/man
diff --git a/debian/wheezy/applications/wlassistant/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/wlassistant/debian/cdbs/debian-qt-kde.mk
index 5e704aa4a..c5d8ecfd3 100644
--- a/debian/wheezy/applications/wlassistant/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/wlassistant/debian/cdbs/debian-qt-kde.mk
@@ -15,7 +15,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/applications/wlassistant/debian/control b/debian/wheezy/applications/wlassistant/debian/control
index 3a49d47ab..2b3517258 100644
--- a/debian/wheezy/applications/wlassistant/debian/control
+++ b/debian/wheezy/applications/wlassistant/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Uploaders: Achim Bohnet <ach@mpe.mpg.de>, Mark Purcell <msp@debian.org>
-Build-Depends: debhelper (>= 4.1.0), cmake, cdbs, tdelibs14-trinity-dev, net-tools, wireless-tools, libiw-dev
+Build-Depends: debhelper (>= 4.1.0), quilt, cmake, cdbs, tdelibs14-trinity-dev, net-tools, wireless-tools, libiw-dev
Standards-Version: 3.8.4
Package: wlassistant-trinity
diff --git a/debian/wheezy/applications/wlassistant/debian/patches/series b/debian/wheezy/applications/wlassistant/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/wheezy/applications/wlassistant/debian/patches/series
diff --git a/debian/wheezy/applications/wlassistant/debian/rules b/debian/wheezy/applications/wlassistant/debian/rules
index 1a8fdeafb..5e6564e64 100755
--- a/debian/wheezy/applications/wlassistant/debian/rules
+++ b/debian/wheezy/applications/wlassistant/debian/rules
@@ -11,7 +11,7 @@ export LD_LIBRARY_PATH
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
include debian/cdbs/debian-qt-kde.mk
diff --git a/debian/wheezy/applications/yakuake/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/applications/yakuake/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/wheezy/applications/yakuake/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/applications/yakuake/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/dependencies/arts/debian/control b/debian/wheezy/dependencies/arts/debian/control
index 6d1a9874f..5394cc196 100644
--- a/debian/wheezy/dependencies/arts/debian/control
+++ b/debian/wheezy/dependencies/arts/debian/control
@@ -4,7 +4,7 @@ Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian Qt/TDE Maintainers <debian-qt-tde@lists.debian.org>
Priority: optional
Uploaders: Adeodato Sim <dato@net.com.org.es>, Ana Beatriz Guerrero Lopez <ana@debian.org>, Fathi Boudra <fabo@debian.org>, Modestas Vainius <modestas@vainius.eu>
-Build-Depends: cdbs (>= 0.4.48), debhelper (>= 6),
+Build-Depends: cdbs (>= 0.4.48), debhelper (>= 6), quilt,
docbook-to-man, gawk, gettext, sharutils, texinfo,
libasound2-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386],
libaudio-dev, libaudiofile-dev, libesd0-dev, libglib2.0-dev, libmad0-dev,
diff --git a/debian/wheezy/dependencies/arts/debian/patches/series b/debian/wheezy/dependencies/arts/debian/patches/series
new file mode 100644
index 000000000..59e055db8
--- /dev/null
+++ b/debian/wheezy/dependencies/arts/debian/patches/series
@@ -0,0 +1 @@
+12_cleanup_artsc-config.diff
diff --git a/debian/wheezy/dependencies/arts/debian/rules b/debian/wheezy/dependencies/arts/debian/rules
index 1b4911297..8886acad3 100755
--- a/debian/wheezy/dependencies/arts/debian/rules
+++ b/debian/wheezy/dependencies/arts/debian/rules
@@ -10,7 +10,7 @@ export LD_LIBRARY_PATH
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
include debian/cdbs/debian-qt-kde.mk
diff --git a/debian/wheezy/dependencies/dbus-1-tqt/debian/control b/debian/wheezy/dependencies/dbus-1-tqt/debian/control
index 36e73bbb1..6c1b0c969 100644
--- a/debian/wheezy/dependencies/dbus-1-tqt/debian/control
+++ b/debian/wheezy/dependencies/dbus-1-tqt/debian/control
@@ -2,7 +2,7 @@ Source: dbus-1-tqt
Section: devel
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
-Build-Depends: cdbs (>= 0.4.43), debhelper (>= 5.0.37.2), libtqtinterface-dev, libdbus-1-dev (>= 0.90), cmake
+Build-Depends: cdbs (>= 0.4.43), debhelper (>= 5.0.37.2), quilt, libtqtinterface-dev, libdbus-1-dev (>= 0.90), cmake
Standards-Version: 3.8.3
Package: libdbus-1-tqt-dev
diff --git a/debian/wheezy/dependencies/dbus-1-tqt/debian/patches/series b/debian/wheezy/dependencies/dbus-1-tqt/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/wheezy/dependencies/dbus-1-tqt/debian/patches/series
diff --git a/debian/wheezy/dependencies/dbus-1-tqt/debian/rules b/debian/wheezy/dependencies/dbus-1-tqt/debian/rules
index 3b86de7db..0585b8d86 100755
--- a/debian/wheezy/dependencies/dbus-1-tqt/debian/rules
+++ b/debian/wheezy/dependencies/dbus-1-tqt/debian/rules
@@ -1,6 +1,6 @@
#!/usr/bin/make -f
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
diff --git a/debian/wheezy/dependencies/dbus-tqt/debian/control b/debian/wheezy/dependencies/dbus-tqt/debian/control
index cdf2d334a..7c5dbc0c4 100644
--- a/debian/wheezy/dependencies/dbus-tqt/debian/control
+++ b/debian/wheezy/dependencies/dbus-tqt/debian/control
@@ -3,7 +3,7 @@ Section: devel
Priority: optional
Maintainer: Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>
Uploaders: Sjoerd Simons <sjoerd@debian.org>, Sebastian Drge <slomo@ubuntu.com>
-Build-Depends: cdbs (>= 0.4.43), debhelper (>= 5.0.37.2), libtqtinterface-dev, libdbus-1-dev (>= 0.90), cmake
+Build-Depends: cdbs (>= 0.4.43), debhelper (>= 5.0.37.2), quilt, libtqtinterface-dev, libdbus-1-dev (>= 0.90), cmake
Standards-Version: 3.8.3
Package: libdbus-tqt-1-dev
diff --git a/debian/wheezy/dependencies/dbus-tqt/debian/patches/series b/debian/wheezy/dependencies/dbus-tqt/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/wheezy/dependencies/dbus-tqt/debian/patches/series
diff --git a/debian/wheezy/dependencies/dbus-tqt/debian/rules b/debian/wheezy/dependencies/dbus-tqt/debian/rules
index a59bed76e..26bf6c196 100755
--- a/debian/wheezy/dependencies/dbus-tqt/debian/rules
+++ b/debian/wheezy/dependencies/dbus-tqt/debian/rules
@@ -3,7 +3,7 @@
# Copyright © 2003 Daniel Stone <daniels@debian.org>
# Copyright © 2006 Sjoerd Simons <sjoerd@debian.org>
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
diff --git a/debian/wheezy/dependencies/libart-lgpl/debian/control b/debian/wheezy/dependencies/libart-lgpl/debian/control
index 6bf02a7b5..b07f014ce 100644
--- a/debian/wheezy/dependencies/libart-lgpl/debian/control
+++ b/debian/wheezy/dependencies/libart-lgpl/debian/control
@@ -9,7 +9,7 @@ Priority: optional
Maintainer: Josselin Mouette <joss@debian.org>
Uploaders: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>, Loic Minier <lool@dooz.org>, Sebastian Drge <slomo@debian.org>, Sebastien Bacher <seb128@debian.org>
Standards-Version: 3.8.4
-Build-Depends: debhelper (>= 5),
+Build-Depends: debhelper (>= 5), quilt,
gnome-pkg-tools (>= 0.7),
cdbs,
dpkg-dev (>= 1.13.19),
diff --git a/debian/wheezy/dependencies/libart-lgpl/debian/patches/series b/debian/wheezy/dependencies/libart-lgpl/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/wheezy/dependencies/libart-lgpl/debian/patches/series
diff --git a/debian/wheezy/dependencies/libart-lgpl/debian/rules b/debian/wheezy/dependencies/libart-lgpl/debian/rules
index 2751eb1f2..add68d0c4 100755
--- a/debian/wheezy/dependencies/libart-lgpl/debian/rules
+++ b/debian/wheezy/dependencies/libart-lgpl/debian/rules
@@ -1,7 +1,7 @@
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
include /usr/share/cdbs/1/class/gnome.mk
include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk
diff --git a/debian/wheezy/dependencies/libcaldav/debian/control b/debian/wheezy/dependencies/libcaldav/debian/control
index 6051e6de1..8ba2fed15 100644
--- a/debian/wheezy/dependencies/libcaldav/debian/control
+++ b/debian/wheezy/dependencies/libcaldav/debian/control
@@ -1,5 +1,5 @@
Source: libcaldav
-Build-Depends: debhelper (>= 5), quilt, libcurl4-gnutls-dev (>= 7.19), libglib2.0-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: cdbs, debhelper (>= 5), quilt, libcurl4-gnutls-dev (>= 7.19), libglib2.0-dev, automake, autoconf, libtool, libltdl-dev
Section: graphics
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
diff --git a/debian/wheezy/dependencies/libcaldav/debian/patches/series b/debian/wheezy/dependencies/libcaldav/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/wheezy/dependencies/libcaldav/debian/patches/series
diff --git a/debian/wheezy/dependencies/libcaldav/debian/rules b/debian/wheezy/dependencies/libcaldav/debian/rules
index fb72a35e7..0d067bc3d 100755
--- a/debian/wheezy/dependencies/libcaldav/debian/rules
+++ b/debian/wheezy/dependencies/libcaldav/debian/rules
@@ -1,6 +1,6 @@
#!/usr/bin/make -f
-include /usr/share/quilt/quilt.make
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
@@ -28,7 +28,7 @@ no_auto_tools = ACLOCAL="`pwd`/missing aclocal" \
make_flags = moduledir=/usr/lib/gdk-imlib2 $(no_auto_tools)
-build: $(QUILT_STAMPFN) build-stamp
+build: post-patches build-stamp
build-stamp:
dh_testdir
./autogen.sh
@@ -38,7 +38,7 @@ build-stamp:
touch build-stamp
-clean: unpatch
+clean::
dh_testdir
dh_testroot
rm -f build-stamp
diff --git a/debian/wheezy/dependencies/libcarddav/debian/control b/debian/wheezy/dependencies/libcarddav/debian/control
index 7bf8ff1dc..7e3b740bb 100644
--- a/debian/wheezy/dependencies/libcarddav/debian/control
+++ b/debian/wheezy/dependencies/libcarddav/debian/control
@@ -1,5 +1,5 @@
Source: libcarddav
-Build-Depends: debhelper (>= 5), libcurl4-gnutls-dev, libglib2.0-dev, quilt, automake, autoconf, libtool, libltdl-dev
+Build-Depends: cdbs, debhelper (>= 5), libcurl4-gnutls-dev, libglib2.0-dev, quilt, automake, autoconf, libtool, libltdl-dev
Section: graphics
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
diff --git a/debian/wheezy/dependencies/libcarddav/debian/patches/series b/debian/wheezy/dependencies/libcarddav/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/wheezy/dependencies/libcarddav/debian/patches/series
diff --git a/debian/wheezy/dependencies/libcarddav/debian/rules b/debian/wheezy/dependencies/libcarddav/debian/rules
index 24bdcbc93..b22fbca64 100755
--- a/debian/wheezy/dependencies/libcarddav/debian/rules
+++ b/debian/wheezy/dependencies/libcarddav/debian/rules
@@ -1,6 +1,6 @@
#!/usr/bin/make -f
-include /usr/share/quilt/quilt.make
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
@@ -28,7 +28,7 @@ no_auto_tools = ACLOCAL="`pwd`/missing aclocal" \
make_flags = moduledir=/usr/lib/gdk-imlib2 $(no_auto_tools)
-build: $(QUILT_STAMPFN) build-stamp
+build: post-patches build-stamp
build-stamp:
dh_testdir
./autogen.sh
@@ -38,7 +38,7 @@ build-stamp:
touch build-stamp
-clean: unpatch
+clean::
dh_testdir
dh_testroot
rm -f build-stamp
diff --git a/debian/wheezy/dependencies/python-tqt/debian/patches/series b/debian/wheezy/dependencies/python-tqt/debian/patches/series
index 15bc57c10..573069d8d 100644
--- a/debian/wheezy/dependencies/python-tqt/debian/patches/series
+++ b/debian/wheezy/dependencies/python-tqt/debian/patches/series
@@ -1 +1 @@
-debian_configure_changes.diff
+# debian_configure_changes.diff
diff --git a/debian/wheezy/dependencies/qt3/debian/control b/debian/wheezy/dependencies/qt3/debian/control
index cf10bbb50..c9e01e13b 100644
--- a/debian/wheezy/dependencies/qt3/debian/control
+++ b/debian/wheezy/dependencies/qt3/debian/control
@@ -2,7 +2,7 @@ Source: qt-x11-free
Maintainer: Debian Developers <kubuntu-devel@lists.ubuntu.com>
XSBC-Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Uploaders: Ana Beatriz Guerrero Lopez <ana@debian.org>, Sune Vuorela <debian@pusling.com>, Fathi Boudra <fabo@debian.org>, Modestas Vainius <modestas@vainius.eu>
-Build-Depends: debhelper (>= 5.0.31), quilt, cpio, libxext-dev (>= 4.3.0.dfsg.1-4),
+Build-Depends: cdbs, debhelper (>= 5.0.31), quilt, cpio, libxext-dev (>= 4.3.0.dfsg.1-4),
libxrandr-dev (>= 4.3.0.dfsg.1-4), libsm-dev (>= 4.3.0.dfsg.1-4),
libxmu-dev (>= 4.3.0.dfsg.1-4), libice-dev (>= 4.3.0.dfsg.1-4),
libx11-dev (>= 4.3.0.dfsg.1-4), libxt-dev (>= 4.3.0.dfsg.1-4), libxrender-dev,
diff --git a/debian/wheezy/dependencies/qt3/debian/rules b/debian/wheezy/dependencies/qt3/debian/rules
index 7ede42ad9..57dce235a 100755
--- a/debian/wheezy/dependencies/qt3/debian/rules
+++ b/debian/wheezy/dependencies/qt3/debian/rules
@@ -29,7 +29,7 @@ endif #sparc
endif #hurd
# quilt stuff
-include /usr/share/quilt/quilt.make
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
# build variables (directorys)
DEBIAN = $(shell pwd)/debian
@@ -123,7 +123,7 @@ build: libqt-thread-stamp
touch build-stamp
-libqt-thread-stamp: $(QUILT_STAMPFN)
+libqt-thread-stamp: post-patches
@echo "QTDIR is ${QTDIR}"
@@ -171,7 +171,7 @@ libqt-thread-stamp: $(QUILT_STAMPFN)
touch libqt-thread-stamp
-clean: unpatch
+clean::
dh_testdir
@@ -475,4 +475,4 @@ binary-arch: build install
dh_builddeb -a $(IBASE) $(DEB_DH_BUILDDEB_ARGS)
binary: binary-indep binary-arch
-.PHONY: build binary-indep binary-arch binary install clean patch unpatch
+.PHONY: build binary-indep binary-arch binary install clean
diff --git a/debian/wheezy/dependencies/sip4-tqt/debian/patches/series b/debian/wheezy/dependencies/sip4-tqt/debian/patches/series
index c42871d34..0b31a69ff 100644
--- a/debian/wheezy/dependencies/sip4-tqt/debian/patches/series
+++ b/debian/wheezy/dependencies/sip4-tqt/debian/patches/series
@@ -1,2 +1,2 @@
-siputils_debian_changes.diff
-siputils_objdir_module_fix.diff
+# siputils_debian_changes.diff
+# siputils_objdir_module_fix.diff
diff --git a/debian/wheezy/dependencies/sip4-tqt/debian/patches/siputils_objdir_module_fix.diff b/debian/wheezy/dependencies/sip4-tqt/debian/patches/siputils_objdir_module_fix.diff
index a9d580737..3c4570b21 100644
--- a/debian/wheezy/dependencies/sip4-tqt/debian/patches/siputils_objdir_module_fix.diff
+++ b/debian/wheezy/dependencies/sip4-tqt/debian/patches/siputils_objdir_module_fix.diff
@@ -1,8 +1,8 @@
-Index: sip4-qt3-4.10/siputils.py
+Index: b/siputils.py
===================================================================
---- sip4-qt3-4.10.orig/siputils.py 2010-01-26 23:45:34.144734105 +0100
-+++ sip4-qt3-4.10/siputils.py 2010-01-26 23:46:51.605699383 +0100
-@@ -1546,9 +1546,12 @@
+--- a/siputils.py
++++ b/siputils.py
+@@ -1547,9 +1547,12 @@
mfile.write("\n$(OFILES): $(HFILES)\n")
for mf in self._build["tqmoc_headers"].split():
@@ -14,5 +14,5 @@ Index: sip4-qt3-4.10/siputils.py
+ mf = os.path.join(self._src_dir, mf)
+
mfile.write("\n%s: %s\n" % (cpp, mf))
- mfile.write("\t$(TQMOC) -o %s %s\n" % (cpp, mf))
+ mfile.write("\t$(MOC) -o %s %s\n" % (cpp, mf))
diff --git a/debian/wheezy/dependencies/tqt3/debian/control b/debian/wheezy/dependencies/tqt3/debian/control
index 1655a1357..b524aa513 100644
--- a/debian/wheezy/dependencies/tqt3/debian/control
+++ b/debian/wheezy/dependencies/tqt3/debian/control
@@ -2,7 +2,7 @@ Source: tqt-x11-free
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Uploaders: Ana Beatriz Guerrero Lopez <ana@debian.org>, Sune Vuorela <debian@pusling.com>, Fathi Boudra <fabo@debian.org>, Modestas Vainius <modestas@vainius.eu>
-Build-Depends: debhelper (>= 5.0.31), quilt, cpio, libxext-dev (>= 4.3.0.dfsg.1-4),
+Build-Depends: cdbs, debhelper (>= 5.0.31), quilt, cpio, libxext-dev (>= 4.3.0.dfsg.1-4),
libxrandr-dev (>= 4.3.0.dfsg.1-4), libsm-dev (>= 4.3.0.dfsg.1-4),
libxmu-dev (>= 4.3.0.dfsg.1-4), libice-dev (>= 4.3.0.dfsg.1-4),
libx11-dev (>= 4.3.0.dfsg.1-4), libxt-dev (>= 4.3.0.dfsg.1-4), libxrender-dev,
diff --git a/debian/wheezy/dependencies/tqt3/debian/rules b/debian/wheezy/dependencies/tqt3/debian/rules
index d2d66f6a7..b91e34413 100755
--- a/debian/wheezy/dependencies/tqt3/debian/rules
+++ b/debian/wheezy/dependencies/tqt3/debian/rules
@@ -33,7 +33,7 @@ endif #sparc
endif #hurd
# quilt stuff
-include /usr/share/quilt/quilt.make
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
# build variables (directorys)
DEBIAN = $(shell pwd)/debian
@@ -127,7 +127,7 @@ build: libqt-thread-stamp
touch build-stamp
-libqt-thread-stamp: $(QUILT_STAMPFN)
+libqt-thread-stamp: post-patches
@echo "QTDIR is ${QTDIR}"
@@ -175,7 +175,7 @@ libqt-thread-stamp: $(QUILT_STAMPFN)
touch libqt-thread-stamp
-clean: unpatch
+clean::
dh_testdir
@@ -468,4 +468,4 @@ binary-arch: build install
dh_builddeb -a $(IBASE) $(DEB_DH_BUILDDEB_ARGS)
binary: binary-indep binary-arch
-.PHONY: build binary-indep binary-arch binary install clean patch unpatch
+.PHONY: build binary-indep binary-arch binary install clean
diff --git a/debian/wheezy/dependencies/tqtinterface/debian/control b/debian/wheezy/dependencies/tqtinterface/debian/control
index 4996e799f..c671091c9 100644
--- a/debian/wheezy/dependencies/tqtinterface/debian/control
+++ b/debian/wheezy/dependencies/tqtinterface/debian/control
@@ -2,7 +2,7 @@ Source: libtqtinterface
Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
-Build-Depends: debhelper (>> 4.0.0), libtqt3-mt-dev, tqt3-apps-dev, cmake, cdbs
+Build-Depends: debhelper (>> 4.0.0), quilt, libtqt3-mt-dev, tqt3-apps-dev, cmake, cdbs
Standards-Version: 3.8.4
Package: libtqtinterface
diff --git a/debian/wheezy/dependencies/tqtinterface/debian/patches/series b/debian/wheezy/dependencies/tqtinterface/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/wheezy/dependencies/tqtinterface/debian/patches/series
diff --git a/debian/wheezy/dependencies/tqtinterface/debian/rules b/debian/wheezy/dependencies/tqtinterface/debian/rules
index 5d8f4cb4c..051e7e40f 100755
--- a/debian/wheezy/dependencies/tqtinterface/debian/rules
+++ b/debian/wheezy/dependencies/tqtinterface/debian/rules
@@ -3,7 +3,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_KDE_APIDOX := yes
diff --git a/debian/wheezy/libraries/kipi-plugins/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/libraries/kipi-plugins/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/wheezy/libraries/kipi-plugins/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/libraries/kipi-plugins/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/libraries/libkdcraw/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/libraries/libkdcraw/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/wheezy/libraries/libkdcraw/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/libraries/libkdcraw/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/libraries/libkexiv2/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/libraries/libkexiv2/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/wheezy/libraries/libkexiv2/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/libraries/libkexiv2/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/libraries/libkipi/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/libraries/libkipi/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/debian/wheezy/libraries/libkipi/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/libraries/libkipi/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/libraries/libkipi/debian/control b/debian/wheezy/libraries/libkipi/debian/control
index 0a2924914..4a5c8d057 100644
--- a/debian/wheezy/libraries/libkipi/debian/control
+++ b/debian/wheezy/libraries/libkipi/debian/control
@@ -3,7 +3,7 @@ Section: libs
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Uploaders: Achim Bohnet <ach@mpe.mpg.de>, Mark Purcell <msp@debian.org>
-Build-Depends: cdbs, debhelper (>> 4.1), libexif-dev, tdelibs14-trinity-dev (>= 4:3.4.3-2), automake, autoconf, libtool, libltdl-dev
+Build-Depends: cdbs, debhelper (>> 4.1), quilt, libexif-dev, tdelibs14-trinity-dev (>= 4:3.4.3-2), automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: libkipi0-trinity-dev
diff --git a/debian/wheezy/libraries/libkipi/debian/patches/series b/debian/wheezy/libraries/libkipi/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/wheezy/libraries/libkipi/debian/patches/series
diff --git a/debian/wheezy/libraries/libkipi/debian/rules b/debian/wheezy/libraries/libkipi/debian/rules
index c95fe1343..9835b9048 100755
--- a/debian/wheezy/libraries/libkipi/debian/rules
+++ b/debian/wheezy/libraries/libkipi/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/debian-qt-kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/wheezy/libraries/libtdeldap/debian/control b/debian/wheezy/libraries/libtdeldap/debian/control
index 78bbffbc8..0f20c21ab 100644
--- a/debian/wheezy/libraries/libtdeldap/debian/control
+++ b/debian/wheezy/libraries/libtdeldap/debian/control
@@ -2,7 +2,7 @@ Source: libtdeldap-trinity
Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
-Build-Depends: debhelper (>= 5), cdbs, tdelibs14-trinity-dev, libldap2-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: debhelper (>= 5), quilt, cdbs, tdelibs14-trinity-dev, libldap2-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: libtdeldap-trinity
diff --git a/debian/wheezy/libraries/libtdeldap/debian/patches/series b/debian/wheezy/libraries/libtdeldap/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/wheezy/libraries/libtdeldap/debian/patches/series
diff --git a/debian/wheezy/libraries/libtdeldap/debian/rules b/debian/wheezy/libraries/libtdeldap/debian/rules
index 9bed17b05..e4abe53af 100755
--- a/debian/wheezy/libraries/libtdeldap/debian/rules
+++ b/debian/wheezy/libraries/libtdeldap/debian/rules
@@ -1,6 +1,6 @@
#!/usr/bin/make -f
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/debhelper.mk
diff --git a/debian/wheezy/tdeaccessibility/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/tdeaccessibility/debian/cdbs/debian-qt-kde.mk
index 4a11bc028..6b7b16643 100644
--- a/debian/wheezy/tdeaccessibility/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/tdeaccessibility/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/tdeaccessibility/debian/control b/debian/wheezy/tdeaccessibility/debian/control
index 6b3eb0beb..546906d83 100644
--- a/debian/wheezy/tdeaccessibility/debian/control
+++ b/debian/wheezy/tdeaccessibility/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Uploaders: Ana Beatriz Guerrero Lopez <ana@debian.org>, Christopher Martin <chrsmrtn@debian.org>, Josh Metzler <joshdeb@metzlers.org>, Sune Vuorela <debian@pusling.com>
-Build-Depends: cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), gawk, gettext, groff-base, tdelibs14-trinity-dev, tdemultimedia-trinity-dev, libakode-dev, libxtst-dev, sharutils, libogg-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), quilt, gawk, gettext, groff-base, tdelibs14-trinity-dev, tdemultimedia-trinity-dev, libakode-dev, libxtst-dev, sharutils, libogg-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: tdeaccessibility-trinity
diff --git a/debian/wheezy/tdeaccessibility/debian/patches/series b/debian/wheezy/tdeaccessibility/debian/patches/series
new file mode 100644
index 000000000..6b3ddc8ec
--- /dev/null
+++ b/debian/wheezy/tdeaccessibility/debian/patches/series
@@ -0,0 +1,3 @@
+common/04_am_maintainer_mode.diff
+common/06_disable_no_undefined.diff
+common/kubuntu_01_kdepot.diff
diff --git a/debian/wheezy/tdeaccessibility/debian/rules b/debian/wheezy/tdeaccessibility/debian/rules
index 4fdbdb6c3..98b74d04f 100755
--- a/debian/wheezy/tdeaccessibility/debian/rules
+++ b/debian/wheezy/tdeaccessibility/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/debian-qt-kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/wheezy/tdeaddons/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/tdeaddons/debian/cdbs/debian-qt-kde.mk
index 4a11bc028..6b7b16643 100644
--- a/debian/wheezy/tdeaddons/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/tdeaddons/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/tdeaddons/debian/control b/debian/wheezy/tdeaddons/debian/control
index bb2178f76..ce6a3b1cb 100644
--- a/debian/wheezy/tdeaddons/debian/control
+++ b/debian/wheezy/tdeaddons/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Uploaders: Ana Beatriz Guerrero Lopez <ana@debian.org>, Christopher Martin <chrsmrtn@debian.org>
-Build-Depends: libasound2-dev, cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), autotools-dev, gawk, gettext, tdelibs14-trinity-dev, atlantik-trinity-dev, tdebase-trinity-dev, tdemultimedia-trinity-dev, libtdegames-trinity-dev, libkonq4-trinity-dev, tdepim-trinity-dev, libsdl1.2-dev (>= 1.2.2-3.3), libssl-dev (>= 0.9.6), libdb4.8++-dev | libdb++-dev, libogg-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: libasound2-dev, cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), quilt, autotools-dev, gawk, gettext, tdelibs14-trinity-dev, atlantik-trinity-dev, tdebase-trinity-dev, tdemultimedia-trinity-dev, libtdegames-trinity-dev, libkonq4-trinity-dev, tdepim-trinity-dev, libsdl1.2-dev (>= 1.2.2-3.3), libssl-dev (>= 0.9.6), libdb4.8++-dev | libdb++-dev, libogg-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: tdeaddons-trinity
diff --git a/debian/wheezy/tdeaddons/debian/patches/series b/debian/wheezy/tdeaddons/debian/patches/series
new file mode 100644
index 000000000..6b3ddc8ec
--- /dev/null
+++ b/debian/wheezy/tdeaddons/debian/patches/series
@@ -0,0 +1,3 @@
+common/04_am_maintainer_mode.diff
+common/06_disable_no_undefined.diff
+common/kubuntu_01_kdepot.diff
diff --git a/debian/wheezy/tdeaddons/debian/rules b/debian/wheezy/tdeaddons/debian/rules
index 8e8bb53a9..692eacfb0 100755
--- a/debian/wheezy/tdeaddons/debian/rules
+++ b/debian/wheezy/tdeaddons/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/debian-qt-kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/wheezy/tdeadmin/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/tdeadmin/debian/cdbs/debian-qt-kde.mk
index 4a11bc028..6b7b16643 100644
--- a/debian/wheezy/tdeadmin/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/tdeadmin/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/tdeadmin/debian/control b/debian/wheezy/tdeadmin/debian/control
index 61e7437cd..de6e4622c 100644
--- a/debian/wheezy/tdeadmin/debian/control
+++ b/debian/wheezy/tdeadmin/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Uploaders: Ana Beatriz Guerrero Lopez <ana@debian.org>, Christopher Martin <chrsmrtn@debian.org>, Fathi Boudra <fboudra@free.fr>, Modestas Vainius <geromanas@mailas.com>, Sune Vuorela <debian@pusling.com>
-Build-Depends: libasound2-dev, cdbs (>= 0.4.39-0.1), autotools-dev, debhelper (>= 5.0.31), docbook-to-man, gawk, gettext, tdelibs14-trinity-dev, libbz2-dev, libpam0g-dev, sharutils, texinfo, rpm, automake, autoconf, libtool, libltdl-dev
+Build-Depends: libasound2-dev, cdbs (>= 0.4.39-0.1), autotools-dev, debhelper (>= 5.0.31), quilt, docbook-to-man, gawk, gettext, tdelibs14-trinity-dev, libbz2-dev, libpam0g-dev, sharutils, texinfo, rpm, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: tdeadmin-trinity
diff --git a/debian/wheezy/tdeadmin/debian/patches/series b/debian/wheezy/tdeadmin/debian/patches/series
new file mode 100644
index 000000000..6b3ddc8ec
--- /dev/null
+++ b/debian/wheezy/tdeadmin/debian/patches/series
@@ -0,0 +1,3 @@
+common/04_am_maintainer_mode.diff
+common/06_disable_no_undefined.diff
+common/kubuntu_01_kdepot.diff
diff --git a/debian/wheezy/tdeadmin/debian/rules b/debian/wheezy/tdeadmin/debian/rules
index 849de5f21..4ddc3ff78 100755
--- a/debian/wheezy/tdeadmin/debian/rules
+++ b/debian/wheezy/tdeadmin/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/debian-qt-kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/wheezy/tdeartwork/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/tdeartwork/debian/cdbs/debian-qt-kde.mk
index 497be9751..425264528 100644
--- a/debian/wheezy/tdeartwork/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/tdeartwork/debian/cdbs/debian-qt-kde.mk
@@ -20,7 +20,9 @@ endif
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/tdeartwork/debian/control b/debian/wheezy/tdeartwork/debian/control
index f9b3dca86..da7c130cf 100644
--- a/debian/wheezy/tdeartwork/debian/control
+++ b/debian/wheezy/tdeartwork/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Ubuntu Core developers <ubuntu-devel-discuss@lists.ubuntu.com>
XSBC-Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Uploaders: Ana Beatriz Guerrero Lopez <ana@debian.org>, Christopher Martin <chrsmrtn@debian.org>, Sune Vuorela <debian@pusling.com>
-Build-Depends: cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), cmake, autotools-dev, tdelibs14-trinity-dev, gawk, gettext, sharutils, tdebase-trinity-dev, twin-trinity, libgl1-mesa-dev | libgl-dev, libglu1-mesa-dev | libglu-dev, xscreensaver, xscreensaver-gl, xscreensaver-data, xscreensaver-data-extra, xscreensaver-gl-extra, rss-glx, fireflies, automake, autoconf, libtool, libltdl-dev
+Build-Depends: cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), quilt, cmake, autotools-dev, tdelibs14-trinity-dev, gawk, gettext, sharutils, tdebase-trinity-dev, twin-trinity, libgl1-mesa-dev | libgl-dev, libglu1-mesa-dev | libglu-dev, xscreensaver, xscreensaver-gl, xscreensaver-data, xscreensaver-data-extra, xscreensaver-gl-extra, rss-glx, fireflies, automake, autoconf, libtool, libltdl-dev
Build-Conflicts: autoconf2.13, nvidia-glx
Standards-Version: 3.8.4
diff --git a/debian/wheezy/tdeartwork/debian/patches/series b/debian/wheezy/tdeartwork/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/wheezy/tdeartwork/debian/patches/series
diff --git a/debian/wheezy/tdeartwork/debian/rules b/debian/wheezy/tdeartwork/debian/rules
index 963f996bc..062bd4f29 100755
--- a/debian/wheezy/tdeartwork/debian/rules
+++ b/debian/wheezy/tdeartwork/debian/rules
@@ -3,7 +3,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
include debian/cdbs/debian-qt-kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include
diff --git a/debian/wheezy/tdebase/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/tdebase/debian/cdbs/debian-qt-kde.mk
index fa0d532f4..ec89756bb 100644
--- a/debian/wheezy/tdebase/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/tdebase/debian/cdbs/debian-qt-kde.mk
@@ -15,7 +15,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/tdebase/debian/control b/debian/wheezy/tdebase/debian/control
index e4874266c..8185afb92 100644
--- a/debian/wheezy/tdebase/debian/control
+++ b/debian/wheezy/tdebase/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Uploaders: Ana Beatriz Guerrero Lopez <ana@debian.org>, Fathi Boudra <fboudra@free.fr>, Modestas Vainius <geromanas@mailas.com>, Sune Vuorela <debian@pusling.com>
-Build-Depends: libasound2-dev, cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), autotools-dev, gawk, gettext, tdelibs14-trinity-dev, libldap2-dev, libncurses5-dev, libpam0g-dev, libpopt-dev, libraw1394-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386], libsensors4-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386], libsmbclient-dev, libusb-dev, libxtst-dev, libfontenc-dev, xscreensaver, xscreensaver-data, xscreensaver-data-extra, libxss-dev, libxcomposite-dev, libxdamage-dev, libxkbfile-dev, xutils, sharutils, texinfo, libavahi-compat-libdnssd-dev (>= 0.4), x11proto-kb-dev, xmkmf | xutils-dev, tdelibs14-trinity, libogg-dev, libdbus-tqt-1-dev, libavahi-tqt-dev, udev, libudev-dev, libdbus-1-tqt-dev, libart-2.0-dev (>= 14.0.0), libtool, libltdl-dev, cmake
+Build-Depends: libasound2-dev, cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), quilt, autotools-dev, gawk, gettext, tdelibs14-trinity-dev, libldap2-dev, libncurses5-dev, libpam0g-dev, libpopt-dev, libraw1394-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386], libsensors4-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386], libsmbclient-dev, libusb-dev, libxtst-dev, libfontenc-dev, xscreensaver, xscreensaver-data, xscreensaver-data-extra, libxss-dev, libxcomposite-dev, libxdamage-dev, libxkbfile-dev, xutils, sharutils, texinfo, libavahi-compat-libdnssd-dev (>= 0.4), x11proto-kb-dev, xmkmf | xutils-dev, tdelibs14-trinity, libogg-dev, libdbus-tqt-1-dev, libavahi-tqt-dev, udev, libudev-dev, libdbus-1-tqt-dev, libart-2.0-dev (>= 14.0.0), libtool, libltdl-dev, cmake
Build-Depends-Indep: doxygen, libtqtinterface-doc, graphviz, gsfonts-x11, tdelibs14-trinity-doc
Build-Conflicts: nvidia-glx (<< 1.0.8774-6)
Standards-Version: 3.8.4
diff --git a/debian/wheezy/tdebase/debian/patches/series b/debian/wheezy/tdebase/debian/patches/series
new file mode 100644
index 000000000..15ab12afb
--- /dev/null
+++ b/debian/wheezy/tdebase/debian/patches/series
@@ -0,0 +1,2 @@
+disable_default_tdm_theme.diff
+disable_starttde_wallpaper.diff
diff --git a/debian/wheezy/tdebase/debian/rules b/debian/wheezy/tdebase/debian/rules
index e2ee7f0b7..c3d424f10 100755
--- a/debian/wheezy/tdebase/debian/rules
+++ b/debian/wheezy/tdebase/debian/rules
@@ -11,7 +11,7 @@ export LD_LIBRARY_PATH
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
include debian/cdbs/debian-qt-kde.mk
diff --git a/debian/wheezy/tdebindings/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/tdebindings/debian/cdbs/debian-qt-kde.mk
index 2a219d60a..1e862f623 100644
--- a/debian/wheezy/tdebindings/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/tdebindings/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/tdeedu/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/tdeedu/debian/cdbs/debian-qt-kde.mk
index 4a11bc028..6b7b16643 100644
--- a/debian/wheezy/tdeedu/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/tdeedu/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/tdeedu/debian/control b/debian/wheezy/tdeedu/debian/control
index 487e5c66d..0d277efab 100644
--- a/debian/wheezy/tdeedu/debian/control
+++ b/debian/wheezy/tdeedu/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Uploaders: Ana Beatriz Guerrero Lopez <ana@debian.org>, Christopher Martin <chrsmrtn@debian.org>, Daniel Schepler <schepler@debian.org>, Sune Vuorela <debian@pusling.com>
-Build-Depends: ocaml-nox, libfacile-ocaml-dev, libasound2-dev, cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), autotools-dev, gawk, gettext, tdelibs14-trinity-dev, libboost-python-dev (>= 1.33.1), libusb-dev, sharutils, doxygen, libogg-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: ocaml-nox, libfacile-ocaml-dev, libasound2-dev, cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), quilt, autotools-dev, gawk, gettext, tdelibs14-trinity-dev, libboost-python-dev (>= 1.33.1), libusb-dev, sharutils, doxygen, libogg-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: tdeedu-trinity
diff --git a/debian/wheezy/tdeedu/debian/patches/series b/debian/wheezy/tdeedu/debian/patches/series
new file mode 100644
index 000000000..6b3ddc8ec
--- /dev/null
+++ b/debian/wheezy/tdeedu/debian/patches/series
@@ -0,0 +1,3 @@
+common/04_am_maintainer_mode.diff
+common/06_disable_no_undefined.diff
+common/kubuntu_01_kdepot.diff
diff --git a/debian/wheezy/tdeedu/debian/rules b/debian/wheezy/tdeedu/debian/rules
index 9f81df4c0..c457b98e2 100755
--- a/debian/wheezy/tdeedu/debian/rules
+++ b/debian/wheezy/tdeedu/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/debian-qt-kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/wheezy/tdegames/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/tdegames/debian/cdbs/debian-qt-kde.mk
index 4a11bc028..6b7b16643 100644
--- a/debian/wheezy/tdegames/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/tdegames/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/tdegames/debian/control b/debian/wheezy/tdegames/debian/control
index 1504d7ae3..59ed12c27 100644
--- a/debian/wheezy/tdegames/debian/control
+++ b/debian/wheezy/tdegames/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Uploaders: Ana Beatriz Guerrero Lopez <ana@debian.org>, Christopher Martin <chrsmrtn@debian.org>, Daniel Schepler <schepler@debian.org>, Sune Vuorela <debian@pusling.com>
-Build-Depends: libasound2-dev, cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), autotools-dev, gawk, gettext, tdelibs14-trinity-dev, tdemultimedia-trinity-dev, libtool, groff-base, sharutils, bzip2, sharutils, libogg-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: libasound2-dev, cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), quilt, autotools-dev, gawk, gettext, tdelibs14-trinity-dev, tdemultimedia-trinity-dev, libtool, groff-base, sharutils, bzip2, sharutils, libogg-dev, automake, autoconf, libtool, libltdl-dev
Build-Depends-Indep: doxygen, graphviz, gsfonts-x11, libtqtinterface-doc, tdelibs14-trinity-doc
Standards-Version: 3.8.4
diff --git a/debian/wheezy/tdegames/debian/patches/series b/debian/wheezy/tdegames/debian/patches/series
new file mode 100644
index 000000000..6b3ddc8ec
--- /dev/null
+++ b/debian/wheezy/tdegames/debian/patches/series
@@ -0,0 +1,3 @@
+common/04_am_maintainer_mode.diff
+common/06_disable_no_undefined.diff
+common/kubuntu_01_kdepot.diff
diff --git a/debian/wheezy/tdegames/debian/rules b/debian/wheezy/tdegames/debian/rules
index 085eb8404..7f682874f 100755
--- a/debian/wheezy/tdegames/debian/rules
+++ b/debian/wheezy/tdegames/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/debian-qt-kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
export kde_bindir = /opt/trinity/games
diff --git a/debian/wheezy/tdegraphics/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/tdegraphics/debian/cdbs/debian-qt-kde.mk
index df08f2d37..7c7e6d56c 100644
--- a/debian/wheezy/tdegraphics/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/tdegraphics/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/tdegraphics/debian/control b/debian/wheezy/tdegraphics/debian/control
index ea835feac..8b88b8c15 100644
--- a/debian/wheezy/tdegraphics/debian/control
+++ b/debian/wheezy/tdegraphics/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Uploaders: Ana Beatriz Guerrero Lopez <ana@debian.org>, Francesco Pedrini <francesco.pedrini@gmail.com>, Josh Metzler <joshdeb@metzlers.org>, Sune Vuorela <debian@pusling.com>
-Build-Depends: imlib11-dev, cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), autotools-dev, gawk, gettext, tdelibs14-trinity-dev, libexif-dev (>= 0.6.9-1), libfribidi-dev, freeglut3-dev, libgphoto2-6-dev | libgphoto2-2-dev, libopenexr-dev (>= 1.2.1), libpaper-dev, libpoppler-private-dev | libpoppler-dev (<< 0.18.4-3), libpoppler-dev, libsane-dev (>> 1.0.15), libtiff-dev, libtiff-tools, libusb-dev, sharutils, libxxf86vm-dev, chrpath [powerpc], cmake, libtool, libltdl-dev
+Build-Depends: imlib11-dev, cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), quilt, autotools-dev, gawk, gettext, tdelibs14-trinity-dev, libexif-dev (>= 0.6.9-1), libfribidi-dev, freeglut3-dev, libgphoto2-6-dev | libgphoto2-2-dev, libopenexr-dev (>= 1.2.1), libpaper-dev, libpoppler-private-dev | libpoppler-dev (<< 0.18.4-3), libpoppler-dev, libsane-dev (>> 1.0.15), libtiff-dev, libtiff-tools, libusb-dev, sharutils, libxxf86vm-dev, chrpath [powerpc], cmake, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: tdegraphics-trinity
diff --git a/debian/wheezy/tdegraphics/debian/patches/series b/debian/wheezy/tdegraphics/debian/patches/series
new file mode 100644
index 000000000..6b3ddc8ec
--- /dev/null
+++ b/debian/wheezy/tdegraphics/debian/patches/series
@@ -0,0 +1,3 @@
+common/04_am_maintainer_mode.diff
+common/06_disable_no_undefined.diff
+common/kubuntu_01_kdepot.diff
diff --git a/debian/wheezy/tdegraphics/debian/rules b/debian/wheezy/tdegraphics/debian/rules
index 9aedb5fcf..87727752f 100755
--- a/debian/wheezy/tdegraphics/debian/rules
+++ b/debian/wheezy/tdegraphics/debian/rules
@@ -11,7 +11,7 @@ export LD_LIBRARY_PATH
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_CMAKE_EXTRA_FLAGS := -DLIB_SUFFIX="" -DCMAKE_INSTALL_PREFIX="/opt/trinity" -DCONFIG_INSTALL_DIR="/etc/trinity" -DSYSCONF_INSTALL_DIR="/etc/trinity" -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" -DCMAKE_INCLUDE_PATH="/opt/trinity/include/" -DAUTODETECT_QT_DIRS="ON" -DCMAKE_VERBOSE_MAKEFILE="ON" -DBUILD_ALL="ON" -DCMAKE_SKIP_RPATH="OFF" \
diff --git a/debian/wheezy/tdelibs/debian/control b/debian/wheezy/tdelibs/debian/control
index d3124cae8..d516bc037 100644
--- a/debian/wheezy/tdelibs/debian/control
+++ b/debian/wheezy/tdelibs/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Uploaders: Adeodato Sim <dato@net.com.org.es>, Ana Beatriz Guerrero Lopez <ana@debian.org>, Daniel Schepler <schepler@debian.org>, Fathi Boudra <fboudra@free.fr>, Sune Vuorela <debian@pusling.com>
-Build-Depends: cdbs (>= 0.4.41ubuntu2), debhelper (>= 5.0.31), autotools-dev,
+Build-Depends: cdbs (>= 0.4.41ubuntu2), debhelper (>= 5.0.31), quilt, autotools-dev,
binutils (>= 2.14.90.0.7), binutils-dev, docbook-to-man, gawk, gettext,
libart-2.0-dev (>= 14.0.0), libarts1-trinity-dev (>= 1.5.0), libacl1-dev,
libattr1-dev, libasound2-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386],
diff --git a/debian/wheezy/tdelibs/debian/patches/series b/debian/wheezy/tdelibs/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/wheezy/tdelibs/debian/patches/series
diff --git a/debian/wheezy/tdelibs/debian/rules b/debian/wheezy/tdelibs/debian/rules
index 2024e1380..5ea30a3cc 100755
--- a/debian/wheezy/tdelibs/debian/rules
+++ b/debian/wheezy/tdelibs/debian/rules
@@ -11,7 +11,7 @@ export LD_LIBRARY_PATH
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
include debian/cdbs/debian-qt-kde.mk
diff --git a/debian/wheezy/tdemultimedia/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/tdemultimedia/debian/cdbs/debian-qt-kde.mk
index 4a11bc028..6b7b16643 100644
--- a/debian/wheezy/tdemultimedia/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/tdemultimedia/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/tdemultimedia/debian/control b/debian/wheezy/tdemultimedia/debian/control
index b4c0ea921..7ea0661d4 100644
--- a/debian/wheezy/tdemultimedia/debian/control
+++ b/debian/wheezy/tdemultimedia/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Uploaders: Ana Beatriz Guerrero Lopez <ana@debian.org>, Christopher Martin <chrsmrtn@debian.org>, Fathi Boudra <fboudra@free.fr>, Sune Vuorela <debian@pusling.com>
-Build-Depends: cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), autotools-dev, cdparanoia, gawk, gettext, tdelibs14-trinity-dev, libcdparanoia0-dev, libesd0-dev, libflac-dev (>= 1.1.4-1), libgstreamer-plugins-base0.10-dev, libsamplerate0-dev, libspeex-dev (>> 1.1.5), libtag1-dev (>> 1.3.1), libtheora-dev, libxine2-dev | libxine-dev, sharutils, texinfo, libxxf86dga-dev, libxv-dev, libxxf86vm-dev, libakode-dev, libogg-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), quilt, autotools-dev, cdparanoia, gawk, gettext, tdelibs14-trinity-dev, libcdparanoia0-dev, libesd0-dev, libflac-dev (>= 1.1.4-1), libgstreamer-plugins-base0.10-dev, libsamplerate0-dev, libspeex-dev (>> 1.1.5), libtag1-dev (>> 1.3.1), libtheora-dev, libxine2-dev | libxine-dev, sharutils, texinfo, libxxf86dga-dev, libxv-dev, libxxf86vm-dev, libakode-dev, libogg-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: tdemultimedia-trinity
diff --git a/debian/wheezy/tdemultimedia/debian/patches/series b/debian/wheezy/tdemultimedia/debian/patches/series
new file mode 100644
index 000000000..6b3ddc8ec
--- /dev/null
+++ b/debian/wheezy/tdemultimedia/debian/patches/series
@@ -0,0 +1,3 @@
+common/04_am_maintainer_mode.diff
+common/06_disable_no_undefined.diff
+common/kubuntu_01_kdepot.diff
diff --git a/debian/wheezy/tdemultimedia/debian/rules b/debian/wheezy/tdemultimedia/debian/rules
index 4dcb0d43d..1a946ecfc 100755
--- a/debian/wheezy/tdemultimedia/debian/rules
+++ b/debian/wheezy/tdemultimedia/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/debian-qt-kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
diff --git a/debian/wheezy/tdenetwork/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/tdenetwork/debian/cdbs/debian-qt-kde.mk
index f8b76cb04..4a9d74d88 100644
--- a/debian/wheezy/tdenetwork/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/tdenetwork/debian/cdbs/debian-qt-kde.mk
@@ -20,7 +20,9 @@ endif
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/tdenetwork/debian/control b/debian/wheezy/tdenetwork/debian/control
index 410c33725..e4180cb98 100644
--- a/debian/wheezy/tdenetwork/debian/control
+++ b/debian/wheezy/tdenetwork/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Uploaders: Ana Beatriz Guerrero Lopez <ana@debian.org>, Christopher Martin <chrsmrtn@debian.org>, Modestas Vainius <geromanas@mailas.com>, Sarah Hobbs <hobbsee@ubuntu.com>, Sune Vuorela <debian@pusling.com>
-Build-Depends: libasound2-dev, cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), cmake, autotools-dev, docbook-to-man, doxygen, gawk, gettext, tdelibs14-trinity-dev, libgadu-dev, libiw-dev (>> 27+28pre8), libmeanwhile-dev (>= 1.0.2), libslp-dev, libsqlite3-dev, libtiff-dev, libxml2-dev, libxslt1-dev, libxtst-dev, libtqtinterface-doc, sharutils, valgrind [!armel], libxxf86vm-dev, libv4l-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: libasound2-dev, cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), quilt, cmake, autotools-dev, docbook-to-man, doxygen, gawk, gettext, tdelibs14-trinity-dev, libgadu-dev, libiw-dev (>> 27+28pre8), libmeanwhile-dev (>= 1.0.2), libslp-dev, libsqlite3-dev, libtiff-dev, libxml2-dev, libxslt1-dev, libxtst-dev, libtqtinterface-doc, sharutils, valgrind [!armel], libxxf86vm-dev, libv4l-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: tdenetwork-trinity
diff --git a/debian/wheezy/tdenetwork/debian/patches/series b/debian/wheezy/tdenetwork/debian/patches/series
new file mode 100644
index 000000000..6b3ddc8ec
--- /dev/null
+++ b/debian/wheezy/tdenetwork/debian/patches/series
@@ -0,0 +1,3 @@
+common/04_am_maintainer_mode.diff
+common/06_disable_no_undefined.diff
+common/kubuntu_01_kdepot.diff
diff --git a/debian/wheezy/tdenetwork/debian/rules b/debian/wheezy/tdenetwork/debian/rules
index 0ee562691..539d5a557 100755
--- a/debian/wheezy/tdenetwork/debian/rules
+++ b/debian/wheezy/tdenetwork/debian/rules
@@ -15,7 +15,7 @@ export DH_OPTIONS
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
include debian/cdbs/debian-qt-kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include
diff --git a/debian/wheezy/tdepim/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/tdepim/debian/cdbs/debian-qt-kde.mk
index fa0d532f4..ec89756bb 100644
--- a/debian/wheezy/tdepim/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/tdepim/debian/cdbs/debian-qt-kde.mk
@@ -15,7 +15,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/tdepim/debian/control b/debian/wheezy/tdepim/debian/control
index 09d891a98..9b28415cd 100644
--- a/debian/wheezy/tdepim/debian/control
+++ b/debian/wheezy/tdepim/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Uploaders: Ana Beatriz Guerrero Lopez <ana@debian.org>, Josh Metzler <joshdeb@metzlers.org>, Sune Vuorela <debian@pusling.com>
-Build-Depends: libasound2-dev, cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31),
+Build-Depends: libasound2-dev, cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), quilt,
cdparanoia, gawk, gettext, tdelibs14-trinity-dev, bison, byacc, bzip2,
flex, groff-base, libopensync0-dev, libogg-dev,
libboost-dev (>= 1.33.1), libgpgme11-dev, liblockdev1-dev,
diff --git a/debian/wheezy/tdepim/debian/patches/series b/debian/wheezy/tdepim/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/wheezy/tdepim/debian/patches/series
diff --git a/debian/wheezy/tdepim/debian/rules b/debian/wheezy/tdepim/debian/rules
index 48c8b7fa2..e01240a19 100755
--- a/debian/wheezy/tdepim/debian/rules
+++ b/debian/wheezy/tdepim/debian/rules
@@ -11,7 +11,7 @@ export LD_LIBRARY_PATH
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
include debian/cdbs/debian-qt-kde.mk
diff --git a/debian/wheezy/tdesdk/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/tdesdk/debian/cdbs/debian-qt-kde.mk
index f8b76cb04..4a9d74d88 100644
--- a/debian/wheezy/tdesdk/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/tdesdk/debian/cdbs/debian-qt-kde.mk
@@ -20,7 +20,9 @@ endif
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/tdesdk/debian/control b/debian/wheezy/tdesdk/debian/control
index d92d97c2d..088678120 100644
--- a/debian/wheezy/tdesdk/debian/control
+++ b/debian/wheezy/tdesdk/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Uploaders: Ana Beatriz Guerrero Lopez <ana@debian.org>, Fathi Boudra <fboudra@free.fr>, Josh Metzler <joshdeb@metzlers.org>, Sune Vuorela <debian@pusling.com>
-Build-Depends: libasound2-dev, cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), cmake, autotools-dev, gawk,
+Build-Depends: libasound2-dev, cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), quilt, cmake, autotools-dev, gawk,
gettext, pkg-config, tdelibs14-trinity-dev, binutils-dev, bison, flex,
tdepim-trinity-dev, libapr1-dev, libkcal2-trinity-dev,
libktnef1-trinity-dev, libsvn-dev, libdb-dev,
diff --git a/debian/wheezy/tdesdk/debian/patches/series b/debian/wheezy/tdesdk/debian/patches/series
new file mode 100644
index 000000000..6b3ddc8ec
--- /dev/null
+++ b/debian/wheezy/tdesdk/debian/patches/series
@@ -0,0 +1,3 @@
+common/04_am_maintainer_mode.diff
+common/06_disable_no_undefined.diff
+common/kubuntu_01_kdepot.diff
diff --git a/debian/wheezy/tdesdk/debian/rules b/debian/wheezy/tdesdk/debian/rules
index 15a2da318..c4ecc592b 100755
--- a/debian/wheezy/tdesdk/debian/rules
+++ b/debian/wheezy/tdesdk/debian/rules
@@ -3,7 +3,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
include debian/cdbs/debian-qt-kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include
diff --git a/debian/wheezy/tdetoys/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/tdetoys/debian/cdbs/debian-qt-kde.mk
index f8b76cb04..4a9d74d88 100644
--- a/debian/wheezy/tdetoys/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/tdetoys/debian/cdbs/debian-qt-kde.mk
@@ -20,7 +20,9 @@ endif
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/tdetoys/debian/control b/debian/wheezy/tdetoys/debian/control
index 6c3d306f3..d858c4c51 100644
--- a/debian/wheezy/tdetoys/debian/control
+++ b/debian/wheezy/tdetoys/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Uploaders: Ana Beatriz Guerrero Lopez <ana@debian.org>, Christopher Martin <chrsmrtn@debian.org>, Modestas Vainius <geromanas@mailas.com>
-Build-Depends: libasound2-dev, cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), cmake, autotools-dev, tdelibs14-trinity-dev, gawk, gettext, sharutils, automake, autoconf, libtool, libltdl-dev
+Build-Depends: libasound2-dev, cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), quilt, cmake, autotools-dev, tdelibs14-trinity-dev, gawk, gettext, sharutils, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: tdetoys-trinity
diff --git a/debian/wheezy/tdetoys/debian/patches/series b/debian/wheezy/tdetoys/debian/patches/series
new file mode 100644
index 000000000..6b3ddc8ec
--- /dev/null
+++ b/debian/wheezy/tdetoys/debian/patches/series
@@ -0,0 +1,3 @@
+common/04_am_maintainer_mode.diff
+common/06_disable_no_undefined.diff
+common/kubuntu_01_kdepot.diff
diff --git a/debian/wheezy/tdetoys/debian/rules b/debian/wheezy/tdetoys/debian/rules
index da1268d9f..21108293f 100755
--- a/debian/wheezy/tdetoys/debian/rules
+++ b/debian/wheezy/tdetoys/debian/rules
@@ -3,7 +3,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
include debian/cdbs/debian-qt-kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include
diff --git a/debian/wheezy/tdeutils/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/tdeutils/debian/cdbs/debian-qt-kde.mk
index f8b76cb04..4a9d74d88 100644
--- a/debian/wheezy/tdeutils/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/tdeutils/debian/cdbs/debian-qt-kde.mk
@@ -20,7 +20,9 @@ endif
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/tdeutils/debian/control b/debian/wheezy/tdeutils/debian/control
index 009724fc7..eac52ecdd 100644
--- a/debian/wheezy/tdeutils/debian/control
+++ b/debian/wheezy/tdeutils/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Uploaders: Ana Beatriz Guerrero Lopez <ana@debian.org>, Christopher Martin <chrsmrtn@debian.org>, Fathi Boudra <fboudra@free.fr>, Josh Metzler <joshdeb@metzlers.org>, Sune Vuorela <debian@pusling.com>
-Build-Depends: libasound2-dev, cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), cmake, autotools-dev, gawk, gettext, tdelibs14-trinity-dev, tdebase-trinity-dev, libkonq4-trinity-dev, libgmp3-dev, libsnmp-dev, libxpm-dev, python-dev, libxtst-dev, xutils, sharutils, automake, autoconf, libtool, libltdl-dev
+Build-Depends: libasound2-dev, cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), quilt, cmake, autotools-dev, gawk, gettext, tdelibs14-trinity-dev, tdebase-trinity-dev, libkonq4-trinity-dev, libgmp3-dev, libsnmp-dev, libxpm-dev, python-dev, libxtst-dev, xutils, sharutils, automake, autoconf, libtool, libltdl-dev
Build-Depends-Indep: doxygen, libtqtinterface-doc, graphviz, gsfonts-x11, tdelibs14-trinity-doc
Standards-Version: 3.8.4
diff --git a/debian/wheezy/tdeutils/debian/patches/series b/debian/wheezy/tdeutils/debian/patches/series
new file mode 100644
index 000000000..f4421a4c2
--- /dev/null
+++ b/debian/wheezy/tdeutils/debian/patches/series
@@ -0,0 +1,5 @@
+common/04_am_maintainer_mode.diff
+common/06_disable_no_undefined.diff
+common/kubuntu_01_kdepot.diff
+
+01-klaptopdaemon-setuphandler.diff
diff --git a/debian/wheezy/tdeutils/debian/rules b/debian/wheezy/tdeutils/debian/rules
index 19848196e..c7e800362 100755
--- a/debian/wheezy/tdeutils/debian/rules
+++ b/debian/wheezy/tdeutils/debian/rules
@@ -3,7 +3,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
include debian/cdbs/debian-qt-kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include
diff --git a/debian/wheezy/tdevelop/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/tdevelop/debian/cdbs/debian-qt-kde.mk
index f8b76cb04..4a9d74d88 100644
--- a/debian/wheezy/tdevelop/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/tdevelop/debian/cdbs/debian-qt-kde.mk
@@ -20,7 +20,9 @@ endif
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/tdevelop/debian/control b/debian/wheezy/tdevelop/debian/control
index 2e9d698f8..cfc4a38d6 100644
--- a/debian/wheezy/tdevelop/debian/control
+++ b/debian/wheezy/tdevelop/debian/control
@@ -3,7 +3,7 @@ Section: tde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Jeremy Lain <jeremy.laine@m4x.org>
-Build-Depends: cdbs (>= 0.4.38), debhelper (>= 5), cmake, tdelibs14-trinity-dev, gettext, tdelibs14-trinity-doc, libtqtinterface-doc, flex, python, libcvsservice-trinity-dev, groff-base, libsvn-dev, libaprutil1-dev, libdb-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: cdbs (>= 0.4.38), debhelper (>= 5), quilt, cmake, tdelibs14-trinity-dev, gettext, tdelibs14-trinity-doc, libtqtinterface-doc, flex, python, libcvsservice-trinity-dev, groff-base, libsvn-dev, libaprutil1-dev, libdb-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: tdevelop-trinity
diff --git a/debian/wheezy/tdevelop/debian/patches/series b/debian/wheezy/tdevelop/debian/patches/series
new file mode 100644
index 000000000..6b3ddc8ec
--- /dev/null
+++ b/debian/wheezy/tdevelop/debian/patches/series
@@ -0,0 +1,3 @@
+common/04_am_maintainer_mode.diff
+common/06_disable_no_undefined.diff
+common/kubuntu_01_kdepot.diff
diff --git a/debian/wheezy/tdevelop/debian/rules b/debian/wheezy/tdevelop/debian/rules
index 95a3981ea..9d5bcbc87 100755
--- a/debian/wheezy/tdevelop/debian/rules
+++ b/debian/wheezy/tdevelop/debian/rules
@@ -7,7 +7,7 @@ makebuilddir::
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
include debian/cdbs/debian-qt-kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include
diff --git a/debian/wheezy/tdewebdev/debian/cdbs/debian-qt-kde.mk b/debian/wheezy/tdewebdev/debian/cdbs/debian-qt-kde.mk
index 4a11bc028..6b7b16643 100644
--- a/debian/wheezy/tdewebdev/debian/cdbs/debian-qt-kde.mk
+++ b/debian/wheezy/tdewebdev/debian/cdbs/debian-qt-kde.mk
@@ -18,7 +18,9 @@ debian/stamp-cvs-make:
include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
include debian/cdbs/uploaders.mk
+ifndef _cdbs_rules_patchsys_quilt
DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
DEB_KDE_ENABLE_FINAL := yes
DEB_INSTALL_DOCS_ALL :=
diff --git a/debian/wheezy/tdewebdev/debian/control b/debian/wheezy/tdewebdev/debian/control
index c1cf6d923..565d755ad 100644
--- a/debian/wheezy/tdewebdev/debian/control
+++ b/debian/wheezy/tdewebdev/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Uploaders: Adeodato Sim <dato@net.com.org.es>, Ana Beatriz Guerrero Lopez <ana@debian.org>, Armin Berres <trigger+debian@space-based.de>, Sune Vuorela <debian@pusling.com>
-Build-Depends: cdbs (>= 0.4.39-0.1), debhelper (>= 5), autotools-dev, gawk, gettext, tdelibs14-trinity-dev, libreadline5-dev | libreadline6-dev, libxml2-dev, libxslt1-dev, sharutils, texinfo, automake, autoconf, libtool, libltdl-dev
+Build-Depends: cdbs (>= 0.4.39-0.1), debhelper (>= 5), quilt, autotools-dev, gawk, gettext, tdelibs14-trinity-dev, libreadline5-dev | libreadline6-dev, libxml2-dev, libxslt1-dev, sharutils, texinfo, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Homepage: http://trinity.pearsoncomputing.net
diff --git a/debian/wheezy/tdewebdev/debian/patches/series b/debian/wheezy/tdewebdev/debian/patches/series
new file mode 100644
index 000000000..8f8f0bd6b
--- /dev/null
+++ b/debian/wheezy/tdewebdev/debian/patches/series
@@ -0,0 +1 @@
+common/kubuntu_01_kdepot.diff
diff --git a/debian/wheezy/tdewebdev/debian/rules b/debian/wheezy/tdewebdev/debian/rules
index 1e601c5e2..46e21c610 100755
--- a/debian/wheezy/tdewebdev/debian/rules
+++ b/debian/wheezy/tdewebdev/debian/rules
@@ -2,7 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/debian-qt-kde.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde