Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: universal-ctags-5.9.20210131.0
@ 2021-02-06  9:13 Gottox
  2021-02-06 10:03 ` [PR PATCH] [Updated] " Gottox
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: Gottox @ 2021-02-06  9:13 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Gottox/void-packages universal-ctags
https://github.com/void-linux/void-packages/pull/28544

New package: universal-ctags-5.9.20210131.0


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-universal-ctags-28544.patch --]
[-- Type: text/x-diff, Size: 1189 bytes --]

From 7313cb4a8c3999cb951bf18c6bb8559ca02d6220 Mon Sep 17 00:00:00 2001
From: Enno Boland <gottox@voidlinux.org>
Date: Sat, 6 Feb 2021 10:07:37 +0100
Subject: [PATCH] New package: universal-ctags-5.9.20210131.0

---
 srcpkgs/universal-ctags/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/universal-ctags/template

diff --git a/srcpkgs/universal-ctags/template b/srcpkgs/universal-ctags/template
new file mode 100644
index 00000000000..b004ee38940
--- /dev/null
+++ b/srcpkgs/universal-ctags/template
@@ -0,0 +1,20 @@
+# Template file for 'universal-ctags'
+pkgname=universal-ctags
+version=5.9.20210131.0
+revision=1
+wrksrc="ctags-p$version"
+build_style=gnu-configure
+hostmakedepends="automake pkg-config"
+short_desc="Maintained ctags implementation"
+maintainer="Enno Boland <gottox@voidlinux.org>"
+license="GPL-2.0-or-later"
+homepage="https://ctags.io"
+distfiles="https://github.com/universal-ctags/ctags/archive/p$version.tar.gz"
+checksum=3ddf33db791e4afaf8745c27ae4a1acf11947f2f198c727c97d215041a5fbdfa
+provides="ctags-${version}_${revision}"
+replaces="ctags>=0"
+conflicts="ctags>=0"
+
+pre_configure() {
+	autoreconf -fi
+}

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

* Re: [PR PATCH] [Updated] New package: universal-ctags-5.9.20210131.0
  2021-02-06  9:13 [PR PATCH] New package: universal-ctags-5.9.20210131.0 Gottox
@ 2021-02-06 10:03 ` Gottox
  2021-02-06 10:05 ` Gottox
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Gottox @ 2021-02-06 10:03 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Gottox/void-packages universal-ctags
https://github.com/void-linux/void-packages/pull/28544

New package: universal-ctags-5.9.20210131.0


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-universal-ctags-28544.patch --]
[-- Type: text/x-diff, Size: 1250 bytes --]

From 09cb1b9f215e4ef8765da6f5a9751f97d070a473 Mon Sep 17 00:00:00 2001
From: Enno Boland <gottox@voidlinux.org>
Date: Sat, 6 Feb 2021 10:07:37 +0100
Subject: [PATCH] New package: universal-ctags-5.9.20210131.0

---
 srcpkgs/universal-ctags/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/universal-ctags/template

diff --git a/srcpkgs/universal-ctags/template b/srcpkgs/universal-ctags/template
new file mode 100644
index 00000000000..43292a99886
--- /dev/null
+++ b/srcpkgs/universal-ctags/template
@@ -0,0 +1,21 @@
+# Template file for 'universal-ctags'
+pkgname=universal-ctags
+version=5.9.20210131.0
+revision=1
+wrksrc="ctags-p$version"
+build_style=gnu-configure
+makedepends="libxml2-devel libyaml-devel libseccomp-devel"
+hostmakedepends="automake pkg-config"
+short_desc="Maintained ctags implementation"
+maintainer="Enno Boland <gottox@voidlinux.org>"
+license="GPL-2.0-or-later"
+homepage="https://ctags.io"
+distfiles="https://github.com/universal-ctags/ctags/archive/p$version.tar.gz"
+checksum=3ddf33db791e4afaf8745c27ae4a1acf11947f2f198c727c97d215041a5fbdfa
+provides="ctags-${version}_${revision}"
+replaces="ctags>=0"
+conflicts="ctags>=0"
+
+pre_configure() {
+	autoreconf -fi
+}

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

* Re: [PR PATCH] [Updated] New package: universal-ctags-5.9.20210131.0
  2021-02-06  9:13 [PR PATCH] New package: universal-ctags-5.9.20210131.0 Gottox
  2021-02-06 10:03 ` [PR PATCH] [Updated] " Gottox
@ 2021-02-06 10:05 ` Gottox
  2021-02-19 20:13 ` leleliu008
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Gottox @ 2021-02-06 10:05 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Gottox/void-packages universal-ctags
https://github.com/void-linux/void-packages/pull/28544

New package: universal-ctags-5.9.20210131.0


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-universal-ctags-28544.patch --]
[-- Type: text/x-diff, Size: 1250 bytes --]

From f1a1973e3e687ff0bb5b6d9e20eaf7508095dca3 Mon Sep 17 00:00:00 2001
From: Enno Boland <gottox@voidlinux.org>
Date: Sat, 6 Feb 2021 10:07:37 +0100
Subject: [PATCH] New package: universal-ctags-5.9.20210131.0

---
 srcpkgs/universal-ctags/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/universal-ctags/template

diff --git a/srcpkgs/universal-ctags/template b/srcpkgs/universal-ctags/template
new file mode 100644
index 00000000000..511a4bf3f6b
--- /dev/null
+++ b/srcpkgs/universal-ctags/template
@@ -0,0 +1,21 @@
+# Template file for 'universal-ctags'
+pkgname=universal-ctags
+version=5.9.20210131.0
+revision=1
+wrksrc="ctags-p$version"
+build_style=gnu-configure
+hostmakedepends="automake pkg-config"
+makedepends="libxml2-devel libyaml-devel libseccomp-devel"
+short_desc="Maintained ctags implementation"
+maintainer="Enno Boland <gottox@voidlinux.org>"
+license="GPL-2.0-or-later"
+homepage="https://ctags.io"
+distfiles="https://github.com/universal-ctags/ctags/archive/p$version.tar.gz"
+checksum=3ddf33db791e4afaf8745c27ae4a1acf11947f2f198c727c97d215041a5fbdfa
+provides="ctags-${version}_${revision}"
+replaces="ctags>=0"
+conflicts="ctags>=0"
+
+pre_configure() {
+	autoreconf -fi
+}

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

* Re: New package: universal-ctags-5.9.20210131.0
  2021-02-06  9:13 [PR PATCH] New package: universal-ctags-5.9.20210131.0 Gottox
  2021-02-06 10:03 ` [PR PATCH] [Updated] " Gottox
  2021-02-06 10:05 ` Gottox
@ 2021-02-19 20:13 ` leleliu008
  2021-02-19 20:23 ` ericonr
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: leleliu008 @ 2021-02-19 20:13 UTC (permalink / raw)
  To: ml

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

New comment by leleliu008 on void-packages repository

https://github.com/void-linux/void-packages/pull/28544#issuecomment-782314449

Comment:
you shoud install [GNU libiconv](https://www.gnu.org/software/libiconv/) rather than using the `musl iconv`, the reason is [here](https://wiki.musl-libc.org/functional-differences-from-glibc.html)

It seems that we can not install `GNU libiconv` via `xbps`, we can install from source, reference instructions as following:
```
curl -LO https://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.16.tar.gz
tar vxf libiconv-1.16.tar.gz
cd libiconv-1.16
./configure --enable-extra-encodings
make
make install
```

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

* Re: New package: universal-ctags-5.9.20210131.0
  2021-02-06  9:13 [PR PATCH] New package: universal-ctags-5.9.20210131.0 Gottox
                   ` (2 preceding siblings ...)
  2021-02-19 20:13 ` leleliu008
@ 2021-02-19 20:23 ` ericonr
  2021-02-19 20:33 ` leleliu008
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: ericonr @ 2021-02-19 20:23 UTC (permalink / raw)
  To: ml

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

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/28544#issuecomment-782321887

Comment:
@Gottox why prefer a new package instead of an update, as in #28885 ?

@leleliu008 do they use the GNU extensions with `//` and such ? :/ 

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

* Re: New package: universal-ctags-5.9.20210131.0
  2021-02-06  9:13 [PR PATCH] New package: universal-ctags-5.9.20210131.0 Gottox
                   ` (3 preceding siblings ...)
  2021-02-19 20:23 ` ericonr
@ 2021-02-19 20:33 ` leleliu008
  2021-02-19 20:37 ` leleliu008
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: leleliu008 @ 2021-02-19 20:33 UTC (permalink / raw)
  To: ml

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

New comment by leleliu008 on void-packages repository

https://github.com/void-linux/void-packages/pull/28544#issuecomment-782327405

Comment:

> @leleliu008 do they use the GNU extensions with `//` and such ? :/

I don't understand what you mean, I hope you can tell me in details, thank you!

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

* Re: New package: universal-ctags-5.9.20210131.0
  2021-02-06  9:13 [PR PATCH] New package: universal-ctags-5.9.20210131.0 Gottox
                   ` (4 preceding siblings ...)
  2021-02-19 20:33 ` leleliu008
@ 2021-02-19 20:37 ` leleliu008
  2021-02-19 20:50 ` ericonr
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: leleliu008 @ 2021-02-19 20:37 UTC (permalink / raw)
  To: ml

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

New comment by leleliu008 on void-packages repository

https://github.com/void-linux/void-packages/pull/28544#issuecomment-782330814

Comment:
@Gottox 
```
pre_configure() {
	autoreconf -fi
}
```
change to
```
pre_configure() {
	./autogen.sh
}
```
`./autogen.sh` do more things, not only run `autoreconf -fi`

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

* Re: New package: universal-ctags-5.9.20210131.0
  2021-02-06  9:13 [PR PATCH] New package: universal-ctags-5.9.20210131.0 Gottox
                   ` (5 preceding siblings ...)
  2021-02-19 20:37 ` leleliu008
@ 2021-02-19 20:50 ` ericonr
  2021-02-19 20:52 ` ericonr
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: ericonr @ 2021-02-19 20:50 UTC (permalink / raw)
  To: ml

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

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/28544#issuecomment-782339333

Comment:
```
	if type perl > /dev/null; then
		for i in ${ctags_files}; do
			o=${i%.ctags}.c
			echo "optlib2c: translating $i to $o"
			if ! ./misc/optlib2c $i > $o; then
				echo "failed in running optlib2c" 1>&2
				exit 1
			fi
		done
	else
		for i in ${ctags_files}; do
			o=${i%.ctags}.c
			echo "use pre-translated file: $o"
		done
	fi
```

I'm okay with using the pre-translated stuff...

> I don't understand what you mean, I hope you can tell me in details, thank you!

The main difference between musl and glibc iconv is that glibc allows `<enconding>//<suffix>` as parameters to `iconv_open`, which change how the function behaves. I will check out the test suite locally to see what's wrong.

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

* Re: New package: universal-ctags-5.9.20210131.0
  2021-02-06  9:13 [PR PATCH] New package: universal-ctags-5.9.20210131.0 Gottox
                   ` (6 preceding siblings ...)
  2021-02-19 20:50 ` ericonr
@ 2021-02-19 20:52 ` ericonr
  2021-02-19 21:06 ` ericonr
  2021-02-22 20:29 ` Gottox
  9 siblings, 0 replies; 11+ messages in thread
From: ericonr @ 2021-02-19 20:52 UTC (permalink / raw)
  To: ml

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

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/28544#issuecomment-782339333

Comment:
```
	if type perl > /dev/null; then
		for i in ${ctags_files}; do
			o=${i%.ctags}.c
			echo "optlib2c: translating $i to $o"
			if ! ./misc/optlib2c $i > $o; then
				echo "failed in running optlib2c" 1>&2
				exit 1
			fi
		done
	else
		for i in ${ctags_files}; do
			o=${i%.ctags}.c
			echo "use pre-translated file: $o"
		done
	fi
```

I'm okay with using the pre-translated stuff... Unless these aren't available in the git snapshot, then we should add `perl` to `hostmakedepends` as well.

> I don't understand what you mean, I hope you can tell me in details, thank you!

The main difference between musl and glibc iconv is that glibc allows `<enconding>//<suffix>` as parameters to `iconv_open`, which change how the function behaves. I will check out the test suite locally to see what's wrong.

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

* Re: New package: universal-ctags-5.9.20210131.0
  2021-02-06  9:13 [PR PATCH] New package: universal-ctags-5.9.20210131.0 Gottox
                   ` (7 preceding siblings ...)
  2021-02-19 20:52 ` ericonr
@ 2021-02-19 21:06 ` ericonr
  2021-02-22 20:29 ` Gottox
  9 siblings, 0 replies; 11+ messages in thread
From: ericonr @ 2021-02-19 21:06 UTC (permalink / raw)
  To: ml

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

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/28544#issuecomment-782351728

Comment:
IMO just disable those tests specifically. They try to use an encoding not supported by musl (`cp932`), and unless that's extremely common (and I hope not), it's no reason to introduce `libiconv` into Void.

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

* Re: New package: universal-ctags-5.9.20210131.0
  2021-02-06  9:13 [PR PATCH] New package: universal-ctags-5.9.20210131.0 Gottox
                   ` (8 preceding siblings ...)
  2021-02-19 21:06 ` ericonr
@ 2021-02-22 20:29 ` Gottox
  9 siblings, 0 replies; 11+ messages in thread
From: Gottox @ 2021-02-22 20:29 UTC (permalink / raw)
  To: ml

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

New comment by Gottox on void-packages repository

https://github.com/void-linux/void-packages/pull/28544#issuecomment-783653994

Comment:
Actually I think we should go with the update. What do you think?

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

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

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-06  9:13 [PR PATCH] New package: universal-ctags-5.9.20210131.0 Gottox
2021-02-06 10:03 ` [PR PATCH] [Updated] " Gottox
2021-02-06 10:05 ` Gottox
2021-02-19 20:13 ` leleliu008
2021-02-19 20:23 ` ericonr
2021-02-19 20:33 ` leleliu008
2021-02-19 20:37 ` leleliu008
2021-02-19 20:50 ` ericonr
2021-02-19 20:52 ` ericonr
2021-02-19 21:06 ` ericonr
2021-02-22 20:29 ` Gottox

Github messages for voidlinux

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.vuxu.org/voidlinux-github

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 voidlinux-github voidlinux-github/ http://inbox.vuxu.org/voidlinux-github \
		voidlinux-github@inbox.vuxu.org
	public-inbox-index voidlinux-github

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.github.voidlinux


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git