[tomboy-list] Jotting down some thoughts for future cross-platform work on tomboy...

Sandy Armstrong sanfordarmstrong at gmail.com
Sat Dec 8 09:16:33 PST 2007


#ifs can be a hard-to-maintain road to go down.  What areas of the
Tomboy code would need #if MAEMO?

Sandy

On Dec 8, 2007 3:00 AM, Everaldo Canuto <everaldo.canuto at gmail.com> wrote:
> Hey,
>
> I also need to use last sources to Maemo 4 (Nokia OS 2008), last Maemo
> 4 theres more gnome libraries so maybe we can have same source for
> Desktop and Maemo.
>
> Could we have some "#if MAEMO" in Tomboy trunk?
>
> -Everaldo
>
>
> On Dec 8, 2007 12:36 AM, Sandy Armstrong <sanfordarmstrong at gmail.com> wrote:
> > Yeah, that's the main reason.  Also, I'm still not 100% sure about
> > some of the design (the gconf stuff, for example), but that can always
> > be resolved later.
> >
> > There are some things related to portability that we should do (in
> > trunk) ASAP.  We need to stop using libegg for the tray icon and start
> > using GtkStatusIcon, for example, and switch to using the GTK+
> > printing APIs instead of the code that we have from Gedit that is
> > uncomfortably close to violating the GPL.
> >
> > Without those big things taken care of, refactoring preferences and
> > keybindings (etc) in trunk isn't that beneficial.
> >
> > Sandy
> >
> >
> > On Dec 7, 2007 4:34 PM, Boyd Timothy <btimothy at gmail.com> wrote:
> > > Any reason we couldn't just hack on this in trunk?  I guess other than
> > > preserve trunk so it'll be ready for GNOME releases?
> > >
> > > Boyd
> > >
> > >
> > > On Dec 7, 2007 2:40 PM, Sandy Armstrong <sanfordarmstrong at gmail.com> wrote:
> > > > Exciting!  My own personal celebration involved merging over
> > > > everything in trunk to the tomboy-portable branch.
> > > >
> > > > So tomboy-portable is quite ready for hacking.
> > > >
> > > > The philosophy behind the branch is kinda documented here:
> > > >
> > > > http://live.gnome.org/Tomboy/Win32/Refactoring
> > > >
> > > > It address a few of the issues brought up by kangaroo.
> > > >
> > > > Sandy
> > > >
> > > >
> > > > On Dec 7, 2007 8:40 AM, Boyd Timothy <btimothy at gmail.com> wrote:
> > > > > Just had a quick chat with kangaroo in #mono about some of the new and
> > > > > upcoming Gtk# stuff for OS X...
> > > > >
> > > > > 09:06 < boyd> is the imdendio stuff already included in the latest mono svn?
> > > > > 09:06 < kangaroo> boyd: what imendio stuff?
> > > > > 09:07 < boyd> Gtk+ for OSX/Gtk#
> > > > > 09:07 < kangaroo> boyd: We wont be pulling that into our SVN
> > > > > 09:07 < kangaroo> We will be shipping binary versions tho
> > > > > 09:08 < kangaroo> The only things that need to go into our svn were
> > > > > some changes to make monodevelop play nice
> > > > > 09:08 < kangaroo> and those landed yesterday
> > > > > 09:08 < boyd> kangaroo: but it's essentially ready right now that we
> > > > > could start hacking on getting something like tomboy running in osx?
> > > > > 09:10 < kangaroo> boyd: sure
> > > > > 09:10 < kangaroo> altho if you dont wait for us to ship binaries
> > > > > 09:10 < kangaroo> you're going to have to build the gtk+ stack yourself
> > > > > 09:10 < kangaroo> and gtk# dll.config remaps
> > > > > 09:11 < kangaroo> also note we're likely only going to support the
> > > > > binary version we ship initially
> > > > > 09:11 < kangaroo> tomboy needs libpanelapplet tho doesn't it?
> > > > > 09:11 < boyd> kangaroo: so will the imendio stuff be part of the next
> > > > > mono release (the one that's gonna release before the end of the
> > > > > year)?
> > > > > 09:12 < kangaroo> but it might come as a mac-only point release slightly later
> > > > > 09:12 < kangaroo> as we're not going to hold up the release for just that
> > > > > 09:13 < boyd> kangaroo: we'd like to remove our dependencies on
> > > > > libpanelapplet and make tomboy pure gtk+ soon
> > > > > 09:13 < kangaroo> boyd: currently we dont have a firmer date than "soon"
> > > > > 09:13 < kangaroo> We've done the bulk of the work
> > > > > 09:13 < kangaroo> but we still need to start testing and all such things
> > > > > 09:13 < kangaroo> boyd: I'm just looking at the tomboy source now quickly
> > > > > 09:13 < kangaroo> you're also going to need to drop libgnomeprint
> > > > > 09:13 < kangaroo> gnome-sharp
> > > > > 09:13 < kangaroo> gconf-sharp
> > > > > 09:14 < boyd> gconf-sharp too?
> > > > > 09:14 < kangaroo> boyd: Yes; we're not shipping gconf at this time
> > > > > 09:15 < kangaroo> also you can't use gdkx.h
> > > > > 09:15 < kangaroo> because you dont have x
> > > > > 09:15 < kangaroo> also stop using linux-isms in your c code
> > > > > 09:15 < kangaroo> uint is not a portable type
> > > > > 09:16 < kangaroo> same with False
> > > > > 09:16 < kangaroo> its FALSE
> > > > > 09:16 < kangaroo> thats what I see quickly
> > > > > 09:17 < kangaroo> boyd: I would suggest depending on mono.addins 0.3
> > > > > (or pulling it into your tree)
> > > > > 09:17 <@kangaroo> I already de-gnomeififed that for you
> > > > > 09:19 <@kangaroo> boyd: I'll take a look at what gconf would require for us
> > > > > 09:19 <@kangaroo> we might be able to add that dep
> > > > > 09:20 <@kangaroo> ah no
> > > > > 09:20 <@kangaroo> it requires ORBit
> > > > > 09:20 <@kangaroo> which pulls us down a dependncy hell; we wont be
> > > > > supporting that soon
> > > > > 09:21 < boyd> :)
> > > > > 09:21 < boyd> monodevelop has to be using a configuration system,
> > > > > perhaps we could just migrate to use that?
> > > > > 09:21 <@kangaroo> they do their stuff internally iirc
> > > > > 09:21 <@kangaroo> you could take a look
> > > > > _______________________________________________
> > > > > Tomboy-list mailing list
> > > > > Tomboy-list at lists.beatniksoftware.com
> > > > > http://lists.beatniksoftware.com/listinfo.cgi/tomboy-list-beatniksoftware.com
> > > > >
> > > >
> > >
> > _______________________________________________
> > Tomboy-list mailing list
> > Tomboy-list at lists.beatniksoftware.com
> > http://lists.beatniksoftware.com/listinfo.cgi/tomboy-list-beatniksoftware.com
> >
>


More information about the Tomboy-list mailing list