gnome3.gnome-dictionary: Rely on XML_CATALOG_FILES variable
This commit is contained in:
parent
5a3b7ef2e7
commit
7bd8495370
|
@ -11,19 +11,9 @@ stdenv.mkDerivation rec {
|
|||
propagatedBuildInputs = [ gnome3.defaultIconTheme ];
|
||||
|
||||
nativeBuildInputs = [ meson ninja pkgconfig wrapGAppsHook libxml2 gettext itstool
|
||||
desktop_file_utils appstream-glib libxslt docbook_xsl ];
|
||||
desktop_file_utils appstream-glib libxslt docbook_xsl docbook_xml_dtd_43];
|
||||
buildInputs = [ gtk glib gnome3.gsettings_desktop_schemas ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace data/meson.build --replace \
|
||||
"http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl" \
|
||||
"${docbook_xsl}/xml/xsl/docbook/manpages/docbook.xsl"
|
||||
|
||||
substituteInPlace data/gnome-dictionary.xml --replace \
|
||||
http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd \
|
||||
${docbook_xml_dtd_43}/xml/dtd/docbook/docbookx.dtd
|
||||
'';
|
||||
|
||||
checkPhase = "meson test";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
|
Loading…
Reference in New Issue