From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/4] package/libsvg: new package
Date: Fri, 28 Jun 2013 21:14:47 +0200 [thread overview]
Message-ID: <87ehbmyrmg.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <1372445557-15546-2-git-send-email-c.schoenert@gmail.com> (Carsten Schoenert's message of "Fri, 28 Jun 2013 20:52:35 +0200")
>>>>> "Carsten" == Carsten Schoenert <c.schoenert@gmail.com> writes:
Carsten> From: Carsten Schoenert <c.schoenert@gmail.com>
Carsten> Libsvg provides a library for parsing SVG content in files or buffers.
Carsten> Libsvg does not do any rendering, but instead provides a function-based
Carsten> interface that can be used by various rendering engines.
Carsten> Signed-off-by: Carsten Schoenert <c.schoenert@gmail.com>
Carsten> ---
Carsten> package/Config.in | 1 +
Carsten> package/libsvg/Config.in | 10 ++++++++++
Carsten> package/libsvg/libsvg.mk | 15 +++++++++++++++
Carsten> 3 files changed, 26 insertions(+)
Carsten> create mode 100644 package/libsvg/Config.in
Carsten> create mode 100644 package/libsvg/libsvg.mk
Carsten> diff --git a/package/Config.in b/package/Config.in
Carsten> index ebeabeb..7f5714d 100644
Carsten> --- a/package/Config.in
Carsten> +++ b/package/Config.in
Carsten> @@ -461,6 +461,7 @@ source "package/libpng/Config.in"
Carsten> source "package/libqrencode/Config.in"
Carsten> source "package/libraw/Config.in"
Carsten> source "package/librsvg/Config.in"
Carsten> +source "package/libsvg/Config.in"
Carsten> source "package/libsvgtiny/Config.in"
Carsten> source "package/libungif/Config.in"
Carsten> source "package/opencv/Config.in"
Carsten> diff --git a/package/libsvg/Config.in b/package/libsvg/Config.in
Carsten> new file mode 100644
Carsten> index 0000000..0e372fe
Carsten> --- /dev/null
Carsten> +++ b/package/libsvg/Config.in
Carsten> @@ -0,0 +1,10 @@
Carsten> +config BR2_PACKAGE_LIBSVG
Carsten> + bool "libsvg"
Carsten> + select BR2_PACKAGE_LIBXML2
Carsten> + help
Carsten> + Libsvg provides a parser for SVG content in files or buffers.
Carsten> + Libsvg does not do any rendering, but instead provides a
Carsten> + function-based interface that can be used by various rendering
Carsten> + engines.
Carsten> +
Carsten> + http://www.t2-project.org/packages/libsvg.html
Are you sure that's the upstream URL? Isn't t2 yet another embedded
build system?
Carsten> diff --git a/package/libsvg/libsvg.mk b/package/libsvg/libsvg.mk
Carsten> new file mode 100644
Carsten> index 0000000..069314d
Carsten> --- /dev/null
Carsten> +++ b/package/libsvg/libsvg.mk
Carsten> @@ -0,0 +1,15 @@
Carsten> +################################################################################
Carsten> +#
Carsten> +# libsvg
Carsten> +#
Carsten> +################################################################################
Carsten> +
Carsten> +LIBSVG_VERSION = 0.1.4
Carsten> +LIBSVG_SOURCE = libsvg-$(LIBSVG_VERSION).tar.gz
This is the default, so you can drop this line.
Personally I prefer to not align the '=' signs, but I know we have a bit
of a mix in the tree.
Carsten> +LIBSVG_SITE = http://cairographics.org/snapshots/
Carsten> +LIBSVG_DEPENDENCIES = libxml2
Carsten> +LIBSVG_INSTALL_STAGING = YES
Carsten> +LIBSVG_LICENSE = LGPLv2
grep -rls 'any later version' src | wc -l
24
It looks to be LGPLv2+.
Carsten> +LIBSVG_LICENSE_FILES = COPYING
Carsten> +
Carsten> +$(eval $(autotools-package))
It looks good, but it doesn't work:
checking for ANSI C header files... (cached) yes
checking whether libexpat is requested... no
./configure: line 20639: /home/peko/source/buildroot/output/host/usr/bin/pkg-config: No such file or directory
*** Your version of pkg-config is too old. You need version 0.9.0 or newer.
*** See http://www.freedesktop.org/software/pkgconfig
configure: error: Library requirements (libxml-2.0 >= 2.4.7 ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
So you atleast need host-pkgconf as a dependency. It looks like it can
work with expat instead, so you could drop the hard dependency on
libxml2, but that is not really critical.
--
Bye, Peter Korsgaard
next prev parent reply other threads:[~2013-06-28 19:14 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-28 18:52 [Buildroot] [PATCH 1/4] package/libxml2: bumping version to 2.9.1 Carsten Schoenert
2013-06-28 18:52 ` [Buildroot] [PATCH 2/4] package/libsvg: new package Carsten Schoenert
2013-06-28 19:14 ` Peter Korsgaard [this message]
2013-06-29 8:46 ` Carsten Schoenert
2013-06-29 15:09 ` Peter Korsgaard
2013-06-28 18:52 ` [Buildroot] [PATCH 3/4] package/libsvg-cairo: " Carsten Schoenert
2013-06-28 18:52 ` [Buildroot] [PATCH 4/4] package/directfb: fixing typo in DIRECTFB_CONF_OPT Carsten Schoenert
2013-06-28 19:15 ` Peter Korsgaard
2013-06-28 19:09 ` [Buildroot] [PATCH 1/4] package/libxml2: bumping version to 2.9.1 Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ehbmyrmg.fsf@dell.be.48ers.dk \
--to=jacmet@uclibc.org \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox