Browse Source

* fixed scrollkeeper to not write on /etc/xml/catalog directly, solving a

share with libxml


git-svn-id: svn://svn.opensde.net/opensde/package/trunk@21624 10447126-35f2-4685-b0cf-6dd780d3921f
early
Alejandro Mery 17 years ago
parent
commit
b8cda15a50
3 changed files with 53 additions and 8 deletions
  1. +4
    -4
      gnome2/scrollkeeper/scrollkeeper-pkg.conf
  2. +5
    -4
      gnome2/scrollkeeper/scrollkeeper.conf
  3. +44
    -0
      gnome2/scrollkeeper/xmlcatalog.patch

+ 4
- 4
gnome2/scrollkeeper/scrollkeeper-pkg.conf

@ -1,7 +1,8 @@
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: package/.../scrollkeeper/scrollkeeper-pkg.conf
# Filename: package/.../scrollkeeper/scrollkeeper-pkg.conf
# Copyright (C) 2007 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2004 Clifford Wolf
#
@ -11,11 +12,10 @@
# 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.
# --- T2-COPYRIGHT-NOTE-END ---
# --- SDE-COPYRIGHT-NOTE-END ---
# exclude some scrollkeeper files - so we do not need to patch every
# single package ...
#flistdel="$flistdel|etc/xml/catalog"
if [ $pkg != "scrollkeeper" ] ; then
flistdel="$flistdel|var/.*scrollkeeper_.*cl.xml"
flistdel="$flistdel|var/.*scrollkeeper/scrollkeeper_docs"

+ 5
- 4
gnome2/scrollkeeper/scrollkeeper.conf

@ -1,7 +1,8 @@
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: package/.../scrollkeeper/scrollkeeper.conf
# Filename: package/.../scrollkeeper/scrollkeeper.conf
# Copyright (C) 2007 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2004 Clifford Wolf
#
@ -11,8 +12,8 @@
# 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.
# --- T2-COPYRIGHT-NOTE-END ---
# --- SDE-COPYRIGHT-NOTE-END ---
var_append confopt " " "--with-omfdirs=/usr/share/omf:/usr/local/share/omf:/opt/gnome/share/omf:/$prefix/share/omf:/opt/kde3/omf"
var_append makeinstopt ' ' XMLCATALOG=yes

+ 44
- 0
gnome2/scrollkeeper/xmlcatalog.patch

@ -0,0 +1,44 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../scrollkeeper/xmlcatalog.patch
# Copyright (C) 2007 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- SDE-COPYRIGHT-NOTE-END ---
--- ./extract/dtds/Makefile.in.orig 2003-12-06 05:18:01.000000000 -0300
+++ ./extract/dtds/Makefile.in 2007-07-10 16:25:39.000000000 -0400
@@ -179,6 +179,7 @@
target_os = @target_os@
target_vendor = @target_vendor@
CATALOG = @XML_CATALOG@
+XMLCATALOG = /usr/bin/xmlcatalog
dtdsdir = $(datadir)/xml/scrollkeeper/dtds
dtds_HEADERS = scrollkeeper-omf.dtd scrollkeeper-cl.dtd
subdir = extract/dtds
@@ -408,7 +409,7 @@
# ScrollKeeper OMF Variation DTD V1.0
install-data-hook:
- -/usr/bin/xmlcatalog --noout --add "public" \
+ -$(XMLCATALOG) --noout --add "public" \
"-//OMF//DTD Scrollkeeper OMF Variant V1.0//EN" \
"$(dtdsdir)/scrollkeeper-omf.dtd" $(CATALOG)
@@ -418,7 +419,7 @@
# ScrollKeeper OMF Variation DTD V1.0
uninstall-local:
- -/usr/bin/xmlcatalog --noout --del \
+ -$(XMLCATALOG) --noout --del \
"$(dtdsdir)/scrollkeeper-omf.dtd" $(CATALOG)
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.

Loading…
Cancel
Save