Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: textadept-10.6
@ 2019-10-19 18:53 voidlinux-github
  2019-10-31 22:57 ` voidlinux-github
                   ` (35 more replies)
  0 siblings, 36 replies; 38+ messages in thread
From: voidlinux-github @ 2019-10-19 18:53 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 800 bytes --]

There is a new pull request by reback00 against master on the void-packages repository

https://github.com/reback00/void-packages textadept-resubmit-branch
https://github.com/void-linux/void-packages/pull/15627

New package: textadept-10.6
This is a resubmission of Textadept package. I [messed up](https://github.com/void-linux/void-packages/pull/15278#issuecomment-543545924) the old PR and it got closed automatically, so had to open a new one.

[Textadept](https://foicica.com/textadept/) is a very lightweight and fast text editor written in C. It is extensible with Lua. The project aims to keep the C code within 2000 lines but has standard functionalities of other text editors.
Hope it is useful.

A patch file from https://github.com/void-linux/void-packages/pull/15627.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-textadept-resubmit-branch-15627.patch --]
[-- Type: text/x-diff, Size: 3751 bytes --]

From 12008d54fb8ac0de1f8b96f0db9d02972e5e485a Mon Sep 17 00:00:00 2001
From: reback00 <reback00@protonmail.com>
Date: Sun, 20 Oct 2019 00:45:15 +0600
Subject: [PATCH] New package: textadept-10.6

---
 srcpkgs/textadept/template | 85 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 85 insertions(+)
 create mode 100644 srcpkgs/textadept/template

diff --git a/srcpkgs/textadept/template b/srcpkgs/textadept/template
new file mode 100644
index 00000000000..38fbbf48639
--- /dev/null
+++ b/srcpkgs/textadept/template
@@ -0,0 +1,85 @@
+# Template file for 'textadept'
+pkgname=textadept
+version=10.6
+revision=1
+wrksrc="textadept-textadept_${version}"
+build_wrksrc="src"
+hostmakedepends="autoconf automake libtool wget unzip pkg-config glib-devel ncurses"
+makedepends="gtk+-devel ncurses-devel"
+short_desc="Fast, minimalist, and extensible text editor for programmers"
+maintainer="reback00 <reback00@protonmail.com>"
+license="MIT"
+homepage="https://foicica.com/textadept/"
+distfiles="https://github.com/rgieseke/textadept/archive/textadept_${version}.tar.gz
+ http://www.lua.org/ftp/lua-5.3.5.tar.gz
+ http://www.inf.puc-rio.br/~roberto/lpeg/lpeg-1.0.2.tar.gz
+ http://github.com/keplerproject/luafilesystem/archive/v1_7_0_2.zip
+ http://invisible-mirror.net/archives/cdk/cdk-5.0-20150928.tgz
+ http://www.leonerd.org.uk/code/libtermkey/libtermkey-0.20.tar.gz
+ http://www.lua.org/ftp/lua-5.3.5.tar.gz
+ http://www.inf.puc-rio.br/~roberto/lpeg/lpeg-1.0.2.tar.gz
+ http://www.leonerd.org.uk/code/libtermkey/libtermkey-0.20.tar.gz"
+checksum="2cb2aa8266c166ed4a3f534843aa75cec0dc1ced09c007aaef540e3a7999870b
+ 0c2eed3f960446e1a3e4b9a1ca2f3ff893b6ce41942cf54d5dd59ab4b3b058ac
+ 48d66576051b6c78388faad09b70493093264588fcd0f258ddaab1cdd4a15ffe
+ 9174ab891f1d392b42a587b2afb737f9565ecf8a860d2e5a2bff457858f58478
+ 028da75d5f777a1c4184f88e34918bd273bd83bbe3c959bc11710c4f0ea2e448
+ 6c0d87c94ab9915e76ecd313baec08dedf3bd56de83743d9aa923a081935d2f5
+ 0c2eed3f960446e1a3e4b9a1ca2f3ff893b6ce41942cf54d5dd59ab4b3b058ac
+ 48d66576051b6c78388faad09b70493093264588fcd0f258ddaab1cdd4a15ffe
+ 6c0d87c94ab9915e76ecd313baec08dedf3bd56de83743d9aa923a081935d2f5"
+skip_extraction="
+ lua-5.3.5.tar.gz
+ lpeg-1.0.2.tar.gz
+ v1_7_0_2.zip
+ cdk-5.0-20150928.tgz
+ libtermkey-0.20.tar.gz
+ lua-5.3.5.tar.gz
+ lpeg-1.0.2.tar.gz
+ libtermkey-0.20.tar.gz
+"
+
+# Take cached dependency files so that they are not downloaded by build
+# script again. Adapted from "libreoffice" template.
+post_fetch() {
+	local srcdistdir=${XBPS_SRCDISTDIR}/${pkgname}-${version} pkg
+	mkdir -p ${wrksrc}/src
+	for pkg in ${skip_extraction}; do
+		if [ "${pkg%.dll}" == "${pkg}" ]; then
+			ln -svf ${srcdistdir}/${pkg} ${wrksrc}/src
+		fi
+	done
+}
+
+pre_configure() {
+	# For cross builds
+	vsed -i -e 's/CC = /CC ?= /' -e 's/CFLAGS = /CFLAGS ?= /' -e 's/CXX = /CXX ?= /' -e 's/CXXFLAGS = /CXXFLAGS ?= /' Makefile
+	make deps
+}
+
+do_build() {
+	make ${makejobs}
+	make ${makejobs} curses
+}
+
+do_install() {
+	make PREFIX=/usr DESTDIR="${DESTDIR}" install
+	make curses PREFIX=/usr DESTDIR="${DESTDIR}" install
+
+	# Binaries in /usr/share/textadept are not allowed
+	# So we relocate to /usr/lib/textadept
+	mkdir -p "${DESTDIR}/usr/lib/"
+	mv "${DESTDIR}/usr/share/textadept" "${DESTDIR}/usr/lib/textadept"
+	ln -sf "/usr/lib/textadept/textadept" "${DESTDIR}/usr/bin/textadept"
+	ln -sf "/usr/lib/textadept/textadept-curses" "${DESTDIR}/usr/bin/textadept-curses"
+
+	# For icons
+	mkdir -p "${DESTDIR}/usr/share/pixmaps"
+	ln -s "/usr/lib/textadept/core/images/textadept.svg" "${DESTDIR}/usr/share/pixmaps/textadept.svg"
+	ln -s "/usr/lib/textadept/core/images/ta_48x48.png" \
+		"${DESTDIR}/usr/share/pixmaps/textadept.png"
+
+	# For license
+	cd ..
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: New package: textadept-10.6
  2019-10-19 18:53 [PR PATCH] New package: textadept-10.6 voidlinux-github
@ 2019-10-31 22:57 ` voidlinux-github
  2019-11-02  7:15 ` voidlinux-github
                   ` (34 subsequent siblings)
  35 siblings, 0 replies; 38+ messages in thread
From: voidlinux-github @ 2019-10-31 22:57 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 238 bytes --]

New comment by jnbr on void-packages repository

https://github.com/void-linux/void-packages/pull/15627#issuecomment-548601353

Comment:
Does it really need to vendor all those dependencies?
Also, some of the distfiles are listed twice.

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: New package: textadept-10.6
  2019-10-19 18:53 [PR PATCH] New package: textadept-10.6 voidlinux-github
  2019-10-31 22:57 ` voidlinux-github
@ 2019-11-02  7:15 ` voidlinux-github
  2019-11-02  7:43 ` voidlinux-github
                   ` (33 subsequent siblings)
  35 siblings, 0 replies; 38+ messages in thread
From: voidlinux-github @ 2019-11-02  7:15 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1098 bytes --]

New comment by reback00 on void-packages repository

https://github.com/void-linux/void-packages/pull/15627#issuecomment-549018252

Comment:
@jnbr, Well, Textadept needs these when building. If you [build from source](https://notabug.org/reback00/ta-config/src/master/patches/README.md), you will see that they are downloaded from predefined sources when building. And on the [old PR](https://github.com/void-linux/void-packages/pull/15278), @Chocimier suggested these deps should be cached:
> Ideally, deps should be added to distfiles for caching...

So when I added the deps to distfiles for caching, xbps-src downloaded them just fine, but the zip/tar files were extracted automatically to build dir... which makes the build process not find the deps zip/tar files and it downloads them again. So I had to add the deps files to `skip_extraction` so that they are not extracted. That's why the mention of them the second time. @Chocimier also helped me find a `post_fetch` function that copies the deps zip/tar files to builddir src directory.

Please feel free to suggest anything better.

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: New package: textadept-10.6
  2019-10-19 18:53 [PR PATCH] New package: textadept-10.6 voidlinux-github
  2019-10-31 22:57 ` voidlinux-github
  2019-11-02  7:15 ` voidlinux-github
@ 2019-11-02  7:43 ` voidlinux-github
  2019-11-04  4:23 ` [PR PATCH] [Updated] " voidlinux-github
                   ` (32 subsequent siblings)
  35 siblings, 0 replies; 38+ messages in thread
From: voidlinux-github @ 2019-11-02  7:43 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 270 bytes --]

New comment by Chocimier on void-packages repository

https://github.com/void-linux/void-packages/pull/15627#issuecomment-549019860

Comment:
> Please feel free to suggest anything better.

Not to put http://www.lua.org/ftp/lua-5.3.5.tar.gz and so in distfiles twice.

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [PR PATCH] [Updated] New package: textadept-10.6
  2019-10-19 18:53 [PR PATCH] New package: textadept-10.6 voidlinux-github
                   ` (2 preceding siblings ...)
  2019-11-02  7:43 ` voidlinux-github
@ 2019-11-04  4:23 ` voidlinux-github
  2019-11-04  5:15 ` voidlinux-github
                   ` (31 subsequent siblings)
  35 siblings, 0 replies; 38+ messages in thread
From: voidlinux-github @ 2019-11-04  4:23 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 805 bytes --]

There is an updated pull request by reback00 against master on the void-packages repository

https://github.com/reback00/void-packages textadept-resubmit-branch
https://github.com/void-linux/void-packages/pull/15627

New package: textadept-10.6
This is a resubmission of Textadept package. I [messed up](https://github.com/void-linux/void-packages/pull/15278#issuecomment-543545924) the old PR and it got closed automatically, so had to open a new one.

[Textadept](https://foicica.com/textadept/) is a very lightweight and fast text editor written in C. It is extensible with Lua. The project aims to keep the C code within 2000 lines but has standard functionalities of other text editors.
Hope it is useful.

A patch file from https://github.com/void-linux/void-packages/pull/15627.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-textadept-resubmit-branch-15627.patch --]
[-- Type: text/x-diff, Size: 3623 bytes --]

From 8c7366e1b7b04cdc6f01ffaa71e6df45d34227a8 Mon Sep 17 00:00:00 2001
From: reback00 <reback00@protonmail.com>
Date: Sun, 20 Oct 2019 00:45:15 +0600
Subject: [PATCH] New package: textadept-10.6

---
 srcpkgs/textadept/template | 82 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 82 insertions(+)
 create mode 100644 srcpkgs/textadept/template

diff --git a/srcpkgs/textadept/template b/srcpkgs/textadept/template
new file mode 100644
index 00000000000..7cfc207dcca
--- /dev/null
+++ b/srcpkgs/textadept/template
@@ -0,0 +1,82 @@
+# Template file for 'textadept'
+pkgname=textadept
+version=10.6
+revision=1
+wrksrc="textadept-textadept_${version}"
+build_wrksrc="src"
+hostmakedepends="autoconf automake libtool wget unzip pkg-config glib-devel ncurses"
+makedepends="gtk+-devel ncurses-devel"
+short_desc="Fast, minimalist, and extensible text editor for programmers"
+maintainer="reback00 <reback00@protonmail.com>"
+license="MIT"
+homepage="https://foicica.com/textadept/"
+distfiles="https://github.com/rgieseke/textadept/archive/textadept_${version}.tar.gz
+ http://www.lua.org/ftp/lua-5.3.5.tar.gz
+ http://www.inf.puc-rio.br/~roberto/lpeg/lpeg-1.0.2.tar.gz
+ http://github.com/keplerproject/luafilesystem/archive/v1_7_0_2.zip
+ http://invisible-mirror.net/archives/cdk/cdk-5.0-20150928.tgz
+ http://www.leonerd.org.uk/code/libtermkey/libtermkey-0.20.tar.gz
+ http://www.inf.puc-rio.br/~roberto/lpeg/lpeg-1.0.2.tar.gz
+ http://www.leonerd.org.uk/code/libtermkey/libtermkey-0.20.tar.gz"
+checksum="2cb2aa8266c166ed4a3f534843aa75cec0dc1ced09c007aaef540e3a7999870b
+ 0c2eed3f960446e1a3e4b9a1ca2f3ff893b6ce41942cf54d5dd59ab4b3b058ac
+ 48d66576051b6c78388faad09b70493093264588fcd0f258ddaab1cdd4a15ffe
+ 9174ab891f1d392b42a587b2afb737f9565ecf8a860d2e5a2bff457858f58478
+ 028da75d5f777a1c4184f88e34918bd273bd83bbe3c959bc11710c4f0ea2e448
+ 6c0d87c94ab9915e76ecd313baec08dedf3bd56de83743d9aa923a081935d2f5
+ 48d66576051b6c78388faad09b70493093264588fcd0f258ddaab1cdd4a15ffe
+ 6c0d87c94ab9915e76ecd313baec08dedf3bd56de83743d9aa923a081935d2f5"
+skip_extraction="
+ lua-5.3.5.tar.gz
+ lpeg-1.0.2.tar.gz
+ v1_7_0_2.zip
+ cdk-5.0-20150928.tgz
+ libtermkey-0.20.tar.gz
+ lpeg-1.0.2.tar.gz
+ libtermkey-0.20.tar.gz
+"
+
+# Take cached dependency files so that they are not downloaded by build
+# script again. Adapted from "libreoffice" template.
+post_fetch() {
+	local srcdistdir=${XBPS_SRCDISTDIR}/${pkgname}-${version} pkg
+	mkdir -p ${wrksrc}/src
+	for pkg in ${skip_extraction}; do
+		if [ "${pkg%.dll}" == "${pkg}" ]; then
+			ln -svf ${srcdistdir}/${pkg} ${wrksrc}/src
+		fi
+	done
+}
+
+pre_configure() {
+	# For cross builds
+	vsed -i -e 's/CC = /CC ?= /' -e 's/CFLAGS = /CFLAGS ?= /' -e 's/CXX = /CXX ?= /' -e 's/CXXFLAGS = /CXXFLAGS ?= /' Makefile
+	make deps
+}
+
+do_build() {
+	make ${makejobs}
+	make ${makejobs} curses
+}
+
+do_install() {
+	make PREFIX=/usr DESTDIR="${DESTDIR}" install
+	make curses PREFIX=/usr DESTDIR="${DESTDIR}" install
+
+	# Binaries in /usr/share/textadept are not allowed
+	# So we relocate to /usr/lib/textadept
+	mkdir -p "${DESTDIR}/usr/lib/"
+	mv "${DESTDIR}/usr/share/textadept" "${DESTDIR}/usr/lib/textadept"
+	ln -sf "/usr/lib/textadept/textadept" "${DESTDIR}/usr/bin/textadept"
+	ln -sf "/usr/lib/textadept/textadept-curses" "${DESTDIR}/usr/bin/textadept-curses"
+
+	# For icons
+	mkdir -p "${DESTDIR}/usr/share/pixmaps"
+	ln -s "/usr/lib/textadept/core/images/textadept.svg" "${DESTDIR}/usr/share/pixmaps/textadept.svg"
+	ln -s "/usr/lib/textadept/core/images/ta_48x48.png" \
+		"${DESTDIR}/usr/share/pixmaps/textadept.png"
+
+	# For license
+	cd ..
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [PR PATCH] [Updated] New package: textadept-10.6
  2019-10-19 18:53 [PR PATCH] New package: textadept-10.6 voidlinux-github
                   ` (3 preceding siblings ...)
  2019-11-04  4:23 ` [PR PATCH] [Updated] " voidlinux-github
@ 2019-11-04  5:15 ` voidlinux-github
  2019-11-04  5:55 ` voidlinux-github
                   ` (30 subsequent siblings)
  35 siblings, 0 replies; 38+ messages in thread
From: voidlinux-github @ 2019-11-04  5:15 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 805 bytes --]

There is an updated pull request by reback00 against master on the void-packages repository

https://github.com/reback00/void-packages textadept-resubmit-branch
https://github.com/void-linux/void-packages/pull/15627

New package: textadept-10.6
This is a resubmission of Textadept package. I [messed up](https://github.com/void-linux/void-packages/pull/15278#issuecomment-543545924) the old PR and it got closed automatically, so had to open a new one.

[Textadept](https://foicica.com/textadept/) is a very lightweight and fast text editor written in C. It is extensible with Lua. The project aims to keep the C code within 2000 lines but has standard functionalities of other text editors.
Hope it is useful.

A patch file from https://github.com/void-linux/void-packages/pull/15627.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-textadept-resubmit-branch-15627.patch --]
[-- Type: text/x-diff, Size: 3623 bytes --]

From 0bd58664c37c0ce0517f4e031d2924b3c46dca11 Mon Sep 17 00:00:00 2001
From: reback00 <reback00@protonmail.com>
Date: Sun, 20 Oct 2019 00:45:15 +0600
Subject: [PATCH] New package: textadept-10.6

---
 srcpkgs/textadept/template | 82 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 82 insertions(+)
 create mode 100644 srcpkgs/textadept/template

diff --git a/srcpkgs/textadept/template b/srcpkgs/textadept/template
new file mode 100644
index 00000000000..7cfc207dcca
--- /dev/null
+++ b/srcpkgs/textadept/template
@@ -0,0 +1,82 @@
+# Template file for 'textadept'
+pkgname=textadept
+version=10.6
+revision=1
+wrksrc="textadept-textadept_${version}"
+build_wrksrc="src"
+hostmakedepends="autoconf automake libtool wget unzip pkg-config glib-devel ncurses"
+makedepends="gtk+-devel ncurses-devel"
+short_desc="Fast, minimalist, and extensible text editor for programmers"
+maintainer="reback00 <reback00@protonmail.com>"
+license="MIT"
+homepage="https://foicica.com/textadept/"
+distfiles="https://github.com/rgieseke/textadept/archive/textadept_${version}.tar.gz
+ http://www.lua.org/ftp/lua-5.3.5.tar.gz
+ http://www.inf.puc-rio.br/~roberto/lpeg/lpeg-1.0.2.tar.gz
+ http://github.com/keplerproject/luafilesystem/archive/v1_7_0_2.zip
+ http://invisible-mirror.net/archives/cdk/cdk-5.0-20150928.tgz
+ http://www.leonerd.org.uk/code/libtermkey/libtermkey-0.20.tar.gz
+ http://www.inf.puc-rio.br/~roberto/lpeg/lpeg-1.0.2.tar.gz
+ http://www.leonerd.org.uk/code/libtermkey/libtermkey-0.20.tar.gz"
+checksum="2cb2aa8266c166ed4a3f534843aa75cec0dc1ced09c007aaef540e3a7999870b
+ 0c2eed3f960446e1a3e4b9a1ca2f3ff893b6ce41942cf54d5dd59ab4b3b058ac
+ 48d66576051b6c78388faad09b70493093264588fcd0f258ddaab1cdd4a15ffe
+ 9174ab891f1d392b42a587b2afb737f9565ecf8a860d2e5a2bff457858f58478
+ 028da75d5f777a1c4184f88e34918bd273bd83bbe3c959bc11710c4f0ea2e448
+ 6c0d87c94ab9915e76ecd313baec08dedf3bd56de83743d9aa923a081935d2f5
+ 48d66576051b6c78388faad09b70493093264588fcd0f258ddaab1cdd4a15ffe
+ 6c0d87c94ab9915e76ecd313baec08dedf3bd56de83743d9aa923a081935d2f5"
+skip_extraction="
+ lua-5.3.5.tar.gz
+ lpeg-1.0.2.tar.gz
+ v1_7_0_2.zip
+ cdk-5.0-20150928.tgz
+ libtermkey-0.20.tar.gz
+ lpeg-1.0.2.tar.gz
+ libtermkey-0.20.tar.gz
+"
+
+# Take cached dependency files so that they are not downloaded by build
+# script again. Adapted from "libreoffice" template.
+post_fetch() {
+	local srcdistdir=${XBPS_SRCDISTDIR}/${pkgname}-${version} pkg
+	mkdir -p ${wrksrc}/src
+	for pkg in ${skip_extraction}; do
+		if [ "${pkg%.dll}" == "${pkg}" ]; then
+			ln -svf ${srcdistdir}/${pkg} ${wrksrc}/src
+		fi
+	done
+}
+
+pre_configure() {
+	# For cross builds
+	vsed -i -e 's/CC = /CC ?= /' -e 's/CFLAGS = /CFLAGS ?= /' -e 's/CXX = /CXX ?= /' -e 's/CXXFLAGS = /CXXFLAGS ?= /' Makefile
+	make deps
+}
+
+do_build() {
+	make ${makejobs}
+	make ${makejobs} curses
+}
+
+do_install() {
+	make PREFIX=/usr DESTDIR="${DESTDIR}" install
+	make curses PREFIX=/usr DESTDIR="${DESTDIR}" install
+
+	# Binaries in /usr/share/textadept are not allowed
+	# So we relocate to /usr/lib/textadept
+	mkdir -p "${DESTDIR}/usr/lib/"
+	mv "${DESTDIR}/usr/share/textadept" "${DESTDIR}/usr/lib/textadept"
+	ln -sf "/usr/lib/textadept/textadept" "${DESTDIR}/usr/bin/textadept"
+	ln -sf "/usr/lib/textadept/textadept-curses" "${DESTDIR}/usr/bin/textadept-curses"
+
+	# For icons
+	mkdir -p "${DESTDIR}/usr/share/pixmaps"
+	ln -s "/usr/lib/textadept/core/images/textadept.svg" "${DESTDIR}/usr/share/pixmaps/textadept.svg"
+	ln -s "/usr/lib/textadept/core/images/ta_48x48.png" \
+		"${DESTDIR}/usr/share/pixmaps/textadept.png"
+
+	# For license
+	cd ..
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: New package: textadept-10.6
  2019-10-19 18:53 [PR PATCH] New package: textadept-10.6 voidlinux-github
                   ` (4 preceding siblings ...)
  2019-11-04  5:15 ` voidlinux-github
@ 2019-11-04  5:55 ` voidlinux-github
  2019-11-04 11:41 ` [PR PATCH] [Updated] " voidlinux-github
                   ` (29 subsequent siblings)
  35 siblings, 0 replies; 38+ messages in thread
From: voidlinux-github @ 2019-11-04  5:55 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1571 bytes --]

New comment by reback00 on void-packages repository

https://github.com/void-linux/void-packages/pull/15627#issuecomment-549231300

Comment:
Oops, sorry. I missed it. Removed the duplicates.

But there is another problem. Travis is randomly failing builds for some reason. I pushed exactly same code for these 2 builds, but different builds failed each time:

- [build 1](https://travis-ci.org/void-linux/void-packages/builds/606971378?utm_medium=notification&utm_source=github_status)
- [build 2](https://travis-ci.org/void-linux/void-packages/builds/606980546?utm_source=github_status&utm_medium=notification)

This seems like an issue on Travis' end. I checked the log and it's something like this:

```
...
=> textadept-10.6_1: installing host dependencies: autoconf-2.69_7 automake-1.16.1_2 libtool-2.4.6_4 wget-1.20.3_2 unzip-6.0_12 pkg-config-0.29.2_2 glib-devel-2.62.2_1 ncurses-6.1_4 ...
=> textadept-10.6_1: installing target dependencies: gtk+-devel-2.24.32_3 ncurses-devel-6.1_4 ...
No output has been received in the last 10m0s, this potentially indicates a stalled build or something wrong with the build itself.
Check the details on how to adjust your build configuration on: https://docs.travis-ci.com/user/common-build-problems/#build-times-out-because-no-output-was-received
The build has been terminated
```

I have checked some recent builds on other packages and they [also](https://travis-ci.org/void-linux/void-packages/jobs/606945262#L394) [have](https://travis-ci.org/void-linux/void-packages/jobs/606956851#L383) this problem.

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [PR PATCH] [Updated] New package: textadept-10.6
  2019-10-19 18:53 [PR PATCH] New package: textadept-10.6 voidlinux-github
                   ` (5 preceding siblings ...)
  2019-11-04  5:55 ` voidlinux-github
@ 2019-11-04 11:41 ` voidlinux-github
  2019-11-04 12:41 ` voidlinux-github
                   ` (28 subsequent siblings)
  35 siblings, 0 replies; 38+ messages in thread
From: voidlinux-github @ 2019-11-04 11:41 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 805 bytes --]

There is an updated pull request by reback00 against master on the void-packages repository

https://github.com/reback00/void-packages textadept-resubmit-branch
https://github.com/void-linux/void-packages/pull/15627

New package: textadept-10.6
This is a resubmission of Textadept package. I [messed up](https://github.com/void-linux/void-packages/pull/15278#issuecomment-543545924) the old PR and it got closed automatically, so had to open a new one.

[Textadept](https://foicica.com/textadept/) is a very lightweight and fast text editor written in C. It is extensible with Lua. The project aims to keep the C code within 2000 lines but has standard functionalities of other text editors.
Hope it is useful.

A patch file from https://github.com/void-linux/void-packages/pull/15627.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-textadept-resubmit-branch-15627.patch --]
[-- Type: text/x-diff, Size: 3623 bytes --]

From dba4bcbcea16052e674145e465370dcafaed423f Mon Sep 17 00:00:00 2001
From: reback00 <reback00@protonmail.com>
Date: Sun, 20 Oct 2019 00:45:15 +0600
Subject: [PATCH] New package: textadept-10.6

---
 srcpkgs/textadept/template | 82 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 82 insertions(+)
 create mode 100644 srcpkgs/textadept/template

diff --git a/srcpkgs/textadept/template b/srcpkgs/textadept/template
new file mode 100644
index 00000000000..7cfc207dcca
--- /dev/null
+++ b/srcpkgs/textadept/template
@@ -0,0 +1,82 @@
+# Template file for 'textadept'
+pkgname=textadept
+version=10.6
+revision=1
+wrksrc="textadept-textadept_${version}"
+build_wrksrc="src"
+hostmakedepends="autoconf automake libtool wget unzip pkg-config glib-devel ncurses"
+makedepends="gtk+-devel ncurses-devel"
+short_desc="Fast, minimalist, and extensible text editor for programmers"
+maintainer="reback00 <reback00@protonmail.com>"
+license="MIT"
+homepage="https://foicica.com/textadept/"
+distfiles="https://github.com/rgieseke/textadept/archive/textadept_${version}.tar.gz
+ http://www.lua.org/ftp/lua-5.3.5.tar.gz
+ http://www.inf.puc-rio.br/~roberto/lpeg/lpeg-1.0.2.tar.gz
+ http://github.com/keplerproject/luafilesystem/archive/v1_7_0_2.zip
+ http://invisible-mirror.net/archives/cdk/cdk-5.0-20150928.tgz
+ http://www.leonerd.org.uk/code/libtermkey/libtermkey-0.20.tar.gz
+ http://www.inf.puc-rio.br/~roberto/lpeg/lpeg-1.0.2.tar.gz
+ http://www.leonerd.org.uk/code/libtermkey/libtermkey-0.20.tar.gz"
+checksum="2cb2aa8266c166ed4a3f534843aa75cec0dc1ced09c007aaef540e3a7999870b
+ 0c2eed3f960446e1a3e4b9a1ca2f3ff893b6ce41942cf54d5dd59ab4b3b058ac
+ 48d66576051b6c78388faad09b70493093264588fcd0f258ddaab1cdd4a15ffe
+ 9174ab891f1d392b42a587b2afb737f9565ecf8a860d2e5a2bff457858f58478
+ 028da75d5f777a1c4184f88e34918bd273bd83bbe3c959bc11710c4f0ea2e448
+ 6c0d87c94ab9915e76ecd313baec08dedf3bd56de83743d9aa923a081935d2f5
+ 48d66576051b6c78388faad09b70493093264588fcd0f258ddaab1cdd4a15ffe
+ 6c0d87c94ab9915e76ecd313baec08dedf3bd56de83743d9aa923a081935d2f5"
+skip_extraction="
+ lua-5.3.5.tar.gz
+ lpeg-1.0.2.tar.gz
+ v1_7_0_2.zip
+ cdk-5.0-20150928.tgz
+ libtermkey-0.20.tar.gz
+ lpeg-1.0.2.tar.gz
+ libtermkey-0.20.tar.gz
+"
+
+# Take cached dependency files so that they are not downloaded by build
+# script again. Adapted from "libreoffice" template.
+post_fetch() {
+	local srcdistdir=${XBPS_SRCDISTDIR}/${pkgname}-${version} pkg
+	mkdir -p ${wrksrc}/src
+	for pkg in ${skip_extraction}; do
+		if [ "${pkg%.dll}" == "${pkg}" ]; then
+			ln -svf ${srcdistdir}/${pkg} ${wrksrc}/src
+		fi
+	done
+}
+
+pre_configure() {
+	# For cross builds
+	vsed -i -e 's/CC = /CC ?= /' -e 's/CFLAGS = /CFLAGS ?= /' -e 's/CXX = /CXX ?= /' -e 's/CXXFLAGS = /CXXFLAGS ?= /' Makefile
+	make deps
+}
+
+do_build() {
+	make ${makejobs}
+	make ${makejobs} curses
+}
+
+do_install() {
+	make PREFIX=/usr DESTDIR="${DESTDIR}" install
+	make curses PREFIX=/usr DESTDIR="${DESTDIR}" install
+
+	# Binaries in /usr/share/textadept are not allowed
+	# So we relocate to /usr/lib/textadept
+	mkdir -p "${DESTDIR}/usr/lib/"
+	mv "${DESTDIR}/usr/share/textadept" "${DESTDIR}/usr/lib/textadept"
+	ln -sf "/usr/lib/textadept/textadept" "${DESTDIR}/usr/bin/textadept"
+	ln -sf "/usr/lib/textadept/textadept-curses" "${DESTDIR}/usr/bin/textadept-curses"
+
+	# For icons
+	mkdir -p "${DESTDIR}/usr/share/pixmaps"
+	ln -s "/usr/lib/textadept/core/images/textadept.svg" "${DESTDIR}/usr/share/pixmaps/textadept.svg"
+	ln -s "/usr/lib/textadept/core/images/ta_48x48.png" \
+		"${DESTDIR}/usr/share/pixmaps/textadept.png"
+
+	# For license
+	cd ..
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [PR PATCH] [Updated] New package: textadept-10.6
  2019-10-19 18:53 [PR PATCH] New package: textadept-10.6 voidlinux-github
                   ` (6 preceding siblings ...)
  2019-11-04 11:41 ` [PR PATCH] [Updated] " voidlinux-github
@ 2019-11-04 12:41 ` voidlinux-github
  2019-11-06  3:20 ` voidlinux-github
                   ` (27 subsequent siblings)
  35 siblings, 0 replies; 38+ messages in thread
From: voidlinux-github @ 2019-11-04 12:41 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 805 bytes --]

There is an updated pull request by reback00 against master on the void-packages repository

https://github.com/reback00/void-packages textadept-resubmit-branch
https://github.com/void-linux/void-packages/pull/15627

New package: textadept-10.6
This is a resubmission of Textadept package. I [messed up](https://github.com/void-linux/void-packages/pull/15278#issuecomment-543545924) the old PR and it got closed automatically, so had to open a new one.

[Textadept](https://foicica.com/textadept/) is a very lightweight and fast text editor written in C. It is extensible with Lua. The project aims to keep the C code within 2000 lines but has standard functionalities of other text editors.
Hope it is useful.

A patch file from https://github.com/void-linux/void-packages/pull/15627.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-textadept-resubmit-branch-15627.patch --]
[-- Type: text/x-diff, Size: 3623 bytes --]

From 7ee69afb7ac8c8581ddb6e3a8519847087c1cfbc Mon Sep 17 00:00:00 2001
From: reback00 <reback00@protonmail.com>
Date: Sun, 20 Oct 2019 00:45:15 +0600
Subject: [PATCH] New package: textadept-10.6

---
 srcpkgs/textadept/template | 82 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 82 insertions(+)
 create mode 100644 srcpkgs/textadept/template

diff --git a/srcpkgs/textadept/template b/srcpkgs/textadept/template
new file mode 100644
index 00000000000..7cfc207dcca
--- /dev/null
+++ b/srcpkgs/textadept/template
@@ -0,0 +1,82 @@
+# Template file for 'textadept'
+pkgname=textadept
+version=10.6
+revision=1
+wrksrc="textadept-textadept_${version}"
+build_wrksrc="src"
+hostmakedepends="autoconf automake libtool wget unzip pkg-config glib-devel ncurses"
+makedepends="gtk+-devel ncurses-devel"
+short_desc="Fast, minimalist, and extensible text editor for programmers"
+maintainer="reback00 <reback00@protonmail.com>"
+license="MIT"
+homepage="https://foicica.com/textadept/"
+distfiles="https://github.com/rgieseke/textadept/archive/textadept_${version}.tar.gz
+ http://www.lua.org/ftp/lua-5.3.5.tar.gz
+ http://www.inf.puc-rio.br/~roberto/lpeg/lpeg-1.0.2.tar.gz
+ http://github.com/keplerproject/luafilesystem/archive/v1_7_0_2.zip
+ http://invisible-mirror.net/archives/cdk/cdk-5.0-20150928.tgz
+ http://www.leonerd.org.uk/code/libtermkey/libtermkey-0.20.tar.gz
+ http://www.inf.puc-rio.br/~roberto/lpeg/lpeg-1.0.2.tar.gz
+ http://www.leonerd.org.uk/code/libtermkey/libtermkey-0.20.tar.gz"
+checksum="2cb2aa8266c166ed4a3f534843aa75cec0dc1ced09c007aaef540e3a7999870b
+ 0c2eed3f960446e1a3e4b9a1ca2f3ff893b6ce41942cf54d5dd59ab4b3b058ac
+ 48d66576051b6c78388faad09b70493093264588fcd0f258ddaab1cdd4a15ffe
+ 9174ab891f1d392b42a587b2afb737f9565ecf8a860d2e5a2bff457858f58478
+ 028da75d5f777a1c4184f88e34918bd273bd83bbe3c959bc11710c4f0ea2e448
+ 6c0d87c94ab9915e76ecd313baec08dedf3bd56de83743d9aa923a081935d2f5
+ 48d66576051b6c78388faad09b70493093264588fcd0f258ddaab1cdd4a15ffe
+ 6c0d87c94ab9915e76ecd313baec08dedf3bd56de83743d9aa923a081935d2f5"
+skip_extraction="
+ lua-5.3.5.tar.gz
+ lpeg-1.0.2.tar.gz
+ v1_7_0_2.zip
+ cdk-5.0-20150928.tgz
+ libtermkey-0.20.tar.gz
+ lpeg-1.0.2.tar.gz
+ libtermkey-0.20.tar.gz
+"
+
+# Take cached dependency files so that they are not downloaded by build
+# script again. Adapted from "libreoffice" template.
+post_fetch() {
+	local srcdistdir=${XBPS_SRCDISTDIR}/${pkgname}-${version} pkg
+	mkdir -p ${wrksrc}/src
+	for pkg in ${skip_extraction}; do
+		if [ "${pkg%.dll}" == "${pkg}" ]; then
+			ln -svf ${srcdistdir}/${pkg} ${wrksrc}/src
+		fi
+	done
+}
+
+pre_configure() {
+	# For cross builds
+	vsed -i -e 's/CC = /CC ?= /' -e 's/CFLAGS = /CFLAGS ?= /' -e 's/CXX = /CXX ?= /' -e 's/CXXFLAGS = /CXXFLAGS ?= /' Makefile
+	make deps
+}
+
+do_build() {
+	make ${makejobs}
+	make ${makejobs} curses
+}
+
+do_install() {
+	make PREFIX=/usr DESTDIR="${DESTDIR}" install
+	make curses PREFIX=/usr DESTDIR="${DESTDIR}" install
+
+	# Binaries in /usr/share/textadept are not allowed
+	# So we relocate to /usr/lib/textadept
+	mkdir -p "${DESTDIR}/usr/lib/"
+	mv "${DESTDIR}/usr/share/textadept" "${DESTDIR}/usr/lib/textadept"
+	ln -sf "/usr/lib/textadept/textadept" "${DESTDIR}/usr/bin/textadept"
+	ln -sf "/usr/lib/textadept/textadept-curses" "${DESTDIR}/usr/bin/textadept-curses"
+
+	# For icons
+	mkdir -p "${DESTDIR}/usr/share/pixmaps"
+	ln -s "/usr/lib/textadept/core/images/textadept.svg" "${DESTDIR}/usr/share/pixmaps/textadept.svg"
+	ln -s "/usr/lib/textadept/core/images/ta_48x48.png" \
+		"${DESTDIR}/usr/share/pixmaps/textadept.png"
+
+	# For license
+	cd ..
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [PR PATCH] [Updated] New package: textadept-10.6
  2019-10-19 18:53 [PR PATCH] New package: textadept-10.6 voidlinux-github
                   ` (7 preceding siblings ...)
  2019-11-04 12:41 ` voidlinux-github
@ 2019-11-06  3:20 ` voidlinux-github
  2019-11-06  4:31 ` voidlinux-github
                   ` (26 subsequent siblings)
  35 siblings, 0 replies; 38+ messages in thread
From: voidlinux-github @ 2019-11-06  3:20 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 805 bytes --]

There is an updated pull request by reback00 against master on the void-packages repository

https://github.com/reback00/void-packages textadept-resubmit-branch
https://github.com/void-linux/void-packages/pull/15627

New package: textadept-10.6
This is a resubmission of Textadept package. I [messed up](https://github.com/void-linux/void-packages/pull/15278#issuecomment-543545924) the old PR and it got closed automatically, so had to open a new one.

[Textadept](https://foicica.com/textadept/) is a very lightweight and fast text editor written in C. It is extensible with Lua. The project aims to keep the C code within 2000 lines but has standard functionalities of other text editors.
Hope it is useful.

A patch file from https://github.com/void-linux/void-packages/pull/15627.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-textadept-resubmit-branch-15627.patch --]
[-- Type: text/x-diff, Size: 3623 bytes --]

From 3f941bd8872a3104d2a3a6570ceae68964c04daf Mon Sep 17 00:00:00 2001
From: reback00 <reback00@protonmail.com>
Date: Sun, 20 Oct 2019 00:45:15 +0600
Subject: [PATCH] New package: textadept-10.6

---
 srcpkgs/textadept/template | 82 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 82 insertions(+)
 create mode 100644 srcpkgs/textadept/template

diff --git a/srcpkgs/textadept/template b/srcpkgs/textadept/template
new file mode 100644
index 00000000000..7cfc207dcca
--- /dev/null
+++ b/srcpkgs/textadept/template
@@ -0,0 +1,82 @@
+# Template file for 'textadept'
+pkgname=textadept
+version=10.6
+revision=1
+wrksrc="textadept-textadept_${version}"
+build_wrksrc="src"
+hostmakedepends="autoconf automake libtool wget unzip pkg-config glib-devel ncurses"
+makedepends="gtk+-devel ncurses-devel"
+short_desc="Fast, minimalist, and extensible text editor for programmers"
+maintainer="reback00 <reback00@protonmail.com>"
+license="MIT"
+homepage="https://foicica.com/textadept/"
+distfiles="https://github.com/rgieseke/textadept/archive/textadept_${version}.tar.gz
+ http://www.lua.org/ftp/lua-5.3.5.tar.gz
+ http://www.inf.puc-rio.br/~roberto/lpeg/lpeg-1.0.2.tar.gz
+ http://github.com/keplerproject/luafilesystem/archive/v1_7_0_2.zip
+ http://invisible-mirror.net/archives/cdk/cdk-5.0-20150928.tgz
+ http://www.leonerd.org.uk/code/libtermkey/libtermkey-0.20.tar.gz
+ http://www.inf.puc-rio.br/~roberto/lpeg/lpeg-1.0.2.tar.gz
+ http://www.leonerd.org.uk/code/libtermkey/libtermkey-0.20.tar.gz"
+checksum="2cb2aa8266c166ed4a3f534843aa75cec0dc1ced09c007aaef540e3a7999870b
+ 0c2eed3f960446e1a3e4b9a1ca2f3ff893b6ce41942cf54d5dd59ab4b3b058ac
+ 48d66576051b6c78388faad09b70493093264588fcd0f258ddaab1cdd4a15ffe
+ 9174ab891f1d392b42a587b2afb737f9565ecf8a860d2e5a2bff457858f58478
+ 028da75d5f777a1c4184f88e34918bd273bd83bbe3c959bc11710c4f0ea2e448
+ 6c0d87c94ab9915e76ecd313baec08dedf3bd56de83743d9aa923a081935d2f5
+ 48d66576051b6c78388faad09b70493093264588fcd0f258ddaab1cdd4a15ffe
+ 6c0d87c94ab9915e76ecd313baec08dedf3bd56de83743d9aa923a081935d2f5"
+skip_extraction="
+ lua-5.3.5.tar.gz
+ lpeg-1.0.2.tar.gz
+ v1_7_0_2.zip
+ cdk-5.0-20150928.tgz
+ libtermkey-0.20.tar.gz
+ lpeg-1.0.2.tar.gz
+ libtermkey-0.20.tar.gz
+"
+
+# Take cached dependency files so that they are not downloaded by build
+# script again. Adapted from "libreoffice" template.
+post_fetch() {
+	local srcdistdir=${XBPS_SRCDISTDIR}/${pkgname}-${version} pkg
+	mkdir -p ${wrksrc}/src
+	for pkg in ${skip_extraction}; do
+		if [ "${pkg%.dll}" == "${pkg}" ]; then
+			ln -svf ${srcdistdir}/${pkg} ${wrksrc}/src
+		fi
+	done
+}
+
+pre_configure() {
+	# For cross builds
+	vsed -i -e 's/CC = /CC ?= /' -e 's/CFLAGS = /CFLAGS ?= /' -e 's/CXX = /CXX ?= /' -e 's/CXXFLAGS = /CXXFLAGS ?= /' Makefile
+	make deps
+}
+
+do_build() {
+	make ${makejobs}
+	make ${makejobs} curses
+}
+
+do_install() {
+	make PREFIX=/usr DESTDIR="${DESTDIR}" install
+	make curses PREFIX=/usr DESTDIR="${DESTDIR}" install
+
+	# Binaries in /usr/share/textadept are not allowed
+	# So we relocate to /usr/lib/textadept
+	mkdir -p "${DESTDIR}/usr/lib/"
+	mv "${DESTDIR}/usr/share/textadept" "${DESTDIR}/usr/lib/textadept"
+	ln -sf "/usr/lib/textadept/textadept" "${DESTDIR}/usr/bin/textadept"
+	ln -sf "/usr/lib/textadept/textadept-curses" "${DESTDIR}/usr/bin/textadept-curses"
+
+	# For icons
+	mkdir -p "${DESTDIR}/usr/share/pixmaps"
+	ln -s "/usr/lib/textadept/core/images/textadept.svg" "${DESTDIR}/usr/share/pixmaps/textadept.svg"
+	ln -s "/usr/lib/textadept/core/images/ta_48x48.png" \
+		"${DESTDIR}/usr/share/pixmaps/textadept.png"
+
+	# For license
+	cd ..
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: New package: textadept-10.6
  2019-10-19 18:53 [PR PATCH] New package: textadept-10.6 voidlinux-github
                   ` (8 preceding siblings ...)
  2019-11-06  3:20 ` voidlinux-github
@ 2019-11-06  4:31 ` voidlinux-github
  2020-05-18 20:21 ` Anachron
                   ` (25 subsequent siblings)
  35 siblings, 0 replies; 38+ messages in thread
From: voidlinux-github @ 2019-11-06  4:31 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1738 bytes --]

New comment by reback00 on void-packages repository

https://github.com/void-linux/void-packages/pull/15627#issuecomment-549231300

Comment:
Oops, sorry. I missed it. Removed the duplicates.

But there is another problem. Travis is randomly failing builds for some reason. I pushed exactly same code for these 2 builds, but different builds failed each time:

- [build 1](https://travis-ci.org/void-linux/void-packages/builds/606971378?utm_medium=notification&utm_source=github_status)
- [build 2](https://travis-ci.org/void-linux/void-packages/builds/606980546?utm_source=github_status&utm_medium=notification)

This seems like an issue on Travis' end. I checked the log and it's something like this:

```
...
=> textadept-10.6_1: installing host dependencies: autoconf-2.69_7 automake-1.16.1_2 libtool-2.4.6_4 wget-1.20.3_2 unzip-6.0_12 pkg-config-0.29.2_2 glib-devel-2.62.2_1 ncurses-6.1_4 ...
=> textadept-10.6_1: installing target dependencies: gtk+-devel-2.24.32_3 ncurses-devel-6.1_4 ...
No output has been received in the last 10m0s, this potentially indicates a stalled build or something wrong with the build itself.
Check the details on how to adjust your build configuration on: https://docs.travis-ci.com/user/common-build-problems/#build-times-out-because-no-output-was-received
The build has been terminated
```

I have checked some recent builds on other packages and they [also](https://travis-ci.org/void-linux/void-packages/jobs/606945262#L394) [have](https://travis-ci.org/void-linux/void-packages/jobs/606956851#L383) this problem.

**EDIT:** The issue has been [solved](https://github.com/void-linux/void-packages/issues/16111#issuecomment-550077885). Force pushed again and it passed just fine.

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: New package: textadept-10.6
  2019-10-19 18:53 [PR PATCH] New package: textadept-10.6 voidlinux-github
                   ` (9 preceding siblings ...)
  2019-11-06  4:31 ` voidlinux-github
@ 2020-05-18 20:21 ` Anachron
  2020-07-17  8:17 ` [PR PATCH] [Updated] " reback00
                   ` (24 subsequent siblings)
  35 siblings, 0 replies; 38+ messages in thread
From: Anachron @ 2020-05-18 20:21 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 183 bytes --]

New comment by Anachron on void-packages repository

https://github.com/void-linux/void-packages/pull/15627#issuecomment-630415002

Comment:
How is it going here? Can this be merged?

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [PR PATCH] [Updated] New package: textadept-10.6
  2019-10-19 18:53 [PR PATCH] New package: textadept-10.6 voidlinux-github
                   ` (10 preceding siblings ...)
  2020-05-18 20:21 ` Anachron
@ 2020-07-17  8:17 ` reback00
  2020-07-17  8:23 ` reback00
                   ` (23 subsequent siblings)
  35 siblings, 0 replies; 38+ messages in thread
From: reback00 @ 2020-07-17  8:17 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 805 bytes --]

There is an updated pull request by reback00 against master on the void-packages repository

https://github.com/reback00/void-packages textadept-resubmit-branch
https://github.com/void-linux/void-packages/pull/15627

New package: textadept-10.6
This is a resubmission of Textadept package. I [messed up](https://github.com/void-linux/void-packages/pull/15278#issuecomment-543545924) the old PR and it got closed automatically, so had to open a new one.

[Textadept](https://foicica.com/textadept/) is a very lightweight and fast text editor written in C. It is extensible with Lua. The project aims to keep the C code within 2000 lines but has standard functionalities of other text editors.
Hope it is useful.

A patch file from https://github.com/void-linux/void-packages/pull/15627.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-textadept-resubmit-branch-15627.patch --]
[-- Type: text/x-diff, Size: 2337 bytes --]

From e202f5b1ead25a44cacc44a2244df778f2b628fe Mon Sep 17 00:00:00 2001
From: reback00 <reback00@protonmail.com>
Date: Sun, 20 Oct 2019 00:45:15 +0600
Subject: [PATCH] New package: textadept-10.8

---
 srcpkgs/textadept/template | 52 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 52 insertions(+)
 create mode 100644 srcpkgs/textadept/template

diff --git a/srcpkgs/textadept/template b/srcpkgs/textadept/template
new file mode 100644
index 00000000000..5f3cdbda4ba
--- /dev/null
+++ b/srcpkgs/textadept/template
@@ -0,0 +1,52 @@
+# Template file for 'textadept'
+pkgname=textadept
+version=10.8
+revision=1
+wrksrc="textadept-textadept_${version}"
+build_wrksrc="src"
+hostmakedepends="autoconf automake libtool wget unzip pkg-config glib-devel ncurses"
+makedepends="gtk+-devel ncurses-devel"
+short_desc="Fast, minimalist, and extensible text editor for programmers"
+maintainer="reback00 <reback00@protonmail.com>"
+license="MIT"
+homepage="https://foicica.com/textadept/"
+distfiles="https://github.com/rgieseke/textadept/archive/textadept_${version}.tar.gz
+ https://foicica.com/textadept/download/textadept_${version}.modules.zip"
+checksum="33d5c2eb36c93f48af2fa9fe6ae81ab2592b95af2fbe4f45144cd5b6d8a34ce0
+ 2b2a94f43129ca81d67fde0b206fcd96e352b09a7f687833baa4ee8c5e46b32c"
+
+pre_configure() {
+	# For cross builds
+	vsed -i \
+		-e 's/CC = /CC ?= /' \
+		-e 's/CFLAGS = /CFLAGS ?= /' \
+		-e 's/CXX = /CXX ?= /' \
+		-e 's/CXXFLAGS = /CXXFLAGS ?= /' Makefile
+	make deps
+}
+
+do_build() {
+	make ${makejobs}
+	make ${makejobs} curses
+}
+
+do_install() {
+	make PREFIX=/usr DESTDIR="${DESTDIR}" install
+	make curses PREFIX=/usr DESTDIR="${DESTDIR}" install
+
+	# Binaries in /usr/share/textadept are not allowed
+	# So we relocate to /usr/lib/textadept
+	mkdir -p "${DESTDIR}/usr/lib/"
+	mv "${DESTDIR}/usr/share/textadept" "${DESTDIR}/usr/lib/textadept"
+	ln -sf "/usr/lib/textadept/textadept" "${DESTDIR}/usr/bin/textadept"
+	ln -sf "/usr/lib/textadept/textadept-curses" "${DESTDIR}/usr/bin/textadept-curses"
+
+	# For icons
+	mkdir -p "${DESTDIR}/usr/share/pixmaps"
+	ln -s "/usr/lib/textadept/core/images/textadept.svg" "${DESTDIR}/usr/share/pixmaps/textadept.svg"
+	ln -s "/usr/lib/textadept/core/images/ta_48x48.png" \
+		"${DESTDIR}/usr/share/pixmaps/textadept.png"
+
+	# For license
+	vlicense ../LICENSE
+}

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [PR PATCH] [Updated] New package: textadept-10.6
  2019-10-19 18:53 [PR PATCH] New package: textadept-10.6 voidlinux-github
                   ` (11 preceding siblings ...)
  2020-07-17  8:17 ` [PR PATCH] [Updated] " reback00
@ 2020-07-17  8:23 ` reback00
  2020-07-17  8:26 ` [PR REVIEW] " reback00
                   ` (22 subsequent siblings)
  35 siblings, 0 replies; 38+ messages in thread
From: reback00 @ 2020-07-17  8:23 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 805 bytes --]

There is an updated pull request by reback00 against master on the void-packages repository

https://github.com/reback00/void-packages textadept-resubmit-branch
https://github.com/void-linux/void-packages/pull/15627

New package: textadept-10.6
This is a resubmission of Textadept package. I [messed up](https://github.com/void-linux/void-packages/pull/15278#issuecomment-543545924) the old PR and it got closed automatically, so had to open a new one.

[Textadept](https://foicica.com/textadept/) is a very lightweight and fast text editor written in C. It is extensible with Lua. The project aims to keep the C code within 2000 lines but has standard functionalities of other text editors.
Hope it is useful.

A patch file from https://github.com/void-linux/void-packages/pull/15627.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-textadept-resubmit-branch-15627.patch --]
[-- Type: text/x-diff, Size: 2321 bytes --]

From cf1e4830a0234407a7fcfec38394640003fa7e35 Mon Sep 17 00:00:00 2001
From: reback00 <reback00@protonmail.com>
Date: Sun, 20 Oct 2019 00:45:15 +0600
Subject: [PATCH] New package: textadept-10.8

---
 srcpkgs/textadept/template | 51 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 51 insertions(+)
 create mode 100644 srcpkgs/textadept/template

diff --git a/srcpkgs/textadept/template b/srcpkgs/textadept/template
new file mode 100644
index 00000000000..491be18f591
--- /dev/null
+++ b/srcpkgs/textadept/template
@@ -0,0 +1,51 @@
+# Template file for 'textadept'
+pkgname=textadept
+version=10.8
+revision=1
+wrksrc="textadept-textadept_${version}"
+build_wrksrc="src"
+hostmakedepends="autoconf automake libtool wget unzip pkg-config glib-devel ncurses"
+makedepends="gtk+-devel ncurses-devel"
+short_desc="Fast, minimalist, and extensible text editor for programmers"
+maintainer="reback00 <reback00@protonmail.com>"
+license="MIT"
+homepage="https://foicica.com/textadept/"
+distfiles="https://github.com/rgieseke/textadept/archive/textadept_${version}.tar.gz
+ https://foicica.com/textadept/download/textadept_${version}.modules.zip"
+checksum="33d5c2eb36c93f48af2fa9fe6ae81ab2592b95af2fbe4f45144cd5b6d8a34ce0
+ 2b2a94f43129ca81d67fde0b206fcd96e352b09a7f687833baa4ee8c5e46b32c"
+
+pre_configure() {
+	# For cross builds
+	vsed -i \
+		-e 's/CC = /CC ?= /' \
+		-e 's/CFLAGS = /CFLAGS ?= /' \
+		-e 's/CXX = /CXX ?= /' \
+		-e 's/CXXFLAGS = /CXXFLAGS ?= /' Makefile
+	make deps
+}
+
+do_build() {
+	make ${makejobs}
+	make ${makejobs} curses
+}
+
+do_install() {
+	make PREFIX=/usr DESTDIR="${DESTDIR}" install
+	make curses PREFIX=/usr DESTDIR="${DESTDIR}" install
+
+	# Binaries in /usr/share/textadept are not allowed
+	# So we relocate to /usr/lib/textadept
+	mkdir -p "${DESTDIR}/usr/lib/"
+	mv "${DESTDIR}/usr/share/textadept" "${DESTDIR}/usr/lib/textadept"
+	ln -sf "/usr/lib/textadept/textadept" "${DESTDIR}/usr/bin/textadept"
+	ln -sf "/usr/lib/textadept/textadept-curses" "${DESTDIR}/usr/bin/textadept-curses"
+
+	# For icons
+	mkdir -p "${DESTDIR}/usr/share/pixmaps"
+	ln -s "/usr/lib/textadept/core/images/textadept.svg" "${DESTDIR}/usr/share/pixmaps/textadept.svg"
+	ln -s "/usr/lib/textadept/core/images/ta_48x48.png" \
+		"${DESTDIR}/usr/share/pixmaps/textadept.png"
+
+	vlicense ../LICENSE
+}

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [PR REVIEW] New package: textadept-10.6
  2019-10-19 18:53 [PR PATCH] New package: textadept-10.6 voidlinux-github
                   ` (12 preceding siblings ...)
  2020-07-17  8:23 ` reback00
@ 2020-07-17  8:26 ` reback00
  2020-07-17  8:26 ` reback00
                   ` (21 subsequent siblings)
  35 siblings, 0 replies; 38+ messages in thread
From: reback00 @ 2020-07-17  8:26 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 175 bytes --]

New review comment by reback00 on void-packages repository

https://github.com/void-linux/void-packages/pull/15627#discussion_r456296852

Comment:
Updated. (thanks to @domrc)

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [PR REVIEW] New package: textadept-10.6
  2019-10-19 18:53 [PR PATCH] New package: textadept-10.6 voidlinux-github
                   ` (13 preceding siblings ...)
  2020-07-17  8:26 ` [PR REVIEW] " reback00
@ 2020-07-17  8:26 ` reback00
  2020-07-17  8:26 ` reback00
                   ` (20 subsequent siblings)
  35 siblings, 0 replies; 38+ messages in thread
From: reback00 @ 2020-07-17  8:26 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 175 bytes --]

New review comment by reback00 on void-packages repository

https://github.com/void-linux/void-packages/pull/15627#discussion_r456296948

Comment:
Removed. (thanks to @domrc)

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [PR REVIEW] New package: textadept-10.6
  2019-10-19 18:53 [PR PATCH] New package: textadept-10.6 voidlinux-github
                   ` (14 preceding siblings ...)
  2020-07-17  8:26 ` reback00
@ 2020-07-17  8:26 ` reback00
  2020-07-17  8:26 ` reback00
                   ` (19 subsequent siblings)
  35 siblings, 0 replies; 38+ messages in thread
From: reback00 @ 2020-07-17  8:26 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 175 bytes --]

New review comment by reback00 on void-packages repository

https://github.com/void-linux/void-packages/pull/15627#discussion_r456297022

Comment:
Updated. (thanks to @domrc)

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [PR REVIEW] New package: textadept-10.6
  2019-10-19 18:53 [PR PATCH] New package: textadept-10.6 voidlinux-github
                   ` (15 preceding siblings ...)
  2020-07-17  8:26 ` reback00
@ 2020-07-17  8:26 ` reback00
  2020-07-17  8:41 ` New package: textadept-10.8 reback00
                   ` (18 subsequent siblings)
  35 siblings, 0 replies; 38+ messages in thread
From: reback00 @ 2020-07-17  8:26 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 175 bytes --]

New review comment by reback00 on void-packages repository

https://github.com/void-linux/void-packages/pull/15627#discussion_r456297110

Comment:
Updated. (thanks to @domrc)

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: New package: textadept-10.8
  2019-10-19 18:53 [PR PATCH] New package: textadept-10.6 voidlinux-github
                   ` (16 preceding siblings ...)
  2020-07-17  8:26 ` reback00
@ 2020-07-17  8:41 ` reback00
  2020-07-22 21:38 ` Chocimier
                   ` (17 subsequent siblings)
  35 siblings, 0 replies; 38+ messages in thread
From: reback00 @ 2020-07-17  8:41 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 804 bytes --]

New comment by reback00 on void-packages repository

https://github.com/void-linux/void-packages/pull/15627#issuecomment-659965132

Comment:
Oh! I thought you guys lost interest! Waited so many days for this to be reviewed/merged. Then forgot to check it. Thanks to @domrc for the PR. His PR implements modules.zip which makes updating the package so much easier. He has applied the changes requested, so I pushed changes here.

I use TA everyday too. A bit of a #shamelessplug, I use a [patched](https://notabug.org/reback00/ta-config/src/master/patches) version built from source combined with a [config](https://notabug.org/reback00/ta-config) I prepared. TA is a simple, but impressively extendable lightweight text editor that deserves a place in Void's repo.

Hope it gets merged soon. Cheers!

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: New package: textadept-10.8
  2019-10-19 18:53 [PR PATCH] New package: textadept-10.6 voidlinux-github
                   ` (17 preceding siblings ...)
  2020-07-17  8:41 ` New package: textadept-10.8 reback00
@ 2020-07-22 21:38 ` Chocimier
  2020-07-22 23:49 ` q66
                   ` (16 subsequent siblings)
  35 siblings, 0 replies; 38+ messages in thread
From: Chocimier @ 2020-07-22 21:38 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 266 bytes --]

New comment by Chocimier on void-packages repository

https://github.com/void-linux/void-packages/pull/15627#issuecomment-662710748

Comment:
- textadept_${version}.modules.zip is not used at all.
- Scintilla, lua et al. are downloaded during configure again.

?

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: New package: textadept-10.8
  2019-10-19 18:53 [PR PATCH] New package: textadept-10.6 voidlinux-github
                   ` (18 preceding siblings ...)
  2020-07-22 21:38 ` Chocimier
@ 2020-07-22 23:49 ` q66
  2020-07-26 11:27 ` reback00
                   ` (15 subsequent siblings)
  35 siblings, 0 replies; 38+ messages in thread
From: q66 @ 2020-07-22 23:49 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 218 bytes --]

New comment by q66 on void-packages repository

https://github.com/void-linux/void-packages/pull/15627#issuecomment-662753233

Comment:
didn't get to this yet, sorry - was busy - should have time later this week maybe

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: New package: textadept-10.8
  2019-10-19 18:53 [PR PATCH] New package: textadept-10.6 voidlinux-github
                   ` (19 preceding siblings ...)
  2020-07-22 23:49 ` q66
@ 2020-07-26 11:27 ` reback00
  2020-07-26 11:27 ` reback00
                   ` (14 subsequent siblings)
  35 siblings, 0 replies; 38+ messages in thread
From: reback00 @ 2020-07-26 11:27 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2761 bytes --]

New comment by reback00 on void-packages repository

https://github.com/void-linux/void-packages/pull/15627#issuecomment-663976169

Comment:
> textadept_${version}.modules.zip is not used at all.

@domrc Can you please check this issue? I think modules.zip does not carry the dependencies. But your commit had dependencies removed. It seems they're just some "plugins" for TA on the zip. I think we cannot remove the dep files and add modules.zip instead of them, [because](https://github.com/void-linux/void-packages/pull/15627#issuecomment-549018252):

> Ideally, deps should be added to distfiles for caching...

The idea behind listing them is that there are some dependencies downloaded during build process. We want them to not download when they are already downloaded. Except for some deps that has `/hg/`on their urls. They can't be downloaded through xbps, so we skipped them.

I was thinking if I should add a comment explaining this to future contributors are aware of this:
```
# Note: The dependency file versions must be checked and updated manually for
# distfiles and skip_extraction variables on every new release (and checksums
# updated accordingly). This is so that xbps can use caching for them. Details:
# https://github.com/void-linux/void-packages/pull/15627#issuecomment-549018252
```

Another question, is the modules.zip official? Are they reliable? (Just asking, because I haven't used them.)

> Scintilla, lua et al. are downloaded during configure again.

Yes. I can confirm it's happening. This happens even when I list the deps (tested locally):

```
distfiles="https://github.com/rgieseke/textadept/archive/textadept_${version}.tar.gz
 http://www.lua.org/ftp/lua-5.3.5.tar.gz
 http://www.inf.puc-rio.br/~roberto/lpeg/lpeg-1.0.2.tar.gz
 http://github.com/keplerproject/luafilesystem/archive/v1_7_0_2.zip
 http://invisible-mirror.net/archives/cdk/cdk-5.0-20150928.tgz
 http://www.leonerd.org.uk/code/libtermkey/libtermkey-0.20.tar.gz
 https://foicica.com/textadept/download/textadept_${version}.modules.zip"
checksum="33d5c2eb36c93f48af2fa9fe6ae81ab2592b95af2fbe4f45144cd5b6d8a34ce0
 0c2eed3f960446e1a3e4b9a1ca2f3ff893b6ce41942cf54d5dd59ab4b3b058ac
 48d66576051b6c78388faad09b70493093264588fcd0f258ddaab1cdd4a15ffe
 9174ab891f1d392b42a587b2afb737f9565ecf8a860d2e5a2bff457858f58478
 028da75d5f777a1c4184f88e34918bd273bd83bbe3c959bc11710c4f0ea2e448
 6c0d87c94ab9915e76ecd313baec08dedf3bd56de83743d9aa923a081935d2f5
 2b2a94f43129ca81d67fde0b206fcd96e352b09a7f687833baa4ee8c5e46b32c"
skip_extraction="
 lua-5.3.5.tar.gz
 lpeg-1.0.2.tar.gz
 v1_7_0_2.zip
 cdk-5.0-20150928.tgz
 libtermkey-0.20.tar.gz
"
```

I can look into this when I get time, but any help from you guys is appreciated.

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: New package: textadept-10.8
  2019-10-19 18:53 [PR PATCH] New package: textadept-10.6 voidlinux-github
                   ` (20 preceding siblings ...)
  2020-07-26 11:27 ` reback00
@ 2020-07-26 11:27 ` reback00
  2020-07-26 11:28 ` reback00
                   ` (13 subsequent siblings)
  35 siblings, 0 replies; 38+ messages in thread
From: reback00 @ 2020-07-26 11:27 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2773 bytes --]

New comment by reback00 on void-packages repository

https://github.com/void-linux/void-packages/pull/15627#issuecomment-663976169

Comment:
> textadept_${version}.modules.zip is not used at all.

@domrc Can you please check this issue? I think modules.zip does not carry the dependencies. But your commit had dependencies removed. It seems they're just some "plugins" for TA on the zip. I think we cannot remove the dep files and add modules.zip instead of them, [because](https://github.com/void-linux/void-packages/pull/15627#issuecomment-549018252):

> Ideally, deps should be added to distfiles for caching...

The idea behind listing them is that there are some dependencies downloaded during build process. We want them to not download when they are already downloaded. Except for some deps that has `/hg/`on their urls. They can't be downloaded through xbps, so we skipped them.

I was thinking if I should add a comment explaining this to future contributors so that they're aware of this:
```
# Note: The dependency file versions must be checked and updated manually for
# distfiles and skip_extraction variables on every new release (and checksums
# updated accordingly). This is so that xbps can use caching for them. Details:
# https://github.com/void-linux/void-packages/pull/15627#issuecomment-549018252
```

Another question, is the modules.zip official? Are they reliable? (Just asking, because I haven't used them.)

> Scintilla, lua et al. are downloaded during configure again.

Yes. I can confirm it's happening. This happens even when I list the deps (tested locally):

```
distfiles="https://github.com/rgieseke/textadept/archive/textadept_${version}.tar.gz
 http://www.lua.org/ftp/lua-5.3.5.tar.gz
 http://www.inf.puc-rio.br/~roberto/lpeg/lpeg-1.0.2.tar.gz
 http://github.com/keplerproject/luafilesystem/archive/v1_7_0_2.zip
 http://invisible-mirror.net/archives/cdk/cdk-5.0-20150928.tgz
 http://www.leonerd.org.uk/code/libtermkey/libtermkey-0.20.tar.gz
 https://foicica.com/textadept/download/textadept_${version}.modules.zip"
checksum="33d5c2eb36c93f48af2fa9fe6ae81ab2592b95af2fbe4f45144cd5b6d8a34ce0
 0c2eed3f960446e1a3e4b9a1ca2f3ff893b6ce41942cf54d5dd59ab4b3b058ac
 48d66576051b6c78388faad09b70493093264588fcd0f258ddaab1cdd4a15ffe
 9174ab891f1d392b42a587b2afb737f9565ecf8a860d2e5a2bff457858f58478
 028da75d5f777a1c4184f88e34918bd273bd83bbe3c959bc11710c4f0ea2e448
 6c0d87c94ab9915e76ecd313baec08dedf3bd56de83743d9aa923a081935d2f5
 2b2a94f43129ca81d67fde0b206fcd96e352b09a7f687833baa4ee8c5e46b32c"
skip_extraction="
 lua-5.3.5.tar.gz
 lpeg-1.0.2.tar.gz
 v1_7_0_2.zip
 cdk-5.0-20150928.tgz
 libtermkey-0.20.tar.gz
"
```

I can look into this when I get time, but any help from you guys is appreciated.

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: New package: textadept-10.8
  2019-10-19 18:53 [PR PATCH] New package: textadept-10.6 voidlinux-github
                   ` (21 preceding siblings ...)
  2020-07-26 11:27 ` reback00
@ 2020-07-26 11:28 ` reback00
  2020-07-26 11:47 ` q66
                   ` (12 subsequent siblings)
  35 siblings, 0 replies; 38+ messages in thread
From: reback00 @ 2020-07-26 11:28 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2776 bytes --]

New comment by reback00 on void-packages repository

https://github.com/void-linux/void-packages/pull/15627#issuecomment-663976169

Comment:
> textadept_${version}.modules.zip is not used at all.

@domrc Can you please check this issue? I think modules.zip does not carry the dependencies. But your commit had dependencies removed. It seems they're just some "plugins" for TA on the zip. I think we cannot remove the dep files and add modules.zip instead of them, [because](https://github.com/void-linux/void-packages/pull/15627#issuecomment-549018252):

> Ideally, deps should be added to distfiles for caching...

The idea behind listing them is that there are some dependencies downloaded during build process. We want them to not download when they are already downloaded. Except for some deps that has `/hg/`on their urls. They can't be downloaded through xbps, so we skipped them.

I was thinking if I should add a comment explaining this to future contributors so that they're aware of this:
```
# Note: The dependency file versions must be checked and updated manually for
# distfiles and skip_extraction variables on every new release (and checksums
# updated accordingly). This is so that xbps can use caching for them. Details:
# https://github.com/void-linux/void-packages/pull/15627#issuecomment-549018252
```

Another question, is the modules.zip official? Are they reliable? (Just asking, because I haven't used them.)

> Scintilla, lua et al. are downloaded during configure again.

Yes. I can confirm this issue exists. This happens even when I list the deps (tested locally):

```
distfiles="https://github.com/rgieseke/textadept/archive/textadept_${version}.tar.gz
 http://www.lua.org/ftp/lua-5.3.5.tar.gz
 http://www.inf.puc-rio.br/~roberto/lpeg/lpeg-1.0.2.tar.gz
 http://github.com/keplerproject/luafilesystem/archive/v1_7_0_2.zip
 http://invisible-mirror.net/archives/cdk/cdk-5.0-20150928.tgz
 http://www.leonerd.org.uk/code/libtermkey/libtermkey-0.20.tar.gz
 https://foicica.com/textadept/download/textadept_${version}.modules.zip"
checksum="33d5c2eb36c93f48af2fa9fe6ae81ab2592b95af2fbe4f45144cd5b6d8a34ce0
 0c2eed3f960446e1a3e4b9a1ca2f3ff893b6ce41942cf54d5dd59ab4b3b058ac
 48d66576051b6c78388faad09b70493093264588fcd0f258ddaab1cdd4a15ffe
 9174ab891f1d392b42a587b2afb737f9565ecf8a860d2e5a2bff457858f58478
 028da75d5f777a1c4184f88e34918bd273bd83bbe3c959bc11710c4f0ea2e448
 6c0d87c94ab9915e76ecd313baec08dedf3bd56de83743d9aa923a081935d2f5
 2b2a94f43129ca81d67fde0b206fcd96e352b09a7f687833baa4ee8c5e46b32c"
skip_extraction="
 lua-5.3.5.tar.gz
 lpeg-1.0.2.tar.gz
 v1_7_0_2.zip
 cdk-5.0-20150928.tgz
 libtermkey-0.20.tar.gz
"
```

I can look into this when I get time, but any help from you guys is appreciated.

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: New package: textadept-10.8
  2019-10-19 18:53 [PR PATCH] New package: textadept-10.6 voidlinux-github
                   ` (22 preceding siblings ...)
  2020-07-26 11:28 ` reback00
@ 2020-07-26 11:47 ` q66
  2020-07-26 14:18 ` reback00
                   ` (11 subsequent siblings)
  35 siblings, 0 replies; 38+ messages in thread
From: q66 @ 2020-07-26 11:47 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 310 bytes --]

New comment by q66 on void-packages repository

https://github.com/void-linux/void-packages/pull/15627#issuecomment-663978080

Comment:
we don't need the modules distfile, also i looked into making it use system deps but without luck as they tend to be patched (can't even use system lua because it's patched)

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: New package: textadept-10.8
  2019-10-19 18:53 [PR PATCH] New package: textadept-10.6 voidlinux-github
                   ` (23 preceding siblings ...)
  2020-07-26 11:47 ` q66
@ 2020-07-26 14:18 ` reback00
  2020-07-26 14:23 ` reback00
                   ` (10 subsequent siblings)
  35 siblings, 0 replies; 38+ messages in thread
From: reback00 @ 2020-07-26 14:18 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2185 bytes --]

New comment by reback00 on void-packages repository

https://github.com/void-linux/void-packages/pull/15627#issuecomment-663993671

Comment:
I found out what's the issue. The deps are downloaded just fine. But they are not copied to `src` (under build dir). If they are put there before the `make` calls, it will take those files and proceed. So we'd have to manually copy them to src:

```
post_extract() {
	echo "${skip_extraction}" | while read archive ; do
		if [ -f "${XBPS_SRCDISTDIR}/${sourcepkg}-${version}/${archive}" ]; then
			cp "${XBPS_SRCDISTDIR}/${sourcepkg}-${version}/${archive}" \
				"${wrksrc}/${build_wrksrc}/"
		fi
	done
}
```

I also did some testing. It seems xbps is now able to download from `/hg/` urls. So we can now have 100% files cached:

```
distfiles="https://github.com/rgieseke/textadept/archive/textadept_${version}.tar.gz
 http://foicica.com/hg/scintilla/archive/99fa62b828ee.zip
 http://foicica.com/hg/gtdialog/archive/db67f8a489e8.zip
 https://foicica.com/hg/bombay/archive/tip.zip>bombay.zip
 http://www.lua.org/ftp/lua-5.3.5.tar.gz
 http://www.inf.puc-rio.br/~roberto/lpeg/lpeg-1.0.2.tar.gz
 http://github.com/keplerproject/luafilesystem/archive/v1_7_0_2.zip
 http://invisible-mirror.net/archives/cdk/cdk-5.0-20150928.tgz
 http://www.leonerd.org.uk/code/libtermkey/libtermkey-0.20.tar.gz
 https://foicica.com/textadept/download/textadept_${version}.modules.zip"
checksum="..."
skip_extraction="
 99fa62b828ee.zip
 db67f8a489e8.zip
 bombay.zip
 lua-5.3.5.tar.gz
 lpeg-1.0.2.tar.gz
 v1_7_0_2.zip
 cdk-5.0-20150928.tgz
 libtermkey-0.20.tar.gz
"
```

> * textadept_${version}.modules.zip is not used at all.
> * Scintilla, lua et al. are downloaded during configure again.

So the second issue should be solved. I have these applied in a version [here](https://notabug.org/reback00/void-goodies/src/master/srcpkgs/textadept) if anyone's interested. I'll push an update once we figure out modules.zip

So, what can we do with modules.zip. It's optional and it's just plugins. Should we discard it completely? Should we create another package for it, like `textadept-modules` (similar to `geany-plugins`)?

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: New package: textadept-10.8
  2019-10-19 18:53 [PR PATCH] New package: textadept-10.6 voidlinux-github
                   ` (24 preceding siblings ...)
  2020-07-26 14:18 ` reback00
@ 2020-07-26 14:23 ` reback00
  2020-08-11 16:18 ` [PR PATCH] [Updated] " reback00
                   ` (9 subsequent siblings)
  35 siblings, 0 replies; 38+ messages in thread
From: reback00 @ 2020-07-26 14:23 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2261 bytes --]

New comment by reback00 on void-packages repository

https://github.com/void-linux/void-packages/pull/15627#issuecomment-663993671

Comment:
I found out what's the issue. The deps are downloaded just fine. But they are not copied to `src` (under build dir). If they are put there before the `make` calls, it will take those files and proceed. So we'd have to manually copy them to src:

```
post_extract() {
	echo "${skip_extraction}" | while read archive ; do
		if [ -f "${XBPS_SRCDISTDIR}/${sourcepkg}-${version}/${archive}" ]; then
			cp "${XBPS_SRCDISTDIR}/${sourcepkg}-${version}/${archive}" \
				"${wrksrc}/${build_wrksrc}/"
		fi
	done
}
```

I also did some testing. It seems xbps is now able to download from `/hg/` urls. So we can now have 100% files cached:

```
distfiles="https://github.com/rgieseke/textadept/archive/textadept_${version}.tar.gz
 http://foicica.com/hg/scintilla/archive/99fa62b828ee.zip
 http://foicica.com/hg/gtdialog/archive/db67f8a489e8.zip
 https://foicica.com/hg/bombay/archive/tip.zip>bombay.zip
 http://www.lua.org/ftp/lua-5.3.5.tar.gz
 http://www.inf.puc-rio.br/~roberto/lpeg/lpeg-1.0.2.tar.gz
 http://github.com/keplerproject/luafilesystem/archive/v1_7_0_2.zip
 http://invisible-mirror.net/archives/cdk/cdk-5.0-20150928.tgz
 http://www.leonerd.org.uk/code/libtermkey/libtermkey-0.20.tar.gz
 https://foicica.com/textadept/download/textadept_${version}.modules.zip"
checksum="..."
skip_extraction="
 99fa62b828ee.zip
 db67f8a489e8.zip
 bombay.zip
 lua-5.3.5.tar.gz
 lpeg-1.0.2.tar.gz
 v1_7_0_2.zip
 cdk-5.0-20150928.tgz
 libtermkey-0.20.tar.gz
"
```

> * textadept_${version}.modules.zip is not used at all.
> * Scintilla, lua et al. are downloaded during configure again.

So the second issue should be solved. I have these applied in a version [here](https://notabug.org/reback00/void-goodies/src/master/srcpkgs/textadept) if anyone's interested. I'll push an update once we figure out modules.zip

So, what can we do with modules.zip. It's optional and it's just plugins. Should we discard it completely? Should we create another package for it, like `textadept-modules` (similar to `geany-plugins`)? EDIT: Can we/should we create a subpackage in the template for the modules?

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [PR PATCH] [Updated] New package: textadept-10.8
  2019-10-19 18:53 [PR PATCH] New package: textadept-10.6 voidlinux-github
                   ` (25 preceding siblings ...)
  2020-07-26 14:23 ` reback00
@ 2020-08-11 16:18 ` reback00
  2020-08-11 16:57 ` reback00
                   ` (8 subsequent siblings)
  35 siblings, 0 replies; 38+ messages in thread
From: reback00 @ 2020-08-11 16:18 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 831 bytes --]

There is an updated pull request by reback00 against master on the void-packages repository

https://github.com/reback00/void-packages textadept-resubmit-branch
https://github.com/void-linux/void-packages/pull/15627

New package: textadept-10.8
This is a resubmission of Textadept package. I [messed up](https://github.com/void-linux/void-packages/pull/15278#issuecomment-543545924) the old PR and it got closed automatically, so had to open a new one.

[Textadept](https://foicica.com/textadept/) is a very lightweight and fast text editor written in C. It is extensible with Lua. The project aims to keep the C code within 2000 lines but has standard functionalities of other text editors.
Hope it is useful.

EDIT: Updated for 10.8

A patch file from https://github.com/void-linux/void-packages/pull/15627.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-textadept-resubmit-branch-15627.patch --]
[-- Type: text/x-diff, Size: 4117 bytes --]

From 24c956494a6334fc2576b0615cda86426e5fd74e Mon Sep 17 00:00:00 2001
From: reback00 <reback00@protonmail.com>
Date: Sun, 20 Oct 2019 00:45:15 +0600
Subject: [PATCH] New package: textadept-10.8

---
 srcpkgs/textadept/template | 92 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 92 insertions(+)
 create mode 100644 srcpkgs/textadept/template

diff --git a/srcpkgs/textadept/template b/srcpkgs/textadept/template
new file mode 100644
index 00000000000..17b8cde26fc
--- /dev/null
+++ b/srcpkgs/textadept/template
@@ -0,0 +1,92 @@
+# Template file for 'textadept'
+pkgname=textadept
+version=10.8
+revision=1
+wrksrc="textadept-textadept_${version}"
+build_wrksrc="src"
+hostmakedepends="autoconf automake libtool wget unzip pkg-config glib-devel ncurses"
+makedepends="gtk+-devel ncurses-devel"
+short_desc="Fast, minimalist, and extensible text editor for programmers"
+maintainer="reback00 <reback00@protonmail.com>"
+license="MIT"
+homepage="https://foicica.com/textadept/"
+# Note: The dependency urls and filenames must be checked and updated manually
+# for distfiles and skip_extraction variables on every new release (and
+# checksums updated accordingly). This is so that XBPS can cache them. Details:
+# https://github.com/void-linux/void-packages/pull/15627#issuecomment-549018252
+distfiles="https://github.com/rgieseke/textadept/archive/textadept_${version}.tar.gz
+ http://foicica.com/hg/scintilla/archive/99fa62b828ee.zip
+ http://www.lua.org/ftp/lua-5.3.5.tar.gz
+ http://www.inf.puc-rio.br/~roberto/lpeg/lpeg-1.0.2.tar.gz
+ http://github.com/keplerproject/luafilesystem/archive/v1_7_0_2.zip
+ http://foicica.com/hg/gtdialog/archive/db67f8a489e8.zip
+ http://invisible-mirror.net/archives/cdk/cdk-5.0-20150928.tgz
+ https://foicica.com/hg/bombay/archive/tip.zip>bombay.zip
+ http://www.leonerd.org.uk/code/libtermkey/libtermkey-0.20.tar.gz"
+checksum="33d5c2eb36c93f48af2fa9fe6ae81ab2592b95af2fbe4f45144cd5b6d8a34ce0
+ 40ee221a1c7bd827c1d7fd0fa7f41a6fddaa9bdf15667fc492b1d91a77681d57
+ 0c2eed3f960446e1a3e4b9a1ca2f3ff893b6ce41942cf54d5dd59ab4b3b058ac
+ 48d66576051b6c78388faad09b70493093264588fcd0f258ddaab1cdd4a15ffe
+ 9174ab891f1d392b42a587b2afb737f9565ecf8a860d2e5a2bff457858f58478
+ 508be36c3ae0de3cb3eeddad9b8cb5cf31ff4c6e8aa9acf72c4e72d94e8e1ee3
+ 028da75d5f777a1c4184f88e34918bd273bd83bbe3c959bc11710c4f0ea2e448
+ 4d1ae87bc817302127b250a5968bd05d3f1599e2b9eb785f339698db0bb9294f
+ 6c0d87c94ab9915e76ecd313baec08dedf3bd56de83743d9aa923a081935d2f5"
+skip_extraction="
+ 99fa62b828ee.zip
+ lua-5.3.5.tar.gz
+ lpeg-1.0.2.tar.gz
+ v1_7_0_2.zip
+ db67f8a489e8.zip
+ cdk-5.0-20150928.tgz
+ bombay.zip
+ libtermkey-0.20.tar.gz
+"
+
+post_extract() {
+	# We copy the downloaded dep files to src directory so that they are found
+	# and not downloaded again by the build process. This helps to utilize caching.
+	echo "${skip_extraction}" | while read archive ; do
+		if [ -f "${XBPS_SRCDISTDIR}/${sourcepkg}-${version}/${archive}" ]; then
+			cp "${XBPS_SRCDISTDIR}/${sourcepkg}-${version}/${archive}" \
+				"${wrksrc}/${build_wrksrc}/"
+		fi
+	done
+}
+
+pre_configure() {
+	# For cross builds
+	vsed -i \
+		-e 's/CC = /CC ?= /' \
+		-e 's/CFLAGS = /CFLAGS ?= /' \
+		-e 's/CXX = /CXX ?= /' \
+		-e 's/CXXFLAGS = /CXXFLAGS ?= /' Makefile
+	make deps
+}
+
+do_build() {
+	make ${makejobs}
+	make ${makejobs} curses
+}
+
+do_install() {
+	make PREFIX=/usr DESTDIR="${DESTDIR}" install
+	make curses PREFIX=/usr DESTDIR="${DESTDIR}" install
+
+	# Binaries in /usr/share/textadept are not allowed
+	# So we relocate to /usr/lib/textadept
+	mkdir -p "${DESTDIR}/usr/lib/"
+	mv "${DESTDIR}/usr/share/textadept" "${DESTDIR}/usr/lib/textadept"
+	ln -sf "/usr/lib/textadept/textadept" "${DESTDIR}/usr/bin/textadept"
+	ln -sf "/usr/lib/textadept/textadept-curses" \
+		"${DESTDIR}/usr/bin/textadept-curses"
+
+	# For icons
+	mkdir -p "${DESTDIR}/usr/share/pixmaps"
+	ln -s "/usr/lib/textadept/core/images/textadept.svg" \
+		"${DESTDIR}/usr/share/pixmaps/textadept.svg"
+	ln -s "/usr/lib/textadept/core/images/ta_48x48.png" \
+		"${DESTDIR}/usr/share/pixmaps/textadept.png"
+
+	vlicense ../LICENSE
+}

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: New package: textadept-10.8
  2019-10-19 18:53 [PR PATCH] New package: textadept-10.6 voidlinux-github
                   ` (26 preceding siblings ...)
  2020-08-11 16:18 ` [PR PATCH] [Updated] " reback00
@ 2020-08-11 16:57 ` reback00
  2020-08-11 17:04 ` reback00
                   ` (7 subsequent siblings)
  35 siblings, 0 replies; 38+ messages in thread
From: reback00 @ 2020-08-11 16:57 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 491 bytes --]

New comment by reback00 on void-packages repository

https://github.com/void-linux/void-packages/pull/15627#issuecomment-672090666

Comment:
> textadept_${version}.modules.zip is not used at all.
Pushed the change. Got rid of modules zip altogether, applied [changes](https://github.com/void-linux/void-packages/pull/15627#issuecomment-663993671) so that 100% of the deps are cached. So this should be solved too:
> Scintilla, lua et al. are downloaded during configure again.
@Chocimier

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: New package: textadept-10.8
  2019-10-19 18:53 [PR PATCH] New package: textadept-10.6 voidlinux-github
                   ` (27 preceding siblings ...)
  2020-08-11 16:57 ` reback00
@ 2020-08-11 17:04 ` reback00
  2020-08-11 19:44 ` q66
                   ` (6 subsequent siblings)
  35 siblings, 0 replies; 38+ messages in thread
From: reback00 @ 2020-08-11 17:04 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 495 bytes --]

New comment by reback00 on void-packages repository

https://github.com/void-linux/void-packages/pull/15627#issuecomment-672090666

Comment:
> textadept_${version}.modules.zip is not used at all.

Pushed the change. Got rid of modules zip altogether, applied [changes](https://github.com/void-linux/void-packages/pull/15627#issuecomment-663993671) so that 100% of the deps are cached. So this should be solved too:

> Scintilla, lua et al. are downloaded during configure again.
@Chocimier

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: New package: textadept-10.8
  2019-10-19 18:53 [PR PATCH] New package: textadept-10.6 voidlinux-github
                   ` (28 preceding siblings ...)
  2020-08-11 17:04 ` reback00
@ 2020-08-11 19:44 ` q66
  2020-08-11 19:45 ` q66
                   ` (5 subsequent siblings)
  35 siblings, 0 replies; 38+ messages in thread
From: q66 @ 2020-08-11 19:44 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 233 bytes --]

New comment by q66 on void-packages repository

https://github.com/void-linux/void-packages/pull/15627#issuecomment-672233129

Comment:
make it use gtk3 (change `makedepends` appropriately and then set `GTK3=1` in `make_build_args`)

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: New package: textadept-10.8
  2019-10-19 18:53 [PR PATCH] New package: textadept-10.6 voidlinux-github
                   ` (29 preceding siblings ...)
  2020-08-11 19:44 ` q66
@ 2020-08-11 19:45 ` q66
  2020-08-12 16:29 ` [PR PATCH] [Updated] " reback00
                   ` (4 subsequent siblings)
  35 siblings, 0 replies; 38+ messages in thread
From: q66 @ 2020-08-11 19:45 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 244 bytes --]

New comment by q66 on void-packages repository

https://github.com/void-linux/void-packages/pull/15627#issuecomment-672233129

Comment:
make it use gtk3 (change `makedepends` appropriately and then set `GTK3=1` in `do_build` in make arguments)

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [PR PATCH] [Updated] New package: textadept-10.8
  2019-10-19 18:53 [PR PATCH] New package: textadept-10.6 voidlinux-github
                   ` (30 preceding siblings ...)
  2020-08-11 19:45 ` q66
@ 2020-08-12 16:29 ` reback00
  2020-08-12 17:38 ` reback00
                   ` (3 subsequent siblings)
  35 siblings, 0 replies; 38+ messages in thread
From: reback00 @ 2020-08-12 16:29 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 831 bytes --]

There is an updated pull request by reback00 against master on the void-packages repository

https://github.com/reback00/void-packages textadept-resubmit-branch
https://github.com/void-linux/void-packages/pull/15627

New package: textadept-10.8
This is a resubmission of Textadept package. I [messed up](https://github.com/void-linux/void-packages/pull/15278#issuecomment-543545924) the old PR and it got closed automatically, so had to open a new one.

[Textadept](https://foicica.com/textadept/) is a very lightweight and fast text editor written in C. It is extensible with Lua. The project aims to keep the C code within 2000 lines but has standard functionalities of other text editors.
Hope it is useful.

EDIT: Updated for 10.8

A patch file from https://github.com/void-linux/void-packages/pull/15627.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-textadept-resubmit-branch-15627.patch --]
[-- Type: text/x-diff, Size: 4125 bytes --]

From 01d47c9f18263d16285b52810bc9b699cb1264ad Mon Sep 17 00:00:00 2001
From: reback00 <reback00@protonmail.com>
Date: Sun, 20 Oct 2019 00:45:15 +0600
Subject: [PATCH] New package: textadept-10.8

---
 srcpkgs/textadept/template | 92 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 92 insertions(+)
 create mode 100644 srcpkgs/textadept/template

diff --git a/srcpkgs/textadept/template b/srcpkgs/textadept/template
new file mode 100644
index 00000000000..238589ba5e8
--- /dev/null
+++ b/srcpkgs/textadept/template
@@ -0,0 +1,92 @@
+# Template file for 'textadept'
+pkgname=textadept
+version=10.8
+revision=1
+wrksrc="textadept-textadept_${version}"
+build_wrksrc="src"
+hostmakedepends="autoconf automake libtool wget unzip pkg-config glib-devel ncurses"
+makedepends="gtk+3-devel ncurses-devel"
+short_desc="Fast, minimalist, and extensible text editor for programmers"
+maintainer="reback00 <reback00@protonmail.com>"
+license="MIT"
+homepage="https://foicica.com/textadept/"
+# Note: The dependency urls and filenames must be checked and updated manually
+# for distfiles and skip_extraction variables on every new release (and
+# checksums updated accordingly). This is so that XBPS can cache them. Details:
+# https://github.com/void-linux/void-packages/pull/15627#issuecomment-549018252
+distfiles="https://github.com/rgieseke/textadept/archive/textadept_${version}.tar.gz
+ http://foicica.com/hg/scintilla/archive/99fa62b828ee.zip
+ http://www.lua.org/ftp/lua-5.3.5.tar.gz
+ http://www.inf.puc-rio.br/~roberto/lpeg/lpeg-1.0.2.tar.gz
+ http://github.com/keplerproject/luafilesystem/archive/v1_7_0_2.zip
+ http://foicica.com/hg/gtdialog/archive/db67f8a489e8.zip
+ http://invisible-mirror.net/archives/cdk/cdk-5.0-20150928.tgz
+ https://foicica.com/hg/bombay/archive/tip.zip>bombay.zip
+ http://www.leonerd.org.uk/code/libtermkey/libtermkey-0.20.tar.gz"
+checksum="33d5c2eb36c93f48af2fa9fe6ae81ab2592b95af2fbe4f45144cd5b6d8a34ce0
+ 40ee221a1c7bd827c1d7fd0fa7f41a6fddaa9bdf15667fc492b1d91a77681d57
+ 0c2eed3f960446e1a3e4b9a1ca2f3ff893b6ce41942cf54d5dd59ab4b3b058ac
+ 48d66576051b6c78388faad09b70493093264588fcd0f258ddaab1cdd4a15ffe
+ 9174ab891f1d392b42a587b2afb737f9565ecf8a860d2e5a2bff457858f58478
+ 508be36c3ae0de3cb3eeddad9b8cb5cf31ff4c6e8aa9acf72c4e72d94e8e1ee3
+ 028da75d5f777a1c4184f88e34918bd273bd83bbe3c959bc11710c4f0ea2e448
+ 4d1ae87bc817302127b250a5968bd05d3f1599e2b9eb785f339698db0bb9294f
+ 6c0d87c94ab9915e76ecd313baec08dedf3bd56de83743d9aa923a081935d2f5"
+skip_extraction="
+ 99fa62b828ee.zip
+ lua-5.3.5.tar.gz
+ lpeg-1.0.2.tar.gz
+ v1_7_0_2.zip
+ db67f8a489e8.zip
+ cdk-5.0-20150928.tgz
+ bombay.zip
+ libtermkey-0.20.tar.gz
+"
+
+post_extract() {
+	# We copy the downloaded dep files to src directory so that they are found
+	# and not downloaded again by the build process. This helps to utilize caching.
+	echo "${skip_extraction}" | while read archive ; do
+		if [ -f "${XBPS_SRCDISTDIR}/${sourcepkg}-${version}/${archive}" ]; then
+			cp "${XBPS_SRCDISTDIR}/${sourcepkg}-${version}/${archive}" \
+				"${wrksrc}/${build_wrksrc}/"
+		fi
+	done
+}
+
+pre_configure() {
+	# For cross builds
+	vsed -i \
+		-e 's/CC = /CC ?= /' \
+		-e 's/CFLAGS = /CFLAGS ?= /' \
+		-e 's/CXX = /CXX ?= /' \
+		-e 's/CXXFLAGS = /CXXFLAGS ?= /' Makefile
+	make deps
+}
+
+do_build() {
+	make ${makejobs} GTK3=1
+	make ${makejobs} curses
+}
+
+do_install() {
+	make PREFIX=/usr DESTDIR="${DESTDIR}" install
+	make curses PREFIX=/usr DESTDIR="${DESTDIR}" install
+
+	# Binaries in /usr/share/textadept are not allowed
+	# So we relocate to /usr/lib/textadept
+	mkdir -p "${DESTDIR}/usr/lib/"
+	mv "${DESTDIR}/usr/share/textadept" "${DESTDIR}/usr/lib/textadept"
+	ln -sf "/usr/lib/textadept/textadept" "${DESTDIR}/usr/bin/textadept"
+	ln -sf "/usr/lib/textadept/textadept-curses" \
+		"${DESTDIR}/usr/bin/textadept-curses"
+
+	# For icons
+	mkdir -p "${DESTDIR}/usr/share/pixmaps"
+	ln -s "/usr/lib/textadept/core/images/textadept.svg" \
+		"${DESTDIR}/usr/share/pixmaps/textadept.svg"
+	ln -s "/usr/lib/textadept/core/images/ta_48x48.png" \
+		"${DESTDIR}/usr/share/pixmaps/textadept.png"
+
+	vlicense ../LICENSE
+}

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: New package: textadept-10.8
  2019-10-19 18:53 [PR PATCH] New package: textadept-10.6 voidlinux-github
                   ` (31 preceding siblings ...)
  2020-08-12 16:29 ` [PR PATCH] [Updated] " reback00
@ 2020-08-12 17:38 ` reback00
  2020-08-12 20:41 ` q66
                   ` (2 subsequent siblings)
  35 siblings, 0 replies; 38+ messages in thread
From: reback00 @ 2020-08-12 17:38 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 394 bytes --]

New comment by reback00 on void-packages repository

https://github.com/void-linux/void-packages/pull/15627#issuecomment-673013963

Comment:
> make it use gtk3 (change `makedepends` appropriately and then set `GTK3=1` in `do_build` in make arguments)

@q66 Applied the changes you suggested. Seems stable with my basic usage. Never tried TA with gtk3 before though. Are you sure it's stable?

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: New package: textadept-10.8
  2019-10-19 18:53 [PR PATCH] New package: textadept-10.6 voidlinux-github
                   ` (32 preceding siblings ...)
  2020-08-12 17:38 ` reback00
@ 2020-08-12 20:41 ` q66
  2020-08-12 20:55 ` q66
  2020-08-12 20:55 ` [PR PATCH] [Closed]: " q66
  35 siblings, 0 replies; 38+ messages in thread
From: q66 @ 2020-08-12 20:41 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 176 bytes --]

New comment by q66 on void-packages repository

https://github.com/void-linux/void-packages/pull/15627#issuecomment-673100418

Comment:
yes, been using it that way for 1+ year

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: New package: textadept-10.8
  2019-10-19 18:53 [PR PATCH] New package: textadept-10.6 voidlinux-github
                   ` (33 preceding siblings ...)
  2020-08-12 20:41 ` q66
@ 2020-08-12 20:55 ` q66
  2020-08-12 20:55 ` [PR PATCH] [Closed]: " q66
  35 siblings, 0 replies; 38+ messages in thread
From: q66 @ 2020-08-12 20:55 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 253 bytes --]

New comment by q66 on void-packages repository

https://github.com/void-linux/void-packages/pull/15627#issuecomment-673106180

Comment:
Pushed in 665f8976654432d727c034e501b0192983a3e351

most of these `hostmakedepends` were useless so i removed them

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [PR PATCH] [Closed]: New package: textadept-10.8
  2019-10-19 18:53 [PR PATCH] New package: textadept-10.6 voidlinux-github
                   ` (34 preceding siblings ...)
  2020-08-12 20:55 ` q66
@ 2020-08-12 20:55 ` q66
  35 siblings, 0 replies; 38+ messages in thread
From: q66 @ 2020-08-12 20:55 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 655 bytes --]

There's a closed pull request on the void-packages repository

New package: textadept-10.8
https://github.com/void-linux/void-packages/pull/15627

Description:
This is a resubmission of Textadept package. I [messed up](https://github.com/void-linux/void-packages/pull/15278#issuecomment-543545924) the old PR and it got closed automatically, so had to open a new one.

[Textadept](https://foicica.com/textadept/) is a very lightweight and fast text editor written in C. It is extensible with Lua. The project aims to keep the C code within 2000 lines but has standard functionalities of other text editors.
Hope it is useful.

EDIT: Updated for 10.8

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [PR PATCH] New package: textadept-10.6
@ 2019-10-09 17:48 voidlinux-github
  0 siblings, 0 replies; 38+ messages in thread
From: voidlinux-github @ 2019-10-09 17:48 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 580 bytes --]

There is a new pull request by reback00 against master on the void-packages repository

https://github.com/reback00/void-packages textadept-branch
https://github.com/void-linux/void-packages/pull/15278

New package: textadept-10.6
[Textadept](https://foicica.com/textadept/) is a very lightweight and fast text editor written in C. It is extensible with Lua. The project aims to keep the C code within 2000 lines but has standard functionalities of other text editors.
Hope it is useful.

A patch file from https://github.com/void-linux/void-packages/pull/15278.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-textadept-branch-15278.patch --]
[-- Type: text/x-diff, Size: 4463 bytes --]

From f11ca7f8483b01e0fccd580fd5d3a18ce834bb0c Mon Sep 17 00:00:00 2001
From: reback00 <reback00@protonmail.com>
Date: Mon, 7 Oct 2019 14:17:56 +0600
Subject: [PATCH 1/2] New package: lbry-desktop-0.36.0

---
 .../update-install-command-change.patch       |  6 +++
 srcpkgs/lbry-desktop/template                 | 39 +++++++++++++++++++
 2 files changed, 45 insertions(+)
 create mode 100644 srcpkgs/lbry-desktop/patches/update-install-command-change.patch
 create mode 100644 srcpkgs/lbry-desktop/template

diff --git a/srcpkgs/lbry-desktop/patches/update-install-command-change.patch b/srcpkgs/lbry-desktop/patches/update-install-command-change.patch
new file mode 100644
index 00000000000..15c71435ed1
--- /dev/null
+++ b/srcpkgs/lbry-desktop/patches/update-install-command-change.patch
@@ -0,0 +1,6 @@
+diff -Naurp0 a/src/ui/modal/modalDownloading/view.jsx b/src/ui/modal/modalDownloading/view.jsx
+--- a/src/ui/modal/modalDownloading/view.jsx	2019-07-27 01:37:50.000000000 +0600
++++ b/src/ui/modal/modalDownloading/view.jsx	2019-07-31 05:53:37.602429661 +0600
+@@ -28 +28 @@ class ModalDownloading extends React.Pur
+-            <blockquote>sudo dpkg -i {downloadItem}</blockquote>
++            <blockquote>ar p {downloadItem} data.tar.xz | sudo tar xJ -C /</blockquote>
diff --git a/srcpkgs/lbry-desktop/template b/srcpkgs/lbry-desktop/template
new file mode 100644
index 00000000000..facc858905f
--- /dev/null
+++ b/srcpkgs/lbry-desktop/template
@@ -0,0 +1,39 @@
+# Template file for 'lbry-desktop'
+pkgname=lbry-desktop
+version=0.36.0
+revision=1
+archs="x86_64"
+hostmakedepends="nodejs yarn-bin binutils tar xz git python libsecret"
+depends="nodejs gnome-keyring GConf"
+short_desc="Browser for decentralized videos and content available on LBRY protocol"
+maintainer="reback00 <reback00@protonmail.com>"
+license="MIT"
+homepage="https://lbry.com/"
+distfiles="https://github.com/lbryio/lbry-desktop/archive/v${version}.tar.gz"
+checksum=8d0cefff2165772224e4b44f9bb91bb035ee6bf81f0da07997ccdf649c9005d6
+patch_args="-Np1"
+
+nopie=yes
+nodebug=yes
+nostrip=yes
+noverifyrdeps=yes
+noshlibprovides=yes
+preserve=yes
+
+pre_build() {
+	npm install --save core-js@2
+	yarn add core-js@2
+}
+
+do_build() {
+	yarn build
+}
+
+do_install() {
+	ar x dist/electron/LBRY_${version}.deb data.tar.xz
+	tar xf data.tar.xz -C ${DESTDIR}
+}
+
+post_install() {
+	vlicense LICENSE
+}

From c9009b962bff06282694431c68b928c6b40870f0 Mon Sep 17 00:00:00 2001
From: reback00 <reback00@protonmail.com>
Date: Wed, 9 Oct 2019 23:39:40 +0600
Subject: [PATCH 2/2] New package: textadept-10.6

---
 srcpkgs/textadept/template | 49 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 49 insertions(+)
 create mode 100644 srcpkgs/textadept/template

diff --git a/srcpkgs/textadept/template b/srcpkgs/textadept/template
new file mode 100644
index 00000000000..11e58cf7da9
--- /dev/null
+++ b/srcpkgs/textadept/template
@@ -0,0 +1,49 @@
+# Template file for 'textadept'
+pkgname=textadept
+version=10.6
+revision=1
+archs="i686 x86_64"
+wrksrc=textadept-textadept_${version}
+hostmakedepends="autoconf automake gettext libtool clang wget unzip darcs pkg-config glib-devel ncurses"
+makedepends="gtk+-devel ncurses-devel"
+depends="gtk+ lua52"
+short_desc="Fast, minimalist, and extensible text editor for programmers"
+maintainer="reback00 <reback00@protonmail.com>"
+license="MIT"
+homepage="https://foicica.com/textadept/"
+distfiles="https://github.com/rgieseke/textadept/archive/textadept_${version}.tar.gz"
+checksum=2cb2aa8266c166ed4a3f534843aa75cec0dc1ced09c007aaef540e3a7999870b
+
+pre_configure() {
+	cd src
+	make deps
+}
+
+do_build() {
+	cd src
+	make
+	make curses
+}
+
+do_install() {
+	cd src
+	make PREFIX=/usr DESTDIR="${DESTDIR}" install
+	make curses PREFIX=/usr DESTDIR="${DESTDIR}" install
+
+	# Binaries in /usr/share/textadept are not allowed
+	# So we relocate to /usr/lib/textadept
+	mkdir -p "${DESTDIR}/usr/lib/"
+	mv "${DESTDIR}/usr/share/textadept" "${DESTDIR}/usr/lib/textadept"
+	ln -sf "/usr/lib/textadept/textadept" "${DESTDIR}/usr/bin/textadept"
+	ln -sf "/usr/lib/textadept/textadept-curses" "${DESTDIR}/usr/bin/textadept-curses"
+
+	# For icons
+	mkdir -p "${DESTDIR}/usr/share/pixmaps"
+	ln -s "/usr/lib/textadept/core/images/textadept.svg" "${DESTDIR}/usr/share/pixmaps/textadept.svg"
+	ln -s "/usr/lib/textadept/core/images/ta_48x48.png" \
+		"${DESTDIR}/usr/share/pixmaps/textadept.png"
+}
+
+post_install() {
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 38+ messages in thread

end of thread, other threads:[~2020-08-12 20:55 UTC | newest]

Thread overview: 38+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-19 18:53 [PR PATCH] New package: textadept-10.6 voidlinux-github
2019-10-31 22:57 ` voidlinux-github
2019-11-02  7:15 ` voidlinux-github
2019-11-02  7:43 ` voidlinux-github
2019-11-04  4:23 ` [PR PATCH] [Updated] " voidlinux-github
2019-11-04  5:15 ` voidlinux-github
2019-11-04  5:55 ` voidlinux-github
2019-11-04 11:41 ` [PR PATCH] [Updated] " voidlinux-github
2019-11-04 12:41 ` voidlinux-github
2019-11-06  3:20 ` voidlinux-github
2019-11-06  4:31 ` voidlinux-github
2020-05-18 20:21 ` Anachron
2020-07-17  8:17 ` [PR PATCH] [Updated] " reback00
2020-07-17  8:23 ` reback00
2020-07-17  8:26 ` [PR REVIEW] " reback00
2020-07-17  8:26 ` reback00
2020-07-17  8:26 ` reback00
2020-07-17  8:26 ` reback00
2020-07-17  8:41 ` New package: textadept-10.8 reback00
2020-07-22 21:38 ` Chocimier
2020-07-22 23:49 ` q66
2020-07-26 11:27 ` reback00
2020-07-26 11:27 ` reback00
2020-07-26 11:28 ` reback00
2020-07-26 11:47 ` q66
2020-07-26 14:18 ` reback00
2020-07-26 14:23 ` reback00
2020-08-11 16:18 ` [PR PATCH] [Updated] " reback00
2020-08-11 16:57 ` reback00
2020-08-11 17:04 ` reback00
2020-08-11 19:44 ` q66
2020-08-11 19:45 ` q66
2020-08-12 16:29 ` [PR PATCH] [Updated] " reback00
2020-08-12 17:38 ` reback00
2020-08-12 20:41 ` q66
2020-08-12 20:55 ` q66
2020-08-12 20:55 ` [PR PATCH] [Closed]: " q66
  -- strict thread matches above, loose matches on Subject: below --
2019-10-09 17:48 [PR PATCH] New package: textadept-10.6 voidlinux-github

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).