From: nsailor <nsailor@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: ObjFW-1.0.3
Date: Mon, 25 Sep 2023 22:35:24 +0200 [thread overview]
Message-ID: <20230925203524.puOTJZuJoicMUP5Wmf3ADpx9QEoTV11451sKFCcheEk@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: 4152 bytes --]
From feeab71491988ed1ee7a79f90f52c4560733e01c Mon Sep 17 00:00:00 2001
From: Jason Barmparesos <github@jasonb.dev>
Date: Sat, 23 Sep 2023 18:34:42 +0000
Subject: [PATCH 1/3] New package: ObjFW-1.0.3
---
common/shlibs | 3 +++
srcpkgs/ObjFW-devel | 1 +
srcpkgs/ObjFW/template | 23 +++++++++++++++++++++++
3 files changed, 27 insertions(+)
create mode 120000 srcpkgs/ObjFW-devel
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/template b/srcpkgs/ObjFW/template
new file mode 100644
index 0000000000000..05fdb0959054f
--- /dev/null
+++ b/srcpkgs/ObjFW/template
@@ -0,0 +1,23 @@
+# Template file for 'ObjFW'
+pkgname=ObjFW
+version=1.0.3
+revision=1
+build_style=gnu-configure
+makedepends="openssl-devel clang"
+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
+
+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-*"
+ }
+}
From 25b3464539f08091be27dcd7599cd7df1c43e06f Mon Sep 17 00:00:00 2001
From: Jason Barmparesos <github@jasonb.dev>
Date: Mon, 25 Sep 2023 20:12:49 +0000
Subject: [PATCH 2/3] Explicitly set clang
---
srcpkgs/ObjFW/template | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/srcpkgs/ObjFW/template b/srcpkgs/ObjFW/template
index 05fdb0959054f..9891a6cb43102 100644
--- a/srcpkgs/ObjFW/template
+++ b/srcpkgs/ObjFW/template
@@ -12,6 +12,10 @@ changelog="https://objfw.nil.im/file?name=ChangeLog&ci=trunk"
distfiles="https://objfw.nil.im/downloads/objfw-${version}.tar.gz"
checksum=1c81d7d03578b2d9084fc5d8722d4eaa4bdc2f3f09ce41231e7ceab8212fae17
+pre_configure() {
+ export OBJC="clang"
+}
+
ObjFW-devel_package() {
short_desc+=" - development files and utilities"
depends="${sourcepkg}>=${version}_${revision}"
@@ -21,3 +25,4 @@ ObjFW-devel_package() {
vmove "usr/bin/objfw-*"
}
}
+
From 200f92344fea9bb73c694a84be26559e4ae719eb Mon Sep 17 00:00:00 2001
From: Jason Barmparesos <github@jasonb.dev>
Date: Mon, 25 Sep 2023 20:35:00 +0000
Subject: [PATCH 3/3] Move clang dependency to hostmakedepends
---
srcpkgs/ObjFW/template | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/ObjFW/template b/srcpkgs/ObjFW/template
index 9891a6cb43102..3da98a5ffd6a7 100644
--- a/srcpkgs/ObjFW/template
+++ b/srcpkgs/ObjFW/template
@@ -3,7 +3,8 @@ pkgname=ObjFW
version=1.0.3
revision=1
build_style=gnu-configure
-makedepends="openssl-devel clang"
+hostmakedepends="clang"
+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"
@@ -12,10 +13,6 @@ changelog="https://objfw.nil.im/file?name=ChangeLog&ci=trunk"
distfiles="https://objfw.nil.im/downloads/objfw-${version}.tar.gz"
checksum=1c81d7d03578b2d9084fc5d8722d4eaa4bdc2f3f09ce41231e7ceab8212fae17
-pre_configure() {
- export OBJC="clang"
-}
-
ObjFW-devel_package() {
short_desc+=" - development files and utilities"
depends="${sourcepkg}>=${version}_${revision}"
next prev parent reply other threads:[~2023-09-25 20:35 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 [this message]
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
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=20230925203524.puOTJZuJoicMUP5Wmf3ADpx9QEoTV11451sKFCcheEk@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).