/srv/irclogs.ubuntu.com/2008/11/24/#ubuntu-desktop.txt

=== fta_ is now known as fta
macoto manipulate an xml file with libxml2, should i use the parser and make it into a tree, or should i use xmlreader, regular expressions, and xml writer...or what?05:41
awalton__maco, "what do you intend to do with the data" is usually the best first question05:59
macoawalton__: i want to make gnome-panel able to use a gradient defined by an xml file as the background.  the properties thing for gnome-panel should be able to change the colors, size, and orientation of the image by modifying the svg directly.06:02
macobecause it is a pain in the rear to have to gimp up new gradients every time i change theme06:02
awalton__ah, so you're writing an xml document with a simple svg gradient.06:02
macoyeah06:02
awalton__in that case you can probably get away with regular expressions06:03
macoi made a sort of barebones svg for it06:03
macohehe thats what i was going to do06:03
awalton__I don't blame you06:03
macoand then the other cs majors i talked to at school were saying that was a bit of a hack for modifying xml06:03
awalton__yeah, it is a hack, but it works06:03
awalton__especially for something as simple as that.. make the fields something easy to catch like %GRADIENT_FIELD% and tada.06:04
macothey were doing this: O_o when i said i spent 2 hours that morning playing with regular expressions...06:04
awalton__meanwhile you're writing about 10 lines instead of the 200 you'd probably need to muck with the xml properly06:05
macoriiiight ok then06:05
awalton__trust me, it gets nasty very fast..06:05
macouh, library i should look at for doing regex in C? i dont suppose calling sed from within gnome-panel would be "normal"06:05
awalton__glib has a regex library compatible with perl's06:05
macoyeah, ive messed with xml using python before.  it makes for oddly long scripts06:06
awalton__(might be the same one actually, now that I think about it)06:06
macook thanks06:06
awalton__glib also has a simple xml interface, but I still wouldn't recommend it for something as simple as that06:06
macoawalton__: do you think it would make sense to always have it start from a "fresh" .svg file instead of modifying the existing one in case the user A) deletes it accidentally B) breaks the xml-ness?06:12
awalton__probably easier to make it as needed06:17
macoyou mean just write out a file for it each time, rather than modifying an old-and-maybe-b0rked one?06:17
awalton__yeah06:17
macommk06:17
awalton__it's not like an xml file encoding a gradient is going to be huge, it'd be fine to embed it in the program as a static string06:18
macoit's about 30 lines, if you put newlines after each property06:18
awalton__which is probably far south of a kilobyte...06:19
maco718k06:19
awalton__for 30 lines?06:19
macoer, not k06:19
macoah, ls -lh is confusing06:20
awalton__hah, that's better then06:20
maco718 char, so 718 bytes, i guess06:20
awalton__my point is that amount of memory is more than readily available and won't change load times, etc.06:20
macook06:20
=== fta_ is now known as fta
=== MenZa_ is now known as MenZa
seb128fta, fta2: hi, I'm looking to your cairo update, there is no need to list the maintainer changes in the changelog, that's systematic for the ubuntu versions, could you quickly open a bug and attach the debdiff for the update using a non ppa version and describing what the lcdfilter do?13:55
=== Zdra is now known as xclaesse
=== xclaesse is now known as Zdra
=== Zdra is now known as xclaesse
fta2seb128, bug 30169114:43
ubottuLaunchpad bug 301691 in cairo "Please sponsor cairo 1.8.4" [Undecided,New] https://launchpad.net/bugs/30169114:43
seb128fta2: thanks!14:43
=== xclaesse is now known as Zdra
=== MenZa is now known as MenZa_Aries
=== MenZa_Aries is now known as MenZa
tedgpitti: ping19:15
pittitedg: pong19:16
tedgpitti: The UDS desktop track is looking really full.  Is it worth writing up new things or is it packed?19:17
tedgI really wanted a GDM session and perhaps a discussion on DevKit/DevKit-power.19:17
pittitedg: ah, I already told Scott, I'm happy to move the "fix packages for translation/rosetta import" double session to a spare room19:18
pittitedg: I freed the Monday 11:00 double session19:19
tedgpitti: Cool, thank you.19:20
pittitedg: ah, scratch that; it's now wednesday 11:0019:20
pittitedg: the online services auth had a people conflict, so I moved that to MOnday19:20
tedgI need to create blueprint and nominate them for Jaunty, right?19:20
pittitedg: can you see the preiliminary schedule on http://summit.ubuntu.com/uds-jaunty/desktop/ ?19:20
pittitedg: for uds-jaunty, yes19:21
dobeyhmm19:21
pittitedg: for gdm probably a blueprint, yes19:21
pittitedg: for DK, it might alternatively become a roundtable, depending on whether it's just discussion, or something to actually implement in jaunty19:21
tedgpitti: Cool, I was looking day-by-day, the track view is much better :)19:21
tedgWell, hughsie is now planning on having GPM 2.24 be HAL and GPM 2.26 be DKP.19:24
tedgSo I'm not sure if there is discussion about what we want to do with GPM.19:25
tedgA roundtable would probably be fine.19:25
pittitedg: if that's determined by upstream, we won't have much choice anyway19:28
tedgpitti: Well we have the choice to stay with 2.24 for Jaunty.19:28
pittitedg: unless 2.26 brings new API which other GNOME parts depend on, perhaps19:29
tedgpitti: Well hughsie in his mail specifically mention that some distros may want to use 2.24 -- so I don't think that's in his plan.19:30
tedgOf course, he doesn't control everyone else :)19:30
pittitedg: oh, good to know19:30
pittitedg: TBH, for jaunty I welcome everything which avoids large structural changes, since we want to put as much effort as possible into bug fixing19:31
pittianother reason is that deferring it would mean that more stuff would use DK in GNOME 2.28 (hopefully)19:31
tedgYeah, none the less, I think we should spend sometime going over the pros and cons at UDS.  I don't care if it's a roundtable or a session.19:32
tedgpitti: https://blueprints.launchpad.net/ubuntu/+spec/gdm-upgrade19:36
tedgpitti: Should I make a GPM/DevKit-power one?19:37
pittitedg: can't hurt, please do19:37
=== espacious_ is now known as espacious

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