summaryrefslogtreecommitdiff
path: root/liblangtag
AgeCommit message (Collapse)AuthorFilesLines
2012-09-20Do not call xmlCleanupParser from liblangtagStephan Bergmann2-0/+21
Despite its name, it is a cleanup function for libxml2 that must only be called when the process as a whole no longer needs libxml2. Calling it from a library like liblangtag is not appropriate (just like liblangtag does not call xmlInitParser, either). In LibreOffice, this caused confusion about pthread keys for thread-local storage (xmlCleanupParser calls pthread_key_delete, but apparently if libxml2 is later used by unrelated code in LibreOffice again, it still uses the stale key, and if that key is now reused via an unrelated pthread_key_create, arbitrary crashes happen during thread termination in pthread's __nptl_deallocate_tsd). (cherry picked from commit 5e6c595e9d698caf23ae68d38b9cab30ff9c9b94) Conflicts: liblangtag/makefile.mk Change-Id: I82cef8bc400d48f19eaa94f26d50d4b8589da106 Reviewed-on: https://gerrit.libreoffice.org/662 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2012-09-20Add RPATH to liblangtagStephan Bergmann1-0/+8
...so that it consistenly uses the LO versions of libxml2/glibc libs at runtime. Change-Id: I89b7fd13a8b5b7e697ec21db74fdf8ef088fdb92 (cherry picked from commit 179a6db61ee30cf776747802f06edeef45fec461) Reviewed-on: https://gerrit.libreoffice.org/661 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2012-06-04configure prefix for "installation" and get_data() functionEike Rathke3-48/+56
* LIBO_LANGTAG_DATADIR environment variable may point to liblangtag data and override REGDATADIR define. * deliver data files to $SOLARVER/$INPATH/share/liblangtag
2012-06-04ported liblangtag build to wntmsciEike Rathke3-2/+215
2012-06-04added liblangtag for BCP 47 language tagsEike Rathke7-0/+188