Re: Imlib2 Reply #15 – 30 March 2025, 14:13:29 I got the FIXspecifically, adding 'sub dl_load_flags { 1 }' to Image/Imlib2.pm 1 Likes
Re: Imlib2 Reply #16 – 30 March 2025, 15:49:08 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-configBuild.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::Imlin the package...maybe update version to 2.03.1 1 Likes
Re: Imlib2 Reply #17 – 31 March 2025, 00:56:21 These packages can use some adoptionshttps://neilb.org/2013/07/24/adopt-a-module.html