WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Extension for .la files no longer in their extensions  (Read 6401 times)

Offline andyj

  • Hero Member
  • *****
  • Posts: 1021
Extension for .la files no longer in their extensions
« on: November 23, 2019, 10:53:28 AM »
I'd like to request an extension that contains the .la files that aren't being maintained in the library updates, but some software packages are still looking for them. In the last round of updates I was able to find the Xorg .la files, but I can't find wayland-client.la needed by open-vm-tools for 32-bit.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11213
Re: Extension for .la files no longer in their extensions
« Reply #1 on: November 23, 2019, 11:02:29 AM »
Hi andyj
... but I can't find wayland-client.la needed by open-vm-tools for 32-bit.
According to this:
http://tinycorelinux.net/10.x/x86/tcz/wayland-dev.tcz.list
thet're in  wayland-dev.tcz.

Offline andyj

  • Hero Member
  • *****
  • Posts: 1021
Re: Extension for .la files no longer in their extensions
« Reply #2 on: November 23, 2019, 11:22:19 AM »
Curious. I didn't have wayland-dev on my build system and it's never been needed before. Do the latest Xorg builds need or somehow reference wayland and the deps don't have it? I'll need to do some more research.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14535
Re: Extension for .la files no longer in their extensions
« Reply #3 on: November 23, 2019, 10:54:48 PM »
There has been no change in the way Xorg is compiled against wayland - note that Xorg is not compiled against wayland in x86 to avoid bloat.
« Last Edit: November 23, 2019, 11:04:35 PM by Juanito »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11213
Re: Extension for .la files no longer in their extensions
« Reply #4 on: November 24, 2019, 05:51:40 AM »
Hi andyj
According to the x86  .tcz.dep  files the only extension that depends on wayland is  ibus-dev.tcz  which depends on  wayland-dev.tcz.

Offline aswjh

  • Jr. Member
  • **
  • Posts: 85
Re: Extension for .la files no longer in their extensions
« Reply #5 on: November 25, 2019, 06:40:03 PM »
and libgio-2.0.la

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11213
Re: Extension for .la files no longer in their extensions
« Reply #6 on: November 25, 2019, 07:06:23 PM »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11213
Re: Extension for .la files no longer in their extensions
« Reply #7 on: November 25, 2019, 07:48:26 PM »
Hi aswjh
Here's a tarball with the  glib2-dev  .la  files from TC9. You should probably edit them to change the version numbers from
5200.3  to  6000.6. Look for the lines called  library_names=, current=, age=, and revision=.

Offline aswjh

  • Jr. Member
  • **
  • Posts: 85
Re: Extension for .la files no longer in their extensions
« Reply #8 on: November 26, 2019, 05:04:15 AM »
Hi aswjh
Here's a tarball with the  glib2-dev  .la  files from TC9. You should probably edit them to change the version numbers from
5200.3  to  6000.6. Look for the lines called  library_names=, current=, age=, and revision=.

tanks

Offline andyj

  • Hero Member
  • *****
  • Posts: 1021
Re: Extension for .la files no longer in their extensions
« Reply #9 on: November 26, 2019, 05:46:33 AM »
Here are the ones I've gathered from multiple places to build the extensions I maintain:

Code: [Select]
libEGL.la
libGL.la
libGLESv1_CM.la
libGLESv2.la
libMesaOpenCL.la
libOSMesa.la
libatk-1.0.la
libdrm.la
libdrm_amdgpu.la
libdrm_intel.la
libdrm_nouveau.la
libdrm_radeon.la
libgbm.la
libgio-2.0.la
libglapi.la
libglib-2.0.la
libgmodule-2.0.la
libgobject-2.0.la
libgthread-2.0.la
libinput.la
libjson-glib-1.0.la
libkms.la
libswrAVX.la
libswrAVX2.la
libtiff.la
libtiffxx.la
libvulkan_intel.la
libvulkan_radeon.la
libxatracker.la

We're doing this little by little, but when I
Code: [Select]
grep '\.la$' *.list | wc in my mirror of 10.x/x86/tcz I get 3462 files. All I'm asking is as TC moves forward the .la files which disappear from their respective extensions when they are recompiled be moved into an extension of .la files so I or anyone else who compiles their own code doesn't have to go on a treasure hunt to find them.

Offline GNUser

  • Hero Member
  • *****
  • Posts: 1345
Re: Extension for .la files no longer in their extensions
« Reply #10 on: November 26, 2019, 07:19:02 AM »
All I'm asking is as TC moves forward the .la files which disappear from their respective extensions when they are recompiled be moved into an extension of .la files so I or anyone else who compiles their own code doesn't have to go on a treasure hunt to find them.

I second that. I've gone on such treasure hunts many times. A lot of vintage software still needs the .la files at compile time (particularly those from TC9's glib2-dev.tcz).

Perhaps we could start with the .la files missing from TC10's glib2-dev.tcz? If I were to collect those files into an extension (named something like glib2-dev-la or glib2-la) would the developers be interested in adding it to the repository?
« Last Edit: November 26, 2019, 07:21:04 AM by GNUser »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14535
Re: Extension for .la files no longer in their extensions
« Reply #11 on: November 26, 2019, 07:31:44 AM »
The files should be in the relevant tcz/src/extension folder on the server - we could regroup them under tcz/src/la if that makes things easier?

Offline GNUser

  • Hero Member
  • *****
  • Posts: 1345
Re: Extension for .la files no longer in their extensions
« Reply #12 on: November 26, 2019, 07:40:02 AM »
That would be wonderful.
For contributors who are aware of the issue, could the .la files also be manually added to their respective foo-dev.tcz extensions?
« Last Edit: November 26, 2019, 07:45:48 AM by GNUser »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14535

Offline GNUser

  • Hero Member
  • *****
  • Posts: 1345
Re: Extension for .la files no longer in their extensions
« Reply #14 on: November 27, 2019, 05:22:48 AM »
That's just beautiful. Thank you, juanito!

Here's the command to fetch all those files and put them in /usr/local/lib (adjust the architecture if needed):

Code: [Select]
sudo rsync -rtvh --progress repo.tinycorelinux.net::tc/10.x/x86_64/tcz/src/la/ /usr/local/lib
« Last Edit: November 27, 2019, 05:24:53 AM by GNUser »