Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] svn commit: trunk/buildroot/package:  libosip2
@ 2007-11-30 10:28 ulf at uclibc.org
  2007-11-30 11:40 ` Ivan Kuten
  0 siblings, 1 reply; 5+ messages in thread
From: ulf at uclibc.org @ 2007-11-30 10:28 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2007-11-30 02:28:36 -0800 (Fri, 30 Nov 2007)
New Revision: 20594

Log:
Add libosip2 package

Added:
   trunk/buildroot/package/libosip2/
   trunk/buildroot/package/libosip2/Config.in
   trunk/buildroot/package/libosip2/libosip2.mk

Modified:
   trunk/buildroot/package/Config.in


Changeset:
Modified: trunk/buildroot/package/Config.in
===================================================================
--- trunk/buildroot/package/Config.in	2007-11-30 09:12:09 UTC (rev 20593)
+++ trunk/buildroot/package/Config.in	2007-11-30 10:28:36 UTC (rev 20594)
@@ -153,6 +153,7 @@
 source "package/l2tp/Config.in"
 source "package/libcgi/Config.in"
 source "package/libcgicc/Config.in"
+source "package/libosip2/Config.in"
 source "package/libpcap/Config.in"
 source "package/links/Config.in"
 source "package/lrzsz/Config.in"
@@ -415,4 +416,14 @@
 source "package/php/Config.in"
 endif
 
+menuconfig BR2_GAMES
+	bool "Games"
+	default y
+	help
+	  Support for games
+
+if BR2_GAMES
+source "package/lxdoom/Config.in"
+endif
+
 endmenu

Added: trunk/buildroot/package/libosip2/Config.in
===================================================================
--- trunk/buildroot/package/libosip2/Config.in	                        (rev 0)
+++ trunk/buildroot/package/libosip2/Config.in	2007-11-30 10:28:36 UTC (rev 20594)
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_LIBOSIP2
+	bool "libosip2"
+	default n
+	help
+	  GNU SIP (Session Initiation Protocol)
+	  This library aims to provide multimedia and telecom software
+	  developers an easy and powerful interface to initiate and
+	  control SIP based sessions in their applications. 
+	  SIP is a open standard replacement from IETF for H323.
+

Added: trunk/buildroot/package/libosip2/libosip2.mk
===================================================================
--- trunk/buildroot/package/libosip2/libosip2.mk	                        (rev 0)
+++ trunk/buildroot/package/libosip2/libosip2.mk	2007-11-30 10:28:36 UTC (rev 20594)
@@ -0,0 +1,81 @@
+#############################################################
+#
+# libosip2
+#
+#############################################################
+
+LIBOSIP2_VERSION=3.0.1
+LIBOSIP2_SOURCE=libosip2-$(LIBOSIP2_VERSION).tar.gz
+LIBOSIP2_SITE=http://www.antisip.com/download/
+LIBOSIP2_DIR=$(BUILD_DIR)/libosip2-$(LIBOSIP2_VERSION)
+LIBOSIP2_CAT:=$(ZCAT)
+
+$(DL_DIR)/$(LIBOSIP2_SOURCE):
+	$(WGET) -P $(DL_DIR) $(LIBOSIP2_SITE)/$(LIBOSIP2_SOURCE)
+
+$(LIBOSIP2_DIR)/.unpacked: $(DL_DIR)/$(LIBOSIP2_SOURCE)
+	$(LIBOSIP2_CAT) $(DL_DIR)/$(LIBOSIP2_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
+	$(CONFIG_UPDATE) $(LIBOSIP2_DIR)
+	touch $(LIBOSIP2_DIR)/.unpacked
+
+$(LIBOSIP2_DIR)/.configured: $(LIBOSIP2_DIR)/.unpacked
+	(cd $(LIBOSIP2_DIR); rm -rf config.cache; \
+		$(TARGET_CONFIGURE_OPTS) \
+		$(TARGET_CONFIGURE_ARGS) \
+		./configure \
+		--target=$(GNU_TARGET_NAME) \
+		--host=$(GNU_TARGET_NAME) \
+		--build=$(GNU_HOST_NAME) \
+		--prefix=/usr \
+		--exec-prefix=/usr \
+		--bindir=/usr/bin \
+		--sbindir=/usr/sbin \
+		--libexecdir=/usr/lib \
+		--sysconfdir=/etc \
+		--datadir=/usr/share \
+		--localstatedir=/var \
+		--mandir=/usr/man \
+		--infodir=/usr/info \
+		--includedir=/usr/include \
+		--with-gnu-ld \
+		--enable-shared \
+		--enable-static \
+		$(DISABLE_NLS) \
+	)
+	touch $(LIBOSIP2_DIR)/.configured
+
+$(LIBOSIP2_DIR)/libosip2.so: $(LIBOSIP2_DIR)/.configured
+	$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(LIBOSIP2_DIR)
+
+$(STAGING_DIR)/usr/lib/libosip2.so: $(LIBOSIP2_DIR)/.configured
+	$(MAKE) DESTDIR=$(STAGING_DIR) -C $(LIBOSIP2_DIR) install
+
+$(TARGET_DIR)/usr/lib/libosip2.so: $(STAGING_DIR)/usr/lib/libosip2.so
+	mkdir -p $(TARGET_DIR)/usr/lib
+	cp -dpf $(STAGING_DIR)/usr/lib/libosip2.so* $(TARGET_DIR)/usr/lib/
+	$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libosip2.so*
+
+libosip2: uclibc $(TARGET_DIR)/usr/lib/libosip2.so
+
+libosip2-source: $(DL_DIR)/$(LIBOSIP2_SOURCE)
+
+libosip2-clean:
+	@if [ -d $(LIBOSIP2_DIR)/Makefile ]; then \
+		$(MAKE) -C $(LIBOSIP2_DIR) clean; \
+	fi
+	rm -f $(STAGING_DIR)/usr/lib/libosip2.*
+	rm -f $(TARGET_DIR)/usr/lib/libosip2.*
+
+
+libosip2-dirclean:
+	rm -rf $(LIBOSIP2_DIR)
+
+.PHONY: libosip2-headers libosip2-target-headers
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_LIBOSIP2)),y)
+TARGETS+=libosip2
+endif

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/package:  libosip2
  2007-11-30 10:28 [Buildroot] svn commit: trunk/buildroot/package: libosip2 ulf at uclibc.org
@ 2007-11-30 11:40 ` Ivan Kuten
  2007-11-30 11:51   ` Ulf Samuelsson
  0 siblings, 1 reply; 5+ messages in thread
From: Ivan Kuten @ 2007-11-30 11:40 UTC (permalink / raw)
  To: buildroot

> 
> 
> Changeset:
> Modified: trunk/buildroot/package/Config.in
> ===================================================================
> --- trunk/buildroot/package/Config.in	2007-11-30 09:12:09 UTC (rev 20593)
> +++ trunk/buildroot/package/Config.in	2007-11-30 10:28:36 UTC (rev 20594)
> @@ -153,6 +153,7 @@
>  source "package/l2tp/Config.in"
>  source "package/libcgi/Config.in"
>  source "package/libcgicc/Config.in"
> +source "package/libosip2/Config.in"
>  source "package/libpcap/Config.in"
>  source "package/links/Config.in"
>  source "package/lrzsz/Config.in"
> @@ -415,4 +416,14 @@
>  source "package/php/Config.in"
>  endif
>  
> +menuconfig BR2_GAMES
> +	bool "Games"
> +	default y
> +	help
> +	  Support for games
> +
> +if BR2_GAMES
> +source "package/lxdoom/Config.in"
> +endif
> +
>  endmenu
> 

Hi Ulf,

Did you intentionally commit BR2_GAMES?
You mentioned only libosip2 package in your commit log.

Regards,
Ivan
-- 

--------------------------------
Embedded Linux engineer,
Promwad Company: http://www.promwad.com/
Homepage : http://www.ivankuten.com/
--------------------------------

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/package:  libosip2
  2007-11-30 11:40 ` Ivan Kuten
@ 2007-11-30 11:51   ` Ulf Samuelsson
  2007-11-30 12:03     ` Hans-Christian Egtvedt
  2007-11-30 16:24     ` julien.boibessot at free.fr
  0 siblings, 2 replies; 5+ messages in thread
From: Ulf Samuelsson @ 2007-11-30 11:51 UTC (permalink / raw)
  To: buildroot

fre 2007-11-30 klockan 13:40 +0200 skrev Ivan Kuten:
> > 
> > 
> > Changeset:
> > Modified: trunk/buildroot/package/Config.in
> > ===================================================================
> > --- trunk/buildroot/package/Config.in	2007-11-30 09:12:09 UTC (rev 20593)
> > +++ trunk/buildroot/package/Config.in	2007-11-30 10:28:36 UTC (rev 20594)
> > @@ -153,6 +153,7 @@
> >  source "package/l2tp/Config.in"
> >  source "package/libcgi/Config.in"
> >  source "package/libcgicc/Config.in"
> > +source "package/libosip2/Config.in"
> >  source "package/libpcap/Config.in"
> >  source "package/links/Config.in"
> >  source "package/lrzsz/Config.in"
> > @@ -415,4 +416,14 @@
> >  source "package/php/Config.in"
> >  endif
> >  
> > +menuconfig BR2_GAMES
> > +	bool "Games"
> > +	default y
> > +	help
> > +	  Support for games
> > +
> > +if BR2_GAMES
> > +source "package/lxdoom/Config.in"
> > +endif
> > +
> >  endmenu

Mistake, trying to add Doom as well so that slipped through.
Doom fails to compile on ARM due to packing, but I might as well 
add it since is should compile on AVR32.

> 
> Hi Ulf,
> 
> Did you intentionally commit BR2_GAMES?
> You mentioned only libosip2 package in your commit log.
> 
> Regards,
> Ivan
-- 
Best Regards
Ulf Samuelsson
Atmel Nordic AB
Mail: Box 2033, 174 50 Sundbyberg
Visit:Kavalleriv?gen 24, 174 58 Sundbyberg
Phone: +46 8 441 54 22, GSM: +46 706 22 44 57
eMail: ulf at atmel.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/package:  libosip2
  2007-11-30 11:51   ` Ulf Samuelsson
@ 2007-11-30 12:03     ` Hans-Christian Egtvedt
  2007-11-30 16:24     ` julien.boibessot at free.fr
  1 sibling, 0 replies; 5+ messages in thread
From: Hans-Christian Egtvedt @ 2007-11-30 12:03 UTC (permalink / raw)
  To: buildroot

On Fri, 2007-11-30 at 12:51 +0100, Ulf Samuelsson wrote:
> fre 2007-11-30 klockan 13:40 +0200 skrev Ivan Kuten:

<cut>

> > > +if BR2_GAMES
> > > +source "package/lxdoom/Config.in"
> > > +endif
> > > +
> > >  endmenu
> 
> Mistake, trying to add Doom as well so that slipped through.
> Doom fails to compile on ARM due to packing, but I might as well 
> add it since is should compile on AVR32.
>

I had to patch the lxdldoom client a lot to make it compile on AVR32, I
think I have the patch still around here somewhere. At least I should be
able to redo it.

It will be nice to have a selection of games :)

-- 
With kind regards,
Hans-Christian Egtvedt, Applications Engineer

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/package:  libosip2
  2007-11-30 11:51   ` Ulf Samuelsson
  2007-11-30 12:03     ` Hans-Christian Egtvedt
@ 2007-11-30 16:24     ` julien.boibessot at free.fr
  1 sibling, 0 replies; 5+ messages in thread
From: julien.boibessot at free.fr @ 2007-11-30 16:24 UTC (permalink / raw)
  To: buildroot

Quoting Ulf Samuelsson <ulf@atmel.com>:

> Mistake, trying to add Doom as well so that slipped through.
> Doom fails to compile on ARM due to packing, but I might as well
> add it since is should compile on AVR32.
>

If you are interested in trying Doom, I have a working Buildroot makefile that
compiles successfully PrBoom (SDL Doom clone) on my ARM9 platform (i.MXL):
http://armadeus.svn.sourceforge.net/viewvc/armadeus/trunk/buildroot/package/prboom/

Regards,
Julien

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-11-30 16:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-30 10:28 [Buildroot] svn commit: trunk/buildroot/package: libosip2 ulf at uclibc.org
2007-11-30 11:40 ` Ivan Kuten
2007-11-30 11:51   ` Ulf Samuelsson
2007-11-30 12:03     ` Hans-Christian Egtvedt
2007-11-30 16:24     ` julien.boibessot at free.fr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox