Package: jdAppStreamEdit
jdAppStreamEditA graphical Program to create and edit AppStream filesjdAppStreamEdit (previously known as jdAppdataEdit) allows you to easily create and edit AppStream (.appdata.xml or .metainfo.xml) files for your Application.Features:Easy to useFull support for the Open Age Rating System (OARS)The AppStream files are fully translatableReleases can be imported from GitHub, GitLab, Gitea, Git Repos and NEWS filesYou can view a preview in Gnome SoftwareYou can use a existing .desktop file as templatePluginsInstallFlatpakYou can get jdAppStreamEdit fromFlathubAURArch Users can get jdAppStreamEdit from theAURSourceforgeYou can get Windows and AppImage Builds fromSourceforgepipYou can install jdAppStreamEdit fromPyPIusingpip:pipinstalljdAppStreamEditUsing this Method, it will not include a Desktop Entry or any other Data file, so you need to run jdAppStreamEdit from the Command Line.
Use this only, when nothing else works.From sourceThis is only for experienced Users and someone, who wants to package jdAppStreamEdit for a Distro.
jdAppStreamEdit should be installed as a Python package.
You can usepipor any other tool that can handle Python packages.
You need to havelreleaseinstalled to build the Package.
After that, you should runinstall-unix-datafiles.pywhich wil install things like the Desktop Entry or the Icon in the correct place.
It defaults to/usr, but you can change it with the--prefixargument.
It also applies the translation to this files.
You need gettext installed to runinstall-unix-datafiles.py.Here's a example of installing jdAppStreamEdit into/usr/local:sudopipinstall--prefix/usr/local.
sudo./install-unix-datafiles.py--prefix/usr/localTranslateYou can help translating jdAppStreamEdit onCodeberg TranslateDevelopjdAppStreamEdit is written in Python and uses PyQt6 as GUI toolkit. You should have some experience in both.
You can runjdAppStreamEdit.pyto start jdAppStreamEdit from source and test your local changes.
It ships with a few scripts in the tools directory that you need to develop.CompileUI.pyThis is the most important script. It will take all.uifiles injdAppStreamEdit/uiand compiles it to a Python class
and stores it injdAppStreamEdit/ui_compiled. Without running this script first, you can't start jdAppStreamEdit.
You need to rerun it every time you changed or added a.uifile.BuildTranslations.pyThis script takes all.tsfiles and compiles it to.qmfiles.
The.tsfiles are containing the translation source and are being used during the translation process.
The.qmcontains the compiled translation and are being used by the Program.
You need to compile a.tsfile to a.qmfile to see the translations in the Program.UpdateTranslations.pyThis regenerates the.tsfiles. You need to run it, when you changed something in the source code.
The.tsfiles are contains the line in the source, where the string to translate appears,
so make sure you run it even when you don't changed a translatable string, so the location is correct.UpdateUnixDataTranslations.pyThis regenerates the translation files indeploy/translations. these files contains the translations for the Desktop Entry and the AppStream File.
It uses gettext, as it is hard to translate this using Qt.
These files just exists to integrate the translation with Weblate, because Weblate can't translate the Desktop Entry and the AppStream file.
Make sure you run this when you edited one of these files.
YOu need to have gettext installed to use it.UpdateTranslators.pyThis uses git to get a list of all Translators and writes it tojdAppStreamEdit/data/translators.json.
This is used to display the translators in the About Dialog.
You need git to run this script.WriteChangelogHtml.pyThis read the Changelog fromdeploy/page.codeberg.JakobDev.jdAppStreamEdit.metainfo.xml, converts it to HTML and writes it tojdAppStreamEdit/data/changelog.html.
This is used to display the Changelog in the About Dialog.
You needappstream-pythonto be installed to use this script.