[Gimp-developer] How to compile a vala plugin on Windows pc?

2021-01-06 Thread Pen Guin via gimp-developer-list
Error Report Attached.
goat-exercise-vala.vala.c: In function 'goat_real_create_procedure':
goat-exercise-vala.vala.c:156:112: warning: passing argument 4 of 
'gimp_image_procedure_new' from incompatible pointer type 
[-Wincompatible-pointer-types]
  156 |  _tmp0_ = (GimpImageProcedure*) gimp_image_procedure_new ((GimpPlugIn*) 
self, name, GIMP_PDB_PROC_TYPE_PLUGIN, _goat_run_gimp_run_image_func, 
g_object_ref (self), g_object_unref);
  | 
   ^
  | 
   |
  | 
   GimpValueArray * (*)(GimpProcedure *, 
GimpRunMode,  GimpImage *, GimpDrawable *, GimpValueArray *, void *)
In file included from C:/msys64/mingw64/include/libgimp/gimp.h:49,
 from goat-exercise-vala.vala.c:27:
C:/msys64/mingw64/include/libgimp/gimpimageprocedure.h:86:66: note: expected 
'GimpRunImageFunc' {aka 'GimpValueArray * (*)(GimpProcedure *, GimpRunMode,  
GimpImage *, GimpDrawable *, const GimpValueArray *, void *)'} but argument is 
of type 'GimpValueArray * (*)(GimpProcedure *, GimpRunMode,  GimpImage *, 
GimpDrawable *, GimpValueArray *, void *)'
   86 |GimpRunImageFunc  
run_func,
  |
~~^~~~
goat-exercise-vala.vala.c: In function 'goat_run':
: error: expected expression before '...' token
C:/msys64/mingw64/include/glib-2.0/glib/gi18n-lib.h:30:42: note: in expansion 
of macro 'GETTEXT_PACKAGE'
   30 | #define  _(String) ((char *) g_dgettext (GETTEXT_PACKAGE, String))
  |  ^~~
goat-exercise-vala.vala.c:252:43: note: in expansion of macro '_'
  252 |   _tmp0_ = (GimpDialog*) gimp_dialog_new (_ ("Exercise a goat (Vala)"), 
PLUG_IN_ROLE, NULL, GTK_DIALOG_USE_HEADER_BAR, 
_gimp_standard_help_func_gimp_help_func, PLUG_IN_PROC, _ ("_Cancel"), 
GTK_RESPONSE_CANCEL, _ ("_Source"), GTK_RESPONSE_APPLY, _ ("_Run"), 
GTK_RESPONSE_OK, NULL, NULL);
  |   ^
In file included from goat-exercise-vala.vala.c:30:
C:/msys64/mingw64/include/glib-2.0/glib/gi18n-lib.h:30:30: error: too few 
arguments to function 'g_dgettext'
   30 | #define  _(String) ((char *) g_dgettext (GETTEXT_PACKAGE, String))
  |  ^~
goat-exercise-vala.vala.c:252:43: note: in expansion of macro '_'
  252 |   _tmp0_ = (GimpDialog*) gimp_dialog_new (_ ("Exercise a goat (Vala)"), 
PLUG_IN_ROLE, NULL, GTK_DIALOG_USE_HEADER_BAR, 
_gimp_standard_help_func_gimp_help_func, PLUG_IN_PROC, _ ("_Cancel"), 
GTK_RESPONSE_CANCEL, _ ("_Source"), GTK_RESPONSE_APPLY, _ ("_Run"), 
GTK_RESPONSE_OK, NULL, NULL);
  |   ^
In file included from C:/msys64/mingw64/include/glib-2.0/glib.h:49,
 from goat-exercise-vala.vala.c:26:
C:/msys64/mingw64/include/glib-2.0/glib/ggettext.h:41:14: note: declared here
   41 | const gchar *g_dgettext  (const gchar *domain,
  |  ^~
: error: expected expression before '...' token
C:/msys64/mingw64/include/glib-2.0/glib/gi18n-lib.h:30:42: note: in expansion 
of macro 'GETTEXT_PACKAGE'
   30 | #define  _(String) ((char *) g_dgettext (GETTEXT_PACKAGE, String))
  |  ^~~
goat-exercise-vala.vala.c:252:175: note: in expansion of macro '_'
  252 |   _tmp0_ = (GimpDialog*) gimp_dialog_new (_ ("Exercise a goat (Vala)"), 
PLUG_IN_ROLE, NULL, GTK_DIALOG_USE_HEADER_BAR, 
_gimp_standard_help_func_gimp_help_func, PLUG_IN_PROC, _ ("_Cancel"), 
GTK_RESPONSE_CANCEL, _ ("_Source"), GTK_RESPONSE_APPLY, _ ("_Run"), 
GTK_RESPONSE_OK, NULL, NULL);
  | 

  ^
In file included from goat-exercise-vala.vala.c:30:
C:/msys64/mingw64/include/glib-2.0/glib/gi18n-lib.h:30:30: error: too few 
arguments to function 'g_dgettext'
   30 | #define  _(String) ((char *) g_dgettext (GETTEXT_PACKAGE, String))
  |  ^~
goat-exercise-vala.vala.c:252:175: note: in expansion of macro '_'
  252 |   _tmp0_ = (GimpDialog*) gimp_dialog_new (_ ("Exercise a goat (Vala)"), 
PLUG_IN_ROLE, NULL, GTK_DIALOG_USE_HEADER_BAR, 
_gimp_standard_help_func_gimp_help_func, PLUG_IN_PROC, _ ("_Cancel"), 
GTK_RESPONSE_CANCEL, _ ("_Source"), GTK_RESPONSE_APPLY, _ ("_Run"), 
GTK_RESPONSE_OK, NULL, NULL);
  | 


Re: [Gimp-developer] How to compile a vala GIMP plugin on Windows pc?

2021-01-06 Thread Pen Guin via gimp-developer-list
 Hi Liam,


After trying: valac -X -DGETTEXT_PACKAGE="\"gimp\"" --pkg=gimp-3.0
--pkg=gimp-ui-3.0 goat-exercise-vala.vala

The old error is gone. I'm now getting a new/different error.

C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
C:\msys64\tmp\ccmvXvml.o:goat-exercise-vala.vala.c:(.text+0x151d):
undefined reference to `gimp_plug_in_get_type'
collect2.exe: error: ld returned 1 exit status
Compilation failed: 1 error(s), 0 warning(s)
error: cc exited with status 1

>---> Full error report is attached.

Thanks.
goat-exercise-vala.vala.c: In function 'goat_real_create_procedure':
goat-exercise-vala.vala.c:156:112: warning: passing argument 4 of 
'gimp_image_procedure_new' from incompatible pointer type 
[-Wincompatible-pointer-types]
  156 |  _tmp0_ = (GimpImageProcedure*) gimp_image_procedure_new ((GimpPlugIn*) 
self, name, GIMP_PDB_PROC_TYPE_PLUGIN, _goat_run_gimp_run_image_func, 
g_object_ref (self), g_object_unref);
  | 
   ^
  | 
   |
  | 
   GimpValueArray * (*)(GimpProcedure *, 
GimpRunMode,  GimpImage *, GimpDrawable *, GimpValueArray *, void *)
In file included from C:/msys64/mingw64/include/libgimp/gimp.h:49,
 from goat-exercise-vala.vala.c:27:
C:/msys64/mingw64/include/libgimp/gimpimageprocedure.h:86:66: note: expected 
'GimpRunImageFunc' {aka 'GimpValueArray * (*)(GimpProcedure *, GimpRunMode,  
GimpImage *, GimpDrawable *, const GimpValueArray *, void *)'} but argument is 
of type 'GimpValueArray * (*)(GimpProcedure *, GimpRunMode,  GimpImage *, 
GimpDrawable *, GimpValueArray *, void *)'
   86 |GimpRunImageFunc  
run_func,
  |
~~^~~~
goat-exercise-vala.vala.c: In function 'goat_run':
goat-exercise-vala.vala.c:267:10: warning: assignment to 'GtkBox *' from 
incompatible pointer type 'GtkWidget *' [-Wincompatible-pointer-types]
  267 |   _tmp6_ = gtk_dialog_get_content_area ((GtkDialog*) _tmp5_);
  |  ^
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
 C:\msys64\tmp\ccmvXvml.o:goat-exercise-vala.vala.c:(.text+0x28): undefined 
reference to `gimp_main'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
 C:\msys64\tmp\ccmvXvml.o:goat-exercise-vala.vala.c:(.text+0x1e2): undefined 
reference to `gimp_image_procedure_new'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
 C:\msys64\tmp\ccmvXvml.o:goat-exercise-vala.vala.c:(.text+0x201): undefined 
reference to `gimp_procedure_set_image_types'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
 C:\msys64\tmp\ccmvXvml.o:goat-exercise-vala.vala.c:(.text+0x214): undefined 
reference to `gimp_procedure_set_menu_label'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
 C:\msys64\tmp\ccmvXvml.o:goat-exercise-vala.vala.c:(.text+0x235): undefined 
reference to `gimp_procedure_set_documentation'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
 C:\msys64\tmp\ccmvXvml.o:goat-exercise-vala.vala.c:(.text+0x248): undefined 
reference to `gimp_procedure_add_menu_path'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
 C:\msys64\tmp\ccmvXvml.o:goat-exercise-vala.vala.c:(.text+0x269): undefined 
reference to `gimp_procedure_set_attribution'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
 C:\msys64\tmp\ccmvXvml.o:goat-exercise-vala.vala.c:(.text+0x27c): undefined 
reference to `gimp_procedure_set_icon_name'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
 C:\msys64\tmp\ccmvXvml.o:goat-exercise-vala.vala.c:(.text+0x2ae): undefined 
reference to `gimp_standard_help_func'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
 C:\msys64\tmp\ccmvXvml.o:goat-exercise-vala.vala.c:(.text+0x500): undefined 
reference to `gimp_ui_init'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
 C:\msys64\tmp\ccmvXvml.o:goat-exercise-vala.vala.c:(.text+0x5c1): undefined 
reference to `gimp_dialog_new'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
 C:\msys64\tmp\ccmvXvml.o:goat-exercise-vala.vala.c:(.text+0x817): 

Re: [Gimp-developer] How to compile a vala GIMP plugin on Windows pc?

2021-01-06 Thread Pen Guin via gimp-developer-list
Thanks Liam, I'll give it go. Fingers crossed.

On Wednesday, January 6, 2021, Liam R E Quin  wrote:

> On Tue, 2021-01-05 at 20:17 -0800, Pen Guin wrote:
> > ?
> >
> > > ---> Tried again:
> > valac -X -DGETTEXT_PACKAGE="..." --pkg=gimp-3.0 --pkg=gimp-ui-3.0
> > goat-exercise-vala.vala
>
> sorry, somehow i missed the attachmetns before.
>
> Where did you get -DGETTEXT_PACKAGE="..." from? I think in the
> stackoverflow answer that features it, ... is meat to be an example.
>
> You could try, -DGETTEXT_PACKAGE="\"gimp\"" maybe; it shuld evaluate to
> a C string.
>
> >
> https://gitlab.gnome.org/GNOME/vala/-/issues/98
> has a suggested workaround.
>
>
>
>
___
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] How to compile a vala plugin on Windows pc?

2021-01-05 Thread Pen Guin via gimp-developer-list
Auto-Generated c code file attached.
/* goat-exercise-vala.c generated by valac 0.50.1, the Vala compiler
 * generated from goat-exercise-vala.vala, do not modify */

/* GIMP - The GNU Image Manipulation Program
 * Copyright (C) 1995 Spencer Kimball and Peter Mattis
 *
 * hello-world.vala
 * Copyright (C) Niels De Graef 
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see .
 */

#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 

#define TYPE_GOAT (goat_get_type ())
#define GOAT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_GOAT, Goat))
#define GOAT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_GOAT, 
GoatClass))
#define IS_GOAT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_GOAT))
#define IS_GOAT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_GOAT))
#define GOAT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_GOAT, 
GoatClass))

typedef struct _Goat Goat;
typedef struct _GoatClass GoatClass;
typedef struct _GoatPrivate GoatPrivate;
enum  {
GOAT_0_PROPERTY,
GOAT_NUM_PROPERTIES
};
static GParamSpec* goat_properties[GOAT_NUM_PROPERTIES];
#define _g_free0(var) (var = (g_free (var), NULL))
#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), 
NULL)))
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref 
(var), NULL)))
#define _vala_assert(expr, msg) if G_LIKELY (expr) ; else 
g_assertion_message_expr (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, msg);
#define _vala_return_if_fail(expr, msg) if G_LIKELY (expr) ; else { 
g_return_if_fail_warning (G_LOG_DOMAIN, G_STRFUNC, msg); return; }
#define _vala_return_val_if_fail(expr, msg, val) if G_LIKELY (expr) ; else { 
g_return_if_fail_warning (G_LOG_DOMAIN, G_STRFUNC, msg); return val; }
#define _vala_warn_if_fail(expr, msg) if G_LIKELY (expr) ; else g_warn_message 
(G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, msg);

struct _Goat {
GimpPlugIn parent_instance;
GoatPrivate * priv;
};

struct _GoatClass {
GimpPlugInClass parent_class;
};

static gpointer goat_parent_class = NULL;

#define PLUG_IN_PROC "plug-in-goat-exercise-vala"
#define PLUG_IN_ROLE "goat-exercise-vala"
#define PLUG_IN_BINARY "goat-exercise-vala"
#define PLUG_IN_SOURCE PLUG_IN_BINARY ".vala"
#define URL 
"https://gitlab.gnome.org/GNOME/gimp/blob/master/extensions/goat-exerci; \
"ses/goat-exercise-vala.vala"
gint _vala_main (gchar** args,
 gint args_length1);
GType goat_get_type (void) G_GNUC_CONST;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (Goat, g_object_unref)
static GList* goat_real_query_procedures (GimpPlugIn* base);
static GimpProcedure* goat_real_create_procedure (GimpPlugIn* base,
   const gchar* name);
GimpValueArray* goat_run (Goat* self,
  GimpProcedure* procedure,
  GimpRunMode run_mode,
  GimpImage* image,
  GimpDrawable* drawable,
  GimpValueArray* args);
static GimpValueArray* _goat_run_gimp_run_image_func (GimpProcedure* procedure,
   GimpRunMode run_mode,
   GimpImage* image,
   GimpDrawable* drawable,
   GimpValueArray* args,
   gpointer self);
static void _gimp_standard_help_func_gimp_help_func (const gchar* help_id,
  void* help_data);
Goat* goat_new (void);
Goat* goat_construct (GType object_type);
static GType goat_get_type_once (void);

gint
_vala_main (gchar** args,
gint args_length1)
{
gint result = 0;
result = gimp_main (TYPE_GOAT, (gint) args_length1, args);
return result;
}

int
main (int argc,
  char ** argv)
{
return _vala_main (argv, argc);
}

static GList*
goat_real_query_procedures (GimpPlugIn* base)
{
Goat * self;
GList* procs = NULL;
gchar* _tmp0_;
GList* result = NULL;
self = (Goat*) base;
procs = NULL;
_tmp0_ = g_strdup (PLUG_IN_PROC);
procs = g_list_append (procs, _tmp0_);
result = procs;
return result;
}

static GimpValueArray*
_goat_run_gimp_run_image_func 

[Gimp-developer] How to compile a vala plugin on Windows pc?

2021-01-05 Thread Pen Guin via gimp-developer-list
STATUS UPDATE

>---> Tried to compile plugin via:
valac --pkg=gimp-3.0 --pkg=gimp-ui-3.0 goat-exercise-vala.vala

>---> Got the following error:
In file included from goat-exercise-vala.vala.c:30:
C:/msys64/mingw64/include/glib-2.0/glib/gi18n-lib.h:27:2: error:
#error You must define GETTEXT_PACKAGE before including gi18n-lib.h.
Did you forget to include config.h?
   27 | #error You must define GETTEXT_PACKAGE before including
gi18n-lib.h.  Did you forget to include config.h?

>---> Tried again:
valac -X -DGETTEXT_PACKAGE="..." --pkg=gimp-3.0 --pkg=gimp-ui-3.0
goat-exercise-vala.vala

>---> Now getting more than a screen-full of warnings and errors.

>---> First few lines of the error report:
goat-exercise-vala.vala.c: In function 'goat_real_create_procedure':
goat-exercise-vala.vala.c:156:112: warning: passing argument 4 of
'gimp_image_procedure_new' from incompatible pointer type
[-Wincompatible-pointer-types]
  156 |  _tmp0_ = (GimpImageProcedure*) gimp_image_procedure_new
((GimpPlugIn*) self, name, GIMP_PDB_PROC_TYPE_PLUGIN,
_goat_run_gimp_run_image_func, g_object_ref (self), g_object_unref);
  |

^
  |
|
  |
GimpValueArray *
(*)(GimpProcedure *, GimpRunMode,  GimpImage *, GimpDrawable *,
GimpValueArray *, void *)
In file included from C:/msys64/mingw64/include/libgimp/gimp.h:49,
 from goat-exercise-vala.vala.c:27:
C:/msys64/mingw64/include/libgimp/gimpimageprocedure.h:86:66: note:
expected 'GimpRunImageFunc' {aka 'GimpValueArray * (*)(GimpProcedure
*, GimpRunMode,  GimpImage *, GimpDrawable *, const GimpValueArray *,
void *)'} but argument is of type 'GimpValueArray * (*)(GimpProcedure
*, GimpRunMode,  GimpImage *, GimpDrawable *, GimpValueArray *, void
*)'
   86 |
GimpRunImageFunc  run_func,
  |
~~^~~~

>---> Full error report shall be shared as attachment in the following email.

>---> The auto-generated C code file shall be shared as attachment in the 
>following email.


I'm not quite sure how to proceed further. If anyone knows how to fix
this, please do share your expert-opinion.

Thanks.
___
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?

2021-01-04 Thread Pen Guin via gimp-developer-list
Thanks Liam for the files. I'm gonna try and compile the plugin. I hope
I'll have something positive to report shortly.

Thanks for all your help.

Bye.

On Monday, January 4, 2021, Liam R E Quin  wrote:

> On Mon, 2021-01-04 at 09:15 -0800, Pen Guin wrote:
> > Hi Liam,
> >
> > I've been unable to track down the specified vapi files. I've tried
> > google,
> > github, gitlab; so far no luck. These are not available at GIMP
> > master
> > branch either. Should I open a Request-Ticket at GIMP bug tracker,
> > asking
> > the devs to share these files?
> They are built automatically when gimp is compiled, and should be
> included in the release; it would be fine to file a bug requesting that
> they be included so people can build vala plugins.
>
> I can send you the ones i have (built on Linux, though). The .deps
> files are probably not useful as i expect they refer to versions of
> libraries, but these are all text files so you can look at them and
> see.
>
> It's  always best to copy the mailing list on replies - someone else on
> the list may have exactly what you need for Windows.
>
> You'll also need libgimp.dll to link the plugin against. I don't know
> if we've updated gimptool to know about vala yet, if so it'll show you
> where the vapi files should be. I'm sorry this is so rough round the
> edges - if you manage to et something working and feel up to writing it
> up on the gimp wiki that would help a lot of people, i expect.
>
___
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?

2021-01-03 Thread Pen Guin via gimp-developer-list
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


[Gimp-developer] How to compile a vala GIMP plugin on Windows pc?

2020-12-27 Thread Pen Guin via gimp-developer-list
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-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] How to compile a vala plugin on Windows pc?

2020-12-27 Thread Pen Guin via gimp-developer-list
Hi,

I have downloaded GIMP 2.99.4 on my Windows 8 pc. Can anyone please tell me
how can I compile a vala plugin on my pc? What other softwares 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-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