WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: XLView submitted  (Read 10903 times)

Offline nimday

  • Jr. Member
  • **
  • Posts: 75
XLView submitted
« on: May 10, 2016, 09:49:20 PM »
This is my 1st time, so if something missing let me know.

A tiny multi purpose image viewer.
You can see any image that fltk can handle,screenshot with timer for both screen & window(color & bw),color grabber(double click),image cropper(you can resize the window & move the image 1st),image converter(via imlib2),wallpaper changer.

Code: [Select]
Title:          xlview.tcz
Description:    Image Viewer
Version:        1.0.0
Author:         Albert.S
Original-site:  https://sourceforge.net/projects/xlview/
Copying-policy: GPL v2
Size:           12k
Extension_by:   Nimday
Tags:           image viewer
Comments:       Lightweight Multi Purpose Image Viewer.
                ----                 
                Compiled for TC 7.x                 
                ----   
                PPI Compatible
Change-log:     2016/05/11 First version, 1.0.0
Current:        2016/05/11 First version, 1.0.0
« Last Edit: May 10, 2016, 09:51:08 PM by nimday »

Offline nimday

  • Jr. Member
  • **
  • Posts: 75
Re: XLView submitted
« Reply #1 on: May 21, 2016, 08:55:12 PM »
Why no confirmation till today not even to my gmail ?

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: XLView submitted
« Reply #2 on: May 22, 2016, 01:40:12 AM »
Hi nimday,  It's been my experience to see submissions processed every other Sunday depending on how busy folks are.
Confirmation emails are usually sent to you after the extension has been accepted and placed in the repo, not when received.
Hang in there,  sometimes the process can take longer but I'm sure you'll receive confirmation soon. 
« Last Edit: May 22, 2016, 01:49:21 AM by coreplayer2 »

Offline nimday

  • Jr. Member
  • **
  • Posts: 75
Re: XLView submitted
« Reply #3 on: May 22, 2016, 08:43:50 PM »
Thanks ,i'm glad an experienced member like you can share about this.
I didn't know the process after the 2nd sunday.

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: XLView submitted
« Reply #4 on: November 23, 2017, 01:09:56 PM »
On tc-7.x x86

xlview.tcz.dep has a bad entry:
Code: [Select]
fltk-1.3
missing the file name extension.

Anyway, fixing that it still segfaults.
Download a copy and keep it handy: Core book ;)

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: XLView submitted
« Reply #5 on: November 28, 2017, 02:27:28 AM »
dep file fixed in 7.x and 8.x x86 repos.

It works for me with a jpeg file using Core-8.x and Xvesa...

Offline TinyErestor

  • Newbie
  • *
  • Posts: 15
Re: XLView submitted
« Reply #6 on: January 14, 2018, 12:10:49 PM »
Hi,
I tried this program and it segfaults with me, too.
It segfaults without argument, with a PNG file and a JPEG file.
A ls -l on the used shared object files:
Code: (bash) [Select]
ls -l $(ldd /usr/local/bin/xlview | sed -e 's/^.*=> \([^ ]*\) .*$/\1/' -e 's+ (.*$++')
ls: linux-gate.so.1: No such file or directory
lrwxrwxrwx    1 root     root            10 Jan  6 13:10 /lib/ld-linux.so.2 -> ld-2.24.so
lrwxrwxrwx    1 root     root            12 Jan  6 13:10 /lib/libc.so.6 -> libc-2.24.so
lrwxrwxrwx    1 root     root            13 Jan  6 13:10 /lib/libdl.so.2 -> libdl-2.24.so
lrwxrwxrwx    1 root     root            12 Jan  6 13:10 /lib/libm.so.6 -> libm-2.24.so
lrwxrwxrwx    1 root     root            18 Jan  6 13:10 /lib/libpthread.so.0 -> libpthread-2.24.so
-rw-r--r--    1 root     root         87528 Nov  6 15:00 /usr/lib/libgcc_s.so.1
lrwxrwxrwx    1 root     root            19 Jan  6 13:10 /usr/lib/libstdc++.so.6 -> libstdc++.so.6.0.22
lrwxrwxrwx    1 root     root            13 Jan  6 13:10 /usr/lib/libz.so.1 -> libz.so.1.2.8
lrwxrwxrwx    1 root     root            44 Jan  8 16:46 /usr/local/lib/libX11.so.6 -> /tmp/tcloop/libX11/usr/local/lib/libX11.so.6
lrwxrwxrwx    1 root     root            44 Jan  8 16:46 /usr/local/lib/libXau.so.6 -> /tmp/tcloop/libXau/usr/local/lib/libXau.so.6
lrwxrwxrwx    1 root     root            48 Jan  8 16:46 /usr/local/lib/libXdmcp.so.6 -> /tmp/tcloop/libXdmcp/usr/local/lib/libXdmcp.so.6
lrwxrwxrwx    1 root     root            46 Jan  8 16:46 /usr/local/lib/libXext.so.6 -> /tmp/tcloop/libXext/usr/local/lib/libXext.so.6
lrwxrwxrwx    1 root     root            49 Jan  8 16:46 /usr/local/lib/libfltk.so.1.3 -> /tmp/tcloop/fltk-1.3/usr/local/lib/libfltk.so.1.3
lrwxrwxrwx    1 root     root            56 Jan  8 16:46 /usr/local/lib/libfltk_images.so.1.3 -> /tmp/tcloop/fltk-1.3/usr/local/lib/libfltk_images.so.1.3
lrwxrwxrwx    1 root     root            53 Jan  8 16:46 /usr/local/lib/libjpeg.so.62 -> /tmp/tcloop/libjpeg-turbo/usr/local/lib/libjpeg.so.62
lrwxrwxrwx    1 root     root            47 Jan  8 16:46 /usr/local/lib/libpng16.so.16 -> /tmp/tcloop/libpng/usr/local/lib/libpng16.so.16
lrwxrwxrwx    1 root     root            44 Jan  8 16:46 /usr/local/lib/libxcb.so.1 -> /tmp/tcloop/libxcb/usr/local/lib/libxcb.so.1
I am using a 32bit system on a 64bit kernel.
uname -a:
Linux AcerBox 4.8.17-tinycore64 #2017 SMP Sun Mar 5 17:17:31 UTC 2017 x86_64 GNU/Linux

Regards

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: XLView submitted
« Reply #7 on: January 14, 2018, 02:22:06 PM »
Very nice thank you nimday,  works perfectly for png and jpeg files.  Very small footprint!!





Xorg
Nvidia driver
HackedBox


Would be nice to have a version for the x86_64 repo   ;)
« Last Edit: January 14, 2018, 02:49:09 PM by coreplayer2 »

Offline nimday

  • Jr. Member
  • **
  • Posts: 75
Re: XLView submitted
« Reply #8 on: January 17, 2018, 09:36:03 PM »
Hi,
I tried this program and it segfaults with me, too.
It segfaults without argument, with a PNG file and a JPEG file.

Regards

Thanks, I 'll take a look.


Would be nice to have a version for the x86_64 repo   ;)



Thanks, I think for 64 bit, The makefile should be edited first.

Offline TinyErestor

  • Newbie
  • *
  • Posts: 15
Re: XLView submitted
« Reply #9 on: January 24, 2018, 05:58:45 AM »
Hi,
I tried this program and it segfaults with me, too.
It segfaults without argument, with a PNG file and a JPEG file.

Regards

Thanks, I 'll take a look.

Hi,

I have 4 computers with TC 8 on them and on 2 xlview works, on other 2 not. So I started comparing them. In one try, I loaded TCEs on a computer where xlview works, which were loeded on one where it does not work and the other way round. Now it does not work on both of them.
I will continue to find the TCE, which breaks xlview.

Regards

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: XLView submitted
« Reply #10 on: January 24, 2018, 06:29:04 AM »
Are the machines on which xlview fails older machines and, if so, what cpu do they have?

Are the machines on which xlview fails using Xvesa, Xfbdev or Xorg-7.7?

Offline TinyErestor

  • Newbie
  • *
  • Posts: 15
Re: XLView submitted
« Reply #11 on: January 26, 2018, 07:05:34 AM »
Hi,
(should we switch to TCE Bugs?)
I am now confused about my situation:
The xlview on machine 1 works on displays of machines 1., 2. and 3.
The xlview on machines 2., 3. and 4. work on display of machine 3., not on displays of machines 1. and 2..
Before a reboot of machine 3., the xlview there works on display on machine 2. Displays on machine 1. and 3. were not tested.
Before this reboot, xlview on machine 3. did not work on display on machine 2., if libreoffice was installed and the files
/usr/local/share/mimelnk/application/libreoffice-presentation-template.desktop /usr/local/share/mimelnk/application/libreoffice-presentation.desktop /usr/local/share/mimelnk/application/libreoffice-spreadsheet-template.desktop /usr/local/share/mimelnk/application/libreoffice-spreadsheet.desktop
were not removed.

I remember, that on machine 3. in directory /usr/local/lib were some file linked into Xorg-7.6-libs instead of into Xorg-7.7-libs. But I am not sure about this.

Displays on other machines are reached via X-tunnels of ssh.

I have these 4 machines:
1. local installation of TinyCore
Code: [Select]
Cpu:
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 15
model           : 2
model name      : Intel(R) Pentium(R) 4 CPU 2.40GHz
cpu cores       : 1
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe pebs bts eagerfpu cid

Memory:
MemTotal:         503328 kB

X-Server:
/usr/local/bin/Xvesa -br -mode 0x0118 -shadow -mouse /dev/psaux -nolisten tcp -I

xdpyinfo:
name of display:    :11.0
version number:    11.0
vendor string:    TinyCore Linux
vendor release number:    10000000
maximum request size:  16777212 bytes
motion buffer size:  256
bitmap unit, bit order, padding:    32, LSBFirst, 32
image byte order:    LSBFirst
number of supported pixmap formats:    7
supported pixmap formats:
    depth 1, bits_per_pixel 1, scanline_pad 32
    depth 4, bits_per_pixel 4, scanline_pad 32
    depth 8, bits_per_pixel 8, scanline_pad 32
    depth 15, bits_per_pixel 16, scanline_pad 32
    depth 16, bits_per_pixel 16, scanline_pad 32
    depth 24, bits_per_pixel 32, scanline_pad 32
    depth 32, bits_per_pixel 32, scanline_pad 32
keycode range:    minimum 8, maximum 254
focus:  window 0xe00002, revert to PointerRoot
number of extensions:    15
    BIG-REQUESTS
    DAMAGE
    DOUBLE-BUFFER
    DPMS
    MIT-SCREEN-SAVER
    MIT-SHM
    RANDR
    RENDER
    SHAPE
    SYNC
    X-Resource
    XC-MISC
    XFIXES
    XFree86-Bigfont
    XTEST
default screen number:    0
number of screens:    1

screen #0:
  dimensions:    1024x768 pixels (347x260 millimeters)
  resolution:    75x75 dots per inch
  depths (7):    1, 4, 8, 15, 16, 24, 32
  root window id:    0x3a
  depth of root window:    24 planes
  number of colormaps:    minimum 1, maximum 1
  default colormap:    0x20
  default number of colormap cells:    256
  preallocated pixels:    black 0, white 16777215
  options:    backing-store NO, save-unders NO
  largest cursor:    1024x768
  current input event mask:    0xd8403f
    KeyPressMask             KeyReleaseMask           ButtonPressMask         
    ButtonReleaseMask        EnterWindowMask          LeaveWindowMask         
    KeymapStateMask          SubstructureNotifyMask   SubstructureRedirectMask
    PropertyChangeMask       ColormapChangeMask       
  number of visuals:    1
  default visual id:  0x21
  visual:
    visual id:    0x21
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits


2. netboot from 1.
Code: [Select]
Cpu:
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 22
model name : Intel(R) Celeron(R) CPU          530  @ 1.73GHz
cpu cores : 1
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf eagerfpu pni dtes64 monitor ds_cpl tm2 ssse3 cx16 xtpr pdcm lahf_lm dtherm

Memory:
MemTotal:        1013900 kB

X-Server:
/usr/local/lib/xorg/Xorg -nolisten tcp
mit /usr/local/lib/xorg/modules/drivers/intel_drv.so

xdpyinfo:
name of display:    :0.0
version number:    11.0
vendor string:    The X.Org Foundation
vendor release number:    11905000
X.Org version: 1.19.5
maximum request size:  16777212 bytes
motion buffer size:  256
bitmap unit, bit order, padding:    32, LSBFirst, 32
image byte order:    LSBFirst
number of supported pixmap formats:    7
supported pixmap formats:
    depth 1, bits_per_pixel 1, scanline_pad 32
    depth 4, bits_per_pixel 8, scanline_pad 32
    depth 8, bits_per_pixel 8, scanline_pad 32
    depth 15, bits_per_pixel 16, scanline_pad 32
    depth 16, bits_per_pixel 16, scanline_pad 32
    depth 24, bits_per_pixel 32, scanline_pad 32
    depth 32, bits_per_pixel 32, scanline_pad 32
keycode range:    minimum 8, maximum 255
focus:  window 0x800008, revert to PointerRoot
number of extensions:    29
    BIG-REQUESTS
    Composite
    DAMAGE
    DOUBLE-BUFFER
    DPMS
    DRI2
    DRI3
    GLX
    Generic Event Extension
    MIT-SCREEN-SAVER
    MIT-SHM
    Present
    RANDR
    RECORD
    RENDER
    SGI-GLX
    SHAPE
    SYNC
    X-Resource
    XC-MISC
    XFIXES
    XFree86-DGA
    XFree86-VidModeExtension
    XINERAMA
    XInputExtension
    XKEYBOARD
    XTEST
    XVideo
    XVideo-MotionCompensation
default screen number:    0
number of screens:    1

screen #0:
  dimensions:    1920x1080 pixels (507x285 millimeters)
  resolution:    96x96 dots per inch
  depths (7):    24, 1, 4, 8, 15, 16, 32
  root window id:    0xc8
  depth of root window:    24 planes
  number of colormaps:    minimum 1, maximum 1
  default colormap:    0x22
  default number of colormap cells:    256
  preallocated pixels:    black 0, white 16777215
  options:    backing-store WHEN MAPPED, save-unders NO
  largest cursor:    256x256
  current input event mask:    0xda403f
    KeyPressMask             KeyReleaseMask           ButtonPressMask         
    ButtonReleaseMask        EnterWindowMask          LeaveWindowMask         
    KeymapStateMask          StructureNotifyMask      SubstructureNotifyMask   
    SubstructureRedirectMask PropertyChangeMask       ColormapChangeMask       
  number of visuals:    48
  default visual id:  0x20
  visual:
    visual id:    0x20
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits


3. netboot from 1.
Code: [Select]
Cpu:
processor : 0
vendor_id : AuthenticAMD
cpu family : 21
model : 1
model name : AMD FX(tm)-6100 Six-Core Processor
cpu cores : 3
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf eagerfpu pni pclmulqdq monitor ssse3 cx16 sse4_1 sse4_2 popcnt aes xsave avx lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs xop skinit wdt lwp fma4 nodeid_msr topoext perfctr_core perfctr_nb cpb hw_pstate vmmcall arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold

Memory:
MemTotal:        8166752 kB

X-Server:
/usr/local/lib/xorg/Xorg -nolisten tcp
mit /usr/local/lib/xorg/modules/drivers/nv_drv.so

xdpyinfo:
name of display:    :10.0
version number:    11.0
vendor string:    The X.Org Foundation
vendor release number:    11905000
X.Org version: 1.19.5
maximum request size:  16777212 bytes
motion buffer size:  256
bitmap unit, bit order, padding:    32, LSBFirst, 32
image byte order:    LSBFirst
number of supported pixmap formats:    7
supported pixmap formats:
    depth 1, bits_per_pixel 1, scanline_pad 32
    depth 4, bits_per_pixel 8, scanline_pad 32
    depth 8, bits_per_pixel 8, scanline_pad 32
    depth 15, bits_per_pixel 16, scanline_pad 32
    depth 16, bits_per_pixel 16, scanline_pad 32
    depth 24, bits_per_pixel 32, scanline_pad 32
    depth 32, bits_per_pixel 32, scanline_pad 32
keycode range:    minimum 8, maximum 255
focus:  window 0xe00002, revert to PointerRoot
number of extensions:    27
    BIG-REQUESTS
    Composite
    DAMAGE
    DOUBLE-BUFFER
    DPMS
    DRI2
    GLX
    Generic Event Extension
    MIT-SCREEN-SAVER
    MIT-SHM
    Present
    RANDR
    RECORD
    RENDER
    SGI-GLX
    SHAPE
    SYNC
    X-Resource
    XC-MISC
    XFIXES
    XFree86-DGA
    XFree86-VidModeExtension
    XINERAMA
    XInputExtension
    XKEYBOARD
    XTEST
    XVideo
default screen number:    0
number of screens:    1

screen #0:
  dimensions:    1360x768 pixels (359x203 millimeters)
  resolution:    96x96 dots per inch
  depths (7):    24, 1, 4, 8, 15, 16, 32
  root window id:    0x273
  depth of root window:    24 planes
  number of colormaps:    minimum 1, maximum 1
  default colormap:    0x20
  default number of colormap cells:    256
  preallocated pixels:    black 0, white 16777215
  options:    backing-store WHEN MAPPED, save-unders NO
  largest cursor:    64x64
  current input event mask:    0xd8403f
    KeyPressMask             KeyReleaseMask           ButtonPressMask         
    ButtonReleaseMask        EnterWindowMask          LeaveWindowMask         
    KeymapStateMask          SubstructureNotifyMask   SubstructureRedirectMask
    PropertyChangeMask       ColormapChangeMask       
  number of visuals:    240
  default visual id:  0x21
  visual:
    visual id:    0x21
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits

4. netboot from 1.
Code: [Select]
Cpu:
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Intel(R) Core(TM)2 Duo CPU     P8600  @ 2.40GHz
cpu cores : 2
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts nopl aperfmperf eagerfpu pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 lahf_lm tpr_shadow vnmi flexpriority dtherm

Memory:
MemTotal:        1993524 kB

no X-server

    [EDIT]: Added code tags.  Rich
« Last Edit: January 26, 2018, 09:50:38 AM by Rich »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: XLView submitted
« Reply #12 on: January 26, 2018, 08:11:44 AM »
note that some elements of Xorg-7.7 will not compile for i486 and are compiled for pentium-m - this may include libEGL and libGL

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11703
Re: XLView submitted
« Reply #13 on: January 26, 2018, 09:58:07 AM »
Hi TinyErestor
Please place terminal commands/results inside of  code tags.

Offline TinyErestor

  • Newbie
  • *
  • Posts: 15
Re: XLView submitted
« Reply #14 on: January 29, 2018, 10:13:57 AM »
Hi,

I have found some more clues:
xlview aborts, if libreoffice is installed and not enough files are deleted from directory /usr/local/share/mimelnk/application.
xlview aborts, if the environment variable LANG is set to de_DE.utf8 and the file /usr/lib/locale/locale-archive exists in my version.
I had created a mylocale.tcz extension with TC 4 in June 2012.

Regards