/srv/irclogs.ubuntu.com/2012/07/08/#kubuntu-devel.txt

=== Guest62591 is now known as Mamarok
=== skreech__ is now known as Daskreech
markeyapachelogger: shadeslayer: meep04:56
=== emma is now known as em
BluesKajHiyas all11:59
contrastGreets, everyone... Any packaging experts around? I used this guide - http://tldp.org/HOWTO/html_single/Debian-Binary-Package-Building-HOWTO/ - to make a bunch of packages (mainly for scripts, themes and whatnot) and I've been trying to figure out how to upload them to a PPA. I'm assuming I need to use debuild to generate the necessary .changes files from the .debs I already have, but I've been unable to figure out how. Any help would be much 16:25
contrastappreciated.16:25
markeyshadeslayer: so these are my white toenails that we talked about at the airport:17:40
markeyhttp://mark.kollide.net/gallery/index.php/Manicure-and-Pedicure/1207000617:40
=== skreech__ is now known as Daskreech
Daskreechcontrast: Did you read up on debuild?18:48
contrastDaskreech: I did. I couldn't really find anything immediately relevant to what I'm trying to do though. :\18:55
DaskreechWhat was the closest thing?18:55
claydohcontrast: https://help.launchpad.net/Packaging/PPA/BuildingASourcePackage18:58
claydohthat should help get your feet wet18:59
claydohyou upload the source pkg, and launchpad builds it19:00
contrastDaskreech: Honestly, I wasn't quite sure where to start with it.19:02
contrastclaydoh: Thanks.19:02
claydohcontrast: I am no expert on this by far :) but it is not tooooo difficult once you learn19:03
contrastclaydoh: Yeah... I think the reason I'm having so much trouble is that first guide I linked to made it stupid-simple to make a Lintian-clean package (given nothing needs to be compiled). It just seems like there's a lot more work that goes into creating the .changes file/source package needed to put the package into a PPA.19:08
claydohnot really, once you have your /debian directory all correct, debbuild takes care of the rest19:09
* claydoh has only ever done a small amount of packaging, never simple scripts19:10
claydohI suggest looking at examples from the main repos and other ppa19:11
claydohs19:11
DaskreechWhat would be an example of a small script package? Other than kde-wallpapers?19:12
contrastkde-service-menu-fuseiso? ... Someone pointed me to their bzr branch of gnome-zip-thumbnailer as something to work with though.19:15
claydohhttp://packages.ubuntu.com/precise/kde-service-menu-fuseiso19:25
claydohlookat the Ubuntu resource section, at the diff.gz -,that will give you an idea of the format needed19:26
claydohthere are tools that help create the debian directory contents and structure. but I am not completely familiar with them, perhaps a ninja will help you (and refresh my memory as well :) )19:29
contrastCool, thanks claydoh. :)19:37
yofelclaydoh, contrast: generally you can use dh_make to create the initial debian/ structrue. You can then modify the files as needed and remove any .ex files that you don't need (for such a simple package probably all)20:00
contrastThanks, yofel20:01
yofelthe ubuntu packaging guide and the debian new maintainers guide are usually good starting places20:02
contrastOkay, so debuild completed fine and built a .deb for all architectures (as expected), but it only generated a .changes file for i386. dput'ing that changes file to my PPA will presumably result in just an i386 .deb being built there, right? -_~20:10
contrastNevermind. >_<20:35
contrastAlmost there... But for some reason, my preinst script isn't running (even though it's getting included in the .deb). http://paste.ubuntu.com/1081811/ Any ideas?21:03
BluesKajcontrast, have you tried adding the script in startup and shudown 21:17
BluesKajin system settings21:17
contrastBluesKaj: Umm, no. It's the maintainer script that's supposed to run when the package gets installed (prior to the package's contents being unpacked).21:22
contrastBluesKaj: http://www.debian.org/doc/manuals/debian-faq/ch-pkg_basics.en.html (secion 7.6)21:23
BluesKajok , contrast just a suggestion ...never had much luck scripts and runlevels etc21:24
contrastThanks anyway. :-)21:24
claydohhttp://www.debian.org/doc/manuals/maint-guide/dother.en.html#maintscripts21:25
claydohyou add the postinst file in /debian and have the scripting added there21:30
claydohsame for postinst when the package is uninstalled21:31
* claydoh hopes he is correct21:33
contrastThanks, claydoh. I'll let you know in a minute... ;)21:34
=== skreech_ is now known as Daskreech
DaskreechBluesKaj: it's a postinstall script. When you place the files somewhere then the script runs and configures them21:48
Daskreechcontrast: postunist?21:49
contrastDaskreech: ?21:50
DaskreechBah that was meant for claydoh21:55
yofelpostuninst doesn't exist, that's postrm22:09
contrastFinally got it (and yeah, you were correct, claydoh). Thanks a lot for all the help, guys.22:36
claydohnice :)22:37
Daskreechyofel: bah yeah postrm I remembered it had a strangish name22:55

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