summaryrefslogtreecommitdiffstats
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
parent1c7a831407fea1378682db5c21b06e792343be06 (diff)
downloadtde-packaging-f24915471ea396c53670df51b2affc4af74373bf.tar.gz
tde-packaging-f24915471ea396c53670df51b2affc4af74373bf.zip
Switch patch system from simple to quilt on Debian and Ubuntu
-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/series (renamed from ubuntu/maverick/applications/adept/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/maverick/applications/bibletime/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/maverick/applications/compizconfig-backend-tdeconfig/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/maverick/applications/digikam/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/maverick/applications/dolphin/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/maverick/applications/fusion-icon/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/maverick/applications/gtk-qt-engine/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/maverick/applications/gwenview/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/maverick/applications/k9copy/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/maverick/applications/kaffeine/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/maverick/applications/katapult/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/maverick/applications/kbfx/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/maverick/applications/kbookreader/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/maverick/applications/kdirstat/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/maverick/applications/kdpkg/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/maverick/applications/kmplayer/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/maverick/applications/knemo/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/maverick/applications/knetstats/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/maverick/applications/koffice/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/maverick/applications/kpowersave.cmake/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/maverick/applications/kpowersave/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/maverick/applications/krusader/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/maverick/applications/ksystemlog/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/maverick/applications/ktorrent/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/maverick/applications/kvirc/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/maverick/applications/kvkbd/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/maverick/applications/piklab/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/maverick/applications/rosegarden/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/maverick/applications/tde-guidance/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/maverick/applications/tde-style-qtcurve/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/maverick/applications/tde-systemsettings/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/maverick/applications/tdeio-apt/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/maverick/applications/tdeio-umountwrapper/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/maverick/applications/tdepowersave/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/maverick/applications/tdesudo/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/maverick/applications/twin-style-crystal/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/maverick/applications/wlassistant/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/maverick/kdevelop.cmake/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/maverick/libraries/libkipi/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/maverick/tdegraphics/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/maverick/tdepim/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/precise/applications/adept/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/precise/applications/bibletime/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/precise/applications/compizconfig-backend-tdeconfig/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/precise/applications/digikam/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/precise/applications/dolphin/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/precise/applications/fusion-icon/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/precise/applications/gtk-qt-engine/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/precise/applications/gwenview/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/precise/applications/k9copy/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/precise/applications/kaffeine/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/precise/applications/katapult/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/precise/applications/kbfx/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/precise/applications/kbookreader/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/precise/applications/kdirstat/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/precise/applications/kdpkg/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/precise/applications/kmplayer/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/precise/applications/knemo/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/precise/applications/knetstats/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/precise/applications/koffice/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/precise/applications/kpowersave.cmake/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/precise/applications/kpowersave/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/precise/applications/krusader/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/precise/applications/ksystemlog/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/precise/applications/ktorrent/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/precise/applications/kvirc/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/precise/applications/kvkbd/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/precise/applications/piklab/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/precise/applications/rosegarden/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/precise/applications/tde-guidance/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/precise/applications/tde-style-qtcurve/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/precise/applications/tde-systemsettings/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/precise/applications/tdeio-apt/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/precise/applications/tdeio-umountwrapper/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/precise/applications/tdepowersave/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/precise/applications/tdesudo/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/precise/applications/twin-style-crystal/debian/patches/.gitignore)0
-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/series (renamed from ubuntu/precise/applications/wlassistant/debian/patches/.gitignore)0
-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
-rw-r--r--ubuntu/maverick/applications/abakus/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/applications/abakus/debian/control2
-rw-r--r--ubuntu/maverick/applications/abakus/debian/patches/series (renamed from ubuntu/precise/kdevelop.cmake/debian/patches/.gitignore)0
-rwxr-xr-xubuntu/maverick/applications/abakus/debian/rules2
-rw-r--r--ubuntu/maverick/applications/adept/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/applications/adept/debian/control2
-rw-r--r--ubuntu/maverick/applications/adept/debian/patches/series (renamed from ubuntu/precise/libraries/libkipi/debian/patches/.gitignore)0
-rwxr-xr-xubuntu/maverick/applications/adept/debian/rules2
-rw-r--r--ubuntu/maverick/applications/amarok.cmake/debian/cdbs/debian-qt-kde.mk2
-rwxr-xr-xubuntu/maverick/applications/amarok.cmake/debian/rules2
-rw-r--r--ubuntu/maverick/applications/amarok/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/applications/basket/debian/control2
-rwxr-xr-xubuntu/maverick/applications/basket/debian/rules6
-rw-r--r--ubuntu/maverick/applications/bibletime/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/applications/bibletime/debian/patches/series (renamed from ubuntu/precise/tdegraphics/debian/patches/.gitignore)0
-rwxr-xr-xubuntu/maverick/applications/bibletime/debian/rules2
-rw-r--r--ubuntu/maverick/applications/compizconfig-backend-tdeconfig/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/applications/compizconfig-backend-tdeconfig/debian/control2
-rw-r--r--ubuntu/maverick/applications/compizconfig-backend-tdeconfig/debian/patches/series (renamed from ubuntu/precise/tdepim/debian/patches/.gitignore)0
-rwxr-xr-xubuntu/maverick/applications/compizconfig-backend-tdeconfig/debian/rules2
-rw-r--r--ubuntu/maverick/applications/digikam/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/applications/digikam/debian/control2
-rw-r--r--ubuntu/maverick/applications/digikam/debian/patches/series (renamed from ubuntu/raring/applications/adept/debian/patches/.gitignore)0
-rwxr-xr-xubuntu/maverick/applications/digikam/debian/rules2
-rw-r--r--ubuntu/maverick/applications/dolphin/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/applications/dolphin/debian/control2
-rw-r--r--ubuntu/maverick/applications/dolphin/debian/patches/series (renamed from ubuntu/raring/applications/bibletime/debian/patches/.gitignore)0
-rwxr-xr-xubuntu/maverick/applications/dolphin/debian/rules2
-rw-r--r--ubuntu/maverick/applications/filelight-l10n/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/applications/filelight-l10n/debian/control2
-rw-r--r--ubuntu/maverick/applications/filelight-l10n/debian/patches/series (renamed from ubuntu/raring/applications/compizconfig-backend-tdeconfig/debian/patches/.gitignore)0
-rwxr-xr-xubuntu/maverick/applications/filelight-l10n/debian/rules2
-rw-r--r--ubuntu/maverick/applications/filelight/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/applications/fusion-icon/debian/control2
-rw-r--r--ubuntu/maverick/applications/fusion-icon/debian/patches/series (renamed from ubuntu/raring/applications/digikam/debian/patches/.gitignore)0
-rwxr-xr-xubuntu/maverick/applications/fusion-icon/debian/rules2
-rw-r--r--ubuntu/maverick/applications/gtk-qt-engine/debian/control2
-rw-r--r--ubuntu/maverick/applications/gtk-qt-engine/debian/patches/series (renamed from ubuntu/raring/applications/dolphin/debian/patches/.gitignore)0
-rwxr-xr-xubuntu/maverick/applications/gtk-qt-engine/debian/rules2
-rw-r--r--ubuntu/maverick/applications/gtk3-tqt-engine/debian/control2
-rw-r--r--ubuntu/maverick/applications/gtk3-tqt-engine/debian/patches/series (renamed from ubuntu/raring/applications/fusion-icon/debian/patches/.gitignore)0
-rwxr-xr-xubuntu/maverick/applications/gtk3-tqt-engine/debian/rules2
-rw-r--r--ubuntu/maverick/applications/gwenview-i18n/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/applications/gwenview-i18n/debian/patches/series (renamed from ubuntu/raring/applications/gtk-qt-engine/debian/patches/.gitignore)0
-rwxr-xr-xubuntu/maverick/applications/gwenview-i18n/debian/rules2
-rw-r--r--ubuntu/maverick/applications/gwenview/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/applications/gwenview/debian/control2
-rw-r--r--ubuntu/maverick/applications/gwenview/debian/patches/series (renamed from ubuntu/raring/applications/gwenview/debian/patches/.gitignore)0
-rwxr-xr-xubuntu/maverick/applications/gwenview/debian/rules2
-rw-r--r--ubuntu/maverick/applications/k3b/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/applications/k3b/debian/control2
-rw-r--r--ubuntu/maverick/applications/k3b/debian/patches/series1
-rwxr-xr-xubuntu/maverick/applications/k3b/debian/rules2
-rw-r--r--ubuntu/maverick/applications/k9copy/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/applications/k9copy/debian/control2
-rw-r--r--ubuntu/maverick/applications/k9copy/debian/patches/series (renamed from ubuntu/raring/applications/k9copy/debian/patches/.gitignore)0
-rwxr-xr-xubuntu/maverick/applications/k9copy/debian/rules2
-rw-r--r--ubuntu/maverick/applications/kaffeine/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/applications/kaffeine/debian/control2
-rw-r--r--ubuntu/maverick/applications/kaffeine/debian/patches/series (renamed from ubuntu/raring/applications/kaffeine/debian/patches/.gitignore)0
-rwxr-xr-xubuntu/maverick/applications/kaffeine/debian/rules2
-rw-r--r--ubuntu/maverick/applications/kasablanca/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/applications/kasablanca/debian/control2
-rw-r--r--ubuntu/maverick/applications/kasablanca/debian/patches/series2
-rwxr-xr-xubuntu/maverick/applications/kasablanca/debian/rules2
-rw-r--r--ubuntu/maverick/applications/katapult/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/applications/katapult/debian/control2
-rw-r--r--ubuntu/maverick/applications/katapult/debian/patches/series (renamed from ubuntu/raring/applications/katapult/debian/patches/.gitignore)0
-rwxr-xr-xubuntu/maverick/applications/katapult/debian/rules2
-rw-r--r--ubuntu/maverick/applications/kbarcode/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/applications/kbfx/debian/control2
-rw-r--r--ubuntu/maverick/applications/kbfx/debian/patches/series (renamed from ubuntu/raring/applications/kbfx/debian/patches/.gitignore)0
-rwxr-xr-xubuntu/maverick/applications/kbfx/debian/rules2
-rw-r--r--ubuntu/maverick/applications/kbibtex/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/applications/kbiff/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/applications/kbookreader/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/applications/kbookreader/debian/control2
-rw-r--r--ubuntu/maverick/applications/kbookreader/debian/patches/series (renamed from ubuntu/raring/applications/kbookreader/debian/patches/.gitignore)0
-rwxr-xr-xubuntu/maverick/applications/kbookreader/debian/rules2
-rw-r--r--ubuntu/maverick/applications/kcmautostart/debian/control2
-rw-r--r--ubuntu/maverick/applications/kcmautostart/debian/patches/series (renamed from ubuntu/raring/applications/kdirstat/debian/patches/.gitignore)0
-rwxr-xr-xubuntu/maverick/applications/kcmautostart/debian/rules2
-rw-r--r--ubuntu/maverick/applications/kcmldap/debian/control2
-rw-r--r--ubuntu/maverick/applications/kcmldap/debian/patches/series (renamed from ubuntu/raring/applications/kdpkg/debian/patches/.gitignore)0
-rwxr-xr-xubuntu/maverick/applications/kcmldap/debian/rules2
-rw-r--r--ubuntu/maverick/applications/kcmldapcontroller/debian/control2
-rw-r--r--ubuntu/maverick/applications/kcmldapcontroller/debian/patches/series (renamed from ubuntu/raring/applications/kmplayer/debian/patches/.gitignore)0
-rwxr-xr-xubuntu/maverick/applications/kcmldapcontroller/debian/rules2
-rw-r--r--ubuntu/maverick/applications/kcmldapmanager/debian/control2
-rw-r--r--ubuntu/maverick/applications/kcmldapmanager/debian/patches/series (renamed from ubuntu/raring/applications/knemo/debian/patches/.gitignore)0
-rwxr-xr-xubuntu/maverick/applications/kcmldapmanager/debian/rules2
-rw-r--r--ubuntu/maverick/applications/kcpuload/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/applications/kdbg/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/applications/kdbusnotification/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/applications/kdiff3/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/applications/kdirstat/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/applications/kdirstat/debian/control2
-rw-r--r--ubuntu/maverick/applications/kdirstat/debian/patches/series (renamed from ubuntu/raring/applications/knetstats/debian/patches/.gitignore)0
-rwxr-xr-xubuntu/maverick/applications/kdirstat/debian/rules2
-rw-r--r--ubuntu/maverick/applications/kdpkg/debian/control2
-rw-r--r--ubuntu/maverick/applications/kdpkg/debian/patches/series (renamed from ubuntu/raring/applications/koffice/debian/patches/.gitignore)0
-rwxr-xr-xubuntu/maverick/applications/kdpkg/debian/rules2
-rw-r--r--ubuntu/maverick/applications/keep/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/applications/keep/debian/control2
-rw-r--r--ubuntu/maverick/applications/keep/debian/patches/series1
-rwxr-xr-xubuntu/maverick/applications/keep/debian/rules2
-rw-r--r--ubuntu/maverick/applications/kerberostray/debian/control2
-rw-r--r--ubuntu/maverick/applications/kerberostray/debian/patches/series (renamed from ubuntu/raring/applications/kpowersave.cmake/debian/patches/.gitignore)0
-rwxr-xr-xubuntu/maverick/applications/kerberostray/debian/rules2
-rw-r--r--ubuntu/maverick/applications/kerry/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/applications/kerry/debian/control2
-rw-r--r--ubuntu/maverick/applications/kerry/debian/patches/kubuntu_03_no_beagle_autostart.patch9
-rw-r--r--ubuntu/maverick/applications/kerry/debian/patches/series3
-rwxr-xr-xubuntu/maverick/applications/kerry/debian/rules2
-rw-r--r--ubuntu/maverick/applications/kftpgrabber/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/applications/kftpgrabber/debian/control2
-rw-r--r--ubuntu/maverick/applications/kftpgrabber/debian/patches/series (renamed from ubuntu/raring/applications/kpowersave/debian/patches/.gitignore)0
-rwxr-xr-xubuntu/maverick/applications/kftpgrabber/debian/rules2
-rw-r--r--ubuntu/maverick/applications/kgtk-qt3/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/applications/kgtk-qt3/debian/control2
-rw-r--r--ubuntu/maverick/applications/kgtk-qt3/debian/patches/series (renamed from ubuntu/raring/applications/krusader/debian/patches/.gitignore)0
-rwxr-xr-xubuntu/maverick/applications/kgtk-qt3/debian/rules2
-rw-r--r--ubuntu/maverick/applications/kile/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/applications/kiosktool/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/applications/kiosktool/debian/control2
-rw-r--r--ubuntu/maverick/applications/kiosktool/debian/patches/series2
-rwxr-xr-xubuntu/maverick/applications/kiosktool/debian/rules2
-rw-r--r--ubuntu/maverick/applications/kkbswitch/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/applications/klcddimmer/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/applications/kmplayer/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/applications/kmplayer/debian/control2
-rw-r--r--ubuntu/maverick/applications/kmplayer/debian/patches/series (renamed from ubuntu/raring/applications/ksystemlog/debian/patches/.gitignore)0
-rwxr-xr-xubuntu/maverick/applications/kmplayer/debian/rules2
-rw-r--r--ubuntu/maverick/applications/kmymoney/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/applications/kmymoney/debian/control2
-rw-r--r--ubuntu/maverick/applications/kmymoney/debian/patches/series (renamed from ubuntu/raring/applications/ktorrent/debian/patches/.gitignore)0
-rwxr-xr-xubuntu/maverick/applications/kmymoney/debian/rules2
-rw-r--r--ubuntu/maverick/applications/knemo/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/applications/knemo/debian/control2
-rw-r--r--ubuntu/maverick/applications/knemo/debian/patches/series (renamed from ubuntu/raring/applications/kvirc/debian/patches/.gitignore)0
-rwxr-xr-xubuntu/maverick/applications/knemo/debian/rules2
-rw-r--r--ubuntu/maverick/applications/knetstats/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/applications/knetstats/debian/control2
-rw-r--r--ubuntu/maverick/applications/knetstats/debian/patches/series (renamed from ubuntu/raring/applications/kvkbd/debian/patches/.gitignore)0
-rwxr-xr-xubuntu/maverick/applications/knetstats/debian/rules2
-rw-r--r--ubuntu/maverick/applications/knetworkmanager.cmake/debian/cdbs/debian-qt-kde.mk2
-rwxr-xr-xubuntu/maverick/applications/knetworkmanager.cmake/debian/rules2
-rw-r--r--ubuntu/maverick/applications/knetworkmanager8/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/applications/knmap/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/applications/knmap/debian/control2
-rw-r--r--ubuntu/maverick/applications/knmap/debian/patches/series (renamed from ubuntu/raring/applications/piklab/debian/patches/.gitignore)0
-rwxr-xr-xubuntu/maverick/applications/knmap/debian/rules2
-rw-r--r--ubuntu/maverick/applications/koffice/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/applications/koffice/debian/control2
-rw-r--r--ubuntu/maverick/applications/koffice/debian/patches/series (renamed from ubuntu/raring/applications/rosegarden/debian/patches/.gitignore)0
-rwxr-xr-xubuntu/maverick/applications/koffice/debian/rules2
-rw-r--r--ubuntu/maverick/applications/konversation/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/applications/kopete-otr/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/applications/kpilot/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/applications/kpowersave.cmake/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/applications/kpowersave.cmake/debian/control2
-rw-r--r--ubuntu/maverick/applications/kpowersave.cmake/debian/patches/series (renamed from ubuntu/raring/applications/tde-guidance/debian/patches/.gitignore)0
-rwxr-xr-xubuntu/maverick/applications/kpowersave.cmake/debian/rules2
-rw-r--r--ubuntu/maverick/applications/kpowersave/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/applications/kpowersave/debian/control2
-rw-r--r--ubuntu/maverick/applications/kpowersave/debian/patches/series (renamed from ubuntu/raring/applications/tde-style-qtcurve/debian/patches/.gitignore)0
-rwxr-xr-xubuntu/maverick/applications/kpowersave/debian/rules2
-rw-r--r--ubuntu/maverick/applications/krecipes/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/applications/krename/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/applications/krename/debian/control2
-rw-r--r--ubuntu/maverick/applications/krename/debian/patches/series (renamed from ubuntu/raring/applications/tde-systemsettings/debian/patches/.gitignore)0
-rwxr-xr-xubuntu/maverick/applications/krename/debian/rules2
-rw-r--r--ubuntu/maverick/applications/krusader/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/applications/krusader/debian/control2
-rw-r--r--ubuntu/maverick/applications/krusader/debian/patches/series (renamed from ubuntu/raring/applications/tdeio-apt/debian/patches/.gitignore)0
-rwxr-xr-xubuntu/maverick/applications/krusader/debian/rules2
-rw-r--r--ubuntu/maverick/applications/ksensors/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/applications/ksensors/debian/control2
-rw-r--r--ubuntu/maverick/applications/ksensors/debian/patches/series (renamed from ubuntu/raring/applications/tdeio-umountwrapper/debian/patches/.gitignore)0
-rwxr-xr-xubuntu/maverick/applications/ksensors/debian/rules2
-rw-r--r--ubuntu/maverick/applications/kshowmail/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/applications/kshutdown/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/applications/ksystemlog/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/applications/ksystemlog/debian/control2
-rw-r--r--ubuntu/maverick/applications/ksystemlog/debian/patches/series (renamed from ubuntu/raring/applications/tdepowersave/debian/patches/.gitignore)0
-rwxr-xr-xubuntu/maverick/applications/ksystemlog/debian/rules2
-rw-r--r--ubuntu/maverick/applications/ktorrent/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/applications/ktorrent/debian/control2
-rw-r--r--ubuntu/maverick/applications/ktorrent/debian/patches/series (renamed from ubuntu/raring/applications/tdesudo/debian/patches/.gitignore)0
-rwxr-xr-xubuntu/maverick/applications/ktorrent/debian/rules2
-rw-r--r--ubuntu/maverick/applications/kuickshow/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/applications/kuickshow/debian/control2
-rw-r--r--ubuntu/maverick/applications/kuickshow/debian/patches/series (renamed from ubuntu/raring/applications/twin-style-crystal/debian/patches/.gitignore)0
-rwxr-xr-xubuntu/maverick/applications/kuickshow/debian/rules2
-rw-r--r--ubuntu/maverick/applications/kvirc/debian/control2
-rw-r--r--ubuntu/maverick/applications/kvirc/debian/patches/series (renamed from ubuntu/raring/applications/wlassistant/debian/patches/.gitignore)0
-rwxr-xr-xubuntu/maverick/applications/kvirc/debian/rules2
-rw-r--r--ubuntu/maverick/applications/kvkbd/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/applications/kvkbd/debian/control2
-rw-r--r--ubuntu/maverick/applications/kvkbd/debian/patches/series (renamed from ubuntu/raring/kdevelop.cmake/debian/patches/.gitignore)0
-rwxr-xr-xubuntu/maverick/applications/kvkbd/debian/rules2
-rw-r--r--ubuntu/maverick/applications/mplayerthumbs/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/applications/piklab/debian/control2
-rw-r--r--ubuntu/maverick/applications/piklab/debian/patches/series (renamed from ubuntu/raring/libraries/libkipi/debian/patches/.gitignore)0
-rwxr-xr-xubuntu/maverick/applications/piklab/debian/rules9
-rw-r--r--ubuntu/maverick/applications/qt4-tqt-theme-engine/debian/control2
-rw-r--r--ubuntu/maverick/applications/qt4-tqt-theme-engine/debian/patches/series (renamed from ubuntu/raring/tdegraphics/debian/patches/.gitignore)0
-rwxr-xr-xubuntu/maverick/applications/qt4-tqt-theme-engine/debian/rules2
-rw-r--r--ubuntu/maverick/applications/rosegarden/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/applications/rosegarden/debian/control2
-rw-r--r--ubuntu/maverick/applications/rosegarden/debian/patches/series (renamed from ubuntu/raring/tdepim/debian/patches/.gitignore)0
-rwxr-xr-xubuntu/maverick/applications/rosegarden/debian/rules2
-rw-r--r--ubuntu/maverick/applications/smb4k/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/applications/soundkonverter/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/applications/tde-guidance/debian/control2
-rw-r--r--ubuntu/maverick/applications/tde-guidance/debian/patches/series0
-rwxr-xr-xubuntu/maverick/applications/tde-guidance/debian/rules2
-rw-r--r--ubuntu/maverick/applications/tde-style-qtcurve/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/applications/tde-style-qtcurve/debian/control2
-rw-r--r--ubuntu/maverick/applications/tde-style-qtcurve/debian/patches/series0
-rwxr-xr-xubuntu/maverick/applications/tde-style-qtcurve/debian/rules2
-rw-r--r--ubuntu/maverick/applications/tde-systemsettings/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/applications/tde-systemsettings/debian/control2
-rw-r--r--ubuntu/maverick/applications/tde-systemsettings/debian/patches/series0
-rwxr-xr-xubuntu/maverick/applications/tde-systemsettings/debian/rules2
-rw-r--r--ubuntu/maverick/applications/tdeio-apt/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/applications/tdeio-apt/debian/control2
-rw-r--r--ubuntu/maverick/applications/tdeio-apt/debian/patches/series0
-rwxr-xr-xubuntu/maverick/applications/tdeio-apt/debian/rules2
-rw-r--r--ubuntu/maverick/applications/tdeio-ftps/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/applications/tdeio-locate/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/applications/tdeio-locate/debian/control2
-rw-r--r--ubuntu/maverick/applications/tdeio-locate/debian/patches/series0
-rwxr-xr-xubuntu/maverick/applications/tdeio-locate/debian/rules2
-rw-r--r--ubuntu/maverick/applications/tdeio-umountwrapper/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/applications/tdeio-umountwrapper/debian/control2
-rw-r--r--ubuntu/maverick/applications/tdeio-umountwrapper/debian/patches/series0
-rwxr-xr-xubuntu/maverick/applications/tdeio-umountwrapper/debian/rules2
-rw-r--r--ubuntu/maverick/applications/tdenetworkmanager/debian/cdbs/debian-qt-kde.mk2
-rwxr-xr-xubuntu/maverick/applications/tdenetworkmanager/debian/rules2
-rw-r--r--ubuntu/maverick/applications/tdepowersave/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/applications/tdepowersave/debian/control2
-rw-r--r--ubuntu/maverick/applications/tdepowersave/debian/patches/series0
-rwxr-xr-xubuntu/maverick/applications/tdepowersave/debian/rules2
-rw-r--r--ubuntu/maverick/applications/tdesudo/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/applications/tdesudo/debian/control2
-rw-r--r--ubuntu/maverick/applications/tdesudo/debian/patches/series0
-rwxr-xr-xubuntu/maverick/applications/tdesudo/debian/rules2
-rw-r--r--ubuntu/maverick/applications/tdesvn/debian/cdbs/debian-qt-kde.mk2
-rwxr-xr-xubuntu/maverick/applications/tdesvn/debian/rules2
-rw-r--r--ubuntu/maverick/applications/tdmtheme/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/applications/tork/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/applications/twin-style-crystal/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/applications/twin-style-crystal/debian/control2
-rw-r--r--ubuntu/maverick/applications/twin-style-crystal/debian/patches/series0
-rwxr-xr-xubuntu/maverick/applications/twin-style-crystal/debian/rules2
-rw-r--r--ubuntu/maverick/applications/wlassistant/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/applications/wlassistant/debian/control2
-rw-r--r--ubuntu/maverick/applications/wlassistant/debian/patches/series0
-rwxr-xr-xubuntu/maverick/applications/wlassistant/debian/rules2
-rw-r--r--ubuntu/maverick/applications/yakuake/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/dependencies/arts/debian/control2
-rw-r--r--ubuntu/maverick/dependencies/arts/debian/patches/series1
-rwxr-xr-xubuntu/maverick/dependencies/arts/debian/rules2
-rw-r--r--ubuntu/maverick/dependencies/dbus-1-tqt/debian/control2
-rw-r--r--ubuntu/maverick/dependencies/dbus-1-tqt/debian/patches/series0
-rwxr-xr-xubuntu/maverick/dependencies/dbus-1-tqt/debian/rules2
-rw-r--r--ubuntu/maverick/dependencies/dbus-tqt/debian/control2
-rw-r--r--ubuntu/maverick/dependencies/dbus-tqt/debian/patches/series0
-rwxr-xr-xubuntu/maverick/dependencies/dbus-tqt/debian/rules2
-rw-r--r--ubuntu/maverick/dependencies/libart-lgpl/debian/control2
-rw-r--r--ubuntu/maverick/dependencies/libart-lgpl/debian/patches/series0
-rwxr-xr-xubuntu/maverick/dependencies/libart-lgpl/debian/rules2
-rw-r--r--ubuntu/maverick/dependencies/libcaldav/debian/control2
-rw-r--r--ubuntu/maverick/dependencies/libcaldav/debian/patches/series0
-rwxr-xr-xubuntu/maverick/dependencies/libcaldav/debian/rules6
-rw-r--r--ubuntu/maverick/dependencies/libcarddav/debian/control2
-rw-r--r--ubuntu/maverick/dependencies/libcarddav/debian/patches/series0
-rwxr-xr-xubuntu/maverick/dependencies/libcarddav/debian/rules6
-rw-r--r--ubuntu/maverick/dependencies/python-tqt/debian/patches/series2
-rw-r--r--ubuntu/maverick/dependencies/qt3/debian/control2
-rwxr-xr-xubuntu/maverick/dependencies/qt3/debian/rules8
-rw-r--r--ubuntu/maverick/dependencies/sip4-tqt/debian/patches/series4
-rw-r--r--ubuntu/maverick/dependencies/sip4-tqt/debian/patches/siputils_objdir_module_fix.diff10
-rw-r--r--ubuntu/maverick/dependencies/tqt3/debian/control2
-rwxr-xr-xubuntu/maverick/dependencies/tqt3/debian/rules8
-rw-r--r--ubuntu/maverick/dependencies/tqtinterface/debian/control2
-rw-r--r--ubuntu/maverick/dependencies/tqtinterface/debian/patches/series0
-rwxr-xr-xubuntu/maverick/dependencies/tqtinterface/debian/rules2
-rw-r--r--ubuntu/maverick/kdegraphics.automake/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/kdegraphics.automake/debian/control2
-rw-r--r--ubuntu/maverick/kdegraphics.automake/debian/patches/series3
-rwxr-xr-xubuntu/maverick/kdegraphics.automake/debian/rules2
-rw-r--r--ubuntu/maverick/kdevelop.cmake/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/kdevelop.cmake/debian/control2
-rw-r--r--ubuntu/maverick/kdevelop.cmake/debian/patches/series0
-rwxr-xr-xubuntu/maverick/kdevelop.cmake/debian/rules2
-rw-r--r--ubuntu/maverick/libraries/kipi-plugins/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/libraries/libkdcraw/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/libraries/libkexiv2/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/libraries/libkipi/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/libraries/libkipi/debian/control2
-rw-r--r--ubuntu/maverick/libraries/libkipi/debian/patches/series0
-rwxr-xr-xubuntu/maverick/libraries/libkipi/debian/rules2
-rw-r--r--ubuntu/maverick/libraries/libtdeldap/debian/control2
-rw-r--r--ubuntu/maverick/libraries/libtdeldap/debian/patches/series0
-rwxr-xr-xubuntu/maverick/libraries/libtdeldap/debian/rules2
-rw-r--r--ubuntu/maverick/tdeaccessibility/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/tdeaccessibility/debian/control2
-rw-r--r--ubuntu/maverick/tdeaccessibility/debian/patches/series3
-rwxr-xr-xubuntu/maverick/tdeaccessibility/debian/rules2
-rw-r--r--ubuntu/maverick/tdeaddons/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/tdeaddons/debian/control2
-rw-r--r--ubuntu/maverick/tdeaddons/debian/patches/series3
-rwxr-xr-xubuntu/maverick/tdeaddons/debian/rules2
-rw-r--r--ubuntu/maverick/tdeadmin/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/tdeadmin/debian/control2
-rw-r--r--ubuntu/maverick/tdeadmin/debian/patches/series3
-rwxr-xr-xubuntu/maverick/tdeadmin/debian/rules2
-rw-r--r--ubuntu/maverick/tdeartwork/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/tdeartwork/debian/control2
-rw-r--r--ubuntu/maverick/tdeartwork/debian/patches/series0
-rwxr-xr-xubuntu/maverick/tdeartwork/debian/rules2
-rw-r--r--ubuntu/maverick/tdebase/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/tdebase/debian/control2
-rw-r--r--ubuntu/maverick/tdebase/debian/patches/kubuntu_13_hide_konsolesu_menu_entry.diff10
-rw-r--r--ubuntu/maverick/tdebase/debian/patches/series21
-rwxr-xr-xubuntu/maverick/tdebase/debian/rules2
-rw-r--r--ubuntu/maverick/tdebindings/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/tdeedu/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/tdeedu/debian/control2
-rw-r--r--ubuntu/maverick/tdeedu/debian/patches/series3
-rwxr-xr-xubuntu/maverick/tdeedu/debian/rules2
-rw-r--r--ubuntu/maverick/tdegames/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/tdegames/debian/control2
-rw-r--r--ubuntu/maverick/tdegames/debian/patches/series3
-rwxr-xr-xubuntu/maverick/tdegames/debian/rules2
-rw-r--r--ubuntu/maverick/tdegraphics/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/tdegraphics/debian/control2
-rw-r--r--ubuntu/maverick/tdegraphics/debian/patches/series3
-rwxr-xr-xubuntu/maverick/tdegraphics/debian/rules2
-rw-r--r--ubuntu/maverick/tdelibs/debian/control2
-rw-r--r--ubuntu/maverick/tdelibs/debian/patches/series1
-rwxr-xr-xubuntu/maverick/tdelibs/debian/rules2
-rw-r--r--ubuntu/maverick/tdemultimedia/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/tdemultimedia/debian/control2
-rw-r--r--ubuntu/maverick/tdemultimedia/debian/patches/series3
-rwxr-xr-xubuntu/maverick/tdemultimedia/debian/rules2
-rw-r--r--ubuntu/maverick/tdenetwork/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/tdenetwork/debian/control2
-rw-r--r--ubuntu/maverick/tdenetwork/debian/patches/series3
-rwxr-xr-xubuntu/maverick/tdenetwork/debian/rules2
-rw-r--r--ubuntu/maverick/tdepim/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/tdepim/debian/control2
-rw-r--r--ubuntu/maverick/tdepim/debian/patches/series0
-rwxr-xr-xubuntu/maverick/tdepim/debian/rules2
-rw-r--r--ubuntu/maverick/tdesdk/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/tdesdk/debian/control2
-rw-r--r--ubuntu/maverick/tdesdk/debian/patches/series3
-rwxr-xr-xubuntu/maverick/tdesdk/debian/rules2
-rw-r--r--ubuntu/maverick/tdetoys/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/tdetoys/debian/control2
-rw-r--r--ubuntu/maverick/tdetoys/debian/patches/series3
-rwxr-xr-xubuntu/maverick/tdetoys/debian/rules2
-rw-r--r--ubuntu/maverick/tdeutils/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/tdeutils/debian/control2
-rw-r--r--ubuntu/maverick/tdeutils/debian/patches/series5
-rwxr-xr-xubuntu/maverick/tdeutils/debian/rules2
-rw-r--r--ubuntu/maverick/tdevelop/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/tdevelop/debian/control2
-rw-r--r--ubuntu/maverick/tdevelop/debian/patches/series3
-rwxr-xr-xubuntu/maverick/tdevelop/debian/rules2
-rw-r--r--ubuntu/maverick/tdewebdev/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/maverick/tdewebdev/debian/control2
-rw-r--r--ubuntu/maverick/tdewebdev/debian/patches/series1
-rwxr-xr-xubuntu/maverick/tdewebdev/debian/rules2
-rw-r--r--ubuntu/precise/applications/abakus/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/applications/abakus/debian/control2
-rw-r--r--ubuntu/precise/applications/abakus/debian/patches/series0
-rwxr-xr-xubuntu/precise/applications/abakus/debian/rules2
-rw-r--r--ubuntu/precise/applications/adept/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/applications/adept/debian/control2
-rw-r--r--ubuntu/precise/applications/adept/debian/patches/series0
-rwxr-xr-xubuntu/precise/applications/adept/debian/rules2
-rw-r--r--ubuntu/precise/applications/amarok.cmake/debian/cdbs/debian-qt-kde.mk2
-rwxr-xr-xubuntu/precise/applications/amarok.cmake/debian/rules2
-rw-r--r--ubuntu/precise/applications/amarok/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/applications/basket/debian/control2
-rwxr-xr-xubuntu/precise/applications/basket/debian/rules6
-rw-r--r--ubuntu/precise/applications/bibletime/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/applications/bibletime/debian/patches/series0
-rwxr-xr-xubuntu/precise/applications/bibletime/debian/rules2
-rw-r--r--ubuntu/precise/applications/compizconfig-backend-tdeconfig/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/applications/compizconfig-backend-tdeconfig/debian/control2
-rw-r--r--ubuntu/precise/applications/compizconfig-backend-tdeconfig/debian/patches/series0
-rwxr-xr-xubuntu/precise/applications/compizconfig-backend-tdeconfig/debian/rules2
-rw-r--r--ubuntu/precise/applications/digikam/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/applications/digikam/debian/control2
-rw-r--r--ubuntu/precise/applications/digikam/debian/patches/series0
-rwxr-xr-xubuntu/precise/applications/digikam/debian/rules2
-rw-r--r--ubuntu/precise/applications/dolphin/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/applications/dolphin/debian/control2
-rw-r--r--ubuntu/precise/applications/dolphin/debian/patches/series0
-rwxr-xr-xubuntu/precise/applications/dolphin/debian/rules2
-rw-r--r--ubuntu/precise/applications/filelight-l10n/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/applications/filelight-l10n/debian/control2
-rw-r--r--ubuntu/precise/applications/filelight-l10n/debian/patches/series0
-rwxr-xr-xubuntu/precise/applications/filelight-l10n/debian/rules2
-rw-r--r--ubuntu/precise/applications/filelight/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/applications/fusion-icon/debian/control2
-rw-r--r--ubuntu/precise/applications/fusion-icon/debian/patches/series0
-rwxr-xr-xubuntu/precise/applications/fusion-icon/debian/rules2
-rw-r--r--ubuntu/precise/applications/gtk-qt-engine/debian/control2
-rw-r--r--ubuntu/precise/applications/gtk-qt-engine/debian/patches/series0
-rwxr-xr-xubuntu/precise/applications/gtk-qt-engine/debian/rules2
-rw-r--r--ubuntu/precise/applications/gtk3-tqt-engine/debian/control2
-rw-r--r--ubuntu/precise/applications/gtk3-tqt-engine/debian/patches/series0
-rwxr-xr-xubuntu/precise/applications/gtk3-tqt-engine/debian/rules2
-rw-r--r--ubuntu/precise/applications/gwenview-i18n/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/applications/gwenview-i18n/debian/patches/series0
-rwxr-xr-xubuntu/precise/applications/gwenview-i18n/debian/rules2
-rw-r--r--ubuntu/precise/applications/gwenview/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/applications/gwenview/debian/control2
-rw-r--r--ubuntu/precise/applications/gwenview/debian/patches/series0
-rwxr-xr-xubuntu/precise/applications/gwenview/debian/rules2
-rw-r--r--ubuntu/precise/applications/k3b/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/applications/k3b/debian/control2
-rw-r--r--ubuntu/precise/applications/k3b/debian/patches/series1
-rwxr-xr-xubuntu/precise/applications/k3b/debian/rules2
-rw-r--r--ubuntu/precise/applications/k9copy/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/applications/k9copy/debian/control2
-rw-r--r--ubuntu/precise/applications/k9copy/debian/patches/series0
-rwxr-xr-xubuntu/precise/applications/k9copy/debian/rules2
-rw-r--r--ubuntu/precise/applications/kaffeine/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/applications/kaffeine/debian/control2
-rw-r--r--ubuntu/precise/applications/kaffeine/debian/patches/series0
-rwxr-xr-xubuntu/precise/applications/kaffeine/debian/rules2
-rw-r--r--ubuntu/precise/applications/kasablanca/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/applications/kasablanca/debian/control2
-rw-r--r--ubuntu/precise/applications/kasablanca/debian/patches/series2
-rwxr-xr-xubuntu/precise/applications/kasablanca/debian/rules2
-rw-r--r--ubuntu/precise/applications/katapult/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/applications/katapult/debian/control2
-rw-r--r--ubuntu/precise/applications/katapult/debian/patches/series0
-rwxr-xr-xubuntu/precise/applications/katapult/debian/rules2
-rw-r--r--ubuntu/precise/applications/kbarcode/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/applications/kbfx/debian/control2
-rw-r--r--ubuntu/precise/applications/kbfx/debian/patches/series0
-rwxr-xr-xubuntu/precise/applications/kbfx/debian/rules2
-rw-r--r--ubuntu/precise/applications/kbibtex/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/applications/kbiff/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/applications/kbookreader/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/applications/kbookreader/debian/control2
-rw-r--r--ubuntu/precise/applications/kbookreader/debian/patches/series0
-rwxr-xr-xubuntu/precise/applications/kbookreader/debian/rules2
-rw-r--r--ubuntu/precise/applications/kcmautostart/debian/control2
-rw-r--r--ubuntu/precise/applications/kcmautostart/debian/patches/series0
-rwxr-xr-xubuntu/precise/applications/kcmautostart/debian/rules2
-rw-r--r--ubuntu/precise/applications/kcmldap/debian/control2
-rw-r--r--ubuntu/precise/applications/kcmldap/debian/patches/series0
-rwxr-xr-xubuntu/precise/applications/kcmldap/debian/rules2
-rw-r--r--ubuntu/precise/applications/kcmldapcontroller/debian/control2
-rw-r--r--ubuntu/precise/applications/kcmldapcontroller/debian/patches/series0
-rwxr-xr-xubuntu/precise/applications/kcmldapcontroller/debian/rules2
-rw-r--r--ubuntu/precise/applications/kcmldapmanager/debian/control2
-rw-r--r--ubuntu/precise/applications/kcmldapmanager/debian/patches/series0
-rwxr-xr-xubuntu/precise/applications/kcmldapmanager/debian/rules2
-rw-r--r--ubuntu/precise/applications/kcpuload/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/applications/kdbg/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/applications/kdbusnotification/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/applications/kdiff3/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/applications/kdirstat/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/applications/kdirstat/debian/control2
-rw-r--r--ubuntu/precise/applications/kdirstat/debian/patches/series0
-rwxr-xr-xubuntu/precise/applications/kdirstat/debian/rules2
-rw-r--r--ubuntu/precise/applications/kdpkg/debian/control2
-rw-r--r--ubuntu/precise/applications/kdpkg/debian/patches/series0
-rwxr-xr-xubuntu/precise/applications/kdpkg/debian/rules2
-rw-r--r--ubuntu/precise/applications/keep/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/applications/keep/debian/control2
-rw-r--r--ubuntu/precise/applications/keep/debian/patches/series1
-rwxr-xr-xubuntu/precise/applications/keep/debian/rules2
-rw-r--r--ubuntu/precise/applications/kerberostray/debian/control2
-rw-r--r--ubuntu/precise/applications/kerberostray/debian/patches/series0
-rwxr-xr-xubuntu/precise/applications/kerberostray/debian/rules2
-rw-r--r--ubuntu/precise/applications/kerry/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/applications/kerry/debian/control2
-rw-r--r--ubuntu/precise/applications/kerry/debian/patches/kubuntu_03_no_beagle_autostart.patch9
-rw-r--r--ubuntu/precise/applications/kerry/debian/patches/series3
-rwxr-xr-xubuntu/precise/applications/kerry/debian/rules2
-rw-r--r--ubuntu/precise/applications/kftpgrabber/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/applications/kftpgrabber/debian/control2
-rw-r--r--ubuntu/precise/applications/kftpgrabber/debian/patches/series0
-rwxr-xr-xubuntu/precise/applications/kftpgrabber/debian/rules2
-rw-r--r--ubuntu/precise/applications/kgtk-qt3/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/applications/kgtk-qt3/debian/control2
-rw-r--r--ubuntu/precise/applications/kgtk-qt3/debian/patches/series0
-rwxr-xr-xubuntu/precise/applications/kgtk-qt3/debian/rules2
-rw-r--r--ubuntu/precise/applications/kile/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/applications/kiosktool/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/applications/kiosktool/debian/control2
-rw-r--r--ubuntu/precise/applications/kiosktool/debian/patches/series2
-rwxr-xr-xubuntu/precise/applications/kiosktool/debian/rules2
-rw-r--r--ubuntu/precise/applications/kkbswitch/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/applications/klcddimmer/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/applications/kmplayer/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/applications/kmplayer/debian/control2
-rw-r--r--ubuntu/precise/applications/kmplayer/debian/patches/series0
-rwxr-xr-xubuntu/precise/applications/kmplayer/debian/rules2
-rw-r--r--ubuntu/precise/applications/kmymoney/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/applications/kmymoney/debian/control2
-rw-r--r--ubuntu/precise/applications/kmymoney/debian/patches/series0
-rwxr-xr-xubuntu/precise/applications/kmymoney/debian/rules2
-rw-r--r--ubuntu/precise/applications/knemo/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/applications/knemo/debian/control2
-rw-r--r--ubuntu/precise/applications/knemo/debian/patches/series0
-rwxr-xr-xubuntu/precise/applications/knemo/debian/rules2
-rw-r--r--ubuntu/precise/applications/knetstats/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/applications/knetstats/debian/control2
-rw-r--r--ubuntu/precise/applications/knetstats/debian/patches/series0
-rwxr-xr-xubuntu/precise/applications/knetstats/debian/rules2
-rw-r--r--ubuntu/precise/applications/knetworkmanager.cmake/debian/cdbs/debian-qt-kde.mk2
-rwxr-xr-xubuntu/precise/applications/knetworkmanager.cmake/debian/rules2
-rw-r--r--ubuntu/precise/applications/knetworkmanager8/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/applications/knmap/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/applications/knmap/debian/control2
-rw-r--r--ubuntu/precise/applications/knmap/debian/patches/series0
-rwxr-xr-xubuntu/precise/applications/knmap/debian/rules2
-rw-r--r--ubuntu/precise/applications/koffice/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/applications/koffice/debian/control2
-rw-r--r--ubuntu/precise/applications/koffice/debian/patches/series0
-rwxr-xr-xubuntu/precise/applications/koffice/debian/rules2
-rw-r--r--ubuntu/precise/applications/konversation/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/applications/kopete-otr/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/applications/kpilot/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/applications/kpowersave.cmake/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/applications/kpowersave.cmake/debian/control2
-rw-r--r--ubuntu/precise/applications/kpowersave.cmake/debian/patches/series0
-rwxr-xr-xubuntu/precise/applications/kpowersave.cmake/debian/rules2
-rw-r--r--ubuntu/precise/applications/kpowersave/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/applications/kpowersave/debian/control2
-rw-r--r--ubuntu/precise/applications/kpowersave/debian/patches/series0
-rwxr-xr-xubuntu/precise/applications/kpowersave/debian/rules2
-rw-r--r--ubuntu/precise/applications/krecipes/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/applications/krename/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/applications/krename/debian/control2
-rw-r--r--ubuntu/precise/applications/krename/debian/patches/series0
-rwxr-xr-xubuntu/precise/applications/krename/debian/rules2
-rw-r--r--ubuntu/precise/applications/krusader/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/applications/krusader/debian/control2
-rw-r--r--ubuntu/precise/applications/krusader/debian/patches/series0
-rwxr-xr-xubuntu/precise/applications/krusader/debian/rules2
-rw-r--r--ubuntu/precise/applications/ksensors/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/applications/ksensors/debian/control2
-rw-r--r--ubuntu/precise/applications/ksensors/debian/patches/series0
-rwxr-xr-xubuntu/precise/applications/ksensors/debian/rules2
-rw-r--r--ubuntu/precise/applications/kshowmail/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/applications/kshutdown/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/applications/ksystemlog/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/applications/ksystemlog/debian/control2
-rw-r--r--ubuntu/precise/applications/ksystemlog/debian/patches/series0
-rwxr-xr-xubuntu/precise/applications/ksystemlog/debian/rules2
-rw-r--r--ubuntu/precise/applications/ktorrent/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/applications/ktorrent/debian/control2
-rw-r--r--ubuntu/precise/applications/ktorrent/debian/patches/series0
-rwxr-xr-xubuntu/precise/applications/ktorrent/debian/rules2
-rw-r--r--ubuntu/precise/applications/kuickshow/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/applications/kuickshow/debian/control2
-rw-r--r--ubuntu/precise/applications/kuickshow/debian/patches/series0
-rwxr-xr-xubuntu/precise/applications/kuickshow/debian/rules2
-rw-r--r--ubuntu/precise/applications/kvirc/debian/control2
-rw-r--r--ubuntu/precise/applications/kvirc/debian/patches/series0
-rwxr-xr-xubuntu/precise/applications/kvirc/debian/rules2
-rw-r--r--ubuntu/precise/applications/kvkbd/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/applications/kvkbd/debian/control2
-rw-r--r--ubuntu/precise/applications/kvkbd/debian/patches/series0
-rwxr-xr-xubuntu/precise/applications/kvkbd/debian/rules2
-rw-r--r--ubuntu/precise/applications/mplayerthumbs/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/applications/piklab/debian/control2
-rw-r--r--ubuntu/precise/applications/piklab/debian/patches/series0
-rwxr-xr-xubuntu/precise/applications/piklab/debian/rules9
-rw-r--r--ubuntu/precise/applications/qt4-tqt-theme-engine/debian/control2
-rw-r--r--ubuntu/precise/applications/qt4-tqt-theme-engine/debian/patches/series0
-rwxr-xr-xubuntu/precise/applications/qt4-tqt-theme-engine/debian/rules2
-rw-r--r--ubuntu/precise/applications/rosegarden/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/applications/rosegarden/debian/control2
-rw-r--r--ubuntu/precise/applications/rosegarden/debian/patches/series0
-rwxr-xr-xubuntu/precise/applications/rosegarden/debian/rules2
-rw-r--r--ubuntu/precise/applications/smb4k/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/applications/soundkonverter/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/applications/tde-guidance/debian/control2
-rw-r--r--ubuntu/precise/applications/tde-guidance/debian/patches/series0
-rwxr-xr-xubuntu/precise/applications/tde-guidance/debian/rules2
-rw-r--r--ubuntu/precise/applications/tde-style-qtcurve/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/applications/tde-style-qtcurve/debian/control2
-rw-r--r--ubuntu/precise/applications/tde-style-qtcurve/debian/patches/series0
-rwxr-xr-xubuntu/precise/applications/tde-style-qtcurve/debian/rules2
-rw-r--r--ubuntu/precise/applications/tde-systemsettings/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/applications/tde-systemsettings/debian/control2
-rw-r--r--ubuntu/precise/applications/tde-systemsettings/debian/patches/series0
-rwxr-xr-xubuntu/precise/applications/tde-systemsettings/debian/rules2
-rw-r--r--ubuntu/precise/applications/tdeio-apt/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/applications/tdeio-apt/debian/control2
-rw-r--r--ubuntu/precise/applications/tdeio-apt/debian/patches/series0
-rwxr-xr-xubuntu/precise/applications/tdeio-apt/debian/rules2
-rw-r--r--ubuntu/precise/applications/tdeio-ftps/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/applications/tdeio-locate/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/applications/tdeio-locate/debian/control2
-rw-r--r--ubuntu/precise/applications/tdeio-locate/debian/patches/series0
-rwxr-xr-xubuntu/precise/applications/tdeio-locate/debian/rules2
-rw-r--r--ubuntu/precise/applications/tdeio-umountwrapper/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/applications/tdeio-umountwrapper/debian/control2
-rw-r--r--ubuntu/precise/applications/tdeio-umountwrapper/debian/patches/series0
-rwxr-xr-xubuntu/precise/applications/tdeio-umountwrapper/debian/rules2
-rw-r--r--ubuntu/precise/applications/tdenetworkmanager/debian/cdbs/debian-qt-kde.mk2
-rwxr-xr-xubuntu/precise/applications/tdenetworkmanager/debian/rules2
-rw-r--r--ubuntu/precise/applications/tdepowersave/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/applications/tdepowersave/debian/control2
-rw-r--r--ubuntu/precise/applications/tdepowersave/debian/patches/series0
-rwxr-xr-xubuntu/precise/applications/tdepowersave/debian/rules2
-rw-r--r--ubuntu/precise/applications/tdesudo/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/applications/tdesudo/debian/control2
-rw-r--r--ubuntu/precise/applications/tdesudo/debian/patches/series0
-rwxr-xr-xubuntu/precise/applications/tdesudo/debian/rules2
-rw-r--r--ubuntu/precise/applications/tdesvn/debian/cdbs/debian-qt-kde.mk2
-rwxr-xr-xubuntu/precise/applications/tdesvn/debian/rules2
-rw-r--r--ubuntu/precise/applications/tdmtheme/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/applications/tork/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/applications/twin-style-crystal/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/applications/twin-style-crystal/debian/control2
-rw-r--r--ubuntu/precise/applications/twin-style-crystal/debian/patches/series0
-rwxr-xr-xubuntu/precise/applications/twin-style-crystal/debian/rules2
-rw-r--r--ubuntu/precise/applications/wlassistant/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/applications/wlassistant/debian/control2
-rw-r--r--ubuntu/precise/applications/wlassistant/debian/patches/series0
-rwxr-xr-xubuntu/precise/applications/wlassistant/debian/rules2
-rw-r--r--ubuntu/precise/applications/yakuake/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/dependencies/arts/debian/control2
-rw-r--r--ubuntu/precise/dependencies/arts/debian/patches/series1
-rwxr-xr-xubuntu/precise/dependencies/arts/debian/rules2
-rw-r--r--ubuntu/precise/dependencies/dbus-1-tqt/debian/control2
-rw-r--r--ubuntu/precise/dependencies/dbus-1-tqt/debian/patches/series0
-rwxr-xr-xubuntu/precise/dependencies/dbus-1-tqt/debian/rules2
-rw-r--r--ubuntu/precise/dependencies/dbus-tqt/debian/control2
-rw-r--r--ubuntu/precise/dependencies/dbus-tqt/debian/patches/series0
-rwxr-xr-xubuntu/precise/dependencies/dbus-tqt/debian/rules2
-rw-r--r--ubuntu/precise/dependencies/libart-lgpl/debian/control2
-rw-r--r--ubuntu/precise/dependencies/libart-lgpl/debian/patches/series0
-rwxr-xr-xubuntu/precise/dependencies/libart-lgpl/debian/rules2
-rw-r--r--ubuntu/precise/dependencies/libcaldav/debian/control2
-rw-r--r--ubuntu/precise/dependencies/libcaldav/debian/patches/series0
-rwxr-xr-xubuntu/precise/dependencies/libcaldav/debian/rules6
-rw-r--r--ubuntu/precise/dependencies/libcarddav/debian/control2
-rw-r--r--ubuntu/precise/dependencies/libcarddav/debian/patches/series0
-rwxr-xr-xubuntu/precise/dependencies/libcarddav/debian/rules6
-rw-r--r--ubuntu/precise/dependencies/python-tqt/debian/patches/series2
-rw-r--r--ubuntu/precise/dependencies/qt3/debian/control2
-rwxr-xr-xubuntu/precise/dependencies/qt3/debian/rules8
-rw-r--r--ubuntu/precise/dependencies/sip4-tqt/debian/patches/series4
-rw-r--r--ubuntu/precise/dependencies/sip4-tqt/debian/patches/siputils_objdir_module_fix.diff10
-rw-r--r--ubuntu/precise/dependencies/tqt3/debian/control2
-rwxr-xr-xubuntu/precise/dependencies/tqt3/debian/rules8
-rw-r--r--ubuntu/precise/dependencies/tqtinterface/debian/control2
-rw-r--r--ubuntu/precise/dependencies/tqtinterface/debian/patches/series0
-rwxr-xr-xubuntu/precise/dependencies/tqtinterface/debian/rules2
-rw-r--r--ubuntu/precise/kdegraphics.automake/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/kdegraphics.automake/debian/control2
-rw-r--r--ubuntu/precise/kdegraphics.automake/debian/patches/series3
-rwxr-xr-xubuntu/precise/kdegraphics.automake/debian/rules2
-rw-r--r--ubuntu/precise/kdevelop.cmake/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/kdevelop.cmake/debian/control2
-rw-r--r--ubuntu/precise/kdevelop.cmake/debian/patches/series0
-rwxr-xr-xubuntu/precise/kdevelop.cmake/debian/rules2
-rw-r--r--ubuntu/precise/libraries/kipi-plugins/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/libraries/libkdcraw/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/libraries/libkexiv2/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/libraries/libkipi/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/libraries/libkipi/debian/control2
-rw-r--r--ubuntu/precise/libraries/libkipi/debian/patches/series0
-rwxr-xr-xubuntu/precise/libraries/libkipi/debian/rules2
-rw-r--r--ubuntu/precise/libraries/libtdeldap/debian/control2
-rw-r--r--ubuntu/precise/libraries/libtdeldap/debian/patches/series0
-rwxr-xr-xubuntu/precise/libraries/libtdeldap/debian/rules2
-rw-r--r--ubuntu/precise/tdeaccessibility/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/tdeaccessibility/debian/control2
-rw-r--r--ubuntu/precise/tdeaccessibility/debian/patches/series3
-rwxr-xr-xubuntu/precise/tdeaccessibility/debian/rules2
-rw-r--r--ubuntu/precise/tdeaddons/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/tdeaddons/debian/control2
-rw-r--r--ubuntu/precise/tdeaddons/debian/patches/series3
-rwxr-xr-xubuntu/precise/tdeaddons/debian/rules2
-rw-r--r--ubuntu/precise/tdeadmin/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/tdeadmin/debian/control2
-rw-r--r--ubuntu/precise/tdeadmin/debian/patches/series3
-rwxr-xr-xubuntu/precise/tdeadmin/debian/rules2
-rw-r--r--ubuntu/precise/tdeartwork/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/tdeartwork/debian/control2
-rw-r--r--ubuntu/precise/tdeartwork/debian/patches/series0
-rwxr-xr-xubuntu/precise/tdeartwork/debian/rules2
-rw-r--r--ubuntu/precise/tdebase/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/tdebase/debian/control2
-rw-r--r--ubuntu/precise/tdebase/debian/patches/kubuntu_13_hide_konsolesu_menu_entry.diff10
-rw-r--r--ubuntu/precise/tdebase/debian/patches/series21
-rwxr-xr-xubuntu/precise/tdebase/debian/rules2
-rw-r--r--ubuntu/precise/tdebindings/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/tdeedu/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/tdeedu/debian/control2
-rw-r--r--ubuntu/precise/tdeedu/debian/patches/series3
-rwxr-xr-xubuntu/precise/tdeedu/debian/rules2
-rw-r--r--ubuntu/precise/tdegames/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/tdegames/debian/control2
-rw-r--r--ubuntu/precise/tdegames/debian/patches/series3
-rwxr-xr-xubuntu/precise/tdegames/debian/rules2
-rw-r--r--ubuntu/precise/tdegraphics/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/tdegraphics/debian/control2
-rw-r--r--ubuntu/precise/tdegraphics/debian/patches/series3
-rwxr-xr-xubuntu/precise/tdegraphics/debian/rules2
-rw-r--r--ubuntu/precise/tdelibs/debian/control2
-rw-r--r--ubuntu/precise/tdelibs/debian/patches/series1
-rwxr-xr-xubuntu/precise/tdelibs/debian/rules2
-rw-r--r--ubuntu/precise/tdemultimedia/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/tdemultimedia/debian/control2
-rw-r--r--ubuntu/precise/tdemultimedia/debian/patches/series3
-rwxr-xr-xubuntu/precise/tdemultimedia/debian/rules2
-rw-r--r--ubuntu/precise/tdenetwork/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/tdenetwork/debian/control2
-rw-r--r--ubuntu/precise/tdenetwork/debian/patches/series3
-rwxr-xr-xubuntu/precise/tdenetwork/debian/rules2
-rw-r--r--ubuntu/precise/tdepim/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/tdepim/debian/control2
-rw-r--r--ubuntu/precise/tdepim/debian/patches/series0
-rwxr-xr-xubuntu/precise/tdepim/debian/rules2
-rw-r--r--ubuntu/precise/tdesdk/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/tdesdk/debian/control2
-rw-r--r--ubuntu/precise/tdesdk/debian/patches/series3
-rwxr-xr-xubuntu/precise/tdesdk/debian/rules2
-rw-r--r--ubuntu/precise/tdetoys/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/tdetoys/debian/control2
-rw-r--r--ubuntu/precise/tdetoys/debian/patches/series3
-rwxr-xr-xubuntu/precise/tdetoys/debian/rules2
-rw-r--r--ubuntu/precise/tdeutils/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/tdeutils/debian/control2
-rw-r--r--ubuntu/precise/tdeutils/debian/patches/series5
-rwxr-xr-xubuntu/precise/tdeutils/debian/rules2
-rw-r--r--ubuntu/precise/tdevelop/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/tdevelop/debian/control2
-rw-r--r--ubuntu/precise/tdevelop/debian/patches/series3
-rwxr-xr-xubuntu/precise/tdevelop/debian/rules2
-rw-r--r--ubuntu/precise/tdewebdev/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/precise/tdewebdev/debian/control2
-rw-r--r--ubuntu/precise/tdewebdev/debian/patches/series1
-rwxr-xr-xubuntu/precise/tdewebdev/debian/rules2
-rw-r--r--ubuntu/raring/applications/abakus/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/applications/abakus/debian/control2
-rw-r--r--ubuntu/raring/applications/abakus/debian/patches/series0
-rwxr-xr-xubuntu/raring/applications/abakus/debian/rules2
-rw-r--r--ubuntu/raring/applications/adept/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/applications/adept/debian/control2
-rw-r--r--ubuntu/raring/applications/adept/debian/patches/series0
-rwxr-xr-xubuntu/raring/applications/adept/debian/rules2
-rw-r--r--ubuntu/raring/applications/amarok.cmake/debian/cdbs/debian-qt-kde.mk2
-rwxr-xr-xubuntu/raring/applications/amarok.cmake/debian/rules2
-rw-r--r--ubuntu/raring/applications/amarok/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/applications/basket/debian/control2
-rwxr-xr-xubuntu/raring/applications/basket/debian/rules6
-rw-r--r--ubuntu/raring/applications/bibletime/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/applications/bibletime/debian/patches/series0
-rwxr-xr-xubuntu/raring/applications/bibletime/debian/rules2
-rw-r--r--ubuntu/raring/applications/compizconfig-backend-tdeconfig/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/applications/compizconfig-backend-tdeconfig/debian/control2
-rw-r--r--ubuntu/raring/applications/compizconfig-backend-tdeconfig/debian/patches/series0
-rwxr-xr-xubuntu/raring/applications/compizconfig-backend-tdeconfig/debian/rules2
-rw-r--r--ubuntu/raring/applications/digikam/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/applications/digikam/debian/control2
-rw-r--r--ubuntu/raring/applications/digikam/debian/patches/series0
-rwxr-xr-xubuntu/raring/applications/digikam/debian/rules2
-rw-r--r--ubuntu/raring/applications/dolphin/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/applications/dolphin/debian/control2
-rw-r--r--ubuntu/raring/applications/dolphin/debian/patches/series0
-rwxr-xr-xubuntu/raring/applications/dolphin/debian/rules2
-rw-r--r--ubuntu/raring/applications/filelight-l10n/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/applications/filelight-l10n/debian/control2
-rw-r--r--ubuntu/raring/applications/filelight-l10n/debian/patches/series0
-rwxr-xr-xubuntu/raring/applications/filelight-l10n/debian/rules2
-rw-r--r--ubuntu/raring/applications/filelight/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/applications/fusion-icon/debian/control2
-rw-r--r--ubuntu/raring/applications/fusion-icon/debian/patches/series0
-rwxr-xr-xubuntu/raring/applications/fusion-icon/debian/rules2
-rw-r--r--ubuntu/raring/applications/gtk-qt-engine/debian/control2
-rw-r--r--ubuntu/raring/applications/gtk-qt-engine/debian/patches/series0
-rwxr-xr-xubuntu/raring/applications/gtk-qt-engine/debian/rules2
-rw-r--r--ubuntu/raring/applications/gtk3-tqt-engine/debian/control2
-rw-r--r--ubuntu/raring/applications/gtk3-tqt-engine/debian/patches/series0
-rwxr-xr-xubuntu/raring/applications/gtk3-tqt-engine/debian/rules2
-rw-r--r--ubuntu/raring/applications/gwenview-i18n/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/applications/gwenview-i18n/debian/patches/series0
-rwxr-xr-xubuntu/raring/applications/gwenview-i18n/debian/rules2
-rw-r--r--ubuntu/raring/applications/gwenview/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/applications/gwenview/debian/control2
-rw-r--r--ubuntu/raring/applications/gwenview/debian/patches/series0
-rwxr-xr-xubuntu/raring/applications/gwenview/debian/rules2
-rw-r--r--ubuntu/raring/applications/k3b/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/applications/k3b/debian/control2
-rw-r--r--ubuntu/raring/applications/k3b/debian/patches/series1
-rwxr-xr-xubuntu/raring/applications/k3b/debian/rules2
-rw-r--r--ubuntu/raring/applications/k9copy/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/applications/k9copy/debian/control2
-rw-r--r--ubuntu/raring/applications/k9copy/debian/patches/series0
-rwxr-xr-xubuntu/raring/applications/k9copy/debian/rules2
-rw-r--r--ubuntu/raring/applications/kaffeine/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/applications/kaffeine/debian/control2
-rw-r--r--ubuntu/raring/applications/kaffeine/debian/patches/series0
-rwxr-xr-xubuntu/raring/applications/kaffeine/debian/rules2
-rw-r--r--ubuntu/raring/applications/kasablanca/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/applications/kasablanca/debian/control2
-rw-r--r--ubuntu/raring/applications/kasablanca/debian/patches/series2
-rwxr-xr-xubuntu/raring/applications/kasablanca/debian/rules2
-rw-r--r--ubuntu/raring/applications/katapult/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/applications/katapult/debian/control2
-rw-r--r--ubuntu/raring/applications/katapult/debian/patches/series0
-rwxr-xr-xubuntu/raring/applications/katapult/debian/rules2
-rw-r--r--ubuntu/raring/applications/kbarcode/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/applications/kbfx/debian/control2
-rw-r--r--ubuntu/raring/applications/kbfx/debian/patches/series0
-rwxr-xr-xubuntu/raring/applications/kbfx/debian/rules2
-rw-r--r--ubuntu/raring/applications/kbibtex/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/applications/kbiff/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/applications/kbookreader/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/applications/kbookreader/debian/control2
-rw-r--r--ubuntu/raring/applications/kbookreader/debian/patches/series0
-rwxr-xr-xubuntu/raring/applications/kbookreader/debian/rules2
-rw-r--r--ubuntu/raring/applications/kcmautostart/debian/control2
-rw-r--r--ubuntu/raring/applications/kcmautostart/debian/patches/series0
-rwxr-xr-xubuntu/raring/applications/kcmautostart/debian/rules2
-rw-r--r--ubuntu/raring/applications/kcmldap/debian/control2
-rw-r--r--ubuntu/raring/applications/kcmldap/debian/patches/series0
-rwxr-xr-xubuntu/raring/applications/kcmldap/debian/rules2
-rw-r--r--ubuntu/raring/applications/kcmldapcontroller/debian/control2
-rw-r--r--ubuntu/raring/applications/kcmldapcontroller/debian/patches/series0
-rwxr-xr-xubuntu/raring/applications/kcmldapcontroller/debian/rules2
-rw-r--r--ubuntu/raring/applications/kcmldapmanager/debian/control2
-rw-r--r--ubuntu/raring/applications/kcmldapmanager/debian/patches/series0
-rwxr-xr-xubuntu/raring/applications/kcmldapmanager/debian/rules2
-rw-r--r--ubuntu/raring/applications/kcpuload/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/applications/kdbg/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/applications/kdbusnotification/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/applications/kdiff3/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/applications/kdirstat/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/applications/kdirstat/debian/control2
-rw-r--r--ubuntu/raring/applications/kdirstat/debian/patches/series0
-rwxr-xr-xubuntu/raring/applications/kdirstat/debian/rules2
-rw-r--r--ubuntu/raring/applications/kdpkg/debian/control2
-rw-r--r--ubuntu/raring/applications/kdpkg/debian/patches/series0
-rwxr-xr-xubuntu/raring/applications/kdpkg/debian/rules2
-rw-r--r--ubuntu/raring/applications/keep/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/applications/keep/debian/control2
-rw-r--r--ubuntu/raring/applications/keep/debian/patches/series1
-rwxr-xr-xubuntu/raring/applications/keep/debian/rules2
-rw-r--r--ubuntu/raring/applications/kerberostray/debian/control2
-rw-r--r--ubuntu/raring/applications/kerberostray/debian/patches/series0
-rwxr-xr-xubuntu/raring/applications/kerberostray/debian/rules2
-rw-r--r--ubuntu/raring/applications/kerry/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/applications/kerry/debian/control2
-rw-r--r--ubuntu/raring/applications/kerry/debian/patches/kubuntu_03_no_beagle_autostart.patch9
-rw-r--r--ubuntu/raring/applications/kerry/debian/patches/series3
-rwxr-xr-xubuntu/raring/applications/kerry/debian/rules2
-rw-r--r--ubuntu/raring/applications/kftpgrabber/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/applications/kftpgrabber/debian/control2
-rw-r--r--ubuntu/raring/applications/kftpgrabber/debian/patches/series0
-rwxr-xr-xubuntu/raring/applications/kftpgrabber/debian/rules2
-rw-r--r--ubuntu/raring/applications/kgtk-qt3/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/applications/kgtk-qt3/debian/control2
-rw-r--r--ubuntu/raring/applications/kgtk-qt3/debian/patches/series0
-rwxr-xr-xubuntu/raring/applications/kgtk-qt3/debian/rules2
-rw-r--r--ubuntu/raring/applications/kile/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/applications/kiosktool/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/applications/kiosktool/debian/control2
-rw-r--r--ubuntu/raring/applications/kiosktool/debian/patches/series2
-rwxr-xr-xubuntu/raring/applications/kiosktool/debian/rules2
-rw-r--r--ubuntu/raring/applications/kkbswitch/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/applications/klcddimmer/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/applications/kmplayer/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/applications/kmplayer/debian/control2
-rw-r--r--ubuntu/raring/applications/kmplayer/debian/patches/series0
-rwxr-xr-xubuntu/raring/applications/kmplayer/debian/rules2
-rw-r--r--ubuntu/raring/applications/kmymoney/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/applications/kmymoney/debian/control2
-rw-r--r--ubuntu/raring/applications/kmymoney/debian/patches/series0
-rwxr-xr-xubuntu/raring/applications/kmymoney/debian/rules2
-rw-r--r--ubuntu/raring/applications/knemo/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/applications/knemo/debian/control2
-rw-r--r--ubuntu/raring/applications/knemo/debian/patches/series0
-rwxr-xr-xubuntu/raring/applications/knemo/debian/rules2
-rw-r--r--ubuntu/raring/applications/knetstats/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/applications/knetstats/debian/control2
-rw-r--r--ubuntu/raring/applications/knetstats/debian/patches/series0
-rwxr-xr-xubuntu/raring/applications/knetstats/debian/rules2
-rw-r--r--ubuntu/raring/applications/knetworkmanager.cmake/debian/cdbs/debian-qt-kde.mk2
-rwxr-xr-xubuntu/raring/applications/knetworkmanager.cmake/debian/rules2
-rw-r--r--ubuntu/raring/applications/knetworkmanager8/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/applications/knmap/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/applications/knmap/debian/control2
-rw-r--r--ubuntu/raring/applications/knmap/debian/patches/series0
-rwxr-xr-xubuntu/raring/applications/knmap/debian/rules2
-rw-r--r--ubuntu/raring/applications/koffice/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/applications/koffice/debian/control2
-rw-r--r--ubuntu/raring/applications/koffice/debian/patches/series0
-rwxr-xr-xubuntu/raring/applications/koffice/debian/rules2
-rw-r--r--ubuntu/raring/applications/konversation/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/applications/kopete-otr/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/applications/kpilot/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/applications/kpowersave.cmake/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/applications/kpowersave.cmake/debian/control2
-rw-r--r--ubuntu/raring/applications/kpowersave.cmake/debian/patches/series0
-rwxr-xr-xubuntu/raring/applications/kpowersave.cmake/debian/rules2
-rw-r--r--ubuntu/raring/applications/kpowersave/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/applications/kpowersave/debian/control2
-rw-r--r--ubuntu/raring/applications/kpowersave/debian/patches/series0
-rwxr-xr-xubuntu/raring/applications/kpowersave/debian/rules2
-rw-r--r--ubuntu/raring/applications/krecipes/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/applications/krename/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/applications/krename/debian/control2
-rw-r--r--ubuntu/raring/applications/krename/debian/patches/series0
-rwxr-xr-xubuntu/raring/applications/krename/debian/rules2
-rw-r--r--ubuntu/raring/applications/krusader/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/applications/krusader/debian/control2
-rw-r--r--ubuntu/raring/applications/krusader/debian/patches/series0
-rwxr-xr-xubuntu/raring/applications/krusader/debian/rules2
-rw-r--r--ubuntu/raring/applications/ksensors/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/applications/ksensors/debian/control2
-rw-r--r--ubuntu/raring/applications/ksensors/debian/patches/series0
-rwxr-xr-xubuntu/raring/applications/ksensors/debian/rules2
-rw-r--r--ubuntu/raring/applications/kshowmail/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/applications/kshutdown/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/applications/ksystemlog/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/applications/ksystemlog/debian/control2
-rw-r--r--ubuntu/raring/applications/ksystemlog/debian/patches/series0
-rwxr-xr-xubuntu/raring/applications/ksystemlog/debian/rules2
-rw-r--r--ubuntu/raring/applications/ktorrent/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/applications/ktorrent/debian/control2
-rw-r--r--ubuntu/raring/applications/ktorrent/debian/patches/series0
-rwxr-xr-xubuntu/raring/applications/ktorrent/debian/rules2
-rw-r--r--ubuntu/raring/applications/kuickshow/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/applications/kuickshow/debian/control2
-rw-r--r--ubuntu/raring/applications/kuickshow/debian/patches/series0
-rwxr-xr-xubuntu/raring/applications/kuickshow/debian/rules2
-rw-r--r--ubuntu/raring/applications/kvirc/debian/control2
-rw-r--r--ubuntu/raring/applications/kvirc/debian/patches/series0
-rwxr-xr-xubuntu/raring/applications/kvirc/debian/rules2
-rw-r--r--ubuntu/raring/applications/kvkbd/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/applications/kvkbd/debian/control2
-rw-r--r--ubuntu/raring/applications/kvkbd/debian/patches/series0
-rwxr-xr-xubuntu/raring/applications/kvkbd/debian/rules2
-rw-r--r--ubuntu/raring/applications/mplayerthumbs/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/applications/piklab/debian/control2
-rw-r--r--ubuntu/raring/applications/piklab/debian/patches/series0
-rwxr-xr-xubuntu/raring/applications/piklab/debian/rules9
-rw-r--r--ubuntu/raring/applications/qt4-tqt-theme-engine/debian/control2
-rw-r--r--ubuntu/raring/applications/qt4-tqt-theme-engine/debian/patches/series0
-rwxr-xr-xubuntu/raring/applications/qt4-tqt-theme-engine/debian/rules2
-rw-r--r--ubuntu/raring/applications/rosegarden/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/applications/rosegarden/debian/control2
-rw-r--r--ubuntu/raring/applications/rosegarden/debian/patches/series0
-rwxr-xr-xubuntu/raring/applications/rosegarden/debian/rules2
-rw-r--r--ubuntu/raring/applications/smb4k/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/applications/soundkonverter/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/applications/tde-guidance/debian/control2
-rw-r--r--ubuntu/raring/applications/tde-guidance/debian/patches/series0
-rwxr-xr-xubuntu/raring/applications/tde-guidance/debian/rules2
-rw-r--r--ubuntu/raring/applications/tde-style-qtcurve/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/applications/tde-style-qtcurve/debian/control2
-rw-r--r--ubuntu/raring/applications/tde-style-qtcurve/debian/patches/series0
-rwxr-xr-xubuntu/raring/applications/tde-style-qtcurve/debian/rules2
-rw-r--r--ubuntu/raring/applications/tde-systemsettings/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/applications/tde-systemsettings/debian/control2
-rw-r--r--ubuntu/raring/applications/tde-systemsettings/debian/patches/series0
-rwxr-xr-xubuntu/raring/applications/tde-systemsettings/debian/rules2
-rw-r--r--ubuntu/raring/applications/tdeio-apt/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/applications/tdeio-apt/debian/control2
-rw-r--r--ubuntu/raring/applications/tdeio-apt/debian/patches/series0
-rwxr-xr-xubuntu/raring/applications/tdeio-apt/debian/rules2
-rw-r--r--ubuntu/raring/applications/tdeio-ftps/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/applications/tdeio-locate/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/applications/tdeio-locate/debian/control2
-rw-r--r--ubuntu/raring/applications/tdeio-locate/debian/patches/series0
-rwxr-xr-xubuntu/raring/applications/tdeio-locate/debian/rules2
-rw-r--r--ubuntu/raring/applications/tdeio-umountwrapper/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/applications/tdeio-umountwrapper/debian/control2
-rw-r--r--ubuntu/raring/applications/tdeio-umountwrapper/debian/patches/series0
-rwxr-xr-xubuntu/raring/applications/tdeio-umountwrapper/debian/rules2
-rw-r--r--ubuntu/raring/applications/tdenetworkmanager/debian/cdbs/debian-qt-kde.mk2
-rwxr-xr-xubuntu/raring/applications/tdenetworkmanager/debian/rules2
-rw-r--r--ubuntu/raring/applications/tdepowersave/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/applications/tdepowersave/debian/control2
-rw-r--r--ubuntu/raring/applications/tdepowersave/debian/patches/series0
-rwxr-xr-xubuntu/raring/applications/tdepowersave/debian/rules2
-rw-r--r--ubuntu/raring/applications/tdesudo/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/applications/tdesudo/debian/control2
-rw-r--r--ubuntu/raring/applications/tdesudo/debian/patches/series0
-rwxr-xr-xubuntu/raring/applications/tdesudo/debian/rules2
-rw-r--r--ubuntu/raring/applications/tdesvn/debian/cdbs/debian-qt-kde.mk2
-rwxr-xr-xubuntu/raring/applications/tdesvn/debian/rules2
-rw-r--r--ubuntu/raring/applications/tdmtheme/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/applications/tork/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/applications/twin-style-crystal/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/applications/twin-style-crystal/debian/control2
-rw-r--r--ubuntu/raring/applications/twin-style-crystal/debian/patches/series0
-rwxr-xr-xubuntu/raring/applications/twin-style-crystal/debian/rules2
-rw-r--r--ubuntu/raring/applications/wlassistant/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/applications/wlassistant/debian/control2
-rw-r--r--ubuntu/raring/applications/wlassistant/debian/patches/series0
-rwxr-xr-xubuntu/raring/applications/wlassistant/debian/rules2
-rw-r--r--ubuntu/raring/applications/yakuake/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/dependencies/arts/debian/control2
-rw-r--r--ubuntu/raring/dependencies/arts/debian/patches/series1
-rwxr-xr-xubuntu/raring/dependencies/arts/debian/rules2
-rw-r--r--ubuntu/raring/dependencies/dbus-1-tqt/debian/control2
-rw-r--r--ubuntu/raring/dependencies/dbus-1-tqt/debian/patches/series0
-rwxr-xr-xubuntu/raring/dependencies/dbus-1-tqt/debian/rules2
-rw-r--r--ubuntu/raring/dependencies/dbus-tqt/debian/control2
-rw-r--r--ubuntu/raring/dependencies/dbus-tqt/debian/patches/series0
-rwxr-xr-xubuntu/raring/dependencies/dbus-tqt/debian/rules2
-rw-r--r--ubuntu/raring/dependencies/libart-lgpl/debian/control2
-rw-r--r--ubuntu/raring/dependencies/libart-lgpl/debian/patches/series0
-rwxr-xr-xubuntu/raring/dependencies/libart-lgpl/debian/rules2
-rw-r--r--ubuntu/raring/dependencies/libcaldav/debian/control2
-rw-r--r--ubuntu/raring/dependencies/libcaldav/debian/patches/series0
-rwxr-xr-xubuntu/raring/dependencies/libcaldav/debian/rules6
-rw-r--r--ubuntu/raring/dependencies/libcarddav/debian/control2
-rw-r--r--ubuntu/raring/dependencies/libcarddav/debian/patches/series0
-rwxr-xr-xubuntu/raring/dependencies/libcarddav/debian/rules6
-rw-r--r--ubuntu/raring/dependencies/python-tqt/debian/patches/series2
-rw-r--r--ubuntu/raring/dependencies/qt3/debian/control2
-rwxr-xr-xubuntu/raring/dependencies/qt3/debian/rules8
-rw-r--r--ubuntu/raring/dependencies/sip4-tqt/debian/patches/series4
-rw-r--r--ubuntu/raring/dependencies/sip4-tqt/debian/patches/siputils_objdir_module_fix.diff10
-rw-r--r--ubuntu/raring/dependencies/tqt3/debian/control2
-rwxr-xr-xubuntu/raring/dependencies/tqt3/debian/rules8
-rw-r--r--ubuntu/raring/dependencies/tqtinterface/debian/control2
-rw-r--r--ubuntu/raring/dependencies/tqtinterface/debian/patches/series0
-rwxr-xr-xubuntu/raring/dependencies/tqtinterface/debian/rules2
-rw-r--r--ubuntu/raring/kdegraphics.automake/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/kdegraphics.automake/debian/control2
-rw-r--r--ubuntu/raring/kdegraphics.automake/debian/patches/series3
-rwxr-xr-xubuntu/raring/kdegraphics.automake/debian/rules2
-rw-r--r--ubuntu/raring/kdevelop.cmake/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/kdevelop.cmake/debian/control2
-rw-r--r--ubuntu/raring/kdevelop.cmake/debian/patches/series0
-rwxr-xr-xubuntu/raring/kdevelop.cmake/debian/rules2
-rw-r--r--ubuntu/raring/libraries/kipi-plugins/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/libraries/libkdcraw/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/libraries/libkexiv2/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/libraries/libkipi/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/libraries/libkipi/debian/control2
-rw-r--r--ubuntu/raring/libraries/libkipi/debian/patches/series0
-rwxr-xr-xubuntu/raring/libraries/libkipi/debian/rules2
-rw-r--r--ubuntu/raring/libraries/libtdeldap/debian/control2
-rw-r--r--ubuntu/raring/libraries/libtdeldap/debian/patches/series0
-rwxr-xr-xubuntu/raring/libraries/libtdeldap/debian/rules2
-rw-r--r--ubuntu/raring/tdeaccessibility/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/tdeaccessibility/debian/control2
-rw-r--r--ubuntu/raring/tdeaccessibility/debian/patches/series3
-rwxr-xr-xubuntu/raring/tdeaccessibility/debian/rules2
-rw-r--r--ubuntu/raring/tdeaddons/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/tdeaddons/debian/control2
-rw-r--r--ubuntu/raring/tdeaddons/debian/patches/series3
-rwxr-xr-xubuntu/raring/tdeaddons/debian/rules2
-rw-r--r--ubuntu/raring/tdeadmin/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/tdeadmin/debian/control2
-rw-r--r--ubuntu/raring/tdeadmin/debian/patches/series3
-rwxr-xr-xubuntu/raring/tdeadmin/debian/rules2
-rw-r--r--ubuntu/raring/tdeartwork/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/tdeartwork/debian/control2
-rw-r--r--ubuntu/raring/tdeartwork/debian/patches/series0
-rwxr-xr-xubuntu/raring/tdeartwork/debian/rules2
-rw-r--r--ubuntu/raring/tdebase/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/tdebase/debian/control2
-rw-r--r--ubuntu/raring/tdebase/debian/patches/kubuntu_13_hide_konsolesu_menu_entry.diff10
-rw-r--r--ubuntu/raring/tdebase/debian/patches/series21
-rwxr-xr-xubuntu/raring/tdebase/debian/rules2
-rw-r--r--ubuntu/raring/tdebindings/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/tdeedu/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/tdeedu/debian/control2
-rw-r--r--ubuntu/raring/tdeedu/debian/patches/series3
-rwxr-xr-xubuntu/raring/tdeedu/debian/rules2
-rw-r--r--ubuntu/raring/tdegames/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/tdegames/debian/control2
-rw-r--r--ubuntu/raring/tdegames/debian/patches/series3
-rwxr-xr-xubuntu/raring/tdegames/debian/rules2
-rw-r--r--ubuntu/raring/tdegraphics/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/tdegraphics/debian/control2
-rw-r--r--ubuntu/raring/tdegraphics/debian/patches/series3
-rwxr-xr-xubuntu/raring/tdegraphics/debian/rules2
-rw-r--r--ubuntu/raring/tdelibs/debian/control2
-rw-r--r--ubuntu/raring/tdelibs/debian/patches/series1
-rwxr-xr-xubuntu/raring/tdelibs/debian/rules2
-rw-r--r--ubuntu/raring/tdemultimedia/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/tdemultimedia/debian/control2
-rw-r--r--ubuntu/raring/tdemultimedia/debian/patches/series3
-rwxr-xr-xubuntu/raring/tdemultimedia/debian/rules2
-rw-r--r--ubuntu/raring/tdenetwork/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/tdenetwork/debian/control2
-rw-r--r--ubuntu/raring/tdenetwork/debian/patches/series3
-rwxr-xr-xubuntu/raring/tdenetwork/debian/rules2
-rw-r--r--ubuntu/raring/tdepim/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/tdepim/debian/control2
-rw-r--r--ubuntu/raring/tdepim/debian/patches/series0
-rwxr-xr-xubuntu/raring/tdepim/debian/rules2
-rw-r--r--ubuntu/raring/tdesdk/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/tdesdk/debian/control2
-rw-r--r--ubuntu/raring/tdesdk/debian/patches/series3
-rwxr-xr-xubuntu/raring/tdesdk/debian/rules2
-rw-r--r--ubuntu/raring/tdetoys/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/tdetoys/debian/control2
-rw-r--r--ubuntu/raring/tdetoys/debian/patches/series3
-rwxr-xr-xubuntu/raring/tdetoys/debian/rules2
-rw-r--r--ubuntu/raring/tdeutils/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/tdeutils/debian/control2
-rw-r--r--ubuntu/raring/tdeutils/debian/patches/series5
-rwxr-xr-xubuntu/raring/tdeutils/debian/rules2
-rw-r--r--ubuntu/raring/tdevelop/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/tdevelop/debian/control2
-rw-r--r--ubuntu/raring/tdevelop/debian/patches/series3
-rwxr-xr-xubuntu/raring/tdevelop/debian/rules2
-rw-r--r--ubuntu/raring/tdewebdev/debian/cdbs/debian-qt-kde.mk2
-rw-r--r--ubuntu/raring/tdewebdev/debian/control2
-rw-r--r--ubuntu/raring/tdewebdev/debian/patches/series1
-rwxr-xr-xubuntu/raring/tdewebdev/debian/rules2
2226 files changed, 2802 insertions, 1260 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/ubuntu/maverick/applications/adept/debian/patches/.gitignore b/debian/squeeze/dependencies/dbus-1-tqt/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/maverick/applications/adept/debian/patches/.gitignore
+++ 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/ubuntu/maverick/applications/bibletime/debian/patches/.gitignore b/debian/squeeze/dependencies/dbus-tqt/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/maverick/applications/bibletime/debian/patches/.gitignore
+++ 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/ubuntu/maverick/applications/compizconfig-backend-tdeconfig/debian/patches/.gitignore b/debian/squeeze/dependencies/libart-lgpl/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/maverick/applications/compizconfig-backend-tdeconfig/debian/patches/.gitignore
+++ 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/ubuntu/maverick/applications/digikam/debian/patches/.gitignore b/debian/squeeze/dependencies/libcaldav/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/maverick/applications/digikam/debian/patches/.gitignore
+++ 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/ubuntu/maverick/applications/dolphin/debian/patches/.gitignore b/debian/squeeze/dependencies/libcarddav/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/maverick/applications/dolphin/debian/patches/.gitignore
+++ 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/ubuntu/maverick/applications/fusion-icon/debian/patches/.gitignore b/debian/squeeze/dependencies/tqtinterface/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/maverick/applications/fusion-icon/debian/patches/.gitignore
+++ 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/ubuntu/maverick/applications/gtk-qt-engine/debian/patches/.gitignore b/debian/squeeze/libraries/libkipi/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/maverick/applications/gtk-qt-engine/debian/patches/.gitignore
+++ 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/ubuntu/maverick/applications/gwenview/debian/patches/.gitignore b/debian/squeeze/libraries/libtdeldap/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/maverick/applications/gwenview/debian/patches/.gitignore
+++ 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/ubuntu/maverick/applications/k9copy/debian/patches/.gitignore b/debian/squeeze/tdeartwork/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/maverick/applications/k9copy/debian/patches/.gitignore
+++ 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/ubuntu/maverick/applications/kaffeine/debian/patches/.gitignore b/debian/squeeze/tdelibs/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/maverick/applications/kaffeine/debian/patches/.gitignore
+++ 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/ubuntu/maverick/applications/katapult/debian/patches/.gitignore b/debian/squeeze/tdepim/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/maverick/applications/katapult/debian/patches/.gitignore
+++ 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/ubuntu/maverick/applications/kbfx/debian/patches/.gitignore b/debian/wheezy/applications/abakus/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/maverick/applications/kbfx/debian/patches/.gitignore
+++ 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/ubuntu/maverick/applications/kbookreader/debian/patches/.gitignore b/debian/wheezy/applications/bibletime/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/maverick/applications/kbookreader/debian/patches/.gitignore
+++ 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/ubuntu/maverick/applications/kdirstat/debian/patches/.gitignore b/debian/wheezy/applications/compizconfig-backend-tdeconfig/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/maverick/applications/kdirstat/debian/patches/.gitignore
+++ 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/ubuntu/maverick/applications/kdpkg/debian/patches/.gitignore b/debian/wheezy/applications/digikam/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/maverick/applications/kdpkg/debian/patches/.gitignore
+++ 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/ubuntu/maverick/applications/kmplayer/debian/patches/.gitignore b/debian/wheezy/applications/dolphin/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/maverick/applications/kmplayer/debian/patches/.gitignore
+++ 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/ubuntu/maverick/applications/knemo/debian/patches/.gitignore b/debian/wheezy/applications/filelight-l10n/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/maverick/applications/knemo/debian/patches/.gitignore
+++ 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/ubuntu/maverick/applications/knetstats/debian/patches/.gitignore b/debian/wheezy/applications/fusion-icon/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/maverick/applications/knetstats/debian/patches/.gitignore
+++ 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/ubuntu/maverick/applications/koffice/debian/patches/.gitignore b/debian/wheezy/applications/gtk-qt-engine/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/maverick/applications/koffice/debian/patches/.gitignore
+++ 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/ubuntu/maverick/applications/kpowersave.cmake/debian/patches/.gitignore b/debian/wheezy/applications/gtk3-tqt-engine/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/maverick/applications/kpowersave.cmake/debian/patches/.gitignore
+++ 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/ubuntu/maverick/applications/kpowersave/debian/patches/.gitignore b/debian/wheezy/applications/gwenview-i18n/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/maverick/applications/kpowersave/debian/patches/.gitignore
+++ 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/ubuntu/maverick/applications/krusader/debian/patches/.gitignore b/debian/wheezy/applications/gwenview/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/maverick/applications/krusader/debian/patches/.gitignore
+++ 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/ubuntu/maverick/applications/ksystemlog/debian/patches/.gitignore b/debian/wheezy/applications/k9copy/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/maverick/applications/ksystemlog/debian/patches/.gitignore
+++ 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/ubuntu/maverick/applications/ktorrent/debian/patches/.gitignore b/debian/wheezy/applications/kaffeine/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/maverick/applications/ktorrent/debian/patches/.gitignore
+++ 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/ubuntu/maverick/applications/kvirc/debian/patches/.gitignore b/debian/wheezy/applications/katapult/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/maverick/applications/kvirc/debian/patches/.gitignore
+++ 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/ubuntu/maverick/applications/kvkbd/debian/patches/.gitignore b/debian/wheezy/applications/kbfx/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/maverick/applications/kvkbd/debian/patches/.gitignore
+++ 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/ubuntu/maverick/applications/piklab/debian/patches/.gitignore b/debian/wheezy/applications/kbookreader/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/maverick/applications/piklab/debian/patches/.gitignore
+++ 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/ubuntu/maverick/applications/rosegarden/debian/patches/.gitignore b/debian/wheezy/applications/kcmautostart/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/maverick/applications/rosegarden/debian/patches/.gitignore
+++ 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/ubuntu/maverick/applications/tde-guidance/debian/patches/.gitignore b/debian/wheezy/applications/kcmldap/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/maverick/applications/tde-guidance/debian/patches/.gitignore
+++ 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/ubuntu/maverick/applications/tde-style-qtcurve/debian/patches/.gitignore b/debian/wheezy/applications/kcmldapcontroller/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/maverick/applications/tde-style-qtcurve/debian/patches/.gitignore
+++ 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/ubuntu/maverick/applications/tde-systemsettings/debian/patches/.gitignore b/debian/wheezy/applications/kcmldapmanager/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/maverick/applications/tde-systemsettings/debian/patches/.gitignore
+++ 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/ubuntu/maverick/applications/tdeio-apt/debian/patches/.gitignore b/debian/wheezy/applications/kdirstat/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/maverick/applications/tdeio-apt/debian/patches/.gitignore
+++ 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/ubuntu/maverick/applications/tdeio-umountwrapper/debian/patches/.gitignore b/debian/wheezy/applications/kdpkg/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/maverick/applications/tdeio-umountwrapper/debian/patches/.gitignore
+++ 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/ubuntu/maverick/applications/tdepowersave/debian/patches/.gitignore b/debian/wheezy/applications/kerberostray/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/maverick/applications/tdepowersave/debian/patches/.gitignore
+++ 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/ubuntu/maverick/applications/tdesudo/debian/patches/.gitignore b/debian/wheezy/applications/kerry/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/maverick/applications/tdesudo/debian/patches/.gitignore
+++ 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/ubuntu/maverick/applications/twin-style-crystal/debian/patches/.gitignore b/debian/wheezy/applications/kftpgrabber/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/maverick/applications/twin-style-crystal/debian/patches/.gitignore
+++ 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/ubuntu/maverick/applications/wlassistant/debian/patches/.gitignore b/debian/wheezy/applications/kgtk-qt3/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/maverick/applications/wlassistant/debian/patches/.gitignore
+++ 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/ubuntu/maverick/kdevelop.cmake/debian/patches/.gitignore b/debian/wheezy/applications/kiosktool/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/maverick/kdevelop.cmake/debian/patches/.gitignore
+++ 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/ubuntu/maverick/libraries/libkipi/debian/patches/.gitignore b/debian/wheezy/applications/kmplayer/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/maverick/libraries/libkipi/debian/patches/.gitignore
+++ 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/ubuntu/maverick/tdegraphics/debian/patches/.gitignore b/debian/wheezy/applications/kmymoney/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/maverick/tdegraphics/debian/patches/.gitignore
+++ 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/ubuntu/maverick/tdepim/debian/patches/.gitignore b/debian/wheezy/applications/knemo/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/maverick/tdepim/debian/patches/.gitignore
+++ 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/ubuntu/precise/applications/adept/debian/patches/.gitignore b/debian/wheezy/applications/knetstats/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/precise/applications/adept/debian/patches/.gitignore
+++ 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/ubuntu/precise/applications/bibletime/debian/patches/.gitignore b/debian/wheezy/applications/knmap/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/precise/applications/bibletime/debian/patches/.gitignore
+++ 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/ubuntu/precise/applications/compizconfig-backend-tdeconfig/debian/patches/.gitignore b/debian/wheezy/applications/koffice/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/precise/applications/compizconfig-backend-tdeconfig/debian/patches/.gitignore
+++ 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/ubuntu/precise/applications/digikam/debian/patches/.gitignore b/debian/wheezy/applications/kpowersave.cmake/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/precise/applications/digikam/debian/patches/.gitignore
+++ 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/ubuntu/precise/applications/dolphin/debian/patches/.gitignore b/debian/wheezy/applications/kpowersave/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/precise/applications/dolphin/debian/patches/.gitignore
+++ 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/ubuntu/precise/applications/fusion-icon/debian/patches/.gitignore b/debian/wheezy/applications/krename/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/precise/applications/fusion-icon/debian/patches/.gitignore
+++ 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/ubuntu/precise/applications/gtk-qt-engine/debian/patches/.gitignore b/debian/wheezy/applications/krusader/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/precise/applications/gtk-qt-engine/debian/patches/.gitignore
+++ 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/ubuntu/precise/applications/gwenview/debian/patches/.gitignore b/debian/wheezy/applications/ksensors/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/precise/applications/gwenview/debian/patches/.gitignore
+++ 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/ubuntu/precise/applications/k9copy/debian/patches/.gitignore b/debian/wheezy/applications/ksystemlog/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/precise/applications/k9copy/debian/patches/.gitignore
+++ 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/ubuntu/precise/applications/kaffeine/debian/patches/.gitignore b/debian/wheezy/applications/ktorrent/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/precise/applications/kaffeine/debian/patches/.gitignore
+++ 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/ubuntu/precise/applications/katapult/debian/patches/.gitignore b/debian/wheezy/applications/kuickshow/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/precise/applications/katapult/debian/patches/.gitignore
+++ 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/ubuntu/precise/applications/kbfx/debian/patches/.gitignore b/debian/wheezy/applications/kvirc/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/precise/applications/kbfx/debian/patches/.gitignore
+++ 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/ubuntu/precise/applications/kbookreader/debian/patches/.gitignore b/debian/wheezy/applications/kvkbd/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/precise/applications/kbookreader/debian/patches/.gitignore
+++ 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/ubuntu/precise/applications/kdirstat/debian/patches/.gitignore b/debian/wheezy/applications/piklab/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/precise/applications/kdirstat/debian/patches/.gitignore
+++ 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/ubuntu/precise/applications/kdpkg/debian/patches/.gitignore b/debian/wheezy/applications/qt4-tqt-theme-engine/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/precise/applications/kdpkg/debian/patches/.gitignore
+++ 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/ubuntu/precise/applications/kmplayer/debian/patches/.gitignore b/debian/wheezy/applications/rosegarden/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/precise/applications/kmplayer/debian/patches/.gitignore
+++ 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/ubuntu/precise/applications/knemo/debian/patches/.gitignore b/debian/wheezy/applications/tde-guidance/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/precise/applications/knemo/debian/patches/.gitignore
+++ 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/ubuntu/precise/applications/knetstats/debian/patches/.gitignore b/debian/wheezy/applications/tde-style-qtcurve/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/precise/applications/knetstats/debian/patches/.gitignore
+++ 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/ubuntu/precise/applications/koffice/debian/patches/.gitignore b/debian/wheezy/applications/tde-systemsettings/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/precise/applications/koffice/debian/patches/.gitignore
+++ 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/ubuntu/precise/applications/kpowersave.cmake/debian/patches/.gitignore b/debian/wheezy/applications/tdeio-apt/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/precise/applications/kpowersave.cmake/debian/patches/.gitignore
+++ 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/ubuntu/precise/applications/kpowersave/debian/patches/.gitignore b/debian/wheezy/applications/tdeio-locate/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/precise/applications/kpowersave/debian/patches/.gitignore
+++ 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/ubuntu/precise/applications/krusader/debian/patches/.gitignore b/debian/wheezy/applications/tdeio-umountwrapper/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/precise/applications/krusader/debian/patches/.gitignore
+++ 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/ubuntu/precise/applications/ksystemlog/debian/patches/.gitignore b/debian/wheezy/applications/tdepowersave/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/precise/applications/ksystemlog/debian/patches/.gitignore
+++ 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/ubuntu/precise/applications/ktorrent/debian/patches/.gitignore b/debian/wheezy/applications/tdesudo/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/precise/applications/ktorrent/debian/patches/.gitignore
+++ 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/ubuntu/precise/applications/kvirc/debian/patches/.gitignore b/debian/wheezy/applications/twin-style-crystal/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/precise/applications/kvirc/debian/patches/.gitignore
+++ 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/ubuntu/precise/applications/kvkbd/debian/patches/.gitignore b/debian/wheezy/applications/wlassistant/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/precise/applications/kvkbd/debian/patches/.gitignore
+++ 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/ubuntu/precise/applications/piklab/debian/patches/.gitignore b/debian/wheezy/dependencies/dbus-1-tqt/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/precise/applications/piklab/debian/patches/.gitignore
+++ 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/ubuntu/precise/applications/rosegarden/debian/patches/.gitignore b/debian/wheezy/dependencies/dbus-tqt/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/precise/applications/rosegarden/debian/patches/.gitignore
+++ 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/ubuntu/precise/applications/tde-guidance/debian/patches/.gitignore b/debian/wheezy/dependencies/libart-lgpl/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/precise/applications/tde-guidance/debian/patches/.gitignore
+++ 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/ubuntu/precise/applications/tde-style-qtcurve/debian/patches/.gitignore b/debian/wheezy/dependencies/libcaldav/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/precise/applications/tde-style-qtcurve/debian/patches/.gitignore
+++ 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/ubuntu/precise/applications/tde-systemsettings/debian/patches/.gitignore b/debian/wheezy/dependencies/libcarddav/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/precise/applications/tde-systemsettings/debian/patches/.gitignore
+++ 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/ubuntu/precise/applications/tdeio-apt/debian/patches/.gitignore b/debian/wheezy/dependencies/tqtinterface/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/precise/applications/tdeio-apt/debian/patches/.gitignore
+++ 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/ubuntu/precise/applications/tdeio-umountwrapper/debian/patches/.gitignore b/debian/wheezy/libraries/libkipi/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/precise/applications/tdeio-umountwrapper/debian/patches/.gitignore
+++ 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/ubuntu/precise/applications/tdepowersave/debian/patches/.gitignore b/debian/wheezy/libraries/libtdeldap/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/precise/applications/tdepowersave/debian/patches/.gitignore
+++ 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/ubuntu/precise/applications/tdesudo/debian/patches/.gitignore b/debian/wheezy/tdeartwork/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/precise/applications/tdesudo/debian/patches/.gitignore
+++ 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/ubuntu/precise/applications/twin-style-crystal/debian/patches/.gitignore b/debian/wheezy/tdelibs/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/precise/applications/twin-style-crystal/debian/patches/.gitignore
+++ 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/ubuntu/precise/applications/wlassistant/debian/patches/.gitignore b/debian/wheezy/tdepim/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/precise/applications/wlassistant/debian/patches/.gitignore
+++ 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
diff --git a/ubuntu/maverick/applications/abakus/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/abakus/debian/cdbs/debian-qt-kde.mk
index 5e704aa4a..c5d8ecfd3 100644
--- a/ubuntu/maverick/applications/abakus/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/abakus/debian/control b/ubuntu/maverick/applications/abakus/debian/control
index 7e580c5cb..29900d32a 100644
--- a/ubuntu/maverick/applications/abakus/debian/control
+++ b/ubuntu/maverick/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/ubuntu/precise/kdevelop.cmake/debian/patches/.gitignore b/ubuntu/maverick/applications/abakus/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/precise/kdevelop.cmake/debian/patches/.gitignore
+++ b/ubuntu/maverick/applications/abakus/debian/patches/series
diff --git a/ubuntu/maverick/applications/abakus/debian/rules b/ubuntu/maverick/applications/abakus/debian/rules
index c856f7cae..83d7d7fb4 100755
--- a/ubuntu/maverick/applications/abakus/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/adept/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/adept/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/maverick/applications/adept/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/adept/debian/control b/ubuntu/maverick/applications/adept/debian/control
index 85debf475..a51c16730 100644
--- a/ubuntu/maverick/applications/adept/debian/control
+++ b/ubuntu/maverick/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/ubuntu/precise/libraries/libkipi/debian/patches/.gitignore b/ubuntu/maverick/applications/adept/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/precise/libraries/libkipi/debian/patches/.gitignore
+++ b/ubuntu/maverick/applications/adept/debian/patches/series
diff --git a/ubuntu/maverick/applications/adept/debian/rules b/ubuntu/maverick/applications/adept/debian/rules
index 742307eb6..0e554102b 100755
--- a/ubuntu/maverick/applications/adept/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/amarok.cmake/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/amarok.cmake/debian/cdbs/debian-qt-kde.mk
index 345cc0a61..fb36ac52f 100644
--- a/ubuntu/maverick/applications/amarok.cmake/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/amarok.cmake/debian/rules b/ubuntu/maverick/applications/amarok.cmake/debian/rules
index 4fd9a743d..7f157aa03 100755
--- a/ubuntu/maverick/applications/amarok.cmake/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/amarok/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/amarok/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/maverick/applications/amarok/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/basket/debian/control b/ubuntu/maverick/applications/basket/debian/control
index 41c351fb9..271295621 100644
--- a/ubuntu/maverick/applications/basket/debian/control
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/basket/debian/rules b/ubuntu/maverick/applications/basket/debian/rules
index d3cf5255e..4afb63bdd 100755
--- a/ubuntu/maverick/applications/basket/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/bibletime/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/bibletime/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/maverick/applications/bibletime/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/precise/tdegraphics/debian/patches/.gitignore b/ubuntu/maverick/applications/bibletime/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/precise/tdegraphics/debian/patches/.gitignore
+++ b/ubuntu/maverick/applications/bibletime/debian/patches/series
diff --git a/ubuntu/maverick/applications/bibletime/debian/rules b/ubuntu/maverick/applications/bibletime/debian/rules
index 4106bf0f4..9e134b1f7 100755
--- a/ubuntu/maverick/applications/bibletime/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/compizconfig-backend-tdeconfig/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/compizconfig-backend-tdeconfig/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/maverick/applications/compizconfig-backend-tdeconfig/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/compizconfig-backend-tdeconfig/debian/control b/ubuntu/maverick/applications/compizconfig-backend-tdeconfig/debian/control
index 27beb5ab8..699f8b16a 100644
--- a/ubuntu/maverick/applications/compizconfig-backend-tdeconfig/debian/control
+++ b/ubuntu/maverick/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/ubuntu/precise/tdepim/debian/patches/.gitignore b/ubuntu/maverick/applications/compizconfig-backend-tdeconfig/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/precise/tdepim/debian/patches/.gitignore
+++ b/ubuntu/maverick/applications/compizconfig-backend-tdeconfig/debian/patches/series
diff --git a/ubuntu/maverick/applications/compizconfig-backend-tdeconfig/debian/rules b/ubuntu/maverick/applications/compizconfig-backend-tdeconfig/debian/rules
index 85efaa2fa..eb681a06a 100755
--- a/ubuntu/maverick/applications/compizconfig-backend-tdeconfig/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/digikam/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/digikam/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/maverick/applications/digikam/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/digikam/debian/control b/ubuntu/maverick/applications/digikam/debian/control
index e851cfee2..4713c9d42 100644
--- a/ubuntu/maverick/applications/digikam/debian/control
+++ b/ubuntu/maverick/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/ubuntu/raring/applications/adept/debian/patches/.gitignore b/ubuntu/maverick/applications/digikam/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/raring/applications/adept/debian/patches/.gitignore
+++ b/ubuntu/maverick/applications/digikam/debian/patches/series
diff --git a/ubuntu/maverick/applications/digikam/debian/rules b/ubuntu/maverick/applications/digikam/debian/rules
index 76fa321bc..cc9992ad3 100755
--- a/ubuntu/maverick/applications/digikam/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/dolphin/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/dolphin/debian/cdbs/debian-qt-kde.mk
index 345cc0a61..fb36ac52f 100644
--- a/ubuntu/maverick/applications/dolphin/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/dolphin/debian/control b/ubuntu/maverick/applications/dolphin/debian/control
index fcbd2594e..27502f3d7 100644
--- a/ubuntu/maverick/applications/dolphin/debian/control
+++ b/ubuntu/maverick/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/ubuntu/raring/applications/bibletime/debian/patches/.gitignore b/ubuntu/maverick/applications/dolphin/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/raring/applications/bibletime/debian/patches/.gitignore
+++ b/ubuntu/maverick/applications/dolphin/debian/patches/series
diff --git a/ubuntu/maverick/applications/dolphin/debian/rules b/ubuntu/maverick/applications/dolphin/debian/rules
index 66ea98891..f978c418e 100755
--- a/ubuntu/maverick/applications/dolphin/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/filelight-l10n/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/filelight-l10n/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/maverick/applications/filelight-l10n/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/filelight-l10n/debian/control b/ubuntu/maverick/applications/filelight-l10n/debian/control
index bf308060f..ae0d177a1 100644
--- a/ubuntu/maverick/applications/filelight-l10n/debian/control
+++ b/ubuntu/maverick/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/ubuntu/raring/applications/compizconfig-backend-tdeconfig/debian/patches/.gitignore b/ubuntu/maverick/applications/filelight-l10n/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/raring/applications/compizconfig-backend-tdeconfig/debian/patches/.gitignore
+++ b/ubuntu/maverick/applications/filelight-l10n/debian/patches/series
diff --git a/ubuntu/maverick/applications/filelight-l10n/debian/rules b/ubuntu/maverick/applications/filelight-l10n/debian/rules
index 84a2f4975..6d6088aad 100755
--- a/ubuntu/maverick/applications/filelight-l10n/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/filelight/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/filelight/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/maverick/applications/filelight/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/fusion-icon/debian/control b/ubuntu/maverick/applications/fusion-icon/debian/control
index 0c45f670d..befa8ed81 100644
--- a/ubuntu/maverick/applications/fusion-icon/debian/control
+++ b/ubuntu/maverick/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/ubuntu/raring/applications/digikam/debian/patches/.gitignore b/ubuntu/maverick/applications/fusion-icon/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/raring/applications/digikam/debian/patches/.gitignore
+++ b/ubuntu/maverick/applications/fusion-icon/debian/patches/series
diff --git a/ubuntu/maverick/applications/fusion-icon/debian/rules b/ubuntu/maverick/applications/fusion-icon/debian/rules
index 2b780a204..3c129a596 100755
--- a/ubuntu/maverick/applications/fusion-icon/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/gtk-qt-engine/debian/control b/ubuntu/maverick/applications/gtk-qt-engine/debian/control
index bd427686e..f2100a4e7 100644
--- a/ubuntu/maverick/applications/gtk-qt-engine/debian/control
+++ b/ubuntu/maverick/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/ubuntu/raring/applications/dolphin/debian/patches/.gitignore b/ubuntu/maverick/applications/gtk-qt-engine/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/raring/applications/dolphin/debian/patches/.gitignore
+++ b/ubuntu/maverick/applications/gtk-qt-engine/debian/patches/series
diff --git a/ubuntu/maverick/applications/gtk-qt-engine/debian/rules b/ubuntu/maverick/applications/gtk-qt-engine/debian/rules
index 8c78b986c..64a42472c 100755
--- a/ubuntu/maverick/applications/gtk-qt-engine/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/gtk3-tqt-engine/debian/control b/ubuntu/maverick/applications/gtk3-tqt-engine/debian/control
index a192c467e..4acce9a2e 100644
--- a/ubuntu/maverick/applications/gtk3-tqt-engine/debian/control
+++ b/ubuntu/maverick/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/ubuntu/raring/applications/fusion-icon/debian/patches/.gitignore b/ubuntu/maverick/applications/gtk3-tqt-engine/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/raring/applications/fusion-icon/debian/patches/.gitignore
+++ b/ubuntu/maverick/applications/gtk3-tqt-engine/debian/patches/series
diff --git a/ubuntu/maverick/applications/gtk3-tqt-engine/debian/rules b/ubuntu/maverick/applications/gtk3-tqt-engine/debian/rules
index 9bed17b05..e4abe53af 100755
--- a/ubuntu/maverick/applications/gtk3-tqt-engine/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/gwenview-i18n/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/gwenview-i18n/debian/cdbs/debian-qt-kde.mk
index fa0d532f4..ec89756bb 100644
--- a/ubuntu/maverick/applications/gwenview-i18n/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/raring/applications/gtk-qt-engine/debian/patches/.gitignore b/ubuntu/maverick/applications/gwenview-i18n/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/raring/applications/gtk-qt-engine/debian/patches/.gitignore
+++ b/ubuntu/maverick/applications/gwenview-i18n/debian/patches/series
diff --git a/ubuntu/maverick/applications/gwenview-i18n/debian/rules b/ubuntu/maverick/applications/gwenview-i18n/debian/rules
index 3070a9c9d..045fcc43f 100755
--- a/ubuntu/maverick/applications/gwenview-i18n/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/gwenview/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/gwenview/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/maverick/applications/gwenview/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/gwenview/debian/control b/ubuntu/maverick/applications/gwenview/debian/control
index 52bebd33b..f5c7f10d9 100644
--- a/ubuntu/maverick/applications/gwenview/debian/control
+++ b/ubuntu/maverick/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/ubuntu/raring/applications/gwenview/debian/patches/.gitignore b/ubuntu/maverick/applications/gwenview/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/raring/applications/gwenview/debian/patches/.gitignore
+++ b/ubuntu/maverick/applications/gwenview/debian/patches/series
diff --git a/ubuntu/maverick/applications/gwenview/debian/rules b/ubuntu/maverick/applications/gwenview/debian/rules
index 2fca00e50..943f33d55 100755
--- a/ubuntu/maverick/applications/gwenview/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/k3b/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/k3b/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/maverick/applications/k3b/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/k3b/debian/control b/ubuntu/maverick/applications/k3b/debian/control
index 9ca5728d9..7278af526 100644
--- a/ubuntu/maverick/applications/k3b/debian/control
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/k3b/debian/patches/series b/ubuntu/maverick/applications/k3b/debian/patches/series
new file mode 100644
index 000000000..bff63cb8c
--- /dev/null
+++ b/ubuntu/maverick/applications/k3b/debian/patches/series
@@ -0,0 +1 @@
+111_advice_kubuntu_restricted_extras.diff
diff --git a/ubuntu/maverick/applications/k3b/debian/rules b/ubuntu/maverick/applications/k3b/debian/rules
index cc895cd83..f3d017250 100755
--- a/ubuntu/maverick/applications/k3b/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/k9copy/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/k9copy/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/maverick/applications/k9copy/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/k9copy/debian/control b/ubuntu/maverick/applications/k9copy/debian/control
index 995d38120..d005d4d13 100644
--- a/ubuntu/maverick/applications/k9copy/debian/control
+++ b/ubuntu/maverick/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/ubuntu/raring/applications/k9copy/debian/patches/.gitignore b/ubuntu/maverick/applications/k9copy/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/raring/applications/k9copy/debian/patches/.gitignore
+++ b/ubuntu/maverick/applications/k9copy/debian/patches/series
diff --git a/ubuntu/maverick/applications/k9copy/debian/rules b/ubuntu/maverick/applications/k9copy/debian/rules
index 9d406d017..365bf8ac6 100755
--- a/ubuntu/maverick/applications/k9copy/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/kaffeine/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/kaffeine/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/maverick/applications/kaffeine/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/kaffeine/debian/control b/ubuntu/maverick/applications/kaffeine/debian/control
index 3141b6908..b558621cd 100644
--- a/ubuntu/maverick/applications/kaffeine/debian/control
+++ b/ubuntu/maverick/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/ubuntu/raring/applications/kaffeine/debian/patches/.gitignore b/ubuntu/maverick/applications/kaffeine/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/raring/applications/kaffeine/debian/patches/.gitignore
+++ b/ubuntu/maverick/applications/kaffeine/debian/patches/series
diff --git a/ubuntu/maverick/applications/kaffeine/debian/rules b/ubuntu/maverick/applications/kaffeine/debian/rules
index 5087a0863..3afb59271 100755
--- a/ubuntu/maverick/applications/kaffeine/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/kasablanca/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/kasablanca/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/ubuntu/maverick/applications/kasablanca/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/kasablanca/debian/control b/ubuntu/maverick/applications/kasablanca/debian/control
index 0e8aed6ad..01515bd06 100644
--- a/ubuntu/maverick/applications/kasablanca/debian/control
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/kasablanca/debian/patches/series b/ubuntu/maverick/applications/kasablanca/debian/patches/series
new file mode 100644
index 000000000..b8743ddd9
--- /dev/null
+++ b/ubuntu/maverick/applications/kasablanca/debian/patches/series
@@ -0,0 +1,2 @@
+04_am_maintainer_mode.diff
+06_disable_no_undefined.diff
diff --git a/ubuntu/maverick/applications/kasablanca/debian/rules b/ubuntu/maverick/applications/kasablanca/debian/rules
index 76e30e3f1..e12e8b448 100755
--- a/ubuntu/maverick/applications/kasablanca/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/katapult/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/katapult/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/maverick/applications/katapult/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/katapult/debian/control b/ubuntu/maverick/applications/katapult/debian/control
index dc2431d3a..ac493a14a 100644
--- a/ubuntu/maverick/applications/katapult/debian/control
+++ b/ubuntu/maverick/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/ubuntu/raring/applications/katapult/debian/patches/.gitignore b/ubuntu/maverick/applications/katapult/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/raring/applications/katapult/debian/patches/.gitignore
+++ b/ubuntu/maverick/applications/katapult/debian/patches/series
diff --git a/ubuntu/maverick/applications/katapult/debian/rules b/ubuntu/maverick/applications/katapult/debian/rules
index 779671876..8f2dd7642 100755
--- a/ubuntu/maverick/applications/katapult/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/kbarcode/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/kbarcode/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/maverick/applications/kbarcode/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/kbfx/debian/control b/ubuntu/maverick/applications/kbfx/debian/control
index bd38e2009..810bb6c7a 100644
--- a/ubuntu/maverick/applications/kbfx/debian/control
+++ b/ubuntu/maverick/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/ubuntu/raring/applications/kbfx/debian/patches/.gitignore b/ubuntu/maverick/applications/kbfx/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/raring/applications/kbfx/debian/patches/.gitignore
+++ b/ubuntu/maverick/applications/kbfx/debian/patches/series
diff --git a/ubuntu/maverick/applications/kbfx/debian/rules b/ubuntu/maverick/applications/kbfx/debian/rules
index 7c57eacb9..ddf86b0bb 100755
--- a/ubuntu/maverick/applications/kbfx/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/kbibtex/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/kbibtex/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/ubuntu/maverick/applications/kbibtex/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/kbiff/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/kbiff/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/ubuntu/maverick/applications/kbiff/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/kbookreader/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/kbookreader/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/maverick/applications/kbookreader/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/kbookreader/debian/control b/ubuntu/maverick/applications/kbookreader/debian/control
index 2a6ebed50..368dfae8f 100644
--- a/ubuntu/maverick/applications/kbookreader/debian/control
+++ b/ubuntu/maverick/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/ubuntu/raring/applications/kbookreader/debian/patches/.gitignore b/ubuntu/maverick/applications/kbookreader/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/raring/applications/kbookreader/debian/patches/.gitignore
+++ b/ubuntu/maverick/applications/kbookreader/debian/patches/series
diff --git a/ubuntu/maverick/applications/kbookreader/debian/rules b/ubuntu/maverick/applications/kbookreader/debian/rules
index 53794c4fe..ef1dd49ff 100755
--- a/ubuntu/maverick/applications/kbookreader/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/kcmautostart/debian/control b/ubuntu/maverick/applications/kcmautostart/debian/control
index 2eb9e9c3f..225c33269 100644
--- a/ubuntu/maverick/applications/kcmautostart/debian/control
+++ b/ubuntu/maverick/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/ubuntu/raring/applications/kdirstat/debian/patches/.gitignore b/ubuntu/maverick/applications/kcmautostart/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/raring/applications/kdirstat/debian/patches/.gitignore
+++ b/ubuntu/maverick/applications/kcmautostart/debian/patches/series
diff --git a/ubuntu/maverick/applications/kcmautostart/debian/rules b/ubuntu/maverick/applications/kcmautostart/debian/rules
index 9bed17b05..e4abe53af 100755
--- a/ubuntu/maverick/applications/kcmautostart/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/kcmldap/debian/control b/ubuntu/maverick/applications/kcmldap/debian/control
index 5bdbbbe9c..77afbaf4a 100644
--- a/ubuntu/maverick/applications/kcmldap/debian/control
+++ b/ubuntu/maverick/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/ubuntu/raring/applications/kdpkg/debian/patches/.gitignore b/ubuntu/maverick/applications/kcmldap/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/raring/applications/kdpkg/debian/patches/.gitignore
+++ b/ubuntu/maverick/applications/kcmldap/debian/patches/series
diff --git a/ubuntu/maverick/applications/kcmldap/debian/rules b/ubuntu/maverick/applications/kcmldap/debian/rules
index 9bed17b05..e4abe53af 100755
--- a/ubuntu/maverick/applications/kcmldap/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/kcmldapcontroller/debian/control b/ubuntu/maverick/applications/kcmldapcontroller/debian/control
index bd10bfa04..81a9a046d 100644
--- a/ubuntu/maverick/applications/kcmldapcontroller/debian/control
+++ b/ubuntu/maverick/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/ubuntu/raring/applications/kmplayer/debian/patches/.gitignore b/ubuntu/maverick/applications/kcmldapcontroller/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/raring/applications/kmplayer/debian/patches/.gitignore
+++ b/ubuntu/maverick/applications/kcmldapcontroller/debian/patches/series
diff --git a/ubuntu/maverick/applications/kcmldapcontroller/debian/rules b/ubuntu/maverick/applications/kcmldapcontroller/debian/rules
index 9bed17b05..e4abe53af 100755
--- a/ubuntu/maverick/applications/kcmldapcontroller/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/kcmldapmanager/debian/control b/ubuntu/maverick/applications/kcmldapmanager/debian/control
index 10551309e..70af95ae3 100644
--- a/ubuntu/maverick/applications/kcmldapmanager/debian/control
+++ b/ubuntu/maverick/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/ubuntu/raring/applications/knemo/debian/patches/.gitignore b/ubuntu/maverick/applications/kcmldapmanager/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/raring/applications/knemo/debian/patches/.gitignore
+++ b/ubuntu/maverick/applications/kcmldapmanager/debian/patches/series
diff --git a/ubuntu/maverick/applications/kcmldapmanager/debian/rules b/ubuntu/maverick/applications/kcmldapmanager/debian/rules
index 9bed17b05..e4abe53af 100755
--- a/ubuntu/maverick/applications/kcmldapmanager/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/kcpuload/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/kcpuload/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/maverick/applications/kcpuload/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/kdbg/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/kdbg/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/ubuntu/maverick/applications/kdbg/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/kdbusnotification/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/kdbusnotification/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/maverick/applications/kdbusnotification/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/kdiff3/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/kdiff3/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/maverick/applications/kdiff3/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/kdirstat/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/kdirstat/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/maverick/applications/kdirstat/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/kdirstat/debian/control b/ubuntu/maverick/applications/kdirstat/debian/control
index 4795318f8..d83d71afe 100644
--- a/ubuntu/maverick/applications/kdirstat/debian/control
+++ b/ubuntu/maverick/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/ubuntu/raring/applications/knetstats/debian/patches/.gitignore b/ubuntu/maverick/applications/kdirstat/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/raring/applications/knetstats/debian/patches/.gitignore
+++ b/ubuntu/maverick/applications/kdirstat/debian/patches/series
diff --git a/ubuntu/maverick/applications/kdirstat/debian/rules b/ubuntu/maverick/applications/kdirstat/debian/rules
index 8c0a950a3..afa7b060d 100755
--- a/ubuntu/maverick/applications/kdirstat/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/kdpkg/debian/control b/ubuntu/maverick/applications/kdpkg/debian/control
index 1b89e2450..5e2bc7870 100644
--- a/ubuntu/maverick/applications/kdpkg/debian/control
+++ b/ubuntu/maverick/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/ubuntu/raring/applications/koffice/debian/patches/.gitignore b/ubuntu/maverick/applications/kdpkg/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/raring/applications/koffice/debian/patches/.gitignore
+++ b/ubuntu/maverick/applications/kdpkg/debian/patches/series
diff --git a/ubuntu/maverick/applications/kdpkg/debian/rules b/ubuntu/maverick/applications/kdpkg/debian/rules
index 455414f69..2ff6ee66f 100755
--- a/ubuntu/maverick/applications/kdpkg/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/keep/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/keep/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/maverick/applications/keep/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/keep/debian/control b/ubuntu/maverick/applications/keep/debian/control
index ee2e6676f..1e411624f 100644
--- a/ubuntu/maverick/applications/keep/debian/control
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/keep/debian/patches/series b/ubuntu/maverick/applications/keep/debian/patches/series
new file mode 100644
index 000000000..9ccf4a125
--- /dev/null
+++ b/ubuntu/maverick/applications/keep/debian/patches/series
@@ -0,0 +1 @@
+kubuntu_01_kdepot.diff
diff --git a/ubuntu/maverick/applications/keep/debian/rules b/ubuntu/maverick/applications/keep/debian/rules
index c08262790..ae055a958 100755
--- a/ubuntu/maverick/applications/keep/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/kerberostray/debian/control b/ubuntu/maverick/applications/kerberostray/debian/control
index 215814458..bf4d6c2e5 100644
--- a/ubuntu/maverick/applications/kerberostray/debian/control
+++ b/ubuntu/maverick/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/ubuntu/raring/applications/kpowersave.cmake/debian/patches/.gitignore b/ubuntu/maverick/applications/kerberostray/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/raring/applications/kpowersave.cmake/debian/patches/.gitignore
+++ b/ubuntu/maverick/applications/kerberostray/debian/patches/series
diff --git a/ubuntu/maverick/applications/kerberostray/debian/rules b/ubuntu/maverick/applications/kerberostray/debian/rules
index 9bed17b05..e4abe53af 100755
--- a/ubuntu/maverick/applications/kerberostray/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/kerry/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/kerry/debian/cdbs/debian-qt-kde.mk
index 4a11bc028..6b7b16643 100644
--- a/ubuntu/maverick/applications/kerry/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/kerry/debian/control b/ubuntu/maverick/applications/kerry/debian/control
index 914717575..04a60414a 100644
--- a/ubuntu/maverick/applications/kerry/debian/control
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/kerry/debian/patches/kubuntu_03_no_beagle_autostart.patch b/ubuntu/maverick/applications/kerry/debian/patches/kubuntu_03_no_beagle_autostart.patch
index 811069db9..7b06f8128 100644
--- a/ubuntu/maverick/applications/kerry/debian/patches/kubuntu_03_no_beagle_autostart.patch
+++ b/ubuntu/maverick/applications/kerry/debian/patches/kubuntu_03_no_beagle_autostart.patch
@@ -1,8 +1,9 @@
-diff -Nur kerry-0.2.1/kerry/src/Makefile.am kerry-0.2.1.new/kerry/src/Makefile.am
---- kerry-0.2.1/kerry/src/Makefile.am 2006-12-05 18:28:31.000000000 +0100
-+++ kerry-0.2.1.new/kerry/src/Makefile.am 2006-12-05 18:28:53.000000000 +0100
+Index: b/kerry/src/Makefile.am
+===================================================================
+--- a/kerry/src/Makefile.am
++++ b/kerry/src/Makefile.am
@@ -31,7 +31,7 @@
- kerry_la_LIBADD = -lkio -lkonq $(LIB_TDEUI) $(LIBBEAGLE_LIBADD) $(GLIB_LIBADD) $(LIB_TDEABC) -lDCOP $(LIB_QT) $(LIB_TDECORE)
+ kerry_la_LIBADD = -ltdeio -lkonq $(LIB_TDEUI) $(LIBBEAGLE_LIBADD) $(GLIB_LIBADD) $(LIB_TDEABC) -lDCOP $(LIB_QT) $(LIB_TDECORE)
autostartdir = $(datadir)/autostart
-autostart_DATA = kerry.autostart.desktop beagled.desktop
diff --git a/ubuntu/maverick/applications/kerry/debian/patches/series b/ubuntu/maverick/applications/kerry/debian/patches/series
new file mode 100644
index 000000000..f23925f70
--- /dev/null
+++ b/ubuntu/maverick/applications/kerry/debian/patches/series
@@ -0,0 +1,3 @@
+kubuntu_03_no_beagle_autostart.patch
+kubuntu_04_no_core_kmenu_entry.desktop.patch
+kubuntu_05_shortkey.patch
diff --git a/ubuntu/maverick/applications/kerry/debian/rules b/ubuntu/maverick/applications/kerry/debian/rules
index dea466c17..7b26c5eb5 100755
--- a/ubuntu/maverick/applications/kerry/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/kftpgrabber/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/kftpgrabber/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/ubuntu/maverick/applications/kftpgrabber/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/kftpgrabber/debian/control b/ubuntu/maverick/applications/kftpgrabber/debian/control
index eaa793711..3e06c17d3 100644
--- a/ubuntu/maverick/applications/kftpgrabber/debian/control
+++ b/ubuntu/maverick/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/ubuntu/raring/applications/kpowersave/debian/patches/.gitignore b/ubuntu/maverick/applications/kftpgrabber/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/raring/applications/kpowersave/debian/patches/.gitignore
+++ b/ubuntu/maverick/applications/kftpgrabber/debian/patches/series
diff --git a/ubuntu/maverick/applications/kftpgrabber/debian/rules b/ubuntu/maverick/applications/kftpgrabber/debian/rules
index 51e8bf7a9..64be165cd 100755
--- a/ubuntu/maverick/applications/kftpgrabber/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/kgtk-qt3/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/kgtk-qt3/debian/cdbs/debian-qt-kde.mk
index 5e704aa4a..c5d8ecfd3 100644
--- a/ubuntu/maverick/applications/kgtk-qt3/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/kgtk-qt3/debian/control b/ubuntu/maverick/applications/kgtk-qt3/debian/control
index d00331788..aabff8853 100644
--- a/ubuntu/maverick/applications/kgtk-qt3/debian/control
+++ b/ubuntu/maverick/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/ubuntu/raring/applications/krusader/debian/patches/.gitignore b/ubuntu/maverick/applications/kgtk-qt3/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/raring/applications/krusader/debian/patches/.gitignore
+++ b/ubuntu/maverick/applications/kgtk-qt3/debian/patches/series
diff --git a/ubuntu/maverick/applications/kgtk-qt3/debian/rules b/ubuntu/maverick/applications/kgtk-qt3/debian/rules
index b4cb7a953..91c8ec995 100755
--- a/ubuntu/maverick/applications/kgtk-qt3/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/kile/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/kile/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/maverick/applications/kile/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/kiosktool/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/kiosktool/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/maverick/applications/kiosktool/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/kiosktool/debian/control b/ubuntu/maverick/applications/kiosktool/debian/control
index 322d2b3b4..6779d88ff 100644
--- a/ubuntu/maverick/applications/kiosktool/debian/control
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/kiosktool/debian/patches/series b/ubuntu/maverick/applications/kiosktool/debian/patches/series
new file mode 100644
index 000000000..f33e94505
--- /dev/null
+++ b/ubuntu/maverick/applications/kiosktool/debian/patches/series
@@ -0,0 +1,2 @@
+kubuntu_02_kmenu.diff
+kubuntu_03_sudo_support.diff
diff --git a/ubuntu/maverick/applications/kiosktool/debian/rules b/ubuntu/maverick/applications/kiosktool/debian/rules
index 507e5a458..7e010577d 100755
--- a/ubuntu/maverick/applications/kiosktool/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/kkbswitch/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/kkbswitch/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/ubuntu/maverick/applications/kkbswitch/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/klcddimmer/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/klcddimmer/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/ubuntu/maverick/applications/klcddimmer/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/kmplayer/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/kmplayer/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/maverick/applications/kmplayer/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/kmplayer/debian/control b/ubuntu/maverick/applications/kmplayer/debian/control
index ac1cac49a..e9c67c756 100644
--- a/ubuntu/maverick/applications/kmplayer/debian/control
+++ b/ubuntu/maverick/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/ubuntu/raring/applications/ksystemlog/debian/patches/.gitignore b/ubuntu/maverick/applications/kmplayer/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/raring/applications/ksystemlog/debian/patches/.gitignore
+++ b/ubuntu/maverick/applications/kmplayer/debian/patches/series
diff --git a/ubuntu/maverick/applications/kmplayer/debian/rules b/ubuntu/maverick/applications/kmplayer/debian/rules
index 2c29e9b14..093944c34 100755
--- a/ubuntu/maverick/applications/kmplayer/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/kmymoney/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/kmymoney/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/maverick/applications/kmymoney/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/kmymoney/debian/control b/ubuntu/maverick/applications/kmymoney/debian/control
index a8a2b7284..94c4c54a7 100644
--- a/ubuntu/maverick/applications/kmymoney/debian/control
+++ b/ubuntu/maverick/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/ubuntu/raring/applications/ktorrent/debian/patches/.gitignore b/ubuntu/maverick/applications/kmymoney/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/raring/applications/ktorrent/debian/patches/.gitignore
+++ b/ubuntu/maverick/applications/kmymoney/debian/patches/series
diff --git a/ubuntu/maverick/applications/kmymoney/debian/rules b/ubuntu/maverick/applications/kmymoney/debian/rules
index 4c3b55cb4..d636191c4 100755
--- a/ubuntu/maverick/applications/kmymoney/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/knemo/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/knemo/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/maverick/applications/knemo/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/knemo/debian/control b/ubuntu/maverick/applications/knemo/debian/control
index 97ac6597a..e98618b20 100644
--- a/ubuntu/maverick/applications/knemo/debian/control
+++ b/ubuntu/maverick/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/ubuntu/raring/applications/kvirc/debian/patches/.gitignore b/ubuntu/maverick/applications/knemo/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/raring/applications/kvirc/debian/patches/.gitignore
+++ b/ubuntu/maverick/applications/knemo/debian/patches/series
diff --git a/ubuntu/maverick/applications/knemo/debian/rules b/ubuntu/maverick/applications/knemo/debian/rules
index 345d9f54d..9e3a13754 100755
--- a/ubuntu/maverick/applications/knemo/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/knetstats/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/knetstats/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/maverick/applications/knetstats/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/knetstats/debian/control b/ubuntu/maverick/applications/knetstats/debian/control
index f710b9e09..611a29672 100644
--- a/ubuntu/maverick/applications/knetstats/debian/control
+++ b/ubuntu/maverick/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/ubuntu/raring/applications/kvkbd/debian/patches/.gitignore b/ubuntu/maverick/applications/knetstats/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/raring/applications/kvkbd/debian/patches/.gitignore
+++ b/ubuntu/maverick/applications/knetstats/debian/patches/series
diff --git a/ubuntu/maverick/applications/knetstats/debian/rules b/ubuntu/maverick/applications/knetstats/debian/rules
index 1a573fb20..7da95d739 100755
--- a/ubuntu/maverick/applications/knetstats/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/knetworkmanager.cmake/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/knetworkmanager.cmake/debian/cdbs/debian-qt-kde.mk
index 345cc0a61..fb36ac52f 100644
--- a/ubuntu/maverick/applications/knetworkmanager.cmake/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/knetworkmanager.cmake/debian/rules b/ubuntu/maverick/applications/knetworkmanager.cmake/debian/rules
index 5043dd652..7b801da5f 100755
--- a/ubuntu/maverick/applications/knetworkmanager.cmake/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/knetworkmanager8/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/knetworkmanager8/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/maverick/applications/knetworkmanager8/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/knmap/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/knmap/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/ubuntu/maverick/applications/knmap/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/knmap/debian/control b/ubuntu/maverick/applications/knmap/debian/control
index ff43fd3f7..6b8893341 100644
--- a/ubuntu/maverick/applications/knmap/debian/control
+++ b/ubuntu/maverick/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/ubuntu/raring/applications/piklab/debian/patches/.gitignore b/ubuntu/maverick/applications/knmap/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/raring/applications/piklab/debian/patches/.gitignore
+++ b/ubuntu/maverick/applications/knmap/debian/patches/series
diff --git a/ubuntu/maverick/applications/knmap/debian/rules b/ubuntu/maverick/applications/knmap/debian/rules
index 348e53573..7a20baa99 100755
--- a/ubuntu/maverick/applications/knmap/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/koffice/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/koffice/debian/cdbs/debian-qt-kde.mk
index b93e7c154..a803f50d6 100644
--- a/ubuntu/maverick/applications/koffice/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/koffice/debian/control b/ubuntu/maverick/applications/koffice/debian/control
index 6d2e73b8c..4b2f86587 100644
--- a/ubuntu/maverick/applications/koffice/debian/control
+++ b/ubuntu/maverick/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/ubuntu/raring/applications/rosegarden/debian/patches/.gitignore b/ubuntu/maverick/applications/koffice/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/raring/applications/rosegarden/debian/patches/.gitignore
+++ b/ubuntu/maverick/applications/koffice/debian/patches/series
diff --git a/ubuntu/maverick/applications/koffice/debian/rules b/ubuntu/maverick/applications/koffice/debian/rules
index ed91a11c3..495d85db8 100755
--- a/ubuntu/maverick/applications/koffice/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/konversation/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/konversation/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/maverick/applications/konversation/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/kopete-otr/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/kopete-otr/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/maverick/applications/kopete-otr/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/kpilot/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/kpilot/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/maverick/applications/kpilot/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/kpowersave.cmake/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/kpowersave.cmake/debian/cdbs/debian-qt-kde.mk
index 345cc0a61..fb36ac52f 100644
--- a/ubuntu/maverick/applications/kpowersave.cmake/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/kpowersave.cmake/debian/control b/ubuntu/maverick/applications/kpowersave.cmake/debian/control
index d9945fe0f..6a1f1b563 100644
--- a/ubuntu/maverick/applications/kpowersave.cmake/debian/control
+++ b/ubuntu/maverick/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/ubuntu/raring/applications/tde-guidance/debian/patches/.gitignore b/ubuntu/maverick/applications/kpowersave.cmake/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/raring/applications/tde-guidance/debian/patches/.gitignore
+++ b/ubuntu/maverick/applications/kpowersave.cmake/debian/patches/series
diff --git a/ubuntu/maverick/applications/kpowersave.cmake/debian/rules b/ubuntu/maverick/applications/kpowersave.cmake/debian/rules
index 0d2383bae..6d3ac5584 100755
--- a/ubuntu/maverick/applications/kpowersave.cmake/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/kpowersave/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/kpowersave/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/maverick/applications/kpowersave/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/kpowersave/debian/control b/ubuntu/maverick/applications/kpowersave/debian/control
index 9850896db..2f98b883a 100644
--- a/ubuntu/maverick/applications/kpowersave/debian/control
+++ b/ubuntu/maverick/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/ubuntu/raring/applications/tde-style-qtcurve/debian/patches/.gitignore b/ubuntu/maverick/applications/kpowersave/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/raring/applications/tde-style-qtcurve/debian/patches/.gitignore
+++ b/ubuntu/maverick/applications/kpowersave/debian/patches/series
diff --git a/ubuntu/maverick/applications/kpowersave/debian/rules b/ubuntu/maverick/applications/kpowersave/debian/rules
index 0cf9afbec..fb0e95a07 100755
--- a/ubuntu/maverick/applications/kpowersave/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/krecipes/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/krecipes/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/ubuntu/maverick/applications/krecipes/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/krename/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/krename/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/maverick/applications/krename/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/krename/debian/control b/ubuntu/maverick/applications/krename/debian/control
index b87c1a2c1..b6cde2138 100644
--- a/ubuntu/maverick/applications/krename/debian/control
+++ b/ubuntu/maverick/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/ubuntu/raring/applications/tde-systemsettings/debian/patches/.gitignore b/ubuntu/maverick/applications/krename/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/raring/applications/tde-systemsettings/debian/patches/.gitignore
+++ b/ubuntu/maverick/applications/krename/debian/patches/series
diff --git a/ubuntu/maverick/applications/krename/debian/rules b/ubuntu/maverick/applications/krename/debian/rules
index 4983ad699..7df9beee2 100755
--- a/ubuntu/maverick/applications/krename/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/krusader/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/krusader/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/maverick/applications/krusader/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/krusader/debian/control b/ubuntu/maverick/applications/krusader/debian/control
index 6b7001dcc..26173e10c 100644
--- a/ubuntu/maverick/applications/krusader/debian/control
+++ b/ubuntu/maverick/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/ubuntu/raring/applications/tdeio-apt/debian/patches/.gitignore b/ubuntu/maverick/applications/krusader/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/raring/applications/tdeio-apt/debian/patches/.gitignore
+++ b/ubuntu/maverick/applications/krusader/debian/patches/series
diff --git a/ubuntu/maverick/applications/krusader/debian/rules b/ubuntu/maverick/applications/krusader/debian/rules
index 4b297b1ae..d27f15ff5 100755
--- a/ubuntu/maverick/applications/krusader/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/ksensors/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/ksensors/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/ubuntu/maverick/applications/ksensors/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/ksensors/debian/control b/ubuntu/maverick/applications/ksensors/debian/control
index f0ba5d2d4..e7de2b810 100644
--- a/ubuntu/maverick/applications/ksensors/debian/control
+++ b/ubuntu/maverick/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/ubuntu/raring/applications/tdeio-umountwrapper/debian/patches/.gitignore b/ubuntu/maverick/applications/ksensors/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/raring/applications/tdeio-umountwrapper/debian/patches/.gitignore
+++ b/ubuntu/maverick/applications/ksensors/debian/patches/series
diff --git a/ubuntu/maverick/applications/ksensors/debian/rules b/ubuntu/maverick/applications/ksensors/debian/rules
index 8b97ef030..8030d443a 100755
--- a/ubuntu/maverick/applications/ksensors/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/kshowmail/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/kshowmail/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/ubuntu/maverick/applications/kshowmail/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/kshutdown/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/kshutdown/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/ubuntu/maverick/applications/kshutdown/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/ksystemlog/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/ksystemlog/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/maverick/applications/ksystemlog/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/ksystemlog/debian/control b/ubuntu/maverick/applications/ksystemlog/debian/control
index 224657403..a5c21429a 100644
--- a/ubuntu/maverick/applications/ksystemlog/debian/control
+++ b/ubuntu/maverick/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/ubuntu/raring/applications/tdepowersave/debian/patches/.gitignore b/ubuntu/maverick/applications/ksystemlog/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/raring/applications/tdepowersave/debian/patches/.gitignore
+++ b/ubuntu/maverick/applications/ksystemlog/debian/patches/series
diff --git a/ubuntu/maverick/applications/ksystemlog/debian/rules b/ubuntu/maverick/applications/ksystemlog/debian/rules
index 5b9d63684..f28f54627 100755
--- a/ubuntu/maverick/applications/ksystemlog/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/ktorrent/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/ktorrent/debian/cdbs/debian-qt-kde.mk
index b93e7c154..a803f50d6 100644
--- a/ubuntu/maverick/applications/ktorrent/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/ktorrent/debian/control b/ubuntu/maverick/applications/ktorrent/debian/control
index 032578e75..65c662809 100644
--- a/ubuntu/maverick/applications/ktorrent/debian/control
+++ b/ubuntu/maverick/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/ubuntu/raring/applications/tdesudo/debian/patches/.gitignore b/ubuntu/maverick/applications/ktorrent/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/raring/applications/tdesudo/debian/patches/.gitignore
+++ b/ubuntu/maverick/applications/ktorrent/debian/patches/series
diff --git a/ubuntu/maverick/applications/ktorrent/debian/rules b/ubuntu/maverick/applications/ktorrent/debian/rules
index d0046eb44..862c88e23 100755
--- a/ubuntu/maverick/applications/ktorrent/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/kuickshow/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/kuickshow/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/maverick/applications/kuickshow/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/kuickshow/debian/control b/ubuntu/maverick/applications/kuickshow/debian/control
index 9ea44fd4b..58655fe8e 100644
--- a/ubuntu/maverick/applications/kuickshow/debian/control
+++ b/ubuntu/maverick/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/ubuntu/raring/applications/twin-style-crystal/debian/patches/.gitignore b/ubuntu/maverick/applications/kuickshow/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/raring/applications/twin-style-crystal/debian/patches/.gitignore
+++ b/ubuntu/maverick/applications/kuickshow/debian/patches/series
diff --git a/ubuntu/maverick/applications/kuickshow/debian/rules b/ubuntu/maverick/applications/kuickshow/debian/rules
index 46fe966da..1f3a7d8fc 100755
--- a/ubuntu/maverick/applications/kuickshow/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/kvirc/debian/control b/ubuntu/maverick/applications/kvirc/debian/control
index 2702dabc7..6189a1ff1 100644
--- a/ubuntu/maverick/applications/kvirc/debian/control
+++ b/ubuntu/maverick/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/ubuntu/raring/applications/wlassistant/debian/patches/.gitignore b/ubuntu/maverick/applications/kvirc/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/raring/applications/wlassistant/debian/patches/.gitignore
+++ b/ubuntu/maverick/applications/kvirc/debian/patches/series
diff --git a/ubuntu/maverick/applications/kvirc/debian/rules b/ubuntu/maverick/applications/kvirc/debian/rules
index 0cb35b452..d0de2524f 100755
--- a/ubuntu/maverick/applications/kvirc/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/kvkbd/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/kvkbd/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/maverick/applications/kvkbd/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/kvkbd/debian/control b/ubuntu/maverick/applications/kvkbd/debian/control
index f391264fc..3449f65e9 100644
--- a/ubuntu/maverick/applications/kvkbd/debian/control
+++ b/ubuntu/maverick/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/ubuntu/raring/kdevelop.cmake/debian/patches/.gitignore b/ubuntu/maverick/applications/kvkbd/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/raring/kdevelop.cmake/debian/patches/.gitignore
+++ b/ubuntu/maverick/applications/kvkbd/debian/patches/series
diff --git a/ubuntu/maverick/applications/kvkbd/debian/rules b/ubuntu/maverick/applications/kvkbd/debian/rules
index 0f564108e..1ac5329b7 100755
--- a/ubuntu/maverick/applications/kvkbd/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/mplayerthumbs/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/mplayerthumbs/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/ubuntu/maverick/applications/mplayerthumbs/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/piklab/debian/control b/ubuntu/maverick/applications/piklab/debian/control
index e36481273..7864a446b 100644
--- a/ubuntu/maverick/applications/piklab/debian/control
+++ b/ubuntu/maverick/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/ubuntu/raring/libraries/libkipi/debian/patches/.gitignore b/ubuntu/maverick/applications/piklab/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/raring/libraries/libkipi/debian/patches/.gitignore
+++ b/ubuntu/maverick/applications/piklab/debian/patches/series
diff --git a/ubuntu/maverick/applications/piklab/debian/rules b/ubuntu/maverick/applications/piklab/debian/rules
index 6d0a1d510..d15b8b977 100755
--- a/ubuntu/maverick/applications/piklab/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/qt4-tqt-theme-engine/debian/control b/ubuntu/maverick/applications/qt4-tqt-theme-engine/debian/control
index 9c2a37a0e..29d985d0a 100644
--- a/ubuntu/maverick/applications/qt4-tqt-theme-engine/debian/control
+++ b/ubuntu/maverick/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/ubuntu/raring/tdegraphics/debian/patches/.gitignore b/ubuntu/maverick/applications/qt4-tqt-theme-engine/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/raring/tdegraphics/debian/patches/.gitignore
+++ b/ubuntu/maverick/applications/qt4-tqt-theme-engine/debian/patches/series
diff --git a/ubuntu/maverick/applications/qt4-tqt-theme-engine/debian/rules b/ubuntu/maverick/applications/qt4-tqt-theme-engine/debian/rules
index 2cde95722..19ea67382 100755
--- a/ubuntu/maverick/applications/qt4-tqt-theme-engine/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/rosegarden/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/rosegarden/debian/cdbs/debian-qt-kde.mk
index 5e704aa4a..c5d8ecfd3 100644
--- a/ubuntu/maverick/applications/rosegarden/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/rosegarden/debian/control b/ubuntu/maverick/applications/rosegarden/debian/control
index 8c132318d..d0a03f679 100644
--- a/ubuntu/maverick/applications/rosegarden/debian/control
+++ b/ubuntu/maverick/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/ubuntu/raring/tdepim/debian/patches/.gitignore b/ubuntu/maverick/applications/rosegarden/debian/patches/series
index e69de29bb..e69de29bb 100644
--- a/ubuntu/raring/tdepim/debian/patches/.gitignore
+++ b/ubuntu/maverick/applications/rosegarden/debian/patches/series
diff --git a/ubuntu/maverick/applications/rosegarden/debian/rules b/ubuntu/maverick/applications/rosegarden/debian/rules
index 3fc2b777e..1bac8145d 100755
--- a/ubuntu/maverick/applications/rosegarden/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/smb4k/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/smb4k/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/maverick/applications/smb4k/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/soundkonverter/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/soundkonverter/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/maverick/applications/soundkonverter/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/tde-guidance/debian/control b/ubuntu/maverick/applications/tde-guidance/debian/control
index d69374f01..4c468fc07 100644
--- a/ubuntu/maverick/applications/tde-guidance/debian/control
+++ b/ubuntu/maverick/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-all (>= 2.5), python-all-dev (>= 2.5), x11proto-scrnsaver-dev, python-tqt-dev, hwdata
diff --git a/ubuntu/maverick/applications/tde-guidance/debian/patches/series b/ubuntu/maverick/applications/tde-guidance/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/maverick/applications/tde-guidance/debian/patches/series
diff --git a/ubuntu/maverick/applications/tde-guidance/debian/rules b/ubuntu/maverick/applications/tde-guidance/debian/rules
index 0cf0d64e7..ad10455d4 100755
--- a/ubuntu/maverick/applications/tde-guidance/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/tde-style-qtcurve/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/tde-style-qtcurve/debian/cdbs/debian-qt-kde.mk
index 5e704aa4a..c5d8ecfd3 100644
--- a/ubuntu/maverick/applications/tde-style-qtcurve/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/tde-style-qtcurve/debian/control b/ubuntu/maverick/applications/tde-style-qtcurve/debian/control
index 10903e11d..60a4dd55f 100644
--- a/ubuntu/maverick/applications/tde-style-qtcurve/debian/control
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/tde-style-qtcurve/debian/patches/series b/ubuntu/maverick/applications/tde-style-qtcurve/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/maverick/applications/tde-style-qtcurve/debian/patches/series
diff --git a/ubuntu/maverick/applications/tde-style-qtcurve/debian/rules b/ubuntu/maverick/applications/tde-style-qtcurve/debian/rules
index 685703a85..f697a7e99 100755
--- a/ubuntu/maverick/applications/tde-style-qtcurve/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/tde-systemsettings/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/tde-systemsettings/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/maverick/applications/tde-systemsettings/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/tde-systemsettings/debian/control b/ubuntu/maverick/applications/tde-systemsettings/debian/control
index fcda9cbaf..eb4b2305c 100644
--- a/ubuntu/maverick/applications/tde-systemsettings/debian/control
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/tde-systemsettings/debian/patches/series b/ubuntu/maverick/applications/tde-systemsettings/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/maverick/applications/tde-systemsettings/debian/patches/series
diff --git a/ubuntu/maverick/applications/tde-systemsettings/debian/rules b/ubuntu/maverick/applications/tde-systemsettings/debian/rules
index ed2e13a90..7e11dd034 100755
--- a/ubuntu/maverick/applications/tde-systemsettings/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/tdeio-apt/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/tdeio-apt/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/maverick/applications/tdeio-apt/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/tdeio-apt/debian/control b/ubuntu/maverick/applications/tdeio-apt/debian/control
index 2aa6dbe3a..2a690b5fb 100644
--- a/ubuntu/maverick/applications/tdeio-apt/debian/control
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/tdeio-apt/debian/patches/series b/ubuntu/maverick/applications/tdeio-apt/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/maverick/applications/tdeio-apt/debian/patches/series
diff --git a/ubuntu/maverick/applications/tdeio-apt/debian/rules b/ubuntu/maverick/applications/tdeio-apt/debian/rules
index 9e8c0f52b..5b3afa420 100755
--- a/ubuntu/maverick/applications/tdeio-apt/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/tdeio-ftps/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/tdeio-ftps/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/ubuntu/maverick/applications/tdeio-ftps/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/tdeio-locate/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/tdeio-locate/debian/cdbs/debian-qt-kde.mk
index 5e704aa4a..c5d8ecfd3 100644
--- a/ubuntu/maverick/applications/tdeio-locate/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/tdeio-locate/debian/control b/ubuntu/maverick/applications/tdeio-locate/debian/control
index 986621d5f..29f2d4f5c 100644
--- a/ubuntu/maverick/applications/tdeio-locate/debian/control
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/tdeio-locate/debian/patches/series b/ubuntu/maverick/applications/tdeio-locate/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/maverick/applications/tdeio-locate/debian/patches/series
diff --git a/ubuntu/maverick/applications/tdeio-locate/debian/rules b/ubuntu/maverick/applications/tdeio-locate/debian/rules
index 55427aa5d..01ccf387a 100755
--- a/ubuntu/maverick/applications/tdeio-locate/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/tdeio-umountwrapper/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/tdeio-umountwrapper/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/maverick/applications/tdeio-umountwrapper/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/tdeio-umountwrapper/debian/control b/ubuntu/maverick/applications/tdeio-umountwrapper/debian/control
index 07bd1607d..95e8c6b10 100644
--- a/ubuntu/maverick/applications/tdeio-umountwrapper/debian/control
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/tdeio-umountwrapper/debian/patches/series b/ubuntu/maverick/applications/tdeio-umountwrapper/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/maverick/applications/tdeio-umountwrapper/debian/patches/series
diff --git a/ubuntu/maverick/applications/tdeio-umountwrapper/debian/rules b/ubuntu/maverick/applications/tdeio-umountwrapper/debian/rules
index ddfd17b35..27e351eba 100755
--- a/ubuntu/maverick/applications/tdeio-umountwrapper/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/tdenetworkmanager/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/tdenetworkmanager/debian/cdbs/debian-qt-kde.mk
index 345cc0a61..fb36ac52f 100644
--- a/ubuntu/maverick/applications/tdenetworkmanager/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/tdenetworkmanager/debian/rules b/ubuntu/maverick/applications/tdenetworkmanager/debian/rules
index 00ac9877f..c08c59d57 100755
--- a/ubuntu/maverick/applications/tdenetworkmanager/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/tdepowersave/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/tdepowersave/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/maverick/applications/tdepowersave/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/tdepowersave/debian/control b/ubuntu/maverick/applications/tdepowersave/debian/control
index de60dd3ae..ca4a5def2 100644
--- a/ubuntu/maverick/applications/tdepowersave/debian/control
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/tdepowersave/debian/patches/series b/ubuntu/maverick/applications/tdepowersave/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/maverick/applications/tdepowersave/debian/patches/series
diff --git a/ubuntu/maverick/applications/tdepowersave/debian/rules b/ubuntu/maverick/applications/tdepowersave/debian/rules
index 485481ef7..f74a76605 100755
--- a/ubuntu/maverick/applications/tdepowersave/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/tdesudo/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/tdesudo/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/maverick/applications/tdesudo/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/tdesudo/debian/control b/ubuntu/maverick/applications/tdesudo/debian/control
index 69aff1bb3..0f976fe13 100644
--- a/ubuntu/maverick/applications/tdesudo/debian/control
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/tdesudo/debian/patches/series b/ubuntu/maverick/applications/tdesudo/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/maverick/applications/tdesudo/debian/patches/series
diff --git a/ubuntu/maverick/applications/tdesudo/debian/rules b/ubuntu/maverick/applications/tdesudo/debian/rules
index 443a43aed..83c31e0c9 100755
--- a/ubuntu/maverick/applications/tdesudo/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/tdesvn/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/tdesvn/debian/cdbs/debian-qt-kde.mk
index 5e704aa4a..c5d8ecfd3 100644
--- a/ubuntu/maverick/applications/tdesvn/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/tdesvn/debian/rules b/ubuntu/maverick/applications/tdesvn/debian/rules
index 37d2a944b..0e1c5995b 100755
--- a/ubuntu/maverick/applications/tdesvn/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/tdmtheme/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/tdmtheme/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/maverick/applications/tdmtheme/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/tork/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/tork/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/ubuntu/maverick/applications/tork/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/twin-style-crystal/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/twin-style-crystal/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/maverick/applications/twin-style-crystal/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/twin-style-crystal/debian/control b/ubuntu/maverick/applications/twin-style-crystal/debian/control
index e5de77106..99fa3217d 100644
--- a/ubuntu/maverick/applications/twin-style-crystal/debian/control
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/twin-style-crystal/debian/patches/series b/ubuntu/maverick/applications/twin-style-crystal/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/maverick/applications/twin-style-crystal/debian/patches/series
diff --git a/ubuntu/maverick/applications/twin-style-crystal/debian/rules b/ubuntu/maverick/applications/twin-style-crystal/debian/rules
index 4fb0c5bb5..00b9013fa 100755
--- a/ubuntu/maverick/applications/twin-style-crystal/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/wlassistant/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/wlassistant/debian/cdbs/debian-qt-kde.mk
index 5e704aa4a..c5d8ecfd3 100644
--- a/ubuntu/maverick/applications/wlassistant/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/wlassistant/debian/control b/ubuntu/maverick/applications/wlassistant/debian/control
index a60cee081..c4d96baa8 100644
--- a/ubuntu/maverick/applications/wlassistant/debian/control
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/wlassistant/debian/patches/series b/ubuntu/maverick/applications/wlassistant/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/maverick/applications/wlassistant/debian/patches/series
diff --git a/ubuntu/maverick/applications/wlassistant/debian/rules b/ubuntu/maverick/applications/wlassistant/debian/rules
index 1a8fdeafb..5e6564e64 100755
--- a/ubuntu/maverick/applications/wlassistant/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/applications/yakuake/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/applications/yakuake/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/maverick/applications/yakuake/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/dependencies/arts/debian/control b/ubuntu/maverick/dependencies/arts/debian/control
index c535e2af4..dcffcfc0f 100644
--- a/ubuntu/maverick/dependencies/arts/debian/control
+++ b/ubuntu/maverick/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/ubuntu/maverick/dependencies/arts/debian/patches/series b/ubuntu/maverick/dependencies/arts/debian/patches/series
new file mode 100644
index 000000000..59e055db8
--- /dev/null
+++ b/ubuntu/maverick/dependencies/arts/debian/patches/series
@@ -0,0 +1 @@
+12_cleanup_artsc-config.diff
diff --git a/ubuntu/maverick/dependencies/arts/debian/rules b/ubuntu/maverick/dependencies/arts/debian/rules
index 1b4911297..8886acad3 100755
--- a/ubuntu/maverick/dependencies/arts/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/dependencies/dbus-1-tqt/debian/control b/ubuntu/maverick/dependencies/dbus-1-tqt/debian/control
index 36e73bbb1..6c1b0c969 100644
--- a/ubuntu/maverick/dependencies/dbus-1-tqt/debian/control
+++ b/ubuntu/maverick/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/ubuntu/maverick/dependencies/dbus-1-tqt/debian/patches/series b/ubuntu/maverick/dependencies/dbus-1-tqt/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/maverick/dependencies/dbus-1-tqt/debian/patches/series
diff --git a/ubuntu/maverick/dependencies/dbus-1-tqt/debian/rules b/ubuntu/maverick/dependencies/dbus-1-tqt/debian/rules
index 3b86de7db..0585b8d86 100755
--- a/ubuntu/maverick/dependencies/dbus-1-tqt/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/dependencies/dbus-tqt/debian/control b/ubuntu/maverick/dependencies/dbus-tqt/debian/control
index cdf2d334a..7c5dbc0c4 100644
--- a/ubuntu/maverick/dependencies/dbus-tqt/debian/control
+++ b/ubuntu/maverick/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/ubuntu/maverick/dependencies/dbus-tqt/debian/patches/series b/ubuntu/maverick/dependencies/dbus-tqt/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/maverick/dependencies/dbus-tqt/debian/patches/series
diff --git a/ubuntu/maverick/dependencies/dbus-tqt/debian/rules b/ubuntu/maverick/dependencies/dbus-tqt/debian/rules
index a59bed76e..26bf6c196 100755
--- a/ubuntu/maverick/dependencies/dbus-tqt/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/dependencies/libart-lgpl/debian/control b/ubuntu/maverick/dependencies/libart-lgpl/debian/control
index f637d46a8..4a6f1594e 100644
--- a/ubuntu/maverick/dependencies/libart-lgpl/debian/control
+++ b/ubuntu/maverick/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 Dröge <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/ubuntu/maverick/dependencies/libart-lgpl/debian/patches/series b/ubuntu/maverick/dependencies/libart-lgpl/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/maverick/dependencies/libart-lgpl/debian/patches/series
diff --git a/ubuntu/maverick/dependencies/libart-lgpl/debian/rules b/ubuntu/maverick/dependencies/libart-lgpl/debian/rules
index 2751eb1f2..add68d0c4 100755
--- a/ubuntu/maverick/dependencies/libart-lgpl/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/dependencies/libcaldav/debian/control b/ubuntu/maverick/dependencies/libcaldav/debian/control
index 6051e6de1..8ba2fed15 100644
--- a/ubuntu/maverick/dependencies/libcaldav/debian/control
+++ b/ubuntu/maverick/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/ubuntu/maverick/dependencies/libcaldav/debian/patches/series b/ubuntu/maverick/dependencies/libcaldav/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/maverick/dependencies/libcaldav/debian/patches/series
diff --git a/ubuntu/maverick/dependencies/libcaldav/debian/rules b/ubuntu/maverick/dependencies/libcaldav/debian/rules
index fb72a35e7..0d067bc3d 100755
--- a/ubuntu/maverick/dependencies/libcaldav/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/dependencies/libcarddav/debian/control b/ubuntu/maverick/dependencies/libcarddav/debian/control
index 7bf8ff1dc..7e3b740bb 100644
--- a/ubuntu/maverick/dependencies/libcarddav/debian/control
+++ b/ubuntu/maverick/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/ubuntu/maverick/dependencies/libcarddav/debian/patches/series b/ubuntu/maverick/dependencies/libcarddav/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/maverick/dependencies/libcarddav/debian/patches/series
diff --git a/ubuntu/maverick/dependencies/libcarddav/debian/rules b/ubuntu/maverick/dependencies/libcarddav/debian/rules
index 24bdcbc93..b22fbca64 100755
--- a/ubuntu/maverick/dependencies/libcarddav/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/dependencies/python-tqt/debian/patches/series b/ubuntu/maverick/dependencies/python-tqt/debian/patches/series
index 15bc57c10..573069d8d 100644
--- a/ubuntu/maverick/dependencies/python-tqt/debian/patches/series
+++ b/ubuntu/maverick/dependencies/python-tqt/debian/patches/series
@@ -1 +1 @@
-debian_configure_changes.diff
+# debian_configure_changes.diff
diff --git a/ubuntu/maverick/dependencies/qt3/debian/control b/ubuntu/maverick/dependencies/qt3/debian/control
index 7641cffbf..37bf73e65 100644
--- a/ubuntu/maverick/dependencies/qt3/debian/control
+++ b/ubuntu/maverick/dependencies/qt3/debian/control
@@ -2,7 +2,7 @@ Source: qt-x11-free
Maintainer: Kubuntu 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/ubuntu/maverick/dependencies/qt3/debian/rules b/ubuntu/maverick/dependencies/qt3/debian/rules
index 7ede42ad9..57dce235a 100755
--- a/ubuntu/maverick/dependencies/qt3/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/dependencies/sip4-tqt/debian/patches/series b/ubuntu/maverick/dependencies/sip4-tqt/debian/patches/series
index c42871d34..0b31a69ff 100644
--- a/ubuntu/maverick/dependencies/sip4-tqt/debian/patches/series
+++ b/ubuntu/maverick/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/ubuntu/maverick/dependencies/sip4-tqt/debian/patches/siputils_objdir_module_fix.diff b/ubuntu/maverick/dependencies/sip4-tqt/debian/patches/siputils_objdir_module_fix.diff
index a9d580737..3c4570b21 100644
--- a/ubuntu/maverick/dependencies/sip4-tqt/debian/patches/siputils_objdir_module_fix.diff
+++ b/ubuntu/maverick/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/ubuntu/maverick/dependencies/tqt3/debian/control b/ubuntu/maverick/dependencies/tqt3/debian/control
index 1655a1357..b524aa513 100644
--- a/ubuntu/maverick/dependencies/tqt3/debian/control
+++ b/ubuntu/maverick/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/ubuntu/maverick/dependencies/tqt3/debian/rules b/ubuntu/maverick/dependencies/tqt3/debian/rules
index d2d66f6a7..b91e34413 100755
--- a/ubuntu/maverick/dependencies/tqt3/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/dependencies/tqtinterface/debian/control b/ubuntu/maverick/dependencies/tqtinterface/debian/control
index 4996e799f..c671091c9 100644
--- a/ubuntu/maverick/dependencies/tqtinterface/debian/control
+++ b/ubuntu/maverick/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/ubuntu/maverick/dependencies/tqtinterface/debian/patches/series b/ubuntu/maverick/dependencies/tqtinterface/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/maverick/dependencies/tqtinterface/debian/patches/series
diff --git a/ubuntu/maverick/dependencies/tqtinterface/debian/rules b/ubuntu/maverick/dependencies/tqtinterface/debian/rules
index 5d8f4cb4c..051e7e40f 100755
--- a/ubuntu/maverick/dependencies/tqtinterface/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/kdegraphics.automake/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/kdegraphics.automake/debian/cdbs/debian-qt-kde.mk
index df08f2d37..7c7e6d56c 100644
--- a/ubuntu/maverick/kdegraphics.automake/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/kdegraphics.automake/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/ubuntu/maverick/kdegraphics.automake/debian/control b/ubuntu/maverick/kdegraphics.automake/debian/control
index 0c8f94d44..ef09b498c 100644
--- a/ubuntu/maverick/kdegraphics.automake/debian/control
+++ b/ubuntu/maverick/kdegraphics.automake/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, kdelibs4-trinity-dev, libexif-dev (>= 0.6.9-1), libfribidi-dev, freeglut3-dev, libgphoto2-2-dev, libopenexr-dev (>= 1.2.1), libpaper-dev, libpoppler-dev, libsane-dev (>> 1.0.15), libtiff4-dev, libtiff-tools, libusb-dev, sharutils, libxxf86vm-dev, chrpath [powerpc], automake, autoconf, libtool, libltdl-dev
+Build-Depends: imlib11-dev, cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), quilt, autotools-dev, gawk, gettext, kdelibs4-trinity-dev, libexif-dev (>= 0.6.9-1), libfribidi-dev, freeglut3-dev, libgphoto2-2-dev, libopenexr-dev (>= 1.2.1), libpaper-dev, libpoppler-dev, libsane-dev (>> 1.0.15), libtiff4-dev, libtiff-tools, libusb-dev, sharutils, libxxf86vm-dev, chrpath [powerpc], automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: kdegraphics-trinity
diff --git a/ubuntu/maverick/kdegraphics.automake/debian/patches/series b/ubuntu/maverick/kdegraphics.automake/debian/patches/series
new file mode 100644
index 000000000..6b3ddc8ec
--- /dev/null
+++ b/ubuntu/maverick/kdegraphics.automake/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/ubuntu/maverick/kdegraphics.automake/debian/rules b/ubuntu/maverick/kdegraphics.automake/debian/rules
index 7a23d61e5..079b05ab7 100755
--- a/ubuntu/maverick/kdegraphics.automake/debian/rules
+++ b/ubuntu/maverick/kdegraphics.automake/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/ubuntu/maverick/kdevelop.cmake/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/kdevelop.cmake/debian/cdbs/debian-qt-kde.mk
index 4a11bc028..6b7b16643 100644
--- a/ubuntu/maverick/kdevelop.cmake/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/kdevelop.cmake/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/ubuntu/maverick/kdevelop.cmake/debian/control b/ubuntu/maverick/kdevelop.cmake/debian/control
index dfa4f6f25..527382167 100644
--- a/ubuntu/maverick/kdevelop.cmake/debian/control
+++ b/ubuntu/maverick/kdevelop.cmake/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), qt3-apps-dev, kdelibs4-trinity-dev, gettext, kdelibs4-trinity-doc, qt3-doc, flex, python, libcvsservice-trinity-dev, groff-base, libsvn-dev, libaprutil1-dev, cmake, libtool, libltdl-dev
+Build-Depends: cdbs (>= 0.4.38), debhelper (>= 5), quilt, qt3-apps-dev, kdelibs4-trinity-dev, gettext, kdelibs4-trinity-doc, qt3-doc, flex, python, libcvsservice-trinity-dev, groff-base, libsvn-dev, libaprutil1-dev, cmake, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: kdevelop-trinity
diff --git a/ubuntu/maverick/kdevelop.cmake/debian/patches/series b/ubuntu/maverick/kdevelop.cmake/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/maverick/kdevelop.cmake/debian/patches/series
diff --git a/ubuntu/maverick/kdevelop.cmake/debian/rules b/ubuntu/maverick/kdevelop.cmake/debian/rules
index 0bf8bfe14..ed08238eb 100755
--- a/ubuntu/maverick/kdevelop.cmake/debian/rules
+++ b/ubuntu/maverick/kdevelop.cmake/debian/rules
@@ -6,7 +6,7 @@ makebuilddir::
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/ubuntu/maverick/libraries/kipi-plugins/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/libraries/kipi-plugins/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/maverick/libraries/kipi-plugins/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/libraries/libkdcraw/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/libraries/libkdcraw/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/maverick/libraries/libkdcraw/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/libraries/libkexiv2/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/libraries/libkexiv2/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/maverick/libraries/libkexiv2/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/libraries/libkipi/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/libraries/libkipi/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/maverick/libraries/libkipi/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/libraries/libkipi/debian/control b/ubuntu/maverick/libraries/libkipi/debian/control
index ef0ce9d5c..7f4a700ce 100644
--- a/ubuntu/maverick/libraries/libkipi/debian/control
+++ b/ubuntu/maverick/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/ubuntu/maverick/libraries/libkipi/debian/patches/series b/ubuntu/maverick/libraries/libkipi/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/maverick/libraries/libkipi/debian/patches/series
diff --git a/ubuntu/maverick/libraries/libkipi/debian/rules b/ubuntu/maverick/libraries/libkipi/debian/rules
index c95fe1343..9835b9048 100755
--- a/ubuntu/maverick/libraries/libkipi/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/libraries/libtdeldap/debian/control b/ubuntu/maverick/libraries/libtdeldap/debian/control
index 78bbffbc8..0f20c21ab 100644
--- a/ubuntu/maverick/libraries/libtdeldap/debian/control
+++ b/ubuntu/maverick/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/ubuntu/maverick/libraries/libtdeldap/debian/patches/series b/ubuntu/maverick/libraries/libtdeldap/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/maverick/libraries/libtdeldap/debian/patches/series
diff --git a/ubuntu/maverick/libraries/libtdeldap/debian/rules b/ubuntu/maverick/libraries/libtdeldap/debian/rules
index 9bed17b05..e4abe53af 100755
--- a/ubuntu/maverick/libraries/libtdeldap/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/tdeaccessibility/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/tdeaccessibility/debian/cdbs/debian-qt-kde.mk
index 4a11bc028..6b7b16643 100644
--- a/ubuntu/maverick/tdeaccessibility/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/tdeaccessibility/debian/control b/ubuntu/maverick/tdeaccessibility/debian/control
index f846cdabd..b043b9a3a 100644
--- a/ubuntu/maverick/tdeaccessibility/debian/control
+++ b/ubuntu/maverick/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/ubuntu/maverick/tdeaccessibility/debian/patches/series b/ubuntu/maverick/tdeaccessibility/debian/patches/series
new file mode 100644
index 000000000..6b3ddc8ec
--- /dev/null
+++ b/ubuntu/maverick/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/ubuntu/maverick/tdeaccessibility/debian/rules b/ubuntu/maverick/tdeaccessibility/debian/rules
index 4fdbdb6c3..98b74d04f 100755
--- a/ubuntu/maverick/tdeaccessibility/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/tdeaddons/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/tdeaddons/debian/cdbs/debian-qt-kde.mk
index 4a11bc028..6b7b16643 100644
--- a/ubuntu/maverick/tdeaddons/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/tdeaddons/debian/control b/ubuntu/maverick/tdeaddons/debian/control
index 381d26c37..1efa78da4 100644
--- a/ubuntu/maverick/tdeaddons/debian/control
+++ b/ubuntu/maverick/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/ubuntu/maverick/tdeaddons/debian/patches/series b/ubuntu/maverick/tdeaddons/debian/patches/series
new file mode 100644
index 000000000..6b3ddc8ec
--- /dev/null
+++ b/ubuntu/maverick/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/ubuntu/maverick/tdeaddons/debian/rules b/ubuntu/maverick/tdeaddons/debian/rules
index 8e8bb53a9..692eacfb0 100755
--- a/ubuntu/maverick/tdeaddons/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/tdeadmin/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/tdeadmin/debian/cdbs/debian-qt-kde.mk
index 4a11bc028..6b7b16643 100644
--- a/ubuntu/maverick/tdeadmin/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/tdeadmin/debian/control b/ubuntu/maverick/tdeadmin/debian/control
index 9a38f650a..990a72cbe 100644
--- a/ubuntu/maverick/tdeadmin/debian/control
+++ b/ubuntu/maverick/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/ubuntu/maverick/tdeadmin/debian/patches/series b/ubuntu/maverick/tdeadmin/debian/patches/series
new file mode 100644
index 000000000..6b3ddc8ec
--- /dev/null
+++ b/ubuntu/maverick/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/ubuntu/maverick/tdeadmin/debian/rules b/ubuntu/maverick/tdeadmin/debian/rules
index 849de5f21..4ddc3ff78 100755
--- a/ubuntu/maverick/tdeadmin/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/tdeartwork/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/tdeartwork/debian/cdbs/debian-qt-kde.mk
index 497be9751..425264528 100644
--- a/ubuntu/maverick/tdeartwork/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/tdeartwork/debian/control b/ubuntu/maverick/tdeartwork/debian/control
index 71e85c054..ce11a9c95 100644
--- a/ubuntu/maverick/tdeartwork/debian/control
+++ b/ubuntu/maverick/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/ubuntu/maverick/tdeartwork/debian/patches/series b/ubuntu/maverick/tdeartwork/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/maverick/tdeartwork/debian/patches/series
diff --git a/ubuntu/maverick/tdeartwork/debian/rules b/ubuntu/maverick/tdeartwork/debian/rules
index 963f996bc..062bd4f29 100755
--- a/ubuntu/maverick/tdeartwork/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/tdebase/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/tdebase/debian/cdbs/debian-qt-kde.mk
index fa0d532f4..ec89756bb 100644
--- a/ubuntu/maverick/tdebase/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/tdebase/debian/control b/ubuntu/maverick/tdebase/debian/control
index 748ea8bf5..e998c677b 100644
--- a/ubuntu/maverick/tdebase/debian/control
+++ b/ubuntu/maverick/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/ubuntu/maverick/tdebase/debian/patches/kubuntu_13_hide_konsolesu_menu_entry.diff b/ubuntu/maverick/tdebase/debian/patches/kubuntu_13_hide_konsolesu_menu_entry.diff
index cd5b0b2eb..9dfccdbd7 100644
--- a/ubuntu/maverick/tdebase/debian/patches/kubuntu_13_hide_konsolesu_menu_entry.diff
+++ b/ubuntu/maverick/tdebase/debian/patches/kubuntu_13_hide_konsolesu_menu_entry.diff
@@ -1,7 +1,9 @@
---- tdebase/konsole/konsolesu.desktop
-+++ tdebase/konsole/konsolesu.desktop
-@@ -81,3 +81,4 @@
- Name[zh_TW]=終端機程式 - 超級使用者模式
+Index: b/konsole/konsolesu.desktop
+===================================================================
+--- a/konsole/konsolesu.desktop
++++ b/konsole/konsolesu.desktop
+@@ -82,3 +82,4 @@
+ GenericName[zh_TW]=終端機程式 - 超級使用者模式
X-TDE-AuthorizeAction=shell_access
Categories=Qt;TDE;X-TDE-System-su;
+NoDisplay=true
diff --git a/ubuntu/maverick/tdebase/debian/patches/series b/ubuntu/maverick/tdebase/debian/patches/series
new file mode 100644
index 000000000..382f72a04
--- /dev/null
+++ b/ubuntu/maverick/tdebase/debian/patches/series
@@ -0,0 +1,21 @@
+disable_default_tdm_theme.diff
+disable_starttde_wallpaper.diff
+kubuntu_04_hide_menu_entries.diff
+kubuntu_06_hide_home_menu_entry.diff
+kubuntu_07_hide_knetattach_menu_entry.diff
+kubuntu_08_hide_kcmkicker_menu_entry.diff
+kubuntu_09_hide_kpersonaliser_menu_entry.diff
+kubuntu_10_hide_kmenuedit_menu_entry.diff
+kubuntu_11_hide_kappfinder_menu_entry.diff
+kubuntu_13_hide_konsolesu_menu_entry.diff
+kubuntu_14_hide_konquerorsu_menu_entry.diff
+kubuntu_15_hide_tdefontview_menu_entry.diff
+kubuntu_16_hide_kpager_menu_entry.diff
+kubuntu_35_hide_klipper_menu_entry.diff
+kubuntu_37_hide_tdeprintfax_menu_entry.diff
+kubuntu_48_hide_display.diff
+kubuntu_70_hide_printers_desktop.diff
+kubuntu_78_kcontrol_hide_component_chooser.diff
+kubuntu_89_new_logout_ui.diff
+kubuntu_9904_hide_kfind.diff
+kubuntu_9921_tdm_bulletproof_x.diff
diff --git a/ubuntu/maverick/tdebase/debian/rules b/ubuntu/maverick/tdebase/debian/rules
index 4982940b1..af7515161 100755
--- a/ubuntu/maverick/tdebase/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/tdebindings/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/tdebindings/debian/cdbs/debian-qt-kde.mk
index 2a219d60a..1e862f623 100644
--- a/ubuntu/maverick/tdebindings/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/tdeedu/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/tdeedu/debian/cdbs/debian-qt-kde.mk
index 4a11bc028..6b7b16643 100644
--- a/ubuntu/maverick/tdeedu/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/tdeedu/debian/control b/ubuntu/maverick/tdeedu/debian/control
index de39b7e8a..2f248f286 100644
--- a/ubuntu/maverick/tdeedu/debian/control
+++ b/ubuntu/maverick/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/ubuntu/maverick/tdeedu/debian/patches/series b/ubuntu/maverick/tdeedu/debian/patches/series
new file mode 100644
index 000000000..6b3ddc8ec
--- /dev/null
+++ b/ubuntu/maverick/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/ubuntu/maverick/tdeedu/debian/rules b/ubuntu/maverick/tdeedu/debian/rules
index 9f81df4c0..c457b98e2 100755
--- a/ubuntu/maverick/tdeedu/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/tdegames/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/tdegames/debian/cdbs/debian-qt-kde.mk
index 4a11bc028..6b7b16643 100644
--- a/ubuntu/maverick/tdegames/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/tdegames/debian/control b/ubuntu/maverick/tdegames/debian/control
index 80c1c1a03..419fbc5fd 100644
--- a/ubuntu/maverick/tdegames/debian/control
+++ b/ubuntu/maverick/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/ubuntu/maverick/tdegames/debian/patches/series b/ubuntu/maverick/tdegames/debian/patches/series
new file mode 100644
index 000000000..6b3ddc8ec
--- /dev/null
+++ b/ubuntu/maverick/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/ubuntu/maverick/tdegames/debian/rules b/ubuntu/maverick/tdegames/debian/rules
index 085eb8404..7f682874f 100755
--- a/ubuntu/maverick/tdegames/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/tdegraphics/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/tdegraphics/debian/cdbs/debian-qt-kde.mk
index df08f2d37..7c7e6d56c 100644
--- a/ubuntu/maverick/tdegraphics/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/tdegraphics/debian/control b/ubuntu/maverick/tdegraphics/debian/control
index 623d2dceb..1e30c8884 100644
--- a/ubuntu/maverick/tdegraphics/debian/control
+++ b/ubuntu/maverick/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/ubuntu/maverick/tdegraphics/debian/patches/series b/ubuntu/maverick/tdegraphics/debian/patches/series
new file mode 100644
index 000000000..6b3ddc8ec
--- /dev/null
+++ b/ubuntu/maverick/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/ubuntu/maverick/tdegraphics/debian/rules b/ubuntu/maverick/tdegraphics/debian/rules
index 9aedb5fcf..87727752f 100755
--- a/ubuntu/maverick/tdegraphics/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/tdelibs/debian/control b/ubuntu/maverick/tdelibs/debian/control
index 279e62d52..ef3874593 100644
--- a/ubuntu/maverick/tdelibs/debian/control
+++ b/ubuntu/maverick/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/ubuntu/maverick/tdelibs/debian/patches/series b/ubuntu/maverick/tdelibs/debian/patches/series
new file mode 100644
index 000000000..b5490e13d
--- /dev/null
+++ b/ubuntu/maverick/tdelibs/debian/patches/series
@@ -0,0 +1 @@
+kubuntu_19_debianize_useragent.diff
diff --git a/ubuntu/maverick/tdelibs/debian/rules b/ubuntu/maverick/tdelibs/debian/rules
index fe0cc4433..d64786b7d 100755
--- a/ubuntu/maverick/tdelibs/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/tdemultimedia/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/tdemultimedia/debian/cdbs/debian-qt-kde.mk
index 4a11bc028..6b7b16643 100644
--- a/ubuntu/maverick/tdemultimedia/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/tdemultimedia/debian/control b/ubuntu/maverick/tdemultimedia/debian/control
index 56fb029fe..abfb6c797 100644
--- a/ubuntu/maverick/tdemultimedia/debian/control
+++ b/ubuntu/maverick/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/ubuntu/maverick/tdemultimedia/debian/patches/series b/ubuntu/maverick/tdemultimedia/debian/patches/series
new file mode 100644
index 000000000..6b3ddc8ec
--- /dev/null
+++ b/ubuntu/maverick/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/ubuntu/maverick/tdemultimedia/debian/rules b/ubuntu/maverick/tdemultimedia/debian/rules
index 4dcb0d43d..1a946ecfc 100755
--- a/ubuntu/maverick/tdemultimedia/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/tdenetwork/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/tdenetwork/debian/cdbs/debian-qt-kde.mk
index f8b76cb04..4a9d74d88 100644
--- a/ubuntu/maverick/tdenetwork/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/tdenetwork/debian/control b/ubuntu/maverick/tdenetwork/debian/control
index 5228e65e0..686a4eeb7 100644
--- a/ubuntu/maverick/tdenetwork/debian/control
+++ b/ubuntu/maverick/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/ubuntu/maverick/tdenetwork/debian/patches/series b/ubuntu/maverick/tdenetwork/debian/patches/series
new file mode 100644
index 000000000..6b3ddc8ec
--- /dev/null
+++ b/ubuntu/maverick/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/ubuntu/maverick/tdenetwork/debian/rules b/ubuntu/maverick/tdenetwork/debian/rules
index 0ee562691..539d5a557 100755
--- a/ubuntu/maverick/tdenetwork/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/tdepim/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/tdepim/debian/cdbs/debian-qt-kde.mk
index fa0d532f4..ec89756bb 100644
--- a/ubuntu/maverick/tdepim/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/tdepim/debian/control b/ubuntu/maverick/tdepim/debian/control
index 6a06bda38..3bdcc7478 100644
--- a/ubuntu/maverick/tdepim/debian/control
+++ b/ubuntu/maverick/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/ubuntu/maverick/tdepim/debian/patches/series b/ubuntu/maverick/tdepim/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/maverick/tdepim/debian/patches/series
diff --git a/ubuntu/maverick/tdepim/debian/rules b/ubuntu/maverick/tdepim/debian/rules
index 48c8b7fa2..e01240a19 100755
--- a/ubuntu/maverick/tdepim/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/tdesdk/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/tdesdk/debian/cdbs/debian-qt-kde.mk
index f8b76cb04..4a9d74d88 100644
--- a/ubuntu/maverick/tdesdk/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/tdesdk/debian/control b/ubuntu/maverick/tdesdk/debian/control
index 7cb17058f..552888667 100644
--- a/ubuntu/maverick/tdesdk/debian/control
+++ b/ubuntu/maverick/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/ubuntu/maverick/tdesdk/debian/patches/series b/ubuntu/maverick/tdesdk/debian/patches/series
new file mode 100644
index 000000000..6b3ddc8ec
--- /dev/null
+++ b/ubuntu/maverick/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/ubuntu/maverick/tdesdk/debian/rules b/ubuntu/maverick/tdesdk/debian/rules
index 15a2da318..c4ecc592b 100755
--- a/ubuntu/maverick/tdesdk/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/tdetoys/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/tdetoys/debian/cdbs/debian-qt-kde.mk
index f8b76cb04..4a9d74d88 100644
--- a/ubuntu/maverick/tdetoys/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/tdetoys/debian/control b/ubuntu/maverick/tdetoys/debian/control
index 673937581..11ba906c3 100644
--- a/ubuntu/maverick/tdetoys/debian/control
+++ b/ubuntu/maverick/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/ubuntu/maverick/tdetoys/debian/patches/series b/ubuntu/maverick/tdetoys/debian/patches/series
new file mode 100644
index 000000000..6b3ddc8ec
--- /dev/null
+++ b/ubuntu/maverick/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/ubuntu/maverick/tdetoys/debian/rules b/ubuntu/maverick/tdetoys/debian/rules
index da1268d9f..21108293f 100755
--- a/ubuntu/maverick/tdetoys/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/tdeutils/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/tdeutils/debian/cdbs/debian-qt-kde.mk
index f8b76cb04..4a9d74d88 100644
--- a/ubuntu/maverick/tdeutils/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/tdeutils/debian/control b/ubuntu/maverick/tdeutils/debian/control
index 004be1738..fa4d66f75 100644
--- a/ubuntu/maverick/tdeutils/debian/control
+++ b/ubuntu/maverick/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/ubuntu/maverick/tdeutils/debian/patches/series b/ubuntu/maverick/tdeutils/debian/patches/series
new file mode 100644
index 000000000..f4421a4c2
--- /dev/null
+++ b/ubuntu/maverick/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/ubuntu/maverick/tdeutils/debian/rules b/ubuntu/maverick/tdeutils/debian/rules
index 19848196e..c7e800362 100755
--- a/ubuntu/maverick/tdeutils/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/tdevelop/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/tdevelop/debian/cdbs/debian-qt-kde.mk
index f8b76cb04..4a9d74d88 100644
--- a/ubuntu/maverick/tdevelop/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/tdevelop/debian/control b/ubuntu/maverick/tdevelop/debian/control
index c5ef6b183..bd615b9ef 100644
--- a/ubuntu/maverick/tdevelop/debian/control
+++ b/ubuntu/maverick/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/ubuntu/maverick/tdevelop/debian/patches/series b/ubuntu/maverick/tdevelop/debian/patches/series
new file mode 100644
index 000000000..6b3ddc8ec
--- /dev/null
+++ b/ubuntu/maverick/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/ubuntu/maverick/tdevelop/debian/rules b/ubuntu/maverick/tdevelop/debian/rules
index 95a3981ea..9d5bcbc87 100755
--- a/ubuntu/maverick/tdevelop/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/maverick/tdewebdev/debian/cdbs/debian-qt-kde.mk b/ubuntu/maverick/tdewebdev/debian/cdbs/debian-qt-kde.mk
index 4a11bc028..6b7b16643 100644
--- a/ubuntu/maverick/tdewebdev/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/maverick/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/ubuntu/maverick/tdewebdev/debian/control b/ubuntu/maverick/tdewebdev/debian/control
index 4dab927fb..099361776 100644
--- a/ubuntu/maverick/tdewebdev/debian/control
+++ b/ubuntu/maverick/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/ubuntu/maverick/tdewebdev/debian/patches/series b/ubuntu/maverick/tdewebdev/debian/patches/series
new file mode 100644
index 000000000..8f8f0bd6b
--- /dev/null
+++ b/ubuntu/maverick/tdewebdev/debian/patches/series
@@ -0,0 +1 @@
+common/kubuntu_01_kdepot.diff
diff --git a/ubuntu/maverick/tdewebdev/debian/rules b/ubuntu/maverick/tdewebdev/debian/rules
index 1e601c5e2..46e21c610 100755
--- a/ubuntu/maverick/tdewebdev/debian/rules
+++ b/ubuntu/maverick/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/ubuntu/precise/applications/abakus/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/abakus/debian/cdbs/debian-qt-kde.mk
index 5e704aa4a..c5d8ecfd3 100644
--- a/ubuntu/precise/applications/abakus/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/abakus/debian/control b/ubuntu/precise/applications/abakus/debian/control
index 7e580c5cb..29900d32a 100644
--- a/ubuntu/precise/applications/abakus/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/applications/abakus/debian/patches/series b/ubuntu/precise/applications/abakus/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/precise/applications/abakus/debian/patches/series
diff --git a/ubuntu/precise/applications/abakus/debian/rules b/ubuntu/precise/applications/abakus/debian/rules
index c856f7cae..83d7d7fb4 100755
--- a/ubuntu/precise/applications/abakus/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/applications/adept/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/adept/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/precise/applications/adept/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/adept/debian/control b/ubuntu/precise/applications/adept/debian/control
index 85debf475..a51c16730 100644
--- a/ubuntu/precise/applications/adept/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/applications/adept/debian/patches/series b/ubuntu/precise/applications/adept/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/precise/applications/adept/debian/patches/series
diff --git a/ubuntu/precise/applications/adept/debian/rules b/ubuntu/precise/applications/adept/debian/rules
index 742307eb6..0e554102b 100755
--- a/ubuntu/precise/applications/adept/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/applications/amarok.cmake/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/amarok.cmake/debian/cdbs/debian-qt-kde.mk
index 345cc0a61..fb36ac52f 100644
--- a/ubuntu/precise/applications/amarok.cmake/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/amarok.cmake/debian/rules b/ubuntu/precise/applications/amarok.cmake/debian/rules
index 4fd9a743d..7f157aa03 100755
--- a/ubuntu/precise/applications/amarok.cmake/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/applications/amarok/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/amarok/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/precise/applications/amarok/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/basket/debian/control b/ubuntu/precise/applications/basket/debian/control
index 41c351fb9..271295621 100644
--- a/ubuntu/precise/applications/basket/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/applications/basket/debian/rules b/ubuntu/precise/applications/basket/debian/rules
index d3cf5255e..4afb63bdd 100755
--- a/ubuntu/precise/applications/basket/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/applications/bibletime/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/bibletime/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/precise/applications/bibletime/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/bibletime/debian/patches/series b/ubuntu/precise/applications/bibletime/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/precise/applications/bibletime/debian/patches/series
diff --git a/ubuntu/precise/applications/bibletime/debian/rules b/ubuntu/precise/applications/bibletime/debian/rules
index 4106bf0f4..9e134b1f7 100755
--- a/ubuntu/precise/applications/bibletime/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/applications/compizconfig-backend-tdeconfig/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/compizconfig-backend-tdeconfig/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/precise/applications/compizconfig-backend-tdeconfig/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/compizconfig-backend-tdeconfig/debian/control b/ubuntu/precise/applications/compizconfig-backend-tdeconfig/debian/control
index 27beb5ab8..699f8b16a 100644
--- a/ubuntu/precise/applications/compizconfig-backend-tdeconfig/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/applications/compizconfig-backend-tdeconfig/debian/patches/series b/ubuntu/precise/applications/compizconfig-backend-tdeconfig/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/precise/applications/compizconfig-backend-tdeconfig/debian/patches/series
diff --git a/ubuntu/precise/applications/compizconfig-backend-tdeconfig/debian/rules b/ubuntu/precise/applications/compizconfig-backend-tdeconfig/debian/rules
index 85efaa2fa..eb681a06a 100755
--- a/ubuntu/precise/applications/compizconfig-backend-tdeconfig/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/applications/digikam/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/digikam/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/precise/applications/digikam/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/digikam/debian/control b/ubuntu/precise/applications/digikam/debian/control
index e851cfee2..4713c9d42 100644
--- a/ubuntu/precise/applications/digikam/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/applications/digikam/debian/patches/series b/ubuntu/precise/applications/digikam/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/precise/applications/digikam/debian/patches/series
diff --git a/ubuntu/precise/applications/digikam/debian/rules b/ubuntu/precise/applications/digikam/debian/rules
index 76fa321bc..cc9992ad3 100755
--- a/ubuntu/precise/applications/digikam/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/applications/dolphin/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/dolphin/debian/cdbs/debian-qt-kde.mk
index 345cc0a61..fb36ac52f 100644
--- a/ubuntu/precise/applications/dolphin/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/dolphin/debian/control b/ubuntu/precise/applications/dolphin/debian/control
index fcbd2594e..27502f3d7 100644
--- a/ubuntu/precise/applications/dolphin/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/applications/dolphin/debian/patches/series b/ubuntu/precise/applications/dolphin/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/precise/applications/dolphin/debian/patches/series
diff --git a/ubuntu/precise/applications/dolphin/debian/rules b/ubuntu/precise/applications/dolphin/debian/rules
index 66ea98891..f978c418e 100755
--- a/ubuntu/precise/applications/dolphin/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/applications/filelight-l10n/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/filelight-l10n/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/precise/applications/filelight-l10n/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/filelight-l10n/debian/control b/ubuntu/precise/applications/filelight-l10n/debian/control
index bf308060f..ae0d177a1 100644
--- a/ubuntu/precise/applications/filelight-l10n/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/applications/filelight-l10n/debian/patches/series b/ubuntu/precise/applications/filelight-l10n/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/precise/applications/filelight-l10n/debian/patches/series
diff --git a/ubuntu/precise/applications/filelight-l10n/debian/rules b/ubuntu/precise/applications/filelight-l10n/debian/rules
index 84a2f4975..6d6088aad 100755
--- a/ubuntu/precise/applications/filelight-l10n/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/applications/filelight/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/filelight/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/precise/applications/filelight/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/fusion-icon/debian/control b/ubuntu/precise/applications/fusion-icon/debian/control
index 0c45f670d..befa8ed81 100644
--- a/ubuntu/precise/applications/fusion-icon/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/applications/fusion-icon/debian/patches/series b/ubuntu/precise/applications/fusion-icon/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/precise/applications/fusion-icon/debian/patches/series
diff --git a/ubuntu/precise/applications/fusion-icon/debian/rules b/ubuntu/precise/applications/fusion-icon/debian/rules
index 2b780a204..3c129a596 100755
--- a/ubuntu/precise/applications/fusion-icon/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/applications/gtk-qt-engine/debian/control b/ubuntu/precise/applications/gtk-qt-engine/debian/control
index bd427686e..f2100a4e7 100644
--- a/ubuntu/precise/applications/gtk-qt-engine/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/applications/gtk-qt-engine/debian/patches/series b/ubuntu/precise/applications/gtk-qt-engine/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/precise/applications/gtk-qt-engine/debian/patches/series
diff --git a/ubuntu/precise/applications/gtk-qt-engine/debian/rules b/ubuntu/precise/applications/gtk-qt-engine/debian/rules
index 8c78b986c..64a42472c 100755
--- a/ubuntu/precise/applications/gtk-qt-engine/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/applications/gtk3-tqt-engine/debian/control b/ubuntu/precise/applications/gtk3-tqt-engine/debian/control
index a192c467e..4acce9a2e 100644
--- a/ubuntu/precise/applications/gtk3-tqt-engine/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/applications/gtk3-tqt-engine/debian/patches/series b/ubuntu/precise/applications/gtk3-tqt-engine/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/precise/applications/gtk3-tqt-engine/debian/patches/series
diff --git a/ubuntu/precise/applications/gtk3-tqt-engine/debian/rules b/ubuntu/precise/applications/gtk3-tqt-engine/debian/rules
index 9bed17b05..e4abe53af 100755
--- a/ubuntu/precise/applications/gtk3-tqt-engine/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/applications/gwenview-i18n/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/gwenview-i18n/debian/cdbs/debian-qt-kde.mk
index fa0d532f4..ec89756bb 100644
--- a/ubuntu/precise/applications/gwenview-i18n/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/gwenview-i18n/debian/patches/series b/ubuntu/precise/applications/gwenview-i18n/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/precise/applications/gwenview-i18n/debian/patches/series
diff --git a/ubuntu/precise/applications/gwenview-i18n/debian/rules b/ubuntu/precise/applications/gwenview-i18n/debian/rules
index 3070a9c9d..045fcc43f 100755
--- a/ubuntu/precise/applications/gwenview-i18n/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/applications/gwenview/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/gwenview/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/precise/applications/gwenview/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/gwenview/debian/control b/ubuntu/precise/applications/gwenview/debian/control
index 52bebd33b..f5c7f10d9 100644
--- a/ubuntu/precise/applications/gwenview/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/applications/gwenview/debian/patches/series b/ubuntu/precise/applications/gwenview/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/precise/applications/gwenview/debian/patches/series
diff --git a/ubuntu/precise/applications/gwenview/debian/rules b/ubuntu/precise/applications/gwenview/debian/rules
index 2fca00e50..943f33d55 100755
--- a/ubuntu/precise/applications/gwenview/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/applications/k3b/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/k3b/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/precise/applications/k3b/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/k3b/debian/control b/ubuntu/precise/applications/k3b/debian/control
index 9ca5728d9..7278af526 100644
--- a/ubuntu/precise/applications/k3b/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/applications/k3b/debian/patches/series b/ubuntu/precise/applications/k3b/debian/patches/series
new file mode 100644
index 000000000..bff63cb8c
--- /dev/null
+++ b/ubuntu/precise/applications/k3b/debian/patches/series
@@ -0,0 +1 @@
+111_advice_kubuntu_restricted_extras.diff
diff --git a/ubuntu/precise/applications/k3b/debian/rules b/ubuntu/precise/applications/k3b/debian/rules
index cc895cd83..f3d017250 100755
--- a/ubuntu/precise/applications/k3b/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/applications/k9copy/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/k9copy/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/precise/applications/k9copy/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/k9copy/debian/control b/ubuntu/precise/applications/k9copy/debian/control
index 995d38120..d005d4d13 100644
--- a/ubuntu/precise/applications/k9copy/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/applications/k9copy/debian/patches/series b/ubuntu/precise/applications/k9copy/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/precise/applications/k9copy/debian/patches/series
diff --git a/ubuntu/precise/applications/k9copy/debian/rules b/ubuntu/precise/applications/k9copy/debian/rules
index 9d406d017..365bf8ac6 100755
--- a/ubuntu/precise/applications/k9copy/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/applications/kaffeine/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/kaffeine/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/precise/applications/kaffeine/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/kaffeine/debian/control b/ubuntu/precise/applications/kaffeine/debian/control
index 3141b6908..b558621cd 100644
--- a/ubuntu/precise/applications/kaffeine/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/applications/kaffeine/debian/patches/series b/ubuntu/precise/applications/kaffeine/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/precise/applications/kaffeine/debian/patches/series
diff --git a/ubuntu/precise/applications/kaffeine/debian/rules b/ubuntu/precise/applications/kaffeine/debian/rules
index 5087a0863..3afb59271 100755
--- a/ubuntu/precise/applications/kaffeine/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/applications/kasablanca/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/kasablanca/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/ubuntu/precise/applications/kasablanca/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/kasablanca/debian/control b/ubuntu/precise/applications/kasablanca/debian/control
index 0e8aed6ad..01515bd06 100644
--- a/ubuntu/precise/applications/kasablanca/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/applications/kasablanca/debian/patches/series b/ubuntu/precise/applications/kasablanca/debian/patches/series
new file mode 100644
index 000000000..b8743ddd9
--- /dev/null
+++ b/ubuntu/precise/applications/kasablanca/debian/patches/series
@@ -0,0 +1,2 @@
+04_am_maintainer_mode.diff
+06_disable_no_undefined.diff
diff --git a/ubuntu/precise/applications/kasablanca/debian/rules b/ubuntu/precise/applications/kasablanca/debian/rules
index 76e30e3f1..e12e8b448 100755
--- a/ubuntu/precise/applications/kasablanca/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/applications/katapult/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/katapult/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/precise/applications/katapult/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/katapult/debian/control b/ubuntu/precise/applications/katapult/debian/control
index dc2431d3a..ac493a14a 100644
--- a/ubuntu/precise/applications/katapult/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/applications/katapult/debian/patches/series b/ubuntu/precise/applications/katapult/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/precise/applications/katapult/debian/patches/series
diff --git a/ubuntu/precise/applications/katapult/debian/rules b/ubuntu/precise/applications/katapult/debian/rules
index 779671876..8f2dd7642 100755
--- a/ubuntu/precise/applications/katapult/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/applications/kbarcode/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/kbarcode/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/precise/applications/kbarcode/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/kbfx/debian/control b/ubuntu/precise/applications/kbfx/debian/control
index bd38e2009..810bb6c7a 100644
--- a/ubuntu/precise/applications/kbfx/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/applications/kbfx/debian/patches/series b/ubuntu/precise/applications/kbfx/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/precise/applications/kbfx/debian/patches/series
diff --git a/ubuntu/precise/applications/kbfx/debian/rules b/ubuntu/precise/applications/kbfx/debian/rules
index 7c57eacb9..ddf86b0bb 100755
--- a/ubuntu/precise/applications/kbfx/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/applications/kbibtex/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/kbibtex/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/ubuntu/precise/applications/kbibtex/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/kbiff/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/kbiff/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/ubuntu/precise/applications/kbiff/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/kbookreader/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/kbookreader/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/precise/applications/kbookreader/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/kbookreader/debian/control b/ubuntu/precise/applications/kbookreader/debian/control
index 2a6ebed50..368dfae8f 100644
--- a/ubuntu/precise/applications/kbookreader/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/applications/kbookreader/debian/patches/series b/ubuntu/precise/applications/kbookreader/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/precise/applications/kbookreader/debian/patches/series
diff --git a/ubuntu/precise/applications/kbookreader/debian/rules b/ubuntu/precise/applications/kbookreader/debian/rules
index 53794c4fe..ef1dd49ff 100755
--- a/ubuntu/precise/applications/kbookreader/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/applications/kcmautostart/debian/control b/ubuntu/precise/applications/kcmautostart/debian/control
index 2eb9e9c3f..225c33269 100644
--- a/ubuntu/precise/applications/kcmautostart/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/applications/kcmautostart/debian/patches/series b/ubuntu/precise/applications/kcmautostart/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/precise/applications/kcmautostart/debian/patches/series
diff --git a/ubuntu/precise/applications/kcmautostart/debian/rules b/ubuntu/precise/applications/kcmautostart/debian/rules
index 9bed17b05..e4abe53af 100755
--- a/ubuntu/precise/applications/kcmautostart/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/applications/kcmldap/debian/control b/ubuntu/precise/applications/kcmldap/debian/control
index 5bdbbbe9c..77afbaf4a 100644
--- a/ubuntu/precise/applications/kcmldap/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/applications/kcmldap/debian/patches/series b/ubuntu/precise/applications/kcmldap/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/precise/applications/kcmldap/debian/patches/series
diff --git a/ubuntu/precise/applications/kcmldap/debian/rules b/ubuntu/precise/applications/kcmldap/debian/rules
index 9bed17b05..e4abe53af 100755
--- a/ubuntu/precise/applications/kcmldap/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/applications/kcmldapcontroller/debian/control b/ubuntu/precise/applications/kcmldapcontroller/debian/control
index bd10bfa04..81a9a046d 100644
--- a/ubuntu/precise/applications/kcmldapcontroller/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/applications/kcmldapcontroller/debian/patches/series b/ubuntu/precise/applications/kcmldapcontroller/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/precise/applications/kcmldapcontroller/debian/patches/series
diff --git a/ubuntu/precise/applications/kcmldapcontroller/debian/rules b/ubuntu/precise/applications/kcmldapcontroller/debian/rules
index 9bed17b05..e4abe53af 100755
--- a/ubuntu/precise/applications/kcmldapcontroller/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/applications/kcmldapmanager/debian/control b/ubuntu/precise/applications/kcmldapmanager/debian/control
index 10551309e..70af95ae3 100644
--- a/ubuntu/precise/applications/kcmldapmanager/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/applications/kcmldapmanager/debian/patches/series b/ubuntu/precise/applications/kcmldapmanager/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/precise/applications/kcmldapmanager/debian/patches/series
diff --git a/ubuntu/precise/applications/kcmldapmanager/debian/rules b/ubuntu/precise/applications/kcmldapmanager/debian/rules
index 9bed17b05..e4abe53af 100755
--- a/ubuntu/precise/applications/kcmldapmanager/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/applications/kcpuload/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/kcpuload/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/precise/applications/kcpuload/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/kdbg/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/kdbg/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/ubuntu/precise/applications/kdbg/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/kdbusnotification/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/kdbusnotification/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/precise/applications/kdbusnotification/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/kdiff3/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/kdiff3/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/precise/applications/kdiff3/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/kdirstat/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/kdirstat/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/precise/applications/kdirstat/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/kdirstat/debian/control b/ubuntu/precise/applications/kdirstat/debian/control
index 4795318f8..d83d71afe 100644
--- a/ubuntu/precise/applications/kdirstat/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/applications/kdirstat/debian/patches/series b/ubuntu/precise/applications/kdirstat/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/precise/applications/kdirstat/debian/patches/series
diff --git a/ubuntu/precise/applications/kdirstat/debian/rules b/ubuntu/precise/applications/kdirstat/debian/rules
index 8c0a950a3..afa7b060d 100755
--- a/ubuntu/precise/applications/kdirstat/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/applications/kdpkg/debian/control b/ubuntu/precise/applications/kdpkg/debian/control
index 1b89e2450..5e2bc7870 100644
--- a/ubuntu/precise/applications/kdpkg/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/applications/kdpkg/debian/patches/series b/ubuntu/precise/applications/kdpkg/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/precise/applications/kdpkg/debian/patches/series
diff --git a/ubuntu/precise/applications/kdpkg/debian/rules b/ubuntu/precise/applications/kdpkg/debian/rules
index 455414f69..2ff6ee66f 100755
--- a/ubuntu/precise/applications/kdpkg/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/applications/keep/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/keep/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/precise/applications/keep/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/keep/debian/control b/ubuntu/precise/applications/keep/debian/control
index ee2e6676f..1e411624f 100644
--- a/ubuntu/precise/applications/keep/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/applications/keep/debian/patches/series b/ubuntu/precise/applications/keep/debian/patches/series
new file mode 100644
index 000000000..9ccf4a125
--- /dev/null
+++ b/ubuntu/precise/applications/keep/debian/patches/series
@@ -0,0 +1 @@
+kubuntu_01_kdepot.diff
diff --git a/ubuntu/precise/applications/keep/debian/rules b/ubuntu/precise/applications/keep/debian/rules
index c08262790..ae055a958 100755
--- a/ubuntu/precise/applications/keep/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/applications/kerberostray/debian/control b/ubuntu/precise/applications/kerberostray/debian/control
index 215814458..bf4d6c2e5 100644
--- a/ubuntu/precise/applications/kerberostray/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/applications/kerberostray/debian/patches/series b/ubuntu/precise/applications/kerberostray/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/precise/applications/kerberostray/debian/patches/series
diff --git a/ubuntu/precise/applications/kerberostray/debian/rules b/ubuntu/precise/applications/kerberostray/debian/rules
index 9bed17b05..e4abe53af 100755
--- a/ubuntu/precise/applications/kerberostray/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/applications/kerry/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/kerry/debian/cdbs/debian-qt-kde.mk
index 4a11bc028..6b7b16643 100644
--- a/ubuntu/precise/applications/kerry/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/kerry/debian/control b/ubuntu/precise/applications/kerry/debian/control
index 914717575..04a60414a 100644
--- a/ubuntu/precise/applications/kerry/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/applications/kerry/debian/patches/kubuntu_03_no_beagle_autostart.patch b/ubuntu/precise/applications/kerry/debian/patches/kubuntu_03_no_beagle_autostart.patch
index 811069db9..7b06f8128 100644
--- a/ubuntu/precise/applications/kerry/debian/patches/kubuntu_03_no_beagle_autostart.patch
+++ b/ubuntu/precise/applications/kerry/debian/patches/kubuntu_03_no_beagle_autostart.patch
@@ -1,8 +1,9 @@
-diff -Nur kerry-0.2.1/kerry/src/Makefile.am kerry-0.2.1.new/kerry/src/Makefile.am
---- kerry-0.2.1/kerry/src/Makefile.am 2006-12-05 18:28:31.000000000 +0100
-+++ kerry-0.2.1.new/kerry/src/Makefile.am 2006-12-05 18:28:53.000000000 +0100
+Index: b/kerry/src/Makefile.am
+===================================================================
+--- a/kerry/src/Makefile.am
++++ b/kerry/src/Makefile.am
@@ -31,7 +31,7 @@
- kerry_la_LIBADD = -lkio -lkonq $(LIB_TDEUI) $(LIBBEAGLE_LIBADD) $(GLIB_LIBADD) $(LIB_TDEABC) -lDCOP $(LIB_QT) $(LIB_TDECORE)
+ kerry_la_LIBADD = -ltdeio -lkonq $(LIB_TDEUI) $(LIBBEAGLE_LIBADD) $(GLIB_LIBADD) $(LIB_TDEABC) -lDCOP $(LIB_QT) $(LIB_TDECORE)
autostartdir = $(datadir)/autostart
-autostart_DATA = kerry.autostart.desktop beagled.desktop
diff --git a/ubuntu/precise/applications/kerry/debian/patches/series b/ubuntu/precise/applications/kerry/debian/patches/series
new file mode 100644
index 000000000..f23925f70
--- /dev/null
+++ b/ubuntu/precise/applications/kerry/debian/patches/series
@@ -0,0 +1,3 @@
+kubuntu_03_no_beagle_autostart.patch
+kubuntu_04_no_core_kmenu_entry.desktop.patch
+kubuntu_05_shortkey.patch
diff --git a/ubuntu/precise/applications/kerry/debian/rules b/ubuntu/precise/applications/kerry/debian/rules
index dea466c17..7b26c5eb5 100755
--- a/ubuntu/precise/applications/kerry/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/applications/kftpgrabber/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/kftpgrabber/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/ubuntu/precise/applications/kftpgrabber/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/kftpgrabber/debian/control b/ubuntu/precise/applications/kftpgrabber/debian/control
index eaa793711..3e06c17d3 100644
--- a/ubuntu/precise/applications/kftpgrabber/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/applications/kftpgrabber/debian/patches/series b/ubuntu/precise/applications/kftpgrabber/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/precise/applications/kftpgrabber/debian/patches/series
diff --git a/ubuntu/precise/applications/kftpgrabber/debian/rules b/ubuntu/precise/applications/kftpgrabber/debian/rules
index 51e8bf7a9..64be165cd 100755
--- a/ubuntu/precise/applications/kftpgrabber/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/applications/kgtk-qt3/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/kgtk-qt3/debian/cdbs/debian-qt-kde.mk
index 5e704aa4a..c5d8ecfd3 100644
--- a/ubuntu/precise/applications/kgtk-qt3/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/kgtk-qt3/debian/control b/ubuntu/precise/applications/kgtk-qt3/debian/control
index d00331788..aabff8853 100644
--- a/ubuntu/precise/applications/kgtk-qt3/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/applications/kgtk-qt3/debian/patches/series b/ubuntu/precise/applications/kgtk-qt3/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/precise/applications/kgtk-qt3/debian/patches/series
diff --git a/ubuntu/precise/applications/kgtk-qt3/debian/rules b/ubuntu/precise/applications/kgtk-qt3/debian/rules
index b4cb7a953..91c8ec995 100755
--- a/ubuntu/precise/applications/kgtk-qt3/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/applications/kile/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/kile/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/precise/applications/kile/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/kiosktool/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/kiosktool/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/precise/applications/kiosktool/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/kiosktool/debian/control b/ubuntu/precise/applications/kiosktool/debian/control
index 322d2b3b4..6779d88ff 100644
--- a/ubuntu/precise/applications/kiosktool/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/applications/kiosktool/debian/patches/series b/ubuntu/precise/applications/kiosktool/debian/patches/series
new file mode 100644
index 000000000..f33e94505
--- /dev/null
+++ b/ubuntu/precise/applications/kiosktool/debian/patches/series
@@ -0,0 +1,2 @@
+kubuntu_02_kmenu.diff
+kubuntu_03_sudo_support.diff
diff --git a/ubuntu/precise/applications/kiosktool/debian/rules b/ubuntu/precise/applications/kiosktool/debian/rules
index 507e5a458..7e010577d 100755
--- a/ubuntu/precise/applications/kiosktool/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/applications/kkbswitch/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/kkbswitch/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/ubuntu/precise/applications/kkbswitch/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/klcddimmer/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/klcddimmer/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/ubuntu/precise/applications/klcddimmer/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/kmplayer/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/kmplayer/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/precise/applications/kmplayer/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/kmplayer/debian/control b/ubuntu/precise/applications/kmplayer/debian/control
index ac1cac49a..e9c67c756 100644
--- a/ubuntu/precise/applications/kmplayer/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/applications/kmplayer/debian/patches/series b/ubuntu/precise/applications/kmplayer/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/precise/applications/kmplayer/debian/patches/series
diff --git a/ubuntu/precise/applications/kmplayer/debian/rules b/ubuntu/precise/applications/kmplayer/debian/rules
index 2c29e9b14..093944c34 100755
--- a/ubuntu/precise/applications/kmplayer/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/applications/kmymoney/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/kmymoney/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/precise/applications/kmymoney/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/kmymoney/debian/control b/ubuntu/precise/applications/kmymoney/debian/control
index a8a2b7284..94c4c54a7 100644
--- a/ubuntu/precise/applications/kmymoney/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/applications/kmymoney/debian/patches/series b/ubuntu/precise/applications/kmymoney/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/precise/applications/kmymoney/debian/patches/series
diff --git a/ubuntu/precise/applications/kmymoney/debian/rules b/ubuntu/precise/applications/kmymoney/debian/rules
index 4c3b55cb4..d636191c4 100755
--- a/ubuntu/precise/applications/kmymoney/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/applications/knemo/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/knemo/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/precise/applications/knemo/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/knemo/debian/control b/ubuntu/precise/applications/knemo/debian/control
index 97ac6597a..e98618b20 100644
--- a/ubuntu/precise/applications/knemo/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/applications/knemo/debian/patches/series b/ubuntu/precise/applications/knemo/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/precise/applications/knemo/debian/patches/series
diff --git a/ubuntu/precise/applications/knemo/debian/rules b/ubuntu/precise/applications/knemo/debian/rules
index 345d9f54d..9e3a13754 100755
--- a/ubuntu/precise/applications/knemo/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/applications/knetstats/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/knetstats/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/precise/applications/knetstats/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/knetstats/debian/control b/ubuntu/precise/applications/knetstats/debian/control
index f710b9e09..611a29672 100644
--- a/ubuntu/precise/applications/knetstats/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/applications/knetstats/debian/patches/series b/ubuntu/precise/applications/knetstats/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/precise/applications/knetstats/debian/patches/series
diff --git a/ubuntu/precise/applications/knetstats/debian/rules b/ubuntu/precise/applications/knetstats/debian/rules
index 1a573fb20..7da95d739 100755
--- a/ubuntu/precise/applications/knetstats/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/applications/knetworkmanager.cmake/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/knetworkmanager.cmake/debian/cdbs/debian-qt-kde.mk
index 345cc0a61..fb36ac52f 100644
--- a/ubuntu/precise/applications/knetworkmanager.cmake/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/knetworkmanager.cmake/debian/rules b/ubuntu/precise/applications/knetworkmanager.cmake/debian/rules
index 5043dd652..7b801da5f 100755
--- a/ubuntu/precise/applications/knetworkmanager.cmake/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/applications/knetworkmanager8/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/knetworkmanager8/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/precise/applications/knetworkmanager8/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/knmap/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/knmap/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/ubuntu/precise/applications/knmap/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/knmap/debian/control b/ubuntu/precise/applications/knmap/debian/control
index ff43fd3f7..6b8893341 100644
--- a/ubuntu/precise/applications/knmap/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/applications/knmap/debian/patches/series b/ubuntu/precise/applications/knmap/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/precise/applications/knmap/debian/patches/series
diff --git a/ubuntu/precise/applications/knmap/debian/rules b/ubuntu/precise/applications/knmap/debian/rules
index 348e53573..7a20baa99 100755
--- a/ubuntu/precise/applications/knmap/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/applications/koffice/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/koffice/debian/cdbs/debian-qt-kde.mk
index b93e7c154..a803f50d6 100644
--- a/ubuntu/precise/applications/koffice/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/koffice/debian/control b/ubuntu/precise/applications/koffice/debian/control
index 6d2e73b8c..4b2f86587 100644
--- a/ubuntu/precise/applications/koffice/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/applications/koffice/debian/patches/series b/ubuntu/precise/applications/koffice/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/precise/applications/koffice/debian/patches/series
diff --git a/ubuntu/precise/applications/koffice/debian/rules b/ubuntu/precise/applications/koffice/debian/rules
index ed91a11c3..495d85db8 100755
--- a/ubuntu/precise/applications/koffice/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/applications/konversation/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/konversation/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/precise/applications/konversation/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/kopete-otr/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/kopete-otr/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/precise/applications/kopete-otr/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/kpilot/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/kpilot/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/precise/applications/kpilot/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/kpowersave.cmake/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/kpowersave.cmake/debian/cdbs/debian-qt-kde.mk
index 345cc0a61..fb36ac52f 100644
--- a/ubuntu/precise/applications/kpowersave.cmake/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/kpowersave.cmake/debian/control b/ubuntu/precise/applications/kpowersave.cmake/debian/control
index d9945fe0f..6a1f1b563 100644
--- a/ubuntu/precise/applications/kpowersave.cmake/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/applications/kpowersave.cmake/debian/patches/series b/ubuntu/precise/applications/kpowersave.cmake/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/precise/applications/kpowersave.cmake/debian/patches/series
diff --git a/ubuntu/precise/applications/kpowersave.cmake/debian/rules b/ubuntu/precise/applications/kpowersave.cmake/debian/rules
index 0d2383bae..6d3ac5584 100755
--- a/ubuntu/precise/applications/kpowersave.cmake/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/applications/kpowersave/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/kpowersave/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/precise/applications/kpowersave/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/kpowersave/debian/control b/ubuntu/precise/applications/kpowersave/debian/control
index 9850896db..2f98b883a 100644
--- a/ubuntu/precise/applications/kpowersave/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/applications/kpowersave/debian/patches/series b/ubuntu/precise/applications/kpowersave/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/precise/applications/kpowersave/debian/patches/series
diff --git a/ubuntu/precise/applications/kpowersave/debian/rules b/ubuntu/precise/applications/kpowersave/debian/rules
index 0cf9afbec..fb0e95a07 100755
--- a/ubuntu/precise/applications/kpowersave/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/applications/krecipes/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/krecipes/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/ubuntu/precise/applications/krecipes/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/krename/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/krename/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/precise/applications/krename/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/krename/debian/control b/ubuntu/precise/applications/krename/debian/control
index b87c1a2c1..b6cde2138 100644
--- a/ubuntu/precise/applications/krename/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/applications/krename/debian/patches/series b/ubuntu/precise/applications/krename/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/precise/applications/krename/debian/patches/series
diff --git a/ubuntu/precise/applications/krename/debian/rules b/ubuntu/precise/applications/krename/debian/rules
index 4983ad699..7df9beee2 100755
--- a/ubuntu/precise/applications/krename/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/applications/krusader/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/krusader/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/precise/applications/krusader/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/krusader/debian/control b/ubuntu/precise/applications/krusader/debian/control
index 6b7001dcc..26173e10c 100644
--- a/ubuntu/precise/applications/krusader/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/applications/krusader/debian/patches/series b/ubuntu/precise/applications/krusader/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/precise/applications/krusader/debian/patches/series
diff --git a/ubuntu/precise/applications/krusader/debian/rules b/ubuntu/precise/applications/krusader/debian/rules
index 4b297b1ae..d27f15ff5 100755
--- a/ubuntu/precise/applications/krusader/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/applications/ksensors/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/ksensors/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/ubuntu/precise/applications/ksensors/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/ksensors/debian/control b/ubuntu/precise/applications/ksensors/debian/control
index f0ba5d2d4..e7de2b810 100644
--- a/ubuntu/precise/applications/ksensors/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/applications/ksensors/debian/patches/series b/ubuntu/precise/applications/ksensors/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/precise/applications/ksensors/debian/patches/series
diff --git a/ubuntu/precise/applications/ksensors/debian/rules b/ubuntu/precise/applications/ksensors/debian/rules
index 8b97ef030..8030d443a 100755
--- a/ubuntu/precise/applications/ksensors/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/applications/kshowmail/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/kshowmail/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/ubuntu/precise/applications/kshowmail/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/kshutdown/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/kshutdown/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/ubuntu/precise/applications/kshutdown/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/ksystemlog/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/ksystemlog/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/precise/applications/ksystemlog/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/ksystemlog/debian/control b/ubuntu/precise/applications/ksystemlog/debian/control
index 224657403..a5c21429a 100644
--- a/ubuntu/precise/applications/ksystemlog/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/applications/ksystemlog/debian/patches/series b/ubuntu/precise/applications/ksystemlog/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/precise/applications/ksystemlog/debian/patches/series
diff --git a/ubuntu/precise/applications/ksystemlog/debian/rules b/ubuntu/precise/applications/ksystemlog/debian/rules
index 5b9d63684..f28f54627 100755
--- a/ubuntu/precise/applications/ksystemlog/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/applications/ktorrent/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/ktorrent/debian/cdbs/debian-qt-kde.mk
index b93e7c154..a803f50d6 100644
--- a/ubuntu/precise/applications/ktorrent/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/ktorrent/debian/control b/ubuntu/precise/applications/ktorrent/debian/control
index 032578e75..65c662809 100644
--- a/ubuntu/precise/applications/ktorrent/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/applications/ktorrent/debian/patches/series b/ubuntu/precise/applications/ktorrent/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/precise/applications/ktorrent/debian/patches/series
diff --git a/ubuntu/precise/applications/ktorrent/debian/rules b/ubuntu/precise/applications/ktorrent/debian/rules
index d0046eb44..862c88e23 100755
--- a/ubuntu/precise/applications/ktorrent/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/applications/kuickshow/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/kuickshow/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/precise/applications/kuickshow/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/kuickshow/debian/control b/ubuntu/precise/applications/kuickshow/debian/control
index 9ea44fd4b..58655fe8e 100644
--- a/ubuntu/precise/applications/kuickshow/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/applications/kuickshow/debian/patches/series b/ubuntu/precise/applications/kuickshow/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/precise/applications/kuickshow/debian/patches/series
diff --git a/ubuntu/precise/applications/kuickshow/debian/rules b/ubuntu/precise/applications/kuickshow/debian/rules
index 46fe966da..1f3a7d8fc 100755
--- a/ubuntu/precise/applications/kuickshow/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/applications/kvirc/debian/control b/ubuntu/precise/applications/kvirc/debian/control
index 2702dabc7..6189a1ff1 100644
--- a/ubuntu/precise/applications/kvirc/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/applications/kvirc/debian/patches/series b/ubuntu/precise/applications/kvirc/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/precise/applications/kvirc/debian/patches/series
diff --git a/ubuntu/precise/applications/kvirc/debian/rules b/ubuntu/precise/applications/kvirc/debian/rules
index 0cb35b452..d0de2524f 100755
--- a/ubuntu/precise/applications/kvirc/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/applications/kvkbd/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/kvkbd/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/precise/applications/kvkbd/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/kvkbd/debian/control b/ubuntu/precise/applications/kvkbd/debian/control
index f391264fc..3449f65e9 100644
--- a/ubuntu/precise/applications/kvkbd/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/applications/kvkbd/debian/patches/series b/ubuntu/precise/applications/kvkbd/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/precise/applications/kvkbd/debian/patches/series
diff --git a/ubuntu/precise/applications/kvkbd/debian/rules b/ubuntu/precise/applications/kvkbd/debian/rules
index 0f564108e..1ac5329b7 100755
--- a/ubuntu/precise/applications/kvkbd/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/applications/mplayerthumbs/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/mplayerthumbs/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/ubuntu/precise/applications/mplayerthumbs/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/piklab/debian/control b/ubuntu/precise/applications/piklab/debian/control
index e36481273..7864a446b 100644
--- a/ubuntu/precise/applications/piklab/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/applications/piklab/debian/patches/series b/ubuntu/precise/applications/piklab/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/precise/applications/piklab/debian/patches/series
diff --git a/ubuntu/precise/applications/piklab/debian/rules b/ubuntu/precise/applications/piklab/debian/rules
index 6d0a1d510..d15b8b977 100755
--- a/ubuntu/precise/applications/piklab/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/applications/qt4-tqt-theme-engine/debian/control b/ubuntu/precise/applications/qt4-tqt-theme-engine/debian/control
index 9c2a37a0e..29d985d0a 100644
--- a/ubuntu/precise/applications/qt4-tqt-theme-engine/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/applications/qt4-tqt-theme-engine/debian/patches/series b/ubuntu/precise/applications/qt4-tqt-theme-engine/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/precise/applications/qt4-tqt-theme-engine/debian/patches/series
diff --git a/ubuntu/precise/applications/qt4-tqt-theme-engine/debian/rules b/ubuntu/precise/applications/qt4-tqt-theme-engine/debian/rules
index 2cde95722..19ea67382 100755
--- a/ubuntu/precise/applications/qt4-tqt-theme-engine/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/applications/rosegarden/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/rosegarden/debian/cdbs/debian-qt-kde.mk
index 5e704aa4a..c5d8ecfd3 100644
--- a/ubuntu/precise/applications/rosegarden/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/rosegarden/debian/control b/ubuntu/precise/applications/rosegarden/debian/control
index 8c132318d..d0a03f679 100644
--- a/ubuntu/precise/applications/rosegarden/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/applications/rosegarden/debian/patches/series b/ubuntu/precise/applications/rosegarden/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/precise/applications/rosegarden/debian/patches/series
diff --git a/ubuntu/precise/applications/rosegarden/debian/rules b/ubuntu/precise/applications/rosegarden/debian/rules
index 3fc2b777e..1bac8145d 100755
--- a/ubuntu/precise/applications/rosegarden/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/applications/smb4k/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/smb4k/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/precise/applications/smb4k/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/soundkonverter/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/soundkonverter/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/precise/applications/soundkonverter/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/tde-guidance/debian/control b/ubuntu/precise/applications/tde-guidance/debian/control
index d69374f01..4c468fc07 100644
--- a/ubuntu/precise/applications/tde-guidance/debian/control
+++ b/ubuntu/precise/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-all (>= 2.5), python-all-dev (>= 2.5), x11proto-scrnsaver-dev, python-tqt-dev, hwdata
diff --git a/ubuntu/precise/applications/tde-guidance/debian/patches/series b/ubuntu/precise/applications/tde-guidance/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/precise/applications/tde-guidance/debian/patches/series
diff --git a/ubuntu/precise/applications/tde-guidance/debian/rules b/ubuntu/precise/applications/tde-guidance/debian/rules
index 0cf0d64e7..ad10455d4 100755
--- a/ubuntu/precise/applications/tde-guidance/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/applications/tde-style-qtcurve/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/tde-style-qtcurve/debian/cdbs/debian-qt-kde.mk
index 5e704aa4a..c5d8ecfd3 100644
--- a/ubuntu/precise/applications/tde-style-qtcurve/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/tde-style-qtcurve/debian/control b/ubuntu/precise/applications/tde-style-qtcurve/debian/control
index 10903e11d..60a4dd55f 100644
--- a/ubuntu/precise/applications/tde-style-qtcurve/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/applications/tde-style-qtcurve/debian/patches/series b/ubuntu/precise/applications/tde-style-qtcurve/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/precise/applications/tde-style-qtcurve/debian/patches/series
diff --git a/ubuntu/precise/applications/tde-style-qtcurve/debian/rules b/ubuntu/precise/applications/tde-style-qtcurve/debian/rules
index 685703a85..f697a7e99 100755
--- a/ubuntu/precise/applications/tde-style-qtcurve/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/applications/tde-systemsettings/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/tde-systemsettings/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/precise/applications/tde-systemsettings/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/tde-systemsettings/debian/control b/ubuntu/precise/applications/tde-systemsettings/debian/control
index fcda9cbaf..eb4b2305c 100644
--- a/ubuntu/precise/applications/tde-systemsettings/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/applications/tde-systemsettings/debian/patches/series b/ubuntu/precise/applications/tde-systemsettings/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/precise/applications/tde-systemsettings/debian/patches/series
diff --git a/ubuntu/precise/applications/tde-systemsettings/debian/rules b/ubuntu/precise/applications/tde-systemsettings/debian/rules
index ed2e13a90..7e11dd034 100755
--- a/ubuntu/precise/applications/tde-systemsettings/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/applications/tdeio-apt/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/tdeio-apt/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/precise/applications/tdeio-apt/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/tdeio-apt/debian/control b/ubuntu/precise/applications/tdeio-apt/debian/control
index 2aa6dbe3a..2a690b5fb 100644
--- a/ubuntu/precise/applications/tdeio-apt/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/applications/tdeio-apt/debian/patches/series b/ubuntu/precise/applications/tdeio-apt/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/precise/applications/tdeio-apt/debian/patches/series
diff --git a/ubuntu/precise/applications/tdeio-apt/debian/rules b/ubuntu/precise/applications/tdeio-apt/debian/rules
index 9e8c0f52b..5b3afa420 100755
--- a/ubuntu/precise/applications/tdeio-apt/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/applications/tdeio-ftps/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/tdeio-ftps/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/ubuntu/precise/applications/tdeio-ftps/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/tdeio-locate/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/tdeio-locate/debian/cdbs/debian-qt-kde.mk
index 5e704aa4a..c5d8ecfd3 100644
--- a/ubuntu/precise/applications/tdeio-locate/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/tdeio-locate/debian/control b/ubuntu/precise/applications/tdeio-locate/debian/control
index 986621d5f..29f2d4f5c 100644
--- a/ubuntu/precise/applications/tdeio-locate/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/applications/tdeio-locate/debian/patches/series b/ubuntu/precise/applications/tdeio-locate/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/precise/applications/tdeio-locate/debian/patches/series
diff --git a/ubuntu/precise/applications/tdeio-locate/debian/rules b/ubuntu/precise/applications/tdeio-locate/debian/rules
index 55427aa5d..01ccf387a 100755
--- a/ubuntu/precise/applications/tdeio-locate/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/applications/tdeio-umountwrapper/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/tdeio-umountwrapper/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/precise/applications/tdeio-umountwrapper/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/tdeio-umountwrapper/debian/control b/ubuntu/precise/applications/tdeio-umountwrapper/debian/control
index 07bd1607d..95e8c6b10 100644
--- a/ubuntu/precise/applications/tdeio-umountwrapper/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/applications/tdeio-umountwrapper/debian/patches/series b/ubuntu/precise/applications/tdeio-umountwrapper/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/precise/applications/tdeio-umountwrapper/debian/patches/series
diff --git a/ubuntu/precise/applications/tdeio-umountwrapper/debian/rules b/ubuntu/precise/applications/tdeio-umountwrapper/debian/rules
index ddfd17b35..27e351eba 100755
--- a/ubuntu/precise/applications/tdeio-umountwrapper/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/applications/tdenetworkmanager/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/tdenetworkmanager/debian/cdbs/debian-qt-kde.mk
index 345cc0a61..fb36ac52f 100644
--- a/ubuntu/precise/applications/tdenetworkmanager/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/tdenetworkmanager/debian/rules b/ubuntu/precise/applications/tdenetworkmanager/debian/rules
index 00ac9877f..c08c59d57 100755
--- a/ubuntu/precise/applications/tdenetworkmanager/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/applications/tdepowersave/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/tdepowersave/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/precise/applications/tdepowersave/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/tdepowersave/debian/control b/ubuntu/precise/applications/tdepowersave/debian/control
index de60dd3ae..ca4a5def2 100644
--- a/ubuntu/precise/applications/tdepowersave/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/applications/tdepowersave/debian/patches/series b/ubuntu/precise/applications/tdepowersave/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/precise/applications/tdepowersave/debian/patches/series
diff --git a/ubuntu/precise/applications/tdepowersave/debian/rules b/ubuntu/precise/applications/tdepowersave/debian/rules
index 485481ef7..f74a76605 100755
--- a/ubuntu/precise/applications/tdepowersave/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/applications/tdesudo/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/tdesudo/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/precise/applications/tdesudo/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/tdesudo/debian/control b/ubuntu/precise/applications/tdesudo/debian/control
index 69aff1bb3..0f976fe13 100644
--- a/ubuntu/precise/applications/tdesudo/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/applications/tdesudo/debian/patches/series b/ubuntu/precise/applications/tdesudo/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/precise/applications/tdesudo/debian/patches/series
diff --git a/ubuntu/precise/applications/tdesudo/debian/rules b/ubuntu/precise/applications/tdesudo/debian/rules
index 443a43aed..83c31e0c9 100755
--- a/ubuntu/precise/applications/tdesudo/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/applications/tdesvn/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/tdesvn/debian/cdbs/debian-qt-kde.mk
index 5e704aa4a..c5d8ecfd3 100644
--- a/ubuntu/precise/applications/tdesvn/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/tdesvn/debian/rules b/ubuntu/precise/applications/tdesvn/debian/rules
index 37d2a944b..0e1c5995b 100755
--- a/ubuntu/precise/applications/tdesvn/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/applications/tdmtheme/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/tdmtheme/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/precise/applications/tdmtheme/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/tork/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/tork/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/ubuntu/precise/applications/tork/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/twin-style-crystal/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/twin-style-crystal/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/precise/applications/twin-style-crystal/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/twin-style-crystal/debian/control b/ubuntu/precise/applications/twin-style-crystal/debian/control
index e5de77106..99fa3217d 100644
--- a/ubuntu/precise/applications/twin-style-crystal/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/applications/twin-style-crystal/debian/patches/series b/ubuntu/precise/applications/twin-style-crystal/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/precise/applications/twin-style-crystal/debian/patches/series
diff --git a/ubuntu/precise/applications/twin-style-crystal/debian/rules b/ubuntu/precise/applications/twin-style-crystal/debian/rules
index 4fb0c5bb5..00b9013fa 100755
--- a/ubuntu/precise/applications/twin-style-crystal/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/applications/wlassistant/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/wlassistant/debian/cdbs/debian-qt-kde.mk
index 5e704aa4a..c5d8ecfd3 100644
--- a/ubuntu/precise/applications/wlassistant/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/applications/wlassistant/debian/control b/ubuntu/precise/applications/wlassistant/debian/control
index a60cee081..c4d96baa8 100644
--- a/ubuntu/precise/applications/wlassistant/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/applications/wlassistant/debian/patches/series b/ubuntu/precise/applications/wlassistant/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/precise/applications/wlassistant/debian/patches/series
diff --git a/ubuntu/precise/applications/wlassistant/debian/rules b/ubuntu/precise/applications/wlassistant/debian/rules
index 1a8fdeafb..5e6564e64 100755
--- a/ubuntu/precise/applications/wlassistant/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/applications/yakuake/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/applications/yakuake/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/precise/applications/yakuake/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/dependencies/arts/debian/control b/ubuntu/precise/dependencies/arts/debian/control
index c535e2af4..dcffcfc0f 100644
--- a/ubuntu/precise/dependencies/arts/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/dependencies/arts/debian/patches/series b/ubuntu/precise/dependencies/arts/debian/patches/series
new file mode 100644
index 000000000..59e055db8
--- /dev/null
+++ b/ubuntu/precise/dependencies/arts/debian/patches/series
@@ -0,0 +1 @@
+12_cleanup_artsc-config.diff
diff --git a/ubuntu/precise/dependencies/arts/debian/rules b/ubuntu/precise/dependencies/arts/debian/rules
index 1b4911297..8886acad3 100755
--- a/ubuntu/precise/dependencies/arts/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/dependencies/dbus-1-tqt/debian/control b/ubuntu/precise/dependencies/dbus-1-tqt/debian/control
index 36e73bbb1..6c1b0c969 100644
--- a/ubuntu/precise/dependencies/dbus-1-tqt/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/dependencies/dbus-1-tqt/debian/patches/series b/ubuntu/precise/dependencies/dbus-1-tqt/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/precise/dependencies/dbus-1-tqt/debian/patches/series
diff --git a/ubuntu/precise/dependencies/dbus-1-tqt/debian/rules b/ubuntu/precise/dependencies/dbus-1-tqt/debian/rules
index 3b86de7db..0585b8d86 100755
--- a/ubuntu/precise/dependencies/dbus-1-tqt/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/dependencies/dbus-tqt/debian/control b/ubuntu/precise/dependencies/dbus-tqt/debian/control
index cdf2d334a..7c5dbc0c4 100644
--- a/ubuntu/precise/dependencies/dbus-tqt/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/dependencies/dbus-tqt/debian/patches/series b/ubuntu/precise/dependencies/dbus-tqt/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/precise/dependencies/dbus-tqt/debian/patches/series
diff --git a/ubuntu/precise/dependencies/dbus-tqt/debian/rules b/ubuntu/precise/dependencies/dbus-tqt/debian/rules
index a59bed76e..26bf6c196 100755
--- a/ubuntu/precise/dependencies/dbus-tqt/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/dependencies/libart-lgpl/debian/control b/ubuntu/precise/dependencies/libart-lgpl/debian/control
index 02714617a..8eb77091b 100644
--- a/ubuntu/precise/dependencies/libart-lgpl/debian/control
+++ b/ubuntu/precise/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 Dröge <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/ubuntu/precise/dependencies/libart-lgpl/debian/patches/series b/ubuntu/precise/dependencies/libart-lgpl/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/precise/dependencies/libart-lgpl/debian/patches/series
diff --git a/ubuntu/precise/dependencies/libart-lgpl/debian/rules b/ubuntu/precise/dependencies/libart-lgpl/debian/rules
index 2751eb1f2..add68d0c4 100755
--- a/ubuntu/precise/dependencies/libart-lgpl/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/dependencies/libcaldav/debian/control b/ubuntu/precise/dependencies/libcaldav/debian/control
index 6051e6de1..8ba2fed15 100644
--- a/ubuntu/precise/dependencies/libcaldav/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/dependencies/libcaldav/debian/patches/series b/ubuntu/precise/dependencies/libcaldav/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/precise/dependencies/libcaldav/debian/patches/series
diff --git a/ubuntu/precise/dependencies/libcaldav/debian/rules b/ubuntu/precise/dependencies/libcaldav/debian/rules
index fb72a35e7..0d067bc3d 100755
--- a/ubuntu/precise/dependencies/libcaldav/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/dependencies/libcarddav/debian/control b/ubuntu/precise/dependencies/libcarddav/debian/control
index 7bf8ff1dc..7e3b740bb 100644
--- a/ubuntu/precise/dependencies/libcarddav/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/dependencies/libcarddav/debian/patches/series b/ubuntu/precise/dependencies/libcarddav/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/precise/dependencies/libcarddav/debian/patches/series
diff --git a/ubuntu/precise/dependencies/libcarddav/debian/rules b/ubuntu/precise/dependencies/libcarddav/debian/rules
index 24bdcbc93..b22fbca64 100755
--- a/ubuntu/precise/dependencies/libcarddav/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/dependencies/python-tqt/debian/patches/series b/ubuntu/precise/dependencies/python-tqt/debian/patches/series
index 15bc57c10..573069d8d 100644
--- a/ubuntu/precise/dependencies/python-tqt/debian/patches/series
+++ b/ubuntu/precise/dependencies/python-tqt/debian/patches/series
@@ -1 +1 @@
-debian_configure_changes.diff
+# debian_configure_changes.diff
diff --git a/ubuntu/precise/dependencies/qt3/debian/control b/ubuntu/precise/dependencies/qt3/debian/control
index 7641cffbf..37bf73e65 100644
--- a/ubuntu/precise/dependencies/qt3/debian/control
+++ b/ubuntu/precise/dependencies/qt3/debian/control
@@ -2,7 +2,7 @@ Source: qt-x11-free
Maintainer: Kubuntu 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/ubuntu/precise/dependencies/qt3/debian/rules b/ubuntu/precise/dependencies/qt3/debian/rules
index 7ede42ad9..57dce235a 100755
--- a/ubuntu/precise/dependencies/qt3/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/dependencies/sip4-tqt/debian/patches/series b/ubuntu/precise/dependencies/sip4-tqt/debian/patches/series
index c42871d34..0b31a69ff 100644
--- a/ubuntu/precise/dependencies/sip4-tqt/debian/patches/series
+++ b/ubuntu/precise/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/ubuntu/precise/dependencies/sip4-tqt/debian/patches/siputils_objdir_module_fix.diff b/ubuntu/precise/dependencies/sip4-tqt/debian/patches/siputils_objdir_module_fix.diff
index a9d580737..3c4570b21 100644
--- a/ubuntu/precise/dependencies/sip4-tqt/debian/patches/siputils_objdir_module_fix.diff
+++ b/ubuntu/precise/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/ubuntu/precise/dependencies/tqt3/debian/control b/ubuntu/precise/dependencies/tqt3/debian/control
index 1655a1357..b524aa513 100644
--- a/ubuntu/precise/dependencies/tqt3/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/dependencies/tqt3/debian/rules b/ubuntu/precise/dependencies/tqt3/debian/rules
index d2d66f6a7..b91e34413 100755
--- a/ubuntu/precise/dependencies/tqt3/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/dependencies/tqtinterface/debian/control b/ubuntu/precise/dependencies/tqtinterface/debian/control
index 4996e799f..c671091c9 100644
--- a/ubuntu/precise/dependencies/tqtinterface/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/dependencies/tqtinterface/debian/patches/series b/ubuntu/precise/dependencies/tqtinterface/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/precise/dependencies/tqtinterface/debian/patches/series
diff --git a/ubuntu/precise/dependencies/tqtinterface/debian/rules b/ubuntu/precise/dependencies/tqtinterface/debian/rules
index 5d8f4cb4c..051e7e40f 100755
--- a/ubuntu/precise/dependencies/tqtinterface/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/kdegraphics.automake/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/kdegraphics.automake/debian/cdbs/debian-qt-kde.mk
index df08f2d37..7c7e6d56c 100644
--- a/ubuntu/precise/kdegraphics.automake/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/kdegraphics.automake/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/ubuntu/precise/kdegraphics.automake/debian/control b/ubuntu/precise/kdegraphics.automake/debian/control
index 0c8f94d44..ef09b498c 100644
--- a/ubuntu/precise/kdegraphics.automake/debian/control
+++ b/ubuntu/precise/kdegraphics.automake/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, kdelibs4-trinity-dev, libexif-dev (>= 0.6.9-1), libfribidi-dev, freeglut3-dev, libgphoto2-2-dev, libopenexr-dev (>= 1.2.1), libpaper-dev, libpoppler-dev, libsane-dev (>> 1.0.15), libtiff4-dev, libtiff-tools, libusb-dev, sharutils, libxxf86vm-dev, chrpath [powerpc], automake, autoconf, libtool, libltdl-dev
+Build-Depends: imlib11-dev, cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), quilt, autotools-dev, gawk, gettext, kdelibs4-trinity-dev, libexif-dev (>= 0.6.9-1), libfribidi-dev, freeglut3-dev, libgphoto2-2-dev, libopenexr-dev (>= 1.2.1), libpaper-dev, libpoppler-dev, libsane-dev (>> 1.0.15), libtiff4-dev, libtiff-tools, libusb-dev, sharutils, libxxf86vm-dev, chrpath [powerpc], automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: kdegraphics-trinity
diff --git a/ubuntu/precise/kdegraphics.automake/debian/patches/series b/ubuntu/precise/kdegraphics.automake/debian/patches/series
new file mode 100644
index 000000000..6b3ddc8ec
--- /dev/null
+++ b/ubuntu/precise/kdegraphics.automake/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/ubuntu/precise/kdegraphics.automake/debian/rules b/ubuntu/precise/kdegraphics.automake/debian/rules
index 7a23d61e5..079b05ab7 100755
--- a/ubuntu/precise/kdegraphics.automake/debian/rules
+++ b/ubuntu/precise/kdegraphics.automake/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/ubuntu/precise/kdevelop.cmake/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/kdevelop.cmake/debian/cdbs/debian-qt-kde.mk
index 4a11bc028..6b7b16643 100644
--- a/ubuntu/precise/kdevelop.cmake/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/kdevelop.cmake/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/ubuntu/precise/kdevelop.cmake/debian/control b/ubuntu/precise/kdevelop.cmake/debian/control
index dfa4f6f25..527382167 100644
--- a/ubuntu/precise/kdevelop.cmake/debian/control
+++ b/ubuntu/precise/kdevelop.cmake/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), qt3-apps-dev, kdelibs4-trinity-dev, gettext, kdelibs4-trinity-doc, qt3-doc, flex, python, libcvsservice-trinity-dev, groff-base, libsvn-dev, libaprutil1-dev, cmake, libtool, libltdl-dev
+Build-Depends: cdbs (>= 0.4.38), debhelper (>= 5), quilt, qt3-apps-dev, kdelibs4-trinity-dev, gettext, kdelibs4-trinity-doc, qt3-doc, flex, python, libcvsservice-trinity-dev, groff-base, libsvn-dev, libaprutil1-dev, cmake, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: kdevelop-trinity
diff --git a/ubuntu/precise/kdevelop.cmake/debian/patches/series b/ubuntu/precise/kdevelop.cmake/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/precise/kdevelop.cmake/debian/patches/series
diff --git a/ubuntu/precise/kdevelop.cmake/debian/rules b/ubuntu/precise/kdevelop.cmake/debian/rules
index 0bf8bfe14..ed08238eb 100755
--- a/ubuntu/precise/kdevelop.cmake/debian/rules
+++ b/ubuntu/precise/kdevelop.cmake/debian/rules
@@ -6,7 +6,7 @@ makebuilddir::
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/ubuntu/precise/libraries/kipi-plugins/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/libraries/kipi-plugins/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/precise/libraries/kipi-plugins/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/libraries/libkdcraw/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/libraries/libkdcraw/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/precise/libraries/libkdcraw/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/libraries/libkexiv2/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/libraries/libkexiv2/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/precise/libraries/libkexiv2/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/libraries/libkipi/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/libraries/libkipi/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/precise/libraries/libkipi/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/libraries/libkipi/debian/control b/ubuntu/precise/libraries/libkipi/debian/control
index ef0ce9d5c..7f4a700ce 100644
--- a/ubuntu/precise/libraries/libkipi/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/libraries/libkipi/debian/patches/series b/ubuntu/precise/libraries/libkipi/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/precise/libraries/libkipi/debian/patches/series
diff --git a/ubuntu/precise/libraries/libkipi/debian/rules b/ubuntu/precise/libraries/libkipi/debian/rules
index c95fe1343..9835b9048 100755
--- a/ubuntu/precise/libraries/libkipi/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/libraries/libtdeldap/debian/control b/ubuntu/precise/libraries/libtdeldap/debian/control
index 78bbffbc8..0f20c21ab 100644
--- a/ubuntu/precise/libraries/libtdeldap/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/libraries/libtdeldap/debian/patches/series b/ubuntu/precise/libraries/libtdeldap/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/precise/libraries/libtdeldap/debian/patches/series
diff --git a/ubuntu/precise/libraries/libtdeldap/debian/rules b/ubuntu/precise/libraries/libtdeldap/debian/rules
index 9bed17b05..e4abe53af 100755
--- a/ubuntu/precise/libraries/libtdeldap/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/tdeaccessibility/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/tdeaccessibility/debian/cdbs/debian-qt-kde.mk
index 4a11bc028..6b7b16643 100644
--- a/ubuntu/precise/tdeaccessibility/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/tdeaccessibility/debian/control b/ubuntu/precise/tdeaccessibility/debian/control
index f846cdabd..b043b9a3a 100644
--- a/ubuntu/precise/tdeaccessibility/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/tdeaccessibility/debian/patches/series b/ubuntu/precise/tdeaccessibility/debian/patches/series
new file mode 100644
index 000000000..6b3ddc8ec
--- /dev/null
+++ b/ubuntu/precise/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/ubuntu/precise/tdeaccessibility/debian/rules b/ubuntu/precise/tdeaccessibility/debian/rules
index 4fdbdb6c3..98b74d04f 100755
--- a/ubuntu/precise/tdeaccessibility/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/tdeaddons/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/tdeaddons/debian/cdbs/debian-qt-kde.mk
index 4a11bc028..6b7b16643 100644
--- a/ubuntu/precise/tdeaddons/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/tdeaddons/debian/control b/ubuntu/precise/tdeaddons/debian/control
index 381d26c37..1efa78da4 100644
--- a/ubuntu/precise/tdeaddons/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/tdeaddons/debian/patches/series b/ubuntu/precise/tdeaddons/debian/patches/series
new file mode 100644
index 000000000..6b3ddc8ec
--- /dev/null
+++ b/ubuntu/precise/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/ubuntu/precise/tdeaddons/debian/rules b/ubuntu/precise/tdeaddons/debian/rules
index 8e8bb53a9..692eacfb0 100755
--- a/ubuntu/precise/tdeaddons/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/tdeadmin/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/tdeadmin/debian/cdbs/debian-qt-kde.mk
index 4a11bc028..6b7b16643 100644
--- a/ubuntu/precise/tdeadmin/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/tdeadmin/debian/control b/ubuntu/precise/tdeadmin/debian/control
index 9a38f650a..990a72cbe 100644
--- a/ubuntu/precise/tdeadmin/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/tdeadmin/debian/patches/series b/ubuntu/precise/tdeadmin/debian/patches/series
new file mode 100644
index 000000000..6b3ddc8ec
--- /dev/null
+++ b/ubuntu/precise/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/ubuntu/precise/tdeadmin/debian/rules b/ubuntu/precise/tdeadmin/debian/rules
index 849de5f21..4ddc3ff78 100755
--- a/ubuntu/precise/tdeadmin/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/tdeartwork/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/tdeartwork/debian/cdbs/debian-qt-kde.mk
index 497be9751..425264528 100644
--- a/ubuntu/precise/tdeartwork/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/tdeartwork/debian/control b/ubuntu/precise/tdeartwork/debian/control
index 71e85c054..ce11a9c95 100644
--- a/ubuntu/precise/tdeartwork/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/tdeartwork/debian/patches/series b/ubuntu/precise/tdeartwork/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/precise/tdeartwork/debian/patches/series
diff --git a/ubuntu/precise/tdeartwork/debian/rules b/ubuntu/precise/tdeartwork/debian/rules
index 963f996bc..062bd4f29 100755
--- a/ubuntu/precise/tdeartwork/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/tdebase/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/tdebase/debian/cdbs/debian-qt-kde.mk
index fa0d532f4..ec89756bb 100644
--- a/ubuntu/precise/tdebase/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/tdebase/debian/control b/ubuntu/precise/tdebase/debian/control
index 748ea8bf5..e998c677b 100644
--- a/ubuntu/precise/tdebase/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/tdebase/debian/patches/kubuntu_13_hide_konsolesu_menu_entry.diff b/ubuntu/precise/tdebase/debian/patches/kubuntu_13_hide_konsolesu_menu_entry.diff
index cd5b0b2eb..9dfccdbd7 100644
--- a/ubuntu/precise/tdebase/debian/patches/kubuntu_13_hide_konsolesu_menu_entry.diff
+++ b/ubuntu/precise/tdebase/debian/patches/kubuntu_13_hide_konsolesu_menu_entry.diff
@@ -1,7 +1,9 @@
---- tdebase/konsole/konsolesu.desktop
-+++ tdebase/konsole/konsolesu.desktop
-@@ -81,3 +81,4 @@
- Name[zh_TW]=終端機程式 - 超級使用者模式
+Index: b/konsole/konsolesu.desktop
+===================================================================
+--- a/konsole/konsolesu.desktop
++++ b/konsole/konsolesu.desktop
+@@ -82,3 +82,4 @@
+ GenericName[zh_TW]=終端機程式 - 超級使用者模式
X-TDE-AuthorizeAction=shell_access
Categories=Qt;TDE;X-TDE-System-su;
+NoDisplay=true
diff --git a/ubuntu/precise/tdebase/debian/patches/series b/ubuntu/precise/tdebase/debian/patches/series
new file mode 100644
index 000000000..382f72a04
--- /dev/null
+++ b/ubuntu/precise/tdebase/debian/patches/series
@@ -0,0 +1,21 @@
+disable_default_tdm_theme.diff
+disable_starttde_wallpaper.diff
+kubuntu_04_hide_menu_entries.diff
+kubuntu_06_hide_home_menu_entry.diff
+kubuntu_07_hide_knetattach_menu_entry.diff
+kubuntu_08_hide_kcmkicker_menu_entry.diff
+kubuntu_09_hide_kpersonaliser_menu_entry.diff
+kubuntu_10_hide_kmenuedit_menu_entry.diff
+kubuntu_11_hide_kappfinder_menu_entry.diff
+kubuntu_13_hide_konsolesu_menu_entry.diff
+kubuntu_14_hide_konquerorsu_menu_entry.diff
+kubuntu_15_hide_tdefontview_menu_entry.diff
+kubuntu_16_hide_kpager_menu_entry.diff
+kubuntu_35_hide_klipper_menu_entry.diff
+kubuntu_37_hide_tdeprintfax_menu_entry.diff
+kubuntu_48_hide_display.diff
+kubuntu_70_hide_printers_desktop.diff
+kubuntu_78_kcontrol_hide_component_chooser.diff
+kubuntu_89_new_logout_ui.diff
+kubuntu_9904_hide_kfind.diff
+kubuntu_9921_tdm_bulletproof_x.diff
diff --git a/ubuntu/precise/tdebase/debian/rules b/ubuntu/precise/tdebase/debian/rules
index 4982940b1..af7515161 100755
--- a/ubuntu/precise/tdebase/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/tdebindings/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/tdebindings/debian/cdbs/debian-qt-kde.mk
index 2a219d60a..1e862f623 100644
--- a/ubuntu/precise/tdebindings/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/tdeedu/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/tdeedu/debian/cdbs/debian-qt-kde.mk
index 4a11bc028..6b7b16643 100644
--- a/ubuntu/precise/tdeedu/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/tdeedu/debian/control b/ubuntu/precise/tdeedu/debian/control
index de39b7e8a..2f248f286 100644
--- a/ubuntu/precise/tdeedu/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/tdeedu/debian/patches/series b/ubuntu/precise/tdeedu/debian/patches/series
new file mode 100644
index 000000000..6b3ddc8ec
--- /dev/null
+++ b/ubuntu/precise/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/ubuntu/precise/tdeedu/debian/rules b/ubuntu/precise/tdeedu/debian/rules
index 9f81df4c0..c457b98e2 100755
--- a/ubuntu/precise/tdeedu/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/tdegames/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/tdegames/debian/cdbs/debian-qt-kde.mk
index 4a11bc028..6b7b16643 100644
--- a/ubuntu/precise/tdegames/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/tdegames/debian/control b/ubuntu/precise/tdegames/debian/control
index 80c1c1a03..419fbc5fd 100644
--- a/ubuntu/precise/tdegames/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/tdegames/debian/patches/series b/ubuntu/precise/tdegames/debian/patches/series
new file mode 100644
index 000000000..6b3ddc8ec
--- /dev/null
+++ b/ubuntu/precise/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/ubuntu/precise/tdegames/debian/rules b/ubuntu/precise/tdegames/debian/rules
index 085eb8404..7f682874f 100755
--- a/ubuntu/precise/tdegames/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/tdegraphics/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/tdegraphics/debian/cdbs/debian-qt-kde.mk
index df08f2d37..7c7e6d56c 100644
--- a/ubuntu/precise/tdegraphics/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/tdegraphics/debian/control b/ubuntu/precise/tdegraphics/debian/control
index 623d2dceb..1e30c8884 100644
--- a/ubuntu/precise/tdegraphics/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/tdegraphics/debian/patches/series b/ubuntu/precise/tdegraphics/debian/patches/series
new file mode 100644
index 000000000..6b3ddc8ec
--- /dev/null
+++ b/ubuntu/precise/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/ubuntu/precise/tdegraphics/debian/rules b/ubuntu/precise/tdegraphics/debian/rules
index 9aedb5fcf..87727752f 100755
--- a/ubuntu/precise/tdegraphics/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/tdelibs/debian/control b/ubuntu/precise/tdelibs/debian/control
index 279e62d52..ef3874593 100644
--- a/ubuntu/precise/tdelibs/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/tdelibs/debian/patches/series b/ubuntu/precise/tdelibs/debian/patches/series
new file mode 100644
index 000000000..b5490e13d
--- /dev/null
+++ b/ubuntu/precise/tdelibs/debian/patches/series
@@ -0,0 +1 @@
+kubuntu_19_debianize_useragent.diff
diff --git a/ubuntu/precise/tdelibs/debian/rules b/ubuntu/precise/tdelibs/debian/rules
index fe0cc4433..d64786b7d 100755
--- a/ubuntu/precise/tdelibs/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/tdemultimedia/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/tdemultimedia/debian/cdbs/debian-qt-kde.mk
index 4a11bc028..6b7b16643 100644
--- a/ubuntu/precise/tdemultimedia/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/tdemultimedia/debian/control b/ubuntu/precise/tdemultimedia/debian/control
index 56fb029fe..abfb6c797 100644
--- a/ubuntu/precise/tdemultimedia/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/tdemultimedia/debian/patches/series b/ubuntu/precise/tdemultimedia/debian/patches/series
new file mode 100644
index 000000000..6b3ddc8ec
--- /dev/null
+++ b/ubuntu/precise/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/ubuntu/precise/tdemultimedia/debian/rules b/ubuntu/precise/tdemultimedia/debian/rules
index 4dcb0d43d..1a946ecfc 100755
--- a/ubuntu/precise/tdemultimedia/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/tdenetwork/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/tdenetwork/debian/cdbs/debian-qt-kde.mk
index f8b76cb04..4a9d74d88 100644
--- a/ubuntu/precise/tdenetwork/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/tdenetwork/debian/control b/ubuntu/precise/tdenetwork/debian/control
index 5228e65e0..686a4eeb7 100644
--- a/ubuntu/precise/tdenetwork/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/tdenetwork/debian/patches/series b/ubuntu/precise/tdenetwork/debian/patches/series
new file mode 100644
index 000000000..6b3ddc8ec
--- /dev/null
+++ b/ubuntu/precise/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/ubuntu/precise/tdenetwork/debian/rules b/ubuntu/precise/tdenetwork/debian/rules
index 0ee562691..539d5a557 100755
--- a/ubuntu/precise/tdenetwork/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/tdepim/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/tdepim/debian/cdbs/debian-qt-kde.mk
index fa0d532f4..ec89756bb 100644
--- a/ubuntu/precise/tdepim/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/tdepim/debian/control b/ubuntu/precise/tdepim/debian/control
index 6a06bda38..3bdcc7478 100644
--- a/ubuntu/precise/tdepim/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/tdepim/debian/patches/series b/ubuntu/precise/tdepim/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/precise/tdepim/debian/patches/series
diff --git a/ubuntu/precise/tdepim/debian/rules b/ubuntu/precise/tdepim/debian/rules
index 48c8b7fa2..e01240a19 100755
--- a/ubuntu/precise/tdepim/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/tdesdk/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/tdesdk/debian/cdbs/debian-qt-kde.mk
index f8b76cb04..4a9d74d88 100644
--- a/ubuntu/precise/tdesdk/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/tdesdk/debian/control b/ubuntu/precise/tdesdk/debian/control
index 7cb17058f..552888667 100644
--- a/ubuntu/precise/tdesdk/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/tdesdk/debian/patches/series b/ubuntu/precise/tdesdk/debian/patches/series
new file mode 100644
index 000000000..6b3ddc8ec
--- /dev/null
+++ b/ubuntu/precise/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/ubuntu/precise/tdesdk/debian/rules b/ubuntu/precise/tdesdk/debian/rules
index 15a2da318..c4ecc592b 100755
--- a/ubuntu/precise/tdesdk/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/tdetoys/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/tdetoys/debian/cdbs/debian-qt-kde.mk
index f8b76cb04..4a9d74d88 100644
--- a/ubuntu/precise/tdetoys/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/tdetoys/debian/control b/ubuntu/precise/tdetoys/debian/control
index 673937581..11ba906c3 100644
--- a/ubuntu/precise/tdetoys/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/tdetoys/debian/patches/series b/ubuntu/precise/tdetoys/debian/patches/series
new file mode 100644
index 000000000..6b3ddc8ec
--- /dev/null
+++ b/ubuntu/precise/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/ubuntu/precise/tdetoys/debian/rules b/ubuntu/precise/tdetoys/debian/rules
index da1268d9f..21108293f 100755
--- a/ubuntu/precise/tdetoys/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/tdeutils/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/tdeutils/debian/cdbs/debian-qt-kde.mk
index f8b76cb04..4a9d74d88 100644
--- a/ubuntu/precise/tdeutils/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/tdeutils/debian/control b/ubuntu/precise/tdeutils/debian/control
index 004be1738..fa4d66f75 100644
--- a/ubuntu/precise/tdeutils/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/tdeutils/debian/patches/series b/ubuntu/precise/tdeutils/debian/patches/series
new file mode 100644
index 000000000..f4421a4c2
--- /dev/null
+++ b/ubuntu/precise/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/ubuntu/precise/tdeutils/debian/rules b/ubuntu/precise/tdeutils/debian/rules
index 19848196e..c7e800362 100755
--- a/ubuntu/precise/tdeutils/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/tdevelop/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/tdevelop/debian/cdbs/debian-qt-kde.mk
index f8b76cb04..4a9d74d88 100644
--- a/ubuntu/precise/tdevelop/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/tdevelop/debian/control b/ubuntu/precise/tdevelop/debian/control
index c5ef6b183..bd615b9ef 100644
--- a/ubuntu/precise/tdevelop/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/tdevelop/debian/patches/series b/ubuntu/precise/tdevelop/debian/patches/series
new file mode 100644
index 000000000..6b3ddc8ec
--- /dev/null
+++ b/ubuntu/precise/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/ubuntu/precise/tdevelop/debian/rules b/ubuntu/precise/tdevelop/debian/rules
index 95a3981ea..9d5bcbc87 100755
--- a/ubuntu/precise/tdevelop/debian/rules
+++ b/ubuntu/precise/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/ubuntu/precise/tdewebdev/debian/cdbs/debian-qt-kde.mk b/ubuntu/precise/tdewebdev/debian/cdbs/debian-qt-kde.mk
index 4a11bc028..6b7b16643 100644
--- a/ubuntu/precise/tdewebdev/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/precise/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/ubuntu/precise/tdewebdev/debian/control b/ubuntu/precise/tdewebdev/debian/control
index 4dab927fb..099361776 100644
--- a/ubuntu/precise/tdewebdev/debian/control
+++ b/ubuntu/precise/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/ubuntu/precise/tdewebdev/debian/patches/series b/ubuntu/precise/tdewebdev/debian/patches/series
new file mode 100644
index 000000000..8f8f0bd6b
--- /dev/null
+++ b/ubuntu/precise/tdewebdev/debian/patches/series
@@ -0,0 +1 @@
+common/kubuntu_01_kdepot.diff
diff --git a/ubuntu/precise/tdewebdev/debian/rules b/ubuntu/precise/tdewebdev/debian/rules
index 1e601c5e2..46e21c610 100755
--- a/ubuntu/precise/tdewebdev/debian/rules
+++ b/ubuntu/precise/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/ubuntu/raring/applications/abakus/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/abakus/debian/cdbs/debian-qt-kde.mk
index 5e704aa4a..c5d8ecfd3 100644
--- a/ubuntu/raring/applications/abakus/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/abakus/debian/control b/ubuntu/raring/applications/abakus/debian/control
index 7e580c5cb..29900d32a 100644
--- a/ubuntu/raring/applications/abakus/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/applications/abakus/debian/patches/series b/ubuntu/raring/applications/abakus/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/raring/applications/abakus/debian/patches/series
diff --git a/ubuntu/raring/applications/abakus/debian/rules b/ubuntu/raring/applications/abakus/debian/rules
index c856f7cae..83d7d7fb4 100755
--- a/ubuntu/raring/applications/abakus/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/applications/adept/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/adept/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/raring/applications/adept/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/adept/debian/control b/ubuntu/raring/applications/adept/debian/control
index 85debf475..a51c16730 100644
--- a/ubuntu/raring/applications/adept/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/applications/adept/debian/patches/series b/ubuntu/raring/applications/adept/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/raring/applications/adept/debian/patches/series
diff --git a/ubuntu/raring/applications/adept/debian/rules b/ubuntu/raring/applications/adept/debian/rules
index 742307eb6..0e554102b 100755
--- a/ubuntu/raring/applications/adept/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/applications/amarok.cmake/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/amarok.cmake/debian/cdbs/debian-qt-kde.mk
index 345cc0a61..fb36ac52f 100644
--- a/ubuntu/raring/applications/amarok.cmake/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/amarok.cmake/debian/rules b/ubuntu/raring/applications/amarok.cmake/debian/rules
index 4fd9a743d..7f157aa03 100755
--- a/ubuntu/raring/applications/amarok.cmake/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/applications/amarok/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/amarok/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/raring/applications/amarok/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/basket/debian/control b/ubuntu/raring/applications/basket/debian/control
index 41c351fb9..271295621 100644
--- a/ubuntu/raring/applications/basket/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/applications/basket/debian/rules b/ubuntu/raring/applications/basket/debian/rules
index d3cf5255e..4afb63bdd 100755
--- a/ubuntu/raring/applications/basket/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/applications/bibletime/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/bibletime/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/raring/applications/bibletime/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/bibletime/debian/patches/series b/ubuntu/raring/applications/bibletime/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/raring/applications/bibletime/debian/patches/series
diff --git a/ubuntu/raring/applications/bibletime/debian/rules b/ubuntu/raring/applications/bibletime/debian/rules
index 4106bf0f4..9e134b1f7 100755
--- a/ubuntu/raring/applications/bibletime/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/applications/compizconfig-backend-tdeconfig/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/compizconfig-backend-tdeconfig/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/raring/applications/compizconfig-backend-tdeconfig/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/compizconfig-backend-tdeconfig/debian/control b/ubuntu/raring/applications/compizconfig-backend-tdeconfig/debian/control
index 27beb5ab8..699f8b16a 100644
--- a/ubuntu/raring/applications/compizconfig-backend-tdeconfig/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/applications/compizconfig-backend-tdeconfig/debian/patches/series b/ubuntu/raring/applications/compizconfig-backend-tdeconfig/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/raring/applications/compizconfig-backend-tdeconfig/debian/patches/series
diff --git a/ubuntu/raring/applications/compizconfig-backend-tdeconfig/debian/rules b/ubuntu/raring/applications/compizconfig-backend-tdeconfig/debian/rules
index 85efaa2fa..eb681a06a 100755
--- a/ubuntu/raring/applications/compizconfig-backend-tdeconfig/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/applications/digikam/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/digikam/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/raring/applications/digikam/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/digikam/debian/control b/ubuntu/raring/applications/digikam/debian/control
index e851cfee2..4713c9d42 100644
--- a/ubuntu/raring/applications/digikam/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/applications/digikam/debian/patches/series b/ubuntu/raring/applications/digikam/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/raring/applications/digikam/debian/patches/series
diff --git a/ubuntu/raring/applications/digikam/debian/rules b/ubuntu/raring/applications/digikam/debian/rules
index 76fa321bc..cc9992ad3 100755
--- a/ubuntu/raring/applications/digikam/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/applications/dolphin/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/dolphin/debian/cdbs/debian-qt-kde.mk
index 345cc0a61..fb36ac52f 100644
--- a/ubuntu/raring/applications/dolphin/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/dolphin/debian/control b/ubuntu/raring/applications/dolphin/debian/control
index fcbd2594e..27502f3d7 100644
--- a/ubuntu/raring/applications/dolphin/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/applications/dolphin/debian/patches/series b/ubuntu/raring/applications/dolphin/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/raring/applications/dolphin/debian/patches/series
diff --git a/ubuntu/raring/applications/dolphin/debian/rules b/ubuntu/raring/applications/dolphin/debian/rules
index 66ea98891..f978c418e 100755
--- a/ubuntu/raring/applications/dolphin/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/applications/filelight-l10n/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/filelight-l10n/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/raring/applications/filelight-l10n/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/filelight-l10n/debian/control b/ubuntu/raring/applications/filelight-l10n/debian/control
index bf308060f..ae0d177a1 100644
--- a/ubuntu/raring/applications/filelight-l10n/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/applications/filelight-l10n/debian/patches/series b/ubuntu/raring/applications/filelight-l10n/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/raring/applications/filelight-l10n/debian/patches/series
diff --git a/ubuntu/raring/applications/filelight-l10n/debian/rules b/ubuntu/raring/applications/filelight-l10n/debian/rules
index 84a2f4975..6d6088aad 100755
--- a/ubuntu/raring/applications/filelight-l10n/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/applications/filelight/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/filelight/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/raring/applications/filelight/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/fusion-icon/debian/control b/ubuntu/raring/applications/fusion-icon/debian/control
index 0c45f670d..befa8ed81 100644
--- a/ubuntu/raring/applications/fusion-icon/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/applications/fusion-icon/debian/patches/series b/ubuntu/raring/applications/fusion-icon/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/raring/applications/fusion-icon/debian/patches/series
diff --git a/ubuntu/raring/applications/fusion-icon/debian/rules b/ubuntu/raring/applications/fusion-icon/debian/rules
index 2b780a204..3c129a596 100755
--- a/ubuntu/raring/applications/fusion-icon/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/applications/gtk-qt-engine/debian/control b/ubuntu/raring/applications/gtk-qt-engine/debian/control
index bd427686e..f2100a4e7 100644
--- a/ubuntu/raring/applications/gtk-qt-engine/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/applications/gtk-qt-engine/debian/patches/series b/ubuntu/raring/applications/gtk-qt-engine/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/raring/applications/gtk-qt-engine/debian/patches/series
diff --git a/ubuntu/raring/applications/gtk-qt-engine/debian/rules b/ubuntu/raring/applications/gtk-qt-engine/debian/rules
index 8c78b986c..64a42472c 100755
--- a/ubuntu/raring/applications/gtk-qt-engine/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/applications/gtk3-tqt-engine/debian/control b/ubuntu/raring/applications/gtk3-tqt-engine/debian/control
index a192c467e..4acce9a2e 100644
--- a/ubuntu/raring/applications/gtk3-tqt-engine/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/applications/gtk3-tqt-engine/debian/patches/series b/ubuntu/raring/applications/gtk3-tqt-engine/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/raring/applications/gtk3-tqt-engine/debian/patches/series
diff --git a/ubuntu/raring/applications/gtk3-tqt-engine/debian/rules b/ubuntu/raring/applications/gtk3-tqt-engine/debian/rules
index 9bed17b05..e4abe53af 100755
--- a/ubuntu/raring/applications/gtk3-tqt-engine/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/applications/gwenview-i18n/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/gwenview-i18n/debian/cdbs/debian-qt-kde.mk
index fa0d532f4..ec89756bb 100644
--- a/ubuntu/raring/applications/gwenview-i18n/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/gwenview-i18n/debian/patches/series b/ubuntu/raring/applications/gwenview-i18n/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/raring/applications/gwenview-i18n/debian/patches/series
diff --git a/ubuntu/raring/applications/gwenview-i18n/debian/rules b/ubuntu/raring/applications/gwenview-i18n/debian/rules
index 3070a9c9d..045fcc43f 100755
--- a/ubuntu/raring/applications/gwenview-i18n/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/applications/gwenview/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/gwenview/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/raring/applications/gwenview/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/gwenview/debian/control b/ubuntu/raring/applications/gwenview/debian/control
index 52bebd33b..f5c7f10d9 100644
--- a/ubuntu/raring/applications/gwenview/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/applications/gwenview/debian/patches/series b/ubuntu/raring/applications/gwenview/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/raring/applications/gwenview/debian/patches/series
diff --git a/ubuntu/raring/applications/gwenview/debian/rules b/ubuntu/raring/applications/gwenview/debian/rules
index 2fca00e50..943f33d55 100755
--- a/ubuntu/raring/applications/gwenview/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/applications/k3b/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/k3b/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/raring/applications/k3b/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/k3b/debian/control b/ubuntu/raring/applications/k3b/debian/control
index 9ca5728d9..7278af526 100644
--- a/ubuntu/raring/applications/k3b/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/applications/k3b/debian/patches/series b/ubuntu/raring/applications/k3b/debian/patches/series
new file mode 100644
index 000000000..bff63cb8c
--- /dev/null
+++ b/ubuntu/raring/applications/k3b/debian/patches/series
@@ -0,0 +1 @@
+111_advice_kubuntu_restricted_extras.diff
diff --git a/ubuntu/raring/applications/k3b/debian/rules b/ubuntu/raring/applications/k3b/debian/rules
index cc895cd83..f3d017250 100755
--- a/ubuntu/raring/applications/k3b/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/applications/k9copy/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/k9copy/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/raring/applications/k9copy/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/k9copy/debian/control b/ubuntu/raring/applications/k9copy/debian/control
index 995d38120..d005d4d13 100644
--- a/ubuntu/raring/applications/k9copy/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/applications/k9copy/debian/patches/series b/ubuntu/raring/applications/k9copy/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/raring/applications/k9copy/debian/patches/series
diff --git a/ubuntu/raring/applications/k9copy/debian/rules b/ubuntu/raring/applications/k9copy/debian/rules
index 9d406d017..365bf8ac6 100755
--- a/ubuntu/raring/applications/k9copy/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/applications/kaffeine/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/kaffeine/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/raring/applications/kaffeine/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/kaffeine/debian/control b/ubuntu/raring/applications/kaffeine/debian/control
index 3141b6908..b558621cd 100644
--- a/ubuntu/raring/applications/kaffeine/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/applications/kaffeine/debian/patches/series b/ubuntu/raring/applications/kaffeine/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/raring/applications/kaffeine/debian/patches/series
diff --git a/ubuntu/raring/applications/kaffeine/debian/rules b/ubuntu/raring/applications/kaffeine/debian/rules
index 5087a0863..3afb59271 100755
--- a/ubuntu/raring/applications/kaffeine/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/applications/kasablanca/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/kasablanca/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/ubuntu/raring/applications/kasablanca/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/kasablanca/debian/control b/ubuntu/raring/applications/kasablanca/debian/control
index 0e8aed6ad..01515bd06 100644
--- a/ubuntu/raring/applications/kasablanca/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/applications/kasablanca/debian/patches/series b/ubuntu/raring/applications/kasablanca/debian/patches/series
new file mode 100644
index 000000000..b8743ddd9
--- /dev/null
+++ b/ubuntu/raring/applications/kasablanca/debian/patches/series
@@ -0,0 +1,2 @@
+04_am_maintainer_mode.diff
+06_disable_no_undefined.diff
diff --git a/ubuntu/raring/applications/kasablanca/debian/rules b/ubuntu/raring/applications/kasablanca/debian/rules
index 76e30e3f1..e12e8b448 100755
--- a/ubuntu/raring/applications/kasablanca/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/applications/katapult/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/katapult/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/raring/applications/katapult/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/katapult/debian/control b/ubuntu/raring/applications/katapult/debian/control
index dc2431d3a..ac493a14a 100644
--- a/ubuntu/raring/applications/katapult/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/applications/katapult/debian/patches/series b/ubuntu/raring/applications/katapult/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/raring/applications/katapult/debian/patches/series
diff --git a/ubuntu/raring/applications/katapult/debian/rules b/ubuntu/raring/applications/katapult/debian/rules
index 779671876..8f2dd7642 100755
--- a/ubuntu/raring/applications/katapult/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/applications/kbarcode/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/kbarcode/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/raring/applications/kbarcode/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/kbfx/debian/control b/ubuntu/raring/applications/kbfx/debian/control
index bd38e2009..810bb6c7a 100644
--- a/ubuntu/raring/applications/kbfx/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/applications/kbfx/debian/patches/series b/ubuntu/raring/applications/kbfx/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/raring/applications/kbfx/debian/patches/series
diff --git a/ubuntu/raring/applications/kbfx/debian/rules b/ubuntu/raring/applications/kbfx/debian/rules
index 7c57eacb9..ddf86b0bb 100755
--- a/ubuntu/raring/applications/kbfx/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/applications/kbibtex/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/kbibtex/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/ubuntu/raring/applications/kbibtex/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/kbiff/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/kbiff/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/ubuntu/raring/applications/kbiff/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/kbookreader/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/kbookreader/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/raring/applications/kbookreader/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/kbookreader/debian/control b/ubuntu/raring/applications/kbookreader/debian/control
index 2a6ebed50..368dfae8f 100644
--- a/ubuntu/raring/applications/kbookreader/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/applications/kbookreader/debian/patches/series b/ubuntu/raring/applications/kbookreader/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/raring/applications/kbookreader/debian/patches/series
diff --git a/ubuntu/raring/applications/kbookreader/debian/rules b/ubuntu/raring/applications/kbookreader/debian/rules
index 53794c4fe..ef1dd49ff 100755
--- a/ubuntu/raring/applications/kbookreader/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/applications/kcmautostart/debian/control b/ubuntu/raring/applications/kcmautostart/debian/control
index 2eb9e9c3f..225c33269 100644
--- a/ubuntu/raring/applications/kcmautostart/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/applications/kcmautostart/debian/patches/series b/ubuntu/raring/applications/kcmautostart/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/raring/applications/kcmautostart/debian/patches/series
diff --git a/ubuntu/raring/applications/kcmautostart/debian/rules b/ubuntu/raring/applications/kcmautostart/debian/rules
index 9bed17b05..e4abe53af 100755
--- a/ubuntu/raring/applications/kcmautostart/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/applications/kcmldap/debian/control b/ubuntu/raring/applications/kcmldap/debian/control
index 5bdbbbe9c..77afbaf4a 100644
--- a/ubuntu/raring/applications/kcmldap/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/applications/kcmldap/debian/patches/series b/ubuntu/raring/applications/kcmldap/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/raring/applications/kcmldap/debian/patches/series
diff --git a/ubuntu/raring/applications/kcmldap/debian/rules b/ubuntu/raring/applications/kcmldap/debian/rules
index 9bed17b05..e4abe53af 100755
--- a/ubuntu/raring/applications/kcmldap/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/applications/kcmldapcontroller/debian/control b/ubuntu/raring/applications/kcmldapcontroller/debian/control
index bd10bfa04..81a9a046d 100644
--- a/ubuntu/raring/applications/kcmldapcontroller/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/applications/kcmldapcontroller/debian/patches/series b/ubuntu/raring/applications/kcmldapcontroller/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/raring/applications/kcmldapcontroller/debian/patches/series
diff --git a/ubuntu/raring/applications/kcmldapcontroller/debian/rules b/ubuntu/raring/applications/kcmldapcontroller/debian/rules
index 9bed17b05..e4abe53af 100755
--- a/ubuntu/raring/applications/kcmldapcontroller/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/applications/kcmldapmanager/debian/control b/ubuntu/raring/applications/kcmldapmanager/debian/control
index 10551309e..70af95ae3 100644
--- a/ubuntu/raring/applications/kcmldapmanager/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/applications/kcmldapmanager/debian/patches/series b/ubuntu/raring/applications/kcmldapmanager/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/raring/applications/kcmldapmanager/debian/patches/series
diff --git a/ubuntu/raring/applications/kcmldapmanager/debian/rules b/ubuntu/raring/applications/kcmldapmanager/debian/rules
index 9bed17b05..e4abe53af 100755
--- a/ubuntu/raring/applications/kcmldapmanager/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/applications/kcpuload/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/kcpuload/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/raring/applications/kcpuload/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/kdbg/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/kdbg/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/ubuntu/raring/applications/kdbg/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/kdbusnotification/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/kdbusnotification/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/raring/applications/kdbusnotification/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/kdiff3/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/kdiff3/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/raring/applications/kdiff3/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/kdirstat/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/kdirstat/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/raring/applications/kdirstat/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/kdirstat/debian/control b/ubuntu/raring/applications/kdirstat/debian/control
index 4795318f8..d83d71afe 100644
--- a/ubuntu/raring/applications/kdirstat/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/applications/kdirstat/debian/patches/series b/ubuntu/raring/applications/kdirstat/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/raring/applications/kdirstat/debian/patches/series
diff --git a/ubuntu/raring/applications/kdirstat/debian/rules b/ubuntu/raring/applications/kdirstat/debian/rules
index 8c0a950a3..afa7b060d 100755
--- a/ubuntu/raring/applications/kdirstat/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/applications/kdpkg/debian/control b/ubuntu/raring/applications/kdpkg/debian/control
index 1b89e2450..5e2bc7870 100644
--- a/ubuntu/raring/applications/kdpkg/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/applications/kdpkg/debian/patches/series b/ubuntu/raring/applications/kdpkg/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/raring/applications/kdpkg/debian/patches/series
diff --git a/ubuntu/raring/applications/kdpkg/debian/rules b/ubuntu/raring/applications/kdpkg/debian/rules
index 455414f69..2ff6ee66f 100755
--- a/ubuntu/raring/applications/kdpkg/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/applications/keep/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/keep/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/raring/applications/keep/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/keep/debian/control b/ubuntu/raring/applications/keep/debian/control
index ee2e6676f..1e411624f 100644
--- a/ubuntu/raring/applications/keep/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/applications/keep/debian/patches/series b/ubuntu/raring/applications/keep/debian/patches/series
new file mode 100644
index 000000000..9ccf4a125
--- /dev/null
+++ b/ubuntu/raring/applications/keep/debian/patches/series
@@ -0,0 +1 @@
+kubuntu_01_kdepot.diff
diff --git a/ubuntu/raring/applications/keep/debian/rules b/ubuntu/raring/applications/keep/debian/rules
index c08262790..ae055a958 100755
--- a/ubuntu/raring/applications/keep/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/applications/kerberostray/debian/control b/ubuntu/raring/applications/kerberostray/debian/control
index 215814458..bf4d6c2e5 100644
--- a/ubuntu/raring/applications/kerberostray/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/applications/kerberostray/debian/patches/series b/ubuntu/raring/applications/kerberostray/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/raring/applications/kerberostray/debian/patches/series
diff --git a/ubuntu/raring/applications/kerberostray/debian/rules b/ubuntu/raring/applications/kerberostray/debian/rules
index 9bed17b05..e4abe53af 100755
--- a/ubuntu/raring/applications/kerberostray/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/applications/kerry/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/kerry/debian/cdbs/debian-qt-kde.mk
index 4a11bc028..6b7b16643 100644
--- a/ubuntu/raring/applications/kerry/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/kerry/debian/control b/ubuntu/raring/applications/kerry/debian/control
index 914717575..04a60414a 100644
--- a/ubuntu/raring/applications/kerry/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/applications/kerry/debian/patches/kubuntu_03_no_beagle_autostart.patch b/ubuntu/raring/applications/kerry/debian/patches/kubuntu_03_no_beagle_autostart.patch
index 811069db9..7b06f8128 100644
--- a/ubuntu/raring/applications/kerry/debian/patches/kubuntu_03_no_beagle_autostart.patch
+++ b/ubuntu/raring/applications/kerry/debian/patches/kubuntu_03_no_beagle_autostart.patch
@@ -1,8 +1,9 @@
-diff -Nur kerry-0.2.1/kerry/src/Makefile.am kerry-0.2.1.new/kerry/src/Makefile.am
---- kerry-0.2.1/kerry/src/Makefile.am 2006-12-05 18:28:31.000000000 +0100
-+++ kerry-0.2.1.new/kerry/src/Makefile.am 2006-12-05 18:28:53.000000000 +0100
+Index: b/kerry/src/Makefile.am
+===================================================================
+--- a/kerry/src/Makefile.am
++++ b/kerry/src/Makefile.am
@@ -31,7 +31,7 @@
- kerry_la_LIBADD = -lkio -lkonq $(LIB_TDEUI) $(LIBBEAGLE_LIBADD) $(GLIB_LIBADD) $(LIB_TDEABC) -lDCOP $(LIB_QT) $(LIB_TDECORE)
+ kerry_la_LIBADD = -ltdeio -lkonq $(LIB_TDEUI) $(LIBBEAGLE_LIBADD) $(GLIB_LIBADD) $(LIB_TDEABC) -lDCOP $(LIB_QT) $(LIB_TDECORE)
autostartdir = $(datadir)/autostart
-autostart_DATA = kerry.autostart.desktop beagled.desktop
diff --git a/ubuntu/raring/applications/kerry/debian/patches/series b/ubuntu/raring/applications/kerry/debian/patches/series
new file mode 100644
index 000000000..f23925f70
--- /dev/null
+++ b/ubuntu/raring/applications/kerry/debian/patches/series
@@ -0,0 +1,3 @@
+kubuntu_03_no_beagle_autostart.patch
+kubuntu_04_no_core_kmenu_entry.desktop.patch
+kubuntu_05_shortkey.patch
diff --git a/ubuntu/raring/applications/kerry/debian/rules b/ubuntu/raring/applications/kerry/debian/rules
index dea466c17..7b26c5eb5 100755
--- a/ubuntu/raring/applications/kerry/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/applications/kftpgrabber/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/kftpgrabber/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/ubuntu/raring/applications/kftpgrabber/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/kftpgrabber/debian/control b/ubuntu/raring/applications/kftpgrabber/debian/control
index eaa793711..3e06c17d3 100644
--- a/ubuntu/raring/applications/kftpgrabber/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/applications/kftpgrabber/debian/patches/series b/ubuntu/raring/applications/kftpgrabber/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/raring/applications/kftpgrabber/debian/patches/series
diff --git a/ubuntu/raring/applications/kftpgrabber/debian/rules b/ubuntu/raring/applications/kftpgrabber/debian/rules
index 51e8bf7a9..64be165cd 100755
--- a/ubuntu/raring/applications/kftpgrabber/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/applications/kgtk-qt3/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/kgtk-qt3/debian/cdbs/debian-qt-kde.mk
index 5e704aa4a..c5d8ecfd3 100644
--- a/ubuntu/raring/applications/kgtk-qt3/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/kgtk-qt3/debian/control b/ubuntu/raring/applications/kgtk-qt3/debian/control
index d00331788..aabff8853 100644
--- a/ubuntu/raring/applications/kgtk-qt3/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/applications/kgtk-qt3/debian/patches/series b/ubuntu/raring/applications/kgtk-qt3/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/raring/applications/kgtk-qt3/debian/patches/series
diff --git a/ubuntu/raring/applications/kgtk-qt3/debian/rules b/ubuntu/raring/applications/kgtk-qt3/debian/rules
index b4cb7a953..91c8ec995 100755
--- a/ubuntu/raring/applications/kgtk-qt3/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/applications/kile/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/kile/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/raring/applications/kile/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/kiosktool/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/kiosktool/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/raring/applications/kiosktool/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/kiosktool/debian/control b/ubuntu/raring/applications/kiosktool/debian/control
index 322d2b3b4..6779d88ff 100644
--- a/ubuntu/raring/applications/kiosktool/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/applications/kiosktool/debian/patches/series b/ubuntu/raring/applications/kiosktool/debian/patches/series
new file mode 100644
index 000000000..f33e94505
--- /dev/null
+++ b/ubuntu/raring/applications/kiosktool/debian/patches/series
@@ -0,0 +1,2 @@
+kubuntu_02_kmenu.diff
+kubuntu_03_sudo_support.diff
diff --git a/ubuntu/raring/applications/kiosktool/debian/rules b/ubuntu/raring/applications/kiosktool/debian/rules
index 507e5a458..7e010577d 100755
--- a/ubuntu/raring/applications/kiosktool/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/applications/kkbswitch/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/kkbswitch/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/ubuntu/raring/applications/kkbswitch/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/klcddimmer/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/klcddimmer/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/ubuntu/raring/applications/klcddimmer/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/kmplayer/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/kmplayer/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/raring/applications/kmplayer/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/kmplayer/debian/control b/ubuntu/raring/applications/kmplayer/debian/control
index ac1cac49a..e9c67c756 100644
--- a/ubuntu/raring/applications/kmplayer/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/applications/kmplayer/debian/patches/series b/ubuntu/raring/applications/kmplayer/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/raring/applications/kmplayer/debian/patches/series
diff --git a/ubuntu/raring/applications/kmplayer/debian/rules b/ubuntu/raring/applications/kmplayer/debian/rules
index 2c29e9b14..093944c34 100755
--- a/ubuntu/raring/applications/kmplayer/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/applications/kmymoney/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/kmymoney/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/raring/applications/kmymoney/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/kmymoney/debian/control b/ubuntu/raring/applications/kmymoney/debian/control
index a8a2b7284..94c4c54a7 100644
--- a/ubuntu/raring/applications/kmymoney/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/applications/kmymoney/debian/patches/series b/ubuntu/raring/applications/kmymoney/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/raring/applications/kmymoney/debian/patches/series
diff --git a/ubuntu/raring/applications/kmymoney/debian/rules b/ubuntu/raring/applications/kmymoney/debian/rules
index 4c3b55cb4..d636191c4 100755
--- a/ubuntu/raring/applications/kmymoney/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/applications/knemo/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/knemo/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/raring/applications/knemo/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/knemo/debian/control b/ubuntu/raring/applications/knemo/debian/control
index 97ac6597a..e98618b20 100644
--- a/ubuntu/raring/applications/knemo/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/applications/knemo/debian/patches/series b/ubuntu/raring/applications/knemo/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/raring/applications/knemo/debian/patches/series
diff --git a/ubuntu/raring/applications/knemo/debian/rules b/ubuntu/raring/applications/knemo/debian/rules
index 345d9f54d..9e3a13754 100755
--- a/ubuntu/raring/applications/knemo/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/applications/knetstats/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/knetstats/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/raring/applications/knetstats/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/knetstats/debian/control b/ubuntu/raring/applications/knetstats/debian/control
index f710b9e09..611a29672 100644
--- a/ubuntu/raring/applications/knetstats/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/applications/knetstats/debian/patches/series b/ubuntu/raring/applications/knetstats/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/raring/applications/knetstats/debian/patches/series
diff --git a/ubuntu/raring/applications/knetstats/debian/rules b/ubuntu/raring/applications/knetstats/debian/rules
index 1a573fb20..7da95d739 100755
--- a/ubuntu/raring/applications/knetstats/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/applications/knetworkmanager.cmake/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/knetworkmanager.cmake/debian/cdbs/debian-qt-kde.mk
index 345cc0a61..fb36ac52f 100644
--- a/ubuntu/raring/applications/knetworkmanager.cmake/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/knetworkmanager.cmake/debian/rules b/ubuntu/raring/applications/knetworkmanager.cmake/debian/rules
index 5043dd652..7b801da5f 100755
--- a/ubuntu/raring/applications/knetworkmanager.cmake/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/applications/knetworkmanager8/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/knetworkmanager8/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/raring/applications/knetworkmanager8/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/knmap/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/knmap/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/ubuntu/raring/applications/knmap/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/knmap/debian/control b/ubuntu/raring/applications/knmap/debian/control
index ff43fd3f7..6b8893341 100644
--- a/ubuntu/raring/applications/knmap/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/applications/knmap/debian/patches/series b/ubuntu/raring/applications/knmap/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/raring/applications/knmap/debian/patches/series
diff --git a/ubuntu/raring/applications/knmap/debian/rules b/ubuntu/raring/applications/knmap/debian/rules
index 348e53573..7a20baa99 100755
--- a/ubuntu/raring/applications/knmap/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/applications/koffice/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/koffice/debian/cdbs/debian-qt-kde.mk
index b93e7c154..a803f50d6 100644
--- a/ubuntu/raring/applications/koffice/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/koffice/debian/control b/ubuntu/raring/applications/koffice/debian/control
index 6d2e73b8c..4b2f86587 100644
--- a/ubuntu/raring/applications/koffice/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/applications/koffice/debian/patches/series b/ubuntu/raring/applications/koffice/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/raring/applications/koffice/debian/patches/series
diff --git a/ubuntu/raring/applications/koffice/debian/rules b/ubuntu/raring/applications/koffice/debian/rules
index ed91a11c3..495d85db8 100755
--- a/ubuntu/raring/applications/koffice/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/applications/konversation/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/konversation/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/raring/applications/konversation/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/kopete-otr/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/kopete-otr/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/raring/applications/kopete-otr/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/kpilot/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/kpilot/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/raring/applications/kpilot/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/kpowersave.cmake/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/kpowersave.cmake/debian/cdbs/debian-qt-kde.mk
index 345cc0a61..fb36ac52f 100644
--- a/ubuntu/raring/applications/kpowersave.cmake/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/kpowersave.cmake/debian/control b/ubuntu/raring/applications/kpowersave.cmake/debian/control
index d9945fe0f..6a1f1b563 100644
--- a/ubuntu/raring/applications/kpowersave.cmake/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/applications/kpowersave.cmake/debian/patches/series b/ubuntu/raring/applications/kpowersave.cmake/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/raring/applications/kpowersave.cmake/debian/patches/series
diff --git a/ubuntu/raring/applications/kpowersave.cmake/debian/rules b/ubuntu/raring/applications/kpowersave.cmake/debian/rules
index 0d2383bae..6d3ac5584 100755
--- a/ubuntu/raring/applications/kpowersave.cmake/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/applications/kpowersave/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/kpowersave/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/raring/applications/kpowersave/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/kpowersave/debian/control b/ubuntu/raring/applications/kpowersave/debian/control
index 9850896db..2f98b883a 100644
--- a/ubuntu/raring/applications/kpowersave/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/applications/kpowersave/debian/patches/series b/ubuntu/raring/applications/kpowersave/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/raring/applications/kpowersave/debian/patches/series
diff --git a/ubuntu/raring/applications/kpowersave/debian/rules b/ubuntu/raring/applications/kpowersave/debian/rules
index 0cf9afbec..fb0e95a07 100755
--- a/ubuntu/raring/applications/kpowersave/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/applications/krecipes/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/krecipes/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/ubuntu/raring/applications/krecipes/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/krename/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/krename/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/raring/applications/krename/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/krename/debian/control b/ubuntu/raring/applications/krename/debian/control
index b87c1a2c1..b6cde2138 100644
--- a/ubuntu/raring/applications/krename/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/applications/krename/debian/patches/series b/ubuntu/raring/applications/krename/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/raring/applications/krename/debian/patches/series
diff --git a/ubuntu/raring/applications/krename/debian/rules b/ubuntu/raring/applications/krename/debian/rules
index 4983ad699..7df9beee2 100755
--- a/ubuntu/raring/applications/krename/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/applications/krusader/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/krusader/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/raring/applications/krusader/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/krusader/debian/control b/ubuntu/raring/applications/krusader/debian/control
index 6b7001dcc..26173e10c 100644
--- a/ubuntu/raring/applications/krusader/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/applications/krusader/debian/patches/series b/ubuntu/raring/applications/krusader/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/raring/applications/krusader/debian/patches/series
diff --git a/ubuntu/raring/applications/krusader/debian/rules b/ubuntu/raring/applications/krusader/debian/rules
index 4b297b1ae..d27f15ff5 100755
--- a/ubuntu/raring/applications/krusader/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/applications/ksensors/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/ksensors/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/ubuntu/raring/applications/ksensors/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/ksensors/debian/control b/ubuntu/raring/applications/ksensors/debian/control
index f0ba5d2d4..e7de2b810 100644
--- a/ubuntu/raring/applications/ksensors/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/applications/ksensors/debian/patches/series b/ubuntu/raring/applications/ksensors/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/raring/applications/ksensors/debian/patches/series
diff --git a/ubuntu/raring/applications/ksensors/debian/rules b/ubuntu/raring/applications/ksensors/debian/rules
index 8b97ef030..8030d443a 100755
--- a/ubuntu/raring/applications/ksensors/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/applications/kshowmail/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/kshowmail/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/ubuntu/raring/applications/kshowmail/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/kshutdown/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/kshutdown/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/ubuntu/raring/applications/kshutdown/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/ksystemlog/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/ksystemlog/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/raring/applications/ksystemlog/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/ksystemlog/debian/control b/ubuntu/raring/applications/ksystemlog/debian/control
index 224657403..a5c21429a 100644
--- a/ubuntu/raring/applications/ksystemlog/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/applications/ksystemlog/debian/patches/series b/ubuntu/raring/applications/ksystemlog/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/raring/applications/ksystemlog/debian/patches/series
diff --git a/ubuntu/raring/applications/ksystemlog/debian/rules b/ubuntu/raring/applications/ksystemlog/debian/rules
index 5b9d63684..f28f54627 100755
--- a/ubuntu/raring/applications/ksystemlog/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/applications/ktorrent/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/ktorrent/debian/cdbs/debian-qt-kde.mk
index b93e7c154..a803f50d6 100644
--- a/ubuntu/raring/applications/ktorrent/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/ktorrent/debian/control b/ubuntu/raring/applications/ktorrent/debian/control
index 032578e75..65c662809 100644
--- a/ubuntu/raring/applications/ktorrent/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/applications/ktorrent/debian/patches/series b/ubuntu/raring/applications/ktorrent/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/raring/applications/ktorrent/debian/patches/series
diff --git a/ubuntu/raring/applications/ktorrent/debian/rules b/ubuntu/raring/applications/ktorrent/debian/rules
index d0046eb44..862c88e23 100755
--- a/ubuntu/raring/applications/ktorrent/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/applications/kuickshow/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/kuickshow/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/raring/applications/kuickshow/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/kuickshow/debian/control b/ubuntu/raring/applications/kuickshow/debian/control
index 9ea44fd4b..58655fe8e 100644
--- a/ubuntu/raring/applications/kuickshow/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/applications/kuickshow/debian/patches/series b/ubuntu/raring/applications/kuickshow/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/raring/applications/kuickshow/debian/patches/series
diff --git a/ubuntu/raring/applications/kuickshow/debian/rules b/ubuntu/raring/applications/kuickshow/debian/rules
index 46fe966da..1f3a7d8fc 100755
--- a/ubuntu/raring/applications/kuickshow/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/applications/kvirc/debian/control b/ubuntu/raring/applications/kvirc/debian/control
index 2702dabc7..6189a1ff1 100644
--- a/ubuntu/raring/applications/kvirc/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/applications/kvirc/debian/patches/series b/ubuntu/raring/applications/kvirc/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/raring/applications/kvirc/debian/patches/series
diff --git a/ubuntu/raring/applications/kvirc/debian/rules b/ubuntu/raring/applications/kvirc/debian/rules
index 0cb35b452..d0de2524f 100755
--- a/ubuntu/raring/applications/kvirc/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/applications/kvkbd/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/kvkbd/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/raring/applications/kvkbd/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/kvkbd/debian/control b/ubuntu/raring/applications/kvkbd/debian/control
index f391264fc..3449f65e9 100644
--- a/ubuntu/raring/applications/kvkbd/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/applications/kvkbd/debian/patches/series b/ubuntu/raring/applications/kvkbd/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/raring/applications/kvkbd/debian/patches/series
diff --git a/ubuntu/raring/applications/kvkbd/debian/rules b/ubuntu/raring/applications/kvkbd/debian/rules
index 0f564108e..1ac5329b7 100755
--- a/ubuntu/raring/applications/kvkbd/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/applications/mplayerthumbs/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/mplayerthumbs/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/ubuntu/raring/applications/mplayerthumbs/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/piklab/debian/control b/ubuntu/raring/applications/piklab/debian/control
index e36481273..7864a446b 100644
--- a/ubuntu/raring/applications/piklab/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/applications/piklab/debian/patches/series b/ubuntu/raring/applications/piklab/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/raring/applications/piklab/debian/patches/series
diff --git a/ubuntu/raring/applications/piklab/debian/rules b/ubuntu/raring/applications/piklab/debian/rules
index 6d0a1d510..d15b8b977 100755
--- a/ubuntu/raring/applications/piklab/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/applications/qt4-tqt-theme-engine/debian/control b/ubuntu/raring/applications/qt4-tqt-theme-engine/debian/control
index 9c2a37a0e..29d985d0a 100644
--- a/ubuntu/raring/applications/qt4-tqt-theme-engine/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/applications/qt4-tqt-theme-engine/debian/patches/series b/ubuntu/raring/applications/qt4-tqt-theme-engine/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/raring/applications/qt4-tqt-theme-engine/debian/patches/series
diff --git a/ubuntu/raring/applications/qt4-tqt-theme-engine/debian/rules b/ubuntu/raring/applications/qt4-tqt-theme-engine/debian/rules
index 2cde95722..19ea67382 100755
--- a/ubuntu/raring/applications/qt4-tqt-theme-engine/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/applications/rosegarden/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/rosegarden/debian/cdbs/debian-qt-kde.mk
index 5e704aa4a..c5d8ecfd3 100644
--- a/ubuntu/raring/applications/rosegarden/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/rosegarden/debian/control b/ubuntu/raring/applications/rosegarden/debian/control
index 8c132318d..d0a03f679 100644
--- a/ubuntu/raring/applications/rosegarden/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/applications/rosegarden/debian/patches/series b/ubuntu/raring/applications/rosegarden/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/raring/applications/rosegarden/debian/patches/series
diff --git a/ubuntu/raring/applications/rosegarden/debian/rules b/ubuntu/raring/applications/rosegarden/debian/rules
index 3fc2b777e..1bac8145d 100755
--- a/ubuntu/raring/applications/rosegarden/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/applications/smb4k/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/smb4k/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/raring/applications/smb4k/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/soundkonverter/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/soundkonverter/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/raring/applications/soundkonverter/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/tde-guidance/debian/control b/ubuntu/raring/applications/tde-guidance/debian/control
index d69374f01..4c468fc07 100644
--- a/ubuntu/raring/applications/tde-guidance/debian/control
+++ b/ubuntu/raring/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-all (>= 2.5), python-all-dev (>= 2.5), x11proto-scrnsaver-dev, python-tqt-dev, hwdata
diff --git a/ubuntu/raring/applications/tde-guidance/debian/patches/series b/ubuntu/raring/applications/tde-guidance/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/raring/applications/tde-guidance/debian/patches/series
diff --git a/ubuntu/raring/applications/tde-guidance/debian/rules b/ubuntu/raring/applications/tde-guidance/debian/rules
index 0cf0d64e7..ad10455d4 100755
--- a/ubuntu/raring/applications/tde-guidance/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/applications/tde-style-qtcurve/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/tde-style-qtcurve/debian/cdbs/debian-qt-kde.mk
index 5e704aa4a..c5d8ecfd3 100644
--- a/ubuntu/raring/applications/tde-style-qtcurve/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/tde-style-qtcurve/debian/control b/ubuntu/raring/applications/tde-style-qtcurve/debian/control
index 10903e11d..60a4dd55f 100644
--- a/ubuntu/raring/applications/tde-style-qtcurve/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/applications/tde-style-qtcurve/debian/patches/series b/ubuntu/raring/applications/tde-style-qtcurve/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/raring/applications/tde-style-qtcurve/debian/patches/series
diff --git a/ubuntu/raring/applications/tde-style-qtcurve/debian/rules b/ubuntu/raring/applications/tde-style-qtcurve/debian/rules
index 685703a85..f697a7e99 100755
--- a/ubuntu/raring/applications/tde-style-qtcurve/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/applications/tde-systemsettings/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/tde-systemsettings/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/raring/applications/tde-systemsettings/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/tde-systemsettings/debian/control b/ubuntu/raring/applications/tde-systemsettings/debian/control
index fcda9cbaf..eb4b2305c 100644
--- a/ubuntu/raring/applications/tde-systemsettings/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/applications/tde-systemsettings/debian/patches/series b/ubuntu/raring/applications/tde-systemsettings/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/raring/applications/tde-systemsettings/debian/patches/series
diff --git a/ubuntu/raring/applications/tde-systemsettings/debian/rules b/ubuntu/raring/applications/tde-systemsettings/debian/rules
index ed2e13a90..7e11dd034 100755
--- a/ubuntu/raring/applications/tde-systemsettings/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/applications/tdeio-apt/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/tdeio-apt/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/raring/applications/tdeio-apt/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/tdeio-apt/debian/control b/ubuntu/raring/applications/tdeio-apt/debian/control
index 2aa6dbe3a..2a690b5fb 100644
--- a/ubuntu/raring/applications/tdeio-apt/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/applications/tdeio-apt/debian/patches/series b/ubuntu/raring/applications/tdeio-apt/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/raring/applications/tdeio-apt/debian/patches/series
diff --git a/ubuntu/raring/applications/tdeio-apt/debian/rules b/ubuntu/raring/applications/tdeio-apt/debian/rules
index 9e8c0f52b..5b3afa420 100755
--- a/ubuntu/raring/applications/tdeio-apt/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/applications/tdeio-ftps/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/tdeio-ftps/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/ubuntu/raring/applications/tdeio-ftps/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/tdeio-locate/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/tdeio-locate/debian/cdbs/debian-qt-kde.mk
index 5e704aa4a..c5d8ecfd3 100644
--- a/ubuntu/raring/applications/tdeio-locate/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/tdeio-locate/debian/control b/ubuntu/raring/applications/tdeio-locate/debian/control
index 986621d5f..29f2d4f5c 100644
--- a/ubuntu/raring/applications/tdeio-locate/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/applications/tdeio-locate/debian/patches/series b/ubuntu/raring/applications/tdeio-locate/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/raring/applications/tdeio-locate/debian/patches/series
diff --git a/ubuntu/raring/applications/tdeio-locate/debian/rules b/ubuntu/raring/applications/tdeio-locate/debian/rules
index 55427aa5d..01ccf387a 100755
--- a/ubuntu/raring/applications/tdeio-locate/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/applications/tdeio-umountwrapper/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/tdeio-umountwrapper/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/raring/applications/tdeio-umountwrapper/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/tdeio-umountwrapper/debian/control b/ubuntu/raring/applications/tdeio-umountwrapper/debian/control
index 07bd1607d..95e8c6b10 100644
--- a/ubuntu/raring/applications/tdeio-umountwrapper/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/applications/tdeio-umountwrapper/debian/patches/series b/ubuntu/raring/applications/tdeio-umountwrapper/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/raring/applications/tdeio-umountwrapper/debian/patches/series
diff --git a/ubuntu/raring/applications/tdeio-umountwrapper/debian/rules b/ubuntu/raring/applications/tdeio-umountwrapper/debian/rules
index ddfd17b35..27e351eba 100755
--- a/ubuntu/raring/applications/tdeio-umountwrapper/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/applications/tdenetworkmanager/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/tdenetworkmanager/debian/cdbs/debian-qt-kde.mk
index 345cc0a61..fb36ac52f 100644
--- a/ubuntu/raring/applications/tdenetworkmanager/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/tdenetworkmanager/debian/rules b/ubuntu/raring/applications/tdenetworkmanager/debian/rules
index 00ac9877f..c08c59d57 100755
--- a/ubuntu/raring/applications/tdenetworkmanager/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/applications/tdepowersave/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/tdepowersave/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/raring/applications/tdepowersave/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/tdepowersave/debian/control b/ubuntu/raring/applications/tdepowersave/debian/control
index de60dd3ae..ca4a5def2 100644
--- a/ubuntu/raring/applications/tdepowersave/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/applications/tdepowersave/debian/patches/series b/ubuntu/raring/applications/tdepowersave/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/raring/applications/tdepowersave/debian/patches/series
diff --git a/ubuntu/raring/applications/tdepowersave/debian/rules b/ubuntu/raring/applications/tdepowersave/debian/rules
index 485481ef7..f74a76605 100755
--- a/ubuntu/raring/applications/tdepowersave/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/applications/tdesudo/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/tdesudo/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/raring/applications/tdesudo/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/tdesudo/debian/control b/ubuntu/raring/applications/tdesudo/debian/control
index 69aff1bb3..0f976fe13 100644
--- a/ubuntu/raring/applications/tdesudo/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/applications/tdesudo/debian/patches/series b/ubuntu/raring/applications/tdesudo/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/raring/applications/tdesudo/debian/patches/series
diff --git a/ubuntu/raring/applications/tdesudo/debian/rules b/ubuntu/raring/applications/tdesudo/debian/rules
index 443a43aed..83c31e0c9 100755
--- a/ubuntu/raring/applications/tdesudo/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/applications/tdesvn/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/tdesvn/debian/cdbs/debian-qt-kde.mk
index 5e704aa4a..c5d8ecfd3 100644
--- a/ubuntu/raring/applications/tdesvn/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/tdesvn/debian/rules b/ubuntu/raring/applications/tdesvn/debian/rules
index 37d2a944b..0e1c5995b 100755
--- a/ubuntu/raring/applications/tdesvn/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/applications/tdmtheme/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/tdmtheme/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/raring/applications/tdmtheme/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/tork/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/tork/debian/cdbs/debian-qt-kde.mk
index ba002080b..f72df2152 100644
--- a/ubuntu/raring/applications/tork/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/twin-style-crystal/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/twin-style-crystal/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/raring/applications/twin-style-crystal/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/twin-style-crystal/debian/control b/ubuntu/raring/applications/twin-style-crystal/debian/control
index e5de77106..99fa3217d 100644
--- a/ubuntu/raring/applications/twin-style-crystal/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/applications/twin-style-crystal/debian/patches/series b/ubuntu/raring/applications/twin-style-crystal/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/raring/applications/twin-style-crystal/debian/patches/series
diff --git a/ubuntu/raring/applications/twin-style-crystal/debian/rules b/ubuntu/raring/applications/twin-style-crystal/debian/rules
index 4fb0c5bb5..00b9013fa 100755
--- a/ubuntu/raring/applications/twin-style-crystal/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/applications/wlassistant/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/wlassistant/debian/cdbs/debian-qt-kde.mk
index 5e704aa4a..c5d8ecfd3 100644
--- a/ubuntu/raring/applications/wlassistant/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/applications/wlassistant/debian/control b/ubuntu/raring/applications/wlassistant/debian/control
index a60cee081..c4d96baa8 100644
--- a/ubuntu/raring/applications/wlassistant/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/applications/wlassistant/debian/patches/series b/ubuntu/raring/applications/wlassistant/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/raring/applications/wlassistant/debian/patches/series
diff --git a/ubuntu/raring/applications/wlassistant/debian/rules b/ubuntu/raring/applications/wlassistant/debian/rules
index 1a8fdeafb..5e6564e64 100755
--- a/ubuntu/raring/applications/wlassistant/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/applications/yakuake/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/applications/yakuake/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/raring/applications/yakuake/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/dependencies/arts/debian/control b/ubuntu/raring/dependencies/arts/debian/control
index c535e2af4..dcffcfc0f 100644
--- a/ubuntu/raring/dependencies/arts/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/dependencies/arts/debian/patches/series b/ubuntu/raring/dependencies/arts/debian/patches/series
new file mode 100644
index 000000000..59e055db8
--- /dev/null
+++ b/ubuntu/raring/dependencies/arts/debian/patches/series
@@ -0,0 +1 @@
+12_cleanup_artsc-config.diff
diff --git a/ubuntu/raring/dependencies/arts/debian/rules b/ubuntu/raring/dependencies/arts/debian/rules
index 1b4911297..8886acad3 100755
--- a/ubuntu/raring/dependencies/arts/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/dependencies/dbus-1-tqt/debian/control b/ubuntu/raring/dependencies/dbus-1-tqt/debian/control
index 36e73bbb1..6c1b0c969 100644
--- a/ubuntu/raring/dependencies/dbus-1-tqt/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/dependencies/dbus-1-tqt/debian/patches/series b/ubuntu/raring/dependencies/dbus-1-tqt/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/raring/dependencies/dbus-1-tqt/debian/patches/series
diff --git a/ubuntu/raring/dependencies/dbus-1-tqt/debian/rules b/ubuntu/raring/dependencies/dbus-1-tqt/debian/rules
index 3b86de7db..0585b8d86 100755
--- a/ubuntu/raring/dependencies/dbus-1-tqt/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/dependencies/dbus-tqt/debian/control b/ubuntu/raring/dependencies/dbus-tqt/debian/control
index cdf2d334a..7c5dbc0c4 100644
--- a/ubuntu/raring/dependencies/dbus-tqt/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/dependencies/dbus-tqt/debian/patches/series b/ubuntu/raring/dependencies/dbus-tqt/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/raring/dependencies/dbus-tqt/debian/patches/series
diff --git a/ubuntu/raring/dependencies/dbus-tqt/debian/rules b/ubuntu/raring/dependencies/dbus-tqt/debian/rules
index a59bed76e..26bf6c196 100755
--- a/ubuntu/raring/dependencies/dbus-tqt/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/dependencies/libart-lgpl/debian/control b/ubuntu/raring/dependencies/libart-lgpl/debian/control
index 02714617a..8eb77091b 100644
--- a/ubuntu/raring/dependencies/libart-lgpl/debian/control
+++ b/ubuntu/raring/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 Dröge <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/ubuntu/raring/dependencies/libart-lgpl/debian/patches/series b/ubuntu/raring/dependencies/libart-lgpl/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/raring/dependencies/libart-lgpl/debian/patches/series
diff --git a/ubuntu/raring/dependencies/libart-lgpl/debian/rules b/ubuntu/raring/dependencies/libart-lgpl/debian/rules
index 2751eb1f2..add68d0c4 100755
--- a/ubuntu/raring/dependencies/libart-lgpl/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/dependencies/libcaldav/debian/control b/ubuntu/raring/dependencies/libcaldav/debian/control
index 6051e6de1..8ba2fed15 100644
--- a/ubuntu/raring/dependencies/libcaldav/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/dependencies/libcaldav/debian/patches/series b/ubuntu/raring/dependencies/libcaldav/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/raring/dependencies/libcaldav/debian/patches/series
diff --git a/ubuntu/raring/dependencies/libcaldav/debian/rules b/ubuntu/raring/dependencies/libcaldav/debian/rules
index fb72a35e7..0d067bc3d 100755
--- a/ubuntu/raring/dependencies/libcaldav/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/dependencies/libcarddav/debian/control b/ubuntu/raring/dependencies/libcarddav/debian/control
index 7bf8ff1dc..7e3b740bb 100644
--- a/ubuntu/raring/dependencies/libcarddav/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/dependencies/libcarddav/debian/patches/series b/ubuntu/raring/dependencies/libcarddav/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/raring/dependencies/libcarddav/debian/patches/series
diff --git a/ubuntu/raring/dependencies/libcarddav/debian/rules b/ubuntu/raring/dependencies/libcarddav/debian/rules
index 24bdcbc93..b22fbca64 100755
--- a/ubuntu/raring/dependencies/libcarddav/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/dependencies/python-tqt/debian/patches/series b/ubuntu/raring/dependencies/python-tqt/debian/patches/series
index 15bc57c10..573069d8d 100644
--- a/ubuntu/raring/dependencies/python-tqt/debian/patches/series
+++ b/ubuntu/raring/dependencies/python-tqt/debian/patches/series
@@ -1 +1 @@
-debian_configure_changes.diff
+# debian_configure_changes.diff
diff --git a/ubuntu/raring/dependencies/qt3/debian/control b/ubuntu/raring/dependencies/qt3/debian/control
index 7641cffbf..37bf73e65 100644
--- a/ubuntu/raring/dependencies/qt3/debian/control
+++ b/ubuntu/raring/dependencies/qt3/debian/control
@@ -2,7 +2,7 @@ Source: qt-x11-free
Maintainer: Kubuntu 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/ubuntu/raring/dependencies/qt3/debian/rules b/ubuntu/raring/dependencies/qt3/debian/rules
index 7ede42ad9..57dce235a 100755
--- a/ubuntu/raring/dependencies/qt3/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/dependencies/sip4-tqt/debian/patches/series b/ubuntu/raring/dependencies/sip4-tqt/debian/patches/series
index c42871d34..0b31a69ff 100644
--- a/ubuntu/raring/dependencies/sip4-tqt/debian/patches/series
+++ b/ubuntu/raring/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/ubuntu/raring/dependencies/sip4-tqt/debian/patches/siputils_objdir_module_fix.diff b/ubuntu/raring/dependencies/sip4-tqt/debian/patches/siputils_objdir_module_fix.diff
index a9d580737..3c4570b21 100644
--- a/ubuntu/raring/dependencies/sip4-tqt/debian/patches/siputils_objdir_module_fix.diff
+++ b/ubuntu/raring/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/ubuntu/raring/dependencies/tqt3/debian/control b/ubuntu/raring/dependencies/tqt3/debian/control
index 1655a1357..b524aa513 100644
--- a/ubuntu/raring/dependencies/tqt3/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/dependencies/tqt3/debian/rules b/ubuntu/raring/dependencies/tqt3/debian/rules
index d2d66f6a7..b91e34413 100755
--- a/ubuntu/raring/dependencies/tqt3/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/dependencies/tqtinterface/debian/control b/ubuntu/raring/dependencies/tqtinterface/debian/control
index 4996e799f..c671091c9 100644
--- a/ubuntu/raring/dependencies/tqtinterface/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/dependencies/tqtinterface/debian/patches/series b/ubuntu/raring/dependencies/tqtinterface/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/raring/dependencies/tqtinterface/debian/patches/series
diff --git a/ubuntu/raring/dependencies/tqtinterface/debian/rules b/ubuntu/raring/dependencies/tqtinterface/debian/rules
index 5d8f4cb4c..051e7e40f 100755
--- a/ubuntu/raring/dependencies/tqtinterface/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/kdegraphics.automake/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/kdegraphics.automake/debian/cdbs/debian-qt-kde.mk
index df08f2d37..7c7e6d56c 100644
--- a/ubuntu/raring/kdegraphics.automake/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/kdegraphics.automake/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/ubuntu/raring/kdegraphics.automake/debian/control b/ubuntu/raring/kdegraphics.automake/debian/control
index 0c8f94d44..ef09b498c 100644
--- a/ubuntu/raring/kdegraphics.automake/debian/control
+++ b/ubuntu/raring/kdegraphics.automake/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, kdelibs4-trinity-dev, libexif-dev (>= 0.6.9-1), libfribidi-dev, freeglut3-dev, libgphoto2-2-dev, libopenexr-dev (>= 1.2.1), libpaper-dev, libpoppler-dev, libsane-dev (>> 1.0.15), libtiff4-dev, libtiff-tools, libusb-dev, sharutils, libxxf86vm-dev, chrpath [powerpc], automake, autoconf, libtool, libltdl-dev
+Build-Depends: imlib11-dev, cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), quilt, autotools-dev, gawk, gettext, kdelibs4-trinity-dev, libexif-dev (>= 0.6.9-1), libfribidi-dev, freeglut3-dev, libgphoto2-2-dev, libopenexr-dev (>= 1.2.1), libpaper-dev, libpoppler-dev, libsane-dev (>> 1.0.15), libtiff4-dev, libtiff-tools, libusb-dev, sharutils, libxxf86vm-dev, chrpath [powerpc], automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: kdegraphics-trinity
diff --git a/ubuntu/raring/kdegraphics.automake/debian/patches/series b/ubuntu/raring/kdegraphics.automake/debian/patches/series
new file mode 100644
index 000000000..6b3ddc8ec
--- /dev/null
+++ b/ubuntu/raring/kdegraphics.automake/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/ubuntu/raring/kdegraphics.automake/debian/rules b/ubuntu/raring/kdegraphics.automake/debian/rules
index 7a23d61e5..079b05ab7 100755
--- a/ubuntu/raring/kdegraphics.automake/debian/rules
+++ b/ubuntu/raring/kdegraphics.automake/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/ubuntu/raring/kdevelop.cmake/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/kdevelop.cmake/debian/cdbs/debian-qt-kde.mk
index 4a11bc028..6b7b16643 100644
--- a/ubuntu/raring/kdevelop.cmake/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/kdevelop.cmake/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/ubuntu/raring/kdevelop.cmake/debian/control b/ubuntu/raring/kdevelop.cmake/debian/control
index dfa4f6f25..527382167 100644
--- a/ubuntu/raring/kdevelop.cmake/debian/control
+++ b/ubuntu/raring/kdevelop.cmake/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), qt3-apps-dev, kdelibs4-trinity-dev, gettext, kdelibs4-trinity-doc, qt3-doc, flex, python, libcvsservice-trinity-dev, groff-base, libsvn-dev, libaprutil1-dev, cmake, libtool, libltdl-dev
+Build-Depends: cdbs (>= 0.4.38), debhelper (>= 5), quilt, qt3-apps-dev, kdelibs4-trinity-dev, gettext, kdelibs4-trinity-doc, qt3-doc, flex, python, libcvsservice-trinity-dev, groff-base, libsvn-dev, libaprutil1-dev, cmake, libtool, libltdl-dev
Standards-Version: 3.8.4
Package: kdevelop-trinity
diff --git a/ubuntu/raring/kdevelop.cmake/debian/patches/series b/ubuntu/raring/kdevelop.cmake/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/raring/kdevelop.cmake/debian/patches/series
diff --git a/ubuntu/raring/kdevelop.cmake/debian/rules b/ubuntu/raring/kdevelop.cmake/debian/rules
index 0bf8bfe14..ed08238eb 100755
--- a/ubuntu/raring/kdevelop.cmake/debian/rules
+++ b/ubuntu/raring/kdevelop.cmake/debian/rules
@@ -6,7 +6,7 @@ makebuilddir::
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/ubuntu/raring/libraries/kipi-plugins/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/libraries/kipi-plugins/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/raring/libraries/kipi-plugins/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/libraries/libkdcraw/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/libraries/libkdcraw/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/raring/libraries/libkdcraw/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/libraries/libkexiv2/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/libraries/libkexiv2/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/raring/libraries/libkexiv2/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/libraries/libkipi/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/libraries/libkipi/debian/cdbs/debian-qt-kde.mk
index 311dc059d..c807eed8c 100644
--- a/ubuntu/raring/libraries/libkipi/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/libraries/libkipi/debian/control b/ubuntu/raring/libraries/libkipi/debian/control
index ef0ce9d5c..7f4a700ce 100644
--- a/ubuntu/raring/libraries/libkipi/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/libraries/libkipi/debian/patches/series b/ubuntu/raring/libraries/libkipi/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/raring/libraries/libkipi/debian/patches/series
diff --git a/ubuntu/raring/libraries/libkipi/debian/rules b/ubuntu/raring/libraries/libkipi/debian/rules
index c95fe1343..9835b9048 100755
--- a/ubuntu/raring/libraries/libkipi/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/libraries/libtdeldap/debian/control b/ubuntu/raring/libraries/libtdeldap/debian/control
index 78bbffbc8..0f20c21ab 100644
--- a/ubuntu/raring/libraries/libtdeldap/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/libraries/libtdeldap/debian/patches/series b/ubuntu/raring/libraries/libtdeldap/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/raring/libraries/libtdeldap/debian/patches/series
diff --git a/ubuntu/raring/libraries/libtdeldap/debian/rules b/ubuntu/raring/libraries/libtdeldap/debian/rules
index 9bed17b05..e4abe53af 100755
--- a/ubuntu/raring/libraries/libtdeldap/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/tdeaccessibility/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/tdeaccessibility/debian/cdbs/debian-qt-kde.mk
index 4a11bc028..6b7b16643 100644
--- a/ubuntu/raring/tdeaccessibility/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/tdeaccessibility/debian/control b/ubuntu/raring/tdeaccessibility/debian/control
index f846cdabd..b043b9a3a 100644
--- a/ubuntu/raring/tdeaccessibility/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/tdeaccessibility/debian/patches/series b/ubuntu/raring/tdeaccessibility/debian/patches/series
new file mode 100644
index 000000000..6b3ddc8ec
--- /dev/null
+++ b/ubuntu/raring/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/ubuntu/raring/tdeaccessibility/debian/rules b/ubuntu/raring/tdeaccessibility/debian/rules
index 4fdbdb6c3..98b74d04f 100755
--- a/ubuntu/raring/tdeaccessibility/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/tdeaddons/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/tdeaddons/debian/cdbs/debian-qt-kde.mk
index 4a11bc028..6b7b16643 100644
--- a/ubuntu/raring/tdeaddons/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/tdeaddons/debian/control b/ubuntu/raring/tdeaddons/debian/control
index 381d26c37..1efa78da4 100644
--- a/ubuntu/raring/tdeaddons/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/tdeaddons/debian/patches/series b/ubuntu/raring/tdeaddons/debian/patches/series
new file mode 100644
index 000000000..6b3ddc8ec
--- /dev/null
+++ b/ubuntu/raring/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/ubuntu/raring/tdeaddons/debian/rules b/ubuntu/raring/tdeaddons/debian/rules
index 8e8bb53a9..692eacfb0 100755
--- a/ubuntu/raring/tdeaddons/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/tdeadmin/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/tdeadmin/debian/cdbs/debian-qt-kde.mk
index 4a11bc028..6b7b16643 100644
--- a/ubuntu/raring/tdeadmin/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/tdeadmin/debian/control b/ubuntu/raring/tdeadmin/debian/control
index 9a38f650a..990a72cbe 100644
--- a/ubuntu/raring/tdeadmin/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/tdeadmin/debian/patches/series b/ubuntu/raring/tdeadmin/debian/patches/series
new file mode 100644
index 000000000..6b3ddc8ec
--- /dev/null
+++ b/ubuntu/raring/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/ubuntu/raring/tdeadmin/debian/rules b/ubuntu/raring/tdeadmin/debian/rules
index 849de5f21..4ddc3ff78 100755
--- a/ubuntu/raring/tdeadmin/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/tdeartwork/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/tdeartwork/debian/cdbs/debian-qt-kde.mk
index 497be9751..425264528 100644
--- a/ubuntu/raring/tdeartwork/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/tdeartwork/debian/control b/ubuntu/raring/tdeartwork/debian/control
index 71e85c054..ce11a9c95 100644
--- a/ubuntu/raring/tdeartwork/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/tdeartwork/debian/patches/series b/ubuntu/raring/tdeartwork/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/raring/tdeartwork/debian/patches/series
diff --git a/ubuntu/raring/tdeartwork/debian/rules b/ubuntu/raring/tdeartwork/debian/rules
index 963f996bc..062bd4f29 100755
--- a/ubuntu/raring/tdeartwork/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/tdebase/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/tdebase/debian/cdbs/debian-qt-kde.mk
index fa0d532f4..ec89756bb 100644
--- a/ubuntu/raring/tdebase/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/tdebase/debian/control b/ubuntu/raring/tdebase/debian/control
index 748ea8bf5..e998c677b 100644
--- a/ubuntu/raring/tdebase/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/tdebase/debian/patches/kubuntu_13_hide_konsolesu_menu_entry.diff b/ubuntu/raring/tdebase/debian/patches/kubuntu_13_hide_konsolesu_menu_entry.diff
index cd5b0b2eb..9dfccdbd7 100644
--- a/ubuntu/raring/tdebase/debian/patches/kubuntu_13_hide_konsolesu_menu_entry.diff
+++ b/ubuntu/raring/tdebase/debian/patches/kubuntu_13_hide_konsolesu_menu_entry.diff
@@ -1,7 +1,9 @@
---- tdebase/konsole/konsolesu.desktop
-+++ tdebase/konsole/konsolesu.desktop
-@@ -81,3 +81,4 @@
- Name[zh_TW]=終端機程式 - 超級使用者模式
+Index: b/konsole/konsolesu.desktop
+===================================================================
+--- a/konsole/konsolesu.desktop
++++ b/konsole/konsolesu.desktop
+@@ -82,3 +82,4 @@
+ GenericName[zh_TW]=終端機程式 - 超級使用者模式
X-TDE-AuthorizeAction=shell_access
Categories=Qt;TDE;X-TDE-System-su;
+NoDisplay=true
diff --git a/ubuntu/raring/tdebase/debian/patches/series b/ubuntu/raring/tdebase/debian/patches/series
new file mode 100644
index 000000000..382f72a04
--- /dev/null
+++ b/ubuntu/raring/tdebase/debian/patches/series
@@ -0,0 +1,21 @@
+disable_default_tdm_theme.diff
+disable_starttde_wallpaper.diff
+kubuntu_04_hide_menu_entries.diff
+kubuntu_06_hide_home_menu_entry.diff
+kubuntu_07_hide_knetattach_menu_entry.diff
+kubuntu_08_hide_kcmkicker_menu_entry.diff
+kubuntu_09_hide_kpersonaliser_menu_entry.diff
+kubuntu_10_hide_kmenuedit_menu_entry.diff
+kubuntu_11_hide_kappfinder_menu_entry.diff
+kubuntu_13_hide_konsolesu_menu_entry.diff
+kubuntu_14_hide_konquerorsu_menu_entry.diff
+kubuntu_15_hide_tdefontview_menu_entry.diff
+kubuntu_16_hide_kpager_menu_entry.diff
+kubuntu_35_hide_klipper_menu_entry.diff
+kubuntu_37_hide_tdeprintfax_menu_entry.diff
+kubuntu_48_hide_display.diff
+kubuntu_70_hide_printers_desktop.diff
+kubuntu_78_kcontrol_hide_component_chooser.diff
+kubuntu_89_new_logout_ui.diff
+kubuntu_9904_hide_kfind.diff
+kubuntu_9921_tdm_bulletproof_x.diff
diff --git a/ubuntu/raring/tdebase/debian/rules b/ubuntu/raring/tdebase/debian/rules
index 4982940b1..af7515161 100755
--- a/ubuntu/raring/tdebase/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/tdebindings/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/tdebindings/debian/cdbs/debian-qt-kde.mk
index 2a219d60a..1e862f623 100644
--- a/ubuntu/raring/tdebindings/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/tdeedu/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/tdeedu/debian/cdbs/debian-qt-kde.mk
index 4a11bc028..6b7b16643 100644
--- a/ubuntu/raring/tdeedu/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/tdeedu/debian/control b/ubuntu/raring/tdeedu/debian/control
index de39b7e8a..2f248f286 100644
--- a/ubuntu/raring/tdeedu/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/tdeedu/debian/patches/series b/ubuntu/raring/tdeedu/debian/patches/series
new file mode 100644
index 000000000..6b3ddc8ec
--- /dev/null
+++ b/ubuntu/raring/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/ubuntu/raring/tdeedu/debian/rules b/ubuntu/raring/tdeedu/debian/rules
index 9f81df4c0..c457b98e2 100755
--- a/ubuntu/raring/tdeedu/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/tdegames/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/tdegames/debian/cdbs/debian-qt-kde.mk
index 4a11bc028..6b7b16643 100644
--- a/ubuntu/raring/tdegames/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/tdegames/debian/control b/ubuntu/raring/tdegames/debian/control
index 80c1c1a03..419fbc5fd 100644
--- a/ubuntu/raring/tdegames/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/tdegames/debian/patches/series b/ubuntu/raring/tdegames/debian/patches/series
new file mode 100644
index 000000000..6b3ddc8ec
--- /dev/null
+++ b/ubuntu/raring/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/ubuntu/raring/tdegames/debian/rules b/ubuntu/raring/tdegames/debian/rules
index 085eb8404..7f682874f 100755
--- a/ubuntu/raring/tdegames/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/tdegraphics/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/tdegraphics/debian/cdbs/debian-qt-kde.mk
index df08f2d37..7c7e6d56c 100644
--- a/ubuntu/raring/tdegraphics/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/tdegraphics/debian/control b/ubuntu/raring/tdegraphics/debian/control
index 623d2dceb..1e30c8884 100644
--- a/ubuntu/raring/tdegraphics/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/tdegraphics/debian/patches/series b/ubuntu/raring/tdegraphics/debian/patches/series
new file mode 100644
index 000000000..6b3ddc8ec
--- /dev/null
+++ b/ubuntu/raring/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/ubuntu/raring/tdegraphics/debian/rules b/ubuntu/raring/tdegraphics/debian/rules
index 9aedb5fcf..87727752f 100755
--- a/ubuntu/raring/tdegraphics/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/tdelibs/debian/control b/ubuntu/raring/tdelibs/debian/control
index 279e62d52..ef3874593 100644
--- a/ubuntu/raring/tdelibs/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/tdelibs/debian/patches/series b/ubuntu/raring/tdelibs/debian/patches/series
new file mode 100644
index 000000000..b5490e13d
--- /dev/null
+++ b/ubuntu/raring/tdelibs/debian/patches/series
@@ -0,0 +1 @@
+kubuntu_19_debianize_useragent.diff
diff --git a/ubuntu/raring/tdelibs/debian/rules b/ubuntu/raring/tdelibs/debian/rules
index fe0cc4433..d64786b7d 100755
--- a/ubuntu/raring/tdelibs/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/tdemultimedia/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/tdemultimedia/debian/cdbs/debian-qt-kde.mk
index 4a11bc028..6b7b16643 100644
--- a/ubuntu/raring/tdemultimedia/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/tdemultimedia/debian/control b/ubuntu/raring/tdemultimedia/debian/control
index 56fb029fe..abfb6c797 100644
--- a/ubuntu/raring/tdemultimedia/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/tdemultimedia/debian/patches/series b/ubuntu/raring/tdemultimedia/debian/patches/series
new file mode 100644
index 000000000..6b3ddc8ec
--- /dev/null
+++ b/ubuntu/raring/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/ubuntu/raring/tdemultimedia/debian/rules b/ubuntu/raring/tdemultimedia/debian/rules
index 4dcb0d43d..1a946ecfc 100755
--- a/ubuntu/raring/tdemultimedia/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/tdenetwork/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/tdenetwork/debian/cdbs/debian-qt-kde.mk
index f8b76cb04..4a9d74d88 100644
--- a/ubuntu/raring/tdenetwork/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/tdenetwork/debian/control b/ubuntu/raring/tdenetwork/debian/control
index 5228e65e0..686a4eeb7 100644
--- a/ubuntu/raring/tdenetwork/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/tdenetwork/debian/patches/series b/ubuntu/raring/tdenetwork/debian/patches/series
new file mode 100644
index 000000000..6b3ddc8ec
--- /dev/null
+++ b/ubuntu/raring/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/ubuntu/raring/tdenetwork/debian/rules b/ubuntu/raring/tdenetwork/debian/rules
index 0ee562691..539d5a557 100755
--- a/ubuntu/raring/tdenetwork/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/tdepim/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/tdepim/debian/cdbs/debian-qt-kde.mk
index fa0d532f4..ec89756bb 100644
--- a/ubuntu/raring/tdepim/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/tdepim/debian/control b/ubuntu/raring/tdepim/debian/control
index 6a06bda38..3bdcc7478 100644
--- a/ubuntu/raring/tdepim/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/tdepim/debian/patches/series b/ubuntu/raring/tdepim/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ubuntu/raring/tdepim/debian/patches/series
diff --git a/ubuntu/raring/tdepim/debian/rules b/ubuntu/raring/tdepim/debian/rules
index 48c8b7fa2..e01240a19 100755
--- a/ubuntu/raring/tdepim/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/tdesdk/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/tdesdk/debian/cdbs/debian-qt-kde.mk
index f8b76cb04..4a9d74d88 100644
--- a/ubuntu/raring/tdesdk/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/tdesdk/debian/control b/ubuntu/raring/tdesdk/debian/control
index 7cb17058f..552888667 100644
--- a/ubuntu/raring/tdesdk/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/tdesdk/debian/patches/series b/ubuntu/raring/tdesdk/debian/patches/series
new file mode 100644
index 000000000..6b3ddc8ec
--- /dev/null
+++ b/ubuntu/raring/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/ubuntu/raring/tdesdk/debian/rules b/ubuntu/raring/tdesdk/debian/rules
index 15a2da318..c4ecc592b 100755
--- a/ubuntu/raring/tdesdk/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/tdetoys/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/tdetoys/debian/cdbs/debian-qt-kde.mk
index f8b76cb04..4a9d74d88 100644
--- a/ubuntu/raring/tdetoys/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/tdetoys/debian/control b/ubuntu/raring/tdetoys/debian/control
index 673937581..11ba906c3 100644
--- a/ubuntu/raring/tdetoys/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/tdetoys/debian/patches/series b/ubuntu/raring/tdetoys/debian/patches/series
new file mode 100644
index 000000000..6b3ddc8ec
--- /dev/null
+++ b/ubuntu/raring/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/ubuntu/raring/tdetoys/debian/rules b/ubuntu/raring/tdetoys/debian/rules
index da1268d9f..21108293f 100755
--- a/ubuntu/raring/tdetoys/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/tdeutils/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/tdeutils/debian/cdbs/debian-qt-kde.mk
index f8b76cb04..4a9d74d88 100644
--- a/ubuntu/raring/tdeutils/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/tdeutils/debian/control b/ubuntu/raring/tdeutils/debian/control
index 004be1738..fa4d66f75 100644
--- a/ubuntu/raring/tdeutils/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/tdeutils/debian/patches/series b/ubuntu/raring/tdeutils/debian/patches/series
new file mode 100644
index 000000000..f4421a4c2
--- /dev/null
+++ b/ubuntu/raring/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/ubuntu/raring/tdeutils/debian/rules b/ubuntu/raring/tdeutils/debian/rules
index 19848196e..c7e800362 100755
--- a/ubuntu/raring/tdeutils/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/tdevelop/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/tdevelop/debian/cdbs/debian-qt-kde.mk
index f8b76cb04..4a9d74d88 100644
--- a/ubuntu/raring/tdevelop/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/tdevelop/debian/control b/ubuntu/raring/tdevelop/debian/control
index c5ef6b183..bd615b9ef 100644
--- a/ubuntu/raring/tdevelop/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/tdevelop/debian/patches/series b/ubuntu/raring/tdevelop/debian/patches/series
new file mode 100644
index 000000000..6b3ddc8ec
--- /dev/null
+++ b/ubuntu/raring/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/ubuntu/raring/tdevelop/debian/rules b/ubuntu/raring/tdevelop/debian/rules
index 95a3981ea..9d5bcbc87 100755
--- a/ubuntu/raring/tdevelop/debian/rules
+++ b/ubuntu/raring/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/ubuntu/raring/tdewebdev/debian/cdbs/debian-qt-kde.mk b/ubuntu/raring/tdewebdev/debian/cdbs/debian-qt-kde.mk
index 4a11bc028..6b7b16643 100644
--- a/ubuntu/raring/tdewebdev/debian/cdbs/debian-qt-kde.mk
+++ b/ubuntu/raring/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/ubuntu/raring/tdewebdev/debian/control b/ubuntu/raring/tdewebdev/debian/control
index 4dab927fb..099361776 100644
--- a/ubuntu/raring/tdewebdev/debian/control
+++ b/ubuntu/raring/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/ubuntu/raring/tdewebdev/debian/patches/series b/ubuntu/raring/tdewebdev/debian/patches/series
new file mode 100644
index 000000000..8f8f0bd6b
--- /dev/null
+++ b/ubuntu/raring/tdewebdev/debian/patches/series
@@ -0,0 +1 @@
+common/kubuntu_01_kdepot.diff
diff --git a/ubuntu/raring/tdewebdev/debian/rules b/ubuntu/raring/tdewebdev/debian/rules
index 1e601c5e2..46e21c610 100755
--- a/ubuntu/raring/tdewebdev/debian/rules
+++ b/ubuntu/raring/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