From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: [PR PATCH] New package: textadept-10.6
Date: Wed, 09 Oct 2019 19:48:31 +0200 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-15278@inbox.vuxu.org> (raw)
[-- 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
+}
next reply other threads:[~2019-10-09 17:48 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-09 17:48 voidlinux-github [this message]
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
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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-15278@inbox.vuxu.org \
--to=voidlinux-github@inbox.vuxu.org \
--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).