Github messages for voidlinux
 help / color / mirror / Atom feed
From: caffe3 <caffe3@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: libldm-0.25
Date: Mon, 23 Jan 2023 17:27:17 +0100	[thread overview]
Message-ID: <20230123162717.0mEsGhuQq29HEpen3g6SrgswdsN6RPXZq3-Il5YJ_Cs@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-41776@inbox.vuxu.org>

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

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

https://github.com/caffe3/void-packages libldm
https://github.com/void-linux/void-packages/pull/41776

New package: libldm-0.25
I tested the changes in this PR: YES
This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): YES
I built this PR locally for: (x86_64-GLIBC)

 

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

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

From 102c79b203283e7a86d29dc2b248b90191950d37 Mon Sep 17 00:00:00 2001
From: Tai Chi Minh Ralph Eastwood <caffe@disroot.org>
Date: Sat, 21 Jan 2023 16:05:59 +0100
Subject: [PATCH] New package: libldm-0.25

---
 common/shlibs           |  1 +
 srcpkgs/ldmtool         |  1 +
 srcpkgs/libldm-devel    |  1 +
 srcpkgs/libldm/template | 56 +++++++++++++++++++++++++++++++++++++++++
 4 files changed, 59 insertions(+)
 create mode 120000 srcpkgs/ldmtool
 create mode 120000 srcpkgs/libldm-devel
 create mode 100644 srcpkgs/libldm/template

diff --git a/common/shlibs b/common/shlibs
index 85c08f13a05f..688f871b87e7 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -443,6 +443,7 @@ libSDL_ttf-2.0.so.0 SDL_ttf-2.0.9_1
 libKScreenLocker.so.5 kscreenlocker-5.8.4_1
 libparted.so.2 libparted-3.1_1
 libparted-fs-resize.so.0 libparted-3.1_1
+libldm-1.0.so.0 libldm-0.25_1
 libntfs-3g.so.89 ntfs-3g-2021.8.22_1
 libruby.so.3.1 ruby-3.1.0_1
 librw.so.0 rankwidth-0.9_1
diff --git a/srcpkgs/ldmtool b/srcpkgs/ldmtool
new file mode 120000
index 000000000000..78f1cc5d8430
--- /dev/null
+++ b/srcpkgs/ldmtool
@@ -0,0 +1 @@
+libldm
\ No newline at end of file
diff --git a/srcpkgs/libldm-devel b/srcpkgs/libldm-devel
new file mode 120000
index 000000000000..78f1cc5d8430
--- /dev/null
+++ b/srcpkgs/libldm-devel
@@ -0,0 +1 @@
+libldm
\ No newline at end of file
diff --git a/srcpkgs/libldm/template b/srcpkgs/libldm/template
new file mode 100644
index 000000000000..8d9a7e56b860
--- /dev/null
+++ b/srcpkgs/libldm/template
@@ -0,0 +1,56 @@
+# Template file for 'libldm'
+pkgname=libldm
+version=0.2.5
+revision=1
+build_style=gnu-configure
+hostmakedepends="autogen automake libtool pkg-config glib-devel gtk-doc"
+makedepends="libuuid-devel libglib-devel json-glib-devel zlib-devel device-mapper-devel"
+short_desc="Device mapper for Microsoft Windows Dynamic Disks"
+maintainer="Tai Chi Minh Ralph Eastwood <caffe@disroot.org>"
+license="GPL-3.0-or-later, LGPL-3.0-or-later"
+homepage="https://github.com/mdbooth/libldm"
+distfiles="https://github.com/mdbooth/libldm/archive/refs/tags/libldm-${version}.tar.gz"
+checksum=61bb2f2367b1df59f818cb96794d1770a0def956bd2c343dccf1425dae3021b5
+make_check=no # needs root permissions to mount and run dmsetup
+
+if [ "$CROSS_BUILD" ]; then
+	configure_args+=" --host=${XBPS_CROSS_TRIPLET}"
+fi
+
+pre_configure() {
+	gtkdocize
+	autoreconf -fi
+}
+
+post_install() {
+	# ldm-1.0.pc conflicts with linux-driver-management-devel's pkg-config, so rename
+	mv ${DESTDIR}/usr/lib/pkgconfig/ldm-1.0.pc ${DESTDIR}/usr/lib/pkgconfig/libldm-1.0.pc
+}
+
+ldmtool_package() {
+	short_desc+=" - tool"
+	license="GPL-3.0-or-later"
+	pkg_install() {
+		vmove "usr/bin/ldmtool"
+	}
+}
+
+libldm_package() {
+	short_desc+=" - shared library"
+	license="LGPL-3.0-or-later"
+	pkg_install() {
+		vmove "usr/lib/*.so.*"
+	}
+}
+
+libldm-devel_package() {
+	depends="libldm>=${version}_${revision}"
+	short_desc+=" - development files"
+	license="LGPL-3.0-or-later"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/*.so"
+	}
+}

  parent reply	other threads:[~2023-01-23 16:27 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-21 18:08 [PR PATCH] " caffe3
2023-01-21 18:19 ` [PR PATCH] [Updated] " caffe3
2023-01-21 18:20 ` caffe3
2023-01-21 18:52 ` caffe3
2023-01-21 23:12 ` caffe3
2023-01-21 23:13 ` caffe3
2023-01-22  2:52 ` [PR PATCH] [Updated] " caffe3
2023-01-22  2:54 ` caffe3
2023-01-22 10:41 ` caffe3
2023-01-23 16:27 ` caffe3 [this message]
2023-01-23 16:28 ` caffe3
2023-01-28  7:23 ` [PR PATCH] [Updated] " caffe3
2023-04-29  1:52 ` github-actions
2023-05-14  1:55 ` [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=20230123162717.0mEsGhuQq29HEpen3g6SrgswdsN6RPXZq3-Il5YJ_Cs@z \
    --to=caffe3@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).