Commit Graph

12 Commits

Author SHA1 Message Date
Martin Jansa 6ab9a61fdf libtinyxml2: restore building shared library
* since the upgrade to 8.1.0 which includes:
  https://github.com/leethomason/tinyxml2/commit/7df6b3ff4ab3e3cec7a242fa5f8749decd129e13
  it no longer produces shared libraries by default and linking
  with static one will often fail, e.g.:

  rosbag2-storage/0.2.4-1-r0/recipe-sysroot/usr/lib/libtinyxml2.a(tinyxml2.cpp.o): relocation R_ARM_THM_MOVW_ABS_NC against `_ZN8tinyxml210XMLPrinter11CompactModeERKNS_10XMLElementE' can not be used when making a shared object; recompile with -fPIC
  rosbag2-storage/0.2.4-1-r0/recipe-sysroot/usr/lib/libtinyxml2.a(tinyxml2.cpp.o)(.text+0x162): unresolvable R_ARM_THM_CALL relocation against symbol `vfprintf@@GLIBC_2.4'

  fastrtps/1.9.3-2-r0/recipe-sysroot/usr/lib/libtinyxml2.a(tinyxml2.cpp.o): relocation R_ARM_THM_MOVW_ABS_NC against `_ZN8tinyxml210XMLPrinter11CompactModeERKNS_10XMLElementE' can not be used when making a shared object; recompile with -fPIC
  fastrtps/1.9.3-2-r0/recipe-sysroot/usr/lib/libtinyxml2.a(tinyxml2.cpp.o)(.text+0x162): unresolvable R_ARM_THM_CALL relocation against symbol `vfprintf@@GLIBC_2.4'

  fastrtps-native/1.9.3-2-r0/recipe-sysroot-native/usr/lib/libtinyxml2.a(tinyxml2.cpp.o): relocation R_X86_64_PC32 against symbol `_ZN8tinyxml27StrPair5ResetEv' can not be used when making a shared object; recompile with -fPIC

* restore building shared library as 8.0.0 did

* it also fixes PN package being empty:

    diff --git a/packages/core2-64-webos-linux/libtinyxml2/libtinyxml2/latest b/packages/core2-64-webos-linux/libtinyxml2/libtinyxml2/latest
    index 594585fe..496a109d 100644
    --- a/packages/core2-64-webos-linux/libtinyxml2/libtinyxml2/latest
    +++ b/packages/core2-64-webos-linux/libtinyxml2/libtinyxml2/latest
    @@ -1,9 +1,8 @@
    -PV = 8.0.0
    +PV = 8.1.0
     PR = r0
    -PKG = libtinyxml2-8
    -RPROVIDES = libtinyxml2 (=8.0.0)
    -RDEPENDS = glibc (>= 2.33) libgcc (>= 11.1.0) libstdc++ (>= 11.1.0)
    +RPROVIDES =
    +RDEPENDS =
     RRECOMMENDS = libtinyxml2-lic
    -PKGSIZE = 90076
    +PKGSIZE = 0
     FILES = /usr/bin/* /usr/sbin/* /usr/libexec/* /usr/lib/lib*.so.* /etc /com /var /bin/* /sbin/* /lib/*.so.* /lib/udev /usr/lib/udev /lib/udev /usr/lib/udev /usr/share/libtinyxml2 /usr/lib/libtinyxml2/* /usr/share/pixmaps /usr/share/applications /usr/share/idl /usr/share/omf /usr/share/sounds /usr/lib/bonobo/servers
    -FILELIST = /usr/lib/libtinyxml2.so.8 /usr/lib/libtinyxml2.so.8.0.0
    +FILELIST =

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-28 06:55:33 -07:00
zhengruoqin 975892f324 libtinyxml2: upgrade 8.0.0 -> 8.1.0
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-19 19:11:06 -07:00
Pierre-Jean Texier e5c5df9bcd libtinyxml2: upgrade 7.1.0 -> 8.0.0
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-04 23:51:57 -08:00
Johannes Pointner 41801ad42e libtinyxml2: update to 7.1.0
Also use license from new LICENSE.txt instead of using text from
tinyxml2.cpp.

Signed-off-by: Johannes Pointner <johannes.pointner@br-automation.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-20 09:31:16 -07:00
Brad Bishop 3e59433d89 libtinyxml2: update to 7.0.1
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-29 18:55:52 -08:00
Johannes Pointner 5a0e681262 libtinyxml2: update to 6.2.0
Signed-off-by: Johannes Pointner <johannes.pointner@br-automation.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-06-05 18:17:21 -07:00
Trevor Woerner 854cc2804b libtinyxml2: rely on cmake.bbclass to put cmake package files in dev package
The cmake.bbclass in oe-core now ensures that ${libdir}/cmake and
${datadir}/cmake end up in the dev package, so recipes no longer need to
provide custom packaging rules to handles these files.

	http://git.openembedded.org/openembedded-core/commit/?id=d91dc4666683a96e9d03cbbd21b8a546f9069c93

Originally-conceived-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-05-29 09:17:01 -07:00
Johannes Pointner 2a502e8d14 libtinyxml2: upgrade to 5.0.1
Signed-off-by: Johannes Pointner <johannes.pointner@br-automation.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-14 23:44:31 +02:00
Johannes Pointner 45df11ccbe libtinyxml2: Upgrade 3.0.0 -> 4.0.1
This new release includes loots of small (incompatible) changes, and
the addition of int64 support.

Signed-off-by: Johannes Pointner <johannes.pointner@br-automation.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-11-23 15:23:57 +01:00
Andre McCurdy cc6b324f1b libtinyxml2: update 2.2.0 -> 3.0.0
Also misc recipe cleanup, take license text from tinyxml2.cpp source
file instead of using the entire readme.md, and build using cmake.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-04-21 21:33:17 +02:00
Martin Jansa ed324ea2ec libtinyxml2: drop trailing continuation character in do_compile
* with newer bitbake it parses it differently and task fails:
  http://errors.yoctoproject.org/Errors/Details/35147/
  DEBUG: Executing shell function do_compile
  /home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/libtinyxml2/2.2.0+gitAUTOINC+d211bb1351-r0/temp/run.do_compile.21186: 118: /home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/libtinyxml2/2.2.0+gitAUTOINC+d211bb1351-r0/temp/run.do_compile.21186: Syntax error: end of file unexpected (expecting "}")
  WARNING: exit code 2 from a shell command.
  ERROR: Function failed: do_compile (log file is located at /home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/libtinyxml2/2.2.0+gitAUTOINC+d211bb1351-r0/temp/log.do_compile.21186)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-02-25 17:47:24 +01:00
A. Varnin b47da92f2e libtinyxml2: new package
TinyXML-2 is a rewrite of TinyXML-1. It provides some advantages over the original. They are covered on the homepage. (http://www.grinninglizard.com/tinyxml2/)

Signed-off-by: A. Varnin <fenixk19@mail.ru>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-10-27 12:51:55 +01:00