* [Buildroot] [PATCH 06/47] package/celt051: new package
From: Yann E. MORIN @ 2012-10-24 21:25 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1351113973-17237-1-git-send-email-yann.morin.1998@free.fr>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
package/multimedia/Config.in | 1 +
package/multimedia/celt051/Config.in | 15 +++++++++++++++
package/multimedia/celt051/celt.mk | 30 ++++++++++++++++++++++++++++++
3 files changed, 46 insertions(+), 0 deletions(-)
create mode 100644 package/multimedia/celt051/Config.in
create mode 100644 package/multimedia/celt051/celt.mk
diff --git a/package/multimedia/Config.in b/package/multimedia/Config.in
index 273d9bc..5e8d60c 100644
--- a/package/multimedia/Config.in
+++ b/package/multimedia/Config.in
@@ -2,6 +2,7 @@ menu "Audio and video applications"
source "package/multimedia/alsa-utils/Config.in"
source "package/multimedia/aumix/Config.in"
source "package/multimedia/bellagio/Config.in"
+source "package/multimedia/celt051/Config.in"
source "package/multimedia/faad2/Config.in"
source "package/multimedia/flac/Config.in"
source "package/multimedia/ffmpeg/Config.in"
diff --git a/package/multimedia/celt051/Config.in b/package/multimedia/celt051/Config.in
new file mode 100644
index 0000000..50ed069
--- /dev/null
+++ b/package/multimedia/celt051/Config.in
@@ -0,0 +1,15 @@
+config BR2_PACKAGE_CELT051
+ bool "celt051"
+ select BR2_PACKAGE_LIBOGG
+ help
+ The CELT ultra-low delay audio codec
+
+ The CELT codec is a compression algorithm for audio. Like MP3,
+ Vorbis, and AAC it is suitable for transmitting music with high
+ quality. Unlike these formats CELT imposes very little delay on
+ the signal, even less than is typical for speech centric formats
+ like Speex, GSM, or G.729.
+
+ Note: this is version 0.5.1.3 of celt.
+
+ http://www.celt-codec.org/
diff --git a/package/multimedia/celt051/celt.mk b/package/multimedia/celt051/celt.mk
new file mode 100644
index 0000000..9baaa82
--- /dev/null
+++ b/package/multimedia/celt051/celt.mk
@@ -0,0 +1,30 @@
+#############################################################
+#
+# celt051
+#
+#############################################################
+
+# Although version newer than 0.5.1.3 exists, we're
+# stuck with 0.5.1.3 for use by Spice (coming later)
+CELT051_VERSION = 0.5.1.3
+CELT051_SOURCE = celt-$(CELT051_VERSION).tar.gz
+CELT051_SITE = http://downloads.xiph.org/releases/celt
+CELT051_LICENSE = BSD-2c
+CELT051_LICENSE_FILES = COPYING
+CELT051_INSTALL_STAGING = YES
+CELT051_DEPENDENCIES = libogg
+
+# Need to specify --with-ogg, otherwise /usr/lib may be searched for
+# if target is the same kind as host (ie. same arch, same bitness,
+# same endianness, so that /usr/lib contains libraries linkable by
+# our cross-compiler)
+CELT051_CONF_OPT = \
+ --enable-fixed-point \
+ --disable-fixed-point-debug \
+ --disable-experimental-postfilter \
+ --disable-static-modes \
+ --disable-assertions \
+ --disable-oggtest \
+ --with-ogg=$(STAGING_DIR)/usr \
+
+$(eval $(autotools-package))
--
1.7.2.5
^ permalink raw reply related
* [Buildroot] [PATCH 05/47] package/usbredir: new package
From: Yann E. MORIN @ 2012-10-24 21:25 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1351113973-17237-1-git-send-email-yann.morin.1998@free.fr>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
---
package/Config.in | 1 +
package/usbredir/Config.in | 28 ++++++++++++++++++++++++++++
package/usbredir/usbredir.mk | 34 ++++++++++++++++++++++++++++++++++
3 files changed, 63 insertions(+), 0 deletions(-)
create mode 100644 package/usbredir/Config.in
create mode 100644 package/usbredir/usbredir.mk
diff --git a/package/Config.in b/package/Config.in
index 2c5ad8c..55bb0b2 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -461,6 +461,7 @@ source "package/libupnp/Config.in"
source "package/libvncserver/Config.in"
source "package/nss-mdns/Config.in"
source "package/ortp/Config.in"
+source "package/usbredir/Config.in"
source "package/zeromq/Config.in"
endmenu
diff --git a/package/usbredir/Config.in b/package/usbredir/Config.in
new file mode 100644
index 0000000..8d8ac5a
--- /dev/null
+++ b/package/usbredir/Config.in
@@ -0,0 +1,28 @@
+comment "usbredir requires libusb"
+ depends on !BR2_PACKAGE_LIBUSB
+
+config BR2_PACKAGE_USBREDIR
+ bool "usbredir"
+ depends on BR2_PACKAGE_LIBUSB
+ help
+ usbredir is the name of a network protocol for sending usb device
+ traffic over a network connection. It is also the name of the
+ software package offering a parsing library, a usbredirhost library
+ and several utilities implementing this protocol.
+
+ Note: only the library is installed, not the utilities. Say 'y'
+ below if you want the server too.
+
+ http://www.spice-space.org/page/UsbRedir
+
+if BR2_PACKAGE_USBREDIR
+
+config BR2_PACKAGE_USBREDIR_SERVER
+ bool "usbredirserver on target"
+ help
+ If you want to serve usbredir requests on your target, say 'y'
+ here to have the usbredir server on the target.
+
+ Note: the server is not required to use the library.
+
+endif
diff --git a/package/usbredir/usbredir.mk b/package/usbredir/usbredir.mk
new file mode 100644
index 0000000..43b47eb
--- /dev/null
+++ b/package/usbredir/usbredir.mk
@@ -0,0 +1,34 @@
+#############################################################
+#
+# usbredir
+#
+#############################################################
+
+USBREDIR_VERSION = 0.4.3
+USBREDIR_SOURCE = usbredir-$(USBREDIR_VERSION).tar.bz2
+USBREDIR_SITE = http://spice-space.org/download/usbredir
+USBREDIR_LICENSE = LGPLv2.1+
+USBREDIR_LICENSE_FILES = COPYING.LIB
+USBREDIR_INSTALL_STAGING = YES
+USBREDIR_DEPENDENCIES = libusb
+
+USBREDIR_DEPENDENCIES += host-pkg-config
+
+ifeq ($(BR2_PACKAGE_USBREDIR_SERVER),y)
+
+USBREDIR_LICENSE += GPLv2+
+USBREDIR_LICENSE_FILES += COPYING
+
+else # BR2_PACKAGE_USBREDIR_SERVER != y
+
+# It's much easier to remove unwanted files after-the-fact, rather than trying
+# to install only what we want. Sad-and-dull life, but life nonetheless...
+# Note: do not forget to update the license, above, if you keep the server.
+define USBREDIR_POST_INSTALL_TARGET_RM_SERVER
+ rm -f $(TARGET_DIR)/usr/sbin/usbredirserver
+endef
+USBREDIR_POST_INSTALL_TARGET_HOOKS += USBREDIR_POST_INSTALL_TARGET_RM_SERVER
+
+endif # BR2_PACKAGE_USBREDIR_SERVER
+
+$(eval $(autotools-package))
--
1.7.2.5
^ permalink raw reply related
* [Buildroot] [PATCH 04/47] package/libiscsi: new package
From: Yann E. MORIN @ 2012-10-24 21:25 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1351113973-17237-1-git-send-email-yann.morin.1998@free.fr>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
---
package/Config.in | 1 +
package/libiscsi/Config.in | 12 ++++++++++++
package/libiscsi/libiscsi.mk | 22 ++++++++++++++++++++++
3 files changed, 35 insertions(+), 0 deletions(-)
create mode 100644 package/libiscsi/Config.in
create mode 100644 package/libiscsi/libiscsi.mk
diff --git a/package/Config.in b/package/Config.in
index c64a54a..2c5ad8c 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -440,6 +440,7 @@ source "package/libesmtp/Config.in"
source "package/libeXosip2/Config.in"
source "package/libfcgi/Config.in"
source "package/libidn/Config.in"
+source "package/libiscsi/Config.in"
source "package/liboauth/Config.in"
source "package/libmicrohttpd/Config.in"
source "package/neon/Config.in"
diff --git a/package/libiscsi/Config.in b/package/libiscsi/Config.in
new file mode 100644
index 0000000..f3fc29e
--- /dev/null
+++ b/package/libiscsi/Config.in
@@ -0,0 +1,12 @@
+config BR2_PACKAGE_LIBISCSI
+ bool "libiscsi"
+ select BR2_PACKAGE_POPT
+ help
+ Libiscsi is a client-side library to implement the iSCSI protocol
+ that can be used to access resource of an iSCSI Target.
+
+ The library is fully async with regards to iscsi commands and scsi
+ tasks, but a sync layer is also provided for ease of use for simpler
+ applications.
+
+ https://github.com/sahlberg/libiscsi (no proper homepage)
diff --git a/package/libiscsi/libiscsi.mk b/package/libiscsi/libiscsi.mk
new file mode 100644
index 0000000..319b5b6
--- /dev/null
+++ b/package/libiscsi/libiscsi.mk
@@ -0,0 +1,22 @@
+#############################################################
+#
+# libiscsi
+#
+#############################################################
+
+LIBISCSI_VERSION = 1.6.0
+LIBISCSI_SOURCE = libiscsi-$(LIBISCSI_VERSION).tar.gz
+LIBISCSI_SITE = https://github.com/downloads/sahlberg/libiscsi
+LIBISCSI_LICENSE = GPLv2+ LGPLv2.1+
+LIBISCSI_LICENSE_FILES = COPYING LICENCE-GPL-2.txt LICENCE-LGPL-2.1.txt
+LIBISCSI_INSTALL_STAGING = YES
+LIBISCSI_DEPENDENCIES = popt
+
+LIBISCSI_AUTORECONF = YES
+# Having a m4/ directory is mandatory for autoreconf to work
+define LIBISCSI_CREATE_M4_DIR
+ mkdir -p $(@D)/m4
+endef
+LIBISCSI_PRE_CONFIGURE_HOOKS += LIBISCSI_CREATE_M4_DIR
+
+$(eval $(autotools-package))
--
1.7.2.5
^ permalink raw reply related
* [Buildroot] [PATCH 03/47] package/vde2: new package
From: Yann E. MORIN @ 2012-10-24 21:25 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1351113973-17237-1-git-send-email-yann.morin.1998@free.fr>
VDE is an ethernet compliant virtual network that can be
spawned over a set of physical computer over the Internet.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
---
package/Config.in | 1 +
package/vde2/Config.in | 10 ++++++++++
package/vde2/vde2.mk | 36 ++++++++++++++++++++++++++++++++++++
3 files changed, 47 insertions(+), 0 deletions(-)
create mode 100644 package/vde2/Config.in
create mode 100644 package/vde2/vde2.mk
diff --git a/package/Config.in b/package/Config.in
index c9cb3ed..c64a54a 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -640,6 +640,7 @@ source "package/transmission/Config.in"
source "package/ttcp/Config.in"
source "package/udpcast/Config.in"
source "package/ushare/Config.in"
+source "package/vde2/Config.in"
source "package/vpnc/Config.in"
source "package/vsftpd/Config.in"
source "package/vtun/Config.in"
diff --git a/package/vde2/Config.in b/package/vde2/Config.in
new file mode 100644
index 0000000..1591bc4
--- /dev/null
+++ b/package/vde2/Config.in
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_VDE2
+ bool "vde2"
+ help
+ VDE is an ethernet compliant virtual network that can be
+ spawned over a set of physical computer over the Internet.
+ VDE is part of virtualsquare project.
+
+ http://vde.sourceforge.net/
+
+ Note: only the libraries are installed.
diff --git a/package/vde2/vde2.mk b/package/vde2/vde2.mk
new file mode 100644
index 0000000..b2e0fea
--- /dev/null
+++ b/package/vde2/vde2.mk
@@ -0,0 +1,36 @@
+#############################################################
+#
+# vde2
+#
+#############################################################
+
+VDE2_VERSION = 2.3.2
+VDE2_SOURCE = vde2-$(VDE2_VERSION).tar.bz2
+VDE2_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/project/vde/vde2/$(VDE2_VERSION)
+VDE2_LICENSE = GPLv2+ LGPLv2.1+ BSD-3c
+VDE2_LICENSE_FILES = COPYING COPYING.libvdeplug COPYING.slirpvde
+VDE2_INSTALL_STAGING = YES
+
+# Reasons for enabling/disabling stuff:
+#?- tuntap is enabled in the hope we're using a recent-enough toolchain
+# that does have if_tun.h (virtually everything these days)
+# - kvde_switch is disabled because it requires a patched kernel
+# - cryptcab is disabled to not depend on openSSL
+# - python is disabled to not depend on Python
+# - pcap is disabled to not depend on libpcap
+# - profiling is disabled because we do not want to debug/profile
+#
+# Note: disabled features can be added with corresponding dependencies
+# in future commits.
+VDE2_CONF_OPT = --disable-experimental \
+ --disable-cryptcab \
+ --disable-pcap \
+ --disable-python \
+ --disable-profile \
+ --disable-kernel-switch \
+ --enable-tuntap \
+
+#?Package does not build in parallel due to improper make rules
+VDE2_MAKE = $(MAKE1)
+
+$(eval $(autotools-package))
--
1.7.2.5
^ permalink raw reply related
* [Buildroot] [PATCH 02/47] package/libfdt: new package
From: Yann E. MORIN @ 2012-10-24 21:25 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1351113973-17237-1-git-send-email-yann.morin.1998@free.fr>
libfdt allows one to manipulate a Flat Device Tree.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
---
package/Config.in | 1 +
package/dtc/Config.in | 9 +++++++
| 12 +++++++++
package/dtc/dtc-separate-lib-install.patch | 28 +++++++++++++++++++++
package/dtc/dtc.mk | 36 ++++++++++++++++++++++++++++
5 files changed, 86 insertions(+), 0 deletions(-)
create mode 100644 package/dtc/Config.in
create mode 100644 package/dtc/dtc-extra_cflags.patch
create mode 100644 package/dtc/dtc-separate-lib-install.patch
create mode 100644 package/dtc/dtc.mk
diff --git a/package/Config.in b/package/Config.in
index 1650c71..c9cb3ed 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -396,6 +396,7 @@ source "package/libaio/Config.in"
source "package/libraw1394/Config.in"
source "package/tslib/Config.in"
source "package/libfreefare/Config.in"
+source "package/dtc/Config.in"
source "package/libftdi/Config.in"
source "package/libhid/Config.in"
source "package/libiqrf/Config.in"
diff --git a/package/dtc/Config.in b/package/dtc/Config.in
new file mode 100644
index 0000000..7b86c60
--- /dev/null
+++ b/package/dtc/Config.in
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_DTC
+ bool "dtc"
+ help
+ dtc is the Device Tree Compiler, to generate Device Trees.
+ libfdt if a library to manipulate Flat Device Trees.
+
+ Note that only the library is installed for now.
+
+ http://git.jdl.com/gitweb/?p=dtc.git (no home page)
--git a/package/dtc/dtc-extra_cflags.patch b/package/dtc/dtc-extra_cflags.patch
new file mode 100644
index 0000000..03225e7
--- /dev/null
+++ b/package/dtc/dtc-extra_cflags.patch
@@ -0,0 +1,12 @@
+diff -durN dtc-e4b497f367a3b2ae99cc52089a14a221b13a76ef.orig/Makefile dtc-e4b497f367a3b2ae99cc52089a14a221b13a76ef/Makefile
+--- dtc-e4b497f367a3b2ae99cc52089a14a221b13a76ef.orig/Makefile 2012-10-22 22:02:47.541240846 +0200
++++ dtc-e4b497f367a3b2ae99cc52089a14a221b13a76ef/Makefile 2012-10-22 22:03:21.151047833 +0200
+@@ -18,7 +18,7 @@
+ CPPFLAGS = -I libfdt -I .
+ WARNINGS = -Werror -Wall -Wpointer-arith -Wcast-qual -Wnested-externs \
+ -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls
+-CFLAGS = -g -Os -fPIC -Werror $(WARNINGS)
++CFLAGS = -g -Os -fPIC -Werror $(WARNINGS) $(EXTRA_CFLAGS)
+
+ BISON = bison
+ LEX = flex
diff --git a/package/dtc/dtc-separate-lib-install.patch b/package/dtc/dtc-separate-lib-install.patch
new file mode 100644
index 0000000..c86d587
--- /dev/null
+++ b/package/dtc/dtc-separate-lib-install.patch
@@ -0,0 +1,28 @@
+Makefile: add a rule to only install libfdt
+
+Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
+
+---
+Patch not sent upstream.
+
+It's really specific to buildroot, and is probably not
+good (aka generic) enough to be pushed upstream.
+
+diff --git a/Makefile b/Makefile
+index 1169e6c..39e7190 100644
+--- a/Makefile
++++ b/Makefile
+@@ -160,10 +160,12 @@ endif
+ # intermediate target and building them again "for real"
+ .SECONDARY: $(DTC_GEN_SRCS) $(CONVERT_GEN_SRCS)
+
+-install: all $(SCRIPTS)
++install: all $(SCRIPTS) libfdt_install
+ @$(VECHO) INSTALL
+ $(INSTALL) -d $(DESTDIR)$(BINDIR)
+ $(INSTALL) $(BIN) $(SCRIPTS) $(DESTDIR)$(BINDIR)
++
++libfdt_install: libfdt
+ $(INSTALL) -d $(DESTDIR)$(LIBDIR)
+ $(INSTALL) $(LIBFDT_lib) $(DESTDIR)$(LIBDIR)
+ ln -sf $(notdir $(LIBFDT_lib)) $(DESTDIR)$(LIBDIR)/$(LIBFDT_soname)
diff --git a/package/dtc/dtc.mk b/package/dtc/dtc.mk
new file mode 100644
index 0000000..d53e78a
--- /dev/null
+++ b/package/dtc/dtc.mk
@@ -0,0 +1,36 @@
+#############################################################
+#
+# libcurl
+#
+#############################################################
+
+DTC_VERSION = e4b497f367a3b2ae99cc52089a14a221b13a76ef
+DTC_SITE = git://git.jdl.com/software/dtc.git
+DTC_LICENSE = GPLv2+/BSD-2c
+DTC_LICENSE_FILES = README.license GPL
+# Note: the dual-license only applies to the library.
+# The DT compiler (dtc) is GPLv2+, but we do not install it.
+DTC_INSTALL_STAGING = YES
+
+# Need -fPIC for x86-64
+define DTC_BUILD_CMDS
+ $(TARGET_CONFIGURE_OPTS) $(MAKE1) -C $(@D) \
+ EXTRA_CFLAGS="$(TARGET_CFLAGS)" \
+ PREFIX=/usr \
+ libfdt
+endef
+
+#?libfdt_install is our own install rule added by our patch
+define DTC_INSTALL_STAGING_CMDS
+ $(MAKE1) -C $(@D) DESTDIR=$(STAGING_DIR) PREFIX=/usr libfdt_install
+endef
+
+define DTC_INSTALL_TARGET_CMDS
+ $(MAKE1) -C $(@D) DESTDIR=$(TARGET_DIR) PREFIX=/usr libfdt_install
+endef
+
+define DTC_CLEAN_CMDS
+ $(MAKE) -C $(@D) libfdt_clean
+endef
+
+$(eval $(generic-package))
--
1.7.2.5
^ permalink raw reply related
* [Buildroot] [PATCH 01/47] package/cURL: fix static link whith openSSL
From: Yann E. MORIN @ 2012-10-24 21:25 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1351113973-17237-1-git-send-email-yann.morin.1998@free.fr>
When openSSL is selected, cURL is configured to use it.
But in this case, the libcurl.pc file /forgets/ to require link
against -ldl.
This can happen, for example, when BR2_PREFER_STATIC_LIB is not set,
but an executable wants to be linked statically (for various reasons
which are irrelevant here).
Fix that by appending a 'Requires: openssl' line to the installed
libcurl.pc, if openSSL is enabled.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
---
package/libcurl/libcurl.mk | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/package/libcurl/libcurl.mk b/package/libcurl/libcurl.mk
index 8d8fdb4..80e2922 100644
--- a/package/libcurl/libcurl.mk
+++ b/package/libcurl/libcurl.mk
@@ -29,14 +29,20 @@ define LIBCURL_TARGET_CLEANUP
rm -rf $(TARGET_DIR)/usr/bin/curl-config \
$(if $(BR2_PACKAGE_CURL),,$(TARGET_DIR)/usr/bin/curl)
endef
-
+define LIBCURL_FIX_TARGET_PC
+ printf 'Requires: openssl\n' >>$(TARGET_DIR)/usr/lib/pkgconfig/libcurl.pc
+endef
LIBCURL_POST_INSTALL_TARGET_HOOKS += LIBCURL_TARGET_CLEANUP
+LIBCURL_POST_INSTALL_TARGET_HOOKS += $(if $(BR2_PACKAGE_OPENSSL),LIBCURL_FIX_TARGET_PC)
define LIBCURL_STAGING_FIXUP_CURL_CONFIG
$(SED) "s,prefix=/usr,prefix=$(STAGING_DIR)/usr," $(STAGING_DIR)/usr/bin/curl-config
endef
-
+define LIBCURL_FIX_STAGING_PC
+ printf 'Requires: openssl\n' >>$(STAGING_DIR)/usr/lib/pkgconfig/libcurl.pc
+endef
LIBCURL_POST_INSTALL_STAGING_HOOKS += LIBCURL_STAGING_FIXUP_CURL_CONFIG
+LIBCURL_POST_INSTALL_STAGING_HOOKS += $(if $(BR2_PACKAGE_OPENSSL),LIBCURL_FIX_STAGING_PC)
$(eval $(autotools-package))
--
1.7.2.5
^ permalink raw reply related
* [Buildroot] [PATCH 0/47] Add QEMU for runing on the target
From: Yann E. MORIN @ 2012-10-24 21:25 UTC (permalink / raw)
To: buildroot
Hello!
This patch series adds qemu as a package to run on the target.
Although this may sound weird in a first place, I use it to build a simple
VM server.
I also use it to build statically-linked user-emulation to run foreign
chroots on my PC (eg. running an ARM chroot on my x86_64), because using
glibc for static-linking is not possible (it still requires some shared
libs that it dlopens at runtime).
For now, I've only build-tested it for an x86_64 uClibc-based target.
It's not complete, but there have been requests (on IRC) by a few users
that are trrying to achieve a similar setup (looks like it). So, to
avoid duplication, here's the full patchset I have here.
In the future, I plan on adding libvirt to remotely manage the VM server.
[PATCH 01/47] package/cURL: fix static link whith openSSL
[PATCH 02/47] package/libfdt: new package
[PATCH 03/47] package/vde2: new package
[PATCH 04/47] package/libiscsi: new package
[PATCH 05/47] package/usbredir: new package
[PATCH 06/47] package/celt051: new package
[PATCH 07/47] package/python-pyparsing: new package
[PATCH 08/47] package/spice-protocol: new package
[PATCH 09/47] package/libcegui: new package
[PATCH 10/47] package/slirp: new package
[PATCH 11/47] package/spice-server: new package
[PATCH 12/47] package/spice: enable client
[PATCH 13/47] package/spice: enable GUI
[PATCH 14/47] package/spice: enable slirp support
[PATCH 15/47] package/libseccomp: new package
[PATCH 16/47] package/keyutils: new package
[PATCH 17/47] package/pmake: add host pmake
[PATCH 18/47] package/libbsd: new package
[PATCH 19/47] package/libedit2: new package
[PATCH 20/47] package/ceph: new package
[PATCH 21/47] package/qemu: new package
[PATCH 22/47] package/qemu: add basic target selection
[PATCH 23/47] package/qemu: add fine-grained target selection
[PATCH 24/47] package/qemu: add SDL frontends
[PATCH 25/47] package/qemu: add option to enable/disable the VNC frontend
[PATCH 26/47] package/qemu: add VNC jpeg and png compression
[PATCH 27/47] package/qemu: add VNC TLS-encryption
[PATCH 28/47] package/qemu: add option to not install blobs
[PATCH 29/47] package/qemu: add option to remove unwanted keymaps
[PATCH 30/47] package/qemu: add uuid support
[PATCH 31/47] package/qemu: add support for capabilities
[PATCH 32/47] package/qemu: add attr/xattr option
[PATCH 33/47] package/qemu: add support for virtfs
[PATCH 34/47] package/qemu: add support for cURL
[PATCH 35/47] package/qemu: enable use of the curses frontend
[PATCH 36/47] package/qemu: add BlueZ connectivity
[PATCH 37/47] package/qemu: add AIO support
[PATCH 38/47] package/qemu: add support for FDT
[PATCH 39/47] package/qemu: add support for VDE switches
[PATCH 40/47] package/qemu: add iSCSI support
[PATCH 41/47] package/qemu: add support for USB redirection
[PATCH 42/47] package/qemu: add support for Spice
[PATCH 43/47] package/qemu: enable sound
[PATCH 44/47] package/qemu: add support for libseccomp
[PATCH 45/47] package/qemu: option to build the docs
[PATCH 46/47] package/qemu: move sub-options into a sub-menu
[PATCH 47/47] package/qemu: enable a static build
Regards,
Yann E. MORIN.
^ permalink raw reply
* [Buildroot] [PATCH 12/12] arptables: add new package
From: Gustavo Zacarias @ 2012-10-24 21:10 UTC (permalink / raw)
To: buildroot
In-Reply-To: <508856C6.1060504@mind.be>
On 10/24/12 17:59, Arnout Vandecappelle wrote:
> We usually put
> ARPTABLES_VERSION_MAJOR = v0.0.3
> ARPTABLES_VERSION = $(ARPTABLES_VERSION_MAJOR)-4
> ARPTABLES_SITE
> =http://downloads.sourceforge.net/project/ebtables/arptables/arptables-$(ARPTABLES_VERSION_MAJOR)
>
>
> (_SITE is at its default value)
>
> I can't say if that's really better, though :-)
>
> Regards,
> Arnout
In some cases it's also _MAJOR & _MINOR.
Dunno what's preferred, it seems overkill to use soo many zeros for very
few versions released :)
Regards.
^ permalink raw reply
* [Buildroot] [PATCH] keyutils: new package
From: Yann E. MORIN @ 2012-10-24 21:06 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1351112292-5617-1-git-send-email-jarkko.sakkinen@iki.fi>
Jarkko, All,
On Wednesday 24 October 2012 Jarkko Sakkinen wrote:
> Linux key management utilities
There are two memleaks known in keyutils.
I'm about to post a patch series that includes keyutils
with patches to fix the memleaks.
[--SNIP--]
> diff --git a/package/keyutils/keyutils.mk b/package/keyutils/keyutils.mk
> new file mode 100644
> index 0000000..82b1f58
> --- /dev/null
> +++ b/package/keyutils/keyutils.mk
> @@ -0,0 +1,28 @@
> +#############################################################
> +#
> +# keyutils
> +#
> +#############################################################
> +
> +KEYUTILS_VERSION = 1.5.5
> +KEYUTILS_SITE = http://people.redhat.com/dhowells/keyutils/
> +KEYUTILS_SOURCE = keyutils-$(KEYUTILS_VERSION).tar.bz2
> +
> +define KEYUTILS_BUILD_CMDS
> + $(MAKE) CFLAGS="$(TARGET_CFLAGS)" LDFLAGS="$(TARGET_LDFLAGS)" \
> + CC="$(TARGET_CC)" -C $(@D)
> +endef
I have:
define KEYUTILS_BUILD_CMDS
$(KEYUTILS_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)
endef
Which includes all our CFLAGS, while doing the way you did overrides the
CFLAGS in keytuils' Makefile, and breaks (at least for me on one arch).
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply
* [Buildroot] [Bug 5624] When building directfb, BR2_TARGET_LDFLAGS not used by libtool
From: bugzilla at busybox.net @ 2012-10-24 21:04 UTC (permalink / raw)
To: buildroot
In-Reply-To: <bug-5624-163@https.bugs.busybox.net/>
https://bugs.busybox.net/show_bug.cgi?id=5624
--- Comment #2 from Arnout Vandecappelle <arnout@mind.be> 2012-10-24 21:04:41 UTC ---
Would it help to pass LD="$(TARGET_LD) $(TARGET_LDFLAGS)" to configure?
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply
* [Buildroot] [PATCH 12/12] arptables: add new package
From: Arnout Vandecappelle @ 2012-10-24 20:59 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1350909989-1012-12-git-send-email-gustavo@zacarias.com.ar>
On 22/10/12 14:46, Gustavo Zacarias wrote:
[snip]
> +ARPTABLES_VERSION = 0.0.3
> +ARPTABLES_VERSION_MINOR = 4
> +ARPTABLES_SOURCE = arptables-v$(ARPTABLES_VERSION)-$(ARPTABLES_VERSION_MINOR).tar.gz
> +ARPTABLES_SITE =http://downloads.sourceforge.net/project/ebtables/arptables/arptables-v$(ARPTABLES_VERSION)
We usually put
ARPTABLES_VERSION_MAJOR = v0.0.3
ARPTABLES_VERSION = $(ARPTABLES_VERSION_MAJOR)-4
ARPTABLES_SITE =http://downloads.sourceforge.net/project/ebtables/arptables/arptables-$(ARPTABLES_VERSION_MAJOR)
(_SITE is at its default value)
I can't say if that's really better, though :-)
Regards,
Arnout
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286540
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
^ permalink raw reply
* [Buildroot] [PATCH] keyutils: new package
From: Jarkko Sakkinen @ 2012-10-24 20:58 UTC (permalink / raw)
To: buildroot
Linux key management utilities
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@iki.fi>
---
package/Config.in | 1 +
package/keyutils/Config.in | 7 +++++++
package/keyutils/keyutils.mk | 28 ++++++++++++++++++++++++++++
3 files changed, 36 insertions(+)
create mode 100644 package/keyutils/Config.in
create mode 100644 package/keyutils/keyutils.mk
diff --git a/package/Config.in b/package/Config.in
index 1650c71..00d242d 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -715,6 +715,7 @@ source "package/supervisor/Config.in"
source "package/systemd/Config.in"
source "package/util-linux/Config.in"
source "package/dsp-tools/Config.in"
+source "package/keyutils/Config.in"
endmenu
menu "Text editors and viewers"
diff --git a/package/keyutils/Config.in b/package/keyutils/Config.in
new file mode 100644
index 0000000..2296e5b
--- /dev/null
+++ b/package/keyutils/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_KEYUTILS
+ bool "keyutils"
+ help
+ Linux key management utilities
+
+ http://people.redhat.com/dhowells/keyutils/
+
diff --git a/package/keyutils/keyutils.mk b/package/keyutils/keyutils.mk
new file mode 100644
index 0000000..82b1f58
--- /dev/null
+++ b/package/keyutils/keyutils.mk
@@ -0,0 +1,28 @@
+#############################################################
+#
+# keyutils
+#
+#############################################################
+
+KEYUTILS_VERSION = 1.5.5
+KEYUTILS_SITE = http://people.redhat.com/dhowells/keyutils/
+KEYUTILS_SOURCE = keyutils-$(KEYUTILS_VERSION).tar.bz2
+
+define KEYUTILS_BUILD_CMDS
+ $(MAKE) CFLAGS="$(TARGET_CFLAGS)" LDFLAGS="$(TARGET_LDFLAGS)" \
+ CC="$(TARGET_CC)" -C $(@D)
+endef
+
+define KEYUTILS_INSTALL_TARGET_CMDS
+ $(INSTALL) -m 0755 -D $(@D)/keyctl $(TARGET_DIR)/bin/keyctl
+endef
+
+define KEYUTILS_UNINSTALL_TARGET_CMDS
+ rm -f $(TARGET_DIR)/bin/keyctl
+endef
+
+define KEYUTILS_CLEAN_CMDS
+ -$(MAKE) -C $(@D) clean
+endef
+
+$(eval $(generic-package))
--
1.7.10.4
^ permalink raw reply related
* [Buildroot] [PATCH] gqview: Fix build failure due to missing -lm
From: Will Newton @ 2012-10-24 20:51 UTC (permalink / raw)
To: buildroot
In-Reply-To: <5088400C.4040000@gmail.com>
On Wed, Oct 24, 2012 at 8:22 PM, Valentine Barshak <gvaxon@gmail.com> wrote:
> On 10/07/2012 12:35 AM, Valentine Barshak wrote:
>>
>> Signed-off-by: Valentine Barshak <gvaxon@gmail.com>
>> ---
>> package/gqview/gqview.mk | 1 +
>> 1 file changed, 1 insertion(+)
>>
>> diff --git a/package/gqview/gqview.mk b/package/gqview/gqview.mk
>> index 2f64cd0..7d09fda 100644
>> --- a/package/gqview/gqview.mk
>> +++ b/package/gqview/gqview.mk
>> @@ -7,6 +7,7 @@ GQVIEW_VERSION = 2.1.5
>> GQVIEW_SOURCE = gqview-$(GQVIEW_VERSION).tar.gz
>> GQVIEW_SITE = http://prdownloads.sourceforge.net/gqview
>> GQVIEW_DEPENDENCIES = host-pkg-config libgtk2
>> +GQVIEW_CONF_ENV = LIBS="-lm"
>>
>> $(eval $(autotools-package))
>>
>>
>
> Does this work for everyone else or is it just deprecated and nobody should
> use it?
>
> I can't build without -lm neither in BR nor using my native host tools.
Which version of binutils are you using? 2.22?
^ permalink raw reply
* [Buildroot] [PATCH 9/9] firefox: GNU gnash flash, an open source Adobe Flash player & plugin
From: Arnout Vandecappelle @ 2012-10-24 20:43 UTC (permalink / raw)
To: buildroot
In-Reply-To: <5087F087.8010307@petroprogram.com>
On 24/10/12 15:43, Stefan Fr?berg wrote:
> I just read the following:
> http://www.extremetech.com/mobile/137412-linux-kernel-version-3-7-will-support-multiple-arm-socs
>
> So it seems things are now getting more easier.
>
> Im certainly going to upgrade to that kernel version and try if I have
> better luck
> this time with exonys board (basically the same stuff that those Samsung
> Galaxy S II and III are using ????)
> under qemu.
AFAIK that board is not yet part of the multiplatform patch. And anyway, you
still need a boot loader that sets up the SDRAM correctly, so you still need the
correct U-Boot/Barebox/... config.
But what is your problem exactly? Set the kernel defconfig to 'exynos' and all
is well, no?
Regards,
Arnout
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286540
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
^ permalink raw reply
* [Buildroot] [PATCHv7 1/5] pkgconf: new package
From: Gustavo Zacarias @ 2012-10-24 20:10 UTC (permalink / raw)
To: buildroot
pkgconf is a drop-in replacement for pkg-config that doesn't need
itself to build and just requires a C89 compiler.
Instead of using a patch for hardcoded sysroot support (as the patch to
pkg-config does) we rely instead on a wrapper script that takes the
appropiate action.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
package/Config.in | 1 +
package/pkgconf/Config.in | 9 ++++++++
package/pkgconf/pkg-config.in | 2 +
package/pkgconf/pkgconf-fix-variable.patch | 27 ++++++++++++++++++++++++
package/pkgconf/pkgconf.mk | 31 ++++++++++++++++++++++++++++
5 files changed, 70 insertions(+), 0 deletions(-)
create mode 100644 package/pkgconf/Config.in
create mode 100644 package/pkgconf/pkg-config.in
create mode 100644 package/pkgconf/pkgconf-fix-variable.patch
create mode 100644 package/pkgconf/pkgconf.mk
diff --git a/package/Config.in b/package/Config.in
index 90be56e..09f789f 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -84,6 +84,7 @@ if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
source "package/patch/Config.in"
endif
source "package/pkg-config/Config.in"
+source "package/pkgconf/Config.in"
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
source "package/sed/Config.in"
endif
diff --git a/package/pkgconf/Config.in b/package/pkgconf/Config.in
new file mode 100644
index 0000000..f95847f
--- /dev/null
+++ b/package/pkgconf/Config.in
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_PKGCONF
+ bool "pkgconf"
+ help
+ pkgconf is a program which helps to configure compiler and linker
+ flags for development frameworks. It is similar to pkg-config,
+ but was written from scratch in the summer of 2011 to replace
+ pkg-config, which now needs itself to build itself
+
+ https://github.com/nenolod/pkgconf
diff --git a/package/pkgconf/pkg-config.in b/package/pkgconf/pkg-config.in
new file mode 100644
index 0000000..25a536b
--- /dev/null
+++ b/package/pkgconf/pkg-config.in
@@ -0,0 +1,2 @@
+#!/bin/sh
+PKG_CONFIG_LIBDIR=${PKG_CONFIG_LIBDIR:- at PKG_CONFIG_LIBDIR@} PKG_CONFIG_SYSROOT_DIR=${PKG_CONFIG_SYSROOT_DIR:- at STAGING_DIR@} $(dirname $0)/pkgconf $@
diff --git a/package/pkgconf/pkgconf-fix-variable.patch b/package/pkgconf/pkgconf-fix-variable.patch
new file mode 100644
index 0000000..e19f76c
--- /dev/null
+++ b/package/pkgconf/pkgconf-fix-variable.patch
@@ -0,0 +1,27 @@
+[PATCH] prefix sysroot to include/libdir path variables
+
+Prefix includedir / libdir variable values with sysroot if a variable is
+requested (--variable=<name>), similar to how it's done for -I / -L flags.
+
+This is sometimes used to find header files (E.G. in gst-plugins configure),
+so ensure the sysroot'ed files are used.
+
+Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
+
+diff -Nura pkgconf-0.8.9.orig/main.c pkgconf-0.8.9/main.c
+--- pkgconf-0.8.9.orig/main.c 2012-10-24 14:32:08.236508699 -0300
++++ pkgconf-0.8.9/main.c 2012-10-24 14:54:36.771070217 -0300
+@@ -298,7 +298,12 @@
+ if (eflag != PKG_ERRF_OK)
+ return false;
+
+- printf("%s\n", req.buf);
++ if ( !strcmp(req.variable, "includedir") ||
++ !strcmp(req.variable, "mapdir") ||
++ !strcmp(req.variable, "libdir"))
++ printf("%s%s\n", sysroot_dir, req.buf);
++ else
++ printf("%s\n", req.buf);
+ return true;
+ }
+
diff --git a/package/pkgconf/pkgconf.mk b/package/pkgconf/pkgconf.mk
new file mode 100644
index 0000000..36a5bb8
--- /dev/null
+++ b/package/pkgconf/pkgconf.mk
@@ -0,0 +1,31 @@
+#############################################################
+#
+# pkgconf
+#
+#############################################################
+
+PKGCONF_VERSION = 0.8.9
+PKGCONF_SITE = http://tortois.es/~nenolod/distfiles
+PKGCONF_SOURCE = pkgconf-$(PKGCONF_VERSION).tar.bz2
+
+PKG_CONFIG_HOST_BINARY = $(HOST_DIR)/usr/bin/pkg-config
+
+ifeq ($(BR2_PACKAGE_PKG_CONFIG),)
+define PKGCONF_LINK_PKGCONFIG
+ ln -sf pkgconf $(TARGET_DIR)/usr/bin/pkg-config
+endef
+endif
+
+define HOST_PKGCONF_INSTALL_WRAPPER
+ $(INSTALL) -m 0755 -D package/pkgconf/pkg-config.in \
+ $(HOST_DIR)/usr/bin/pkg-config
+ $(SED) 's, at PKG_CONFIG_LIBDIR@,$(STAGING_DIR)/usr/lib/pkgconfig:$(STAGING_DIR)/usr/share/pkgconfig,' \
+ -e 's, at STAGING_DIR@,$(STAGING_DIR),' \
+ $(HOST_DIR)/usr/bin/pkg-config
+endef
+
+PKGCONF_POST_INSTALL_TARGET_HOOKS += PKGCONF_LINK_PKGCONFIG
+HOST_PKGCONF_POST_INSTALL_HOOKS += HOST_PKGCONF_INSTALL_WRAPPER
+
+$(eval $(autotools-package))
+$(eval $(host-autotools-package))
--
1.7.8.6
^ permalink raw reply related
* [Buildroot] [PATCH] gqview: Fix build failure due to missing -lm
From: Valentine Barshak @ 2012-10-24 19:22 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1349555736-10008-1-git-send-email-gvaxon@gmail.com>
On 10/07/2012 12:35 AM, Valentine Barshak wrote:
> Signed-off-by: Valentine Barshak <gvaxon@gmail.com>
> ---
> package/gqview/gqview.mk | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/package/gqview/gqview.mk b/package/gqview/gqview.mk
> index 2f64cd0..7d09fda 100644
> --- a/package/gqview/gqview.mk
> +++ b/package/gqview/gqview.mk
> @@ -7,6 +7,7 @@ GQVIEW_VERSION = 2.1.5
> GQVIEW_SOURCE = gqview-$(GQVIEW_VERSION).tar.gz
> GQVIEW_SITE = http://prdownloads.sourceforge.net/gqview
> GQVIEW_DEPENDENCIES = host-pkg-config libgtk2
> +GQVIEW_CONF_ENV = LIBS="-lm"
>
> $(eval $(autotools-package))
>
>
Does this work for everyone else or is it just deprecated and nobody
should use it?
I can't build without -lm neither in BR nor using my native host tools.
Thanks,
Val.
^ permalink raw reply
* [Buildroot] [PATCH v2] wireshark: new package
From: Thomas Petazzoni @ 2012-10-24 15:06 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20121024144837.GA25255@sapphire.tkos.co.il>
Dear Baruch Siach,
On Wed, 24 Oct 2012 16:48:37 +0200, Baruch Siach wrote:
> Well, the ultimate solution would probably be to add a --disable-usr configure
> option, like the existing --disable-usr-local. I see if I can find time to
> work on this. I'm no autotools expert.
This really shouldn't be needed. No autotools-based package that I'm
aware of needs this. If the default include flags are not good, you
pass additional CFLAGS/CPPFLAGS, that's the way autoconf works.
So basically, the whole idea of adding /usr/include forcefully is
stupid and should be removed, IMO.
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply
* [Buildroot] [PATCH v2] wireshark: new package
From: Baruch Siach @ 2012-10-24 14:48 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20121024164059.10666049@skate>
Hi Thomas,
On Wed, Oct 24, 2012 at 04:40:59PM +0200, Thomas Petazzoni wrote:
>
> On Wed, 24 Oct 2012 16:13:33 +0200, Baruch Siach wrote:
> > diff --git a/package/wireshark/wireshark-dont-include-prefix.patch b/package/wireshark/wireshark-dont-include-prefix.patch
> > new file mode 100644
> > index 0000000..6f3c946
> > --- /dev/null
> > +++ b/package/wireshark/wireshark-dont-include-prefix.patch
> > @@ -0,0 +1,18 @@
> > +configure.in: don't add the build host's /usr/include and /usr/lib to the
> > +search path of include files and libraries. This is not what you want when
> > +cross compiling.
> > +
> > +Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> > +---
> > +diff -Nuar wireshark-1.8.3.orig/configure.in wireshark-1.8.3/configure.in
> > +--- wireshark-1.8.3.orig/configure.in 2012-08-15 23:33:32.000000000 +0300
> > ++++ wireshark-1.8.3/configure.in 2012-10-24 09:54:15.259853331 +0200
> > +@@ -639,7 +639,7 @@
> > + # If using $prefix we add "$prefix/include" to the include search path
> > + # and "$prefix/lib" to the library search path.
> > + #
> > +-if test "x$prefix" != "x" ; then
> > ++if false ; then
> > + AC_MSG_CHECKING(whether to use $prefix for headers and libraries)
> > + if test -d $prefix/include ; then
> > + AC_MSG_RESULT(yes)
>
> This works, but cannot be submitted upstream. Do you think you can come
> up with a patch suitable for upstream inclusion?
>
> Note that the OE patch is not better than your proposal:
> http://cgit.openembedded.org/openembedded/tree/recipes/wireshark/files/fix-configure.patch.
> It is also not suitable for upstream.
Well, the ultimate solution would probably be to add a --disable-usr configure
option, like the existing --disable-usr-local. I see if I can find time to
work on this. I'm no autotools expert.
baruch
--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
^ permalink raw reply
* [Buildroot] [PATCH v2] wireshark: new package
From: Thomas Petazzoni @ 2012-10-24 14:40 UTC (permalink / raw)
To: buildroot
In-Reply-To: <4b73cf9536d6cde485299c9afb9fc41affa909ae.1351087817.git.baruch@tkos.co.il>
On Wed, 24 Oct 2012 16:13:33 +0200, Baruch Siach wrote:
> diff --git a/package/wireshark/wireshark-dont-include-prefix.patch b/package/wireshark/wireshark-dont-include-prefix.patch
> new file mode 100644
> index 0000000..6f3c946
> --- /dev/null
> +++ b/package/wireshark/wireshark-dont-include-prefix.patch
> @@ -0,0 +1,18 @@
> +configure.in: don't add the build host's /usr/include and /usr/lib to the
> +search path of include files and libraries. This is not what you want when
> +cross compiling.
> +
> +Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> +---
> +diff -Nuar wireshark-1.8.3.orig/configure.in wireshark-1.8.3/configure.in
> +--- wireshark-1.8.3.orig/configure.in 2012-08-15 23:33:32.000000000 +0300
> ++++ wireshark-1.8.3/configure.in 2012-10-24 09:54:15.259853331 +0200
> +@@ -639,7 +639,7 @@
> + # If using $prefix we add "$prefix/include" to the include search path
> + # and "$prefix/lib" to the library search path.
> + #
> +-if test "x$prefix" != "x" ; then
> ++if false ; then
> + AC_MSG_CHECKING(whether to use $prefix for headers and libraries)
> + if test -d $prefix/include ; then
> + AC_MSG_RESULT(yes)
This works, but cannot be submitted upstream. Do you think you can come
up with a patch suitable for upstream inclusion?
Note that the OE patch is not better than your proposal:
http://cgit.openembedded.org/openembedded/tree/recipes/wireshark/files/fix-configure.patch.
It is also not suitable for upstream.
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply
* [Buildroot] [PATCH v2] wireshark: new package
From: Baruch Siach @ 2012-10-24 14:13 UTC (permalink / raw)
To: buildroot
This is only the bare minimum needed to build the textual tshark utility.
Support for more options, including the wireshark GUI, can be added later.
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
Changes v1 -> v2:
* Patch configure.in and enable autoreconf, instead of overriding
$prefix
* Remove --with-sysroot as suggested by Arnout Vandecappelle
The tshark RPATH is still cluttered with local build paths. Adding
--libdir=/usr/lib doesn't solve this. Any suggestion?
package/Config.in | 1 +
package/wireshark/Config.in | 14 ++++++++++++++
.../wireshark/wireshark-dont-include-prefix.patch | 18 ++++++++++++++++++
package/wireshark/wireshark.mk | 10 ++++++++++
4 files changed, 43 insertions(+)
create mode 100644 package/wireshark/Config.in
create mode 100644 package/wireshark/wireshark-dont-include-prefix.patch
create mode 100644 package/wireshark/wireshark.mk
diff --git a/package/Config.in b/package/Config.in
index 1650c71..cd8d9ba 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -646,6 +646,7 @@ if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
source "package/wget/Config.in"
endif
source "package/wireless_tools/Config.in"
+source "package/wireshark/Config.in"
source "package/wpa_supplicant/Config.in"
source "package/xinetd/Config.in"
source "package/xl2tp/Config.in"
diff --git a/package/wireshark/Config.in b/package/wireshark/Config.in
new file mode 100644
index 0000000..e6d4e72
--- /dev/null
+++ b/package/wireshark/Config.in
@@ -0,0 +1,14 @@
+config BR2_PACKAGE_WIRESHARK
+ bool "wireshark"
+ select BR2_PACKAGE_LIBPCAP
+ select BR2_PACKAGE_LIBGCRYPT
+ select BR2_PACKAGE_LIBGLIB2
+ depends on BR2_USE_WCHAR # glib2
+ help
+ Network traffic sniffer and protocol decoder. Currently only tshark,
+ the console interface, is enabled.
+
+ http://www.wireshark.org
+
+comment "wireshark requires a toolchain with WCHAR support"
+ depends on !BR2_USE_WCHAR
diff --git a/package/wireshark/wireshark-dont-include-prefix.patch b/package/wireshark/wireshark-dont-include-prefix.patch
new file mode 100644
index 0000000..6f3c946
--- /dev/null
+++ b/package/wireshark/wireshark-dont-include-prefix.patch
@@ -0,0 +1,18 @@
+configure.in: don't add the build host's /usr/include and /usr/lib to the
+search path of include files and libraries. This is not what you want when
+cross compiling.
+
+Signed-off-by: Baruch Siach <baruch@tkos.co.il>
+---
+diff -Nuar wireshark-1.8.3.orig/configure.in wireshark-1.8.3/configure.in
+--- wireshark-1.8.3.orig/configure.in 2012-08-15 23:33:32.000000000 +0300
++++ wireshark-1.8.3/configure.in 2012-10-24 09:54:15.259853331 +0200
+@@ -639,7 +639,7 @@
+ # If using $prefix we add "$prefix/include" to the include search path
+ # and "$prefix/lib" to the library search path.
+ #
+-if test "x$prefix" != "x" ; then
++if false ; then
+ AC_MSG_CHECKING(whether to use $prefix for headers and libraries)
+ if test -d $prefix/include ; then
+ AC_MSG_RESULT(yes)
diff --git a/package/wireshark/wireshark.mk b/package/wireshark/wireshark.mk
new file mode 100644
index 0000000..b50c223
--- /dev/null
+++ b/package/wireshark/wireshark.mk
@@ -0,0 +1,10 @@
+WIRESHARK_VERSION = 1.8.3
+WIRESHARK_SOURCE = wireshark-$(WIRESHARK_VERSION).tar.bz2
+WIRESHARK_SITE = http://www.wireshark.org/download/src/all-versions
+WIRESHARK_DEPENDENCIES = libpcap libgcrypt libglib2
+WIRESHARK_AUTORECONF = YES
+WIRESHARK_CONF_ENV = LIBGCRYPT_CONFIG=$(STAGING_DIR)/usr/bin/libgcrypt-config
+WIRESHARK_CONF_OPT = --disable-wireshark --without-krb5 --disable-usr-local \
+ --enable-static=no
+
+$(eval $(call autotools-package))
--
1.7.10.4
^ permalink raw reply related
* [Buildroot] [PATCH 9/9] firefox: GNU gnash flash, an open source Adobe Flash player & plugin
From: Stefan Fröberg @ 2012-10-24 13:43 UTC (permalink / raw)
To: buildroot
In-Reply-To: <5086C8E7.6070209@mind.be>
23.10.2012 19:42, Arnout Vandecappelle kirjoitti:
> [snip]
>> Tell me Arnout, is the ARM-world really this ... complicated ?
>>
>> I mean, there at least two dozens of defconfig files for various arm
>> vendor boards under linux source tree arch/arm/config.
>> And those config-files are just for boards right ??
>>
>> Am I correct to presume that there are at least almost hundred of
>> different vendor board + arm cpu compinations that
>> are more or less incompatible with each other ?
>
> Yes, there are two reasons for that:
>
> - Unlike for PCs, there is no BIOS in embedded platforms to hide the
> board configuration. So the BSP has to be part of the kernel. That is
> partially solved with a device tree, but even so you have to select a
> device tree for your particular board.
>
> - Unlike for PowerPC, the ARM core is used by many SoC vendors who make
> completely different CPUs out of it. Since an OS is actually about
> managing everything around the CPU core itself, there's a big impact on
> the Linux kernel. That's why you'll often see SoC-specific kernel
> patches.
>
> However, this complexity shouldn't affect your use of buildroot too
> much - at least if there's a defconfig for your board available in
> U-Boot and in the kernel.
>
I just read the following:
http://www.extremetech.com/mobile/137412-linux-kernel-version-3-7-will-support-multiple-arm-socs
So it seems things are now getting more easier.
Im certainly going to upgrade to that kernel version and try if I have
better luck
this time with exonys board (basically the same stuff that those Samsung
Galaxy S II and III are using ????)
under qemu.
>
>> And in addition to that, I must take into account if the arm-cpu Im
>> cross-compiling stuff for has softfp or hardfp and the type of fp (vpf,
>> neon etc....) ?
>
> That's in fact the same on x86, only nobody uses things like
> -mfpmath=sse
> and just uses generic 387 code.
>
>
I didn't know about that optimization switch.
Maybe it will give my systems some extra boost ... :-)
Thanks!
Best Regards
Stefan
> Regards,
> Arnout
>
^ permalink raw reply
* [Buildroot] [git commit] fs/skeleton: remove /etc/TZ
From: Thomas Petazzoni @ 2012-10-24 13:14 UTC (permalink / raw)
To: buildroot
In-Reply-To: <877gqgm36w.fsf@macbook.be.48ers.dk>
On Wed, 24 Oct 2012 15:04:23 +0200, Peter Korsgaard wrote:
> >>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:
>
> Thomas> On Wed, 24 Oct 2012 09:16:50 +0200, Peter Korsgaard wrote:
> >> commit: http://git.buildroot.net/buildroot/commit/?id=5a61fbd82394f9bc9317535b717a2e1dd51dea7d
> >> branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
> >>
> >> Defaulting to UTC (which is what uClibc will default to when /etc/TZ is
> >> missing) seems more sensible than US Mountain Time Zone in the default
> >> rootfs skeleton.
>
> Thomas> And with glibc/eglibc?
>
> As far as I understand it (e)glibc doesn't use /etc/TZ:
>
> https://www.gnu.org/software/libc/manual/html_node/TZ-Variable.html
>
> https://www.kernel.org/pub/linux/libs/uclibc/Glibc_vs_uClibc_Differences.txt
>
> time functions
> --------------
> 1) Leap seconds are not supported.
> 2) /etc/timezone and the whole zoneinfo directory tree are not supported.
> To set the timezone, set the TZ environment variable as specified in
> http://www.opengroup.org/onlinepubs/007904975/basedefs/xbd_chap08.html
> or you may also create an /etc/TZ file of a single line, ending with a
> newline, containing the TZ setting. For example
> echo CST6CDT > /etc/TZ
> 3) Currently, locale specific eras and alternate digits are not supported.
> They are on my TODO list.
Ok. I know remember, on glibc I used /etc/localtime. I have patches
here that allow to configure the installation of a certain number of
zoneinfo files, and set a default zoneinfo, when glibc is used. I
should probably submit them someday.
Thanks for the clarification,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply
* [Buildroot] [git commit] fs/skeleton: remove /etc/TZ
From: Peter Korsgaard @ 2012-10-24 13:04 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20121024143009.23f6b698@skate>
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:
Thomas> On Wed, 24 Oct 2012 09:16:50 +0200, Peter Korsgaard wrote:
>> commit: http://git.buildroot.net/buildroot/commit/?id=5a61fbd82394f9bc9317535b717a2e1dd51dea7d
>> branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
>>
>> Defaulting to UTC (which is what uClibc will default to when /etc/TZ is
>> missing) seems more sensible than US Mountain Time Zone in the default
>> rootfs skeleton.
Thomas> And with glibc/eglibc?
As far as I understand it (e)glibc doesn't use /etc/TZ:
https://www.gnu.org/software/libc/manual/html_node/TZ-Variable.html
https://www.kernel.org/pub/linux/libs/uclibc/Glibc_vs_uClibc_Differences.txt
time functions
--------------
1) Leap seconds are not supported.
2) /etc/timezone and the whole zoneinfo directory tree are not supported.
To set the timezone, set the TZ environment variable as specified in
http://www.opengroup.org/onlinepubs/007904975/basedefs/xbd_chap08.html
or you may also create an /etc/TZ file of a single line, ending with a
newline, containing the TZ setting. For example
echo CST6CDT > /etc/TZ
3) Currently, locale specific eras and alternate digits are not supported.
They are on my TODO list.
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] Trying to BUMP libglib2 to a version >= 2.33.1
From: Vellemans, Noel @ 2012-10-24 12:52 UTC (permalink / raw)
To: buildroot
Hi all,
Trying to BUMP libglib2 to a version >= 2.33.1 ..
I've ran into a strange situation where I do not yet the clue.
When ever I try to build the new libglib2 version 2.33.1 .. it fails
... with the following error's):
/imx537/du8pe_NVL/host/usr/bin/../lib/gcc/arm-unknown-linux-uclibcgnueab
i/4.5.3/../../../../arm-unknown-linux-uclibcgnueabi/bin/ld: warning:
libgthread-2.0.so.0, needed by ../gobject/.libs/libgobject-2.0.so, not
found (try using -rpath or -rpath-link)
/imx537/du8pe_NVL/host/usr/bin/../lib/gcc/arm-unknown-linux-uclibcgnueab
i/4.5.3/../../../../arm-unknown-linux-uclibcgnueabi/bin/ld: warning:
libgmodule-2.0.so.0, needed by ./.libs/libgio-2.0.so, not found (try
using -rpath or -rpath-link)
./.libs/libgio-2.0.so: undefined reference to `g_module_close'
./.libs/libgio-2.0.so: undefined reference to `g_module_symbol'
./.libs/libgio-2.0.so: undefined reference to `g_module_supported'
BUT, when I did compile the old-version of libglib2 before, then, if I
build the libglib2-2.33.1 (afterwards) everything is building.....
In short it comes up to this: when building the 'old' version of
libglib2 before libglib2-2.33.1 everything builds, if not building the
old version of ligblib2 before building libglib2-2.33.1 it fails.
Any clue where to look at ?
Regards,
Noel
^ permalink raw reply
* [Buildroot] [PATCH 1/1] toolchain/uClibc: correct a slip of the pen
From: Thomas Petazzoni @ 2012-10-24 12:47 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20121024105439.5945.qmail@s221.sureserver.com>
Hello,
Your patch is OK on the idea, but it isn't properly formatted. If you
generate your patch with git format-patch, then could you use git
send-email to send it?
On Wed, 24 Oct 2012 18:54:39 +0800, liaoxinglong at icubecorp.com wrote:
> From 3c5a0047108cb10d8e5e3605f002e12d02c53102 Mon Sep 17 00:00:00 2001
> From: Xinglong Liao <liaoxinglong@icubecorp.com>
> Date: Wed, 24 Oct 2012 18:42:05 +0800
> Subject: [PATCH] toolchain/uClibc: correct a slip of the pen
The spaces between [PATCH] and toolchain/uClibc shouldn't be there
>
> UCLIB_EXTRA_CFLAGS->UCLIBC_EXTRA_CFLAGS
>
> Signed-off-by: Xinglong Liao <liaoxinglong@icubecorp.com>
Those lines shouldn't be indented.
Once this is fixed, your patch gets my:
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Best regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply
page: next (older) | prev (newer) | latest
- recent:[subjects (threaded)|topics (new)|topics (active)]
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox