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.4
Date: Wed, 08 Nov 2023 22:21:33 +0100	[thread overview]
Message-ID: <20231108212133.nks2lKeiAGNGG-l8pMidHgX3dK4Za5cLXcxY06lYKQw@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.4
<!-- 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: 2776 bytes --]

From dc8e99e61a177cba346c204b6e6271df195462f6 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.5

---
 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 36ddac17b0257..90a22944053d5 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4267,3 +4267,6 @@ libgrass_gproj.8.3.so grass-8.3.0_1
 libgrass_imagery.8.3.so grass-8.3.0_1
 libgrass_raster.8.3.so grass-8.3.0_1
 libgrass_vector.8.3.so grass-8.3.0_1
+libobjfw.so.1 ObjFW-1.0.5_1
+libobjfwrt.so.1 ObjFW-1.0.5_1
+libobjfwtls.so.1 ObjFW-1.0.5_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..f5f9e688c09a4
--- /dev/null
+++ b/srcpkgs/ObjFW/template
@@ -0,0 +1,51 @@
+# Template file for 'ObjFW'
+pkgname=ObjFW
+version=1.0.5
+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=798bda0590970fea10d5c8064e98088bb9960b3bc0475d92db443b0df9f205c4
+
+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-11-08 21:21 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-23 18:59 [PR PATCH] New package: ObjFW-1.0.3 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
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 [this message]
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=20231108212133.nks2lKeiAGNGG-l8pMidHgX3dK4Za5cLXcxY06lYKQw@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).