Carl Smedstad pushed to branch main at Arch Linux / Packaging / Packages /
canto-curses
Commits:
6daa56bc by Carl Smedstad at 2024-11-19T06:57:31+01:00
upgpkg: 0.9.9-7: Python 3.13 rebuild
- - - - -
3 changed files:
- .SRCINFO
- PKGBUILD
- + fix-build.patch
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
pkgbase = canto-curses
pkgdesc = Next-gen console RSS/Atom reader
pkgver = 0.9.9
- pkgrel = 6
+ pkgrel = 7
url = https://github.com/themoken/canto-curses
arch = x86_64
license = GPL-2.0-only
@@ -14,9 +14,12 @@ pkgbase = canto-curses
depends = canto-daemon
depends = glibc
depends = python
- source =
canto-curses-0.9.9.tar.gz::https://github.com/themoken/canto-curses/archive/refs/tags/v0.9.9.tar.gz
+ source =
canto-curses-0.9.9.tar.gz::https://github.com/themoken/canto-curses/archive/v0.9.9.tar.gz
+ source = fix-build.patch
sha512sums =
2a88631506c1fda7278bb3ac376c2b67b4f2e5e1f443e49fe3035f542b66ac4b232fa66e7ae1b40e86b0a5cde3c38d11a0953754e5c5c7ed572a0da74656d798
+ sha512sums =
2dd7a8645f779e62da9511d11d12302596318b44eb5f6288e7e11eb12df804f49ce8ea9ee3fe402887fc09fd79f53577f937a303dc49dc7a7b263c13f3803e9d
b2sums =
c6154dfa71ec88b405fb89feec66a6bb922dfb93523c865c33fe0664ed7ea796d795027ff65a355fd3767342ffd5fa8cb01f48475c262ded4413924df6339509
+ b2sums =
c23540d2b28bb725643f5612e7c511114b83dac3cfae620a4fc82f829342ced53a91171a6036c5d1138dd0e70c6d84746e7bce8aa20cf58eb6831e6da18261e5
pkgname = canto-curses
depends = canto-daemon
=====================================
PKGBUILD
=====================================
@@ -2,7 +2,7 @@
pkgname=canto-curses
pkgver=0.9.9
-pkgrel=6
+pkgrel=7
pkgdesc="Next-gen console RSS/Atom reader"
arch=(x86_64)
url="https://github.com/themoken/canto-curses"
@@ -20,9 +20,19 @@ makedepends=(
python-wheel
readline
)
-source=($pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz)
-sha512sums=('2a88631506c1fda7278bb3ac376c2b67b4f2e5e1f443e49fe3035f542b66ac4b232fa66e7ae1b40e86b0a5cde3c38d11a0953754e5c5c7ed572a0da74656d798')
-b2sums=('c6154dfa71ec88b405fb89feec66a6bb922dfb93523c865c33fe0664ed7ea796d795027ff65a355fd3767342ffd5fa8cb01f48475c262ded4413924df6339509')
+source=(
+ "$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz"
+ "fix-build.patch"
+)
+sha512sums=('2a88631506c1fda7278bb3ac376c2b67b4f2e5e1f443e49fe3035f542b66ac4b232fa66e7ae1b40e86b0a5cde3c38d11a0953754e5c5c7ed572a0da74656d798'
+
'2dd7a8645f779e62da9511d11d12302596318b44eb5f6288e7e11eb12df804f49ce8ea9ee3fe402887fc09fd79f53577f937a303dc49dc7a7b263c13f3803e9d')
+b2sums=('c6154dfa71ec88b405fb89feec66a6bb922dfb93523c865c33fe0664ed7ea796d795027ff65a355fd3767342ffd5fa8cb01f48475c262ded4413924df6339509'
+
'c23540d2b28bb725643f5612e7c511114b83dac3cfae620a4fc82f829342ced53a91171a6036c5d1138dd0e70c6d84746e7bce8aa20cf58eb6831e6da18261e5')
+
+prepare() {
+ cd $pkgname-$pkgver
+ patch -Np1 -i ../fix-build.patch
+}
build() {
cd $pkgname-$pkgver
=====================================
fix-build.patch
=====================================
@@ -0,0 +1,16 @@
+diff --unified --recursive --text --new-file
canto-curses-0.9.9.orig/canto_curses/widecurse.c
canto-curses-0.9.9/canto_curses/widecurse.c
+--- canto-curses-0.9.9.orig/canto_curses/widecurse.c 2024-11-19
06:55:26.703201292 +0100
++++ canto-curses-0.9.9/canto_curses/widecurse.c 2024-11-19
06:55:39.423227011 +0100
+@@ -6,9 +6,12 @@
+ published by the Free Software Foundation.
+ */
+
++#define NCURSES_INTERNALS 1
+ #include <Python.h>
++#include <curses.h>
+ #include <py_curses.h>
+ #include <readline/readline.h>
++#include <wchar.h>
+
+ static PyObject *py_wcwidth(PyObject * self, PyObject * args)
+ {
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/canto-curses/-/commit/6daa56bc5baebb2444c368a8208666ef484a6fc0
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/canto-curses/-/commit/6daa56bc5baebb2444c368a8208666ef484a6fc0
You're receiving this email because of your account on gitlab.archlinux.org.