gbdfed: drop
Assisted-by: codex with gpt-5.5-high
This commit is contained in:
@@ -1,15 +0,0 @@
|
||||
diff --git "a/Makefile.in" "b/Makefile.in"
|
||||
index b482958..472b8da 100644
|
||||
--- "a/Makefile.in"
|
||||
+++ "b/Makefile.in"
|
||||
@@ -27,9 +27,7 @@ MKINSTALLDIRS = ./mkinstalldirs
|
||||
CC = @CC@
|
||||
CFLAGS = @XX_CFLAGS@ @CFLAGS@
|
||||
|
||||
-DEFINES = @DEFINES@ -DG_DISABLE_DEPRECATED \
|
||||
- -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED \
|
||||
- -DGTK_DISABLE_DEPRECATED
|
||||
+DEFINES = @DEFINES@
|
||||
|
||||
SRCS = bdf.c \
|
||||
bdfcons.c \
|
||||
@@ -1,49 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
pkg-config,
|
||||
freetype,
|
||||
gtk2-x11,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
version = "1.6";
|
||||
pname = "gbdfed";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://sofia.nmsu.edu/~mleisher/Software/gbdfed/gbdfed-${finalAttrs.version}.tar.bz2";
|
||||
sha256 = "0g09k6wim58hngxncq2brr7mwjm92j3famp0vs4b3p48wr65vcjx";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [
|
||||
freetype
|
||||
gtk2-x11
|
||||
];
|
||||
|
||||
patches = [ ./Makefile.patch ];
|
||||
|
||||
hardeningDisable = [ "format" ];
|
||||
|
||||
postPatch = ''
|
||||
# gcc15
|
||||
substituteInPlace bdfgrab.c --replace-fail 'int (*old_error_handler)();' 'XErrorHandler old_error_handler;'
|
||||
substituteInPlace hbf.c --replace-fail 'typedef int bool;' '// typedef int bool;'
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Bitmap Font Editor";
|
||||
longDescription = ''
|
||||
gbdfed lets you interactively create new bitmap font files or modify existing ones.
|
||||
It allows editing multiple fonts and multiple glyphs,
|
||||
it allows cut and paste operations between fonts and glyphs and editing font properties.
|
||||
The editor works natively with BDF fonts.
|
||||
'';
|
||||
homepage = "http://sofia.nmsu.edu/~mleisher/Software/gbdfed/";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ ];
|
||||
platforms = lib.platforms.all;
|
||||
mainProgram = "gbdfed";
|
||||
};
|
||||
})
|
||||
@@ -858,6 +858,7 @@ mapAliases {
|
||||
garage_1_x = warnAlias "'garage_1_x' has been renamed to 'garage_1'" garage_1; # Added 2025-06-23
|
||||
garage_2_0_0 = throw "'garage_2_0_0' has been removed. Use 'garage_2' instead."; # Added 2025-09-16
|
||||
gavrasm = throw "'gavrasm' has been removed. Use 'avra' instead."; # Added 2025-12-21
|
||||
gbdfed = throw "'gbdfed' has been removed, as it is unmaintained upstream and depends on GTK 2. Consider using 'fontforge' instead."; # Added 2026-05-22
|
||||
gcc9 = throw "gcc9 has been removed from Nixpkgs, as it is unmaintained and obsolete"; # Added 2025-08-08
|
||||
gcc9Stdenv = throw "gcc9Stdenv has been removed from Nixpkgs, as it is unmaintained and obsolete"; # Added 2025-08-08
|
||||
gcc10 = throw "gcc10 has been removed from Nixpkgs, as it is unmaintained and obsolete"; # Added 2025-08-08
|
||||
|
||||
Reference in New Issue
Block a user