StretchDog

A home for all kinds of Puppy related projects
Message
Author
User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

mtpaint open jp2 j2k

#46 Post by don570 »

I found a way to make mtpaint open jp2 and j2k file format.
In my previous configure I was using 'nojp2' option in configure command.
http://murga-linux.com/puppy/viewtopic. ... 483#971483

Here is the new method I used...

I use fatdog linux 710 and upgrade it with giflib_5.1.2.orig.tar.bz2
(as previously mentioned) and also

openjpeg-2.1.1.tar.gz

This installed libopenjp2-7 package in fatdog linux.

Next I compiled mtpaint without 'nojp2' option.

Something like

Code: Select all

./configure intl  GIF tiff jpeg  --prefix=/usr
and it found the libopenjp2-7 package .

I then took the binary file and tested on stretch dog linux and then put
together debian package of mtpaint. It will now open more file types jp2 and j2k for example.

Available :
Size 487k
mtpaint_3.49.12_amd64.deb
https://drive.google.com/open?id=0B7JZA ... nlfLVRpLTQ

_______________________________________

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

Some sample jp2 files

#47 Post by don570 »

Some sample jp2 files to test
http://www.gwg.nga.mil/ntb/baseline/sof ... jpeg2k.htm
___________________________

wjaguar
Posts: 359
Joined: Wed 21 Jun 2006, 14:16

Re: mtpaint open jp2 j2k

#48 Post by wjaguar »

don570 wrote:openjpeg-2.1.1.tar.gz
BTW: anyone who intends to work with JPEG2000 for real, is advised to switch to the recent OpenJPEG 2.3.0. It is easily 2x the performance of previous versions, and of the JasPer library which was just as slow.
The library should be compiled with the "-DCMAKE_BUILD_TYPE=Release" option, to enable full optimizations (25% faster than without it).

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#49 Post by fredx181 »

don570 wrote:Available :
Size 487k
mtpaint_3.49.12_amd64.deb
https://drive.google.com/open?id=0B7JZA ... nlfLVRpLTQ
OK, thanks again, replaced in 64bit repo with your new package, btw, edited 'control' file by adding required dependencies on "Depends:" line.

Fred

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#50 Post by don570 »

I wanted to be compatible to openjpeg2-7 package that Debian offers

https://packages.debian.org/stable/libs/libopenjp2-7

Now that I read this page it lists openjpeg2_2.1.2.orig.tar.gz as its source package.
I used older source but it works fine. It's the package that is used by stretch dog that is the important one
since that is the one the final user uses to open a file

___________________________________________

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#51 Post by fredx181 »

Hi Don, FYI, I added now libopenjp2-7 to Depends: line in 'control' (previously didn't)
https://fredx181.github.io/StretchDog/a ... _amd64.deb

Fred

backi
Posts: 1922
Joined: Sun 27 Feb 2011, 22:00
Location: GERMANY

#52 Post by backi »

By the way .....
Maybe Off-Topic .........but who really cares .

...........does anybody know where mcewanw is hiding ?

"The King is gone......but he`s not forgotten "
https://www.youtube.com/watch?v=t4Y1wDdMYH4

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#53 Post by fredx181 »

Included youtube-get2 in StretchDog needed some fixes, see: Changes and Fixes list (4)

And added to custom repositories: emelfm2 file manager for X/gtk (taken from Ubuntu Trusty PPA, works fine in Stretch from what I tested), to install:

Code: Select all

apt-get update
apt-get install emelfm2
Or install from Synaptic

Fred

belham2
Posts: 1715
Joined: Mon 15 Aug 2016, 22:47

#54 Post by belham2 »

fredx181 wrote:Included youtube-get2 in StretchDog needed some fixes, see: Changes and Fixes list (4)

And added to custom repositories: emelfm2 file manager for X/gtk (taken from Ubuntu Trusty PPA, works fine in Stretch from what I tested), to install:

Code: Select all

apt-get update
apt-get install emelfm2
Or install from Synaptic

Fred
Thank you, Fred! :wink: The darn thing is kinda nice as a backup filemanager, one I can leave in dual-pane mode set to handle only copying between the two designated partitions I am always usually fooling with. Just hope it doesn't start acting up (copying large files) like SpaceFM did. Thanks again for emelfm2!! :)

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#55 Post by don570 »

StretchDog needed some fixes, see: Changes and Fixes list (4)
...says that you're making default apps..

I noticed in the Stretch dog iso that I downloaded that there was a 'defaultmediaplayer' but it was a bad link ???

Shouldn't it be linked to executable?
_______________________________________________

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#56 Post by fredx181 »

don570 wrote:
StretchDog needed some fixes, see: Changes and Fixes list (4)
...says that you're making default apps..

I noticed in the Stretch dog iso that I downloaded that there was a 'defaultmediaplayer' but it was a bad link ???

Shouldn't it be linked to executable?
_______________________________________________
Yes, in next ISO release these default application symlinks should be fixed, indeed some are broken symlinks.
(completely forgot to pay attention to it when I made StretchDog 2017-10-10 ISO)

Fred

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#57 Post by don570 »

Here's an observation...

When I installed stretchdog from the ISO
I read the Readme file inside and
I dragged live folder to a hard drive partition
and made simple menu.lst addition

Code: Select all


title stretch (sda1) 
root (hd0,0)
kernel (hd0,0)/live/vmlinuz1 noauto from=/ changes=EXIT:/live/
initrd (hd0,0)/live/initrd1.xz

and it worked.

However I tried dragging the live folder to another folder porteus
and changed menu.lst...

Code: Select all


title stretch (sda1) 
root (hd0,0)
kernel (hd0,0)/porteus/live/vmlinuz1 noauto from=/ changes=EXIT:/porteus/live/
initrd (hd0,0)/porteus/live/initrd1.xz

and I got got the warning that a search for stretch-x86_64.sgn file would take place and it wouldn't boot.

_____________________________________________

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#58 Post by fredx181 »

don570 wrote:Here's an observation...

When I installed stretchdog from the ISO
I read the Readme file inside and
I dragged live folder to a hard drive partition
and made simple menu.lst addition

Code: Select all


title stretch (sda1) 
root (hd0,0)
kernel (hd0,0)/live/vmlinuz1 noauto from=/ changes=EXIT:/live/
initrd (hd0,0)/live/initrd1.xz

and it worked.

However I tried dragging the live folder to another folder porteus
and changed menu.lst...

Code: Select all


title stretch (sda1) 
root (hd0,0)
kernel (hd0,0)/porteus/live/vmlinuz1 noauto from=/ changes=EXIT:/porteus/live/
initrd (hd0,0)/porteus/live/initrd1.xz

and I got got the warning that a search for stretch-x86_64.sgn file would take place and it wouldn't boot.

_____________________________________________
Then you need to change from=/... (from=/... should be considered parent folder of "live")

So this should work then according to your setup:

Code: Select all

title stretch (sda1) 
root (hd0,0)
kernel /porteus/live/vmlinuz1 noauto from=/porteus changes=EXIT:/porteus/live/
initrd /porteus/live/initrd1.xz
Btw, name of "parent folder" can be be anything, e.g. if "live" is inside "stretch_dog":

Code: Select all

title stretch from stretch_dog (sda1) 
root (hd0,0)
kernel /stretch_dog/live/vmlinuz1 noauto from=/stretch_dog changes=EXIT:/stretch_dog/live/
initrd /stretch_dog/live/initrd1.xz
Fred

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#59 Post by don570 »

Useful info!

The Readme file in the ISO should have this example.

_____________________________________________


Code: Select all

kernel (hd0,0)/live/vmlinuz1
was causing problems with the booting process, but it would eventually boot :roll:

_____________________________________

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#60 Post by fredx181 »

don570 wrote:kernel (hd0,0)/live/vmlinuz1

was causing problems with the booting process, but it would eventually boot Rolling Eyes
Not sure, but I think you mean: "I didn't specify from=/ and still it boots" :?:

The default folder to search for is "live", so if it's on the root of a partition, the from= is in fact not needed, so with above kernel line it boots without save and auto-mounting all partitions.

P.S. I will edit example boot codes file on next ISO release, thanks.
There's also Wiki page BTW.

Fred

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#61 Post by don570 »

Not sure, but I think you mean
I was referring to the fact that the kernel line shouldn't mention the hard drive
partion which is (hd0,0) in my example. It booted up though.

hamoudoudou

Abiword 3.0.2 Test Synaptic.

#62 Post by hamoudoudou »

root@stretch:~# abiword

** (abiword:14485): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
libEGL warning: DRI2: failed to authenticate
libEGL warning: DRI2: failed to open swrast (search paths /usr/lib/i386-linux-gnu/dri:${ORIGIN}/dri:/usr/lib/dri)
gbm: failed to open any driver (search paths /usr/lib/i386-linux-gnu/dri:${ORIGIN}/dri:/usr/lib/dri)
gbm: Last dlopen error: /usr/lib/dri/i965_dri.so: cannot open shared object file: No such file or directory
failed to load driver: i965
gbm: failed to open any driver (search paths /usr/lib/i386-linux-gnu/dri:${ORIGIN}/dri:/usr/lib/dri)
gbm: Last dlopen error: /usr/lib/dri/kms_swrast_dri.so: cannot open shared object file: No such file or directory
failed to load driver: kms_swrast
gbm: failed to open any driver (search paths /usr/lib/i386-linux-gnu/dri:${ORIGIN}/dri:/usr/lib/dri)
gbm: Last dlopen error: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory
failed to load swrast driver

(abiword:14485): GLib-ERROR **: /build/glib2.0-YYXhFA/glib2.0-2.50.3/./glib/gmem.c:100: failed to allocate 4269314724 bytes
Trace/breakpoint trap
root@stretch:~#
It was just a try. Older versions will fit my needs.
User : Root Password Puppy ... seen in boot scripts. Not needed. Could do however some confusion with Puppy Linux OS.

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#63 Post by fredx181 »

Yes, didn't try installing abiword earlier, disappointing... apparently it requires libgl1-mesa-dri installed, total disk space used if installed the following: 277MB :roll:

Code: Select all

apt-get install abiword libgl1-mesa-dri
Then abiword runs for me, BUT it flickers, is it a bug ? (or my graphics card?), doing google search for "debian abiword flicker" gives lots of results, most workarounds described changing theme, tried a lot, but nothing works for me.
Finally experimented with installing libabiword-3.0_3.0.2-4 taken from Ubuntu and that solved the flickering for me.
Install for 32 or 64 bit from here (after installing abiword as above and have the flickering problem):
https://fredx181.github.io/StretchDog/NoRepo/

Also I searched for a (smaller) alternative, and found Shinobar's abiword-portable-3.0.0.tar.gz from here:
http://shinobar.server-on.net/puppy/opt/pup5/

But it needs some more dependencies to work on stretch, to satisfy them automatically, I made it into a .deb package: abiword-portable (32 bit only)
https://fredx181.github.io/StretchDog/i ... 0_i386.deb
Install above .deb, or from Synaptic "abiword-portable" or from terminal:

Code: Select all

apt-get update
apt-get install abiword-portable
This will take only around 17MB of space used, can anyone test ? (works OK for me though)

EDIT: This .squashfs module containing abiword (v2.8.), gnumeric and inklite works also on Stretchdog 32-bit:
https://github.com/fredx181/StretchDog/ ... 6.squashfs

Fred
Last edited by fredx181 on Sat 28 Oct 2017, 20:51, edited 5 times in total.

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#64 Post by don570 »

I forgot to mention to fredx181 ...

For better compatibility to BarryK --->

For the last couple of years Barry has been making
/root/.config/rox.sourceforge.net/SendTo
a link to
/root/.config/rox.sourceforge.net/OpenWith


This solves a lot of problems with making right click menu items.

______________________________________

hamoudoudou

My SFS is 7MB including Abiword and Gnumeric

#65 Post by hamoudoudou »

About Abiword it was more a test for synaptic downloadind newest applications. Abiword 3.0.2 is difficult to obtain, but DebianDog quite got success..
I like Abiword, in spite of bad comments. 2.8.6 is enough for my usage at home. And SFS can be easily loaded on Dogs.

277 MBs, that is crazy ! My SFS is 7MB including Abiword and Gnumeric (compressed sure)
Versions 2.9 and 3.0.0 are with bugs, whatever could say people of the forum. Abisource solved a lot of these bugs with 3.0.2.. it's Abisource themselves that list the bugs, They miss feedback from users.

Post Reply