Pull request for branch for-2011.05/kbd-libintl-fixes
The following changes since commit a02cfbf1f4a82ee6582e2bf7622b2bf105359ea9:
bind: give path to OpenSSL when OpenSSL is enabled (2011-05-19 20:03:35 +0200)
are available in the git repository at:
http://free-electrons.com/~thomas/buildroot.git for-2011.05/kbd-libintl-fixes
Thomas Petazzoni (2):
kbd: make sure to link against libintl when needed
kbd: rename the makefile so that it's named the same as the package
package/kbd/Config.in | 2 +
package/kbd/kbd-link-against-libintl.patch | 34 ++++++++++++++++++++++++++++
package/kbd/{kdb.mk => kbd.mk} | 2 +
3 files changed, 38 insertions(+), 0 deletions(-)
create mode 100644 package/kbd/kbd-link-against-libintl.patch
rename package/kbd/{kdb.mk => kbd.mk} (67%)Thanks,
Signature · 1 line
Thomas Petazzoni
PATCH 1/2 kbd: make sure to link against libintl when needed
--- package/kbd/Config.in | 2 + package/kbd/kbd-link-against-libintl.patch | 34 ++++++++++++++++++++++++++++ package/kbd/kdb.mk | 2 + 3 files changed, 38 insertions(+), 0 deletions(-) create mode 100644 package/kbd/kbd-link-against-libintl.patch
package/kbd/Config.in +2 -0
@@ -1,5 +1,7 @@ config BR2_PACKAGE_KBD bool "kbd" + select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE + select BR2_PACKAGE_LIBINTL if BR2_NEEDS_GETTEXT_IF_LOCALE help Keytable files and keyboard utilities.
package/kbd/kbd-link-against-libintl.patch new file +34 -0
@@ -0,0 +1,34 @@ +Make sure we link against libintl if needed + +We modify directly the Makefile.in so that we don't have to +autoreconfigure the package, which doesn't work because packages using +gettext need the autopoint tool for their autoregeneration step and +this thing doesn't work (yet) in Buildroot. + +Signed-off-by: Thomas Petazzoni <[email protected]> + +Index: kbd-1.15.2/src/Makefile.am +=================================================================== +--- kbd-1.15.2.orig/src/Makefile.am 2011-05-22 16:08:51.144530776 +0200 ++++ kbd-1.15.2/src/Makefile.am 2011-05-22 16:09:09.892530778 +0200 +@@ -5,6 +5,8 @@ + AM_CPPFLAGS = -DDATADIR=\"$(datadir)\" -DLOCALEDIR=\"$(localedir)\" $(WARNINGS) \ + -funit-at-a-time + ++LDADD = @INTLLIBS@ ++ + OLDPROGS = mapscrn loadunimap + PROGS = \ + dumpkeys loadkeys showkey setfont showconsolefont \ +Index: kbd-1.15.2/src/Makefile.in +=================================================================== +--- kbd-1.15.2.orig/src/Makefile.in 2011-05-22 16:10:27.540530777 +0200 ++++ kbd-1.15.2/src/Makefile.in 2011-05-22 16:10:51.172530778 +0200 +@@ -26,6 +26,7 @@ + install_sh_PROGRAM = $(install_sh) -c + install_sh_SCRIPT = $(install_sh) -c + INSTALL_HEADER = $(INSTALL_DATA) ++LDADD = @INTLLIBS@ + transform = $(program_transform_name) + NORMAL_INSTALL = : + PRE_INSTALL = :
package/kbd/kdb.mk +2 -0
@@ -2,4 +2,6 @@ KBD_VERSION = 1.15.2 KBD_SOURCE = kbd-$(KBD_VERSION).tar.gz KBD_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/kbd +KBD_DEPENDENCIES = $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext libintl) + $(eval $(call AUTOTARGETS,package,kbd))
Signature · 1 line
1.7.1
PATCH 2/2 kbd: rename the makefile so that it's named the same as the package
In reply to Thomas Petazzoni---
package/kbd/{kdb.mk => kbd.mk} | 0
1 files changed, 0 insertions(+), 0 deletions(-)
rename package/kbd/{kdb.mk => kbd.mk} (100%)package/kbd/kbd.mk renamed from package/kbd/kdb.mk +0 -0
Signature · 1 line
1.7.1
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Thomas" == Thomas Petazzoni <[email protected]> writes:
Thomas> The following changes since commit a02cfbf1f4a82ee6582e2bf7622b2bf105359ea9:
Thomas> bind: give path to OpenSSL when OpenSSL is enabled (2011-05-19 20:03:35 +0200)
Thomas> are available in the git repository at:
Thomas> http://free-electrons.com/~thomas/buildroot.git for-2011.05/kbd-libintl-fixes
Thomas> Thomas Petazzoni (2):
Thomas> kbd: make sure to link against libintl when needed
Thomas> kbd: rename the makefile so that it's named the same as the package
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard