Skip to content

Commit

Permalink
Update packages for release 2.6 and onwards
Browse files Browse the repository at this point in the history
With release 2.6 having reached most users, I think it makes sense to rebuild our packages to use the 2.x toolchain. This will make Toltec work with updates 2.6 and onwards (fixes #322), at the price of **breaking compatibility with system updates 2.5 and earlier.**

Testing plan: Having update 2.6 installed, I went through basic checks for each package both on rM1 and rM2 to make sure that each app at least starts up and seems to be working.
  • Loading branch information
matteodelabre committed Jun 7, 2021
1 parent c2b0a0b commit 61667fd
Show file tree
Hide file tree
Showing 35 changed files with 143 additions and 87 deletions.
4 changes: 2 additions & 2 deletions package/appmarkable/package
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
pkgnames=(appmarkable)
pkgdesc="Front-end for apps that do not have a graphical user interface"
url="https://github.com/LinusCDE/appmarkable"
pkgver=0.0.0-10
pkgver=0.0.0-11
timestamp=2021-03-10T18:36Z
section="devel"
maintainer="Linus K. <[email protected]>"
license=MIT
installdepends=(display)
flags=(patch_rm2fb)

image=rust:v1.4
image=rust:v2.1
source=(https://github.com/LinusCDE/appmarkable/archive/c44ee87ea2b1f1e41c9592476c076150c9a1acf4.zip)
sha256sums=(76e151aeae0f18b206dd3c6258bf74bcb5256ee2f803e1ed2073278831158f60)

Expand Down
4 changes: 2 additions & 2 deletions package/bash-completion/package
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
pkgnames=(bash-completion)
pkgdesc="Programmable completion functions for bash"
url=https://github.com/scop/bash-completion
pkgver=2.11-1
pkgver=2.11-2
timestamp=2020-07-25T00:00Z
section="utils"
maintainer="Linus K. <[email protected]>"
Expand All @@ -14,7 +14,7 @@ license=GPL-2.0-only
# Based on the ArchLinux PKGBUILD file:
# https://github.com/archlinux/svntogit-packages/blob/packages/bash-completion/trunk/PKGBUILD

image=base:v1.3.2
image=base:v2.1
source=(https://github.com/scop/bash-completion/releases/download/2.11/bash-completion-2.11.tar.xz)
sha256sums=(73a8894bad94dee83ab468fa09f628daffd567e8bef1a24277f1e9a0daf911ac)

Expand Down
4 changes: 2 additions & 2 deletions package/calculator/package
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
pkgnames=(calculator)
pkgdesc="Touch-based calculator"
url=https://github.com/reHackable/Calculator
pkgver=0.0.0-14
pkgver=0.0.0-15
timestamp=2020-08-20T12:28Z
section="math"
maintainer="Mattéo Delabre <[email protected]>"
Expand All @@ -14,7 +14,7 @@ installdepends=(display)
makedepends=(build:imagemagick build:librsvg2-bin)
flags=(patch_rm2fb)

image=qt:v1.4
image=qt:v2.1
source=(
https://github.com/reHackable/Calculator/archive/7b8be5de12f1536bc04b6216abbf26f998097bf4.zip
calculator.draft
Expand Down
4 changes: 2 additions & 2 deletions package/chessmarkable/package
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
pkgnames=(chessmarkable)
pkgdesc="Chess game"
url=https://github.com/LinusCDE/chessmarkable
pkgver=0.7.0-1
pkgver=0.7.0-2
timestamp=2021-06-03T10:47Z
section="games"
maintainer="Linus K. <[email protected]>"
license=MIT
installdepends=(display)
flags=(patch_rm2fb)

image=rust:v1.6
image=rust:v2.1
source=(https://github.com/LinusCDE/chessmarkable/archive/0.7.0-1.zip)
sha256sums=(34d388f094863d849b23a9dd0e069575ff6a5dec547da3920d59308f2e369c9a)

Expand Down
4 changes: 2 additions & 2 deletions package/display/package
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ timestamp=2021-02-21T01:41+00:00
maintainer="raisjn <[email protected]>"
license=MIT
url="https://github.com/ddvk/remarkable2-framebuffer"
pkgver=1.0.1-4
pkgver=1.0.1-5
section="devel"

image=qt:v1.4
image=qt:v2.1
source=(
https://github.com/ddvk/remarkable2-framebuffer/archive/v0.0.4.zip
rm2fb.service
Expand Down
4 changes: 2 additions & 2 deletions package/draft/package
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
pkgnames=(draft)
pkgdesc="Launcher which wraps around the standard interface"
url=https://github.com/dixonary/draft-reMarkable
pkgver=0.2.0-19
pkgver=0.2.0-20
timestamp=2020-07-20T10:23Z
section="launchers"
maintainer="Mattéo Delabre <[email protected]>"
license=Apache-2.0
installdepends=(xochitl display)
flags=(patch_rm2fb)

image=qt:v1.4
image=qt:v2.1
source=(
https://github.com/dixonary/draft-reMarkable/archive/5bd660a2fd07eba166c6110d2b48cfc58ee67e58.zip
draft.service
Expand Down
4 changes: 2 additions & 2 deletions package/evtest/package
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
pkgnames=(evtest)
pkgdesc="Kernel evdev device information and monitor"
url=https://gitlab.freedesktop.org/libevdev/evtest
pkgver=1.34-2
pkgver=1.34-3
timestamp=2020-12-30T02:52Z
section="utils"
maintainer="Linus K. <[email protected]>"
license=GPL-2.0-only
makedepends=(build:automake)

image=base:v1.2.1
image=base:v2.1
source=("https://gitlab.freedesktop.org/libevdev/evtest/-/archive/evtest-${pkgver%-*}/evtest-evtest-${pkgver%-*}.zip")
sha256sums=(62f7e34c5bab91b5015de5b056d79051c677c5bd5702facb2885f8e4ba0df84c)

Expand Down
4 changes: 2 additions & 2 deletions package/fbink/package
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@

pkgnames=(fbink fbdepth fbink-doom)
url=https://github.com/NiLuJe/FBInk
pkgver=1.23.1-3
pkgver=1.23.1-4
timestamp=2020-12-14T12:30Z
maintainer="Mattéo Delabre <[email protected]>"
license=GPL-3.0

image=base:v1.2.1
image=base:v2.1
source=()
sha256sums=()

Expand Down
4 changes: 2 additions & 2 deletions package/fingerterm/package
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
pkgnames=(fingerterm)
pkgdesc="Terminal emulator with an on-screen touch keyboard"
url=https://github.com/dixonary/fingerterm-reMarkable
pkgver=1.3.5-13
pkgver=1.3.5-14
timestamp=2020-10-27T12:02Z
section="admin"
maintainer="Mattéo Delabre <[email protected]>"
license=GPL-2.0-or-later
installdepends=(display)
flags=(patch_rm2fb)

image=qt:v1.4
image=qt:v2.1
source=(
https://github.com/dixonary/fingerterm-reMarkable/archive/02c17b5b485743c698e005ca89366c32b66aa044.zip
fingerterm.png
Expand Down
26 changes: 26 additions & 0 deletions package/fuse/fix-multiple-yylloc-definitions.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
diff --git a/scripts/dtc/dtc-lexer.l b/scripts/dtc/dtc-lexer.l
index 790fbf6c..e7eab4d7 100644
--- a/scripts/dtc/dtc-lexer.l
+++ b/scripts/dtc/dtc-lexer.l
@@ -38,7 +38,7 @@ LINECOMMENT "//".*\n
#include "srcpos.h"
#include "dtc-parser.tab.h"

-YYLTYPE yylloc;
+extern YYLTYPE yylloc;
extern bool treesource_error;

/* CAUTION: this will stop working if we ever use yyless() or yyunput() */
diff --git a/scripts/dtc/dtc-lexer.lex.c_shipped b/scripts/dtc/dtc-lexer.lex.c_shipped
index ba525c2f..a2fe8dbc 100644
--- a/scripts/dtc/dtc-lexer.lex.c_shipped
+++ b/scripts/dtc/dtc-lexer.lex.c_shipped
@@ -637,7 +637,7 @@ char *yytext;
#include "srcpos.h"
#include "dtc-parser.tab.h"

-YYLTYPE yylloc;
+extern YYLTYPE yylloc;
extern bool treesource_error;

/* CAUTION: this will stop working if we ever use yyless() or yyunput() */
20 changes: 14 additions & 6 deletions package/fuse/package
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,35 @@ archs=(rm1 rm2)
pkgnames=(fuse)
pkgdesc="FUSE (Filesystem in Userspace) Kernel Module"
url=https://github.com/libfuse/libfuse
pkgver=1.0.0-1
pkgver=1.0.0-2
timestamp=2021-04-06T22:16Z
section=utils
maintainer="plan5 <[email protected]>"
license=GPL-2.0-only
makedepends=(build:bc build:lzop build:git)
flags=(nostrip)

image=base:v2.1
source=(fix-multiple-yylloc-definitions.patch)
sha256sums=(SKIP)

_kernelrepo=https://github.com/remarkable/linux
_kernelrev=1774e2a6a091fdc081324e966d3db0aa9df75c0b
_defconfig=arch/arm/configs/zero-gravitas_defconfig

image=base:v1.3.2

build() {
prepare() {
cd "$srcdir"
mkdir pkg
git init linux
cd linux
git fetch --depth=1 "$_kernelrepo" "$_kernelrev"
git checkout -f "$_kernelrev"
git apply "$srcdir"/fix-multiple-yylloc-definitions.patch
}

build() {
(
cd linux
git fetch --depth=1 "$_kernelrepo" "$_kernelrev"
git checkout -f "$_kernelrev"
make mrproper
touch .scmversion
cp "$_defconfig" .config
Expand Down
16 changes: 4 additions & 12 deletions package/gocryptfs/package
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,16 @@ pkgnames=(gocryptfs)
pkgdesc="An encrypted overlay filesystem written in Go."
url="https://nuetzlich.net/gocryptfs/"
_srcver=2.0-beta2
pkgver="$_srcver"-1
pkgver="$_srcver"-2
timestamp=2021-03-22
section=utils
maintainer="plan5 <[email protected]>"
license=MIT

makedepends=()
installdepends=(fuse fuse-utils)

image=golang:v1.5

source=(
https://github.com/rfjakob/gocryptfs/archive/v"$_srcver".zip
)

sha256sums=(
3d66368cfc79a300de5a22fe01788d0c702f9107731db63fcd8850157d105cc0
)
image=golang:v2.1
source=(https://github.com/rfjakob/gocryptfs/archive/v"$_srcver".zip)
sha256sums=(3d66368cfc79a300de5a22fe01788d0c702f9107731db63fcd8850157d105cc0)

prepare() {
# Official build script runs compiled binary to show version.
Expand Down
4 changes: 2 additions & 2 deletions package/innernet/package
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
pkgnames=(innernet-client)
pkgdesc="A private network system that uses WireGuard under the hood."
url="https://github.com/tonarino/innernet"
pkgver=1.3.0-1
pkgver=1.3.0-2
timestamp=2021-05-19T08:17:04Z
section="utils"
maintainer="plan5 <[email protected]>"
license=MIT
installdepends=(wireguard)
makedepends=(build:librust-clang-sys-dev build:libclang-dev build:libc6 build:libc6-dev build:clang build:gcc-multilib build:g++-multilib)

image=rust:v1.4
image=rust:v2.1
source=(https://github.com/tonarino/innernet/archive/refs/tags/v1.3.0.zip)
sha256sums=(de3feb881c64ff91aa626aaa5b16e24c2a2c37688c4989b8394e1e15a175112e)

Expand Down
4 changes: 2 additions & 2 deletions package/keywriter/package
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
pkgnames=(keywriter)
pkgdesc="Markdown-enabled free writing app"
url=https://github.com/dps/remarkable-keywriter
pkgver=0.1.0-2
pkgver=0.1.0-3
timestamp=2019-07-13T06:27Z
section="writing"
maintainer="Mattéo Delabre <[email protected]>"
license=MIT
installdepends=(display)
flags=(patch_rm2fb)

image=qt:v1.4
image=qt:v2.1
_sundown=37728fb2d7137ff7c37d0a474cb827a8d6d846d8
source=(
https://github.com/dps/remarkable-keywriter/archive/c77ec3f65d9ff769f3f5dc85cc91abbf05aa163f.zip
Expand Down
4 changes: 2 additions & 2 deletions package/libdlib/package
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
pkgnames=(libdlib libdlib-dev)
pkgdesc="Toolkit for making machine learning and data analysis applications in C++"
url=http://dlib.net
pkgver=19.21-1
pkgver=19.21-2
timestamp=2020-08-08T19:41:07Z
section="devel"
maintainer="Mattéo Delabre <[email protected]>"
license=BSL-1.0

image=base:v1.3.1
image=base:v2.1
source=("https://github.com/davisking/dlib/archive/v${pkgver%-*}.tar.gz")
sha256sums=(116f52e58be04b47dab52057eaad4b5c4d5c3032d927fe23d55b0741fc4107a0)

Expand Down
4 changes: 2 additions & 2 deletions package/libvncserver/package
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
pkgnames=(libvncserver libvncclient libvncserver-dev)
pkgdesc="C libraries for implementing VNC servers or clients"
url=https://libvnc.github.io
pkgver=0.9.13-1
pkgver=0.9.13-2
timestamp=2020-06-13T19:19:11Z
section="devel"
maintainer="Mattéo Delabre <[email protected]>"
license=GPL-2.0-or-later

image=base:v1.3.1
image=base:v2.1
source=("https://github.com/LibVNC/libvncserver/archive/LibVNCServer-${pkgver%-*}.zip")
sha256sums=(d209d70998a9b98f9120eeb82df7a17767796c477eaa8297e0a55856a977c54f)

Expand Down
4 changes: 2 additions & 2 deletions package/oxide/package
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
# SPDX-License-Identifier: MIT

pkgnames=(erode fret oxide rot tarnish decay)
pkgver=2.1.2-2
pkgver=2.1.2-3
timestamp=2021-01-07T03:28Z
maintainer="Eeems <[email protected]>"
license=MIT
flags=(patch_rm2fb)

image=qt:v1.4
image=qt:v2.1
source=("https://github.com/Eeems/oxide/archive/30aab3456b9f8b37ffb667cbc8b5e2a686f3e98e.tar.gz")
sha256sums=(1ddd7bcd71aa12855348bde72bd0d0e7f91f1b958b054614c02eaa4b99168644)

Expand Down
4 changes: 2 additions & 2 deletions package/plato/package
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
pkgnames=(plato)
pkgdesc="Document reader"
url=https://github.com/LinusCDE/plato
pkgver=0.9.17-1
pkgver=0.9.17-2
timestamp=2021-05-02T14:39Z
section="readers"
maintainer="Linus K. <[email protected]>"
Expand All @@ -14,7 +14,7 @@ installdepends=(display jq)
makedepends=(build:jq build:unzip build:wget)
flags=(patch_rm2fb)

image=rust:v1.6
image=rust:v2.1
source=("https://github.com/LinusCDE/plato/archive/${pkgver%-*}-rm-release-10.zip")
sha256sums=(25aae17979d9e259d228617eb26a0cc89a6251968b8fc355b8cde36fd6b26773)

Expand Down
4 changes: 2 additions & 2 deletions package/puzzles/package
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
pkgnames=(puzzles)
timestamp=2021-03-04T14:03-08:00
maintainer="NONE"
pkgver=0.2.2-1
pkgver=0.2.2-2
license=MIT
pkgdesc="Simon Tatham's Puzzle Package"
url="https://github.com/mrichards42/remarkable_puzzles"
section="games"
flags=(patch_rm2fb)

image=python:v1.4
image=python:v2.1
source=(
https://github.com/mrichards42/remarkable_puzzles/releases/download/v0.2.2/puzzles-source.tar.gz
puzzles.draft
Expand Down
4 changes: 2 additions & 2 deletions package/quickjs/package
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
pkgnames=(quickjs)
pkgdesc="A small and embeddable Javascript engine"
url=https://bellard.org/quickjs/
pkgver=2020.11.08-1
pkgver=2020.11.08-2
section="devel"
timestamp=2020-11-08T13:44Z
maintainer="khanhas <[email protected]>"
license=MIT

image=base:v1.3.2
image=base:v2.1
source=(
https://bellard.org/quickjs/quickjs-2020-11-08.tar.xz
quickjs.patch
Expand Down
Loading

0 comments on commit 61667fd

Please sign in to comment.