FS#25237 - [libparseutils][libcss][libwapcaplet] Add shared library to packages
Attached to Project:
Community Packages
Opened by Eric Belanger (Snowman) - Saturday, 23 July 2011, 20:07 GMT
Last edited by Eric Belanger (Snowman) - Friday, 29 July 2011, 20:01 GMT
Opened by Eric Belanger (Snowman) - Saturday, 23 July 2011, 20:07 GMT
Last edited by Eric Belanger (Snowman) - Friday, 29 July 2011, 20:01 GMT
|
Details
Description:
These packages should provide the shared library so that other packages can link to it. There is a patch below for libparserutils. The others probably use the same fix. You'll need to build libcss last as it depends on the other two libraries. If you don't have time for this, I can do this. Just let me know. There is a bunch of out-of-date orphan with same problem: hubbub, libnsbmp, libnsgif which depends on these packages. I would like to update netsurf and have it link dynamically to the libraries. For libparserutils: Index: PKGBUILD =================================================================== --- PKGBUILD (revision 52279) +++ PKGBUILD (working copy) @@ -5,7 +5,7 @@ pkgname=libparserutils pkgver=0.1.0 -pkgrel=1 +pkgrel=2 pkgdesc="Library for building efficient parsers" arch=('i686' 'x86_64') url="http://www.netsurf-browser.org/projects/libparserutils" @@ -14,15 +14,17 @@ md5sums=('eb415317925a0fb12a4ff8f849d2fe92') build() { - cd ${srcdir}/${pkgname}-${pkgver}-src + cd "${srcdir}"/${pkgname}-${pkgver}-src sed 's/-Wall/ /' -i Makefile - make PREFIX=/usr + make PREFIX=/usr COMPONENT_TYPE="lib-shared" + make PREFIX=/usr COMPONENT_TYPE="lib-static" } package() { - cd ${srcdir}/${pkgname}-${pkgver}-src + cd "${srcdir}"/${pkgname}-${pkgver}-src - make install PREFIX=/usr DESTDIR=${pkgdir} - install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING + make install PREFIX=/usr DESTDIR="${pkgdir}" COMPONENT_TYPE="lib-shared" + make install PREFIX=/usr DESTDIR="${pkgdir}" COMPONENT_TYPE="lib-static" + install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/COPYING } |
This task depends upon
The updated version of libcss should be available as I post this message, if not very soon.