[00:33] <CIA-114> [qapt] Jonathan Thomas <echidnaman@kubuntu.org> * echidnaman@kubuntu.org-20120130003338-ef1q6wk3zdtkyp0l * debian/ (changelog libqapt1.install libqapt1.symbols) * New upstream release candidate (LP: #840306) * New upstream beta release
[00:50] <Darkwing> Quintasan: You still around?
[00:50]  * Darkwing does the math and realizes that it's super late there.
[07:46] <apachepanda> Darkwing: any sensible haxx0r would be around at 2am :P
[08:45] <Riddell> morning
[08:45] <Riddell> Happy New Week
[08:48] <ejat> morning
[08:50] <Riddell> bambee: is it easy for you being a monitor to FOSDEM?
[09:56] <Riddell> gosh advertising and "we must fork" e-mails on ubuntu-users, thanks goodness we have Mamarok to keep the worst out of kubuntu-users
[09:56] <Tm_T> Riddell: uh, sounds fun (:
[09:56] <Tm_T> fork and knive!
[09:56]  * Tm_T goes to spoon the lunch
[10:12] <Mamarok> Riddell: claydoh is doing much more than I do lately
[10:13] <claydoh> lol Mamarok I don't have much to do, and yes I should be asleep :(
[10:14] <claydoh> been much calmer since we stomped our feet in there
[10:14] <Riddell> it doesn't take much to keep sanity but it does take it constantly, ubuntu-users admins seem to be losing control a bit
[10:14] <Riddell> thanks claydoh too
[10:15]  * claydoh refrains from looking in there
[10:15] <claydoh> ubuntu-users that is
[10:17] <claydoh> a mama's firm hand is key, I just back her up as needed :D
[10:19] <Mamarok> :)
[10:19] <Riddell> Mamarok: I'd like to renew my FSFe membership at fosdem but they e-mailed suggesting it's 240€, I fear I am not that generous, do I need to feel bad about only paying the minimum 60€
[10:22] <Mamarok> well, 60€ is more for students, how about 120€?
[10:37] <Riddell> Mamarok: still too much, I budget my charitable giving and I'm not wanting to give must more than the 60€
[10:37] <Riddell> s/must/much/
[10:37] <kubotu> Riddell meant: "Mamarok: still too much, I budget my charitable giving and I'm not wanting to give much more than the 60€"
[10:39] <Mamarok>  Riddell well, then 60€ is OK as well
[10:40] <Riddell> thanks Mamarok, that's what I think I wanted to be told :)
[10:53] <Mamarok> Riddell: btw, if you ship Qt 4.8 you also need version 0.2.0 of the Qt script generator, else the Amarok scriptsa don't work anymore
[10:53] <Mamarok> -a
[10:54] <Riddell> Mamarok: oh?
[10:54] <Riddell> do we know that?  I don't know if what we ship
[10:54] <Mamarok> I don't know what you will ship with precise, but I assume it will be Qt 4.8
[10:54] <Riddell> Mamarok: qtscript-tools package?
[10:54] <Riddell> that's at 0.1.0+git20101026+8b191fbc-2
[10:55] <Mamarok> that one: http://code.google.com/p/qtscriptgenerator/
[10:55] <Riddell> hum fooey, another thing to add to my todo list
[10:55] <Mamarok> we need 0.2.0 with Qt 4.8
[10:55] <Riddell> Mamarok: I think amarok either should have a configure check for that or should make sure to tell all packages with kde-packager
[10:56] <Mamarok> I think we did, let me check with the others in Amarok
[10:56] <Riddell> but thanks for telling me and keeping kubuntu in check :)
[10:57] <Mamarok> you are welcome :)
[10:59] <Mamarok> can you check the packager list if we did notify? Else I send a mail
[11:03] <Riddell> Mamarok: let me see
[11:11] <Riddell> Mamarok: nothing on kde-packager, but doesn't amarok have its own packager list? (for no good reason)
[11:11] <Mamarok> I don't think so, but who knows
[11:12] <Riddell> Mamarok: no looks like Bart is using kde-packager only now, that's good
[11:13] <Riddell> Mamarok: well nothing about qtscriptgenerator in his announce or followup about qt 4.8
[11:13] <Riddell> so another followup would be suitable
[11:13] <Mamarok> OK, then I will send a mail
[11:40] <debfx> Riddell: could you please push your last amarok uploads to the bzr repository
[11:53] <Riddell> debfx: oh ok
[11:57] <Riddell> debfx: done sorry about that
[11:58] <debfx> Riddell: thanks
[12:00] <debfx> Riddell: bzr: ERROR: An error (1) occurred running quilt: Patch kubuntu_kdelibs4.8_context_view.diff does not exist
[12:02] <Riddell> sec
[12:02] <Riddell> debfx: committed, thanks for checking up on me
[12:09] <Riddell> another report of crashing X server when using videos in precise on #kubuntu
[12:09] <Riddell> anyone able to test it?
[12:42] <BluesKaj> Hiyas folks
[13:13] <Riddell> hi BluesKaj 
[13:14] <BluesKaj> hi Riddell , howw goes the battle ?
[13:24] <Riddell> BluesKaj: for alpha 2?  just beginning :)
[13:25] <BluesKaj> Riddell,  good to hear :)
[14:05] <Quintasan> shadeslayer, Riddell, debfx: I'll be uploading fixed telepathy-qt4 shortly
[14:06] <debfx> Quintasan: I have already uploaded it
[14:06] <Quintasan> debfx: Thanks
[14:07] <Quintasan> And sorry for the mess
[14:14] <jussi> hrm, why is ctrl+shift+v now mapped to some klipper right click? 
[14:15]  * jussi wants his paste unformatted text back...
[14:15] <Quintasan> jussi: \o
[14:15] <Quintasan> They also took away drag and drop from Konsole a while back
[14:15] <Quintasan> I miss that feature
[14:16] <jussi> :(
[14:16] <jussi> hi Quintasan
[14:16] <ScottK> Quintasan: It's ctrl click now.  It's a one line patch to put it back (I need to update my PPA again)
[14:16] <Quintasan> ScottK: Did you ask dev if he could add it back as an option?
[14:17] <Quintasan> ScottK: Oh, I see, well, ctrl works fine too.
[14:17] <ScottK> Yes, didn't get much reply.  I think he'd take a patch, but isn't going to write the code to make it a choice.
[14:17] <ScottK> ctrl click is way more annoying though.
[15:37] <yuriy> since upgrading to 4.7.4 i've regularly had konqueror leak a bunch of memory overnight
[15:38] <Riddell> uh oh
[15:38] <yuriy> don't have much data beyond that unfortunately
[15:38] <Riddell> check if 4.8 has the same problem? check if upstream is aware?
[15:41] <yuriy> i'll upgrade to 4.8 and report if it happens again
[16:03] <yuriy> 4.8 did not restore my resolution
[16:06] <Riddell> yuriy: that's a common complaint I've heard
[16:06] <Riddell> I've not looked into it and I expect I won't have time
[16:08] <yofel_> true, something doesn't work right there. On my thinkpad KDE changed the default browser to rekonq twice since updating to 4.8, and I haven't figured out why it did that
[16:12] <debfx> Riddell: I've implemented the localized handbook splitting in amarok: https://bazaar.launchpad.net/~kubuntu-packagers/kubuntu-packaging/amarok/revision/107
[16:13] <Riddell> awesome, can look in a min
[16:21] <Riddell> debfx: looking good
[16:21] <Riddell> debfx: why did you remove "export KUBUNTU_DESKTOP_POT=extragear-multimedia_amarok" ?
[16:21] <Riddell> debfx: this will need a change in the script that generates language packs to depend on the right amarok one
[16:22] <debfx> Riddell: it's not used anymore as we don't strip desktop files
[16:29] <Riddell> debfx: oh ok, as long as we remember to add it back if that changes
[18:43] <debfx> is there a branch for kubuntu-netbook-default-settings?
[18:44] <debfx> the package says lp:~kubuntu-netbook/kubuntu-netbook/default-settings but that doesn't exist
[18:53] <Riddell> random review of minirok I noticed http://www.hecticgeek.com/2012/01/minirok-minimalist-music-player-kubuntu-kde/
[18:53] <Riddell> debfx: dunno check other places in launchpad?
[18:53] <Riddell> maybed moved to ~kubuntu-packagers
[18:53] <Riddell> or maybe it never existed
[18:54] <debfx> ~kubuntu-packagers is the first location I have checked
[19:03] <debfx> yofel: I have the same default-browser-reset bug but I think it started to appear before kde 4.8
[19:03] <debfx> possibly with kubuntu-default-settings 1:11.10ubuntu4
[19:04] <debfx>   * Set rekonq as explicit browser application in kdeglobals.
[19:05] <Riddell> koolhead17: hi?
[19:05] <koolhead17> hi Riddell
[19:06] <Riddell> koolhead17: this will take a bit of time because..
[19:06] <Riddell> owncloud is a fiddly thing to package
[19:06] <Riddell> and you don't know yet how to package
[19:06] <koolhead17> ok. sure
[19:06] <Riddell> and I'm slow these days for health reasons
[19:06] <Riddell> but let me set it up
[19:06] <koolhead17> k
[19:06] <Riddell> and we'll give it a good shot :)
[19:06] <koolhead17> awesome!!
[19:08] <Riddell> koolhead17: do you have a launchpad account with your ssh key?
[19:08] <koolhead17> yes
[19:08] <Riddell> where?
[19:08] <koolhead17> launchpad.net/~koolhead17
[19:11] <Riddell> koolhead17: let's try this on ec2
[19:11] <Riddell> ssh ubuntu@ec2-204-236-223-135.compute-1.amazonaws.com
[19:11] <Riddell> and run byobu
[19:11] <koolhead17> k
[19:12] <koolhead17> Riddell: am there :)
[19:12] <Riddell> koolhead17: type something
[19:12] <Riddell> koolhead17: awesome
[19:12] <koolhead17> ;-)
[19:12] <Riddell> koolhead17: ok can you owncloud the current package?
[19:13] <Riddell> can you install?
[19:13] <Riddell> just apt-get
[19:13] <koolhead17> yes it will give 1.1 owncloud version
[19:13] <Riddell> that's fine
[19:13] <Riddell> koolhead17: update apt
[19:14] <Riddell> koolhead17: set that to "a"
[19:14] <Riddell> keep it simple
[19:15] <Riddell> koolhead17: awesome it works! http://ec2-204-236-223-135.compute-1.amazonaws.com/owncloud/
[19:16] <Riddell> koolhead17: so we know ec2 and owncloud can work
[19:16] <koolhead17> yeah :P
[19:16] <Riddell> now we need to find out if we can get owncloud 3 working
[19:16] <Riddell> can you wget the current owncloud source?
[19:16] <koolhead17> yeah
[19:16] <koolhead17> yeah
[19:17] <koolhead17> the site seems slow. gimme few mins
[19:17] <koolhead17> Riddell: we need checksum as well?
[19:18] <Riddell> ideally yes
[19:18] <koolhead17> ok 2 mins. 
[19:18] <Riddell> lots of upstreams don't make that easy to find
[19:20] <koolhead17> Riddell: i specifically requested frank 4 it :P
[19:20] <Riddell> koolhead17: let's not worry about the checksum for now, just wget it
[19:20] <koolhead17> k
[19:21] <Riddell> oh their website doesn't make it easy to get a link
[19:21] <Riddell> if you have it locally you can scp it
[19:21] <Riddell> oh well done
[19:22] <koolhead17> ;-)
[19:22] <Riddell> let's see if we can get that working before we worry about the packaging
[19:22] <Riddell> koolhead17: just  tar xf  should be fine
[19:22] <koolhead17> :P
[19:24] <koolhead17> Riddell: whats next
[19:24] <Riddell> koolhead17: let me think
[19:25] <Riddell> koolhead17: I know
[19:25] <Riddell> we need to adapt /etc/apache2/conf.d/owncloud.conf
[19:26] <Riddell> it should point at /home/ubuntu/owncloud instead of wherever it points to for the package
[19:26] <koolhead17> ok. 
[19:26] <Riddell> koolhead17: use you favourite editor to do that
[19:27] <koolhead17> k
[19:29] <Riddell> koolhead17: that file still needs a change
[19:29] <Riddell> the first line
[19:29] <koolhead17> ooh yes
[19:29] <koolhead17> :P
[19:30] <Riddell> sudo :)
[19:31] <Riddell> ooh nicer http://ec2-204-236-223-135.compute-1.amazonaws.com/owncloud/
[19:31] <koolhead17> yes
[19:31] <koolhead17> we need to change config directory permission
[19:31] <Riddell> koolhead17: yes go ahead
[19:31] <koolhead17> so that the installer can write to it
[19:32] <Riddell> needs a chown too
[19:32] <koolhead17> Riddell: aah was going to ask the same
[19:32] <koolhead17> to www-data
[19:33] <koolhead17> >
[19:33] <koolhead17> ?
[19:33] <Riddell> yes
[19:33] <Riddell> just data/
[19:33] <Riddell> I cancelled your action
[19:34] <koolhead17> ok
[19:34] <koolhead17> done
[19:34] <Riddell> very good
[19:34] <koolhead17> shall i try with native sqlite
[19:34] <koolhead17> and see how it goes
[19:35] <Riddell> koolhead17: oh does it work?
[19:35] <koolhead17> lemme check LO
[19:35] <koolhead17> it should
[19:35] <Riddell> ok let's investigate that
[19:35] <Riddell> we will need to patch it so the data directory it on /var instead of locally
[19:35] <Riddell> koolhead17: are you making an admin account on the web interface?
[19:36] <koolhead17> Riddell: yes
[19:36] <koolhead17> by default the installer selects sqlite
[19:36] <koolhead17> and writes it
[19:36] <koolhead17> so i think php5-sqlite
[19:36] <koolhead17> is needed as well
[19:37] <Riddell> koolhead17: I'll let you install that then
[19:37] <koolhead17> ok 1 sec
[19:37] <koolhead17> Riddell: http://charms.kapilt.com/charms/oneiric/owncloud/hooks/install
[19:38] <Riddell> koolhead17: that's a magic thing from somewhere to do automatic owncloud setup?
[19:39] <koolhead17> Riddell: yeah. i myself wrote it
[19:39] <koolhead17> :P
[19:39] <Riddell> nifty
[19:39] <koolhead17> but its been tested on owncloud2 :P
[19:39] <Riddell> we can get rid of the mysql stuff then
[19:40] <Riddell> koolhead17: let me know when you've made an account
[19:40] <koolhead17> Riddell: but we would like to keep both
[19:40] <Riddell> in the packaging we can get rid of it
[19:40] <Riddell> the depends etc
[19:40] <koolhead17> Riddell: we will need both or probably stick to only mysql
[19:40] <koolhead17> :)
[19:41] <Riddell> koolhead17: for packaging?  why?
[19:41] <koolhead17> because am not very sure if any one will store his data on cloud/server with sqlite
[19:41] <Riddell> does it have limitations?
[19:42] <koolhead17> Riddell: owncloud gives/comes with both databases support
[19:43] <Riddell> yes but we should pick one as default for our package
[19:43] <Riddell> else it's a user decision and that's not nice
[19:43] <Riddell> mysql should be easy to do because we already do that
[19:43] <Riddell> sqlite should be easy but maybe there are other things we need to change for that like path
[19:44] <koolhead17> lets stick to mysql
[19:44] <koolhead17> only
[19:44] <Riddell> ok
[19:44] <Riddell> set yourself up an admin account with mysql
[19:44] <koolhead17> ok 
[19:46] <Riddell> koolhead17: I don't think you need to log in to mysql
[19:46] <Riddell> you can just use the web interface to set it all up
[19:46] <Riddell> we set the mysql admin password earlier
[19:46] <koolhead17> ok lemme see that
[19:47] <koolhead17> Riddell: You can usually fix this by giving the webserver use write access to the config directory in owncloud
[19:47] <koolhead17> :P
[19:47] <koolhead17> so need write permission 4 that direcotry too
[19:48] <Riddell> koolhead17: go ahead and chmod/chown that then
[19:48] <koolhead17> i saw it 777 on native source pkg which is scary :(
[19:49] <Riddell> on the current ubuntu package is /var/lib/owncloud/config is www-data and -rw-r--r--
[19:49] <Riddell> no drwxr-xr-x
[19:49] <Riddell> so that's fine
[19:50] <koolhead17> Riddell: am logged in
[19:50] <koolhead17> :)
[19:50] <koolhead17> see the url
[19:50] <Riddell> koolhead17: what is the admin account details?
[19:50] <koolhead17> admin admin
[19:51] <Riddell> nice
[19:51] <Riddell> owncloud is getting slicker in its UI
[19:51] <koolhead17> Riddell: indeed. awesome UI
[19:51] <koolhead17> Riddell: http://ec2-204-236-223-135.compute-1.amazonaws.com/owncloud/settings/admin.php
[19:52] <koolhead17> seems like we need to add few more deps
[19:52] <Riddell> just php-gd?
[19:52] <koolhead17> yes
[19:52] <Riddell> so we can package it now and add that
[19:53] <Riddell> we'll also need to port the patch for directory changes
[19:53] <Riddell> seeming do-able
[19:53] <koolhead17> yes
[19:53] <Riddell> koolhead17: find a new directory and let's package it
[19:53] <koolhead17> k
[19:53] <Riddell> make..
[19:54] <Riddell> no that's fine
[19:54] <Riddell> next make a dir called "current" and apt-get source the current package
[19:55] <Riddell> install devscripts
[19:55] <koolhead17> k
[19:56] <Riddell> rename upstream tar to <name>_<version>.orig.tar.<compression>
[19:56] <Riddell> the underscore is important
[19:57] <koolhead17> k
[19:59] <koolhead17> done
[19:59] <Riddell> uncompress that (just  tar xf filename  will do)
[19:59] <Riddell> uncompress the current package with dpkg-source -x foo.dsc
[20:00] <Riddell> and copy the debian/ directory from the current to the new sources
[20:02] <koolhead17> Riddell: gpg key error
[20:02] <Riddell> that's not important
[20:02] <koolhead17> k
[20:03] <koolhead17> btw i got the md5 checksum as well
[20:03] <koolhead17> :)
[20:03] <Riddell> does the tar we got match?
[20:05] <debfx> apachelogger: BrowserApplication[$e]=!rekonq <-- what does the [$e] mean?
[20:05] <koolhead17> am checking
[20:06] <Riddell> koolhead17: yay, owncloud is not 0wned!
[20:06] <koolhead17> Riddell: yes, :P
[20:06] <Riddell> so copy the debian/ directory from the current package to the new one
[20:07] <koolhead17> k
[20:08] <Riddell> koolhead17: great
[20:08] <Riddell> as you've noticed a .deb package is made by adding a debian/ directory
[20:09] <koolhead17> yes
[20:09] <Riddell> it has various files on it to do various tasks
[20:09] <Riddell> and we need to tweak those and run the magic commands to build the package and probably tweak some more until it works
[20:09] <koolhead17> ok
[20:09] <Riddell> cd into the new sources
[20:10] <Riddell> dch -i
[20:10] <Riddell> that opens a new editor ready to add a new changelog entry
[20:10] <Riddell> feel free to look around first
[20:10] <Riddell> and ask any questions
[20:11] <koolhead17> it will ask info about what modification we are doing and will take name/mail address
[20:11] <Riddell> koolhead17: changelog text can be just "new upstream release"
[20:11] <koolhead17> k
[20:12] <Riddell> fix the version number (I'll be impressed if you can work out what to)
[20:12] <Riddell> and the name/email
[20:12] <koolhead17> k
[20:13] <Riddell> version number is first line of file
[20:13] <koolhead17> ooh ok
[20:15] <Riddell> very close on the version no
[20:15] <Riddell> 3.0-0ubuntu2
[20:15] <Riddell> that's..

[20:15] <Riddell> so it should be set to 3.0-0ubuntu1
[20:15] <Riddell> because this is the first ubuntu package
[20:15] <Riddell> and the zero'th debian package
[20:15] <Riddell> and upstream 3.0 (or 3.0.0 either is fine)
[20:15] <Riddell> you can just edit  debian/changelog to edit it
[20:17] <koolhead17> done
[20:17] <Riddell> lovely
[20:17] <Riddell> now patches
[20:17] <Riddell> we have two
[20:17] <Riddell> and they need to be adapted to the new version
[20:17] <koolhead17> php5-gd
[20:17] <Riddell> ok let's that that first
[20:17] <Riddell> do you know the package name?
[20:17] <koolhead17> php5-gd
[20:17] <Riddell> add it to the list in debian/control
[20:18] <koolhead17> lemme recheck it :P
[20:18] <Riddell> I don't see a package called php5-gb
[20:18] <koolhead17> Riddell: i just installed, check screen :D
[20:19] <Riddell> oh php5-gd  not php5-gb
[20:19] <Riddell> my mistake
[20:19] <Riddell> good add it in debian/control
[20:19] <koolhead17> k
[20:19] <Riddell> as you can see this file contains lots of meta-data
[20:20] <koolhead17> yes
[20:20] <Riddell> both for the source package and for the binary packages we want to produce
[20:20] <koolhead17> hmm
[20:20] <Riddell> that's good, save that
[20:20] <koolhead17> k
[20:23] <Riddell> koolhead17: so patches
[20:23] <Riddell> the tricky bit
[20:23] <Riddell> cd ..
[20:23] <Riddell> quilt push
[20:23] <koolhead17> k
[20:23] <Riddell> that will fail I'm sure
[20:24] <Riddell> (quilt is a programme to help manage patches)
[20:24] <koolhead17> hehe
[20:24] <koolhead17> ok
[20:24] <Riddell> set $QUILT_PATCHES to
[20:24] <Riddell> debian/patches
[20:25] <Riddell> export :)
[20:25] <Riddell> koolhead17: let me do it
[20:26] <Riddell> koolhead17: most packagers do that in their .bashrc
[20:26] <Riddell> quilt push  to try the first patch
[20:26] <koolhead17> hmm. do i need to source .bashrc before that
[20:26] <Riddell> if you want to set up a .bashrc you would need to but it's worth it on an ec2 machine
[20:26] <koolhead17> k
[20:27] <Riddell> export is fine and I've done that
[20:27] <koolhead17> hmm cool
[20:27] <koolhead17> so quilt failed
[20:27] <koolhead17> :P
[20:27] <Riddell> koolhead17: as expected.  how's your php?
[20:27] <koolhead17> Riddell: not great but can look into the code 4 sure :)
[20:28] <Riddell> koolhead17: how about I try it and you can point out my mistakes?
[20:28] <Riddell> I don't know if this will be easy or hard
[20:28] <koolhead17> k
[20:28] <Riddell> the patch changes some things in the code so it can usr /var for data and config directories
[20:29] <koolhead17> ok. 
[20:29] <Riddell> feel free to ask any questions
[20:30] <koolhead17> can we automate it to an extend that by default user only gets an interface where he/she can do first login with admin/ubuntu?
[20:30] <koolhead17> via patch? 
[20:31] <Riddell> that'll be fiddly
[20:31] <koolhead17> ok.
[20:31] <Riddell> needs whatever the owncloud first run wizard does to be done in our packaging
[20:32] <Riddell> setting up mysql and more
[20:33] <koolhead17> hmm. 
[20:46] <Riddell> koolhead17: ok maybe that will work
[20:46] <Riddell> I tried to adapt it to the modern code
[20:46] <Riddell> but it's dangerous to do that without testing so it might still break
[20:47] <koolhead17> Riddell: k
[20:47] <Riddell> quilt pop  now removes that patch and  quilt push  applies it
[20:47] <Riddell> any questions?
[20:47] <Riddell> we have a second patch to do
[20:47] <koolhead17> ok
[20:48] <Riddell> koolhead17: do you know if owncloud has removed the includes it used to have?
[20:48] <Riddell> koolhead17: are you an owncloud upstream developer or just interested?
[20:49] <koolhead17> Riddell: i am one of the contributors not core devs though
[20:49] <koolhead17> and yes. there is no schema.sql file anymore
[20:50] <Riddell> but there is stuff in 3rdparty/
[20:50] <koolhead17> the xml file is used for it
[20:53] <Riddell> koolhead17: well I've disabled it, it'll take time to adapt it properly
[20:54] <Riddell> we should moan to upstream about needing to do these patches
[20:54] <koolhead17> hmm. 
[20:54] <Riddell> koolhead17: now another fiddly bit
[20:54] <Riddell> debian/rules
[20:54] <Riddell> it's a make file to describe how to build and package the .debs
[20:54] <koolhead17> k
[20:54] <Riddell> because owncloud doesn't have a simple make; make install build system it has a lot of custom commands
[20:55] <Riddell> they will need to be adapted to the new code
[20:55] <Riddell> do you want to try it or shall I do it?
[20:55] <koolhead17> i can try it
[20:56] <Riddell> first bit under dh_install should be fine
[20:56] <Riddell> "#remove unused files to keep lintian happy" I expect all the ones under that will have changed
[20:57] <Riddell> "#remove PEAR modules, use packaged versions instead" command out those lines since we are not doing that for now
[20:57] <Riddell> that's it
[20:57]  * Riddell gets a drink
[21:01] <Riddell> koolhead17: that's probably fine for now
[21:01] <koolhead17> k
[21:01] <Riddell> "#remove unused files to keep lintian happy"  I'd like to fix that but we can do that later
[21:01] <Riddell> let's try building it and see what happens
[21:01] <Riddell> the magic command is  "debuild"
[21:01] <koolhead17> k
[21:02] <Riddell> koolhead17: ok first problem
[21:02] <Riddell> tar uses 3.0.0
[21:02] <Riddell> changelog uses 3.0
[21:02] <Riddell> edit the changelog
[21:02] <koolhead17> ooh ok
[21:03] <Riddell> I cancelled
[21:03] <Riddell> wrong directory
[21:03] <Riddell> go into ownclowd/ again
[21:03] <Riddell> and debuild there
[21:03] <koolhead17> k
[21:03] <Riddell> koolhead17: install that package
[21:04] <Riddell> progress...
[21:05] <Riddell> let me think what is wrong there
[21:05] <Riddell> koolhead17: oh yes owncloud.install needs adapted
[21:05] <Riddell> koolhead17: do you want to try or do you want me to do it?
[21:06] <koolhead17> Riddell: i can see :)
[21:06] <Riddell> work out what directories still need to be installed and where to
[21:06] <Riddell> and edit that file to adapt it
[21:08] <koolhead17> Riddell: i dont see info about data file
[21:08] <Riddell> koolhead17: "data file"?
[21:09] <koolhead17> data <dir> i meant
[21:09] <Riddell> let me see
[21:09] <Riddell> koolhead17: there we go, it gets made by the owncloud.dirs file
[21:10] <Riddell> and permissions set in the debian/rules file
[21:10] <koolhead17> ok
[21:11] <koolhead17> i dont see any missing file/dir from there source arch
[21:12] <Riddell> "admin /usr/share/owncloud" is in owncloud.install
[21:12] <Riddell> that wants to copy the admin/ directory from the owncloud sources to the install directory
[21:13] <Riddell> which was needed in 1.1
[21:13] <Darkwing> hey guys
[21:13] <Riddell> but it gone in 3.0
[21:13] <Riddell> koolhead17: do we need to work out what directories are not needed any more and can be removed from owncloud.install and which are still needed and which are new
[21:13] <Riddell> hi Darkwing, I'm in the middle of a packaging lesson with koolhead17 
[21:14] <Riddell> he's doing very well :)
[21:14] <Darkwing> oh awesome. :)
[21:15] <koolhead17> Riddell: shall i make a clean source based owncloud3 install to see/understand the same :P
[21:15] <Riddell> koolhead17: if you like
[21:16] <Riddell> new dir, uncompress tar, manually copy to /usr/share/owncloud, see if it works
[21:16] <Riddell> you'll need to apt-get remove owncloud first
[21:16] <Riddell> this is what makes owncloud fiddly, most packages have a simple make; make install
[21:18] <koolhead17> Riddell: ok
[21:22] <Riddell> koolhead17: say if you get stuck
[21:22] <koolhead17> Riddell: i think i need to change the apache config
[21:23] <koolhead17> i have moved owncloud3 in /usr/share
[21:23] <koolhead17> after removing owncloud 1 pkg
[21:23] <Riddell> koolhead17: moving the whole thing into /usr/share is no good
[21:23] <koolhead17> ooh
[21:24] <Riddell> you need to do what the package wants to do and move only some bits into /usr/share
[21:24] <Riddell> and you need to work out which bits
[21:24] <Riddell> koolhead17: let me try for a bit
[21:24] <koolhead17> ok
[21:24] <Riddell> /etc/apache2/conf.d/owncloud.conf  should be the file apache needs
[21:24] <koolhead17> yes
[21:26] <Riddell> koolhead17: right what do we need to move to /usr/share/owncloud for it to still own
[21:26] <Riddell> koolhead17: right what do we need to move to /usr/share/owncloud for it to still work
[21:26] <Riddell> I think it's everything except..
[21:26] <Riddell> licences, config/, data/
[21:27] <Riddell> koolhead17: do you want to try that or shall I?
[21:27] <koolhead17> i can do it
[21:27] <Riddell> go ahead
[21:27] <Riddell> sorry
[21:28] <Riddell> go ahead
[21:28] <Riddell> my mistake
[21:29] <Riddell> (I normally use cp -r, apparantly it is the same as cp -R, I've learnt a new thing)
[21:31] <koolhead17> Riddell: i have the required files now
[21:31] <Riddell> see http://ec2-204-236-223-135.compute-1.amazonaws.com/owncloud/
[21:31] <Riddell> my patch is missing something
[21:31] <Riddell> it is still looking in /usr for the data/ dir
[21:31] <Riddell> we want it to look in /var
[21:31] <Riddell> sigh, let me see what I can do
[21:34] <Riddell> koolhead17: ok cool
[21:34] <Riddell> when I copy the patched version of owncloud http://ec2-204-236-223-135.compute-1.amazonaws.com/owncloud/ is looking good
[21:35] <Riddell> koolhead17: so now you can adapt owncloud.install to install everything except data/ config/ and the human readable files
[21:36] <Riddell> (I can do another 30 mins of this, I hope it's not too late for you)
[21:36] <koolhead17> Riddell: the installer showing access via sqlite as well
[21:36] <koolhead17> is it because we have moved the source
[21:36] <Riddell> koolhead17: hmm so maybe there is more to be patched
[21:37] <Riddell> but let's get the package done then worry about the fine details in the patch
[21:37] <koolhead17> ok
[21:42] <koolhead17> dh_install: cp -a debian/tmp/admin debian/owncloud//usr/share/owncloud/ returned exit code 1
[21:43] <Riddell> owncloud.install needs adapted
[21:43] <Riddell> for every file in the sources in this version it should have a line in owncloud.install to copy it
[21:43] <Riddell> file or directory
[21:44] <Riddell> koolhead17: I can do it if you don't quite get it
[21:44] <koolhead17> yes please
[21:44] <Riddell> doing
[21:45] <Riddell> koolhead17: that should be it
[21:46] <Riddell> koolhead17: progress!
[21:46] <Riddell> a new problem, let me think
[21:46] <koolhead17> chown: cannot access `debian/owncloud/var/lib/owncloud/config': No such file or directory
[21:48] <Riddell> koolhead17: it's complaining that nothing is making that directory
[21:48] <Riddell> and I don't remember what did make it in the current packaging
[21:48] <Riddell> but I've added it to owncloud.dirs to make it
[21:48] <Riddell> koolhead17: try a debuild again
[21:49] <koolhead17> same error
[21:49] <koolhead17> no diferent error
[21:49] <koolhead17> chmod: cannot access `debian/owncloud/var/lib/owncloud/config/config.sample.php': No such file or directory
[21:49] <Riddell> right new error
[21:50] <Riddell> let me look
[21:51] <Riddell> koolhead17: I fixed it, added config/ back to .install file where it should have been
[21:51] <Riddell> try again
[21:52] <koolhead17> some new errors
[21:52] <Riddell> let me look
[21:52] <Riddell> koolhead17: you missed out some lines commenting out from debian/rules 
[21:52] <Riddell> koolhead17: go again
[21:53] <Riddell> looking
[21:54] <Riddell> koolhead17: .docs file was out of date, adapted, go again
[21:55] <Riddell> oh boy, progress!
[21:55] <Riddell> in ~/pkg is there a .deb?
[21:55] <koolhead17> Riddell: :D
[21:55] <Riddell> there is!
[21:56] <Riddell> use lesspipe file.deb  to see what's in it
[21:56] <Riddell> "lesspipe"
[21:56] <koolhead17> k
[21:56] <Riddell> it's a command
[21:57] <Riddell> looking good
[21:57] <koolhead17> :)
[21:57] <Riddell> koolhead17: let's try and install it
[21:57] <Riddell> dpkg --install file.deb
[21:58] <Riddell> http://ec2-204-236-223-135.compute-1.amazonaws.com/owncloud/ is still working
[21:58] <Riddell> so that's promising
[21:58] <Riddell> koolhead17: do you have a PPA on launchpad to put this into?
[21:58] <koolhead17> Riddell: never created one :P
[21:58] <Riddell> or I can put it into mine
[21:59] <Riddell> koolhead17: you have no gpg keys in launchpad
[21:59] <Riddell> koolhead17: do you have gpg keys?
[21:59] <koolhead17> Riddell: i have one
[21:59] <koolhead17> need to add it
[21:59] <koolhead17> uploaded to ubuntu server
[22:00] <Riddell> go to https://launchpad.net/~<user>/+editpgpkeys
[22:00] <Riddell> Import Key
[22:00] <Riddell> and work out how to set up a PPA
[22:00] <Riddell> (or we can just use mine)
[22:03] <koolhead17> done
[22:04] <Riddell> koolhead17: gpg key imported?
[22:04] <koolhead17> yes :)
[22:05] <Riddell> koolhead17: PPA activated?
[22:07] <koolhead17> Riddell: i think you should upload it. 
[22:07] <koolhead17> :)
[22:07] <koolhead17> PPA is not activate
[22:07] <koolhead17> d
[22:08] <Riddell> ok let me see if I can just do it
[22:13] <Riddell> koolhead17: ok I've signed it
[22:13] <Riddell> koolhead17: you can now upload to my ppa
[22:13] <Riddell> dput ppa:jr <file>.changes
[22:13] <Riddell> actually look through the .changes file first to check it's sane
[22:13] <koolhead17> Riddell: essentially the deb file
[22:14] <Riddell> it lists the files to be uploaded
[22:15] <Riddell> which are the files that we call a "source package"
[22:15] <Riddell> do the dput
[22:16] <Riddell> koolhead17: there are two .changes, you need the source.changes file
[22:17] <koolhead17> k
[22:18] <Riddell> oh hmm
[22:18] <koolhead17> gpg: Signature made Mon 30 Jan 2012 10:12:31 PM UTC using DSA key ID DD4D5088
[22:18] <Riddell> koolhead17: try adding --unchecked
[22:19] <Riddell> it's trying to look for my gpg key to check
[22:20] <koolhead17> uploaded
[22:20] <Riddell> progress!
[22:21] <Riddell> koolhead17: it should appear at https://launchpad.net/~jr/+archive/ppa/+packages shortly
[22:21] <Riddell> and with luck compile 
[22:21] <Riddell> and we can install and test and work out what else needs to be done
[22:21] <koolhead17> Riddell: its there :P
[22:21] <Riddell> well done on making your first package!
[22:22] <koolhead17> Riddell: thanks to you. i just followed steps you guided me to :)
[22:23] <Riddell> koolhead17: lots of small fiddly things to learn aren't there?
[22:23] <koolhead17> yes.
[22:23] <Riddell> but you'll learn them quickly enough
[22:23] <Riddell> that package will need some more work but that's all I have time for today
[22:24] <koolhead17> yes.
[22:24] <Riddell> I think ec2 works quite well as a tutorial tool
[22:24] <koolhead17> yes espacially the screen sesssion
[22:32] <koolhead17> Riddell: lets work on the nitty/gitty leftover tomorrow :)