/srv/irclogs.ubuntu.com/2009/05/11/#ubuntu-classroom.txt

=== _thumper_ is now known as thumper
=== imperius1 is now known as imperius1_away
=== Israphel_ is now known as Israphel
=== t1 is now known as tomer
=== mimir|zZz is now known as mimir|on
=== rgreening_ is now known as rgreening
=== jarlen_ is now known as jarlen
G__81hi everyone16:08
G__81pleia2, did you have a chance to look at my mail ?16:09
=== mimir|on is now known as mimir|afk
G__81anyone here ?17:19
G__81hi pleia2,17:19
jdbrowneHello, I would like to distribute a script and some data files to my colleagues (we already have a deb repository). It seems the best solution is cdbs with its makefile class and I write a simple makefile with "clean", "all", "check", "install". Does it sound fine?17:46
maxbI would say using cdbs in that case would be extreme overcomplexity17:50
maxbI would use plain debhelper17:50
pleia2G__81: sorry, am at work at the moment, catch up later?17:56
jdbrownemaxb: ok, the docs all seems daunting for a simple script.18:03
maxbTrust me cdbs is even more daunting18:03
jdbrowneI trust you, I am reading https://help.ubuntu.com/6.10/ubuntu/packagingguide/C/basic-debhelper.html18:04
kklimonda6.10? :)18:05
jdbrowneThe requested URL /9.04/ubuntu/packagingguide/C/basic-debhelper.html was not found on this server.18:06
jdbrowneI tried18:06
kklimondait's a bit outdated but i think it should cover basics just fine..18:07
jdbrowneMMmh, "apt-get source hello-debhelper" can't find a source package18:08
G__81pleia2, yeah sure18:08
maxbjdbrowne: Are you aware of dh-make?18:08
maxbIt generates you a template debhelper packaging18:08
jdbrowneI used dh-make at some point following the debian maintainer guide but it was heavily oriented toward source package that I thought it was not the right tool for a script18:11
maxbThe only difference is that instead of ./configure and make, you're just directly installing files that are shipped in the package18:14
jdbrowneso I just need an install target in a makefile?18:14
maxbYou don't even need a makefile18:17
maxbYou can just write commands that install your files directly in the debian/rules file, if the package is that simple18:17
jdbrowneI thought the "rules" files was meant to create a package not install the file in the location I need them to be.18:19
jdbrowneI am back at reading https://wiki.ubuntu.com/PackagingGuide/Complete#rules and it is clearer now18:19
jdbrowneI am going to edit the "rules" file that was created by dh_make and customize it.18:21
jdbrowneWhat is the convention over the target which ends with '-stamp' like build-stamp and configure-stamp?18:27
jdbrowneok, I get it makes phony targets not phony anymore18:30
=== micahg1 is now known as micahg
jdbrownewhat does dpkg-buildpackage do with the "install" target of the debian/rules file? My guess is that it does not execute this target because it is not dpkg-buildpackage's role to install th script.18:42
kklimondajdbrowne: it installs package in temp directory (by default debian/tmp/ afair)18:46
jdbrownemaxb: the way the debhelper has written the debian/rules, I think it expects a makefile, and I think it expects a makefile which knows about the DESTDIR directory18:47
maxbyes18:47
maxbBut nothing says you have to leave it that way18:47
jdbrownethis is tricky, actually, you do execute the upstream makefile but you succeed to fake the makefile only if you know how to ask the upstream makefile to change the installation directory... well anyway, I think I begin to get it. Where are all those convention about DESTDIR and such specified? in the Debian Policy?18:49
maxbWhy do you even have a Makefile? I thought you said you just had a bunch of scripts?18:50
jdbrowneeither I rewrite the debian/rules, or i re-use the debian/rules to the maximum without touching it and write an upstream makefile. At some point, I will apply my newly packaging skills to source package too. I guess it make sense making the debian/rules look alike18:52
maxbhttp://jabberwock.vm.bytemark.co.uk/~maxb/example-package-1/18:53
maxb^ There is a truly trivial example package for you which simply installs a /usr/bin/myscript which says "Hello world!"18:54
jdbrownethis is precious thank you18:54
pace_t_zuluhi guys... i am trying to create a debdiff to provide to patch launchpad bug #30100719:16
pace_t_zuluI have modified the source19:17
pace_t_zului ran 'dch -i'19:17
pace_t_zuluto update the changelog19:17
pace_t_zului am following this guide: https://wiki.ubuntu.com/PackagingGuide/Recipes/Debdiff19:17
pace_t_zuluthe current version of the package is ubuntu3 ... i have been able to create the ubuntu4.dsc from which the debdiff will be created19:18
pace_t_zulucan someone help me with this?19:18
maxbso..... now just run debdiff19:19
pace_t_zulumaxb: i do not have the ubuntu4.dsc from which i need to do it19:19
maxbYou just said "i have been able to create the ubuntu4.dsc"19:20
pace_t_zulumaxb: apologies.. i was unable19:21
maxbThis channel really isn't the right one, please transfer to #ubuntu-motu for packaging assistance, thanks!19:22
pace_t_zulumaxb: thank you19:23
=== mimir|afk is now known as mimir|om
=== k00011 is now known as k0001
=== santiago-pgsql is now known as santiago-ve
=== mimir|om is now known as mimir|on
=== mimir|on is now known as mimir|zZz

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