summaryrefslogtreecommitdiff
path: root/repo/system
diff options
context:
space:
mode:
Diffstat (limited to 'repo/system')
-rw-r--r--repo/system/binutils.xibuild5
-rw-r--r--repo/system/findutils.xibuild19
-rw-r--r--repo/system/fribidi.xibuild22
-rw-r--r--repo/system/gobject-introspection.xibuild9
-rw-r--r--repo/system/icu.xibuild19
-rw-r--r--repo/system/intltool.xibuild7
-rw-r--r--repo/system/nss.xibuild2
-rw-r--r--repo/system/pcre.xibuild2
-rw-r--r--repo/system/perl.xibuild2
-rw-r--r--repo/system/re2.xibuild2
-rw-r--r--repo/system/sbase.xibuild2
-rw-r--r--repo/system/sed.xibuild18
-rw-r--r--repo/system/snappy.xibuild9
13 files changed, 74 insertions, 44 deletions
diff --git a/repo/system/binutils.xibuild b/repo/system/binutils.xibuild
index 3d67d07..f7172ea 100644
--- a/repo/system/binutils.xibuild
+++ b/repo/system/binutils.xibuild
@@ -3,13 +3,14 @@
MAKEDEPS="make dejagnu bzip2 xz zlib zstd patch"
DEPS="musl zlib libelf"
-PKG_VER=2.37
+PKG_VER=2.38
SOURCE=https://ftp.gnu.org/gnu/binutils/binutils-$PKG_VER.tar.xz
ADDITIONAL="
0001-Revert-PR25882-.gnu.attributes-are-not-checked-for-s.patch
bfd-close-file-desriptor-if-there-is-no-archive-fd.patch
binutils-ld-fix-static-linking.patch
+defang-no-split.patch
"
DESC="Tools for handling object files"
@@ -29,7 +30,6 @@ build () {
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--disable-multilib \
- --enable-shared \
--enable-ld=default \
--enable-gold \
--enable-64-bit-bfd \
@@ -42,6 +42,7 @@ build () {
--with-pic \
--disable-werror \
--disable-nls \
+ --with-system-zlib \
--with-mmap
make tooldir=/usr
diff --git a/repo/system/findutils.xibuild b/repo/system/findutils.xibuild
index 6850095..1dbc9d3 100644
--- a/repo/system/findutils.xibuild
+++ b/repo/system/findutils.xibuild
@@ -1,20 +1,19 @@
#!/bin/sh
-MAKEDEPS="make "
+MAKEDEPS="make sort"
DEPS="musl sh"
-PKG_VER=4.8.0
-SOURCE=https://ftp.gnu.org/gnu/findutils/findutils-$PKG_VER.tar.xz
-DESC="GNU utilities to locate files"
+PKG_VER=0.8.6
+SOURCE=http://landley.net/toybox/downloads/toybox-$PKG_VER.tar.gz
+DESC="toybox utilities to locate files"
build () {
- case $(uname -m) in
- i?86) TIME_T_32_BIT_OK=yes ./configure --prefix=/usr --localstatedir=/var/lib/locate ;;
- x86_64) ./configure --prefix=/usr --localstatedir=/var/lib/locate ;;
- esac
- make
+ make defconfig
+ make xargs
+ make find
}
package () {
- make DESTDIR=$PKG_DEST install
+ install -Dm755 find $PKG_DEST/usr/bin/find
+ install -Dm755 xargs $PKG_DEST/usr/bin/xargs
}
diff --git a/repo/system/fribidi.xibuild b/repo/system/fribidi.xibuild
new file mode 100644
index 0000000..ec3ea83
--- /dev/null
+++ b/repo/system/fribidi.xibuild
@@ -0,0 +1,22 @@
+#!/bin/sh
+
+NAME="fribidi"
+DESC="Free Implementation of the Unicode Bidirectional Algorithm"
+
+MAKEDEPS="meson ninja "
+DEPS="musl "
+
+PKG_VER=1.0.11
+SOURCE="https://github.com/fribidi/fribidi/releases/download/v$PKG_VER/fribidi-$PKG_VER.tar.xz"
+
+build () {
+ mkdir build &&
+ cd build &&
+ meson --prefix=/usr \
+ .. &&
+ ninja
+}
+
+package () {
+ DESTDIR=$PKG_DEST ninja install
+}
diff --git a/repo/system/gobject-introspection.xibuild b/repo/system/gobject-introspection.xibuild
index 071dfbe..4202c8c 100644
--- a/repo/system/gobject-introspection.xibuild
+++ b/repo/system/gobject-introspection.xibuild
@@ -3,18 +3,11 @@
MAKEDEPS="meson ninja patch flex"
DEPS="python-mako python-markdown glib"
-PKG_VER=1.70.0
+PKG_VER=1.72.0
SOURCE=https://download.gnome.org/sources/gobject-introspection/$(echo $PKG_VER | cut -d. -f-2)/gobject-introspection-$PKG_VER.tar.xz
-ADDITIONAL="
- https://www.linuxfromscratch.org/patches/blfs/svn/gobject-introspection-$PKG_VER-build_fix-1.patch
- "
DESC="Introspection system for GObject-based libraries"
-prepare() {
- patch -Np1 -i gobject-introspection-$PKG_VER-build_fix-1.patch
-}
-
build () {
mkdir build &&
cd build &&
diff --git a/repo/system/icu.xibuild b/repo/system/icu.xibuild
index 918982f..0d8d798 100644
--- a/repo/system/icu.xibuild
+++ b/repo/system/icu.xibuild
@@ -1,19 +1,30 @@
#!/bin/sh
-MAKEDEPS="python gcc"
+MAKEDEPS="python"
DEPS="bash"
-PKG_VER=70.1
+PKG_VER=71.1
SOURCE=https://github.com/unicode-org/icu/releases/download/release-$(echo $PKG_VER | sed 's/\./-/g')/icu4c-$(echo $PKG_VER | sed 's/\./_/g')-src.tgz
DESC="International Components for Unicode library"
+ADDITIONAL="
+fix-ucptrietest-golden-diff.patch
+"
prepare () {
- cd source &&
+ cd source
+ autoreconf -fi
sed -i -e 's,DU_HAVE_STRTOD_L=1,DU_HAVE_STRTOD_L=0,' configure
}
build () {
- ./configure --prefix=/usr &&
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --with-data-packaging=library \
+ --disable-samples \
+ --mandir=/usr/share/man
+
+ mkdir -p data/out
make
}
diff --git a/repo/system/intltool.xibuild b/repo/system/intltool.xibuild
index da4d84d..aee502e 100644
--- a/repo/system/intltool.xibuild
+++ b/repo/system/intltool.xibuild
@@ -12,9 +12,10 @@ build () {
make
}
-check () {
- make check
-}
+#skip running testsuite due to incompatible cmp
+#check () {
+ #make check
+#}
package () {
make DESTDIR=$PKG_DEST install
diff --git a/repo/system/nss.xibuild b/repo/system/nss.xibuild
index 5d549e7..2da465a 100644
--- a/repo/system/nss.xibuild
+++ b/repo/system/nss.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make gyp perl mercurial python patch"
-DEPS="nspr libp11-kit bash zlib"
+DEPS="nspr libp11-kit sh zlib"
PKG_VER=3.74
diff --git a/repo/system/pcre.xibuild b/repo/system/pcre.xibuild
index c92f242..dc86f46 100644
--- a/repo/system/pcre.xibuild
+++ b/repo/system/pcre.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make "
-DEPS="musl readline zlib bzip2 bash"
+DEPS="musl readline zlib bzip2 sh"
PKG_VER=8.45
SOURCE=https://sourceforge.net/projects/pcre/files/pcre/$PKG_VER/pcre-$PKG_VER.tar.gz
diff --git a/repo/system/perl.xibuild b/repo/system/perl.xibuild
index f12b9cf..494b9f1 100644
--- a/repo/system/perl.xibuild
+++ b/repo/system/perl.xibuild
@@ -3,7 +3,7 @@
MAKEDEPS="make sed"
DEPS="gdbm musl bzip2 zlib tar"
-PKG_VER=5.34.1
+PKG_VER=5.34.0
SOURCE=https://www.cpan.org/src/5.0/perl-$PKG_VER.tar.gz
DESC="The Practical Extraction and Report Language"
ADDITIONAL="
diff --git a/repo/system/re2.xibuild b/repo/system/re2.xibuild
index c4ef938..4dd0e5d 100644
--- a/repo/system/re2.xibuild
+++ b/repo/system/re2.xibuild
@@ -14,5 +14,5 @@ build () {
}
package () {
- make PREFIX=/usr DESTDIR=$PKGDEST install
+ make PREFIX=/usr DESTDIR=$PKG_DEST install
}
diff --git a/repo/system/sbase.xibuild b/repo/system/sbase.xibuild
index e4a36cd..35c4dfc 100644
--- a/repo/system/sbase.xibuild
+++ b/repo/system/sbase.xibuild
@@ -29,7 +29,7 @@ package () {
make PREFIX=/usr DESTDIR=$PKG_DEST install
# these are provided by other utils
- for p in tar sed find xargs grep; do
+ for p in tar sed find xargs grep sort; do
mv $PKG_DEST/usr/bin/$p $PKG_DEST/usr/bin/s$p
mv $PKG_DEST/usr/share/man/man1/$p.1 $PKG_DEST/usr/share/man/man1/s$p.1
done
diff --git a/repo/system/sed.xibuild b/repo/system/sed.xibuild
index a5b2297..ddb7102 100644
--- a/repo/system/sed.xibuild
+++ b/repo/system/sed.xibuild
@@ -1,21 +1,17 @@
#!/bin/sh
-MAKEDEPS="make "
+MAKEDEPS="make sort"
DEPS="musl acl attr"
-PKG_VER=4.8
-SOURCE=https://ftp.gnu.org/gnu/sed/sed-$PKG_VER.tar.xz
-DESC="GNU stream editor"
+PKG_VER=0.8.6
+SOURCE=http://landley.net/toybox/downloads/toybox-$PKG_VER.tar.gz
+DESC="stream editor from toybox"
build () {
- ./configure --prefix=/usr
- make
- #make html
+ ./configure
+ make sed
}
package () {
- make DESTDIR=$PKG_DEST install
-
- #install -d -m755 $PKG_DEST/usr/share/doc/sed-$PKG_VER
- #install -m644 doc/sed.html $PKG_DEST/usr/share/doc/sed-$PKG_VER
+ install -Dm755 sed $PKG_DEST/usr/bin/
}
diff --git a/repo/system/snappy.xibuild b/repo/system/snappy.xibuild
index 1d180bc..e266327 100644
--- a/repo/system/snappy.xibuild
+++ b/repo/system/snappy.xibuild
@@ -8,10 +8,17 @@ DEPS="musl "
PKG_VER=1.1.9
SOURCE="https://github.com/google/snappy/archive/$PKG_VER.tar.gz"
-ADDITIONAL="rtti.patch fix-inline.patch cmakelists.patch "
+
+_googletest_commit=18f8200e3079b0e54fa00cb7ac55d4c39dcf6da6
+ADDITIONAL="
+rtti.patch fix-inline.patch
+https://github.com/google/googletest/archive/$_googletest_commit.tar.gz"
prepare () {
apply_patches
+ rmdir third_party/googletest
+ tar xvf $_googletest_commit.tar.gz
+ ln -s ../googletest-$_googletest_commit third_party/googletest
}
build () {