Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] [RFC] Remove packages: ponyc pony-stable
@ 2020-05-14  0:44 ahesford
  0 siblings, 0 replies; only message in thread
From: ahesford @ 2020-05-14  0:44 UTC (permalink / raw)
  To: ml

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

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

https://github.com/ahesford/void-packages ponyc
https://github.com/void-linux/void-packages/pull/21938

[RFC] Remove packages: ponyc pony-stable
To be able to drop `llvm9` in Void, its `ponyc` dependency must be resolved. The current version of `ponyc` in the Void repo. There are at least four newer versions of `ponyc` available [upstream](https://www.ponylang.io), but:
* All newer versions try to pull LLVM into the source tree when building, which increases build time and fragmentation for minimal benefit; and
* The version of LLVM pulled in-tree seems to be pegged to major version 9, so even if the build process could be altered, there will likely be compatibility issues if we were to attempt building `ponyc` against an external `llvm10`.

As an additional annoyance, all newer release tarballs appear to be broken; the build process requires a couple of extra libraries be in tree but does not include them in the tarballs. This issue could almost certainly be resolved, but when combined with the LLVM issue, `ponyc` starts to look like more trouble than it's worth.

Because the `ponyc` userbase in Void seems small, we might be lacking the expertise necessary to properly fix the build process and test the resulting packages. I propose that Void drop `ponyc` to minimize maintenance burden and avoid shipping increasingly outdated versions of the software.

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

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

From 93eddb2fcf6afc3affafb3219a8b6b4bce3219ee Mon Sep 17 00:00:00 2001
From: "Andrew J. Hesford" <ajh@sideband.org>
Date: Wed, 13 May 2020 20:19:07 -0400
Subject: [PATCH] Remove packages: ponyc pony-stable

---
 srcpkgs/pony-stable/template | 19 -------------------
 srcpkgs/ponyc/template       | 34 ----------------------------------
 2 files changed, 53 deletions(-)
 delete mode 100644 srcpkgs/pony-stable/template
 delete mode 100644 srcpkgs/ponyc/template

diff --git a/srcpkgs/pony-stable/template b/srcpkgs/pony-stable/template
deleted file mode 100644
index 910ee3171fa..00000000000
--- a/srcpkgs/pony-stable/template
+++ /dev/null
@@ -1,19 +0,0 @@
-# Template file for 'pony-stable'
-pkgname=pony-stable
-version=0.2.2
-revision=1
-archs="x86_64"
-build_style=gnu-makefile
-make_install_args="prefix=/usr"
-hostmakedepends="ponyc"
-makedepends="libatomic-devel"
-short_desc="Simple dependency manager for the Pony language"
-maintainer="Brian Mitchell <brian@strmpnk.co>"
-license="BSD-2-Clause"
-homepage="https://github.com/ponylang/pony-stable"
-distfiles="https://github.com/ponylang/pony-stable/archive/${version}.tar.gz"
-checksum=8fca5f0f600e695d648200a7492c5d8cea82581f4e4e138f0bb621911d9e4c13
-
-post_install() {
-	vlicense LICENSE
-}
diff --git a/srcpkgs/ponyc/template b/srcpkgs/ponyc/template
deleted file mode 100644
index 7b03ad334f8..00000000000
--- a/srcpkgs/ponyc/template
+++ /dev/null
@@ -1,34 +0,0 @@
-# Template file for 'ponyc'
-pkgname=ponyc
-version=0.33.2
-revision=1
-archs="x86_64"
-build_style=gnu-makefile
-hostmakedepends="llvm9 which"
-makedepends="zlib-devel ncurses-devel libatomic-devel libxml2-devel"
-depends="libatomic-devel"
-short_desc="OO, actor-model, capabilities-secure, high-performance language"
-maintainer="Brian Mitchell <brian@strmpnk.co>"
-license="BSD-2-Clause"
-homepage="https://ponylang.org/"
-distfiles="https://github.com/ponylang/ponyc/archive/${version}.tar.gz"
-checksum=41ba573f16b4aecbcc39ec6d5b794185bf50e570b4a8f2cceef0a276e7fb50a3
-
-do_build() {
-	vsed -e 's/-Werror //' -i Makefile
-
-	make config=release default_pic=true
-}
-
-do_install() {
-	make config=release destdir=${DESTDIR}/usr/lib/pony/${version} prefix=${DESTDIR}/usr install
-	rm ${DESTDIR}/usr/bin/ponyc ${DESTDIR}/usr/lib/libponyrt.a \
-		${DESTDIR}/usr/lib/libponyc.a ${DESTDIR}/usr/include/pony.h
-	ln -s /usr/lib/pony/${version}/lib/libponyrt.a ${DESTDIR}/usr/lib
-	ln -s /usr/lib/pony/${version}/lib/libponyc.a ${DESTDIR}/usr/lib
-	ln -s /usr/lib/pony/${version}/bin/ponyc ${DESTDIR}/usr/bin
-	ln -s /usr/lib/pony/${version}/include/pony.h ${DESTDIR}/usr/include
-	vlicense LICENSE
-	vdoc README.md
-	vcopy examples usr/share/doc/ponyc/
-}

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-05-14  0:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-14  0:44 [PR PATCH] [RFC] Remove packages: ponyc pony-stable ahesford

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