How to add memtest to Grub?

2018-09-30 Thread znavko
Hello! How to add to grub memory test utility?
Or may be there is any package? I did not found .
# guix package -s memtest
# 

Flash Player for Icecat Gnash can not find boost header

2018-09-30 Thread znavko
Hello! I need to use Flash Player in IceCat on GNU GuixSD.
First I tried to download NPAPI from get.adobe.com and to place it into 
~/.mozilla/plugins with `chmod +x libflashplayer.so`. But after  Icecat 
restart, flash player plugin does not appear.

Now I try to compile Gnash - GNU Flash alternative. I did not found it in 
repository:
$ guix package -s gnash
$ 

So I have downloaded and unzipped gnash-0.8.10. And try to compile as non-root 
user. I've installed boost for it , but gnash configure script does not find it:

$ guix package -i boost
The following package will be installed:
   boost    1.66.0    /gnu/store/l6hqfwr1hcbn9rg56bwn2d41g2ai36h2-boost-1.66.0

substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org 
'... substitute: updating list of substitutes 
from 'https://mirror.hydra.gnu.org '... 100.0%
...
73 packages in profile

$ whereis boost
boost:

$ ls /gnu/store/l6hqfwr1hcbn9rg56bwn2d41g2ai36h2-boost-1.66.0
include/  lib/  share/

$ pwd
/home/bob/Downloads/gnash-0.8.10

$ ./configure
...
checking whether pthreads work with -pthread... yes
checking searching for pthread library... not found
checking for the Boost Version... 
checking for boost header... checking for Boost libraries... configure: 
WARNING: Libraries  thread program_options iostreams  serialization date_time 
aren't installed 

checking if -fvisibility-inlines-hidden is broken... no
checking whether g++ supports -fvisibility=hidden... yes
checking whether GConf support is requested... yes
checking for GCONF... configure: error: Package requirements (gconf-2.0) were 
not met.
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively you may set the GCONF_CFLAGS and GCONF_LIBS environment variables
to avoid the need to call pkg-config.  See the pkg-config man page for
more details.


--
Please, what to do?




Re: Flash Player for Icecat Gnash can not find boost header

2018-09-30 Thread znavko
PATH is

$ echo $PATH
/root/.guix-profile/bin:/home/bob/.guix-profile/bin:/home/bob/.guix-profile/sbin:/home/bob/.guix-profile/bin:/home/bob/.guix-profile/sbin:/home/bob/.config/guix/current/bin:/run/setuid-programs:/run/current-system/profile/bin:/run/current-system/profile/sbin



Re: gconf installation helped a bit

2018-09-30 Thread znavko
After Gconf installation I got other new Errors:
$ guix package -i gconf
...
$ pwd 
/home/bob/Downloads/gnash-0.8.10/

$ ./configure
...
...
Configurable options are:
    POSIX Thread support disabled.
    NPAPI plugin enabled (default). Use --disable-npapi to disable.
    NPAPI plugin will be installed in /home/me/.mozilla/plugins
    KPARTS 3.x plugin disabled.
    KPARTS 4.x plugin disabled.

Configured paths for x86_64-unknown-linux-gnu are:
    GLib flags are: 
-I/gnu/store/na5x8wljphiw8kd6qxjn6aayg46lklxa-glib-2.56.0/include/glib-2.0 
-I/gnu/store/na5x8wljphiw8kd6qxjn6aayg46lklxa-glib-2.56.0/lib/glib-2.0/include 
-I/gnu/store/v49ff73n974d116iv886jr922n79rvyb-pcre-8.41/include 
-I/gnu/store/na5x8wljphiw8kd6qxjn6aayg46lklxa-glib-2.56.0/include/glib-2.0 
-I/gnu/store/na5x8wljphiw8kd6qxjn6aayg46lklxa-glib-2.56.0/lib/glib-2.0/include 
-I/gnu/store/v49ff73n974d116iv886jr922n79rvyb-pcre-8.41/include 
    GLib libs are: 
-L/gnu/store/na5x8wljphiw8kd6qxjn6aayg46lklxa-glib-2.56.0/lib -lglib-2.0
    MP3 and video support enabled through FFmpeg
    FFmpeg flags are: -D__STDC_CONSTANT_MACROS 
-I/gnu/store/jryhwf47ra6y7g25g0mn61ymranwr742-ffmpeg-4.0.2/include
    FFmpeg libs are:  
-L/gnu/store/jryhwf47ra6y7g25g0mn61ymranwr742-ffmpeg-4.0.2/lib -lavcodec 
-lavformat -lavutil  -lswscale
    CURL flags are: 
-I/gnu/store/ia117b5q4pzcm81xj1hkv2qgg898v7x5-curl-7.61.1/include 
-DCURL_STATICLIB
    CURL libs are: 
-L/gnu/store/ia117b5q4pzcm81xj1hkv2qgg898v7x5-curl-7.61.1/lib -lcurl
    AGG Pixel format is: all
./configure: line 49954: or: command not found
    Only building these ActionScript classes into the library:
 
    You have netcat installed, which is only used for testing
    You have wget installed, which is only used for testing

    Building Cygnal media server disabled.
    Enabling security features:  localconnection
    Enabling statistics collecting for:  cache
    GUI toolkits supported: fb,gtk,dump
    Renderers supported: agg cairo
    Hardware Acceleration: RawFB
    Media handlers: gst ffmpeg
    Using sdl for sound handling
    DocBook document processing disabled (default)
    Using Input Devices, Touchscreen via Tslib for Input
    Using double buffering when rendering

    WARNING: without --enable-docbook we will use the cached documentation 
 files included in the gnash distribution. If you change files 
 in doc/C, you should --enable-docbook.
    WARNING: You need to have the Ming development package installed to 
 run most of the tests in Gnash testsuite.
 Install it from http://www.libming.org 

 or .deb users: apt-get install libming-dev
 or .rpm users: yum install libming-devel
    WARNING: You need to have the Ming utilities package version 0.4 or 
 higher installed to run many of the tests in Gnash testsuite.
 Install it from http://www.libming.org 

 or .deb users: apt-get install libming-util
 or .rpm users: yum install ming-util
 or maybe : yum install ming-utils
    WARNING: You need to have the MTASC compiler packages installed to run 
 some of the tests in Gnash testsuite.
 Install it from http://mtasc.org 
 or .deb users: apt-get install mtasc
 or .rpm users: yum install mtasc
    WARNING: You need to have the HAXE compiler package version 2.00 or 
 higher installed to run some of the tests in Gnash testsuite.
 Install it from http://haxe.org 
 or .deb users: apt-get install haxe
 or .rpm users: yum install haxe
    WARNING: You need to have the swfmill tool installed to run some of 
 the tests in Gnash testsuite.
 Install it from http://swfmill.org 
 or .deb users: apt-get install swfmill
 or .rpm users: yum install swfmill
    WARNING: You need to have swfc from SWFTools installed to run some of 
 the tests in Gnash testsuite.
 Install it from http://swftools.org 
 or .deb users: apt-get install swftools
 or .rpm users: yum install swftools
    WARNING: You need to have as3compile from SWFTools installed to run 
 some of the tests in Gnash testsuite.
 Install it from http://swftools.org 
    WARNING: You need to have perl installed to run some of the tests in 
 Gnash testsuite.
 Install it from http://perl.org 
 or .deb users: apt-get install perl
   

Re: gconf installation helped a bit

2018-09-30 Thread Pierre Neidhardt
Probably not related to your issue, but in

> $ echo $PATH
> /root/.guix-profile/bin:/home/bob/.guix-profile/bin:/home/bob/.guix-profile/sbin:/home/bob/.guix-profile/bin:/home/bob/.guix-profile/sbin:/home/bob/.config/guix/current/bin:/run/setuid-programs:/run/current-system/profile/bin:/run/current-system/profile/sbin

you should not have `/root/.guix-profile/bin` there.

-- 
Pierre Neidhardt
https://ambrevar.xyz/


signature.asc
Description: PGP signature


Re: Frequent git repository corruptions

2018-09-30 Thread Pierre Neidhardt
Yup, that's what I've found out as well.

There is an AUR package for memtest86 (no +) on EFI:

https://aur.archlinux.org/packages/memtest86-efi/

-- 
Pierre Neidhardt
https://ambrevar.xyz/


signature.asc
Description: PGP signature


Re: How to add memtest to Grub?

2018-09-30 Thread Tobias Geerinckx-Rice

znavko,

znavko wrote:

Hello! How to add to grub memory test utility?
Or may be there is any package? I did not found .
# guix package -s memtest


There is no Guix package for memtest* (yet — I'm packaging 
memtest86+).


See my reply to Pierre[1] for a bit more, but note Björn's note 
that the Free version is apparently BIOS-only.


Kind regards,

T G-R

[1]: 
https://lists.gnu.org/archive/html/help-guix/2018-09/msg00145.html




Re: Frequent git repository corruptions

2018-09-30 Thread Tobias Geerinckx-Rice

Pierre Neidhardt wrote:

Yup, that's what I've found out as well.

There is an AUR package for memtest86 (no +) on EFI:

https://aur.archlinux.org/packages/memtest86-efi/


Say no more :-) That is proprietary software.

Kind regards,

T G-R



Re: Frequent git repository corruptions

2018-09-30 Thread Tobias Geerinckx-Rice

Tobias Geerinckx-Rice wrote:

Pierre Neidhardt wrote:

Yup, that's what I've found out as well.

There is an AUR package for memtest86 (no +) on EFI:

https://aur.archlinux.org/packages/memtest86-efi/


Say no more :-) That is proprietary software.


...or so I was told yesterday. Looking at the website now I'm not 
so sure: there seems to be a GPL2 'Free' edition.


This whole family is very confusing.

Kind regards,

T G-R



Re: Frequent git repository corruptions

2018-09-30 Thread Tobias Geerinckx-Rice

Tobias Geerinckx-Rice wrote:

Pierre Neidhardt wrote:

Yup, that's what I've found out as well.

There is an AUR package for memtest86 (no +) on EFI:

https://aur.archlinux.org/packages/memtest86-efi/


I stand by my initial pronouncement:


Say no more :-) That is proprietary software.


Only the old, unmaintained (and notably non-UEFI) version 4 is 
GPL2. Newer versions are mystery meat.[1]


Thus endeth the noise,

T G-R

1: https://www.memtest86.com/features.htm



Re: gconf installation helped a bit

2018-09-30 Thread znavko
Cannot install required packages for gnash, cause 
- no boost-devel in repository, 
- agg is not compiling witherror: libtool: not found  'libexamples.la' (I've 
reported a bug), 
- no pango-devel in repository,
- no gstreamer-devel in repository
- no xulrunner in repository

And I think it is impossible to install them manually, cause I do not  know 
where to install and how to tell their paths to gnash 'configure' script.

My question is why after placing adobe flash player into 
~/.mozilla/plugins/libflashplayer.so Icecat does not see it?

Re: GNU Icecat crashed tab

2018-09-30 Thread Mike Gerwitz
On Sun, Sep 30, 2018 at 04:27:11 +0200, nightowl wrote:
> Thanks all for the help and advice on handling package upgrades and memory
> management.  I have been able to update my system now and use icecat version
> 60.  I can verify that the tab crash appears to be resolved with this new
> version of icecat on my PC, however I also now notice that scrolling is not
> as smooth as it used to be.

I don't experience issues, but try disabling "smooth scrolling" in
preferences.  In past versions of IceCat/Firefox, I've had to disable it
on older hardware for performance reasons.

-- 
Mike Gerwitz


signature.asc
Description: PGP signature


Re: gconf installation helped a bit

2018-09-30 Thread Leo Famulari
On Sun, Sep 30, 2018 at 04:23:11PM +0200, zna...@tutanota.com wrote:
> Cannot install required packages for gnash, cause 
> - no boost-devel in repository, 

This is called 'boost' in Guix.

> - no pango-devel in repository,

This is 'pango'.

> - no gstreamer-devel in repository

This is 'gstreamer'.

> My question is why after placing adobe flash player into 
> ~/.mozilla/plugins/libflashplayer.so Icecat does not see it?

Is this free software? In any case, software compiled for other systems
typically won't work with Guix, since it won't be able to find the
libraries it needs, as they are not found at predictable locations.


signature.asc
Description: PGP signature


Re: Frequent git repository corruptions

2018-09-30 Thread Mark H Weaver
Tobias Geerinckx-Rice  writes:

> Tobias Geerinckx-Rice wrote:
>> Pierre Neidhardt wrote:
>>> Yup, that's what I've found out as well.
>>>
>>> There is an AUR package for memtest86 (no +) on EFI:
>>>
>>> https://aur.archlinux.org/packages/memtest86-efi/
>
> I stand by my initial pronouncement:
>
>> Say no more :-) That is proprietary software.
>
> Only the old, unmaintained (and notably non-UEFI) version 4 is
> GPL2. Newer versions are mystery meat.[1]

Oh, that's unfortunate :-(

Does anyone know of free software that can test all of the RAM in a
machine and that runs on systems with UEFI?

Failing that, there's 'memtester' which runs as a normal program under
Linux (the kernel).  This method is unable to test RAM that's allocated
to the kernel or to other processes, but if you stop as many services as
possible and run it from a text terminal, it should be able to test most
of the RAM.

We don't yet have 'memtester' in Guix, but it looks like it should be
easy to package.

  Mark



Re: gconf installation helped a bit

2018-09-30 Thread znavko
Thank you!  I am trying to install gnash-0.8.10 from here 
https://www.gnu.org/software/gnash/download.html 

Yes, I've installed pango, boost and gstreamer, gst-plugins-base but the Errors 
rested. 

$ guix package -I | grep -e pango -e gstreamer -e gst-plugins-base -e boost
boost    1.66.0    out    
/gnu/store/l6hqfwr1hcbn9rg56bwn2d41g2ai36h2-boost-1.66.0
gst-plugins-base    1.14.2    out    
/gnu/store/b9v0x3p79zwhyqvq2hshnpdq7rdf10j2-gst-plugins-base-1.14.2
pango    1.42.4    out    
/gnu/store/nwgzlrvh0185bskn54pdf9bmi4z2sl6l-pango-1.42.4
gstreamer    1.14.2    out    
/gnu/store/7radssg4vq9vi3r58kywgkh4x9jgv3a0-gstreamer-1.14.2

$ pwd
/home/bob/Downloads/gnash-0.8.10

$ ./configure
...
    RECOMMENDED: If you install the Speex DSP library, Gnash will be able to 
 resample Speex encoded audio in FLV files.
 Install libspeexdsp from http://speex.org 
 or .deb users: apt-get install libspeexdsp-dev
 or .rpm users: yum install speex-devel

Gnash should still compile, but you'll miss important support

  ERROR: No GTK2 development package installed!
 Install it from http://gtk.org 
 or .deb users: apt-get install libgtk2.0-dev
 or .rpm users: yum install gtk2-devel
  ERROR: No Pango development package installed!
 Install it from http://pango.org 
 or .deb users: apt-get install libpango1.0-dev
 or .rpm users: yum install pango-devel
  ERROR: GST media handling requested but gstreamer-0.10+ not found
 Install it from http://www.gstreamer.net 

 or .deb users: apt-get install libgstreamer0.10-dev
 or .rpm users: yum install gstreamer-devel
 or yast users: yast install gstreamer010-devel
  ERROR: Base plugins are required for gstreamer media!
 Install gstreamer-plugins-base from http://www.gstreamer.net 

 or .deb users: apt-get install 
    libgstreamer-plugins-base0.10-dev
 or .rpm users: yum install gstreamer-plugins-base-devel
  ERROR: No AGG development package installed!
 Install it from http://www.antigrain.com 

 or .deb users: apt-get install libagg-dev
 or .rpm users: yum install agg-devel
  ERROR: No Boost development package installed
 Install it from http://www.boost.org 
 or .deb users: apt-get install libboost-dev 
    libboost-thread-dev libboost-program-options-dev
 or .rpm users: yum install boost-devel
  ERROR: No xulrunner development package is installed!
 Install it from 
 http://releases.mozilla.org/pub/mozilla.org/xulrunner 

 or .deb users: apt-get install xulrunner-dev
 or .deb users: apt-get install firefox-dev
 or .rpm users: yum install xulrunner-devel

configure: error: Please install required packages



I found in configure from line 40289 

  ac_fn_c_check_header_mongrel "$LINENO" 
"gstreamer_plugins_base/gst/interfaces/probeprobe.h" 
"ac_cv_header_gstreamer_plugins_base_gst_interfaces_probeprobe_h" 
"$ac_includes_default"
if test "x$ac_cv_header_gstreamer_plugins_base_gst_interfaces_probeprobe_h" = 
x""yes; then :
  
ac_cv_path_gstreamer_plugins_base_incl="-I/usr/include/gstreamer_plugins_base"; 
found_gstreamer_plugins_base_incl="yes"
else


Is it possible to use this config, or I need to port manually gnash to GuixSD, 
so what should I do to install it?
PS: and yes I did not install gtk2, xulrunner cause I cannot believe in a happy 
end, also I had errors in agg compilation here: 
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=32886 



30. Sep 2018 20:54 by l...@famulari.name :


> On Sun, Sep 30, 2018 at 04:23:11PM +0200, > zna...@tutanota.com 
> >  wrote:
>> Cannot install required packages for gnash, cause 
>> - no boost-devel in repository, 
>
> This is called 'boost' in Guix.
>
>> - no pango-devel in repository,
>
> This is 'pango'.
>
>> - no gstreamer-devel in repository
>
> This is 'gstreamer'.
>
>> My question is why after placing adobe flash player into 
>> ~/.mozilla/plugins/libflashplayer.so Icecat does not see it?
>
> Is this free software? In any case, software compiled for other systems
> typically won't work with Guix, since it won't be able to find the
> libraries it needs, as they are not found at predictable locations.

Re: Frequent git repository corruptions

2018-09-30 Thread Tobias Geerinckx-Rice

Mark H. Weaver wrote:

Tobias Geerinckx-Rice  writes:

Only the old, unmaintained (and notably non-UEFI) version 4 is
GPL2. Newer versions are mystery meat.[1]


Oh, that's unfortunate :-(


Indeed: I think I've packaged memtest86+, but have no machine upon 
which to run my brand-new package. That does not inspire 
confidence.


I'll give memtester a try. Thanks!

Kind regards,

T G-R



Re: Frequent git repository corruptions

2018-09-30 Thread Mark H Weaver
Tobias Geerinckx-Rice  writes:

> Mark H. Weaver wrote:
>> Tobias Geerinckx-Rice  writes:
>>> Only the old, unmaintained (and notably non-UEFI) version 4 is
>>> GPL2. Newer versions are mystery meat.[1]
>>
>> Oh, that's unfortunate :-(
>
> Indeed: I think I've packaged memtest86+, but have no machine upon
> which to run my brand-new package. That does not inspire confidence.

If you send me a patch to add 'memtest86+', I'd be glad to test it on my
Thinkpad X200.

> I'll give memtester a try. Thanks!

Thank you, Tobias!

 Mark



Re: GNU Icecat crashed tab

2018-09-30 Thread nightowl
Turning off the smooth scrolling helps a little but actually, I see a 
pretty noticeable difference in responsiveness between the version 52 
and version 60 icecat on my system.  I can switch between my old and new 
setup from the boot menu, and I find that the older 52 version is faster 
and smoother and works fine with the smooth scrolling option.  When I 
boot into the upgraded system running the upgraded version 60 there is a 
noticeable lag in the responsiveness of icecat browser (but the crash 
tab issue appears fixed in the newer version).  Maybe it is more 
apparent on the older hardware which my system is installed, or perhaps 
the upgrade of my system has changed some other things though I used the 
same config.scm file as the previous upgrade.  I also compare the 
responsiveness of the Gnome Web browser, and it is good in both the old 
and new configurations.  This makes me think it has more to do with the 
new icecat version than something with the system upgrade.


On 30.09.2018 17:20, Mike Gerwitz wrote:

On Sun, Sep 30, 2018 at 04:27:11 +0200, nightowl wrote:
Thanks all for the help and advice on handling package upgrades and 
memory
management.  I have been able to update my system now and use icecat 
version
60.  I can verify that the tab crash appears to be resolved with this 
new
version of icecat on my PC, however I also now notice that scrolling 
is not

as smooth as it used to be.


I don't experience issues, but try disabling "smooth scrolling" in
preferences.  In past versions of IceCat/Firefox, I've had to disable 
it

on older hardware for performance reasons.