Re: undeclared build-time dependency on libnumbertext 1.0.6

2020-08-08 Thread Németh László
Hi Rene,

Rene Engelhard  ezt írta (időpont: 2020. aug. 7., P,
17:31):

> Hi,
>
> my LO 7.0.0 build on Debian buster failed:
>
> [...]
> Test name: SwUiWriterTest::testTdf133589
> equality assertion failed
> - Expected: ೥ೋ೓೉೗
> - Actual  : székely 0
>
> Failures !!!
> Run: 305   Failure total: 1   Failures: 1   Errors: 0
>
> This looks like libnumbertext needs to be 1.0.6 which does have this new
> "old hungarian" feature... (yes, "of course" --with-system-libnumbertext
> and libnumbertext in Debian buster is 1.0.5).
>

Ah, indeed. I didn't think of this option...


>
> $ git diff
> diff --git a/configure.ac b/configure.ac
> index 59ec7ec58bf1..d5782d32be4b 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -10509,7 +10509,7 @@ AC_SUBST(SYSTEM_LIBEXTTEXTCAT_DATA)
>  dnl ===
>  dnl Checking for libnumbertext
>  dnl ===
> -libo_CHECK_SYSTEM_MODULE([libnumbertext],[LIBNUMBERTEXT],[libnumbertext
> >= 1.0.0])
> +libo_CHECK_SYSTEM_MODULE([libnumbertext],[LIBNUMBERTEXT],[libnumbertext
> >= 1.0.6])
>  if test "$with_system_libnumbertext" = "yes"; then
>  SYSTEM_LIBNUMBERTEXT_DATA=file://`$PKG_CONFIG --variable=pkgdatadir
> libnumbertext`
>  SYSTEM_LIBNUMBERTEXT=YES
>
> The other alternative is to do it like the DLP libraries and only do the
> test needing it if libnumbertext is 1.0.6 and thus support "old
> hungarian"...
>
> Which one would you prefer? The first one of course is trivial :-)
>

I prefer the trivial one, if it's not a problem for you. I gave a +2 for
it, thanks! :)

A question related to this issue: I started to add Old Hungarian numbering
to Writer
(https://gerrit.libreoffice.org/c/core/+/99950) and the UI will contain Old
Hungarian
numbers, see the attached screenshot, so I plan to update the
noto-fonts-20171024.tar.gz
tarball, adding also the fortunately small (45 kB)
NotoSansOldHungarian-Regular.otf to help to
fix the potential font issue [note: the screenshot contains another
problem: showing squares
at the place of 1-character non-Unicode BMP text spans].

There is a bug report for Linux Mint (
https://github.com/linuxmint/cinnamon/issues/9458),
also an older one for Debian (
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=908817).
I am going to file a bug for my LibreOffice patch related to the numbering,
maybe for
Noto font update in LibreOffice. Do you suggest something similar for
Debian (Ubuntu) etc.,
or it is not necessary?

Thanks,
László




>
> Regards,
>
> Rene
>
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: undeclared build-time dependency on libnumbertext 1.0.6

2020-08-07 Thread Németh László
Hi,

Rene Engelhard  ezt írta (időpont: 2020. aug. 7., P,
18:35):

> Hi,
>
> Am 07.08.20 um 18:29 schrieb Rene Engelhard:
> >
> > At least a quick look
> > (
> https://packages.debian.org/search?searchon=contents=NotoSansOldHungarian-Regular.otf=exactfilename=unstable=any
> )
> > suggests that this is not the case.
>
> Ah, nevermind, there's a .ttf:
>
>
> https://packages.debian.org/search?suite=sid=any=filename=contents=OldHungarian


Great! This font solves the UI issue, and it can be good also for text
editing with some refinement (forbidding unnecessary automatic ligature
replacements).

Thanks,
László


>
>
> Regards,
>
>
> Rene
>
>
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: undeclared build-time dependency on libnumbertext 1.0.6

2020-08-07 Thread Rene Engelhard
Hi,

Am 07.08.20 um 18:29 schrieb Rene Engelhard:
>
> At least a quick look
> (https://packages.debian.org/search?searchon=contents=NotoSansOldHungarian-Regular.otf=exactfilename=unstable=any)
> suggests that this is not the case.

Ah, nevermind, there's a .ttf:

https://packages.debian.org/search?suite=sid=any=filename=contents=OldHungarian

Regards,


Rene

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: undeclared build-time dependency on libnumbertext 1.0.6

2020-08-07 Thread Rene Engelhard
Hi,

A question related to this issue: I started to add Old Hungarian
numbering to Writer
> (https://gerrit.libreoffice.org/c/core/+/99950) and the UI will
> contain Old Hungarian
> numbers, see the attached screenshot, so I plan to update the
> noto-fonts-20171024.tar.gz
> tarball, adding also the fortunately small (45 kB)
> NotoSansOldHungarian-Regular.otf to help to
> fix the potential font issue [note: the screenshot contains another
> problem: showing squares
> at the place of 1-character non-Unicode BMP text spans].
>
> There is a bug report for Linux Mint
> (https://github.com/linuxmint/cinnamon/issues/9458),
> also an older one for Debian
> (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=908817).
> I am going to file a bug for my LibreOffice patch related to the
> numbering, maybe for
> Noto font update in LibreOffice. Do you suggest something similar for
> Debian (Ubuntu) etc.,
> or it is not necessary?
>
My LO packages do not include any fonts - except OpenSymbol of course.


So anything which you might use here should use something also in proper
noto packages.


At least a quick look
(https://packages.debian.org/search?searchon=contents=NotoSansOldHungarian-Regular.otf=exactfilename=unstable=any)
suggests that this is not the case.


Regards,


Rene

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: undeclared build-time dependency on libnumbertext 1.0.6

2020-08-07 Thread Rene Engelhard
Hi,

Am 07.08.20 um 18:06 schrieb Rene Engelhard:
> Hi,
>
> Am 07.08.20 um 17:31 schrieb Rene Engelhard:
>> $ git diff
>> diff --git a/configure.ac b/configure.ac
>> index 59ec7ec58bf1..d5782d32be4b 100644
>> --- a/configure.ac
>> +++ b/configure.ac
>> @@ -10509,7 +10509,7 @@ AC_SUBST(SYSTEM_LIBEXTTEXTCAT_DATA)
>>  dnl ===
>>  dnl Checking for libnumbertext
>>  dnl ===
>> -libo_CHECK_SYSTEM_MODULE([libnumbertext],[LIBNUMBERTEXT],[libnumbertext
>>> = 1.0.0])
>> +libo_CHECK_SYSTEM_MODULE([libnumbertext],[LIBNUMBERTEXT],[libnumbertext
>>> = 1.0.6])
>>  if test "$with_system_libnumbertext" = "yes"; then
>>  SYSTEM_LIBNUMBERTEXT_DATA=file://`$PKG_CONFIG --variable=pkgdatadir
>> libnumbertext`
>>  SYSTEM_LIBNUMBERTEXT=YES
>> [...] The first one of course is trivial :-)
> https://gerrit.libreoffice.org/c/core/+/100342
>
> (without linebreaks which broke the diff..)

and https://gerrit.libreoffice.org/c/core/+/100351 for libreoffice-7-0

Regards,


Rene


___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: undeclared build-time dependency on libnumbertext 1.0.6

2020-08-07 Thread Rene Engelhard
Hi,

Am 07.08.20 um 17:31 schrieb Rene Engelhard:
> $ git diff
> diff --git a/configure.ac b/configure.ac
> index 59ec7ec58bf1..d5782d32be4b 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -10509,7 +10509,7 @@ AC_SUBST(SYSTEM_LIBEXTTEXTCAT_DATA)
>  dnl ===
>  dnl Checking for libnumbertext
>  dnl ===
> -libo_CHECK_SYSTEM_MODULE([libnumbertext],[LIBNUMBERTEXT],[libnumbertext
>> = 1.0.0])
> +libo_CHECK_SYSTEM_MODULE([libnumbertext],[LIBNUMBERTEXT],[libnumbertext
>> = 1.0.6])
>  if test "$with_system_libnumbertext" = "yes"; then
>  SYSTEM_LIBNUMBERTEXT_DATA=file://`$PKG_CONFIG --variable=pkgdatadir
> libnumbertext`
>  SYSTEM_LIBNUMBERTEXT=YES
> [...] The first one of course is trivial :-)

https://gerrit.libreoffice.org/c/core/+/100342

(without linebreaks which broke the diff..)


Regards,


Rene

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


undeclared build-time dependency on libnumbertext 1.0.6

2020-08-07 Thread Rene Engelhard
Hi,

my LO 7.0.0 build on Debian buster failed:

[...]
Test name: SwUiWriterTest::testTdf133589
equality assertion failed
- Expected: ೥ೋ೓೉೗
- Actual  : székely 0

Failures !!!
Run: 305   Failure total: 1   Failures: 1   Errors: 0

This looks like libnumbertext needs to be 1.0.6 which does have this new
"old hungarian" feature... (yes, "of course" --with-system-libnumbertext
and libnumbertext in Debian buster is 1.0.5).

$ git diff
diff --git a/configure.ac b/configure.ac
index 59ec7ec58bf1..d5782d32be4b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -10509,7 +10509,7 @@ AC_SUBST(SYSTEM_LIBEXTTEXTCAT_DATA)
 dnl ===
 dnl Checking for libnumbertext
 dnl ===
-libo_CHECK_SYSTEM_MODULE([libnumbertext],[LIBNUMBERTEXT],[libnumbertext
>= 1.0.0])
+libo_CHECK_SYSTEM_MODULE([libnumbertext],[LIBNUMBERTEXT],[libnumbertext
>= 1.0.6])
 if test "$with_system_libnumbertext" = "yes"; then
 SYSTEM_LIBNUMBERTEXT_DATA=file://`$PKG_CONFIG --variable=pkgdatadir
libnumbertext`
 SYSTEM_LIBNUMBERTEXT=YES

The other alternative is to do it like the DLP libraries and only do the
test needing it if libnumbertext is 1.0.6 and thus support "old
hungarian"...

Which one would you prefer? The first one of course is trivial :-)

Regards,

Rene
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice