mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Juergen Beisert <jbe@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: "Kjell Ove Røte" <Kjell.Ove.Rote@zenitel.com>,
	"Eivind Versvik" <eivind.versvik@zenitel.com>
Subject: Re: [ptxdist] [PATCH] rules: add libosip2
Date: Wed, 21 Mar 2012 10:08:10 +0100	[thread overview]
Message-ID: <201203211008.10769.jbe@pengutronix.de> (raw)
In-Reply-To: <1332318822-22111-1-git-send-email-w.sang@pengutronix.de>

> [...]
> diff --git a/rules/libosip2.make b/rules/libosip2.make
> new file mode 100644
> index 0000000..3d2a372
> --- /dev/null
> +++ b/rules/libosip2.make
> @@ -0,0 +1,55 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2012 by Eivind Versvik <eivind.versvik@zenitel.com>
> +# Copyright (C) 2012 by Wolfram Sang <w.sang@pengutronix.de>
> +#
> +# See CREDITS for details about who has contributed to this project.
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +#
> +# We provide this package
> +#
> +PACKAGES-$(PTXCONF_LIBOSIP2) += libosip2
> +
> +#
> +# Paths and names
> +#
> +LIBOSIP2_VERSION	:= 3.3.0

Why such an "old" version?

> +LIBOSIP2_MD5		:= 81493bb4d4ae6d55b71a0d4369339125
> +LIBOSIP2		:= libosip2-$(LIBOSIP2_VERSION)
> +LIBOSIP2_SUFFIX	:= tar.gz
> +LIBOSIP2_URL		:= $(call ptx/mirror, GNU, osip/$(LIBOSIP2).$(LIBOSIP2_SUFFIX))
> +LIBOSIP2_SOURCE		:= $(SRCDIR)/$(LIBOSIP2).$(LIBOSIP2_SUFFIX)
> +LIBOSIP2_DIR		:= $(BUILDDIR)/$(LIBOSIP2)
> +LIBOSIP2_LICENSE	:= LGPLv2.1+
> +
> +# ----------------------------------------------------------------------------
> +# Prepare 
> +# ----------------------------------------------------------------------------
> + 
> +LIBOSIP2_CONF_TOOL	:= autoconf

You should take into account that its configure tries to guess many things.

To get reliable results you need more (this is from my WIP libosib2-3.6.0
implementation):

LIBOSIP2_CONF_OPT	:= \
	$(CROSS_AUTOCONF_USR) \
	--enable-shared \
	--disable-static \
	--$(call ptx/endis, PTXCONF_LIBOSIP2_DEBUG)-debug \
	--$(call ptx/endis, PTXCONF_LIBOSIP2_TRACE)-trace \
	--disable-mpatrol \
	--disable-gprof \
	--enable-mt \
	--enable-pthread \
	--enable-semaphore \
	--disable-sysv \
	--disable-gperf \
	--disable-hashtable \
	--disable-test

# '--enable-minisize' clobbers the library in many strange ways.
# At the end the libeXosip2, depending on the libosip2, cannot be used anymore,
# but also libeXosip2 with '--enable-minisize' breaks the libeXosip2 itself
# So, no way to use this switch in libosip2 and libeXosip2. What a mess.
LIBOSIP2_CONF_OPT += --disable-minisize

Regards,
Juergen

-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | http://www.pengutronix.de/  |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2012-03-21  9:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-21  8:33 Wolfram Sang
2012-03-21  9:08 ` Juergen Beisert [this message]
2012-03-21  9:15   ` Wolfram Sang
2012-03-21  9:23     ` Juergen Beisert
2012-03-21 10:37       ` Wolfram Sang

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=201203211008.10769.jbe@pengutronix.de \
    --to=jbe@pengutronix.de \
    --cc=Kjell.Ove.Rote@zenitel.com \
    --cc=eivind.versvik@zenitel.com \
    --cc=ptxdist@pengutronix.de \
    /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