Bump to libxml++ 2.34.2 accepted/tizen_5.5_unified accepted/tizen_5.5_unified_mobile_hotfix accepted/tizen_5.5_unified_wearable_hotfix tizen_5.5 tizen_5.5_mobile_hotfix tizen_5.5_tv tizen_5.5_wearable_hotfix accepted/tizen/5.5/unified/20191031.010618 accepted/tizen/5.5/unified/mobile/hotfix/20201027.073352 accepted/tizen/5.5/unified/wearable/hotfix/20201027.095727 accepted/tizen/unified/20190919.065252 submit/tizen/20190919.043344 submit/tizen_5.5/20191031.000007 submit/tizen_5.5_mobile_hotfix/20201026.185107 submit/tizen_5.5_wearable_hotfix/20201026.184307
authorDongHun Kwak <dh0128.kwak@samsung.com>
Fri, 6 Sep 2019 06:44:15 +0000 (15:44 +0900)
committerDongHun Kwak <dh0128.kwak@samsung.com>
Fri, 6 Sep 2019 06:44:15 +0000 (15:44 +0900)
Change-Id: Id37b3a5ba0ae3131e3fdf29151cf84befbae396a

libxml++/io/istreamparserinputbuffer.cc
libxml++/io/ostreamoutputbuffer.cc
packaging/libxml++.manifest [new file with mode: 0644]
packaging/libxml++.spec [new file with mode: 0644]

index b1d6e5b..7a7f283 100644 (file)
@@ -39,6 +39,6 @@ namespace xmlpp
 
   bool IStreamParserInputBuffer::do_close()
   {
-    return input_;
+    return input_.good();
   }
 }
index 0a3e6db..b23a8b6 100644 (file)
@@ -29,13 +29,13 @@ namespace xmlpp
     // here we rely on the ostream implicit conversion to boolean, to know if the stream can be used and/or if the write succeded.
     if(output_)
       output_.write(buffer, len);
-    return output_;
+    return output_.good();
   }
 
   bool OStreamOutputBuffer::do_close()
   {
     if(output_)
         output_.flush();
-    return output_;
+    return output_.good();
   }
 }
diff --git a/packaging/libxml++.manifest b/packaging/libxml++.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/libxml++.spec b/packaging/libxml++.spec
new file mode 100644 (file)
index 0000000..005d641
--- /dev/null
@@ -0,0 +1,87 @@
+#
+# spec file for package libxml++ (Version 2.26.1)
+#
+# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
+#
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
+#
+
+# norootforbuild
+
+
+Name:           libxml++
+BuildRequires:  fdupes
+BuildRequires:  gcc-c++
+BuildRequires:  glibmm-devel
+BuildRequires:  libxml2-devel
+License:        LGPL v2.1 or later
+Group:          Development/Libraries/C and C++
+Version:        2.34.2
+Release:        1
+Summary:        C++ Interface for XML Files
+Source:         %{name}-%{version}.tar.bz2
+Url:            http://sourceforge.net/projects/libxmlplusplus/
+
+%description
+libXML++ provides a C++ interface for XML files. It presently uses
+libxml2 to access the XML files.
+
+
+%package devel
+License:        LGPL v2.1 or later
+Summary:        Include Files and Libraries mandatory for Development.
+Group:          Development/Libraries/C and C++
+Requires:       %{name} = %{version} glibmm2-devel
+
+%description devel
+This package contains all necessary include files and libraries needed
+to develop applications that require these.
+
+%prep
+%setup -q
+
+%build
+#ACLOCAL="aclocal -I scripts" autoreconf -f -i -v
+%configure --disable-static --with-pic\
+    --libexecdir=%{_prefix}/lib/%name
+make docdir=%{_docdir}/%{name}/docs %{?jobs:-j%jobs}
+
+%install
+make install DESTDIR=$RPM_BUILD_ROOT
+%fdupes $RPM_BUILD_ROOT
+%{__rm} -f %{buildroot}%{_libdir}/*.la
+%{__rm} -rf %{buildroot}%{_datadir}/devhelp
+
+%remove_docs
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr (-, root, root)
+%license COPYING
+%{_libdir}/*.so.*
+
+%files devel
+%defattr (-, root, root)
+%{_includedir}/libxml++-2.6
+%dir %{_libdir}/libxml++-2.6
+%dir %{_libdir}/libxml++-2.6/include
+%{_libdir}/libxml++-2.6/include/*.h
+%{_libdir}/pkgconfig/*.pc
+%{_libdir}/*.so
+
+%changelog