Re: Fossapup User Contributed Packages
.
Discussion, talk and tips
https://forum.puppylinux.com/
.
.
.
.
.
This is a python implementation of the perl atool script. It provides a unified syntax for various cli archive utilities.
The version 1.13 is not released yet - just download the master zip from https://github.com/wummel/patool
The attached file contains a modified patool-1.13mod1. It's a simple zip archive, unpack it to see the source.
Usage: download, put in PATH (move to /root/my-applications/bin), rename to atool or anything, make executable, and run with --help
for further information.
Run ./patool-1.13mod1.zip formats
to see what file formats are supported.
Tested on Fossapup64 but should work on many recent puppy variants.
The changes I've made are:
Min Python version set to 3.8 (to run on Fossapup64).
Added short command aliases.
Added short option aliases.
Fix: temporary directories now are removed even if not empty (after extraction with a wrong password).
Added support for squashfs (.sfs) files (with mksquashfs and unsquashfs).
.
patool-1.13mod2 - a modified version of patool.
I've made some additional changes but haven't tested them thoroughly, so if it doesn't work, use the previous version from the viewtopic.php?p=90617#p90617 above.
Changelog:
Global options (--verbose and --non-interactive) placed after the sub-commands (to use them with command aliases).
Removed help pagination (the info is not very long).
Replaced `...' with '...' and 'patool' with a program filename in log messages.
Fixed FileNotFoundError in patool repack in rare circumstances.
Added support for extracting and listing puppy pet packages (with tar and head).
Fix: create a custom directory for extracting with tar if it doesn't exist.
Usage example: use patool to extract the content of its own zipapp package:
Code: Select all
chmod 755 patool-1.13mod2.zip
./patool-1.13mod2.zip x patool-1.13mod2.zip
Note: this tool creates a directory automatically if an archive contains more than one file in its root.
Well done and thanks for sharing
.
.
.
.
.
.
.
.
.
.
.
.
.
.
Grey wrote: Mon Jan 23, 2023 6:58 ambob93 wrote: Tue Jan 03, 2023 3:46 amHello. This version of inkscape has a very unfortunate bug that was fixed in later versions. Do you know if there's been any newer version released for puppy?
Hello. Here is the latest version 1.2.2 (SFS):
inkscape-1.2.2-fossapup-x86_64_9.5.sfsBut I should immediately note that I recently discussed the work of embedded extensions on one of the Russian forums. The bottom line is this: almost no one checks the operation of Inkscape extensions. As a result, everything works except for some extensions. A vivid example... how is it in the English version... it seems Extensions>>Render and then Gear or Foldable Box. And then it turns out that different users do not have some of the necessary PYTHON MODULES. For example, lxml or numpy.
If you just need to draw, then all the tools and filters work. But if you, like me sometimes, have to use extensions, then you need to install Pip and then install the modules with the python -m pip install XXX command.
In the future, I may start stuffing modules into sfs. Usually everyone shouts that "security", "ugly" and so on
In addition, I recommend choosing a normal icon theme in the Inkscape settings, and not this nasty one, which is by default
Hi. I downloaded this package and I'm trying to get some extensions to work, mainly interpolate. Is that command meant to be used just as written in urvxt terminal? When I do that I get
Code: Select all
/usr/bin/python: No module named pip
What am I missing?
Jasper wrote: Tue Jun 20, 2023 9:02 amInfo:
https://www.mankier.com/1/jpegoptimjpegoptim-1.5.4-x86_64
https://www.mediafire.com/file/z0zljn67 ... 4.pet/fileBasic example of use:
jpegoptim <filename.jpg> --strip-all --totals --workers=4 --force --dest=<path to where you want to keep the optimised file>The workers variable allows you to change the number of cpu cores. The default is 1.
This works really well, THANKS ! I also decided to make a simple BASH script for batch resizing of jpegs:
Code: Select all
#!/bin/sh
# This requires the jpegoptim .PET to be installed in fossapup64
# Create the target folder "OUT" for resized jpegs in the working directory containing the original JPEGs
# Modify the target size of jpeg if required, eg 250k
for x in *.JPG ; do
jpegoptim --size=250k $x --dest=OUT
done
bob93 wrote: Fri Jun 23, 2023 2:43 amGrey wrote: Mon Jan 23, 2023 6:58 am...
But I should immediately note that I recently discussed the work of embedded extensions on one of the Russian forums. The bottom line is this: almost no one checks the operation of Inkscape extensions. As a result, everything works except for some extensions. A vivid example... how is it in the English version... it seems Extensions>>Render and then Gear or Foldable Box. And then it turns out that different users do not have some of the necessary PYTHON MODULES. For example, lxml or numpy.If you just need to draw, then all the tools and filters work. But if you, like me sometimes, have to use extensions, then you need to install Pip and then install the modules with the python -m pip install XXX command.
In the future, I may start stuffing modules into sfs. Usually everyone shouts that "security", "ugly" and so on
In addition, I recommend choosing a normal icon theme in the Inkscape settings, and not this nasty one, which is by defaultHi. I downloaded this package and I'm trying to get some extensions to work, mainly interpolate. Is that command meant to be used just as written in urvxt terminal? When I do that I get
Code: Select all
/usr/bin/python: No module named pip
What am I missing?
Alright, I now see that pip needs to be installed from ppm (python3-pip_20.0.2) to be able to run that command, and XXX is the module to be installed, such as cssselect, so one command would be
Code: Select all
python -m pip install cssselect
1.3 appeared a week ago. It uses only one new library. So here's sfs. I didn't add Python modules for extensions, since it's not very technically beautiful and a vanishingly small number of people use them.
Do not forget that the inkview utility is included for viewing vector images. It is launched from the command line (well, or make a startup script).
So you will see the exact result of your work. Other viewers may show SVG incorrectly
Soft:
inkscape-1.3-fossapup-x86_64_9.5.sfs
MD5 txt:
This is mtPaint with webp support compiled in. The original package is constructed by @OscarTalks and posted here -> viewtopic.php?p=96401#p96401 which I compiled and added the necessary libraries to function in F96-CE_4 and Fossapup64
mtPaint-3.50.09-x86_64-bkwm-F96.pet
mtPaint-3.50.09-x86_64-bkwm-fossa.pet
FSArchiver
Git (there's already an unstable 0.8.8)
I compiled the latest stable (2023-03-19) version of the program (in PPM version for 2018 ). Now you can use FSArchiver directly from Fossa and not download SystemRescue for the sake of one program.
Examples. Test and search for disks: fsarchiver probe
Now copy the file system of the "big distro" to the archive (savefs): fsarchiver -j6 -Z12 -L root savefs /mnt/sdc1/backup.fsa /mnt/nvme0n1p2
And copying a folder with backups (savedir): fsarchiver -j6 -Z19 savedir /mnt/sdc1/\!backup.fsa /mnt/sdb1/\!backup
In the latter case, I have a backslash there behind the slash - this is because the folder name begins with an exclamation mark
-j6 This is the number of threads. I use 6 out of 12 so that the system can be used. LXTask shows an honest 50 percent CPU utilization.
-Z12 This is the compression ratio. The big Z is the new method (zstd), the small z is the old methods.
Always (when saving and restoring) the archive is specified first.
If you just enter a command without parameters, there will be help on commands and options. To get help with examples, type fsarchiver --help
.