Add package fribidi
PATCH 1/1 Add package fribidi
Hi,
I'm sending the patch for the new package fribidi.
Fribidi is a free implementation of the Unicode BiDi algorithm for Hebrew and/or Arabic languages.
It is required mostly by the applications which have I18n support.
[master 7d6b6b6] GNU fribidi package added
3 files changed, 24 insertions(+), 0 deletions(-) create mode 100644 package/fribidi/Config.in create mode 100644 package/fribidi/fribidi.mk
---
package/Config.in | 1 + package/fribidi/Config.in | 6 ++++++ package/fribidi/fribidi.mk | 17 +++++++++++++++++ 3 files changed, 24 insertions(+), 0 deletions(-) create mode 100644 package/fribidi/Config.in create mode 100644 package/fribidi/fribidi.mk
package/Config.in +1 -0
@@ -344,6 +344,7 @@ endmenu menu "Text and terminal handling" source "package/enchant/Config.in" +source "package/fribidi/Config.in" source "package/icu/Config.in" source "package/libiconv/Config.in" source "package/ncurses/Config.in"
package/fribidi/Config.in new file +4 -0
@@ -0,0 +1,6 @@ +config BR2_PACKAGE_FRIBIDI + bool "fribidi" + help + Free Implementation of the Unicode BiDi algorithm for Hebrew
and/or Arabic languages.
+
+ http://fribidi.org/download
package/fribidi/fribidi.mk new file +17 -0
@@ -0,0 +1,17 @@ +############################################################# +# +# fribidi +# +############################################################# +FRIBIDI_VERSION = 0.10.9 +FRIBIDI_SOURCE = fribidi-$(FRIBIDI_VERSION).tar.gz +FRIBIDI_SITE = http://fribidi.org/download +FRIBIDI_INSTALL_STAGING = YES +FRIBIDI_INSTALL_TARGET = YES + +define FRIBIDI_INSTALL_TARGET_CMDS + mkdir -p $(TARGET_DIR)/usr/lib + cp -dpf $(@D)/.libs/libfribidi.so* $(TARGET_DIR)/usr/lib/ +endef + +$(eval $(call AUTOTARGETS,package,fribidi))
Signature · 4 lines
1.7.5.4 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20110613/5ce79455/attachment.html>
PATCH 1/1 Add package fribidi
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Murat" == Murat Demirten <[email protected]> writes:
Murat> Hi,
Murat> I'm sending the patch for the new package fribidi.
Murat> Fribidi is a free implementation of the Unicode BiDi algorithm for Hebrew and/ Murat> or Arabic languages.?
Murat> It is required mostly by the applications which have I18n support.
Thanks. Could you perhaps use git format-patch -s / git send-email in the future to make it easier to commit?
Murat> [master 7d6b6b6] GNU fribidi package added Murat> ?3 files changed, 24 insertions(+), 0 deletions(-) Murat> ?create mode 100644 package/fribidi/Config.in Murat> ?create mode 100644 package/fribidi/fribidi.mk Murat> ---
Murat> ?package/Config.in ? ? ? ? ?| ? ?1 + Murat> ?package/fribidi/Config.in ?| ? ?6 ++++++ Murat> ?package/fribidi/fribidi.mk | ? 17 +++++++++++++++++
Murat> ?3 files changed, 24 insertions(+), 0 deletions(-) Murat> ?create mode 100644 package/fribidi/Config.in Murat> ?create mode 100644 package/fribidi/fribidi.mk
Murat> diff --git a/package/Config.in b/package/Config.in Murat> index 10d435c..81701d8 100644
Murat> --- a/package/Config.in
Murat> +++ b/package/Config.in
Murat> @@ -344,6 +344,7 @@ endmenu
Murat> ?
Murat> ?menu "Text and terminal handling"
Murat> ?source "package/enchant/Config.in"
Murat> +source "package/fribidi/Config.in"
Murat> ?source "package/icu/Config.in"
Murat> ?source "package/libiconv/Config.in"
Murat> ?source "package/ncurses/Config.in"
Murat> diff --git a/package/fribidi/Config.in b/package/fribidi/Config.in Murat> new file mode 100644
Murat> index 0000000..f8f4bc1
Murat> --- /dev/null
Murat> +++ b/package/fribidi/Config.in
Murat> @@ -0,0 +1,6 @@
Murat> +config BR2_PACKAGE_FRIBIDI
Murat> + ? ? ? bool "fribidi"
Doesn't this need wide characters or localization support in the toolchain?
Murat> + ? ? ? help
Murat> + ? ? ? ? Free Implementation of the Unicode BiDi algorithm for Hebrew and/or
Please keep help text lines < 70 chars.
Murat> Arabic languages.
Murat> +
Murat> + ? ? ? ? http://fribidi.org/download
Drop /download
Murat> diff --git a/package/fribidi/fribidi.mk b/package/fribidi/fribidi.mk Murat> new file mode 100644
Murat> index 0000000..532d648
Murat> --- /dev/null
Murat> +++ b/package/fribidi/fribidi.mk
Murat> @@ -0,0 +1,17 @@
Murat> +############################################################# Murat> +#
Murat> +# fribidi
Murat> +#
Murat> +############################################################# Murat> +FRIBIDI_VERSION = 0.10.9
Murat> +FRIBIDI_SOURCE = fribidi-$(FRIBIDI_VERSION).tar.gz Murat> +FRIBIDI_SITE = http://fribidi.org/download
Murat> +FRIBIDI_INSTALL_STAGING = YES
Murat> +FRIBIDI_INSTALL_TARGET = YES
Murat> +
Murat> +define FRIBIDI_INSTALL_TARGET_CMDS
Murat> + ? ? ? mkdir -p $(TARGET_DIR)/usr/lib
Murat> + ? ? ? cp -dpf $(@D)/.libs/libfribidi.so* $(TARGET_DIR)/usr/lib/ Murat> +endef
Why do you need a custom install step?
Signature · 1 line
Bye, Peter Korsgaard
PATCH 1/1 Add package fribidi
Hi Peter,
There is no information about toolchain or localization requirements. But I just look at the source code and it seems that
this library can be compiled in all the cases, there is no special requirements.
We need a custom install step because we don't want to see other than the library itself on the target.
But in some cases, maybe fribidi and fribidi-config binary required by someone else on target. So, keeping these binaries in target usr/bin and giving the possibility to remove with standard postbuild script mechanism will be fine (Is there any hints to not install header files on the target?).
What do you think about? Is there any policy for the packages which provides useful libraries and some binaries rarely need on target? Do we have to put all the binaries in target too? Sometimes these types of binaries not prepared for running on the target (like navit->maptool). Putting this binaries only to
staging area keeps the target clean but I see that, there must be a policy, we can't put custom binary install logic for every single package.
Regards,
2011/7/5 Peter Korsgaard <[email protected]>
Quoted 91 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Murat" == Murat Demirten <[email protected]> writes:
Murat> Hi,
Murat> I'm sending the patch for the new package fribidi.Murat> Fribidi is a free implementation of the Unicode BiDi algorithm for
Hebrew and/
Murat> or Arabic languages.
Murat> It is required mostly by the applications which have I18n support.Thanks. Could you perhaps use git format-patch -s / git send-email in the future to make it easier to commit?
Murat> [master 7d6b6b6] GNU fribidi package added
Murat> 3 files changed, 24 insertions(+), 0 deletions(-) Murat> create mode 100644 package/fribidi/Config.in Murat> create mode 100644 package/fribidi/fribidi.mkMurat> ---
Murat> package/Config.in | 1 + Murat> package/fribidi/Config.in | 6 ++++++ Murat> package/fribidi/fribidi.mk | 17 +++++++++++++++++ Murat> 3 files changed, 24 insertions(+), 0 deletions(-) Murat> create mode 100644 package/fribidi/Config.in Murat> create mode 100644 package/fribidi/fribidi.mkMurat> diff --git a/package/Config.in b/package/Config.in Murat> index 10d435c..81701d8 100644
Murat> --- a/package/Config.in
Murat> +++ b/package/Config.in
Murat> @@ -344,6 +344,7 @@ endmenu
Murat>
Murat> menu "Text and terminal handling"
Murat> source "package/enchant/Config.in" Murat> +source "package/fribidi/Config.in"Murat> source "package/icu/Config.in" Murat> source "package/libiconv/Config.in" Murat> source "package/ncurses/Config.in"Murat> diff --git a/package/fribidi/Config.in b/package/fribidi/Config.in Murat> new file mode 100644
Murat> index 0000000..f8f4bc1
Murat> ---/dev/null
Murat> +++ b/package/fribidi/Config.in
Murat> @@ -0,0 +1,6 @@
Murat> +configBR2_PACKAGE_FRIBIDI
Murat> + bool "fribidi"Doesn't this need wide characters or localization support in the toolchain?
Murat> + help
Murat> + Free Implementation of the Unicode BiDi algorithm for
Hebrew and/orPlease keep help text lines < 70 chars.
Murat> Arabic languages.
Murat> +
Murat> + http://fribidi.org/downloadDrop /download
Murat> diff --git
a/package/fribidi/fribidi.mkb/package/fribidi/
fribidi.mk
Murat> new file mode 100644
Murat> index 0000000..532d648
Murat> ---/dev/null
Murat> +++b/package/fribidi/fribidi.mk
Murat> @@ -0,0 +1,17 @@
Murat> +############################################################# Murat> +#
Murat> +# fribidi
Murat> +#
Murat> +############################################################# Murat> +FRIBIDI_VERSION = 0.10.9
Murat> +FRIBIDI_SOURCE = fribidi-$(FRIBIDI_VERSION).tar.gz Murat> +FRIBIDI_SITE = http://fribidi.org/download
Murat> +FRIBIDI_INSTALL_STAGING = YES
Murat> +FRIBIDI_INSTALL_TARGET = YES
Murat> +
Murat> +defineFRIBIDI_INSTALL_TARGET_CMDS
Murat> + mkdir -p $(TARGET_DIR)/usr/lib
Murat> + cp -dpf $(@D)/.libs/libfribidi.so* $(TARGET_DIR)/usr/lib/
Murat> +endefWhy do you need a custom install step?
--
Bye, Peter Korsgaard
Signature · 7 lines
Murat Demirten Genel M?d?r http://www.yh.com.tr (212) 210 77 36 - 103 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20110705/18657b02/attachment.html>
PATCH 1/1 Add package fribidi
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Murat" == Murat Demirten <[email protected]> writes:
Murat> Hi Peter,
Murat> There is no information about toolchain or localization Murat> requirements. But I just look at the source code and it seems Murat> that? this library can be compiled in all the cases, there is no Murat> special requirements.
OK, good - I didn't actually check, just expected so because of the unicode handling.
Murat> We need a custom install step because we don't want to see other Murat> than the library itself on the target.
Murat> But in some cases, maybe fribidi and fribidi-config binary Murat> required by someone else on target. So, keeping these binaries Murat> in target usr/bin and giving the possibility to remove with Murat> standard postbuild script mechanism will be fine (Is there any Murat> hints to not install header files on the target?).
Murat> What do you think about? Is there any policy for the packages Murat> which provides useful libraries and some binaries rarely need on Murat> target? Do we have to put all the binaries in target too? Murat> Sometimes these types of binaries not prepared for running on Murat> the target (like navit->maptool). Putting this binaries only to Murat> staging area keeps the target clean but I see that, there must Murat> be a policy, we can't put custom binary install logic for every Murat> single package.
Buildroot already cleans up header files and so on if not wanted on a global level (see target-finalize).
For optional binaries and similar, it is typically handled by a sub option in the package you can enable if you want them.
Signature · 1 line
Bye, Peter Korsgaard