Compare commits
No commits in common. "main" and "V2.39-2" have entirely different histories.
50 changed files with 432 additions and 174 deletions
12
Makefile
Normal file
12
Makefile
Normal file
|
@ -0,0 +1,12 @@
|
|||
# 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,13 +2,18 @@
|
|||
|
||||
Dieses Repo soll helfen TigerJython für Arch, Debian oder Flatpak zu paketieren.
|
||||
|
||||
## Builds
|
||||
ArchLinux: https://aur.archlinux.org/packages/tigerjython
|
||||
|
||||
An folgenden Orten kann man die TigerJython von diesem Repo herunterladen:
|
||||
## Ordnerstruktur
|
||||
|
||||
* 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
|
||||
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
|
||||
|
||||
## Logo
|
||||
|
||||
|
|
BIN
TigerJython.tar.gz
Normal file
BIN
TigerJython.tar.gz
Normal file
Binary file not shown.
31
TigerJython/ch.tigerjython.TigerJython2.metainfo.xml
Normal file
31
TigerJython/ch.tigerjython.TigerJython2.metainfo.xml
Normal file
|
@ -0,0 +1,31 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<component type="desktop-application">
|
||||
<id>ch.tigerjython.TigerJython2</id>
|
||||
|
||||
<name>TigerJython</name>
|
||||
<summary>TigerJython IDE</summary>
|
||||
<developer_name>TJ Group</developer_name>
|
||||
|
||||
<metadata_license>FSFAP</metadata_license>
|
||||
<project_license>BSD-3-Clause</project_license>
|
||||
|
||||
<recommends>
|
||||
<display_length compare="ge">482</display_length>
|
||||
</recommends>
|
||||
|
||||
<description>
|
||||
<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>
|
||||
</description>
|
||||
|
||||
<launchable type="desktop-id">tigerjython.desktop</launchable>
|
||||
<content_rating type="oars-1.1"/>
|
||||
<releases>
|
||||
<release version="3.39" date="2024-01-03"/>
|
||||
</releases>
|
||||
<url type="homepage">https://www.tigerjython.ch/</url>
|
||||
</component>
|
BIN
TigerJython/man/tigerjython.1.gz
Normal file
BIN
TigerJython/man/tigerjython.1.gz
Normal file
Binary file not shown.
110
TigerJython/tigerjython.svg
Normal file
110
TigerJython/tigerjython.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 76 KiB |
BIN
tigerjython2.jar → TigerJython/tigerjython2.jar
Executable file → Normal file
BIN
tigerjython2.jar → TigerJython/tigerjython2.jar
Executable file → Normal file
Binary file not shown.
1
arch-pkg
Submodule
1
arch-pkg
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 27805c21d5beca3c79b3240ae1ab7403a98ec7ca
|
|
@ -1,63 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<component type="desktop-application">
|
||||
<id>ch.tigerjython.TigerJython2</id>
|
||||
|
||||
<name>TigerJython</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>
|
||||
|
||||
<recommends>
|
||||
<display_length compare="ge">482</display_length>
|
||||
</recommends>
|
||||
|
||||
<description>
|
||||
<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 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">
|
||||
<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">
|
||||
<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>
|
||||
<branding>
|
||||
<color type="primary" scheme_preference="light">#f37b1e</color>
|
||||
<color type="primary" scheme_preference="dark">#040507</color>
|
||||
</branding>
|
||||
</component>
|
60
debian-deb/PKGBUILD
Normal file
60
debian-deb/PKGBUILD
Normal file
|
@ -0,0 +1,60 @@
|
|||
# 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"
|
||||
}
|
33
debian-deb/makedeb.sh
Executable file
33
debian-deb/makedeb.sh
Executable file
|
@ -0,0 +1,33 @@
|
|||
#!/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}
|
110
debian-deb/tigerjython.svg
Normal file
110
debian-deb/tigerjython.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 76 KiB |
BIN
debian-deb/tigerjython_2.37-3_x86_64.deb
Normal file
BIN
debian-deb/tigerjython_2.37-3_x86_64.deb
Normal file
Binary file not shown.
22
flatpak/Makefile
Normal file
22
flatpak/Makefile
Normal file
|
@ -0,0 +1,22 @@
|
|||
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
flatpak/TigerJython.tar.gz
Symbolic link
1
flatpak/TigerJython.tar.gz
Symbolic link
|
@ -0,0 +1 @@
|
|||
../TigerJython.tar.gz
|
39
flatpak/ch.tigerjython.TigerJython2.yml
Normal file
39
flatpak/ch.tigerjython.TigerJython2.yml
Normal file
|
@ -0,0 +1,39 @@
|
|||
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
|
Binary file not shown.
|
@ -2,8 +2,8 @@
|
|||
title: TigerJython
|
||||
section: 1
|
||||
header: TigerJython Manual
|
||||
footer: tigerjython 2.40
|
||||
date: 2024-09-05
|
||||
footer: tigerjython 2.39
|
||||
date: 2024-01-03
|
||||
---
|
||||
# NAME
|
||||
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 48 KiB |
Binary file not shown.
Before Width: | Height: | Size: 62 KiB |
Binary file not shown.
Before Width: | Height: | Size: 73 KiB |
103
tigerjython.svg
103
tigerjython.svg
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 124 KiB |
Loading…
Add table
Reference in a new issue