Github messages for voidlinux
 help / color / mirror / Atom feed
From: Barbaross93 <Barbaross93@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] New packages: wyrd-1.5.3 and ocaml-curses-1.0.10
Date: Fri, 20 May 2022 17:00:13 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-37214@inbox.vuxu.org> (raw)

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

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

https://github.com/Barbaross93/void-packages wyrd
https://github.com/void-linux/void-packages/pull/37214

New packages: wyrd-1.5.3 and ocaml-curses-1.0.10
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86-64)

See https://github.com/void-linux/void-packages/issues/35401 for my thoughts/progress packaging this. Also closes https://github.com/void-linux/void-packages/issues/35401.

As mentioned in the linked issue, the build process for the documentation required me to hit enter a few times. I'm not sure how to automate it entirely. Feedback greatly appreciated.



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

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

From d864730f96dfb986e54a6008b2b38419c2c147f0 Mon Sep 17 00:00:00 2001
From: Barbaross <cullenrss@gmail.com>
Date: Fri, 20 May 2022 10:55:30 -0400
Subject: [PATCH 1/2] New package: ocaml-curses-1.0.10

---
 srcpkgs/ocaml-curses/template | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 srcpkgs/ocaml-curses/template

diff --git a/srcpkgs/ocaml-curses/template b/srcpkgs/ocaml-curses/template
new file mode 100644
index 000000000000..b84891d67333
--- /dev/null
+++ b/srcpkgs/ocaml-curses/template
@@ -0,0 +1,22 @@
+# Template file for 'ocaml-curses'
+pkgname=ocaml-curses
+version=1.0.10
+revision=1
+wrksrc="curses-${version}"
+hostmakedepends="dune base-devel"
+makedepends="ncurses-devel"
+short_desc="Objective Caml libs for curses"
+maintainer="Barbaross <cullenrss@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/mbacarella/curses"
+distfiles="${homepage}/archive/refs/tags/${version}.tar.gz"
+checksum=f09c9fe714f6b0895a5d2238418188e945be928d223c2bda4e9566c32e53f848
+
+do_build() {
+	dune build --display=short
+}
+
+do_install() {
+	dune install --prefix=/usr --destdir="$DESTDIR" \
+		--libdir=/usr/lib/ocaml --docdir=/usr/share/doc
+}

From ca92f844825f41eebd5c72ad9e72fc7efd77cfd4 Mon Sep 17 00:00:00 2001
From: Barbaross <cullenrss@gmail.com>
Date: Fri, 20 May 2022 10:56:19 -0400
Subject: [PATCH 2/2] New package: wyrd-1.5.3

---
 srcpkgs/wyrd/template | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 srcpkgs/wyrd/template

diff --git a/srcpkgs/wyrd/template b/srcpkgs/wyrd/template
new file mode 100644
index 000000000000..8faaf1f30ad2
--- /dev/null
+++ b/srcpkgs/wyrd/template
@@ -0,0 +1,28 @@
+# Template file for 'wyrd'
+pkgname=wyrd
+version=1.5.3
+revision=1
+build_style=gnu-configure
+#configure_args=""
+#make_build_args=""
+#make_install_args=""
+hostmakedepends="ocaml camlp5 ocaml-curses texlive texlive-LuaTeX python opam base-devel"
+makedepends="ncurses-devel"
+depends="remind"
+conf_files="/etc/wyrdrc"
+short_desc="Ncurses front-end to Remind"
+maintainer="Barbaross <cullenrss@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://gitlab.com/wyrd-calendar/wyrd"
+distfiles="${homepage}/-/archive/${version}/wyrd-${version}.tar.gz"
+checksum=1d7936dd10b795a17bbce06ae14079eb36120f26fd7bd27b522f8df5196790e7
+
+pre_configure() {
+	./prep-devtree.sh
+}
+
+pre_build() {
+	opam init -y --compiler=ocaml-system --disable-sandboxing
+	eval $(opam env)
+	opam install -y hevea
+}

             reply	other threads:[~2022-05-20 15:00 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-20 15:00 Barbaross93 [this message]
2022-05-24  2:09 ` [PR REVIEW] New packages: wyrd-1.5.3 and ocaml-curses-1.0.10 [ci skip] abenson
2022-05-24  2:10 ` abenson
2022-05-24  2:21 ` Barbaross93
2022-05-24  2:27 ` Barbaross93
2022-05-24 12:10 ` [PR PATCH] [Updated] " Barbaross93
2022-05-24 12:10 ` Barbaross93
2022-06-26 13:06 ` [PR REVIEW] New packages: wyrd-1.5.3 and ocaml-curses-1.0.10 rrbq
2022-06-26 13:07 ` rrbq
2022-06-26 13:13 ` jspricke
2022-06-26 13:16 ` jspricke
2022-06-26 13:16 ` jspricke
2022-06-26 13:16 ` jspricke
2022-06-26 13:18 ` jspricke
2022-06-26 13:18 ` rrbq
2022-06-26 13:38 ` jspricke
2022-09-25  2:14 ` github-actions
2022-10-10  2:14 ` [PR PATCH] [Closed]: " github-actions

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-37214@inbox.vuxu.org \
    --to=barbaross93@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).