frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Classic GTK1 GUI Library

https://gitlab.com/robinrowe/gtk1
42•MaximilianEmel•3d ago

Comments

vintagedave•1h ago
I never followed the history of GTK very much but reading about non-compatibility between versions surprises me, just as a matter of software engineering re a critical dependency.

I am unsure from the page, just that it implied: is there software in 2025 still using GTK v1?

gary_0•1h ago
`apt search libgtk` on Linux Mint 21.2 doesn't show it. Only versions 2, 3 and 4.

Searching https://pkgs.org says that most distros don't have a gtk 1 package... except for Slackware!

badsectoracula•59m ago
Lazarus[0] has a Gtk 1.2 backend that i occasionally fix (though it has been a while since i tested it), but you need to install the Gtk 1.2 libraries from source[1] since no current distro aside from Slackware (from where i got the sources and patches) packages it. Even Slackware though doesn't provide gdk_pixbuf (which Lazarus needs) though, so you'd need to compile that.

I'm not sure if GTK1 (the linked one) is backwards and/or binary compatible with Gtk 1.2 though.

[0] https://www.lazarus-ide.org/

[1] http://runtimeterror.com/pages/badsector/gtk12/

joz1-k•1h ago
Nice to see that someone is still maintaining the original GTK1 toolkit. It's like the classic Win32 UI API for the Linux/Unix. Linux UI libraries are a constantly moving target and one can be easily more occupied by adapting to those toolkit API changes instead of focusing on the features of the application itself. I guess that CinePaint developers decided at some point that they don't want to endure API changes in the UI toolkit anymore.

On the other hand, I think GTK1 doesn't even support Unicode.

pferde•1h ago
Yeah, I think GTK2 would be a better candidate to keep maintaining. GTK3 is where it started to go to hell in a handbasket.
zokier•1h ago
Gtk2 also had exceptionally long lifetime, initial release in 2002 and last release in 2020. In contrast Gtk1 was initially released in 1998 and last release was 2001.
WesolyKubeczek•53m ago
It doesn't support Unicode, doesn't support font antialiasing, and instead of fontconfig, you need to grapple with X11 core font support, using ttmkfdir and friends, and make the X11 server aware of where the fonts are.

It's some experience I definitely don't miss from those days.

joz1-k•4m ago
Oh, yes, I remember those early times as well. :) The question is whether it's possible to maintain the legacy API and upgrade the internal architecture to use more modern approaches. I think it's almost always possible, but perhaps the cost to develop and maintain such a legacy layer is too high for an open-source desktop environment and toolkit. The Windows OS managed to support old APIs quite well, but the available resources are incomparable.
badsectoracula•1h ago
Is it binary backwards compatible with Gtk1.2? AFAICT from the description it seems to be based on Gtk1.2 but it is its own thing.

I've being using Gtk 1.2 + patches[0] (which i made by combining the last release with a few patches from Slackware) to occasionally check Lazarus' Gtk1 support. It is also neat if you want to make self-contained binaries, for example this little animation utility i wrote some time ago[1] has a Gtk1-based build with Gtk1 linked statically on it and the tool relying on just X11 and OpenGL.

[0] http://runtimeterror.com/pages/badsector/gtk12/

[1] http://runtimeterror.com/tools/piecemod/

HexDecOctBin•44m ago
Somewhat tangential: Is there a lightweight distribution of GTK2? I was shopping for a cross-platform GUI library with a C API, and GTK2 seemed like the right choice. But the Windows distribution [1] had 30-40 DLLs and none of them seemed to be optional in DependencyWalker.

[1] https://github.com/tschoonj/GTK-for-Windows-Runtime-Environm...

roschdal•29m ago
GTK1 is the best GTK.

Qwen3-Next

https://qwen.ai/blog?id=4074cca80393150c248e508aa62983f9cb7d27cd&from=research.latest-advancement...
239•tosh•5h ago•75 comments

Astrophysics Source Code Library

http://ascl.net/
14•SiempreViernes•1h ago•0 comments

Examples from The LaTeX Companion book (3rd edition)

https://ctan.org/pkg/tlc3-examples
28•teleforce•3h ago•5 comments

Becoming the person who does the thing

https://www.fredrivett.com/2025/09/10/becoming-the-person-who-does-the-thing/
18•fredrivett•1h ago•1 comments

Show HN: I made a generative online drum machine with ClojureScript

https://dopeloop.ai/beat-maker/
32•chr15m•3h ago•10 comments

Why our website looks like an operating system

https://posthog.com/blog/why-os
430•bnc319•12h ago•304 comments

Float Exposed

https://float.exposed/
256•SomaticPirate•11h ago•63 comments

Classic GTK1 GUI Library

https://gitlab.com/robinrowe/gtk1
43•MaximilianEmel•3d ago•11 comments

Debian 13, Postgres, and the US time zones

https://rachelbythebay.com/w/2025/09/11/debtz/
150•move-on-by•9h ago•63 comments

Top model scores may be skewed by Git history leaks in SWE-bench

https://github.com/SWE-bench/SWE-bench/issues/465
413•mustaphah•17h ago•127 comments

Using Emacs Org-Mode With Databases: A getting-started guide

https://gitlab.com/ryanprior/emacs-org-data-starter
56•adityaathalye•3d ago•6 comments

Introduction to Nyquist and Lisp Programming

https://manual.audacityteam.org/man/introduction_to_nyquist_and_lisp_programming.html
13•swatson741•3d ago•0 comments

Claude’s memory architecture is the opposite of ChatGPT’s

https://www.shloked.com/writing/claude-memory
372•shloked•17h ago•197 comments

Logging in Go with Slog: A Practitioner's Guide

https://www.dash0.com/guides/logging-in-go-with-slog
28•ayoisaiah•3d ago•15 comments

Doorbell prankster that tormented residents of apartments turns out to be a slug

https://www.theguardian.com/world/2025/sep/08/doorbell-prankster-that-tormented-residents-of-germ...
203•robin_reala•3d ago•103 comments

AirPods live translation blocked for EU users with EU Apple accounts

https://www.macrumors.com/2025/09/11/airpods-live-translation-eu-restricted/
370•thm•1d ago•428 comments

XFN – XHTML Friends Network (2003)

https://gmpg.org/xfn/
42•thinkingemote•4d ago•9 comments

Building my childhood dream PC

https://fabiensanglard.net/2168/
156•joexbayer•4d ago•54 comments

Behind the scenes of Bun Install

https://bun.com/blog/behind-the-scenes-of-bun-install
394•Bogdanp•23h ago•131 comments

Toddlerbot: Open-Source Humanoid Robot

https://toddlerbot.github.io/
78•base698•12h ago•16 comments

Samsung taking market share from Apple in U.S. as foldable phones gain momentum

https://www.cnbc.com/2025/08/16/samsungs-us-market-share-apple-rivalry-foldable-phones.html
239•mgh2•1d ago•272 comments

Bulletproof host Stark Industries evades EU sanctions

https://krebsonsecurity.com/2025/09/bulletproof-host-stark-industries-evades-eu-sanctions/
191•todsacerdoti•18h ago•72 comments

Rails on SQLite: new ways to cause outages

https://andre.arko.net/2025/09/11/rails-on-sqlite-exciting-new-ways-to-cause-outages/
161•ingve•17h ago•49 comments

Show HN: C++ Compiler Support Page

https://cppstat.dev
51•cemdervis•4d ago•14 comments

Gene-edited pancreatic cells transplanted into a patient with type 1 diabetes

https://www.wired.com/story/no-more-injections-crispr-offers-new-hope-for-treating-diabetes/
228•manveerc•22h ago•58 comments

From burner phones to decks of cards: NYC teens adjusting to the smartphone ban

https://gothamist.com/news/from-burner-phones-to-decks-of-cards-nyc-teens-are-adjusting-to-the-sm...
249•geox•22h ago•188 comments

Danish supermarket chain is setting up "Emergency Stores"

https://swiss.social/@swaldorff/115186445638788782
291•sohkamyung•13h ago•290 comments

The challenge of maintaining curl

https://lwn.net/Articles/1034966/
155•signa11•10h ago•43 comments

Full Moon: Seestar S50 vs. Samsung S25

https://www.4rknova.com//blog/2025/09/08/moon-photos
35•ibobev•3d ago•28 comments

Conway's Game of Life, but musical

https://www.hudsong.dev/digital-darwin
195•hudsongr•22h ago•32 comments