Originally posted by tpruzina
View Post
Announcement
Collapse
No announcement yet.
GTK Lands Meson Build System Support
Collapse
X
-
- Likes 1
-
Originally posted by Sonadow View Postnone of the software I currently build for my personal consumption (Libreoffice, Firefox, Chromium, OpenJDK, etc) use Meson so I can't gain any experience on it as of now.
- Likes 3
Comment
-
Originally posted by rudregues View Post
I would like to go back to Gentoo if it wasn't the fucking compile times. Maybe more devs using Meson+Ninja can reduce overall compile time and give me some hope to get back.
Comment
-
Originally posted by Brane215 View PostMeson is written in Python. Meh.
Python can be nice for many things, but building infrastructure is not one of them.
For that, I want as few dependencies as possible.
- Likes 1
Comment
-
GTK is nice and GTK4 is looking promising. They are removing many deprecated APIs so it will be more streamlined and simpler to learn and use.
Things I've noticed:- Glade is buggy, Glade gets slow (leaks?), Glade crashes.
- Glade doesn't seem to add CellRenderers to GtkTreeView and GtkEntryCompletion so I end up having to manually edit the XML files and add them myself.
- Seems to have some bad defaults. GtkBox spacing defaults to 2 but the HIG recommends you to use a spacing of 6.
- Doesn't support the GtkShortcutsWindow widget.
- Generates code that is inconsistent with "gtk-builder-tool simplify".
- The GtkPaned widget is limited to two panes. So if you want a three-pane layout you will have to nest the widgets in weird and ugly non-intuitive hierarchy.
- The GtkScrolledWindow widget is confusingly named. It is not a window at all. A better name would have been GtkScrolledContainer.
- The GtkRevealer widget perhaps ought to be removed in favor of just using a CSS animation class on a child of GtkBox.
- The GtkFileChooserButton widget does not have any property that you can bind with GSettings.
- Support for hsl() and hsla() for HSL color space in CSS would have been nice. This way you can define a color then programmatically rotate the hue.
- Gdk.RGBA.parse() does not parse HSL and HSLA.
- The XML parser (glib-compile-resources) doesn't support file inclusion. So you end up with big monolithic XML files. It would be nice to be able to move out parts of the XML into separate XML files then get them included. Example headerbar, menubar, statusbar, maybe each Stack in a GtkStack or each page in a GtkNotebook. I guess you could do this yourself with some XML preprocessor though.
- GtkTemplate is supported in Vala but to use it in Python you would have to use the third-party gi_composite package. It is not part of GObject Introspection (GI).
Overall it is a nice widget toolkit. GSettings have two-way property binding to widgets which is really cool. I wish there were a GI binding for .NET Core.Last edited by uid313; 04 May 2017, 05:42 AM.
- Likes 1
Comment
- Glade is buggy, Glade gets slow (leaks?), Glade crashes.
-
Originally posted by Vistaus View Post
Not sure what you mean by many dependencies? When I do sudo pip install meson, it just installs Meson without any extra packages. Even on a clean Solus install. So either you're exaggerating or the amount of dependencies depends on the distro.
Comment
-
Originally posted by Redfoxmoon View PostMy main concern with meson is that (easy and painless) cross compiling is going out the door, since, only autotools has anything of the sort...
- Likes 1
Comment
-
Originally posted by TheBlackCat View Post
And that is different than any other software in history...how exactly?
II have quite a few packages that refuse to run because they don't like my python version etc etc.
Comment
Comment