diff options
author | Pascal Wittmann <PascalWittmann@gmx.net> | 2014-07-21 19:49:26 +0200 |
---|---|---|
committer | Pascal Wittmann <PascalWittmann@gmx.net> | 2014-07-21 19:49:26 +0200 |
commit | 5156b5d11d3b258024ef67e958eae97bc16f77ec (patch) | |
tree | 46554c7d0b26ab41b4ff7f161fd1506ea4ac49b0 /pkgs/tools/misc | |
parent | f8778ed82cd8b110ea58f8f94ba73f85982ec863 (diff) | |
parent | 73028ef1610d23e8e54c0f969d868f8cdbd0f038 (diff) | |
download | nixlib-5156b5d11d3b258024ef67e958eae97bc16f77ec.tar nixlib-5156b5d11d3b258024ef67e958eae97bc16f77ec.tar.gz nixlib-5156b5d11d3b258024ef67e958eae97bc16f77ec.tar.bz2 nixlib-5156b5d11d3b258024ef67e958eae97bc16f77ec.tar.lz nixlib-5156b5d11d3b258024ef67e958eae97bc16f77ec.tar.xz nixlib-5156b5d11d3b258024ef67e958eae97bc16f77ec.tar.zst nixlib-5156b5d11d3b258024ef67e958eae97bc16f77ec.zip |
Merge pull request #3260 from linquize/gbdfed
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; + }; +} |