/srv/irclogs.ubuntu.com/2008/08/30/#ubuntu-motu.txt

ScottKsistpoty: Go for it if you haven't already.00:02
sistpotyScottK: ok, though I'm a little bit drunk right now, and am fiddling with the upstream version number name00:03
ScottKMaybe tomorrow then.00:03
sistpotyScottK: in case you'd like to jump in I'd be more than happy00:03
ScottKSorry, I've got kids to deal with tonight.00:03
sistpotysure... then I hope to get it sorted out asap00:04
sistpotyScottK: any objections against 1.3.0~RC1is1.2.0-2ubuntu2 ?00:05
=== Kopfgeldjaeger is now known as Kopfi|offline
ScottKsistpoty: Normally we put the really bit in there, but if you prefer that, I don't object.00:05
sistpotyScottK: as in 1.3.0~RC1isreally1.2.0-2ubuntu2 ? or s.th else?00:06
ScottKWithout the is00:07
ScottK1.3.0~RC1really1.2.0-2ubuntu200:07
ScottKGotta run.00:07
sistpotyScottK: hm... ok, sure... (just wondered if svn would sort later... then recalled the alphabet *g*)00:08
sistpotycya ScottK00:08
ScottKGood point, but they use Git anyway I think.00:08
sistpotyScottK: uploaded :)00:20
sistpotyand now, I'll got to bed.. gn8 everyone00:20
lukehasnonameCould someone link me or tell me the process of getting a package into hardy-updates?00:23
directhexupdates?00:23
directhexwhat's your reasoning? why does it need to go into -updates ?00:24
Adri2000lukehasnoname: https://wiki.ubuntu.com/StableReleaseUpdates00:24
lukehasnonameJust a higher version, bug fixes, nothing too critical on one package. Is Hardy's procedure different than non-LTS, or is it the same?00:26
ricardoopencv-dev depends opencvaux-dev. But opencvaux-dev depends opencv-dev. I'm using Ubuntu Gutsy, how solve this?00:27
directhexlukehasnoname, the newer version is in intrepid?00:29
lukehasnonameboth cases, yes00:30
Adri2000lukehasnoname: the sru procedure is the same for all stable releases00:31
lukehasnonameAdri2000: k00:32
directhexricardo, libcv and libcvaux?00:33
Adri2000ricardo: it seems these packages have different names now, as directhex is saying. anyway, please file a bug if there isn't already one00:33
ricardoyes, i have the medibuntu00:34
ricardoi think it have a problem with ffmeg00:34
lukehasnonamedirecthex: So, what if the package is in Ibex?00:35
Adri2000ricardo: those packages are not from medibuntu00:35
Adri2000ricardo: if you have a question about medibuntu though, #medibuntu would be a better place00:35
Adri2000lukehasnoname: intrepid, not ibex ;)00:36
lukehasnonameAdri2000: I know, but Ibex is quicker to type. My hands literally get tired, I know that's lazy00:37
lukehasnonameif only the tab key could predict my sentences00:37
ricardocan I paste a large text from apt-get here?00:41
directhexno. use a pastebin.00:42
directhexand use aptitude, too00:42
ricardoFollowing the error from libopencv-dev to libavformat-dev http://pastebin.com/m5fa2f98600:48
=== nxvl_ is now known as nxvl
apacheloggeris there a convenient way to file a FFE bug for a whole bunch of packages?01:13
NCommandergeser, were you able to get my debdiff to apply?02:12
NCommanderHey emgent, you around?06:20
IulianGood morning.09:09
didrockshi09:24
didrocksin case of a change in a debian package. I changed the Maintainer field. Do I have to keep or delete the "Uploaders" one?09:25
persiadidrocks: Best to just leave it alone.  Soyuz doesn't process that field.09:27
didrockspersia: ok, noticed. Thanks a lot :)09:27
didrocksthe uploader in the change field is just taken from the changelog, I assume09:28
IulianIf he adopted a package in Debian I think it's up to him, but not sure.09:28
Iuliandidrocks: They are the co-maintainers of the package.09:28
didrocksIulian: I read that yesterday (going through the debian policy) :) But the .changes file has a "Changed-By:" field and I was mixing it with Uploader in the control file. Thanks ;)09:30
geserNCommander: I didn't try anymore, I'll try again later09:30
NCommanderMy other debdiff appied without issue so I'm not sure whats going on, I can just post the regular diff if needed09:31
Iuliandidrocks: You might want to talk to the guys listed in the Uploaders field and ask if they still want to co-maintain the package.09:32
geserNCommander: I don't understand it either, I usually don't have problems with debdiffs09:33
NCommanderYeah, very strange09:33
NCommanderI'm running through the FTBFS logs09:33
NCommanderAnd requesting retries on ones which are either obvious transient failures, or misidentified dep-waits09:33
didrocksIulian: sure, I will. (as merging from its package reintroduced a NBS in Ubuntu)09:34
Iuliandidrocks: But if a package was orphaned and no one from the Uploaders field adopted it, I'm sure that they don't want to.09:34
NCommanderSo with a little luck I can cut the FTBFS down to main on amd64/i386 to zero09:34
NCommander(there is still one major one left that needs fixing via the P-a-s file)09:35
Iuliandidrocks: Btw, which package you adopted?09:35
didrocksIulian: libwoodstox-java09:37
didrocksI am working in this bug: https://bugs.launchpad.net/ubuntu/+source/azureus/+bug/20363609:37
ubottuLaunchpad bug 203636 in libwoodstox-java "replace icedtea-java7 references with openjdk-6 references" [Undecided,In progress]09:37
didrocksI was just, after having uploaded my 3 previous debdiff thinking of removing the NBS09:37
didrocksand this package appeared after a sync…09:37
didrocksI think I can use a -headless for this one09:42
lagacan someone please review mythtv-theme-metallurgy-wide on REVU? it's an artwork package which is supposed to go in for intrepid. thanks :) http://revu.ubuntuwire.com/details.py?package=mythtv-theme-metallurgy-wide09:52
jpdsRainCT: I didn't touch that.09:53
bobboWhat is the correct way to name a version taken from a bzr repo?10:31
RainCTbobbo: considering that the last released version is 0.1 and the next one will be 0.2, either 0.1+bzrXX or 0.2~bzrXX, where XX can be either the revision, the date you checked it out or the last modification date10:38
bobboRainCT: ok, thanks :)10:39
psycosehi11:15
psycosei've create a debian source libfoo that provide 3 debian packages, libfoo0, libfoo0-bin and libfoo0-dev, i've added export LD_LIBRARY_PATH := debian/libgnatgpr0/usr/lib:$(LD_LIBRARY_PATH) to the debian/rules so that the created shared library can be seen by the binary. The debuild work on my system but not on the launchpad PPA builder system, any tips ? thanks11:16
taconepsycose: pdebuild works ?11:31
=== Kopfi|offline is now known as Kopfgeldjaeger
psycosetacone: sorry i'm not using pdebuildon my system11:39
taconepsycose: pbuilder should have an option to reproduce the building machines environment. you may want to try it.11:41
psycosetacone ok thanks,11:42
psycosebut could you state if it Ok to modify the LD_LIBRARY_PATH for this kind of purpose ?11:43
psycoseinthe debian/rules ...11:43
taconesadly that's out of the scope of my knowledge.11:43
psycoseok thanks11:45
NCommanderRainCT, you around?12:05
NCommanderor any MOTU who is willing to reset some build records?12:05
apacheloggerNCommander: reset?12:07
NCommanderaka retry a build12:07
apacheloggerNCommander: which package(s)?12:08
NCommanderalsa-tools (amd64|ia64), courier, all architectures12:08
NCommanderBoth are misidentified dep-waits12:08
NCommanderI have a few more, I'm pruning the build lists12:08
NCommanderI'm trying to get them down to legit build failures only12:08
NCommanderapachelogger, dovecot also12:09
NCommanderer wait, thats a main package12:09
apacheloggerhehe12:09
NCommanderapachelogger, I assume your not a core-dev, right?12:11
NCommanderkrusader - all failed archs12:12
apacheloggerunfortunately not12:12
RainCTNCommander: not yet, but in a few days perhaps he is :)12:12
NCommanderkio-bookmarks12:12
RainCT(s/is/will be/ even)12:12
apacheloggerkio-bookmarks is getting an update soon, in case FFe gets granted12:13
NCommanderapachelogger, semantik12:13
NCommanderWell, it doesn't hurt to retry the build anyway12:14
apachelogger*nod*12:14
NCommandermy goal is less than 20 FTBFS in universe12:14
NCommander(I'd like to extend that to multiverse too given enough time)12:14
NCommandertouchfreeze - amd64 only12:15
RainCTapachelogger: for the case you don't know, there's a script (buildd) in u-d-t which you can use to do that12:15
NCommanderRainCT, I have a patch in the universe sponsors queue to clear an FTBFS12:16
apacheloggerRainCT: I certainly would have writen one right now if I didn't know ;-)12:16
NCommanderCare to sponsor it?12:16
directhexNCommander, if in doubt, for amd64 failures, add -fPIC!12:16
NCommanderdirecthex, it was a mis-identified dep-wait12:17
NCommanderapachelogger, add uqm to the list12:17
NCommanderThat should clear 8 packages from the failure status12:17
RainCTNCommander: URL?12:17
NCommanderRainCT, http://qa.ubuntuwire.com/ftbfs/index.html12:18
NCommanderThat's the general failure list12:18
NCommanderI'm looking at the build logs which are ones misidentified12:18
NCommanderas failures12:18
RainCTNCommander: I mean the patch :P12:19
NCommanderoh, the bug that needs sponsoring12:19
NCommanderI just realized ;-)12:19
NCommanderRainCT, https://bugs.edge.launchpad.net/ubuntu/+source/alsaplayer/+bug/26258112:20
ubottuLaunchpad bug 262581 in alsaplayer "FTBFS fix for alsaplayer" [Undecided,New]12:20
* NCommander wishs he could do more than FTBFS fixing :-/12:21
* RainCT whishes he was able to do FTBFS fixing ;P12:22
NCommanderDon't know C, RainCT ?12:23
RainCTno, only a little bit12:23
NCommanderMost FTBFS are pretty straightforward12:24
NCommanderIt's always watching that little counter go down12:24
* NCommander should run the FTBFS generating scripts here12:24
RainCTNCommander: re alsaplayer, you haven't done the Maintainer change (don't worry now, I'll do that myself now. but the next time I want to see it! ;))12:25
NCommanderWhoops12:25
NCommanderArgh12:25
NCommanderIts been awhile since I've been doing these12:25
NCommanderI still need a main dev to reset build records12:26
RainCTNCommander: and the patch doesn't apply -.-12:27
NCommanderargh12:27
NCommanderI've NEVER had that issue with any other debdiff12:27
NCommanderBugger12:28
NCommanderI rerolled it twince12:28
NCommander*twice12:28
NCommanderHold on12:28
NCommanderthe original source package must be unclean12:28
NCommanderOh, I'm awesome12:28
NCommanderI deleted it12:28
NCommanderHold on, rerolling new patch12:28
NCommander*sigh*12:33
NCommanderI can't get a clean patch without modifying the rules12:33
siretartyay for broken clean targets12:41
NCommanderShould I fix it, or manually rip it out of the debdiff ;-)12:49
RainCTNCommander: fix it :)12:50
NCommanderstupid question12:51
NCommanderWhat's the preprocessor symbol that GCC defines if compiling on Linux?12:51
quentusrexHow do I create a package if the only thing the package is suppose to do is copy a file to a specific folder? That's it. Just copy the file to the folder... No source code...13:00
lifelesssame way as any other package13:02
quentusrexHow?13:02
quentusrexmost of the examples I see are for compiling source code into a binary package.13:03
quentusrexI'm trying to do the equivilent of creating a package that has a bunch of desktop wallpapers.13:03
quentusrexSo all I need to do is copy them into the right folder...13:03
quentusrexlifeless?13:06
lifelessquentusrex: just make the steps for compiling etc do nothing13:08
quentusrexI realize I'm over thinking this, but how do I do that?13:10
lifelesshave you done any other packages?13:11
quentusrexnope. this will be the first package I've built13:12
lifelessthen I suggest following a tutorial about this13:14
NCommanderRainCT, I rolled a new patch which is better than before. It's now lintian clean!13:15
quentusrexlifeless, do you have a link to a tutorial?13:18
RainCTNCommander: there is unnecessary stuff in the debdiff :P (config.guess changes)13:18
NCommanderUgh13:18
NCommandercrud, I fixed that13:19
RainCT(no need to reupload for that)13:19
NCommander*sigh*13:19
NCommanderSo the clean rule is still a little dirty13:19
* RainCT -> lunch, will look at it after that13:19
lifelessquentusrex: there are several, start with the MOTU documentation on wiki.ubuntu.com13:20
quentusrexlifeless, can you point me to a section that will basically 'automajically' work? or describe the basics of how my package will work?13:24
lifelessquentusrex: you don't know how to package <anything> yet; you've got a bunch of reading to do13:25
lifelessquentusrex: sorry, but thats the fact of the matter13:25
quentusrex:( ok....13:25
quentusrexI see a bunch of tutorials that replace the make command with dh_make13:26
quentusrexbut that doesn't help me...13:26
NCommanderRainCT, was it your changes or mine that broke things like uploads with ~ in the version?13:27
quentusrexthere isn't a make command for my package, and I don't want to make one if I don't have to.13:27
NCommander(I'm guessing yours since it looks mako related)13:27
lifelessquentusrex: I don't think you've actually read those tutorials; or you'd not be saying what you just did :)13:28
quentusrexwell, I see the parts where it has preinst scripts, and postinst, and prerm, etc. But I don't see how to bundle the whole folder into the package if I don't have a compiled executable....13:30
quentusrexAnd would a bunch of pictures be considered a library package? or a multiple binary?13:31
geserquentusrex: neither, just a normal package13:31
lifelessquentusrex: this is what I mean when I say you need to learn : you have lots of questions and they all stem from not understanding what binary packages _do_13:32
quentusrexbecause the packaging guide says to use dh_make to generate a lot of the apt info "Now we need to create the customary debian directory where all the packaging information is stored, allowing us to separate the packaging files from the application source files. We will let dh_make do the work for us: "13:32
geseryou just need to replace the "make install" step with the needed calls to "cp" to place the wallpapers into the location from where the deb gets build at the end13:32
lifelessquentusrex: read, read and read - spend, 2-3 hours reading packaging tutorial, debian packaging guides etc13:32
quentusrexI usually learn better when I get do something the quick and dirty way that I don't understand at all, then I redo it many times while reading through documentation....13:33
lifelesssure13:35
lifelessso the quick and dirty way, give your thing a 'normal' makef ile, follow a tutorial based around that,a nd fiddle :P13:35
=== asac_ is now known as asac
NCommanderRainCT, how goes my patch?13:43
RainCT_NCommander: now there are typos in debian/changelog ^^13:46
NCommanderHrm13:47
* RainCT_ has a degree in being evil *g*13:47
NCommanderWell13:47
NCommanderYeah13:47
NCommanderCare to fix it, or do I need to reroll :-/13:47
RainCT_NCommander: but it applies cleanly now13:47
NCommanderThat's an improvement13:47
persiaquentusrex: There was a lesson about that sort of thing, which might help you, but it's very quick, and may not cover everything you need to know.13:47
quentusrexwhere was it persia ?13:48
persiaquentusrex: See, that's the thing I don't remember :)13:48
quentusrex:(13:48
RainCT_NCommander: xlibmesa-gl-dev -> libgl1-mesa-dev   is that the only dependency change?13:49
persiaI thought someone put it on the wiki...13:49
NCommanderRainCT, I fixed a versioning issue. the 1.1.4 was a 1.1.4-113:49
NCommanderWhich made lintian bug out13:49
quentusrexSo, to build a package do I have to have a make file?13:52
RainCT_NCommander: OK, note the exact changes in the changelog the next time. I'm test-building it now..13:54
NCommandercan someone give back courier?13:54
* RainCT_ is on it13:57
RainCT_NCommander: (please forward the alsaplayer fixes to Debian)13:58
NCommanderRainCT, they didn't have an FTBFS13:58
NCommanderhowever, if you post the revised debdiff, I shall do so13:58
RainCT_NCommander: I've only changed the changelog14:00
NCommanderI'm not sure what changes to send, there isn't a FTBFS in Debian :-/14:01
quentusrexAlright. I'll try a different approach for learning how to build my packages. What general steps would I take? My goal is to have a package that copies images into the correct folder so they can easily be selected for desktop wallpapers. My start point is only the images. What do I do next?14:02
persiaquentusrex: I'm sorry.  It doesn't appear that anyone wrote up the class.  It was in #ubuntu-classroom sometime in July, so you might look at the logs, but that may take a while.14:03
persiaquentusrex: Follow the regular packaging guide.  For all the sections that build stuff, ignore them.  In the install section, install your images.14:04
RainCT_NCommander: If they don't have the problem because they have a different compiler version or something then I guess it still makes sense to send it. If it doesn't affect them at all then feel free to ignore my request.14:05
NCommanderRainCT_, Every time I've tried to send changes due to glibc breakage, my patches have been rejected14:05
RainCT_NCommander: changelog http://paste.ubuntu.com/41859/14:05
NCommanderI stopped doing it after the ninth or tenth rejection14:05
persiaYeah, glibc breakage is one of the ways that Ubuntu differs from Debian.  Those patches typically aren't so useful.14:07
persiaFor more clarity, contact those individuals commonly responsible for both glibc packages.14:07
NCommanderCan someone please give-back ardour? It looks like a transient failure but I'm not sure14:13
geserNCommander: did you test-build it?14:14
NCommanderDownloading build-deps14:14
quentusrexalright, after reading and asking questions I think I'm on the right track. my goal is to have a package that will copy a group of wallpapers(that are included in the package) into the proper folder. My start point is a folder with a bunch of wallpapers. Step #1 run dh_make. This will generate the debian folder, and the basic files inside it. #2. cd debian, rm *.ex *.EX #3 edit changelog #4 edit control file(nothing much i14:17
quentusrexn here just developer info) #5 edit rules file(this is the file where all my action steps are located) Somewhere in the rules file I need to add the command "cp ./*.jpg /destination/folder"  #6 run debuild  Is this correct?14:17
persiaardour is not a transient failure.14:18
persiaIt works fine in any local build anyone has tried.14:18
azeemquentusrex: yes14:18
persiaIt still doesn't work in PPA rebuilding for amd64 (although the last adustment worked for i386 and lpia).  It's being actively tracked, so no point pressing the button.14:18
quentusrexawesome.14:18
azeemquentusrex: you need to realize what /destination/folder is and what target is the most appropriate one14:19
quentusrexazeem, do you know how I would put my 'cp' command into rules? is there a special way? or do I just comment out the whole file except my command? Also, how do I reference the location of my files? ./*.jpg?14:19
persiaNCommander: If you want to investigate, it's something odd about scons and the buildds.  You'll want to extract a buildd chroot from librarian (no I don't know the link), and be sure to run the build in parallel mode.14:19
NCommanderYou can get buildd chroots?14:20
azeemquentusrex: some of the targets are mandatory14:21
NCommanderI'll run that one down after I finish netatalk14:21
persiaYes, but it's a large download, and the URLs aren't very obvious.14:21
azeemquentusrex: I suggest you look at some other artwork-providing packages to see how they do it14:21
quentusrexazeem, what targets?14:21
NCommanderlibrarian won't happent o have a search link, would it?14:21
NCommanderShoot14:22
NCommanderFound the issue14:22
azeemquentusrex: Makefile targets, they have a name and a colon after them14:22
NCommanderThis needs a sync14:22
quentusrexoh, ok14:23
quentusrexBut if I left the makefile targets alone and just commented out everything else it'd be fine?14:24
persiaNCommander: What needs a sync?14:24
NCommandern/m14:25
NCommanderWrong about the sync14:25
azeemquentusrex: maybe, some of the dh_ calls towards the end are required to actually get a .deb package out of the building process14:25
NCommanderI figured out that its a configure test can't handle libdb when multiple versions are installed14:25
crevetteHello14:26
crevettedoes Feature Freeze applies on universe packages ?14:27
NCommandercrevette, yes14:27
crevetteokay14:28
NCommanderpersia, any hints on how I can find the proper chroot?14:28
persiaNCommander: No idea.  I've only gotten them when I've been given the URL.14:29
NCommanderwho gave it to you?14:29
* NCommander didn't even know the chroots were in librarian 14:30
persiaNCommander: I don't remember.  It was in the channel logs, but the last one I had was gutsy, so even if I dug up the link, it would be sure to be out of date (unless you want to do build testing against gutsy)14:34
NCommanderWell, now that I know they exist, I can work on running them down14:34
RainCT_NCommander: uploaded14:38
NCommanderyay14:39
NCommanderAnother FTBFS bites the dust14:39
NCommanderIf I can clear these scons ones, we'd be in business14:39
NCommanderpersia, it looks like scons gets stuck in an infinite loop or something and then the inactivity feature of sbuild kills it14:41
persiaNCommander: Sometimes.  Sometimes we get other scons confusion.  There's several sources of annoyance involving scons.  I'd like to drop it from the archives, but some upstreams seem to like it for some reason.14:42
NCommanderIt's written in python14:42
NCommanderThat's what blows my mind14:42
* wgrant stabs people who mark bugs Fix Committed when they upload things to their PPA.14:42
NCommanderHow the heck do you get a randomly failing builds just because the build system is a python script14:43
* NCommander is just happy KDE went with CMake over scons)14:43
lifelessnothing to do with python14:43
lifelesseverything to do with scons14:43
azeemupgrade to scons-1.014:43
NCommanderWell, its more that python makes it VERY hard to shoot yourself in the foot14:43
persiascons is special in an implementation independent manner14:43
NCommanderpersia, I've used it before, I didn't like it so I switched to cmake14:44
lifelessNCommander: its dead easy to shoot yourself in the foot in python14:44
NCommanderWhat's the big issue with it anyway?14:44
azeem<stew> cmake is the one people switch to after they realize that scons didn't improve their situation and before they switch back to autotools, right?14:44
NCommanderActually cmake now I find better than autotools14:44
NCommanderEspecially w.r.t. to cross-compiling14:44
persiaazeem: Yes.14:45
=== Pici`__ is now known as Pici
NCommanderazeem, so your saying autotools is better than cmake?14:46
NCommanderRainCT, care to sponsor another upload?14:47
azeemNCommander: <foo> bar at the beginning of a line in irc marks a quotation14:47
NCommanderI realize that, but I figure if your repeating it, you agree14:47
RainCT_NCommander: perhaps tomorrow :P14:51
NCommanderah well14:51
NCommanderI'm just happy getting these fixes committed14:51
NCommanderWatching the FTBFS count makes me happy14:52
NCommander^go down14:54
=== bddebian2 is now known as bddebian
quentusrexWhen I build a package that is just images copied to a folder, do I need an .orig.tar.gz file?15:01
quentusrex?15:03
geserquentusrex: yes, where else would the images come from during package building?15:05
quentusrexoh, ok. so I have to put all the images into the orig file. awesome.15:05
RainCT_quentusrex: yes, unless you want a native packages.15:07
quentusrexhttps://wiki.ubuntu.com/PackagingGuide/Complete#Building%20the%20Package it says to use the command debuild to build the package. I can't find that command, nor can I find the package it's in.15:15
slytherin[OT]: Does anyone know what this error mean- initialization discards qualifiers from pointer target type15:19
* verwilst is an ubuntero!15:20
verwilst;)15:20
staniquentusrex: apt-cache search debuild15:21
slytherinnever mind, I found the problem.15:22
persiaslytherin: I'm not sure why that's necessarily off topic either.15:24
slytherinpersia: It is not something related to packaging. :-)15:25
persiaslytherin: Perhaps it's related to fixing bugs?  (We do that here too)15:25
slytherinpersia: No. It is related to a small app I am trying to port to gtksourceview2. :-)15:25
sebnerpersia: ah I want to ask you since days what you think about wednesday (the last FF free day). was it a success?15:25
quentusrexgeser, would my package be a single binary? or a library?15:26
persiasebner: Well, that's not a question I can answer.  To narrow it a bit: was the effort to identify and get sponsored all the changes that would otherwise need a freeze exception a success?15:27
persiaTo that question, I'll say it was, although not an unqualified success.  In the last week before FF, the sponsors pushed the vast majority of last-minute fixes.15:28
sebnerpersia: sure but I want to hear a sponsors view since some of my syncs weren't processed15:28
sebnerpersia: kk :)15:28
quentusrexDo I have to tell the installer to untar my tar file? or will that already be done?15:28
persiasebner: Remember, not all syncs would have broken FF.15:29
persiasebner: It's still possible to pull some syncs, and pre-Lenny release, it's likely that most of them are safe.15:30
quentusrexmake[1]: Entering directory `/tmp/test/quentusrex-0.01'15:31
quentusrexmake[1]: *** No targets specified and no makefile found.  Stop.15:31
persiaOn the other hand, I expect you're discussing *neur, and for that it was just a matter of not enough time at the very end.15:31
sebnerpersia: I know, I'll check which of my syncs are worth a FFe15:31
persiaquentusrex: You're probably calling make for some reason.  Don't do that.15:31
persiaEssentially, the stuff dh_make generates for you is mostly useless.15:32
persia(especially for a package that need not be built)15:32
quentusrexpersia, How do I tell my package to untar the orig file? it says it can't find it...15:34
quentusrexor should I assume it's already untared.15:34
quentusrexls15:34
geserquentusrex: your package would be a single binary15:34
geserquentusrex: dpkg-source unpacks the .orig.tar.gz and applies the .diff.gz on top of it15:35
quentusrexwhere does it unpack it?15:35
quentusrexrelative to the debian/rules file?15:35
azeemdebian/rules is in the .diff.gz, so it doesn't exist before unpacking15:36
quentusrexso I don't need to unpack the source? just: cd ../ ?15:36
azeemquentusrex: it really depends on what you're doing15:36
azeemif you want to unpack the source, unpack it15:37
azeemif you want to build the source, build it15:37
azeemif you want to build the binary package, build it15:37
quentusrexwell, I don't have any source15:37
azeemthat'd be a problem15:37
quentusrexI have jpg's in a tar.gz15:37
quentusrexI want to untar them15:37
quentusrexthen cp them to a folder.15:37
azeemthe last part is your problem15:37
quentusrexbut I dont' know the relative path to the files.15:37
azeemwhat you need is either a packed or unpacked source package15:37
azeem"cp them to a folder" is part of the binary package building processs15:38
quentusrexright15:38
quentusrexArgh... this is difficult...15:39
geserquentusrex: the tar with your jpgs is the source15:39
azeemthere are some fundamental things you need to understand first, right15:39
quentusrexI start with a folder called 'quentusrex' and in that folder I have my jpgs.15:39
azeemok15:40
quentusrexthe package guide says to tar zcvf the folder15:40
azeemyou already did that no?15:40
azeemeh15:40
quentusrexit's named quentusrex-0.01.tar.gz15:40
azeemnm15:40
quentusrexI've got that.15:40
azeemok15:40
quentusrexthen I'm suppose to cp that to quentusrex_0.01.orig.tar.gz15:40
=== bastiao_ is now known as k0p
quentusrexdid that.15:40
azeemok15:40
quentusrexnow in my current folder I have the folder quentusrex and the two tar.gz's15:41
quentusrexI run dh_make15:41
azeemin the quentusrex folder?15:41
quentusrexcd debian15:41
quentusrexno15:41
quentusrexin my working folder15:41
quentusrex/tmp/test15:41
azeemif that works, ok15:41
azeemthe debian folder needs to be under the quentusrex folder in any case15:41
quentusrexright15:41
quentusrexit is15:41
quentusrexit's actually quentusrex-0.0115:42
quentusrexjust to keep things accurate.15:42
quentusrexalright,15:42
quentusrexI cd into debian15:42
azeemso if you're in the quentusrex-0.01 folder and run "dpkg-buildpackage -us -uc -rfakeroot -S", do you get a .diff.gz and .dsc?15:42
quentusrexrm *.ex *.EX15:42
LucidFoxhttp://upload.wikimedia.org/wikipedia/en/7/77/Ubuntu_8.10_Alpha_1.png <-- What?!15:43
LucidFoxThis is the new default theme?15:43
quentusrexyes, I have them azeem15:43
azeemok15:43
quentusrexin /tmp/test ls gets me this:15:44
quentusrexquentusrex-0.01            quentusrex_0.01-1.dsc         quentusrex_0.01-1_source.changes  quentusrex-0.01.tar.gz15:44
quentusrexquentusrex_0.01-1.diff.gz  quentusrex_0.01-1_i386.build  quentusrex_0.01.orig.tar.gz15:44
persiaLucidFox: Not really.  Test a daily liveCD to see today's default theme.  Wait until the final artwork deadline to know2 for sure.15:44
RainCT_quentusrex: cd quentusrex-0.01, then run dh_make from inside there15:44
quentusrexRainCT_, I've done that.15:45
LucidFoxWell, I just hope the new default theme won't feature light text on a dark background.15:45
quentusrexI've edited the changelog, control,15:45
quentusrexand now for the rules15:45
azeemquentusrex: we discussed that earlier15:45
quentusrexhow do I tell the rules file to copy all the jpgs  to /destination/folder?15:45
persiaquentusrex: Don't forget copyright, which is the other required file.15:45
quentusrexright, I've got that one too15:46
azeemquentusrex: 15:19 < azeem> quentusrex: I suggest you look at some other artwork-providing packages to see how they do it15:46
quentusrexchangelog  compat  control  copyright  dirs  docs  README.Debian  rules15:46
quentusrexall edited15:46
persiaYou probably don't need dirs, and you probably want install15:46
quentusrexazeem, I don't know any other packages that do this, and there is no way for me to know if the package I choose is doing it right.15:46
persiaFurther, README.Debian probably isn't interesting for this package.15:47
quentusrexhow should I get my jpgs?15:47
azeemquentusrex: apt-cache search artwork, e.g.15:48
quentusrexyay15:49
quentusrexI win15:49
quentusrexI just assumed that it was already unpacked15:49
quentusrexso I said cp *.jpg /tmp15:49
quentusrexand it worked.15:49
azeemquentusrex: that is wrong, though15:49
quentusrexI removed all the jpg's and tried it again and it worked again.15:50
quentusrex:(15:50
azeemquentusrex: you should not create any files outside the directory you're in15:50
azeembelow, rather15:50
quentusrex?15:50
azeemquentusrex: did you get a .deb with the .jpgs in them?15:50
persiaquentusrex: You probably want to use dpkg --contents foo.deb to make sure the files went into the package15:50
azeemquentusrex: /tmp is not under quentusrex-0.0115:50
geserNCommander: bug number for sponsoring?15:52
RainCT_quentusrex: (ah, right. sorry)15:52
NCommandergeser, https://bugs.edge.launchpad.net/ubuntu/+source/netatalk/+bug/26299115:53
ubottuLaunchpad bug 262991 in netatalk "FTBFS fix for netatalk" [High,New]15:53
RainCT_quentusrex: create a debian/install file and write "*.jpg destination/directory/once/installed" there15:53
RainCT_quentusrex: and then ensure that dh_install is called in debian/rules15:53
quentusrexhmm15:54
quentusrexok...15:54
quentusrexis that the proper way to install files outside of my directory?15:54
RainCT_quentusrex: that will install the files in debian/<packagename>/destination/directory/once/installed15:55
geserNCommander: why not patch it to also find db4.7?15:55
azeemquentusrex: the point is that you install them in the .deb in the right place, so when the user installs the .deb, they will be outside of your directory15:56
RainCT_quentusrex: if you open a .deb package with file-roller you'll see that there's a data.tar.gz and a control.tar.gz. When you build a package, the files from debian/<packagename> are the placed into the data.tar.gz, and at install time that tarball is uncompressed into the filesystem15:56
NCommandergeser, because 4.6 is the lib version it checks for15:57
NCommanderor more specifically, 4.6 is still linked to libdb.so even when 4.7 dev is installed15:57
=== Czessi__ is now known as Czessi
quentusrexanyone know how to change the maintainer name for dh_make?15:58
azeemhrm?15:58
quentusrexI can't sign my package because the maintainer name for dh_make doesn't match my gpg key15:58
azeemquentusrex: edit debian/control and debian/changelog appropriately15:58
quentusrexls15:58
quentusrexbefore then15:58
azeem?15:58
quentusrexwhen I first run dh_make15:58
RainCT_quentusrex: set the DEBFULLNAME and DEBEMAIL environment variables (in ~/.bashrc or somewhere). but for this package just editing debian/control, debian/changelog and debian/copyright is enough15:59
azeemread the dh_make documentation, I don't know15:59
azeemquentusrex: dh_make is a one-time thing anyway15:59
NCommanderits dh_make -e15:59
NCommandergeser, it looks like it might be a bug in libdb-dev that it installs the wrong versions15:59
NCommanderFiling a bug15:59
RainCT_azeem: dh_make, dch, etc. use the DEBFULLNAME and DEBEMAIL variables15:59
quentusrexthanks RainCT_ that worked.15:59
geserNCommander: lrwxrwxrwx 1 root root      12 Aug 30 14:59 /usr/lib/libdb.so -> libdb-4.7.so15:59
NCommanderhrm16:00
* NCommander looks closer at the config script16:00
geserNCommander: netatalk want to link expiclitly against against libdb-4.616:00
NCommanderOK16:00
NCommanderThen I'm doing the right thing :-)16:00
geserso it gets linked while -dev is already at 4.716:00
NCommanderRight, so explicately setting the versioned requirement does what it should16:00
NCommanderIt probably would work against 4.7, but TBI, I don't want to introduce a regression by changing that if it can be avoided16:01
NCommander(the API is stable, the ABI isn't)16:01
quentusrexWhat's the command to install a deb file?16:03
RainCT_quentusrex: sudo dpkg -i <file>16:04
RainCT_quentusrex: sudo gdebi <file>   will also install it's dependencies16:04
quentusrexYay, that worked16:04
quentusrexawesome16:04
quentusrexawesome16:04
quentusrexawesome16:04
RainCT_quentusrex: and you can see the content of a .deb with  sudo dpkg-deb --contents <file>16:04
RainCT_(err, without sudo)16:04
quentusrexright16:04
RainCT_quentusrex: nice :)16:04
quentusrexYAY16:04
quentusrexNow, what about editing a file?16:05
quentusrexwhat if I have to replace an older file?16:05
quentusrexis there anything 'special' about that?16:05
quentusrex:)16:05
quentusrexsuch as an update to my package16:05
NCommanderquentusrex, is it installed by your package, or not?16:05
quentusrexyes, by my package16:05
NCommanderThe package can replace any files it owns16:05
NCommander(that is, files it installs)16:06
azeemquentusrex: release a new tarball, e.g.16:06
RainCT_quentusrex: when you update a package the old version will be removed and after that the new one installed (beside some other stuff happening, like scripts being executed), so that's no problem16:06
quentusrexwhat about a file that the package doesn't own? a file that the package updates?16:06
azeem(binary files are difficult to replace)16:06
azeemquentusrex: example?16:06
NCommandergeser, any other obvious issues with my patch?16:06
quentusrexI can't think of an example. but like an xml file that was installed by a different package?16:07
RainCT_quentusrex: you can replace a file from another package with a divert (don't ask me how that works, I have never used it), but you should try to avoid that16:07
geserno, I'm still thinking what's better: build it with db-4.6 or with db-4.7 (which is the current default)16:07
azeemquentusrex: it's generally bad practise16:07
NCommandergeser, if its trying to explicately link against db-4.6, give it what it wants16:07
quentusrexI realize that... but the package is for my local network.16:08
quentusrexoh, I know of an example.16:08
quentusrexAdding all the local network shares to auto mount. I want to add lines to the end of /etc/fstab16:08
NCommandergeser, considering that fixing it to use db4.7 might introduce subtle regressions, break the existing metadata, etc.16:08
quentusrexcan I just echo "config info" >> /etc/fstab16:08
quentusrex?16:08
quentusrexin the rules file?16:08
RainCT_quentusrex: No. The rules file is used at build time and is not included in the package.16:09
quentusrexoh, then how would I do it?16:09
RainCT_quentusrex: You need a postinst script for that.16:09
NCommandergeser, and as an added note, I'd like to point out libdb3, which I think was released in '00 still exists in the archive16:09
geserNCommander: true16:09
quentusrexok, so how would I setup a postinst script?16:09
azeemquentusrex: it's a very bad idea, really16:10
geserNCommander: we have to many libdb4.* in the archive too16:10
azeemquentusrex: you don't need to do everthing with a package16:10
quentusrexazeem, is there a better way?16:10
RainCT_quentusrex: but I really don't recommend doing stuff like that (having packages which edit files)..16:10
azeemquentusrex: edit /etc/fstab directly16:10
NCommandergeser, well, thats because sleepycat/oracle likes to break the binary format with each library revision :-)16:10
quentusrexazeem, I'm managing 100+ ubuntu workstations...16:10
quentusrexI don't want to do everything manually16:10
azeemNCommander: I thought there's only problems if you use transactions16:10
azeemfor 4.4->4.7, at least or so16:10
NCommanderazeem, I thought it was a general issue.16:10
NCommanderazeem, as an aside, do you know what apps use transactions and which don't ;-)?16:11
azeemit certainly was in the past16:11
quentusrexRainCT_, if it is for my local network only, what is best way to edit the files?16:11
azeemNCommander: most don't I think16:11
azeembut not sure16:11
azeemquentusrex: use something else than a package manager16:11
azeemlike cfengine16:11
azeemmaybe16:11
NCommanderIt's probably an easier solution for the time being to simply keep the library running with its old data format. We still have gcc3 .4 packaged for things like QEMU that still depend on it16:12
RainCT_quentusrex: can't you use NFS or something else?16:13
quentusrexazeem, I'm not planning to do all my configuring from the package manager, but I'd like to be able to get the basics setup.16:13
NCommander^- azeem/geser16:13
quentusrexlike the basic and standard company bookmarks, network shares, etc.16:13
quentusrexinternal stuff like that.16:13
=== _jason is now known as jrib
persiaquentusrex: If you want to adjust default user configuration, you can add dotfiles to /etc/skel16:15
RainCT_quentusrex: appending stuff to configuration files becomes a problem when you want to change the stuff you added16:15
persiaJust do it with a yoyodyne-local-settings package.16:15
geserNCommander: while looking at the control file for netatalk: wouldn't it be a good idea to recommend db4.6-utils instead of db4.2-utils?16:15
persiaMind you, you can't edit it later: it will only be defined at the time a user is created.16:15
NCommandergeser, probably. I didn't check the recommends >.>;16:16
quentusrexThen is there a way for conf files to include the settings in a separate file?16:16
azeemthat depends on the program parsing them16:17
quentusrexlike if I want /etc/fstab to include the settings in a file in a different folder...16:17
quentusrexoh, ok.16:17
NCommandergeser, I can post a new debdiff, or if you want to fix it ...16:17
quentusrexI'll deal with that stuff later.16:18
azeemquentusrex: we're quickly drifting off-topic, maybe you should ask further questions like those in #ubuntu16:18
RainCT_quentusrex: perhaps your real problem is not how to modify the files but rather how to do stuff so that you don't need to modify those files16:18
quentusrexok, thanks16:18
quentusrexI think you're right RainCT_16:18
geserNCommander: no need for a new debdiff, I've changed this myself already and I'm testbuilding now16:18
quentusrexbut, for my next lesson16:18
quentusrexHow do I build an update?16:19
geserNCommander: btw this debdiff applied without problems16:19
quentusrexlet's say I've changed one of the jpgs16:19
quentusrexhow do I build the update?16:19
quentusrexdo I just change the foldername to quentusrex-0.0216:19
NCommandergeser, I figured out why the last one didn't. I accidently corrupted the old source package I debdiff'ed against16:19
quentusrexand build a whole new package?16:19
NCommandergeser, cause that package had a bad clean rule16:20
RainCT_quentusrex: get the new tarball, unextract it, copy the old debian/ directory into it, run "dch -i" to add a new changelog entry and do any changes you need to the packaging. after that just build the package again16:20
nxvlgood morning16:20
quentusrexRainCT_, that went over my head.... sorry.16:20
RainCT_quentusrex: there are more detailed examples on the wiki16:21
quentusrexso the tarball with all my jpgs, do I have to include all the files? or just the changed ones?16:21
RainCT_quentusrex: all the files16:21
RainCT_quentusrex: (https://wiki.ubuntu.com/PackagingGuide/HandsOn#Tutorial%202:%20Updating%20a%20Package)16:21
slytherinanyone here familiar with gtksourceview?16:22
RainCT_quentusrex: untar the old .orig.tar.gz, do any changes you want to the files, rename the directory to have a higher version number and compress it again (giving the resulting .orig.tar.gz the same version number as to which you renamed the directory)16:23
quentusrexRainCT_, it keeps going into the quentusrex-0.01 directory16:26
quentusrexwhich has all of the debian stuff in it16:26
quentusrexhow do I get it into a different directory16:26
azeemrename the directory you tar up16:27
azeem"rename the directory to have a higher version"16:28
azeemquentusrex: or if you're at the first step "untar the old .orig.tar.gz", do that at a different location than where your debian package is16:28
quentusrexok16:28
quentusrexwould I need to cp quentusrex-0.02.tar.gz quentusrex_0.02.orig.tar.gz ?16:29
azeemyou should be able to answer that question yourself by now16:30
quentusrexyeah... I guess I can...16:30
quentusrexyay16:34
quentusrexthe update works16:34
quentusrexNow, couldn't this be automated? :)16:35
geserslytherin: I'm not familiar with it but perhaps I still can help depending on the kind of problem you have16:35
quentusrexazeem, no wonder people are relatively slow to release new packages. that's a pain...16:36
quentusrexatleast for a small change.16:36
slytheringeser: I was wondering if it is possible to retrieve the directory containing language spec files using pkg-config16:36
azeemquentusrex: it's a general problem and has nothing to do with Ubuntu packaging16:37
NCommandergeser, how goes test building?16:38
geserNCommander: netatalk is already uploaded16:38
azeemquentusrex: usually, in a computing project, the time spent to implement new features or fix bugs is far bigger than the time spent on rolling a tarball16:38
NCommander\o\16:38
quentusrexazeem, yeah... I bet it would be..16:38
geserNCommander: did you get yet a mail from the bug?16:39
NCommanderjust got it now :-)16:39
lagaforgive me for announcing my package for the second time today, but i've decided to change my approach16:49
lagaso, for every problem found in http://revu.ubuntuwire.com/details.py?package=mythtv-theme-metallurgy-wide i'll do ten merges next cycle ;)16:50
quentusrexwhere is info on postinst?16:51
azeemin the debian-policy package16:51
quentusrexis it like the rules and install files?16:52
quentusrexor is it different?16:53
azeemthe debian-policy package?16:53
RainCT_quentusrex: well, it's a script16:54
=== Kopfgeldjaeger is now known as Kopfi|offline
=== Kopfi|offline is now known as Kopfgeldjaeger
albert23persia, quentusrex: I have added the logs for the packaging lesson on the wiki: https://wiki.ubuntu.com/MOTU/School/PackagingWithoutCode17:13
persiaalbert23: Thanks.  I'm sure there's heaps of mistakes there (on my part), but it's incredibly better than me misremembering having done that in June.17:15
persias/June/July/17:15
dmoernerpersia, fyi priority essential does not exist, but bash is priority required17:18
persiadmoerner: Yep.  Please feel free to take the ideas from the session, add in the pastebins, fix all the errors, and make a nice wiki page.17:19
persiadmoerner: https://wiki.ubuntu.com/Bugs/ApportRetraces is an example of the end-state of such a session log, once editing is complete.17:20
dmoernerpersia, yes i think i remember reading something from russ allbery's blog that had some more information on packaging scripts so i'll see if that could be incorporated as well17:21
persiadmoerner: That would be great.  When looking around earlier, I also found https://wiki.ubuntu.com/WebAppsPackaging which seems to have some pointers to some special cases for web applications, which might be worth mentioning.17:22
persiaAt least specifically http://webapps-common.alioth.debian.org/draft/html/ (unless you can find a final version)17:23
BUGabundotseliot ping17:23
persiaAlso, it's worth mentioning that roughly the same model works for wallpaper selections, etc.17:23
persiaalbert23: dmoerner: Also, when you're done, please ask me to run a session on something else.  No promises that I know it, but I'd like to reward those who turn my sessions into real documentation :)17:27
=== Awsoonn_ is now known as Awsonn
=== Awsonn is now known as Awsoonn
kevjavaWould this be the correct place to ask policy questions?  I was thinking about packaging an application, but there is no specific license attached to it...18:09
kevjavaThere's just a blanket, informal, "do what you want".  I didn't really want to spend all the time and energy packaging it if it would be rejected for license problems in REVU.18:11
RainCT_kevjava: Where is that notice? And does it declare a copyright holder?18:19
kevjavaThere is a copyright holder...   http://users.erols.com/whitaker/words.htm is the package.18:21
kevjavaHis (William Whitaker's) is the only copyright I could see in the source code.18:23
kevjavaRainCT_: It says all over that it's "Free for any use".  No explicit license, though.18:27
RainCT_kevjava: ftp://petrus.thomasaquinas.edu/pub/linux/words/words-1.97Ed-linux.tar.gz is that the tarball? (because I can't download it :S)18:28
kevjavaRainCT_: I  believe so.  I had problems downloading it from there, as well...  I'll see if I can find where I got it form18:30
RainCT_ah.. it's this one or what? http://users.erols.com/whitaker/wordsall.zip18:30
kevjavaRainCT_: Yes, that's the one I got.  That's the source package.18:30
RainCT_kevjava: OK, I'm downloading it... Anyway, it would be a good idea to e-mail the author and ask him if he can provide the source in a .tar.gz and license it under the ISC (http://www.opensource.org/licenses/isc-license.txt) or some other license18:33
RainCT_and placing the files into a words-<version> directory, so that you don't need to repackage it18:34
kevjavaRainCT_: Will do.18:34
kevjavaRainCT_: If he does not respond, and I do repackage it, could it still be placed in the multiverse?18:35
RainCT_kevjava: it may get accepted in the current state, but it may be rejected as well18:35
RainCT_kevjava: no, multiverse is for non-free applications. applications under an unclear license can't go there, neither18:36
kevjavaRainCT_: Ahh, understood.  That was my worry.  Thank you kindly, I'll get cracking.18:36
* NCommander plays with his new toy19:14
=== DrKranz is now known as DktrKranz
dmoernerpersia, i just finished adapting the wiki page, if you're curious: https://wiki.ubuntu.com/MOTU/School/PackagingWithoutCode19:58
=== Kmos_ is now known as Kmos
=== Kopfgeldjaeger is now known as Kopfi|offline
=== Kopfi|offline is now known as Kopfgeldjaeger
=== Kopfgeldjaeger is now known as Kopfi|offline

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