Re: [gtkmm] gtkmm2, gconfmm, libglademm installer for Mac OS X



Ok, here's how I built it.

Grab DarwinPorts. I have Panther with X11 and X11 SDK.

The gtk+ dependencies I installed are: atk, expat, fontconfig, freetype, gettext, glib2, gtk2, jpeg, libpng, libungif, pango, pkgconfig, tiff, Xft2, xrender

For libglade2, I modified the portfile to not depend on gnome, so my libglade2 does not depend on gnome, but it also cannot use gnome widgets. libxml2 is required.

Gconf needs linc, orbit2, gconf

In the Portfiles for libsigc++, gtkmm2, libglademm, and gconfmm, I used these values for configure.env (in other words, these were passed to configure):
CPPFLAGS="-L${prefix}/lib -I${prefix}/include"
CFLAGS="-no-cpp-precomp -flat_namespace -undefined suppress"

After configure happened, I modified the generated 'libtool' script. I changed CC and LTCC to use 'g++' instead of 'gcc'

After that, they build and run fine with the setup I described.

And murray, I'm not expecting or asking anything of you. I don't know why you get that idea. I'm just presenting this stuff that I built, that is all. You're under no obligation to do anything at all with it.

Julian

On 20 Jan, 2004, at 4:52, Murray Cumming wrote:

On Mon, 2004-01-12 at 19:54, Julian Missig wrote:
On 12 Jan, 2004, at 13:38, Murray Cumming Comneon com wrote:

Well, anyway, I'll be leaving campus soon and no longer have this
bandwidth.

The packages are at
http://skadi.res.cmu.edu/~julian/gtkmm-packages.dmg

I have downloaded them for safety. I am a bit reluctant to
put binary packages on gtkmm.org until
- I am sure that they will be maintained in future. Isn't
there some central repository for things like this?

DarwinPorts does not host binary packages. Fink hosts binary versions
of their packages... eventually...

I do want to see the discussion in which the Fink people apparently
refused to help you to package gtkmm for Fink. So far I have heard
nothing specific, so I have nothing to tell the people who want gtkmm in
Fink.

 but these were generated using
DarwinPorts, which uses a different path prefix from Fink. Fink also
does not use these double-clickable installers like DarwinPorts can
produce.

That sounds like a nice feature.

 osxgnu ( http://www.osxgnu.org/ ) hosts binary packages, but
I'm not sure whether they'd host something generated by DarwinPorts.

- The build process is documented. I would like a
README.MacOSX, like our current README.win32 and README.SUN
- I see that you have at least tried to get libtool fixed
instead of patching it locally.

What more do you want me to do?

Like I say, I would like the build process to be documented, just as it
is for our other unusual platforms.

 I've contacted all the people I can and
no one seems to know why it works like that or give a shit.

For the libtool thing, you could point me to the email discussion in an
archive or a bug report. Then I could take it further if you don't want
to. At least we would have something to point to in our documentation.

I do appreciate your efforts, but I don't want them to be wasted.

Whatever. I made these so that my users could get gtkmm installed. I've
battled with this stuff for so long with so many unhelpful people I
honestly don't care whether they're "officially" distributed anywhere.
I have something which works, so that's good enough to get Gabber2 on
OS X. I'm done as far as I'm concerned.

If gtkmm.org hosts them, then we'd need someone who will package future
gtkmm releases as well. Sorry, but you can't expect anything else.

--
Murray Cumming
murrayc usa net
www.murrayc.com





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]