How convert pkg.tar.zst to xzm?

Technical issues/questions of an intermediate or advanced nature.
User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

How convert pkg.tar.zst to xzm?

Post#1 by Rava » 08 Mar 2020, 02:07

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.
Cheers!
Yours Rava

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3925
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

How convert pkg.tar.zst to xzm?

Post#2 by ncmprhnsbl » 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..
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

How convert pkg.tar.zst to xzm?

Post#3 by Rava » 08 Mar 2020, 02:52

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.
Cheers!
Yours Rava

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3925
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

How convert pkg.tar.zst to xzm?

Post#4 by ncmprhnsbl » 08 Mar 2020, 03:22

Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

beny
Full of knowledge
Full of knowledge
Posts: 2086
Joined: 02 Jan 2011, 11:33
Location: italy

How convert pkg.tar.zst to xzm?

Post#5 by beny » 08 Mar 2020, 22:04

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

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

How convert pkg.tar.zst to xzm?

Post#6 by Rava » 09 Mar 2020, 06:28

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
Cheers!
Yours Rava

Post Reply