* [Buildroot] [PATCH 1/2] package: instrument to gather timing data
From: Thomas Petazzoni @ 2011-10-09 16:17 UTC (permalink / raw)
To: buildroot
In-Reply-To: <cover.1318176666.git.thomas.petazzoni@free-electrons.com>
Instrument the package infrastructure to generate a
$(O)/build-time.data file which contains one line for each step of
each package and the corresponding duration in milliseconds.
The instrumentation is not perfect yet, as it doesn't account for
packages with overriden source directory and the build-time.data is
never removed, so results will accumulate if several partial builds
are done.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
package/Makefile.package.in | 28 ++++++++++++++++++++++++++++
1 files changed, 28 insertions(+), 0 deletions(-)
diff --git a/package/Makefile.package.in b/package/Makefile.package.in
index b5ef57b..605b518 100644
--- a/package/Makefile.package.in
+++ b/package/Makefile.package.in
@@ -254,6 +254,18 @@ define sep
endef
+define savetime
+ echo $$(($$(date +%s%N)/1000000)) > $(O)/.br.time
+endef
+
+define outputtime
+ newtime=`echo $$(($$(date +%s%N)/1000000))` ; \
+ oldtime=`cat $(O)/.br.time` ; \
+ rm -f .br.time ; \
+ timediff=$$(($$newtime-$$oldtime)) ; \
+ echo "$(1),$(2),$$timediff" >> $(O)/build-time.data
+endef
+
################################################################################
# Implicit targets -- produce a stamp file for each step of a package build
################################################################################
@@ -278,10 +290,12 @@ endif
$(BUILD_DIR)/%/.stamp_extracted:
@$(call MESSAGE,"Extracting")
$(Q)mkdir -p $(@D)
+ $(call savetime)
$($(PKG)_EXTRACT_CMDS)
# some packages have messed up permissions inside
$(Q)chmod -R +rw $(@D)
$(foreach hook,$($(PKG)_POST_EXTRACT_HOOKS),$(call $(hook))$(sep))
+ $(call outputtime,$($(PKG)_NAME),extract)
$(Q)touch $@
# Rsync the source directory if the <pkg>_OVERRIDE_SRCDIR feature is
@@ -311,6 +325,7 @@ endif
$(BUILD_DIR)/%/.stamp_patched: NAMEVER = $(RAWNAME)-$($(PKG)_VERSION)
$(BUILD_DIR)/%/.stamp_patched:
@$(call MESSAGE,"Patching $($(PKG)_DIR_PREFIX)/$(RAWNAME)")
+ $(call savetime)
$(foreach hook,$($(PKG)_PRE_PATCH_HOOKS),$(call $(hook))$(sep))
$(if $($(PKG)_PATCH),support/scripts/apply-patches.sh $(@D) $(DL_DIR) $($(PKG)_PATCH))
$(Q)( \
@@ -326,49 +341,62 @@ $(BUILD_DIR)/%/.stamp_patched:
fi; \
)
$(foreach hook,$($(PKG)_POST_PATCH_HOOKS),$(call $(hook))$(sep))
+ $(call outputtime,$($(PKG)_NAME),patch)
$(Q)touch $@
# Configure
$(BUILD_DIR)/%/.stamp_configured:
+ $(call savetime)
$(foreach hook,$($(PKG)_PRE_CONFIGURE_HOOKS),$(call $(hook))$(sep))
@$(call MESSAGE,"Configuring")
$($(PKG)_CONFIGURE_CMDS)
$(foreach hook,$($(PKG)_POST_CONFIGURE_HOOKS),$(call $(hook))$(sep))
+ $(call outputtime,$($(PKG)_NAME),configure)
$(Q)touch $@
# Build
$(BUILD_DIR)/%/.stamp_built::
@$(call MESSAGE,"Building")
+ $(call savetime)
$($(PKG)_BUILD_CMDS)
$(foreach hook,$($(PKG)_POST_BUILD_HOOKS),$(call $(hook))$(sep))
+ $(call outputtime,$($(PKG)_NAME),build)
$(Q)touch $@
# Install to host dir
$(BUILD_DIR)/%/.stamp_host_installed:
@$(call MESSAGE,"Installing to host directory")
+ $(call savetime)
$($(PKG)_INSTALL_CMDS)
$(foreach hook,$($(PKG)_POST_INSTALL_HOOKS),$(call $(hook))$(sep))
+ $(call outputtime,$($(PKG)_NAME),install-host)
$(Q)touch $@
# Install to staging dir
$(BUILD_DIR)/%/.stamp_staging_installed:
@$(call MESSAGE,"Installing to staging directory")
+ $(call savetime)
$($(PKG)_INSTALL_STAGING_CMDS)
$(foreach hook,$($(PKG)_POST_INSTALL_STAGING_HOOKS),$(call $(hook))$(sep))
+ $(call outputtime,$($(PKG)_NAME),install-staging)
$(Q)touch $@
# Install to images dir
$(BUILD_DIR)/%/.stamp_images_installed:
@$(call MESSAGE,"Installing to images directory")
+ $(call savetime)
$($(PKG)_INSTALL_IMAGES_CMDS)
$(foreach hook,$($(PKG)_POST_INSTALL_IMAGES_HOOKS),$(call $(hook))$(sep))
+ $(call outputtime,$($(PKG)_NAME),install-images)
$(Q)touch $@
# Install to target dir
$(BUILD_DIR)/%/.stamp_target_installed:
@$(call MESSAGE,"Installing to target")
+ $(call savetime)
$($(PKG)_INSTALL_TARGET_CMDS)
$(foreach hook,$($(PKG)_POST_INSTALL_TARGET_HOOKS),$(call $(hook))$(sep))
+ $(call outputtime,$($(PKG)_NAME),install-target)
$(Q)touch $@
# Clean package
--
1.7.4.1
^ permalink raw reply related
* [Buildroot] [RFC] Build time graph generation
From: Thomas Petazzoni @ 2011-10-09 16:17 UTC (permalink / raw)
To: buildroot
Hello,
Here are two patches that implement a simple modification of the
package infrastructure to output some timing data about the duration
taken by each step for each package, and then a small Python script
that generates graphs from those informations.
I am not sure that there is any useful usage of those graphs, but it's
fun and there are nice to look at.
Here are some sample graphs, first on a moderately large package set:
http://free-electrons.com/~thomas/pub/buildroot/graph-time/big/histogram-build-order.pdf
http://free-electrons.com/~thomas/pub/buildroot/graph-time/big/histogram-duration-order.pdf
http://free-electrons.com/~thomas/pub/buildroot/graph-time/big/pie-packages.pdf
http://free-electrons.com/~thomas/pub/buildroot/graph-time/big/pie-steps.pdf
and then on a smaller package set:
http://free-electrons.com/~thomas/pub/buildroot/graph-time/small/histogram-build-order.pdf
http://free-electrons.com/~thomas/pub/buildroot/graph-time/small/histogram-duration-order.pdf
http://free-electrons.com/~thomas/pub/buildroot/graph-time/small/pie-packages.pdf
http://free-electrons.com/~thomas/pub/buildroot/graph-time/small/pie-steps.pdf
I don't think the modification to the package infrastructure is ready
for merging (there are many cases not handled, like when the timing
data should be cleaned up, the case of overriden packages not being
handled, etc.) and I am not even sure it is useful to complicate the
package infrastructure with such a not-so-useful feature.
Regards,
Thomas
The following changes since commit ddb8c639c312fd9f65dbb123837c100281495d50:
libplayer: mark python bindings as broken (2011-10-08 22:39:29 +0200)
are available in the git repository at:
http://free-electrons.com/~thomas/buildroot.git for-2011.11/graph-build-time
Thomas Petazzoni (2):
package: instrument to gather timing data
graph-build-time: generate graphs based on timing data
package/Makefile.package.in | 28 ++++
support/scripts/graph-build-time | 252 ++++++++++++++++++++++++++++++++++++++
2 files changed, 280 insertions(+), 0 deletions(-)
create mode 100755 support/scripts/graph-build-time
Thanks,
--
Thomas Petazzoni
^ permalink raw reply
* [Buildroot] [PATCH v2] dejavu-fonts: add new package
From: Klaus Schwarzkopf @ 2011-10-09 11:15 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1318069406-21518-1-git-send-email-schwarzkopf@sensortherm.de>
Add new package dejavu-fonts. The DejaVu fonts are a font family
based on the Vera Fonts. http://dejavu-fonts.org/wiki/Main_Page
Signed-off-by: Klaus Schwarzkopf <schwarzkopf@sensortherm.de>
---
package/Config.in | 1 +
package/dejavu-fonts/Config.in | 7 +++++++
package/dejavu-fonts/dejavu-fonts.mk | 16 ++++++++++++++++
3 files changed, 24 insertions(+), 0 deletions(-)
create mode 100644 package/dejavu-fonts/Config.in
create mode 100644 package/dejavu-fonts/dejavu-fonts.mk
diff --git a/package/Config.in b/package/Config.in
index 7112e05..3dac85c 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -276,6 +276,7 @@ source "package/cairo/Config.in"
source "package/fltk/Config.in"
source "package/fontconfig/Config.in"
source "package/freetype/Config.in"
+source "package/dejavu-fonts/Config.in"
source "package/gtk2-engines/Config.in"
source "package/gtk2-themes/Config.in"
source "package/jpeg/Config.in"
diff --git a/package/dejavu-fonts/Config.in b/package/dejavu-fonts/Config.in
new file mode 100644
index 0000000..63ef5e2
--- /dev/null
+++ b/package/dejavu-fonts/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_DEJAVU_FONTS
+ bool "dejavu fonts"
+ help
+ The DejaVu fonts are a font family
+ based on the Vera Fonts.
+
+ http://dejavu-fonts.org/wiki/Main_Page
diff --git a/package/dejavu-fonts/dejavu-fonts.mk b/package/dejavu-fonts/dejavu-fonts.mk
new file mode 100644
index 0000000..e0c79f3
--- /dev/null
+++ b/package/dejavu-fonts/dejavu-fonts.mk
@@ -0,0 +1,16 @@
+#############################################################
+#
+# dejavu fonts
+#
+#############################################################
+
+DEJAVU_FONTS_VERSION = 2.33
+DEJAVU_FONTS_SOURCE = dejavu-fonts-ttf-$(DEJAVU_FONTS_VERSION).tar.bz2
+DEJAVU_FONTS_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/project/dejavu/dejavu/$(DEJAVU_FONTS_VERSION)/
+
+define DEJAVU_FONTS_INSTALL_TARGET_CMDS
+ mkdir -p $(TARGET_DIR)/usr/lib/fonts
+ cp -a $(@D)/ttf/*.ttf $(TARGET_DIR)/usr/lib/fonts
+endef
+
+$(eval $(call GENTARGETS))
--
1.7.0.4
^ permalink raw reply related
* [Buildroot] error building kernel with initramfs
From: Peter Korsgaard @ 2011-10-08 21:55 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1318027748.4647.3.camel@bender>
>>>>> "Sven" == Sven Neumann <s.neumann@raumfeld.com> writes:
Sven> Hi,
Sven> if you select gzip compression for the rootfs.cpio file
Sven> (BR2_TARGET_ROOTFS_CPIO_GZIP), then the rebuild of the kernel with
Sven> initramfs is going to fail:
Odd, that's not what I'm seeing here.
in fs/common.mk the compression stuff is handled by creating the
compressed variant IN ADDITION to the uncompressed file, E.G.:
gzip -9 -c /home/peko/source/buildroot/test/images/rootfs.cpio > \
/home/peko/source/buildroot/test/images/rootfs.cpio.gz
So output/images/rootfs.cpio still exists when the kernel is rebuilt.
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] [PATCH] noip: new package
From: Peter Korsgaard @ 2011-10-08 21:24 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1318027141-1026-1-git-send-email-gustavo@zacarias.com.ar>
>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:
Gustavo> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Gustavo> +NOIP_VERSION = 2.1.9
Gustavo> +NOIP_SITE = http://www.no-ip.com/client/linux
Gustavo> +NOIP_SOURCE = noip-duc-linux.tar.gz
Gustavo> +
Gustavo> +define NOIP_BUILD_CMDS
Gustavo> + sed -i -e "s:\(#define CONFIG_FILENAME\).*:\1 \"/etc/no-ip2.conf\":" \
Gustavo> + $(@D)/noip2.c
Gustavo> + $(MAKE) -C $(@D) CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" \
Gustavo> + PREFIX=/usr CONFDIR=/etc
Gustavo> +endef
Gustavo> +
Gustavo> +define NOIP_INSTALL_TARGET_CMDS
Gustavo> + $(INSTALL) $(@D)/noip2 $(TARGET_DIR)/usr/sbin/noip2
this should be install -D -m 0755 for proper permissions / handling of
skeleton without /usr/sbin.
I've fixed that and committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] [git commit] noip: new package
From: Peter Korsgaard @ 2011-10-08 21:22 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=cec7128dc1a30880523011a115ff52d7a27c403d
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
[Peter: use install -D / proper permissions]
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
package/Config.in | 1 +
package/noip/Config.in | 6 ++++++
package/noip/noip.mk | 30 ++++++++++++++++++++++++++++++
3 files changed, 37 insertions(+), 0 deletions(-)
diff --git a/package/Config.in b/package/Config.in
index 904ebb6..7dc8887 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -443,6 +443,7 @@ endif
source "package/netplug/Config.in"
source "package/netsnmp/Config.in"
source "package/netstat-nat/Config.in"
+source "package/noip/Config.in"
source "package/nfs-utils/Config.in"
source "package/ngircd/Config.in"
source "package/ngrep/Config.in"
diff --git a/package/noip/Config.in b/package/noip/Config.in
new file mode 100644
index 0000000..02039dd
--- /dev/null
+++ b/package/noip/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_NOIP
+ bool "noip"
+ help
+ Dynamic DNS update client for no-ip.com
+
+ http://www.no-ip.com/downloads.php
diff --git a/package/noip/noip.mk b/package/noip/noip.mk
new file mode 100644
index 0000000..0fe427a
--- /dev/null
+++ b/package/noip/noip.mk
@@ -0,0 +1,30 @@
+#############################################################
+#
+# noip
+#
+#############################################################
+
+NOIP_VERSION = 2.1.9
+NOIP_SITE = http://www.no-ip.com/client/linux
+NOIP_SOURCE = noip-duc-linux.tar.gz
+
+define NOIP_BUILD_CMDS
+ sed -i -e "s:\(#define CONFIG_FILENAME\).*:\1 \"/etc/no-ip2.conf\":" \
+ $(@D)/noip2.c
+ $(MAKE) -C $(@D) CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" \
+ PREFIX=/usr CONFDIR=/etc
+endef
+
+define NOIP_INSTALL_TARGET_CMDS
+ $(INSTALL) -m 0755 -D $(@D)/noip2 $(TARGET_DIR)/usr/sbin/noip2
+endef
+
+define NOIP_UNINSTALL_TARGET_CMDS
+ rm -f "$(TARGET_DIR)/usr/sbin/noip2"
+endef
+
+define NOIP_CLEAN_CMDS
+ $(MAKE) -C $(@D) clean
+endef
+
+$(eval $(call GENTARGETS))
^ permalink raw reply related
* [Buildroot] [git commit] poco: unbreak mysql support
From: Peter Korsgaard @ 2011-10-08 21:06 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=610d64b4b934caff1772ce3d30546b53cba53d34
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Update patch to also pass include directory for mysql headers, and get
rid of host directories in -L / -I arguments. Finally look in
staging rather than target for libmysqlclient.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
.../poco-1.4.2p1-add-staging-search-path.patch | 9 +++++----
package/poco/poco.mk | 3 ++-
2 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/package/poco/poco-1.4.2p1-add-staging-search-path.patch b/package/poco/poco-1.4.2p1-add-staging-search-path.patch
index 18ee076..638ee2a 100644
--- a/package/poco/poco-1.4.2p1-add-staging-search-path.patch
+++ b/package/poco/poco-1.4.2p1-add-staging-search-path.patch
@@ -2,9 +2,10 @@ From: Baruch Siach <baruch@tkos.co.il>
Subject: [PATCH] poco: add the staging path to search path
Add the mysql headers and client libraries to the search path of the
-preprocessor and the linker. The $MYSQL_LIBDIR variable must be set from the
-make command line.
+preprocessor and the linker. The $MYSQL_LIBDIR / $MYSQL_INCIDR variables
+must be set from the make command line.
+[Peter: Remove host dirs, add MYSQL_INCDIR]
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
--- poco-1.4.1p1-all-dist/Data/MySQL/Makefile 2011-02-09 11:13:00.000000000 +0200
@@ -15,8 +16,8 @@ Signed-off-by: Baruch Siach <baruch@tkos.co.il>
-SYSLIBS += -L/usr/local/lib/mysql -L/usr/lib/mysql -L/usr/mysql/lib/mysql -L/usr/local/mysql/lib -lmysqlclient
-INCLUDE += -I/usr/local/include/mysql/ -I/usr/include/mysql -I/usr/mysql/include/mysql -I/usr/local/mysql/include
-+SYSLIBS += -L$(MYSQL_LIBDIR) -L/usr/local/lib/mysql -L/usr/lib/mysql -L/usr/mysql/lib/mysql -L/usr/local/mysql/lib -lmysqlclient
-+INCLUDE += -I/usr/local/include/mysql/ -I/usr/include/mysql -I/usr/mysql/include/mysql -I/usr/local/mysql/include -I=/mysql
++SYSLIBS += -L$(MYSQL_LIBDIR) -lmysqlclient
++INCLUDE += -I$(MYSQL_INCDIR)
SYSFLAGS += -DTHREADSAFE -DNO_TCL
objects = Binder Extractor SessionImpl Connector \
diff --git a/package/poco/poco.mk b/package/poco/poco.mk
index 4823935..5d07972 100644
--- a/package/poco/poco.mk
+++ b/package/poco/poco.mk
@@ -43,7 +43,8 @@ endef
define POCO_BUILD_CMDS
$(MAKE) POCO_TARGET_OSARCH=$(ARCH) CROSSENV=$(TARGET_CROSS) \
- MYSQL_LIBDIR=$(TARGET_DIR)/usr/lib/mysql -C $(@D)
+ MYSQL_LIBDIR=$(STAGING_DIR)/usr/lib/mysql \
+ MYSQL_INCDIR=$(STAGING_DIR)/usr/include/mysql -C $(@D)
endef
define POCO_INSTALL_STAGING_CMDS
^ permalink raw reply related
* [Buildroot] [git commit] libplayer: mark python bindings as broken
From: Peter Korsgaard @ 2011-10-08 20:39 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=ddb8c639c312fd9f65dbb123837c100281495d50
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
As it doesn't build.
- upstream didn't adjust player_init call when prototype changed:
http://hg.geexbox.org/libplayer/rev/e3705df5ce2e
- It tries to build the extension for the host, and not the target:
building 'player' extension
/usr/bin/gcc -pthread -fno-strict-aliasing -O2 ..
/usr/bin/ld: skipping incompatible ./../../src/libplayer.so when
searching for -lplayer.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
package/multimedia/libplayer/Config.in | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/package/multimedia/libplayer/Config.in b/package/multimedia/libplayer/Config.in
index c9add53..fe851ac 100644
--- a/package/multimedia/libplayer/Config.in
+++ b/package/multimedia/libplayer/Config.in
@@ -23,6 +23,7 @@ comment "gstreamer backend requires a toolchain with WCHAR support"
config BR2_PACKAGE_LIBPLAYER_PYTHON
depends on BR2_PACKAGE_PYTHON
+ depends on BROKEN # player_init params, builds for host
bool "Libplayer python bindings"
endif
^ permalink raw reply related
* [Buildroot] [git commit] lite: unbreak build
From: Peter Korsgaard @ 2011-10-08 19:49 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=0fccab65a3006d67a1805f30ca7f1af41c98e14d
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
lite breaks because of a conflict with 'stat'. Fix taken from LiTE git.
At the same time rename and fixup no-tests patch to apply.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
package/lite/lite-dfbspy-stat.patch | 53 ++++++++++++++++++++
.../lite/{no_tests.patch => lite-no-tests.patch} | 4 +-
2 files changed, 55 insertions(+), 2 deletions(-)
diff --git a/package/lite/lite-dfbspy-stat.patch b/package/lite/lite-dfbspy-stat.patch
new file mode 100644
index 0000000..5ca7369
--- /dev/null
+++ b/package/lite/lite-dfbspy-stat.patch
@@ -0,0 +1,53 @@
+From upstream git (git://git.directfb.org/git/directfb/libs/LiTE.git)
+
+From ffe0ce78327a63ddb1265328ea9b5b03acdca019 Mon Sep 17 00:00:00 2001
+From: Denis Oliver Kropp <dok@directfb.org>
+Date: Fri, 1 Apr 2011 20:20:26 +0200
+Subject: [PATCH] dfbspy: Build fix for dfbspy example.
+
+---
+ examples/dfbspy.c | 20 ++++++++++----------
+ 1 files changed, 10 insertions(+), 10 deletions(-)
+
+diff --git a/examples/dfbspy.c b/examples/dfbspy.c
+index 5f36f0b..c7f9725 100644
+--- a/examples/dfbspy.c
++++ b/examples/dfbspy.c
+@@ -89,9 +89,9 @@ read_stat( FusionStat *stat, int world )
+
+ /**************************************************************************************************/
+
+-#define CALC(x) stat.x = (int)(((s.x - last_stat.x) * 1000 / (float) diff) + 0.5f)
++#define CALC(x) stats.x = (int)(((s.x - last_stat.x) * 1000 / (float) diff) + 0.5f)
+
+-static FusionStat last_stat, stat;
++static FusionStat last_stat, stats;
+ static long long last_millis;
+
+ static int
+@@ -145,14 +145,14 @@ static const struct {
+ void (*update)( LiteLabel *label, void *ctx );
+ void *ctx;
+ } list[] = {
+- { "lease/purchase", update_number, &stat.lease_purchase },
+- { "cede", update_number, &stat.cede },
+- { "attach", update_number, &stat.attach },
+- { "detach", update_number, &stat.detach },
+- { "ref up", update_number, &stat.ref_up },
+- { "ref down", update_number, &stat.ref_down },
+- { "prevail/swoop", update_number, &stat.prevail_swoop },
+- { "dismiss", update_number, &stat.dismiss }
++ { "lease/purchase", update_number, &stats.lease_purchase },
++ { "cede", update_number, &stats.cede },
++ { "attach", update_number, &stats.attach },
++ { "detach", update_number, &stats.detach },
++ { "ref up", update_number, &stats.ref_up },
++ { "ref down", update_number, &stats.ref_down },
++ { "prevail/swoop", update_number, &stats.prevail_swoop },
++ { "dismiss", update_number, &stats.dismiss }
+ };
+
+ #define NUM_LIST (sizeof(list)/sizeof(list[0]))
+--
+1.7.6.3
+
diff --git a/package/lite/no_tests.patch b/package/lite/lite-no-tests.patch
similarity index 73%
rename from package/lite/no_tests.patch
rename to package/lite/lite-no-tests.patch
index c6e8092..3a47186 100644
--- a/package/lite/no_tests.patch
+++ b/package/lite/lite-no-tests.patch
@@ -1,5 +1,5 @@
---- Makefile.in.orig 2008-07-07 13:07:12.000000000 +0200
-+++ Makefile.in 2008-07-07 13:07:05.000000000 +0200
+--- a/Makefile.in.orig 2008-07-07 13:07:12.000000000 +0200
++++ b/Makefile.in 2008-07-07 13:07:05.000000000 +0200
@@ -202,7 +202,7 @@
target_vendor = @target_vendor@
top_builddir = @top_builddir@
^ permalink raw reply related
* [Buildroot] [PATCH 1/2] busybox: add 1.19.2 tftp fix
From: Peter Korsgaard @ 2011-10-08 11:47 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1318019342-32624-1-git-send-email-gustavo@zacarias.com.ar>
>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:
Gustavo> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] [git commit] busybox: add 1.19.2 tftp fix
From: Peter Korsgaard @ 2011-10-08 11:45 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=41ea5c9ff3f317a6eacc9266ddc79899c1f90d1f
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
.../busybox-1.19.2/busybox-1.19.2-tftp.patch | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/package/busybox/busybox-1.19.2/busybox-1.19.2-tftp.patch b/package/busybox/busybox-1.19.2/busybox-1.19.2-tftp.patch
new file mode 100644
index 0000000..15dc9e1
--- /dev/null
+++ b/package/busybox/busybox-1.19.2/busybox-1.19.2-tftp.patch
@@ -0,0 +1,12 @@
+--- busybox-1.19.2/networking/tftp.c
++++ busybox-1.19.2-tftp/networking/tftp.c
+@@ -813,7 +813,8 @@ int tftpd_main(int argc UNUSED_PARAM, ch
+ goto err;
+ }
+ mode = local_file + strlen(local_file) + 1;
+- if (mode >= block_buf + result || strcmp(mode, "octet") != 0) {
++ /* RFC 1350 says mode string is case independent */
++ if (mode >= block_buf + result || strcasecmp(mode, "octet") != 0) {
+ goto err;
+ }
+ # if ENABLE_FEATURE_TFTP_BLOCKSIZE
^ permalink raw reply related
* [Buildroot] [PATCH] lsof: bump to version 4.85
From: Peter Korsgaard @ 2011-10-08 11:45 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1318001121-2747-1-git-send-email-gustavo@zacarias.com.ar>
>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:
Gustavo> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] [PATCH] dejavu-fonts: add new package
From: Thomas Petazzoni @ 2011-10-08 11:31 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1318069406-21518-1-git-send-email-schwarzkopf@sensortherm.de>
Hello Klaus,
Thanks for this package!
Le Sat, 8 Oct 2011 12:23:26 +0200,
Klaus Schwarzkopf <schwarzkopf@sensortherm.de> a ?crit :
> +config BR2_PACKAGE_DEJAVU_FONTS
> + bool "dejavu fonts"
> + help
> + The DejaVu fonts are a font family
> + based on the Vera Fonts.
> +
> + http://dejavu-fonts.org/wiki/Main_Page
Indentation for the help text is one tab + two spaces.
> +DEJAVU_FONTS_VERSION:=2.33
> +DEJAVU_FONTS_SOURCE:=dejavu-fonts-ttf-$(DEJAVU_FONTS_VERSION).tar.bz2
> +DEJAVU_FONTS_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/project/dejavu/dejavu/$(DEJAVU_FONTS_VERSION)/
Please use '=' instead of ':='
> +$(eval $(call GENTARGETS,package,dejavu-fonts))
This should be:
$(eval $(call GENTARGETS))
in the latest Git version of Buildroot.
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
* [Buildroot] [PATCH] dejavu-fonts: add new package
From: Klaus Schwarzkopf @ 2011-10-08 10:23 UTC (permalink / raw)
To: buildroot
Add new package dejavu-fonts. The DejaVu fonts are a font family
based on the Vera Fonts. http://dejavu-fonts.org/wiki/Main_Page
Signed-off-by: Klaus Schwarzkopf <schwarzkopf@sensortherm.de>
---
package/Config.in | 1 +
package/dejavu-fonts/Config.in | 7 +++++++
package/dejavu-fonts/dejavu-fonts.mk | 16 ++++++++++++++++
3 files changed, 24 insertions(+), 0 deletions(-)
create mode 100644 package/dejavu-fonts/Config.in
create mode 100644 package/dejavu-fonts/dejavu-fonts.mk
diff --git a/package/Config.in b/package/Config.in
index 7112e05..3dac85c 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -276,6 +276,7 @@ source "package/cairo/Config.in"
source "package/fltk/Config.in"
source "package/fontconfig/Config.in"
source "package/freetype/Config.in"
+source "package/dejavu-fonts/Config.in"
source "package/gtk2-engines/Config.in"
source "package/gtk2-themes/Config.in"
source "package/jpeg/Config.in"
diff --git a/package/dejavu-fonts/Config.in b/package/dejavu-fonts/Config.in
new file mode 100644
index 0000000..a9de9b5
--- /dev/null
+++ b/package/dejavu-fonts/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_DEJAVU_FONTS
+ bool "dejavu fonts"
+ help
+ The DejaVu fonts are a font family
+ based on the Vera Fonts.
+
+ http://dejavu-fonts.org/wiki/Main_Page
diff --git a/package/dejavu-fonts/dejavu-fonts.mk b/package/dejavu-fonts/dejavu-fonts.mk
new file mode 100644
index 0000000..7998199
--- /dev/null
+++ b/package/dejavu-fonts/dejavu-fonts.mk
@@ -0,0 +1,16 @@
+#############################################################
+#
+# dejavu fonts
+#
+#############################################################
+
+DEJAVU_FONTS_VERSION:=2.33
+DEJAVU_FONTS_SOURCE:=dejavu-fonts-ttf-$(DEJAVU_FONTS_VERSION).tar.bz2
+DEJAVU_FONTS_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/project/dejavu/dejavu/$(DEJAVU_FONTS_VERSION)/
+
+define DEJAVU_FONTS_INSTALL_TARGET_CMDS
+ mkdir -p $(TARGET_DIR)/usr/lib/fonts
+ cp -a $(@D)/ttf/*.ttf $(TARGET_DIR)/usr/lib/fonts
+endef
+
+$(eval $(call GENTARGETS,package,dejavu-fonts))
--
1.7.0.4
^ permalink raw reply related
* [Buildroot] error building kernel with initramfs
From: Thomas Petazzoni @ 2011-10-08 8:31 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1318027748.4647.3.camel@bender>
Le Sat, 08 Oct 2011 00:49:08 +0200,
Sven Neumann <s.neumann@raumfeld.com> a ?crit :
> I guess the fix for this is to change fs/initramfs/Config.in to select
> BR2_TARGET_ROOTFS_CPIO_NONE, right ?
Yes, I guess so.
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] error building kernel with initramfs
From: Sven Neumann @ 2011-10-07 22:49 UTC (permalink / raw)
To: buildroot
Hi,
if you select gzip compression for the rootfs.cpio file
(BR2_TARGET_ROOTFS_CPIO_GZIP), then the rebuild of the kernel with
initramfs is going to fail:
^[[7m>>> Generating root filesystem image rootfs.cpio^[[27m
if [ ! -e /var/lib/buildbot/build-arm-1.8/build/output/target/init ]; then /usr/bin/install -m 0755 fs/cpio/init /var/lib/buildbot/build-arm-1.8/build/output/target/init; fi
rm -f /var/lib/buildbot/build-arm-1.8/build/output/build/_fakeroot.fs
touch /var/lib/buildbot/build-arm-1.8/build/output/build/.fakeroot.00000
cat /var/lib/buildbot/build-arm-1.8/build/output/build/.fakeroot* > /var/lib/buildbot/build-arm-1.8/build/output/build/_fakeroot.fs
echo "chown -R 0:0 /var/lib/buildbot/build-arm-1.8/build/output/target" >> /var/lib/buildbot/build-arm-1.8/build/output/build/_fakeroot.fs
cat target/generic/device_table.txt > /var/lib/buildbot/build-arm-1.8/build/output/build/_device_table.txt
echo "/var/lib/buildbot/build-arm-1.8/build/output/host/usr/bin/makedevs -d /var/lib/buildbot/build-arm-1.8/build/output/build/_device_table.txt /var/lib/buildbot/build-arm-1.8/build/output/target" >> /var/lib/buildbot/build-arm-1.8/build/output/build/_fakeroot.fs
echo " cd /var/lib/buildbot/build-arm-1.8/build/output/target && find . | cpio --quiet -o -H newc > /var/lib/buildbot/build-arm-1.8/build/output/images/rootfs.cpio" >> /var/lib/buildbot/build-arm-1.8/build/output/build/_fakeroot.fs
chmod a+x /var/lib/buildbot/build-arm-1.8/build/output/build/_fakeroot.fs
/var/lib/buildbot/build-arm-1.8/build/output/host/usr/bin/fakeroot -- /var/lib/buildbot/build-arm-1.8/build/output/build/_fakeroot.fs
rootdir=/var/lib/buildbot/build-arm-1.8/build/output/target
table='/var/lib/buildbot/build-arm-1.8/build/output/build/_device_table.txt'
gzip -9 -f /var/lib/buildbot/build-arm-1.8/build/output/images/rootfs.cpio
^[[7m>>> Rebuilding kernel with initramfs^[[27m
# Build the kernel.
PATH="/var/lib/buildbot/build-arm-1.8/build/output/host/bin:/var/lib/buildbot/build-arm-1.8/build/output/host/usr/bin:/var/lib/buildbot/build-arm-1.8/build/output/host/usr/sbin/:/usr/local/bin:/usr/bin:/bin:/usr/games" PERLLIB="/var/lib/buildbot/build-arm-1.8/build/output/host/usr/lib/perl" /usr/bin/make -j4 HOSTCC="/usr/bin/gcc" HOSTCFLAGS="" ARCH=arm INSTALL_MOD_PATH=/var/lib/buildbot/build-arm-1.8/build/output/target CROSS_COMPILE=" /var/lib/buildbot/build-arm-1.8/build/output/host/usr/bin/arm-unknown-linux-uclibcgnueabi-" LZMA="/var/lib/buildbot/build-arm-1.8/build/output/host/usr/bin/lzma" -C /var/lib/buildbot/build-arm-1.8/build/output/build/linux-3.0.4 uImage
make[1]: Entering directory `/var/lib/buildbot/build-arm-1.8/build/output/build/linux-3.0.4'
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[2]: `include/generated/mach-types.h' is up to date.
CALL scripts/checksyscalls.sh
/var/lib/buildbot/build-arm-1.8/build/output/build/linux-3.0.4/scripts/gen_initramfs_list.sh: Cannot open '/var/lib/buildbot/build-arm-1.8/build/output/images/rootfs.cpio'
make[2]: *** [usr/initramfs_data.cpio.gz] Error 1
CHK include/generated/compile.h
make[1]: *** [usr] Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: *** wait: No child processes. Stop.
make: *** [/var/lib/buildbot/build-arm-1.8/build/output/build/linux-3.0.4/.stamp_initramfs_rebuilt] Error 2
I guess the fix for this is to change fs/initramfs/Config.in to select
BR2_TARGET_ROOTFS_CPIO_NONE, right ?
Sven
^ permalink raw reply
* [Buildroot] [PATCH] noip: new package
From: Gustavo Zacarias @ 2011-10-07 22:39 UTC (permalink / raw)
To: buildroot
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
package/Config.in | 1 +
package/noip/Config.in | 6 ++++++
package/noip/noip.mk | 30 ++++++++++++++++++++++++++++++
3 files changed, 37 insertions(+), 0 deletions(-)
create mode 100644 package/noip/Config.in
create mode 100644 package/noip/noip.mk
diff --git a/package/Config.in b/package/Config.in
index 6cd3796..9e27ff8 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -445,6 +445,7 @@ endif
source "package/netplug/Config.in"
source "package/netsnmp/Config.in"
source "package/netstat-nat/Config.in"
+source "package/noip/Config.in"
source "package/nfs-utils/Config.in"
source "package/ngircd/Config.in"
source "package/ngrep/Config.in"
diff --git a/package/noip/Config.in b/package/noip/Config.in
new file mode 100644
index 0000000..02039dd
--- /dev/null
+++ b/package/noip/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_NOIP
+ bool "noip"
+ help
+ Dynamic DNS update client for no-ip.com
+
+ http://www.no-ip.com/downloads.php
diff --git a/package/noip/noip.mk b/package/noip/noip.mk
new file mode 100644
index 0000000..0ac3368
--- /dev/null
+++ b/package/noip/noip.mk
@@ -0,0 +1,30 @@
+#############################################################
+#
+# noip
+#
+#############################################################
+
+NOIP_VERSION = 2.1.9
+NOIP_SITE = http://www.no-ip.com/client/linux
+NOIP_SOURCE = noip-duc-linux.tar.gz
+
+define NOIP_BUILD_CMDS
+ sed -i -e "s:\(#define CONFIG_FILENAME\).*:\1 \"/etc/no-ip2.conf\":" \
+ $(@D)/noip2.c
+ $(MAKE) -C $(@D) CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" \
+ PREFIX=/usr CONFDIR=/etc
+endef
+
+define NOIP_INSTALL_TARGET_CMDS
+ $(INSTALL) $(@D)/noip2 $(TARGET_DIR)/usr/sbin/noip2
+endef
+
+define NOIP_UNINSTALL_TARGET_CMDS
+ rm -f "$(TARGET_DIR)/usr/sbin/noip2"
+endef
+
+define NOIP_CLEAN_CMDS
+ $(MAKE) -C $(@D) clean
+endef
+
+$(eval $(call GENTARGETS))
--
1.7.3.4
^ permalink raw reply related
* [Buildroot] Call For Participation: buildroot + crosstool-NG Developpers' Day
From: Yann E. MORIN @ 2011-10-07 20:45 UTC (permalink / raw)
To: buildroot
Hello All!
This is a reminder to, well, remind you about the joint crosstool-NG
and buildroot developpers' day on October the 29th, 2011 (the day after
ELC-E and LinuxCon), in Prague, Czech Republic.
If you attend these conferences (and you definitely should!), and
happen to use either project, or are just curious, you are welcome
to join and discuss and influence the future for those projects!
The agenda is not final, but you can see a preliminary list of points
that will be addressed in the previous email [1]. Also, the exact
location should be announced shortly, but expect a place where one
can order coffee! :-)
We are looking forward to meeting you in Prague!
Peter KORSGAARD, buildroot.org
Thomas PETAZONNI, buildroot.org
Yann E. MORIN, crosstool-NG.org
[1] http://sourceware.org/ml/crossgcc/2011-08/msg00034.html
http://lists.busybox.net/pipermail/buildroot/2011-August/045066.html
--
.-----------------.--------------------.------------------.--------------------.
| 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] [PATCH 2/2] jimsh: new package
From: Gustavo Zacarias @ 2011-10-07 20:29 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1318019342-32624-1-git-send-email-gustavo@zacarias.com.ar>
Add new jimsh package - a lightweight tclsh alternative.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
package/Config.in | 1 +
package/jimsh/Config.in | 6 ++++++
package/jimsh/jimsh.mk | 29 +++++++++++++++++++++++++++++
3 files changed, 36 insertions(+), 0 deletions(-)
create mode 100644 package/jimsh/Config.in
create mode 100644 package/jimsh/jimsh.mk
diff --git a/package/Config.in b/package/Config.in
index 904ebb6..757a4cd 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -222,6 +222,7 @@ endmenu
menu "Interpreter languages and scripting"
source "package/haserl/Config.in"
source "package/java/jamvm/Config.in"
+source "package/jimsh/Config.in"
source "package/lua/Config.in"
if BR2_PACKAGE_LUA
menu "LUA libraries/modules"
diff --git a/package/jimsh/Config.in b/package/jimsh/Config.in
new file mode 100644
index 0000000..82d8aea
--- /dev/null
+++ b/package/jimsh/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_JIMSH
+ bool "jimsh"
+ help
+ A small footprint implementation of the Tcl programming language.
+
+ http://jim.berlios.de
diff --git a/package/jimsh/jimsh.mk b/package/jimsh/jimsh.mk
new file mode 100644
index 0000000..b1cf5ac
--- /dev/null
+++ b/package/jimsh/jimsh.mk
@@ -0,0 +1,29 @@
+#############################################################
+#
+# jimsh
+#
+#############################################################
+
+JIMSH_VERSION = fbbc8e0b402adb4b0c8d3976015fe4a82c94560f
+JIMSH_SITE = git://repo.or.cz/jimtcl.git
+
+ifneq ($(BR2_PACKAGE_TCL),y)
+define JIMSH_LINK_TCLSH
+ ln -sf jimsh $(TARGET_DIR)/usr/bin/tclsh
+endef
+define JIMSH_UNLINK_TCLSH
+ rm -f $(TARGET_DIR)/usr/bin/tclsh
+endef
+endif
+
+define JIMSH_INSTALL_TARGET_CMDS
+ $(INSTALL) -D $(@D)/jimsh $(TARGET_DIR)/usr/bin/jimsh
+ $(JIMSH_LINK_TCLSH)
+endef
+
+define JIMSH_UNINSTALL_TARGET_CMDS
+ rm -rf $(TARGET_DIR)/usr/bin/jimsh
+ $(JIMSH_UNLINK_TCLSH)
+endef
+
+$(eval $(call AUTOTARGETS))
--
1.7.3.4
^ permalink raw reply related
* [Buildroot] [PATCH 1/2] busybox: add 1.19.2 tftp fix
From: Gustavo Zacarias @ 2011-10-07 20:29 UTC (permalink / raw)
To: buildroot
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
.../busybox-1.19.2/busybox-1.19.2-tftp.patch | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
create mode 100644 package/busybox/busybox-1.19.2/busybox-1.19.2-tftp.patch
diff --git a/package/busybox/busybox-1.19.2/busybox-1.19.2-tftp.patch b/package/busybox/busybox-1.19.2/busybox-1.19.2-tftp.patch
new file mode 100644
index 0000000..15dc9e1
--- /dev/null
+++ b/package/busybox/busybox-1.19.2/busybox-1.19.2-tftp.patch
@@ -0,0 +1,12 @@
+--- busybox-1.19.2/networking/tftp.c
++++ busybox-1.19.2-tftp/networking/tftp.c
+@@ -813,7 +813,8 @@ int tftpd_main(int argc UNUSED_PARAM, ch
+ goto err;
+ }
+ mode = local_file + strlen(local_file) + 1;
+- if (mode >= block_buf + result || strcmp(mode, "octet") != 0) {
++ /* RFC 1350 says mode string is case independent */
++ if (mode >= block_buf + result || strcasecmp(mode, "octet") != 0) {
+ goto err;
+ }
+ # if ENABLE_FEATURE_TFTP_BLOCKSIZE
--
1.7.3.4
^ permalink raw reply related
* [Buildroot] [PATCH] crosstool-ng: add dependency to host-lzma if no lzma found
From: Yann E. MORIN @ 2011-10-07 19:43 UTC (permalink / raw)
To: buildroot
In-Reply-To: <CAAXf6LUkL=AE7UHrn_KiVNGCWbDb1zVzbiesJFoGXurb5sSWjQ@mail.gmail.com>
Thomas, All,
On Friday 07 October 2011 20:34:34 Thomas De Schampheleire wrote:
> On Fri, Oct 7, 2011 at 8:10 PM, Yann E. MORIN
> <yann.morin.1998@anciens.enib.fr> wrote:
> > In fact, it's a bit more complex than that. In the current development
> > version of crosstool-NG, ./configure still checks for lzma, but it is
> > not an error if it is missing.
>
> From which version is this available? No stable version as for now,
> but the next one?
Yes, it's only in the development branch for now. The last stable series,
1.12.x, does not have this. The next stable, 1.13.0, due end of october,
will have this.
So, disabling the ./configure check is just a workaround in the meantime.
> How would you like to proceed? Will you add the patch that modifies
> the configure script to buildroot, or would you like me to do it?
As you wish. It's pretty simple, and I guess you should get the credit for
that, as that was your idea. Just remove the offending has_or_abort call.
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] [git commit] lsof: no longer needs rpc support in toolchain
From: Peter Korsgaard @ 2011-10-07 19:31 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=21f91bbba5dda53625e14f20e6f551f9cc268aed
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
package/lsof/Config.in | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/package/lsof/Config.in b/package/lsof/Config.in
index 22b7f5e..cc7512c 100644
--- a/package/lsof/Config.in
+++ b/package/lsof/Config.in
@@ -1,12 +1,8 @@
config BR2_PACKAGE_LSOF
bool "lsof"
- depends on BR2_INET_RPC
help
lsof (LiSt Open Files)
The lsof tool lists information about files opened by
processes.
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/
-
-comment "lsof requires a toolchain with RPC support"
- depends on !BR2_INET_RPC
^ permalink raw reply related
* [Buildroot] [git commit] lsof: bump to version 4.85
From: Peter Korsgaard @ 2011-10-07 19:29 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=faf408f4affa448a042448d905b2dbe2402fbd02
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
....84-makefile.patch => lsof-4.85-makefile.patch} | 0
...4-noportmap.patch => lsof-4.85-noportmap.patch} | 0
...flags.patch => lsof-4.85-override-cflags.patch} | 0
...tch => lsof-4.85-remove-susvlegacy-funcs.patch} | 0
package/lsof/lsof.mk | 3 ++-
5 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/package/lsof/lsof-4.84-makefile.patch b/package/lsof/lsof-4.85-makefile.patch
similarity index 100%
rename from package/lsof/lsof-4.84-makefile.patch
rename to package/lsof/lsof-4.85-makefile.patch
diff --git a/package/lsof/lsof-4.84-noportmap.patch b/package/lsof/lsof-4.85-noportmap.patch
similarity index 100%
rename from package/lsof/lsof-4.84-noportmap.patch
rename to package/lsof/lsof-4.85-noportmap.patch
diff --git a/package/lsof/lsof-4.84-override-cflags.patch b/package/lsof/lsof-4.85-override-cflags.patch
similarity index 100%
rename from package/lsof/lsof-4.84-override-cflags.patch
rename to package/lsof/lsof-4.85-override-cflags.patch
diff --git a/package/lsof/lsof-4.84-remove-susvlegacy-funcs.patch b/package/lsof/lsof-4.85-remove-susvlegacy-funcs.patch
similarity index 100%
rename from package/lsof/lsof-4.84-remove-susvlegacy-funcs.patch
rename to package/lsof/lsof-4.85-remove-susvlegacy-funcs.patch
diff --git a/package/lsof/lsof.mk b/package/lsof/lsof.mk
index 547382f..ff76f92 100644
--- a/package/lsof/lsof.mk
+++ b/package/lsof/lsof.mk
@@ -3,7 +3,8 @@
# lsof
#
#############################################################
-LSOF_VERSION = 4.84
+
+LSOF_VERSION = 4.85
LSOF_SOURCE = lsof_$(LSOF_VERSION).tar.bz2
LSOF_SITE = ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/
^ permalink raw reply related
* [Buildroot] [PATCH] crosstool-ng: add dependency to host-lzma if no lzma found
From: Thomas De Schampheleire @ 2011-10-07 18:34 UTC (permalink / raw)
To: buildroot
In-Reply-To: <201110072010.50040.yann.morin.1998@anciens.enib.fr>
Hello Yann,
On Fri, Oct 7, 2011 at 8:10 PM, Yann E. MORIN
<yann.morin.1998@anciens.enib.fr> wrote:
> Thomas, All,
>
> On Friday 07 October 2011 16:51:48 Thomas De Schampheleire wrote:
>> Crosstool compilation fails when lzma is not present. If not present on the host
>> system, we should compile one ourselves.
>>
>> This patch uses the already existing but seemingly unused check-host-lzma.sh
>> script in toolchain/dependencies.
>>
>> Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
>
> NAK.
>
> A better solution is to remove the check from crosstool-NG's ./configure.
> It's the way I followed upstream.
>
> In fact, it's a bit more complex than that. In the current development
> version of crosstool-NG, ./configure still checks for lzma, but it is
> not an error if it is missing.
From which version is this available? No stable version as for now,
but the next one?
How would you like to proceed? Will you add the patch that modifies
the configure script to buildroot, or would you like me to do it?
>
> lzma (and/or now xz-utils) are used in crosstool-NG for two things:
> ?- apply the contributions in contrib/
> ?- download lzma/xz-compressed tarballs if possible
>
> For buildroot use-case, just removing the check is largely sufficient,
> because buildroot does not use the contrib/ution in crosstool-NG, and
> the download will not try .xz or .lzma, but directly try .bz2
>
> So, this is a NAK on my part.
Ok, thanks for your comments.
Best regards,
Thomas
^ permalink raw reply
* [Buildroot] [PATCH] crosstool-ng: add dependency to host-lzma if no lzma found
From: Yann E. MORIN @ 2011-10-07 18:10 UTC (permalink / raw)
To: buildroot
In-Reply-To: <5ce1be6b920b684e152c.1317999108@localhost6.localdomain6>
Thomas, All,
On Friday 07 October 2011 16:51:48 Thomas De Schampheleire wrote:
> Crosstool compilation fails when lzma is not present. If not present on the host
> system, we should compile one ourselves.
>
> This patch uses the already existing but seemingly unused check-host-lzma.sh
> script in toolchain/dependencies.
>
> Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
NAK.
A better solution is to remove the check from crosstool-NG's ./configure.
It's the way I followed upstream.
In fact, it's a bit more complex than that. In the current development
version of crosstool-NG, ./configure still checks for lzma, but it is
not an error if it is missing.
lzma (and/or now xz-utils) are used in crosstool-NG for two things:
- apply the contributions in contrib/
- download lzma/xz-compressed tarballs if possible
For buildroot use-case, just removing the check is largely sufficient,
because buildroot does not use the contrib/ution in crosstool-NG, and
the download will not try .xz or .lzma, but directly try .bz2
So, this is a NAK on my part.
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
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