links: bump version (#7551)

This commit is contained in:
kenmays
2022-12-16 10:51:43 -08:00
committed by GitHub
parent 2e066bb365
commit cea2f4b716
4 changed files with 26 additions and 1624 deletions

View File

@@ -1,90 +0,0 @@
SUMMARY="A graphics and text mode web browser"
DESCRIPTION="Links is a multi-platform web browser you can run in Terminal."
HOMEPAGE="http://links.twibright.com/"
COPYRIGHT="1999-2019 Mikulas Patocka
2000-2011 Petr Kulhavy, Karel Kulhavy, Martin Pergel"
LICENSE="GNU GPL v2"
REVISION="5"
SOURCE_URI="http://links.twibright.com/download/links-$portVersion.tar.gz"
CHECKSUM_SHA256="37299f804f22c945bf63e22a7bc4418bbb8144b410c0ced70b82ebe6f9e3c82b"
PATCHES="links-$portVersion.patchset"
ARCHITECTURES="all !x86_gcc2 ?x86"
SECONDARY_ARCHITECTURES="x86"
commandSuffix=$secondaryArchSuffix
commandBinDir=$binDir
if [ "$targetArchitecture" = x86_gcc2 ]; then
commandSuffix=
commandBinDir=$prefix/bin
fi
USER_SETTINGS_FILES="
settings/links directory
"
PROVIDES="
links$secondaryArchSuffix = $portVersion
cmd:links$commandSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libbrotlicommon$secondaryArchSuffix
lib:libbz2$secondaryArchSuffix
lib:libcrypto$secondaryArchSuffix
lib:libevent_2.1$secondaryArchSuffix
lib:libfontconfig$secondaryArchSuffix
lib:libfreetype$secondaryArchSuffix
lib:libgomp$secondaryArchSuffix
lib:libjpeg$secondaryArchSuffix
lib:liblzma$secondaryArchSuffix
lib:libpng16$secondaryArchSuffix
lib:libssl$secondaryArchSuffix
lib:libtiff$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libbrotlicommon$secondaryArchSuffix
devel:libbz2$secondaryArchSuffix
devel:libcrypto$secondaryArchSuffix
devel:libevent_2.1$secondaryArchSuffix
devel:libfontconfig$secondaryArchSuffix
devel:libfreetype$secondaryArchSuffix
# devel:libGL$secondaryArchSuffix
devel:libglu$secondaryArchSuffix
devel:libjpeg$secondaryArchSuffix
devel:liblzma$secondaryArchSuffix
devel:libpng16$secondaryArchSuffix
devel:libssl$secondaryArchSuffix
devel:libtiff$secondaryArchSuffix
devel:libz$secondaryArchSuffix >= 1.2.8
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoreconf
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
cmd:pkg_config$secondaryArchSuffix
"
defineDebugInfoPackage links$secondaryArchSuffix \
"$commandBinDir"/links
BUILD()
{
autoreconf -vfi
runConfigure --omit-dirs binDir ./configure \
--bindir="$commandBinDir" \
--without-x \
--enable-graphics
make $jobArgs
}
INSTALL()
{
make install
addAppDeskbarSymlink $commandBinDir/links Links
}

View File

@@ -6,7 +6,7 @@ COPYRIGHT="1999-2020 Mikulas Patocka
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="http://links.twibright.com/download/links-$portVersion.tar.bz2"
CHECKSUM_SHA256="285eed8591c7781ec26213df82786665aaa1b9286782e8a7a1a7e2a6e1630d63"
CHECKSUM_SHA256="2fd5499b13dee59457c132c167b8495c40deda75389489c6cccb683193f454b4"
PATCHES="links-$portVersion.patchset"
ADDITIONAL_FILES="links.rdef.in"

File diff suppressed because it is too large Load Diff

View File

@@ -1,4 +1,4 @@
From 63cff3bca4fe5f08144c165f1c3df0067ea3c29e Mon Sep 17 00:00:00 2001
From ff1125c9fc648e86509d0e9d96c8ca5c1cece949 Mon Sep 17 00:00:00 2001
From: Gerasim Troeglazov <3dEyes@gmail.com>
Date: Sun, 23 Aug 2020 12:57:23 +1000
Subject: Use DispatchMessage instead MessageReceived
@@ -27,5 +27,28 @@ index 8031d8f..f21b8f2 100644
switch (msg->what) {
case B_MOUSE_WHEEL_CHANGED:
--
2.28.0
2.37.3
From 1893adf988c6a22974e6e7a2da32adc91e80f688 Mon Sep 17 00:00:00 2001
From: Ken Mays <kmays2000@gmail.com>
Date: Mon, 12 Dec 2022 04:12:05 +1000
Subject: Fixed be_set_clipboard for Haiku R1B4
diff --git a/haiku.cpp b/haiku.cpp
index f21b8f2..d591262 100644
--- a/haiku.cpp
+++ b/haiku.cpp
@@ -951,7 +951,7 @@ static unsigned char *be_get_clipboard_text(void)
return ret;
}
-static void be_set_clipboard_text(struct graphics_device *dev, unsigned char *text)
+static void be_set_clipboard_text(unsigned char *text)
{
if (be_clipboard->Lock()) {
be_clipboard->Clear();
--
2.37.3