Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/staging' into glibc-2.27
- Loading branch information
Showing
158 changed files
with
3,496 additions
and
1,059 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
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
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 |
---|---|---|
@@ -0,0 +1,58 @@ | ||
{ stdenv, fetchFromGitHub | ||
, cmake, gcc-arm-embedded, python | ||
, qt5, SDL, gmock | ||
, dfu-util, avrdude | ||
}: | ||
|
||
let | ||
|
||
version = "2.2.1"; | ||
|
||
in stdenv.mkDerivation { | ||
|
||
name = "opentx-${version}"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "opentx"; | ||
repo = "opentx"; | ||
rev = version; | ||
sha256 = "01lnnkrxach21aivnx1k1iqhih02nixh8c4nk6rpw408p13him9g"; | ||
}; | ||
|
||
enableParallelBuilding = true; | ||
|
||
nativeBuildInputs = [ cmake ]; | ||
|
||
buildInputs = with qt5; [ | ||
gcc-arm-embedded | ||
python python.pkgs.pyqt4 | ||
qtbase qtmultimedia qttranslations | ||
SDL gmock | ||
]; | ||
|
||
postPatch = '' | ||
sed -i companion/src/burnconfigdialog.cpp -e 's|/usr/.*bin/dfu-util|${dfu-util}/bin/dfu-util|' | ||
sed -i companion/src/burnconfigdialog.cpp -e 's|/usr/.*bin/avrdude|${avrdude}/bin/avrdude|' | ||
''; | ||
|
||
cmakeFlags = [ | ||
"-DQT_TRANSLATIONS_DIR=${qt5.qttranslations}/translations" | ||
# XXX I would prefer to include these here, though we will need to file a bug upstream to get that changed. | ||
#"-DDFU_UTIL_PATH=${dfu-util}/bin/dfu-util" | ||
#"-DAVRDUDE_PATH=${avrdude}/bin/avrdude" | ||
]; | ||
|
||
meta = with stdenv.lib; { | ||
description = "OpenTX Companion transmitter support software"; | ||
longDescription = '' | ||
OpenTX Companion is used for many different tasks like loading OpenTX | ||
firmware to the radio, backing up model settings, editing settings and | ||
running radio simulators. | ||
''; | ||
homepage = https://open-tx.org/; | ||
license = stdenv.lib.licenses.gpl2; | ||
platforms = [ "i686-linux" "x86_64-linux" ]; | ||
maintainers = with maintainers; [ elitak ]; | ||
}; | ||
|
||
} |
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,15 @@ | ||
|
||
Fix "No known features for CXX compiler", see | ||
https://cmake.org/pipermail/cmake/2016-December/064733.html and the note at | ||
https://cmake.org/cmake/help/v3.10/command/cmake_minimum_required.html | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -8,7 +8,7 @@ | ||
# | ||
#======================================================================== | ||
|
||
-cmake_minimum_required(VERSION 2.8.8) | ||
+cmake_minimum_required(VERSION 3.1.0) | ||
|
||
project(xpdf) | ||
|
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
Oops, something went wrong.