[08:49] <djszapi> I guess, if I us upstart, I do not need the /etc/init.d/cups any longer, just starting it from an upstart apps job, right ?
[10:40] <toabctl> how can i source a file (from /etc/default) in a upstart "script" section?
[14:42] <djszapi> Where can I find the debian/rules-like for ubuntu/cups ?
[14:42] <djszapi> I would like to check out how they solve this package with upstart stuff.
[17:25] <JanC> djszapi: do you have an ubuntu system?
[17:28] <JanC> on an Ubuntu system you can do "apt-get source cups"
[17:30] <JanC> if you don't have Ubuntu, the source package is available in http://archive.ubuntu.com/ubuntu/pool/main/c/cups/  (you probably want the original tarbal & the diff)
[18:09] <djszapi> hi Keybuk 
[18:09] <Keybuk> hey
[18:09] <Keybuk> how's it going?
[18:10] <djszapi> I have a small issue as usual :)
[18:10] <djszapi> about upstart and deb packaging...
[18:10] <djszapi> how about you ?
[18:10] <Keybuk> I'm good
[18:10] <djszapi> excellent =)
[18:10] <Keybuk> I'm only my first cup of coffee, and I already know why CrOS comes up with "Unaccelerated graphics" after my CL
[18:10] <Keybuk> today is going to be a good day, I can tell
[18:12] <djszapi> cool, Keybuk, I do not understand one thing about upstart
[18:13] <Keybuk> what is that one thing?
[18:14] <djszapi> we use subfolders inside the /etc/init/ directory on maemo
[18:14] <djszapi> and not just jobs inside /etc/init/ directly.
[18:14] <Keybuk> sure
[18:14] <djszapi> and debian/ubuntu developers keep telling me that it is odd
[18:14] <djszapi> no idea why
[18:15] <Keybuk> they're wrong
[18:16] <djszapi> have you ever used cdbs style for debian package creation ?
[18:17] <Keybuk> not purposefully
[18:17] <Keybuk> I've had to patch packages that use it, and that was painful enough
[18:19] <djszapi> mmh, my fresh debian-devel ml question is not online yet, but you can find it here: http://paste.kde.org/74185/
[18:26] <Keybuk> right, debhelper
[18:26] <Keybuk> dh_installinit isn't anything to do with cdbs, except that cdbs happens to use it
[18:26] <Keybuk> it's certainly a valid debhelper patch to support installing to sub-directories of /etc/init
[18:26] <Keybuk> you might have to be creative
[18:26] <Keybuk> e.g. dh_installinit --name=apps!foo
[18:27] <Keybuk> and have debian/cups.app!foo.upstart
[18:27] <djszapi> nope read again
[18:27] <djszapi> I tried to set the
[18:27] <djszapi> "--onlyscripts" option
[18:32] <djszapi> so it should not install any init script/job with that and i could make a workaround from the postinst script without changing the packaging style
[18:33] <Keybuk> you don't want that option
[18:33] <Keybuk> that still installs the scripts
[18:33] <Keybuk> you want to not run dh_installinit
[18:41] <djszapi>        -o, --onlyscripts
[18:41] <djszapi>            Only modify postinst/postrm/prerm scripts, do not actually install any init script, default files, or upstart job.  May be useful if the init script or upstart job is shipped and/or installed by upstream in a
[18:41] <djszapi>            way that doesn't make it easy to let dh_installinit find it.
[18:41] <djszapi> Keybuk ^
[18:42] <djszapi> from man dh_installinit
[18:42] <Keybuk> the doc is wrong
[18:42] <Keybuk> I think
[18:44] <djszapi> can that happen ?
[18:44] <Keybuk> can documentation be wrong?
[18:44] <Keybuk> sure
[18:45] <djszapi> well, it is worth to report it as soon as possible then.
[18:46] <Keybuk> Debian is --> that way ;-)
[18:46] <djszapi> what way ?
[18:47] <Keybuk> --> that way
[18:47] <djszapi> ??
[18:47] <Keybuk> I just mean that the appropriate place to file that report is with Debian, not here
[18:48] <djszapi> oh yeah, sure.
[18:48] <djszapi> are you also at the meego summit in San Francisco ? :D:D
[18:48] <Keybuk> I shouldn't imagine so
[18:48] <Keybuk> I don't have any vacation time left this year
[18:49] <djszapi> well, cdbs is buggy
[18:50] <djszapi> DEB_DH_INSTALLINIT_ARGS = --name=nonexistent -> I have just tried out this advice, but I still get the /etc/init.d/cups and I do not know why
[18:50] <Keybuk> no idea
[18:51] <djszapi> seems there is no way to avoid the debhelper usage.
[22:14] <SpamapS> djszapi: there's some planned work happening in Debian to make that you're struggling with a little easier.
[22:15] <SpamapS> Keybuk is probably right.. you will have to manually put your upstart job and init.d script in place until dh_installinit is modified.