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