Compare commits
No commits in common. "main" and "V2.39" have entirely different histories.
50 changed files with 388 additions and 183 deletions
7
LICENCE
7
LICENCE
|
@ -1,7 +0,0 @@
|
||||||
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
|
||||||
|
|
||||||
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
|
||||||
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
|
||||||
* Neither the name of the author nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
|
|
||||||
|
|
||||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
10
Makefile
Normal file
10
Makefile
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
# 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
|
17
README.md
17
README.md
|
@ -2,14 +2,19 @@
|
||||||
|
|
||||||
Dieses Repo soll helfen TigerJython für Arch, Debian oder Flatpak zu paketieren.
|
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
|
||||||
|
|
||||||
|
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
|
## Logo
|
||||||
|
|
||||||
Das vektorisierte Logo stammt von [Pixabay](https://pixabay.com/de/vectors/fu%C3%9Fabdruck-tier-pelzig-pfote-308794/)
|
Das vektorisierte Logo stammt von [Pixabay](https://pixabay.com/de/vectors/fu%C3%9Fabdruck-tier-pelzig-pfote-308794/)
|
||||||
|
|
BIN
TigerJython.tar.gz
Normal file
BIN
TigerJython.tar.gz
Normal file
Binary file not shown.
BIN
TigerJython/man/tigerjython.1.gz
Normal file
BIN
TigerJython/man/tigerjython.1.gz
Normal file
Binary file not shown.
3
tigerjython.desktop → TigerJython/tigerjython.desktop
Executable file → Normal file
3
tigerjython.desktop → TigerJython/tigerjython.desktop
Executable file → Normal file
|
@ -1,7 +1,6 @@
|
||||||
#!/usr/bin/env xdg-open
|
|
||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Name=TigerJython IDE
|
Name=TigerJython IDE
|
||||||
Exec=tigerjython %f
|
Exec=java -jar /opt/tigerjython/tigerjython2.jar
|
||||||
Icon=tigerjython
|
Icon=tigerjython
|
||||||
Type=Application
|
Type=Application
|
||||||
Categories=Education;Science;Math;
|
Categories=Education;Science;Math;
|
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 7d08674c084d76e22b0b4d5fd647d46d40390ef7
|
|
@ -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.
6
flatpak/Makefile
Normal file
6
flatpak/Makefile
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
build:
|
||||||
|
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
|
1
flatpak/TigerJython.tar.gz
Symbolic link
1
flatpak/TigerJython.tar.gz
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
../TigerJython.tar.gz
|
43
flatpak/ch.tigerjython.TigerJython2.yml
Normal file
43
flatpak/ch.tigerjython.TigerJython2.yml
Normal file
|
@ -0,0 +1,43 @@
|
||||||
|
id: ch.tigerjython.TigerJython2
|
||||||
|
runtime: org.freedesktop.Platform
|
||||||
|
# runtime: org.freedesktop.Sdk.Extension.openjdk
|
||||||
|
runtime-version: '23.08'
|
||||||
|
sdk: org.freedesktop.Sdk
|
||||||
|
sdk-extensions:
|
||||||
|
- org.freedesktop.Sdk.Extension.openjdk
|
||||||
|
modules:
|
||||||
|
- name: openjdk
|
||||||
|
buildsystem: simple
|
||||||
|
build-commands:
|
||||||
|
- /usr/lib/sdk/openjdk/install.sh
|
||||||
|
- name: tigerjython2
|
||||||
|
buildsystem: simple
|
||||||
|
build-commands:
|
||||||
|
- install -Ddm755 /app/tigerjython/Lib
|
||||||
|
- install -Ddm755 /app/tigerjython/TestSamples
|
||||||
|
- sed -i "s|/usr/bin/java|/app/jre/bin/java|g" tigerjython
|
||||||
|
- sed -i "s|/opt/tigerjython|/app/tigerjython|g" tigerjython
|
||||||
|
- install -Dm644 Lib/* /app/tigerjython/Lib
|
||||||
|
- install -Dm644 TestSamples/* /app/tigerjython/TestSamples
|
||||||
|
- install -m755 tigerjython2.jar /app/tigerjython/tigerjython2.jar
|
||||||
|
- install -m755 tigerjython /app/tigerjython/tigerjython.sh
|
||||||
|
|
||||||
|
sources:
|
||||||
|
- type: archive
|
||||||
|
path: TigerJython.tar.gz
|
||||||
|
finish-args:
|
||||||
|
- --env=PATH=/app/jre/bin:/usr/bin
|
||||||
|
# X11 + XShm access
|
||||||
|
- --share=ipc
|
||||||
|
- --socket=fallback-x11
|
||||||
|
# Wayland access
|
||||||
|
- --socket=wayland
|
||||||
|
# GPU acceleration if needed
|
||||||
|
- --device=dri
|
||||||
|
# Needs to talk to the network:
|
||||||
|
- --share=network
|
||||||
|
# Needs to save files locally
|
||||||
|
- --filesystem=xdg-documents
|
||||||
|
# command: java -jar tigerjython2.jar
|
||||||
|
# command: java --version
|
||||||
|
command: /app/tigerjython/tigerjython.sh
|
Binary file not shown.
|
@ -2,8 +2,8 @@
|
||||||
title: TigerJython
|
title: TigerJython
|
||||||
section: 1
|
section: 1
|
||||||
header: TigerJython Manual
|
header: TigerJython Manual
|
||||||
footer: tigerjython 2.40
|
footer: tigerjython 2.39
|
||||||
date: 2024-09-05
|
date: 2024-01-03
|
||||||
---
|
---
|
||||||
# NAME
|
# 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