Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: bmarkus on October 21, 2012, 04:10:45 PM

Title: libxml2 update
Post by: bmarkus on October 21, 2012, 04:10:45 PM
libxml2 just recently updated to 2.8.0 Is there any specific reason not to update 2.9.0 current upstream?

BTW, libxslt.tcz would deserve an update too.
Title: Re: libxml2 update
Post by: Jason W on October 21, 2012, 04:49:52 PM
I used arch linux's pkgbuild as a guide, and they are still on 2.8.0, I had assumed they were using the latest as they usually do.   I will update to 2.9.0
Title: Re: libxml2 update
Post by: Jason W on October 21, 2012, 05:40:26 PM
Updated to 2.9.0.
Title: Re: libxml2 update
Post by: thane on October 21, 2012, 11:18:11 PM
Just did an update that included libxml2, as well as poppler, openjpeg, libcups, and glib2. Now the epdfview app isn't working. Unfortunately I was messing around with some other things so I'm not a 100% sure I didn't break something that way. My other extensions seem to work OK.
Title: Re: libxml2 update
Post by: Rich on October 21, 2012, 11:58:07 PM
Hi thane
I think this may be related:
http://forum.tinycorelinux.net/index.php/topic,14245.msg80231.html#msg80231
Title: Re: libxml2 update
Post by: thane on October 22, 2012, 12:54:35 AM
This may be a red herring, but FWIW when I type epdfview in a terminal I get a message

epdfview: error while loading shared libraries: liblzma.so.5: cannot open shared object file: No such file or directory

edit: after I manually added liblzma.so.5 to usr/lib epdfview started to work

Title: Re: libxml2 update
Post by: Jason W on October 22, 2012, 01:24:54 AM
lzma is not dealing with libxml2, but will try to see what is going on.
Title: Re: libxml2 update
Post by: Jason W on October 22, 2012, 01:28:31 AM
epdfview.tcz is working here.
Title: Re: libxml2 update
Post by: Jason W on October 22, 2012, 02:39:37 AM
Ok, it seems xz.tcz is a dependency now of libxml2.  Dependency creep.
Title: Re: libxml2 update
Post by: bmarkus on October 22, 2012, 02:45:24 AM
Ok, it seems xz.tcz is a dependency now of libxml2.  Dependency creep.

xz.tcz doesn't depend on libxml2. It has no any dependencies only base.
Title: Re: libxml2 update
Post by: Juanito on October 22, 2012, 02:54:34 AM
xz.tcz doesn't depend on libxml2. It has no any dependencies only base.

I think we're speaking of the reverse - that libxml2 now depends on xz
Title: Re: libxml2 update
Post by: Jason W on October 22, 2012, 02:58:14 AM
Like juanito stated, libxml2 depends now on xz.  Dep file has been adjusted.
Title: Re: libxml2 update
Post by: bmarkus on October 22, 2012, 03:00:52 AM
Like juanito stated, libxml2 depends now on xz.  Dep file has been adjusted.

See http://forum.tinycorelinux.net/index.php/topic,14246.msg80253.html#msg80253
Title: Re: libxml2 update
Post by: Jason W on October 22, 2012, 03:34:29 AM
As with Arch, Debian sid has liblzma as a hard coded dependency of libxml2.  Though many apps will work with libzml2 without lzma support, I imagine that in the near future liblzma will be considered a required dependency.  So probably best to consider it a needed dep for going forward.
Title: Re: libxml2 update
Post by: bmarkus on October 22, 2012, 03:38:15 AM
As with Arch, Debian sid has liblzma as a hard coded dependency of libxml2.  Though many apps will work with libzml2 without lzma support, I imagine that in the near future liblzma will be considered a required dependency.  So probably best to consider it a needed dep for going forward.

I will make the splitup in the Raspbian repo and rebuild libxml2 and few other extensions there and if it's k, will redo in x86
Title: Re: libxml2 update
Post by: thane on October 22, 2012, 05:36:28 AM
Downloaded xz.tcz and rebooted. Epdfview works now. Thanks.
Title: Re: libxml2 update
Post by: Juanito on October 22, 2012, 05:39:01 AM
there was no need to reboot   ;)
Title: Re: libxml2 update
Post by: bmarkus on October 22, 2012, 09:54:34 AM
I moved out library to liblzma.tcz and liblzma-dev.tcz which can be used with libxml2 and other programs, including xz itself. Will submit today.
Title: Re: libxml2 update
Post by: AbNoRMiS on October 22, 2012, 12:30:45 PM
LXDE2 and pcmanfm2 does work wrong after updating glib2 and libxml2 (http://forum.tinycorelinux.net/index.php/topic,14252.0.html)
Title: Re: libxml2 update
Post by: coreplayer2 on October 22, 2012, 03:44:45 PM
Am not sure what happened, but after updating deps I lost the ability to open some applications and run others. 

Spent more than a day fighting this, turns out xz.tcz was at least part of the problem (exactly how I'm not sure..) glib2 and libxml2 were also updated at the same time,  reinstalled xz.tcz to OnBoot and all my apps appear to be functional again.

Apps effected

Firefox
Meld
GnomePlayer
etc
Title: Re: libxml2 update
Post by: AbNoRMiS on October 22, 2012, 04:31:44 PM
yep, i also temporarily did so