mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-26 02:17:34 +09:00
Issue #1342 - Remove support for system linbpng
This commit is contained in:
parent
65ca6d8036
commit
7f94258c9a
7 changed files with 1 additions and 56 deletions
|
|
@ -36,7 +36,6 @@ if ('MOZ_OFFICIAL_BRANDING' in listConfig) or (strBrandingDirectory.endswith("br
|
||||||
'MOZ_SYSTEM_JPEG',
|
'MOZ_SYSTEM_JPEG',
|
||||||
'MOZ_SYSTEM_ZLIB',
|
'MOZ_SYSTEM_ZLIB',
|
||||||
'MOZ_SYSTEM_BZ2',
|
'MOZ_SYSTEM_BZ2',
|
||||||
'MOZ_SYSTEM_PNG',
|
|
||||||
'MOZ_SYSTEM_LIBVPX',
|
'MOZ_SYSTEM_LIBVPX',
|
||||||
'MOZ_SYSTEM_SQLITE',
|
'MOZ_SYSTEM_SQLITE',
|
||||||
'MOZ_SYSTEM_JEMALLOC'
|
'MOZ_SYSTEM_JEMALLOC'
|
||||||
|
|
|
||||||
|
|
@ -293,7 +293,6 @@ def old_configure_options(*options):
|
||||||
'--with-system-libvpx',
|
'--with-system-libvpx',
|
||||||
'--with-system-nspr',
|
'--with-system-nspr',
|
||||||
'--with-system-nss',
|
'--with-system-nss',
|
||||||
'--with-system-png',
|
|
||||||
'--with-system-zlib',
|
'--with-system-zlib',
|
||||||
'--with-thumb',
|
'--with-thumb',
|
||||||
'--with-thumb-interwork',
|
'--with-thumb-interwork',
|
||||||
|
|
|
||||||
|
|
@ -44,7 +44,6 @@ export:: $(export-preqs)
|
||||||
-DMOZ_SYSTEM_HUNSPELL=$(MOZ_SYSTEM_HUNSPELL) \
|
-DMOZ_SYSTEM_HUNSPELL=$(MOZ_SYSTEM_HUNSPELL) \
|
||||||
-DMOZ_SYSTEM_BZ2=$(MOZ_SYSTEM_BZ2) \
|
-DMOZ_SYSTEM_BZ2=$(MOZ_SYSTEM_BZ2) \
|
||||||
-DMOZ_SYSTEM_ZLIB=$(MOZ_SYSTEM_ZLIB) \
|
-DMOZ_SYSTEM_ZLIB=$(MOZ_SYSTEM_ZLIB) \
|
||||||
-DMOZ_SYSTEM_PNG=$(MOZ_SYSTEM_PNG) \
|
|
||||||
-DMOZ_SYSTEM_JPEG=$(MOZ_SYSTEM_JPEG) \
|
-DMOZ_SYSTEM_JPEG=$(MOZ_SYSTEM_JPEG) \
|
||||||
-DMOZ_SYSTEM_LIBVPX=$(MOZ_SYSTEM_LIBVPX) \
|
-DMOZ_SYSTEM_LIBVPX=$(MOZ_SYSTEM_LIBVPX) \
|
||||||
$(srcdir)/system-headers $(srcdir)/stl-headers | $(PERL) $(topsrcdir)/nsprpub/config/make-system-wrappers.pl system_wrappers
|
$(srcdir)/system-headers $(srcdir)/stl-headers | $(PERL) $(topsrcdir)/nsprpub/config/make-system-wrappers.pl system_wrappers
|
||||||
|
|
|
||||||
3
config/external/moz.build
vendored
3
config/external/moz.build
vendored
|
|
@ -36,8 +36,7 @@ if not CONFIG['MOZ_SYSTEM_LIBVPX']:
|
||||||
if CONFIG['MOZ_AV1']:
|
if CONFIG['MOZ_AV1']:
|
||||||
external_dirs += ['media/libaom']
|
external_dirs += ['media/libaom']
|
||||||
|
|
||||||
if not CONFIG['MOZ_SYSTEM_PNG']:
|
external_dirs += ['media/libpng']
|
||||||
external_dirs += ['media/libpng']
|
|
||||||
|
|
||||||
external_dirs += ['media/libwebp']
|
external_dirs += ['media/libwebp']
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1253,9 +1253,6 @@ soundtouch/SoundTouchFactory.h
|
||||||
#if MOZ_LIBAV_FFT==1
|
#if MOZ_LIBAV_FFT==1
|
||||||
libavcodec/avfft.h
|
libavcodec/avfft.h
|
||||||
#endif
|
#endif
|
||||||
#if MOZ_SYSTEM_PNG==1
|
|
||||||
png.h
|
|
||||||
#endif
|
|
||||||
#if MOZ_SYSTEM_ZLIB==1
|
#if MOZ_SYSTEM_ZLIB==1
|
||||||
zlib.h
|
zlib.h
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -2101,51 +2101,6 @@ if test "${BZ2_DIR}" -a -d "${BZ2_DIR}" -a "$MOZ_SYSTEM_BZ2" = 1; then
|
||||||
MOZ_BZ2_LIBS="-L${BZ2_DIR}/lib ${MOZ_BZ2_LIBS}"
|
MOZ_BZ2_LIBS="-L${BZ2_DIR}/lib ${MOZ_BZ2_LIBS}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dnl ========================================================
|
|
||||||
dnl system PNG Support
|
|
||||||
dnl ========================================================
|
|
||||||
MOZ_ARG_WITH_STRING(system-png,
|
|
||||||
[ --with-system-png[=PFX]
|
|
||||||
Use system libpng [installed at prefix PFX]],
|
|
||||||
PNG_DIR=$withval)
|
|
||||||
|
|
||||||
_SAVE_CFLAGS=$CFLAGS
|
|
||||||
_SAVE_LDFLAGS=$LDFLAGS
|
|
||||||
_SAVE_LIBS=$LIBS
|
|
||||||
if test -n "${PNG_DIR}" -a "${PNG_DIR}" != "yes"; then
|
|
||||||
CFLAGS="-I${PNG_DIR}/include $CFLAGS"
|
|
||||||
LDFLAGS="-L${PNG_DIR}/lib $LDFLAGS"
|
|
||||||
fi
|
|
||||||
if test -z "$PNG_DIR" -o "$PNG_DIR" = no; then
|
|
||||||
MOZ_SYSTEM_PNG=
|
|
||||||
else
|
|
||||||
AC_CHECK_LIB(png, png_get_valid, [MOZ_SYSTEM_PNG=1 MOZ_PNG_LIBS="-lpng"],
|
|
||||||
AC_MSG_ERROR([--with-system-png requested but no working libpng found]))
|
|
||||||
AC_CHECK_LIB(png, png_get_acTL, ,
|
|
||||||
AC_MSG_ERROR([--with-system-png won't work because the system's libpng doesn't have APNG support]))
|
|
||||||
fi
|
|
||||||
if test "$MOZ_SYSTEM_PNG" = 1; then
|
|
||||||
AC_TRY_COMPILE([ #include <stdio.h>
|
|
||||||
#include <sys/types.h>
|
|
||||||
#include <png.h> ],
|
|
||||||
[ #if PNG_LIBPNG_VER < $MOZPNG
|
|
||||||
#error "Insufficient libpng version ($MOZPNG required)."
|
|
||||||
#endif
|
|
||||||
#ifndef PNG_UINT_31_MAX
|
|
||||||
#error "Insufficient libpng version."
|
|
||||||
#endif ],
|
|
||||||
MOZ_SYSTEM_PNG=1,
|
|
||||||
AC_MSG_ERROR([--with-system-png requested but no working libpng found]))
|
|
||||||
fi
|
|
||||||
CFLAGS=$_SAVE_CFLAGS
|
|
||||||
LDFLAGS=$_SAVE_LDFLAGS
|
|
||||||
LIBS=$_SAVE_LIBS
|
|
||||||
|
|
||||||
if test "${PNG_DIR}" -a -d "${PNG_DIR}" -a "$MOZ_SYSTEM_PNG" = 1; then
|
|
||||||
MOZ_PNG_CFLAGS="-I${PNG_DIR}/include"
|
|
||||||
MOZ_PNG_LIBS="-L${PNG_DIR}/lib ${MOZ_PNG_LIBS}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
fi # SKIP_LIBRARY_CHECKS
|
fi # SKIP_LIBRARY_CHECKS
|
||||||
|
|
||||||
dnl ========================================================
|
dnl ========================================================
|
||||||
|
|
|
||||||
|
|
@ -195,9 +195,6 @@ if CONFIG['SERVO_TARGET_DIR']:
|
||||||
if CONFIG['MOZ_SYSTEM_JPEG']:
|
if CONFIG['MOZ_SYSTEM_JPEG']:
|
||||||
OS_LIBS += CONFIG['MOZ_JPEG_LIBS']
|
OS_LIBS += CONFIG['MOZ_JPEG_LIBS']
|
||||||
|
|
||||||
if CONFIG['MOZ_SYSTEM_PNG']:
|
|
||||||
OS_LIBS += CONFIG['MOZ_PNG_LIBS']
|
|
||||||
|
|
||||||
if CONFIG['MOZ_SYSTEM_HUNSPELL']:
|
if CONFIG['MOZ_SYSTEM_HUNSPELL']:
|
||||||
OS_LIBS += CONFIG['MOZ_HUNSPELL_LIBS']
|
OS_LIBS += CONFIG['MOZ_HUNSPELL_LIBS']
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue