И снова webkit-gtk

Очередной раз усовершенствовал webkit-gtk-9999.ebuild на предмет USE флагов. Кому интересно начало было тут.

Дело все в том, что у webkit-gtk параметров сборки гораздо больше чем существующих в данный момент USE флагов. Многое конечно включается/выключается по умолчанию…

Собственно это сам webkit-gtk и его параметры сборки на данный момент

./autogen.sh

./configure --help
`configure' configures WebKit 1.1.17 to adapt to many kinds of systems.

Usage: ./configure [OPTION]… [VAR=VALUE]…

To assign environment variables (e.g., CC, CFLAGS…), specify them as
VAR=VALUE.  See below for descriptions of some of the useful variables.

Defaults for the options are specified in brackets.

Configuration:
  -h, --help              display this help and exit
      --help=short        display options specific to this package
      --help=recursive    display the short help of all the included packages
  -V, --version           display version information and exit
  -q, --quiet, --silent   do not print `checking…' messages
      --cache-file=FILE   cache test results in FILE [disabled]
  -C, --config-cache      alias for `--cache-file=config.cache'
  -n, --no-create         do not create output files
      --srcdir=DIR        find the sources in DIR [configure dir or `..']

Installation directories:
  --prefix=PREFIX         install architecture-independent files in PREFIX
                      [/usr/local]
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                      [PREFIX]

By default, `make install' will install all the files in
`/usr/local/bin', `/usr/local/lib' etc.  You can specify
an installation prefix other than `/usr/local' using `--prefix',
for instance `--prefix=$HOME'.

For better control, use the options below.

Fine tuning of the installation directories:
  --bindir=DIR            user executables [EPREFIX/bin]
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
  --libexecdir=DIR        program executables [EPREFIX/libexec]
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
  --libdir=DIR            object code libraries [EPREFIX/lib]
  --includedir=DIR        C header files [PREFIX/include]
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
  --infodir=DIR           info documentation [DATAROOTDIR/info]
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
  --mandir=DIR            man documentation [DATAROOTDIR/man]
  --docdir=DIR            documentation root [DATAROOTDIR/doc/webkit]
  --htmldir=DIR           html documentation [DOCDIR]
  --dvidir=DIR            dvi documentation [DOCDIR]
  --pdfdir=DIR            pdf documentation [DOCDIR]
  --psdir=DIR             ps documentation [DOCDIR]

Program names:
  --program-prefix=PREFIX            prepend PREFIX to installed program names
  --program-suffix=SUFFIX            append SUFFIX to installed program names
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names

System types:
  --build=BUILD     configure for building on BUILD [guessed]
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]

Optional Features:
  --disable-option-checking  ignore unrecognized --enable/--with options
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  --enable-silent-rules          less verbose build output (undo: `make V=1')
  --disable-silent-rules         verbose build output (undo: `make V=0')
  --disable-dependency-tracking  speeds up one-time build
  --enable-dependency-tracking   do not reject slow dependency extractors
  --disable-largefile     omit support for large files
  --enable-static[=PKGS]  build static libraries [default=no]
  --enable-shared[=PKGS]  build shared libraries [default=yes]
  --enable-fast-install[=PKGS]
                      optimize for fast installation [default=yes]
  --disable-libtool-lock  avoid locking (might break parallel builds)
  --enable-debug          turn on debugging default=no
  --enable-optimizations  turn on optimize builds (GCC only) default=yes
  --enable-dashboard-support
                      enable Dashboard support default=yes
  --enable-3D-transforms  enable support for 3D transforms default=no
  --enable-channel-messaging
                      enable HTML5 channel messaging support default=yes
  --enable-javascript-debugger
                      enable JavaScript debugger/profiler support
                      default=yes
  --enable-offline-web-applications
                      enable HTML5 offline web applications support
                      default=yes
  --enable-dom-storage    enable HTML5 client-side session and persistent
                      storage support default=yes
  --enable-database       enable HTML5 client-side database storage support
                      default=yes
  --enable-eventsource    enable HTML5 server-sent events support
                      default=yes
  --enable-icon-database  enable icon database default=yes
  --enable-datalist       enable HTML5 datalist support default=yes
  --enable-video          enable HTML5 video support default=yes
  --enable-xpath          enable support for XPath default=yes
  --enable-xslt           enable support for XSLT default=yes
  --enable-geolocation    enable support for geolocation default=no
  --enable-mathml         enable support for MathML default=no
  --enable-shared-script  enable support for SharedScript default=no
  --enable-svg            enable support for SVG default=yes
  --enable-wml            enable support for WML default=no
  --enable-shared-workers enable support for SharedWorkers default=no
  --enable-workers        enable support for Web Workers default=yes
  --enable-svg-animation  enable support for SVG animation (experimental)
                      default=yes
  --enable-filters        enable support for filters (experimental)
                      default=no
  --enable-svg-fonts      enable support for SVG fonts (experimental)
                      default=yes
  --enable-svg-foreign-object
                      enable support for SVG foreign objects
                      (experimental) default=yes
  --enable-svg-as-image   enable SVG as Image support (experimental)
                      default=yes
  --enable-svg-use        enable SVG use element support (experimental)
                      default=yes
  --enable-web-sockets    enable support for Web Sockets default=no
  --enable-coverage       enable code coverage support default=no
  --enable-fast-malloc    enable optimized memory allocator default=yes,
                      default=no for debug builds
  --enable-jit            Enable JIT compilation default=yes
  --enable-introspection  Enable GObject introspection (default: disabled)
  --enable-gtk-doc        use gtk-doc to build documentation [default=no]

Optional Packages:
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  --with-pic              try to use only PIC/non-PIC objects [default=use
                      both]
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
  --with-target=[x11/win32/quartz/directfb]
                      Select webkit target default=x11
  --with-hildon           Use Hildon UI extensions default=no
  --with-unicode-backend=[icu/glib]
                      Select Unicode backend (WARNING: the glib-based
                      backend is slow, and incomplete) default=icu
  --with-font-backend=[freetype/pango]
                      Select font backend default=freetype
  --with-html-dir=PATH    path to installed docs

Some influential environment variables:
  CC          C compiler command
  CFLAGS      C compiler flags
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
          nonstandard directory <lib dir>
  LIBS        libraries to pass to the linker, e.g. -l<library>
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
          you have headers in a nonstandard directory <include dir>
  CXX         C++ compiler command
  CXXFLAGS    C++ compiler flags
  CPP         C preprocessor
  CXXCPP      C++ preprocessor
  PKG_CONFIG  path to pkg-config utility
  HILDON_CFLAGS
          C compiler flags for HILDON, overriding pkg-config
  HILDON_LIBS linker flags for HILDON, overriding pkg-config
  GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
  GLIB_LIBS   linker flags for GLIB, overriding pkg-config
  UNICODEGLIB_CFLAGS
          C compiler flags for UNICODEGLIB, overriding pkg-config
  UNICODEGLIB_LIBS
          linker flags for UNICODEGLIB, overriding pkg-config
  LIBXML_CFLAGS
          C compiler flags for LIBXML, overriding pkg-config
  LIBXML_LIBS linker flags for LIBXML, overriding pkg-config
  PANGO_CFLAGS
          C compiler flags for PANGO, overriding pkg-config
  PANGO_LIBS  linker flags for PANGO, overriding pkg-config
  ENCHANT_CFLAGS
          C compiler flags for ENCHANT, overriding pkg-config
  ENCHANT_LIBS
          linker flags for ENCHANT, overriding pkg-config
  GAIL_CFLAGS C compiler flags for GAIL, overriding pkg-config
  GAIL_LIBS   linker flags for GAIL, overriding pkg-config
  CAIRO_CFLAGS
          C compiler flags for CAIRO, overriding pkg-config
  CAIRO_LIBS  linker flags for CAIRO, overriding pkg-config
  GTK_CFLAGS  C compiler flags for GTK, overriding pkg-config
  GTK_LIBS    linker flags for GTK, overriding pkg-config
  XT_CFLAGS   C compiler flags for XT, overriding pkg-config
  XT_LIBS     linker flags for XT, overriding pkg-config
  INTROSPECTION_CFLAGS
          C compiler flags for INTROSPECTION, overriding pkg-config
  INTROSPECTION_LIBS
          linker flags for INTROSPECTION, overriding pkg-config
  LIBSOUP_CFLAGS
          C compiler flags for LIBSOUP, overriding pkg-config
  LIBSOUP_LIBS
          linker flags for LIBSOUP, overriding pkg-config
  FREETYPE_CFLAGS
          C compiler flags for FREETYPE, overriding pkg-config
  FREETYPE_LIBS
          linker flags for FREETYPE, overriding pkg-config
  SQLITE3_CFLAGS
          C compiler flags for SQLITE3, overriding pkg-config
  SQLITE3_LIBS
          linker flags for SQLITE3, overriding pkg-config
  LIBXSLT_CFLAGS
          C compiler flags for LIBXSLT, overriding pkg-config
  LIBXSLT_LIBS
          linker flags for LIBXSLT, overriding pkg-config
  GEOCLUE_CFLAGS
          C compiler flags for GEOCLUE, overriding pkg-config
  GEOCLUE_LIBS
          linker flags for GEOCLUE, overriding pkg-config
  GSTREAMER_CFLAGS
          C compiler flags for GSTREAMER, overriding pkg-config
  GSTREAMER_LIBS
          linker flags for GSTREAMER, overriding pkg-config

Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.

Report bugs to <http://bugs.webkit.org/>.

А это USE флаги webkit-gtk-9999.ebuild из моего оверлея

emerge webkit-gtk -pv

These are the packages that would be merged, in order:

Calculating dependencies        done!
[ebuild   R   ] net-libs/webkit-gtk-9999  USE="3D-transforms coverage filters gstreamer jit mathml shared-workers soup sqlite svg websockets xslt -debug -doc -geolocation -introspection -pango -wml" 0 kB [1]

Total: 1 package (1 reinstall), Size of downloads: 0 kB
Portage tree and overlays:
 [0] /usr/portage
 [1] /usr/local/portage

Ну а тут USE флаги, их описание из ./configure

emerge webkit-gtk

(cut)

WebKit was configured with the following options:

Build configuration:
 Enable debugging (slow)                                  : no # debug : --enable-debug turn on debugging default=no
 Enable GCC build optimization                            : yes # --enable-optimizations turn on optimize builds (GCC only) default=yes
 Code coverage support                                    : yes # coverage : --enable-coverage enable code coverage support default=no
 Unicode backend                                          : icu # --with-unicode-backend=[icu/glib] Select Unicode backend (WARNING: the glib-based backend is slow, and incomplete) default=icu
 Font backend                                             : freetype # --with-font-backend=[freetype/pango] Select font backend default=freetype
 Optimized memory allocator                               : yes # --enable-fast-malloc enable optimized memory allocator default=yes, default=no for debug builds
Features:
 3D Transforms                                            : yes # 3D-transforms : --enable-3D-transforms enable support for 3D transforms default=no
 JIT compilation                                          : yes # jit : --enable-jit Enable JIT compilation default=yes
 Dashboard support                                        : yes # --enable-dashboard-support enable Dashboard support default=yes
 Filters support                                          : yes # filters : --enable-filters enable support for filters (experimental) default=no
 Geolocation support                                      : no # geolocation : --enable-geolocation enable support for geolocation default=no
 JavaScript debugger/profiler support                     : yes # --enable-javascript-debugger enable JavaScript debugger/profiler support default=yes
 MathML support                                           : yes # mathml : --enable-mathml enable support for MathML default=no
 HTML5 offline web applications support                   : yes # offline-web-applications : --enable-offline-web-applications enable HTML5 offline web applications support default=yes
 HTML5 channel messaging support                          : yes # --enable-channel-messaging enable HTML5 channel messaging support default=yes
 HTML5 client-side session and persistent storage support : yes # --enable-dom-storage enable HTML5 client-side session and persistent storage support default=yes
 HTML5 client-side database storage support               : yes # --enable-database enable HTML5 client-side database storage support default=yes
 HTML5 server-sent events support                         : yes # --enable-eventsource enable HTML5 server-sent events support default=yes
 HTML5 video element support                              : yes # video : --enable-video enable HTML5 video support default=yes
 Icon database support                                    : yes # icon-database : enable icon database default=yes
 SharedWorkers support                                    : yes # shared-workers : --enable-shared-workers enable support for SharedWorkers default=no
 SVG support                                              : yes # svg : --enable-svg enable support for SVG default=yes
 SVG animation support                                    : yes # --enable-svg-animation enable support for SVG animation (experimental) default=yes
 SVG fonts support                                        : yes # --enable-svg-fonts enable support for SVG fonts (experimental) default=yes
 SVG foreign object support                               : yes # --enable-svg-foreign-object enable support for SVG foreign objects (experimental) default=yes
 SVG as image support                                     : yes # --enable-svg-as-image enable SVG as Image support (experimental) default=yes
 SVG use element support                                  : yes # --enable-svg-use enable SVG use element support (experimental) default=yes
 WML support                                              : no # wml : --enable-wml enable support for WML default=no
 Web Sockets support                                      : yes # web-sockets : --enable-web-sockets enable support for Web Sockets default=no
 Web Workers support                                      : yes # --enable-workers enable support for Web Workers default=yes
 XPATH support                                            : yes # --enable-xpath enable support for XPath default=yes
 XSLT support                                             : yes # xslt : --enable-xslt enable support for XSLT default=yes
GTK+ configuration:
 GDK target                                               : x11 # --with-target=[x11/win32/quartz/directfb] Select webkit target default=x11
 Hildon UI extensions                                     : no # --with-hildon Use Hildon UI extensions default=no
 Introspection support                                    : no # introspection : --enable-introspection Enable GObject introspection (default: disabled)

(cut)

А теперь по отдельности о каждом минусе…

-debug Тут ясно. Собственно ничего отлаживать я не собираюсь.
-doc Может быть когда нибудь и соберу… Но пока что читать нет желания.
-geolocation Штука вроде как в некоторых местах даже интересная… Однако пока что ну ее. Да и главная причина в том, что в официальных портежах ее нет. В оверлеях найти можно при желании. Но она будет интересна тем кто часто и много путешествует если я правильно понял.
-introspection Собирается без проблем. Да на этапе установки конфликтует с файлами из dev-libs/gobject-introspection что из оверлея gnome
-pango Не нужно. по крайней мере на данном этапе. О том почему не нужно упоминалось ранее.
-wml Website META Language dev-lang/wml У меня оно попросту не собирается. Да и к тому же сколько не читал особо плюсов данной технологии так и не разглядел.

Comments