I had a crack at installing komodo-edit-bin-6.1.2 on a x86 system, by using this:
===============================================
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
# Patches the Komodo launcher script, with the real base install dir.
sed --in-place "s/^\INSTALLDIR=.*\$/INSTALLDIR=\"${KOMODO_EDIT_INSTALLDIR//\//\\/}\"/" \ "${D}/${KOMODO_EDIT_INSTALLDIR}/bin/komodo" || die "sed bin/komodo failed"
# Most default templates are empty, or near-empty, and can clutter
# the new file dialog, so we permit not to install them.
use default-templates || (
rm -R "${D}/${KOMODO_EDIT_INSTALLDIR}/"lib/mozilla/extensions/*/templates/* &&
rm -R "${D}/${KOMODO_EDIT_INSTALLDIR}/"lib/support/default-templates/* || die "failed removing default templates"
)
# dodoc FEEDBACK.txt README.txt RELNOTES.txt || die "dodoc failed"
dosym "${KOMODO_EDIT_INSTALLDIR}/share/icons/komodo48.png" \ "/usr/share/pixmaps/${PN}.png" || die "dosym pixmap icon failed"
The install seems to work and all looks promising until I try to launch the app. It then crashes, launches a Gtk gui to email the crash file to the devs and this is what is shown on the terminal from which I launched it:
I had a crack at installing komodo- edit-bin- 6.1.2 on a x86 system, by using this: ======= ======= ======= ======= ======= =====
=======
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils versionator
MY_MINOR_ VERSION= "$(get_ version_ component_ range 1-6)"
MY_BUILD="8334"
DESCRIPTION= "Freeware advanced editor for dynamic and Web languages" www.activestate .com/products/ komodo_ edit/" "ActiveState Komodo Edit"
HOMEPAGE="http://
LICENSE=
SRC_URI="http:// downloads. activestate. com/Komodo/ releases/ ${MY_MINOR_ VERSION} /Komodo- Edit-${ PV}-${MY_ BUILD}- linux-libcpp6- x86.tar. gz"
SLOT="0"
KEYWORDS="-* ~x86"
IUSE="default- templates"
DEPEND= ">=media- libs/jpeg- 6b
>=sys- libs/lib- compat- 1.1
virtual/ libc"
RDEPEND="${DEPEND}"
S="${WORKDIR} /Komodo- Edit-${ PV}-${MY_ BUILD}- linux-libcpp6- x86"
QA_EXECSTACK_ x86="opt/ ${P}/lib/ python/ lib/python2. 6/config/ python. o"
QA_TEXTRELS_x86="
opt/${ P}/lib/ mozilla/ components/ libxpinstall. so
opt/${ P}/lib/ mozilla/ libxpcom_ core.so
opt/${ P}/lib/ mozilla/ python/ xpcom/_ xpcom.so
opt/${ P}/lib/ mozilla/ python/ komodo/ SilverCity/ _SilverCity. so
opt/${ P}/lib/ mozilla/ libxpcom_ compat. so
opt/${ P}/lib/ mozilla/ plugins/ libnpscimoz. so"
src_install() {
dodir "${KOMODO_ EDIT_INSTALLDIR }"
# Patches the Komodo launcher script, with the real base install dir. =.*\$/INSTALLDI R=\"${KOMODO_ EDIT_INSTALLDIR //\//\\ /}\"/" \
"${D} /${KOMODO_ EDIT_INSTALLDIR }/bin/komodo" || die "sed bin/komodo failed"
sed --in-place "s/^\INSTALLDIR
dosym "${KOMODO_ EDIT_INSTALLDIR }/bin/komodo" "/usr/bin/${P}" &&
dosym "./${P}" "/usr/bin/${PN}" ||
die "failed dosym Komodo launcher script"
# Most default templates are empty, or near-empty, and can clutter {KOMODO_ EDIT_INSTALLDIR }/"lib/ mozilla/ extensions/ */templates/ * && {KOMODO_ EDIT_INSTALLDIR }/"lib/ support/ default- templates/ * ||
die "failed removing default templates"
# the new file dialog, so we permit not to install them.
use default-templates || (
rm -R "${D}/$
rm -R "${D}/$
)
# dodoc FEEDBACK.txt README.txt RELNOTES.txt || die "dodoc failed"
dosym "${KOMODO_ EDIT_INSTALLDIR }/share/ icons/komodo48. png" \
"/usr/ share/pixmaps/ ${PN}.png" || die "dosym pixmap icon failed"
}
=======
The install seems to work and all looks promising until I try to launch the app. It then crashes, launches a Gtk gui to email the crash file to the devs and this is what is shown on the terminal from which I launched it:
(crashreporter: 9220): Gtk-CRITICAL **: IA_gtk_ widget_ set_sensitive: assertion
`GTK_IS_WIDGET (widget)' failed.
I attach a strace file in case someone can help me troubleshoot this.
--
Regards,
Mick