2018-04-30

Slitaz -- bootx64.efi / grub-mkimage



bootx64.efi
grub-mkimage
Make a bootable image of GRUB.


 


root@slitaz:~# uname -a
Linux slitaz 4.16.0-slitaz #2 SMP Thu Apr 5 11:07:34 UTC 2018 x86_64 GNU/Linux
 
root@slitaz:~# grub-mkimage --help | egrep 'Make|DIR|output|FORMAT|x86_64'
Make a bootable image of GRUB.
  -d, --directory=DIR        use images and modules under DIR
  -o, --output=FILE          output a generated image to FILE [default=stdout]
  -O, --format=FORMAT        generate an image in FORMAT
                             i386-ieee1275, i386-qemu, x86_64-efi, i386-xen,
                             x86_64-xen, mipsel-yeeloong-flash,
  -p, --prefix=DIR           set prefix directory

root@slitaz:~# grub-mkimage -d /usr/lib/grub/x86_64-efi -o bootx64.efi -O x86_64-efi -p /boot/grub \
> ntfs hfs appleldr boot cat efi_gop efi_uga elf fat hfsplus \
> iso9660 linux keylayouts memdisk minicmd part_apple ext2 extcmd \
> xfs xnu part_bsd part_gpt search search_fs_file chain btrfs \
> loadbios loadenv lvm minix minix2 reiserfs memrw mmap msdospart \
> scsi loopback normal configfile gzio all_video efi_gop efi_uga \
> gfxterm gettext echo

root@slitaz:~# ls -l bootx64.efi
-rw-r--r-- 1 root root 905728 Apr 30 02:33 bootx64.efi

root@slitaz:~# file bootx64.efi
bootx64.efi: PE32+ executable (EFI application) x86-64 (stripped to external PDB), for MS Windows
root@slitaz:~#

----

grub2 - receipt

http://cook.slitaz.org/next64/grub2/receipt
    efi)
        export EFI_ARCH=i386
        ./configure \
            --with-platform=efi \
            --target=$EFI_ARCH \
            --program-prefix="" \
            $CONFIGURE_ARGS &&
        make clean &&
        make $MAKEFLAGS || return 1

        cd grub-core
        ../grub-mkimage \
            -d . \
            -o ../bootia32.efi \
            -O i386-efi \
            -p /boot/grub \
            ntfs hfs appleldr boot cat efi_gop efi_uga elf fat hfsplus \
            iso9660 linux keylayouts memdisk minicmd part_apple ext2 extcmd \
            xfs xnu part_bsd part_gpt search search_fs_file chain btrfs \
            loadbios loadenv lvm minix minix2 reiserfs memrw mmap msdospart \
            scsi loopback normal configfile gzio all_video efi_gop efi_uga \
            gfxterm gettext echo boot chain || return 1

            install -Dm644 $src/bootia32.efi $install/boot/efi/boot/bootia32.efi

Slitaz -- slitaz-next64-efi


slitaz-next64
Linux slitaz 4.16.0-slitaz







tux@slitaz:~$ uname -a
Linux slitaz 4.16.0-slitaz #2 SMP Thu Apr 5 11:07:34 UTC 2018 x86_64 GNU/Linux

tux@slitaz:~$ cat /proc/cmdline
BOOT_IMAGE=/boot/bzImage-4.16 root=/dev/null autologin

tux@slitaz:~$ check-uefi.sh
UEFI
 
tux@slitaz:~$ ls -l /sys/firmware/efi
total 0
-r--r--r--    1 root     root          4096 Apr 26 10:38 config_table
dr-xr-xr-x    2 root     root             0 Apr 26 10:38 efivars
drwxr-xr-x    3 root     root             0 Apr 26 10:38 esrt
-r--r--r--    1 root     root          4096 Apr 26 10:38 fw_platform_size
-r--r--r--    1 root     root          4096 Apr 26 10:38 fw_vendor
-r--r--r--    1 root     root          4096 Apr 26 10:38 runtime
-r--------    1 root     root          4096 Apr 26 10:38 systab
drwxr-xr-x   93 root     root             0 Apr 26 10:38 vars

tux@slitaz:~$ grep -i efi /var/log/dmesg.log
[ 0.000000] efi: EFI v2.31 by American Megatrends
[ 0.000000] efi: ESRT=0xd9f7d998 ACPI 2.0=0xd97c1000 ACPI=0xd97c1000 SMBIOS=0xf05b0 MPS=0xfd690
[ 0.000000] ACPI: UEFI 0x00000000D97DB868 000042 (v01 ALASKA A M I 01072009 00000000)
[ 0.000000] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1910969940391419 ns
[ 0.039528] pci 0000:00:02.0: BAR 2: assigned to efifb
[ 0.050160] Registered efivars operations
[ 14.877870] efifb: probing for efifb
[ 14.877885] efifb: framebuffer at 0xe0000000, using 3072k, total 3072k
[ 14.877888] efifb: mode is 1024x768x32, linelength=4096, pages=1
[ 14.877890] efifb: scrolling: redraw
[ 14.877892] efifb: Truecolor: size=8:8:8:8, shift=24:16:8:0
[ 14.884753] fb0: EFI VGA frame buffer device
[ 15.904041] tsc: Refined TSC clocksource calibration: 3200.000 MHz
[ 16.535160] EFI Variables Facility v0.08 2004-May-17
[ 16.547340] pstore: Registered efi as persistent store backend
tux@slitaz:~$

----

slitaz-x86_64
slitaz-docker

Linux slitaz 3.16.36-slitaz64

tux@slitaz:~$ uname -a
Linux slitaz 3.16.36-slitaz64 #1 SMP Fri Oct 7 13:26:22 UTC 2016 x86_64 GNU/Linux

tux@slitaz:~$ cat /proc/cmdline
BOOT_IMAGE=(loop)/boot/bzImage64 iso_filename=/boot/slitaz-docker.iso root=/dev/null rw autologin noeject

tux@slitaz:~$ check-uefi.sh
UEFI
 
tux@slitaz:~$ ls -l /sys/firmware/efi
total 0
-r--r--r--    1 root     root          4096 Apr 26 13:05 config_table
dr-xr-xr-x    2 root     root             0 Apr 26 13:05 efivars
-r--r--r--    1 root     root          4096 Apr 26 13:05 fw_vendor
-r--r--r--    1 root     root          4096 Apr 26 13:05 runtime
drwxr-xr-x   11 root     root             0 Apr 26 13:05 runtime-map
-r--------    1 root     root          4096 Apr 26 13:05 systab
drwxr-xr-x   93 root     root             0 Apr 26 13:05 vars
tux@slitaz:~$
 

2018-04-29

Slitaz -- slitaz-next-efi


slitaz-next
slitaz-next-lxqt


Linux slitaz 4.9.30-slitaz

tux@slitaz:~$ uname -a
Linux slitaz 4.9.30-slitaz #2 SMP Fri Jun 16 13:58:14 Europe 2017 i686 GNU/Linux

tux@slitaz:~$ cat /proc/cmdline
BOOT_IMAGE=/boot/bzImage-4.9.30 rw root=/dev/null video=-32 autologin

tux@slitaz:~$ check-uefi.sh
UEFI

tux@slitaz:~$ ls -l /sys/firmware/efi
total 0
-r--r--r--    1 root     root          4096 Apr 26 14:08 config_table
dr-xr-xr-x    2 root     root             0 Apr 26 14:08 efivars
drwxr-xr-x    3 root     root             0 Apr 26 14:08 esrt
-r--r--r--    1 root     root          4096 Apr 26 14:08 fw_platform_size
-r--r--r--    1 root     root          4096 Apr 26 14:08 fw_vendor
-r--r--r--    1 root     root          4096 Apr 26 14:08 runtime
-r--------    1 root     root          4096 Apr 26 14:08 systab

tux@slitaz:~$ grep -i efi /var/log/dmesg.log
[ 0.000000] efi: EFI v2.31 by American Megatrends
[ 0.000000] efi: ESRT=0xd9f7d998 ACPI 2.0=0xd97c1000 ACPI=0xd97c1000 SMBIOS=0xf05b0 MPS=0xfd690
[ 0.000000] efi: No EFI runtime due to 32/64-bit mismatch with kernel
[ 0.000000] ACPI: UEFI 0x00000000D97DB868 000042 (v01 ALASKA A M I 01072009 00000000)
[ 0.000000] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1910969940391419 ns
[ 0.000000] efi: Setup done, disabling due to 32/64-bit mismatch
[ 0.121609] Registered efivars operations
[ 0.123041] clocksource: Switched to clocksource refined-jiffies
[ 7.622075] efifb: probing for efifb
[ 7.622084] efifb: framebuffer at 0xe0000000, using 3072k, total 3072k
[ 7.622087] efifb: mode is 1024x768x32, linelength=4096, pages=1
[ 7.622089] efifb: scrolling: redraw
[ 7.622091] efifb: Truecolor: size=8:8:8:8, shift=24:16:8:0
[ 7.626392] fb0: EFI VGA frame buffer device
[ 8.671452] tsc: Refined TSC clocksource calibration: 3199.998 MHz
tux@slitaz:~$

Slitaz -- rolling-core-efi



slitaz-rolling-core
slitaz-rolling

Linux slitaz 3.16.55-slitaz

tux@slitaz:~$ uname -a
Linux slitaz 3.16.55-slitaz #4 SMP Tue Mar 27 13:38:39 CEST 2018 i686 GNU/Linux

tux@slitaz:~$ cat /proc/cmdline
BOOT_IMAGE=/boot/bzImage rw root=/dev/null video=-32 autologin

tux@slitaz:~$ check-uefi.sh
UEFI
 
tux@slitaz:~$ ls -l /sys/firmware/efi
total 0
-r--r--r--    1 root     root          4096 Apr 26 08:22 config_table
dr-xr-xr-x    2 root     root             0 Apr 26 08:22 efivars
-r--r--r--    1 root     root          4096 Apr 26 08:22 fw_vendor
-r--r--r--    1 root     root          4096 Apr 26 08:22 runtime
-r--------    1 root     root          4096 Apr 26 08:22 systab

tux@slitaz:~$ zcat /proc/config.gz | grep EFI
CONFIG_EFI_PARTITION=y
CONFIG_EFI=y
CONFIG_EFI_STUB=y
CONFIG_FB_EFI=y
CONFIG_DMI_SCAN_MACHINE_NON_EFI_FALLBACK=y
# EFI (Extensible Firmware Interface) Support
CONFIG_EFI_VARS=m
CONFIG_EFI_RUNTIME_MAP=y
# CONFIG_CACHEFILES is not set
CONFIG_EFIVAR_FS=m
CONFIG_EARLY_PRINTK_EFI=y
tux@slitaz:~$

----

slitaz-rolling-core
Linux slitaz 3.2.98-slitaz


tux@slitaz:~$ uname -a
Linux slitaz 3.2.98-slitaz #4 SMP Tue Jan 16 15:44:20 CET 2018 i686 GNU/Linux

tux@slitaz:~$ cat /proc/cmdline
BOOT_IMAGE=(loop)/boot/bzImage isoloop=/boot/slitaz-rolling-core.iso root=/dev/null rw autologin noeject

tux@slitaz:~$ check-uefi.sh
BIOS

tux@slitaz:~$ ls -l /sys/firmware/efi
ls: /sys/firmware/efi: No such file or directory

tux@slitaz:~$ zcat /proc/config.gz | grep EFI
CONFIG_EFI=y
# CONFIG_FB_EFI is not set
CONFIG_EFI_VARS=m
CONFIG_EFI_PARTITION=y

tux@slitaz:~$ lsmod | grep efi
tux@slitaz:~$

2018-04-27

Slitaz -- check-uefi.sh


check-uefi.sh 
 

slitaz-rolling-core64

tux@slitaz:~$ uname -a
Linux slitaz 3.16.55-slitaz64 #2 SMP Tue Mar 27 13:04:08 CEST 2018 x86_64 GNU/Linux

tux@slitaz:~$ cat /proc/cmdline
BOOT_IMAGE=/boot/bzImage64 root=/dev/null video=-32 autologin

tux@slitaz:~$ check-uefi.sh
UEFI

tux@slitaz:~$ cat /usr/bin/check-uefi.sh
#!/bin/sh
[ -d /sys/firmware/efi ] && echo UEFI || echo BIOS

tux@slitaz:~$ ls -l /sys/firmware/efi
total 0
-r--r--r--    1 root     root          4096 Apr 26 01:57 config_table
dr-xr-xr-x    2 root     root             0 Apr 26 01:57 efivars
-r--r--r--    1 root     root          4096 Apr 26 01:57 fw_vendor
-r--r--r--    1 root     root          4096 Apr 26 01:57 runtime
drwxr-xr-x   11 root     root             0 Apr 26 01:57 runtime-map
-r--------    1 root     root          4096 Apr 26 01:57 systab 
 

Slitaz -- UEFI



HOWTO create a SliTaz LiveUSB for 64bit UEFI computers
http://doc.slitaz.org/en:guides:uefi
3. Installing an UEFI boot loader
You have now to install a boot loader compatible with UEFI; unfortunately, the grub2-efi package in the SliTaz repository is only for 32bit computers.
A simple way consists of using the boot loader from another 64bit distro :-/. I used Ubuntu but it should exist within some other smaller ISOs.
compiled grub2( bootx64.efi) instead of another 64bit distro
It works for me.

# file bootx64.efi
bootx64.efi: PE32+ executable (EFI application) x86-64 (stripped to external PDB), for MS Windows
 
# unzip -l bootx64.efi.zip
Archive:  bootx64.efi.zip
  Length      Date    Time    Name
---------  ---------- -----   ----
       46  04-28-2018 02:55   bootx64.efi.md5
   905728  04-25-2018 16:36   bootx64.efi
 --------                     -------
   905774                     2 files 
 
grub2-efi-2.02-x86_64.tazpkg
https://goo.gl/rG324b

grub-2.02-x86_64.tazpkg
https://goo.gl/G1D6eW

Attachments

bootx64.efi.zip (289.8 KB)
 

2018-04-19

virtualbox guest drivers


Guest drivers

https://www.virtualbox.org/wiki/LinuxAdditionsDebug

The vboxvideo graphics driver drives the guest video hardware emulation. It does not depend on other drivers, programs the emulated hardware directly and is not expected to be running on systems with X.Org servers older than and including 1.16, as they are not compatible with it and use special drivers, or on systems with Linux kernels older than version 3.11. 

2018-03-29

Next64 -- lzma-lzlib.u



lzma - lzlib.u
/usr/bin/ld: BranchX86.o: relocation R_X86_64_32S against symbol `kMaskToBitNumber' can not be used when making a shared object; recompile with -fPIC
lzma - stuff/lzlib.u
http://cook.slitaz.org/next64/lzma/stuff/lzlib.u

--- CPP/7zip/Compress/LZMA_Alone/makefile.gcc
+++ CPP/7zip/Compress/LZMA_Alone/makefile.gcc
@@ -1,6 +1,6 @@
 PROG = lzma
-CXX = g++ -O2 -Wall
-CXX_C = gcc -O2 -Wall
+CXX = g++ -s -O2 -Wall -fPIC
+CXX_C = gcc -s -O2 -Wall -fPIC
 LIB = -lm
 RM = rm -f
 CFLAGS = -c

2018-03-27

Next64 -- Dependencies loop


TazPkg administration and settings
Quick check - Dependencies loop

tux@slitaz:~$ tazpkg

SliTaz package manager - Version: 962
================================================================================
  Installed packages:    351
  Installed files:       7099
  Blocked packages:      0
  Upgradeable packages:  0

  Repository:            Main
  Last recharge:         Yesterday at 16:42.
  Database timestamp:    03/23/18 15:39
  Mirrored packages:     1501
================================================================================

tux@slitaz:~$ 


Quick check - Dependencies loop

Package cairo-1.14.8
Dependencies loop between package and:
  harfbuzz

Package fontconfig-2.12.4
Dependencies loop between package and:
  cairo

Package freetype-2.8
Dependencies loop between package and:
  libharfbuzz
  cairo

Package harfbuzz-1.4.8
Dependencies loop between package and:
  freetype
  cairo

Package jpeg-9b
The package has been modified by:
  jpeg-turbo
Dependencies loop between package and:
  libjpeg

Package libharfbuzz-1.4.8
Dependencies loop between package and:
  harfbuzz

Package libjpeg-9b
Dependencies loop between package and:
  jpeg

Package slitaz-boot-scripts-444
Dependencies loop between package and:
  slitaz-tools

Package slitaz-tools-1024
Dependencies loop between package and:
  slitaz-boot-scripts

Package util-linux-blkid-2.30.1
The package has been modified by:
  busybox
Dependencies loop between package and:
  util-linux-mount

2018-03-22

Next64 -- cooker ncftp




 

Update:
Please take a look at this line:
http://hg.slitaz.org/cookutils/file/1040/cook#l985

985 find fs -newer $receipt -exec touch -hr $receipt '{}' \;
And it was introduced the first time here:
http://hg.slitaz.org/cookutils/rev/861
cook: normalize file time
Sun Jan 08 14:29:40 2017 +0100 (14 months ago)
Files in the package can't be newer than receipt.


ncftp: A File Transfer Protocol client.
http://cook.slitaz.org/next64/ncftp

Cook date  2018-03-21 22:11
-rwxr-xr-x    1 root     root        228656 Oct 17 08:15 /usr/bin/ncftp

drwxr-xr-x    2 root     root          4096 Mar 21 22:11 /etc/

Summary for: ncftp 3.2.5-x86_64
Src file  ncftp-3.2.5-src.tar.bz2
Src size  448.0K
Source dir  5.9M
Produced  992.0K
Cook time  52s ~ 1m
Cook date  2018-03-21 22:11
Target arch x86_64

http://cook.slitaz.org/next64/ncftp/browse/install/usr/bin/
permissions·lnk·user    ·group   ·     size·date & time ·name
drwxr-xr-x    3 root     root          4096 Oct 17 08:15 / 
drwxr-xr-x    3 root     root          4096 Oct 17 08:15 /usr/ 
drwxr-xr-x    2 root     root          4096 Oct 17 08:15 /usr/bin/ 
-rwxr-xr-x    1 root     root        228656 Oct 17 08:15 /usr/bin/ncftp 
-rwxr-xr-x    2 root     root        162992 Oct 17 08:15 /usr/bin/ncftpbatch 
-rwxr-xr-x    1 root     root        110544 Oct 17 08:15 /usr/bin/ncftpbookmarks 
-rwxr-xr-x    1 root     root        158864 Oct 17 08:15 /usr/bin/ncftpget 
-rwxr-xr-x    1 root     root        130032 Oct 17 08:15 /usr/bin/ncftpls 
-rwxr-xr-x    1 root     root        154768 Oct 17 08:15 /usr/bin/ncftpput 
-rwxr-xr-x    2 root     root        162992 Oct 17 08:15 /usr/bin/ncftpspooler 


http://cook.slitaz.org/next64/ncftp/files
Contents of package “ncftp-3.2.5” (940K):

permissions·lnk·user    ·group   ·     size·date & time ·name
drwxr-xr-x    3 root     root          4096 Oct 17 08:15 /
drwxr-xr-x    3 root     root          4096 Oct 17 08:15 /usr/
drwxr-xr-x    2 root     root          4096 Oct 17 08:15 /usr/bin/
-rwxr-xr-x    1 root     root        228656 Oct 17 08:15 /usr/bin/ncftp
-rwxr-xr-x    2 root     root        162992 Oct 17 08:15 /usr/bin/ncftpbatch
-rwxr-xr-x    1 root     root        110544 Oct 17 08:15 /usr/bin/ncftpbookmarks
-rwxr-xr-x    1 root     root        158864 Oct 17 08:15 /usr/bin/ncftpget
-rwxr-xr-x    1 root     root        130032 Oct 17 08:15 /usr/bin/ncftpls
-rwxr-xr-x    1 root     root        154768 Oct 17 08:15 /usr/bin/ncftpput
-rwxr-xr-x    2 root     root        162992 Oct 17 08:15 /usr/bin/ncftpspooler 

Unpackaged empty folders:

permissions·lnk·user    ·group   ·     size·date & time ·name
drwxr-xr-x    2 root     root          4096 Mar 21 22:11 /etc/


Next64 -- The release checksum has changed.


The release checksum has changed.
 
Pack: glib 2.52.3-x86_64
================================================================================
Executing: genpkg_rules
Copying folders and files...                                           Done
Copying "receipt"...                                                   Done
Executing strip on all files...                                        Done
  Time: 0.14s. Size: 3751512 B -> 2979256 B. Save: 754 KB.
Creating the list of files...                                          Done
Creating md5sum of files...                                            Done
Compressing the FS...                                                  Done
Updating receipt sizes...                                              Done
Creating full cpio archive...                                          Done
QA: checking for empty package...                                      Done
The release checksum has changed.
================================================================================
Package "glib-2.52.3-x86_64.tazpkg" created
 
root@slitaz:/# ls -l /home/slitaz/wok/glib/install/usr/bin
total 468
-rwxr-xr-x    1 root     root         21104 Mar 22 14:58 gapplication
-rwxr-xr-x    1 root     root         46184 Mar 22 14:58 gdbus
-rwxr-xr-x    1 root     root          1278 Mar 22 14:58 gdbus-codegen
-rwxr-xr-x    1 root     root         83968 Mar 22 14:58 gio
[..]

extract glib
1-glib-2.52.3-x86_64.tazpkg #old
glib-2.52.3-x86_64.tazpkg #recook

tux@slitaz:/tmp$ ls -l *glib-2.52.3-x86_64/fs/usr/bin
1-glib-2.52.3-x86_64/fs/usr/bin:
total 288
-rwxr-xr-x    1 root     root         14632 Feb 27 20:06 gapplication
-rwxr-xr-x    1 root     root         35576 Feb 27 20:06 gdbus
-rwxr-xr-x    1 root     root         65032 Feb 27 20:06 gio
-rwxr-xr-x    1 root     root         10344 Feb 27 20:06 gio-querymodules
-rwxr-xr-x    1 root     root         35736 Feb 27 20:06 glib-compile-resources
-rwxr-xr-x    1 root     root         39800 Feb 27 20:06 glib-compile-schemas
-rwxr-xr-x    1 root     root         31000 Feb 27 20:06 glib-genmarshal
-rwxr-xr-x    1 root     root         10248 Feb 27 20:06 gobject-query
-rwxr-xr-x    1 root     root         14608 Feb 27 20:06 gresource
-rwxr-xr-x    1 root     root         23016 Feb 27 20:06 gsettings

glib-2.52.3-x86_64/fs/usr/bin:
total 288
-rwxr-xr-x    1 root     root         14632 Feb 27 20:06 gapplication
-rwxr-xr-x    1 root     root         35576 Feb 27 20:06 gdbus
-rwxr-xr-x    1 root     root         65032 Feb 27 20:06 gio
-rwxr-xr-x    1 root     root         10344 Feb 27 20:06 gio-querymodules
-rwxr-xr-x    1 root     root         35736 Feb 27 20:06 glib-compile-resources
-rwxr-xr-x    1 root     root         39800 Feb 27 20:06 glib-compile-schemas
-rwxr-xr-x    1 root     root         31000 Feb 27 20:06 glib-genmarshal
-rwxr-xr-x    1 root     root         10248 Feb 27 20:06 gobject-query
-rwxr-xr-x    1 root     root         14608 Feb 27 20:06 gresource
-rwxr-xr-x    1 root     root         23016 Feb 27 20:06 gsettings

Next64 -- recook does not update ??


recook do not update ??

 

Summary for: glib 2.52.3-x86_64
================================================================================
Src file    : glib-2.52.3.tar.xz
Src size    : 7.3M
Source dir  : 121.4M
Produced    : 40.5M
Cook time   : 164s ~ 3m
Cook date   : 2018-03-22 14:59
Target arch : x86_64
--------------------------------------------------------------------------------
 # :  Packed : Compressed : Files : Package name
--------------------------------------------------------------------------------
 1 :    2.9M :     858.9K :    25 : glib-2.52.3-x86_64.tazpkg
 2 :    8.7M :       1.2M :   306 : glib-dev-2.52.3-x86_64.tazpkg
================================================================================

Leaving aufs chroot...

root@slitaz:/# ls -l /home/slitaz/wok/glib/install/usr/bin 
total 468
-rwxr-xr-x    1 root     root         21104 Mar 22 14:58 gapplication
-rwxr-xr-x    1 root     root         46184 Mar 22 14:58 gdbus
-rwxr-xr-x    1 root     root          1278 Mar 22 14:58 gdbus-codegen
-rwxr-xr-x    1 root     root         83968 Mar 22 14:58 gio
-rwxr-xr-x    1 root     root         15408 Mar 22 14:58 gio-querymodules
-rwxr-xr-x    1 root     root         46240 Mar 22 14:58 glib-compile-resources
-rwxr-xr-x    1 root     root         50800 Mar 22 14:58 glib-compile-schemas
-rwxr-xr-x    1 root     root         37864 Mar 22 14:58 glib-genmarshal
-rwxr-xr-x    1 root     root          5370 Mar 22 14:58 glib-gettextize
-rwxr-xr-x    1 root     root         18833 Mar 22 14:58 glib-mkenums
-rwxr-xr-x    1 root     root         15128 Mar 22 14:58 gobject-query
-rwxr-xr-x    1 root     root         21336 Mar 22 14:58 gresource
-rwxr-xr-x    1 root     root         31360 Mar 22 14:58 gsettings
-rwxr-xr-x    1 root     root         31136 Mar 22 14:58 gtester
-rwxr-xr-x    1 root     root         18757 Mar 22 14:58 gtester-report

root@slitaz:/# ls -l /home/slitaz/wok/glib/taz/glib-2.52.3/fs/usr/bin 
total 288
-rwxr-xr-x    1 root     root         14632 Feb 27 12:06 gapplication
-rwxr-xr-x    1 root     root         35576 Feb 27 12:06 gdbus
-rwxr-xr-x    1 root     root         65032 Feb 27 12:06 gio
-rwxr-xr-x    1 root     root         10344 Feb 27 12:06 gio-querymodules
-rwxr-xr-x    1 root     root         35736 Feb 27 12:06 glib-compile-resources
-rwxr-xr-x    1 root     root         39800 Feb 27 12:06 glib-compile-schemas
-rwxr-xr-x    1 root     root         31000 Feb 27 12:06 glib-genmarshal
-rwxr-xr-x    1 root     root         10248 Feb 27 12:06 gobject-query
-rwxr-xr-x    1 root     root         14608 Feb 27 12:06 gresource
-rwxr-xr-x    1 root     root         23016 Feb 27 12:06 gsettings
root@slitaz:/#
 
 

Next64 -- -D _GLIBCXX_USE_C99_MATH


-D _GLIBCXX_USE_C99_MATH

Update:
http://hg.slitaz.org/cookutils/rev/1037

New shiny Glibc-2.26 broke mathematics in the C++ programs and you will see something like this:

${src}/mfbt/decimal/Decimal.cpp:689:14: error: '__builtin_isfinite' is not a member of 'std'
${src}/mfbt/decimal/Decimal.cpp:692:14: error: '__builtin_isinf_sign' is not a member of 'std'
ERROR: cook failed

I'm not "in topic" with all these changes in Glibc, but I clearly see the message. Well, I can just remove "std::" prefix. And know what? It works!
http://forum.slitaz.org/topic/technical-topic-current-state-of-slitaz-next-march-2018#post-45984 


Executing: compile_rules
CFLAGS   : -march=nocona -Os -pipe -mindirect-branch=thunk -D _GLIBCXX_USE_C99_MATH

Applying patch js38-38.2.1-upstream_fixes-2.patch
  patching file build/autoconf/icu.m4
  patching file js/src/configure
  patching file js/src/configure.in
  patching file js/src/jit/RegisterSets.h
  patching file js/src/Makefile.in

loading site script /etc/slitaz/cook.site
creating cache ./config.cache

2018-02-01

Next-lxqt -- blender-2.79


blender-2.79



Ref:
glxgears
http://alanyih.blogspot.tw/2018/01/next-glxgears.html

 Minimum Requirements

https://docs.blender.org/manual/en/dev/getting_started/installing/introduction.html#minimum-requirements

Check if your system meets the minimum or recommended requirements.

Always check that the graphics drivers are up to date and that OpenGL is well supported.

Support for other hardware such as graphic tablets and 3D mice are covered later in Supported Hardware.

General information

Blender 2.7x should run out of the box, without installation procedure. To use Blender, just unpack the archive you find in the download section and start Blender!
(Note: These requirements are valid for Blender 2.77 and later. However, Blender 2.76 and earlier still supports Windows XP and OpenGL 1.4 graphics cards.)

Graphics

Blender should run on all systems that support OpenGL 2.1 and above, with recent graphics drivers.
For Windows users, in case of problems try installing the latest drivers from the graphics card manufacturer website (Intel, NVidia or AMD).

Supported Platforms

Blender is available for Windows Vista and above, Mac OSX 10.6 and above, and Linux. Blender uses OpenGL for drawing the entire interface.
The Blender developer team welcomes all efforts to bypass issues with specific configurations, but we can only officially support the platforms that are in use by active developers. Check the wiki for a list of supported platforms.

Minimum (basic usage) hardware

  • 32-bit dual core 2Ghz  CPU with SSE2 support.
  • 2 GB RAM
  • 24 bits 1280×768 display
  • Mouse or trackpad
  • OpenGL 2.1 compatible graphics with 512 MB RAM

2018-01-27

Next-lxqt -- Intel Linux Graphics Firmware


Intel Linux Graphics Firmware
i915 0000:00:02.0: Failed to load DMC firmware [ https://01.org/linuxgraphics/intel-linux-graphics-firmwares ]
New generations of Intel® graphics hardware make use specific firmware code to offer additional benefits in terms of power and performance. For more details about each of the firmware binaries see the section below.
[..]

GuC
GuC is designed to perform graphics workload scheduling on the various graphics parallel engines. In this scheduling model, host software submits work through one of the 256 graphics doorbells and this invokes the scheduling operation on the appropriate graphics engine.

DMC
DMC provides additional graphics low-power idle states. It provides capability to save and restore display registers across these low-power states independently from the OS/Kernel.

HuC
HuC is designed to offload some of the media functions from the CPU to GPU. These include but are not limited to bitrate control, header parsing.
[..]

Products

Product name Product code Firmware
Kabylake kbl GuC - Ver 9.14
DMC - Ver 1.01
HuC - Ver 2.0
GuC - Ver 9.39
Skylake skl GuC - Ver 6.1
DMC - Ver 1.26
HuC - Ver 1.07
GuC - Ver 9.33
Broxton bxt GuC - Ver 8.7
DMC - Ver 1.07
HuC - Ver 1.07
GuC - Ver 9.29
Coffee Lake cfl
Geminilake glk DMC - Ver 1.04
Cannonlake cnl DMC - Ver 1.06

Next-lxqt -- firmware-i915



firmware-i915
intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20160919
i915 0000:00:02.0: Direct firmware load for i915/kbl_dmc_ver1_01.bin failed with error -2

# tazpkg -gi firmware-i915

tux@slitaz:~$ dmesg | grep -i dmc
[ 13.111786] i915 0000:00:02.0: Direct firmware load for i915/kbl_dmc_ver1_01.bin failed with error -2
[ 13.111788] i915 0000:00:02.0: Failed to load DMC firmware [https://01.org/linuxgraphics/intel-linux-graphics-firmwares], disabling runtime power management.
 
tux@slitaz:~$ modinfo i915
filename:       /lib/modules/4.9.30-slitaz/kernel/drivers/gpu/drm/i915/i915.ko.xz
license:        GPL and additional rights
description:    Intel Graphics
author:         Intel Corporation
author:         Tungsten Graphics, Inc.
firmware:       i915/bxt_dmc_ver1_07.bin
firmware:       i915/skl_dmc_ver1_26.bin
firmware:       i915/kbl_dmc_ver1_01.bin
firmware:       i915/kbl_guc_ver9_14.bin
firmware:       i915/bxt_guc_ver8_7.bin
firmware:       i915/skl_guc_ver6_1.bin
alias:          pci:v00008086d0000593Bsv*sd*bc03sc*i*
[..]

alias:          pci:v00008086d00003577sv*sd*bc03sc*i*
depends:        drm_kms_helper,drm,intel-gtt,i2c-core,i2c-algo-bit
intree:         Y
vermagic:       4.9.30-slitaz SMP mod_unload modversions 486 
parm:           modeset:Use kernel modesetting [KMS] (0=disable, 1=on, -1=force vga console preference [default]) (int)
parm:           panel_ignore_lid:Override lid status (0=autodetect, 1=autodetect disabled [default], -1=force lid closed, -2=force lid open) (int)
parm:           semaphores:Use semaphores for inter-ring sync (default: -1 (use per-chip defaults)) (int)
parm:           enable_rc6:Enable power-saving render C-state 6. Different stages can be selected via bitmask values (0 = disable; 1 = enable rc6; 2 = enable deep rc6; 4 = enable deepest rc6). For example, 3 would enable rc6 and deep rc6, and 7 would enable everything. default: -1 (use per-chip default) (int)
parm:           enable_dc:Enable power-saving display C-states. (-1=auto [default]; 0=disable; 1=up to DC5; 2=up to DC6) (int)
parm:           enable_fbc:Enable frame buffer compression for power savings (default: -1 (use per-chip default)) (int)
parm:           lvds_channel_mode:Specify LVDS channel mode (0=probe BIOS [default], 1=single-channel, 2=dual-channel) (int)
parm:           lvds_use_ssc:Use Spread Spectrum Clock with panels [LVDS/eDP] (default: auto from VBT) (int)
parm:           vbt_sdvo_panel_type:Override/Ignore selection of SDVO panel mode in the VBT (-2=ignore, -1=auto [default], index in VBT BIOS table) (int)
parm:           reset:Attempt GPU resets (default: true) (bool)
parm:           enable_hangcheck:Periodically check GPU activity for detecting hangs. WARNING: Disabling this can cause system wide hangs. (default: true) (bool)
parm:           enable_ppgtt:Override PPGTT usage. (-1=auto [default], 0=disabled, 1=aliasing, 2=full, 3=full with extended address space) (int)
parm:           enable_execlists:Override execlists usage. (-1=auto [default], 0=disabled, 1=enabled) (int)
parm:           enable_psr:Enable PSR (0=disabled, 1=enabled - link mode chosen per-platform, 2=force link-standby mode, 3=force link-off mode) Default: -1 (use per-chip default) (int)
parm:           preliminary_hw_support:Enable preliminary hardware support. (int)
parm:           disable_power_well:Disable display power wells when possible (-1=auto [default], 0=power wells always on, 1=power wells disabled when possible) (int)
parm:           enable_ips:Enable IPS (default: true) (int)
parm:           fastboot:Try to skip unnecessary mode sets at boot time (default: false) (bool)
parm:           prefault_disable:Disable page prefaulting for pread/pwrite/reloc (default:false). For developers only. (bool)
parm:           load_detect_test:Force-enable the VGA load detect code for testing (default:false). For developers only. (bool)
parm:           force_reset_modeset_test:Force a modeset during gpu reset for testing (default:false). For developers only. (bool)
parm:           invert_brightness:Invert backlight brightness (-1 force normal, 0 machine defaults, 1 force inversion), please report PCI device ID, subsystem vendor and subsystem device ID to dri-devel@lists.freedesktop.org, if your machine needs it. It will then be included in an upcoming module version. (int)
parm:           disable_display:Disable display (default: false) (bool)
parm:           enable_cmd_parser:Enable command parsing (1=enabled [default], 0=disabled) (int)
parm:           use_mmio_flip:use MMIO flips (-1=never, 0=driver discretion [default], 1=always) (int)
parm:           mmio_debug:Enable the MMIO debug code for the first N failures (default: off). This may negatively affect performance. (int)
parm:           verbose_state_checks:Enable verbose logs (ie. WARN_ON()) in case of unexpected hw state conditions. (bool)
parm:           nuclear_pageflip:Force atomic modeset functionality; asynchronous mode is not yet supported. (default: false). (bool)
parm:           edp_vswing:Ignore/Override vswing pre-emph table selection from VBT (0=use value from vbt [default], 1=low power swing(200mV),2=default swing(400mV)) (int)
parm:           enable_guc_loading:Enable GuC firmware loading (-1=auto, 0=never [default], 1=if available, 2=required) (int)
parm:           enable_guc_submission:Enable GuC submission (-1=auto, 0=never [default], 1=if available, 2=required) (int)
parm:           guc_log_level:GuC firmware logging level (-1:disabled (default), 0-3:enabled) (int)
parm:           enable_dp_mst:Enable multi-stream transport (MST) for new DisplayPort sinks. (default: true) (bool)
parm:           inject_load_failure:Force an error after a number of failure check points (0:disabled (default), N:force failure at the Nth failure check point) (uint)
parm:           enable_dpcd_backlight:Enable support for DPCD backlight control (default:false) (bool)
parm:           enable_gvt:Enable support for Intel GVT-g graphics virtualization host support(default:false) (bool)
tux@slitaz:~$  
 
tux@slitaz:~$ sudo tazpkg -gi firmware-i915

tux@slitaz:~$ ls -l /lib/firmware/i915
total 1200
-rw-r--r--    1 root     root          8380 Sep 18 23:55 bxt_dmc_ver1_07.bin
lrwxrwxrwx    1 root     root            19 Jan 25 01:14 bxt_dmc_ver1.bin -> bxt_dmc_ver1_07.bin
-rw-r--r--    1 root     root        140928 Sep 18 23:55 bxt_guc_ver8_7.bin
-rw-r--r--    1 root     root        154432 Sep 18 23:55 bxt_huc_ver01_07_1398.bin
-rw-r--r--    1 root     root          8616 Sep 18 23:55 kbl_dmc_ver1_01.bin
lrwxrwxrwx    1 root     root            19 Jan 25 01:14 kbl_dmc_ver1.bin -> kbl_dmc_ver1_01.bin
-rw-r--r--    1 root     root        142656 Sep 18 23:55 kbl_guc_ver9_14.bin
-rw-r--r--    1 root     root        218688 Sep 18 23:55 kbl_huc_ver02_00_1810.bin
-rw-r--r--    1 root     root          8824 Sep 18 23:55 skl_dmc_ver1_23.bin
-rw-r--r--    1 root     root          8928 Sep 18 23:55 skl_dmc_ver1_26.bin
lrwxrwxrwx    1 root     root            19 Jan 25 01:14 skl_dmc_ver1.bin -> skl_dmc_ver1_26.bin
-rw-r--r--    1 root     root        109636 Sep 18 23:55 skl_guc_ver1.bin
-rw-r--r--    1 root     root        128320 Sep 18 23:55 skl_guc_ver4.bin
-rw-r--r--    1 root     root        129024 Sep 18 23:55 skl_guc_ver6_1.bin
lrwxrwxrwx    1 root     root            18 Jan 25 01:14 skl_guc_ver6.bin -> skl_guc_ver6_1.bin
-rw-r--r--    1 root     root        140992 Sep 18 23:55 skl_huc_ver01_07_1398.bin
tux@slitaz:~$

2018-01-25

Next-lxqt -- Kabylake


Kabylake
[ 1462.703] (II) intel(0): SNA initialized with Eaglelake (gen4.5) backend
[ 2279.765] (II) intel(0): SNA initialized with Haswell (gen7.5, gt1)backend
[ 401.445] (II) intel(0): SNA initialized with Kabylake (gen9) backend

tux@slitaz:~$ uname -a
Linux slitaz 4.9.30-slitaz #2 SMP Fri Jun 16 13:58:14 Europe 2017 i686 GNU/Linux

tux@slitaz:~$ glxinfo | egrep 'render|version'
direct rendering: Yes
server glx version string: 1.4
client glx version string: 1.4
GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer,
GLX version: 1.4
GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer,
OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 610 (Kaby Lake GT1) x86/MMX/SSE2
OpenGL core profile version string: 4.5 (Core Profile) Mesa 17.2.4
OpenGL core profile shading language version string: 4.50
GL_ARB_conditional_render_inverted, GL_ARB_conservative_depth,
GL_NV_conditional_render, GL_NV_depth_clamp, GL_NV_packed_depth_stencil,
OpenGL version string: 3.0 Mesa 17.2.4
OpenGL shading language version string: 1.30
GL_ARB_conditional_render_inverted, GL_ARB_conservative_depth,
GL_MESA_window_pos, GL_NV_blend_square, GL_NV_conditional_render,
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 17.2.4
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
GL_OES_element_index_uint, GL_OES_fbo_render_mipmap,

tux@slitaz:~$ egrep 'backend|i915,' /var/log/Xorg.0.log
[ 401.443] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20160919
[ 401.445] (II) intel(0): SNA initialized with Kabylake (gen9) backend


tux@slitaz:~$ grep -A5 '"intel"' /var/log/Xorg.0.log
[ 401.436] (II) LoadModule: "intel"
[ 401.436] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 401.436] (II) Module intel: vendor="X.Org Foundation"
[ 401.436] compiled for 1.19.3, module version = 2.99.917

[ 401.436] Module class: X.Org Video Driver
[ 401.436] ABI class: X.Org Video Driver, version 23.0

2018-01-20

Next-lxqt -- quick solution for undefined symbol: _XEatDataWords


quick solution for undefined symbol: _XEatDataWords

3.
tux@slitaz:~$ ldd -r /opt/VirtualBox/VirtualBox.so
linux-gate.so.1 (0xb776f000)
libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0xb6d2a000)
libxcb.so.1 => /opt/VirtualBox/libxcb.so.1 (0xb6d0f000)

libXext.so.6 => /usr/lib/libXext.so.6 (0xb63b3000)
libX11.so.6 => /opt/VirtualBox/libX11.so.6 (0xb6297000)

libX11-xcb.so.1 => /opt/VirtualBox/libX11-xcb.so.1 (0xb4c51000)


1. legacy libraries
tux@slitaz:~$ ls -l /opt/VirtualBox/lib[Xx]*
lrwxrwxrwx    1 root     root            34 Jan 15 06:59 /opt/VirtualBox/libX11.so.6 -> /opt/VirtualBox/legacy/libX11.so.6
lrwxrwxrwx    1 root     root            38 Jan 15 06:59 /opt/VirtualBox/libX11-xcb.so.1 -> /opt/VirtualBox/legacy/libX11-xcb.so.1
lrwxrwxrwx    1 root     root            34 Jan 15 06:59 /opt/VirtualBox/libxcb.so.1 -> /opt/VirtualBox/legacy/libxcb.so.1                      

tux@slitaz:~$ ls -l /opt/VirtualBox/legacy/
total 1240
-rwxr-xr-x    1 root     root       1156136 Aug  9  2016 libX11.so.6
-rwxr-xr-x    1 root     root          2852 Aug  9  2016 libX11-xcb.so.1
-rwxr-xr-x    1 root     root        105704 Aug  9  2016 libxcb.so.1


2. delete link
tux@slitaz:~$ sudo rm -f /opt/VirtualBox/lib[Xx]*


3. link xorg libraries
tux@slitaz:~$ sudo ln -s /usr/lib/libX11.so.6.3.0 /opt/VirtualBox/libX11.so.6
tux@slitaz:~$ sudo ln -s /usr/lib/libX11-xcb.so.1.0.0 /opt/VirtualBox/libX11-xcb.so.1
tux@slitaz:~$ sudo ln -s /usr/lib/libxcb.so.1.1.0 /opt/VirtualBox/libxcb.so.1

tux@slitaz:~$ ls -l /opt/VirtualBox/lib[xX]*
lrwxrwxrwx    1 root     root            24 Jan 15 07:11 /opt/VirtualBox/libX11.so.6 -> /usr/lib/libX11.so.6.3.0
lrwxrwxrwx    1 root     root            28 Jan 15 07:12 /opt/VirtualBox/libX11-xcb.so.1 -> /usr/lib/libX11-xcb.so.1.0.0
lrwxrwxrwx    1 root     root            24 Jan 15 07:13 /opt/VirtualBox/libxcb.so.1 -> /usr/lib/libxcb.so.1.1.0
tux@slitaz:~$


4. that's it.

2018-01-15

Next-lxqt -- applications.conf


applications.conf

tux@slitaz:~$ cat .config/slitaz/applications.conf
# SliTaz default applications configuration file. These apps can be
# started through wrappers: browser, editor and terminal.
#
# File manager.
FILE_MANAGER="pcmanfm"
# Web browser.
BROWSER="tazweb"
# Text editor.
EDITOR="leafpad"
# X terminal.
TERMINAL="sakura"
[ "$(which $TERMINAL)" ] || TERMINAL="xterm"
# Window manager.
WINDOW_MANAGER="lxqt"

tux@slitaz:~$

Next-lxqt -- undefined symbol: _XEatDataWords


undefined symbol: _XEatDataWords


undefined symbol: _XEatDataWords (/usr/lib/libXext.so.6)
undefined symbol: _XEatDataWords (/usr/lib/libXxf86vm.so.1)
undefined symbol: _XEatDataWords (/usr/lib/libXfixes.so.3)
undefined symbol: xcb_send_request_with_fds (/usr/lib/libxcb-dri3.so.0)
undefined symbol: _XEatDataWords (/usr/lib/libXinerama.so.1)

# tar -xzvf vbox-fix.tar.gz -C /usr/lib


1.
tux@slitaz:~$ VirtualBox
VirtualBox: supR3HardenedMainGetTrustedMain: dlopen("/opt/VirtualBox/VirtualBox.so",) failed: /usr/lib/libXext.so.6: undefined symbol: _XEatDataWords


tux@slitaz:~$ VirtualBox
VirtualBox: supR3HardenedMainGetTrustedMain: dlopen("/opt/VirtualBox/VirtualBox.so",) failed: /usr/lib/libXxf86vm.so.1: undefined symbol: _XEatDataWords
....


2.
Ticket #12556 (closed task: invalid)
Debian Jessie VB - failed: /usr/lib/x86_64-linux-gnu/libXfixes.so.3: undefined symbol: _XEatDataWords


https://www.virtualbox.org/ticket/12556


3.
tux@slitaz:~$ ldd -r /opt/VirtualBox/VirtualBox.so
linux-gate.so.1 (0xb776f000)
libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0xb6d2a000)
libxcb.so.1 => /opt/VirtualBox/libxcb.so.1 (0xb6d0f000)
libGL.so.1 => /usr/lib/libGL.so.1 (0xb6c9e000)
libdl.so.2 => /lib/libdl.so.2 (0xb6c99000)
VBoxKeyboard.so => /opt/VirtualBox/VBoxKeyboard.so (0xb6c8a000)
VBoxRT.so => /opt/VirtualBox/VBoxRT.so (0xb6712000)
VBoxVMM.so => /opt/VirtualBox/VBoxVMM.so (0xb63c5000)
libXext.so.6 => /usr/lib/libXext.so.6 (0xb63b3000)
libX11.so.6 => /opt/VirtualBox/libX11.so.6 (0xb6297000)
VBoxXPCOM.so => /opt/VirtualBox/VBoxXPCOM.so (0xb619d000)
libQt5X11ExtrasVBox.so.5 => /opt/VirtualBox/libQt5X11ExtrasVBox.so.5 (0xb6198000)
libQt5CoreVBox.so.5 => /opt/VirtualBox/libQt5CoreVBox.so.5 (0xb5bfa000)
libQt5GuiVBox.so.5 => /opt/VirtualBox/libQt5GuiVBox.so.5 (0xb5669000)
libQt5WidgetsVBox.so.5 => /opt/VirtualBox/libQt5WidgetsVBox.so.5 (0xb5096000)
libQt5PrintSupportVBox.so.5 => /opt/VirtualBox/libQt5PrintSupportVBox.so.5 (0xb503f000)
libQt5OpenGLVBox.so.5 => /opt/VirtualBox/libQt5OpenGLVBox.so.5 (0xb4ff1000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb4ec2000)
libm.so.6 => /lib/libm.so.6 (0xb4e65000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb4e4c000)
libc.so.6 => /lib/libc.so.6 (0xb4cc3000)
libXau.so.6 => /usr/lib/libXau.so.6 (0xb4cbf000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb4cb6000)
libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb4c96000)
libxcb-dri3.so.0 => /usr/lib/libxcb-dri3.so.0 (0xb4c92000)
libxcb-xfixes.so.0 => /usr/lib/libxcb-xfixes.so.0 (0xb4c8a000)
libxcb-present.so.0 => /usr/lib/libxcb-present.so.0 (0xb4c86000)
libxcb-sync.so.1 => /usr/lib/libxcb-sync.so.1 (0xb4c7f000)
libxshmfence.so.1 => /usr/lib/libxshmfence.so.1 (0xb4c7c000)
libglapi.so.0 => /usr/lib/libglapi.so.0 (0xb4c5e000)
libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0xb4c5a000)
libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb4c53000)
libX11-xcb.so.1 => /opt/VirtualBox/libX11-xcb.so.1 (0xb4c51000)
libxcb-glx.so.0 => /usr/lib/libxcb-glx.so.0 (0xb4c35000)
libxcb-dri2.so.0 => /usr/lib/libxcb-dri2.so.0 (0xb4c2f000)
libXxf86vm.so.1 => /usr/lib/libXxf86vm.so.1 (0xb4c29000)
libdrm.so.2 => /usr/lib/libdrm.so.2 (0xb4c18000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb4bfa000)
/lib/ld-linux.so.2 (0x80041000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0xb4bc8000)
libz.so.1 => /lib/libz.so.1 (0xb4bb3000)
librt.so.1 => /lib/librt.so.1 (0xb4baa000)
VBoxREM.so => /opt/VirtualBox/VBoxREM.so (0xb4ba6000)
libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb4ba3000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb4a9d000)
libpcre.so.1 => /lib/libpcre.so.1 (0xb4a3c000)
undefined symbol: _XEatDataWords (/usr/lib/libXext.so.6)
undefined symbol: _XEatDataWords (/usr/lib/libXxf86vm.so.1)
undefined symbol: _XEatDataWords (/usr/lib/libXfixes.so.3)
undefined symbol: xcb_send_request_with_fds (/usr/lib/libxcb-dri3.so.0)
undefined symbol: _XEatDataWords (/usr/lib/libXinerama.so.1)
tux@slitaz:~ $

4.
dirty hack:
download vbox-fix.tar.gz and replace the libraries.

# tar -tvf vbox-fix.tar.gz
-rwxr-xr-x root/root      9644 2018-01-08 15:33 libxcb-dri3.so.0.0.0
-rwxr-xr-x root/root     68760 2018-01-08 15:32 libXext.so.6.4.0
-rwxr-xr-x root/root     17804 2018-01-08 15:54 libXfixes.so.3.1.0
-rwxr-xr-x root/root      7528 2018-01-08 15:44 libXinerama.so.1.0.0
-rwxr-xr-x root/root     22048 2018-01-08 15:44 libXxf86vm.so.1.0.0

# tar -xzvf vbox-fix.tar.gz -C /usr/lib

Attachments
vbox-fix.tar.gz (44.5 KB)


2018-01-12

Next-lxqt -- virtualbox-5.2.4


virtualbox-5.2.4



Guest Additions
$ sudo tazpkg -i virtualbox-guestutils-5.2.4.tazpkg
$ reboot

tux@slitaz:~$ lsmod | grep vbox
vboxvideo              21478  2
ttm                    52122  1 vboxvideo
drm_kms_helper         80539  1 vboxvideo
syscopyarea             2478  2 vboxvideo,drm_kms_helper
sysfillrect             2554  2 vboxvideo,drm_kms_helper
sysimgblt               1839  2 vboxvideo,drm_kms_helper
drm                   195521  5 vboxvideo,ttm,drm_kms_helper
vboxguest             155608  3

tux@slitaz:~$ modinfo vboxvideo
filename:       /lib/modules/4.9.30-slitaz/misc/vboxvideo.ko
version:        5.2.4 r119785
license:        GPL and additional rights
description:    Oracle VM VirtualBox Graphics Card
author:         Oracle Corporation
srcversion:     17B3C051FAD1296B24802B7
alias:          pci:v000080EEd0000BEEFsv*sd*bc*sc*i*
depends:        drm,drm_kms_helper,ttm,syscopyarea,sysfillrect,sysimgblt
vermagic:       4.9.30-slitaz SMP mod_unload modversions 486
parm:           modeset:Disable/Enable modesetting (int)

tux@slitaz:~$ ps | grep VBox
 1153 root       0:00 [iprt-VBoxWQueue]
 1597 tux        0:00 /usr/bin/VBoxClient --clipboard
 1598 tux        0:00 /usr/bin/VBoxClient --clipboard
 1612 tux        0:00 /usr/bin/VBoxClient --display
 1613 tux        0:00 /usr/bin/VBoxClient --display
 1621 tux        0:00 /usr/bin/VBoxClient --seamless
 1622 tux        0:00 /usr/bin/VBoxClient --seamless
 1630 tux        0:00 /usr/bin/VBoxClient --draganddrop
 1631 tux        0:00 /usr/bin/VBoxClient --draganddrop
15352 tux        0:00 grep VBox
tux@slitaz:~$

2018-01-08

Next-lxqt -- UUID="2018-01-07-18-31-17-00"


UUID="2018-01-07-18-31-17-00" LABEL="SliTaz next-lxqt"

 

tux@slitaz:~$ slitaz

SliTaz GNU/Linux
===============================================================================
Release      : next
Architecture : i486
Kernel       : 4.9.30-slitaz
Machine type : i686
Home path    : /home/slitaz
Configs      : /etc/slitaz
Main config  : /etc/slitaz/slitaz.conf
Log files    : /var/log/slitaz
Packages DB  : /var/lib/tazpkg
Installed    : 263 packages
Mirror       : http://mirror1.slitaz.org/packages/next/
System date  : Mon Jan  8 03:39:12 America 2018
--------------
Boot options : BOOT_IMAGE=/boot/bzImage initrd=/boot/rootfs.gz rw root=/dev/null 
video=-32 autologin lang=en_US kmap=us tz=America/New_York
===============================================================================

tux@slitaz:~$ blkid
/dev/sr0: UUID="2018-01-07-18-31-17-00" LABEL="SliTaz next-lxqt" TYPE="iso9660"
tux@slitaz:~$

2018-01-06

Next-lxqt -- tazpkg-notify


/usr/bin/tazpkg-notify: line 78: yad: not found
/usr/libexec/tazpkg-notification: error while loading shared libraries: libnotify.so.4: cannot open shared object file: No such file or directory

tazpkg rev 956 tip

xdg/autostart/tazpkg-notify.desktop: add "NotShowIn=LXQt"
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jan 04 15:50:33 2018 +0200 (42 hours ago)
parents 24c9c0777880
children
files xdg/autostart/tazpkg-notify.desktop
line diff
     1.1 --- a/xdg/autostart/tazpkg-notify.desktop	Fri Dec 22 00:02:54 2017 +0200
     1.2 +++ b/xdg/autostart/tazpkg-notify.desktop	Thu Jan 04 15:50:33 2018 +0200
     1.3 @@ -4,3 +4,4 @@
     1.4  Name[fr]=Notification du système de paquets
     1.5  Name[ru]=Уведомления менеджера пакетов
     1.6  Exec=tazpkg-notify
     1.7 +NotShowIn=LXQt

----

PACKAGE="yad"
VERSION="0.39.0"
CATEGORY="utilities"
SHORT_DESC="Yet Another Dialog"
[..]
		yad)
			copy @std
			CAT="utilities|GTK+2"
			DEPENDS="atk cairo fontconfig freetype gdk-pixbuf glib gtk+ pango"
			TAGS="gtk2"
 
----
 
PACKAGE="libnotify"
VERSION="0.7.7"
CATEGORY="utilities"
SHORT_DESC="Notification library" 
[..]
		libnotify)
			copy @std #notify-send *.so*
			DEPENDS="gdk-pixbuf glib libffi libpng pcre zlib"
 
 
 

Next-lxqt -- dbus


dbus
all the same - only difference I started with screen=text and he started staight to LXQT
text mode:
# /etc/init.d/dbus start
# startx

Ref:
/etc/init.d/rcS
# Start X session. Dbus must be started before Xorg and other daemons.

Next-lxqt -- ck-launch-session: No such file or directory


ck-launch-session: No such file or directory
 

# ~/.xinitrc: Executed by Slim/LXDM login manager to startx X session. 

EXEC="exec ck-launch-session dbus-launch --sh-syntax --exit-with-session"

root@slitaz:~# ls -l /usr/bin/ck-launch-session
ls: /usr/bin/ck-launch-session: No such file or directory

root@slitaz:~# tazpkg -sp ck-launch-session

Search result for package "ck-launch-session"
=======================================================================
consolekit2
=======================================================================
1 package

root@slitaz:~# tazpkg -s consolekit2

Search result for: consolekit2
=======================================================================
Installed packages
=======================================================================
=======================================================================
0 installed packages found for: consolekit2

Available packages
=======================================================================
consolekit2        1.0.2        system-tools
consolekit2-dev        1.0.2        development
=======================================================================
2 available packages found for: consolekit2

----

root@slitaz:~# cat .xinitrc
# ~/.xinitrc: Executed by Slim/LXDM login manager to startx X session.
# You can use F1 with Slim to change your window manager or configure
# it permanently with your personal applications.conf file.
#
. /etc/slitaz/applications.conf
tazbox mkmenu

[ "$1" ] && WINDOW_MANAGER="$1"

EXEC="exec ck-launch-session dbus-launch --sh-syntax --exit-with-session"

LOG="/dev/null" ; X=$LOG ; ERR=$X

case "$WINDOW_MANAGER" in
        openbox|lxde*|icewm*|xfce4|compiz|karmen|dwm|fluxbox*|razor*|mate*)
                $EXEC ${WINDOW_MANAGER%-session}-session ;;
        enlightenment)
                $EXEC enlightenment_start ;;
        kde)    $EXEC startkde ;;
        lxqt)   $EXEC startlxqt ;;
        *)      $EXEC $WINDOW_MANAGER ;;
esac    2>>$ERR >>$X

Next-lxqt -- Cannot open font file ter-v14n



Cannot open font file ter-v14n

root@slitaz:~# egrep 'zcat|v14n|kmap|alsa' /var/log/boot.log
zcat: /proc/config.gz: No such file or directory
zcat: /proc/config.gz: No such file or directory
zcat: /proc/config.gz: No such file or directory
Setting console font to: ter-v14n...
Cannot open font file ter-v14n
Cannot open font file ter-v14n
Cannot open font file ter-v14n
Cannot open font file ter-v14n
Cannot open font file ter-v14n
Cannot open font file ter-v14n
Loading console keymap: us
/sbin/tazkeymap: line 83: can't open /usr/share/kmap/us.kmap: no such file
/etc/init.d/system.sh: line 125: alsactl: not found

root@slitaz:~#

2018-01-05

Next-lxqt -- glxgears


glxgears




# vblank_mode=0 glxgears


root@slitaz:~# uname -a
Linux slitaz 4.9.30-slitaz #2 SMP Fri Jun 16 13:58:14 Europe 2017 i686 GNU/Linux

root@slitaz:~# glxinfo | egrep 'render|version'
direct rendering: Yes
server glx version string: 1.4
client glx version string: 1.4
GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer,
GLX version: 1.4
GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer,
OpenGL renderer string: Mesa DRI Intel(R) Haswell Desktop x86/MMX/SSE2
OpenGL core profile version string: 4.5 (Core Profile) Mesa 17.2.4
OpenGL core profile shading language version string: 4.50
GL_ARB_conditional_render_inverted, GL_ARB_conservative_depth,
GL_MESA_texture_signed_rgba, GL_NV_conditional_render, GL_NV_depth_clamp,
OpenGL version string: 3.0 Mesa 17.2.4
OpenGL shading language version string: 1.30
GL_ARB_compute_shader, GL_ARB_conditional_render_inverted,
GL_NV_conditional_render, GL_NV_depth_clamp, GL_NV_light_max_exponent,
OpenGL ES profile version string: OpenGL ES 3.1 Mesa 17.2.4
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10
GL_OES_fbo_render_mipmap, GL_OES_geometry_point_size,

root@slitaz:~# vblank_mode=0 glxgears
ATTENTION: default value of option vblank_mode overridden by environment.
52035 frames in 5.0 seconds = 10406.958 FPS
51978 frames in 5.0 seconds = 10395.498 FPS
52428 frames in 5.0 seconds = 10485.462 FPS
52128 frames in 5.0 seconds = 10425.471 FPS

2018-01-04

Next-lxqt -- mesa17/mesa



mesa17 / mesa
>>leads to install mesa-dri
># tazpkg -gi mesa17-dri

mesa-dri                12.0.6
mesa17-dri              17.2.4


root@slitaz:~# tazpkg -s mesa

Search result for "mesa"
=======================================================================
Installed packages
-----------------------------------------------------------------------
mesa17                  17.2.4            x-window
mesa17-libegl           17.2.4            x-window
mesa17-libgbm           17.2.4            x-window
=======================================================================
3 installed packages found for "mesa"

Available packages
-----------------------------------------------------------------------
libglu-mesa             9.0.0             x-window
libglu-mesa-dev         9.0.0             development
libglw-mesa             8.0.0             x-window
libglw-mesa-dev         8.0.0             development
libegl-mesa             12.0.6            libs
mesa                    12.0.6            x-window
mesa-dev                12.0.6            development
mesa-dri                12.0.6            x-window
mesa17                  17.2.4            x-window
mesa17-dev              17.2.4            development
mesa17-dri              17.2.4            x-window
mesa17-libegl           17.2.4            x-window
mesa17-libgbm           17.2.4            x-window
mesa17-libswrAVX        17.2.4            x-window
mesa17-libwayland-egl   17.2.4            x-window
mesa17-libxatracker     17.2.4            x-window
mesa17-osmesa           17.2.4            x-window
mesa17-vdpau            17.2.4            x-window
=======================================================================
18 available packages found for "mesa" 
 
 

Next-lxqt -- mesa17/glx


mesa17 / glx

# tazpkg -gi mesa17-dri
# tazpkg -gi xorg-server-module-glamor

[ 2279.676] (II) LoadModule: "glx"
[ 2279.676] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 2279.684] (II) Module glx: vendor="X.Org Foundation"
[ 2279.684] compiled for 1.19.3, module version = 1.0.0
[ 2279.684] ABI class: X.Org Server Extension, version 10.0
[..]

[ 2279.765] (==) Depth 24 pixmap format is 32 bpp
[ 2279.765] (II) intel(0): SNA initialized with Haswell (gen7.5, gt1)backend
[ 2279.765] (==) intel(0): Backing store enabled
[ 2279.765] (==) intel(0): Silken mouse enabled
[ 2279.765] (II) intel(0): HW Cursor enabled
[ 2279.765] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[ 2279.765] (==) intel(0): DPMS enabled
[ 2279.765] (==) intel(0): Display hotplug detection enabled
[ 2279.765] (II) intel(0): [DRI2] Setup complete
[ 2279.765] (II) intel(0): [DRI2] DRI driver: i965
[ 2279.765] (II) intel(0): [DRI2] VDPAU driver: va_gl
[ 2279.765] (II) intel(0): direct rendering: DRI2 enabled
[ 2279.765] (II) intel(0): hardware support for Present enabled
[ 2279.765] (--) RandR disabled
[ 2279.775] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[ 2279.775] (II) AIGLX: enabled GLX_ARB_create_context
[ 2279.775] (II) AIGLX: enabled GLX_ARB_create_context_profile
[ 2279.775] (II) AIGLX: enabled GLX_EXT_create_context_es{,2}_profile
[ 2279.775] (II) AIGLX: enabled GLX_INTEL_swap_event
[ 2279.775] (II) AIGLX: enabled GLX_SGI_swap_control
[ 2279.775] (II) AIGLX: enabled GLX_EXT_framebuffer_sRGB
[ 2279.775] (II) AIGLX: enabled GLX_ARB_fbconfig_float
[ 2279.775] (II) AIGLX: enabled GLX_EXT_fbconfig_packed_float
[ 2279.775] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[ 2279.775] (II) AIGLX: enabled GLX_ARB_create_context_robustness
[ 2279.775] (II) AIGLX: Loaded and initialized i965
[ 2279.775] (II) GLX: Initialized DRI2 GL provider for screen 0
[ 2279.776] (II) intel(0): switch to mode 1920x1080@60.0 on HDMI2 using pipe 0, position (0, 0), rotation normal, reflection none
[ 2279.792] (II) intel(0): Setting screen physical size to 507 x 285
[ 2279.807] (II) config/udev: Adding input device Power Button (/dev/input/event2)

----

Updated:
xdg/autostart/tazpkg-notify.desktop: add "NotShowIn=LXQt"
X.Org X Server 1.19.3
Release Date: 2017-03-15
X Protocol Version 11, Revision 0
Build Operating System: SliTaz GNU/Linux
Current Operating System: Linux slitaz 4.9.30-slitaz #2 SMP Fri Jun 16 13:58:14 Europe 2017 i686
Kernel command line: BOOT_IMAGE=/boot/bzImage initrd=/boot/rootfs.gz rw root=/dev/null video=-32 font=ter-v14n autogin lang=en_US kmap=us tz=America/New_York
Build Date: 28 August 2017 11:09:22AM
Current version of pixman: 0.34.0
Before reporting problems, check http://www.slitaz.org/
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Jan 4 01:21:10 2018
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
(0xbfbaf46c) Warning: LockScreenManager couldn't start
get_cfg(): compton doesn't accept positional arguments.
Connection failure: Connection refused
pa_context_connect() failed: Connection refused
/usr/bin/tazpkg-notify: line 78: yad: not found
/usr/libexec/tazpkg-notification: error while loading shared libraries: libnotify.so.4: cannot open shared object file: No such file or directory

root@slitaz:~# (II) Server terminated successfully (0). Closing log file.

2018-01-03

Next-lxqt -- startx


startx

Boot slitaz-next-lxqt.iso from pc.

switch to VT1: Ctrl-Alt-F1    (X: Ctrl-Alt-F7)

root@slitaz:~# history
   0 ps
   1 kill -9 2098
   2 ps              # recheck
   3 rm -f /tmp/.X0-lock
   4 sed -i 's/$WINDOW_MANAGER/startlxqt/' .xsession
   5 cat .xsession   # recheck
   6 startx
   7 history
root@slitaz:~#



root@slitaz:~# ps
[..]
1752 root 0:00 [i915/signal:0]
1754 root 0:00 [i915/signal:1]
1755 root 0:00 [i915/signal:2]
1757 root 0:00 [i915/signal:4]
1789 root 0:00 [kworker/1:1H]
1900 root 0:00 /sbin/udhcpc -b -T 1 -A 12 -i eth0 -p /var/run/udhcpc.eth0.pid
1930 messageb 0:00 /usr/bin/dbus-daemon --system
2016 root 0:00 /usr/sbin/inetd
2057 root 0:00 /usr/sbin/ntpd -p pool.ntp.org
2098 root 0:00 /usr/libexec/Xorg -auth /var/run/slim.auth vt07
2111 root 0:00 -sh
2112 root 0:00 /sbin/getty 38400 tty2
2113 root 0:00 /sbin/getty 38400 tty3
2114 root 0:00 /sbin/getty 38400 tty4
2115 root 0:00 /sbin/getty 38400 tty5
2116 root 0:00 /sbin/getty 38400 tty6
2117 root 0:00 /sbin/getty 115200 38400 9600 4800 2400 ttyS0
2128 root 0:00 ps


root@slitaz:~# cat .xsession
# ~/.xsession: Start X window session manually on your system (startx).
#
. $HOME/.config/slitaz/applications.conf
Xorg &
#xterm &
#xpad &
exec startlxqt

 

2018-01-02

Next-lxqt -- lxqt


slitaz-next-lxqt

slitaz-next-lxqt.iso 2017-Dec-21 20:56:13 102.7M
http://mirror1.slitaz.org/iso/next/slitaz-next-lxqt.iso  





2017-11-27

Next -- QtWeb-5ba3


QtWeb-5ba3

sh: QtWeb: not found


broken - Package


1.
root@slitaz:~# QtWeb
sh: QtWeb: not found


root@slitaz:~# tazpkg -lf QtWeb
Installed files by "QtWeb"
================================================================================
/usr/share/applications/QtWeb.desktop
================================================================================
1 file

root@slitaz:~# tazpkg -s qtweb
Search result for "qtweb"
================================================================================
Installed packages
--------------------------------------------------------------------------------
QtWeb 5ba3 network

================================================================================
1 installed packages found for "qtweb"
Available packages
--------------------------------------------------------------------------------
QtWeb 5ba3 network
qtwebkit 5.212.0-alpha2 network
================================================================================
2 available packages found for "qtweb"
root@slitaz:~#


2.
http://cook.slitaz.org/next/QtWeb/log/#l857

make: *** [Makefile:1807: obj/webview.o] Error 1
make: *** Waiting for unfinished jobs....
install: can't stat '${src}/src/QtWeb': No such file or directory

[..]
Pack: QtWeb 5ba3
================================================================================
Executing: genpkg_rules
cp: can't stat '${install}/*': No such file or directory
Copying "receipt"... Done
Executing strip on all files... Done
Creating the list of files... Done
Creating md5sum of files... Done
Compressing the FS... Done
Updating receipt sizes... Done
Creating full cpio archive... Done
QA: checking for empty package... Done
================================================================================
Package "QtWeb-5ba3.tazpkg" created

The release checksum has not changed.

Debug information
================================================================================
Cook date: 2017-10-26 22:50
Wasted time : 147s ~ 2m
703:webview.cpp:432:86: error: call of overloaded 'abs(float)' is ambiguous
734:webview.cpp:435:86: error: call of overloaded 'abs(float)' is ambiguous
765:webview.cpp:438:86: error: call of overloaded 'abs(float)' is ambiguous
796:webview.cpp:441:86: error: call of overloaded 'abs(float)' is ambiguous
859:install: can't stat '${src}/src/QtWeb': No such file or directory
916:cp: can't stat '${install}/*': No such file or directory



3.
DB: broken - Packages: 195
http://cook.slitaz.org/next/?broken

Qt4-qca-ossl
QtWeb

[..]

2017-11-26

Next -- qtwebkit - qt5


qtwebkit - qt5
DEPENDS="qt5 sqlite3 hyphen libxslt" # gstreamer1 gst1-plugins-base
qt5-location qt5-sensors qt5-webchannel

root@slitaz:~# ldd /usr/lib/libQt5WebKit.so.5.212.0
/usr/lib/libQt5WebKit.so.5.212.0:
linux-gate.so.1 (0xb7705000)
libicuuc.so.58 => /usr/lib/libicuuc.so.58 (0xb54b8000)
libX11.so.6 => /usr/lib/libX11.so.6 (0xb5390000)
libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 (0xb538c000)
libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb5382000)
libQt5Gui.so.5 => /usr/lib/libQt5Gui.so.5 (0xb4df1000)
libQt5Network.so.5 => /usr/lib/libQt5Network.so.5 (0xb4c20000)
libicui18n.so.58 => /usr/lib/libicui18n.so.58 (0xb49e8000)
libdl.so.2 => /lib/libdl.so.2 (0xb49e3000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb49c5000)
libQt5Core.so.5 => /usr/lib/libQt5Core.so.5 (0xb444d000)
libjpeg.so.8 => /usr/lib/libjpeg.so.8 (0xb43e5000)
libpng16.so.16 => /usr/lib/libpng16.so.16 (0xb43b2000)
libz.so.1 => /lib/libz.so.1 (0xb439d000)
libhyphen.so.0 => /usr/lib/libhyphen.so.0 (0xb4397000)
libxml2.so.2 => /usr/lib/libxml2.so.2 (0xb4255000)
libxslt.so.1 => /usr/lib/libxslt.so.1 (0xb4217000)
libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 (0xb416e000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb403f000)
libm.so.6 => /lib/libm.so.6 (0xb3fe2000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb3fc9000)
libc.so.6 => /lib/libc.so.6 (0xb3e40000)
/lib/ld-2.25.so (0x8001e000)
libicudata.so.58 => /usr/lib/libicudata.so.58 (0xb253d000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb2516000)
libXau.so.6 => /usr/lib/libXau.so.6 (0xb2512000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb250b000)
libGL.so.1 => /usr/lib/libGL.so.1 (0xb249a000)
libharfbuzz.so.0 => /usr/lib/libharfbuzz.so.0 (0xb2423000)
libssl.so.1.0.0 => /usr/lib/libssl.so.1.0.0 (0xb23ab000)
libcrypto.so.1.0.0 => /usr/lib/libcrypto.so.1.0.0 (0xb2188000)
libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb2185000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb2081000)
liblzma.so.5 => /lib/liblzma.so.5 (0xb2063000)
libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb2041000)
libxcb-dri3.so.0 => /usr/lib/libxcb-dri3.so.0 (0xb203d000)
libxcb-xfixes.so.0 => /usr/lib/libxcb-xfixes.so.0 (0xb2035000)
libxcb-present.so.0 => /usr/lib/libxcb-present.so.0 (0xb2031000)
libxcb-sync.so.1 => /usr/lib/libxcb-sync.so.1 (0xb202a000)
libxshmfence.so.1 => /usr/lib/libxshmfence.so.1 (0xb2027000)
libglapi.so.0 => /usr/lib/libglapi.so.0 (0xb2009000)
libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0xb2005000)
libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb1ffe000)
libX11-xcb.so.1 => /usr/lib/libX11-xcb.so.1 (0xb1ffb000)
libxcb-glx.so.0 => /usr/lib/libxcb-glx.so.0 (0xb1fe1000)
libxcb-dri2.so.0 => /usr/lib/libxcb-dri2.so.0 (0xb1fd9000)
libXxf86vm.so.1 => /usr/lib/libXxf86vm.so.1 (0xb1fd3000)
libXext.so.6 => /usr/lib/libXext.so.6 (0xb1fc1000)
libdrm.so.2 => /usr/lib/libdrm.so.2 (0xb1fb0000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb1f13000)
libpcre.so.1 => /lib/libpcre.so.1 (0xb1eb2000)
libbz2.so.1.0 => /lib/libbz2.so.1.0 (0xb1ea0000)

root@slitaz:~# tail -25 /var/lib/tazpkg/installed.md5
e0db37a16edc63d40260026eb4d2c36e opusfile-0.9.tazpkg
e379ebfe3e8c357931df42b01b36f1d7 slitaz-next-170930.tazpkg
31ee6d3953d3518ba6d374a30627454d qtwebkit-5.212.0-alpha2.tazpkg
c78604b0390a57cb40f86fd69f2f3673 qt5-location-5.9.1.tazpkg
fef5c533c4a20872fd83e4f32cc76b88 qt5-base-5.9.1.tazpkg
0de0f21d399164eb3143bc64a34598e4 icu-58.2.tazpkg
2f63046738e8d6adcdc48e5d01357c65 libicu-58.2.tazpkg
e8e727b1b44689cb861da046e350534b libinput-1.8.0.tazpkg
ac0fe8a99bd58db3746ae55a20725e6b libxkbcommon-0.7.2.tazpkg
9dbb1434cbbf7dfe812ed1f28e865275 libxkbcommon-x11-0.7.2.tazpkg
54a5556f288aac8b0e0db15fa00a178b mesa17-17.2.4.tazpkg
0a3186e587f4f5693ccf6f2a56a1626f xorg-libXxf86vm-1.1.4.tazpkg
dbd523615da365ad18fc8b93c53b485d tslib-1.0.tazpkg
6698430d0ed365535c5f3dc852de4a80 libatomic-6.3.0.tazpkg
6cd3e6f5814c1c084a8b05495b35dbb0 qt5-declarative-5.9.1.tazpkg
0d3070cf9ad416fd6af22ad6601a77bd qt5-remoteobjects-5.9.1.tazpkg
3949c9d6a01429ed423446e17f3b1ad3 qt5-xmlpatterns-5.9.1.tazpkg
18b8a17f36c473089427cadd3cedc4b3 qt5-sensors-5.9.1.tazpkg
8400d64d58e40abb74484d25717f541d qt5-webchannel-5.9.1.tazpkg
2110215e6932922125c142629069ab35 hyphen-2.8.8.tazpkg
aa32b0452f12fa49e3d5206d4bc40151 libxslt-1.1.29.tazpkg
a65dd38e2d4e42a7dda6efc0957f0d3a gst1-plugins-base-1.10.3.tazpkg
ad696f3dd5c40ec7c2bc8d234ea0024c gstreamer1-1.10.3.tazpkg
4ec7e97ee2487bb536cbe46880a96bf8 libtheora-enc-1.1.1.tazpkg
fdf75ec38d4d87ebfd89a9183f641c17 orc-0.4.26.tazpkg
root@slitaz:~#



# SliTaz package receipt v2.
http://cook.slitaz.org/next/qt5/receipt

PACKAGE="qt5"
VERSION="5.9.1"
CATEGORY="meta"
SHORT_DESC="Cross-platform application framework"
[..]

SPLIT="qt5-3d qt5-base qt5-base-gtk3 \
qt5-canvas3d qt5-charts qt5-connectivity \
qt5-datavis3d qt5-declarative qt5-gamepad \
qt5-graphicaleffects qt5-imageformats qt5-location \
qt5-multimedia qt5-networkauth qt5-purchasing \
qt5-quickcontrols qt5-quickcontrols2 qt5-remoteobjects \
qt5-script qt5-scxml qt5-sensors \
qt5-serialbus qt5-serialport qt5-speech \
qt5-svg qt5-tools qt5-virtualkeyboard \
qt5-wayland qt5-webchannel qt5-websockets \
qt5-x11extras qt5-xmlpatterns qt5-base-egl \
\
qt5-locale-ar qt5-locale-ca qt5-locale-cs qt5-locale-da \
qt5-locale-de qt5-locale-en qt5-locale-es qt5-locale-fa \
qt5-locale-fi qt5-locale-fr qt5-locale-gl qt5-locale-he \
qt5-locale-hu qt5-locale-it qt5-locale-ja qt5-locale-ko \
qt5-locale-lt qt5-locale-lv qt5-locale-pl qt5-locale-pt \
qt5-locale-ru qt5-locale-sk qt5-locale-sl qt5-locale-sv \
qt5-locale-uk qt5-locale-zh_CN qt5-locale-zh_TW \
\
qt5-doc qt5-dev"

[..]
 case $PACKAGE in
  qt5)
   COOKOPTS="!pixmaps !menus"
   DEPENDS="$SPLIT";;

Next -- qtwebkit-5.212.0-alpha2


qtwebkit-5.212.0-alpha2

/bin/sh: QtTestBrowser: not found

libpng warning: iCCP: known incorrect sRGB profile
Segmentation fault


Updated:

http://hg.slitaz.org/wok-next/rev/41f56649ce60


1.
root@slitaz:~# QtTestBrowser
/bin/sh: QtTestBrowser: not found


root@slitaz:~# ls -l /usr/bin/QtTestBrowser
ls: /usr/bin/QtTestBrowser: No such file or directory

root@slitaz:~# tazpkg -lf qtwebkit | grep QtTestBrowser
/usr/share/applications/QtTestBrowser.desktop


2.
# SliTaz package receipt.
http://cook.slitaz.org/next/qtwebkit/receipt


PACKAGE="qtwebkit"
VERSION="5.212.0-alpha2"
CATEGORY="network"
SHORT_DESC="KDE version of Qt Webkit browser engine."
MAINTAINER="psychomaniak@xakep.ru"
LICENSE="GPL"
TARBALL="$PACKAGE-$VERSION.tar.xz"
WEB_SITE="http://code.qt.io/cgit/qt/qtwebkit.git/"
WEB_SITE_2="https://github.com/annulen/webkit/"
WGET_URL="${WEB_SITE_2}releases/download/${TARBALL/.tar*/}/$TARBALL"

PROVIDE="libQtWebkit"

DEPENDS="qt5 sqlite3 hyphen libxslt" # gstreamer1 gst1-plugins-base
[..]

 genpkg_rules()
{
# qtwebkit
mkdir -p $fs/usr/lib $fs/usr/bin $fs/usr/share/applications

# cp -a $src/WebKitBuild/Release/bin/QtTestBrowser $fs/usr/bin

# cp -a $install/usr/lib/*.so* $fs/usr/lib
cat > $fs/usr/share/applications/QtTestBrowser.desktop <<EOT
[Desktop Entry]
Type=Application
Name=QtTestBrowser
Exec=QtTestBrowser
Categories=Network;WebBrowser;
EOT

# qtwebkit + qtwebkit-dev:
cp -a $install/* $fs
}


3.
QtTestBrowser 2017-Oct-29 20:56:55 279.5K
http://cook.slitaz.org/next/qtwebkit/browse/source/qtwebkit-5.212.0-alpha2/WebKitBuild/Release/bin/QtTestBrowser

root@slitaz:~# QtTestBrowser
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
Segmentation fault

2017-11-01

Next -- smplayer-17.10.2




smplayer-17.10.2

libQt5Script.so.5 => not found
libatomic.so.1 => not found

This application failed to start because it could not find or load the Qt platform plugin "xcb" in "".

# tazpkg -gi qt5-script
# tazpkg -gi libxkbcommon-x11
http://cook.slitaz.org/next/gcc/browse/taz/gcc-.3.0/fs/usr/lib/libatomic.so.1.2.0


Updated:
http://hg.slitaz.org/wok-next/rev/624992409fdb
http://hg.slitaz.org/wok-next/rev/760518182338
http://hg.slitaz.org/wok-next/rev/b21fe9fb3791


root@slitaz:~# tazpkg info smplayer

TazPkg information
=======================================================================================
Package : smplayer
State : installed package
Version : 17.10.2
Category : multimedia
Short desc : QT-based front-end for MPlayer or mpv
Maintainer : psychomaniak@xakep.ru
License : GPL2
Depends : mplayer-cli qt5-base
Suggested : smplayer-themes mpv
Web site : http://smplayer.sourceforge.net/
Size : 1.9M/6M
Tags : player audio video movie
=======================================================================================

root@slitaz:~# ldd /usr/bin/smplayer | grep 'not found'
libQt5Script.so.5 => not found
libatomic.so.1 => not found
libatomic.so.1 => not found
libatomic.so.1 => not found
libatomic.so.1 => not found
libatomic.so.1 => not found
libatomic.so.1 => not found
libatomic.so.1 => not found


root@slitaz:~# tazpkg -sp libatomic.so


Search result for package "libatomic.so"
=======================================================================================
gcc
gcc49
gcc54
gcc61
=======================================================================================
4 packages


libatomic.so.1.2.0
http://cook.slitaz.org/next/gcc/browse/taz/gcc-6.3.0/fs/usr/lib/libatomic.so.1.2.0

lrwxrwxrwx 1 root root 18 Aug 11 01:56 /usr/lib/libatomic.so -> libatomic.so.1.2.0
lrwxrwxrwx 1 root root 18 Aug 11 01:56 /usr/lib/libatomic.so.1 -> libatomic.so.1.2.0
-rwxr-xr-x 1 root root 21892 Aug 11 01:56 /usr/lib/libatomic.so.1.2.0