MESSAGE
| DATE | 2025-03-30 |
| FROM | Ruben Safir
|
| SUBJECT | Re: [Hangout - NYLXS] Troubles in Image:Imlib2
|
hi
I fixed it. If you could just make the simple patches, it would be great for thousands of users
On 3/30/25 8:04 AM, Ian B wrote: > Couple of things you could try, modify the Image::Imlib2 module, to have > sub dl_load_flags { 0x102 } just before the "boostrap" line... > so it would look like (remember to save original) > .. > $VERSION = '2.03'; > sub dl_load_flags { 0x102 }; > bootstrap Image::Imlib2 $VERSION; > ...
EXCELLENT - I did this as a fix 20 ); 21 $VERSION = '2.03'; 22 23 sub dl_load_flags { 1 }; 24 25 bootstrap Image::Imlib2 $VERSION; 26 27 Image::Imlib2->set_cache_size(0); 28
It works now!
Summary - the Package needs to be updated to work with pkg-config
Build.PL 4 # We need to find imlib2-config 5 my $CONFIG = "pkg-config"; 6 21 22 my $libs = `$CONFIG --libs imlib2`; 23 my $cflags = "-DX_DISPLAY_MISSING " . `$CONFIG imlib2 --cflags`; 24
edit
./.cpan/build/Image-Imlib2-2.03-0/lib/Image/Imlib2.pm 20 ); 21 $VERSION = '2.03'; 22 23 sub dl_load_flags { 1 }; 24 25 bootstrap Image::Imlib2 $VERSION; 26 27 Image::Iml
in the package...maybe update version to 2.03.1
right now it is broken because of fidgity upstream young coders
On 3/30/25 11:40 AM, Leon Brocard wrote: > Sorry, I haven’t developed that library for a decade. > > Leon > >> On 28 Mar 2025, at 11:45, Ruben Safir wrote: >> >> >> Hello >> >> I hope you reply to this email. I am having trouble with >> Image::Imlib2. It is a critical part of Apache::Galery which I have >> been using for a few decades >> >> It is not loading images correctly after a system upgrade. I get an >> error that looks like this: >> >> /usr/local/apache2/logs/gallery_error_log:[Fri Mar 28 07:29:07.143493 >> 2025] [perl:error] [pid 6725] [client 166.84.1.1:59779] Image::Imlib2 >> load error: No loader for file format at >> /usr/local/lib/perl5/site_perl/5.26.1/Apache/Gallery.pm line 1515.\n, >> referer: http://images.mrbrklyn.com/2025_purim_amsterdam2/test.jpg >> /usr/local/apache2/logs/gallery_error_log:[Fri Mar 28 07:29:12.993200 >> 2025] [perl:error] [pid 6780] [client 166.84.1.1:59777] Image::Imlib2 >> load error: No loader for file format at >> /usr/local/lib/perl5/site_perl/5.26.1/Apache/Gallery.pm line 1515.\n, >> referer: >> http://images.mrbrklyn.com/2025_purim_amsterdam2/test.jpg?width=640 >> /usr/local/apache2/logs/gallery_error_log:[Fri Mar 28 07:30:21.539541 >> 2025] [perl:error] [pid 6695] [client 166.84.1.1:59762] Image::Imlib2 >> load error: No loader for file format at >> /usr/local/lib/perl5/site_perl/5.26.1/Apache/Gallery.pm line 1515.\n, >> referer: http://images.mrbrklyn.com/2025_purim_amsterdam2/test.png >> /usr/local/apache2/logs/gallery_error_log:[Fri Mar 28 07:30:21.554170 >> 2025] [perl:error] [pid 6747] [client 166.84.1.1:59760] Image::Imlib2 >> load error: No loader for file format at >> /usr/local/lib/perl5/site_perl/5.26.1/Apache/Gallery.pm line 1515.\n, >> referer: http://images.mrbrklyn.com/2025_purim_amsterdam2/test.png >> >> The images seem to work with feh on my workstation. I have yet tested >> it on the server. The server is not running X making it harder to test. >> >> I am on artix linux which is a close derivitive of Arch. >> >> I suspect the problem is in the actual library. There was an ImageMagik >> update in yesterdays system undate. >> >> Ruben Safir >> >> >> >> -- >> So many immigrant groups have swept through our town >> that Brooklyn, like Atlantis, reaches mythological >> proportions in the mind of the world - RI Safir 1998 >> http://www.mrbrklyn.com >> >> DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002 >> http://www.nylxs.com - Leadership Development in Free Software >> http://www2.mrbrklyn.com/resources - Unpublished Archive >> http://www.coinhangout.com - coins! >> http://www.brooklyn-living.com >> >> Being so tracked is for FARM ANIMALS and extermination camps, >> but incompatible with living as a free human being. -RI Safir 2013 >>
-- So many immigrant groups have swept through our town that Brooklyn, like Atlantis, reaches mythological proportions in the mind of the world - RI Safir 1998 http://www.mrbrklyn.com DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002
http://www.nylxs.com - Leadership Development in Free Software http://www.brooklyn-living.com
Being so tracked is for FARM ANIMALS and extermination camps, but incompatible with living as a free human being. -RI Safir 2013 _______________________________________________ Hangout mailing list Hangout-at-nylxs.com http://lists.mrbrklyn.com/mailman/listinfo/hangout
|
|