Community Packages

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

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
Task Type Bug Report
Category Packages
Status Closed
Assigned To Brad Fanella (cesura)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No



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:

--- PKGBUILD (revision 52279)
+++ PKGBUILD (working copy)
@@ -5,7 +5,7 @@

pkgdesc="Library for building efficient parsers"
arch=('i686' 'x86_64')
@@ -14,15 +14,17 @@

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

Closed by  Eric Belanger (Snowman)
Friday, 29 July 2011, 20:01 GMT
Reason for closing:  Fixed
Comment by Brad Fanella (cesura) - Tuesday, 26 July 2011, 04:35 GMT
No worries, I have plenty of time to complete this. These should be placed in staging until we dynamically link netsurf with them, no?
Comment by Eric Belanger (Snowman) - Tuesday, 26 July 2011, 04:58 GMT
No. Just put them straight in community repo. Currently, netsurf doesn't depends on any of these even if they are listed as depends.
Comment by Eric Belanger (Snowman) - Friday, 29 July 2011, 12:26 GMT
Any reason why you haven't done libcss yet? Just to be clear, when I said to do libcss last in the bug report, I meant after doing libparseutils and libwapcaplet.
Comment by Brad Fanella (cesura) - Friday, 29 July 2011, 17:14 GMT
Well, I've been having some serious networking issues lately, and haven't been able to establish a connection until now. I was originally waiting for libparserutils and libwapcaplet to become available to be pulled as dependencies when I build libcss (I know I could have manually added it to the db, but then again, I am lazy :P). However, because of these networking issues, I wasn't able to commit the packages.

The updated version of libcss should be available as I post this message, if not very soon.
Comment by Eric Belanger (Snowman) - Friday, 29 July 2011, 20:00 GMT
That's what I thought. I'm currently building netsurf.