-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow using a preinstalled oldgtk3 #44
base: master
Are you sure you want to change the base?
Allow using a preinstalled oldgtk3 #44
Conversation
This allows using a preinstalled oldgtk3 (either installed by nimble install or manually in nimble's search paths) after the download failed.
Do you think someone is seriously using gintro or GTK/Nim ? I really don't know. Using gintro without access to oldgtk3 is of course easily possible, as only 3 files from oldgtk3 are involved, so one can just copy them into gintro package. (copy is ok, when we consider oldgtk3 as static -- but maybe oldgtk3 will need some fixes for upcoming compiler.) ngtk was my first GTK3 trial which allowed install of single files, while oldgtk3 does a complete nimble install of all GTK related files. And yes, I think the initial gintro release used still single files from ngtk3. Note that ngtk3 is marked for deletion for some years now, I really should do the delete soon. What some people have asked for is a prebuilt version of gintro package. But that is a bit hard, we need files for win, linux, mac each in 32 and 64 bit versions, and maybe for various GTK releases, later for GTK4. People have not really convinced me that this is necessary or makes a lot of sense. I will investigate your patch soon, but it may take some time. I have worked a lot on gintro in the last days already, just released v0.4.16 with better GtkSourceView and Gtk_Builder support which recently someone asked for, and a new drawingarea example. This morning I got an new issue report for some types of signals, maybe I will have to fix that fast when reporter really needs it. And I started working on destructor support -- for cairo surface destructors would be nice. |
I don't know if anybody is using gintro. I'm creating it for myself because I want to look into gintro (and hopefully will be able to use it for a project of mine). Creating packages (or Nix shells) for development is the usual case if you use NixOS because libraries are not installed in standard paths.
I don't see a problem downloading the whole oldgtk3 repo. It just takes a few seconds. In fact at first I tried to convince nimble to install oldgtk3 before executing the
Yes, I must say, it was a little confusing in the beginning.
I'm happy to see you're working on this project and make progress :-) |
@StefanSalewski any chance you'd consider taking another look at this? Or is it still relevant? gintro dosn't seem to be easily usable on NixOS right now:
( |
Sorry, I dont know what Nix is, dont know why you are packaging something. Gintro has currently maybe two or three serious users, so for whom do you packaging something? Nim has 20 other GUI toolkits now, maybe I should remove gintro from GitHub? |
Maybe somebody should edit the Nim Wikipedia page, I bet I'm not the first to come straight here when checking out Nim. |
I really don't like the Nim Wikipedia page that much. But no one cares for my feelings :-) For Wikipedia the general problem is, that people add a lot of stuff, and no one dares to remove it, because the original author may become angry. |
This allows using a preinstalled oldgtk3 (either installed by
nimble install
or manually in nimble's search paths) after the download failed.I saw the directory
ngtk3
which was unused, so I guess it has already been possible in the past. I need this because I am packaging gintro for Nix. There it is not allowed to download files during the build/install phase. So I'm installing oldgtk3 before and need nimble to use it (it is the "unlikely case" you are referring to in the warning message).