Gentoo Forums
Gentoo Forums
Quick Search: in
fwbuilder 2.1.5 beta & QT 4.1 users beware
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
thoughtform
Guru
Guru


Joined: 24 May 2004
Posts: 564

PostPosted: Wed Aug 09, 2006 1:45 am    Post subject: fwbuilder 2.1.5 beta & QT 4.1 users beware Reply with quote

i'm trying to compile this from source and it's failing due to my version of Qt.

from the devs:
Quote:

I see you use QT 4.1. Fwbuilder was not ported to QT 4.x yet and will
not work with it (QT 4.x is not backwards compatible). You need QT 3.3
instead.


is it possible to have both versions of QT installed?
iirc a lot of packages i use depend on QT and i bet downgrading would be a massive headache.
Back to top
View user's profile Send private message
Nick C
Guru
Guru


Joined: 18 Mar 2005
Posts: 526
Location: Portsmouth, England

PostPosted: Wed Aug 09, 2006 1:58 am    Post subject: Reply with quote

yup, qt3 and qt4 will happily live alongside each other (check out the new use flags - qt3 and qt4 for specific qt versions)
Back to top
View user's profile Send private message
hpestilence
Tux's lil' helper
Tux's lil' helper


Joined: 16 Dec 2004
Posts: 82

PostPosted: Wed Aug 09, 2006 2:02 am    Post subject: Reply with quote

I have both versions qt-3.3.6 and qt-4.1.4 emerged. I was able to emerge fwbuilder-2.1.5 fine.
_________________
When the plague descends from Heaven above only Darkness will be your one true ally.
Back to top
View user's profile Send private message
thoughtform
Guru
Guru


Joined: 24 May 2004
Posts: 564

PostPosted: Fri Aug 18, 2006 4:15 am    Post subject: Reply with quote

ok i installed qt3 along with my qt4.
i'm trying to compile libfwbuilder & fwbuilder from source.. not working.
fwbulider says libfwbuilder isn't installed.
a) how did you force it to use qt3
b) you said you emerged it. how did you use portage to emerge it when it's not in portage?
Back to top
View user's profile Send private message
hpestilence
Tux's lil' helper
Tux's lil' helper


Joined: 16 Dec 2004
Posts: 82

PostPosted: Fri Aug 18, 2006 5:31 am    Post subject: Reply with quote

EDIT: Looks like fwbuilder 2.1.5 is in portage now http://packages.gentoo.org/ebuilds/?fwbuilder-2.1.5

I copied the latest ebuilds from the portage tree and modified them to compile fwbuilder-2.1.5.

net-libs/libfwbuilder-2.1.5.ebuild
Code:
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils

DESCRIPTION="Firewall Builder 2.1 API library and compiler framework"
HOMEPAGE="http://www.fwbuilder.org/"
SRC_URI="http://www.fwbuilder.org/nightly_builds/build-98/${P}.tar.gz"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~alpha amd64 ppc ppc64 sparc x86"
IUSE="snmp ssl"

DEPEND=">=dev-libs/libxml2-2.4.10
        >=dev-libs/libxslt-1.0.7
        snmp? ( net-analyzer/net-snmp )
        ssl? ( dev-libs/openssl )
        =x11-libs/qt-3*"

src_compile() {
        export QMAKE="${QTDIR}/bin/qmake"
        econf `use_with ssl openssl` `use_with snmp ucdsnmp` || die
        emake || die
}

src_install() {
        make DDIR="${D}" install || die
        prepalldocs
}


net-firewall/fwbuilder-2.1.5.ebuild
Code:
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils

DESCRIPTION="A firewall GUI"
HOMEPAGE="http://www.fwbuilder.org/"
SRC_URI="http://www.fwbuilder.org/nightly_builds/build-98/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 ppc ppc64 sparc x86"
IUSE="nls"

DEPEND="~net-libs/libfwbuilder-${PV}
        nls? ( >=sys-devel/gettext-0.11.4 )
        >=dev-libs/libxslt-1.0.7"

src_compile() {
        export QMAKESPEC="linux-g++"
        export QMAKE="${QTDIR}/bin/qmake"

        econf `use_enable nls` || die

        addwrite "${QTDIR}/etc/settings"
        emake || die "emake failed"
}

src_install() {
        emake DDIR=${D} install || die
        insinto /usr/share/pixmaps
        doins src/gui/icons/firewall_64.png
        make_desktop_entry fwbuilder21 "Firewall Builder" "/usr/share/pixmaps/firewall_64.png" "System;Qt"
}

pkg_postinst() {
        echo
        einfo "You need to emerge iproute2 on the machine that"
        einfo "will run the firewall script."
        echo
}


HOWTO_Installing_3rd_Party_Ebuilds
Just put them into your portage overlay and then emerge.
_________________
When the plague descends from Heaven above only Darkness will be your one true ally.
Back to top
View user's profile Send private message
thoughtform
Guru
Guru


Joined: 24 May 2004
Posts: 564

PostPosted: Sun Aug 27, 2006 2:08 am    Post subject: Reply with quote

thanks, i unmasked it and compiled it.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum