LWN.net Logo

Intel and XMir

Intel and XMir

Posted Sep 13, 2013 0:25 UTC (Fri) by daniels (subscriber, #16193)
In reply to: Intel and XMir by maxiaojun
Parent article: Intel and XMir

GTK+ 2.x was ABI-stable (as well as API-stable, obviously) for 9 years. Nine. Including major releases adding features and new capabilities.

That's two years longer than the period between the initial release of Windows XP, and the release of its last service pack.


(Log in to post comments)

Intel and XMir

Posted Sep 16, 2013 9:23 UTC (Mon) by dgm (subscriber, #49227) [Link]

And probably is the reason why so many projects used GTK+ when targeting Linux.

Windows, on the other hand, still supports the same ABI and API since Windows 95. That's 18 years, and still counting.

Intel and XMir

Posted Sep 16, 2013 16:53 UTC (Mon) by dlang (✭ supporter ✭, #313) [Link]

No, windows doesn't. They changed things so a lot of programs that were written for windows 95 no longer work and need to be updated.

Intel and XMir

Posted Sep 17, 2013 7:09 UTC (Tue) by dgm (subscriber, #49227) [Link]

I do routinely run binaries that I compiled for Win32 like 15 years ago. None of my early GTK+ (1.2) binaries runs today. Most don't even compile any more. That's sad.

Intel and XMir

Posted Sep 17, 2013 10:26 UTC (Tue) by dlang (✭ supporter ✭, #313) [Link]

I have had a number of programs that were written for Win 95/98 that stopped working with newer versions of windows until they were updated.

i also have some very old binaries on some of my Linux systems that are still working today. Some of those are graphical apps that were written for motif (although admittedly, most are command line apps)

The fact that you are having problems with GTK+ 1.2 apps has more to say about the GTK developers than Linux overall.

You will not find me defending the backwards compatibility of Desktop Environment developers, and the fact that Gnome2 and Gnome3 could not both be insalled on the same system is a perfect example of the problem (and far from the only one, it's not limited to Gnome)

Intel and XMir

Posted Sep 17, 2013 12:09 UTC (Tue) by pizza (subscriber, #46) [Link]

I doubt they fail to run or compile due to GTK-1.2 errors specifically, because the GTK folks are pretty good about backwards compatibility within a major API series and explicitly encourage parallel library installations.

That said, I know Fedora (and presumably others) stopped shipping GTK-1.2 libraries by default several years ago because there's nothing in the standard install sets that uses GTK-1.2 any more. It's still available via yum for those that want/need it.

So, I'm genuinely curious as to what you are trying to run/build, and if you checked that the libraries/headers are indeed installed, and if that build error is indeed due to GTK.

And on a tangental note, I've found that Linux (via Wine) often provides better backwards compatibility for older/ancient Windows software than modern Windows does, especially for stuff written during the years of massive DirectX API churn.

Intel and XMir

Posted Sep 17, 2013 13:16 UTC (Tue) by dgm (subscriber, #49227) [Link]

> So, I'm genuinely curious as to what you are trying to run/build, and if you checked that the libraries/headers are indeed installed, and if that build error is indeed due to GTK.

My own tools I wrote back in the day, while learning GTK+. GTK+ 1.x has not been available in Ubuntu for a long time (don't know about others), so no headers and no libraries here. Unless I compile my own, something I'm was not very inclined to do.

Intel and XMir

Posted Sep 17, 2013 13:35 UTC (Tue) by peter-b (subscriber, #66996) [Link]

GTK+ 1.2 libraries are still in Fedora, fortunately!

Intel and XMir

Posted Sep 17, 2013 15:02 UTC (Tue) by mathstuf (subscriber, #69389) [Link]

Ubuntu doesn't ship dillo, the best browser ever? Heresy!

Intel and XMir

Posted Oct 1, 2013 12:38 UTC (Tue) by JanC_ (guest, #34940) [Link]

Ubuntu ships Dillo 3.x, which uses FLTK, which is available in Ubuntu.

Intel and XMir

Posted Sep 19, 2013 17:33 UTC (Thu) by Wol (guest, #4433) [Link]

And I have a bunch of programs that were sold certified for XP, and now won't even install on Win7.

Cheers,
Wol

Intel and XMir

Posted Sep 19, 2013 5:24 UTC (Thu) by freetard (guest, #92836) [Link]

Exercise time:

Try compile http://i8086emu.sourceforge.net/ on any recent distribution. RHEL family doesn't count.

Intel and XMir

Posted Sep 19, 2013 7:00 UTC (Thu) by tzafrir (subscriber, #11501) [Link]

No gtk2 issues. I did have to pass -fPIC explicitly in the CFLAGS for it build. There were also quite a few apparent 64bit issues. But it built, linked and ran OK.

System: Debian Stable (7.0).

Intel and XMir

Posted Sep 19, 2013 11:39 UTC (Thu) by pizza (subscriber, #46) [Link]

Compiled just fine (even with the GUI) on Fedora 19 (x86_64). I had to add '-fPIC' to CFLAGS, and add the appropriate -devel packages.

Fedora 19 is about as recent as it gets, BTW.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds