Page 1 of 1

How convert pkg.tar.zst to xzm?

Posted: 08 Mar 2020, 02:07
by Rava
How convert one convert a pkg.tar.zst into a xzm?

In my case, it would be this file:

Code: Select all

# file poppler-0.86.1-1-x86_64.pkg.tar.zst 
poppler-0.86.1-1-x86_64.pkg.tar.zst: Zstandard compressed data (v0.8+), Dictionary ID: None
Seems there is no such tool as a zst2xzm.

There is "zstd command line interface 64-bits v1.4.4", and mc can also open zst compressed pkg.tar packages. But I would prefer if the extracting and installing into a certain fake path (not into the real system) and then dir2xzm that path into the module could automatically be done via a script and not needs to be done all manually every flustering time.

pkgtool sure would be an erroneous tool to try since that is a Slackware Package Tool while pkg.tar.zst are Arch Linux packages.

For some reason, searching poppler-0.86.1 gives no result on pkgs.org. See the screenshot.
The only results I could find have been ones I found via duckduckgo. Yes, I already am writing the email to Mykola the maintainer of pkgs.org about that search issue.
http://slakfinder.org gives me when searching for poppler-0.86 V0.68.0 as the newest version available. O_o

Why do I need a never Poppler?

I tried converting a German pdf with pdftotext and while the resulting txt was encoded as UTF-8, all the German Umlauts and other non-7-bit characters have been messed up.
E.g. Ü -> †
ö -> š etcetera.

How convert pkg.tar.zst to xzm?

Posted: 08 Mar 2020, 02:33
by ncmprhnsbl
Script to make Slackware Compliant package of xz, deb is Bogomips' script: xz2txz which is for converting arch packages(pkg.tar.xz) to txz..
this would be the place to start..

How convert pkg.tar.zst to xzm?

Posted: 08 Mar 2020, 02:52
by Rava
ncmprhnsbl wrote:
08 Mar 2020, 02:33
Script to make Slackware Compliant package of xz, deb is Bogomips' script: xz2txz which is for converting arch packages(pkg.tar.xz) to txz..
this would be the place to start..
Which one is the most recent version?

Seems the one in the first post is not. Unfortunately the first mentioned version number is not absolute, he gave version numbers to each convert function that all follow below. I would have preferred only one version info at the top that is the version for the whole script since all 3 convert functions are part of the whole script.

How convert pkg.tar.zst to xzm?

Posted: 08 Mar 2020, 03:22
by ncmprhnsbl

How convert pkg.tar.zst to xzm?

Posted: 08 Mar 2020, 22:04
by beny
http://www.mediafire.com/file/vhe9br83l ... 4.tgz/file try this Rava the build is done from the last git into a slackware current maybe you need qt5 . mediafire trial account

How convert pkg.tar.zst to xzm?

Posted: 09 Mar 2020, 06:28
by Rava
I manually created the module by using mc to open and copy the folders sans the usr/include path and subfolders.
It needs libjpeg.so.8 as sole dependency.

But it fails at its simple task: the German Umlaute containing PDF is converted into the exact same fail txt than with the older 0.65 Poppler version that is standard part of Porteus 5.0rc1. O___o