mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
qfsm: remove
there seems to be an active fork. see https://github.com/AaronErhardt/qfsm/issues/1 for their progress on qt5 support
This commit is contained in:
parent
f1ca7eecbb
commit
f72bd5065d
@ -1,28 +0,0 @@
|
||||
{ lib, stdenv, fetchurl, qt4, cmake, graphviz, pkg-config }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "qfsm";
|
||||
version = "0.54.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/qfsm/qfsm-${version}-Source.tar.bz2";
|
||||
sha256 = "0rl7bc5cr29ng67yij4akciyid9z7npal812ys4c3m229vjvflrb";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config ];
|
||||
buildInputs = [ qt4 graphviz ];
|
||||
|
||||
patches = [
|
||||
./drop-hardcoded-prefix.patch
|
||||
./gcc6-fixes.patch
|
||||
];
|
||||
|
||||
hardeningDisable = [ "format" ];
|
||||
|
||||
meta = {
|
||||
description = "Graphical editor for finite state machines";
|
||||
homepage = "https://qfsm.sourceforge.net/";
|
||||
license = lib.licenses.gpl3Plus;
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
@ -1,20 +0,0 @@
|
||||
diff -ubrw qfsm-0.53.0-Source-orig/CMakeLists.txt qfsm-0.53.0-Source-new/CMakeLists.txt
|
||||
--- qfsm-0.53.0-Source-orig/CMakeLists.txt 2012-11-11 20:13:01.935856229 +0100
|
||||
+++ qfsm-0.53.0-Source-new/CMakeLists.txt 2012-11-11 20:13:24.962930007 +0100
|
||||
@@ -406,10 +406,6 @@
|
||||
|
||||
|
||||
IF(UNIX AND NOT WIN32)
|
||||
- SET(CMAKE_INSTALL_PREFIX "/usr")
|
||||
-ENDIF(UNIX AND NOT WIN32)
|
||||
-
|
||||
-IF(UNIX AND NOT WIN32)
|
||||
ADD_DEFINITIONS(-DQFSM_LANGUAGE_DIR="${CMAKE_INSTALL_PREFIX}/share/qfsm/")
|
||||
ADD_DEFINITIONS(-DQFSM_HELP_DIR="${CMAKE_INSTALL_PREFIX}/share/doc/qfsm/")
|
||||
ELSE(UNIX AND NOT WIN32)
|
||||
@@ -472,5 +468,3 @@
|
||||
)
|
||||
|
||||
ENDIF(UNIX AND NOT WIN32)
|
||||
-
|
||||
-
|
@ -1,20 +0,0 @@
|
||||
--- qfsm-0.54.0-Source-orig/src/FileIO.cpp 2015-01-02 19:01:46.000000000 +0100
|
||||
+++ qfsm-0.54.0-Source/src/FileIO.cpp 2017-09-11 19:53:30.579488402 +0200
|
||||
@@ -1617,7 +1617,7 @@
|
||||
QString ext;
|
||||
|
||||
if (!imp)
|
||||
- return FALSE;
|
||||
+ return NULL;
|
||||
|
||||
Project* p=NULL;
|
||||
importdlg->setAcceptMode(QFileDialog::AcceptOpen);
|
||||
@@ -1641,7 +1641,7 @@
|
||||
ifstream fin(act_importfile);
|
||||
|
||||
if (!fin)
|
||||
- return FALSE;
|
||||
+ return NULL;
|
||||
|
||||
emit setWaitCursor();
|
||||
|
@ -1491,6 +1491,7 @@ mapAliases ({
|
||||
qcsxcad = libsForQt5.qcsxcad; # Added 2020-11-05
|
||||
qtcreator-qt6 = throw "'qtcreator-qt6' has been renamed to/replaced by 'qtcreator', since qt5 version has been removed"; # Added 2023-07-25
|
||||
qflipper = qFlipper; # Added 2022-02-11
|
||||
qfsm = throw "qfsm has been removed, because it depended on qt4"; # Added 2022-06-12
|
||||
qimageblitz = throw "qimageblitz has been removed from nixpkgs, because it depended on qt4 and was last updated upstream in 2007"; # Added 2022-06-12
|
||||
qmetro = throw "qmetro has been removed, because it does not support qt5 (well)"; # Added 2022-05-26
|
||||
qmidiroute = throw "qmidiroute has been removed, because it was unmaintained upstream"; # Added 2022-05-26
|
||||
|
@ -14626,8 +14626,6 @@ with pkgs;
|
||||
|
||||
tweeny = callPackage ../development/libraries/tweeny { };
|
||||
|
||||
qfsm = callPackage ../applications/science/electronics/qfsm { };
|
||||
|
||||
tkgate = callPackage ../applications/science/electronics/tkgate/1.x.nix { };
|
||||
|
||||
tm = callPackage ../tools/system/tm { };
|
||||
|
Loading…
Reference in New Issue
Block a user