Radix cross Linux

The main Radix cross Linux repository contains the build scripts of packages, which have the most complete and common functionality for desktop machines

383 Commits   1 Branch   1 Tag
Index: app/firefox/118.0.1/desktop/firefox.desktop
===================================================================
--- app/firefox/118.0.1/desktop/firefox.desktop	(revision 382)
+++ app/firefox/118.0.1/desktop/firefox.desktop	(nonexistent)
@@ -1,80 +0,0 @@
-[Desktop Entry]
-Exec=firefox %u
-Icon=firefox
-Type=Application
-Categories=Network;WebBrowser;
-Name=Firefox
-Name[bn]=ফায়ারফক্স
-Name[eo]=Mozilo Fajrovulpo
-Name[fi]=Mozilla Firefox
-Name[pa]=ਫਾਇਰਫੋਕਸ
-Name[tg]=Рӯбоҳи оташин
-GenericName=Web Browser
-GenericName[af]=Web Blaaier
-GenericName[ar]=متصفح ويب
-GenericName[az]=Veb Səyyahı
-GenericName[bg]=Браузър
-GenericName[bn]=ওয়েব ব্রাউজার
-GenericName[br]=Furcher ar Gwiad
-GenericName[bs]=WWW Preglednik
-GenericName[ca]=Fullejador web
-GenericName[cs]=WWW prohlížeč
-GenericName[cy]=Porydd Gwe
-GenericName[da]=Browser
-GenericName[de]=Web-Browser
-GenericName[el]=Περιηγητής Ιστού
-GenericName[eo]=TTT-legilo
-GenericName[es]=Navegador web
-GenericName[et]=Veebilehitseja
-GenericName[eu]=Web arakatzailea
-GenericName[fa]=مرورگر وب
-GenericName[fi]=WWW-selain
-GenericName[fo]=Alnótsfar
-GenericName[fr]=Navigateur web
-GenericName[gl]=Navegador Web
-GenericName[he]=דפדפן אינטרנט
-GenericName[hi]=वेब ब्राउज़र
-GenericName[hr]=Web preglednik
-GenericName[hu]=Webböngésző
-GenericName[is]=Vafri
-GenericName[it]=Browser Web
-GenericName[ja]=ウェブブラウザ
-GenericName[ko]=웹 브라우저
-GenericName[lo]=ເວັບບຣາວເຊີ
-GenericName[lt]=Žiniatinklio naršyklė
-GenericName[lv]=Web Pārlūks
-GenericName[mk]=Прелистувач на Интернет 
-GenericName[mn]=Веб-Хөтөч
-GenericName[nb]=Nettleser
-GenericName[nds]=Nettkieker
-GenericName[nl]=Webbrowser
-GenericName[nn]=Nettlesar
-GenericName[nso]=Seinyakisi sa Web
-GenericName[pa]=ਵੈਬ ਝਲਕਾਰਾ
-GenericName[pl]=Przeglądarka WWW
-GenericName[pt]=Navegador Web
-GenericName[pt_BR]=Navegador Web
-GenericName[ro]=Navigator de web
-GenericName[ru]=Веб-браузер
-GenericName[se]=Fierpmádatlogan
-GenericName[sk]=Webový prehliadač
-GenericName[sl]=Spletni brskalnik
-GenericName[sr]=Веб претраживач
-GenericName[sr@Latn]=Veb pretraživač
-GenericName[ss]=Ibrawuza yeWeb 
-GenericName[sv]=Webbläsare
-GenericName[ta]=வலை உலாவி
-GenericName[tg]=Тафсиргари вэб
-GenericName[th]=เว็บบราวเซอร์
-GenericName[tr]=Web Tarayıcı
-GenericName[uk]=Навігатор Тенет
-GenericName[uz]=Веб-браузер
-GenericName[ven]=Buronza ya Webu
-GenericName[vi]=Trình duyệt Web
-GenericName[wa]=Betchteu waibe
-GenericName[xh]=Umkhangeli zincwadi we Web
-GenericName[zh_CN]=网页浏览器
-GenericName[zh_TW]=網頁瀏覽器
-GenericName[zu]=Umcingi we-Web
-MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https;
-X-KDE-StartupNotify=true
Index: app/firefox/118.0.1/PATCHES.x86
===================================================================
--- app/firefox/118.0.1/PATCHES.x86	(revision 382)
+++ app/firefox/118.0.1/PATCHES.x86	(nonexistent)
@@ -1,2 +0,0 @@
-
-../../../../sources/packages/x/mozilla/firefox/patches/firefox-118.0.1-x86.patch -p0
Index: app/firefox/118.0.1/firefox-pkg-description.in
===================================================================
--- app/firefox/118.0.1/firefox-pkg-description.in	(revision 382)
+++ app/firefox/118.0.1/firefox-pkg-description.in	(nonexistent)
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.  Line
-# up the first '|' above the ':' following the base package name, and the '|'
-# on the right side marks the last column you can put a character in.  You must
-# make exactly 11 lines for the formatting to be correct.  It's also
-# customary to leave one space after the ':'.
-
-       |-----handy-ruler------------------------------------------------------|
-firefox: firefox @VERSION@ (Mozilla Firefox Web browser)
-firefox:
-firefox: Firefox is a free and open-source web browser developed by the
-firefox: Mozilla Foundation and its subsidiary, the Mozilla Corporation.
-firefox: It has lots of great features including popup blocking, tabbed
-firefox: browsing, integrated search, improved privacy features (such as
-firefox: enhanced tracking protection), and more.
-firefox:
-firefox: Homepage: https://www.mozilla.org/firefox
-firefox:
-firefox:
Index: app/firefox/118.0.1/scripts/firefox.in
===================================================================
--- app/firefox/118.0.1/scripts/firefox.in	(revision 382)
+++ app/firefox/118.0.1/scripts/firefox.in	(nonexistent)
@@ -1,9 +0,0 @@
-#!/bin/sh
-#
-# Shell script to start Mozilla Firefox.
-#
-# Don't reset the user profile on a detected browser downgrade:
-export MOZ_ALLOW_DOWNGRADE=1
-
-# Start Firefox:
-exec /usr/lib@LIBDIRSUFFIX@/firefox/firefox "$@"
Index: app/firefox/118.0.1/firefox-pkg-install.sh
===================================================================
--- app/firefox/118.0.1/firefox-pkg-install.sh	(revision 382)
+++ app/firefox/118.0.1/firefox-pkg-install.sh	(nonexistent)
@@ -1,56 +0,0 @@
-#!/bin/sh
-
-# Preserve new files
-install_file() {
-  NEW="$1"
-  OLD="`dirname $NEW`/`basename $NEW .new`"
-  # If there's no file by that name, mv it over:
-  if [ ! -r $OLD ]; then
-    mv $NEW $OLD
-  elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then # toss the redundant copy
-    rm $NEW
-  fi
-  # Otherwise, we leave the .new copy for the admin to consider...
-}
-
-
-# arg 1:  the new package version
-pre_install() {
-  /bin/true
-}
-
-# arg 1:  the new package version
-post_install() {
-  # Update desktop database
-  if [ -x /usr/bin/update-desktop-database ]; then
-    /usr/bin/update-desktop-database -q usr/share/applications > /dev/null 2>&1
-  fi
-}
-
-# arg 1:  the new package version
-# arg 2:  the old package version
-pre_update() {
-  /bin/true
-}
-
-# arg 1:  the new package version
-# arg 2:  the old package version
-post_update() {
-  post_install
-}
-
-# arg 1:  the old package version
-pre_remove() {
-  /bin/true
-}
-
-# arg 1:  the old package version
-post_remove() {
-  /bin/true
-}
-
-
-operation=$1
-shift
-
-$operation $*

Property changes on: app/firefox/118.0.1/firefox-pkg-install.sh
___________________________________________________________________
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: app/firefox/118.0.1/PATCHES.riscv64gc
===================================================================
--- app/firefox/118.0.1/PATCHES.riscv64gc	(revision 382)
+++ app/firefox/118.0.1/PATCHES.riscv64gc	(nonexistent)
@@ -1,2 +0,0 @@
-
-../../../../sources/packages/x/mozilla/firefox/patches/firefox-118.0.1-riscv64gc.patch -p0
Index: app/firefox/118.0.1/Makefile
===================================================================
--- app/firefox/118.0.1/Makefile	(revision 382)
+++ app/firefox/118.0.1/Makefile	(nonexistent)
@@ -1,471 +0,0 @@
-
-COMPONENT_TARGETS  = $(HARDWARE_INTEL_PC32)
-COMPONENT_TARGETS += $(HARDWARE_INTEL_PC64)
-COMPONENT_TARGETS += $(HARDWARE_EBOX_3350DX2)
-COMPONENT_TARGETS += $(HARDWARE_CB1X)
-COMPONENT_TARGETS += $(HARDWARE_CB2X)
-COMPONENT_TARGETS += $(HARDWARE_CB3X)
-COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP2E)
-COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
-COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
-COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
-COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
-COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
-COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
-COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
-COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
-COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
-COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
-COMPONENT_TARGETS += $(HARDWARE_POIN2)
-COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
-COMPONENT_TARGETS += $(HARDWARE_KHADAS_EDGE)
-COMPONENT_TARGETS += $(HARDWARE_LEEZ_P710)
-COMPONENT_TARGETS += $(HARDWARE_M201)
-COMPONENT_TARGETS += $(HARDWARE_MXV)
-COMPONENT_TARGETS += $(HARDWARE_P201)
-COMPONENT_TARGETS += $(HARDWARE_NEXBOX_A95X)
-COMPONENT_TARGETS += $(HARDWARE_ODROID_C2)
-COMPONENT_TARGETS += $(HARDWARE_P212)
-COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM)
-COMPONENT_TARGETS += $(HARDWARE_Q201)
-COMPONENT_TARGETS += $(HARDWARE_ENYBOX_X2)
-COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM2)
-COMPONENT_TARGETS += $(HARDWARE_NIT6Q)
-COMPONENT_TARGETS += $(HARDWARE_OKMX6DL_C)
-COMPONENT_TARGETS += $(HARDWARE_OKMX6Q_C)
-COMPONENT_TARGETS += $(HARDWARE_BONE_BLACK)
-COMPONENT_TARGETS += $(HARDWARE_OMAP5UEVM)
-COMPONENT_TARGETS += $(HARDWARE_DRA7XXEVM)
-COMPONENT_TARGETS += $(HARDWARE_CI20)
-COMPONENT_TARGETS += $(HARDWARE_BAIKAL_T1)
-COMPONENT_TARGETS += $(HARDWARE_BAIKAL_M1)
-COMPONENT_TARGETS += $(HARDWARE_S824L)
-COMPONENT_TARGETS += $(HARDWARE_VESNIN)
-COMPONENT_TARGETS += $(HARDWARE_S824L_LSB)
-COMPONENT_TARGETS += $(HARDWARE_VESNIN_LSB)
-COMPONENT_TARGETS += $(HARDWARE_TL2WK2)
-COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
-COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
-COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
-COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
-COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
-
-
-NEED_ABS_PATH      = true
-COMPONENT_IS_3PP   = true
-
-
-include ../../../../build-system/constants.mk
-
-
-SOURCE_REQUIRES    = sources/packages/x/mozilla/firefox
-
-REQUIRES           = X11/libs/gtk+3/3.24.37
-REQUIRES          += X11/libs/cairo/1.17.8
-REQUIRES          += X11/media/alsa-plugins/1.2.7.1
-REQUIRES          += app/fontconfig/2.13.95
-REQUIRES          += libs/icu4c/73.1
-REQUIRES          += libs/dbus-glib/0.112
-REQUIRES          += media/libvpx/1.12.0
-REQUIRES          += net/nss/3.97
-
-# ======= __END_OF_REQUIRES__ =======
-
-
-version            = 118.0.1
-tar_xz_archive     = $(SRC_PACKAGE_PATH)/packages/x/mozilla/firefox/firefox-$(version).source.tar.xz
-SRC_ARCHIVE        = $(tar_xz_archive)
-SRC_DIR            = $(TARGET_BUILD_DIR)/firefox-$(version)
-src_dir_name       = firefox-$(version)
-src_done           = $(TARGET_BUILD_DIR)/.source_done
-
-PATCHES = PATCHES
-
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_RISCV64_GLIBC)),)
-OPT_PATCHES = PATCHES.riscv64gc
-endif
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_I586_GLIBC) $(TOOLCHAIN_I686_GLIBC)),)
-OPT_PATCHES = PATCHES.x86
-endif
-
-build_dir          = $(TARGET_BUILD_DIR)/build
-build_target       = $(TARGET_BUILD_DIR)/.build_done
-install_target     = $(TARGET_BUILD_DIR)/.install_done
-
-
-####### Targets
-
-PKG_GROUP = xapp
-
-#
-# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
-#
-FIREFOX_PKG_NAME                = firefox
-FIREFOX_PKG_VERSION             = 118.0.1
-FIREFOX_PKG_ARCH                = $(PKGARCH)
-FIREFOX_PKG_DISTRO_NAME         = $(DISTRO_NAME)
-FIREFOX_PKG_DISTRO_VERSION      = $(DISTRO_VERSION)
-FIREFOX_PKG_GROUP               = $(PKG_GROUP)
-###                              |---handy-ruler-------------------------------|
-FIREFOX_PKG_SHORT_DESCRIPTION   = Mozilla Firefox Web browser
-FIREFOX_PKG_URL                 = $(BUG_URL)
-FIREFOX_PKG_LICENSE             = custom
-FIREFOX_PKG_DESCRIPTION_FILE    = $(TARGET_BUILD_DIR)/$(FIREFOX_PKG_NAME)-pkg-description
-FIREFOX_PKG_DESCRIPTION_FILE_IN = $(FIREFOX_PKG_NAME)-pkg-description.in
-FIREFOX_PKG_INSTALL_SCRIPT      = $(FIREFOX_PKG_NAME)-pkg-install.sh
-
-FIREFOX_PKG      = $(CURDIR)/$(TARGET_BUILD_DIR)/$(FIREFOX_PKG_NAME)-package
-
-pkg_basename     = $(FIREFOX_PKG_NAME)-$(FIREFOX_PKG_VERSION)-$(FIREFOX_PKG_ARCH)-$(FIREFOX_PKG_DISTRO_NAME)-$(FIREFOX_PKG_DISTRO_VERSION)
-
-pkg_archive      = $(TARGET_BUILD_DIR)/$(PKG_GROUP)/$(pkg_basename).$(pkg_arch_suffix)
-pkg_signature    = $(call sign-name,$(pkg_archive))
-pkg_description  = $(call desc-name,$(pkg_archive))
-products         = $(call pkg-files,$(pkg_archive))
-
-BUILD_TARGETS    = $(build_target)
-BUILD_TARGETS   += $(install_target)
-
-PRODUCT_TARGETS  = $(products)
-
-ROOTFS_TARGETS   = $(pkg_archive)
-
-
-include ../../../../build-system/core.mk
-
-
-env_sysroot = DESTDIR=$(FIREFOX_PKG)
-
-
-extra_configure_switches  = --libdir=/usr/lib$(LIBSUFFIX)
-
-extra_configure_switches += --enable-official-branding
-extra_configure_switches += --enable-project=browser
-extra_configure_switches += --enable-application=browser
-extra_configure_switches += --enable-bootstrap
-extra_configure_switches += --with-system-zlib
-extra_configure_switches += --with-system-nss
-extra_configure_switches += --with-system-nspr
-extra_configure_switches += --with-system-icu
-extra_configure_switches += --with-system-libvpx
-extra_configure_switches += --with-system-jpeg
-extra_configure_switches += --with-unsigned-addon-scopes=app,system
-extra_configure_switches += --without-wasm-sandboxed-libraries
-extra_configure_switches += --allow-addon-sideload
-
-extra_configure_switches += --enable-alsa
-extra_configure_switches += --enable-default-toolkit=cairo-gtk3-wayland
-extra_configure_switches += --enable-linker=bfd
-extra_configure_switches += --enable-optimize
-
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_A1X_GLIBC)    $(TOOLCHAIN_A2X_GLIBC)      \
-                             $(TOOLCHAIN_H3_GLIBC)     $(TOOLCHAIN_RK328X_GLIBC)   \
-                             $(TOOLCHAIN_S8XX_GLIBC)   $(TOOLCHAIN_IMX6_GLIBC)     \
-                             $(TOOLCHAIN_AM335X_GLIBC) $(TOOLCHAIN_OMAP543X_GLIBC)),)
-extra_configure_switches += --disable-cpp-rtti
-else
-extra_configure_switches += --enable-cpp-rtti
-endif
-
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_JZ47XX_GLIBC) $(TOOLCHAIN_P5600_GLIBC)),)
-extra_configure_switches += --disable-jit
-endif
-
-extra_configure_switches += --enable-accessibility
-
-extra_configure_switches += --disable-strip
-extra_configure_switches += --disable-install-strip
-extra_configure_switches += --disable-crashreporter
-extra_configure_switches += --disable-debug-symbols
-extra_configure_switches += --disable-updater
-extra_configure_switches += --disable-nodejs
-extra_configure_switches += --disable-debug
-extra_configure_switches += --disable-tests
-
-#
-# NOTE:
-# ====
-#
-#  Before run this Makefile we have to setup RUST compiler
-#  and stable x86_64-unknown-linux-gnu toolchain with targets:
-#
-# Install RUST:
-# ------------
-# $ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
-# $ source "$HOME/.cargo/env"
-#
-# List available targets:
-# ----------------------
-# $ rustc --print target-list
-#
-# Install toolchain and make them default:
-# ---------------------------------------
-#
-# $ rustup toolchain install 1.71.1
-# $ rustup default 1.71.1
-#
-# $ rustc --version
-# rustc 1.71.1 (eb26296b5 2023-08-03)
-#
-# Add targets:
-# -----------
-# $ rustup target add arm-unknown-linux-gnueabihf
-# $ rustup target add aarch64-unknown-linux-gnu
-# $ rustup target add mipsel-unknown-linux-gnu
-# $ rustup target add powerpc-unknown-linux-gnu
-# $ rustup target add powerpc64-unknown-linux-gnu
-# $ rustup target add powerpc64le-unknown-linux-gnu
-# $ rustup target add riscv64gc-unknown-linux-gnu
-# $ rustup target add i586-unknown-linux-gnu
-# $ rustup target add i686-unknown-linux-gnu
-# $ rustup target add x86_64-unknown-linux-gnu
-#
-# $ cargo install cbindgen
-#
-
-#
-# Rust Target Triplets:
-# ====================
-#
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_A1X_GLIBC)    $(TOOLCHAIN_A2X_GLIBC)    \
-                             $(TOOLCHAIN_H3_GLIBC)     $(TOOLCHAIN_RK328X_GLIBC) \
-                             $(TOOLCHAIN_S8XX_GLIBC)   $(TOOLCHAIN_IMX6_GLIBC)   \
-                             $(TOOLCHAIN_AM335X_GLIBC) $(TOOLCHAIN_OMAP543X_GLIBC)),)
-rust-target = armv7-unknown-linux-gnueabihf
-endif
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_H5_GLIBC)     $(TOOLCHAIN_RK33XX_GLIBC) \
-                             $(TOOLCHAIN_RK339X_GLIBC) $(TOOLCHAIN_RK358X_GLIBC) \
-                             $(TOOLCHAIN_S9XX_GLIBC)   \
-                             $(TOOLCHAIN_A311X_GLIBC)  $(TOOLCHAIN_M1000_GLIBC)),)
-rust-target = aarch64-unknown-linux-gnu
-endif
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_JZ47XX_GLIBC) $(TOOLCHAIN_P5600_GLIBC)),)
-rust-target = mipsel-unknown-linux-gnu
-endif
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_POWER8_GLIBC) $(TOOLCHAIN_POWER9_GLIBC)),)
-rust-target = powerpc64-unknown-linux-gnu
-endif
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_POWER8LE_GLIBC) $(TOOLCHAIN_POWER9LE_GLIBC)),)
-rust-target = powerpc64le-unknown-linux-gnu
-endif
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_RISCV64_GLIBC)),)
-rust-target = riscv64gc-unknown-linux-gnu
-endif
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_I586_GLIBC)),)
-rust-target = i586-unknown-linux-gnu
-endif
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_I686_GLIBC)),)
-rust-target = i686-unknown-linux-gnu
-endif
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_X86_64_GLIBC)),)
-rust-target = x86_64-unknown-linux-gnu
-endif
-
-#
-# RUST cannot be a cross compiler if HOST == TARGET, but
-# HOST tools should be run on build-machine
-#
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_X86_64_GLIBC)),)
-x86-64-dynamic-linker = -Wl,--dynamic-linker,/lib$(BUILD_MULTILIB_SUFFIX)/ld-linux-x86-64.so.2
-endif
-
-cpu-arch = $(word 1,$(subst -, ,$(rust-target)))
-
-rust-host = x86_64-unknown-linux-gnu
-
-gcc-version  = $(shell $(CC) -dumpversion)
-
-binding-flags  = --sysroot=$(TARGET_DEST_DIR)
-binding-flags += --target=$(TARGET)
-binding-flags += -I$(TARGET_DEST_DIR)/usr/include/c++/$(gcc-version)
-binding-flags += -I$(TARGET_DEST_DIR)/usr/include/c++/$(gcc-version)/$(TARGET)
-binding-flags += -I$(TARGET_DEST_DIR)/usr/include
-binding-flags += -I$(TARGET_DEST_DIR)/usr/lib/glib-2.0/include
-binding-flags += -I$(CURDIR)/$(SRC_DIR)/xpcom/string
-
-arch-flags = $(ARCH_FLAGS)
-
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_A1X_GLIBC) $(TOOLCHAIN_A2X_GLIBC)    \
-                             $(TOOLCHAIN_H3_GLIBC)  $(TOOLCHAIN_RK328X_GLIBC) \
-                             $(TOOLCHAIN_OMAP543X_GLIBC)),)
-arch-flags = $(shell echo $(ARCH_FLAGS) | sed 's,\(-mfpu\)=[^ ]*,\1=vfpv3-d16,')
-endif
-
-mozilla-link-flags  = --sysroot=$(TARGET_DEST_DIR) $(arch-flags)
-mozilla-link-flags += -Wl,--as-needed -Wl,--no-keep-memory
-mozilla-link-flags += -Wl,--stats -Wl,--reduce-memory-overheads
-
-suppres-c-warnings    = -Wno-deprecated-declarations -Wno-unused-result -Wno-maybe-uninitialized
-suppres-c-warnings   += -Wno-stringop-truncation -Wno-stringop-overflow -Wno-pointer-arith
-suppres-c-warnings   += -Wno-sign-compare-Wno-unused-but-set-variable -Wno-unused-value
-suppres-c-warnings   += -Wno-type-limits
-
-suppres-cxx-warnings  = -Wno-deprecated-declarations -Wno-class-memaccess -Wno-invalid-offsetof
-suppres-cxx-warnings += -Wno-array-bounds -Wno-stringop-truncation -Wno-stringop-overflow
-suppres-cxx-warnings += -Wno-dangling-pointer -Wno-use-after-free -Wno-return-local-addr
-suppres-cxx-warnings += -Wno-maybe-uninitialized -Wno-pointer-arith -Wno-sign-compare
-suppres-cxx-warnings += -Wno-unused-but-set-variable -Wno-restrict -Wno-alloc-size-larger-than
-suppres-cxx-warnings += -Wno-unused-value -Wno-narrowing -Wno-free-nonheap-object
-suppres-cxx-warnings += -Wno-return-type
-
-extra_environment  = CC='$(CCACHE)$(CROSS_PREFIX)gcc --sysroot=$(TARGET_DEST_DIR)'
-extra_environment += CXX='$(CCACHE)$(CROSS_PREFIX)g++ --sysroot=$(TARGET_DEST_DIR)'
-extra_environment += OBJCOPY='$(CROSS_PREFIX)objcopy'
-extra_environment += AR='$(CROSS_PREFIX)ar'
-extra_environment += NM='$(CROSS_PREFIX)nm'
-extra_environment += CFLAGS='--sysroot=$(TARGET_DEST_DIR) -I$(TARGET_DEST_DIR)/usr/include -I$(TARGET_DEST_DIR)/usr/lib/glib-2.0/include  -I$(CURDIR)/$(SRC_DIR)/xpcom/string $(arch-flags) -fomit-frame-pointer $(suppres-c-warnings)'
-extra_environment += CXXFLAGS='--sysroot=$(TARGET_DEST_DIR) -I$(TARGET_DEST_DIR)/usr/include -I$(TARGET_DEST_DIR)/usr/lib/glib-2.0/include  -I$(CURDIR)/$(SRC_DIR)/xpcom/string $(arch-flags) -fomit-frame-pointer $(suppres-cxx-warnings)'
-extra_environment += LDFLAGS='--sysroot=$(TARGET_DEST_DIR) $(arch-flags) $(x86-64-dynamic-linker) -Wl,-rpath-link,$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX) -Wl,--as-needed -Wl,--no-keep-memory -Wl,--stats -Wl,--reduce-memory-overheads'
-extra_environment += HOST_CC='/usr/bin/gcc'
-extra_environment += HOST_CXX='/usr/bin/g++'
-extra_environment += HOST_AR='/usr/bin/ar'
-extra_environment += HOST_CFLAGS='-I/usr/include'
-extra_environment += HOST_CXXFLAGS='-I/usr/include'
-extra_environment += HOST_LDFLAGS='-L/usr/lib$(BUILD_MULTILIB_SUFFIX)'
-extra_environment += OS_TARGET=Linux
-extra_environment += OS_ARCH=$(cpu-arch)
-extra_environment += CPU_ARCH=$(cpu-arch)
-extra_environment += TARGET_CPU=$(cpu-arch)
-extra_environment += TARGET_OS=Linux
-extra_environment += MOZILLA_OFFICIAL=1
-extra_environment += BUILD_OFFICIAL=1
-extra_environment += MOZ_PHOENIX=1
-extra_environment += MOZ_PACKAGE_JSSHELL=1
-extra_environment += BINDGEN_CFLAGS='$(binding-flags)'
-extra_environment += MOZ_LINK_FLAGS='$(mozilla-link-flags)'
-extra_environment += MOZBUILD_STATE_PATH='$(CURDIR)/$(build_dir)/tmp/firefox-$(version)/.mozbuild'
-
-cargo-executable = $(shell which cargo)
-
-extra_environment += RUST_TARGET='$(rust-target)'
-extra_environment += CARGO='$(cargo-executable)'
-extra_environment += CARGO_EXTRA_FLAGS='+1.71.1-$(rust-host)'
-
-extra_environment += MOZ_CARGO_WRAP_HOST_LD='/usr/bin/g++'
-extra_environment += MOZ_CARGO_WRAP_HOST_LD_CXX='/usr/bin/g++'
-extra_environment += MOZ_CARGO_WRAP_HOST_LDFLAGS='-L/usr/lib$(BUILD_MULTILIB_SUFFIX)'
-
-
-####### Dependencies
-
-$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
-	$(UNPACK_SRC_ARCHIVE)
-	$(APPLY_PATCHES)
-	$(call apply-opt-patches, $(SRC_DIR))
-	@touch $@
-
-$(build_target): $(src_done)
-	@mkdir -p $(build_dir)/tmp
-	@cd $(build_dir) && \
-	  $(extra_environment) ../$(src_dir_name)/configure \
-	  --prefix=/usr               \
-	  --host=$(rust-host)         \
-	  --target=$(rust-target)     \
-	  $(extra_configure_switches)
-	@cd $(build_dir) && PYTHON3=/usr/bin/python3 $(MAKE)
-	@touch $@
-
-$(install_target): $(build_target)
-	@mkdir -p $(FIREFOX_PKG)
-	@cd $(build_dir) && PYTHON3=/usr/bin/python3 $(MAKE) install $(env_sysroot)
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_X86_64_GLIBC)),)
-ifneq ($(PATCHELF),)
-	# ======= Set Interpreter for x86_64 target binaries: =======
-	@( cd $(FIREFOX_PKG)/usr/lib$(LIBSUFFIX)/firefox ; \
-	   for file in `find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs echo` ; do \
-	     $(PATCHELF) --set-interpreter /lib$(LIBSUFFIX)/ld-linux-x86-64.so.2 $$file 1> /dev/null 2> /dev/null ; \
-	   done ; \
-	 )
-endif
-endif
-	# ======= Fix duplicate binary: =======
-	@( cd $(FIREFOX_PKG)/usr/lib$(LIBSUFFIX)/firefox ; \
-	   if cmp firefox firefox-bin ; then \
-	     ln -sf firefox-bin firefox ; \
-	   fi ; \
-	 )
-	@mkdir -p $(FIREFOX_PKG)/usr/lib$(LIBSUFFIX)/mozilla/plugins
-	@( cd $(FIREFOX_PKG)/usr/bin ; \
-	   rm -f firefox ; \
-	   cat $(CURDIR)/scripts/firefox.in | \
-	       sed -e "s/@LIBDIRSUFFIX@/$(LIBSUFFIX)/g" > firefox ; \
-	   chmod 755 firefox ; \
-	 )
-	@mkdir -p $(FIREFOX_PKG)/usr/share/applications
-	@cat $(CURDIR)/desktop/firefox.desktop > $(FIREFOX_PKG)/usr/share/applications/firefox.desktop
-	@for size in 16 22 24 32 48 256 ; do \
-	   install -D -m0644 \
-	     $(SRC_DIR)/browser/branding/official/default$${size}.png \
-	     $(FIREFOX_PKG)/usr/share/icons/hicolor/$${size}x$${size}/apps/firefox.png ; \
-	 done
-	@mkdir -p $(FIREFOX_PKG)/usr/share/pixmaps
-	@( cd $(FIREFOX_PKG)/usr/share/pixmaps ; \
-	   ln -sf ../icons/hicolor/256x256/apps/firefox.png . ; \
-	 )
-	@mkdir -p $(FIREFOX_PKG)/usr/lib$(LIBSUFFIX)/firefox/chrome/icons/default
-	@install -m 644 $(SRC_DIR)/browser/branding/official/default16.png \
-	   $(FIREFOX_PKG)/usr/lib$(LIBSUFFIX)/firefox/chrome/icons/default/
-	# ======= Copy over the LICENSE: =======
-	@sed -i.orig 's,toolkit/content,/usr/share/doc/$(src_dir_name),' $(SRC_DIR)/LICENSE
-	@install -p -c -m 644 $(SRC_DIR)/LICENSE $(FIREFOX_PKG)/usr/lib$(LIBSUFFIX)/firefox/
-	# ======= Install Documentation =======
-	@if [ -d $(FIREFOX_PKG)/usr/share/man ]; then \
-	  ( cd $(FIREFOX_PKG)/usr/share/man ; \
-	    for manpagedir in `find . -type d -name "man*"` ; do \
-	      ( cd $$manpagedir ; \
-	        for eachpage in `find . -type l -maxdepth 1` ; do \
-	          ln -s `readlink $$eachpage`.gz $$eachpage.gz ; \
-	          rm $$eachpage ; \
-	        done ; \
-	        gzip -9 *.?  ; \
-	      ) \
-	    done \
-	  ) \
-	 fi
-	@mkdir -p $(FIREFOX_PKG)/usr/doc/$(src_dir_name)
-	@cp -a $(SRC_DIR)/LICENSE \
-	       $(FIREFOX_PKG)/usr/doc/$(src_dir_name)
-	@mkdir -p $(FIREFOX_PKG)/usr/share/doc/$(src_dir_name)
-	@( cd $(SRC_DIR) ; \
-	   cp -a LICENSE README* toolkit/content/license.html \
-	         $(FIREFOX_PKG)/usr/share/doc/$(src_dir_name) ; \
-	 )
-	@( cd $(SRC_DIR) ; \
-	   if [ -r ChangeLog -a -s ChangeLog ]; then \
-	     DOCSDIR=`echo $(FIREFOX_PKG)/usr/share/doc/$(src_dir_name)` ; \
-	     cat ChangeLog | head -n 1000 > $$DOCSDIR/ChangeLog ; \
-	     touch -r ChangeLog $$DOCSDIR/ChangeLog ; \
-	   fi \
-	 )
-	# ======= Install the same to $(TARGET_DEST_DIR) =======
-	$(call install-into-devenv, $(FIREFOX_PKG))
-	# ======= Strip binaries =======
-	@( cd $(FIREFOX_PKG)/usr/lib$(LIBSUFFIX)/firefox ; \
-	   find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
-	   find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
-	 )
-	@touch $@
-
-$(FIREFOX_PKG_DESCRIPTION_FILE): $(FIREFOX_PKG_DESCRIPTION_FILE_IN)
-	@cat $< | $(SED) -e "s/@VERSION@/$(version)/g" > $@
-
-$(pkg_certificate) : $(pkg_archive) ;
-$(pkg_signature)   : $(pkg_archive) ;
-$(pkg_description) : $(pkg_archive) ;
-
-$(pkg_archive): $(install_target) $(FIREFOX_PKG_DESCRIPTION_FILE) $(FIREFOX_PKG_INSTALL_SCRIPT)
-	@cp $(FIREFOX_PKG_DESCRIPTION_FILE) $(FIREFOX_PKG)/.DESCRIPTION
-	@cp $(FIREFOX_PKG_INSTALL_SCRIPT) $(FIREFOX_PKG)/.INSTALL
-	@$(BUILD_PKG_REQUIRES) $(FIREFOX_PKG)/.REQUIRES
-	@echo "pkgname=$(FIREFOX_PKG_NAME)"                            >  $(FIREFOX_PKG)/.PKGINFO ; \
-	 echo "pkgver=$(FIREFOX_PKG_VERSION)"                          >> $(FIREFOX_PKG)/.PKGINFO ; \
-	 echo "arch=$(FIREFOX_PKG_ARCH)"                               >> $(FIREFOX_PKG)/.PKGINFO ; \
-	 echo "distroname=$(FIREFOX_PKG_DISTRO_NAME)"                  >> $(FIREFOX_PKG)/.PKGINFO ; \
-	 echo "distrover=$(FIREFOX_PKG_DISTRO_VERSION)"                >> $(FIREFOX_PKG)/.PKGINFO ; \
-	 echo "group=$(FIREFOX_PKG_GROUP)"                             >> $(FIREFOX_PKG)/.PKGINFO ; \
-	 echo "short_description=\"$(FIREFOX_PKG_SHORT_DESCRIPTION)\"" >> $(FIREFOX_PKG)/.PKGINFO ; \
-	 echo "url=$(FIREFOX_PKG_URL)"                                 >> $(FIREFOX_PKG)/.PKGINFO ; \
-	 echo "license=$(FIREFOX_PKG_LICENSE)"                         >> $(FIREFOX_PKG)/.PKGINFO
-	@$(PSEUDO) sh -c "cd $(FIREFOX_PKG) && \
-	                  chown -R root:root . && \
-	                  $(MAKE_PACKAGE) -J --linkadd=yes $(GNUPG_OPTIONS) -m -d .. ."
Index: app/firefox/118.0.1
===================================================================
--- app/firefox/118.0.1	(revision 382)
+++ app/firefox/118.0.1	(nonexistent)

Property changes on: app/firefox/118.0.1
___________________________________________________________________
Deleted: svn:ignore
## -1,74 +0,0 ##
-
-# install dir
-dist
-
-# Target build dirs
-.a1x-newlib
-.a2x-newlib
-.at91sam7s-newlib
-
-.build-machine
-
-.a1x-glibc
-.a2x-glibc
-.h3-glibc
-.h5-glibc
-.i586-glibc
-.i686-glibc
-.imx6-glibc
-.jz47xx-glibc
-.makefile
-.am335x-glibc
-.omap543x-glibc
-.p5600-glibc
-.power8-glibc
-.power8le-glibc
-.power9-glibc
-.power9le-glibc
-.m1000-glibc
-.riscv64-glibc
-.rk328x-glibc
-.rk33xx-glibc
-.rk339x-glibc
-.rk358x-glibc
-.s8xx-glibc
-.s9xx-glibc
-.x86_64-glibc
-
-# Hidden files (each file)
-.makefile
-.dist
-.rootfs
-
-# src & hw requires
-.src_requires
-.src_requires_depend
-.requires
-.requires_depend
-
-# Tarballs
-*.gz
-*.bz2
-*.lz
-*.xz
-*.tgz
-*.txz
-
-# Signatures
-*.asc
-*.sig
-*.sign
-*.sha1sum
-
-# Patches
-*.patch
-
-# Descriptions
-*.dsc
-*.txt
-
-# Default linux config files
-*.defconfig
-
-# backup copies
-*~
Index: app/firefox/115.8.0/Makefile
===================================================================
--- app/firefox/115.8.0/Makefile	(revision 382)
+++ app/firefox/115.8.0/Makefile	(revision 383)
@@ -310,15 +310,13 @@
 suppres-cxx-warnings += -Wno-unused-value -Wno-narrowing -Wno-free-nonheap-object
 suppres-cxx-warnings += -Wno-return-type -Wno-misleading-indentation
 
-CFLAGS += -flarge-source-files
-
 extra_environment  = CC='$(CCACHE)$(CROSS_PREFIX)gcc --sysroot=$(TARGET_DEST_DIR)'
 extra_environment += CXX='$(CCACHE)$(CROSS_PREFIX)g++ --sysroot=$(TARGET_DEST_DIR)'
 extra_environment += OBJCOPY='$(CROSS_PREFIX)objcopy'
 extra_environment += AR='$(CROSS_PREFIX)ar'
 extra_environment += NM='$(CROSS_PREFIX)nm'
-extra_environment += CFLAGS='--sysroot=$(TARGET_DEST_DIR) -I$(TARGET_DEST_DIR)/usr/include -I$(TARGET_DEST_DIR)/usr/lib/glib-2.0/include  -I$(CURDIR)/$(SRC_DIR)/xpcom/string $(arch-flags) -fomit-frame-pointer $(suppres-c-warnings)'
-extra_environment += CXXFLAGS='--sysroot=$(TARGET_DEST_DIR) -I$(TARGET_DEST_DIR)/usr/include -I$(TARGET_DEST_DIR)/usr/lib/glib-2.0/include  -I$(CURDIR)/$(SRC_DIR)/xpcom/string $(arch-flags) -fomit-frame-pointer $(suppres-cxx-warnings)'
+extra_environment += CFLAGS='--sysroot=$(TARGET_DEST_DIR) -I$(TARGET_DEST_DIR)/usr/include -I$(TARGET_DEST_DIR)/usr/lib/glib-2.0/include  -I$(CURDIR)/$(SRC_DIR)/xpcom/string $(arch-flags) -fomit-frame-pointer -flarge-source-files $(suppres-c-warnings)'
+extra_environment += CXXFLAGS='--sysroot=$(TARGET_DEST_DIR) -I$(TARGET_DEST_DIR)/usr/include -I$(TARGET_DEST_DIR)/usr/lib/glib-2.0/include  -I$(CURDIR)/$(SRC_DIR)/xpcom/string $(arch-flags) -fomit-frame-pointer -flarge-source-files $(suppres-cxx-warnings)'
 extra_environment += LDFLAGS='--sysroot=$(TARGET_DEST_DIR) $(arch-flags) $(x86-64-dynamic-linker) -Wl,-rpath-link,$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX) -Wl,--as-needed -Wl,--no-keep-memory -Wl,--stats -Wl,--reduce-memory-overheads'
 extra_environment += HOST_CC='/usr/bin/gcc'
 extra_environment += HOST_CXX='/usr/bin/g++'
Index: app/firefox/118.0.2/Makefile
===================================================================
--- app/firefox/118.0.2/Makefile	(nonexistent)
+++ app/firefox/118.0.2/Makefile	(revision 383)
@@ -0,0 +1,473 @@
+
+COMPONENT_TARGETS  = $(HARDWARE_INTEL_PC32)
+COMPONENT_TARGETS += $(HARDWARE_INTEL_PC64)
+COMPONENT_TARGETS += $(HARDWARE_EBOX_3350DX2)
+COMPONENT_TARGETS += $(HARDWARE_CB1X)
+COMPONENT_TARGETS += $(HARDWARE_CB2X)
+COMPONENT_TARGETS += $(HARDWARE_CB3X)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP2E)
+COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
+COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
+COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
+COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
+COMPONENT_TARGETS += $(HARDWARE_POIN2)
+COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_EDGE)
+COMPONENT_TARGETS += $(HARDWARE_LEEZ_P710)
+COMPONENT_TARGETS += $(HARDWARE_M201)
+COMPONENT_TARGETS += $(HARDWARE_MXV)
+COMPONENT_TARGETS += $(HARDWARE_P201)
+COMPONENT_TARGETS += $(HARDWARE_NEXBOX_A95X)
+COMPONENT_TARGETS += $(HARDWARE_ODROID_C2)
+COMPONENT_TARGETS += $(HARDWARE_P212)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM)
+COMPONENT_TARGETS += $(HARDWARE_Q201)
+COMPONENT_TARGETS += $(HARDWARE_ENYBOX_X2)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM2)
+COMPONENT_TARGETS += $(HARDWARE_NIT6Q)
+COMPONENT_TARGETS += $(HARDWARE_OKMX6DL_C)
+COMPONENT_TARGETS += $(HARDWARE_OKMX6Q_C)
+COMPONENT_TARGETS += $(HARDWARE_BONE_BLACK)
+COMPONENT_TARGETS += $(HARDWARE_OMAP5UEVM)
+COMPONENT_TARGETS += $(HARDWARE_DRA7XXEVM)
+COMPONENT_TARGETS += $(HARDWARE_CI20)
+COMPONENT_TARGETS += $(HARDWARE_BAIKAL_T1)
+COMPONENT_TARGETS += $(HARDWARE_BAIKAL_M1)
+COMPONENT_TARGETS += $(HARDWARE_S824L)
+COMPONENT_TARGETS += $(HARDWARE_VESNIN)
+COMPONENT_TARGETS += $(HARDWARE_S824L_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VESNIN_LSB)
+COMPONENT_TARGETS += $(HARDWARE_TL2WK2)
+COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
+COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
+COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
+
+
+NEED_ABS_PATH      = true
+COMPONENT_IS_3PP   = true
+
+
+include ../../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES    = sources/packages/x/mozilla/firefox
+
+REQUIRES           = X11/libs/gtk+3/3.24.37
+REQUIRES          += X11/libs/cairo/1.17.8
+REQUIRES          += X11/media/alsa-plugins/1.2.7.1
+REQUIRES          += app/fontconfig/2.13.95
+REQUIRES          += libs/icu4c/73.1
+REQUIRES          += libs/dbus-glib/0.112
+REQUIRES          += media/libvpx/1.12.0
+REQUIRES          += net/nss/3.97
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version            = 118.0.2
+tar_xz_archive     = $(SRC_PACKAGE_PATH)/packages/x/mozilla/firefox/firefox-$(version).source.tar.xz
+SRC_ARCHIVE        = $(tar_xz_archive)
+SRC_DIR            = $(TARGET_BUILD_DIR)/firefox-$(version)
+src_dir_name       = firefox-$(version)
+src_done           = $(TARGET_BUILD_DIR)/.source_done
+
+PATCHES = PATCHES
+
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_RISCV64_GLIBC)),)
+OPT_PATCHES = PATCHES.riscv64gc
+endif
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_I586_GLIBC) $(TOOLCHAIN_I686_GLIBC)),)
+OPT_PATCHES = PATCHES.x86
+endif
+
+build_dir          = $(TARGET_BUILD_DIR)/build
+build_target       = $(TARGET_BUILD_DIR)/.build_done
+install_target     = $(TARGET_BUILD_DIR)/.install_done
+
+
+####### Targets
+
+PKG_GROUP = xapp
+
+#
+# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
+#
+FIREFOX_PKG_NAME                = firefox
+FIREFOX_PKG_VERSION             = 118.0.2
+FIREFOX_PKG_ARCH                = $(PKGARCH)
+FIREFOX_PKG_DISTRO_NAME         = $(DISTRO_NAME)
+FIREFOX_PKG_DISTRO_VERSION      = $(DISTRO_VERSION)
+FIREFOX_PKG_GROUP               = $(PKG_GROUP)
+###                              |---handy-ruler-------------------------------|
+FIREFOX_PKG_SHORT_DESCRIPTION   = Mozilla Firefox Web browser
+FIREFOX_PKG_URL                 = $(BUG_URL)
+FIREFOX_PKG_LICENSE             = custom
+FIREFOX_PKG_DESCRIPTION_FILE    = $(TARGET_BUILD_DIR)/$(FIREFOX_PKG_NAME)-pkg-description
+FIREFOX_PKG_DESCRIPTION_FILE_IN = $(FIREFOX_PKG_NAME)-pkg-description.in
+FIREFOX_PKG_INSTALL_SCRIPT      = $(FIREFOX_PKG_NAME)-pkg-install.sh
+
+FIREFOX_PKG      = $(CURDIR)/$(TARGET_BUILD_DIR)/$(FIREFOX_PKG_NAME)-package
+
+pkg_basename     = $(FIREFOX_PKG_NAME)-$(FIREFOX_PKG_VERSION)-$(FIREFOX_PKG_ARCH)-$(FIREFOX_PKG_DISTRO_NAME)-$(FIREFOX_PKG_DISTRO_VERSION)
+
+pkg_archive      = $(TARGET_BUILD_DIR)/$(PKG_GROUP)/$(pkg_basename).$(pkg_arch_suffix)
+pkg_signature    = $(call sign-name,$(pkg_archive))
+pkg_description  = $(call desc-name,$(pkg_archive))
+products         = $(call pkg-files,$(pkg_archive))
+
+BUILD_TARGETS    = $(build_target)
+BUILD_TARGETS   += $(install_target)
+
+PRODUCT_TARGETS  = $(products)
+
+ROOTFS_TARGETS   = $(pkg_archive)
+
+
+include ../../../../build-system/core.mk
+
+
+env_sysroot = DESTDIR=$(FIREFOX_PKG)
+
+
+extra_configure_switches  = --libdir=/usr/lib$(LIBSUFFIX)
+
+extra_configure_switches += --enable-official-branding
+extra_configure_switches += --enable-project=browser
+extra_configure_switches += --enable-application=browser
+extra_configure_switches += --enable-bootstrap
+extra_configure_switches += --with-system-zlib
+extra_configure_switches += --with-system-nss
+extra_configure_switches += --with-system-nspr
+extra_configure_switches += --with-system-icu
+extra_configure_switches += --with-system-libvpx
+extra_configure_switches += --with-system-jpeg
+extra_configure_switches += --with-unsigned-addon-scopes=app,system
+extra_configure_switches += --without-wasm-sandboxed-libraries
+extra_configure_switches += --allow-addon-sideload
+
+extra_configure_switches += --enable-alsa
+extra_configure_switches += --enable-default-toolkit=cairo-gtk3-wayland
+extra_configure_switches += --enable-linker=bfd
+extra_configure_switches += --enable-optimize
+
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_A1X_GLIBC)    $(TOOLCHAIN_A2X_GLIBC)      \
+                             $(TOOLCHAIN_H3_GLIBC)     $(TOOLCHAIN_RK328X_GLIBC)   \
+                             $(TOOLCHAIN_S8XX_GLIBC)   $(TOOLCHAIN_IMX6_GLIBC)     \
+                             $(TOOLCHAIN_AM335X_GLIBC) $(TOOLCHAIN_OMAP543X_GLIBC)),)
+extra_configure_switches += --disable-cpp-rtti
+else
+extra_configure_switches += --enable-cpp-rtti
+endif
+
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_JZ47XX_GLIBC) $(TOOLCHAIN_P5600_GLIBC)),)
+extra_configure_switches += --disable-jit
+endif
+
+extra_configure_switches += --enable-accessibility
+
+extra_configure_switches += --disable-strip
+extra_configure_switches += --disable-install-strip
+extra_configure_switches += --disable-crashreporter
+extra_configure_switches += --disable-debug-symbols
+extra_configure_switches += --disable-updater
+extra_configure_switches += --disable-nodejs
+extra_configure_switches += --disable-debug
+extra_configure_switches += --disable-tests
+
+#
+# NOTE:
+# ====
+#
+#  Before run this Makefile we have to setup RUST compiler
+#  and stable x86_64-unknown-linux-gnu toolchain with targets:
+#
+# Install RUST:
+# ------------
+# $ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
+# $ source "$HOME/.cargo/env"
+#
+# List available targets:
+# ----------------------
+# $ rustc --print target-list
+#
+# Install toolchain and make them default:
+# ---------------------------------------
+#
+# $ rustup toolchain install 1.71.1
+# $ rustup default 1.71.1
+#
+# $ rustc --version
+# rustc 1.71.1 (eb26296b5 2023-08-03)
+#
+# Add targets:
+# -----------
+# $ rustup target add arm-unknown-linux-gnueabihf
+# $ rustup target add armv7-unknown-linux-gnueabihf
+# $ rustup target add thumbv7neon-unknown-linux-gnueabihf
+# $ rustup target add aarch64-unknown-linux-gnu
+# $ rustup target add mipsel-unknown-linux-gnu
+# $ rustup target add powerpc-unknown-linux-gnu
+# $ rustup target add powerpc64-unknown-linux-gnu
+# $ rustup target add powerpc64le-unknown-linux-gnu
+# $ rustup target add riscv64gc-unknown-linux-gnu
+# $ rustup target add i586-unknown-linux-gnu
+# $ rustup target add i686-unknown-linux-gnu
+# $ rustup target add x86_64-unknown-linux-gnu
+#
+# $ cargo install cbindgen
+#
+
+#
+# Rust Target Triplets:
+# ====================
+#
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_A1X_GLIBC)    $(TOOLCHAIN_A2X_GLIBC)    \
+                             $(TOOLCHAIN_H3_GLIBC)     $(TOOLCHAIN_RK328X_GLIBC) \
+                             $(TOOLCHAIN_S8XX_GLIBC)   $(TOOLCHAIN_IMX6_GLIBC)   \
+                             $(TOOLCHAIN_AM335X_GLIBC) $(TOOLCHAIN_OMAP543X_GLIBC)),)
+rust-target = armv7-unknown-linux-gnueabihf
+endif
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_H5_GLIBC)     $(TOOLCHAIN_RK33XX_GLIBC) \
+                             $(TOOLCHAIN_RK339X_GLIBC) $(TOOLCHAIN_RK358X_GLIBC) \
+                             $(TOOLCHAIN_S9XX_GLIBC)   \
+                             $(TOOLCHAIN_A311X_GLIBC)  $(TOOLCHAIN_M1000_GLIBC)),)
+rust-target = aarch64-unknown-linux-gnu
+endif
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_JZ47XX_GLIBC) $(TOOLCHAIN_P5600_GLIBC)),)
+rust-target = mipsel-unknown-linux-gnu
+endif
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_POWER8_GLIBC) $(TOOLCHAIN_POWER9_GLIBC)),)
+rust-target = powerpc64-unknown-linux-gnu
+endif
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_POWER8LE_GLIBC) $(TOOLCHAIN_POWER9LE_GLIBC)),)
+rust-target = powerpc64le-unknown-linux-gnu
+endif
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_RISCV64_GLIBC)),)
+rust-target = riscv64gc-unknown-linux-gnu
+endif
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_I586_GLIBC)),)
+rust-target = i586-unknown-linux-gnu
+endif
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_I686_GLIBC)),)
+rust-target = i686-unknown-linux-gnu
+endif
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_X86_64_GLIBC)),)
+rust-target = x86_64-unknown-linux-gnu
+endif
+
+#
+# RUST cannot be a cross compiler if HOST == TARGET, but
+# HOST tools should be run on build-machine
+#
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_X86_64_GLIBC)),)
+x86-64-dynamic-linker = -Wl,--dynamic-linker,/lib$(BUILD_MULTILIB_SUFFIX)/ld-linux-x86-64.so.2
+endif
+
+cpu-arch = $(word 1,$(subst -, ,$(rust-target)))
+
+rust-host = x86_64-unknown-linux-gnu
+
+gcc-version  = $(shell $(CC) -dumpversion)
+
+binding-flags  = --sysroot=$(TARGET_DEST_DIR)
+binding-flags += --target=$(TARGET)
+binding-flags += -I$(TARGET_DEST_DIR)/usr/include/c++/$(gcc-version)
+binding-flags += -I$(TARGET_DEST_DIR)/usr/include/c++/$(gcc-version)/$(TARGET)
+binding-flags += -I$(TARGET_DEST_DIR)/usr/include
+binding-flags += -I$(TARGET_DEST_DIR)/usr/lib/glib-2.0/include
+binding-flags += -I$(CURDIR)/$(SRC_DIR)/xpcom/string
+
+arch-flags = $(ARCH_FLAGS)
+
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_A1X_GLIBC) $(TOOLCHAIN_A2X_GLIBC)    \
+                             $(TOOLCHAIN_H3_GLIBC)  $(TOOLCHAIN_RK328X_GLIBC) \
+                             $(TOOLCHAIN_OMAP543X_GLIBC)),)
+arch-flags = $(shell echo $(ARCH_FLAGS) | sed 's,\(-mfpu\)=[^ ]*,\1=vfpv3-d16,')
+endif
+
+mozilla-link-flags  = --sysroot=$(TARGET_DEST_DIR) $(arch-flags)
+mozilla-link-flags += -Wl,--as-needed -Wl,--no-keep-memory
+mozilla-link-flags += -Wl,--stats -Wl,--reduce-memory-overheads
+
+suppres-c-warnings    = -Wno-deprecated-declarations -Wno-unused-result -Wno-maybe-uninitialized
+suppres-c-warnings   += -Wno-stringop-truncation -Wno-stringop-overflow -Wno-pointer-arith
+suppres-c-warnings   += -Wno-sign-compare-Wno-unused-but-set-variable -Wno-unused-value
+suppres-c-warnings   += -Wno-type-limits -Wno-attributes -Wno-return-type
+
+suppres-cxx-warnings  = -Wno-deprecated-declarations -Wno-class-memaccess -Wno-invalid-offsetof
+suppres-cxx-warnings += -Wno-array-bounds -Wno-stringop-truncation -Wno-stringop-overflow
+suppres-cxx-warnings += -Wno-dangling-pointer -Wno-use-after-free -Wno-return-local-addr
+suppres-cxx-warnings += -Wno-maybe-uninitialized -Wno-pointer-arith -Wno-sign-compare
+suppres-cxx-warnings += -Wno-unused-but-set-variable -Wno-restrict -Wno-alloc-size-larger-than
+suppres-cxx-warnings += -Wno-unused-value -Wno-narrowing -Wno-free-nonheap-object
+suppres-cxx-warnings += -Wno-return-type -Wno-misleading-indentation
+
+extra_environment  = CC='$(CCACHE)$(CROSS_PREFIX)gcc --sysroot=$(TARGET_DEST_DIR)'
+extra_environment += CXX='$(CCACHE)$(CROSS_PREFIX)g++ --sysroot=$(TARGET_DEST_DIR)'
+extra_environment += OBJCOPY='$(CROSS_PREFIX)objcopy'
+extra_environment += AR='$(CROSS_PREFIX)ar'
+extra_environment += NM='$(CROSS_PREFIX)nm'
+extra_environment += CFLAGS='--sysroot=$(TARGET_DEST_DIR) -I$(TARGET_DEST_DIR)/usr/include -I$(TARGET_DEST_DIR)/usr/lib/glib-2.0/include  -I$(CURDIR)/$(SRC_DIR)/xpcom/string $(arch-flags) -fomit-frame-pointer -flarge-source-files $(suppres-c-warnings)'
+extra_environment += CXXFLAGS='--sysroot=$(TARGET_DEST_DIR) -I$(TARGET_DEST_DIR)/usr/include -I$(TARGET_DEST_DIR)/usr/lib/glib-2.0/include  -I$(CURDIR)/$(SRC_DIR)/xpcom/string $(arch-flags) -fomit-frame-pointer -flarge-source-files $(suppres-cxx-warnings)'
+extra_environment += LDFLAGS='--sysroot=$(TARGET_DEST_DIR) $(arch-flags) $(x86-64-dynamic-linker) -Wl,-rpath-link,$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX) -Wl,--as-needed -Wl,--no-keep-memory -Wl,--stats -Wl,--reduce-memory-overheads'
+extra_environment += HOST_CC='/usr/bin/gcc'
+extra_environment += HOST_CXX='/usr/bin/g++'
+extra_environment += HOST_AR='/usr/bin/ar'
+extra_environment += HOST_CFLAGS='-I/usr/include'
+extra_environment += HOST_CXXFLAGS='-I/usr/include'
+extra_environment += HOST_LDFLAGS='-L/usr/lib$(BUILD_MULTILIB_SUFFIX)'
+extra_environment += OS_TARGET=Linux
+extra_environment += OS_ARCH=$(cpu-arch)
+extra_environment += CPU_ARCH=$(cpu-arch)
+extra_environment += TARGET_CPU=$(cpu-arch)
+extra_environment += TARGET_OS=Linux
+extra_environment += MOZILLA_OFFICIAL=1
+extra_environment += BUILD_OFFICIAL=1
+extra_environment += MOZ_PHOENIX=1
+extra_environment += MOZ_PACKAGE_JSSHELL=1
+extra_environment += BINDGEN_CFLAGS='$(binding-flags)'
+extra_environment += MOZ_LINK_FLAGS='$(mozilla-link-flags)'
+extra_environment += MOZBUILD_STATE_PATH='$(CURDIR)/$(build_dir)/tmp/firefox-$(version)/.mozbuild'
+
+cargo-executable = $(shell which cargo)
+
+extra_environment += RUST_TARGET='$(rust-target)'
+extra_environment += CARGO='$(cargo-executable)'
+extra_environment += CARGO_EXTRA_FLAGS='+1.71.1-$(rust-host)'
+
+extra_environment += MOZ_CARGO_WRAP_HOST_LD='/usr/bin/g++'
+extra_environment += MOZ_CARGO_WRAP_HOST_LD_CXX='/usr/bin/g++'
+extra_environment += MOZ_CARGO_WRAP_HOST_LDFLAGS='-L/usr/lib$(BUILD_MULTILIB_SUFFIX)'
+
+
+####### Dependencies
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+	$(UNPACK_SRC_ARCHIVE)
+	$(APPLY_PATCHES)
+	$(call apply-opt-patches, $(SRC_DIR))
+	@touch $@
+
+$(build_target): $(src_done)
+	@mkdir -p $(build_dir)/tmp
+	@cd $(build_dir) && \
+	  $(extra_environment) ../$(src_dir_name)/configure \
+	  --prefix=/usr               \
+	  --host=$(rust-host)         \
+	  --target=$(rust-target)     \
+	  $(extra_configure_switches)
+	@cd $(build_dir) && PYTHON3=/usr/bin/python3 $(MAKE)
+	@touch $@
+
+$(install_target): $(build_target)
+	@mkdir -p $(FIREFOX_PKG)
+	@cd $(build_dir) && PYTHON3=/usr/bin/python3 $(MAKE) install $(env_sysroot)
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_X86_64_GLIBC)),)
+ifneq ($(PATCHELF),)
+	# ======= Set Interpreter for x86_64 target binaries: =======
+	@( cd $(FIREFOX_PKG)/usr/lib$(LIBSUFFIX)/firefox ; \
+	   for file in `find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs echo` ; do \
+	     $(PATCHELF) --set-interpreter /lib$(LIBSUFFIX)/ld-linux-x86-64.so.2 $$file 1> /dev/null 2> /dev/null ; \
+	   done ; \
+	 )
+endif
+endif
+	# ======= Fix duplicate binary: =======
+	@( cd $(FIREFOX_PKG)/usr/lib$(LIBSUFFIX)/firefox ; \
+	   if cmp firefox firefox-bin ; then \
+	     ln -sf firefox-bin firefox ; \
+	   fi ; \
+	 )
+	@mkdir -p $(FIREFOX_PKG)/usr/lib$(LIBSUFFIX)/mozilla/plugins
+	@( cd $(FIREFOX_PKG)/usr/bin ; \
+	   rm -f firefox ; \
+	   cat $(CURDIR)/scripts/firefox.in | \
+	       sed -e "s/@LIBDIRSUFFIX@/$(LIBSUFFIX)/g" > firefox ; \
+	   chmod 755 firefox ; \
+	 )
+	@mkdir -p $(FIREFOX_PKG)/usr/share/applications
+	@cat $(CURDIR)/desktop/firefox.desktop > $(FIREFOX_PKG)/usr/share/applications/firefox.desktop
+	@for size in 16 22 24 32 48 256 ; do \
+	   install -D -m0644 \
+	     $(SRC_DIR)/browser/branding/official/default$${size}.png \
+	     $(FIREFOX_PKG)/usr/share/icons/hicolor/$${size}x$${size}/apps/firefox.png ; \
+	 done
+	@mkdir -p $(FIREFOX_PKG)/usr/share/pixmaps
+	@( cd $(FIREFOX_PKG)/usr/share/pixmaps ; \
+	   ln -sf ../icons/hicolor/256x256/apps/firefox.png . ; \
+	 )
+	@mkdir -p $(FIREFOX_PKG)/usr/lib$(LIBSUFFIX)/firefox/chrome/icons/default
+	@install -m 644 $(SRC_DIR)/browser/branding/official/default16.png \
+	   $(FIREFOX_PKG)/usr/lib$(LIBSUFFIX)/firefox/chrome/icons/default/
+	# ======= Copy over the LICENSE: =======
+	@sed -i.orig 's,toolkit/content,/usr/share/doc/$(src_dir_name),' $(SRC_DIR)/LICENSE
+	@install -p -c -m 644 $(SRC_DIR)/LICENSE $(FIREFOX_PKG)/usr/lib$(LIBSUFFIX)/firefox/
+	# ======= Install Documentation =======
+	@if [ -d $(FIREFOX_PKG)/usr/share/man ]; then \
+	  ( cd $(FIREFOX_PKG)/usr/share/man ; \
+	    for manpagedir in `find . -type d -name "man*"` ; do \
+	      ( cd $$manpagedir ; \
+	        for eachpage in `find . -type l -maxdepth 1` ; do \
+	          ln -s `readlink $$eachpage`.gz $$eachpage.gz ; \
+	          rm $$eachpage ; \
+	        done ; \
+	        gzip -9 *.?  ; \
+	      ) \
+	    done \
+	  ) \
+	 fi
+	@mkdir -p $(FIREFOX_PKG)/usr/doc/$(src_dir_name)
+	@cp -a $(SRC_DIR)/LICENSE \
+	       $(FIREFOX_PKG)/usr/doc/$(src_dir_name)
+	@mkdir -p $(FIREFOX_PKG)/usr/share/doc/$(src_dir_name)
+	@( cd $(SRC_DIR) ; \
+	   cp -a LICENSE README* toolkit/content/license.html \
+	         $(FIREFOX_PKG)/usr/share/doc/$(src_dir_name) ; \
+	 )
+	@( cd $(SRC_DIR) ; \
+	   if [ -r ChangeLog -a -s ChangeLog ]; then \
+	     DOCSDIR=`echo $(FIREFOX_PKG)/usr/share/doc/$(src_dir_name)` ; \
+	     cat ChangeLog | head -n 1000 > $$DOCSDIR/ChangeLog ; \
+	     touch -r ChangeLog $$DOCSDIR/ChangeLog ; \
+	   fi \
+	 )
+	# ======= Install the same to $(TARGET_DEST_DIR) =======
+	$(call install-into-devenv, $(FIREFOX_PKG))
+	# ======= Strip binaries =======
+	@( cd $(FIREFOX_PKG)/usr/lib$(LIBSUFFIX)/firefox ; \
+	   find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
+	   find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
+	 )
+	@touch $@
+
+$(FIREFOX_PKG_DESCRIPTION_FILE): $(FIREFOX_PKG_DESCRIPTION_FILE_IN)
+	@cat $< | $(SED) -e "s/@VERSION@/$(version)/g" > $@
+
+$(pkg_certificate) : $(pkg_archive) ;
+$(pkg_signature)   : $(pkg_archive) ;
+$(pkg_description) : $(pkg_archive) ;
+
+$(pkg_archive): $(install_target) $(FIREFOX_PKG_DESCRIPTION_FILE) $(FIREFOX_PKG_INSTALL_SCRIPT)
+	@cp $(FIREFOX_PKG_DESCRIPTION_FILE) $(FIREFOX_PKG)/.DESCRIPTION
+	@cp $(FIREFOX_PKG_INSTALL_SCRIPT) $(FIREFOX_PKG)/.INSTALL
+	@$(BUILD_PKG_REQUIRES) $(FIREFOX_PKG)/.REQUIRES
+	@echo "pkgname=$(FIREFOX_PKG_NAME)"                            >  $(FIREFOX_PKG)/.PKGINFO ; \
+	 echo "pkgver=$(FIREFOX_PKG_VERSION)"                          >> $(FIREFOX_PKG)/.PKGINFO ; \
+	 echo "arch=$(FIREFOX_PKG_ARCH)"                               >> $(FIREFOX_PKG)/.PKGINFO ; \
+	 echo "distroname=$(FIREFOX_PKG_DISTRO_NAME)"                  >> $(FIREFOX_PKG)/.PKGINFO ; \
+	 echo "distrover=$(FIREFOX_PKG_DISTRO_VERSION)"                >> $(FIREFOX_PKG)/.PKGINFO ; \
+	 echo "group=$(FIREFOX_PKG_GROUP)"                             >> $(FIREFOX_PKG)/.PKGINFO ; \
+	 echo "short_description=\"$(FIREFOX_PKG_SHORT_DESCRIPTION)\"" >> $(FIREFOX_PKG)/.PKGINFO ; \
+	 echo "url=$(FIREFOX_PKG_URL)"                                 >> $(FIREFOX_PKG)/.PKGINFO ; \
+	 echo "license=$(FIREFOX_PKG_LICENSE)"                         >> $(FIREFOX_PKG)/.PKGINFO
+	@$(PSEUDO) sh -c "cd $(FIREFOX_PKG) && \
+	                  chown -R root:root . && \
+	                  $(MAKE_PACKAGE) -J --linkadd=yes $(GNUPG_OPTIONS) -m -d .. ."
Index: app/firefox/118.0.2/PATCHES
===================================================================
Index: app/firefox/118.0.2/PATCHES.riscv64gc
===================================================================
--- app/firefox/118.0.2/PATCHES.riscv64gc	(nonexistent)
+++ app/firefox/118.0.2/PATCHES.riscv64gc	(revision 383)
@@ -0,0 +1,2 @@
+
+../../../../sources/packages/x/mozilla/firefox/patches/firefox-118.0.2-riscv64gc.patch -p0
Index: app/firefox/118.0.2/PATCHES.x86
===================================================================
--- app/firefox/118.0.2/PATCHES.x86	(nonexistent)
+++ app/firefox/118.0.2/PATCHES.x86	(revision 383)
@@ -0,0 +1,2 @@
+
+../../../../sources/packages/x/mozilla/firefox/patches/firefox-118.0.2-x86.patch -p0
Index: app/firefox/118.0.2/desktop/firefox.desktop
===================================================================
--- app/firefox/118.0.2/desktop/firefox.desktop	(nonexistent)
+++ app/firefox/118.0.2/desktop/firefox.desktop	(revision 383)
@@ -0,0 +1,80 @@
+[Desktop Entry]
+Exec=firefox %u
+Icon=firefox
+Type=Application
+Categories=Network;WebBrowser;
+Name=Firefox
+Name[bn]=ফায়ারফক্স
+Name[eo]=Mozilo Fajrovulpo
+Name[fi]=Mozilla Firefox
+Name[pa]=ਫਾਇਰਫੋਕਸ
+Name[tg]=Рӯбоҳи оташин
+GenericName=Web Browser
+GenericName[af]=Web Blaaier
+GenericName[ar]=متصفح ويب
+GenericName[az]=Veb Səyyahı
+GenericName[bg]=Браузър
+GenericName[bn]=ওয়েব ব্রাউজার
+GenericName[br]=Furcher ar Gwiad
+GenericName[bs]=WWW Preglednik
+GenericName[ca]=Fullejador web
+GenericName[cs]=WWW prohlížeč
+GenericName[cy]=Porydd Gwe
+GenericName[da]=Browser
+GenericName[de]=Web-Browser
+GenericName[el]=Περιηγητής Ιστού
+GenericName[eo]=TTT-legilo
+GenericName[es]=Navegador web
+GenericName[et]=Veebilehitseja
+GenericName[eu]=Web arakatzailea
+GenericName[fa]=مرورگر وب
+GenericName[fi]=WWW-selain
+GenericName[fo]=Alnótsfar
+GenericName[fr]=Navigateur web
+GenericName[gl]=Navegador Web
+GenericName[he]=דפדפן אינטרנט
+GenericName[hi]=वेब ब्राउज़र
+GenericName[hr]=Web preglednik
+GenericName[hu]=Webböngésző
+GenericName[is]=Vafri
+GenericName[it]=Browser Web
+GenericName[ja]=ウェブブラウザ
+GenericName[ko]=웹 브라우저
+GenericName[lo]=ເວັບບຣາວເຊີ
+GenericName[lt]=Žiniatinklio naršyklė
+GenericName[lv]=Web Pārlūks
+GenericName[mk]=Прелистувач на Интернет 
+GenericName[mn]=Веб-Хөтөч
+GenericName[nb]=Nettleser
+GenericName[nds]=Nettkieker
+GenericName[nl]=Webbrowser
+GenericName[nn]=Nettlesar
+GenericName[nso]=Seinyakisi sa Web
+GenericName[pa]=ਵੈਬ ਝਲਕਾਰਾ
+GenericName[pl]=Przeglądarka WWW
+GenericName[pt]=Navegador Web
+GenericName[pt_BR]=Navegador Web
+GenericName[ro]=Navigator de web
+GenericName[ru]=Веб-браузер
+GenericName[se]=Fierpmádatlogan
+GenericName[sk]=Webový prehliadač
+GenericName[sl]=Spletni brskalnik
+GenericName[sr]=Веб претраживач
+GenericName[sr@Latn]=Veb pretraživač
+GenericName[ss]=Ibrawuza yeWeb 
+GenericName[sv]=Webbläsare
+GenericName[ta]=வலை உலாவி
+GenericName[tg]=Тафсиргари вэб
+GenericName[th]=เว็บบราวเซอร์
+GenericName[tr]=Web Tarayıcı
+GenericName[uk]=Навігатор Тенет
+GenericName[uz]=Веб-браузер
+GenericName[ven]=Buronza ya Webu
+GenericName[vi]=Trình duyệt Web
+GenericName[wa]=Betchteu waibe
+GenericName[xh]=Umkhangeli zincwadi we Web
+GenericName[zh_CN]=网页浏览器
+GenericName[zh_TW]=網頁瀏覽器
+GenericName[zu]=Umcingi we-Web
+MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https;
+X-KDE-StartupNotify=true
Index: app/firefox/118.0.2/firefox-pkg-description.in
===================================================================
--- app/firefox/118.0.2/firefox-pkg-description.in	(nonexistent)
+++ app/firefox/118.0.2/firefox-pkg-description.in	(revision 383)
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.  Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in.  You must
+# make exactly 11 lines for the formatting to be correct.  It's also
+# customary to leave one space after the ':'.
+
+       |-----handy-ruler------------------------------------------------------|
+firefox: firefox @VERSION@ (Mozilla Firefox Web browser)
+firefox:
+firefox: Firefox is a free and open-source web browser developed by the
+firefox: Mozilla Foundation and its subsidiary, the Mozilla Corporation.
+firefox: It has lots of great features including popup blocking, tabbed
+firefox: browsing, integrated search, improved privacy features (such as
+firefox: enhanced tracking protection), and more.
+firefox:
+firefox: Homepage: https://www.mozilla.org/firefox
+firefox:
+firefox:
Index: app/firefox/118.0.2/firefox-pkg-install.sh
===================================================================
--- app/firefox/118.0.2/firefox-pkg-install.sh	(nonexistent)
+++ app/firefox/118.0.2/firefox-pkg-install.sh	(revision 383)
@@ -0,0 +1,56 @@
+#!/bin/sh
+
+# Preserve new files
+install_file() {
+  NEW="$1"
+  OLD="`dirname $NEW`/`basename $NEW .new`"
+  # If there's no file by that name, mv it over:
+  if [ ! -r $OLD ]; then
+    mv $NEW $OLD
+  elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then # toss the redundant copy
+    rm $NEW
+  fi
+  # Otherwise, we leave the .new copy for the admin to consider...
+}
+
+
+# arg 1:  the new package version
+pre_install() {
+  /bin/true
+}
+
+# arg 1:  the new package version
+post_install() {
+  # Update desktop database
+  if [ -x /usr/bin/update-desktop-database ]; then
+    /usr/bin/update-desktop-database -q usr/share/applications > /dev/null 2>&1
+  fi
+}
+
+# arg 1:  the new package version
+# arg 2:  the old package version
+pre_update() {
+  /bin/true
+}
+
+# arg 1:  the new package version
+# arg 2:  the old package version
+post_update() {
+  post_install
+}
+
+# arg 1:  the old package version
+pre_remove() {
+  /bin/true
+}
+
+# arg 1:  the old package version
+post_remove() {
+  /bin/true
+}
+
+
+operation=$1
+shift
+
+$operation $*

Property changes on: app/firefox/118.0.2/firefox-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: app/firefox/118.0.2/scripts/firefox.in
===================================================================
--- app/firefox/118.0.2/scripts/firefox.in	(nonexistent)
+++ app/firefox/118.0.2/scripts/firefox.in	(revision 383)
@@ -0,0 +1,9 @@
+#!/bin/sh
+#
+# Shell script to start Mozilla Firefox.
+#
+# Don't reset the user profile on a detected browser downgrade:
+export MOZ_ALLOW_DOWNGRADE=1
+
+# Start Firefox:
+exec /usr/lib@LIBDIRSUFFIX@/firefox/firefox "$@"
Index: app/firefox/118.0.2
===================================================================
--- app/firefox/118.0.2	(nonexistent)
+++ app/firefox/118.0.2	(revision 383)

Property changes on: app/firefox/118.0.2
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,74 ##
+
+# install dir
+dist
+
+# Target build dirs
+.a1x-newlib
+.a2x-newlib
+.at91sam7s-newlib
+
+.build-machine
+
+.a1x-glibc
+.a2x-glibc
+.h3-glibc
+.h5-glibc
+.i586-glibc
+.i686-glibc
+.imx6-glibc
+.jz47xx-glibc
+.makefile
+.am335x-glibc
+.omap543x-glibc
+.p5600-glibc
+.power8-glibc
+.power8le-glibc
+.power9-glibc
+.power9le-glibc
+.m1000-glibc
+.riscv64-glibc
+.rk328x-glibc
+.rk33xx-glibc
+.rk339x-glibc
+.rk358x-glibc
+.s8xx-glibc
+.s9xx-glibc
+.x86_64-glibc
+
+# Hidden files (each file)
+.makefile
+.dist
+.rootfs
+
+# src & hw requires
+.src_requires
+.src_requires_depend
+.requires
+.requires_depend
+
+# Tarballs
+*.gz
+*.bz2
+*.lz
+*.xz
+*.tgz
+*.txz
+
+# Signatures
+*.asc
+*.sig
+*.sign
+*.sha1sum
+
+# Patches
+*.patch
+
+# Descriptions
+*.dsc
+*.txt
+
+# Default linux config files
+*.defconfig
+
+# backup copies
+*~
Index: app/firefox/122.0.1/Makefile
===================================================================
--- app/firefox/122.0.1/Makefile	(revision 382)
+++ app/firefox/122.0.1/Makefile	(revision 383)
@@ -310,15 +310,13 @@
 suppres-cxx-warnings += -Wno-unused-value -Wno-narrowing -Wno-free-nonheap-object
 suppres-cxx-warnings += -Wno-return-type -Wno-misleading-indentation
 
-CFLAGS += -flarge-source-files
-
 extra_environment  = CC='$(CCACHE)$(CROSS_PREFIX)gcc --sysroot=$(TARGET_DEST_DIR)'
 extra_environment += CXX='$(CCACHE)$(CROSS_PREFIX)g++ --sysroot=$(TARGET_DEST_DIR)'
 extra_environment += OBJCOPY='$(CROSS_PREFIX)objcopy'
 extra_environment += AR='$(CROSS_PREFIX)ar'
 extra_environment += NM='$(CROSS_PREFIX)nm'
-extra_environment += CFLAGS='--sysroot=$(TARGET_DEST_DIR) -I$(TARGET_DEST_DIR)/usr/include -I$(TARGET_DEST_DIR)/usr/lib/glib-2.0/include  -I$(CURDIR)/$(SRC_DIR)/xpcom/string $(arch-flags) -fomit-frame-pointer $(suppres-c-warnings)'
-extra_environment += CXXFLAGS='--sysroot=$(TARGET_DEST_DIR) -I$(TARGET_DEST_DIR)/usr/include -I$(TARGET_DEST_DIR)/usr/lib/glib-2.0/include  -I$(CURDIR)/$(SRC_DIR)/xpcom/string $(arch-flags) -fomit-frame-pointer $(suppres-cxx-warnings)'
+extra_environment += CFLAGS='--sysroot=$(TARGET_DEST_DIR) -I$(TARGET_DEST_DIR)/usr/include -I$(TARGET_DEST_DIR)/usr/lib/glib-2.0/include  -I$(CURDIR)/$(SRC_DIR)/xpcom/string $(arch-flags) -fomit-frame-pointer -flarge-source-files $(suppres-c-warnings)'
+extra_environment += CXXFLAGS='--sysroot=$(TARGET_DEST_DIR) -I$(TARGET_DEST_DIR)/usr/include -I$(TARGET_DEST_DIR)/usr/lib/glib-2.0/include  -I$(CURDIR)/$(SRC_DIR)/xpcom/string $(arch-flags) -fomit-frame-pointer -flarge-source-files $(suppres-cxx-warnings)'
 extra_environment += LDFLAGS='--sysroot=$(TARGET_DEST_DIR) $(arch-flags) $(x86-64-dynamic-linker) -Wl,-rpath-link,$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX) -Wl,--as-needed -Wl,--no-keep-memory -Wl,--stats -Wl,--reduce-memory-overheads'
 extra_environment += HOST_CC='/usr/bin/gcc'
 extra_environment += HOST_CXX='/usr/bin/g++'