Re: [Vala] [Genie] emulate a mouse click to trigger widget changes
btw, when you say a crash on windows, you mean you didn't test somewhere else, not that it works, right? To confirm, I am running it on Windows and the attempt to trigger a change of the NoteBook page crashes, and haven't tried it on Linux, so I don't know if it works on Linux. So far all suggestions haven't worked, but thanks for your suggestions. _ Get personal with Windows. Download a free gift for your PC. http://experience.windows.com___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list
Re: [Vala] Can't compile ValaIde from source...
Hi, Looks like you are missing libunique-dev, try typing this in a terminal libunique is optional. 'configure' finished successfully (0.213s) You don't have a problem here. 2010/3/12 Andrés G. Aragoneses kno...@gmail.com: I think the msg is pretty clear, download libunique-devel :) Andrés El 12/03/10 17:24, Arkadi Viner escribió: When I try to compile ValaIDE from source, It writes me: ark...@arkadi-laptop:~/Projects/valide-0.6.1$ ./waf configure Checking for program gcc : ok /usr/bin/gcc Checking for program cpp : ok /usr/bin/cpp Checking for program ar : ok /usr/bin/ar Checking for program ranlib : ok /usr/bin/ranlib Checking for program valac : ok /usr/bin/valac Checking for gthread-2.0 : ok Checking for program version valac = 0.1.6 : ok 0.7.10 Checking for program msgfmt : ok /usr/bin/msgfmt Checking for program intltool-merge : ok /usr/bin/intltool-merge Checking for header locale.h : ok Checking for program valadoc : not found Checking for glib-2.0 = 2.16.0 : ok Checking for gio-2.0 = 2.16.0 : ok Checking for gobject-2.0 = 2.16.0 : ok Checking for gmodule-2.0 = 2.16.0 : ok Checking for gtk+-2.0 = 2.16.0 : ok Checking for libxml-2.0 = 2.5.0 : ok Checking for gtksourceview-2.0 = 2.0.0 : ok Checking for vala-1.0 = 0.7.8 : ok Checking for unique-1.0 = 1.0.0 : fail 'configure' finished successfully (0.213s) What could be wrong ?? By the way, I'm using Ubuntu 9.10 64 bit. Please help.. ___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list ___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list -- Nicolas Joseph Responsable de la rubrique GTK+ de developpez.com / In charge of the GTK+ section on developpez.com http://nicolasj.developpez.com ___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list
Re: [Vala] Newbie Compile Time Errors
On Fri, Mar 12, 2010 at 17:17:25 -0700, Jeff Cave wrote: Anyway, I think it's better to install the library. One of the problems is that the library is not even at version 0.0.2, that means its going to change frequently. I was actually hoping to use it as a learning tool for building my own libraries and understanding the compiler. I actually don't want to install the library because I want to treat it as part of my overall project (this is as much about setting up good project environments as anything else). If the library provides a *-uninstalled.pc (libvfcgi-uninstalled.pc), you can pretend it's installed by setting the PKG_CONFIG_PATH (environment variable) to the directory where that file is. Than calling valac with respective --vapidir and --pkg libvfcgi should do the right thing automagically. This is special feature in pkg-config, that it looks for package-uninstalled.pc in preference to package.pc, provided for exactly this kind of situation. -- Jan 'Bulb' Hudec b...@ucw.cz ___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list
Re: [Vala] Can't compile ValaIde from source...
On Fri, Mar 12, 2010 at 18:24:37 +0200, Arkadi Viner wrote: When I try to compile ValaIDE from source, It writes me: ark...@arkadi-laptop:~/Projects/valide-0.6.1$ ./waf configure Checking for program gcc : ok /usr/bin/gcc Checking for program cpp : ok /usr/bin/cpp Checking for program ar : ok /usr/bin/ar Checking for program ranlib : ok /usr/bin/ranlib Checking for program valac : ok /usr/bin/valac Checking for gthread-2.0 : ok Checking for program version valac = 0.1.6 : ok 0.7.10 Checking for program msgfmt : ok /usr/bin/msgfmt Checking for program intltool-merge : ok /usr/bin/intltool-merge Checking for header locale.h: ok Checking for program valadoc: not found Checking for glib-2.0 = 2.16.0 : ok Checking for gio-2.0 = 2.16.0 : ok Checking for gobject-2.0 = 2.16.0 : ok Checking for gmodule-2.0 = 2.16.0 : ok Checking for gtk+-2.0 = 2.16.0 : ok Checking for libxml-2.0 = 2.5.0: ok Checking for gtksourceview-2.0 = 2.0.0 : ok Checking for vala-1.0 = 0.7.8 : ok Checking for unique-1.0 = 1.0.0: fail 'configure' finished successfully (0.213s) What could be wrong ?? Nothing. Call ./waf, too. -- Jan 'Bulb' Hudec b...@ucw.cz ___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list
[Vala] Fwd: Can't compile ValaIde from source...
I call ./waf and I get: libvalide/start-page.vala:57.3-57.11: error: class already contains a constructor libvalide/abstract-text-document.vala:176.15-176.27: error: only automatic properties can have default values Waf: Leaving directory `/home/arkadi/Projects/valide-0.6.1/_build_' Build failed - task failed (err #1): {task: valac_task utils.vala,encoding.vala Help... The full log is here: http://pastebin.com/embed_js.php?i=3CHDChw9 On Sat, Mar 13, 2010 at 1:31 PM, Jan Hudec b...@ucw.cz wrote: On Fri, Mar 12, 2010 at 18:24:37 +0200, Arkadi Viner wrote: When I try to compile ValaIDE from source, It writes me: ark...@arkadi-laptop:~/Projects/valide-0.6.1$ ./waf configure Checking for program gcc : ok /usr/bin/gcc Checking for program cpp : ok /usr/bin/cpp Checking for program ar : ok /usr/bin/ar Checking for program ranlib : ok /usr/bin/ranlib Checking for program valac : ok /usr/bin/valac Checking for gthread-2.0 : ok Checking for program version valac = 0.1.6 : ok 0.7.10 Checking for program msgfmt : ok /usr/bin/msgfmt Checking for program intltool-merge : ok /usr/bin/intltool-merge Checking for header locale.h: ok Checking for program valadoc: not found Checking for glib-2.0 = 2.16.0 : ok Checking for gio-2.0 = 2.16.0 : ok Checking for gobject-2.0 = 2.16.0 : ok Checking for gmodule-2.0 = 2.16.0 : ok Checking for gtk+-2.0 = 2.16.0 : ok Checking for libxml-2.0 = 2.5.0: ok Checking for gtksourceview-2.0 = 2.0.0 : ok Checking for vala-1.0 = 0.7.8 : ok Checking for unique-1.0 = 1.0.0: fail 'configure' finished successfully (0.213s) What could be wrong ?? Nothing. Call ./waf, too. -- Jan 'Bulb' Hudec b...@ucw.cz ___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list
Re: [Vala] Can't compile ValaIde from source...
A new error : ark...@arkadi-laptop:~/Projects/valide-0.6.1$ ./waf Waf: Entering directory `/home/arkadi/Projects/valide-0.6.1/_build_' [ 1/165] valac: libvalide/utils.vala libvalide/encoding.vala libvalide/document-close-dialog.vala libvalide/compiler.vala libvalide/valac.vala libvalide/recent-manager-ui.vala libvalide/config- manager.vala libvalide/document-manager.vala libvalide/builder-manager.vala libvalide/split-source-view.vala libvalide/template.vala libvalide/statusbar.vala libvalide/project-dialog.vala libvalide/plugin.vala libvalide/libyaml-glib/src/builder.vala libvalide/libyaml-glib/src/loader.vala libvalide/libyaml-glib/src/buildable.vala libvalide/libyaml-glib/src/writer.vala libvalide/libyaml-glib/src/libyaml-glib.vala libvalide/libyaml- glib/src/error.vala libvalide/document-message.vala libvalide/project.vala libvalide/start-page.vala libvalide/plugin-registrar.vala libvalide/searching.vala libvalide/plugin-manager.vala libvalide/abstract-text- document.vala libvalide/abstract-config-manager.vala libvalide/template- manager.vala libvalide/preferences-dialog.vala libvalide/document.vala libvalide/goto-dialog.vala libvalide/uimanager.vala libvalide/project-dialog- remove.vala libvalide/source-buffer.vala libvalide/plugin-preferences.vala libvalide/aboutdialog.vala libvalide/project-manager.vala libvalide/builder.vala libvalide/project-dialog-options.vala libvalide/idocument.vala libvalide/panel.vala libvalide/window.vala libvalide/executable-manager.vala libvalide/ui/abstract-preferences-dialog.vala libvalide/ui/abstract-project- dialog-options.vala libvalide/ui/abstract-project-dialog-remove.vala libvalide/ui/abstract-project-dialog.vala libvalide/ui/abstract-native-builder- preferences.vala libvalide/ui/abstract-close-dialog.vala libvalide/ui/abstract- executable-preferences.vala libvalide/native-builder.vala libvalide/source- view.vala libvalide/executable.vala - _build_/default/libvalide/utils.c _build_/default/libvalide/valide-0.0.h _build_/default/libvalide/valide-0.0.vapi _build_/default/libvalide/valide-0.0.deps _build_/default/libvalide/encoding.c _build_/default/libvalide/valide-0.0.h _build_/default/libvalide/valide-0.0.vapi _build_/default/libvalide/valide-0.0.deps _build_/default/libvalide/document- close-dialog.c _build_/default/libvalide/valide-0.0.h _build_/default/libvalide/valide-0.0.vapi _build_/default/libvalide/valide- 0.0.deps _build_/default/libvalide/compiler.c _build_/default/libvalide/valide- 0.0.h _build_/default/libvalide/valide-0.0.vapi _build_/default/libvalide/valide-0.0.deps _build_/default/libvalide/valac.c _build_/default/libvalide/valide-0.0.h _build_/default/libvalide/valide-0.0.vapi _build_/default/libvalide/valide-0.0.deps _build_/default/libvalide/recent- manager-ui.c _build_/default/libvalide/valide-0.0.h _build_/default/libvalide/valide-0.0.vapi _build_/default/libvalide/valide- 0.0.deps _build_/default/libvalide/config-manager.c _build_/default/libvalide/valide-0.0.h _build_/default/libvalide/valide-0.0.vapi _build_/default/libvalide/valide-0.0.deps _build_/default/libvalide/document- manager.c _build_/default/libvalide/valide-0.0.h _build_/default/libvalide/valide-0.0.vapi _build_/default/libvalide/valide- 0.0.deps _build_/default/libvalide/builder-manager.c _build_/default/libvalide/valide-0.0.h _build_/default/libvalide/valide-0.0.vapi _build_/default/libvalide/valide-0.0.deps _build_/default/libvalide/split- source-view.c _build_/default/libvalide/valide-0.0.h _build_/default/libvalide/valide-0.0.vapi _build_/default/libvalide/valide- 0.0.deps _build_/default/libvalide/template.c _build_/default/libvalide/valide- 0.0.h _build_/default/libvalide/valide-0.0.vapi _build_/default/libvalide/valide-0.0.deps _build_/default/libvalide/statusbar.c _build_/default/libvalide/valide-0.0.h _build_/default/libvalide/valide-0.0.vapi _build_/default/libvalide/valide-0.0.deps _build_/default/libvalide/project- dialog.c _build_/default/libvalide/valide-0.0.h _build_/default/libvalide/valide-0.0.vapi _build_/default/libvalide/valide- 0.0.deps _build_/default/libvalide/plugin.c _build_/default/libvalide/valide- 0.0.h _build_/default/libvalide/valide-0.0.vapi _build_/default/libvalide/valide-0.0.deps _build_/default/libvalide/libyaml- glib/src/builder.c _build_/default/libvalide/valide-0.0.h _build_/default/libvalide/valide-0.0.vapi _build_/default/libvalide/valide- 0.0.deps _build_/default/libvalide/libyaml-glib/src/loader.c _build_/default/libvalide/valide-0.0.h _build_/default/libvalide/valide-0.0.vapi _build_/default/libvalide/valide-0.0.deps _build_/default/libvalide/libyaml- glib/src/buildable.c _build_/default/libvalide/valide-0.0.h _build_/default/libvalide/valide-0.0.vapi _build_/default/libvalide/valide- 0.0.deps _build_/default/libvalide/libyaml-glib/src/writer.c _build_/default/libvalide/valide-0.0.h _build_/default/libvalide/valide-0.0.vapi _build_/default/libvalide/valide-0.0.deps _build_/default/libvalide/libyaml- glib/src/libyaml-glib.c
[Vala] Fwd: Can't compile ValaIde from source...
This problem appeared with vala 0.7.10 and it's fixed in the svn version. 2010/3/13 Arkadi Viner arkash...@gmail.com: I call ./waf and I get: libvalide/start-page.vala:57.3-57.11: error: class already contains a constructor libvalide/abstract-text-document.vala:176.15-176.27: error: only automatic properties can have default values Waf: Leaving directory `/home/arkadi/Projects/valide-0.6.1/_build_' Build failed - task failed (err #1): {task: valac_task utils.vala,encoding.vala Help... The full log is here: http://pastebin.com/embed_js.php?i=3CHDChw9 On Sat, Mar 13, 2010 at 1:31 PM, Jan Hudec b...@ucw.cz wrote: On Fri, Mar 12, 2010 at 18:24:37 +0200, Arkadi Viner wrote: When I try to compile ValaIDE from source, It writes me: ark...@arkadi-laptop:~/Projects/valide-0.6.1$ ./waf configure Checking for program gcc : ok /usr/bin/gcc Checking for program cpp : ok /usr/bin/cpp Checking for program ar : ok /usr/bin/ar Checking for program ranlib : ok /usr/bin/ranlib Checking for program valac : ok /usr/bin/valac Checking for gthread-2.0 : ok Checking for program version valac = 0.1.6 : ok 0.7.10 Checking for program msgfmt : ok /usr/bin/msgfmt Checking for program intltool-merge : ok /usr/bin/intltool-merge Checking for header locale.h : ok Checking for program valadoc : not found Checking for glib-2.0 = 2.16.0 : ok Checking for gio-2.0 = 2.16.0 : ok Checking for gobject-2.0 = 2.16.0 : ok Checking for gmodule-2.0 = 2.16.0 : ok Checking for gtk+-2.0 = 2.16.0 : ok Checking for libxml-2.0 = 2.5.0 : ok Checking for gtksourceview-2.0 = 2.0.0 : ok Checking for vala-1.0 = 0.7.8 : ok Checking for unique-1.0 = 1.0.0 : fail 'configure' finished successfully (0.213s) What could be wrong ?? Nothing. Call ./waf, too. -- Jan 'Bulb' Hudec b...@ucw.cz ___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list -- Nicolas Joseph -- Nicolas Joseph ___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list
Re: [Vala] Can't compile ValaIde from source...
Ok, I have tried to compile ValaIde from the svn and now I get another error: ark...@arkadi-laptop:~/Projects/valide$ ./waf configure Checking for program gcc,cc : ok /usr/bin/gcc Checking for program cpp : ok /usr/bin/cpp Checking for program ar : ok /usr/bin/ar Checking for program ranlib : ok /usr/bin/ranlib Checking for program valac : ok /usr/bin/valac Checking for gthread-2.0 : ok Checking for program version valac = 0.1.6 : ok 0.7.10 Checking for program msgfmt : ok /usr/bin/msgfmt Checking for program intltool-merge : ok /usr/bin/intltool-merge Checking for header locale.h: ok Checking for program valadoc: not found Checking for glib-2.0 = 2.16.0 : ok Checking for gio-2.0 = 2.16.0 : ok Checking for gobject-2.0 = 2.16.0 : ok Checking for gmodule-2.0 = 2.16.0 : ok Checking for gtk+-2.0 = 2.16.0 : ok Checking for libxml-2.0 = 2.5.0: ok Checking for gtksourceview-2.0 = 2.0.0 : ok Checking for vala-1.0 = 0.7.8 : ok Checking for gdl-1.0 = 2.28: Package gdl-1.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gdl-1.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gdl-1.0' found error: the configuration failed (see '/home/arkadi/Projects/valide/_build_/config.log') Please help On Sat, Mar 13, 2010 at 4:56 PM, Arkadi Viner arkash...@gmail.com wrote: This is a great idea... 2010/3/13 Andrés G. Aragoneses kno...@gmail.com El 12/03/10 20:54, Nicolas Joseph escribió: Hi, Looks like you are missing libunique-dev, try typing this in a terminal libunique is optional. Oh, right! I wonder then if there's a usability problem there. In other configuration phases I've seen in other projects, when an optional dependency is checked and it's not found, the log doesn't say fail, but just no. So maybe the bug here is to change ok/fail to yes/no? That would help IMO. Andrés -- ___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list ___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list
Re: [Vala] Can't compile ValaIde from source...
Install gl-devel ? El 13/03/10 16:09, Arkadi Viner escribió: Ok, I have tried to compile ValaIde from the svn and now I get another error: ark...@arkadi-laptop:~/Projects/valide$ ./waf configure Checking for program gcc,cc : ok /usr/bin/gcc Checking for program cpp : ok /usr/bin/cpp Checking for program ar : ok /usr/bin/ar Checking for program ranlib : ok /usr/bin/ranlib Checking for program valac : ok /usr/bin/valac Checking for gthread-2.0 : ok Checking for program version valac = 0.1.6 : ok 0.7.10 Checking for program msgfmt : ok /usr/bin/msgfmt Checking for program intltool-merge : ok /usr/bin/intltool-merge Checking for header locale.h: ok Checking for program valadoc: not found Checking for glib-2.0 = 2.16.0 : ok Checking for gio-2.0 = 2.16.0 : ok Checking for gobject-2.0 = 2.16.0 : ok Checking for gmodule-2.0 = 2.16.0 : ok Checking for gtk+-2.0 = 2.16.0 : ok Checking for libxml-2.0 = 2.5.0: ok Checking for gtksourceview-2.0 = 2.0.0 : ok Checking for vala-1.0 = 0.7.8 : ok Checking for gdl-1.0 = 2.28: Package gdl-1.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gdl-1.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gdl-1.0' found error: the configuration failed (see '/home/arkadi/Projects/valide/_build_/config.log') Please help On Sat, Mar 13, 2010 at 4:56 PM, Arkadi Viner arkash...@gmail.com wrote: This is a great idea... 2010/3/13 Andrés G. Aragoneses kno...@gmail.com El 12/03/10 20:54, Nicolas Joseph escribió: Hi, Looks like you are missing libunique-dev, try typing this in a terminal libunique is optional. Oh, right! I wonder then if there's a usability problem there. In other configuration phases I've seen in other projects, when an optional dependency is checked and it's not found, the log doesn't say fail, but just no. So maybe the bug here is to change ok/fail to yes/no? That would help IMO. Andrés -- ___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list ___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list ___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list
Re: [Vala] Can't compile ValaIde from source...
if I use ./waf -k I still get: :~/Projects/valide$ ./waf -k Waf: Entering directory `/home/arkadi/Projects/valide/_build_' [ 81/168] po: po/it.po - _build_/default/po/it.mo ../po/it.po:1:2: syntax error /usr/bin/msgfmt: found 1 fatal error .. .. Waf: Leaving directory `/home/arkadi/Projects/valide/_build_' Build failed - task failed (err #1): {task: po it.po - it.mo} Help... On Sat, Mar 13, 2010 at 5:53 PM, Abderrahim Kitouni a.kito...@gmail.comwrote: Hi, 2010/3/13 Arkadi Viner arkash...@gmail.com: ../po/it.po:1:2: syntax error /usr/bin/msgfmt: found 1 fatal error Waf: Leaving directory `/home/arkadi/Projects/valide/_build_' Build failed - task failed (err #1): {task: po it.po - it.mo} Help there seems to be a problem with the italian translation, try ./waf -k to continue the build anyways. Abderrahim ___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list
Re: [Vala] Can't compile ValaIde from source...
2010/3/13 Arkadi Viner arkash...@gmail.com: I don't have a package named Install gl-devel in Ubuntu's repositories, but I have downloaded the gdl source, compiled, and installed it. I have managed to successfully run ./configure but again I can't compile ValaIde: The package name is libgdl-1-dev: http://packages.ubuntu.com/karmic/libgdl-1-dev . pi _build_/default/plugins/waf/waf.deps _build_/default/plugins/waf/waf-builder.c _build_/default/plugins/waf/waf.h _build_/default/plugins/waf/waf.vapi _build_/default/plugins/waf/waf.deps [ 78/168] copy: data/valide.desktop.in - _build_/default/data/valide.desktop [ 79/168] po: po/es.po - _build_/default/po/es.mo [ 80/168] po: po/fr.po - _build_/default/po/fr.mo [ 81/168] po: po/it.po - _build_/default/po/it.mo ../po/it.po:1:2: syntax error /usr/bin/msgfmt: found 1 fatal error Waf: Leaving directory `/home/arkadi/Projects/valide/_build_' Build failed - task failed (err #1): {task: po it.po - it.mo} Help Syntax error fixed, update sources. -- Nicolas Joseph ___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list
Re: [Vala] Can't compile ValaIde from source...
It works! Thank you. On Sat, Mar 13, 2010 at 6:12 PM, Nicolas Joseph gege2...@redaction-developpez.com wrote: 2010/3/13 Arkadi Viner arkash...@gmail.com: I don't have a package named Install gl-devel in Ubuntu's repositories, but I have downloaded the gdl source, compiled, and installed it. I have managed to successfully run ./configure but again I can't compile ValaIde: The package name is libgdl-1-dev: http://packages.ubuntu.com/karmic/libgdl-1-dev . pi _build_/default/plugins/waf/waf.deps _build_/default/plugins/waf/waf-builder.c _build_/default/plugins/waf/waf.h _build_/default/plugins/waf/waf.vapi _build_/default/plugins/waf/waf.deps [ 78/168] copy: data/valide.desktop.in - _build_/default/data/valide.desktop [ 79/168] po: po/es.po - _build_/default/po/es.mo [ 80/168] po: po/fr.po - _build_/default/po/fr.mo [ 81/168] po: po/it.po - _build_/default/po/it.mo ../po/it.po:1:2: syntax error /usr/bin/msgfmt: found 1 fatal error Waf: Leaving directory `/home/arkadi/Projects/valide/_build_' Build failed - task failed (err #1): {task: po it.po - it.mo} Help Syntax error fixed, update sources. -- Nicolas Joseph ___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list
Re: [Vala] Binding an OpenGL function with GLchar* parameters
Am 13.03.2010 16:32, Tristin Celestin wrote: I have a OpenGL function with this declaration: GLAPI void APIENTRY glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); The parameters length, size, type, and name are all outputs of the function. My question is how to deal with the name parameter. A GLchar* is just a char*. Is this the correct way to bind the above function? public static void glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufSize, out GLsizei length, out GLint size, out GLenum type, out string name); Just 'string', not 'out string', otherwise it woule be 'GLchar **'. Best regards, Frederik ___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list
Re: [Vala] Fwd: Building a build tool
2010/3/12 Andrés G. Aragoneses kno...@gmail.com: Hey Phil, would this tool cover only vala projects or any other project which right now uses autotools could be migrated to this? Recently a new blog post was published on p.g.o announcing yet another build tool [1], I wonder if you can join efforts with that guy (I know he's proposing python, but given that it's easy to bind vala with python, and that the former is much faster, I guess he wouldn't have a problem to re-focus a bit). Hi Andrés, Thanks for keeping track of the build tools world a lot better than I have - I missed this entirely. Since that first message I posted, I did actually start this project up, and gave it a home at https://launchpad.net/realise, but since then I've been mostly occupied by work stuff, so have been much more Java focussed than Vala, sadly. It does look like this project is similar to mine, and indeed I was planning on making my tool able to build other languages - in my latest source the Vala parts are almost entirely abstracted out. I'll leave a comment on the blog and see what comes of it. Thanks again, Phil. Regards, Andrés [1] http://aruiz.synaptia.net/siliconisland/2010/03/buildj-build-configuration-for-the-mases.html Mensaje original Asunto: [Vala] Building a build tool Fecha: Tue, 29 Sep 2009 22:30:00 +0100 De: Phil Housley undeconstruc...@gmail.com Para: vala vala-list@gnome.org Grupos de noticias: gmane.comp.programming.vala I've been messing around with a little build tool recently (well, actually not that recently, but I've not had any time for a couple of months,) aiming to build primarily Vala apps and libraries. Generally it's a bit inspired by Maven, so you declare some units to build, and let the tool decide what actually needs to be done. I have a couple of thousand lines of code so far, which is able to build itself, using multiple threads, based on a simple configuration file. It discovers source files and compiles them, gathers the outputs and queues C compiler tasks to do the next stage, and so on. It's fairly cute, but not massively useful so far. From here, I'm not sure exactly where to go, so I'd be interested in knowing what people here might want in a new build tool. I'd like to give it a plugin system to allow running different sorts of tasks, but only within a standard build process. The aim will always be that as little as possible has to be configured. Really the next step should probably be to enable testing, but I'm stuck there as well. Which test frameworks are currently active for Vala, and what execution models are they using? I'd very much like testing Vala code to be as easy as in Java, so I'm aiming for the tool to be able to discover tests and generate any harnesses required. Also, I need to push the code somewhere, probably on launchpad, so I need a name. Currently I'm calling it Valapillar, but that's a pretty obscure joke even to me, and I know why I chose it. Sorry for the rambling, message. Thoughts? -- Phil Housley ___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list -- Phil Housley ___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list
Re: [Vala] Cogl.PangoFontMap is undeclaired
Without more information, or a test case, it's difficult to say for sure. I've attached a patch which will include cogl-pango.h for all the CoglPango* structures. Let me know if this fixes your issue. -Evan On Thu, 2010-03-11 at 12:46 -0500, Sam Wilson wrote: I can't seem to get valac to output code that will compile when I am working with Cogl.PangeFontMap. The relevant errors: PixmapThemeEngine.vala:31: error: ‘CoglPangoFontMap’ undeclared (first use in this function) Am I forgetting a pkg directive I don't know about? Thanks, Sam ___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list From 8e3b7da65f633c4d233c07946c17942d0be2b0a5 Mon Sep 17 00:00:00 2001 From: Evan Nemerson e...@coeus-group.com Date: Sat, 13 Mar 2010 18:20:00 -0800 Subject: [PATCH] cogl-1.0: Include cogl-pango.h where necessary --- vapi/cogl-1.0.vapi |6 +++--- vapi/packages/cogl-1.0/cogl-1.0.metadata |2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/vapi/cogl-1.0.vapi b/vapi/cogl-1.0.vapi index 06ffe04..6d9a4a9 100644 --- a/vapi/cogl-1.0.vapi +++ b/vapi/cogl-1.0.vapi @@ -77,7 +77,7 @@ namespace Cogl { public Offscreen.to_texture (Cogl.Texture handle); } [Compact] - [CCode (cheader_filename = cogl/cogl.h)] + [CCode (cheader_filename = cogl-pango.h)] public class PangoFontMap { [CCode (type = PangoFontMap*, has_construct_function = false)] public PangoFontMap (); @@ -88,11 +88,11 @@ namespace Cogl { public void set_resolution (double dpi); public void set_use_mipmapping (bool value); } - [CCode (cheader_filename = cogl/cogl.h)] + [CCode (cheader_filename = cogl-pango.h)] public class PangoRenderer : Pango.Renderer { } [Compact] - [CCode (cheader_filename = cogl/cogl.h)] + [CCode (cheader_filename = cogl-pango.h)] public class PangoRendererClass { } [Compact] diff --git a/vapi/packages/cogl-1.0/cogl-1.0.metadata b/vapi/packages/cogl-1.0/cogl-1.0.metadata index ce9062a..12d0006 100644 --- a/vapi/packages/cogl-1.0/cogl-1.0.metadata +++ b/vapi/packages/cogl-1.0/cogl-1.0.metadata @@ -38,6 +38,8 @@ cogl_matrix_multiply hidden=1 cogl_matrix_init_from_array hidden=1 cogl_matrix_init_identity hidden=1 +CoglPango* cheader_filename=cogl-pango.h + cogl_pop_draw_buffer hidden=1 cogl_push_draw_buffer hidden=1 -- 1.7.0 ___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list