Re: Inkscape icons missing

2022-03-23 Thread Luis Felipe
On Wednesday, March 23rd, 2022 at 6:27 PM, Zelphir Kaltstahl 
 wrote:

> The tree command yields the following:
> 

> 
> $ guix shell inkscape -- which inkscape
> /gnu/store/x4q0vb1m3mfi3kpngdzawfw4iwkncxvr-profile/bin/inkscape
> 

> $ guix shell inkscape -- tree 
> /gnu/store/x4q0vb1m3mfi3kpngdzawfw4iwkncxvr-profile/
> /gnu/store/x4q0vb1m3mfi3kpngdzawfw4iwkncxvr-profile/
> ├── bin -> /gnu/store/bbyssrx6lkg69lp61njsinvp19nssyc4-inkscape-1.1.1/bin

Oh, this won't print the whole thing (278 directories, 3343 files in my case).

So what about running "tree 
/gnu/store/bbyssrx6lkg69lp61njsinvp19nssyc4-inkscape-1.1.1" instead? It is that 
tree which shows me a lot of icon themes, including cursors.





publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: Inkscape icons missing

2022-03-23 Thread Zelphir Kaltstahl

Hello Luis!

On 3/23/22 16:46, Luis Felipe wrote:

Hi Zelphir,

On Wednesday, March 23rd, 2022 at 11:11 AM, Zelphir 
Kaltstahl  wrote:


Hello Guix users!

I've noticed an issue with Inkscape installed via Guix and wonder whether only I
have this issue, or it is more wide spread:

When I install Inkscape using the following command:

guix shell inkscape -- inscape

I get a running Inkscape and it seems to work fine, but all the icons of buttons
of the UI are missing and the icons for cursors are also missing. For example,
when I hover over a frame border, which I can drag to the right or left to
change size of frames that make the UI, like for example the alignment frame
border (or area or whatever you want to call it).

Out of curiosity, you still see no icons when you change the Appearance in the 
Quick Setup tab in the Welcome screen that is shown when you start Inkscape?

I'm using the following Inkscape in a Guix System with GNOME (guix from 
February, though), but icons work fine.

inkscape 1.1.1 out /gnu/store/zlcsrryyhl9h7r29m71lhrbwbfbm371k-inkscape-1.1.1


Depending on what "Appearance" option I choose, some of the icons show up, but I 
guess all the icons specific to Inkscape buttons are missing. For example I see 
the icons for things like copy, cut, and paste for some of the Appearance 
options, but see none of the icons for "Align and Distribute" in Inkscape.



I do not remember this problem happening before, but I also changed my desktop
environment to XFCE on this machine (from Cinnamon), so that might change things
with the icon locations perhaps. I think though, that probably the icons should
be a dependency of the application.

In my case, it seems all necessary icons are included in the inkscape tree when 
I run:

tree /gnu/store/zlcsrryyhl9h7r29m71lhrbwbfbm371k-inkscape-1.1.1


The tree command yields the following:


$ guix shell inkscape -- which inkscape
/gnu/store/x4q0vb1m3mfi3kpngdzawfw4iwkncxvr-profile/bin/inkscape

$ guix shell inkscape -- tree 
/gnu/store/x4q0vb1m3mfi3kpngdzawfw4iwkncxvr-profile/
/gnu/store/x4q0vb1m3mfi3kpngdzawfw4iwkncxvr-profile/
├── bin -> /gnu/store/bbyssrx6lkg69lp61njsinvp19nssyc4-inkscape-1.1.1/bin
├── etc
│   ├── ld.so.cache -> 
/gnu/store/bbyssrx6lkg69lp61njsinvp19nssyc4-inkscape-1.1.1/etc/ld.so.cache
│   └── profile
├── lib
│   ├── gdk-pixbuf-2.0
│   │   └── 2.10.0
│   │   └── loaders.cache -> 
/gnu/store/ms58kdd058bf2flw9kc604cfpbmndc2m-gdk-pixbuf-loaders-cache-file/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
│   ├── gtk-3.0 -> 
/gnu/store/qxlyb6ciw17n04bzrcr4j4xil4bx6vvc-gtk-im-modules/lib/gtk-3.0
│   └── inkscape -> 
/gnu/store/bbyssrx6lkg69lp61njsinvp19nssyc4-inkscape-1.1.1/lib/inkscape
├── manifest
└── share
├── applications
│   ├── mimeinfo.cache -> 
/gnu/store/carhcdjylnf9nfl913jyhwcxdggcz9mi-xdg-desktop-database/share/applications/mimeinfo.cache
│   └── org.inkscape.Inkscape.desktop -> 
/gnu/store/carhcdjylnf9nfl913jyhwcxdggcz9mi-xdg-desktop-database/share/applications/org.inkscape.Inkscape.desktop
├── bash-completion -> 
/gnu/store/bbyssrx6lkg69lp61njsinvp19nssyc4-inkscape-1.1.1/share/bash-completion
├── doc -> 
/gnu/store/bbyssrx6lkg69lp61njsinvp19nssyc4-inkscape-1.1.1/share/doc
├── emacs -> 
/gnu/store/m2s6frq15825zr2205b99p4x5wd2iq9h-emacs-subdirs/share/emacs
├── glib-2.0 -> 
/gnu/store/vrm5dcg38vqgymabgakg6jjrw9q3g2j0-glib-schemas/share/glib-2.0
├── icons
│   └── hicolor
│   ├── 16x16
│   │   └── apps
│   │   └── org.inkscape.Inkscape.png -> 
/gnu/store/5613nwa7wn1ypirq8rj98fafk4l7zvd2-gtk-icon-themes/share/icons/hicolor/16x16/apps/org.inkscape.Inkscape.png
│   ├── 22x22
│   │   └── apps
│   │   └── org.inkscape.Inkscape.png -> 
/gnu/store/5613nwa7wn1ypirq8rj98fafk4l7zvd2-gtk-icon-themes/share/icons/hicolor/22x22/apps/org.inkscape.Inkscape.png
│   ├── 24x24
│   │   └── apps
│   │   └── org.inkscape.Inkscape.png -> 
/gnu/store/5613nwa7wn1ypirq8rj98fafk4l7zvd2-gtk-icon-themes/share/icons/hicolor/24x24/apps/org.inkscape.Inkscape.png
│   ├── 256x256
│   │   └── apps
│   │   └── org.inkscape.Inkscape.png -> 
/gnu/store/5613nwa7wn1ypirq8rj98fafk4l7zvd2-gtk-icon-themes/share/icons/hicolor/256x256/apps/org.inkscape.Inkscape.png
│   ├── 32x32
│   │   └── apps
│   │   └── org.inkscape.Inkscape.png -> 
/gnu/store/5613nwa7wn1ypirq8rj98fafk4l7zvd2-gtk-icon-themes/share/icons/hicolor/32x32/apps/org.inkscape.Inkscape.png
│   ├── 48x48
│   │   └── apps
│   │   └── org.inkscape.Inkscape.png -> 
/gnu/store/5613nwa7wn1ypirq8rj98fafk4l7zvd2-gtk-icon-themes/share/icons/hicolor/48x48/apps/org.inkscape.Inkscape.png
│   ├── icon-theme.cache -> 
/gnu/store/5613nwa7wn1ypirq8rj98fafk4l7zvd2-gtk-icon-themes/share/icons/hicolor/icon-theme.cache
│   ├── scalable
│   │   └── apps
│   │   └── org.inkscape.Inkscape.svg -> 
/gnu/st

Professional audio setup (JACK, PipeWire)

2022-03-23 Thread Nathan Dehnel
I had a similar error a while ago: https://github.com/rncbc/qjackctl/issues/96



Re: Inkscape icons missing

2022-03-23 Thread Luis Felipe
Hi Zelphir,

On Wednesday, March 23rd, 2022 at 11:11 AM, Zelphir Kaltstahl 
 wrote:

> Hello Guix users!
> 

> I've noticed an issue with Inkscape installed via Guix and wonder whether 
> only I
> have this issue, or it is more wide spread:
> 

> When I install Inkscape using the following command:
> 

> guix shell inkscape -- inscape
> 

> I get a running Inkscape and it seems to work fine, but all the icons of 
> buttons
> of the UI are missing and the icons for cursors are also missing. For example,
> when I hover over a frame border, which I can drag to the right or left to
> change size of frames that make the UI, like for example the alignment frame
> border (or area or whatever you want to call it).

Out of curiosity, you still see no icons when you change the Appearance in the 
Quick Setup tab in the Welcome screen that is shown when you start Inkscape?

I'm using the following Inkscape in a Guix System with GNOME (guix from 
February, though), but icons work fine.

inkscape 1.1.1 out /gnu/store/zlcsrryyhl9h7r29m71lhrbwbfbm371k-inkscape-1.1.1

> I do not remember this problem happening before, but I also changed my desktop
> environment to XFCE on this machine (from Cinnamon), so that might change 
> things
> with the icon locations perhaps. I think though, that probably the icons 
> should
> be a dependency of the application.

In my case, it seems all necessary icons are included in the inkscape tree when 
I run:

tree /gnu/store/zlcsrryyhl9h7r29m71lhrbwbfbm371k-inkscape-1.1.1


publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: BUG? emacs helm conflicting entries

2022-03-23 Thread jgart
On Wed, 23 Mar 2022 12:12:33 +0200 Efraim Flashner  
wrote:
> > ```
> >  λ guix upgrade *
> > The following packages will be upgraded:
> >emacs-guix(dependencies or package changed)
> >emacs-helm-company(dependencies or package changed)
> >emacs-helm-descbinds  (dependencies or package changed)
> >emacs-helm-eww(dependencies or package changed)
> >emacs-helm-org(dependencies or package changed)
> >emacs-helm-selector   (dependencies or package changed)
> >emacs-helm-shell-history  (dependencies or package changed)
> >emacs-helm-slime  (dependencies or package changed)
> >emacs-helm-sly(dependencies or package changed)
> >emacs-helm-switch-to-repl (dependencies or package changed)
> >emacs-helm-xref   (dependencies or package changed)
> > 
> > guix upgrade: error: profile contains conflicting entries for emacs-helm
> > guix upgrade: error:   first entry: emacs-helm@3.8.4 
> > /gnu/store/zgssj5rwwzs300sqjhfmp7a00hfvm9d9-emacs-helm-3.8.4
> > guix upgrade: error:... propagated from emacs-helm-company@0.2.5
> > guix upgrade: error:   second entry: emacs-helm@3.8.5 
> > /gnu/store/w904rarv3izkxjkzrj0rr3h9dn2rljx3-emacs-helm-3.8.5
> > hint: Try upgrading both `emacs-helm-company' and `emacs-helm', or remove 
> > one of them from the profile.
> > ```
> > 
> > Is the hint what I should really do or is there a fix that should be
> > made to one of the packages?
> 
> I'm only seeing one emacs-helm package in the source code. 
I had both emacs-helm-company' and `emacs-helm` installed.

It looks like ambrevar had both in a manifest below too on line 49 and
52 of his dotfiles:

https://gitlab.com/ambrevar/dotfiles/-/blob/master/.package-lists/guix-emacs-manifest.scm#L52

> What happens when you run `guix upgrade` without the star?

I'll try rolling back soon and reporting here to confirm what happens
without the star in that generation that had the issue.

thanks,

jgart






Inkscape icons missing

2022-03-23 Thread Zelphir Kaltstahl

Hello Guix users!

I've noticed an issue with Inkscape installed via Guix and wonder whether only I 
have this issue, or it is more wide spread:


When I install Inkscape using the following command:

guix shell inkscape -- inscape

I get a running Inkscape and it seems to work fine, but all the icons of buttons 
of the UI are missing and the icons for cursors are also missing. For example, 
when I hover over a frame border, which I can drag to the right or left to 
change size of frames that make the UI, like for example the alignment frame 
border (or area or whatever you want to call it).


Information about versions:


$ guix describe --format=channels
(list (channel
(name 'guix)
(url"https://git.savannah.gnu.org/git/guix.git";)
(branch "master")
(commit
  "a1632d59529909ab3733772f203e7ea64809b85e")
(introduction
  (make-channel-introduction
"9edb3f66fd807b096b48283debdcddccfea34bad"
(openpgp-fingerprint
  "BBB0 2DDF 2CEA F6A8 0D1D  E643 A2A0 6DF2 A33A 54FA")

$ guix shell inkscape -- inkscape --version
Gtk-Message: 12:08:54.501: Failed to load module "xapp-gtk3-module"
Inkscape 1.1.1 (3bf5ae0d25, 2021-09-20)


I do not remember this problem happening before, but I also changed my desktop 
environment to XFCE on this machine (from Cinnamon), so that might change things 
with the icon locations perhaps. I think though, that probably the icons should 
be a dependency of the application.


Best regards,
Zelphir

--
repositories:https://notabug.org/ZelphirKaltstahl


Re: BUG? emacs helm conflicting entries

2022-03-23 Thread Efraim Flashner
On Tue, Mar 22, 2022 at 08:28:07PM -0400, jgart wrote:
> Hi Guixers,
> 
> I got this error:
> 
> ```
>  λ guix upgrade *
> The following packages will be upgraded:
>emacs-guix(dependencies or package changed)
>emacs-helm-company(dependencies or package changed)
>emacs-helm-descbinds  (dependencies or package changed)
>emacs-helm-eww(dependencies or package changed)
>emacs-helm-org(dependencies or package changed)
>emacs-helm-selector   (dependencies or package changed)
>emacs-helm-shell-history  (dependencies or package changed)
>emacs-helm-slime  (dependencies or package changed)
>emacs-helm-sly(dependencies or package changed)
>emacs-helm-switch-to-repl (dependencies or package changed)
>emacs-helm-xref   (dependencies or package changed)
> 
> guix upgrade: error: profile contains conflicting entries for emacs-helm
> guix upgrade: error:   first entry: emacs-helm@3.8.4 
> /gnu/store/zgssj5rwwzs300sqjhfmp7a00hfvm9d9-emacs-helm-3.8.4
> guix upgrade: error:... propagated from emacs-helm-company@0.2.5
> guix upgrade: error:   second entry: emacs-helm@3.8.5 
> /gnu/store/w904rarv3izkxjkzrj0rr3h9dn2rljx3-emacs-helm-3.8.5
> hint: Try upgrading both `emacs-helm-company' and `emacs-helm', or remove one 
> of them from the profile.
> ```
> 
> Is the hint what I should really do or is there a fix that should be
> made to one of the packages?

I'm only seeing one emacs-helm package in the source code. What happens
when you run `guix upgrade` without the star?

-- 
Efraim Flashner  אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted


signature.asc
Description: PGP signature


Re: Missing LaTeX font (R related)

2022-03-23 Thread TK
On Wednesday, March 23rd, 2022 at 9:58 AM, Ricardo Wurmus  
wrote:

> TK tkp...@protonmail.com writes:
>
> > `!pdfTeX error: pdflatex (file t1-zi4r-0): Font t1-zi4r-0 at 540 not found`
> >
> > A web search reveals that t1-zi4r-0 is an inconsolata font, but installing 
> > "texlive-inconsolata" package does not sort this issue out.
>
> The texlive-inconsolata package does indeed include that font:
>
> /gnu/store/…-texlive-inconsolata-59745/share/texmf-dist/fonts/tfm/public/inconsolata/t1-zi4r-0.tfm
>
> > Is granular texlive install even possible on Guix? :)
>
> Yes, it is.
>
> --
>
> Ricardo

Hi Ricardo,

Thanks for the reply.

Since texlive-inconsolata is part of my manifest specification, there might be 
an issue in how I create the environment.

For my work in R, I use the following bash script:
```
#!/bin/sh
theme_dir=$HOME/.local/share/guix-themes
guix shell --pure -c4 -m "$theme_dir/foundation.scm" \
  -m "$theme_dir/eci.scm" -m "$theme_dir/texpack.scm"
```

I am creating an environment from several manifests. They are shown  below, 
together with the channels file, for the sake of reproducibility and the 
mailing list. Also, for anyone's convenience, should they actually want to 
reproduce the problem,
those files have been attached.

Issuing `R CMD check somepackage` within the shell of the environment will die 
with the message outlined above.

The package in the command line is just a skeleton created by 
`Rcpp.package.skeleton`.

Thanks,
T

# Appendix

## channels.scm
```
(use-modules (guix packages)
 (guix inferior)
 (guix channels)
 (guix profiles)
 (gnu packages)
 (srfi srfi-1))


(define channels
 ;; This is custom Environmental Cheminformatics LCSB channel.
 (list (channel
(name 'eci-addons)
(url "https://git.sr.ht/~condor/eci-guix";)
(branch "master")
(introduction
 (make-channel-introduction
  "e7ccb0c185133e23a9a75867e0deef5881ab2d49"
  (openpgp-fingerprint
   "EDC3 9790 A06D 5F72 41D9  70F9 BBEF E71B 7A28 3C6F"
   (channel
(name 'nonguix)
(url "https://gitlab.com/nonguix/nonguix";)
(introduction
 (make-channel-introduction
  "897c1a470da759236cc11798f4e0a5f7d4d59fbc"
  (openpgp-fingerprint
   "2A39 3FFF 68F4 EF7A 3D29 12AF 6F51 20A0 22FB B2D5"
   (channel
 (name 'guix)
 (url "https://git.savannah.gnu.org/git/guix.git";)
 ;; (commit "c852d897551f514de95c224fa79e748f48808068")
 )))

```

## foundation.scm
```
(use-modules (guix packages)
 (gnu packages autotools)
 (gnu packages gcc)
 (gnu packages perl)
 (gnu packages mpi)
 (gnu packages ssh)
 (gnu packages gawk)
 (gnu packages base))



(define specs '("bash"
"make"
"sbc"
"openssh"
"git:send-email"
"git"
"grep"
"sed"
"gawk"
"procps"
"coreutils-minimal"
"glibc-locales"
"make"
"emacs"
"lesspipe"
"glibc-locales"
"guile"
"pkg-config"
"nss-certs"
"wget"
"xz"
"tar"
"gzip"
"bzip2"))


(define misc-specs '("ispell"
 "sshpass"
 "the-silver-searcher"
 "xdg-utils"
 "xdg-user-dirs"
 "pango"
 "gnupg"
 "openssl"
 "gtk+"
 "man-db"
 "texinfo"))


(define font-specs '("unicode-emoji"
 "fontconfig"
 "font-dejavu"
 "font-gnu-freefont"
 ;"font-ubuntu"
 "font-terminus"
 "font-liberation"
 "font-inconsolata"
 "font-gnu-unifont"
 "font-public-sans"
 "font-misc-misc"
 "font-awesome"
 "font-hack"
 "font-iosevka"
 "font-iosevka-term"
 "font-iosevka-term-slab"
 ;"font-iosevka-sparkle"
 "font-iosevka-slab"
 "font-iosevka-etoile"
 "font-iosevka-aile"
 "font-google-noto"))

(define emacs-specs `("emacs-guix"
  "emacs-circe"
  "emacs-geiser"
  "emacs-paredit"
  "emacs-bbdb"
  "emacs-circe"
  "emacs-use-package"
  "emacs-ag"
  "emacs-magit"
 

Re: Missing LaTeX font (R related)

2022-03-23 Thread Ricardo Wurmus


TK  writes:

> `!pdfTeX error: pdflatex (file t1-zi4r-0): Font t1-zi4r-0 at 540 not found`
>
> A web search reveals that t1-zi4r-0 is an inconsolata font, but installing 
> "texlive-inconsolata" package does not sort this issue out.

The texlive-inconsolata package does indeed include that font:


/gnu/store/…-texlive-inconsolata-59745/share/texmf-dist/fonts/tfm/public/inconsolata/t1-zi4r-0.tfm

> Is granular texlive install even possible on Guix? :)

Yes, it is.

-- 
Ricardo



Missing LaTeX font (R related)

2022-03-23 Thread TK
Hi all,

I tried to avoid installing the entire texlive package, because, these days I 
only work with narrowly defined guix environments.

Basically, I am doing `R CMD check pkgdir` on a package and after a while it 
spews out this:

`!pdfTeX error: pdflatex (file t1-zi4r-0): Font t1-zi4r-0 at 540 not found`

A web search reveals that t1-zi4r-0 is an inconsolata font, but installing 
"texlive-inconsolata" package does not sort this issue out.

Does anyone have any guidance? Is granular texlive install even possible on 
Guix? :)

All the best,

T