Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 20 Nov 2017, 15:35
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
StretchDog
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 4 of 5 [74 Posts]   Goto page: Previous 1, 2, 3, 4, 5 Next
Author Message
don570


Joined: 10 Mar 2010
Posts: 4755
Location: Ontario

PostPosted: Sat 21 Oct 2017, 11:49    Post subject: mtpaint open jp2 j2k  

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.php?p=971483#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:
./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=0B7JZA8XWblrSdTUwMnlfLVRpLTQ

_______________________________________
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 4755
Location: Ontario

PostPosted: Sat 21 Oct 2017, 12:09    Post subject: Some sample jp2 files  

Some sample jp2 files to test
http://www.gwg.nga.mil/ntb/baseline/software/testfile/Jpeg2000/jpeg2k.htm
___________________________
Back to top
View user's profile Send private message 
wjaguar

Joined: 21 Jun 2006
Posts: 335

PostPosted: Sat 21 Oct 2017, 14:45    Post subject: Re: mtpaint open jp2 j2k  

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).
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 2588
Location: holland

PostPosted: Sat 21 Oct 2017, 14:49    Post subject:  

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


OK, thanks again, replaced in 64bit repo with your new package, btw, edited 'control' file by adding required dependencies on "Depends:" line.

Fred

_________________
Dog Linux website
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 4755
Location: Ontario

PostPosted: Sat 21 Oct 2017, 15:12    Post subject:  

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

___________________________________________
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 2588
Location: holland

PostPosted: Sat 21 Oct 2017, 15:40    Post subject:  

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

Fred

_________________
Dog Linux website
Back to top
View user's profile Send private message 
backi

Joined: 27 Feb 2011
Posts: 1340
Location: GERMANY

PostPosted: Sun 22 Oct 2017, 12:27    Post subject:  

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
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 2588
Location: holland

PostPosted: Mon 23 Oct 2017, 14:07    Post subject:  

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:
apt-get update
apt-get install emelfm2

Or install from Synaptic

Fred

_________________
Dog Linux website
Back to top
View user's profile Send private message 
belham2

Joined: 15 Aug 2016
Posts: 1303

PostPosted: Mon 23 Oct 2017, 15:42    Post subject:  

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:
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!! Smile
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 4755
Location: Ontario

PostPosted: Mon 23 Oct 2017, 17:49    Post subject:  

Quote:
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?
_______________________________________________
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 2588
Location: holland

PostPosted: Tue 24 Oct 2017, 04:39    Post subject:  

don570 wrote:
Quote:
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

_________________
Dog Linux website
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 4755
Location: Ontario

PostPosted: Wed 25 Oct 2017, 15:42    Post subject:  

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:


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:


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.

_____________________________________________
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 2588
Location: holland

PostPosted: Wed 25 Oct 2017, 16:14    Post subject:  

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:


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:


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:
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:
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

_________________
Dog Linux website
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 4755
Location: Ontario

PostPosted: Wed 25 Oct 2017, 17:36    Post subject:  

Useful info!

The Readme file in the ISO should have this example.

_____________________________________________



Code:
kernel (hd0,0)/live/vmlinuz1

was causing problems with the booting process, but it would eventually boot Rolling Eyes

_____________________________________
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 2588
Location: holland

PostPosted: Thu 26 Oct 2017, 05:36    Post subject:  

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" Question

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

_________________
Dog Linux website
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 4 of 5 [74 Posts]   Goto page: Previous 1, 2, 3, 4, 5 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1202s ][ Queries: 12 (0.0043s) ][ GZIP on ]