qlandkartegt: remove

This commit is contained in:
Matthias Thym 2023-04-17 15:52:41 +02:00
parent 064ffc66d4
commit 4138d6a449
5 changed files with 4 additions and 127 deletions

View File

@ -233,6 +233,8 @@ In addition to numerous new and upgraded packages, this release has the followin
- The `baget` package and module was removed due to being unmaintained.
- The `qlandkartegt` and `garmindev` packages were removed due to being unmaintained and insecure.
- `go-ethereum` package has been updated to v1.11.5 and the `puppeth` command is no longer available as of v1.11.0.
- The `pnpm` package has be updated to from version 7.29.1 to version 8.1.1 and Node.js 14 support has been discontinued (though, there are workarounds if Node.js 14 is still required)

View File

@ -1,93 +0,0 @@
{ mkDerivation, lib, fetchurl, fetchpatch, cmake
, qtmultimedia, qtserialport, qtscript, qtwebkit
, garmindev, gdal, gpsd, libdmtx, libexif, libGLU, proj }:
mkDerivation rec {
pname = "qlandkartegt";
version = "1.8.1";
src = fetchurl {
url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.gz";
sha256 = "1rwv5ar5jv15g1cc6pp0lk69q3ip10pjazsh3ds2ggaciymha1ly";
};
patches = [
(fetchpatch {
url = "https://aur.archlinux.org/cgit/aur.git/plain/fix-gps_read.patch?h=qlandkartegt";
sha256 = "1xyqxdqxwviq7b8jjxssxjlkldk01ms8dzqdjgvjs8n3fh7w0l70";
})
(fetchpatch {
url = "https://aur.archlinux.org/cgit/aur.git/plain/fix-incomplete-type.patch?h=qlandkartegt";
sha256 = "1q7rm321az3q6pq5mq0yjrihxl9sf3nln9z3xp20g9qldslv2cy2";
})
(fetchpatch {
url = "https://aur.archlinux.org/cgit/aur.git/plain/fix-proj_api.patch?h=qlandkartegt";
sha256 = "12yibxn85z2n30azmhyv02q091jj5r50nlnjq4gfzyqd3xb9582n";
})
(fetchpatch {
url = "https://aur.archlinux.org/cgit/aur.git/plain/fix-qt5-build.patch?h=qlandkartegt";
sha256 = "1wq2hr06gzq8m7zddh10vizmvpwp4lcy1g86rlpppvdc5cm3jpkl";
})
(fetchpatch {
url = "https://aur.archlinux.org/cgit/aur.git/plain/fix-qtgui-include.patch?h=qlandkartegt";
sha256 = "16hql8ignzw4n1hlp4icbvaddqcadh2rjns0bvis720535112sc8";
})
(fetchpatch {
url = "https://aur.archlinux.org/cgit/aur.git/plain/fix-timespec.patch?h=qlandkartegt";
sha256 = "1yzdwfsgjn7q04r9f7s5qk50y25hdl384dxrmpfmkm97fmpgyr7w";
})
(fetchpatch {
url = "https://aur.archlinux.org/cgit/aur.git/plain/fix-ver_str.patch?h=qlandkartegt";
sha256 = "13fg05gqrjfa9j00lrqz1b06xf6r5j01kl6l06vkn0hz1jzxss5m";
})
(fetchpatch {
url = "https://aur.archlinux.org/cgit/aur.git/plain/improve-gpx-creator.patch?h=qlandkartegt";
sha256 = "1sdf5z8qrd43azrhwfw06zc0qr48z925hgbcfqlp0xrsxv2n6kks";
})
(fetchpatch {
url = "https://aur.archlinux.org/cgit/aur.git/plain/improve-gpx-name.patch?h=qlandkartegt";
sha256 = "10phafhns79i3rl4zpc7arw11x46cywgkdkxm7gw1i9y5h0cal79";
})
];
nativeBuildInputs = [ cmake ];
buildInputs = [
qtmultimedia qtserialport qtscript qtwebkit
garmindev gdal gpsd libdmtx libexif libGLU proj
];
cmakeFlags = [
"-DQK_QT5_PORT=ON"
"-DEXIF_LIBRARIES=${libexif}/lib/libexif.so"
"-DEXIF_INCLUDE_DIRS=${libexif}/include"
];
postPatch = ''
substituteInPlace ConfigureChecks.cmake \
--replace \$\{PLUGIN_INSTALL_DIR\} "${garmindev}/lib/qlandkartegt"
'';
postInstall = ''
mkdir -p $out/share/mime/packages
cat << EOF > $out/share/mime/packages/qlandkartegt.xml
<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
<mime-type type="application/vnd.qlandkartegt.qlb">
<comment>QLandkarteGT File</comment>
<glob pattern="*.qlb"/>
</mime-type>
</mime-info>
EOF
'';
meta = with lib; {
homepage = "http://www.qlandkarte.org/";
description = ''
QLandkarte GT is the ultimate outdoor aficionado's tool.
It supports GPS maps in GeoTiff format as well as Garmin's img vector map format.
'';
license = licenses.gpl2;
maintainers = with maintainers; [ sikmir ];
platforms = with platforms; linux;
};
}

View File

@ -1,23 +0,0 @@
{ lib, stdenv, fetchurl, cmake, libusb-compat-0_1 }:
stdenv.mkDerivation rec {
pname = "garmindev";
version = "0.3.4";
src = fetchurl {
url = "mirror://sourceforge/qlandkartegt/${pname}-${version}.tar.gz";
sha256 = "1mc7rxdn9790pgbvz02xzipxp2dp9h4hfq87xgawa18sp9jqzhw6";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ libusb-compat-0_1 ];
meta = with lib; {
homepage = "http://www.qlandkarte.org/";
description = "Garmin Device Drivers for QlandkarteGT";
license = licenses.gpl2;
maintainers = with maintainers; [ sikmir ];
platforms = [ "x86_64-linux" ];
};
}

View File

@ -536,6 +536,7 @@ mapAliases ({
g4py = python3Packages.geant4; # Added 2020-06-06
gaia = throw "gaia has been removed because it seems abandoned upstream and uses no longer supported dependencies"; # Added 2020-06-06
gammy = throw "'gammy' is deprecated upstream and has been replaced by 'gummy'"; # Added 2022-09-03
garmindev = throw "'garmindev' has been removed as the dependent software 'qlandkartegt' has been removed"; # Added 2023-04-17
gawp = throw "gawp has been dropped due to the lack of maintanence from upstream since 2017"; # Added 2022-06-02
gdal_1_11 = throw "gdal_1_11 was removed. Use gdal instead"; # Added 2021-04-03
gdb-multitarget = throw "'gdb-multitarget' has been renamed to/replaced by 'gdb'"; # Converted to throw 2022-02-22
@ -1374,6 +1375,7 @@ mapAliases ({
qcsxcad = libsForQt5.qcsxcad; # Added 2020-11-05
qflipper = qFlipper; # Added 2022-02-11
qmk_firmware = throw "qmk_firmware has been removed because it was broken"; # Added 2021-04-02
qlandkartegt = throw "'qlandkartegt' has been removed from nixpkgs, as it was broken and unmaintained"; # Added 2023-04-17
qr-filetransfer = throw ''"qr-filetransfer" has been renamed to "qrcp"''; # Added 2020-12-02
qshowdiff = throw "'qshowdiff' (Qt4) is unmaintained and not been updated since its addition in 2010"; # Added 2022-06-14
qt-3 = throw "qt-3 has been removed from nixpkgs, as it's unmaintained and insecure"; # Added 2021-02-15

View File

@ -33172,17 +33172,6 @@ with pkgs;
qimgv = libsForQt5.callPackage ../applications/graphics/qimgv { };
qlandkartegt = libsForQt5.callPackage ../applications/misc/qlandkartegt {
gdal = gdal.override {
libgeotiff = libgeotiff.override { proj = proj_7; };
libspatialite = libspatialite.override { proj = proj_7; };
proj = proj_7;
};
proj = proj_7;
};
garmindev = callPackage ../applications/misc/qlandkartegt/garmindev.nix { };
qmediathekview = libsForQt5.callPackage ../applications/video/qmediathekview { };
qmplay2 = libsForQt5.callPackage ../applications/video/qmplay2 { };