[vlc-devel] [PATCH 2/5] contribs: require gettext >= 0.19.3

Jean-Baptiste Kempf jb at videolan.org
Fri Mar 11 10:02:22 CET 2016


OK. But this is not contribs, but tools. :)

On 11 Mar, Francois Cartegnie wrote :
> ---
>  extras/tools/bootstrap    |  1 +
>  extras/tools/packages.mak |  3 +++
>  extras/tools/tools.mak    | 18 ++++++++++++++++++
>  3 files changed, 22 insertions(+)
> 
> diff --git a/extras/tools/bootstrap b/extras/tools/bootstrap
> index 1351475..3903b1a 100755
> --- a/extras/tools/bootstrap
> +++ b/extras/tools/bootstrap
> @@ -83,6 +83,7 @@ check_sed
>  check protoc 2.6.0
>  check ant
>  check xz
> +check gettext 0.19.3
>  
>  [ -n "$NEEDED" ] && mkdir -p build/ && echo "To-be-built packages: `echo $NEEDED | sed 's/\.//g'`"
>  
> diff --git a/extras/tools/packages.mak b/extras/tools/packages.mak
> index 97bb2ec..56c8f0e 100644
> --- a/extras/tools/packages.mak
> +++ b/extras/tools/packages.mak
> @@ -46,3 +46,6 @@ ANT_URL=$(APACHE)/ant/binaries/apache-ant-$(ANT_VERSION)-bin.tar.bz2
>  
>  PROTOBUF_VERSION := 2.6.1
>  PROTOBUF_URL := https://github.com/google/protobuf/releases/download/v$(PROTOBUF_VERSION)/protobuf-$(PROTOBUF_VERSION).tar.bz2
> +
> +GETTEXT_VERSION := 0.19.3
> +GETTEXT_URL := https://ftp.gnu.org/pub/gnu/gettext/gettext-$(GETTEXT_VERSION).tar.gz
> diff --git a/extras/tools/tools.mak b/extras/tools/tools.mak
> index 69fac38..50a04b2 100644
> --- a/extras/tools/tools.mak
> +++ b/extras/tools/tools.mak
> @@ -287,6 +287,24 @@ CLEAN_PKG += protobuf
>  DISTCLEAN_PKG += protobuf-$(PROTOBUF_VERSION).tar.bz2
>  CLEAN_FILE += .protoc
>  
> +
> +# GNU GetText
> +
> +gettext-$(GETTEXT_VERSION).tar.gz:
> +	$(call download,$(GETTEXT_URL))
> +
> +gettext: gettext-$(GETTEXT_VERSION).tar.gz
> +	$(UNPACK)
> +	$(MOVE)
> +
> +.gettext: gettext
> +	(cd $<; ./configure --prefix=$(PREFIX) && $(MAKE) && $(MAKE) install)
> +	touch $@
> +
> +CLEAN_FILE += .gettext
> +CLEAN_PKG += gettext
> +DISTCLEAN_PKG += gettext-$(GETTEXT_VERSION).tar.gz
> +
>  #
>  #
>  #
> -- 
> 1.8.3.1
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel

-- 
With my kindest regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device


More information about the vlc-devel mailing list