pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pika-backup: get this closer to building



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <tk%giga.or.at@localhost>
Pushed By:	wiz
Date:		Fri Dec 10 18:11:57 2021 +0100
Changeset:	e09e72a1fcbf1bd62ec217fc637c70a233828588

Modified Files:
	pika-backup/Makefile
	pika-backup/cargo-depends.mk
Added Files:
	pika-backup/TODO

Log Message:
pika-backup: get this closer to building

Fails in zbus, but latest zbus upstream builds from git. Perhaps switch
to a newer version?

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=e09e72a1fcbf1bd62ec217fc637c70a233828588

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 pika-backup/Makefile         | 18 ++++++++++++++++++
 pika-backup/TODO             | 14 ++++++++++++++
 pika-backup/cargo-depends.mk |  2 --
 3 files changed, 32 insertions(+), 2 deletions(-)

diffs:
diff --git a/pika-backup/Makefile b/pika-backup/Makefile
index c8c78b27ee..b79eabfe4a 100644
--- a/pika-backup/Makefile
+++ b/pika-backup/Makefile
@@ -11,8 +11,26 @@ HOMEPAGE=	https://gitlab.gnome.org/World/pika-backup/
 COMMENT=	TODO: Short description of the package
 #LICENSE=	# TODO: (see mk/license.mk)
 
+REPLACE_PYTHON+=	build-aux/*.py
+
+USE_LANGUAGES+=	c c++
+
+.include "../../mk/bsd.prefs.mk"
+
+# msgfmt: unknown option -- desktop
+.if ${OPSYS} == "NetBSD"
+TOOLS_PLATFORM.msgfmt=
+.endif
+TOOL_DEPENDS+=	gettext-tools>=0.19.4nb1:../../devel/gettext-tools
+
+USE_TOOLS+=	mgsfmt pkg-config
+
 .include "cargo-depends.mk"
 
 .include "../../devel/meson/build.mk"
+.include "../../lang/python/application.mk"
 .include "../../lang/rust/cargo.mk"
+.include "../../devel/libhandy1/buildlink3.mk"
+.include "../../sysutils/dbus/buildlink3.mk"
+.include "../../x11/gtk3/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/pika-backup/TODO b/pika-backup/TODO
new file mode 100644
index 0000000000..c502dc78b3
--- /dev/null
+++ b/pika-backup/TODO
@@ -0,0 +1,14 @@
+   Compiling zbus v1.9.1
+error[E0432]: unresolved import `nix::sys::socket::sockopt::PeerCredentials`
+   --> /scratch/wip/pika-backup/work/vendor/zbus-1.9.1/src/connection.rs:163:44
+    |
+163 |         use nix::sys::socket::{getsockopt, sockopt::PeerCredentials};
+    |                                            ^^^^^^^^^^^^^^^^^^^^^^^^ no `PeerCredentials` in `sys::socket::sockopt`
+
+error[E0432]: unresolved import `nix::sys::socket::sockopt::PeerCredentials`
+   --> /scratch/wip/pika-backup/work/vendor/zbus-1.9.1/src/azync/connection.rs:180:44
+    |
+180 |         use nix::sys::socket::{getsockopt, sockopt::PeerCredentials};
+    |                                            ^^^^^^^^^^^^^^^^^^^^^^^^ no `PeerCredentials` in `sys::socket::sockopt`
+
+For more information about this error, try `rustc --explain E0432`.
diff --git a/pika-backup/cargo-depends.mk b/pika-backup/cargo-depends.mk
index e8f4ba1af3..45c3dad852 100644
--- a/pika-backup/cargo-depends.mk
+++ b/pika-backup/cargo-depends.mk
@@ -198,5 +198,3 @@ CARGO_CRATE_DEPENDS+=	zeroize-1.3.0
 CARGO_CRATE_DEPENDS+=	zvariant-2.6.0
 CARGO_CRATE_DEPENDS+=	zvariant_derive-2.6.0
 CARGO_CRATE_DEPENDS+=	zxcvbn-2.1.1
-USE_PKGLOCALEDIR=	yes
-USE_LANGUAGES=		# none


Home | Main Index | Thread Index | Old Index