There wasn't anything in the patch, I forgot to remove it from the spec file.
On Mon, Jul 6, 2009 at 10:51 AM, Stuart Hughes<address@hidden> wrote:
Hi Mike,
That's looks better, except I changed PKG_LIBXML++ to PKG_LIBXML_PLUS_PLUS
to keep the regex matcher happy.
Can you also send me: libxml++-1.0.5-1246579664.patch and confirm the
origins (you wrote, got it from a URL/mailing list, modified it etc).
Regards, Stuart
Mike Goins wrote:
This patch should be much better. I hope I am getting the hang of this.
On Mon, Jul 6, 2009 at 6:08 AM, Stuart Hughes<address@hidden> wrote:
Hi Mike,
Please send along with: spec file and also patches to pkg_map and
packages.lkc.
Regards, Stuart
Mike Goins wrote:
C++ wrapper for libxml
http://libxmlplusplus.sourceforge.net/
http://ftp.gnome.org/pub/GNOME/sources/libxml++/1.0/libxml++-1.0.5.tar.gz
This is for libsml++-v1.0.5. Newer releases of libxml (>2.0.0) have
some messy requirements (i.e., libgmm)
Built and tested under ltib 8.1.2 (1.384.2.5) on mpc837xerdb
--- Begin Message ---
Subject: |
ltib config/userspace/packages.lkc config/users... |
Date: |
Tue, 07 Jul 2009 14:36:26 +0000 |
CVSROOT: /sources/ltib
Module name: ltib
Changes by: Stuart Hughes <seh> 09/07/07 14:36:26
Modified files:
config/userspace: packages.lkc pkg_map
Added files:
dist/lfs-5.1/libxml++: libxml++.spec
Log message:
Add libxml++ submitted by Mike Goins on the mailing list
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/ltib/dist/lfs-5.1/libxml%43%43/libxml%43%43.spec?cvsroot=ltib&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/ltib/config/userspace/packages.lkc?cvsroot=ltib&r1=1.24&r2=1.25
http://cvs.savannah.gnu.org/viewcvs/ltib/config/userspace/pkg_map?cvsroot=ltib&r1=1.13&r2=1.14
Patches:
Index: config/userspace/packages.lkc
===================================================================
RCS file: /sources/ltib/ltib/config/userspace/packages.lkc,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -b -r1.24 -r1.25
--- config/userspace/packages.lkc 6 Jul 2009 14:33:53 -0000 1.24
+++ config/userspace/packages.lkc 7 Jul 2009 14:36:25 -0000 1.25
@@ -1640,6 +1640,13 @@
read, modify, and write XML and HTML files. It has DTD support,
including parsing and validation, even with complex DTDs.
+config PKG_LIBXML_PLUS_PLUS
+ depends CAP_HAS_MMU
+ select PKG_LIBXML2
+ bool "libxml++"
+ help
+ C++ wrapper for the libxml2 XML parser library
+
config PKG_LIGHTMEDIASCANNER
depends PKG_SQLITE
depends PKG_EDJE
Index: config/userspace/pkg_map
===================================================================
RCS file: /sources/ltib/ltib/config/userspace/pkg_map,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- config/userspace/pkg_map 6 Jul 2009 14:33:53 -0000 1.13
+++ config/userspace/pkg_map 7 Jul 2009 14:36:26 -0000 1.14
@@ -303,6 +303,7 @@
PKG_LIBVORBIS = libvorbis
PKG_LIBTHEORA = libtheora
PKG_LIBDAEMON = libdaemon
+PKG_LIBXML_PLUS_PLUS = libxml++
PKG_JSON_C = json-c
# X server related stuff
Index: dist/lfs-5.1/libxml++/libxml++.spec
===================================================================
RCS file: dist/lfs-5.1/libxml++/libxml++.spec
diff -N dist/lfs-5.1/libxml++/libxml++.spec
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ dist/lfs-5.1/libxml++/libxml++.spec 7 Jul 2009 14:36:25 -0000 1.1
@@ -0,0 +1,36 @@
+%define pfx /opt/freescale/rootfs/%{_target_cpu}
+
+Summary : libxml++ is a C++ wrapper for the libxml2 XML parser library.
+Name : libxml++
+Version : 1.0.5
+Release : 1
+License : LGPL
+Vendor : ltib.org
+Packager : Mike Goins
+Group : Developmet/Libraries
+URL : http://libxmlplusplus.sourceforge.net/
+Source : %{name}-%{version}.tar.gz
+BuildRoot : %{_tmppath}/%{name}
+Prefix : %{pfx}
+Requires : libxml2
+
+%Description
+%{summary}
+
+%Prep
+%setup
+
+%Build
+./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build}
+make
+
+%Install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT/%{pfx}
+
+%Clean
+rm -rf $RPM_BUILD_ROOT
+
+%Files
+%defattr(-,root,root)
+%{pfx}/*
--- End Message ---