diff --git a/build-scripts/vte-0.56.3.build b/build-scripts/vte-0.56.3.build deleted file mode 100644 index e93982b..0000000 --- a/build-scripts/vte-0.56.3.build +++ /dev/null @@ -1,16 +0,0 @@ -#! /bin/bash - -# VTE 0.56.3 -# source: http://ftp.gnome.org/pub/gnome/sources/vte/0.56/vte-0.56.3.tar.xz - -patch -Np0 -i ../patches/vte-0.56.3-void-fix-W_EXITCODE.patch && - -enable_glade_catalogue=yes \ -./configure --prefix=/usr \ - --sysconfdir=/etc \ - --disable-static \ - --enable-introspection \ - --enable-vala $BUILDTRUPLE && - -read -p "Compile? " && make -j2 && -read -p "Install? " && sudo -S porg -lD "make install" diff --git a/build-scripts/vte.build b/build-scripts/vte.build new file mode 100644 index 0000000..6648498 --- /dev/null +++ b/build-scripts/vte.build @@ -0,0 +1,48 @@ +#! /bin/bash + +# Vte3 (Virtual Terminal Emulator library) +# Source: https://gitlab.gnome.org/GNOME/vte/-/archive/0.62.1/vte-0.62.1.tar.gz +# +# $BUILD = Directory to temporarily install +# $PKGS = Directory to store built packages +# +# DEPS +# Required: GNUtls, gobject-introspection, gtk+3, ICU, pango, vala, pcre2 +# Recommended: NONE +# Optional: GTK-Doc + +patch -Np1 -i ../patches/vte-alpine/fix-W_EXITCODE.patch + +mkdir BUILD && cd BUILD && +meson --prefix=/usr \ + -Ddocs=false \ + -D_systemd=false .. +read -p "Compile?" && ninja -j2 && + +sudo -S DESTDIR=$BUILD ninja install && + +cd $BUILD && sudo -S mkdir -v ${BUILD}/install && +cat > /tmp/slack-desc << "EOF" +# 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 ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +vte: vte (terminal emulator widget) +vte: +vte: VTE is a terminal emulator widget for use with GTK+. This package +vte: contains the VTE library and development files and a sample +vte: implementation (vte). +vte: +vte: VTE is used by XFce. +vte: +vte: +vte: +vte: +EOF +sudo -S mv -v /tmp/slack-desc install/ && +sudo -S makepkg -l y -c n $PKGS/vte-0.62.1-$(uname -m)-mlfs.txz && +sudo -S rm -rf ${BUILD}/* diff --git a/patches/vte-0.56.3-void-fix-W_EXITCODE.patch b/patches/vte-alpine/fix-W_EXITCODE.patch similarity index 90% rename from patches/vte-0.56.3-void-fix-W_EXITCODE.patch rename to patches/vte-alpine/fix-W_EXITCODE.patch index ac89311..8ada864 100644 --- a/patches/vte-0.56.3-void-fix-W_EXITCODE.patch +++ b/patches/vte-alpine/fix-W_EXITCODE.patch @@ -2,8 +2,8 @@ Source: https://mail-archives.apache.org/mod_mbox/mesos-reviews/201610.mbox/%3C2 Upstream: No Reason: fixes compilation with musl that doesn't define W* macros. ---- src/widget.cc -+++ src/widget.cc +--- a/src/widget.cc ++++ b/src/widget.cc @@ -28,6 +28,10 @@ #include "vtegtk.hh" #include "debug.h"