diff options
author | Linquize <linquize@yahoo.com.hk> | 2014-07-13 19:22:10 +0800 |
---|---|---|
committer | Linquize <linquize@yahoo.com.hk> | 2014-07-13 19:22:10 +0800 |
commit | 73028ef1610d23e8e54c0f969d868f8cdbd0f038 (patch) | |
tree | 3c8e262520e7bebe7308a947472a85c55ac89462 /pkgs/tools/misc | |
parent | 6fb00303fb758bec95f45b546e8bd26d0686fc0c (diff) | |
download | nixlib-73028ef1610d23e8e54c0f969d868f8cdbd0f038.tar nixlib-73028ef1610d23e8e54c0f969d868f8cdbd0f038.tar.gz nixlib-73028ef1610d23e8e54c0f969d868f8cdbd0f038.tar.bz2 nixlib-73028ef1610d23e8e54c0f969d868f8cdbd0f038.tar.lz nixlib-73028ef1610d23e8e54c0f969d868f8cdbd0f038.tar.xz nixlib-73028ef1610d23e8e54c0f969d868f8cdbd0f038.tar.zst nixlib-73028ef1610d23e8e54c0f969d868f8cdbd0f038.zip |
gbdfed: add package 1.6
Diffstat (limited to 'pkgs/tools/misc')
-rw-r--r-- | pkgs/tools/misc/gbdfed/Makefile.patch | 15 | ||||
-rw-r--r-- | pkgs/tools/misc/gbdfed/default.nix | 29 |
2 files changed, 44 insertions, 0 deletions
diff --git a/pkgs/tools/misc/gbdfed/Makefile.patch b/pkgs/tools/misc/gbdfed/Makefile.patch new file mode 100644 index 000000000000..9c437deca07c --- /dev/null +++ b/pkgs/tools/misc/gbdfed/Makefile.patch @@ -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 \ diff --git a/pkgs/tools/misc/gbdfed/default.nix b/pkgs/tools/misc/gbdfed/default.nix new file mode 100644 index 000000000000..104d3fad8d09 --- /dev/null +++ b/pkgs/tools/misc/gbdfed/default.nix @@ -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; + }; +} |