components/gnome/gdk-pixbuf/patches/00-no-medialib.patch
changeset 5944 885ee1b94ac0
equal deleted inserted replaced
5943:c081bc16736d 5944:885ee1b94ac0
       
     1 medialib is obsolete; a more thorough patch to completely remove all
       
     2 references should be provided to upstream.
       
     3 
       
     4 --- gdk-pixbuf-2.32.1/configure.ac	Thu Oct  1 11:48:24 2015
       
     5 +++ gdk-pixbuf-2.32.1/configure.ac	Thu Oct  1 11:48:53 2015
       
     6 @@ -838,25 +838,8 @@
       
     7                  AC_DEFINE(HAVE_SYS_SYSINFO_H, 1,
       
     8                            [Define to 1 if sys/sysinfo.h is available]))
       
     9  
       
    10 -AC_MSG_CHECKING(for mediaLib 2.3)
       
    11 +use_mlib=no
       
    12  use_mlib25=no
       
    13 -# Check for a mediaLib 2.3 function since that is what the GTK+ mediaLib
       
    14 -# patch requires.
       
    15 -AC_CHECK_LIB(mlib, mlib_ImageSetStruct, use_mlib=yes, use_mlib=no)
       
    16 -if test $use_mlib = yes; then
       
    17 -    AC_DEFINE(USE_MEDIALIB, 1,
       
    18 -              [Define to 1 if medialib is available and should be used])
       
    19 -    MEDIA_LIB=-lmlib
       
    20 -
       
    21 -    AC_MSG_CHECKING(for mediaLib 2.5)
       
    22 -    # Check for a mediaLib 2.5 function since that is what is needed for
       
    23 -    # gdk_rgb_convert integration.
       
    24 -    AC_CHECK_LIB(mlib, mlib_VideoColorRGBint_to_BGRAint, use_mlib25=yes, use_mlib25=no)
       
    25 -    if test $use_mlib25 = yes; then
       
    26 -        AC_DEFINE(USE_MEDIALIB25, 1,
       
    27 -                  [Define to 1 if medialib 2.5 is available])
       
    28 -    fi
       
    29 -fi
       
    30  AM_CONDITIONAL(USE_MEDIALIB, test $use_mlib = yes)
       
    31  AM_CONDITIONAL(USE_MEDIALIB25, test $use_mlib25 = yes)
       
    32