/srv/irclogs.ubuntu.com/2008/12/13/#ubuntu-motu.txt

=== VerticalAsymptot is now known as Guest40619
shingiis anybody available to answer my questions03:34
=== shingi is now known as shingi_
=== shingi_ is now known as shingi
shingianybody available to help me03:41
jpdsshingi: Which question is that?03:41
shingiok, i want to start packaging. I have read the documentation and have done some packaging on my computer03:42
shingihow do i now get involved03:43
jpdsshingi: This page might help: https://wiki.ubuntu.com/MOTU/TODO03:49
shingiok, will have a look at it03:54
jmarsdenshingi: https://wiki.ubuntu.com/MOTU/GettingStarted and https://wiki.ubuntu.com/MOTU/Contributing will probably be worth your while too04:44
shingiok thanks. I am trying to build the Sphinx package and when I ran pbuilder it reports that it cannot find MySQL include files and yet I have done sudo apt-get install libmysqlclient-dev04:46
ScottK-laptopshingi: Does the package build-dep on the -dev package?04:49
ScottK-laptopInstalling it locally doesn't make it available inside the pbuilder chroot.04:49
ScottK-laptopIt only pulls in the build-deps.04:49
shingisorry I cannot get your question ScottK-laptop. I am new to packaging.04:51
ScottK-laptopshingi: In your package in debian/control there is a field called build-dep (for build-dependencies).04:52
ScottK-laptopIs libmysqlclient-dev listed there?04:52
shingilet me just check04:52
shingiits not listed04:53
jmarsdenshingi: This issue (not having all the necessary build dependencies specified) is one of the things pbuilder is very good at testing for you.  So most likely you should add libmysqlclient-dev to the Build-Dep line and try building the package again.04:53
shingiok, will do that now04:54
=== ScottK-laptop is now known as ScottK2
=== ScottK2 is now known as ScottK-laptop
shingithe build was successfull05:00
ScottKAfter you added that in?05:00
shingiyes05:00
shingiSo what do i do if I want this package to be in ubuntu?05:01
ScottK!REVU | shingi05:01
ubottushingi: REVU is a web-based tool to give people who have worked on Ubuntu packages a chance to "put their packages out there" for other people to look at and comment on in a structured manner. See https://wiki.ubuntu.com/MOTU/Packages/REVU05:01
shingiI will check it out. I really want to help in this area05:02
quadrisprocan anyone ACK a sync?08:53
et3lintian produced this "E: md4sum: FSSTND-dir-in-usr usr/man/"12:34
et3how can I fix the problem?12:35
=== fabrice_sp_ is now known as fabrice_sp
azeemet3: the manpages should go into /usr/share/man, not /usr/man12:36
azeemso you will have to fix the upstream build system to correctly install them, or (less preferred) move them there12:36
et3azeem: what file do I edit to fix it12:37
et3?12:37
et3rules?12:37
azeemno, the upstream build system12:37
et3what's the first step?12:37
_rubenpassing some extra options to configure might do the trick depending on upstream's build system12:37
azeemno idea what is, probably Makefile.in or so12:37
et3alright12:38
et3so I should look in the Makefile.in?12:38
azeemobviously, we are not looking at the upstream source, so we cannot advise12:38
azeemyou will have to research it yourself12:38
et3you can find it here:  bzr branch lp:md4sum12:40
et3is this a big deal?  :12:42
et3E: md4sum_0.02.03-0ubuntu0~kolbyheacock1_i386.changes: bad-ubuntu-distribution-in-changes-file jaunty12:42
et3I thought jaunty was a good distribution name12:42
azeemout-of-date lintian I guess12:42
et3alright12:42
et3I think I fixed the man dir problem12:45
et3i worked. ^^12:46
et3the edited file was Makefile.Linux12:46
pmjdebruijncan someone please take a look at my new package http://revu.ubuntuwire.com/details.py?package=lensfun ?12:47
et3azeem perhaps it's an out of date standards version?  3.7.2 ?12:49
et3pmjdebruijn: What do you need people to look at with your package?12:50
pmjdebruijnet3: I need to get it approved12:50
pmjdebruijnet3: I don't have a specific problem... I'm looking for reviews...12:50
et3pmjdebruijn: that's what I thought, I just wanted to make sure.  I can't help you approve the package.12:51
pmjdebruijnet3: no problem12:51
pmjdebruijnI think my package is in pretty good shape12:51
et3^^ cool12:51
pmjdebruijnBut of course... I'm not the best judge of that...12:51
et3lol.  I am new at packaging12:52
azeemet3: what is a problem?12:56
et3I want to remove the jaunty-is-not-an-OS error12:57
azeemit's not an error12:57
azeemyour lintian version is just too old12:57
azeemso ignore it12:57
et3okay12:58
=== DrKranz is now known as DktrKranz
et3my package was rejected and now when I try to use dput to re-upload after I fixed the problem, "Already uploaded to ppa.launchpad.net"13:12
et3so it doesn't upload.  I'm using the --force option too13:13
et3azeem: I'm having a problem again13:13
pmjdebruijnet3: check the .upload file?13:15
et3what am I checking the upload file fore?13:16
pochuyou can't upload with the same version number to the ppa13:17
pochuyou will have to bump the version number in debian/changelog13:17
pochue.g. instead of 1.0-1~ppa1, use 1.0-1~ppa213:18
et3okay13:18
=== Zic_ is now known as Zic
=== dickydoo2 is now known as WelshDragon
azeempochu: hrm, even when the upload got rejected as et3 said?13:54
=== freeflyi1g is now known as freeflying
et3azeem: I fixed what rejected it14:03
et3what if I just deleted the .upload files?14:05
azeemusing --force has the same effect, AIUI14:06
et3alright14:06
et3we'll see if this worked.  I find it funny this is how I spend half my weekends14:08
\\localhosthello folks14:10
\\localhosti'm on the last step to make a package, it compiles fine14:10
\\localhostbut in order to install, it must write in admin acess only dfolders14:11
\\localhosti mean '/usr/lib'14:11
\\localhostin pbuilder the script isn't allowed to do such a thing14:11
azeemyou're not supposed to write anywhere above the source directory during package build14:12
azeemso you need to install the program at a staging location, usually debian/tmp, and assemble the .deb from there14:12
\\localhostoh i see14:13
azeemmost build systems will obey the DESTDIR variable during installation and install there, so point DESTDIR to $(CURDIR)/debian/tmp14:13
\\localhostthats the defaults, you right14:13
\\localhostthank you, i'm gonna test14:14
\\localhostbecause i was calling "make install" which install the build in the system14:14
\\localhosthmmm the default is calling make from /usr/bin , but i would like to know if the 'make install' from cmake can have a destdir set ? (cmake site is down, that's why i'm asking)14:29
azeemcmake obeys DESTDIR, yes14:30
\\localhostoh nevermind, since cmake is calling make14:31
\\localhostthats because i have set the buildir to build/ (since cmake don't have clean rule) to rm-rf build/ on clean process14:31
\\localhostso the CURRDIR mut be set to build to find make rules14:32
azeemyou need to cd to your build dir in order to run make, rather14:32
\\localhostyep14:33
\\localhosti've done the fix14:34
\\localhostwe will see :)14:34
\\localhostazeem it works14:44
\\localhostthanks for your support14:45
azeemcool14:45
pochuazeem: oh, I didn't read that part. Then I guess it's not necessary14:48
azeemk14:48
\\localhostazeem is it possible to specify the package to add a line in a existent conf file on the system ,14:49
pochuwhich conffile do you want to modify?14:52
\\localhostphp.ini14:53
\\localhostits just a line to add like echo "xxx" > /etc/php5/php.ini14:54
azeemeh, > doesn't add14:54
\\localhost>>*14:54
azeemin any case, you're not supposed to touch other packages' conffiles14:55
\\localhostah okay, so it must be the user to do that14:55
azeemsee whether PHP maybe supports dropping files into /etc/php5.d/14:55
azeemor something14:55
\\localhostok i will see then14:56
\\localhostthx14:56
pochuwhat's an ICE io error?15:00
=== WelshDragon is now known as Guest10435
=== nhandler_ is now known as nhandler
ScottK-laptoppochu: Internal Compiler Error.  You don't want those.15:30
pochuScottK-laptop: thanks :) that sounds scary15:33
liwan ice error can also indicate warm cola. you don't want that either.15:52
pochu:-)15:58
LaneyRequested sponsorship of my first upload into Debian, scary!16:11
cutoutHello I have a package for a JAVA application any one interested in reviewing it???16:37
lagacutout: put it on REVU16:39
cutoutIt is on review it is name is "monajat"16:40
cutoutI also have another one "rmconverter"16:40
=== santiago-pgsql is now known as santiago-ve
=== gouki_ is now known as gouki
et3Is anyone here?18:36
geserperhaps18:37
et3if I wanted to make  a package put a file "foo" in a directory /usr/share/foo-files"  how would I do that?18:38
\\localhostin the make file18:38
et3alright18:38
\\localhostin the install rule of makefile18:38
et3so make puts it in the debian/DEBIAN location and then in the filesystem?18:39
\\localhostto be exact, but maybe there is another ways to do that18:39
et3well, I was wondering what the standard way is?18:39
\\localhostet3 are you talking about the rules file of dbhelper ?18:39
geserif the upstream Makefile doesn't do it for you, you can use dh_install in debian/rules18:40
et3hmmmm18:40
geserand put something like "foo /usr/share/foo-files/" into the debian/install file (or <package>.install file)18:40
et3alright... if I put "/usr/share/foo-files" in the debian/install file and then had a directory like (base_dir)/foo-files, it will automatically copy the files?18:42
et3I think I could do it with make... but how do you do it with dh_install?18:43
\\localhostgeser do you call in the build install section dh_install like dh_install "foo /usr/local/foo" ?18:44
geseryou call dh_install binary target and dh_install will use the "install" files from debian/ to see where it should copy which file18:45
\\localhosti see, thx for the hint18:48
et3how does it know?18:49
et3are you saying I could just throw a bunch of binaries, fonts, sounds, and pictures and it will organize them into debian packages?18:50
et3I don't quite understand.18:50
geserit uses the information from the install files from your debian/ dir you provided18:52
et3please give me an example and I'll understand18:52
gesersay you have a font.ttf file in your upstream dir and want it copied to /usr/share/fonts18:52
et3you'd put /usr/share/fonts in the debian/install file.  and I'm not sure what to do in the debian/rules.18:53
geserso you can either do it with a cp call in debian/rules18:53
geseror put a line "font.ttf usr/share/fonts/" into debian/rules and call dh_install in your binary target in debian/rules18:54
et3"cp ../fonts/foo.tff /usr/share/fonts/" and "font.ttf usr/share/fonts/" work the same?18:55
geserdh_install will look into the install file and cp font.ttf to debian/<package>/usr/share/fonts so it end later in the package (which is build from debian/<package>)18:55
et3alright.18:55
et3that's very interesting.  thank you.18:56
et3That has been the main problem I've had in packaging.18:56
=== et3 is now known as Kolby
=== Kolby is now known as kolby
=== Guest10435 is now known as WelshDragon
* kolby is bored20:57
=== bureflux is now known as afflux
=== pangloss is now known as pang
=== hyperair1 is now known as hyperair
=== logari811 is now known as logari81
=== jscinoz_ is now known as jscinoz
=== nhandler_ is now known as nhandler
=== jscinoz_ is now known as jscinoz

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