Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Oct 2020 17:53:27 -0400
From:      Naram Qashat <njqashat@gmail.com>
To:        ports@freebsd.org
Subject:   Updating x11-toolkits/scintilla
Message-ID:  <93716e38f330b254510a7090c569963e@cyberbotx.com>

next in thread | raw e-mail | index | archive | help
Hello everyone,

I have been pretty behind on updating ports I maintain so I have been 
looking into updating x11-toolkits/scintilla from the current version in 
ports of 4.3.2 to the current actual version of 4.4.5. It appears as if 
scintilla is working towards making the lexers part of the library a 
separate component being named Lexilla. Although not planned to be the 
actual norm until Scintilla 5.0 comes out, currently it builds alongside 
the main Scintilla library.

In the ports tree, the only software utilizing x11-toolkits/scintilla is 
editors/scite (which I also maintain alongside it). The strange thing is 
that the Scintilla library currently includes the lexers AND builds the 
separate Lexilla library, and while SciTE by default statically links to 
the Scintilla library, it can at runtime load the Lexilla library (I'm 
not really sure why or how this would work if the main library also 
includes the same functionality).

The port for Scintilla was being modified to produce a separate lexer 
library anyways (although named scintilla_lexers instead of lexilla), 
and the SciTE port was being modified to link to a shared Scintilla 
library instead of the static library it expects.

Since SciTE is the only thing in the ports tree utilizing Scintilla 
directly, I am unsure how many projects external to the ports tree are 
being used by others with also utilize the Scintilla library. As such, I 
am wanting to change things up with the port so it produces the 
Scintilla and Lexilla libraries as the author has set out (so basically, 
scintilla and lexilla instead of scintilla and scintilla_lexers), and 
then making SciTE still continue with linking to the shared Scintilla 
library instead of the static one.

If anyone on the mailing list here does use the library as built by 
x11-toolkits/scintilla and would be affected if I do the above change 
for the installed shared libraries, please let me know. Otherwise I will 
be attempting to go forward with the change, especially since once the 
author releases Scintilla 5.0, it will be the norm anyways.

Thanks in advance,
Naram "CyberBotX" Qashat



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?93716e38f330b254510a7090c569963e>