Skip to content

Commit

Permalink
Fix installation of dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Otfried Cheong committed Dec 10, 2023
1 parent 0f0744a commit 58f6159
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/macos-arm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
run: |
FW1=build/Ipe.app/Contents/Frameworks
FW2=build/IpePresenter.app/Contents/Frameworks
HEADERS=build/Ipe.app/Contents/Headers
install -m 0755 osxlibs/lib/libpng16.16.dylib $FW1
install -m 0755 osxlibs/lib/libpng16.16.dylib $FW2
install -m 0755 osxlibs/lib/libpixman-1.0.dylib $FW1
Expand All @@ -33,7 +34,8 @@ jobs:
install -m 0755 osxlibs/lib/libcairo.2.dylib $FW1
install -m 0755 osxlibs/lib/libcairo.2.dylib $FW2
install -m 0755 osxlibs/lib/liblua54.dylib $FW1
install -m 0644 src/include/*.h build/Ipe.app/Contents/Headers
mkdir -p $HEADERS
install -m 0644 src/include/*.h $HEADERS
codesign --force --deep -s - build/Ipe.app
codesign --force --deep -s - build/IpePresenter.app
- name: Create archive
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/macos-intel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
run: |
FW1=build/Ipe.app/Contents/Frameworks
FW2=build/IpePresenter.app/Contents/Frameworks
HEADERS=build/Ipe.app/Contents/Headers
install -m 0755 osxlibs/lib/libpng16.16.dylib $FW1
install -m 0755 osxlibs/lib/libpng16.16.dylib $FW2
install -m 0755 osxlibs/lib/libpixman-1.0.dylib $FW1
Expand All @@ -33,7 +34,8 @@ jobs:
install -m 0755 osxlibs/lib/libcairo.2.dylib $FW1
install -m 0755 osxlibs/lib/libcairo.2.dylib $FW2
install -m 0755 osxlibs/lib/liblua54.dylib $FW1
install -m 0644 src/include/*.h build/Ipe.app/Contents/Headers
mkdir -p $HEADERS
install -m 0644 src/include/*.h $HEADERS
codesign --force --deep -s - build/Ipe.app
codesign --force --deep -s - build/IpePresenter.app
- name: Create archive
Expand Down

1 comment on commit 58f6159

@sweatymarshmallow
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While installing on Ubuntu and other Debian based Linux, one more package other than the mentioned has to be installed - "QtWidget" - This can be installed using:

sudo apt-get update
sudo apt-get install qtbase5-dev

Please sign in to comment.