Upgraded VTE to 0.62.1

This commit is contained in:
Derrick
2020-10-26 18:46:21 -05:00
parent 860d118936
commit 9a5cd5f9fe
3 changed files with 50 additions and 18 deletions

View File

@ -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"

48
build-scripts/vte.build Normal file
View File

@ -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}/*

View File

@ -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"