gbdfed: add package 1.6
This commit is contained in:
parent
6fb00303fb
commit
73028ef161
15
pkgs/tools/misc/gbdfed/Makefile.patch
Normal file
15
pkgs/tools/misc/gbdfed/Makefile.patch
Normal file
@ -0,0 +1,15 @@
|
||||
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 \
|
29
pkgs/tools/misc/gbdfed/default.nix
Normal file
29
pkgs/tools/misc/gbdfed/default.nix
Normal file
@ -0,0 +1,29 @@
|
||||
{ stdenv, fetchurl, pkgconfig, freetype, gtk }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.6";
|
||||
name = "gbdfed-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://sofia.nmsu.edu/~mleisher/Software/gbdfed/${name}.tar.bz2";
|
||||
sha256 = "0g09k6wim58hngxncq2brr7mwjm92j3famp0vs4b3p48wr65vcjx";
|
||||
};
|
||||
|
||||
buildInputs = [ pkgconfig freetype gtk ];
|
||||
|
||||
patches = [ ./Makefile.patch ];
|
||||
|
||||
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 = stdenv.lib.licenses.mit;
|
||||
maintainers = [ stdenv.lib.maintainers.linquize ];
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
};
|
||||
}
|
@ -1100,6 +1100,10 @@ let
|
||||
gawkInteractive = appendToName "interactive"
|
||||
(gawk.override { readlineSupport = true; });
|
||||
|
||||
gbdfed = callPackage ../tools/misc/gbdfed {
|
||||
gtk = gtk2;
|
||||
};
|
||||
|
||||
gdmap = callPackage ../tools/system/gdmap { };
|
||||
|
||||
genext2fs = callPackage ../tools/filesystems/genext2fs { };
|
||||
|
Loading…
Reference in New Issue
Block a user