mmadia ([info]mmadia) wrote in [info]bezilla,
@ 2008-03-30 08:33:00
Previous Entry  Add to memories!  Tell a Friend!  Next Entry
Composer is dead. Long live KompoZer, *crash* KompoZer has crashed.
Just a small note, Composer on 1.8 is horribly busted on all OS's.
Compiling KompoZer, http://www.kompozer.net/ went easy enough...
It loads but it crashes as soon as something is typed.
It also crashes on exit.

Note: it appears the project is dead or very idle

In mozilla/composer/app/Makefile.in, this was added:
( i didn't bother checking if it actually needed -lgame though )
ifeq ($(OS_ARCH),BeOS)
BEOS_PROGRAM_RESOURCE = $(srcdir)/apprunner-beos.rsrc
ifdef BUILD_STATIC_LIBS
OS_LIBS += -ltracker -lgame
endif
endif

For the mozconfig, i edited mozconfig.linux , ripped out some parts and dropped in a block of common options for BeOS:

# sh
# Build configuration script for LINUX
#
# See http://www.mozilla.org/build/unix.html for build instructions.
#
export MOZILLA_OFFICIAL=1
export BUILD_OFFICIAL=1

export MOZ_STANDALONE_COMPOSER=1
mk_add_options MOZ_STANDALONE_COMPOSER=1


# Uncomment the two following lines if you want the Site Manager
# to use KDE mimetypes icons. Warning, experimental feature...
# You may have to edit the following files
# mozilla/composer/app/Makefile.in
# mozilla/editor/libeditor/html/Makefile.in
# mozilla/composer/src/ *
#export SITE_MANAGER_KDE_ICON_STYLE=1
#mk_add_options SITE_MANAGER_KDE_ICON_STYLE=1

# Uncomment and edit this line if you want to build
# outside of the source tree
mk_add_options MOZ_OBJDIR=/preR1/KompoZer-bone

# Comment out the following lines for a debug build
#ac_add_options --enable-optimize
ac_add_options --disable-debug

# You may need to uncomment and edit that line. On Linspire,
# just uncomment it
#ac_add_options --with-default-mozilla-five-home=/usr/lib/mozilla

# You probably have nothing to change below that line
ac_add_options --disable-svg
ac_add_options --without-system-mng
ac_add_options --without-system-png
ac_add_options --disable-ldap
ac_add_options --disable-mailnews
ac_add_options --disable-installer
ac_add_options --disable-activex
ac_add_options --disable-activex-scripting
ac_add_options --disable-tests
ac_add_options --disable-oji
ac_add_options --disable-necko-disk-cache
ac_add_options --enable-single-profile
ac_add_options --disable-profilesharing
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
# // I don't want to do strip yet
#ac_add_options --enable-strip-libs
ac_add_options --enable-crypto
ac_add_options --disable-mathml
ac_add_options --with-system-zlib
ac_add_options --enable-toolkit=beos
ac_add_options --enable-default-toolkit=beos
ac_add_options --disable-freetype2

# Note: Only include icon for mac, windows and os2
ac_add_options --enable-image-decoders=default,-xbm


### // COMMON BeOS mozconfig stuff not found above.

### //EDIT THESE VALUES TO REFLECT YOUR LOCAL BUILD ###
export GLIB_CONFIG=/boot/home/glib-libIDL-beos/glib/bin/glib-config
mk_add_options GLIB_CONFIG=/boot/home/glib-libIDL-beos/glib/bin/glib-config

export LIBIDL_CONFIG=/boot/home/glib-libIDL-beos/libIDL/bin/libIDL-config
mk_add_options LIBIDL_CONFIG=/boot/home/glib-libIDL-beos/libIDL/bin/libIDL-config

### //Automatic updates not currently supported on BeOS. Delete this when we add this feature.
ac_add_options --disable-updater

### //Explicitly enable native BeOS threading
ac_add_options --with-bthreads

### //Build without Cairo
ac_add_options --disable-svg
ac_add_options --disable-canvas

### //Reduce build size and time by omitting test suite and IPv6 support (not needed on BeOS)
ac_add_options --disable-tests
ac_add_options --disable-ipv6

### //Required configure options
ac_add_options --enable-cpp-rtti
ac_add_options --enable-static ## STATIC BUILD
ac_add_options --disable-shared

### //Eliminate lots of relatively useless warnings during build
ac_add_options --disable-cpp-exceptions

### Optional optimizations
ac_add_options --enable-optimize='-Os'



(Post a new comment)


[info]fyysik
2008-03-30 02:02 pm UTC (link)
What's about NVU?
http://www.nvudev.com/index.php

(Reply to this) (Thread)


[info]mmadia
2008-03-30 02:22 pm UTC (link)
KompoZer is a continuation of NVU, whose development was halted by Linspire : http://www.kompozer.net/about/

(Reply to this) (Parent)(Thread)


[info]fyysik
2008-03-30 02:32 pm UTC (link)
can you put here error message and stack for those crashes,
I have "Deja Vu" feeling, that that click-crash was fixed somewhere for SeaNonkey composer long long ago...

(Reply to this) (Parent)(Thread)


[info]mmadia
2008-03-30 02:50 pm UTC (link)
loading symbols
segment violation occurred
81480b9f: * 004200 addb %al, (%edx)
kompozer:sc
frame retaddr
fcffb594 8066e7b2 nsGenericElement::~nsGenericElement(void) + 000000ba
fcffb5c4 80673ec9 nsGenericElement::Release(void) + 00000049
fcffb5f4 806eb2f3 nsHTMLBodyElement::Release(void) + 0000001f
fcffb624 ed88c281 nsCOMPtr_base::assign_from_qi(nsQueryInterface, nsID const &) + 00000055
fcffb654 8067e13c nsRange::DoSetRange(nsIDOMNode *, int, nsIDOMNode *, int) + 000000d4
fcffb684 8067de47 nsRange::NSDetach(void) + 00000027
fcffb6c4 809e171a nsHTMLEditRules::BeforeEdit(int, short) + 000001de
fcffb724 809c724d nsHTMLEditor::StartOperation(int, short) + 0000006d
fcffb754 80a39954 nsPlaintextEditor::InsertText(nsAString const &) + 000000d8
fcffb884 80a3801a nsPlaintextEditor::TypedText(nsAString const &, int) + 000000ae
fcffb8c4 809b781a nsHTMLEditor::TypedText(nsAString const &, int) + 00000096
fcffb904 809b775c nsHTMLEditor::HandleKeyPress(nsIDOMKeyEvent *) + 00000740
fcffba24 80a42b68 nsTextEditorKeyListener::KeyPress(nsIDOMEvent *) + 0000048c
fcffba84 806c5fe8 DispatchToInterface(nsIDOMEvent *, nsIDOMEventListener *, unsigned int (nsIDOMEventListener::*)(nsIDOMEventListener *, nsIDOMEvent *), nsID const &, int *) + 00000098
fcffbac4 806c8f80 nsEventListenerManager::HandleEvent(nsIPresContext *, nsEvent *, nsIDOMEvent **, nsIDOMEventTarget *, unsigned int, nsEventStatus *) + 00000240
fcffbb34 80651b0c nsDocument::HandleDOMEvent(nsIPresContext *, nsEvent *, nsIDOMEvent **, unsigned int, nsEventStatus *) + 000000f0
fcffbb84 806714d0 nsGenericElement::HandleDOMEvent(nsIPresContext *, nsEvent *, nsIDOMEvent **, unsigned int, nsEventStatus *) + 00000878
fcffbca4 80599447 PresShell::HandleEventInternal(nsEvent *, nsIView *, unsigned int, nsEventStatus *) + 000003ab
fcffbd14 80598f7f PresShell::HandleEvent(nsIView *, nsGUIEvent *, nsEventStatus *, int, int &) + 0000051b
fcffbd84 8079253b nsViewManager::HandleEvent(nsView *, nsGUIEvent *, int) + 000000ef
fcffbe74 80791ca7 nsViewManager::DispatchEvent(nsGUIEvent *, nsEventStatus *) + 00000a0b
fcffbf04 8078a37a HandleEvent(nsGUIEvent *) + 0000004a
fcffbf34 8056018f nsWindow::DispatchEvent(nsGUIEvent *, nsEventStatus &) + 0000004f
fcffbf64 8056020d nsWindow::DispatchWindowEvent(nsGUIEvent *) + 00000039
fcffbf94 805643eb nsWindow::DispatchKeyEvent(unsigned int, unsigned int, unsigned int) + 000000f7
fcffc024 8056424d nsWindow::OnKeyDown(unsigned int, char const *, long, unsigned int, unsigned int, long) + 00000201
fcffc054 80563ad8 nsWindow::CallMethod(MethodInfo *) + 00000514
fcffc134 8056bd4c nsAppShell::Run(void) + 000000b8
fcffc174 80a9b3f6 nsAppShellService::Run(void) + 0000002a
fcffc1a4 80b926da xre_main(int, char **, nsXREAppData const *) + 000012e2
fcffc6d4 803a0b56 main + 0000002a
fcffc704 803a0825 _start + 00000061
kompozer:

(Reply to this) (Parent)


Create an Account
Forgot your login or password?
Login w/ OpenID
English • Español • Deutsch • Русский…