[oe] [PATCH] wvstreams: Cleaned up recipe.
Paul Menzel
paulepanter at users.sourceforge.net
Tue Apr 26 08:10:10 UTC 2011
Dear Søren,
Am Montag, den 25.04.2011, 21:34 +0200 schrieb Søren Holm:
> * Corrected license.
> * Added dbus support.
at least the addition DBus support is not a clean up in my opinion and
should be an extra patch.
> * Made PAM-support conditional.
I would make a commit/patch for each change, but other developers
disagree with me in that point.
> ---
> recipes/wvstreams/wvstreams_4.6.1.bb | 21 +++++++--------------
> 1 files changed, 7 insertions(+), 14 deletions(-)
>
> diff --git a/recipes/wvstreams/wvstreams_4.6.1.bb b/recipes/wvstreams/wvstreams_4.6.1.bb
> index 53249d4..8453e08 100644
> --- a/recipes/wvstreams/wvstreams_4.6.1.bb
> +++ b/recipes/wvstreams/wvstreams_4.6.1.bb
> @@ -1,9 +1,10 @@
> HOMEPAGE = "http://alumnit.ca/wiki/index.php?page=WvStreams"
> -LICENSE = "LGPL"
> +LICENSE = "LGPLv2.1"
> DESCRIPTION = "WvStreams is a network programming library in C++"
> -DEPENDS = "zlib openssl (>= 0.9.8)"
> +DEPENDS = "zlib openssl dbus"
> +DEPENDS += "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
>
> -PR = "r0"
> +PR = "r1"
>
> SRC_URI = "http://wvstreams.googlecode.com/files/${PN}-${PV}.tar.gz \
> file://0001-Fixed-missing-header-includes.patch \
> @@ -13,13 +14,10 @@ inherit autotools pkgconfig
>
> LDFLAGS_append = " -Wl,-rpath-link,${TOOLCHAIN_PATH}/${TARGET_SYS}/lib"
>
> -# dbus detection currently broken in configure.ac; remember to add "dbus (>= 1.2.14)" to DEPENDS when fixed
> -EXTRA_OECONF = " --without-tcl --without-qt --without-pam --without-dbus"
> +EXTRA_OECONF = " --without-tcl --without-qt --with-dbus"
> +EXTRA_OECONF += ${@base_contains('DISTRO_FEATURES', 'pam', '--with-pam', '--without-pam', d)}
>
> -PACKAGES_prepend = "libuniconf libuniconf-dbg "
> -PACKAGES_prepend = "uniconfd uniconfd-dbg "
> -PACKAGES_prepend = "libwvstreams-base libwvstreams-base-dbg "
> -PACKAGES_prepend = "libwvstreams-extras libwvstreams-extras-dbg "
> +PACKAGES += "libuniconf libuniconf-dbg uniconfd uniconfd-dbg libwvstreams-base libwvstreams-base-dbg libwvstreams-extras libwvstreams-extras-dbg"
>
> FILES_libuniconf = "${libdir}/libuniconf.so.*"
> FILES_libuniconf-dbg = "${libdir}/.debug/libuniconf.so.*"
> @@ -35,10 +33,5 @@ FILES_libwvstreams-extras-dbg = "${libdir}/.debug/libwvbase.so.* ${libdir}/.debu
>
> PARALLEL_MAKE = ""
>
> -do_configure() {
> - autoreconf
> - oe_runconf
> -}
> -
Can you think of a reason, why Khem did not use the default autotools
configure when adding the recipe? I am adding him to CC.
> SRC_URI[md5sum] = "2760dac31a43d452a19a3147bfde571c"
> SRC_URI[sha256sum] = "8403f5fbf83aa9ac0c6ce15d97fd85607488152aa84e007b7d0621b8ebc07633"
Thanks,
Paul
[1] http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=6cb210accf55894d2bee00260c2bcc83ab3440c0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20110426/70b1cb0d/attachment-0002.sig>
More information about the Openembedded-devel
mailing list