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

Message ID 20211206170205.1596565-3-adolf.belka@ipfire.org
State Accepted
Commit 4fdddd30dd839faa4f34edcc5e47bd943739ce71
Headers
Series [v3,1/3] pango: Update to version 1.50.0 |

Commit Message

Adolf Belka Dec. 6, 2021, 5:02 p.m. UTC
  - v3 version uses newer version of fribidi
- 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
  

Comments

Michael Tremer Dec. 7, 2021, 12:16 p.m. UTC | #1
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>

> On 6 Dec 2021, at 17:02, Adolf Belka <adolf.belka@ipfire.org> wrote:
> 
> - v3 version uses newer version of fribidi
> - 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
> 
> 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..dce6171c4
> --- /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.11
> +
> +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 = 06bb29553bb0529fb38648185f2553b0
> +
> +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)
> -- 
> 2.34.1
>
  

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..dce6171c4
--- /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.11
+
+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 = 06bb29553bb0529fb38648185f2553b0
+
+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)