Re: Need help displaying Unicode fonts in Icecat

2019-08-07 Thread Gary Johnson
> Are you running Guix on top of another distribution? I had to add the
> veriable XDG_DATA_DIRS to the environment, specifically
> XDG_DATA_DIRS=$HOME/.guix-profile/share:/usr/share for Guix running on
> Debian. The variable was set automagically full Guix systems.
>
> HTH,
> jr

Thanks, jr. I'm running GuixSD and I believe XDG_DATA_DIRS is set
correctly:

$ echo $XDG_DATA_DIRS
/gnu/store/daxn8m96wk2d2jnz4mxllhk34iv5gjqp-shared-mime-info-1.9/share:/gnu/store/cgy82g6yv8l1chawgch47zh23b0jll3l-glib-2.56.3/share:/gnu/store/l35xlc0hk86qw7kwli8lkskdkxskxsif-gtk+-3.24.9/share:/gnu/store/fbf0h779z46cl55vdciv00m8s0ccfnyb-emacs-26.2/share:/gnu/store/daxn8m96wk2d2jnz4mxllhk34iv5gjqp-shared-mime-info-1.9/share:/gnu/store/cgy82g6yv8l1chawgch47zh23b0jll3l-glib-2.56.3/share:/gnu/store/l35xlc0hk86qw7kwli8lkskdkxskxsif-gtk+-3.24.9/share:/gnu/store/fbf0h779z46cl55vdciv00m8s0ccfnyb-emacs-26.2/share:/home/gjohnson/.guix-profile/share:/home/gjohnson/.guix-profile/share:/run/current-system/profile/share:/home/gjohnson/.guix-profile/share:/run/current-system/profile/share

I just see boxes in IceCat and Ungoogled-Chromium wherever Unicode
symbols are supposed to appear, so I don't know if there is another font
package that I need to install or some browser-specific configuration
files that I need to edit.



Guix installation image

2019-08-07 Thread Alexander Asteroth
Dear all,

I would really like to install Guix on my Dell XPS 13 (9380) and give Guix a
try not only in VM bur on a my main device. Unfotunately it refuses to
boot the installation image. After selecting the boot device I only see
a nonbliking cursor.

I checked the partition table of the image and was supprised so see:

> sudo fdisk -l /dev/sda
> GPT PMBR size mismatch (2694403 != 4014079) will be corrected by write.
> The backup GPT table is not on the end of the device. This problem will be 
> corrected by write.
> Disk /dev/sda: 1.9 GiB, 2055208960 bytes, 4014080 sectors
> Disk model: Flash Disk  
> Units: sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disklabel type: gpt
> Disk identifier: 30373931-3130-4130-B138-333934393436

> Device   Start End Sectors  Size Type
> /dev/sda1   64   43839   43776 21.4M Microsoft basic data
> /dev/sda243840   495995760  2.8M EFI System
> /dev/sda349600 2693755 2644156  1.3G Apple HFS/HFS+
> /dev/sda4  2693756 2694355 600  300K Microsoft basic data

is this really how it's supposed to look like?

Cheers,

Alex



Re: undefined symbol error in qtbase

2019-08-07 Thread Hamzeh Nasajpour



On Wed, Aug 7, 2019, at 4:04 PM, Ricardo Wurmus wrote:
> 
> Ricardo Wurmus  writes:
> 
> >> This is the package definition for `trojita` […]
> >
> > I copied this to the bottom of qt.scm (didn’t want to have to adjust any
> > module imports) and built it just fine.
> >
> > So it looks like nothing’s wrong.
> 
> Ah, well, the problem is with running the executable.
> 
> The problem appears to be that qtbase contains references to both sqlite
> and sqlite-with-column-metadata.  It should contain references to only
> one of the two, preferably the one with column metadata.
> 
> -- 
> Ricardo
> 
>

Hi Ricardo,

Thanks for quick reply.

Yes, exactly, the problem is in running with this error:
> trojita: symbol lookup error: 
> /gnu/store/890yw9i7lcjnnxhlza8r121352xp1hi-qtbase-5.11.3/lib/qt5/plugins/sqldrivers/libqsqlite.so:
>  undefined symbol: sqlite3_column_table_name16

What's your idea/solution for it?

Regards,
Hamzeh



Re: undefined symbol error in qtbase

2019-08-07 Thread Ricardo Wurmus


Ricardo Wurmus  writes:

>> This is the package definition for `trojita` […]
>
> I copied this to the bottom of qt.scm (didn’t want to have to adjust any
> module imports) and built it just fine.
>
> So it looks like nothing’s wrong.

Ah, well, the problem is with running the executable.

The problem appears to be that qtbase contains references to both sqlite
and sqlite-with-column-metadata.  It should contain references to only
one of the two, preferably the one with column metadata.

-- 
Ricardo




Re: undefined symbol error in qtbase

2019-08-07 Thread Ricardo Wurmus


Hi Hamzeh,

> This is the package definition for `trojita` […]

I copied this to the bottom of qt.scm (didn’t want to have to adjust any
module imports) and built it just fine.

So it looks like nothing’s wrong.

I used the latest git checkout of Guix from the “master” branch.
Perhaps you’re using an older version?

--
Ricardo




Re: personal communications server

2019-08-07 Thread L p R n d n
Hello,

quil...@riseup.net writes:

> El Mar, 6 de Agosto de 2019, 1:19 pm, Ricardo Wurmus escribió:
>
>> Or we could provide a procedure generating an operating system
>> configuration.  The procedure’s arguments would be used to enable or
>> disable certain services.
>
> What do you mean by "a proceedure"? Is it a definition that would activate
> or deactivate groups of services?

If I'm not mistaken, a procedure in Guile is simply what you would call
a function in most other languages. So what I suppose Ricardo is talking
about is a procedure that would output a preconfigured os.
I've already thought about that kind of "configuration helpers"
and I find the idea quite appealing. We could go from "activate x
services" to "I want a desktop operating system with bluetooth" ot "I
want a server with mail and Tor". The procedure would deal with ports
matching etc

Have a nice day,

L  p r n  d n



Re: personal communications server

2019-08-07 Thread Julien Lepiller
Le 6 août 2019 23:48:29 GMT+02:00, quil...@riseup.net a écrit :
>> I don't think we need the bash scripts, only services. From what I
>read,
>> we could provide a simple file like this and let users choose their
>> services:
>>
>> (define domain "mydomain.org")
>> ; and other common configuration options
>> …
>> (operating-system
>>   …
>>   (services
>>(cons*
>> ;; Uncomment for email
>> ;(dovecot-service …)
>> …
>> ;; Uncomment for cgit
>> ; (cgit-service …)
>> …
>> )))
>>
>> And then, you have a base with sane defaults for a defined purpose,
>but
>> can still tweak and change things.
>
>I like this.
>
>The users could also be included on this configuration. I am not sure
>if
>users on the system are used also as users of the different services.
>
>It would be nice to have something that would avoid configuration file
>errors. Maybe some test that would review syntax on Emacs.
>
>Maybe the best would be that each service would be run by a different
>user
>in order to make the system more secure.
>
>Just ideas.
>Q

It's already the case in guix: for instance, we have a mariadb that runs under 
the mariadb user. The service definition itself extends the list of system 
users, so as a user it's completely transparent and you can't make a mistake.

Since most services use a scheme wrapper to define their configuration, it's 
easy to check parameters to ensure the configuration will work. It's not done 
in every service, and not complete, but it's doable, not only for this project, 
but for any guix user. You should really go check the manual on services :)