[vlc-commits] [Git][videolan/vlc][3.0.x] tools: build less things in gettext tools

Steve Lhomme (@robUx4) gitlab at videolan.org
Tue Oct 14 09:10:20 UTC 2025



Steve Lhomme pushed to branch 3.0.x at VideoLAN / VLC


Commits:
251374ca by Steve Lhomme at 2025-10-14T08:09:55+00:00
tools: build less things in gettext tools

Borrowed from 8f2fd35daf5dbc864208e5c32cb3dc2a724aac3b without updating gettext.

- - - - -


1 changed file:

- extras/tools/tools.mak


Changes:

=====================================
extras/tools/tools.mak
=====================================
@@ -442,6 +442,20 @@ CLEAN_FILE += .buildninja
 # GNU gettext
 #
 
+GETTEXT_CONF = \
+	--disable-relocatable \
+	--disable-java \
+	--disable-native-java \
+	--disable-csharp \
+	--disable-d \
+	--disable-go \
+	--disable-modula2 \
+	--disable-openmp \
+	--without-emacs \
+	--without-included-libxml \
+	--without-git \
+	--without-cvs
+
 gettext-$(GETTEXT_VERSION).tar.gz:
 	$(call download_pkg,$(GETTEXT_URL),gettext)
 
@@ -450,14 +464,14 @@ gettext: gettext-$(GETTEXT_VERSION).tar.gz
 	$(MOVE)
 
 .buildgettext: gettext
-	cd $<; ./configure --prefix=$(PREFIX)
-	+$(MAKE) -C $<
-	+$(MAKE) -C $< install
+	cd $<; ./configure --prefix=$(PREFIX) $(GETTEXT_CONF)
+	+$(MAKE) -C $< EXAMPLESFILES= EXAMPLESDIRS= TESTS=
+	+$(MAKE) -C $< EXAMPLESFILES= EXAMPLESDIRS= TESTS= install
 	touch $@
 
 CLEAN_PKG += gettext
 DISTCLEAN_PKG += gettext-$(GETTEXT_VERSION).tar.gz
-CLEAN_FILE += .gettext
+CLEAN_FILE += .buildgettext
 
 
 #



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/251374ca474443c83c800ceaf07a702b76b02f42

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/251374ca474443c83c800ceaf07a702b76b02f42
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list