pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pika-backup: finish package
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <wiz%gatalith.at@localhost>
Pushed By: wiz
Date: Sun Sep 18 22:26:09 2022 +0200
Changeset: 250add771d08e166d590a54e220897ff1aafcdd5
Modified Files:
pika-backup/Makefile
pika-backup/PLIST
pika-backup/TODO
pika-backup/distinfo
Added Files:
pika-backup/patches/patch-data_meson.build
Log Message:
pika-backup: finish package
Now builds, but errors out during startup, see
https://gitlab.gnome.org/World/pika-backup/-/issues/269
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=250add771d08e166d590a54e220897ff1aafcdd5
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
pika-backup/Makefile | 7 ++
pika-backup/PLIST | 113 ++++++++++++++++++++++++++++-
pika-backup/TODO | 18 ++---
pika-backup/distinfo | 1 +
pika-backup/patches/patch-data_meson.build | 22 ++++++
5 files changed, 149 insertions(+), 12 deletions(-)
diffs:
diff --git a/pika-backup/Makefile b/pika-backup/Makefile
index 09a6ced31a..ec4593da35 100644
--- a/pika-backup/Makefile
+++ b/pika-backup/Makefile
@@ -23,6 +23,12 @@ TOOLS_PLATFORM.msgfmt=
.endif
TOOL_DEPENDS+= gettext-tools>=0.19.4nb1:../../devel/gettext-tools
+# for gettext-sys crate
+MAKE_ENV+= GETTEXT_DIR=${PREFIX}
+MAKE_ENV+= GETTEXT_SYSTEM=enabled
+
+RUSTFLAGS+= -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.libadwaita}/lib
+
USE_TOOLS+= itstool msgfmt pkg-config
.include "cargo-depends.mk"
@@ -32,6 +38,7 @@ USE_TOOLS+= itstool msgfmt pkg-config
.include "../../lang/rust/cargo.mk"
BUILDLINK_API_DEPENDS.libadwaita+= libadwaita>=1.1
.include "../../devel/libadwaita/buildlink3.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../sysutils/dbus/buildlink3.mk"
.include "../../security/libsecret/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/buildlink3.mk"
diff --git a/pika-backup/PLIST b/pika-backup/PLIST
index 92ba51a2d7..5e4d63d3d3 100644
--- a/pika-backup/PLIST
+++ b/pika-backup/PLIST
@@ -1,4 +1,111 @@
@comment $NetBSD$
-@comment TODO: to fill this file with the file listing:
-@comment TODO: 1. run "/usr/bin/make package"
-@comment TODO: 2. run "/usr/bin/make print-PLIST"
+bin/pika-backup
+bin/pika-backup-monitor
+etc/xdg/autostart/org.gnome.World.PikaBackup.Monitor.desktop
+share/applications/org.gnome.World.PikaBackup.Monitor.desktop
+share/applications/org.gnome.World.PikaBackup.desktop
+share/dbus-1/services/org.gnome.World.PikaBackup.Api.service
+share/dbus-1/services/org.gnome.World.PikaBackup.Monitor.service
+share/dbus-1/services/org.gnome.World.PikaBackup.service
+share/help/C/pika-backup/index.page
+share/help/C/pika-backup/media/archives-button.svg
+share/help/C/pika-backup/media/setup-button.svg
+share/help/C/pika-backup/recovery-other.page
+share/help/C/pika-backup/recovery-pika.page
+share/help/C/pika-backup/setup-drive.page
+share/help/C/pika-backup/setup-gvfs.page
+share/help/cs/pika-backup/index.page
+share/help/cs/pika-backup/media/archives-button.svg
+share/help/cs/pika-backup/media/setup-button.svg
+share/help/cs/pika-backup/recovery-other.page
+share/help/cs/pika-backup/recovery-pika.page
+share/help/cs/pika-backup/setup-drive.page
+share/help/cs/pika-backup/setup-gvfs.page
+share/help/da/pika-backup/index.page
+share/help/da/pika-backup/media/archives-button.svg
+share/help/da/pika-backup/media/setup-button.svg
+share/help/da/pika-backup/recovery-other.page
+share/help/da/pika-backup/recovery-pika.page
+share/help/da/pika-backup/setup-drive.page
+share/help/da/pika-backup/setup-gvfs.page
+share/help/de/pika-backup/index.page
+share/help/de/pika-backup/media/archives-button.svg
+share/help/de/pika-backup/media/setup-button.svg
+share/help/de/pika-backup/recovery-other.page
+share/help/de/pika-backup/recovery-pika.page
+share/help/de/pika-backup/setup-drive.page
+share/help/de/pika-backup/setup-gvfs.page
+share/help/eu/pika-backup/index.page
+share/help/eu/pika-backup/media/archives-button.svg
+share/help/eu/pika-backup/media/setup-button.svg
+share/help/eu/pika-backup/recovery-other.page
+share/help/eu/pika-backup/recovery-pika.page
+share/help/eu/pika-backup/setup-drive.page
+share/help/eu/pika-backup/setup-gvfs.page
+share/help/hu/pika-backup/index.page
+share/help/hu/pika-backup/media/archives-button.svg
+share/help/hu/pika-backup/media/setup-button.svg
+share/help/hu/pika-backup/recovery-other.page
+share/help/hu/pika-backup/recovery-pika.page
+share/help/hu/pika-backup/setup-drive.page
+share/help/hu/pika-backup/setup-gvfs.page
+share/help/nl/pika-backup/index.page
+share/help/nl/pika-backup/media/archives-button.svg
+share/help/nl/pika-backup/media/setup-button.svg
+share/help/nl/pika-backup/recovery-other.page
+share/help/nl/pika-backup/recovery-pika.page
+share/help/nl/pika-backup/setup-drive.page
+share/help/nl/pika-backup/setup-gvfs.page
+share/help/ru/pika-backup/index.page
+share/help/ru/pika-backup/media/archives-button.svg
+share/help/ru/pika-backup/media/setup-button.svg
+share/help/ru/pika-backup/recovery-other.page
+share/help/ru/pika-backup/recovery-pika.page
+share/help/ru/pika-backup/setup-drive.page
+share/help/ru/pika-backup/setup-gvfs.page
+share/help/sv/pika-backup/index.page
+share/help/sv/pika-backup/media/archives-button.svg
+share/help/sv/pika-backup/media/setup-button.svg
+share/help/sv/pika-backup/recovery-other.page
+share/help/sv/pika-backup/recovery-pika.page
+share/help/sv/pika-backup/setup-drive.page
+share/help/sv/pika-backup/setup-gvfs.page
+share/help/uk/pika-backup/index.page
+share/help/uk/pika-backup/media/archives-button.svg
+share/help/uk/pika-backup/media/setup-button.svg
+share/help/uk/pika-backup/recovery-other.page
+share/help/uk/pika-backup/recovery-pika.page
+share/help/uk/pika-backup/setup-drive.page
+share/help/uk/pika-backup/setup-gvfs.page
+share/icons/hicolor/scalable/apps/org.gnome.World.PikaBackup.svg
+share/icons/hicolor/symbolic/apps/org.gnome.World.PikaBackup-symbolic.svg
+share/locale/ca/LC_MESSAGES/pika-backup.mo
+share/locale/cs/LC_MESSAGES/pika-backup.mo
+share/locale/da/LC_MESSAGES/pika-backup.mo
+share/locale/de/LC_MESSAGES/pika-backup.mo
+share/locale/en_GB/LC_MESSAGES/pika-backup.mo
+share/locale/es/LC_MESSAGES/pika-backup.mo
+share/locale/eu/LC_MESSAGES/pika-backup.mo
+share/locale/fi/LC_MESSAGES/pika-backup.mo
+share/locale/fr/LC_MESSAGES/pika-backup.mo
+share/locale/gl/LC_MESSAGES/pika-backup.mo
+share/locale/he/LC_MESSAGES/pika-backup.mo
+share/locale/hr/LC_MESSAGES/pika-backup.mo
+share/locale/hu/LC_MESSAGES/pika-backup.mo
+share/locale/id/LC_MESSAGES/pika-backup.mo
+share/locale/it/LC_MESSAGES/pika-backup.mo
+share/locale/nl/LC_MESSAGES/pika-backup.mo
+share/locale/oc/LC_MESSAGES/pika-backup.mo
+share/locale/pl/LC_MESSAGES/pika-backup.mo
+share/locale/pt/LC_MESSAGES/pika-backup.mo
+share/locale/pt_BR/LC_MESSAGES/pika-backup.mo
+share/locale/ro/LC_MESSAGES/pika-backup.mo
+share/locale/ru/LC_MESSAGES/pika-backup.mo
+share/locale/sl/LC_MESSAGES/pika-backup.mo
+share/locale/sr/LC_MESSAGES/pika-backup.mo
+share/locale/sv/LC_MESSAGES/pika-backup.mo
+share/locale/tr/LC_MESSAGES/pika-backup.mo
+share/locale/uk/LC_MESSAGES/pika-backup.mo
+share/locale/vi/LC_MESSAGES/pika-backup.mo
+share/locale/zh_CN/LC_MESSAGES/pika-backup.mo
+share/metainfo/org.gnome.World.PikaBackup.metainfo.xml
diff --git a/pika-backup/TODO b/pika-backup/TODO
index 23876353a2..b0b2b1f384 100644
--- a/pika-backup/TODO
+++ b/pika-backup/TODO
@@ -1,9 +1,9 @@
- --- localename.o ---
- In file included from /tmp/ted7-0/gettext/gettext-runtime/gnulib-lib/localename.c:33:
- ./locale.h:687:11: fatal error: setlocale_null.h: No such file or directory
- 687 | # include "setlocale_null.h"
- | ^~~~~~~~~~~~~~~~~~
- compilation terminated.
- *** [localename.o] Error code 1
-
- make[6]: stopped in /tmp/ted7-0/build/gettext-runtime/gnulib-lib
+Builds fine, but when I try to start it I see:
+
+thread 'main' panicked at 'Failed to create ZBus session connection.: Io(Os { code 2, Kind: NotFound, message: "No such file or directory" })', src/globals.rs:12:14
+
+I ktraced it and see that this error message after the program tries to access "/run/user/1000/bus".
+
+Reported upstream:
+
+https://gitlab.gnome.org/World/pika-backup/-/issues/269
diff --git a/pika-backup/distinfo b/pika-backup/distinfo
index 30d529409f..4e68657e34 100644
--- a/pika-backup/distinfo
+++ b/pika-backup/distinfo
@@ -633,3 +633,4 @@ Size (zvariant_derive-3.2.1.crate) = 10935 bytes
BLAKE2s (zxcvbn-2.2.1.crate) = 153688e6455198404c4700b542425eef0261ef562b6ba17110ccbb82aa87b791
SHA512 (zxcvbn-2.2.1.crate) = eaa45b3b2c59307d7ec312bc6c170fe2d604c8c98896bf0ee2c2e3cf6e0642587710f81340afc8555582fada2efac1891188ee4fb7c14456f7b6f589b95be914
Size (zxcvbn-2.2.1.crate) = 423554 bytes
+SHA1 (patch-data_meson.build) = a2d2269fa6c30e8c2731a4a639ee7f9088c80c87
diff --git a/pika-backup/patches/patch-data_meson.build b/pika-backup/patches/patch-data_meson.build
new file mode 100644
index 0000000000..1412b8d175
--- /dev/null
+++ b/pika-backup/patches/patch-data_meson.build
@@ -0,0 +1,22 @@
+$NetBSD$
+
+Let pkgsrc deal with this itself, since meson does not provide $DESTDIR for its rules.
+
+--- data/meson.build.orig 2022-07-12 21:56:53.000000000 +0000
++++ data/meson.build
+@@ -116,15 +116,3 @@ else
+ resources_path = resources.full_path()
+ endif
+
+-# Post install
+-
+-meson.add_install_script(
+- find_program('update-desktop-database').path(),
+- usrdir / 'applications'
+-)
+-
+-meson.add_install_script(
+- find_program('gtk4-update-icon-cache').path(),
+- '-qtf',
+- usrdir / 'icons' / 'hicolor'
+-)
Home |
Main Index |
Thread Index |
Old Index