libyui plugin extensions
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all, as someone of you already knows, I'm working in my spare time to libyui plugin extensions. I have something working already really, but I'm not happy enough for asking for a push :) Maybe later we could talk about my implementation and find a good naming convention, class names etc. Anyway I developed a little test case, a general plugin (yes the checkable table i needed :) ) and just a QT specialization atm, that works in the same way as libyui does with its specializations. Unfortunately i had to link manually libyui-qt, that i need to avoid code duplication. I tried changing PROJECTINFO.cmake variables like INTERNAL_DEPS and LIB_LINKER, first failed asking for a find libyui-qt macro missing, latter could not find libyui-qt cause of its position (/usr/lib[64]/yui) but variables were filled corretly, just ld failed. Since into PROJECTINFO.cmake is writtent SET( INTERNAL_DEPS Libyui ) # include libyui or it's plugins (if needed), too! how can i link plugins? Thanks in advance Angelo -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlIm3hEACgkQqEs9DA4DquAhFACdGxXeka91xdD7r2gCELtjaQkG rhoAoI2/CF3/9CCajKP+NDw+MMETRB1Y =j/HC -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: libyui-devel+unsubscribe@opensuse.org To contact the owner, e-mail: libyui-devel+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi all,
as someone of you already knows, I'm working in my spare time to libyui plugin extensions. I have something working already really, but I'm not happy enough for asking for a push :)
Maybe later we could talk about my implementation and find a good naming convention, class names etc.
Anyway I developed a little test case, a general plugin (yes the checkable table i needed :) ) and just a QT specialization atm, that works in the same way as libyui does with its specializations.
Unfortunately i had to link manually libyui-qt, that i need to avoid code duplication.
I tried changing PROJECTINFO.cmake variables like INTERNAL_DEPS and LIB_LINKER, first failed asking for a find libyui-qt macro missing, latter could not find libyui-qt cause of its position (/usr/lib[64]/yui) but variables were filled corretly, just ld failed. If just the location is wrong you could create a sym link as workaround. Could you please open an issue at github if the libyui buildsystem gets
On 09/04/2013 09:15 AM, Angelo Naselli wrote: the location wrong? Thanks, Thomas
Since into PROJECTINFO.cmake is writtent SET( INTERNAL_DEPS Libyui ) # include libyui or it's plugins (if needed), too!
how can i link plugins?
Thanks in advance Angelo
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iEYEARECAAYFAlIm3hEACgkQqEs9DA4DquAhFACdGxXeka91xdD7r2gCELtjaQkG rhoAoI2/CF3/9CCajKP+NDw+MMETRB1Y =j/HC -----END PGP SIGNATURE-----
-- Thomas Goettlicher SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany -- To unsubscribe, e-mail: libyui-devel+unsubscribe@opensuse.org To contact the owner, e-mail: libyui-devel+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Il 09/09/2013 09:28, Thomas Goettlicher ha scritto:
If just the location is wrong you could create a sym link as workaround. Could you please open an issue at github if the libyui buildsystem gets the location wrong? Sorry i was out of office for my new job. I will investigate it better and fill (if i think it's the case) a bug issue for it.
And yes a symlink or a hard copy do the trick as well as editing by hands src/CMakeFiles/yui-mga-qt.dir/link.txt under build directory :) Angelo -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlIzVskACgkQqEs9DA4DquBGKACdEgloKr9kr683uvg62eZGMg0S ubAAoJZPMwWS3zuzT8WWZmjQH2pcjH0q =H91o -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: libyui-devel+unsubscribe@opensuse.org To contact the owner, e-mail: libyui-devel+owner@opensuse.org
Hi, better later than never :) Il 09/09/2013 09:28, Thomas Goettlicher ha scritto:
If just the location is wrong you could create a sym link as workaround. Could you please open an issue at github if the libyui buildsystem gets the location wrong?
I just fixed it, it was my fault! INTERNAL_DEPS must be set to Libyui-qt and not libyui-qt Cheers, Angelo -- To unsubscribe, e-mail: libyui-devel+unsubscribe@opensuse.org To contact the owner, e-mail: libyui-devel+owner@opensuse.org
On 10/27/2013 11:03 AM, Angelo Naselli wrote:
Hi, better later than never :)
Il 09/09/2013 09:28, Thomas Goettlicher ha scritto:
If just the location is wrong you could create a sym link as workaround. Could you please open an issue at github if the libyui buildsystem gets the location wrong? I just fixed it, it was my fault! INTERNAL_DEPS must be set to Libyui-qt and not libyui-qt
Cheers, Angelo
Angelo, Thanks for your message. Happy hacking! Thomas -- Thomas Goettlicher SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany -- To unsubscribe, e-mail: libyui-devel+unsubscribe@opensuse.org To contact the owner, e-mail: libyui-devel+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, back again on this subject. my fork: https://github.com/anaselli/libyui contains the widget extension enhancement. ATM important classes are YWE and YWidgetExtensionFactory, they work exactly like YUI and YWidgetFactory. YWidgetExtensionFactory must be extended into a new class that represents the extension. I'm currently working on an example called yui-mga, whose plugins are yui-mga-qt, yui-mga-gtk and yui-mga-ncurses. ATM i have only the qt one, and not in a public repository, i will publish it as soon as possible so that you can also have an example. I changed buildtools, adding EXTENSIONNAME that works like PLUGINNAME, except for lib install directory that is at the same level as yui. I'd like to change the YWE class name into YWidgetExtension or YPluginExtension, any other idea is welcome and fix some comments, i think i left the YUI ones here and there. If you could kindly start looking before a pull request... :) I also tested bindings, since extensions are user defined, they cannot work without touching anything, but a little patch managed by user can easily make it working. I mean official yui-bindings cannot load and manage also the new extension without knowing it, so it's up to user (the one who wrote the extension) make it available. Any feed backs is more than welcome :) Thanks in advance. Angelo -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlJwK/MACgkQqEs9DA4DquADSwCfUgd+31k3m/AGhCIhJA15nDpI gakAmwQAcmpXlxxlpnqtGqOltsrXkt2D =Q2Le -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: libyui-devel+unsubscribe@opensuse.org To contact the owner, e-mail: libyui-devel+owner@opensuse.org
will publish it as soon as possible so that you can also have an example. here you can get SRPS, from which you can extract
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Il 29/10/2013 22:43, Angelo Naselli ha scritto: source code: http://www.linux.it/~anaselli/Backport/Mageia%203/libyui/ yui-mga is the extension, yui-mga-qt is the QT plugin specialization. There you can see my old table with checkable column implementation. Waiting for comments, TIA Angelo -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlJ4GiYACgkQqEs9DA4DquCjmQCginJt+KBKNtbsKJnDUWDswIJe OLYAoJ8jKRM7I1w0aWr5FUCiQtYZBe7C =f1O8 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: libyui-devel+unsubscribe@opensuse.org To contact the owner, e-mail: libyui-devel+owner@opensuse.org
On Mon, Nov 04, 2013 at 11:05:26PM +0100, Angelo Naselli wrote:
here you can get SRPS, from which you can extract source code:
http://www.linux.it/~anaselli/Backport/Mageia%203/libyui/
yui-mga is the extension, yui-mga-qt is the QT plugin specialization. There you can see my old table with checkable column implementation.
Waiting for comments,
Hi Angelo, sorry for not reacting earlier. I am now looking at the pull requests https://github.com/libyui/libyui/pull/64 and https://github.com/libyui/libyui-bindings/pull/11 If anyone else is interested, the above link has changed to http://www.linux.it/~anaselli/Backport/mga3/ -- Martin Vidner, Cloud & Systems Management Team http://en.opensuse.org/User:Mvidner Kuracke oddeleni v restauraci je jako fekalni oddeleni v bazenu
participants (3)
-
Angelo Naselli
-
Martin Vidner
-
Thomas Goettlicher