Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: tree-sitter 0.17.3
@ 2020-11-18 16:27 harrisonthorne
  2020-11-18 16:40 ` [PR PATCH] [Updated] " harrisonthorne
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: harrisonthorne @ 2020-11-18 16:27 UTC (permalink / raw)
  To: ml

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

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

https://github.com/harrisonthorne/void-packages tree-sitter
https://github.com/void-linux/void-packages/pull/26484

New package: tree-sitter 0.17.3
Neovim's upcoming 0.5 seems to have `tree-sitter` as a dependency. This pull request adds both `tree-sitter` and `tree-sitter-devel` packages.

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-tree-sitter-26484.patch --]
[-- Type: text/x-diff, Size: 7358 bytes --]

From 4e2d655a0da3e4e93453b938cbb0751b9d721dc6 Mon Sep 17 00:00:00 2001
From: Harrison Thorne <harrison.thorne@gmail.com>
Date: Tue, 4 Aug 2020 21:37:12 -0600
Subject: [PATCH 1/4] added awesome-git, picom-tryone-git

---
 srcpkgs/awesome-git/template      | 31 +++++++++++++++++++++++++++++++
 srcpkgs/picom-tryone-git/template | 29 +++++++++++++++++++++++++++++
 2 files changed, 60 insertions(+)
 create mode 100644 srcpkgs/awesome-git/template
 create mode 100644 srcpkgs/picom-tryone-git/template

diff --git a/srcpkgs/awesome-git/template b/srcpkgs/awesome-git/template
new file mode 100644
index 00000000000..292b37d72ef
--- /dev/null
+++ b/srcpkgs/awesome-git/template
@@ -0,0 +1,31 @@
+# Template file for 'awesome-git'
+pkgname=awesome-git
+version=4.3.862.g7a759432
+revision=1
+build_style=cmake
+build_helper="qemu"
+configure_args="-DSYSCONFDIR=/etc"
+conf_files="/etc/xdg/awesome/rc.lua"
+hostmakedepends="ruby-asciidoctor ImageMagick lua53-lgi lua53 pkg-config xmlto"
+makedepends="libxcb-devel pango-devel xcb-util-devel xcb-util-image-devel
+ xcb-util-keysyms-devel xcb-util-wm-devel xcb-util-cursor-devel
+ startup-notification-devel imlib2-devel lua53-lgi libxdg-basedir-devel
+ gdk-pixbuf-devel lua53-devel dbus-devel libxkbcommon-devel xcb-util-xrm-devel"
+depends="dbus-x11 lua53-lgi>=0.7.2 pango"
+short_desc="Highly configurable, next gen framework window manager for X (master branch)"
+maintainer="Harrison Thorne <harrisonthorne@protonmail.com>"
+license="GPL-2.0-or-later"
+homepage="http://awesomewm.org"
+distfiles="https://github.com/awesomeWM/awesome/archive/master.zip>${pkgname}-${version}.zip"
+conflicts="awesome"
+checksum="125955ec07c9161bde5774fe0bb4008da9de1011fca083359370be98526a39ff"
+wrksrc="awesome-master"
+
+pre_configure() {
+	# Russian manpages fail to build.
+	vsed -i -e "s/es fr de ru/es fr de/g" CMakeLists.txt
+}
+
+post_install() {
+	vinstall awesome.desktop 644 usr/share/xsessions
+}
diff --git a/srcpkgs/picom-tryone-git/template b/srcpkgs/picom-tryone-git/template
new file mode 100644
index 00000000000..6f895769aa6
--- /dev/null
+++ b/srcpkgs/picom-tryone-git/template
@@ -0,0 +1,29 @@
+# Template file for 'picom-tryone-git'
+pkgname=picom-tryone-git
+_commit="9b4a6f062758f1f9a66d4e77d16c86c9aa259b42"
+version=6.rc1.501.g9b4a6f0
+revision=1
+build_style=meson
+configure_args="-Dwith_docs=true"
+hostmakedepends="pkg-config asciidoc tree"
+makedepends="MesaLib-devel dbus-devel libconfig-devel libev-devel
+ pcre-devel pixman-devel xcb-util-image-devel xcb-util-renderutil-devel
+ libxdg-basedir-devel uthash"
+depends="desktop-file-utils"
+short_desc="Lightweight compositor for X11 (previously a compton fork)"
+maintainer="Harrison Thorne <harrisonthorne@protonmail.com>"
+license="MIT, MPL-2.0"
+homepage="https://github.com/tryone144/picom"
+distfiles="https://github.com/tryone144/picom/archive/${_commit}.zip"
+conflicts="picom compton"
+wrksrc="picom-${_commit}"
+checksum=b844e774c22d829663f82c2ffcf960151d309c60cfdaa6a72fb1e2d922af3f1d
+
+post_fetch() {
+    build_wrksrc="${wrksrc}"
+}
+
+post_install() {
+	vlicense LICENSES/MIT
+	vsconf picom.sample.conf
+}

From 8bfe1adedfccbcd5ccc3469f38d726282cae6936 Mon Sep 17 00:00:00 2001
From: Harrison Thorne <harrison.thorne@gmail.com>
Date: Fri, 7 Aug 2020 13:23:35 -0600
Subject: [PATCH 2/4] font-mdi-ttf: add community Material Design Icons font

---
 srcpkgs/font-mdi-ttf/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/font-mdi-ttf/template

diff --git a/srcpkgs/font-mdi-ttf/template b/srcpkgs/font-mdi-ttf/template
new file mode 100644
index 00000000000..9c10f6183e2
--- /dev/null
+++ b/srcpkgs/font-mdi-ttf/template
@@ -0,0 +1,19 @@
+# Template file for 'font-mdi-ttf'
+pkgname=font-mdi-ttf
+version=5.4.55
+revision=1
+archs=noarch
+depends="font-util"
+wrksrc="MaterialDesign-Webfont-${version}"
+short_desc="Community-made Material Design icons"
+maintainer="Harrison Thorne <harrisonthorne@protonmail.com>"
+license="OFL-1.0-RFN"
+homepage="https://materialdesignicons.com"
+distfiles="https://github.com/Templarian/MaterialDesign-Webfont/archive/v5.4.55.tar.gz"
+checksum=5093a6728038d9f0dd77411ca6c8ab88edf5fda04527f4f6ab843e931b380b09
+
+font_dirs="/usr/share/fonts/TTF"
+
+do_install() {
+    vinstall fonts/materialdesignicons-webfont.ttf 644 usr/share/fonts/TTF MaterialDesignIcons.ttf
+}

From 29f9bb1d4141ca92a219b5b7dc3712826b5dfa65 Mon Sep 17 00:00:00 2001
From: Harrison Thorne <harrisonthorne@protonmail.com>
Date: Tue, 22 Sep 2020 17:37:24 -0600
Subject: [PATCH 3/4] awesome-git: Update to version 4.3.881.gca29aa19

---
 srcpkgs/awesome-git/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/awesome-git/template b/srcpkgs/awesome-git/template
index 292b37d72ef..422928cb74e 100644
--- a/srcpkgs/awesome-git/template
+++ b/srcpkgs/awesome-git/template
@@ -1,6 +1,6 @@
 # Template file for 'awesome-git'
 pkgname=awesome-git
-version=4.3.862.g7a759432
+version=4.3.881.gca29aa19
 revision=1
 build_style=cmake
 build_helper="qemu"
@@ -18,7 +18,7 @@ license="GPL-2.0-or-later"
 homepage="http://awesomewm.org"
 distfiles="https://github.com/awesomeWM/awesome/archive/master.zip>${pkgname}-${version}.zip"
 conflicts="awesome"
-checksum="125955ec07c9161bde5774fe0bb4008da9de1011fca083359370be98526a39ff"
+checksum=c14763562ba8637839d74395030dc594ddf6c2e9bac98873a8dbfda59a86462a
 wrksrc="awesome-master"
 
 pre_configure() {

From c885d7dcb8900588a9b2bfa013eb0ebfc4ef33f0 Mon Sep 17 00:00:00 2001
From: Harrison Thorne <harrisonthorne@protonmail.com>
Date: Wed, 18 Nov 2020 08:25:32 -0700
Subject: [PATCH 4/4] New package: tree-sitter-0.17.3

---
 common/shlibs                |  1 +
 srcpkgs/tree-sitter-devel    |  1 +
 srcpkgs/tree-sitter/template | 22 ++++++++++++++++++++++
 3 files changed, 24 insertions(+)
 create mode 120000 srcpkgs/tree-sitter-devel
 create mode 100644 srcpkgs/tree-sitter/template

diff --git a/common/shlibs b/common/shlibs
index 5e274cc8d8d..de9da1c194a 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3991,3 +3991,4 @@ liburing.so.1 liburing-0.7_1
 libbson-1.0.so.0 libbson-1.17.0_1
 libsonic.so.0 libsonic-0.2.0_1
 libtickit.so.3 libtickit-0.4.1_1
+libtree-sitter.so.0 tree-sitter-0.17.3_1
diff --git a/srcpkgs/tree-sitter-devel b/srcpkgs/tree-sitter-devel
new file mode 120000
index 00000000000..25ba75a1097
--- /dev/null
+++ b/srcpkgs/tree-sitter-devel
@@ -0,0 +1 @@
+tree-sitter/
\ No newline at end of file
diff --git a/srcpkgs/tree-sitter/template b/srcpkgs/tree-sitter/template
new file mode 100644
index 00000000000..99fd184ef78
--- /dev/null
+++ b/srcpkgs/tree-sitter/template
@@ -0,0 +1,22 @@
+# Template file for 'tree-sitter'
+pkgname=tree-sitter
+version=0.17.3
+revision=1
+build_style=gnu-makefile
+short_desc="Parser generator tool and incremental parsing library"
+maintainer="Harrison Thorne <harrisonthorne@protonmail.com>"
+license="MIT"
+homepage="https://tree-sitter.github.io"
+distfiles="https://github.com/tree-sitter/${pkgname}/archive/${version}.tar.gz"
+checksum=a897e5c9a7ccb74271d9b20d59121d2d2e9de8b896c4d1cfaac0f8104c1ef9f8
+
+tree-sitter-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/*.so"
+		vmove usr/lib/pkgconfig
+	}
+}

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

end of thread, other threads:[~2021-02-22 18:39 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-18 16:27 [PR PATCH] New package: tree-sitter 0.17.3 harrisonthorne
2020-11-18 16:40 ` [PR PATCH] [Updated] " harrisonthorne
2020-11-18 16:54 ` ericonr
2020-11-18 17:16 ` ericonr
2020-11-22 21:30 ` ericonr
2021-01-21 16:49 ` [PR PATCH] [Updated] " harrisonthorne
2021-01-21 16:57 ` harrisonthorne
2021-01-21 16:59 ` harrisonthorne
2021-01-21 17:00 ` [PR PATCH] [Updated] " harrisonthorne
2021-01-21 17:01 ` harrisonthorne
2021-02-22 18:39 ` [PR PATCH] [Closed]: " ericonr
2021-02-22 18:39 ` ericonr

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