=== Guest62591 is now known as Mamarok | ||
=== skreech__ is now known as Daskreech | ||
markey | apachelogger: shadeslayer: meep | 04:56 |
---|---|---|
=== emma is now known as em | ||
BluesKaj | Hiyas all | 11:59 |
contrast | Greets, 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 |
contrast | appreciated. | 16:25 |
markey | shadeslayer: so these are my white toenails that we talked about at the airport: | 17:40 |
markey | http://mark.kollide.net/gallery/index.php/Manicure-and-Pedicure/12070006 | 17:40 |
=== skreech__ is now known as Daskreech | ||
Daskreech | contrast: Did you read up on debuild? | 18:48 |
contrast | Daskreech: I did. I couldn't really find anything immediately relevant to what I'm trying to do though. :\ | 18:55 |
Daskreech | What was the closest thing? | 18:55 |
claydoh | contrast: https://help.launchpad.net/Packaging/PPA/BuildingASourcePackage | 18:58 |
claydoh | that should help get your feet wet | 18:59 |
claydoh | you upload the source pkg, and launchpad builds it | 19:00 |
contrast | Daskreech: Honestly, I wasn't quite sure where to start with it. | 19:02 |
contrast | claydoh: Thanks. | 19:02 |
claydoh | contrast: I am no expert on this by far :) but it is not tooooo difficult once you learn | 19:03 |
contrast | claydoh: 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 |
claydoh | not really, once you have your /debian directory all correct, debbuild takes care of the rest | 19:09 |
* claydoh has only ever done a small amount of packaging, never simple scripts | 19:10 | |
claydoh | I suggest looking at examples from the main repos and other ppa | 19:11 |
claydoh | s | 19:11 |
Daskreech | What would be an example of a small script package? Other than kde-wallpapers? | 19:12 |
contrast | kde-service-menu-fuseiso? ... Someone pointed me to their bzr branch of gnome-zip-thumbnailer as something to work with though. | 19:15 |
claydoh | http://packages.ubuntu.com/precise/kde-service-menu-fuseiso | 19:25 |
claydoh | lookat the Ubuntu resource section, at the diff.gz -,that will give you an idea of the format needed | 19:26 |
claydoh | there 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 |
contrast | Cool, thanks claydoh. :) | 19:37 |
yofel | claydoh, 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 |
contrast | Thanks, yofel | 20:01 |
yofel | the ubuntu packaging guide and the debian new maintainers guide are usually good starting places | 20:02 |
contrast | Okay, 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 |
contrast | Nevermind. >_< | 20:35 |
contrast | Almost 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 |
BluesKaj | contrast, have you tried adding the script in startup and shudown | 21:17 |
BluesKaj | in system settings | 21:17 |
contrast | BluesKaj: 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 |
contrast | BluesKaj: http://www.debian.org/doc/manuals/debian-faq/ch-pkg_basics.en.html (secion 7.6) | 21:23 |
BluesKaj | ok , contrast just a suggestion ...never had much luck scripts and runlevels etc | 21:24 |
contrast | Thanks anyway. :-) | 21:24 |
claydoh | http://www.debian.org/doc/manuals/maint-guide/dother.en.html#maintscripts | 21:25 |
claydoh | you add the postinst file in /debian and have the scripting added there | 21:30 |
claydoh | same for postinst when the package is uninstalled | 21:31 |
* claydoh hopes he is correct | 21:33 | |
contrast | Thanks, claydoh. I'll let you know in a minute... ;) | 21:34 |
=== skreech_ is now known as Daskreech | ||
Daskreech | BluesKaj: it's a postinstall script. When you place the files somewhere then the script runs and configures them | 21:48 |
Daskreech | contrast: postunist? | 21:49 |
contrast | Daskreech: ? | 21:50 |
Daskreech | Bah that was meant for claydoh | 21:55 |
yofel | postuninst doesn't exist, that's postrm | 22:09 |
contrast | Finally got it (and yeah, you were correct, claydoh). Thanks a lot for all the help, guys. | 22:36 |
claydoh | nice :) | 22:37 |
Daskreech | yofel: bah yeah postrm I remembered it had a strangish name | 22:55 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!