Github messages for voidlinux
 help / color / mirror / Atom feed
From: reback00 <reback00@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: textadept-10.6
Date: Fri, 17 Jul 2020 10:17:13 +0200	[thread overview]
Message-ID: <20200717081713.Es-P_wVFXLtx5hhAp3X--6_ewPxNjA0S6AgyOZwZxgY@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-15627@inbox.vuxu.org>

[-- 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
+}

  parent reply	other threads:[~2020-07-17  8:17 UTC|newest]

Thread overview: 55+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-19 18:53 [PR PATCH] " 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 ` reback00 [this message]
2020-07-17  8:23 ` [PR PATCH] [Updated] " 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
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-15  8:08 ` 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200717081713.Es-P_wVFXLtx5hhAp3X--6_ewPxNjA0S6AgyOZwZxgY@z \
    --to=reback00@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).