=== Ursinha is now known as Ursinha-afk | ||
=== Ursinha`` is now known as Ursinha | ||
=== Ursinha is now known as Guest29285 | ||
=== Ursinha-afk is now known as Ursinha | ||
=== yofel_ is now known as yofel | ||
klotzek | Hello. | 15:41 |
---|---|---|
klotzek | Firefox on x64 ubuntu is compiled on x64 architecture,or it uses 32libs in emulation mode? | 15:44 |
a-l-e | hi, i need help to create my ppa. | 16:04 |
a-l-e | the goal is to create a ppa for a snapshot of a specific branch of scribus. | 16:05 |
a-l-e | it's not about providing official packages. | 16:05 |
a-l-e | is there any clear and fast howto on creating a ppa? | 16:05 |
a-l-e | for now i've only found howtos explaining the phylosophy of ppas... | 16:06 |
TheLordOfTime | a-l-e: there's no easy "how to" per se, i can give you a brief overview though of "creating" the PPA, as for actually putting packages in there, do you have any experience with packaging? | 16:07 |
a-l-e | no, not really. | 16:07 |
a-l-e | one question which is not clear from the documentation (https://help.launchpad.net/Packaging/PPA/BuildingASourcePackage): | 16:07 |
a-l-e | do i need to create a .deb to distribute a .ppa? | 16:08 |
a-l-e | i'm mostly interested in the minimal files and directories i have to create in order create a valid ppa | 16:08 |
TheLordOfTime | you need to create a debian source package, either via a recipe or otherwise, to put into the PPA | 16:08 |
TheLordOfTime | so it requires (some) packaging | 16:08 |
a-l-e | there is already a ppa for the same version of scribus (with some dependencies less) and a .deb for scribus stable. | 16:09 |
a-l-e | so i should be able to use them as a base if somebody tells me how... | 16:09 |
TheLordOfTime | but you want a specific bzr or git or whatever snapshot for personal use? | 16:09 |
a-l-e | it will come from a branch of scribus own git repository | 16:10 |
a-l-e | git clone git://git.scribus.net/scribus.git | 16:10 |
* TheLordOfTime yawns as he realizes he booted into Windows instead of Ubuntu | 16:10 | |
a-l-e | at first i want to upload a snapshot of the indic branch | 16:10 |
TheLordOfTime | DAMN IT, i shall return shortly | 16:10 |
a-l-e | ok :-) | 16:11 |
a-l-e | i'll download the existing ppa now... while waiting for you | 16:11 |
a-l-e | yofel: you around? | 16:12 |
a-l-e | i see that you are the packager for the scribus 1.5 ppa... | 16:12 |
* TheLordOfTime shows up | 16:13 | |
TheLordOfTime | heh, yofel's involved in a lot :P i'd expect him to have packaging experience (he's a dev) | 16:14 |
a-l-e | i've seen his name for a long time in the scribus channel... but never chatted with him... | 16:16 |
TheLordOfTime | a-l-e: how often are you going to be updating, though, every git push? | 16:16 |
a-l-e | no, manually | 16:16 |
a-l-e | where there is something new to test. | 16:16 |
yofel | ali1234: start with [17:30:49] <yofel_> making it uninstallable | 16:17 |
yofel | [17:31:30] <apachelogger> https://bugs.launchpad.net/ubuntu/+source/meta-kde/+bug/1023225 | 16:17 |
yofel | [17:31:32] <ubottu> Launchpad bug 1023225 in meta-kde (Ubuntu) "missing dependency in kdelibs" [Undecided,New] | 16:17 |
yofel | [17:33:33] <yofel_> debfx: bug https://launchpad.net/~kubuntu-ninjas/+archive/ppa/+packages?field.series_filter=precise&batch=100 | 16:17 |
yofel | [17:33:37] <yofel_> fail | 16:17 |
yofel | [17:33:51] <yofel_> bug 1037392 | 16:17 |
ubot5 | Ubuntu bug 1023225 in meta-kde (Ubuntu) "missing dependency in kdelibs" [Undecided,New] | 16:17 |
ubot5 | Launchpad bug 1037392 in Kubuntu PPA "kscreensaver depends on libkexiv2-11, which is not in Kubuntu Updates" [Undecided,Fix released] https://launchpad.net/bugs/1037392 | 16:17 |
yofel | [17:33:53] <ubottu> Launchpad bug 1037392 in Kubuntu PPA "kscreensaver depends on libkexiv2-11, which is not in Kubuntu Updates" [Undecided,Fix released] https://launchpad.net/bugs/1037392 | 16:17 |
yofel | [17:37:10] <-- BluesKaj (~kaj@unaffiliated/blueskaj) has quit (Quit: Konversation terminated!) | 16:17 |
yofel | [17:39:42] <-- apol__ (~apol@214.230.77.188.dynamic.jazztel.es) has quit (Ping timeout: 264 seconds) | 16:17 |
TheLordOfTime | yofel: if you're not busy, a-l-e might need help getting their own PPA set up with a scribus snapshot from git (if i'm reading them right) | 16:19 |
* TheLordOfTime is once again arguing with his PHP source code changes | 16:19 | |
a-l-e | yep, TheLordOfTime your right :-) | 16:19 |
TheLordOfTime | ... okay, you know what, screw it | 16:20 |
TheLordOfTime | *chucks his PHP code changes out the window, starts anew* | 16:20 |
a-l-e | i guess that downloading https://launchpad.net/~scribus/+archive/ppa/+files/scribus-trunk_1.5.0svn201209081853-23%7Eprecise1_i386.deb is a good start... | 16:21 |
yofel | ok, that went bad | 16:21 |
yofel | next try | 16:21 |
yofel | a-l-e: start with https://help.launchpad.net/Packaging/PPA#Activating_a_PPA | 16:21 |
yofel | hehe | 16:21 |
TheLordOfTime | yofel: he's trying to actually learn the "Getting the packages into the PPA" part i think | 16:21 |
yofel | yeah, that's the daily build which has roughly the packaging you want | 16:21 |
a-l-e | yep | 16:21 |
TheLordOfTime | or at least he'll need that after activation | 16:21 |
a-l-e | i have a repository on launchpad | 16:21 |
a-l-e | https://launchpad.net/~ale-comp-06/ | 16:22 |
TheLordOfTime | https://launchpad.net/~ale-comp-06/+archive/scribus-git-indic | 16:22 |
TheLordOfTime | ;) | 16:22 |
yofel | ah ok | 16:22 |
a-l-e | yep, the goal is to fill that :-) | 16:22 |
yofel | so you want to upload a git snapshot. Do you plan to have that automated in the future? | 16:24 |
a-l-e | no | 16:24 |
a-l-e | it will always be manual | 16:24 |
yofel | ok | 16:24 |
yofel | a-l-e: how much do you know about debian packaging? | 16:25 |
a-l-e | nothing... | 16:25 |
yofel | roughly | 16:25 |
yofel | ok | 16:25 |
a-l-e | but i've been using for years | 16:25 |
a-l-e | and i'm comfortable with programming or creating zip files from cpp or php code... | 16:26 |
yofel | for a debian package you'll need the source, and the package control files in a debian/ folder | 16:26 |
a-l-e | i have the source and i guess that i can reuse almost all of your control files... | 16:27 |
yofel | yeah, but wait, I think you fetched the .deb | 16:27 |
yofel | that's not what you need | 16:28 |
a-l-e | not yet | 16:28 |
yofel | first: go somewhere where you want to have the package extracted and run: | 16:29 |
yofel | dget https://code.launchpad.net/~scribus/+archive/ppa/+files/scribus-trunk_1.5.0svn201209081853-23%7Eprecise1.dsc | 16:29 |
a-l-e | i mean not fetched yet... but i can fetch anything that is needed | 16:29 |
a-l-e | ok | 16:30 |
yofel | once it's done run: dpkg-source -x scribus-trunk_1.5.0svn201209081853-23%7Eprecise1.dsc | 16:31 |
yofel | then you'll have a scribus-trunk-1.5.0svn201209081853 folder and inside is the debian folder containing the packaging | 16:32 |
a-l-e | i have to install some software... since i just installed ubuntu in a VM | 16:34 |
yofel | sure | 16:34 |
a-l-e | so i'm a bit slower than usual :-) | 16:34 |
a-l-e-- | ok, getting in from ubuntu | 16:40 |
a-l-e-- | dpkg-source -x scribus-trunk_1.5.0svn201209081853-23~precise1.dsc | 16:41 |
a-l-e-- | dpkg-source: warning: extracting unsigned source package (scribus-trunk_1.5.0svn201209081853-23~precise1.dsc) | 16:41 |
a-l-e-- | dpkg-source: error: cannot fstat file ./scribus-trunk_1.5.0svn201209081853-23~precise1.tar.gz: No such file or directory | 16:41 |
yofel | did you dget the dsc? note: dget, not wget | 16:42 |
a-l-e-- | well, that was a reflex... | 16:42 |
a-l-e-- | i wanted a dget but typed a wget... | 16:42 |
a-l-e | ok dgetting | 16:46 |
a-l-e-- | scribus-trunk_1.5.0svn201209081853-23%7Eprecise1.dsc: | 16:50 |
a-l-e-- | dscverify: scribus-trunk_1.5.0svn201209081853-23%7Eprecise1.dsc failed signature check: | 16:50 |
a-l-e-- | gpg: keyblock resource `/home/ale/.gnupg/secring.gpg': file open error | 16:50 |
a-l-e-- | gpg: no valid OpenPGP data found. | 16:50 |
a-l-e-- | gpg: processing message failed: eof | 16:50 |
a-l-e-- | Validation FAILED!! | 16:50 |
yofel | yeah, ignore that, now you need to run dpkg-source -x on the dsc | 16:50 |
a-l-e-- | ok | 16:50 |
yofel | what's the package name going to be? | 16:52 |
a-l-e | scribus-git-indic | 16:52 |
a-l-e | and then date and so on... | 16:53 |
yofel | ok | 16:53 |
a-l-e | ok, i have extracted the package with dpgk-source | 16:53 |
yofel | good, now export your git source into a new folder, called scribus-git-indic-$VERSION, for the trunk package the VERSION is 1.5.0svn201209081853, so choose your own | 16:55 |
a-l-e | well, i'll use the same: 1.5.0git201209091900 ... | 16:55 |
a-l-e | well, i'll use the same: 1.5.0gitindic201209091900 ... | 16:55 |
a-l-e | well, i'll use the same: 1.5.0git.indic201209091900 ... | 16:56 |
a-l-e | voilĂ | 16:56 |
yofel | ok, so your source folder will be called scribus-git-indic-1.5.0git.indic201209091900 | 16:56 |
yofel | now move the debian folder from the daily package into yours | 16:57 |
yofel | now as a start, you'll have to change all occurences of 'scribus-trunk' into 'scribus-git-indic' in the files inside debian/ | 16:59 |
a-l-e | i'll first have to get the git code in the virtual machine... | 16:59 |
a-l-e | ok | 16:59 |
a-l-e | i can do that in parallel | 17:00 |
yofel | then rename scribus-trunk.* to scribus-git-indic.* | 17:00 |
yofel | the same goes for patches/01_scribus.desktop.dpatch, the other patch should be fine | 17:04 |
yofel | do you have a gpg key? You'll need one for the upload later | 17:04 |
a-l-e | i need the virtual machine additions | 17:05 |
* a-l-e is trying to get his private key into the ubuntu vm... | 17:14 | |
a-l-e | ok, everything is ready to work again... | 18:08 |
a-l-e | had to fight a bit to get the shared folders working... | 18:09 |
a-l-e | following the next steps... | 18:10 |
a-l-e | dinner, and then i'll try to follow the next steps! | 18:16 |
a-l-e | yofel: i'm getting through... | 19:33 |
a-l-e | i guess that i can remove all patches... | 19:33 |
a-l-e | ok, no, i leave them... | 19:34 |
ASU | Hello | 19:45 |
ASU | my name is Nina I. I am a CS undergraduate student at Arizona State University. I am working on a paper about OSS communities. We thought it would be nice to get some statements from users about how they feel the OSS communities has changed software engineering. | 19:46 |
ASU | If anyone would like to give an input, feel free to Email to niarkova@asu.edu. Thank you so much! | 19:47 |
a-l-e-- | now i have scribus-git-indic-1.5.0git.indic201209091900 directory with the following content: | 19:55 |
yofel | a-l-e: was busy for a bit, back now | 19:59 |
yofel | the patches are ok, you might have to edit the 01 one so the desktop file has the right name | 19:59 |
a-l-e-- | http://pastebin.com/bnk9aXMg | 20:01 |
a-l-e-- | i've grepped for trunk and replaced all the occurences with git-indic | 20:02 |
yofel | ok | 20:02 |
yofel | next, you need to set DEBEMAIL and DEBFULLNAME, i.e. | 20:03 |
yofel | export DEBEMAIL="my@emailaddress.com" | 20:03 |
yofel | export DEBFULLNAME="Full Name" | 20:03 |
yofel | those should match with your gpgkey so debsign finds it by itself | 20:04 |
a-l-e-- | ok, the email does not match the gpgkey... | 20:05 |
yofel | no problem, worst case you can tell debsign the key hash yourself | 20:06 |
yofel | next add a new changelog entry with 'dch -i' which should automatically open an editor | 20:06 |
a-l-e-- | ok | 20:06 |
yofel | there make sure the version is set right in the brackets, something like 1.5.0git.indic201209091900-0~ppa1 | 20:06 |
a-l-e-- | well, i've already made a manual log entry... | 20:07 |
yofel | works too as long as it's correctly formatted | 20:07 |
a-l-e-- | ok | 20:08 |
BadDesign | I want my account on Launchpad and ALL its information be deleted, is this possible? My account has been deactived in 2009 | 20:08 |
yofel | a-l-e: ok, if you're done, close it and try to run 'debuild -S' | 20:08 |
BadDesign | Why I can't delete my information? | 20:10 |
a-l-e-- | i guess i still have an error... | 20:10 |
BadDesign | This is ridiculous | 20:10 |
a-l-e-- | the debian directory should be in the main source directory... | 20:10 |
yofel | right... | 20:11 |
yofel | oh sorry | 20:11 |
yofel | missed the mismatch in the paste | 20:11 |
yofel | move the contents of Scribus one level higher | 20:11 |
a-l-e-- | done | 20:11 |
a-l-e-- | where should i be to run debuild? | 20:12 |
a-l-e-- | one level below debian? | 20:12 |
a-l-e-- | (in the main package directory?) | 20:12 |
yofel | both should work | 20:13 |
yofel | in source or in debian | 20:13 |
a-l-e-- | ok | 20:13 |
a-l-e | i guess that i need a apt-get buil-dep scribus | 20:22 |
yofel | could be, you won't need everything for a source package but that will install everything you'll need | 20:23 |
a-l-e | debuild was throwing an error... let's see if it gets better with all the dev things installed | 20:25 |
a-l-e | /usr/share/dpatch/dpatch.make: No such file or directory | 20:25 |
a-l-e | make: *** No rule to make target `/usr/share/dpatch/dpatch.make'. Stop. | 20:25 |
a-l-e | /usr/share/dpatch/dpatch.make: No such file or directory | 20:26 |
a-l-e | make: *** No rule to make target `/usr/share/dpatch/dpatch.make'. Stop. | 20:26 |
a-l-e | mmm... | 20:26 |
yofel | sec | 20:26 |
a-l-e | sudo apt-get install dpatch | 20:26 |
yofel | correct | 20:26 |
a-l-e | looks better now | 20:26 |
a-l-e | it's running | 20:27 |
a-l-e | running debsign failed | 20:30 |
yofel | as it couldn't find your key | 20:30 |
yofel | now | 20:30 |
yofel | above of your source directory, you should now have a .dsc and _source.changes for your version | 20:31 |
yofel | run debsign -k <YOUR_KEY_ID> <changesfile> | 20:31 |
yofel | after that you need to import your gpg key on launchpad | 20:31 |
yofel | go to https://launchpad.net/~ale-comp-06/+editpgpkeys and add your fingerprint | 20:32 |
a-l-e | already done... | 20:33 |
yofel | ah ok | 20:33 |
yofel | then try: dput ppa:ale-comp-06/scribus-git-indic <changesfile> | 20:34 |
yofel | you should be getting a acceptance/rejection mail in a few minutes if it uploads correctly | 20:34 |
a-l-e | mmm it does not find my key... | 20:35 |
a-l-e | where should it be? | 20:35 |
a-l-e | i've given the label from my ~/.ssh/id_rsa.pub ... | 20:36 |
yofel | *that* is your ssh key | 20:36 |
yofel | your gpg key will be in ~/.gnupg - if you have one | 20:37 |
yofel | gpg --fingerprint will show what you need | 20:37 |
a-l-e | it doesn't return anything :-( | 20:37 |
yofel | then you don't have a gpg key yet | 20:37 |
a-l-e | mmm... i have that ssh key... | 20:38 |
yofel | that's sadly not what we need here | 20:38 |
a-l-e | git did use it :-) | 20:38 |
yofel | yeah, and bzr will, but packages need a gpg key | 20:38 |
a-l-e | ok | 20:38 |
yofel | a-l-e: see https://help.launchpad.net/YourAccount/ImportingYourPGPKey | 20:38 |
a-l-e | ok reading it following the instructions... | 20:39 |
a-l-e | the computer is generating the key... | 20:42 |
a-l-e | the computer is generating the key... | 20:43 |
a-l-e | generating a gpg key in a virtual machine can take some time... | 20:51 |
yofel | maybe do something while it does that, IIRC it tries to get enthropy from your actions | 20:53 |
yofel | (if that wasn't something else) | 20:53 |
a-l-e | ok... i don't move the mouse that often :-) | 20:58 |
a-l-e | now i have to find how to decript the mail sent by launchpad... | 20:59 |
yofel | see step6 quicktip | 21:00 |
a-l-e | yeah, no thunderbird installed... | 21:01 |
a-l-e | but i will solve it... | 21:01 |
a-l-e | the biggest problem will be to get the gpg key out of the vm | 21:01 |
* yofel usually uses sftp to get stuff out of a VM - needs openssh-server installed on the host though | 21:02 | |
a-l-e | well, i've managed to create a shared folder... | 21:03 |
* a-l-e is trying to find out how to add a gpg key to claws mail | 21:06 | |
a-l-e | ok, the key is in | 21:17 |
a-l-e | rerunning debuild -S | 21:19 |
a-l-e | it should detect the key now | 21:19 |
a-l-e | ok, crossing my finger (and keeping my eyes open)... | 21:24 |
a-l-e | ... dput is uploading the ppa! | 21:24 |
a-l-e | thanks yofel! | 21:24 |
yofel | a-l-e: ok, I'm off to bed now, if you still need help with the package in case something fails #ubuntu-packaging is a good place to ask | 21:29 |
a-l-e | good night and thanks! | 21:33 |
a-l-e | it will probably fail at some time... since not all the dependency are in (at least icu is missing) | 21:34 |
a-l-e | but this is a task for one of the next days! | 21:34 |
a-l-e | ciao | 21:34 |
a-l-e | (btw, i've written down all the steps and i'll try them and eventually document them) | 21:34 |
=== _thumper_ is now known as thumper |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!