Skip to content

Commit

Permalink
v2.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jonelo committed Oct 27, 2024
1 parent 23d6a43 commit 5d38076
Show file tree
Hide file tree
Showing 7 changed files with 68 additions and 24 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ The installer script installs [Jacksum](https://github.com/jonelo/jacksum) and [

- jacksum-3.7.0.jar, HashGarten-0.18.0.jar and flatlaf-3.5.2.jar (all jars are part of the installation tarball)

### Supported File Browsers
### Supported File Browsers / File Managers

The installation script has been tested successfully for many file browsers on many systems. If the API has not changed, the script should work with later [minor or patch versions](https://semver.org) as well. See also the head of the installer script for details.

Expand Down Expand Up @@ -47,18 +47,18 @@ If your preferred file manager is not listed below, chances are high that your f

### Download the latest installation script

Go to https://github.com/jonelo/jacksum-fbi-linux/releases and download the .tar.bz2 file.
Go to https://github.com/jonelo/jacksum-for-linux/releases and download the .tar.bz2 file.

### Extract the installation script

On most GNU/Linux derivates, and on macOS you can enter
```
$ tar xfvj jacksum*.tar.bz2 ; cd jacksum-file-browser-integration/
$ tar xfvj jacksum*.tar.bz2 ; cd jacksum-for-linux/
```

On most Unix derivates, such as Sun/Oracle Solaris you can enter
```
$ bunzip2 < jacksum*.tar.bz2 | tar xfv - ; cd jacksum-file-browser-integration/
$ bunzip2 < jacksum*.tar.bz2 | tar xfv - ; cd jacksum-for-linux/
```

### Start the installation script
Expand All @@ -71,7 +71,7 @@ The installation script is an interactive text user interface that allows you to

### Where can I file bugs, feature requests, and support requests?

Please go to https://github.com/jonelo/jacksum-fbi-linux/issues
Please go to https://github.com/jonelo/jacksum-for-linux/issues


### I have installed Krusader, but the installer marked it as DISABLED
Expand All @@ -95,7 +95,7 @@ $ sudo apt install openjdk-21-jre

You just need to enter `/usr/bin/java` (or hit Enter) if the `jacksum-file-browser-integration.sh` asks you for the java command:
```
$ ./jacksum-file-browser-integration.sh
$ ./jacksum-for-linux.sh
...
Type the absolute path to "java"
and press "Enter" to continue [/usr/bin/java]:
Expand All @@ -110,7 +110,7 @@ $ sudo ./update_jdk -s "https://github.com/adoptium/temurin21-binaries/releases/
You just need to enter `/opt/java/jdk_latest/bin/java` if the `jacksum-file-browser-integration.sh` asks you for the java command:

```
$ ./jacksum-file-browser-integration.sh
$ ./jacksum-for-linux.sh
...
Type the absolute path to "java"
and press "Enter" to continue [/usr/bin/java]: /opt/java/jdk_latest/bin/java
Expand Down
File renamed without changes.
11 changes: 5 additions & 6 deletions jacksum-file-browser-integration/readme.txt → docs/readme.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Description
-----------
Jacksum File Browser Integration
for GNU/Linux and Unix Operating Systems v2.8.0 (Oct 20, 2024)
for GNU/Linux and Unix Operating Systems v2.9.0 (Oct 27, 2024)
Copyright (C) 2006-2024 Dipl.-Inf. (FH) Johann N. Loefflmann

This program is free software; you can redistribute it and/or modify
Expand Down Expand Up @@ -30,7 +30,7 @@ Requirements
with graphical libraries.

Note: a headless OpenJDK is not suitable to run the HashGarten GUI.
You can get a suitable Java Runtime from many places
You can get a suitable Java Runtime from many places:

https://adoptium.net
https://openjdk.java.net
Expand All @@ -42,18 +42,18 @@ Requirements
https://github.com/alibaba/dragonwell8
https://www.oracle.com/java

4) jacksum-3.7.0.jar, and HashGarten-0.17.0.jar, and flatlaf-3.4.1.jar
4) jacksum-3.7.0.jar, and HashGarten-0.18.0.jar, and flatlaf-3.5.2.jar


Extract the script
------------------
bunzip2 < jacksum*.tar.bz2 | tar xfv -
cd jacksum-file-browser-integration/
cd jacksum-for-linux/


Start the script
----------------
./jacksum-file-browser-integration.sh
./jacksum-for-linux.sh

You can run the script as often as you want.

Expand All @@ -69,4 +69,3 @@ The script should also work on many other Linux/Unix-platforms.
Bugs, Feature Requests, Support Requests
----------------------------------------
Go to https://github.com/jonelo/jacksum-fbi-linux/issues

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Beschreibung
------------
Jacksum File Browser Integration 2.8.0
für GNU/Linux und Unix Betriebssysteme (20.10.2024)
Jacksum File Browser Integration 2.9.0
für GNU/Linux und Unix Betriebssysteme (27.10.2024)
Copyright (C) 2006-2024 Dipl.-Inf. (FH) Johann N. Löfflmann

This program is free software; you can redistribute it and/or modify
Expand Down Expand Up @@ -42,25 +42,25 @@ Voraussetzungen
https://github.com/alibaba/dragonwell8
https://www.oracle.com/java

4) jacksum-3.7.0.jar, and HashGarten-0.17.0.jar, und flatlaf-3.4.1.jar
4) jacksum-3.7.0.jar, HashGarten-0.18.0.jar und flatlaf-3.5.2.jar


Entpacken des Scripts
---------------------
bunzip2 < jacksum*integration*.tar.bz2 | tar xfv -
cd jacksum-file-browser-integration/
bunzip2 < jacksum*.tar.bz2 | tar xfv -
cd jacksum-for-linux/


Starten des Scripts
-------------------
./jacksum-file-browser-integration.sh
./jacksum-for-linux.sh

Sie können das Script so oft aufrufen wie sie wollen.


Getestete Umgebungen
--------------------
Das Script wurde erfolgreich under vielen Systemen getestet. Details
Das Script wurde erfolgreich mit vielen Systemen getestet. Details
entnehmen Sie bitte dem Kommentarkopf aus dem Script.

Das Script sollte auch unter anderen GNU/Linux und Unix-Plattformen
Expand All @@ -69,5 +69,4 @@ funktionieren.

Fehler, Wünsche, Supportanfragen
--------------------------------
Besuchen Sie https://github.com/jonelo/jacksum-fbi-linux/issues

Besuchen Sie https://github.com/jonelo/jacksum-for-linux/issues
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
Release Notes
-------------
2.9.0, Oct 27, 2024
- bundled HashGarten 0.18 and FlatLaf 3.5.2
- added deploy.sh script to make a tar.bz2 for easy deployment
- replaced name jacksum-file-browser-integration with jacksum-for-linux

2.8.0, Oct 20, 2024
- added support for KDE 6
- added support for PCManFM and PCManFM-Qt
Expand Down
41 changes: 41 additions & 0 deletions src/deploy.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
#!/bin/bash

WIN_INSTALLER_VER=2.9.0
LINUX_INSTALLER_VER=2.9.0

JACKSUM_VER=3.7.0
HASHGARTEN_VER=0.18.0
FLATLAF_VER=3.5.2

# ------ no change required after this point ---- #

# Init
TARGET="/tmp/jacksum-for-linux"
rm -Rf "$TARGET"
mkdir -p "$TARGET"
cd "${TARGET}"

# Download latest jacksum-for-windows release
curl -L -o temp.zip "https://github.com/jonelo/jacksum-for-windows/releases/download/v${WIN_INSTALLER_VER}/jacksum-${JACKSUM_VER}-hashgarten-${HASHGARTEN_VER}-for-windows-${WIN_INSTALLER_VER}.zip"

# Extract all .jar files
unzip temp.zip "*.exe"
7z x "*.exe" "*.jar"
rm temp.zip
rm *.exe
cd -

# Create a new Linux tarball
TARBALL="jacksum-${JACKSUM_VER}-hashgarten-${HASHGARTEN_VER}-for-linux-${LINUX_INSTALLER_VER}.tar"
rm /tmp/${TARBALL}.bz2
cp jacksum-for-linux.sh "$TARGET"
cp ../docs/* $TARGET
cd /tmp
tar cfv "$TARBALL" "jacksum-for-linux"
bzip2 "$TARBALL"
cd -

# Check again
printf "Done.\n"
ls -la "/tmp/${TARBALL}.bz2"
bunzip2 < "/tmp/${TARBALL}.bz2" | tar tvf -
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,10 @@
# on read-only-filesystems (e.g. on life CDs), crashes of kate, or non-supported
# servicemenus for KDE

VERSION="2.8.0"
VERSION="2.9.0"
NAME="jacksum"
JACKSUM_VERSION="3.7.0"
HASHGARTEN_VERSION="0.17.0"
HASHGARTEN_VERSION="0.18.0"
PROGNAME="Jacksum/HashGarten File Browser Integration"
JACKSUM_JAR="$(pwd)/jacksum-${JACKSUM_VERSION}.jar"
HASHGARTEN_JAR="$(pwd)/HashGarten-${HASHGARTEN_VERSION}.jar"
Expand Down

0 comments on commit 5d38076

Please sign in to comment.