#ubuntu-app-devel 2012-02-01 <dpm> good morning <jo-erlend> morning :) <dpm> hey jo-erlend, morning :) <jo-erlend> it is! I got some amazing coffee yesterday. It's the best I've ever tasted. That's an important part of a good morning! :) <ajmitch> hi all <jo-erlend> hey ajmitch :) <greenglue> Hi! #ubuntu-app-devel 2012-02-02 <dpm> good morning all <_rahmat_> hi everyone. i'm using quickly in ubuntu 10.04 and following video tutorial in http://developer.ubuntu.com everything work fine, until I type quickly package, quickly get error with error message "An error has occured during package building ERROR: package command failed Aborting" here is screenshot of quickly http://paste.ubuntu.com/826217/ . Any idea? thanks <gengiskhan> Hello, I want create a new app but I don't have any knowledge about programmation <gengiskhan> I'd like create a app like a data base <gengiskhan> but Quickly don't help me a lot... <gengiskhan> Someone know where I can found a good tutorial about Quickly and creation app's? <ts2> I've never used Quickly, but have you followed the getting started guide? http://developer.ubuntu.com/get-started/ <gengiskhan> Yes, I've followed this guide but that tutorial only show me how create a basic app and how registered it <gengiskhan> I need learn to work with quickly deeply <gengiskhan> by the way, thanks for answr me #ubuntu-app-devel 2012-02-03 <dpm> good morning everyone <mhall119> is the ARB taking submissions for Precise now, or just Oneiric? <zoopster> mhall119: still oneiric although there is testing for precise <mhall119> zoopster: so can I start submitting things for Precise? <zoopster> mhall119: you won't have the ability to dictate what distroseries, but you can submit and note in the comments that it is for precise if you wish <zoopster> mhall119: right now everything that goes in defaults to oneiric <dpm> mhall119, are you thinking of submitting some new cool lenses? :) <mhall119> dpm: I am <zoopster> yeah! <dpm> awesome <dpm> bring them in! <zoopster> mhall119: just note that it is for precise and we'll target it to that <zoopster> mhall119: do they work on oneiric too or precise only? <mhall119> zoopster: one of the other, because Unity 5 changed the API <zoopster> mhall119: ah ok gotcha <mhall119> zoopster: dpm: can you guys join #ubuntu-arb? <dpm> mhall119, I'm already in there #ubuntu-app-devel 2012-02-06 <dpm> good morning all <noodles775> Hey there dpm <dpm> morning noodles775 #ubuntu-app-devel 2012-02-07 <dpm> good morning all <noodles775> Morning dpm <dpm> hey noodles775, good morning :) <noodles775> mvo: hi! Is there any max length for a simple debian field (ie. single-line)? I can't see anythiing here: http://www.debian.org/doc/debian-policy/ch-controlfields.html <mvo> hey noodles775 <mvo> noodles775: a field like "Depends: ..." ? <noodles775> In thiis case, just Package: <noodles775> http://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Source has more specifics, including min length, but nothing about a max... <noodles775> (which might be a great thing... why restrict it to a max :), it's juts for an equiv. database column.) <mvo> noodles775: I just looked at the apt source and I don't think there are any limits enforced here (nowdays it grows if needed). let me quickly check dpkg <noodles775> Thanks mvo. What would you recommend as a practical max for a database varchar field... we've already got a bunch in various apps, where I think we're using 64... * noodles775 checks <noodles775> Yeah, we seem to use 64 in sca currently - which seems to have been safe so far, but please let us know if it's something we should update and I'll create a bug. <mvo> noodles775: hm, that looks a bit small tbh, "grep "Package:" /var/lib/apt/lists/*Packages | cut -f3 -d: | wc -L" give me "60" for the current packages we have <noodles775> mvo: cool, I'll create a bug. Txs! <mvo> noodles775: I would say "2*max-of-the-current" - or do you think that is a bit much error on the safe side? how hard is the migration later? I guess not too hard, correct? <noodles775> mvo: yeah, easy migration - better to do it now than when we hit an issue :) * mvo nods #ubuntu-app-devel 2012-02-09 <dpm> good morning all <noodles775> Hey there dpm <dpm> hey noodles775, good morning :) <rigved> hi everyone. i am using 12.04 and quickly. i was following the quickly tutorial, but i have come across a problem: http://paste.ubuntu.com/834986/ <rigved> the quickly tutorial says that i should provide only the start and the end iter for the TextView widget's TextBuffer. <rigved> but the error tells me otherwise. can anyone help regarding this? <dpm> hi rigved, which tutorial are you following? <rigved> i typed the quickly tutorial on the cli <dpm> rigved, let me try to reproduce it to see if I can help <rigved> dpm: i was checking http://www.pygtk.org/docs/pygtk/class-gtktextbuffer.html#method-gtktextbuffer--get-text. <rigved> there is a third attribute: include_hidden_chars <rigved> i just now included it in the function call and it worked. <dpm> rigved, ah, cool :) <rigved> dpm: so, it seems like the textbuffer api has changed, right? should i file a bug? <dpm> rigved, I think a bug to update the tutorial would be useful, yes. Which part in the quickly tutorial mentions these arguments? <rigved> dpm: Quickly 11.12 User Guide > Getting Started > Here's the code to get pull the text out of the TextView <rigved> dpm: it's the part where the note data is retrieved from the TextView's TextBuffer. <rigved> dpm: also, i just now noticed that there is a grammatical mistake here: "Here's the code to get pull the text out of the TextView" should be "Here's the code to get/pull the text out of the TextView" or something like that... <rigved> dpm: so, should i file a bug against quickly or is there a separate package for quickly tutorial? <dpm> rigved, thanks, yeah, a bug would be really helpful. Afaik there is only one quickly project, so if you fire up a terminal and run 'ubuntu-bug quickly', it should take you to the right project <rigved> dpm: ok. thanks! <dpm> no worries, thank you! <rigved> bug 929417 <ubot2> Launchpad bug 929417 in quickly "Quickly tutorial contains wrong gtk.TextBuffer.get_text function call" [Undecided,New] https://launchpad.net/bugs/929417 <rigved> bug 929420 <ubot2> Launchpad bug 929420 in quickly "Quickly tutorial contains grammatical mistake" [Undecided,New] https://launchpad.net/bugs/929420 <dpm> awesome, thanks rigved! <rigved> dpm: np <arslanatajanov> Hello. Are there any Python devs here? <jo-erlend> arslanatajanov, yes, but I'm sure that's not really what you'd like to know. :) <jo-erlend> just blurt out your question and see if someone answers. People aren't always looking at their screens. :) <arslanatajanov> Thank you for your prompt reply....Yes, I seek advise... <arslanatajanov> I have just finished reading couple books about Python 2.x and 3.x...And I want to start "a little project"... <arslanatajanov> Let say I am still new to Python but can do something that is working :) <jo-erlend> in that case, it doesn't really matter which one you begin with. Python 3 is the way forwards, but it has less libraries to play with. <jo-erlend> they aren't radically different. If you learn Python 2 first, then you might get a few bad habits, but other than that the languages are the same. You can start to use mostly Python 3 syntax in Python 2 as well. <jo-erlend> for instance, don't get used to writing things like: print "Test". That won't be allowed in the future, so get used to writing print("Test"), etc. <arslanatajanov> So back to my "project"... I am a Biomedical Science student and Computer Science student....And I have noticed that people who are studying with me experience difficulties in finding short and "highly understandable" definitions for various scientific words and phrases...And I thought if it would be possible to create a piece of software which contains a set of short definitions for a large number of scientific termin <jo-erlend> there is a collection of those... But what is it called? <jo-erlend> oh, I misread. I don't know of anything exactly like that. <jo-erlend> arslanatajanov, I think that sounds like a cool project. How do you intend to deliver the application, via a browser or a native desktop experience? <arslanatajanov> Via native experience, (and If it is going to be successful I would like to add different features that will need internet connection, I've came up with a whole list of possible features, so its too long to write) :) <arslanatajanov> I also know C# and have experience in .NET....So i dont know, what to choose, if I choose C# then i'll need to stick to Windows for a long time...but I really like Ubuntu and want to make something on this platform <jo-erlend> You can develop in C# in Ubuntu using Mono. Or you can use Vala, which is very similar to C# but very much faster and built for Gnome. <arslanatajanov> and I wish to use Python because it is more or less portable <jo-erlend> Python is a beautiful language. <arslanatajanov> Yes ive heard of it...but I like Python :) <arslanatajanov> I would really appreciate if you will provide me with links to some resources with Python apps <arslanatajanov> I couldn't find any descent resources on the web by myself <jo-erlend> arslanatajanov, I would look at http://developer.ubuntu.com. <jo-erlend> http://docs.python.org/tutorial is nice. <jo-erlend> of course, there are plenty of apps in Ubuntu itself. Ubuntu One, for instance. <arslanatajanov> Hmm..Ok Thank you...Hope I will get something descent in near future. :) <arslanatajanov> But I really want to implement it.. <jo-erlend> :) <jo-erlend> http://python-gtk-3-tutorial.readthedocs.org/en/latest/ <arslanatajanov> Ok...Thank you again...bye.. <jo-erlend> that's a good one for Python and GTK3 apps. <arslanatajanov> wow..that last link seems cool <arslanatajanov> I was looking for something like this <arslanatajanov> thanks <jo-erlend> Quickly is the first thing you should look at. <jo-erlend> it gets you up and running in minutes. <arslanatajanov> ok...need to go...thanks...I've williamsmith@example.net glade...and created couple simple programms <arslanatajanov> bye #ubuntu-app-devel 2012-02-10 <dpm> good morning all <dpm> calling it a day here, have a nice weekend everyone <zanfur> hello! <zanfur> I'm looking for guidance on ubuntu/debian package development <zanfur> is this the right place? <JanC> I don't think it's really inappropriate here, but help with making packages might be more available in #ubuntu-motu <zanfur> thx, I'll check there #ubuntu-app-devel 2012-02-12 <aquarius> james_w, jml, do you guys know about quickly? <james_w> aquarius, not much <aquarius> :0 <aquarius> any idea how one should programmatically get the current Ubuntu version number? <aquarius> shelling out to lsb_release seems a bit clunky ;) <aquarius> ooh, lsb_release is python! <JanC> aquarius: calling lsb_release is the "correct" way AFAIK and I would suggest you don't depend on it being in Python <aquarius> JanC, fair comment <JanC> the version is also available in /etc/issue & /etc/issue.net (but again, I have no idea if this is just customary or supposed to be "standardized", while LSB *is* an industry standard) #ubuntu-app-devel 2012-02-13 <coolstar-pc> Does Qt come with Ubuntu? I'm on Kubuntu myself, but I'm just wondering, as I'm going to start developing an app for Linux, and Ubuntu is the most popular distro... <JanC> coolstar-pc: Qt is installed by default in Ubuntu Desktop since 11.10, for older versions it can be installed easily (and if you have a .deb that depends on it, it will be installed automatically if it wasn't yet) <achuni_> wow <achuni_> notbook overheated, and just powered down :( <achuni_> notebook <achuni> zematynnad: could I ask you for a quick code review for https://code.launchpad.net/~elachuni/software-center-agent/929830-arbify/+merge/92804? <zematynnad> sure thing <achuni> txs <jo-erlend> how come Ubuntu doesn't use gtk 3.2 yet? I thought I'd play with the broadway backend (to render desktop apps using HTML), but it isn't supported. <jo-erlend> I'm talking about Precise now. <davidpitkin> jo-erlend, I would guess there are dependencies broken in a few applications... <davidpitkin> https://launchpad.net/ubuntu/+source/gtk+3.0 <davidpitkin> If I read that right GTK 3.3 is in Precise <jo-erlend> I williamsmith@example.net. I didn't really understand it. To me, it looked as if it was version 3.3 of Gtk 3.0 or something. :) <jo-erlend> slightly confusing. But I think gtk has to be compiled to support the broadway backend. Perhaps it just isn't? <davidpitkin> jo-erlend, that could be true, but you are pushing my gtk knowledge... <jo-erlend> davidpitkin, yes, my own as well. But then that's the point. :) <davidpitkin> ah well you could compile your own replacement... <ajmitch> morning <davidpitkin> jo-erlend, this is the file you would want to change to build the package with the broadway backend <davidpitkin> http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/precise/gtk+3.0/precise/view/head:/debian/rules <davidpitkin> thanks to james_w <jo-erlend> thanks :) #ubuntu-app-devel 2012-02-14 <JackyAlcine> What do I do to add an indicator to the system tray? <JackyAlcine> Right... <jo-erlend> JackyAlcine, that's actually very easy. <jo-erlend> one moment. <JackyAlcine> Thanks jo-erlend, I got it (I happened to be using Qt for my app, my lazy self didn't notice QSystemTrayIcon) <jo-erlend> oh. That's not an indicator though? <JackyAlcine> O.o There doesn't seem to be a Qt library for it, though. <jo-erlend> do you use Python, or..? <JackyAlcine> Qt C++. <jo-erlend> ok. This page has examples for several languages, anyway. https://wiki.ubuntu.com/DesktopExperienceTeam/ApplicationIndicators <jo-erlend> only gtk though... I was sure I had seen at least one example using Qt. <jo-erlend> sorry. <JackyAlcine> No problem. <JackyAlcine> It's targeted at Ubuntu anyways, one GTK dependency couldn't hurt :) #ubuntu-app-devel 2012-02-16 <trentg> Hello, is it possible to make an app that's currently for sale in USC free? <trentg> Or does anyone know who I could contact about this if not here? <trentg> I used to be in touch with someone at Canonical about these things but he moved jobs. <trentg> lol... that was an easy change to make. Is that why nobody responded? :/ <dpm> good morning <gotwig> http://paste.ubuntu.com/844118/ is my souce, http://paste.ubuntu.com/844105/ is the output. I want own lines for the recipe name, likes, etc. with the help of beautifulsoup and regex ( I dont realy need BeatifulSoup for this simple structured website) <gotwig> anyone online :D? #ubuntu-app-devel 2012-02-17 <dpm> mvo, on my local machine, where can I see the icons of all applications available in the software center, regardless whether they come from the archive, ppas, extras... ? <mvo> dpm: /usr/share/app-install/icons <dpm> cool, thanks! <mvo> dpm: and ~/.cache/software-center/icons <mvo> for the downloaded stuff <dpm> mvo, cool, that's what I was looking for. Another quick question: is there any way to get the icons in other sizes (either locally or via api), if they are available? Most of the local icons seem to be 64px <mvo> dpm: I don't think so <mvo> dpm: I mean for myapps or the local ones? <dpm> mvo, either <mvo> dpm: so for the local ones there is a data extraction run that we do <mvo> dpm: and I could try to generate bigger ones from the raw data <mvo> dpm: its relatively expensive though (i.e. takes some time to run etc) <mvo> dpm: as for the remote service, the data is available at http://software-center.ubuntu.com/api/2.0/applications/en/ubuntu/oneiric/i386/ <mvo> dpm: but it only has "icon_url" in there, not icon_urls with different sizes <mvo> dpm: there are multipleones in the db, I thought they are exported, but apparently I misremember <dpm> mvo, no worries, no need to do anything. I was just interested to know how to get them easily, if possible. Thanks! <mvo> yw <zoopster> It is awfully quiet out here <dpm> zoopster, indeed <zoopster> it's the post feature freeze chill out <dpm> :) <ajmitch> zoopster: sorry, I'll try & file a few bugs against developer-portal to give you something to do :) <jarek> Hello <jarek> http://developer.ubuntu.com/2012/02/top-10-ubuntu-app-downloads-for-january-2012/ <jarek> ^ what is the average number of downloads for top selling apps on Ubuntu Store? <jarek> is it above 500 sells / month? #ubuntu-app-devel 2012-02-18 <Atlantic777> Hi! This is first time I'm writing a desktop app and I really like how quickly and launchpad are integrated. Any suggestions how to use sqlite3? Where to store database etc? <Atlantic777> 7win 17 <marcin`> hi all <marcin`> I wonder if anyone still uses irc actively... any acitivity here? #ubuntu-app-devel 2012-02-20 <dpm> good morning <noodles775> Morning dpm <dpm> hey noodles775 <rmariano> hi <abel> hi <abel> I sent an updated file with source code, license and instructions for building license application "Leds" <abel> but on the site to view the status of this shows a lack of information, not know if not updated or if you are not missing something else, <abel> in that case if I can send an email with what is lacking now appreciate it. <abel> just resend the application LEDs, is missing some detail to inform me appreciate <aroman> so what's the standard way of writing indicators? <aroman> which API, I mean. there seems to be a bunch of different ones floating around <jo-erlend> aroman, https://wiki.ubuntu.com/DesktopExperienceTeam/ApplicationIndicators <-- <aroman> jo-erlend: thanks, but I mean the actual indicator API <aroman> not appindicators <aroman> like if I wanted to write something like the session indicator or the networking indiactor <aroman> indicator* <jo-erlend> ah, ok. I haven't done that, so I don't know much about it. Sorry. <aroman> no worries #ubuntu-app-devel 2012-02-21 <abel> hi <abel> regarding the application "Leds" I want to know what information is missing, and I sent the tarball and they asked me <abel> i will erase the application <abel> I think it's going to happen with this program <abel> thanks for your kindness <ESphynx> hey guys, pbuilder-satisfydepends-dummy depends on ia32-libs; --> what does that mean? <zoopster> from what I can tell...without full context...seems pbuilder is trying to figure out what it needs, figured out it needs ia32-libs and likely the next line says it's not installed? pastebin the entire result and it will make more sense <ESphynx> zoopster: the thing is ia32-libs is my list of dependencies <ESphynx> https://launchpadlibrarian.net/93563862/buildlog.txt.gz <james_w> ESphynx, which release is that building on? <ESphynx> james_w: any! they all give this pbuilder dependency error <ESphynx> hardy, natty, lucid, oneirc, precise <ESphynx> See all results @ https://code.launchpad.net/~jerstlouis/+recipe/ecere-daily64 <zoopster> james_w: looks like lucid <ESphynx> I am trying to build as 32 bit on 64 bit machine <zoopster> it's a bit over my head, but looking at the oneiric build, the build appears to fail due to the contents in the rules file...the "over my head" part is I don't know what needs to go in there...that's where james_w might be able to help <ESphynx> the guys in #ubuntu-packaging have been helping me out <ESphynx> basically, launchpad doesn't support 64 bit recipes, is what the problem is <zoopster> rock on <zoopster> crap <ESphynx> thanks zoopster. <zoopster> that stinks <ESphynx> arch restrict might work around it #ubuntu-app-devel 2012-02-22 <Atlantic777> I've tried to make simple app with quickly, and it works on my machine but others say that it doesn't work. Something with gobject, i'll post traceback. Here are packages (without license, my name etc so it's "poor quality") <Atlantic777> http://atlantic777.lugons.org/fizicko_0.1_all.deb http://atlantic777.lugons.org/fizicko_0.1.tar.gz <Atlantic777> and traceback: http://paste.ubuntu.com/848980/ <JanC_> Atlantic777: the way to use Gtk from Python has changed (or is currently being changed), and AFAIK currently Quickly only supports the old way, while your testers might have a newer Python, GObject & Gtk... :-/ <Atlantic777> JanC: erm... ok. I'll see with quickly folks what can I do. :) thanks <Atlantic777> But, we had the same version both me and few guys who tested it. We were all on 11.04. <Atlantic777> I'm upgrading to 11.10, maybe something changed. <JanC> maybe it depends on what packages are installed too <Atlantic777> The interesting thing for me was that it worked on my machine. <dpm> hi Atlantic777, if no one can answer it right now on IRC, you might want to send an e-mail to the app developers list - https://lists.ubuntu.com/mailman/listinfo/ubuntu-app-devel <dpm> if you could also point to your code, that'd be really helpful in trying to find out what the issue is and to be more effective in giving you a hand <Atlantic777> dpm: this archive would be ok for showing code? http://atlantic777.lugons.org/fizicko_0.1.tar.gz <dpm> Atlantic777, yes, it's ok, but it's even better if you point people to a url where they can look at the code online or download it, apply changes, and give them back. Have you tried hosting your code on a bzr branch in Launchpad? <dpm> this might help: https://help.launchpad.net/Code <Atlantic777> dpm: nope, but I was about to post it there. #ubuntu-app-devel 2012-02-23 <dpm> good morning everyone <dpm> hi noodles785, achuni do you guys know of any django package to enable Ubuntu SSO login to a django app? <achuni> dpm: that would be django-openid-auth <achuni> dpm: https://launchpad.net/django-openid-auth <dpm> awesome, just what I needed, thanks achuni! <noodles785> :) <dpm> is there anything else (e.g. another module) needed to make it work with Launchpad teams? I.e. if I'd want to give access only to members of particular teams <dpm> Just trying to understand if that comes out of the box there, or if there is any additional module for that <cigue> Hey folks <cigue> I'm a second year Software Eng student and want to try my hand at app development. Is there a place to start? <cigue> I want to either bring back to life dead software, port/integrate KDE stuff to GNOME, etc <cigue> oh you guys. <cigue> Is anyone around <Lynoure> yes, but might not be able to help you. #ubuntu-app-devel 2012-02-24 <dpm> morning all #ubuntu-app-devel 2012-02-26 <jo-erlend> just realized that adding an indicator without an icon is a cool and very simple way to add global commands to the HUD. <jo-erlend> uhm. How do I add an indicator to my GTK3 app? I haven't done that before. <jo-erlend> I'm using Python. #ubuntu-app-devel 2012-02-27 <dpm> good morning <dpm> is it just for me or http://developer.ubuntu.com is being very slow today? <zoopster> dpm: I just got a 500 error on it <dpm> zoopster, yeah, I keep getting these too <dpm> let me mention it on #is <zoopster> dpm: sorry...503 error #ubuntu-app-devel 2012-02-28 <dpm> good morning all #ubuntu-app-devel 2013-02-01 <StanAngeloff> Hey, anyone available to assist with Ubuntu Mobile SDK/Qt5? <StanAngeloff> I believe the current instructions to use Qt5-beta1 are a bit out-of-date. <mrbojangles3> Hi all, I am trying to install a kernel package. I have a udeb built but the driver is not getting copied in to the initrd. I have made a "normal" deb of the package and added it to the usb that i use to load the udeb, but the installer does not pickup the deb version for the initrd #ubuntu-app-devel 2013-02-02 <aminb> hey everyone. does anybody know how to use GtkListItem in quickly' <aminb> ? <Krinye> Hello guys and gals, wondering if anyone is from Toronto and if anyone has started developing mobile apps for Ubuntu #ubuntu-app-devel 2013-02-03 <gelph> How do teams communicate things like UML models and diagrams for designs? I see blueprints on launchpad but that seems to be 100% textual. <Omen__20> Hi. Is there a central place where I can see what Scopes and Dashes have been created? #ubuntu-app-devel 2013-02-05 <shwaiil> Hi <shwaiil> where can I get started with app development for ubuntu ? I just watched a video in the main site, it seems I can dev with js html5 <shwaiil> I want to do a simple window management like http://mizage.com/divvy/ available for osx <shwaiil> I know about compiz grid, but I like divvy functionality better <shwaiil> I wonder where I can get started ? <shwaiil> http://developer.ubuntu.com/get-started/ <dz0ny> shwaiil: that must be done in compiz aka compiz plugin <shwaiil> dz0ny: tks for looking. that's the only way ? <dz0ny> that i know of. Basically you need to access compiz api, control application can probably be written in any language <shwaiil> divvy looks so much better :Z <dz0ny> shwaiil: i'm pretty sure there is compiz plugin for that <shwaiil> dz0ny: yes, there's "grid", but comparing with divvy... it's not that cool <shwaiil> so I want to code it myself <dz0ny> you can probably start with compiz grid plugin and build on top of it <shwaiil> trying to figure out if I could develop differently <shwaiil> compiz looks too complicated <dz0ny> I believe it's the only way :/ <shwaiil> : I <IDWMaster> Hi. I created a new project that makes it easier to create C++ projects on Ubuntu using Autotools. <IDWMaster> It greatly simplifies the process of creating configuration scripts and such, without the need for manually creating all of the configuration files for autotools. It's basically a project-based build environment similar to Eclipse, but in the console instead <IDWMaster> https://launchpad.net/apptoolkit <IDWMaster> Run it in an empty directory and it will create the necessary project resources for you along with a binary configuration file <IDWMaster> Currently only available in source format #ubuntu-app-devel 2013-02-06 <duanedesign> does anyone know if their is an irc channel for c development? <duanedesign> Or if anyone in here can answer a rather simple question about a C program that is not compiling for me? <jvrbanac> duanedesign, I haven't done pure C in quite a while, but I might be able to help. What is the issue? <duanedesign> thank you let mem paste bin it i real quick <duanedesign> I think the issue is i does not like my logical operatores || and && <duanedesign> http://bit.uz/Rxa <duanedesign> it errors on all the lines like else if (angle >= 0 && <= 90) <jvrbanac> Ahh I see the problem <jvrbanac> ok, so the issue is that you missing something the evaluate on the third condition of that if <jvrbanac> so in the case of the example you gave, it would need to be : else if (angle >= 0 && angle <= 90) <jvrbanac> i.e you're missing "angle" after the && <duanedesign> ahhh <duanedesign> awesome! <duanedesign> it worked <jvrbanac> :D <duanedesign> thanks a ton <jvrbanac> np! Glad I could help <duanedesign> i wrestled with it for longer then I care to admit :D <duanedesign> you earned some good karma points my friend. Thanks again <jvrbanac> :D np. We've all been there. Sometimes you just need another set of eyes. <duanedesign> agreeed. Someone picked up my K&R the C Programming williamsmith@example.net. Was bummed about that was a good book <duanedesign> but cheap to replace. Used copies everywhere <duanedesign> well i wont linger. Not to be over repetetive, but thanks again, :) <IDWMaster> Hi <IDWMaster> Regarding the question on CrossLibs I'd like to point out that the memory management system it uses is different than a regular C++ program. Instead of using the default "new" it uses operator new, and the memory is later freed with a call to FreeManagedObject <IDWMaster> I don't see any memory leaks myself in the library, but if somebody sees any they should be more specific about the problem <IDWMaster> Memory leaks in such a library can be a serious issue, but I can't fix them unless I know where they are. <sn0w75> Hi all, I have a program that I'm interested in open-sourcing. However, I'm rather new to the process of package creation and the formatting of source code in order to easily create packages out of them. <sn0w75> I already have a launchpad account and whatnot set up, I just can't figure out how to format my source code properly so that mh_make detects my Makefile <sn0w75> I was following the tutorial here, had no issue going thru it with the GNU hello-world program, but in that case the source code is already in the proper format; what I don't understand is how one goes about formatting their source code properly <sn0w75> http://developer.ubuntu.com/packaging/html/packaging-new-software.html <sn0w75> In addition, if anyone has some other general tips on Ubuntu app development I'd love to hear it, as I'm fairly interested in learning the ropes (although I really don't have issues in compiling binaries for linux in general) <nik90> ubuntu-app-devel <nik90> anybody here familiar with GTK Treeview? I am trying to get the row index to the currently selected row (all in python) <nik90> I did selection = mytree.get_selection() <nik90> model, iter = selection.get_selected() <nik90> however it return iter to the currently pointed row..but I need the row index (integer) <nik90> hoping someone know how to do this #ubuntu-app-devel 2013-02-07 <dudedude> bueller <kaendfinger> Hello! <kaendfinger> I need a team for an Application. Will you guys look at it and refer me to somebody who can help? https://bitbucket.org/pagepress/pagepress/ #ubuntu-app-devel 2013-02-09 <odarbelaeze> Hi, there <odra> Hey <odra> Can someone help me how apps work in ubuntu? <odra> about how* <odra> I'm a little confused about how localization and program settings work in linux :/ <JanC> if by localisation you mean translations, usually gettext is used for that <JanC> other localisation options are usually handled by the C library and/or other libraries (e.g. the GUI libraries) <odra> JanC: I'm using that, but I heard localization and program settings should go into their specific directories in linux, and I don't really understand it's directory structure :S <JanC> translations get installed into /usr/share/locale/ (or probably a similar */share/locale/ location if installed under /opt or in your home) <JanC> but usually that happens more or less automatically by the build system ;) <JanC> configuration files usually are under /etc/ or ~/.config/ <JanC> possibly in a subdirectory under that, especially if there is more than one config file <odra> Build system? <Halite> I'd like to develop an app for Ubuntu <Halite> anyone <commandoline> Halite: see http://developer.ubuntu.com/ . <commandoline> odra: the automatic tools which compile your source code & put it in the right place on your system so it can be executed. <Halite> when the package been installed, what do I do #ubuntu-app-devel 2013-02-11 <odra> Hey <ErickLee> anyone here? <captainlinux> Guys how do you think, is it better to kind of merge webapp icons with applications which are calling them? I mean - the more tabs I open in my firefox the more webapps get called and at the end my dash is full of useless icons which I don't even touch. Wouldn't it be better just to change the Icon of Firefox according to the active webapp and to change the icon every time you change the tab calling another webap <captainlinux> p? <dz0ny> webapps thingy is usless, why would you use such feature? <MrXtian> Ihi, I've started to write an app with glade python, to get some of basic algorythms sorted out, but going forward what dev env should I aim for, I'd lke to stay with pthon, & sqlite3, but wondering about the GUI would qt4developer be the ideall I see that glade is deprecated now and gtk-builder is prefered, where does pygobject fit iin is there somewhere to read about the current road maps ? #ubuntu-app-devel 2013-02-12 <JanC> MrXtian: first of all, the GUI design application application "Glade" can save in GtkBuilder format <JanC> so even if libglade is deprecated, the Glade designer is not <smartboyhw> coolbhavi, ping <coolbhavi> hey smartboyhw <smartboyhw> coolbhavi, private message? <coolbhavi> yes <coder2> where can i get documentation for webkit for python? <odra> Hey #ubuntu-app-devel 2013-02-14 <DrCode> hi all <DrCode> any one here/ #ubuntu-app-devel 2013-02-15 <stqn> I finally found an article explaining how to make a distro-agnostic package: http://www.mygamecompany.com/articles/linuxgamedevelopment2.htm #ubuntu-app-devel 2013-02-16 <chrisbuchholz> Hey guys <chrisbuchholz> So i am creating this program which need to be able to securely store a password and retrieve it when needed, but im in doubt as to how to do this in a way that dont need specific implementation for gnome, kde, and what about those not using a DE? Is there api i can use that works across all this? Perhabs across most of linux distros? <RobinJ> last time I tried to use gtk with python, i did it with quickly. the result is that now, without using quickly, i don't have a damn clue what to do :/ which package do i need for gi.repository? <rob_w> hi is there a channel for mobile ubuntu hardware support/sdk device portings ? <JanC> rob_w: #ubuntu-phone ? <rob_w> join #ubuntu-phone <rob_w> thanks #ubuntu-app-devel 2013-02-17 <vow> hi <vow> someone <vow> i've tutorials <vow> and i wish submit <vow> someone can help me? <dr_g> Hi all, anyone knows if ubuntu p^hone os will support Bluetooth 4.0 ? <stqn> Hi <GuidoPallemans> I did an "export QML_IMPORT_PATH=$PWD/modules" in a folder to get the latest QML ubuntu components, but now I can't use any ubuntu components anymore? <GuidoPallemans> http://paste.ubuntu.com/1671263/ <spc> i am interested in developing a mp3 player! but i have no clue how to do tat with python and quickly?? any help? #ubuntu-app-devel 2013-02-18 <ae0000> hello.. i'm pretty interested in making a couple of small apps for ubuntu phone and trying to decide what to put my energy into learning. For phone dev, is their much difference between using python versus c++ via qt5 etc.? <ae0000> are the bindings between qml and python very good? I'd prefer to use python <GuidoPallemans> only javascript and c++ are supported for now <GuidoPallemans> python is not <ae0000> ah ok <ae0000> are there performance issues using js instead of c++? <JanC> QML uses EcmaScript/JavaScript AFAIK <JanC> I guess the C++ is more for the backend stuff then? * JanC might be totally wrong ;) <GuidoPallemans> not purely, but it is encouraged to use javascript <GuidoPallemans> integrates much better too <ae0000> i haven't used qt or anything before.. but is qml a markup for qt... which is a UI framework for C++ apps. and you can use js in qml for logic stuff... ubuntu has its own set of components you can plugin to qt/qml.. is this about the size of it? <ae0000> trying to get my head around phone dev <JanC> GuidoPallemans: you are also from Belgium, right? âº <GuidoPallemans> yup <JanC> there is also #ubuntu-be & our mailing list etc. ;-) <GuidoPallemans> oh nice <GuidoPallemans> where do i subscribe to the mailing list? <JanC> https://lists.ubuntu.com/mailman/listinfo/ubuntu-be <GuidoPallemans> thanks! <JanC> it's not always very active, but still should give you some idea about what activities we are planning <JanC> (for support we use -nl/-fr/-de channels & lists & forums) #ubuntu-app-devel 2013-02-19 <IDWMaster> Hello world! <IDWMaster> My program is crashing with: Program received signal SIG34, Real-time event 34. <IDWMaster> Backtrace indicates it's crashing on a read() from getch() <IDWMaster> Any ideas on what could be causing the crash? <zyal> ello <zyal> Can anyone help me please Im trying to install the Ubuntu SDK <GuidoPallemans> sure <GuidoPallemans> zyal: are you following http://developer.ubuntu.com/get-started/gomobile/ ? <zyal> Yes <GuidoPallemans> what step are you? <zyal> Im on the install the ubuntu-sdk notepad-qml part <zyal> It was running fine until the qtchoosr part <zyal> hold on let me post the error <GuidoPallemans> hmm <GuidoPallemans> can you run qmlscene /usr/lib/qt-components-ubuntu/demos/ComponentShowcase.qml ? <zyal> permission denied <zyal> chmod it? <GuidoPallemans> not needed normally <GuidoPallemans> ill check what permissions mine are <GuidoPallemans> -rw-r--r-- <GuidoPallemans> and it works <zyal> how do i check the permission ? <GuidoPallemans> ls -l <GuidoPallemans> in the folder <GuidoPallemans> there's a better method i think, but this one remembers itself better <zyal> its the same as your permission level but is denied <GuidoPallemans> hmm, wierd <zyal> should I give it permissions? <GuidoPallemans> try this: http://askubuntu.com/questions/254800/how-can-i-update-the-ubuntu-sdk-preview-from-the-qt-5-beta-ppa-to-the-qt-5-relea/ <GuidoPallemans> but you can gve it permissions first of course <zyal> Giving it permission.. <zyal> Errors everywhere <GuidoPallemans> hm <GuidoPallemans> but it runs? <GuidoPallemans> paste your output? <zyal> okay <zyal> http://pastebin.com/WCTukH2g <GuidoPallemans> ah :D <GuidoPallemans> execute <GuidoPallemans> qmlscene /usr/lib/qt-components-ubuntu/demos/ComponentShowcase.qml <GuidoPallemans> .qml files are just tex files <GuidoPallemans> you need a parser <GuidoPallemans> - qmlscene <zyal> so.. <zyal> qmlscene /usr/lib/qt-components-ubuntu/demos/ComponentShowcase.qml ? <GuidoPallemans> yup <zyal> command not found D: <zyal> but I have it installed <GuidoPallemans> it works? <GuidoPallemans> ah <GuidoPallemans> hmm <GuidoPallemans> what about qtchooser? <zyal> Not intslaled that the problem <zyal> BUT <zyal> I just fixed with the help from the #ubuntu-devel chan <zyal> Had to removed qt4-dev-tools that was previously installed <zyal> now works like a charm <GuidoPallemans> oh ok <zyal> Thanks Guido =D <GuidoPallemans> np :D #ubuntu-app-devel 2013-02-20 <lachi> Hi <lachi> can anyone help me to build an ubuntu applications? <qwertzui11> lachi: don't ask to ask, just ask! ;) <tab2gtp> hi, is there any way to install ubuntu for tab on samsung tab 2 ? #ubuntu-app-devel 2013-02-21 <zyal> hello <zyal> anyone wanna help me with my problem :D first time developing using qml <tsimpson> zyal: there's #qt-qml and #qt if you're looking for help with QML <ubutuphoneintere> Good morning (for european people :)) if got a question about ubuntu phone. there is a dev-ide with qt-creator and c++. why isnt the quickly toolchain with gtk and python supportet for phones? and is there a tutorial for qt + c++ (not just qt like in he tutorial on ubuntus dev-page) ? <qwertzui11> ubutuphoneintere: morning from AUT ;) <qwertzui11> http://developer.ubuntu.com/resources/app-developer-cookbook/mobile/currency-converter-phone-app/ <qwertzui11> yesss qt creator is best for writng a mobile app <qwertzui11> r u new to development, or just "c++"? <ubutuphoneintere> new to qt and c++. i know c, java and python. ty for your link, but i know this example and there is everything done in qt and javascript, no c++ or am i false at this point? <qwertzui11> ubutuphoneintere: looks like only javaScript. There are lots of tuts for java devs who want to learn C++. If u know C, u shouldn't have any problems <ubutuphoneintere> yes i think so too, but i miss the combination of c++ and qml. there are a lots of c++ with qt-framework examples but not with qml, or i didnt find them ;) <qwertzui11> ubutuphoneintere: qtcreator comes with loads of examples (ofc with src) <qwertzui11> check them out! :) <ubutuphoneintere> oh well Oo never looked in there :) i will do that. thank you ver much <qwertzui11> ubutuphoneintere: ur welcome <ubutuphoneintere> but another question. is gtk and python to slow for phones? with c++ you have to hold a lot of binarys for every platform in store i think. if gtk is slow then qt and python could be reduce the number of binarys to hold. any idea why ubutu used qt and c++? <qwertzui11> ubutuphoneintere: qt is (in my opinion) muh migthier, cleaner and easier for beginners. Beside qt will be available for android/iOs/win8 and some other mobile os. So u don't have to rewrite ur app for ubuntu. If u got an qt-andorid app it should be "easy" to port. <ubutuphoneintere> okay, and because the apps for other platforms are written in c++ this is used too!? <qwertzui11> ubutuphoneintere: im just guessing! im sure in mark shuttleworths blog ull get the true reasons ;) <ubutuphoneintere> ill just wonder because ill done the tutorial for quickly (mybrowser example) and was impressed how easy an app for ubutu can be done. so i asked me why ubutu- team uses this easy infrastrucure for mobile apps too. you have just to say "quickly pack" and there is a .deb file with all dependencys listet etc. <ubutuphoneintere> well okay ill check this too :) thank you very much. and have a nice day <qwertzui11> u'll see qt is even more fun than quikly ;) u too <Markopolo> morning all <alias_neo> Have we got a time yet for Developer Preview release? <Great_Day> alias_neo: last time Ubuntu tablet was released (just the info) it was in 4,5 hours from now <alias_neo> Great_Day: Ah, shame, that's near the end of hte working day, was hoping to see it before I leave for home tonight. <Great_Day> alias_neo: I don't say it will be released at that point, but that is about 8 am in the USA (washington area) <alias_neo> Great_Day: I should have figured that "Thursday" essentially means Friday to this side of the pond. <alias_neo> Just like the Sony PS4 announcement started while I was tucked up in bed last night. <Great_Day> alias_neo: haha, that always the problem with time :) <alias_neo> Great_Day: No rush, my Nexus 10 is taking it's sweet time to backup with TWRP anyway, it's being going 2 hours now, I imagine the battery is going to run out before it finishes backing up, so I'll only have to wait till I get home before I can back it up properly, ready to flash Ubuntu. <alias_neo> its* <Great_Day> alias_neo: will the ubuntu OS for tablet also be realeased then? <Great_Day> I thought it was only the phone os that would be released on the gnex <alias_neo> Great_Day: Nope, N7 and N10 today as well. <Great_Day> damn, why didn't I buy me a nexus 10 :( <alias_neo> Hehe, why indeed. <Great_Day> It is quit expensive here... And since I don't see really the use of a tablet, I didn't... <Great_Day> I hope it will be ported soon to my phone.. <alias_neo> I'm not sure what their model is, I hope the idea is to make it available to most hardware, but there is the issue with proprietary binaries, such as drivers. That said, if your device is popular enough, the community should port it. <Great_Day> alias_neo: yup true, I also heard it is not that hard to port it. I have some experience, so I hope I get it that far.. <alias_neo> Sounds good. Little surprised with how long it's expected to be before official release though, OS this November, hardware next year <alias_neo> I wonder if the Developer preview will support OTA updates if if it'll be a reflash each time <mbender71> good morning :-) <mbender71> would anyone here be able to answer a simple question about glade + toolbar (container) editing? <Great_Day> mbender71: depends on it... <mbender71> I'm a complete newbie to Ubuntu development (though not to development) and decided to watch the video on develop.ubuntu.com. Quick tutorial on using Glade + Python etc etc <Great_Day> hhmmm.. mbender71 doesn' t sounds like something I know much of, probably the others do... <mbender71> 10 minutes into tutorial a Toolbar is added and a button is added.. then instructed to change the button text + icon.. well I can't do that as Glade has the "edit text" and "edit icon" grayed out. I have no clue why.. This is pretty simple stuff :-( <zyal> mbender71: Where is this video your watching <mbender71> http://developer.ubuntu.com/get-started/ <mbender71> i just installed a fresh copy of 12.10 Desktop x64, quickly, etc etc.. just can't figure out this silly anomaly :-( <zyal> Wish I could help you Im new to programing <Baoqi> å¤§å®¶å¥½ <mbender71> goodness... just found the answer... that video really needs to change... and the answer doesn't quite make sense but it works... <Postremus1> Hey <GuidoPallemans> is there any way to save data in a qml app? <GuidoPallemans> - solved #ubuntu-app-devel 2013-02-22 <shelbydz> hi all, I've installed the Ubuntu sdk and QT Creator. But when I launch QT Creator, I get a pop up that says it couldn't load a bunch of plugins becuase of missing dependents. Has anyone else had this problem? <shelbydz> Okay, got it. I was missing libbotan-1.10.so.0 for some reason. Installed the corresponding package and I'm good to go. <GuidoPallemans> anyone else having trouble with qt creator since installing the sdk? <GuidoPallemans> anyone else having trouble with qt creator since installing the sdk? <GuidoPallemans> http://www.youtube.com/watch?feature=player_embedded&v=MOvGullZwcw <GuidoPallemans> woops <GuidoPallemans> w/c <GuidoPallemans> does anybody have qt creator with the sdk plugins? <stqn> no (which sdk?) <dpm> GuidoPallemans, what's the exact problem? <GuidoPallemans> I updated my system through sudo apt-get update and the update manager <GuidoPallemans> and now not one of my plugins in qt creator will load <GuidoPallemans> qt creator is version 2.7 now (beta <GuidoPallemans> , from the software-center) <GuidoPallemans> seems a bit wierd, a beta in the software cetner <GuidoPallemans> dpm: bump <dpm> GuidoPallemans, does running the following command solve the problem? <dpm> sudo apt-get install libbotan-1.10-0 <dpm> sudo apt-get install libqt5declarative5 <GuidoPallemans> reinstalling everything qt now... <GuidoPallemans> ah, now it works, thanks anyway! <pavolzetor> hi, why does 'closed' signal does not work for notifyOSd? <pavolzetor> since I need to know if notification is closed, so if it is, I display new one, if not I do not <pavolzetor> anybody? <stqn> I know nothing :) <pavolzetor> drats <stqn> (except that notifications are broken under Unity, IMO) <pavolzetor> I see <stqn> (I prefer how they work under Xfce) <pavolzetor> what I got is <pavolzetor> Model notifiing notification class about new items <pavolzetor> every time new item arrives =>show notification <pavolzetor> but if 50 items arrives in row <pavolzetor> I do not want to show 50 notifications <pavolzetor> so I need to know if notification is being displayed #ubuntu-app-devel 2013-02-23 <Guest87052> has anyone had any known issues with running the tutorial on VM? <Guest87052> I've had a variety of issues that by themselves seems small but are mounting and I can't find clear answers yet <Guest87052> hello? <Guest87052> well I guess everyone is busy ttyl <brucegu> hello? <brucegu> anybody here? <Octa> brucegu, I'm here^^ <brucegu> Do you try to set Mobile dev enviroment on Ubuntu 12.10? <Octa> I've got it running on 13.04 <brucegu> That should be the same <brucegu> I am in trouble with launch Qt Creator <brucegu> always failed <brucegu> Qt at-spi: error getting the accessibility dbus address: "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken." Accessibility DBus not found. Falling back to session bus. <brucegu> this is error message <brucegu> I search on google. do not find the solution <Octa> https://qt-project.org/forums/viewthread/22997 <-- dos this help? ( sudo apt-get remove qt-at-spi ) <brucegu> I've tried this solution <brucegu> no luc <brucegu> no lucy <Octa> do you have the right ppa? (ending in "proper" not in "daily")? <brucegu> I did not get you, I am a newbie <Octa> did you follow the step-by-step discription at http://developer.ubuntu.com/get-started/gomobile/ <brucegu> I am doing this again <brucegu> hope this can be useful <Octa> If you did this before, I can't think of why this error occured... <brucegu> Segmentation fault (core dumped) <brucegu> the same error <brucegu> no lucy <Octa> hm, I have no clue what the problem could be then... #ubuntu-app-devel 2013-02-24 <Tigrouzen> Hello is there's irc for ubuntu phone apps dev ? <brupp> join #ubuntu-phone <brupp> :) doh <netcurli> there is no #ubuntu-phone anymore <netcurli> #ubuntu-touch is now the channel <brupp> ah thx #ubuntu-app-devel 2013-02-25 <steven____> hey all <steven____> some1 here know something about framebuffers? <steven____> none? #ubuntu-app-devel 2013-02-26 <brucegu> anybody here? <brucegu> hello? <bjaanes> Man, this channel is really dead <bjaanes> xD <odra> Yeah <odra> Shame on it. <odra> If there were more people here I could ask for help with making an image viewer. But I'm better off with google. <bjaanes> Ubuntu App Development need to get better :P Community and everything around it <bjaanes> I know <odra> I need to figure out how to package my image viewer. <stqn> tell us about it ;) <odra> I figured out how to debian package things with a tutorial. <odra> However, turns out you need to create the base linux directories where your app and your app stuff will go into in that debian archive <odra> Also turns out I don't know how the linux directories work. <stqn> hm <stqn> this is for inclusion in the ubuntu software center? <odra> Yes. I would like to include an image viewer I made yesterday. <stqn> they have special rules for proprietary / open-source / paid / free software, I donât remember everything :P <stqn> I know that proprietary & paid-for goes to /opt/yourpackagename/, itâs easyâ¦ <odra> Do they have a rule against cliched software packages made in two days? <stqn> ahah :) <stqn> I was also surprised when you said Â« that IÂ made yesterday Â»â¦ <stqn> does it do something that the other viewers donât? <odra> stqn: No. <odra> Wait <odra> No no, I think it does something incredibly original that you can't find in most other viewers! <odra> You can hide the scrollbars! <odra> Yay! Originality! <stqn> hm I finally managed to get sound working in my sdl gameâ¦ but IÂ donât know how <odra> stqn: Luck, perhaps? #ubuntu-app-devel 2013-02-27 <stqn> ahah <stqn> I donât like thatâ¦ <odra2> Wow <odra2> I'm having incredible trouble flipping and rotating images <odra2> So <odra2> Here is a question. <odra2> If you have an image which you flip horizontally, then rotate 90Â° degrees, then flip horizontally, what should the user see? <odra2> A) One image rotated 270 degrees <odra2> B) One image rotated 90% degrees <odra2> 90 degrees* <odra> Nobody here ever <JanC> there are 40 people in here ;-) <odra> They are pseudo-people <odra> You are pseudo-people. <odra> Maybe even I am a pseudo-peole. <stqn> Are you boredÂ ? <odra> Very. <coder2> i have implemented a browser using qiuckly using WebKit. how can i create a new browser window or new tab? <coder2> *quickly <odra> I has problem :C <odra> I made an image viewer that has the outstanding ability of viewing images and I called it Pynorama. Because it was an image viewer and it was made in Python. <odra> Now I don't know what should it's icon look like. <tag_> #quit <odra> f#talk #ubuntu-app-devel 2013-02-28 <zyal> hallo <odraencode> Helu <zyal> hey <zyal> i have a question regarding an app im making =D <zyal> im trying to put two text fields one name 'title' one named 'compose' <zyal> btw im developing for native ubuntu app using the sdk <zyal> i placed them in different rows <zyal> to get some space between them but the're still stuck ;S <odraencode> Ubuntu has a SDK? <zyal> ubuntu phone =D <odraencode> I'm sorry I don't know about that :( <zyal> arrrrr' <zyal> okay <odraencode> But if it were gtk <odraencode> And glade <odraencode> And a VBox <odraencode> Then there would be a v spacing property for it <zyal> hmm <odraencode> or "spacing" <zyal> ok.. im workin on qml atm <hatchetation> anyone have any good tips or resources on patching patches and maintaining said quilt patches within a git workflow? <hatchetation> i grok the basic approach using topic branches, but I'm working with a project that adds a full new file for debian/ubuntu
{'channel': 'ubuntu-app-devel', 'month': 2}