=== _thumper_ is now known as thumper === imperius1 is now known as imperius1_away === Israphel_ is now known as Israphel === t1 is now known as tomer === mimir|zZz is now known as mimir|on === rgreening_ is now known as rgreening === jarlen_ is now known as jarlen [16:08] hi everyone [16:09] pleia2, did you have a chance to look at my mail ? === mimir|on is now known as mimir|afk [17:19] anyone here ? [17:19] hi pleia2, [17:46] Hello, I would like to distribute a script and some data files to my colleagues (we already have a deb repository). It seems the best solution is cdbs with its makefile class and I write a simple makefile with "clean", "all", "check", "install". Does it sound fine? [17:50] I would say using cdbs in that case would be extreme overcomplexity [17:50] I would use plain debhelper [17:56] G__81: sorry, am at work at the moment, catch up later? [18:03] maxb: ok, the docs all seems daunting for a simple script. [18:03] Trust me cdbs is even more daunting [18:04] I trust you, I am reading https://help.ubuntu.com/6.10/ubuntu/packagingguide/C/basic-debhelper.html [18:05] 6.10? :) [18:06] The requested URL /9.04/ubuntu/packagingguide/C/basic-debhelper.html was not found on this server. [18:06] I tried [18:07] it's a bit outdated but i think it should cover basics just fine.. [18:08] MMmh, "apt-get source hello-debhelper" can't find a source package [18:08] pleia2, yeah sure [18:08] jdbrowne: Are you aware of dh-make? [18:08] It generates you a template debhelper packaging [18:11] I used dh-make at some point following the debian maintainer guide but it was heavily oriented toward source package that I thought it was not the right tool for a script [18:14] The only difference is that instead of ./configure and make, you're just directly installing files that are shipped in the package [18:14] so I just need an install target in a makefile? [18:17] You don't even need a makefile [18:17] You can just write commands that install your files directly in the debian/rules file, if the package is that simple [18:19] I thought the "rules" files was meant to create a package not install the file in the location I need them to be. [18:19] I am back at reading https://wiki.ubuntu.com/PackagingGuide/Complete#rules and it is clearer now [18:21] I am going to edit the "rules" file that was created by dh_make and customize it. [18:27] What is the convention over the target which ends with '-stamp' like build-stamp and configure-stamp? [18:30] ok, I get it makes phony targets not phony anymore === micahg1 is now known as micahg [18:42] what does dpkg-buildpackage do with the "install" target of the debian/rules file? My guess is that it does not execute this target because it is not dpkg-buildpackage's role to install th script. [18:46] jdbrowne: it installs package in temp directory (by default debian/tmp/ afair) [18:47] maxb: the way the debhelper has written the debian/rules, I think it expects a makefile, and I think it expects a makefile which knows about the DESTDIR directory [18:47] yes [18:47] But nothing says you have to leave it that way [18:49] this is tricky, actually, you do execute the upstream makefile but you succeed to fake the makefile only if you know how to ask the upstream makefile to change the installation directory... well anyway, I think I begin to get it. Where are all those convention about DESTDIR and such specified? in the Debian Policy? [18:50] Why do you even have a Makefile? I thought you said you just had a bunch of scripts? [18:52] either I rewrite the debian/rules, or i re-use the debian/rules to the maximum without touching it and write an upstream makefile. At some point, I will apply my newly packaging skills to source package too. I guess it make sense making the debian/rules look alike [18:53] http://jabberwock.vm.bytemark.co.uk/~maxb/example-package-1/ [18:54] ^ There is a truly trivial example package for you which simply installs a /usr/bin/myscript which says "Hello world!" [18:54] this is precious thank you [19:16] hi guys... i am trying to create a debdiff to provide to patch launchpad bug #301007 [19:17] I have modified the source [19:17] i ran 'dch -i' [19:17] to update the changelog [19:17] i am following this guide: https://wiki.ubuntu.com/PackagingGuide/Recipes/Debdiff [19:18] the current version of the package is ubuntu3 ... i have been able to create the ubuntu4.dsc from which the debdiff will be created [19:18] can someone help me with this? [19:19] so..... now just run debdiff [19:19] maxb: i do not have the ubuntu4.dsc from which i need to do it [19:20] You just said "i have been able to create the ubuntu4.dsc" [19:21] maxb: apologies.. i was unable [19:22] This channel really isn't the right one, please transfer to #ubuntu-motu for packaging assistance, thanks! [19:23] maxb: thank you === mimir|afk is now known as mimir|om === k00011 is now known as k0001 === santiago-pgsql is now known as santiago-ve === mimir|om is now known as mimir|on === mimir|on is now known as mimir|zZz