KompoZer

From CBLFS
Jump to navigationJump to search
Download Source: http://downloads.sourceforge.net/kompozer/kompozer-0.7.10dfsg-src.tar.gz

Introduction to KompoZer

KompoZer is a WYSIWYG web authoring system that combines web file management and web page editing. KompoZer is the next generation of nvu.

Project Homepage: http://www.kompozer.net/

Dependencies

Required

Recommended

Optional

Configuration Information

Switch in current work Directory

cd kompozer-0.7.10/mozilla

Create the base configuration file for KompoZer.

cat > .mozconfig << "EOF"

# Kompozer-0.7.10 build configuration script
#
#

mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-@CONFIG_GUESS@

ac_cv_visibility_pragma=no

export MOZ_STANDALONE_COMPOSER=1
mk_add_options MOZ_STANDALONE_COMPOSER=1

ac_add_options --prefix=/opt/kompozer-0.7.10

ac_add_options --enable-shared

# Enable minimal profile support
ac_add_options --disable-profilesharing
ac_add_options --disable-profilelocking
ac_add_options --enable-single-profile

# Comment the next two lines for a debug build.
ac_add_options --enable-optimize
ac_add_options --disable-debug

# Configure options.  Shouldn't need to change any of these.
ac_add_options --with-system-zlib

ac_add_options --with-system-mng
ac_add_options --with-system-png
ac_add_options --with-system-jpeg
ac_add_options --disable-svg
ac_add_options --enable-system-cairo
ac_add_options --enable-canvas

ac_add_options --enable-strip
ac_add_options --disable-tests 
ac_add_options --disable-accessibility
ac_add_options --disable-installer 
ac_add_options --enable-official-branding 

ac_add_options --disable-ldap
ac_add_options --disable-mailnews
ac_add_options --disable-activex
ac_add_options --disable-activex-scripting
ac_add_options --disable-oji
ac_add_options --disable-necko-disk-cache
ac_add_options --enable-extensions=wallet,xml-rpc,xmlextras,pref,universalchardet,spellcheck
ac_add_options --enable-necko-protocols=http,ftp,file,jar,viewsource,res,data
ac_add_options --disable-pedantic
ac_add_options --disable-short-wchar
ac_add_options --disable-xprint
ac_add_options --enable-crypto
ac_add_options --enable-mathml

ac_add_options --enable-toolkit=gtk2
ac_add_options --enable-default-toolkit=gtk2
ac_add_options --enable-xft
ac_add_options --disable-freetype2
ac_add_options --enable-image-decoders=default,-xbm
EOF

Non-Multilib

Compile the package:

make -f client.mk build_all

Install the package:

make -f client.mk install

Multilib

32Bit

Compile the package:

 To do ...

Install the package:

 To do ...

N32

Compile the package:

To do ...

Install the package:

To do ...

64Bit

cat >> .mozconfig << EOF
export CC="gcc ${BUILD64}"
export CXX="g++ ${BUILD64}"
export PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}"
export USE_ARCH=64
ac_add_options --libdir=/opt/kompozer-0.7.10/lib64
EOF

Compile the package:

make -f client.mk build

Install the package:

make -f client.mk install &&
mv -v /opt/kompozer-0.7.10/bin/kompozer-config{,-64} &&
ln -sfv /usr/bin/multiarch_wrapper /opt/kompozer-0.7.10/bin/kompozer-config

Configuring

cat > /etc/profile.d/50-kompozer.sh << "EOF"
# Begin /etc/profile.d/50-kompozer.sh
export PATH="${PATH}:/opt/kompozer-0.7.10/bin"
export PKG_CONFIG_PATH32="${PKG_CONFIG_PATH32}${PKG_CONFIG_PATH32+:}/opt/kompozer-0.7.10/lib/pkgconfig"
export PKG_CONFIG_PATHN32="${PKG_CONFIG_PATHN32}${PKG_CONFIG_PATHN32+:}/opt/kompozer-0.7.10/lib32/pkgconfig"
export PKG_CONFIG_PATH64="${PKG_CONFIG_PATH64}${PKG_CONFIG_PATH64+:}/opt/kompozer-0.7.10/lib64/pkgconfig"
# End /etc/profile.d/50-kompozer.sh
EOF
cat > /usr/share/applications/kompozer.desktop << "EOF"
[Desktop Entry]
Encoding=UTF-8
Name=KompoZer
Comment= WYSIWYG web authoring system
Exec=kompozer
Icon=firefox.png
Terminal=false
Type=Application
StartupNotify=True
MimeType=text/html;
Categories=Application;Programming;
EOF

Contents

Installed Directories: /opt/kompozer-0.7.10/{bin,include,lib,share}
Installed Programs: kompozer, kompozer-config
Installed Libraries: Several libraries and binaries in /opt/kompozer-0.7.10/lib/kompozer

Short Descriptions

kompozer
kompozer-config