xmlcopyeditor: init at 1.2.1.3

* xmlcopyeditor: init at 1.2.1.3
(#38545)

authored by

Javier Candeira and committed by
Renaud
2c08fe58 66c8169b

+71
+5
maintainers/maintainer-list.nix
··· 688 688 github = "campadrenalin"; 689 689 name = "Philip Horger"; 690 690 }; 691 + candeira = { 692 + email = "javier@candeira.com"; 693 + github = "candeira"; 694 + name = "Javier Candeira"; 695 + }; 691 696 canndrew = { 692 697 email = "shum@canndrew.org"; 693 698 github = "canndrew";
+28
pkgs/applications/editors/xmlcopyeditor/default.nix
··· 1 + { stdenv, fetchurl, aspell, boost, expat, expect, intltool, libxml2, libxslt, pcre, wxGTK, xercesc }: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "xmlcopyeditor-${version}"; 5 + version = "1.2.1.3"; 6 + 7 + src = fetchurl { 8 + name = "${name}.tar.gz"; 9 + url = "mirror://sourceforge/xml-copy-editor/${name}.tar.gz"; 10 + sha256 = "0bwxn89600jbrkvlwyawgc0c0qqxpl453mbgcb9qbbxl8984ns4v"; 11 + }; 12 + 13 + patches = [ ./xmlcopyeditor.patch ]; 14 + CPLUS_INCLUDE_PATH = "${libxml2.dev}/include/libxml2"; 15 + 16 + nativeBuildInputs = [ intltool ]; 17 + buildInputs = [ aspell boost expat libxml2 libxslt pcre wxGTK xercesc ]; 18 + 19 + enableParallelBuilding = true; 20 + 21 + meta = with stdenv.lib; { 22 + description = "A fast, free, validating XML editor"; 23 + homepage = http://xml-copy-editor.sourceforge.net/; 24 + license = licenses.gpl2Plus; 25 + platforms = platforms.linux; 26 + maintainers = with maintainers; [ candeira ]; 27 + }; 28 + }
+36
pkgs/applications/editors/xmlcopyeditor/xmlcopyeditor.patch
··· 1 + From 626c385ba141c6abcff01bef4451fcad062d232c Mon Sep 17 00:00:00 2001 2 + From: Javier Candeira <javier@candeira.com> 3 + Date: Sat, 7 Apr 2018 20:21:45 +1000 4 + Subject: [PATCH] nixpckgs patches 5 + 6 + --- 7 + src/Makefile.in | 6 +++--- 8 + 1 file changed, 3 insertions(+), 3 deletions(-) 9 + 10 + diff --git a/src/Makefile.in b/src/Makefile.in 11 + index e75918f..e04703b 100644 12 + --- a/src/Makefile.in 13 + +++ b/src/Makefile.in 14 + @@ -283,8 +283,8 @@ top_srcdir = @top_srcdir@ 15 + # these are the headers for your project 16 + noinst_HEADERS = $(srcdir)/*.h 17 + xmlcopyeditordir = ${prefix}/share/xmlcopyeditor 18 + -pixmapdir = /usr/share/pixmaps 19 + -applicationsdir = /usr/share/applications 20 + +pixmapdir = ${prefix}/share/pixmaps 21 + +applicationsdir = ${prefix}/share/applications 22 + 23 + # the application source, library search path, and link libraries 24 + xmlcopyeditor_SOURCES = aboutdialog.cpp associatedialog.cpp binaryfile.cpp \ 25 + @@ -357,7 +357,7 @@ EXTRA_DIST = \ 26 + $(srcdir)/xmlcopyeditor.rc \ 27 + $(srcdir)/xmlschemaparser.cpp 28 + 29 + -AM_CPPFLAGS = -I/usr/include/libxml2 $(ENCHANT_CFLAGS) $(GTK_CFLAGS) 30 + +AM_CPPFLAGS = -I$(CPLUS_INCLUDE_PATH) $(ENCHANT_CFLAGS) $(GTK_CFLAGS) 31 + all: all-am 32 + 33 + .SUFFIXES: 34 + -- 35 + 2.16.2 36 +
+2
pkgs/top-level/all-packages.nix
··· 20053 20053 20054 20054 xmacro = callPackage ../tools/X11/xmacro { }; 20055 20055 20056 + xmlcopyeditor = callPackage ../applications/editors/xmlcopyeditor { }; 20057 + 20056 20058 xmove = callPackage ../applications/misc/xmove { }; 20057 20059 20058 20060 xmp = callPackage ../applications/audio/xmp { };