I asked the goblin man I saw in my dream about Gemini's instructions, and he answered like this:
Create a PKGINFO file in the package directory.
Nope, nope, nope. Solus uses the package.yml
format. 👺
Some of those fields are similar than the ones used in a package.yml (though there they are exclusively lower case), but e.g. "Maintainer" doesn't exist at all. Also there are no build instructions at all.
FAb7D Create a desktopfile file in the package directory.
...maybe, if whisper doesn't provide its own. Though it should of course be in a files
subdirectory when you pacakge for Solus. 👺
Create an install script in the package directory.
Also not a thing in Solus packaging. The install instructions are in the package.yml
👺
desktopfile=/usr/share/applications/whisper.desktop
[...]
Why is it recreating the desktop file contents? And doing it differently than the first time?! 👺
pbuilder -c solus -m whisper-pkg
Not even close to a Solus packaging command (I'd allow go-task
(if you're doing it inside the repository folder), solbuild
, ypkg
) 👺
sudo eopkg install whisper-0.0.1-1.x86_64.pkg
Close, but no cigar. It should be whisper-0.0.1-1-1-x86_64.eopkg
👺
Then I asked the dream goblin about the ChatGPT instructions, and it answered like this:
sudo eopkg it -c system.devel
Good start, but not quite what you want for packaging. For that, see here: https://help.getsol.us/docs/packaging/prepare-for-packaging/ 👺
...what? 👺
The pspec.xml file describes how to build the package. Create a file named pspec.xml in the solus-whisper/package directory with the following content:
No, no, no! We no longer manually create pspec.xml
files. It's all package.yml
now!
If you want me to analyze the pspec.xml structure you'll have to bring me a witches toenail first! 👺
Write the actions.py File:
Same here 👺
No, no, that wouldn't even be correct old way. You have to point it to the pspec.xml
, not a folder. 👺
sudo eopkg it whisper-*.eopkg
Smart, it avoided trying to piece together the full name. The best AI packager is a lazy AI packager 👺