Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: libdex-0.2.0
@ 2023-03-22 10:49 oreo639
  2023-03-22 11:22 ` [PR PATCH] [Updated] " oreo639
  2023-03-22 16:50 ` [PR PATCH] [Merged]: " paper42
  0 siblings, 2 replies; 3+ messages in thread
From: oreo639 @ 2023-03-22 10:49 UTC (permalink / raw)
  To: ml

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

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

https://github.com/oreo639/void-packages libdex
https://github.com/void-linux/void-packages/pull/42921

New package: libdex-0.2.0
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- 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, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

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

From fd74c578df06da0488d8f477d6a95101f3744952 Mon Sep 17 00:00:00 2001
From: oreo639 <oreo6391@gmail.com>
Date: Tue, 21 Mar 2023 19:04:23 -0700
Subject: [PATCH] New package: libdex-0.2.0

---
 common/shlibs           |  1 +
 srcpkgs/libdex-devel    |  1 +
 srcpkgs/libdex/template | 44 +++++++++++++++++++++++++++++++++++++++++
 3 files changed, 46 insertions(+)
 create mode 120000 srcpkgs/libdex-devel
 create mode 100644 srcpkgs/libdex/template

diff --git a/common/shlibs b/common/shlibs
index 9b12ff7dbe51..f972eebc4d3a 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -430,6 +430,7 @@ libdvdread.so.8 libdvdread-6.1.1_1
 libdvdnav.so.4 libdvdnav-4.1.3_1
 libdvbpsi.so.10 libdvbpsi-1.3.1_1
 libdca.so.0 libdca-0.0.5_1
+libdex-1.so.1 libdex-0.2.0_1
 libmpeg2.so.0 libmpeg2-0.5.1_1
 libmpeg2convert.so.0 libmpeg2-0.5.1_1
 libmng.so.2 libmng-2.0.2_1
diff --git a/srcpkgs/libdex-devel b/srcpkgs/libdex-devel
new file mode 120000
index 000000000000..7f6d81db220a
--- /dev/null
+++ b/srcpkgs/libdex-devel
@@ -0,0 +1 @@
+libdex
\ No newline at end of file
diff --git a/srcpkgs/libdex/template b/srcpkgs/libdex/template
new file mode 100644
index 000000000000..783120b37e4d
--- /dev/null
+++ b/srcpkgs/libdex/template
@@ -0,0 +1,44 @@
+# Template file for 'libdex'
+pkgname=libdex
+version=0.2.0
+revision=1
+build_style=meson
+build_helper=gir
+configure_args="-Dexamples=false
+ -Ddocs=$(vopt_if gtk_doc true false)
+ -Dintrospection=$(vopt_if gir enabled disabled)
+ $(vopt_bool vala vapi)"
+hostmakedepends="pkg-config glib-devel gettext
+ $(vopt_if vala vala) $(vopt_if gtk_doc gi-docgen)"
+makedepends="glib-devel libgirepository-devel libatomic-devel
+ liburing-devel $(vopt_if vala 'vala vala-devel')"
+short_desc="Future-based programming for GLib-based applications"
+maintainer="oreo639 <oreo6391@gmail.com>"
+license="LGPL-2.1-or-later"
+homepage="https://gitlab.gnome.org/GNOME/libdex"
+changelog="https://gitlab.gnome.org/GNOME/libdex/-/raw/main/NEWS"
+distfiles="${GNOME_SITE}/libdex/${version%.*}/libdex-${version}.tar.xz"
+checksum=a0f7566260971a1e4aeb53a07d95c806091257b8789d6fad9931dba872c5070d
+
+# Package build options
+build_options="gir vala gtk_doc"
+build_options_default="gir vala gtk_doc"
+
+libdex-devel_package() {
+	depends="${sourcepkg}-${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		if [ "$build_option_gir" ]; then
+			vmove usr/share/gir-1.0
+		fi
+		if [ "$build_option_vala" ]; then
+			vmove usr/share/vala
+		fi
+		if [ "$build_option_gtk_doc" ]; then
+			vmove usr/share/doc
+		fi
+	}
+}

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PR PATCH] [Updated] New package: libdex-0.2.0
  2023-03-22 10:49 [PR PATCH] New package: libdex-0.2.0 oreo639
@ 2023-03-22 11:22 ` oreo639
  2023-03-22 16:50 ` [PR PATCH] [Merged]: " paper42
  1 sibling, 0 replies; 3+ messages in thread
From: oreo639 @ 2023-03-22 11:22 UTC (permalink / raw)
  To: ml

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

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

https://github.com/oreo639/void-packages libdex
https://github.com/void-linux/void-packages/pull/42921

New package: libdex-0.2.0
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- 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, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

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

From 6e683f65bfbbfb0ad87ebedde146ae044be4fd4a Mon Sep 17 00:00:00 2001
From: oreo639 <oreo6391@gmail.com>
Date: Tue, 21 Mar 2023 19:04:23 -0700
Subject: [PATCH] New package: libdex-0.2.0

---
 common/shlibs                            |  1 +
 srcpkgs/libdex-devel                     |  1 +
 srcpkgs/libdex/patches/libucontext.patch | 10 +++++
 srcpkgs/libdex/template                  | 49 ++++++++++++++++++++++++
 4 files changed, 61 insertions(+)
 create mode 120000 srcpkgs/libdex-devel
 create mode 100644 srcpkgs/libdex/patches/libucontext.patch
 create mode 100644 srcpkgs/libdex/template

diff --git a/common/shlibs b/common/shlibs
index 9b12ff7dbe51..f972eebc4d3a 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -430,6 +430,7 @@ libdvdread.so.8 libdvdread-6.1.1_1
 libdvdnav.so.4 libdvdnav-4.1.3_1
 libdvbpsi.so.10 libdvbpsi-1.3.1_1
 libdca.so.0 libdca-0.0.5_1
+libdex-1.so.1 libdex-0.2.0_1
 libmpeg2.so.0 libmpeg2-0.5.1_1
 libmpeg2convert.so.0 libmpeg2-0.5.1_1
 libmng.so.2 libmng-2.0.2_1
diff --git a/srcpkgs/libdex-devel b/srcpkgs/libdex-devel
new file mode 120000
index 000000000000..7f6d81db220a
--- /dev/null
+++ b/srcpkgs/libdex-devel
@@ -0,0 +1 @@
+libdex
\ No newline at end of file
diff --git a/srcpkgs/libdex/patches/libucontext.patch b/srcpkgs/libdex/patches/libucontext.patch
new file mode 100644
index 000000000000..2cfb3d19a973
--- /dev/null
+++ b/srcpkgs/libdex/patches/libucontext.patch
@@ -0,0 +1,10 @@
+--- a/src/meson.build
++++ b/src/meson.build
+@@ -60,6 +60,7 @@ libdex_headers = [
+ 
+ libdex_deps = [
+   cc.find_library('atomic', required: false),
++  cc.find_library('ucontext', required: false),
+   glib_dep,
+ ]
+ 
diff --git a/srcpkgs/libdex/template b/srcpkgs/libdex/template
new file mode 100644
index 000000000000..4c6f15150f4a
--- /dev/null
+++ b/srcpkgs/libdex/template
@@ -0,0 +1,49 @@
+# Template file for 'libdex'
+pkgname=libdex
+version=0.2.0
+revision=1
+build_style=meson
+build_helper=gir
+configure_args="-Dexamples=false
+ -Ddocs=$(vopt_if gtk_doc true false)
+ -Dintrospection=$(vopt_if gir enabled disabled)
+ $(vopt_bool vala vapi)"
+hostmakedepends="pkg-config glib-devel gettext
+ $(vopt_if vala vala) $(vopt_if gtk_doc gi-docgen)"
+makedepends="glib-devel libgirepository-devel libatomic-devel
+ liburing-devel $(vopt_if vala 'vala vala-devel')"
+short_desc="Future-based programming for GLib-based applications"
+maintainer="oreo639 <oreo6391@gmail.com>"
+license="LGPL-2.1-or-later"
+homepage="https://gitlab.gnome.org/GNOME/libdex"
+changelog="https://gitlab.gnome.org/GNOME/libdex/-/raw/main/NEWS"
+distfiles="${GNOME_SITE}/libdex/${version%.*}/libdex-${version}.tar.xz"
+checksum=a0f7566260971a1e4aeb53a07d95c806091257b8789d6fad9931dba872c5070d
+
+# Package build options
+build_options="gir vala gtk_doc"
+build_options_default="gir vala gtk_doc"
+
+if [ "$XBPS_TARGET_LIBC" = musl ]; then
+	makedepends+=" libucontext-devel"
+	CFLAGS="-D_GNU_SOURCE"
+fi
+
+libdex-devel_package() {
+	depends="${sourcepkg}-${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		if [ "$build_option_gir" ]; then
+			vmove usr/share/gir-1.0
+		fi
+		if [ "$build_option_vala" ]; then
+			vmove usr/share/vala
+		fi
+		if [ "$build_option_gtk_doc" ]; then
+			vmove usr/share/doc
+		fi
+	}
+}

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PR PATCH] [Merged]: New package: libdex-0.2.0
  2023-03-22 10:49 [PR PATCH] New package: libdex-0.2.0 oreo639
  2023-03-22 11:22 ` [PR PATCH] [Updated] " oreo639
@ 2023-03-22 16:50 ` paper42
  1 sibling, 0 replies; 3+ messages in thread
From: paper42 @ 2023-03-22 16:50 UTC (permalink / raw)
  To: ml

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

There's a merged pull request on the void-packages repository

New package: libdex-0.2.0
https://github.com/void-linux/void-packages/pull/42921

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- 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, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-03-22 16:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-22 10:49 [PR PATCH] New package: libdex-0.2.0 oreo639
2023-03-22 11:22 ` [PR PATCH] [Updated] " oreo639
2023-03-22 16:50 ` [PR PATCH] [Merged]: " paper42

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