/srv/irclogs.ubuntu.com/2009/11/22/#ubuntu-motu.txt

=== YDdraigGoch is now known as WelshDragon
=== chuck_ is now known as zul
nebulahiş05:50
mrooneyif I want the installation of a package to remove another package if it exists, do I use Replaces, Conflicts, or both?06:09
mrooneyI'm finding http://www.debian.org/doc/maint-guide/ch-dreq.en.html a little ambiguous on what a packager manager should actually do with those06:10
jdongmrooney: from what I understand, Conflicts to express "Only one of the two should be installed at any given time", and Replaces+Conflicts to express "Users of previous package foo should be upgraded to bar"06:10
mrooneyjdong: okay, the example I'm playing around with is a metapackage to change the browsing experience, so I've got Depends: midori, and then I should Replaces+Conflicts firefox?06:14
jdongmrooney: I'd say just Conflicts firefox06:15
jdongif you want Firefox to be removed06:15
mrooneyah okay, yes06:16
mrooneyhmm, are they are guides on debian/.install files? I can't figure out where it finds the files; I assume the lines are where it puts them07:04
mrooney(I'm looking in https://wiki.ubuntu.com/PackagingGuide/Complete)07:04
jmarsdenmrooney: man dh_install07:07
mrooneyjmarsden: awesome, thanks! perhaps it might be appropriate for me to add that to the wiki?07:08
jmarsdenWell, in general all the debian/stuff files have corresponding dh_* commands and so man pages... but sure, if you think it will be useful to add it, go for it.07:09
dtchen(all the debhelper bits --> debian/stuff)07:10
jmarsdenRight... I wasn't clear... man debhelper to see more details...07:10
mrooneyoh hey dtchen, sorry for changing the importance on that bug; didn't realize it was part of your workflow07:14
mrooneyjmarsden: maybe I need to take a step back. I have an XML file I need to load in a postinst script, so I'm trying to ship it in /usr/share so I can do that, and was looking at the .install files as a means to do that07:16
dtchenmrno worries07:17
dtchenwow, uh, tab completion fail07:17
lifelessdtchen: you use irssi?07:17
dtchenlifeless: indeed07:18
lifelessdtchen: if so, its a known 'feature' - irssi detects 'paste' by the rate at which characters are received, and if it thinks something is a paste07:18
lifelessit doesn't interpret it07:18
lifelessI think this is daft07:18
lifelessbut <sigh>07:19
lifeless(I filed a bug once)07:19
jmarsdenmrooney: So, if you put the XML file under debian/ and then put a line in debian/install that says  xmlfile usr/share/packagename    doesn't that do what you want?07:19
mrooneyjmarsden: hm, could be :) this is I think my second-ever package07:22
mrooneylet me check that out07:22
jmarsdenSure, go for it :)07:22
dtchenbe aware that xmlfile needs to get into $(CURDIR)/debian/tmp/usr/share/packagename; some people do this in debian/rules, etc., etc.07:24
lifelessdtchen: if you run irssi over ssh, a network glitch can cause what you had happen; otherwise just typing really really fast ;)07:25
dtchenlifeless: yeah, client was extremely lagged07:25
mrooneydtchen: oh I see so THAT'S how the .install files work? I was confused because I only saw what I perceived as a destination, but not a source file07:27
mrooneybut actually you sort of mirror the path in debian/tmp and each line is the source and destination in the .install file?07:28
dtchenmrooney: there are different semantics based on the syntax07:28
mrooneyhm okay, know any simple packages that do this off-hand that I can look at the source?07:29
mrooneyI will just google dh_install, maybe it has more examples than the man page07:30
dtchenlibao does07:33
dtchensee its libao2.install for an example of both, intermingled07:33
mrooneyoh awesome, I see, thanks!07:35
mrooneyso that's grabbing a .conf file from debian/ and shipping it to /etc, is it acceptable to just put arbitrary xml files in debian and then ship them that way?07:37
dtchenI don't know about arbitrary -- I would think that they're at least Debian-specifi07:38
dtchenc07:38
=== Lutin__ is now known as Lutin
lamotheHi people, what's the correct way to get a GConf schema file installed.10:02
lamothe?10:02
lamotheIs this more of an upstream thing?  Everything that I'm reading is telling me to put it in the post install but surely a `make install` should take care of this.10:03
lamotheI realise that this might not be a MOTU question exactly but it might become a MOTU issue when I get it wrong ;)10:05
jmarsdenlamothe: If you install the application "by  hand" after building it from the upstream source tarball, how does the Gconf schema get where it needs to be?10:07
lamotheschemadir = $(GCONF_SCHEMA_FILE_DIR) ... is that what you're asking?10:08
jmarsdenNo, I mean if you follow whatever install instructions upstream provides with their software, how does that file get installed?10:09
jmarsdenWhat puts it into place?10:10
lamothejmarsden: Oh, I am upstream.10:10
lamotheCurrently I don't have a schema file.  Would like to add one.10:10
jmarsdenSo in an unpackaged situation... how are you getting the file into place?  get that working, *then* package your software :)10:10
lamothejmarsden: I'm not, so I did some reading and it seemed to be pointing me at putting it in the post install which didn't seem right to me.10:11
lamotheBefore I go down a path that a MOTU will tell me is wrong later, I was looking to try and get it close to correct first time :)10:12
jmarsdenOK... I think you are correct; if the software doesn't work / install correctly before it is packaged, it should be fixed...10:12
jmarsdenBut I am not a MOTU :)10:12
lamotheBut I bet that I'm still doing it wrong :)10:13
lamotheOk, so I need to find a solution in the Makefile.am.  Are the install-data-local sections frowned upon?10:14
Laneylamothe: dh_gconf does this10:22
LucidFoxI realize that this is not a support channel, but my Brasero has stopped burning CDs in a fresh Karmic install, it only burns DVDs.10:22
lamotheLaney: Thanks,I'm on dh7.10:23
LucidFoxWhen I burn a CD, it acts as if the burn completed successfully, but when I reinsert it, it's shown as empty.10:23
lamotheI hope that this works, although isn't most of this automatic now?10:23
Laneyyes, it should be called in the install target10:24
Laneyexport DH_VERBOSE=110:24
Laneyyou have to arrange for the schemas to be installed in usr/share/gconf/schemas first10:25
lamotheLaney: But surely I need to somehow instruct it ... right.10:25
lamotheWon't $(GCONF_SCHEMA_FILE_DIR) do that?10:26
Laneyisn't that stuff from cdbs?10:26
Laneyjust use dh_install10:26
lamotheI have "schemadir = $(GCONF_SCHEMA_FILE_DIR)" in the Makefile.am.10:27
Laneyno idea10:27
Laneysee how some other software does it10:27
lamotheThen ... "schema_DATA = me-tv.schemas"10:28
lamotheYeah, I was looking at gnome-terminal.  I find it hard to find a simple GTK/GNOME application using DH7.10:29
lamotheAnd a schema file.10:29
lamotheAnjuta doesn't even have a scema file.10:29
Laneyyou're talking about the upstream autofoo10:29
Laneythe debian buildsystem shouldn't matter10:29
Laneyas long as "make install DESTDIR=debian/tmp" does it right10:30
lamotheLaney: Yes, this is a upstream (my) problem.  But I was hoping not to make it someone else's.10:30
Laneythat's what I'm saying10:30
Laneyso you don't have to care about if it's dh7 or not10:31
Laneyso you *can* look at any old bit of software10:31
Laneyonce you get your autofoo doing the right thing then dh7 will also just work10:31
lamotheYes, but it's how it gets it in there.  Also, I noticed that gnome-terminal installs its schema  on a  `make install`/10:32
Laneymost of them should10:36
Laneybut it's beyond me how to wrangle the autotools into doing so10:36
Laneyi'd go hassle someone who has done it before :)10:36
lamothe1Laney: Sorry, there's a nasty bug in karmic, when I plug in the power on my laptop it shuts down.10:42
=== asac_ is now known as asac
=== yofel_ is now known as yofel
mannyvI am looking at a package that used to FTBFS because it was compiled with -Werror we patched it to fix the errors. Upstream has released a new version, they did not fix the warnings but they removed -Werror so it builds fine now14:17
mannyvthe error was: ignoring return value of 'write', declared with attribute warn_unused_result14:18
mannyvor warning rather14:18
mannyvso my question is if I should tear out the old patch since it isnt needed to fix the FTBFS or keep it since it is a better coding practice?14:19
=== ikt_ is now known as ikt
randomactionif there are no other changes, just drop it and sync the package14:57
randomactionbut the patch could probably be sent upstream (if you care enough)15:00
=== nixternal_ is now known as nixternal
EzraRwhere do makefile.in's get there variables from?16:11
mok0EzraR: configure16:40
mok0EzraR: or, rather, configure.ac16:40
EzraRyeah i figured it out16:44
EzraRthis bug (LP: #327174) ends up steming from this bug16:46
EzraRhttp://bugs.debian.org/cgi-bin/bugreport.cgi?bug=52417616:46
ubottuDebian bug 524176 in automake1.10 "AM_PATH_PYTHON should honor python's idea about the site directory" [Normal,Open]16:46
EzraRi believe16:46
EzraRanyone wanna make a second opinion?16:46
EzraRi have the automake book sitting around...i should really get a round to reading it...16:47
trudellwhy nv cards crashs in x with ubuntu kernel?16:56
trudellMicrosoft bribes Ubuntu development team to make bullshit kernel to not run 3d cards or commercial games on Linux.17:04
AndrewGeeHi. Any MOTUs available to review my package on REVU? http://revu.ubuntuwire.com/p/gpxviewer - It's an application to view gps traces. Thanks :)17:05
mok0AndrewGee: I'll bite17:07
mok0AndrewGee: Ah, you're also upstream17:08
AndrewGeeYup17:08
AndrewGeeThanks for taking a look :)17:08
trudellhi all17:20
trudell!op17:21
ubottuHelp! Hobbsee, Riddell, sladen, fbond, mneptok, gnomefreak, Seveas, dholbach, elkbuntu, PriceChild, or jpatrick!17:21
* sladen looks17:21
azeem_Pici: ^^17:22
AndrewGeemok0: Thanks for the advocation. Do I upload a change to the standards version after some other MOTU has advocated then?17:22
trudellAndrew, Microsoft bribes Ubuntu development team to make bullshit kernel to not run 3d cards or commercial games on Linux.17:23
azeem_sladen: see #u-d17:23
mok0AndrewGee: yes, the next advocate is likely to ask for some changes, then you can batch it in. If the second advocate does not have further issues he can make the modification before upload17:23
AndrewGeemok0: Awesome! Thanks :)17:23
nixternalthank you jpds :)17:26
jpdsNo problem.17:26
=== neoXsys is now known as neoxsys
sladenjpds: well, I guess that ends my chance of talking to the person17:34
sladenjpds: despite them not shouting any more abuse since I took it to privmsg17:34
jpdssladen: He attacked #ubutnu, #ubuntu-devel, #kubuntu, #kubuntu-devel and #ubuntu-ops.17:35
sladenjpds: and nobody (until I, apparently) bothered to ask the person specific *details* about what their issue was17:35
sladenjpds: admittedly it's not pleasant, but neither is being klined17:36
jpdssladen: http://paste.ubuntu.com/325505/17:36
sladenjpds: *shrug*.  I'd got a little further;  but I didn't start of with telling them they were talking nonsense17:41
sladenjpds: although I do admit to being not entirely sure how to answer "is canonical a catholic enterprise?"---though the problem was sholved before I'd tried to17:42
dtchensladen: I did point him?her? at the bug tracker, but I suppose I should have been more precise.17:42
macocatholic means universal, doesnt it?17:43
macowikipedia says yes: Catholic is an adjective derived from the Greek adjective καθολικός (katholikos), meaning "universal".17:44
sladenI wonder if it was meant as "closed shop"---I didn't have time to enquire17:50
EzraRanyone in here familiar with the problem with automake and python.m4 setting wrong dirs?20:55
=== menesis1 is now known as menesis
=== _stink__ is now known as _stink_
shankaolintian is outdated in REVU -> W: opensimulator-server source: newer-standards-version 3.8.3 (current is 3.8.0)21:56

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