Re: [Gimp-developer] How to compile a vala GIMP plugin on Windows pc?
On Sun, 2021-01-03 at 22:35 -0800, Pen Guin via gimp-developer-list wrote: > Thanks everyone, for your valuable input. > > STATUS UPDATE: > > * I have installed msys2 on my windows 8 pc. haha thank you for proving us wrong! ;:-) that's awesome. (and i'm not being sarcastic) > Question 1: To get GIMP header files and vapi (binding) file/s, which > version/repo of GIMP should I download? Please specify exact url link > of the resource to avoid possible mixup. > > > Question 2: Please specify path of the folder/folder-tree where GIMP > header files are stored. You need gimp-ui-3.0.vapi and gimp-3.0.vapi;also bable-0.1.vapi and gegl-0.4.vapi; on Linux these end up in $PREFIX/share/vala/vapi - i'm not sure about Windows installs, sorry, maybe someone else can help with that. But they should be included. You'll also want to find gimptool-2.99; this has an option to build a plugin from source, although i don't know if it works for vala i don't see why not. You may need to generate the C first using vala, as you found. I found examples on the Web of people using gimptool in MINGW. You should have everything you need, depending on where you got gimp. It's more of a mess than usual right now for gimp 2.99.x or gimp 3, as a lot of API stuff is in transition to 3.0 and instrospection. liam ___ gimp-developer-list mailing list List address:gimp-developer-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list List archives: https://mail.gnome.org/archives/gimp-developer-list
Re: [Gimp-developer] How to compile a vala GIMP plugin on Windows pc?
Thanks everyone, for your valuable input. STATUS UPDATE: * I have installed msys2 on my windows 8 pc. * I have installed vala development tools (and its dependencies, gcc compiler, etc) also. * I am able to compile vala prog/scripts successfully. This includes standalone prog/scripts as well as library dependent prog/scripts. * As an example of 3rd party library prog compilation: I installed Gtk3 library. Later, I compiled my sample prog/script via: valac --pkg=gtk+-3.0 testing_gtk.vala The prog compiled without any warnings and it is working ok. * UNRESOLVED ISSUE: Compiling GIMP 2.99.x plugin using vala: In order to compile a prog/script/plugin relating to a 3rd party library, vala requires: 1) C Header files of that library 2) Vapi (binding) file/s of that library Question 1: To get GIMP header files and vapi (binding) file/s, which version/repo of GIMP should I download? Please specify exact url link of the resource to avoid possible mixup. Question 2: Please specify path of the folder/folder-tree where GIMP header files are stored. Question 3: Please specify path of the folder/folder-tree where vala vapi (binding) files are stored. Any other tips, guidance in this regard shall be appreciated. Thanks. On Monday, January 4, 2021, Bill Ross via gimp-developer-list < gimp-developer-list@gnome.org> wrote: > To be clear, I don't speak for gimp, haven't worked on it even, but did > look into Windows programming for a possible job during a dry spell, and > I'd rather code in COBOL with vi. So, sorry the intent was wasted. > :-)BillAI:http://phobrain.com/pr/home/view.html > Original message From: Christopher Curtis via > gimp-developer-list Date: 1/3/21 6:48 > PM (GMT-08:00) To: gimp-developer > Subject: Re: [Gimp-developer] [Gimp-user] How to compile a vala GIMP plugin > on Windows pc? These are incredibly unhelpful responses.It is fine to > evangelize if you are also providing useful information, butone cannot > simultaneously bemoan the lack of developers for a particularplatform and > also chastise those developing on that platform.To the original questioner, > I would suggest following Jernej's advice. I,unfortunately, don't regularly > use Windows or Vala, but there are claims ofVala support in 2.99.4 so > someone must have had some success. I do have aWindows 10 machine that I > installed Debian on using WSL2 (I may have eveninstalled it from the > Microsoft Store) - that may be an easier solutionthan installing MSys2, but > I cannot say authoritatively. If nothing else,it may be a better first step > to ensure you can build the plugin onGIMP's primary development > environment, then try it with MSys2.If you can document your Windows Vala > Plugin build process in the Wiki thatwould be even better. This may be > useful to get started:https://wiki.gimp.org/wiki/Hacking:Building/ > WindowsIdeally, GIMP would provide a Windows SDK that plugins could be > builtagainst, but I don't know if anyone has considered that. It's > quitepossible that with GObject introspection simply installing the > GIMPexecutable provides that function and you only need a Vala compiler > tocompile the Vala code (I don't know how linking works in that case, but > itsounds nice).ChrisOn Sun, Jan 3, 2021 at 5:52 PM Bill Ross via > gimp-developer-list wrote:> If you can > find any online docs on Windows programming, that should> finish convincing > you.>> Bill>> On 1/3/21 12:36 PM, Ruben Safir wrote:> > Save yourself a > life time of trouble and switch ovr the a GNU system now> --> Phobrain.com> > ___> gimp-developer-list > mailing list> List address:gimp-developer-list@gnome.org> List > membership:> https://mail.gnome.org/mailman/listinfo/gimp-developer-list> > List archives: https://mail.gnome.org/archives/gimp-developer-list>_ > __gimp-developer-list mailing > listList address:gimp-developer-list@gnome.orgList membership: > https://mail.gnome.org/mailman/listinfo/gimp-developer-listList > archives: https://mail.gnome.org/archives/gimp-developer-list > ___ > gimp-developer-list mailing list > List address:gimp-developer-list@gnome.org > List membership: https://mail.gnome.org/mailman/listinfo/gimp- > developer-list > List archives: https://mail.gnome.org/archives/gimp-developer-list > ___ gimp-developer-list mailing list List address:gimp-developer-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list List archives: https://mail.gnome.org/archives/gimp-developer-list
Re: [Gimp-developer] [Gimp-user] How to compile a vala GIMP plugin on Windows pc?
To be clear, I don't speak for gimp, haven't worked on it even, but did look into Windows programming for a possible job during a dry spell, and I'd rather code in COBOL with vi. So, sorry the intent was wasted. :-)BillAI:http://phobrain.com/pr/home/view.html Original message From: Christopher Curtis via gimp-developer-list Date: 1/3/21 6:48 PM (GMT-08:00) To: gimp-developer Subject: Re: [Gimp-developer] [Gimp-user] How to compile a vala GIMP plugin on Windows pc? These are incredibly unhelpful responses.It is fine to evangelize if you are also providing useful information, butone cannot simultaneously bemoan the lack of developers for a particularplatform and also chastise those developing on that platform.To the original questioner, I would suggest following Jernej's advice. I,unfortunately, don't regularly use Windows or Vala, but there are claims ofVala support in 2.99.4 so someone must have had some success. I do have aWindows 10 machine that I installed Debian on using WSL2 (I may have eveninstalled it from the Microsoft Store) - that may be an easier solutionthan installing MSys2, but I cannot say authoritatively. If nothing else,it may be a better first step to ensure you can build the plugin onGIMP's primary development environment, then try it with MSys2.If you can document your Windows Vala Plugin build process in the Wiki thatwould be even better. This may be useful to get started:https://wiki.gimp.org/wiki/Hacking:Building/WindowsIdeally, GIMP would provide a Windows SDK that plugins could be builtagainst, but I don't know if anyone has considered that. It's quitepossible that with GObject introspection simply installing the GIMPexecutable provides that function and you only need a Vala compiler tocompile the Vala code (I don't know how linking works in that case, but itsounds nice).ChrisOn Sun, Jan 3, 2021 at 5:52 PM Bill Ross via gimp-developer-list wrote:> If you can find any online docs on Windows programming, that should> finish convincing you.>> Bill>> On 1/3/21 12:36 PM, Ruben Safir wrote:> > Save yourself a life time of trouble and switch ovr the a GNU system now> --> Phobrain.com> ___> gimp-developer-list mailing list> List address: gimp-developer-list@gnome.org> List membership:> https://mail.gnome.org/mailman/listinfo/gimp-developer-list> List archives: https://mail.gnome.org/archives/gimp-developer-list>___gimp-developer-list mailing listList address: gimp-developer-list@gnome.orgList membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-listList archives: https://mail.gnome.org/archives/gimp-developer-list ___ gimp-developer-list mailing list List address:gimp-developer-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list List archives: https://mail.gnome.org/archives/gimp-developer-list
Re: [Gimp-developer] [Gimp-user] How to compile a vala GIMP plugin on Windows pc?
These are incredibly unhelpful responses. It is fine to evangelize if you are also providing useful information, but one cannot simultaneously bemoan the lack of developers for a particular platform and also chastise those developing on that platform. To the original questioner, I would suggest following Jernej's advice. I, unfortunately, don't regularly use Windows or Vala, but there are claims of Vala support in 2.99.4 so someone must have had some success. I do have a Windows 10 machine that I installed Debian on using WSL2 (I may have even installed it from the Microsoft Store) - that may be an easier solution than installing MSys2, but I cannot say authoritatively. If nothing else, it may be a better first step to ensure you can build the plugin on GIMP's primary development environment, then try it with MSys2. If you can document your Windows Vala Plugin build process in the Wiki that would be even better. This may be useful to get started: https://wiki.gimp.org/wiki/Hacking:Building/Windows Ideally, GIMP would provide a Windows SDK that plugins could be built against, but I don't know if anyone has considered that. It's quite possible that with GObject introspection simply installing the GIMP executable provides that function and you only need a Vala compiler to compile the Vala code (I don't know how linking works in that case, but it sounds nice). Chris On Sun, Jan 3, 2021 at 5:52 PM Bill Ross via gimp-developer-list < gimp-developer-list@gnome.org> wrote: > If you can find any online docs on Windows programming, that should > finish convincing you. > > Bill > > On 1/3/21 12:36 PM, Ruben Safir wrote: > > Save yourself a life time of trouble and switch ovr the a GNU system now > -- > Phobrain.com > ___ > gimp-developer-list mailing list > List address:gimp-developer-list@gnome.org > List membership: > https://mail.gnome.org/mailman/listinfo/gimp-developer-list > List archives: https://mail.gnome.org/archives/gimp-developer-list > ___ gimp-developer-list mailing list List address:gimp-developer-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list List archives: https://mail.gnome.org/archives/gimp-developer-list
Re: [Gimp-developer] [Gimp-user] How to compile a vala GIMP plugin on Windows pc?
If you can find any online docs on Windows programming, that should finish convincing you. Bill On 1/3/21 12:36 PM, Ruben Safir wrote: Save yourself a life time of trouble and switch ovr the a GNU system now -- Phobrain.com ___ gimp-developer-list mailing list List address:gimp-developer-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list List archives: https://mail.gnome.org/archives/gimp-developer-list
Re: [Gimp-developer] [Gimp-user] How to compile a vala GIMP plugin on Windows pc?
We got it and heard you. The easist way to do it is the use linux. There might be someone who compiles on WIndows, but MS removed all the compilers from its commericial OS and explaining how to install an entire compiler and make environment on a stripped down commerical windows box is a long and drawn out discussion. Save yourself a life time of trouble and switch ovr the a GNU system now On Sun, Dec 27, 2020 at 09:50:54PM -0800, Pen Guin via gimp-user-list wrote: > Hi, > > I have downloaded GIMP 2.99.4 on my Windows 8 pc. > > I want to compile the goat-exercise vala plugin shipped with GIMP. Can > anyone please tell me how can I compile a vala plugin on my pc? What other > softwares AND/OR dependent-files do I need to download? What command and > attributes do I need to pass to the vala compiler to get a working exe > without any errors? > > Thanks. > ___ > gimp-user-list mailing list > List address:gimp-user-l...@gnome.org > List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list > List archives: https://mail.gnome.org/archives/gimp-user-list -- So many immigrant groups have swept through our town that Brooklyn, like Atlantis, reaches mythological proportions in the mind of the world - RI Safir 1998 http://www.mrbrklyn.com DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002 http://www.nylxs.com - Leadership Development in Free Software http://www2.mrbrklyn.com/resources - Unpublished Archive http://www.coinhangout.com - coins! http://www.brooklyn-living.com Being so tracked is for FARM ANIMALS and extermination camps, but incompatible with living as a free human being. -RI Safir 2013 ___ gimp-developer-list mailing list List address:gimp-developer-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list List archives: https://mail.gnome.org/archives/gimp-developer-list
Re: [Gimp-developer] [Gimp-user] How to compile a vala GIMP plugin on Windows pc?
On Sun, 2020-12-27 at 21:50 -0800, Pen Guin via gimp-user-list wrote: > Hi, > > I have downloaded GIMP 2.99.4 on my Windows 8 pc. > I want to compile the goat-exercise vala plugin shipped with GIMP. What are you trying to do exactly? Are you familiar with C programming? -- ankh - full time slave in voluntary servitude ___ gimp-developer-list mailing list List address:gimp-developer-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list List archives: https://mail.gnome.org/archives/gimp-developer-list