Discussion:
Bundled library
(too old to reply)
Johan Swensson
2014-07-10 07:35:30 UTC
Permalink
Hi list,

I'm looking into packaging Scite/Scintilla for Fedora[0] and have some
questions about the bundled lua library.

As we don't generally allow bundling of libraries[1] in Fedora I'm
curious to know the reasoning behind you bundling this library?
Have you done any significant modifications or are there other reasons?
Are there any plans to unbundle it in a future release?

[0]: https://bugzilla.redhat.com/show_bug.cgi?id=1087855
[1]: http://fedoraproject.org/wiki/Packaging:No_Bundled_Libraries
--
You received this message because you are subscribed to the Google Groups "scintilla-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scintilla-interest+***@googlegroups.com.
To post to this group, send email to scintilla-***@googlegroups.com.
Visit this group at http://groups.google.com/group/scintilla-interest.
For more options, visit https://groups.google.com/d/optout.
Neil Hodgson
2014-07-10 23:26:23 UTC
Permalink
Post by Johan Swensson
As we don't generally allow bundling of libraries[1] in Fedora I'm
curious to know the reasoning behind you bundling this library?
It was simpler to bundle Lua inside the executable. On Windows, SciTE is available as a single file executable distribution "Sc1" and adding DLLs would make it harder to install and leave more potential for failures.
Post by Johan Swensson
Have you done any significant modifications or are there other reasons?
On Windows, the file and pipe open commands are changed to use Unicode through a forcibly included header which redirects these functions into SciTE.
Post by Johan Swensson
Are there any plans to unbundle it in a future release?
No.

Neil
--
You received this message because you are subscribed to the Google Groups "scintilla-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scintilla-interest+***@googlegroups.com.
To post to this group, send email to scintilla-***@googlegroups.com.
Visit this group at http://groups.google.com/group/scintilla-interest.
For more options, visit https://groups.google.com/d/optout.
Philippe Lhoste
2014-07-11 14:10:38 UTC
Permalink
Post by Johan Swensson
As we don't generally allow bundling of libraries[1] in Fedora I'm
curious to know the reasoning behind you bundling this library?
Have you done any significant modifications or are there other reasons?
Are there any plans to unbundle it in a future release?
Lua is often bundled in applications needing it: it is small enough to allow that without
issue, and it allows to control tightly the version. If it was shipped as a separate
binary lib that the user could upgrade, it can potentially break scripts, or even config
if the application uses it as config loader, or even the application itself if part of it
was scripted in Lua.
--
Philippe Lhoste
-- (near) Paris -- France
-- http://Phi.Lho.free.fr
-- -- -- -- -- -- -- -- -- -- -- -- -- --
--
You received this message because you are subscribed to the Google Groups "scintilla-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scintilla-interest+***@googlegroups.com.
To post to this group, send email to scintilla-***@googlegroups.com.
Visit this group at http://groups.google.com/group/scintilla-interest.
For more options, visit https://groups.google.com/d/optout.
Neil Hodgson
2014-07-20 01:03:33 UTC
Permalink
If the existing support for disabling Lua at build time has decayed, I'd like to fix that. Trying just now with "make GTK3=1 NO_LUA=1" worked and the application ran with Lua (naturally) not running. There could be some changes to the UI such as removing the "Open Lua Startup Script" menu item and adding something to the about box indicating "Lua is not included in this version of SciTE".

Neil
--
You received this message because you are subscribed to the Google Groups "scintilla-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scintilla-interest+***@googlegroups.com.
To post to this group, send email to scintilla-***@googlegroups.com.
Visit this group at http://groups.google.com/group/scintilla-interest.
For more options, visit https://groups.google.com/d/optout.
Loading...