Arora + Qt4 widgetstyle

Discussions Regarding Software

Moderator: Moderators

Urviech
Baby Hen
Posts: 7
Joined: Sat Aug 18, 2007 23:14
Contact:

Arora + Qt4 widgetstyle

Post by Urviech » Sat Aug 14, 2010 23:02

Heya - I decided to give Sabayon (5.3, amd64) another try, and this time everything is cake and candy and running like a charm so far. Still one "problem" remains.

For being smaller and faster, taking way less time to start and (usually) integrating nicely with KDE I prefer Arora over Firefox. Now it seems, that in Sabayon Arora for some Reason doesn't use the Oxygen widgetstyle like it's supposed to do (at least in Arch and Suse it does). It actually looks rather ugly (qt3-ish?) and doesn't integrate at all.

Screenshot or did not happen

Now what could cause this behaviour, and how can I fix it?


And another (a bit unrelated and rather unimportant) question: Why the hell does qtcurve draw Firefox as a dependency? :lol:

User avatar
amoebios
Growing Hen
Posts: 168
Joined: Wed Dec 03, 2008 22:25
Contact:

Re: Arora + Qt4 widgetstyle

Post by amoebios » Sat Aug 14, 2010 23:37

i don't know either why it would pull Firefox as a dependency. :P

But about the issue with Arora:
i've installed the GTK Theme Switcher (and whatnot) and changed the style there. i don't know if it affected Arora, but mine looks alright (i think): http://i186.photobucket.com/albums/x100 ... 4arora.jpg

Edit:
Oops, i overread "Oxygen". (it's late) i'm using the QtCurve style :oops:
Or maybe i see what You mean. Can You provide us with screenshots of Arora on Arch or Suse?
Last edited by amoebios on Sat Aug 14, 2010 23:46, edited 1 time in total.

Urviech
Baby Hen
Posts: 7
Joined: Sat Aug 18, 2007 23:14
Contact:

Re: Arora + Qt4 widgetstyle

Post by Urviech » Sat Aug 14, 2010 23:45

If there's one thing I am sure about, then that Arora is not GTK, but thanks. :D

Actually Sabayon 5.3 has the GTK-Style thingy in the KDE Controlcenter from Stock, and Arora doesn't use the selected GTK style either.

User avatar
amoebios
Growing Hen
Posts: 168
Joined: Wed Dec 03, 2008 22:25
Contact:

Re: Arora + Qt4 widgetstyle

Post by amoebios » Sat Aug 14, 2010 23:48

Read my above excuse. :P

i haven't tried Arora on another distro, yet.

Urviech
Baby Hen
Posts: 7
Joined: Sat Aug 18, 2007 23:14
Contact:

Re: Arora + Qt4 widgetstyle

Post by Urviech » Sun Aug 15, 2010 0:08

Well, I don't care if it is Oxygen, Bespin or QtCurve(Qt4). If it works with one Qt4 style it will probably work with any Qt4 style.

I am too lazy to boot over to arch now, I just googled something:

Arora + Oxygen on Suse

Arora + Oxygen on dunnowhat

Urviech
Baby Hen
Posts: 7
Joined: Sat Aug 18, 2007 23:14
Contact:

Re: Arora + Qt4 widgetstyle

Post by Urviech » Sun Aug 15, 2010 1:44

update:

It definitely is somehow build with qt3, as it uses the widgetstyle that I select via qtconfig. So for now I have set up everything to use QtCurve - this one unfortunately lacks the shiny gradient that Oxygen has, but that isn't sp tragic.

Any Idea how to get a proper qt4-arora?

Fitzcarraldo
Sagely Hen
Posts: 8200
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom
Contact:

Re: Arora + Qt4 widgetstyle

Post by Fitzcarraldo » Sun Aug 15, 2010 11:48

Below is the ebuild of arora-0.10.2-r1:

Code: Select all

# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-client/arora/arora-0.10.2-r1.ebuild,v 1.7 2010/05/11 16:35:25 josejx Exp $

EAPI=2
inherit eutils qt4-r2

DESCRIPTION="A cross-platform Qt4 WebKit browser"
HOMEPAGE="http://arora.googlecode.com/"
SRC_URI="http://arora.googlecode.com/files/${P}.tar.gz"

LICENSE="|| ( GPL-3 GPL-2 )"
SLOT="0"
KEYWORDS="amd64 ~arm ~ppc x86"
IUSE="debug doc"

RDEPEND="x11-libs/qt-gui:4
	x11-libs/qt-sql:4
	x11-libs/qt-webkit:4
	x11-libs/qt-xmlpatterns:4"
DEPEND="${RDEPEND}
	doc? ( app-doc/doxygen )"

ARORA_LANGS="ast ca es es_CR et_EE fr_CA gl ms nb_NO pt_BR pt_PT [email protected] sr_CS uk
zh_CN zh_TW"
ARORA_NOLONGLANGS="cs_CZ da_DK de_DE el_GR fi_FI fr_FR he_IL hu_HU it_IT ja_JP
nl_NL pl_PL ru_RU sk_SK tr_TR"

for L in $ARORA_LANGS; do
	IUSE="$IUSE linguas_$L"
done
for L in $ARORA_NOLONGLANGS; do
	IUSE="$IUSE linguas_${L%_*}"
done

src_prepare() {
	# use Gentoo lingua designations
	mv src/locale/[email protected] src/locale/[email protected]
	mv src/locale/sr_RS.ts src/locale/sr_CS.ts

	# process linguas
	local langs=
	for lingua in $LINGUAS; do
		if has $lingua $ARORA_LANGS; then
			langs="$langs ${lingua}.ts"
		else
			for a in $ARORA_NOLONGLANGS; do
				if [[ $lingua == ${a%_*} ]]; then
					langs="$langs ${a}.ts"
				fi
			done
		fi
	done

	# remove all translations, then add only the ones we want
	sed -i '/ts/d' src/locale/locale.pri || die 'sed failed'
	sed -i "/^TRANSLATIONS/s:\\\:${langs}:" src/locale/locale.pri \
		|| die 'sed failed'

	if ! use doc ; then
		sed -i 's|QMAKE_EXTRA|#QMAKE_EXTRA|' arora.pro || die 'sed failed'
	fi
}

src_configure() {
	eqmake4 PREFIX=/usr
}

src_compile() {
	emake || die "make failed"

	# don't pre-strip
	sed -i "/strip/d" src/Makefile || die 'sed failed'
}

src_install() {
	emake INSTALL_ROOT="${D}" install || die 'make install failed'
	dodoc AUTHORS ChangeLog README
}
No mention of qt3. All qt4.

You could try building Arora using Portage, to see if the resulting binary is different to the one you are using now:

Code: Select all

# emerge --sync
# layman -S
# emerge -1v arora
# equo rescue spmsync
The last command above is to tell Entropy what you did via Portage.

Urviech
Baby Hen
Posts: 7
Joined: Sat Aug 18, 2007 23:14
Contact:

Re: Arora + Qt4 widgetstyle

Post by Urviech » Sun Aug 15, 2010 17:50

Thanks Fitzcarraldo,
Fitzcarraldo wrote:No mention of qt3. All qt4.
Aye Sir, didn't expect anything else, and that's what makes Arora using Qt3 styles so strange.

Code: Select all

# emerge --sync
# layman -S
# emerge -1v arora
# equo rescue spmsync
Gentoo doesn't like me:

Code: Select all

# cat /var/tmp/portage/www-client/arora-0.10.2-r1/temp/build.log 
 * CPV:  www-client/arora-0.10.2-r1
 * REPO: gentoo
 * USE:  amd64 elibc_glibc kernel_linux linguas_ca linguas_cs linguas_da linguas_de linguas_el linguas_es linguas_fi linguas_fr linguas_gl linguas_he linguas_hu linguas_it linguas_ja linguas_ms linguas_nb_NO linguas_nl linguas_pl linguas_pt_BR linguas_pt_PT linguas_ru linguas_sk linguas_tr linguas_uk linguas_zh_CN linguas_zh_TW multilib userland_GNU
>>> Unpacking source...
>>> Unpacking arora-0.10.2.tar.gz to /var/tmp/portage/www-client/arora-0.10.2-r1/work
>>> Source unpacked in /var/tmp/portage/www-client/arora-0.10.2-r1/work
>>> Preparing source in /var/tmp/portage/www-client/arora-0.10.2-r1/work/arora-0.10.2 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/www-client/arora-0.10.2-r1/work/arora-0.10.2 ...
 * Running qmake ...                                                      [ ok ]
>>> Source configured.
>>> Compiling source in /var/tmp/portage/www-client/arora-0.10.2-r1/work/arora-0.10.2 ...
make -s -j4 
x86_64-pc-linux-gnu-g++: error trying to exec 'as': execvp: x86_64-pc-linux-gnu-g++: error trying to exec 'as': execvp: x86_64-pc-linux-gnu-g++: error trying to exec 'as': execvp: x86_64-pc-linux-gnu-g++: error trying to exec 'as': execvp: Datei oder Verzeichnis nicht gefunden
Datei oder Verzeichnis nicht gefunden
Datei oder Verzeichnis nicht gefunden
Datei oder Verzeichnis nicht gefunden
make[1]: *** [.obj/aboutdialog.o] Fehler 2
make[1]: *** Warte auf noch nicht beendete Prozesse...
make[1]: *** [.obj/acceptlanguagedialog.o] Fehler 2
make[1]: *** [.obj/autosaver.o] Fehler 2
make[1]: *** [.obj/autofilldialog.o] Fehler 2
make: *** [sub-src-make_default-ordered] Fehler 2
 * ERROR: www-client/arora-0.10.2-r1 failed:
 *   make failed
 * 
 * Call stack:
 *     ebuild.sh, line  48:  Called src_compile
 *   environment, line 2597:  Called die
 * The specific snippet of code:
 *       emake || die "make failed";
 * 
 * If you need support, post the output of 'emerge --info =www-client/arora-0.10.2-r1',
 * the complete build log and the output of 'emerge -pqv =www-client/arora-0.10.2-r1'.
 * The complete build log is located at '/var/tmp/portage/www-client/arora-0.10.2-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-client/arora-0.10.2-r1/temp/environment'.
 * S: '/var/tmp/portage/www-client/arora-0.10.2-r1/work/arora-0.10.2'

Code: Select all

# emerge --info arora
Portage 2.2_rc67 (default/linux/amd64/10.0/desktop, gcc-4.4.2, glibc-2.10.1-r0, 2.6.34-sabayon x86_64)
=================================================================
                        System Settings
=================================================================
System uname: [email protected]_1.66GHz-with-gentoo-2.0.1
Timestamp of tree: Sun, 15 Aug 2010 10:45:01 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r3
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.65
sys-devel/automake:  1.10.2, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.34
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* [email protected]"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=x86-64 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/entropy /usr/share/X11/xkb /usr/share/config /usr/share/config/kdm"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/skel /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=x86-64 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests collision-protect distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://212.219.56.139/sites/www.ibiblio.org/gentoo/"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1,--as-needed"
LINGUAS="en en_US af ar az bg bn br bs ca cs cy da de el en_GB eo es et eu fa fi fr fy ga gl he hi hr hu is it ja kk km ko lt lv mk mn ms nb nds nl nn pa pl pt pt_BR ro ru rw se sk sl sr [email protected] ss sv ta tg tr uk uz vi zh_CN zh_TW es_AR es_ES fy_NL ga_IE gu gu_IN nb_NO nn_NO pt_PT sv_SE zh"
MAKEOPTS="-s -j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="   "
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac accessibility acl acpi aiglx aim alsa amd64 artswrappersuid audiofile avahi bash-completion berkdb bidi bluetooth bzip2 cairo cdda cddb cdr cjk cli consolekit cpudetection cracklib crypt cups cxx dbus dga dri dts dv dvb dvd dvdr dvdread dvi emboss encode exif fam fame fat ffmpeg firefox flac foomatic-db fortran freetype gcj gdbm gif gimpprint gmp gnutls gphoto2 gpm gsm gtk hal hfs iconv icq ieee1394 imap inotify ipod ipv6 irc irda jabber jack jfs joystick jpeg kde kdehiddenvisibility kerberos lame lcd lcms ldap libnotify live lm_sensors lzo mad mail matroska mikmod mjpeg mmx mng modules mozdevelop mp3 mp3rtp mp4 mpeg msn mudflap multilib musepack musicbrainz ncurses network nls nptl nptlonly nsplugin ntfs ogg openal openexr opengl openmp pam pango pcmcia pcre pda pdf perl png policykit ppds pppd pulseaudio python qt3support qt4 rar rdesktop readline reflection reiserfs rss scanner sdl session slp speex spell spl sse sse2 ssl startup-notification stream svg sysfs tcpd theora tiff truetype udev unicode usb v4l v4l2 visualization vorbis wifi wmf x264 xcb xfs xine xinerama xml xorg xpm xprint xulrunner xv xvid xvmc yahoo zeroconf zlib" ALSA_CARDS="emu10k1x darla20 darla24 emu10k1 gina20 gina24 hdsp hdspm ice1712 indigo indigoio layla20 layla24 mia mixart mona pcxhr rme32 rme96 sb16 sbawe sscape usbusx2y vx222 usb-usx2y" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="prefork" CAMERAS="agfa_cl20 casio_qv dimagev dimera3500 kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica_qm150 panasonic_coolshot panasonic_dc1000 panasonic_dc1580 panasonic_l859 polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ricoh_g3 sipix_blink sipix_blink2 sipix_web2 sony_dscf1 sony_dscf55 toshiba_pdrm11 adc65 aox barbie canon clicksmart310 digigr8 digita directory enigma13 fuji gsmart300 hp215 iclick jamcam jd11 konica largan lg_gsm mars mustek pccam300 pccam600 ptp2 ricoh samsung sierra smal sonix soundvision spca50x sq905 stv0674 stv0680 sx330z template" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse void" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US af ar az bg bn br bs ca cs cy da de el en_GB eo es et eu fa fi fr fy ga gl he hi hr hu is it ja kk km ko lt lv mk mn ms nb nds nl nn pa pl pt pt_BR ro ru rw se sk sl sr [email protected] ss sv ta tg tr uk uz vi zh_CN zh_TW es_AR es_ES fy_NL ga_IE gu gu_IN nb_NO nn_NO pt_PT sv_SE zh" LIRC_DEVICES="audio audio_alsa serial" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev vesa radeonhd" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Code: Select all

# emerge -pqv arora
[ebuild  N    ] www-client/arora-0.10.2-r1  USE="-debug -doc" LINGUAS="ca cs da de el es fi fr gl he hu it ja ms nb_NO nl pl pt_BR pt_PT ru sk tr uk zh_CN zh_TW -ast -es_CR -et_EE -fr_CA [email protected] -sr_CS" 

!!! The following installed packages are masked:
- dev-java/sun-jre-bin-1.6.0.20 (masked by: dlj-1.1 license(s))
A copy of the 'dlj-1.1' license is located at '/usr/portage/licenses/dlj-1.1'.

- www-plugins/adobe-flash-10.1.53.64-r1 (masked by: AdobeFlash-10.1 license(s))
A copy of the 'AdobeFlash-10.1' license is located at '/usr/portage/licenses/AdobeFlash-10.1'.

- net-wireless/broadcom-sta-5.60.48.36-r1 (masked by: Broadcom license(s))
A copy of the 'Broadcom' license is located at '/usr/portage/licenses/Broadcom'.

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.


 * IMPORTANT: 4 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

I think I will simply stick to QtCurve for now. :mrgreen:

Fitzcarraldo
Sagely Hen
Posts: 8200
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom
Contact:

Re: Arora + Qt4 widgetstyle

Post by Fitzcarraldo » Sun Aug 15, 2010 19:38

You've got the following in your /etc/make.conf:

Code: Select all

ACCEPT_LICENSE="* [email protected]"
Try changing it to:

Code: Select all

ACCEPT_LICENSE="*"

joost
Sagely Hen
Posts: 2775
Joined: Fri Nov 17, 2006 12:11
Location: The Netherlands
Contact:

Re: Arora + Qt4 widgetstyle

Post by joost » Mon Aug 16, 2010 12:07

x86_64-pc-linux-gnu-g++: error trying to exec 'as'
Set your binutils profile correctly.
My blog | Mastodon | Please support Sabayon: Become a Patron

Post Reply