Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: textadept-10.6
@ 2019-10-09 17:48 voidlinux-github
  2019-10-12 15:45 ` voidlinux-github
                   ` (31 more replies)
  0 siblings, 32 replies; 39+ 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] 39+ messages in thread
* [PR PATCH] New package: textadept-10.6
@ 2019-10-19 18:53 voidlinux-github
  2019-10-31 22:57 ` voidlinux-github
                   ` (5 more replies)
  0 siblings, 6 replies; 39+ 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] 39+ messages in thread

end of thread, other threads:[~2020-05-18 20:21 UTC | newest]

Thread overview: 39+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-09 17:48 [PR PATCH] New package: textadept-10.6 voidlinux-github
2019-10-12 15:45 ` voidlinux-github
2019-10-13  6:08 ` voidlinux-github
2019-10-13  6:08 ` voidlinux-github
2019-10-13 11:57 ` voidlinux-github
2019-10-13 17:05 ` [PR PATCH] [Updated] " voidlinux-github
2019-10-13 17:05 ` voidlinux-github
2019-10-13 17:17 ` voidlinux-github
2019-10-13 17:17 ` voidlinux-github
2019-10-13 17:22 ` voidlinux-github
2019-10-15  8:08 ` [PR PATCH] [Updated] " voidlinux-github
2019-10-15  8:08 ` voidlinux-github
2019-10-15  8:37 ` voidlinux-github
2019-10-15  8:37 ` voidlinux-github
2019-10-15  8:39 ` voidlinux-github
2019-10-15  8:39 ` voidlinux-github
2019-10-17 17:43 ` voidlinux-github
2019-10-17 17:43 ` voidlinux-github
2019-10-17 18:04 ` voidlinux-github
2019-10-17 18:04 ` voidlinux-github
2019-10-17 18:18 ` voidlinux-github
2019-10-17 18:18 ` voidlinux-github
2019-10-17 18:55 ` voidlinux-github
2019-10-17 18:55 ` voidlinux-github
2019-10-18  6:34 ` [PR PATCH] [Closed]: " voidlinux-github
2019-10-18  6:42 ` voidlinux-github
2019-10-18  6:44 ` voidlinux-github
2019-10-18 16:36 ` voidlinux-github
2019-10-19 16:33 ` voidlinux-github
2019-10-19 16:33 ` voidlinux-github
2019-10-19 16:41 ` voidlinux-github
2019-10-19 17:15 ` voidlinux-github
2019-10-19 19:01 ` New package: textadept-10.6 [Deprecated] voidlinux-github
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  5:55 ` voidlinux-github
2019-11-06  4:31 ` voidlinux-github
2020-05-18 20:21 ` Anachron

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).