[00:00] jarkko, yep [00:01] yes, or apt-get [00:01] easy-peasy [00:03] have you tried it? [00:03] that it works and dont break x [00:04] jarkko: I installed Ubuntu then Kubuntu-desktop package and I;m fine [00:05] well i am happy with kde, but i would like to it to start a bit faster === gla is now known as zoranoth [01:51] yofel: what did lintain tell us? [01:51] oh sorry, got distracted :/ [01:51] ok, lets see where we left off [01:51] thats ok [01:53] now that we have the built package, lintian can not only check for common errors in the source, but also in the finished package [01:53] you can find the explenation of the tags on lintian.debian.org, e.g. http://lintian.debian.org/tags/copyright-refers-to-deprecated-bsd-license-file.html [01:54] for now we'll leave lintian, and check for the next script output [01:54] list-missing [01:55] there is nothing there [01:55] that tells whether there are any files that are not in any deb [01:55] in this case, it's empty, so all files are installed and we're good [01:56] cool [01:57] for library packages this would be the point where you would check for symbol diffs in the log, but here we don't have any so we're done looking at the log for now [01:57] so we see all debs are built [01:58] the result folder also has the build log in it should you want to take another look at it later [01:59] no 32 bit build? [01:59] we only did one pbuilder build, and that defaults to the host architecture. You could build for 32bit too, but that would require another build and a 32bit pbuilder chroot [02:00] easy to do, but normally checking just one arch is fine [02:00] as it would build for both for sure [02:00] pbuilder doesn't make a difference between the packages it builds on specific archs like launchpad does [02:00] it always builds everything [02:02] as the package built fine, the package is done from a technical standpoint [02:03] what we still have to do is update the copyright information in debian/copyright and fix the lintian warnings that are fixable [02:04] updating the copyright information is possibly the most boring and tricky thing to do for a package [02:04] lets take a look at the current file [02:05] in the file you see a small header, then every file is listed with it's respective license and the copyright holders [02:06] at the bottom of the file you find the short descriptions of the licenses with references to the full ones, or if a license doesn't have a short form then you see the whole license there [02:07] I see [02:07] there is sadly no fully automated way of updating the information [02:07] so what magic script tells us what has changed lol [02:08] so what I usually do is take the file, and check whether the information is still correct by combinding licensecheck, grep, cut and some shell magic [02:08] I think there's a bit easier way to do it, but that's how I do it [02:09] oh ok then [02:09] at this point: a small lesson in byobu: You can create shell tabs with F2 and switch with F3/F4 [02:10] it would be nice if it was that easy :S [02:10] I'll show you how licensecheck works [02:11] so, licensecheck nicely shows us under which license a file is [02:13] it can also show what copyright it has, but at least to me that's of limited use as it's hard to filter [02:13] nice for small packages, but for something as large as tomahawk.. not really [02:14] so I usually go and filter by license (as that's how the copyright file is grouped) [02:14] the full syntax of the debian/copyright file is documented on http://dep.debian.net/deps/dep5/ btw. [02:14] so we do that on for both packages? and then change as neeeded? [02:15] both packages? You only need to update the new one [02:15] well you need to see what it was before [02:16] that's already documented in the copyright file [02:16] you *could* ofc. make a full source diff of 0.6 to 0.7 and parse the changed copyright information out of that [02:17] I'll show you how I usually do it [02:17] where does it say that a license is different [02:18] well, we have nothing that can compare that, so finding that out is up to you [02:18] making a diff will show the license as changed [02:18] or you could go and essentially re-create the copyright file which is kinda what I do [02:19] you can ask the others too how they do it, maybe they have a better procedure ^^ [02:19] this is a bit over my head I have a headache lol [02:20] licensing is always headache material. Sometimes you could really use a lawyer for this -.- [02:21] just this altogether I mean [02:21] not something I'm used too [02:21] *to [02:21] you'll get used to it, it takes some practice though ^^ [02:21] heck I don't even understand what your writing [02:22] in the shell you see what I usually do: get the licenses, filter files by license, then get just the filename from the list, grep for copyright in those files, then filter by user [02:22] what is happening [02:22] lol [02:22] it's magic :P [02:23] a script doing this for you is magic [02:23] this is something that can't be said over irc [02:23] well, there have been attempts, haven't really seen a good working one for dep5 though [02:23] nor do I really remember where they are [02:25] oh [02:25] lol [02:25] so at this point, I would check the output whether the copyright information for that user is still correct [02:25] in this case, just make sure all copyright years are documented [02:26] which is ok, so now I go and filter that user out [02:26] and filter for the next user [02:27] now repeat that for every user, and every license, and at some point you're done [02:28] if one would like to do it the diff way, I guess it would go like this [02:29] so make a diff, then look for added/removed/changed copyrights and update the file accordingly [02:29] now you can try yourself at this a bit if you want to [02:30] as I'll have to sign off for today [02:30] it's 3:30AM and i'm slowly falling asleep :/ [02:34] oh ok then ll [02:34] you have to sleep === jacky is now known as ThisNickIsHowFre === ThisNickIsHowFre is now known as Jacky [08:57] Good morning. [13:45] Hiyas all [18:32] I think I have figured out my first patch for kdelibs (in kdelibs/kio/kfile/kpropertiesdialog.cpp) [18:33] but I have no experience with compiling such large stuff ... is it possible to compile kpropertiesdialog standalone? [18:36] or is it necessary to compile whole kdelibs? [18:48] tester56:you need to compile everything [18:48] Peace: okay, and how do I test? do I really have to replace the system files? [18:49] tester56: i have tried a patch for dolphin for example [18:49] tester56: and i have compiled it again with my modifications => http://nowardev.wordpress.com/2013/11/18/automatic-video-audio-preview-with-dolphin-kde-hovering-a-file/ [18:49] tester56: try to figure out reading how i have compiled it ... [18:50] tester56: read this step THIRD STEP : COMPILE DOLPHIN AND INSTALL IT [18:50] tester56: in that tutorial you get a debian pacakge [18:51] tester56: so if someting goes wrong just reinstall the default debian pacakge and you are done [19:04] i want to check out if the bug i have found is already fixed in frameworks, where can I find kio in neon? [19:04] Peace: thanks, I will try it [19:06] kio is not listed here: https://launchpad.net/~neon/+archive/kf5 [19:07] is it part of any of the listed packages? [19:10] tester56: project-neon5-kio [19:11] yofel: yeah i am an idiot, i was not able to go to page 2 [19:11] ^^ [19:11] easy to miss on launchpad :P [19:15] yofel: could you say me how to get it with bzr? I seems to be too stupid for that too ... [19:18] because i need the code and not the package ... [19:19] tester56: I don't think we have bzr imports for those, use: [19:19] git clone git://anongit.kde.org/kio [19:20] yofel: thanks [19:21] valorie: how did it go? [19:29] what state is 14.04 in right now? [19:42] when i simply run cmake when compiling kdelibs, the install directory is the default one, meaning it will replace system files, right? [19:42] (when running make install) [19:44] no, it should default to /usr/local/ [19:44] you could simply replace the lib you want to test if you know which one it is [19:45] /usr/local/ should be hiding the system libs when installed though, just remember to make uninstall them later [19:46] so when i make install, the newly compiled ones will be used? [19:46] jussi: usable, mostly. My issues on my notebook are nvidia driver crashes somehow related to opengl, kernel sometimes not waking from suspend and for some reason virtuoso does nothing but crash on this one system [19:46] other than that it runs fine for me [19:50] yofel: and the path used by kubuntu is /usr ? [19:51] yes [19:51] so setting path to /usr will override the right files? [19:55] yofel: ok, nice. might go ahead and do the update then... especially as I have intel on this machine... [19:58] tester56: yes, should be -DCMAKE_INSTALL_PREFIX=/usr I think. But I wouldn't really recommend that, if you can patching and rebuilding the package would be safer [20:04] yofel: btrfs snapshots should help in that case ;-) [20:04] agreed ^^ [20:15] okay something went wrong ... [20:16] in CMakeLists.txt in kdelibs: [20:16] set (KDE_VERSION_MAJOR 4) [20:16] set (KDE_VERSION_MINOR 15) [20:16] set (KDE_VERSION_RELEASE 70) [20:17] so after installing, all kde applications should show 4.15.70 as version, right? [20:17] (in about KDE) [20:24] :-( [20:24] they should show whatever kde4-config --version shows [20:24] I don't know where that comes from though [20:25] when i ran make install there are many of those entries: Installing: /usr/include/kio/jobclasses.h [20:25] why are source files installed? [20:25] those are library headers [20:26] you need those to build anything that uses the libs [20:34] yofel: but the install seems to have gone right: http://pastebin.com/Lkk649Fz or? [20:34] looks right.. I think [20:40] yofel: okay i think i understand what i did wrong ... [20:40] yofel: if dolphin uses kdelibs/kio/kfile/kpropertiesdialog.cpp i have to compile dolphin against it, right? [20:41] not if the so version of the lib that the code is in is still the same [20:42] /usr/lib/libkio.so.5 I guess? [20:42] yofel: not sure ... [20:43] yofel: I have changed something there but I do not see the changes applied ... [20:46] yofel: plasma is in kdelibs, right? [20:46] plasma is in kde-workspace [20:47] ah [20:47] libplasma3 is part of kdelibs though [20:49] yofel: so you say it is not necessary to rebuild dolphin? [20:50] it shouldn't be, but if you're unsure you can always try to do that. [20:50] I'm not familiar enough with kdelibs and don't have enough time to take a close look at this to give a definite answer [20:51] yofel: okay thanks for your great help ! [20:58] yofel: okay there seems to be somethin wrong [20:58] kmailservice -v outputs KDE Development Platform: 4.12.1 [20:59] in the build folder in bin it outputs KDE Development Platform: 4.15.70 [20:59] as expected [20:59] yofel: that means the systemfiles did no replaced [21:00] try to reload the session? Some libs might still be loaded [21:00] i have rebooted after installing [21:00] if the install went ok then that's the only thing I can think of [21:00] dunno then, maybe #kde-devel knows more [21:03] yofel: i do not understand the world atm ... it installed /usr/bin/kmailservice according to the output ... [21:03] then i test the two binaries and they do not match ... WTF? [21:04] trying again now [21:05] it could be that an RPATH was set and it's loading libs from different locations [21:05] wild guess [21:06] yeah but i ran the path it installed it too and it did not match ^^ [21:06] i did a btrfs snapshot before installing though ... [21:06] could that be related? [21:07] unlikely... unless you're running the wrong snapshot or so [21:08] yofel: anyway building whole kdelibs now ... before I only build kio ... [21:11] yofel: there kde4-config is included now :-) [21:16] yofel: is that shared chroot running? [21:16] ahoneybun_: should be [21:19] yep [21:21] what is the key to remove a shell yofel? [21:24] ahoneybun_: just close it with ctrl+d [21:25] look in debian/copyright correct? [21:25] for the licenses and such [21:26] right, that's where we left off [21:32] I have th 0.6 and 0.7 debian/copyright files open but see no difference [21:33] right, as I said yesterday, the 0.7 file is a copy of the 0.6 file [21:33] oh [21:33] it now has to be updated with the 0.7 license information [21:33] that is documented in the tomahawk source [21:33] looking [21:33] the debian/copyright file is essentially a documentation of all the copyright headers in the source [21:34] no, that's something else [21:35] do you remember licensecheck? [21:36] does it matter where I run it? [21:36] yes, as you need to tell it which files to check [21:36] -r * [21:36] does the trick if you're in the package root [21:37] uhm [21:37] * ? [21:39] I don't remember the use of grep and such though [21:39] to filter [21:40] ok, I guess we'll do it my way [21:40] that'll take a while though [21:40] well I don't know anyway but kinda yours [21:40] ok, lets go back to the copyright file [21:40] I mean I can look though that long list [21:40] and compate [21:40] compare [21:41] right... but that would probably take ages for tomahawk - would still work ofc. ^^ [21:41] Files: * [21:42] so you look though licensecheck and put each file in the right license in the copyright file? [21:42] means that we assume that all files that aren't specified in another section are [21:42] License: GPL-3+ [21:43] kinda. You need to document what files have what copyright, and who holds the copyright on that [21:44] so I usually update the file starting from the top [21:44] from the first license [21:44] I'm trying to see the command [21:45] ok, so now I've filtered out all files that are GPL-3+ [21:45] so just the license so options or anything [21:45] right, works better for me for filtering [21:45] as I need only the file list [21:45] now some shell magic [21:46] that'll cut the output apart on the colon and give me only the first part [21:46] now some more magic [21:47] xargs will append the file list after the 'grep -i copyright' [21:47] that way we can grep through all the listed files [21:48] yay, and it's listing all the copyright holders for the GPL-3+ files [21:48] now we have tons of duplicates ofc. so I filter only one person out [21:48] after this we can just copy and paste no? [21:48] well, we only need every person *once* [21:49] yea [21:49] so we need to merge all the copyright years [21:49] oh boy [21:49] currently we have 2010-2012, so I'll filter for 2013 as that's the only thing that could've been added [21:50] nothing, great [21:50] so nothing to do for that person [21:50] hard part is to remember these command [21:50] and options [21:51] now, as I'm done with him, I add -v to grep, which changes behaviour from 'filter for' to 'filter out' [21:51] just to make sure we didn't have 2 christians ^^ [21:52] ahoneybun_: you can just copy the ~/.bash_history file later [21:52] that should have most of the commands inside [21:52] now to the next person [21:53] ok, no update for leo either [21:54] ahoneybun_: so, do you kinda see what I do? [21:54] yea let me try for a sex [21:54] sec [21:54] sec [21:54] crap [21:55] nothing new from him [21:56] Quintasan: you were asking what kinda weird shell magic I do to filter licenses, it looks like this :P [21:56] licensecheck -r * | grep GPL | grep v3 | grep later | cut -f 1 -d : | xargs grep -i copyright | grep -i -v christian | grep -i -v franchi | grep -i mitchell | grep 2013 [21:57] okay [21:57] that's magic allright [21:57] :D [21:57] new things [21:57] right [21:57] so now you can change the year range to 2010-2013 [22:01] stop [22:02] ops [22:02] that's why I like to only append grep 2013 in the second run [22:02] already updated [22:02] so I'm sure I did filter right in the first try [22:05] i see [22:07] that's the packager coyprights, you won't find those anywhere [22:07] you may add yourself there btw ;) [22:07] I don't really feel that I have done enough to earn that right [22:07] nobody cares about that ;P [22:08] as the list above was done, you should now check for new people [22:08] do I keep all these names for the next list? [22:09] I see I can't save [22:09] huh [22:10] what's the shortcut for that? [22:10] crtl-s pops that message [22:10] aha, never saw that before ^^ [22:10] but then again, I don't use nano [22:10] now give me a sec to check something [22:10] how did you check for new people? [22:11] see our changes did not save [22:12] seems it did [22:12] oh well, it saves on exit [22:14] hm, I wonder why nokia wasn't added [22:15] anyway [22:15] to check for anything new that's missing, just filter out everything we checked before, and look at the leftovers [22:16] which in this case is some code, nokia, and a copyright entry for a different license (that part of FdoNotifyPlugin.cpp is GPL-2+) [22:17] IMO, nokia does belong into the copyright file, so can you please add it? [22:18] it's already open [22:19] ahoneybun_: wait [22:19] what license are we checking? [22:20] I thought to add the file [22:20] well, which license are we checking? [22:21] we just check gpl 3+ [22:21] ok, and what license is that section of the file for? [22:21] (see 2 lines below) [22:22] gpl 2+ [22:22] no [22:22] LGPL-2 [22:22] and that's not GPL-3+ [22:22] our GPL-3+ section was at the top of the file [22:23] again [22:23] that's GPL-2+ [22:23] I'm trying to add that nokia file [22:23] ok, I'll do it [22:23] we were checking GPL-3+ [22:24] oh come on [22:25] ahoneybun_: getting into packaging? [22:26] he is, tomahawk simply wasn't the best thing to start with. I'm trying to teach him how to do the copyright file [22:26] tomahawk is a licensing chaos :S [22:26] Riddell: mostly watching [22:27] src/libtomahawk/utils/StyleHelper.h (C) nokia gpl-3+ [22:27] src/libtomahawk/utils/StyleHelper.cpp (C) nokia gpl-3 [22:27] no + [22:28] bbl crap [22:28] k [23:08] Riddell: went well [23:08] I might blog about it today [23:09] back [23:12] ahoneybun_: wb [23:12] thanks [23:13] ok, so lets do things strictly by handbook and add nokia [23:13] as our first section is for any file, we don't need to add any [23:14] now, annoyingly one file is only gpl-3, so lets add that [23:17] and add a new full section for the GPL-3, as that was missing [23:18] ahoneybun_: so that concludes our work for GPL-3+ [23:18] on to the next license.. [23:18] ok then [23:19] licensecheck didn't find anything GPL-3-only, so that's fine too [23:19] next one is GPL-2+ [23:20] here we now have a different license than the package default, so we need to list the affected files [23:20] ? [23:20] for GPL-3+, we just had "Files: *" [23:20] now we have a list of files - that are GPL-2+, not GPL-3+ [23:21] as in: all files in the package are GPL-3+, *except* ... [23:21] that works no? [23:22] it does, if it weren't for those 2 id3v2tag.* files [23:22] better :) [23:23] now go by the pattern from before [23:29] sorry [23:30] ? nothing new there [23:30] nope [23:30] wait [23:31] always do a check whether any new people are there now [23:31] so that is how you do that [23:31] ok let me add them [23:33] cant copy and paste? [23:33] hm, should work.. [23:33] the files are already there though [23:33] I forgot shift [23:33] first 2 at least [23:35] wait, those are wildcards [23:35] ? [23:35] no need for * if you put the full filename [23:35] * means 'any character 0 or unlimited times' [23:36] the colons shouldn't be there [23:36] they're just part of the grep output [23:37] right? [23:37] right [23:37] cool [23:38] good? [23:38] right intention [23:39] but shortened too much [23:39] 2002 wasn't in the list [23:39] I see [23:40] ok [23:40] now let me check something [23:40] k [23:41] ok fine, I like looking at the headers themselves just to make sure it's not some weird combined license that licensecheck misunderstood [23:41] not the case here ) [23:42] ok, we're done with the GPL section [23:42] now to check if there's anything else GPL-like [23:43] oh yay, LGPL with kde clause [23:44] hm, now that's LGPL-2.1+, not LGPL-3+ as the copyright file says [23:46] as there is no LGPL-2.1+ explained at the bottom, we need to add that [23:47] and as there is no file with LGPL-3+ anymore we can remove that part [23:48] now we're done with anything GPL (for now) [23:48] so lets look for any other licenses [23:48] or hm [23:49] lets stay with the LGPL ones for now [23:51] kdsingleapplicationguard is a problem because it shows a limitation of licensecheck that doesn't fit with the real world [23:51] by default licensecheck only looks through source code files to find licenses [23:52] kdsingleapplicationguard does it... differently :/ [23:53] ahoneybun_: wait [23:54] ahoneybun_: I was checking something for a sec, where are you now? [23:54] checking lgpl for kertz [23:55] ok [23:55] that does not work [23:56] see the output from before [23:56] just those [23:56] licensecheck doesn't understand the kde clause in the file, so can't tell the version [23:56] so check each file? [23:56] yes [23:58] ahoneybun_: tip: first grep for copyright, so you see which files are worth checking [23:58] most in there have nothing in them [23:58] let me see [23:58] show me that please [23:59] so we see there's only one file with copyright information [23:59] and that's the part we're interested in