Skip to content

Commit

Permalink
Merge pull request #55 from hopr-framework/update.version.to.1.2.1
Browse files Browse the repository at this point in the history
Fixed AppImage creation + update version to v1.2.1
  • Loading branch information
kopperp authored Jan 31, 2024
2 parents c58a938 + a1a661f commit cf452c8
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/cmake-ninja.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ jobs:
cp ../docs/Meshformat/pics/HOPR_logo.png AppDir/usr/share/icons/hopr.png
curl -L -O https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage
chmod +x linuxdeploy-x86_64.AppImage
mkdir -p AppDir/usr/share/icons/hicolor/64x64/apps/
ln -sf ../../../hopr.png AppDir/usr/share/icons/hicolor/64x64/apps/
tree AppDir
./linuxdeploy-x86_64.AppImage --appdir AppDir --output appimage --desktop-file=../hopr.desktop
Expand Down Expand Up @@ -116,7 +118,7 @@ jobs:
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: hopr-binary-v1.2.0
name: hopr-binary-v1.2.1
path: artifacts

- name: Upload release asset
Expand Down
22 changes: 22 additions & 0 deletions docs/documentation/developerguide/appimage.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,29 @@ Next, download the AppImage executable and run

./linuxdeploy-x86_64.AppImage --appdir AppDir --output appimage --desktop-file=../hopr.desktop

If an error is encountered, see the Section {ref}`developerguide/appimage:Troubleshooting` section for a possible solution.
The executable should be created in the top-level directory, e.g.,

hopr-2de94ad-x86_64.AppImage

# Troubleshooting

This section collects typical errors that are encountered when trying to build the AppImage.

## dlopen(): error loading libfuse.so.2

If the error

dlopen(): error loading libfuse.so.2

AppImages require FUSE to run.
You might still be able to extract the contents of this AppImage
if you run it with the --appimage-extract option.
See https://github.com/AppImage/AppImageKit/wiki/FUSE
for more information

is encountered, this might be due to a missing fuse installation.
On Debian/Ubuntu systems, simply run

sudo apt install libfuse2

1 change: 1 addition & 0 deletions docs/documentation/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# Defining the exact version will make sure things don't break
sphinx==7.0.0
sphinx_rtd_theme==2.0.0
sphinx_rtd_size==0.2.0
readthedocs-sphinx-search==0.3.2
myst_parser==2.0.0
sphinxcontrib.bibtex==2.5.0
2 changes: 1 addition & 1 deletion src/globals.f90
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ MODULE MOD_Globals

INTEGER,PARAMETER :: MajorVersion = 1 !> HoprVersion saved in each hdf5 file with hdf5 header
INTEGER,PARAMETER :: MinorVersion = 2 !> HoprVersion saved in each hdf5 file with hdf5 header
INTEGER,PARAMETER :: PatchVersion = 0 !> HoprVersion saved in each hdf5 file with hdf5 header
INTEGER,PARAMETER :: PatchVersion = 1 !> HoprVersion saved in each hdf5 file with hdf5 header
INTEGER,PARAMETER :: HoprVersionInt = PatchVersion+MinorVersion*100+MajorVersion*10000 !> Hopr version number saved in each hdf5 file with hdf5 header
CHARACTER(LEN=10) :: HoprVersionStr !> Hopr version string saved in each hdf5 file with hdf5 header

Expand Down

0 comments on commit cf452c8

Please sign in to comment.