Package: libcroco3 Version: 0.6.12 Revision: 1 License: LGPL Maintainer: Dave Vasilevsky Description: CSS parsing and manipulation library DescDetail: << The Libcroco project is an effort to build a generic Cascading Style Sheet (CSS) parsing and manipulation toolkit that can be used by GNOME applications in need of CSS support. << Homepage: ftp://ftp.gnome.org/pub/GNOME/sources/libcroco/ DescPackaging: << dmacks moved -config script %N-bin->%N as of 0.6.2-1 because it's a tool used when compiling against this lib. There is a mess of flag passing in croco-0.6-config. But rdeps all seem to use .pc instead (else would have thrown errors for the past many years), so we follow Debian's lead and don't bother distributing it as of 0.6.12-1. See: https://gitlab.gnome.org/GNOME/libcroco/issues/1 << DescPort: << Omit -Bsymbolic flag that our gcc doesn't support. See: https://bugzilla.gnome.org/show_bug.cgi?id=686129 << Source: mirror:gnome:sources/libcroco/0.6/libcroco-%v.tar.xz Source-Checksum: SHA256(ddc4b5546c9fb4280a5017e2707fbd4839034ed1aba5b7d4372212f34f84f860) PatchFile: %n.patch PatchFile-MD5: 898559d914f1d4855803a7cd7e088e41 PatchFile2: %n_implicit-function.patch PatchFile2-MD5: 454df886d920953231c022fef79e6746 PatchScript: << # Upstream patches: # https://gitlab.gnome.org/GNOME/libcroco/commit/898e3a8c8c0314d2e6b106809a8e3e93cf9d4394 # https://gitlab.gnome.org/GNOME/libcroco/commit/1fa1fdf73af5b2d5a05eafaba41e6ce26df4609b # https://gitlab.gnome.org/GNOME/libcroco/commit/9ad72875e9f08e4c519ef63d44cdbd94aa9504f7 # including fixes for: # CVE-2017-7960 # CVE-2017-7961 %{default_script} # stray file in dist (gen by Makefile but not autocleaned) rm libcroco-0.6.pc # don't publish -l for internal-use libs (retain public API) perl -pi -e 's/^Requires:/Requires.private:/' libcroco.pc.in << ConfigureParams: << --enable-dependency-tracking \ --disable-static \ --disable-silent-rules \ PKG_CONFIG_PATH="%p/lib/glib-2.0/pkgconfig-strict:$PKG_CONFIG_PATH" \ --disable-Bsymbolic << CompileScript: << ./configure %c make no_undefined=-no-undefined fink-package-precedence --prohibit-bdep=%n . << InstallScript: << make install DESTDIR=%d rm %i/bin/croco-0.6-config << DocFiles: ABOUT* AUTHORS COPYING* ChangeLog HACKING NEWS README TODO BuildDependsOnly: true Depends: %N-shlibs (= %v-%r) BuildDepends: << fink (>= 0.32), fink-package-precedence, glib2-dev (>= 2.22.0-1), gtk-doc (>= 1.13-5), libiconv-dev, libxml2 (>= 2.9.1-1), pkgconfig (>= 0.23) << # Does NOT conflict with libcroco1 Replaces: libcroco3-bin (<< 0.6.2-1) SplitOff: << Package: %N-shlibs Depends: << glib2-shlibs (>= 2.22.0-1), libxml2-shlibs (>= 2.9.1-1) << Files: lib/libcroco-0.6.*.dylib Shlibs: %p/lib/libcroco-0.6.3.dylib 4.0.0 %n (>= 0.6.0-11) DocFiles: ABOUT* AUTHORS COPYING* ChangeLog HACKING NEWS README TODO << SplitOff2: << Package: %N-bin Depends: << %N-shlibs (>= %v-%r), glib2-shlibs (>= 2.22.0-1), libxml2-shlibs (>= 2.9.1-1) << Files: bin/csslint-0.6 DocFiles: ABOUT* AUTHORS COPYING* ChangeLog HACKING NEWS README TODO <<