From 067f657990a8161916b6aa2cfcea6459fc3bfd54 Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Tue, 10 Jul 2007 13:48:14 +0000 Subject: [PATCH] * fixed libglade to not share files (etc/xml/catalog) with libxml git-svn-id: svn://svn.opensde.net/opensde/package/trunk@21611 10447126-35f2-4685-b0cf-6dd780d3921f --- gtk+/libglade/libglade.conf | 15 +++++++++++++++ gtk+/libglade/pkg_libxml_post.conf | 22 ++++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 gtk+/libglade/libglade.conf create mode 100644 gtk+/libglade/pkg_libxml_post.conf diff --git a/gtk+/libglade/libglade.conf b/gtk+/libglade/libglade.conf new file mode 100644 index 000000000..f38d4e5ef --- /dev/null +++ b/gtk+/libglade/libglade.conf @@ -0,0 +1,15 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../libglade/libglade.conf +# Copyright (C) 2007 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. A copy of the +# GNU General Public License can be found in the file COPYING. +# --- SDE-COPYRIGHT-NOTE-END --- + +var_append makeinstopt ' ' XMLCATALOG=true diff --git a/gtk+/libglade/pkg_libxml_post.conf b/gtk+/libglade/pkg_libxml_post.conf new file mode 100644 index 000000000..6e9309c5e --- /dev/null +++ b/gtk+/libglade/pkg_libxml_post.conf @@ -0,0 +1,22 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../libglade/pkg_libxml_post.conf +# Copyright (C) 2007 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. A copy of the +# GNU General Public License can be found in the file COPYING. +# --- SDE-COPYRIGHT-NOTE-END --- + +hook_add postmake 5 'libglade_catalog' +libglade_catalog() { + local catalog=$root/etc/xml/catalog + local URI=http://www.oasis-open.org/docbook/ + + xmlcatalog --noout --add "system" "http://glade.gnome.org/glade-2.0.dtd" ${datadir}/xml/libglade/glade-2.0.dtd $catalog +} +