Changeset 107565 in webkit


Ignore:
Timestamp:
Feb 13, 2012 6:16:32 AM (12 years ago)
Author:
commit-queue@webkit.org
Message:

[GTK] Revise configuration for MHTML
https://bugs.webkit.org/show_bug.cgi?id=78364

Patch by ChangSeok Oh <ChangSeok Oh> on 2012-02-13
Reviewed by Gustavo Noronha Silva.

.:

Added some lines to show checking messages, whether mhtml is enabled or not
during configuration and the configuration result for mhtml.
MHTML is a web page archive format used to combine resources
that are typically represented by external links (such as images, Flash animations,
Java applets, audio files) together with HTML code into a single file.
http://en.wikipedia.org/wiki/MHTML

  • configure.ac:

Source/WebCore:

Added mhtml directory and removed target files duplicated to build when enabling mhtml.
Archive.cpp, ArchiveFactory.cpp & their headers are included at the above line.
This duplication has caused build-break if mhtml is enabled.

No new tests, since no new features.

  • GNUmakefile.am:
  • GNUmakefile.list.am:
Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r107562 r107565  
     12012-02-13  ChangSeok Oh  <shivamidow@gmail.com>
     2
     3        [GTK] Revise configuration for MHTML
     4        https://bugs.webkit.org/show_bug.cgi?id=78364
     5
     6        Reviewed by Gustavo Noronha Silva.
     7
     8        Added some lines to show checking messages, whether mhtml is enabled or not
     9        during configuration and the configuration result for mhtml.
     10        MHTML is a web page archive format used to combine resources
     11        that are typically represented by external links (such as images, Flash animations,
     12        Java applets, audio files) together with HTML code into a single file.
     13        http://en.wikipedia.org/wiki/MHTML
     14
     15        * configure.ac:
     16
    1172012-02-06  Raphael Kubo da Costa  <kubo@profusion.mobi>
    218
  • trunk/Source/WebCore/ChangeLog

    r107562 r107565  
     12012-02-13  ChangSeok Oh  <shivamidow@gmail.com>
     2
     3        [GTK] Revise configuration for MHTML
     4        https://bugs.webkit.org/show_bug.cgi?id=78364
     5
     6        Reviewed by Gustavo Noronha Silva.
     7
     8        Added mhtml directory and removed target files duplicated to build when enabling mhtml.
     9        Archive.cpp, ArchiveFactory.cpp & their headers are included at the above line.
     10        This duplication has caused build-break if mhtml is enabled.
     11
     12        No new tests, since no new features.
     13
     14        * GNUmakefile.am:
     15        * GNUmakefile.list.am:
     16
    1172012-02-06  Raphael Kubo da Costa  <kubo@profusion.mobi>
    218
  • trunk/Source/WebCore/GNUmakefile.am

    r106847 r107565  
    589589if ENABLE_MHTML
    590590FEATURE_DEFINES += ENABLE_MHTML=1
    591 webcore_cppflags += -DENABLE_MHTML=1
     591webcore_cppflags += \
     592        -DENABLE_MHTML=1 \
     593        -I$(srcdir)/Source/WebCore/loader/archive/mhtml
    592594endif  # END ENABLE_MHTML
    593595
  • trunk/Source/WebCore/GNUmakefile.list.am

    r107558 r107565  
    56985698if ENABLE_MHTML
    56995699webcore_sources += \
    5700         Source/WebCore/loader/archive/Archive.cpp \
    5701         Source/WebCore/loader/archive/Archive.h \
    5702         Source/WebCore/loader/archive/ArchiveFactory.cpp \
    5703         Source/WebCore/loader/archive/ArchiveFactory.h \
    57045700        Source/WebCore/loader/archive/mhtml/MHTMLArchive.cpp \
    57055701        Source/WebCore/loader/archive/mhtml/MHTMLArchive.h \
  • trunk/configure.ac

    r107510 r107565  
    805805              [],[enable_mathml="yes"])
    806806AC_MSG_RESULT([$enable_mathml])
     807
     808# check whether to enable MHTML support
     809AC_MSG_CHECKING([whether to enable MHTML support])
     810AC_ARG_ENABLE(mhtml,
     811              AC_HELP_STRING([--enable-mhtml],
     812                             [enable support for MHTML [default=no]]),
     813              [],[enable_mhtml="no"])
     814AC_MSG_RESULT([$enable_mhtml])
    807815
    808816# check whether to enable SVG support
     
    14281436 Media source                                             : $enable_media_source
    14291437 Media statistics                                         : $enable_media_statistics
     1438 MHTML support                                            : $enable_mhtml
    14301439 HTML5 channel messaging support                          : $enable_channel_messaging
    14311440 HTML5 meter element support                              : $enable_meter_tag
Note: See TracChangeset for help on using the changeset viewer.