Package: libimage-imlib2-perl
Severity: important
Version: 1.03-1

libimlib2 version 1.2.0 breaks Image::Imlib2::load

See the following:

   perl -MImage::Imlib2 -le 'my $image =Image::Imlib2->load(q(temp)) or die 
"foo\n"'

Downgrading to 1.1.2 fixes the problem.

However, the following C code works with 1.2.0:

#include <X11/Xlib.h>
#include <Imlib2.h>
#include <stdio.h>


typedef Imlib_Image Image__Imlib2;

int main(void){

  Imlib_Image image;
  Imlib_Load_Error err;
  
  image = imlib_load_image_with_error_return ("temp.jpg", &err);
  
  if(image){
    fprintf(stdout, "Worked %d\n",err);
  }
  else{
    fprintf(stdout, "Failed %d\n",err);
  }
  exit(0);
}


Working on figuring out what is actually the problem right now.


Don Armstrong

-- 
Filing a bug is probably not going to get it fixed any faster.
 -- Anthony Towns

http://www.donarmstrong.com              http://rzlab.ucr.edu


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to