forked from GrandOrgue/grandorgue
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed uncompatibility with recent linux distros GrandOrgue#1480
- Loading branch information
Showing
12 changed files
with
90 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
#!/bin/bash | ||
|
||
# $1 - wxWidgets package version: empty - libwxgtk3.2-dev or wx30 - libwxgtk3.0-gtk3-dev | ||
|
||
set -e | ||
|
||
DIR=`dirname $0` | ||
$DIR/../for-linux/prepare-debian-based.sh arm64 | ||
$DIR/../for-linux/prepare-debian-based.sh "$1" arm64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
#!/bin/bash | ||
|
||
# $1 - wxWidgets package version: empty - libwxgtk3.2-dev or wx30 - libwxgtk3.0-gtk3-dev | ||
|
||
set -e | ||
|
||
DIR=`dirname $0` | ||
$DIR/../for-linux/prepare-debian-based.sh armhf | ||
$DIR/../for-linux/prepare-debian-based.sh "$1" armhf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,13 @@ | ||
#!/bin/sh | ||
|
||
# $1 - wxWidgets package version: empty - libwxgtk3.2-dev or wx30 - libwxgtk3.0-gtk3-dev | ||
# $2 - target architecture: ex arm64, amd64, armhf | ||
|
||
WX_PKG_NAME=wxGTK-devel | ||
[[ "$1" == "wx30" ]] && WX_PKG_NAME=wxGTK3-devel | ||
|
||
set -e | ||
sudo dnf install -y \ | ||
cmake gcc-c++ make gettext docbook-style-xsl zip po4a ImageMagick rpm-build \ | ||
pipewire-jack-audio-connection-kit-devel fftw-devel zlib-devel wavpack-devel \ | ||
wxGTK3-devel alsa-lib-devel systemd-devel yaml-cpp-static | ||
$WX_PKG_NAME alsa-lib-devel systemd-devel yaml-cpp-static |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/bin/bash | ||
|
||
# add an ppa repository for wxWidgets | ||
|
||
# $1 - wx package name | ||
|
||
set -e | ||
|
||
WX_PACKAGE_NAME=$1 | ||
|
||
sudo apt-get update | ||
if ! apt-cache show $WX_PACKAGE_NAME; then | ||
# the wx package is not found | ||
if [[ "$WX_PACKAGE_NAME" == "libwxgtk3.2-dev" ]]; then | ||
sudo DEBIAN_FRONTEND=noninteractive apt-get install -y software-properties-common | ||
echo "" | sudo DEBIAN_FRONTEND=noninteractive add-apt-repository ppa:sjr/wx32 | ||
fi | ||
fi |