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

blizzkidWould https://edge.launchpad.net/~mcielen/+archive/ppa/+build/1195292 be something that could be included in Ubuntu?00:13
blizzkidAnd how would I get it included?00:14
=== yofel_ is now known as yofel
blizzkidok, found it, and filed a bug00:33
LLStarksyo03:14
LLStarksi need a motu immediately03:14
ScottKLLStarks: You need air to breathe.  You don't need a MOTU.03:18
LLStarkswrong.03:18
ScottKOK, then I'm probably not the one you want.03:18
LLStarksi need a motu to fix a grand injustice imposed on the karmic community.03:18
LLStarkshttps://bugs.launchpad.net/ubuntu/+source/wine1.2/+bug/41219503:18
ubottuLaunchpad bug 412195 in wine1.2 "ttf-tahoma-replacement makes some web-sites look ugly" [Undecided,New]03:18
LLStarksso...03:23
jedcHi, could anyone give me a quick rundown on what in the default debian/rules file is needed or unneeded if the package I'm compiling in not written in c and does not use a makefile? Must I use make? just some pointers in the write direction would be appreciated.04:58
jedcright direction04:58
macoafaik, dh7 lets you just have a 1-line rules by default and then you can throw in some overrides04:58
macoi forget the one line though :(04:58
nhandlermaco: http://paste.ubuntu.com/261741/04:59
macooh ok. 2 lines.04:59
nhandlerAlthough, that may or may not work for what jedc wants to do. It all depens on the application05:00
jedcthats all you need? i thought you needed targets for build clean and everything because the utilities all use them05:02
ScottKdh 7 provides that behind the scenes.05:03
ScottKFor many standard applications it just works like that.05:03
ScottKSometimes you have to over-ride the standard config.05:03
jedcthe default rules generated by dh_make has a lot of stuff in it05:04
ScottKYes.  That is what was needed before dh 7.05:05
ScottKYou can still do it that way if you want.05:05
nhandlerjedc: If you do decide to use the newer style, make sure you have an accurate debhelper Build-Depends version in debian/control. http://pkg-perl.alioth.debian.org/debhelper.html has some information about what version a few debhelper functions require05:07
jedcthanks guys, that looks a lot simpler05:08
RAOFSo, my membership of ~motu is expiring soon.  What's currently happening the launchpad teams?  Is this the team-membership I should renew, or should I let it lapse?06:50
lifelessjust renew06:50
lifelesscan always discard it later06:51
wgrantRAOF: ~motu is the current universe/multiverse upload privileges team. ~ubuntu-dev is meant to end up with no direct memberships. All this will change within months post-archivereorg.07:09
RAOFwgrant: Thanks.07:10
=== wsuthomas_ is now known as tcorl
=== tcorl is now known as tcorll
=== tcorll is now known as wsuthomas
pzicohi, what channel may I get advices related to making setup.py files?07:55
Ademanentirely out of curiosity, does anyone know where opengl shader source code would best be placed according to the FHS?  I commonly see it thought of as "media" making /usr/share a candidate, however shaders are in fact executable, though by the gpu, making /usr/lib a good placement, I think people would find /usr/lib a bit funny, however I think that's what I lean towards.  anyone else have an opinion?08:01
=== wsuthomas_ is now known as wsuthomas
RAOFAdeman: I'd treat them as program data, as they're loaded by programs and then shuttled off to the GPU (hence /usr/share).  An alternative way to looking at them is: are they (CPU) architecture-specific?  If not, /usr/share is probably a better spot.08:14
=== micahg1 is now known as micahg
Zhenechbdrung, I got mail, didnt reply yet (was on VAC)11:10
somaunnhello everyone11:19
Zhenechbdrung, replied11:40
shiki-hi all..anyone can help me with dh / Makefile / package building? :/11:58
Zhenechif you ask a specific question one could try to :)12:00
dktrkranzshiki-: just ask :)12:00
shiki-well.. its a package.. without ./configure.. a really.. uhm FUBAR one?..so to say..12:01
shiki-http://launchpadlibrarian.net/31005900/buildlog_ubuntu-jaunty-i386.fotoxx_8.2.2.1-1~jaunty7~ppa1_FAILEDTOBUILD.txt.gz12:01
shiki-this is the build log..12:01
shiki-well. it always fails at "No rule to make target 'build-stamp' ...12:01
shiki-Im not sure where to start.. tried to edit Makefile, that didnt give me any result12:02
Zhenechhow does your debian/rules look like?12:02
dktrkranzdo you have a "build: build-stamp" target in your debian/rules, and no build-stamp target?12:02
shiki-eeeeeh.. I overlooked this one12:03
shiki-ty12:03
shiki-trivial mistake12:03
shiki-will try to rebuild it ASAP12:04
dktrkranzjust an advice, use pbuilder for local tests, using PPAs is a waste of buildd time12:04
shiki-okay..ty12:05
shiki-(I was confused about how to test it before uploading)12:05
shiki-thanks.12:05
dktrkranzyou're welcome ;)12:05
pzicoI have trouble running python setup.py sdist. The packet I get doesn't install. I have only one source file that can be run directly with python in src/gui folder.12:23
pzicoI'm trying to learn making setup.py and packages, but I'm stuck with this simple problem.12:23
pzicoDo I have to add that only py file in manifest?12:23
dktrkranzpzico: have you already looked at distutils online documentation?12:24
pzicoyes I have12:24
shiki-ehm..pbuilder is not really handy on a vm :/12:24
pzicoI was following it.12:24
Zhenechshiki-, pbuilder does not need a vm12:25
dktrkranzcould you please paste your setup.py?12:25
shiki-ehm...12:25
pzicoI also tried to add path the way described in documentation, but for some reason can't get it work.12:25
dktrkranz!paste12:25
ubottupastebin is a service to post multiple-lined texts so you don't flood the channel. Ubuntu pastebin is at  http://paste.ubuntu.com | To post !screenshots use http://tinyurl.com/imagebin | !pastebinit to paste directly from  command line | Make sure you give us the URL for your paste - see also the channel topic12:25
Zhenechshiki-, pbuilder creates a chroot and builds there, so you can build debian on ubuntu and ubuntu on debian etc12:26
pzico#!/usr/bin/env python12:26
pzicofrom distutils.core import setup12:26
pzicosetup(name='surem',12:26
pzico      version='0.1.1',12:26
pzico      description='program',12:26
pzico      author='I am',12:26
pzico      author_email='el@gmail.com',12:26
pzico      packages={'surem' : ['src/gui/board_ui.py']},12:26
pzico    )12:26
pzicothat board_ui.py is the only thing the program needs12:27
shiki-Zhenech, still, I cant install it on arch linux :)12:27
Zhenechshiki-, oh, well, technically you could :)12:28
Zhenechbut yes, this makes it more difficult12:28
Zhenechbut a chroot is still better than a VM imho12:28
shiki-well.. it works in vmware12:28
shiki-hmm.. beats me12:28
shiki-its more comfortable to work in an Ubuntu completely12:28
Zhenechyour point :)12:29
pzicohere is also pastebin link: http://paste.ubuntu.com/261917/12:30
sistpotyhi folks12:32
dktrkranzpzico: look at the one from oggconvert, it's very simple and should match your case perfectly12:32
dktrkranzhey sistpoty12:32
sistpotyhi dktrkranz12:32
pzicooggconvert is based on setup.py running a script, like is terminator program used in python packaging example. They load the script from the install folder directly.12:35
pzicoI don't know what to figure out of that, unless to try learn make such script system myself12:36
pzicoI think the question is, if I have a file helloworld.py in folder foo/bar/12:38
pzicohow to make setup.py?12:38
dktrkranzwell, "scripts" are single files, "packages" are modules12:38
pzicobut why are the scripts assumed to be in the same folder with install?12:38
pzicoand if my program gets bigger in future, it's not one single file anymore12:39
pzicoIt's a bit frustrating to go over reorganising files/folders in version control12:39
pzicojust for setup program assuming all single files scripts..12:39
dktrkranzIIRC, you can pass a third parameter specifying where to get scripts from12:40
pzicoor should I make it module nevertheless and the just call the main function from script?12:41
pzicoI guess that's how it's done in that oggconvert12:41
dktrkranzyes12:41
pzicook, good to know.. is there some name or keyword for this method using script calling modules, in case I want to learn more about it12:42
dktrkranzalso look at this one: http://bazaar.launchpad.net/%7Edktrkranz/debomatic/debomatic.dev/annotate/head%3A/setup.py12:42
dktrkranzit also calls data_files12:43
pzicointeresting, I guess I'm starting to understand this12:43
pzicothat is a good example. thanks!12:45
dktrkranznp :)12:46
shiki-I ..dont..get..it12:59
shiki-pbuilder build *.dsc builds the package completely fine12:59
shiki-upload to PPA, it dies12:59
shiki-:/12:59
Zhenechshiki-, with what sort of an error?13:01
shiki-same Makefile problem with before13:01
shiki-but..thats it.. I removed that part from Makefile, used pbuilder13:01
Zhenechmh13:03
shiki-oh lol.. I made a small mistake.. yet it was fatal13:24
c_kornhow can I get all files which cause this warning ? W: stone-soup source: patch-system-but-direct-changes-in-diff source/rltiles/tile-dngn.html and 8 more13:39
Zhenechc_korn, diffstat on diff.gz?13:39
c_kornZhenech: oh, thanks. I was looking for a lintian option13:40
Zhenechno idea if it will do so in verbose mode or so13:41
ZhenechI just use diffstat for such things13:41
shiki-how can I make pbuilder as strict as the buildbots?13:47
shiki-I mean..buildbot dies, pbuilder works13:47
sistpotyshiki-: you could install pkgbinarymangler... but a failed buildlog might give more clue13:49
shiki-well..it was a patch problem. But thats it... I simply overlooked it since pbuilder created the builds13:50
bdrungZhenech: thx14:03
aladin_hello, i have a big problem.. someone can tell to me the equivalent to "dpkg --force all" in apt?14:39
andvaladin_, usually if you have some deps problems you should give an apt-get -f install14:43
aladin_it'snt equivalent14:43
aladin_:(14:43
andvaladin_, what are you trying to do?14:43
aladin_overwrite file issue14:43
andvwhy are you trying to force something?14:43
aladin_but if i run the installation via "dpkg -i --force all" work fine, and if i use apt-get -f install do not work14:44
aladin_:\14:44
andvapt-get -f install fix for you deps problems14:44
andvand install the package you were trying to install without success (cause deps missing(14:44
aladin_it'snt depends issue.14:45
aladin_it's file overwrite!14:45
andvcan't get what you mean sorry14:45
aladin_dpkg: error processing /var/cache/apt/archives/linux-image-2.6.30.5_2.6.30.5-10.00.Custom_i386.deb (--unpack):  trying to overwrite `/lib/firmware/whiteheat.fw', which is also in package linux-image-2.6.29.4 dpkg-deb: subprocess paste killed by signal (Broken pipe)14:45
aladin_if i use dpkg -i --force all package.deb work all fine14:46
aladin_but if i use apt-get -f install package.deb do not work14:46
aladin_so my question is, where is the equivalent to dpkg -i --force all in apt?14:46
andvaladin_, giving a --force all option is not the right way to go14:47
aladin_yes it it in my case.14:47
andvso if it worked why are you asking the apt equivalent?14:47
aladin_andv: have you solution about my issue or not ?14:47
aladin_because i need to do it via apt.14:48
aladin_-.-14:48
arvind_khi, there is a bug in the notify-osd of karmic, the notification comes in the centre in the of the screen, why isnt it being fixed?14:48
aladin_arvind_k: check launchpad14:48
aladin_adnv ?14:50
andvaladin_, I guess there is no equivalent14:50
aladin_ok14:50
aladin_i will wait mvo14:50
andvaladin_, apt-get --help14:50
arvind_kaladin_, i have checked it, what am asking is, why isnt changes being reflected in the upstream version?14:50
ScottKarvind_k: It's on purpose.14:51
ScottKIt's by design and not a bug.14:51
ScottKarvind_k: #ayatana is their channel.14:51
arvind_kScottK, thanks ... :)14:53
jedcdo i have to use make with debian/rules or can just run a custom install script from it? would it be easier to just make a makefile?14:57
maxbjedc: Give a bit more context to your question14:58
jedcmaxb, i am trying to package a compiler, and i have a script that builds it for me, i wasnt using makefiles. Do i need to use make from debian/rules or can i just have the rules file run the script?14:59
maxbdebian/rules is itself a makefile, but nothing at all says you have to have it run make to build your program15:00
jedcmaxb ok, thanks, i think most of my confusion stems from most of the examples being tailored for packaging c/c++ programs15:02
maxbIt's true that because very many programs follow the ./configure make make install pattern that the examples often use that. Just remember that those are only examples.15:04
=== korn_ is now known as c_korn
c_kornhm, I wrote a gconf schema and it gets installed in /schemas/apps... by the postinst script but why doesn't it get installed in /apps/... so I can change the values ?16:40
RainCTHeya16:41
=== buttercup is now known as vorian
DyllanIs there a way to install pre-deps from a .deb i have created? I specify the pre.dep in the control file, but gdebi just fails to install and complains that the pre-dep is needed which makes perfect sense, but i would like for it to be installed automatically if possible?18:04
joaopintomy question was not about wether you wanted to use text tools, but to identify wether it's a gdebi limitation for which you will need to file a bug report :)18:06
joaopintoand btw, why do you need pre-depends instead of depends ?18:06
joaopintoDyllan, are the pre-depend debs available when you try to install the package ?18:08
joaopintoDyllan, gdebi works with single packages, using regular APT methods, it will not attempt to satisfy depedencies from other external .deb packages, if that was your question18:08
Dyllanjoaopinto: I would think that it could be a gdebi limitation, however i am sure it is setup that way for good reason.18:09
Dyllanjoaopinto: yes, that was basically mu question. GDebi complains that it cannot install because of a pre-dep, so that makes sense because i set the pre-deb, but you have answered my question, GDebi cannot handle dependencies so then it is a GDebi limitation unfortunately.18:10
DyllanI guess what  I could do is add a check into my program that checks to see if they dependency is installed and if not it installs it.. .18:11
joaopintoDyllan, gdebi is very limited, for mutli .debs your best option is to use  a repository/PPA18:21
joaopintowith an apt-url link for the install18:21
Dyllanalright, thanks for the help.18:21
joaopintonp :)18:24
keesScottK: can I get a FFe for ubuntu-dev-tools?  It looks like the current bzr contains a mess of fixes, but it just never got uploaded (0.76).18:53
ScottKShouldn't be a problem.18:54
keesokay, cool, thx.18:54
RainCTnhandler: uhm.. is pull-revu-source looking for the URL of the .dsc file searching in revu.ubuntuwire.com/p/<pkg>? (don't really understand that perl stuff)19:12
ScottKDear everyone: Please work on NBS: http://people.canonical.com/~ubuntu-archive/NBS/19:23
* geser awaits the bug reports for the recent ubuntu-dev-tools upload19:23
ryanakcaIs there a way to make sbuild drop to a shell in the schroot if a build fails?19:47
nhandlerRainCT: Yes. I merely ported apachelogger's script to Perl. I plan on cleaning up the script later this week20:19
RainCTnhandler: You know about http://revu.ubuntuwire.com/dsc.py?package=X?20:22
RainCTnhandler: err, http://revu.ubuntuwire.com/dsc.py?url&package=X20:23
nhandlerRainCT: I probably did at one point (just forgot). I'll fix it now20:23
apacheloggerRainCT: I suppose that should be documented some place?20:25
RainCTapachelogger: Well, it isn't that interesting other than for scripting. Maybe what I should implement is something like  revu.ubuntuwire.com/download/X.{dsc,diff.gz,orig.tar.gz} so that you can just dget20:26
sebnerRainCT: there is now a pull-revu-source though20:27
nhandlersebner: That is why RainCT was making his comments ;)20:27
sebnerheh ^^20:27
apacheloggerRainCT: possibly, though, I think that ?dsc.py is enough20:28
apacheloggeralso, IMHO downloading files individually does not have much of a use case for revu as for released sources20:29
apacheloggerwhere one might just want the tar.gz because the packaging is in a no-full-source branch and needs to be merged with the source by builddeb20:29
RainCTapachelogger: I'm not sure I understand.  dget ../dsc.py?package=X doesn't work (it will get the .dsc and fail for the other files)20:32
nhandlerRainCT: The URL returned by dsc.py is the path to the .dsc from /srv on spooky. It is not a valid URL20:32
apacheloggerRainCT: dget only requires the dsc file?20:33
apacheloggerso why would one need the other files :)20:33
RainCTapachelogger: Why would you want only a .dsc file? It's useless20:33
apacheloggernah20:33
RainCTnhandler: if you use ?url20:33
nhandlerRainCT: Yes. For example, I get: http://revu.ubuntuwire.com/var/revu/revu1-incoming/nucleo-0905052003/nucleo_0.7.3-0ubuntu1.dsc20:34
RainCTnhandler: yeah, so then you can dget that20:34
apacheloggerdsc.py returns url of most recent upload of $package as would be available in the regular UI20:34
nhandlerThat should probably not have the /var/revu part on it20:34
apacheloggerso you run dget $URL and get the dsc and the diff.gz and the orig.tar.gz20:34
RainCTnhandler: err right, I'm fixing that right now20:34
apacheloggerwhich is pretty much why one woud use dget and not wget anyway ;-)20:34
nhandlerThanks RainCT20:34
* nhandler is fixing pull-revu-source20:35
RainCTnhandler: ok it's working now20:50
nhandlerRainCT: pull-revu-source has been updated20:52
=== micahg1 is now known as micahg
RainCTnhandler: cool, thx20:52
nhandlerThank *you* RainCT ;)20:53
RoAkSoAxDktrKranz, ping?21:21
DktrKranzhey RoAkSoAx21:35
RoAkSoAxhow's it going DktrKranz21:41
DktrKranzfine, and you?21:41
RoAkSoAxDktrKranz, pretty good but kinda bored xD21:42
DktrKranzpackage something NEW ;)21:43
RoAkSoAxDktrKranz, hey I wanted to ask you, why would this error was showed to him by lintian and not to us when reviewing the package: https://bugs.launchpad.net/ubuntu/+source/lekhonee/+bug/41975921:43
ubottuLaunchpad bug 419759 in lekhonee "clean-should-be-satisfied-by-build-depends python-support" [Undecided,In progress]21:43
ScottKRoAkSoAx: What version of lintian were you using?22:21
RoAkSoAxScottK, I did not report the bug, slangasek did :). That bug is invalid right?22:22
* ScottK didn't read the bug yet.22:22
ScottKLooks possibly valid to me.22:23
ScottKIs python-support needed in the clean rule?22:23
ScottKBTW, RoAkSoAx: Did you undertsand why I changed your patch before I uploaded lekhonee?22:24
ScottKAlthough I don't get it with the current lintian.22:27
ScottKslangasek: Are you sure you filed 418759 against the right package?  I can't replicate that lintian complaint.22:27
RoAkSoAxScottK, I'm guessing that the change on the patch is because  /usr/bin/env python will figure out the correct location of python?22:28
RoAkSoAxScottK, and I cant replicate the lintian complaint that's why I was thinking this is an actual invalid bug22:28
ScottKRoAkSoAx: If you read the Python Policy you'll find that we don't like /usr/bin/env python because it's easy to have it point at the wrong Python.22:28
ScottKRoAkSoAx: You may be right.  I've pinged slangasek, so  we'll wait and see.22:29
RoAkSoAxScottK, ahh I see, so we should always try to use /usr/bin/python to avoid pointing to the wrong python. gotcha! :) thanks for explaining that to me22:31
ScottKYou're welcome.22:31
ScottKWe keep Python pretty up to date, so that's sufficient.  I know a lot of people on RHEL that always use their own Python in /usr/local so the env trick is useful for them.22:32
ScottKWe'd rather be more deterministic.22:32
RoAkSoAxI see.22:34
DktrKranzRoAkSoAx: I used latest lintian from unstable22:57
DktrKranzand python-support is not involved in clean target22:57
RoAkSoAxDktrKranz, ok so this bug should be invalid then. I wonder why slangasek got that lintian error23:02
DktrKranzDunno either23:03
RoAkSoAxweird23:06
* ScottK guesses he was reviewing a number of packages and filed it on the wrong one.23:20
ScottKNext time someone sees quadrispro, please whack him with a hammer and remind him we are post feature freeze.23:36
mrooneyAnyone know a guide for grabbing the appropriate theme colors in gtk to use in an app (or a more appropriate channel)?23:39
DktrKranzScottK: ?23:51
DktrKranzwhat did he do?23:51
ScottKDktrKranz: https://launchpad.net/ubuntu/karmic/+source/zbar/0.8+dfsg-3ubuntu123:51
DktrKranzUGH!23:52

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