WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [SOLVED] updated tcz  (Read 3025 times)

Offline LazyLarry

  • Newbie
  • *
  • Posts: 42
[SOLVED] updated tcz
« on: December 07, 2013, 10:13:34 PM »
AM I correct in assuming that all tcz files need to be rebuilt following the release of TC5.X? I'm not sure how this works, but is there any way to request qt creator be done sooner rather than later?
« Last Edit: December 10, 2013, 08:08:46 AM by LazyLarry »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14819
Re: updated tcz
« Reply #1 on: December 07, 2013, 10:32:01 PM »
Not all extensions need to be rebuilt.

Probably the best thing to do is to test tc-4.x extensions in tc-5.x and report those that do work in the thread created for this purpose. The working extensions can then be copied to the tc-5.x repo.

The extensions that don't work in tc-5.x should be reported via pm to the maintainer with a request to recompile them to work in tc-5.x

Offline LazyLarry

  • Newbie
  • *
  • Posts: 42
Re: updated tcz
« Reply #2 on: December 07, 2013, 10:45:59 PM »
So I'll need to copy them from the optional dir on a 4.x install ? And all the dependencies too? And not overwrite a newer version. Bit of a mouthful for qt-creator :-(

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14819
Re: updated tcz
« Reply #3 on: December 07, 2013, 10:56:40 PM »
You can download them directly from the 4.x repo using:
Code: [Select]
$ wget -c http://www.tinycorelinux.net/4.x/x86/tcz/extension_name.tcz
..and only download deps that are not present in the 5.x repo.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11634
Re: updated tcz
« Reply #4 on: December 07, 2013, 11:06:22 PM »
Hi libpng_base-dev.tcz
Assuming they are compatible, you will have to change  Xorg-7.6-lib.tcz  to  Xorg-7.7-lib.tcz  in the dependency file.

@Juanito: I see  libpng_base-dev.tcz  is a dependency, does that mean recompiling is necessary?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14819
Re: updated tcz
« Reply #5 on: December 08, 2013, 12:02:39 AM »
@Juanito: I see  libpng_base-dev.tcz  is a dependency, does that mean recompiling is necessary?

Almost certainly, but you can easily check using "ldd" on the libs/executables in the extension - if you see libpng12 in the output, then the extension needs recompiling.

Offline LazyLarry

  • Newbie
  • *
  • Posts: 42
Re: updated tcz
« Reply #6 on: December 09, 2013, 01:27:09 PM »
I think I might have worked around it. My app needed qt-4.x-base.tcz, which I got from your link, and also libpng.tcz. However, 5.1 already has libpng, so i renamed the libpng from the older version, included the renamed one and the app runs. I was missing lib12.so.0. the new libpng has lib16* files, so maybe there's no overlap.

Did I get out of jail?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14819
Re: [SOLVED] updated tcz
« Reply #7 on: December 11, 2013, 01:22:20 AM »
Using the qt-4.x-base extension from the tc-4.x repo under tc-5.x:
Code: [Select]
$ ldd /usr/local/lib/libQtGui.so | grep found
        libpng12.so.0 => not found

..so the extension will need to be recompiled - I suggest you pm the extension maintainer.