Recent Pango changes

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Recent Pango changes

John Emmas
Hi guys - I believe this is the correct mailing list for libpango.

I just updated from git master and noticed some big changes which seemed
unusual.  I just wanted to check if these are correct or if something's
gone awry with my update...

Problem #1 - AFAICT the entire 'modules' subdirectory has been removed.  
It looks like there's no longer any support for thai language / indic
language etc, etc.  Is that correct?  Or have those modules been moved
somewhere else?

Problem #2 - For building on Windows, certain folders were previously
determined (at run time) by querying the user's installation folder.  In
particular, I'm thinking of pango_get_sysconf_subdirectory() and
pango_get_lib_subdirectory(). They each used to figure out where the
user's install directory was located and then calculate their respective
folders with respect to the found directory.  However, in the latest
versions, these are now calculated with respect to a compile-time
constant (SYSCONFDIR or LIBDIR, as appropriate).  The problem is that
when building for Windows, those values can't possibly be known at
compile time.  The user's system isn't required to have any particular
drive (not even a C: drive).

Problem #3 - 'pango/pango-utils.c' used to contain functions such as
'read_config_file()' and 'read_config_system()'.  These seem to have
gone now.  Is that intentional?

I'm only querying these because they seem to be rather drastic
changes...  ;-)

John
_______________________________________________
gtk-i18n-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/gtk-i18n-list
Reply | Threaded
Open this post in threaded view
|

Re: Recent Pango changes

John Emmas
On 18/04/2015 12:12, John Emmas wrote:

>
> I just updated from git master and noticed some big changes which
> seemed unusual.  I just wanted to check if these are correct or if
> something's gone awry with my update...
>
> [...]
>
> I'm only querying these because they seem to be rather drastic
> changes...  ;-)
>

After some further digging I came across this entry in Bugzilla:-

https://bugzilla.gnome.org/show_bug.cgi?id=733137

It looks as if the previous (dynamically loadable) modules have been
abandoned now and everything gets built into pango statically.  As a
result (presumably) there's no need for the previous lib directory, or
sysconf directory, or the config files (pango.aliases etc?)

Is that a fair summary of the new situation?  (I must admit, it seems
like a good improvement !!)

John
_______________________________________________
gtk-i18n-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/gtk-i18n-list
Reply | Threaded
Open this post in threaded view
|

Re: Recent Pango changes

Behdad Esfahbod-5
On 15-04-18 07:09 AM, John Emmas wrote:

> On 18/04/2015 12:12, John Emmas wrote:
>>
>> I just updated from git master and noticed some big changes which seemed
>> unusual.  I just wanted to check if these are correct or if something's gone
>> awry with my update...
>>
>> [...]
>>
>> I'm only querying these because they seem to be rather drastic changes...  ;-)
>>
>
> After some further digging I came across this entry in Bugzilla:-
>
> https://bugzilla.gnome.org/show_bug.cgi?id=733137
>
> It looks as if the previous (dynamically loadable) modules have been abandoned
> now and everything gets built into pango statically.  As a result (presumably)
> there's no need for the previous lib directory, or sysconf directory, or the
> config files (pango.aliases etc?)
>
> Is that a fair summary of the new situation?  (I must admit, it seems like a
> good improvement !!)

Correct.  I forgot to announce the change on the mailing list, but tada:
config files, dynamically loaded modules, modules in general, pango.modules
file, config directories, all gone...

Pango is a single-file relocatable library now.  Enjoy!

behdad
_______________________________________________
gtk-i18n-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/gtk-i18n-list