Hi all,
is there a Ubuntu / Debian package (or it's source) of geanylua available?
I remember, there was a thread long ago, where we talked about an geany develop package. Is such a package available now? I use the .deb from getdeb.net. Here all the headers and libraries are part of the "normal" package.
On 27.08.2009 09:42, Joerg Desch wrote:
Hi all,
Hello,
is there a Ubuntu / Debian package (or it's source) of geanylua available?
I've noticed new geany plugin packages a few days ago in Debian unstable. One of it was the geanylua package.
http://packages.debian.org/sid/geany-plugin-lua
Best regards Andreas
On Thu, 27 Aug 2009 09:42:28 +0200 Joerg Desch jd.vvd@web.de wrote:
is there a Ubuntu / Debian package (or it's source) of geanylua available?
I've missed something. The packages from launchpad.net/~geany-dev/ provides a geanylua package, but this doesn't work. It fails with the message:
Lua-Skript: Support library version mismatch: 0.7.0 <=> 0.17.1
On Thu, 27 Aug 2009 10:35:10 +0200 Joerg Desch jd.vvd@web.de wrote:
is there a Ubuntu / Debian package (or it's source) of geanylua available?
geanylua is now part of the geany-plugins project, there are no more separate releases.
http://plugins.geany.org/geany-plugins/
I've missed something. The packages from launchpad.net/~geany-dev/ provides a geanylua package, but this doesn't work. It fails with the message:
Lua-Skript: Support library version mismatch: 0.7.0 <=> 0.17.1
There may be a packaging error - I think the support library should be in: $prefix/lib/geany-plugins/geanylua/libgeanylua.so
Where $prefix is normally /usr for packages.
Note that the 'plugin' should be in: $prefix/lib/geany/geanylua.so
Although this might be getting overridden by a user plugin. Try running 'geany -v' to see which plugins are being used.
Regards, Nick
On Thu, 27 Aug 2009 16:41:01 +0100 Nick Treleaven nick.treleaven@btinternet.com wrote:
Note that the 'plugin' should be in: $prefix/lib/geany/geanylua.so
jd@jd-dell$ ls /usr/lib/geany/ addons.la export.la geanydoc.so geanylatex.so geanyvc.so saveactions.so splitwindow.so addons.so export.so geanygdb.la geanylua.la htmlchars.la shiftcolumn.la classbuilder.la filebrowser.la geanygdb.so geanylua.so htmlchars.so shiftcolumn.so classbuilder.so filebrowser.so geanylatex.la geanyvc.la saveactions.la splitwindow.la
jd@jd-dell$ ls /usr/lib/geany-plugins/geanylua/ libgeanylua.la libgeanylua.so
Although this might be getting overridden by a user plugin. Try running 'geany -v' to see which plugins are being used.
$ geany -v ** INFO: Geany 0.18, GTK+ 2.16.1, GLib 2.20.1 ** INFO: Loaded: /usr/lib/geany/addons.so (Addons) ** INFO: Loaded: /usr/lib/geany/filebrowser.so (Dateibrowser) ** INFO: Loaded: /usr/lib/geany/export.so (Exportieren) ** INFO: Loaded: /usr/lib/geany/classbuilder.so (Klassengenerator) ** INFO: Loaded: /usr/lib/geany/geanylatex.so (LaTeX) Lua-Skript: Support library version mismatch: 0.7.0 <=> 0.17.1
** INFO: Plugin "Lua-Skript" has not set a name for its keybinding group - ignoring all keybindings! ** INFO: Loaded: /usr/lib/geany/geanylua.so (Lua-Skript)
On Fri, 28 Aug 2009 10:20:26 +0200 Joerg Desch jd.vvd@web.de wrote:
Note that the 'plugin' should be in: $prefix/lib/geany/geanylua.so
jd@jd-dell$ ls /usr/lib/geany/ addons.la export.la geanydoc.so geanylatex.so geanyvc.so saveactions.so splitwindow.so addons.so export.so geanygdb.la geanylua.la htmlchars.la shiftcolumn.la classbuilder.la filebrowser.la geanygdb.so geanylua.so htmlchars.so shiftcolumn.so classbuilder.so filebrowser.so geanylatex.la geanyvc.la saveactions.la splitwindow.la
jd@jd-dell$ ls /usr/lib/geany-plugins/geanylua/ libgeanylua.la libgeanylua.so
OK, but what you want to check is that your geanylua package is providing those files - could one of them be a leftover from a previous install?
On Fedora (rpm) I would do something like: rpm -ql geanylua |fgrep .so
But I don't know the .deb equivalent.
Anyway ultimately you have two options - fix the package or build & install from the geany-plugins tar.gz release - you would need to configure the prefix to /usr though.
Although this might be getting overridden by a user plugin. Try running 'geany -v' to see which plugins are being used.
...
Lua-Skript: Support library version mismatch: 0.7.0 <=> 0.17.1
** INFO: Plugin "Lua-Skript" has not set a name for its keybinding group - ignoring all keybindings! ** INFO: Loaded: /usr/lib/geany/geanylua.so (Lua-Skript)
OK, so the system plugin is getting read.
Regards, Nick
On Fri, 28 Aug 2009 12:49:11 +0100 Nick Treleaven nick.treleaven@btinternet.com wrote:
OK, but what you want to check is that your geanylua package is providing those files - could one of them be a leftover from a previous install?
No. I've uninstalled the previous release before installing the new release. I do this every time I switch the repository of an package.
$ dpkg -L geany-plugin-lua | grep ".so" /usr/lib/geany-plugins/geanylua/libgeanylua.so /usr/lib/geany/geanylua.so
Anyway ultimately you have two options - fix the package or build & install from the geany-plugins tar.gz release - you would need to configure the prefix to /usr though.
What should I fix? I can rebuild the package, but I'm not shure that this would be the solution.
I think I'll try to compile geany-plugins locally.
Thanks.
Am Freitag, den 28.08.2009, 14:39 +0200 schrieb Joerg Desch:
On Fri, 28 Aug 2009 12:49:11 +0100 Nick Treleaven nick.treleaven@btinternet.com wrote:
OK, but what you want to check is that your geanylua package is providing those files - could one of them be a leftover from a previous install?
No. I've uninstalled the previous release before installing the new release. I do this every time I switch the repository of an package.
$ dpkg -L geany-plugin-lua | grep ".so" /usr/lib/geany-plugins/geanylua/libgeanylua.so /usr/lib/geany/geanylua.so
This actually are the correct paths I think.
Anyway ultimately you have two options - fix the package or build & install from the geany-plugins tar.gz release - you would need to configure the prefix to /usr though.
What should I fix? I can rebuild the package, but I'm not shure that this would be the solution.
I think I'll try to compile geany-plugins locally.
Rebuilding or Recompiling geany-plugins could maybe solve your issue, yes. Another issue could be, that maybe the version of your lua installation does not fit. Could you check if you're running the most current version of lua on your system?
Regards, Dominic
On Fri, 28 Aug 2009 14:39:16 +0200 Joerg Desch jd.vvd@web.de wrote:
Anyway ultimately you have two options - fix the package or build & install from the geany-plugins tar.gz release - you would need to configure the prefix to /usr though.
What should I fix? I can rebuild the package, but I'm not shure that this
I don't know if there's something wrong with the package, but I assume so if those two files weren't built with the same internal version.
The error message shows that the support library, libgeanylua.so, has an older version than the plugin.
would be the solution.
I think I'll try to compile geany-plugins locally.
OK.
Regards, Nick
Hi Joerg,
I'm the package maintainer for the geany-plugins in Ubuntu and Debian. Could you provide the output of `apt-cache policy geany-plugin-lua` please?
On Sat, 29 Aug 2009 03:10:10 +0800 Chow Loong Jin hyperair@gmail.com wrote:
I'm the package maintainer for the geany-plugins in Ubuntu and Debian. Could you provide the output of `apt-cache policy geany-plugin-lua` please?
$ apt-cache policy geany-plugin-lua geany-plugin-lua: Installiert: 0.17.1-1~hyper2~jaunty Kandidat: 0.17.1-1~hyper2~jaunty Versions-Tabelle: *** 0.17.1-1~hyper2~jaunty 0 500 http://ppa.launchpad.net jaunty/main Packages 100 /var/lib/dpkg/status
By the way, the intrepid releases have the same problem!
On Fri, 28 Aug 2009 15:01:51 +0200 Dominic Hopf dmaphy@googlemail.com wrote:
Another issue could be, that maybe the version of your lua installation does not fit. Could you check if you're running the most current version of lua on your system?
$ apt-cache policy liblua5.1-0 liblua5.1-0: Installiert: 5.1.4-2 Kandidat: 5.1.4-2 Versions-Tabelle: *** 5.1.4-2 0 500 http://de.archive.ubuntu.com jaunty/main Packages 100 /var/lib/dpkg/status
On Fri, 28 Aug 2009 17:58:50 +0100 Nick Treleaven nick.treleaven@btinternet.com wrote:
On Fri, 28 Aug 2009 14:39:16 +0200 Joerg Desch jd.vvd@web.de wrote:
What should I fix? I can rebuild the package, but I'm not shure that this
I don't know if there's something wrong with the package, but I assume so if those two files weren't built with the same internal version.
Ahh. OK.
I think I'll try to compile geany-plugins locally.
OK.
I haven't had the time to do this, but I'll try it the next days...
On Monday 31,August,2009 02:24 PM, Joerg Desch wrote:
On Sat, 29 Aug 2009 03:10:10 +0800 Chow Loong Jin hyperair@gmail.com wrote:
I'm the package maintainer for the geany-plugins in Ubuntu and Debian. Could you provide the output of `apt-cache policy geany-plugin-lua` please?
$ apt-cache policy geany-plugin-lua geany-plugin-lua: Installiert: 0.17.1-1~hyper2~jaunty Kandidat: 0.17.1-1~hyper2~jaunty Versions-Tabelle: *** 0.17.1-1~hyper2~jaunty 0 500 http://ppa.launchpad.net jaunty/main Packages 100 /var/lib/dpkg/status
By the way, the intrepid releases have the same problem!
There has to be some stray file somewhere that does not belong to the package, IMHO. Considering the Karmic package is okay, and come from the same sources as the Intrepid and Jaunty packages, it's very unlikely that there's a problem with the packaging. Could you try running `strace geany 2>&1 | grep open | grep geanylua` in a terminal, and paste the output here? That should probably reveal a stray mismatched libgeanylua helper library, if I am not mistaken.
On Mon, 31 Aug 2009 16:21:03 +0800 Chow Loong Jin hyperair@gmail.com wrote:
On Monday 31,August,2009 02:24 PM, Joerg Desch wrote: There has to be some stray file somewhere that does not belong to the package, IMHO.
$ strace geany 2>&1 | grep open | grep geanylua open("/usr/lib/geany/geanylua.so", O_RDONLY) = 7 open("/home/jd/.config/geany/plugins/geanylua/libgeanylua.so", O_RDONLY) = 7
GREAT! You are right.
I have a unison sync script which keeps my desktops and my laptop in sync! And here was the problem. I have an old geany configuration (~/.geany) which was moved into .config/geany and than synced to my desktops. After removing this old plugin, all installations are up and running.
Thank you for the help!
By the way... May be it would be a good idea if geany warns while migrating the .geany directory it contains shared libs!
Bye
On Mon, 31 Aug 2009 11:26:39 +0200 Joerg Desch jd.vvd@web.de wrote:
On Monday 31,August,2009 02:24 PM, Joerg Desch wrote: There has to be some stray file somewhere that does not belong to the package, IMHO.
$ strace geany 2>&1 | grep open | grep geanylua open("/usr/lib/geany/geanylua.so", O_RDONLY) = 7 open("/home/jd/.config/geany/plugins/geanylua/libgeanylua.so", O_RDONLY) = 7
GREAT! You are right.
Oops, I just checked the code and I'd missed that the support library is given that directory to check first.
Not sure whether to change the behaviour, besides adding a message showing the support library path.
I have a unison sync script which keeps my desktops and my laptop in sync! And here was the problem. I have an old geany configuration (~/.geany) which was moved into .config/geany and than synced to my desktops. After removing this old plugin, all installations are up and running.
Thank you for the help!
By the way... May be it would be a good idea if geany warns while migrating the .geany directory it contains shared libs!
Well, users may have put plugins there that they want.
Regards, Nick
On Mon, 31 Aug 2009 17:48:13 +0100 Nick Treleaven nick.treleaven@btinternet.com wrote:
Oops, I just checked the code and I'd missed that the support library is given that directory to check first.
Not sure whether to change the behaviour, besides adding a message showing the support library path.
I think it is enough to add the library path to the error message. If loading a plugin failes, geany should search for the same plugin in the global path too. If there is another plugin, add this info to the message too.
Regards
On Tue, 1 Sep 2009 11:24:12 +0200 Joerg Desch jd.vvd@web.de wrote:
Oops, I just checked the code and I'd missed that the support library is given that directory to check first.
Not sure whether to change the behaviour, besides adding a message showing the support library path.
I think it is enough to add the library path to the error message. If
OK, done.
loading a plugin failes, geany should search for the same plugin in the global path too. If there is another plugin, add this info to the message too.
Well, for now I've made GeanyLua use the system support library if the user support library fails.
Regards, Nick
On Thu, 27 Aug 2009 10:32:58 +0200 Andreas Tscharner andy@vis.ethz.ch wrote:
On 27.08.2009 09:42, Joerg Desch wrote:
Hi all,
Hello,
is there a Ubuntu / Debian package (or it's source) of geanylua available?
I've noticed new geany plugin packages a few days ago in Debian unstable. One of it was the geanylua package.
Unfortunately currently they still depend on Geany 0.17 which will cause problems running them with 0.18 (read: won't work). But I saw there was already a report filled so I think this should be fine soon.
Cheers, Frank
On Tue, 1 Sep 2009 22:17:23 +0200 Frank Lanitz frank@frank.uvena.de wrote:
Unfortunately currently they still depend on Geany 0.17 which will cause problems running them with 0.18 (read: won't work). But I saw there was already a report filled so I think this should be fine soon.
The ubuntu packages from launchpad are working now. Thanks.
On Wednesday 02,September,2009 04:17 AM, Frank Lanitz wrote:
Unfortunately currently they still depend on Geany 0.17 which will cause problems running them with 0.18 (read: won't work). But I saw there was already a report filled so I think this should be fine soon.
I filed a binNMU (rebuild) request sometime back. They should be rebuilt sometime soon, I should think.