On Tuesday 06 April 2004 04:33 pm, Dominique Devriese wrote: > Nathaniel W Turner writes: > > On Tuesday 06 April 2004 01:14 pm, Achim Bohnet wrote: > >> Maybe you can write a small paragraph for inclusion in Packages.txt > >> about CDBS replacement of the dh_make rules file? [snip] > > Can you write this in unified diff format, please ? :)
Ok, I wrote up a quick section on packaging KDE apps with CDBS. Someone who actually knows what they're doing should definately review it though. A patch for Packaging.txt is attached. (I couldn't resist fixing a grammar bug too, sorry... OCD...) Should the Build-Depend for cdbs be versioned? Can someone comment on that? Cheers, nate -- Make sure your vote will count. http://www.verifiedvoting.org/
--- Packaging.txt.orig 2004-04-08 00:13:01.000000000 -0400 +++ Packaging.txt 2004-04-08 02:02:20.000000000 -0400 @@ -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,7 +101,22 @@ 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 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?