[Gegl-developer] gegl-qt 0.0.7 released - 0.1.0 preview
gegl-qt is an integration library for using GEGL in Qt based applications. gegl-qt provides a NodeView widget, showing the output of a node in a GEGL graph. Variants exist for QWidget, QGraphicsView and QML based user interfaces. The widget supports translation and scaling, along with autoscaling and autocentering. Python bindings for use with PySide are also provided. This release is a preview of the first stable release 0.1.0. Please help test. Tarball: http://www.jonnor.com/files/gegl-qt-0.0.7.tar.bz2 Md5sum: fbb0692af354d404615980a68c8a88f4 Git tag: http://git.gnome.org/browse/gegl-qt/tag/?id=0.0.7 Minor things like default arguments might still change, but unless bugs are found the API is final. What is missing now is mainly documentation (API reference, introduction). For now see the examples found in the examples/ directory for usage. gegl-qt is package for Arch Linux, and can be found here: https://aur.archlinux.org/packages.php?ID=52759 -- Jon Nordby - www.jonnor.com ___ Gegl-developer mailing list Gegl-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gegl-developer
Re: [Gegl-developer] gegl-qt 0.0.7 released - 0.1.0 preview
On 28 September 2011 23:46, Jon Nordby jono...@gmail.com wrote: gegl-qt is an integration library for using GEGL in Qt based applications. For 0.1.0 the documentation should go on gegl.org and tarballs on ftp.gimp.org. How do I do that? -- Jon Nordby - www.jonnor.com ___ Gegl-developer mailing list Gegl-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gegl-developer
Re: [Gegl-developer] having trouble with gegl_node_to_xml
On 28 August 2011 13:36, Joerg Beyer j.be...@web.de wrote: Am 28.08.2011 12:40, schrieb Jon Nordby: On 28 August 2011 10:34, Joerg Beyer j.be...@web.de wrote: hello, I am having trouble to save gegl operations to repeat them later. I think, that gegl_node_to_xml is the operation I am looking for, but this can be wrong. I wrote this small program: #include stdio.h #include gegl.h gint main (gint argc, gchar **argv) { GeglNode *gegl, *gn_load, *gn_save, *gn_op; gchar* xmltext; g_thread_init (NULL); gegl_init (argc, argv); gegl = gegl_node_new (); gn_load = gegl_node_new_child(gegl, operation, gegl:load, path, bsp-900x600.jpg, NULL); gn_save = gegl_node_new_child(gegl, operation, gegl:jpg-save, path, out.jpg, NULL); gn_op = gegl_node_new_child(gegl, operation, gegl:unsharp-mask, std-dev, 1.2, scale, 8.0, NULL); gegl_node_link_many (gn_load, gn_op, gn_save, NULL); gegl_node_process (gn_save); gegl_node_to_xml(gegl, xmltext); printf(xmltext: %s\n, xmltext); You probably want to do xmltext = gegl_node_to_xml(gegl, pwd); or similar. Where pwd is the current working directory. See the documentation at http://gegl.org/api.html#gegl_node_to_xml when I change it this way: xmltext = gegl_node_to_xml(gegl, /home/joerg/src/geglex); printf(xmltext: %s\n, xmltext); then I get only an empty node as output: xmltext: ?xml version='1.0' encoding='UTF-8'? gegl /gegl is this the expected output? I thought, that the node named gegl would contain the other nodes (gn_load, gn_op and gn_save) but I am new to gegl and may be wrong. I tried to print the complete transformation to xml. What would give the entire tree of the operations? I don't think you read the documentation I linked you ;) To export a gegl graph, connect the internal output node to an output proxy (see gegl_node_get_output_proxy.) and use the proxy node as the basis for the serialization. Joerg g_object_unref (gegl); gegl_exit (); return 0; } These are the library version ldd told me: linux-gate.so.1 = (0xb78a1000) libgegl-0.1.so.0 = /usr/lib/libgegl-0.1.so.0 (0xb782c000) libc.so.6 = /lib/i386-linux-gnu/libc.so.6 (0xb76cb000) libgobject-2.0.so.0 = /usr/lib/i386-linux-gnu/libgobject-2.0.so.0 (0xb7683000) libgthread-2.0.so.0 = /usr/lib/i386-linux-gnu/libgthread-2.0.so.0 (0xb767e000) libgio-2.0.so.0 = /usr/lib/i386-linux-gnu/libgio-2.0.so.0 (0xb757b000) libgmodule-2.0.so.0 = /usr/lib/i386-linux-gnu/libgmodule-2.0.so.0 (0xb7577000) librt.so.1 = /lib/i386-linux-gnu/librt.so.1 (0xb756e000) libglib-2.0.so.0 = /lib/i386-linux-gnu/libglib-2.0.so.0 (0xb7496000) libbabl-0.1.so.0 = /usr/local/lib/libbabl-0.1.so.0 (0xb7448000) libm.so.6 = /lib/i386-linux-gnu/libm.so.6 (0xb7422000) libpthread.so.0 = /lib/i386-linux-gnu/libpthread.so.0 (0xb7409000) /lib/ld-linux.so.2 (0xb78a2000) libresolv.so.2 = /lib/i386-linux-gnu/libresolv.so.2 (0xb73f4000) libz.so.1 = /lib/i386-linux-gnu/libz.so.1 (0xb73de000) libselinux.so.1 = /lib/i386-linux-gnu/libselinux.so.1 (0xb73c3000) libdl.so.2 = /lib/i386-linux-gnu/libdl.so.2 (0xb73bf000) libpcre.so.3 = /lib/i386-linux-gnu/libpcre.so.3 (0xb738) And I hoped, that xmltext would be string, containing a xml tree for this little gegl operation. unfortunally all I got where a handful of binary bytes - not the xml text (somthing like gegl/gegl) I hoped for. Any hints for me? thanks in advance Joerg ___ Gegl-developer mailing list Gegl-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gegl-developer -- Jon Nordby - www.jonnor.com ___ Gegl-developer mailing list Gegl-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gegl-developer
Re: [Gegl-developer] gegl-gtk and gegl-qt status update
On 22 August 2011 08:03, Martin Nordholts ense...@gmail.com wrote: 2011/8/21 Jon Nordby jono...@gmail.com: A little status update on the work on gegl-gtk and gegl-qt libraries (see [1] for background). Both are now minimally useful and the focus now is on getting the first stable releases out. Plan is to have both releases out sometime during September or October. Here's the plan/TODO for the first releases. First the TODO items which I can't do on my own and need help with: - gegl-qt is missing a bugzilla component - qt/qmake needs to be installed on jenkins host (I've created a build job) Martin? Anyone? Hi Jon Congrats on the progress :) I've created a gegl-qt component and installed qmake on Jenkins now. The Jenkins build still fails though, let me know if you need me to do futher host-related work in order to get it up and running. Thanks for the quick response! The version of Qt installed is 3.3, I need the 4.x series. Should have been more specific about that. It probably has a package name like qt4 or libqt4, a lot of distros have qt meaning 3.x series still (even though 3.x is not being worked on after 4.0 came out in 2005 or so). Best regards, Martin -- My GIMP Blog: http://www.chromecode.com/ Single-window mode feature complete -- Jon Nordby - www.jonnor.com ___ Gegl-developer mailing list Gegl-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gegl-developer
[Gegl-developer] gegl-gtk and gegl-qt status update
A little status update on the work on gegl-gtk and gegl-qt libraries (see [1] for background). Both are now minimally useful and the focus now is on getting the first stable releases out. Plan is to have both releases out sometime during September or October. Here's the plan/TODO for the first releases. First the TODO items which I can't do on my own and need help with: - gegl-qt is missing a bugzilla component - qt/qmake needs to be installed on jenkins host (I've created a build job) Martin? Anyone? And the rest, from the README files. Any help much appreciated :) === gegl-qt 0.1.0 === - Fix out-of-tree build - Use a namespace, GeglQt, instead of symbol prefix - Find good and consistent names for the different view widgets - Do API review - Create 'make dist' and 'make distcheck' targets - Have a basic set of tests, and good test infrastructure - Distribute a basic examples for the provided features - Add information about gegl-qt to gegl.org website - Display operation needs to spin its own mainloop - Register the display operation as a 'display' type operation (needs support in Gegl) === gegl-gtk 0.1.0 === * Sanitize coding style * API review, check naming * Change translation properties (x,y) to take floats * Add new() and set_input_node() methods to GeglView * Simple examples for all provided features * Register display operation in a generic way with GEGL (needs work in GEGL) * Display operation needs to spin its own mainloop * Test bindings. At least using Python and Vala (maybe JavaScript) (hopefully, can be punted) * Add API for getting model-view transformation matrix * Add add support for autoscaling and autocentering * Add signals for drawing widget background and overlay * Tests for transformations 1. http://www.jonnor.com/2011/08/making-gegl-easier-to-use-in-graphical-applications/ or http://comments.gmane.org/gmane.comp.video.gegl.devel/ and http://comments.gmane.org/gmane.comp.video.gegl.devel/1097 for background on these libraries. -- Jon Nordby - www.jonnor.com ___ Gegl-developer mailing list Gegl-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gegl-developer
Re: [Gegl-developer] GEGL + QT, another proposal
I've moved the library to git.gnome.org now: http://git.gnome.org/browse/gegl-qt/ Will fix the gegl-gtk distcheck failure later. -- Jon Nordby - www.jonnor.com ___ Gegl-developer mailing list Gegl-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gegl-developer
[Gegl-developer] GEGL + QT, another proposal
After some hacking this weekend, we now have a minimally useful gegl-qt library: https://github.com/jonnor/gegl-qt Currently it a set of a basic view widgets* showing the output of a GeglNode. A bit more info can be found in the README.txt file, and examples showing the usage can be found in the examples/ directory. Testing, usage and contributions welcomed! Unless there are any objections I propose to do the same as with gegl-gtk: Put on git.gnome.org, create a gegl-qt component in bugzilla and add to Jenkins. Martin, this thing uses qmake. For adding to Jenkins is there anything special I should do? Create a configure script (wrapping qmake), and add a distcheck target? * One for each of the widget paradigms in Qt4 (QWidget, QGraphicsView and Qt Quick). -- Jon Nordby - www.jonnor.com ___ Gegl-developer mailing list Gegl-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gegl-developer
Re: [Gegl-developer] GEGL + QT, another proposal
On 21 July 2011 20:05, Øyvind Kolås pip...@gimp.org wrote: On Thu, Jul 21, 2011 at 5:24 PM, Jon Nordby jono...@gmail.com wrote: After some hacking this weekend, we now have a minimally useful gegl-qt library: https://github.com/jonnor/gegl-qt Currently it a set of a basic view widgets* showing the output of a GeglNode. A bit more info can be found in the README.txt file, and examples showing the usage can be found in the examples/ directory. Testing, usage and contributions welcomed! Unless there are any objections I propose to do the same as with gegl-gtk: Put on git.gnome.org, create a gegl-qt component in bugzilla and add to Jenkins. Even though it uses Qt.. I think the gnome git repository is the most natural place to stick this convenience library since it is based on GEGL and all the other GEGL pieces, including a gegl-clutter library which I added there today are hosted. So unless there are any other objections I do not see why not. The purpose of the library is to facilitate the use of GNOME technology (GEGL), so I personally do not see why it should be a problem. The relevant stated pre-requisite for things hosted on git.gnome.org is It must use GTK+/GNOME technologies.[1], which it definitely fulfills. 1. https://live.gnome.org/ProjectPrerequisites -- Jon Nordby - www.jonnor.com ___ Gegl-developer mailing list Gegl-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gegl-developer
Re: [Gegl-developer] GEGL + QT, another proposal
On 21 July 2011 21:50, Martin Nordholts ense...@gmail.com wrote: 2011/7/21 Jon Nordby jono...@gmail.com: Martin, this thing uses qmake. For adding to Jenkins is there anything special I should do? Create a configure script (wrapping qmake), and add a distcheck target? Just provide the set of commands used to build gegl-qt after a new git checkout and I'll take care of the rest. qmake -r make If installing is wanted, qmake -r GEGLQT_INSTALL_PREFIX=/custom/prefix (default prefix is /usr) and make install can be used. In the qmake world, INSTALL_ROOT is equivalent to DESTDIR, if there is want for such. The buildsystem uses pkg-config for finding GEGL, of course. Note: On Fedora and similar, qmake might be qmake-qt4. If you want (I encourage you to), create an account on Jenkins so that I can give you admin privileges so you can configure jobs. Done. Username: jonnor -- Jon Nordby - www.jonnor.com ___ Gegl-developer mailing list Gegl-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gegl-developer
Re: [Gegl-developer] GEGL and GTK+, a proposal
On 13 June 2011 20:38, Jon Nordby jono...@gmail.com wrote: I now have a repo with the code split out. The .pc files need a bit of love, after that it is ready for the first push. I will need someone else to add the gegl-gtk bugzilla component though, but that is secondary. Pushed this to gegl-gtk in git.gnome.org now: http://git.gnome.org/browse/gegl-gtk/ Also pushed commits that removes the moved code from gegl: http://git.gnome.org/browse/gegl/commit/?id=afb5da0d8602924d4256841095428b85c1d67bb2 Now the real work can begin :) -- Jon Nordby - www.jonnor.com ___ Gegl-developer mailing list Gegl-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gegl-developer
Re: [Gegl-developer] GEGL GObject introspection file
On 1 June 2011 05:57, Sayak sayak...@yahoo.com wrote: Thanks to all, i have successfully compiled GEGL in windows using MSYS/MinGW. I have tested several C-codes and all are running. Now, in the next step, i need to use the C-code as a native code and call it using JNI to Android programming. I have heard of GEGL GObject introspection file at gegl/Gegl-0.1.gir. Please tell me how to use this file to generate JNI and Java code automatically. by the way, i didnt find any .gir file in my system... The .gir and .typelib will only be built if you have the required libraries for introspection available at build time. Using the .gir file for bindings has very little to do with Gegl. That is a general GObject introspection topic, and you should use the GObject introspection communication channels for questions about it. -- Jon Nordby - www.jonnor.com ___ Gegl-developer mailing list Gegl-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gegl-developer