/srv/irclogs.ubuntu.com/2014/02/02/#ubuntu-devel.txt

Ademanis there a reasonable way (maybe through dbus) 1. when the screensaver goes active/the screen is locked and 2. when the user is prompted for their password? (I want to run some intense stuff during idle time, and disable it as soon as the user is prompted for their password, as it causes significant keyboard latency)00:18
AdemanHrm  AuthenticationRequestBegin exists, but only on org.gnome.ScreenSaver, is there no freedesktop interface?00:25
=== timrc is now known as timrc-afk
=== mwhudsono is now known as zz_mwhudsono
c_kornhow can I tell ant to take openjdk-7-jdk for compiling (which I installed) and not to use openjdk-6 (JAVA_HOME=usr/lib/jvm/java-6-openjdk-i386/jre).01:44
c_kornok, need to build-conflict on openjdk-6-jre-lib01:53
=== freeflying_away is now known as freeflying
=== rww is now known as rwd
=== rwd is now known as rww
spec4dI'm trying to get involved with Ubuntu development. Is there anything I should be reading to get started besides this wiki? http://packaging.ubuntu.com/html/07:29
=== zz_mwhudsono is now known as mwhudson
Noskcajspec4d, depends on how you want to help07:54
NoskcajThat's just packaging, and it's not particularly complete07:55
=== warp10_ is now known as warp10
spec4dwell I've been trying to fix a bug with Ubuntu Software Center, but I can't even get that to compile for me to test the patch I wrote. I'm not really tied to any piece of software or project in Ubuntu at the moment. I'm just trying to get used to the process and contibute.08:31
Noskcajok. A few questions. 1. what bug? 2. what version of ubuntu are you one? 3. Are there any specific packages you'd like to help with?08:40
spec4dhttps://bugs.launchpad.net/ubuntu/+source/software-center/+bug/110782408:41
ubottuLaunchpad bug 1107824 in software-center (Ubuntu) "Not obvious how to access payment support from the UI" [Medium,Triaged]08:41
spec4d^easy stuff, but like I said I'm more concerned with just learning the process (for the moment)08:41
spec4dI'm on 13.1008:41
darkxstspec4d, how are you building the USC package?08:42
darkxstalso development of patches etc, should be done against the current devel series (i.e trusty)08:43
spec4dof course :)08:43
spec4dI've been trying to follow this. I got as far as the "testing the fix" section, but I don't know enough about USC bzr, pbuilder and dpkg to get it to compile. http://packaging.ubuntu.com/html/fixing-a-bug-example.html08:45
spec4dI tried following the sources readme and that did not help either08:46
NoskcajUse "pbuilder-dist trusty amd64 create" to make a schroot, the "debuild -S" and "pbuilder-dist trusty amd64 build" to build it08:47
spec4dThanks I'll look into that. I'm used to using vbox in windows development, but I don't have that much experience with chroots.08:49
spec4dThe funny thing about programming is that the first part of the learning curve always looks like a cliff :)08:50
spec4dBut I have a CS degree so I'm used to that08:50
Noskcajspec4d, in the most basic form, a chroot is a temporary VM for building stuff in. one command and then it works then removes itself08:50
Noskcajand you're right. That's sorta why i still don't know any actual programming languages08:51
spec4dI geuss I know what you mean. I don't know python, but that didn't stop me from writing this patch. lol08:52
darkxstNoskcaj, don't spread lies :) a chroot is nothing like a VM09:04
Noskcajdarkxst, it's still a decent explaination09:05
spec4dLol. I installed Crouton once on a chromebook so I already know the diff09:06
darkxstand pbuilder is not really your typical chroot09:06
spec4dBut that was my only real experience with it09:06
Noskcajfor -weather:  many icons are under a non-DFSG-compliant license09:09
Noskcajwoops, wrong channel09:09
Noskcajdarkxst, ^09:09
darkxstNoskcaj, what license?09:13
Noskcajdarkxst, I'll look into it tomorrow, that was just my reply from debian09:16
=== mwhudson is now known as zz_mwhudson
spec4ddpkg-source: error: aborting due to unexpected upstream changes, see /tmp/software-center_13.05-0ubuntu4.diff.8WQK7Z09:41
spec4d??? Does that mean the source on my machine isn't latest09:42
darkxstspec4d, that means the .orig tarball is probably messed up09:49
spec4dI think what happened is BZR branched the 13.10 source instead of 14.04 and it's complaining about it not being latest. Does that make any sense?10:04
spec4dWait. Where am I supoused to grab source from. "bzr branch ubuntu:software-center" gives me an out of date copy. Should I be grabbing it using " bzr branch lp:software-center"10:21
spec4d?10:21
infinityspec4d: If the Ubuntu branch is out of sync with the archive, what you want is "pull-lp-source software-center"10:40
infinitySince the archive is authoritative.10:40
=== balloons_ is now known as balloons
spec4dThanks infinity. That looks like it will work.11:00
=== ikonia_ is now known as ikonia
=== dobey_ is now known as dobey
=== timrc-afk is now known as timrc
=== debfx_ is now known as debfx
=== ogra_` is now known as ogra_
Logan_Hi Jackson.18:44
=== freeflying is now known as freeflying_away
=== freeflying_away is now known as freeflying
=== zz_mwhudson is now known as mwhudson
Noskcajoh, hey Logan_19:16
Noskcaji really need to pay more attention to irc19:16
Logan_Or be pinged by "Jackson."19:16
Logan_Because I often ping people with their real names. Just to be anarchist or something.19:16
Noskcajfixed19:18
Unit193Logan_: Ping me? ;)19:19
Logan_Hi Unit. :P19:20
Unit193Eww.19:20
=== Ursinha-afk is now known as Ursinha
=== Ursinha is now known as Guest84807
LBoI'm creating a package  (my first). The program that I'm packaging creates two (empty) files on runtime. These files are not included in the source. I would like them to be installed with the package so the two files get removed when the package does20:04
LBoI could add two `touch` commands in debian/rules20:04
LBoOr I could add an extra patch to debian/patches which creates the two empty files20:05
NoskcajLBo, You can use a postrm script to make that unnecessary, or maybe make a blank file the us dh_install to put it where it's needed20:05
LBoNoskcaj: where should I store those blank files?20:06
LBoIs there a directory in debian/ where I can store such files?20:06
Noskcajdebian/FILENAME20:06
NoskcajAlthough a postrm is probably the best solution20:07
LBook20:07
LBoAnd then use packagename.install to copy them to the right location?20:07
LBodebian/packagename.install20:07
infinitypostrm is the right place to remove them.20:08
infinityIf they're generated at runtime, that is.20:08
infinityThey shouldn't be included or installed in the package at all.20:08
infinityLBo: Also, what are these files?20:09
infinityIf they're being written, but in a read-only location (ie: anywhere in /usr), there's still something very wrong happening.20:09
LBoinfinity: It's a config file that is not included with the source but the program makes an empty file the first time it is ran20:09
infinitySo, it's in /etc?20:09
LBoYes20:10
infinityYou might want to ship a sane skeleton file, then.20:10
LBoYeah, that seems nice20:10
LBoWith some comments in it and an example20:10
LBoI can store the skeleton file in debian/?20:11
infinityFor bonus points, I'd also patch out the part of the upstream source that thinks it's a good idea to write to /etc at runtime.20:11
LBoOK20:11
infinityYeah, you can toss it in debian/foo.conf.example or something, and then install it.20:11
LBoinfinity: awesome, thanks20:11
=== sunweave1 is now known as sunweaver
arunguys is this command correct sudo apt-ftparchive packages main | gzip -9c > dists/quantal/restricted/binary-i386/Packages.gz  ??21:17
xnoxarun: sudo is lost at pipe, and you are indexing /main/ directory and then call the result /restricted/21:32
arunxnox: oh thank dude. I fixed it xD21:32
=== Snow-Man_ is now known as Snow-Man
=== mwhudson is now known as zz_mwhudson
=== zz_mwhudson is now known as mwhudson
LBoI'm having some troubles when building a source package from my package (https://github.com/LeonB/linux-malware-detect/tree/master)22:47
LBoBuilding the binary works fine22:47
LBoWhen I build the source package I get error messages when applying the debian/patches/22:48
LBoThese are the messages I get: http://paste.ubuntu.com/6864226/22:50
=== mwhudson is now known as zz_mwhudson
LBoI've got a hunch the patches get applied twice?22:51
darkxstLBo, looks like you need to refresh the patch, patches with 'fuzz' are not allowed.22:56
LBoOK. What is fuzz?22:56
darkxstit is basically telling you the hunk was applied, but patch is not sure that its correct22:57
jtaylorLBo: are the patches accidentally applied in the orig tarball=23:01
=== zz_mwhudson is now known as mwhudson
LBojtaylor: could be that the error is in that direction23:04
LBoI'm building from a git repository and not a tarball23:04
jtayloror its just a different snapshot23:04
jtaylorits a bit weird it partially applies23:05
=== apachelogger_ is now known as apachelogger
LBojtaylor: I cloned the repository from github in another directory and now it worked...23:07
LBoSo some kind of crap I did with my local repo I think23:08
LBojtaylor: Jay, it worked! https://launchpad.net/~leon-tim-online/+archive/linux-malware-detect23:15
LBoThanks!23:15
=== mwhudson is now known as zz_mwhudson
=== zz_mwhudson is now known as mwhudson
=== mwhudson is now known as zz_mwhudson
=== zz_mwhudson is now known as mwhudson
mwhudsonuh, is there a good reason for me having a file /etc/modprobe.d/intel_11n_disable.conf ?23:41
lifelessn being broken?23:41
lifelessit might not be anymore, but it was for a while23:41
RAOFFor what it's worth, I *don't* have that blacklist on trusty.23:42
mwhudsonyeah, i'm sort of hoping that it was created when i installed quantal or whatever version i first installed23:43
mwhudsoni hope it isn't broken now because my internet is now faster than g :)23:43
mwhudson(is there some way i can tell which version i installed vs. upgrades?)23:44
mwhudsonhm, probably oneiric23:47
TJ-mwhudson: Yes, you likely created to work around the Intel iwl4965 802.11n suffering lots of dropped packets23:52
RAOFmwhudson: Yes, there's clearly some way, because apport has originally-installed-release data.23:52
RAOFmwhudson: Also, that file doesn't appear in any supported Ubuntu release. Presumably we failed to remove it on upgrade at some point.23:55
mwhudsonRAOF: i may have created it myself at some point i suppose23:56
mwhudsonhave no recollection of that though23:56
RAOFPlausibly.23:56
RAOFAnyway, enjoy your order of magnitude more wireless bandwidth!23:56

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