Author: domi-guest Date: 2004-04-08 13:40:30 -0600 (Thu, 08 Apr 2004) New Revision: 98
Modified: trunk/packages/kdelibs/debian/Packaging.txt trunk/packages/kdelibs/debian/changelog Log: Commit a patch by Nathaniel W. Turner explaining how to use CDBS for packaging a KDE app. Modified: trunk/packages/kdelibs/debian/Packaging.txt =================================================================== --- trunk/packages/kdelibs/debian/Packaging.txt 2004-04-07 22:49:49 UTC (rev 97) +++ trunk/packages/kdelibs/debian/Packaging.txt 2004-04-08 19:40:30 UTC (rev 98) @@ -56,7 +56,7 @@ Build-Depends: debhelper (>> 4.0.0), automake1.7, autoconf, libtool, kdelibs4-dev (>= 3.2.0) -Your app may need alot more than that to actually build however first take a +Your app may need alot more than that to actually build; however, first take a look at the Dependencies for kdelibs4-dev: Depends: kdelibs4 (= 4:3.2.1-1), kdelibs-bin (= 4:3.2.1-1), libart-2.0-dev, libarts1-dev (>> 1.2.1), libcupsys2-dev, libfam-dev, libpcre3-dev, libssl-dev, libxml2-utils, libxrender-dev @@ -101,8 +101,24 @@ CDBS ==== -TODO: a paragraph about CDBS and kde.mk. +You might also want to consider building your package with the Common +Debian Build System (CDBS). This system encapsulates the best-practices +for packaging in a central system that can be kept up-to-date independent +of the actual packages. +The simplest way to get started with CDBS is probably to use the +dh-make template described above, then add cdbs to your Build-Depends +( versionned to some recent version, like >= 0.4.21 ) and replace the +generated debian/rules file with something like the following 3 lines: + + #!/usr/bin/make -f + include /usr/share/cdbs/1/rules/debhelper.mk + include /usr/share/cdbs/1/class/kde.mk + +Before you do anything though, you should install the cdbs package and read +its documentation; especially look in /usr/share/doc/cdbs/examples for some +more example rules files. + ================== Missing something? ================== Modified: trunk/packages/kdelibs/debian/changelog =================================================================== --- trunk/packages/kdelibs/debian/changelog 2004-04-07 22:49:49 UTC (rev 97) +++ trunk/packages/kdelibs/debian/changelog 2004-04-08 19:40:30 UTC (rev 98) @@ -8,6 +8,8 @@ the state that things currently are in sid. * debian/dh-make/rules, debian/Packaging.txt: Added an example icon entry to the example menu file content. + * debian/Packaging.txt: Added a paragraph by Nathaniel W. Turner + explaining how to use CDBS for packaging a KDE app. --