need xmlrpc-c up to 1.24.1
Lukasz Michalski
lm at zork.pl
Mon Oct 18 10:59:52 CEST 2010
Hello,
I need recent version of xmlrpc-c. 1.20.3 from distro has fatal bug
related to keepalive timeout. I cannot reference bug tracker entry due
to strange policy of xmlrpc-c maintainer (send all bugs to me, I don't
need a bug tracker :-) )
Anyway, I removed two obsolete patches from xmlrpc-c and switched from
CMake to autotools (CMake build had problems and this was suggested to
me by maintaier).
The only problem with 1.24.1 is that I cannot find a way to generate
*.pc files so I cannot pack them.
My questions are:
- can we switch to official 'advanced' branch
(http://xmlrpc-c.svn.sourceforge.net/viewvc/xmlrpc-c/advanced/)?
- do we need those *.pc files? I really don't know this pkgconfig stuff
and I don't see any way to generate them.
- how to properly get sources for this package? Currently I use svn
checkout from branch and revision and use builder -nn
Patch (with *.pc files problem left to solve) attached,
Thanks,
Łukasz
-------------- next part --------------
Index: xmlrpc-c.spec
===================================================================
RCS file: /cvsroot/packages/xmlrpc-c/xmlrpc-c.spec,v
retrieving revision 1.39
diff -u -r1.39 xmlrpc-c.spec
--- xmlrpc-c.spec 3 Feb 2010 00:45:45 -0000 1.39
+++ xmlrpc-c.spec 18 Oct 2010 08:36:49 -0000
@@ -8,24 +8,22 @@
Summary: XML-RPC C library - an implementation of the xmlrpc protocol
Summary(pl.UTF-8): Biblioteka XML-RPC C - implementacja protokołu xmlrpc
Name: xmlrpc-c
-Version: 1.20.3
-Release: 6
+Version: 1.24.1
+Release: 1
License: XML-RPC for C License (BSD-like)
Group: Libraries
# generated by 'make svn-sources [SVN_VER=%version SVN_REV=%svnrev]'. Unfortunately,
# upstream does not tag versions so we must fetch from the branch and
# check which version was used for it
-Source0: %{name}-%{version}.tar.bz2
+Source0: %{name}-%{version}.tar.gz
# Source0-md5: d987c3d989ca1a4774ce12fada437238
Patch0: %{name}-fastdep.patch
Patch1: %{name}-soname.patch
Patch2: %{name}-cflags.patch
Patch3: %{name}-cmake.patch
Patch4: %{name}-longlong.patch
-Patch5: %{name}-printf-size_t.patch
-Patch6: %{name}-uninit-curl.patch
-Patch7: %{name}-va_list.patch
-Patch8: %{name}-verbose-curl.patch
+Patch5: %{name}-uninit-curl.patch
+Patch6: %{name}-verbose-curl.patch
URL: http://xmlrpc-c.sourceforge.net/
BuildRequires: cmake
BuildRequires: curl-devel
@@ -139,30 +137,27 @@
%patch4 -p1
%patch5 -p1
%patch6 -p1
-%patch7 -p1
-%patch8 -p1
%patch1 -p1
## not needed...
rm doc/{INSTALL,configure_doc}
%build
-mkdir -p build
-cd build
-%cmake .. \
- -D_lib:STRING=%{_lib} \
- -DMUST_BUILD_CURL_CLIENT:BOOL=ON \
- -DMUST_BUILD_LIBWWW_CLIENT:BOOL=ON \
- -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
- -DBUILD_SHARED_LIBS:BOOL=ON \
- -DENABLE_TOOLS:BOOL=ON
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%configure \
+ --enable-tools \
+ --enable-libxml2-backend
+
-%{__make} VERBOSE=1
+%{__make}
%install
rm -rf $RPM_BUILD_ROOT
-%{__make} -C build install \
+%{__make} install \
DESTDIR=$RPM_BUILD_ROOT \
chmod +x $RPM_BUILD_ROOT%{_libdir}/*.so
@@ -211,24 +206,24 @@
%files c++
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libxmlrpc++.so.*.*
-%attr(755,root,root) %ghost %{_libdir}/libxmlrpc++.so.6
+%attr(755,root,root) %ghost %{_libdir}/libxmlrpc++.so.7
%attr(755,root,root) %{_libdir}/libxmlrpc_cpp.so.*.*
-%attr(755,root,root) %ghost %{_libdir}/libxmlrpc_cpp.so.6
+%attr(755,root,root) %ghost %{_libdir}/libxmlrpc_cpp.so.7
%attr(755,root,root) %{_libdir}/libxmlrpc_packetsocket.so.*.*
-%attr(755,root,root) %ghost %{_libdir}/libxmlrpc_packetsocket.so.6
+%attr(755,root,root) %ghost %{_libdir}/libxmlrpc_packetsocket.so.7
%attr(755,root,root) %{_libdir}/libxmlrpc_server++.so.*.*
-%attr(755,root,root) %ghost %{_libdir}/libxmlrpc_server++.so.6
+%attr(755,root,root) %ghost %{_libdir}/libxmlrpc_server++.so.7
%attr(755,root,root) %{_libdir}/libxmlrpc_server_abyss++.so.*.*
-%attr(755,root,root) %ghost %{_libdir}/libxmlrpc_server_abyss++.so.6
-%attr(755,root,root) %{_libdir}/libxmlrpc_server_cgi++.so.6.20
-%attr(755,root,root) %ghost %{_libdir}/libxmlrpc_server_cgi++.so.6
+%attr(755,root,root) %ghost %{_libdir}/libxmlrpc_server_abyss++.so.7
+%attr(755,root,root) %{_libdir}/libxmlrpc_server_cgi++.so.7.24
+%attr(755,root,root) %ghost %{_libdir}/libxmlrpc_server_cgi++.so.7
%attr(755,root,root) %{_libdir}/libxmlrpc_server_pstream++.so.*.*
-%attr(755,root,root) %ghost %{_libdir}/libxmlrpc_server_pstream++.so.6
+%attr(755,root,root) %ghost %{_libdir}/libxmlrpc_server_pstream++.so.7
%files client++
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libxmlrpc_client++.so.*.*
-%attr(755,root,root) %ghost %{_libdir}/libxmlrpc_client++.so.6
+%attr(755,root,root) %ghost %{_libdir}/libxmlrpc_client++.so.7
%files apps
%defattr(644,root,root,755)
@@ -253,15 +248,15 @@
%attr(755,root,root) %{_libdir}/libxmlrpc_server_abyss.so
%attr(755,root,root) %{_libdir}/libxmlrpc_server_cgi.so
%attr(755,root,root) %{_libdir}/libxmlrpc_util.so
-%{_pkgconfigdir}/xmlrpc.pc
-%{_pkgconfigdir}/xmlrpc_abyss.pc
-%{_pkgconfigdir}/xmlrpc_client.pc
-%{_pkgconfigdir}/xmlrpc_cpp.pc
-%{_pkgconfigdir}/xmlrpc_packetsocket.pc
-%{_pkgconfigdir}/xmlrpc_server.pc
-%{_pkgconfigdir}/xmlrpc_server_abyss.pc
-%{_pkgconfigdir}/xmlrpc_server_cgi.pc
-%{_pkgconfigdir}/xmlrpc_util.pc
+#%{_pkgconfigdir}/xmlrpc.pc
+#%{_pkgconfigdir}/xmlrpc_abyss.pc
+#%{_pkgconfigdir}/xmlrpc_client.pc
+#%{_pkgconfigdir}/xmlrpc_cpp.pc
+#%{_pkgconfigdir}/xmlrpc_packetsocket.pc
+#%{_pkgconfigdir}/xmlrpc_server.pc
+#%{_pkgconfigdir}/xmlrpc_server_abyss.pc
+#%{_pkgconfigdir}/xmlrpc_server_cgi.pc
+#%{_pkgconfigdir}/xmlrpc_util.pc
%dir %{_includedir}/xmlrpc-c
%{_includedir}/xmlrpc-c/*.h
# legacy
@@ -275,12 +270,12 @@
%attr(755,root,root) %{_libdir}/libxmlrpc_server_pstream++.so
%attr(755,root,root) %{_libdir}/libxmlrpc_server++.so
%attr(755,root,root) %{_libdir}/libxmlrpc++.so
-%{_pkgconfigdir}/xmlrpc_client++.pc
-%{_pkgconfigdir}/xmlrpc++.pc
-%{_pkgconfigdir}/xmlrpc_server_abyss++.pc
-%{_pkgconfigdir}/xmlrpc_server_cgi++.pc
-%{_pkgconfigdir}/xmlrpc_server++.pc
-%{_pkgconfigdir}/xmlrpc_server_pstream++.pc
+#%{_pkgconfigdir}/xmlrpc_client++.pc
+#%{_pkgconfigdir}/xmlrpc++.pc
+#%{_pkgconfigdir}/xmlrpc_server_abyss++.pc
+#%{_pkgconfigdir}/xmlrpc_server_cgi++.pc
+#%{_pkgconfigdir}/xmlrpc_server++.pc
+#%{_pkgconfigdir}/xmlrpc_server_pstream++.pc
%{_includedir}/xmlrpc-c/*.hpp
# legacy
%{_includedir}/XmlRpcCpp.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: </mailman/pipermail/pld-devel-en/attachments/20101018/1bc65c5f/attachment.sig>
More information about the pld-devel-en
mailing list