Hi everyone,
recently, I have tried to build the geany-plugins from the git repository on my Ubuntu 22.04 system. So, I installed autotools and the build essentials packages and tried to follow the instructions given in the readme. it fails right at the beginning though with both the configure and autogen.sh calls.
./configure results in: configure: error: cannot find required auxiliary files: compile missing install-sh
./autogen.sh results in: configure.ac:16: error: possibly undefined macro: AC_DISABLE_STATIC If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure.ac:17: error: possibly undefined macro: AC_PROG_LIBTOOL autoreconf: error: /usr/bin/autoconf failed with exit status: 1 configure: error: cannot find required auxiliary files: compile missing install-sh
it also states that I should run aclocal, but that doesn't seem to change anything You should update your 'aclocal.m4' by running aclocal.
I've put the full terminal output here: https://paste.ubuntu.com/p/HnXXFmqjdk/
Am I missing something that I need to install or pass to those calls? The readme isn't that informative about what is required to actually build the plugins.
Hope someone can help me.
Best regards, Fireclaw
Hello,
Le 04/03/2023 à 14:32, fireclawthefox--- via Devel a écrit :
[…] configure.ac:16: error: possibly undefined macro: AC_DISABLE_STATIC If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure.ac:17: error: possibly undefined macro: AC_PROG_LIBTOOL autoreconf: error: /usr/bin/autoconf failed with exit status: 1 configure: error: cannot find required auxiliary files: compile missing install-sh
Looks like you might be missing libtool?
Thank you, this was the missing piece for the configuration step. I also needed the libgit2-dev package to build the workbench plugin, but that seems to be specific to this one plugin. Would be nice if the dependencies were listed somewhere.
Is there a way to get the Geany search to match letters with diacriticals as though they were not? E.g. I want to be able to search for 'cafe' and have it match 'café' as well.
On Wed, 28 Aug 2024 at 12:57, Austin Green via Devel devel@lists.geany.org wrote:
Is there a way to get the Geany search to match letters with diacriticals as though they were not? E.g. I want to be able to search for 'cafe' and have it match 'café' as well.
Possibly you could use a regex to match e or é ?
Cheers Lex
Devel mailing list -- devel@lists.geany.org To unsubscribe send an email to devel-leave@lists.geany.org
Yes, that works, but I was hoping for the lazy version, e.g. an option on the search dialog. Guess I'll have to code it myself. Cheers, Austin.
On Wed, 28 Aug 2024 13:27:46 +1000 Lex Trotman via Devel devel@lists.geany.org wrote:
On Wed, 28 Aug 2024 at 12:57, Austin Green via Devel devel@lists.geany.org wrote:
Is there a way to get the Geany search to match letters with diacriticals as though they were not? E.g. I want to be able to search for 'cafe' and have it match 'café' as well.
Possibly you could use a regex to match e or é ?
Cheers Lex
Devel mailing list -- devel@lists.geany.org To unsubscribe send an email to devel-leave@lists.geany.org
Devel mailing list -- devel@lists.geany.org To unsubscribe send an email to devel-leave@lists.geany.org
On Wed, 28 Aug 2024 at 16:23, Austin Green via Devel devel@lists.geany.org wrote:
Yes, that works, but I was hoping for the lazy version, e.g. an option on the search dialog. Guess I'll have to code it myself.
Indeed, AFAIK the Unicode standard does not define any normative mechanism to do this, so you are inventing your own requirement, and therefore you have to code it yourself.
For some simple cases like Latin 1, decomposition will separate the diacritical from the base character so you can compare bases but ignore combining characters, but as I said, thats a function _you_ want, not a normal defined one, so you will have to write it.
Cheers Lex
Cheers, Austin.
On Wed, 28 Aug 2024 13:27:46 +1000 Lex Trotman via Devel devel@lists.geany.org wrote:
On Wed, 28 Aug 2024 at 12:57, Austin Green via Devel devel@lists.geany.org wrote:
Is there a way to get the Geany search to match letters with diacriticals as though they were not? E.g. I want to be able to search for 'cafe' and have it match 'café' as well.
Possibly you could use a regex to match e or é ?
Cheers Lex
Devel mailing list -- devel@lists.geany.org To unsubscribe send an email to devel-leave@lists.geany.org
Devel mailing list -- devel@lists.geany.org To unsubscribe send an email to devel-leave@lists.geany.org
Devel mailing list -- devel@lists.geany.org To unsubscribe send an email to devel-leave@lists.geany.org
The search feature is supplied by Scintilla. There is a facility for setting a 'case-folder' (function or table) to handle case-insensitive searches, so allowing a user-supplied custom case-folder might be the easiest way. Then it could be handled in Geany via my plug-in. AFAIK there is no such option currently in Geany or Scintilla, so I'll ask the Scintilla people if they would consider adding it.
On Wed, 28 Aug 2024 17:47:38 +1000 Lex Trotman via Devel devel@lists.geany.org wrote:
On Wed, 28 Aug 2024 at 16:23, Austin Green via Devel devel@lists.geany.org wrote:
Yes, that works, but I was hoping for the lazy version, e.g. an option on the search dialog. Guess I'll have to code it myself.
Indeed, AFAIK the Unicode standard does not define any normative mechanism to do this, so you are inventing your own requirement, and therefore you have to code it yourself.
For some simple cases like Latin 1, decomposition will separate the diacritical from the base character so you can compare bases but ignore combining characters, but as I said, thats a function _you_ want, not a normal defined one, so you will have to write it.
Cheers Lex
Cheers, Austin.
On Wed, 28 Aug 2024 13:27:46 +1000 Lex Trotman via Devel devel@lists.geany.org wrote:
On Wed, 28 Aug 2024 at 12:57, Austin Green via Devel devel@lists.geany.org wrote:
Is there a way to get the Geany search to match letters with diacriticals as though they were not? E.g. I want to be able to search for 'cafe' and have it match 'café' as well.
Possibly you could use a regex to match e or é ?
Cheers Lex
Devel mailing list -- devel@lists.geany.org To unsubscribe send an email to devel-leave@lists.geany.org
Devel mailing list -- devel@lists.geany.org To unsubscribe send an email to devel-leave@lists.geany.org
Devel mailing list -- devel@lists.geany.org To unsubscribe send an email to devel-leave@lists.geany.org
Devel mailing list -- devel@lists.geany.org To unsubscribe send an email to devel-leave@lists.geany.org
In your plugin there is nothing stopping you from getting the buffer in one piece and implementing your own search on it, no need to annoy Scintilla. That is how Geany implements regex search using different engines from Scintillas.
On Thu, 29 Aug 2024 at 11:44, Austin Green via Devel devel@lists.geany.org wrote:
The search feature is supplied by Scintilla. There is a facility for setting a 'case-folder' (function or table) to handle case-insensitive searches, so allowing a user-supplied custom case-folder might be the easiest way. Then it could be handled in Geany via my plug-in. AFAIK there is no such option currently in Geany or Scintilla, so I'll ask the Scintilla people if they would consider adding it.
On Wed, 28 Aug 2024 17:47:38 +1000 Lex Trotman via Devel devel@lists.geany.org wrote:
On Wed, 28 Aug 2024 at 16:23, Austin Green via Devel devel@lists.geany.org wrote:
Yes, that works, but I was hoping for the lazy version, e.g. an option on the search dialog. Guess I'll have to code it myself.
Indeed, AFAIK the Unicode standard does not define any normative mechanism to do this, so you are inventing your own requirement, and therefore you have to code it yourself.
For some simple cases like Latin 1, decomposition will separate the diacritical from the base character so you can compare bases but ignore combining characters, but as I said, thats a function _you_ want, not a normal defined one, so you will have to write it.
Cheers Lex
Cheers, Austin.
On Wed, 28 Aug 2024 13:27:46 +1000 Lex Trotman via Devel devel@lists.geany.org wrote:
On Wed, 28 Aug 2024 at 12:57, Austin Green via Devel devel@lists.geany.org wrote:
Is there a way to get the Geany search to match letters with diacriticals as though they were not? E.g. I want to be able to search for 'cafe' and have it match 'café' as well.
Possibly you could use a regex to match e or é ?
Cheers Lex
Devel mailing list -- devel@lists.geany.org To unsubscribe send an email to devel-leave@lists.geany.org
Devel mailing list -- devel@lists.geany.org To unsubscribe send an email to devel-leave@lists.geany.org
Devel mailing list -- devel@lists.geany.org To unsubscribe send an email to devel-leave@lists.geany.org
Devel mailing list -- devel@lists.geany.org To unsubscribe send an email to devel-leave@lists.geany.org
Devel mailing list -- devel@lists.geany.org To unsubscribe send an email to devel-leave@lists.geany.org
I was rather hoping to have the custom case folder as an additional option in any search. Are the Scintilla people easily annoyed by requests for features?
On Thu, 29 Aug 2024 13:41:59 +1000 Lex Trotman via Devel devel@lists.geany.org wrote:
In your plugin there is nothing stopping you from getting the buffer in one piece and implementing your own search on it, no need to annoy Scintilla. That is how Geany implements regex search using different engines from Scintillas.
On Thu, 29 Aug 2024 at 11:44, Austin Green via Devel devel@lists.geany.org wrote:
The search feature is supplied by Scintilla. There is a facility for setting a 'case-folder' (function or table) to handle case-insensitive searches, so allowing a user-supplied custom case-folder might be the easiest way. Then it could be handled in Geany via my plug-in. AFAIK there is no such option currently in Geany or Scintilla, so I'll ask the Scintilla people if they would consider adding it.
On Wed, 28 Aug 2024 17:47:38 +1000 Lex Trotman via Devel devel@lists.geany.org wrote:
On Wed, 28 Aug 2024 at 16:23, Austin Green via Devel devel@lists.geany.org wrote:
Yes, that works, but I was hoping for the lazy version, e.g. an option on the search dialog. Guess I'll have to code it myself.
Indeed, AFAIK the Unicode standard does not define any normative mechanism to do this, so you are inventing your own requirement, and therefore you have to code it yourself.
For some simple cases like Latin 1, decomposition will separate the diacritical from the base character so you can compare bases but ignore combining characters, but as I said, thats a function _you_ want, not a normal defined one, so you will have to write it.
Cheers Lex
Cheers, Austin.
On Wed, 28 Aug 2024 13:27:46 +1000 Lex Trotman via Devel devel@lists.geany.org wrote:
On Wed, 28 Aug 2024 at 12:57, Austin Green via Devel devel@lists.geany.org wrote:
Is there a way to get the Geany search to match letters with diacriticals as though they were not? E.g. I want to be able to search for 'cafe' and have it match 'café' as well.
Possibly you could use a regex to match e or é ?
Cheers Lex
Devel mailing list -- devel@lists.geany.org To unsubscribe send an email to devel-leave@lists.geany.org
Devel mailing list -- devel@lists.geany.org To unsubscribe send an email to devel-leave@lists.geany.org
Devel mailing list -- devel@lists.geany.org To unsubscribe send an email to devel-leave@lists.geany.org
Devel mailing list -- devel@lists.geany.org To unsubscribe send an email to devel-leave@lists.geany.org
Devel mailing list -- devel@lists.geany.org To unsubscribe send an email to devel-leave@lists.geany.org
Devel mailing list -- devel@lists.geany.org To unsubscribe send an email to devel-leave@lists.geany.org
On Thu, 29 Aug 2024 at 16:35, Austin Green via Devel devel@lists.geany.org wrote:
I was rather hoping to have the custom case folder as an additional option in any search. Are the Scintilla people easily annoyed by requests for features?
Not particularly, but will not often do it for you if it is some feature that is specific to you. And also ATM there is no method for specifying such "custom" functionality to the search so that makes it more complex. In general Scintilla provides commonly useful features, it is used by many applications and on major platforms, if some feature is not likely to be common its not likely to be added. But it has the ability to give you the whole buffer to perform such things as custom searches yourself. As I said Geany does this for regex searches since it uses different regex engines to Scintilla. So your plugin can ask for a pointer to the buffer and then search away using any search method you want to.
Cheers Lex
I did implement myself such functionality in case you want to copy that to Geany see https://github.com/giuspen/cherrytree/blob/fc1d7499067b9db9841175b5a2d6934dc...
On Thu, 29 Aug 2024, 09:49 Lex Trotman via Devel, devel@lists.geany.org wrote:
On Thu, 29 Aug 2024 at 16:35, Austin Green via Devel devel@lists.geany.org wrote:
I was rather hoping to have the custom case folder as an additional
option in any search. Are the Scintilla people easily annoyed by requests for features?
Not particularly, but will not often do it for you if it is some feature that is specific to you. And also ATM there is no method for specifying such "custom" functionality to the search so that makes it more complex. In general Scintilla provides commonly useful features, it is used by many applications and on major platforms, if some feature is not likely to be common its not likely to be added. But it has the ability to give you the whole buffer to perform such things as custom searches yourself. As I said Geany does this for regex searches since it uses different regex engines to Scintilla. So your plugin can ask for a pointer to the buffer and then search away using any search method you want to.
Cheers Lex _______________________________________________ Devel mailing list -- devel@lists.geany.org To unsubscribe send an email to devel-leave@lists.geany.org