Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Klient Jabbera
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page Previous  1, 2, 3  
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) Polish OTW
View previous topic :: View next topic  
Author Message
dziadu
Guru
Guru


Joined: 04 May 2006
Posts: 467
Location: Kraków/Darmstadt/Munich

PostPosted: Sat May 24, 2008 8:09 pm    Post subject: Reply with quote

Plik: /usr/local/portage/net-im/psi-0.12_rc2

Code:
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-im/psi/psi-0.12_rc1.ebuild,v 1.4 2008/03/11 21:02:16 genstef Exp $

inherit eutils qt4 multilib

DESCRIPTION="QT 4.x Jabber Client, with Licq-like interface"
HOMEPAGE="http://psi-im.org/"
SRC_URI="http://downloads.sourceforge.net/${PN}/${PN}-0.12-RC2.tar.bz2"

IUSE="crypt doc kernel_linux spell ssl xscreensaver"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
RESTRICT="test"

COMMON_DEPEND="$(qt4_min_version 4.2.3)
        =app-crypt/qca-2*
        spell? ( app-text/aspell )
        xscreensaver? ( x11-libs/libXScrnSaver )"

DEPEND="${COMMON_DEPEND}
        doc? ( app-doc/doxygen )"

RDEPEND="${COMMON_DEPEND}
        crypt? ( >=app-crypt/qca-gnupg-2.0.0_beta2 )
        ssl? ( >=app-crypt/qca-ossl-2.0.0_beta2 )"

QT4_BUILT_WITH_USE_CHECK="qt3support png"

src_unpack() {
        unpack ${A}
        cd ${S}.//
        mv psi-0.12-RC2 psi-0.12_rc2
        cd ${S}
}

src_compile() {
        # disable growl as it is a mac osx extension only
        local myconf="--prefix=/usr --qtdir=/usr"
        myconf="${myconf} --disable-growl --disable-bundled-qca"
        use kernel_linux || myconf="${myconf} --disable-dnotify"
        use spell || myconf="${myconf} --disable-aspell"
        use xscreensaver || myconf="${myconf} --disable-xss"

        # cannot use econf because of non-standard configure script
        ./configure ${myconf} || die "configure failed"

        eqmake4 ${PN}.pro

        SUBLIBS="-L/usr/${get_libdir}/qca2" emake || die "emake failed"

        if use doc; then
                cd doc
                make api_public || die "make api_public failed"
        fi
}

src_install() {
        emake INSTALL_ROOT="${D}" install || die "emake install failed"

        # this way the docs will be installed in the standard gentoo dir
        newdoc iconsets/roster/README README.roster
        newdoc iconsets/system/README README.system
        newdoc certs/README README.certs
        dodoc README

        if use doc; then
                cd doc
                dohtml -r api || die "dohtml failed"
        fi
}


Jakbys chciał dla rc1 to trzeba zamienić trzy "dwójki" na "jedynki" w treści ebuilda.
Back to top
View user's profile Send private message
SlashBeast
Retired Dev
Retired Dev


Joined: 23 May 2006
Posts: 2922

PostPosted: Sat May 24, 2008 9:22 pm    Post subject: Reply with quote

Code:
jinchuuriki ~ # cat /root/overlays/foo/net-im/psi/psi-9999.ebuild

# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

inherit eutils subversion

ESVN_REPO_URI="http://svn.psi-im.org/psi/trunk"

DESCRIPTION="Psi - svn source"
HOMEPAGE="http://psi-im.org"

LICENSE="GPL"
SLOT="0"
KEYWORDS="~x86 ~amd64 x86 amd64"

DEPEND=">=x11-libs/qt-4.2"
RDEPEND=">=x11-libs/qt-4.2"

src_compile() {
./configure --qtdir=/usr --prefix=/usr --disable-aspell || die "econf failed"
emake || die "emake failed"
}

src_install() {
emake INSTALL_ROOT="${D}" install || die "emake install failed"

for i in roster system emoticons; do
newdoc ${S}/iconsets/${i}/README README.${i}
done;
newdoc certs/README README.certs
dodoc ChangeLog README TODO

}

to ja dodam do svnowego psi, nie pamiętam gdzie go znalazłem. Ręcznie wyłączyłem w ebuildzie aspella.
Back to top
View user's profile Send private message
rastman
Apprentice
Apprentice


Joined: 22 Jan 2007
Posts: 210

PostPosted: Sun May 25, 2008 12:37 am    Post subject: Reply with quote

a obsluga statusu niewidoczny?
Back to top
View user's profile Send private message
SlashBeast
Retired Dev
Retired Dev


Joined: 23 May 2006
Posts: 2922

PostPosted: Sun May 25, 2008 8:30 am    Post subject: Reply with quote

Nie ma w specyfikacji xmpp invisible! Ale masz privacylist który pozwala Ci np. nie wysylać statusu do wszystkich/wybranych więc dla nich jestes niewidoczny.
Back to top
View user's profile Send private message
rastman
Apprentice
Apprentice


Joined: 22 Jan 2007
Posts: 210

PostPosted: Sun May 25, 2008 2:37 pm    Post subject: Reply with quote

tak tak, moge do transportu powlac iv, no ale.. :) Myślalem, ze mozna ktorys ze stanow jabbera zgrac tak, by na gg wlaczal wlasnie ta niewidocznosc.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) Polish OTW All times are GMT
Goto page Previous  1, 2, 3
Page 3 of 3

 
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