[v2,3/3] fribidi: New dependency for pango

Message ID 20210902141156.2737925-3-adolf.belka@ipfire.org
State New
Headers show
Series [v2,1/3] pango: Update to version 1.49.0 | expand

Commit Message

Adolf Belka Sept. 2, 2021, 2:11 p.m. UTC
- v2 version adds $(MAKETUNING) variable to ninja build
- lfs file created
- rootfile created

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 config/rootfiles/common/fribidi | 59 +++++++++++++++++++++++++
 lfs/fribidi                     | 78 +++++++++++++++++++++++++++++++++
 2 files changed, 137 insertions(+)
 create mode 100644 config/rootfiles/common/fribidi
 create mode 100644 lfs/fribidi

Patch

diff --git a/config/rootfiles/common/fribidi b/config/rootfiles/common/fribidi
new file mode 100644
index 000000000..c19632203
--- /dev/null
+++ b/config/rootfiles/common/fribidi
@@ -0,0 +1,59 @@ 
+#usr/bin/fribidi
+#usr/include/fribidi
+#usr/include/fribidi/fribidi-arabic.h
+#usr/include/fribidi/fribidi-begindecls.h
+#usr/include/fribidi/fribidi-bidi-types-list.h
+#usr/include/fribidi/fribidi-bidi-types.h
+#usr/include/fribidi/fribidi-bidi.h
+#usr/include/fribidi/fribidi-brackets.h
+#usr/include/fribidi/fribidi-char-sets-list.h
+#usr/include/fribidi/fribidi-char-sets.h
+#usr/include/fribidi/fribidi-common.h
+#usr/include/fribidi/fribidi-config.h
+#usr/include/fribidi/fribidi-deprecated.h
+#usr/include/fribidi/fribidi-enddecls.h
+#usr/include/fribidi/fribidi-flags.h
+#usr/include/fribidi/fribidi-joining-types-list.h
+#usr/include/fribidi/fribidi-joining-types.h
+#usr/include/fribidi/fribidi-joining.h
+#usr/include/fribidi/fribidi-mirroring.h
+#usr/include/fribidi/fribidi-shape.h
+#usr/include/fribidi/fribidi-types.h
+#usr/include/fribidi/fribidi-unicode-version.h
+#usr/include/fribidi/fribidi-unicode.h
+#usr/include/fribidi/fribidi.h
+#usr/lib/libfribidi.so
+usr/lib/libfribidi.so.0
+usr/lib/libfribidi.so.0.4.0
+#usr/lib/pkgconfig/fribidi.pc
+#usr/share/man/man3/fribidi_charset_to_unicode.3
+#usr/share/man/man3/fribidi_debug_status.3
+#usr/share/man/man3/fribidi_get_bidi_type.3
+#usr/share/man/man3/fribidi_get_bidi_type_name.3
+#usr/share/man/man3/fribidi_get_bidi_types.3
+#usr/share/man/man3/fribidi_get_bracket.3
+#usr/share/man/man3/fribidi_get_bracket_types.3
+#usr/share/man/man3/fribidi_get_joining_type.3
+#usr/share/man/man3/fribidi_get_joining_type_name.3
+#usr/share/man/man3/fribidi_get_joining_types.3
+#usr/share/man/man3/fribidi_get_mirror_char.3
+#usr/share/man/man3/fribidi_get_par_direction.3
+#usr/share/man/man3/fribidi_get_par_embedding_levels.3
+#usr/share/man/man3/fribidi_get_par_embedding_levels_ex.3
+#usr/share/man/man3/fribidi_get_type.3
+#usr/share/man/man3/fribidi_get_type_internal.3
+#usr/share/man/man3/fribidi_join_arabic.3
+#usr/share/man/man3/fribidi_log2vis.3
+#usr/share/man/man3/fribidi_log2vis_get_embedding_levels.3
+#usr/share/man/man3/fribidi_mirroring_status.3
+#usr/share/man/man3/fribidi_parse_charset.3
+#usr/share/man/man3/fribidi_remove_bidi_marks.3
+#usr/share/man/man3/fribidi_reorder_line.3
+#usr/share/man/man3/fribidi_reorder_nsm_status.3
+#usr/share/man/man3/fribidi_set_debug.3
+#usr/share/man/man3/fribidi_set_mirroring.3
+#usr/share/man/man3/fribidi_set_reorder_nsm.3
+#usr/share/man/man3/fribidi_shape.3
+#usr/share/man/man3/fribidi_shape_arabic.3
+#usr/share/man/man3/fribidi_shape_mirroring.3
+#usr/share/man/man3/fribidi_unicode_to_charset.3
diff --git a/lfs/fribidi b/lfs/fribidi
new file mode 100644
index 000000000..fc9fc2500
--- /dev/null
+++ b/lfs/fribidi
@@ -0,0 +1,78 @@ 
+###############################################################################
+#                                                                             #
+# IPFire.org - A linux based firewall                                         #
+# Copyright (C) 2007-2018  IPFire Team  <info@ipfire.org>                     #
+#                                                                             #
+# This program is free software: you can redistribute it and/or modify        #
+# it under the terms of the GNU General Public License as published by        #
+# the Free Software Foundation, either version 3 of the License, or           #
+# (at your option) any later version.                                         #
+#                                                                             #
+# This program is distributed in the hope that it will be useful,             #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of              #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the               #
+# GNU General Public License for more details.                                #
+#                                                                             #
+# You should have received a copy of the GNU General Public License           #
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.       #
+#                                                                             #
+###############################################################################
+
+###############################################################################
+# Definitions
+###############################################################################
+
+include Config
+
+VER        = 1.0.10
+
+THISAPP    = fribidi-$(VER)
+DL_FILE    = $(THISAPP).tar.xz
+DL_FROM    = $(URL_IPFIRE)
+DIR_APP    = $(DIR_SRC)/$(THISAPP)
+TARGET     = $(DIR_INFO)/$(THISAPP)
+
+###############################################################################
+# Top-level Rules
+###############################################################################
+
+objects = $(DL_FILE)
+
+$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
+
+$(DL_FILE)_MD5 = 97c87da9930e8e70fbfc8e2bcd031554
+
+install : $(TARGET)
+
+check : $(patsubst %,$(DIR_CHK)/%,$(objects))
+
+download :$(patsubst %,$(DIR_DL)/%,$(objects))
+
+md5 : $(subst %,%_MD5,$(objects))
+
+###############################################################################
+# Downloading, checking, md5sum
+###############################################################################
+
+$(patsubst %,$(DIR_CHK)/%,$(objects)) :
+	@$(CHECK)
+
+$(patsubst %,$(DIR_DL)/%,$(objects)) :
+	@$(LOAD)
+
+$(subst %,%_MD5,$(objects)) :
+	@$(MD5)
+
+###############################################################################
+# Installation Details
+###############################################################################
+
+$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
+	@$(PREBUILD)
+	@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
+	$(UPDATE_AUTOMAKE)
+	cd $(DIR_APP) && meson --prefix=/usr builddir/
+	cd $(DIR_APP) && ninja -C builddir/ $(MAKETUNING)
+	cd $(DIR_APP) && ninja -C builddir/ install
+	@rm -rf $(DIR_APP)
+	@$(POSTBUILD)