Überarbeitete metainfo und readme
This commit is contained in:
parent
5e9136d817
commit
ffaf7a6a59
14 changed files with 128 additions and 395 deletions
12
Makefile
12
Makefile
|
@ -1,12 +0,0 @@
|
|||
# src https://www.pragmaticlinux.com/2021/01/create-a-man-page-for-your-own-program-or-script-with-pandoc/
|
||||
man:
|
||||
pandoc man/tigerjython.md -s -t man | gzip > man/tigerjython.1.gz
|
||||
tar.gz: man
|
||||
mkdir -p TigerJython/man
|
||||
cp man/tigerjython.1.gz TigerJython/man
|
||||
rm -rf TigerJython/*.cfg TigerJython/.tjbackup/
|
||||
tar -czf TigerJython.tar.gz TigerJython
|
||||
deb: tar.gz
|
||||
cd debian-deb && sh makedeb.sh
|
||||
b2sum:
|
||||
b2sum TigerJython.tar.gz
|
15
README.md
15
README.md
|
@ -2,18 +2,13 @@
|
|||
|
||||
Dieses Repo soll helfen TigerJython für Arch, Debian oder Flatpak zu paketieren.
|
||||
|
||||
ArchLinux: https://aur.archlinux.org/packages/tigerjython
|
||||
## Builds
|
||||
|
||||
## Ordnerstruktur
|
||||
An folgenden Orten kann man die TigerJython von diesem Repo herunterladen:
|
||||
|
||||
Im Repository sind folgende Ordner:
|
||||
|
||||
* arch-pkg: paketierung für ArchLinux
|
||||
* debian-deb: Paketierung für Debian
|
||||
* flatpak: Paketierung für flatpak
|
||||
* man: Manual (Basierend auf dem Readme.txt)
|
||||
* TigerJython: Quelldateien
|
||||
* TigerJython.tar.gz: Tarball von TigerJython
|
||||
* Arch Linux: https://aur.archlinux.org/packages/tigerjython
|
||||
* Flatpak: https://flathub.org/apps/ch.tigerjython.TigerJython2
|
||||
* Debian: https://git.jdmweb2.ch/beat/-/packages/debian/tigerjython
|
||||
|
||||
## Logo
|
||||
|
||||
|
|
1
arch-pkg
1
arch-pkg
|
@ -1 +0,0 @@
|
|||
Subproject commit 27805c21d5beca3c79b3240ae1ab7403a98ec7ca
|
|
@ -3,8 +3,11 @@
|
|||
<id>ch.tigerjython.TigerJython2</id>
|
||||
|
||||
<name>TigerJython</name>
|
||||
<summary>TigerJython IDE</summary>
|
||||
<developer_name>TJ Group</developer_name>
|
||||
<summary>Python IDE for schools</summary>
|
||||
<summary xml:lang="de">Python IDE für Schulen</summary>
|
||||
<developer id="ch.tjgroup">
|
||||
<name>TJ Group</name>
|
||||
</developer>
|
||||
|
||||
<metadata_license>FSFAP</metadata_license>
|
||||
<project_license>BSD-3-Clause</project_license>
|
||||
|
@ -17,20 +20,44 @@
|
|||
<p>
|
||||
TigerJython is a free development environment for the Python programming language. If you want to learn programming, this is the tool for you. It already includes everything you need to start programming right away.
|
||||
</p>
|
||||
<p>
|
||||
For all versions we guarantee not to change or spy your software.
|
||||
<p xml:lang="de">
|
||||
TigerJython ist eine einfache Programmier-Umgebung für Python. Sie basiert auf Jython (Java-Python) und enthält bereits alle benötigten Bibliotheken.
|
||||
</p>
|
||||
</description>
|
||||
|
||||
<launchable type="desktop-id">ch.tigerjython.TigerJython2.desktop</launchable>
|
||||
<content_rating type="oars-1.1"/>
|
||||
<releases>
|
||||
<release version="2.40" date="2024-09-05"/>
|
||||
<release version="2.40" date="2024-09-05">
|
||||
<url type="details">https://tigerjython.ch/products/download</url>
|
||||
<description>
|
||||
<p>Version 2.40 [Sept-05-2024]</p>
|
||||
<ul>
|
||||
<li>mbrobot and mbrobot_plusV2: Calibration of motors</li>
|
||||
</ul>
|
||||
</description>
|
||||
</release>
|
||||
<release version="2.39" date="2024-01-01">
|
||||
<url type="details">https://tigerjython.ch/products/download</url>
|
||||
<description>
|
||||
<p>Version 2.39 [Jan-01-2024]</p>
|
||||
<ul>
|
||||
<li>Module Callibot: Support for servomotors (Maqueen Mechanic)</li>
|
||||
<li>Update of documentation</li>
|
||||
</ul>
|
||||
</description>
|
||||
</release>
|
||||
</releases>
|
||||
<url type="homepage">https://www.tigerjython.ch/</url>
|
||||
<screenshots>
|
||||
<screenshot type="default">
|
||||
<image>https://git.jdmweb2.ch/beat/tigerjython_pkg/raw/branch/main/screenshots/tigerjython_2_11.png</image>
|
||||
<caption>Main window with an example python file open.</caption>
|
||||
<image>https://git.jdmweb2.ch/beat/tigerjython_pkg/raw/branch/main/screenshots/tigerjython_2_40.png</image>
|
||||
<image xml:lang="de">https://git.jdmweb2.ch/beat/tigerjython_pkg/raw/branch/main/screenshots/tigerjython_2_40_de.png</image>
|
||||
</screenshot>
|
||||
</screenshots>
|
||||
</screenshots>
|
||||
<branding>
|
||||
<color type="primary" scheme_preference="light">#f37b1e</color>
|
||||
<color type="primary" scheme_preference="dark">#040507</color>
|
||||
</branding>
|
||||
</component>
|
||||
|
|
|
@ -1,60 +0,0 @@
|
|||
# Maintainer: Beat Jäckle <beat@git.jdmweb2.ch>
|
||||
|
||||
pkgname=tigerjython
|
||||
pkgver=2.37
|
||||
pkgrel=4
|
||||
pkgdesc='TigerJython IDE'
|
||||
arch=(x86_64)
|
||||
url='https://www.tigerjython.ch/'
|
||||
license=('custom')
|
||||
depends=(
|
||||
'jre-openjdk>=2'
|
||||
)
|
||||
makedepends=('tar' 'gzip')
|
||||
|
||||
# https://pixabay.com/de/vectors/fu%C3%9Fabdruck-tier-pelzig-pfote-308794/
|
||||
source=("https://www.tigerjython.ch/user/pages/download/TigerJython.tar.gz" 'http://jython.tobiaskohn.ch/images/TigerJython_Logo.png')
|
||||
b2sums=('32181780c1b1a86e7e151e01cf0428726f3c7ccd8c27db9d64cac4b03c1b8a0ae8e32fb029e9d32d3d1baf196f6874418d6a394e8b503bc454fdc367bbf2f01e'
|
||||
'4ae37420b11b7dd5e7ceb9c00fb48c6f575d6658b0cb0963e38155e79af5ba0cfaf1d00da8c278a6dcf5ae6615bf86b298dabca3c827fb7c80d1c55302a58dc7')
|
||||
_install_path=/opt
|
||||
|
||||
prepare() {
|
||||
rm -fr "$pkgname-$pkgver"
|
||||
mv TigerJython/bin "$pkgname-$pkgver"
|
||||
mv TigerJython/Readme.txt "$pkgname-$pkgver"
|
||||
rm -r TigerJython
|
||||
cd "$pkgname-$pkgver"
|
||||
rm -r ./jre
|
||||
find -name ._\* -delete
|
||||
find -name .DS_Store -delete
|
||||
}
|
||||
|
||||
build() {
|
||||
echo "#!/bin/sh" > "${srcdir}/tigerjython"
|
||||
echo "set -ue" >> "${srcdir}/tigerjython"
|
||||
echo "java -jar ${_install_path}/${pkgname}/tigerjython2.jar \$@" >> "${srcdir}/tigerjython"
|
||||
|
||||
_desktopfile_path="${srcdir}/tigerjython.desktop"
|
||||
echo "[Desktop Entry]" > ${_desktopfile_path}
|
||||
echo "Name=${pkgdesc}" >> ${_desktopfile_path}
|
||||
echo "Exec=java -jar ${_install_path}/${pkgname}/tigerjython2.jar" >> ${_desktopfile_path}
|
||||
echo "Icon=tigerjython" >> ${_desktopfile_path}
|
||||
echo "Type=Application" >> ${_desktopfile_path}
|
||||
echo "Categories=Education;Science;Math;" >> ${_desktopfile_path}
|
||||
echo "Keywords=science;math;matrix;plotting;" >> ${_desktopfile_path}
|
||||
|
||||
}
|
||||
|
||||
package() {
|
||||
|
||||
install -Ddm755 "${pkgdir}/${_install_path}/${pkgname}/Lib"
|
||||
install -Ddm755 "${pkgdir}/${_install_path}/${pkgname}/TestSamples"
|
||||
|
||||
install -Dm644 "${srcdir}/$pkgname-$pkgver/tigerjython2"* "${pkgdir}/${_install_path}/${pkgname}/."
|
||||
install -Dm644 "${srcdir}/$pkgname-$pkgver/Lib/"* "${pkgdir}/${_install_path}/${pkgname}/Lib/."
|
||||
install -Dm644 "${srcdir}/$pkgname-$pkgver/TestSamples/"* "${pkgdir}/${_install_path}/${pkgname}/TestSamples/."
|
||||
|
||||
install -Dm755 "${srcdir}/tigerjython" "${pkgdir}/usr/bin/tigerjython"
|
||||
install -Dm755 "${srcdir}/tigerjython.desktop" "${pkgdir}/usr/share/applications/tigerjython.desktop"
|
||||
install -Dm755 "${srcdir}/../tigerjython.svg" "${pkgdir}/usr/share/icons/hicolor/scalable/apps/tigerjython.svg"
|
||||
}
|
|
@ -1,33 +0,0 @@
|
|||
#!/bin/bash
|
||||
set -ue
|
||||
# Src:
|
||||
# https://earthly.dev/blog/creating-and-hosting-your-own-deb-packages-and-apt-repo/
|
||||
|
||||
. PKGBUILD
|
||||
|
||||
srcdir="${PWD}/src"
|
||||
pkgdir="${PWD}/${pkgname}_${pkgver}-${pkgrel}_${arch}"
|
||||
rootdir="${PWD}"
|
||||
mkdir -p "${srcdir}"
|
||||
cd "${srcdir}"
|
||||
wget -c https://www.tigerjython.ch/user/pages/download/TigerJython.tar.gz
|
||||
# if ! [ -f TigerJython.tar.gz ];then wget https://www.tigerjython.ch/user/pages/download/TigerJython.tar.gz;fi
|
||||
tar -xf TigerJython.tar.gz
|
||||
prepare
|
||||
|
||||
build
|
||||
|
||||
mkdir -p "${pkgdir}"
|
||||
cd "${pkgdir}"
|
||||
package
|
||||
|
||||
mkdir -p ${pkgdir}/DEBIAN
|
||||
echo "Package: ${pkgname}
|
||||
Version: ${pkgver}
|
||||
Maintainer: Beat Jäckle <beat@git.jdmweb2.ch>
|
||||
Depends: default-jre
|
||||
Architecture: amd64
|
||||
Homepage: ${url}
|
||||
Description: ${pkgdesc}" \
|
||||
> ${pkgdir}/DEBIAN/control
|
||||
fakeroot dpkg --build ${pkgdir}
|
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 76 KiB |
Binary file not shown.
|
@ -1,22 +0,0 @@
|
|||
manifest = ch.tigerjython.TigerJython2.yml
|
||||
gpg = beat@git.jdmweb2.ch
|
||||
clean:
|
||||
flatpak uninstall --noninteractive ch.tigerjython.TigerJython2 > /dev/null || true
|
||||
|
||||
build: clean
|
||||
flatpak-builder --install --user --force-clean build-dir ch.tigerjython.TigerJython2.yml
|
||||
run:
|
||||
flatpak run --nosocket=fallback-x11 --socket=x11 ch.tigerjython.TigerJython2
|
||||
sh:
|
||||
flatpak run --command=sh ch.tigerjython.TigerJython2
|
||||
|
||||
#https://docs.flathub.org/docs/for-app-authors/submission/
|
||||
sub_build: clean
|
||||
# flatpak run org.flatpak.Builder --force-clean --sandbox --user --install --install-deps-from=flathub --ccache --mirror-screenshots-url=https://dl.flathub.org/repo/screenshots --repo=repo builddir ch.tigerjython.TigerJython2.yml
|
||||
# flatpak run org.flatpak.Builder --force-clean --sandbox --user --install --ccache --mirror-screenshots-url=https://dl.flathub.org/repo/screenshots --repo=repo builddir ch.tigerjython.TigerJython2.yml
|
||||
# flatpak --user install -y --noninteractive flathub org.freedesktop.Sdk/x86_64/23.08
|
||||
flatpak-builder --gpg-sign=beat@git.jdmweb2.ch --force-clean --sandbox --user --install --install-deps-from=flathub --ccache --mirror-screenshots-url=https://dl.flathub.org/repo/screenshots --repo=repo builddir ${manifest}
|
||||
sub_lint:
|
||||
flatpak run --command=flatpak-builder-lint org.flatpak.Builder manifest ${manifest}
|
||||
sub_metainfo:
|
||||
flatpak run --command=appstream-util org.flatpak.Builder validate ch.tigerjython.TigerJython2.metainfo.xml
|
|
@ -1 +0,0 @@
|
|||
../TigerJython.tar.gz
|
|
@ -1,39 +0,0 @@
|
|||
id: ch.tigerjython.TigerJython2
|
||||
runtime: org.freedesktop.Platform
|
||||
runtime-version: '23.08'
|
||||
sdk: org.freedesktop.Sdk
|
||||
sdk-extensions:
|
||||
- org.freedesktop.Sdk.Extension.openjdk
|
||||
finish-args:
|
||||
- --env=PATH=/app/jre/bin:/app/bin:/usr/bin
|
||||
# X11 + XShm access
|
||||
- --share=ipc
|
||||
# - --socket=fallback-x11
|
||||
# Wayland access
|
||||
- --socket=x11
|
||||
# GPU acceleration if needed
|
||||
- --device=dri
|
||||
# Needs to talk to the network:
|
||||
- --share=network
|
||||
# Needs to save files locally
|
||||
- --filesystem=xdg-documents
|
||||
command: tigerjython
|
||||
modules:
|
||||
- name: openjdk
|
||||
buildsystem: simple
|
||||
build-commands:
|
||||
- /usr/lib/sdk/openjdk/install.sh
|
||||
- name: tigerjython2
|
||||
buildsystem: simple
|
||||
build-commands:
|
||||
- sed -i "s|/usr/bin/java|/app/jre/bin/java|g" tigerjython
|
||||
- sed -i "s|/opt/tigerjython|/app/tigerjython|g" tigerjython
|
||||
- install -Dm644 Lib/* -t /app/tigerjython/Lib
|
||||
- install -Dm644 TestSamples/* -t /app/tigerjython/TestSamples
|
||||
- install -m755 tigerjython2.jar /app/tigerjython/tigerjython2.jar
|
||||
- install -Dm755 tigerjython -t /app/bin
|
||||
- desktop-file-edit --set-icon=ch.tigerjython.TigerJython2 --set-key=Exec --set-value="tigerjython %f" tigerjython.desktop
|
||||
sources:
|
||||
- type: archive
|
||||
url: https://git.jdmweb2.ch/beat/tigerjython_pkg/raw/tag/V2.39/TigerJython.tar.gz
|
||||
sha256: 5961b11112ad27d4831d47d3422baa41d1ba8059e8dde3db2e4c4a8759aad607
|
BIN
screenshots/tigerjython_2_40.png
Normal file
BIN
screenshots/tigerjython_2_40.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 62 KiB |
BIN
screenshots/tigerjython_2_40_de.png
Normal file
BIN
screenshots/tigerjython_2_40_de.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 73 KiB |
109
tigerjython.svg
109
tigerjython.svg
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 76 KiB After Width: | Height: | Size: 124 KiB |
Loading…
Reference in a new issue