diff --git a/bitcurator/VERSION b/bitcurator/VERSION index c62f02d..1b50ad0 100644 --- a/bitcurator/VERSION +++ b/bitcurator/VERSION @@ -1 +1 @@ -5.1.0-rc.2 +5.1.0-rc.3 diff --git a/bitcurator/env/usr/local/bin/run-jhovecli.sh b/bitcurator/env/usr/local/bin/run-jhovecli.sh new file mode 100755 index 0000000..0aa8b65 --- /dev/null +++ b/bitcurator/env/usr/local/bin/run-jhovecli.sh @@ -0,0 +1,19 @@ +#!/usr/bin/expect -f + +#trap sigwinch and pass it to the child we spawned +#this allows the gnome-terminal window to be resized +trap { + set rows [stty rows] + set cols [stty columns] + stty rows $rows columns $cols < $spawn_out(slave,name) +} WINCH + +set arg1 [lindex $argv 0] + +spawn -noecho bash +expect "$ " +send "cd ~\n" +send "jhove\n" +interact +exit + diff --git a/bitcurator/env/usr/share/icons/bitcurator/jhovelogo.svg b/bitcurator/env/usr/share/icons/bitcurator/jhovelogo.svg new file mode 100644 index 0000000..bde8b44 --- /dev/null +++ b/bitcurator/env/usr/share/icons/bitcurator/jhovelogo.svg @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/bitcurator/python-packages/importlib-metadata.sls b/bitcurator/python-packages/importlib-metadata.sls old mode 100755 new mode 100644 diff --git a/bitcurator/repos/adoptium.sls b/bitcurator/repos/adoptium.sls old mode 100755 new mode 100644 diff --git a/bitcurator/theme/menu-config/jhovecli.desktop b/bitcurator/theme/menu-config/jhovecli.desktop new file mode 100755 index 0000000..937539d --- /dev/null +++ b/bitcurator/theme/menu-config/jhovecli.desktop @@ -0,0 +1,12 @@ +#!/usr/bin/env xdg-open + +[Desktop Entry] +Type=Application +Version=1.34 +Name=JHOVE (CLI) +GenericName=jhovecli +Comment=JHOVE command-line +Terminal=true +Icon=/usr/share/icons/bitcurator/jhovelogo.svg +Exec=run-jhovecli.sh +Categories=Additional Tools diff --git a/bitcurator/theme/menu-config/jhovegui.desktop b/bitcurator/theme/menu-config/jhovegui.desktop new file mode 100755 index 0000000..f907372 --- /dev/null +++ b/bitcurator/theme/menu-config/jhovegui.desktop @@ -0,0 +1,17 @@ +[Desktop Entry] +# JHOVE GUI +# The format of this file is specified at +# http://freedesktop.org/Standards/desktop-entry-spec +# The entries are in the order they are listed in version 1.0 +Type=Application +Version=1.34 +Name=JHOVE (GUI) +GenericName=jhovegui +Comment=JHOVE GUI +Icon=/usr/share/icons/bitcurator/jhovegui.svg +Exec=/usr/local/bin/jhove-gui +Terminal=false +# Categorie entry according to version 1.0 of +# http://www.freedesktop.org/wiki/Specifications/menu-spec +Categories=Additional Tools + diff --git a/bitcurator/tools/jhove.sls b/bitcurator/tools/jhove.sls old mode 100755 new mode 100644