mirror of
https://github.com/gryf/gryf-overlay.git
synced 2026-02-01 22:05:47 +01:00
Bump rxvt-unicode version
This commit is contained in:
@@ -12,4 +12,7 @@ AUX urxvtd.service 145 BLAKE2B 9199c81f02ff161caf6f72bac95808d4ba584bf09fb68cf7f
|
||||
AUX urxvtd.socket 133 BLAKE2B d685c78de25a3f2d661f180a6a5cc227c500e873dab049587f0742330910c3867f60871a96a237787d85f66b8999b397281b36ed9b92bda2422e1e2295accfee SHA512 20c7d7a00bd41deefb738b6795ecbea8098ec81d3356cceab4de39408de3552d385fc48ef74a087f3724d436b77de54adb67d0858a0949b9595820ee3d9cf7e4
|
||||
DIST rxvt-unicode-9.29_24-bit-color_aur-9.26-20210712.patch.xz 7568 BLAKE2B 8ea5d813e00fd4012d145acf70e3d9b0974dddffd203fbec4bf06a0da1c9368ec316fc2903dccae3a5d71d684fd93b2a09ed208f26be1e85f77c702494db4e54 SHA512 baa226ca9adf6025a72dea925ec3be16186502bb4aab21dd61ef1f7c3e2eb793e7a1dc9619ed8228166758daa2879a465da2ace3f3b14545808955388bd2b74b
|
||||
DIST rxvt-unicode-9.30.tar.bz2 877186 BLAKE2B 645164e37e9e484c66f5047836689e4e4727575dfdcbefc64affb70d9110497529fdcc7d476f77737efed5cee4af314e1e1ccbcb42b506bb7e653b827c24a0c7 SHA512 048d5f635a61bc1a739d5cbc09e7a9f77cee18c81df468ce1ff0a62866ced06fc4ec258bb015d2484a7e7bad2339f0bdd79bd824d649c2553a80bdef9f199e99
|
||||
DIST rxvt-unicode-9.31.tar.bz2 880148 BLAKE2B 439a8c33b7260e0f2fd68b8a4409773c06c3bb7623b5dfbbb0742cc198c9fd25e8a247907878639db5fac3dcd3b6be3d839347787bcf08ca602ae246607f750b SHA512 4d14ecbbb62de1b1c717277f5aae5cfb536e11392f2d4b82c884c1713f437fce8e9dd69a328fa353a55d068d8ee4121a31900f45191acec172d5dc76652b6255
|
||||
DIST rxvt-unicode-9.31_24-bit-color_aur-9.31-20239117.patch.xz 7776 BLAKE2B 88c12e2db38991fc6c7909950aade09a8c089d93980535af5a602d40cb4712aaa97f659c67e49b52abb71e6d0e2b8279f3d9a6d66654cdf68dde68bf64279873 SHA512 dfc0388138f35345c0c80df0a392c28a52a03d008ca336999369522031898813046c314c1e4ec9a81fea41b81d3230f5ca09d47b84ef04c0f6da98c559812a16
|
||||
EBUILD rxvt-unicode-9.30-r10.ebuild 4133 BLAKE2B 912655f28deb40830e2e2b2ab2a3758b1560519cd2a865bf60346552832d206e93647ee4b62e507618ac90341197ddc42673c6c01bf6869dc87047d6800aa92b SHA512 9479ddfc1e8c2e4ec7456624b5f3902e35f5f43ab29f53397376295522d7b368757d0a4c50eddd83e8e6b1322ff6afcb1d8033fa7e43fae9558e68f504a320b1
|
||||
EBUILD rxvt-unicode-9.31-r10.ebuild 4202 BLAKE2B 3c127f7540b9ca2540df1696a5de5244c64cefe05a74d2db0f6e42e85961a760348a6c0eb72c066c34291b66bd825ca49383c844901c46e9e816d0162c1cb13a SHA512 d1bd0b4c721b583d6eb9b0a388737f1422d2693dd81f546160055a21a5ae5096b964fead92735bf1fe576b049e40cf45b898b48b7ff0af6c1b2190622f856a1c
|
||||
|
||||
147
x11-terms/rxvt-unicode/rxvt-unicode-9.31-r10.ebuild
Normal file
147
x11-terms/rxvt-unicode/rxvt-unicode-9.31-r10.ebuild
Normal file
@@ -0,0 +1,147 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
#
|
||||
# NOTE(gryf): this ebuild differ from official one by using 3rd party patches,
|
||||
# and configuration options, which are absent in official ebuild, but are
|
||||
# accepted by configure script:
|
||||
# enabled options as a use flags:
|
||||
# - smart-resize
|
||||
# 3rd party patches (by flags):
|
||||
# - font-width - use xOff instead of width attribute for a glyph.
|
||||
# - line-spacing - use ascent, descent and height from XftFont *f instead of
|
||||
# FT_Face face.
|
||||
# - use-space - add space for characters to figure out width and height of
|
||||
# chars
|
||||
# - wide-glyphs - add support for wide glyphs
|
||||
EAPI=8
|
||||
|
||||
inherit autotools desktop systemd prefix
|
||||
|
||||
COLOUR_PATCH_NAME="${PN}-9.31_24-bit-color_aur-9.31-20239117.patch"
|
||||
|
||||
DESCRIPTION="rxvt clone with xft and unicode support"
|
||||
HOMEPAGE="http://software.schmorp.de/pkg/rxvt-unicode.html"
|
||||
SRC_URI="http://dist.schmorp.de/rxvt-unicode/Attic/${P}.tar.bz2
|
||||
https://dev.gentoo.org/~marecki/dists/${CATEGORY}/${PN}/${COLOUR_PATCH_NAME}.xz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
IUSE="24-bit-color 256-color blink fading-colors +font-styles -font-width
|
||||
gdk-pixbuf iso14755 -line-spacing +mousewheel +perl -smart-resize
|
||||
-use-space startup-notification unicode3 -wide-glyphs xft"
|
||||
|
||||
RDEPEND=">=sys-libs/ncurses-5.7-r6:=
|
||||
dev-libs/libptytty
|
||||
media-libs/fontconfig
|
||||
x11-libs/libX11
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXt
|
||||
gdk-pixbuf? ( x11-libs/gdk-pixbuf )
|
||||
perl? ( dev-lang/perl:= )
|
||||
startup-notification? ( x11-libs/startup-notification )
|
||||
xft? ( x11-libs/libXft )"
|
||||
DEPEND="${RDEPEND}
|
||||
x11-base/xorg-proto"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-9.06-case-insensitive-fs.patch
|
||||
"${FILESDIR}"/${PN}-9.21-xsubpp.patch
|
||||
)
|
||||
DOCS=(
|
||||
Changes
|
||||
README.FAQ
|
||||
doc/README.xvt
|
||||
doc/changes.txt
|
||||
doc/etc/${PN}.term{cap,info}
|
||||
doc/rxvt-tabbed
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Current patch is too aggressive to apply unconditionally, see Bug #801571
|
||||
if use 24-bit-color; then
|
||||
eapply "${WORKDIR}"/${COLOUR_PATCH_NAME}
|
||||
eautoreconf
|
||||
fi
|
||||
|
||||
# custom patches
|
||||
if use font-width; then
|
||||
eapply "${FILESDIR}"/${PN}-9.22-font-width-fix.patch
|
||||
fi
|
||||
if use line-spacing; then
|
||||
eapply "${FILESDIR}"/${PN}-9.22-line-spacing-fix.patch
|
||||
fi
|
||||
if use wide-glyphs; then
|
||||
eapply "${FILESDIR}"/${PN}-9.30-enable-wide-glyphs.patch
|
||||
fi
|
||||
if use use-space; then
|
||||
eapply "${FILESDIR}"/${PN}-9.22-add-space-to-extent_test_chars.patch
|
||||
fi
|
||||
|
||||
# kill the rxvt-unicode terminfo file - #192083
|
||||
sed -i -e "/rxvt-unicode.terminfo/d" doc/Makefile.in || die "sed failed"
|
||||
|
||||
# use xsubpp from Prefix - #506500
|
||||
hprefixify -q '"' -w "/xsubpp/" src/Makefile.in
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# --enable-everything goes first: the order of the arguments matters
|
||||
local myconf=(
|
||||
--enable-everything
|
||||
$(use_enable 256-color)
|
||||
$(use_enable blink text-blink)
|
||||
$(use_enable fading-colors fading)
|
||||
$(use_enable font-styles)
|
||||
$(use_enable gdk-pixbuf pixbuf)
|
||||
$(use_enable iso14755)
|
||||
$(use_enable mousewheel)
|
||||
$(use_enable perl)
|
||||
$(use_enable smart-resize)
|
||||
$(use_enable startup-notification)
|
||||
$(use_enable unicode3)
|
||||
$(use_enable wide-glyphs)
|
||||
$(use_enable xft)
|
||||
)
|
||||
if use 24-bit-color; then
|
||||
myconf+=( --enable-24-bit-color )
|
||||
fi
|
||||
if use wide-glyphs; then
|
||||
myconf+=( --enable-wide-glyphs )
|
||||
fi
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
|
||||
sed -i \
|
||||
-e 's/RXVT_BASENAME = "rxvt"/RXVT_BASENAME = "urxvt"/' \
|
||||
"${S}"/doc/rxvt-tabbed || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
systemd_douserunit "${FILESDIR}"/urxvtd.service
|
||||
systemd_douserunit "${FILESDIR}"/urxvtd.socket
|
||||
|
||||
make_desktop_entry urxvt rxvt-unicode utilities-terminal \
|
||||
"System;TerminalEmulator"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use 24-bit-color; then
|
||||
ewarn
|
||||
ewarn "You have enabled 24-bit colour support in ${PN}, which is UNOFFICIAL and INCOMPLETE."
|
||||
ewarn "You may or may not encounter visual glitches or stability issues. When in doubt,"
|
||||
ewarn "rebuild =${CATEGORY}/${PF} with USE=-24-bit-color (the default setting)."
|
||||
ewarn
|
||||
fi
|
||||
if use perl && ! use fading-colors; then
|
||||
ewarn "Note that some of the Perl plug-ins bundled with ${PN} will fail to load without USE=fading-colors"
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user