Merge pull request #281408 from amaxine/drop-anjuta-gtkpod

gtkpod, gnome.anjuta: drop
This commit is contained in:
maxine 2024-03-14 21:42:12 +01:00 committed by GitHub
commit c32aa407c8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 4 additions and 88 deletions

View File

@ -1,40 +0,0 @@
{ lib, stdenv, fetchurl, pkg-config, wrapGAppsHook, intltool, libgpod, libxml2, curl, flac
, gnome, gtk3, gettext, perlPackages, flex, libid3tag, gdl
, libvorbis, gdk-pixbuf
}:
stdenv.mkDerivation rec {
version = "2.1.5";
pname = "gtkpod";
src = fetchurl {
url = "mirror://sourceforge/gtkpod/${pname}-${version}.tar.gz";
sha256 = "0xisrpx069f7bjkyc8vqxb4k0480jmx1wscqxr6cpq1qj6pchzd5";
};
postPatch = ''
sed -i 's/which/type -P/' scripts/*.sh
'';
nativeBuildInputs = [ pkg-config wrapGAppsHook intltool ];
buildInputs = [
curl gettext
flex libgpod libid3tag flac libvorbis libxml2 gtk3 gdk-pixbuf
gdl gnome.adwaita-icon-theme gnome.anjuta
] ++ (with perlPackages; [ perl XMLParser ]);
# Workaround build failure on -fno-common toolchains like upstream
# gcc-10. Otherwise build fails as:
# ld: .libs/autodetection.o:/build/gtkpod-2.1.5/libgtkpod/gtkpod_app_iface.h:248: multiple definition of
# `gtkpod_app'; .libs/gtkpod_app_iface.o:/build/gtkpod-2.1.5/libgtkpod/gtkpod_app_iface.h:248: first defined here
env.NIX_CFLAGS_COMPILE = "-fcommon";
enableParallelBuilding = true;
meta = with lib; {
description = "GTK Manager for an Apple ipod";
homepage = "https://sourceforge.net/projects/gtkpod/";
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = [ ];
};
}

View File

@ -184,8 +184,6 @@ lib.makeScope pkgs.newScope (self: with self; {
#### Dev http://ftp.gnome.org/pub/GNOME/devtools/
anjuta = callPackage ./devtools/anjuta { };
devhelp = callPackage ./devtools/devhelp { };
#### Games
@ -262,4 +260,7 @@ lib.makeScope pkgs.newScope (self: with self; {
gedit = throw "The gnome.gedit alias was removed. Please use pkgs.gedit directly."; # converted to throw on 2023-12-27
gnome-todo = throw "The gnome.gnome-todo alias was removed. Please use pkgs.endeavour directly."; # converted to throw on 2023-12-27
#### Removals
anjuta = throw "`anjuta` was removed after not being maintained upstream and losing control of its official domain."; # 2024-01-16
}

View File

@ -1,44 +0,0 @@
{ lib, stdenv, fetchurl, pkg-config, gnome, gtk3, gjs, flex, bison, libxml2, intltool,
gdl, libgda, gtksourceview, gsettings-desktop-schemas,
itstool, python3, ncurses, makeWrapper }:
stdenv.mkDerivation rec {
pname = "anjuta";
version = "3.34.0";
src = fetchurl {
url = "mirror://gnome/sources/anjuta/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "13ql7axw6zz387s7pa1m7wmh7qps3x7fk53h9832vq1yxlq33aa2";
};
passthru = {
updateScript = gnome.updateScript { packageName = "anjuta"; attrPath = "gnome.anjuta"; };
};
enableParallelBuilding = true;
nativeBuildInputs = [
pkg-config intltool itstool python3 makeWrapper
# Required by python3
ncurses
];
buildInputs = [
flex bison gtk3 libxml2 gjs gdl
libgda gtksourceview
gsettings-desktop-schemas
];
preFixup = ''
wrapProgram $out/bin/anjuta \
--prefix XDG_DATA_DIRS : \
"$GSETTINGS_SCHEMAS_PATH"
'';
meta = with lib; {
description = "Software development studio";
homepage = "http://anjuta.org/";
license = licenses.gpl2;
maintainers = with maintainers; [];
platforms = platforms.linux;
};
}

View File

@ -451,6 +451,7 @@ mapAliases ({
grub2_full = grub2; # Added 2022-11-18
grub = throw "grub1 was removed after not being maintained upstream for a decade. Please switch to another bootloader"; # Added 2023-04-11
gtkcord4 = dissent; # Added 2024-03-10
gtkpod = throw "'gtkpod' was removed due to one of its dependencies, 'anjuta' being unmaintained"; # Added 2024-01-16
guile-disarchive = disarchive; # Added 2023-10-27
guile-lint = throw "'guile-lint' has been removed, please use 'guild lint' instead"; # Added 2023-10-16

View File

@ -31828,8 +31828,6 @@ with pkgs;
gscreenshot = callPackage ../applications/graphics/gscreenshot { };
gtkpod = callPackage ../applications/audio/gtkpod { };
guacamole-client = callPackage ../servers/guacamole-client { };
guacamole-server = callPackage ../servers/guacamole-server { };