Github messages for voidlinux
 help / color / mirror / Atom feed
From: nsailor <nsailor@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: ObjFW-1.0.3
Date: Wed, 27 Sep 2023 20:46:46 +0200	[thread overview]
Message-ID: <20230927184646.zPCUBDKfVccaSt_HVwX72QfYv9CqqwZfFcox7nMstJk@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-46204@inbox.vuxu.org>

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

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

https://github.com/nsailor/void-packages objfw
https://github.com/void-linux/void-packages/pull/46204

New package: ObjFW-1.0.3
<!-- 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 [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, x86_64-musl



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

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

From dfcd3de9c6743131ce26ba14d9ac71459da24de8 Mon Sep 17 00:00:00 2001
From: Jason Barmparesos <github@jasonb.dev>
Date: Sat, 23 Sep 2023 18:34:42 +0000
Subject: [PATCH] New package: ObjFW-1.0.3

---
 common/shlibs          |  3 +++
 srcpkgs/ObjFW-devel    |  1 +
 srcpkgs/ObjFW-doc      |  1 +
 srcpkgs/ObjFW/template | 51 ++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 56 insertions(+)
 create mode 120000 srcpkgs/ObjFW-devel
 create mode 120000 srcpkgs/ObjFW-doc
 create mode 100644 srcpkgs/ObjFW/template

diff --git a/common/shlibs b/common/shlibs
index 2d7f32eee393b..157541ba5c813 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -86,6 +86,9 @@ libfplll.so.8 fplll-5.4.4_1
 libpanelw.so.6 ncurses-libs-5.8_1 ignore
 libmenuw.so.6 ncurses-libs-5.8_1 ignore
 libobjc.so.4 libobjc-4.7.3_12
+libobjfw.so.1 ObjFW-1.0.3_1
+libobjfwrt.so.1 ObjFW-1.0.3_1
+libobjfwtls.so.1 ObjFW-1.0.3_1
 libgomp.so.1 libgomp-4.4.0_1
 libgps.so.29 gpsd-3.23_1
 libmagic.so.1 libmagic-5.12_1
diff --git a/srcpkgs/ObjFW-devel b/srcpkgs/ObjFW-devel
new file mode 120000
index 0000000000000..374aa22431a1d
--- /dev/null
+++ b/srcpkgs/ObjFW-devel
@@ -0,0 +1 @@
+ObjFW
\ No newline at end of file
diff --git a/srcpkgs/ObjFW-doc b/srcpkgs/ObjFW-doc
new file mode 120000
index 0000000000000..374aa22431a1d
--- /dev/null
+++ b/srcpkgs/ObjFW-doc
@@ -0,0 +1 @@
+ObjFW
\ No newline at end of file
diff --git a/srcpkgs/ObjFW/template b/srcpkgs/ObjFW/template
new file mode 100644
index 0000000000000..5a680a693d414
--- /dev/null
+++ b/srcpkgs/ObjFW/template
@@ -0,0 +1,51 @@
+# Template file for 'ObjFW'
+pkgname=ObjFW
+version=1.0.3
+revision=1
+build_style=gnu-configure
+hostmakedepends="clang doxygen"
+makedepends="openssl-devel"
+short_desc="Portable framework for the Objective-C language"
+maintainer="Jason Barmparesos <github@jasonb.dev>"
+license="GPL-2.0-only,GPL-3.0-only,QPL-1.0"
+homepage="https://objfw.nil.im"
+changelog="https://objfw.nil.im/file?name=ChangeLog&ci=trunk"
+distfiles="https://objfw.nil.im/downloads/objfw-${version}.tar.gz"
+checksum=1c81d7d03578b2d9084fc5d8722d4eaa4bdc2f3f09ce41231e7ceab8212fae17
+
+do_configure() {
+	if [ -n "${XBPS_CROSS_TRIPLET}" ]; then
+		./configure ${configure_args} \
+			OBJC="clang --target=${XBPS_CROSS_TRIPLET}"
+	else
+		./configure ${configure_args} OBJC=clang
+	fi
+}
+
+do_build() {
+	make ${makejobs}
+	make docs
+}
+
+post_install() {
+	vmkdir usr/share/doc/objfw
+	vcopy "docs/*" usr/share/doc/objfw
+}
+
+ObjFW-devel_package() {
+	short_desc+=" - development files and utilities"
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib/*.so"
+		vmove "usr/bin/objfw-*"
+	}
+}
+
+ObjFW-doc_package() {
+	short_desc+=" - developer documentation"
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/share/doc
+	}
+}

  parent reply	other threads:[~2023-09-27 18:46 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-23 18:59 [PR PATCH] " nsailor
2023-09-23 19:01 ` nsailor
2023-09-23 19:01 ` nsailor
2023-09-23 19:05 ` [PR PATCH] [Updated] [WIP] " nsailor
2023-09-23 19:06 ` nsailor
2023-09-25 20:13 ` [PR PATCH] [Updated] " nsailor
2023-09-25 20:35 ` nsailor
2023-09-27 18:34 ` [PR PATCH] [Updated] [WIP] " nsailor
2023-09-27 18:37 ` [PR PATCH] [Updated] " nsailor
2023-09-27 18:46 ` nsailor [this message]
2023-10-12 20:01 ` nsailor
2023-11-03 21:04 ` [PR PATCH] [Updated] New package: ObjFW-1.0.4 nsailor
2023-11-08 21:21 ` nsailor
2024-02-07  1:44 ` New package: ObjFW-1.0.5 github-actions
2024-02-21  1:44 ` [PR PATCH] [Closed]: " github-actions
2024-02-21  1:48 ` abenson
2024-03-03 14:44 ` nsailor

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=20230927184646.zPCUBDKfVccaSt_HVwX72QfYv9CqqwZfFcox7nMstJk@z \
    --to=nsailor@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).