/srv/irclogs.ubuntu.com/2011/09/23/#ubuntu-motu.txt

micahgScottK: right, sorry, that's true as well :)00:28
cdunlapI am not sure this is the correct forum, but I have a quick question around packaging and expectations.  Would this be an appropriate place to ask?01:45
ScottKcdunlap: It depends.  If you are working on packages for Ubuntu, it is.  If not, #ubuntu-packaging might be better.01:46
cdunlapScottK: I think this could be classified as a general packaging question01:46
ScottKI'd say ask then.01:47
cdunlapSo I have been trying to learn how to package and I have been working through the information Daniel Holbach has been putting on OMGUbuntu.01:47
cdunlapWhen I try to 'make' the file it kicks back, what look to me, as errors with one of the files.  Is the expectation that the packager would fix these errors, or would the packager work with the developer of the application?01:48
ScottK"It depends"01:49
ScottKSometimes the errors are due to packaging problems, sometimes it's an upstream issue.01:49
cdunlapis being able to tell the difference something you gain with experience or is it usually pretty evident?01:50
ScottKSometimes even if it's an upstream issue, a packager will figure out a fix and let upstream know.01:50
ScottKYes.01:50
ScottKSometimes it's pretty evident, sometimes it's stuff it takes experience to understand.01:50
cdunlapI figured some of my troubles are because I am trying to figure it out.  Thanks for the clarification.  I do appreciate it.01:51
ScottKNo problem.01:53
=== medberry is now known as med_out
=== Amaranthus is now known as Amaranth
=== Quintasan_ is now known as Quintasan
alkisgIf I have a debian/upstart file, do I need to have debian/postinst and debian/postrm too? Or dh_installinit can create them for me?06:03
RhondaIt creates them06:17
alkisgThank you, I was worried about this lintian warning: W: panoptes: script-in-etc-init.d-not-registered-via-update-rc.d /etc/init.d/panoptes06:25
Rhondahmm06:26
Rhondadpkg --info panoptes_*.deb  # does this list postrm/postinst?06:27
RhondaMaybe you do need a dummy file then which includes the #DEBHELPER# marker.06:27
alkisgIt has postinst, preinst and prerm06:28
alkisgAll autogenerated06:28
alkisgAnd inside postinst:06:28
alkisg# Automatically added by dh_installinit06:28
alkisgupdate-rc.d -f panoptes remove >/dev/null || exit $?06:28
alkisg...remove?06:29
Rhondauh?06:30
alkisgI don't know why, but it calls update-rc.d remove in postinst! ????06:30
alkisg(using gdebi-gtk to look the scripts inside the .deb)06:31
alkisgIt looks like dh_installinit only has this bug with upstart, if I put debian/init scripts instead, I get no lintian warnings and the automatically generated postinst is sane again06:42
alkisgOh well I'll just revert the scripts from upstart to sysvinit again. Thanks :)06:43
dholbachgood morning07:14
alkisgThe "update-rc.d -f package remove" part earlier may there to remove the init.d links, as the upstart job should be used instead. I see it on packages that have a manual postinst too.08:07
=== almaisan-away is now known as al-maisan
alkisgAnd for the "script-in-etc-init.d-not-registered-via-update-rc.d" warning, I found a bug in launchpad, it was fixed in later lintian versions (I'm using lucid)08:08
=== al-maisan is now known as almaisan-away
micahghi Q-FUNK, so have you sponsored bzr branches yet?08:15
Q-FUNKnot that I can remember, no.08:15
micahgQ-FUNK: oh, well, if you're interested, I'm sure someone here can help you, https://code.launchpad.net/~jbicha/ubuntu/oneiric/gjs/1.29.18/+merge/76441, it's 3AM for me so I'm a little reluctant right now08:16
Q-FUNKok08:20
=== menesis1 is now known as menesis
=== menesis1 is now known as menesis
=== kentb-out is now known as kentb
=== med_out is now known as medberry
ScottSanbarApOgEE: Howdy!13:34
ScottSanbar(whoops)13:34
alkisgWhich of those should I prefer to package a python app? http://www.debian.org/doc/packaging-manuals/python-policy/ap-packaging_tools.html13:41
alkisgIs distutils with debhelper a good choice, or should I go for CDBS?13:41
geserI'd go with debhelper13:50
alkisgDebhelper with plain distutils, right? Not dh_pysupport nor dh_pycentral... correct?13:52
tumbleweed--with python213:53
alkisgAh, thank you, /me reads about that ...13:53
alkisgCould someone suggest me a package that uses that, so that I could use it as a template?13:56
tumbleweedalkisg: so this is a simple python app. Does it also have a public python library? or is it not going to be useful for other python apps, and should be installed privatel?13:57
alkisgtumbleweed: It's separated into 2 parts. One daemon is using twisted, and a client/GUI is contacting the daemon part.13:58
alkisgNeither of them will be useful to external apps13:58
tumbleweedalkisg: ok, I don't have any packages excatly like that, but upnp-inspector is a simple python app that installs privately14:00
tumbleweedalkisg: do you install any twisted plugins? (i.e. for the daemon)14:01
alkisgThank you, I'll look into that14:01
alkisgtumbleweed: yes, but I'd prefer to run them manually instead of as plugins, if I manage to do it14:01
alkisgtwistd -f path/to/my/file.py or however else it works14:02
tumbleweedalkisg: ok, if you install a plugin, you should activate the twisted-plugins-cache trigger14:02
ScottKIf it's using twisted it'll need to use the same python helper as twisted.14:02
tumbleweedtwisted uses dh_python2 these days14:02
alkisgGood, some good news at last :)14:02
rippsI'm having some problems with a package that doesn't work anymore, can someone join me #ubuntu-packaging14:33
=== _ruben_ is now known as _ruben
=== m4n1sh_ is now known as m4n1sh
ScottSanbarUnit193:  I mean the fact that you clued me in - thanks ...20:39
ScottSanbar(whoops)20:39
=== jrib is now known as Guest75052
=== Guest75052 is now known as jrib
=== kentb is now known as kentb-out

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!