From: "Daniel Meißner via Guix-patches via" <guix-patches@gnu.org>
To: Liliana Marie Prikler <liliana.prikler@gmail.com>
Cc: 56169@debbugs.gnu.org
Subject: [bug#56169] [PATCH] gnu: Add cambalache.
Date: Thu, 30 Jun 2022 11:16:30 +0200 [thread overview]
Message-ID: <87o7yav7dd.fsf_-_@ruhr-uni-bochum.de> (raw)
In-Reply-To: <bc31173156e4bfc4cd1f317ebdc4c768e3eeb9ff.camel@gmail.com> (Liliana Marie Prikler's message of "Wed, 29 Jun 2022 18:59:07 +0200")
Liliana Marie Prikler writes:
> Am Mittwoch, dem 29.06.2022 um 09:21 +0200 schrieb Daniel Meißner:
>> Hi Liliana,
>>
>> Thanks for packaging Cambalache :-) I have applied your patch to my
>> local Guix checkout and it builds fine. However, running
>>
>> ./pre-inst-env guix shell cambalache -- cambalace
>>
>> Cambalache starts up but I am unable to add any widgets. There are
>> some error messages written to stderr that complain about a missing
>> typelib: CambalachePrivate. I see that you wrap the programme but
>> you did not include the path to the CambalachePrivate typelib. So
>> maybe this is causing the problem?
> Thanks, I'll update the patch accordingly soon™.
I did a first try by wrapping the programme as follows:
--8<---------------cut here---------------start------------->8---
(wrap-program prog
`("GI_TYPELIB_PATH"
suffix
(,(getenv "GI_TYPELIB_PATH")
,(string-append #$output "/lib/girepository-1.0"))))
--8<---------------cut here---------------end--------------->8---
Now, with this, cambalache finds the typelib but complains on two other
things:
1. There's another typelib called Adw which is not found
2. gi.repository.GLib.GError: gdk-pixbuf-error-quark: Format der Bilddatei unbekannt (3)
Now 2. is more severe since it occurs when I add for example a
GtkApplicationWindow to the project. This widget does not show up and I
cannot add other widgets to the application window.
>> Additionally, the icons in the headerbar are missing. This seems to
>> be related to:
>>
>> Missing dependency for Xournal++
>> https://issues.guix.gnu.org/51968
> For this class of bugs, I'd always try to include glib in the guix
> shell and check if the issue persists. We don't build icon caches per
> package, so the only way to fix that is to get XDG_DATA_DIRS into your
> profile.
Thanks for the hint. IIUC, the inclusion of glib into the profile
triggers a hook for generating the appropiate XDG_DATA_DIRS env variable
into the profile, right? Is the reason why icon caches are not
per-package so that different icon-themes can work? Sorry, this is
taking an orthogonal direction.
Best
--
Daniel
next prev parent reply other threads:[~2022-06-30 9:20 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-23 14:17 [bug#56169] [PATCH] gnu: Add cambalache Liliana Marie Prikler
2022-06-23 14:17 ` [bug#56169] [PATCH v2] " Liliana Marie Prikler
2022-07-13 9:37 ` [bug#56169] [PATCH] " Daniel Meißner via Guix-patches via
2022-06-23 14:17 ` [bug#56169] [PATCH v3] " Liliana Marie Prikler
2022-07-31 10:00 ` bug#56169: " Liliana Marie Prikler
2022-06-29 7:21 ` [bug#56169] [PATCH] " Daniel Meißner via Guix-patches via
2022-06-29 16:59 ` Liliana Marie Prikler
2022-06-30 9:16 ` Daniel Meißner via Guix-patches via [this message]
2022-06-30 15:25 ` Liliana Marie Prikler
2022-07-01 11:37 ` Daniel Meißner via Guix-patches via
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87o7yav7dd.fsf_-_@ruhr-uni-bochum.de \
--to=guix-patches@gnu.org \
--cc=56169@debbugs.gnu.org \
--cc=daniel.meissner-i4k@ruhr-uni-bochum.de \
--cc=liliana.prikler@gmail.com \
/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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).