You are not logged in.
psi is ofcourse the best (imho && afaik™®) jabber client on the Earth:D
i've made thid PKGBUILD today
it works with today (17/10/2004) cvs
pkgname=psi-cvs
pkgver=20041017p
pkgrel=1
pkgdesc="PSI - Jabber client (with SSL & SASL)"
url="http://psi.affinix.com/"
depends=('qt' 'openssl' 'cyrus-sasl')
makedepends=('qt' 'openssl' 'cyrus-sasl')
conflicts=('psi')
replaces=('psi')
source=(ftp://ftp.xiaoka.com/friends/skazi/psi/patches/debug.diff
ftp://ftp.xiaoka.com/friends/skazi/psi/patches/psi-client_wrap-mod.diff
ftp://ftp.xiaoka.com/friends/skazi/psi/patches/psi-emots-mod.diff
ftp://ftp.xiaoka.com/friends/skazi/psi/patches/psi-empty_group-fix.diff
ftp://ftp.xiaoka.com/friends/skazi/psi/patches/psi-framechecks-mod.diff
ftp://ftp.xiaoka.com/friends/skazi/psi/patches/psi-group_openclose_single_click-mod.diff
ftp://ftp.xiaoka.com/friends/skazi/psi/patches/psi-headings-mod.diff
ftp://ftp.xiaoka.com/friends/skazi/psi/patches/psi-iconselect-mod.diff
ftp://ftp.xiaoka.com/friends/skazi/psi/patches/psi-line_in_options-mod.diff
ftp://ftp.xiaoka.com/friends/skazi/psi/patches/psi-options_resize-fix.diff
ftp://ftp.xiaoka.com/friends/skazi/psi/patches/psi-qt_trans-add.diff
ftp://ftp.xiaoka.com/friends/skazi/psi/patches/psi-rich_contactview-0.7-add.diff
ftp://ftp.xiaoka.com/friends/skazi/psi/patches/psi-save_profile-mod.diff
ftp://ftp.xiaoka.com/friends/skazi/psi/patches/psi-settoggles-fix.diff
ftp://ftp.xiaoka.com/friends/skazi/psi/patches/psi-status_history-add.diff
ftp://ftp.xiaoka.com/friends/skazi/psi/patches/psi-thin_borders-mod.diff
ftp://ftp.xiaoka.com/friends/skazi/psi/patches/psi-tooltips_linkify-rev.diff
ftp://ftp.xiaoka.com/friends/skazi/psi/patches/psi-url_emoticon-mod.diff
ftp://ftp.xiaoka.com/friends/skazi/psi/patches/psi-weather_agent_icons-add.diff
ftp://ftp.xiaoka.com/friends/skazi/psi/patches/richlistview.cpp
ftp://ftp.xiaoka.com/friends/skazi/psi/patches/richlistview.h)
cvsroot=:pserver:anonymous@cvs.anywise.org:/psi
build() {
cd $startdir/src
msg "Downloading psi sources from cvs"
cvs -z4 -d$cvsroot co psi cutestuff iris qca
msg "Patching the source"
cd $startdir/src
patch -p0 < debug.diff || return 1
patch -p0 < psi-client_wrap-mod.diff || return 1
patch -p0 < psi-emots-mod.diff || return 1
patch -p0 < psi-empty_group-fix.diff || return 1
patch -p0 < psi-framechecks-mod.diff || return 1
patch -p0 < psi-group_openclose_single_click-mod.diff || return 1
patch -p0 < psi-headings-mod.diff || return 1
patch -p0 < psi-iconselect-mod.diff || return 1
patch -p0 < psi-line_in_options-mod.diff || return 1
patch -p0 < psi-options_resize-fix.diff || return 1
patch -p0 < psi-qt_trans-add.diff || return 1
patch -p0 < psi-rich_contactview-0.7-add.diff || return 1
patch -p0 < psi-save_profile-mod.diff || return 1
patch -p0 < psi-settoggles-fix.diff || return 1
patch -p0 < psi-status_history-add.diff || return 1
patch -p0 < psi-thin_borders-mod.diff || return 1
patch -p0 < psi-tooltips_linkify-rev.diff || return 1
patch -p0 < psi-url_emoticon-mod.diff || return 1
patch -p0 < psi-weather_agent_icons-add.diff || return 1
cp -f richlistview.* $startdir/src/psi/src
cd $startdir/src/qca
./configure --prefix=/opt/qt
make || return 1
make INSTALL_ROOT=$startdir/pkg install
cd $startdir/src/qca/plugins/qca-tls
./configure
make || return 1
make INSTALL_ROOT=$startdir/pkg install
cd $startdir/src/qca/plugins/qca-sasl
./configure
make || return 1
make INSTALL_ROOT=$startdir/pkg install
cd $startdir/src/psi
./configure --prefix=/usr/ --disable-kde --with-qca-inc=$startdir/pkg/opt/qt/include/ --with-qca-lib=$startdir/pkg/opt/qt/lib/
make || return 1
make INSTALL_ROOT=$startdir/pkg install
}
As you see i've extended 'stock' psi PKGBUILD a bit:)
this is because today cvs' changes
i don't like people saying that program doesn't work but printing on the console weird message like "bash: command_name: command not found" (it's real!!)
BTW, I'm using Jabber - the best IM protocol ever seen:)
Offline
This is 0.2 version of my PKGBUILD patching and compiling psi-cvs
pkgname=psi-cvs
pkgver=20041021p
pkgrel=1
pkgdesc="PSI - Jabber client (with SSL & SASL)"
url="http://psi.affinix.com/"
depends=('qt' 'openssl' 'cyrus-sasl')
makedepends=('qt' 'openssl' 'cyrus-sasl')
conflicts=('psi')
replaces=('psi')
source=(ftp://ftp.xiaoka.com/friends/skazi/psi/patches/debug.diff
ftp://ftp.xiaoka.com/friends/skazi/psi/patches/psi-client_wrap-mod.diff
ftp://ftp.xiaoka.com/friends/skazi/psi/patches/psi-emots-mod.diff
ftp://ftp.xiaoka.com/friends/skazi/psi/patches/psi-empty_group-fix.diff
ftp://ftp.xiaoka.com/friends/skazi/psi/patches/psi-framechecks-mod.diff
ftp://ftp.xiaoka.com/friends/skazi/psi/patches/psi-group_openclose_single_click-mod.diff
ftp://ftp.xiaoka.com/friends/skazi/psi/patches/psi-headings-mod.diff
ftp://ftp.xiaoka.com/friends/skazi/psi/patches/psi-iconselect-mod.diff
ftp://ftp.xiaoka.com/friends/skazi/psi/patches/psi-line_in_options-mod.diff
ftp://ftp.xiaoka.com/friends/skazi/psi/patches/psi-options_resize-fix.diff
ftp://ftp.xiaoka.com/friends/skazi/psi/patches/psi-qt_trans-add.diff
ftp://ftp.xiaoka.com/friends/skazi/psi/patches/psi-rich_contactview-0.7-add.diff
ftp://ftp.xiaoka.com/friends/skazi/psi/patches/psi-save_profile-mod.diff
ftp://ftp.xiaoka.com/friends/skazi/psi/patches/psi-settoggles-fix.diff
ftp://ftp.xiaoka.com/friends/skazi/psi/patches/psi-status_history-add.diff
ftp://ftp.xiaoka.com/friends/skazi/psi/patches/psi-thin_borders-mod.diff
ftp://ftp.xiaoka.com/friends/skazi/psi/patches/psi-tooltips_linkify-rev.diff
ftp://ftp.xiaoka.com/friends/skazi/psi/patches/psi-url_emoticon-mod.diff
ftp://ftp.xiaoka.com/friends/skazi/psi/patches/psi-weather_agent_icons-add.diff
ftp://ftp.xiaoka.com/friends/skazi/psi/patches/richlistview.cpp
ftp://ftp.xiaoka.com/friends/skazi/psi/patches/richlistview.h)
cvsroot=:pserver:anonymous@cvs.anywise.org:/psi
build() {
mkdir $startdir/src/cvs
cd $startdir/src/cvs
msg "Downloading psi sources from cvs"
cvs -z4 -d$cvsroot co psi cutestuff iris qca
rm -rf mkdir $startdir/src/{psi,iris,cutestuff,qca}
cp -r $startdir/src/cvs/* $startdir/src/
msg "Patching the source"
cd $startdir/src
patch -p0 < debug.diff || return 1
patch -p0 < psi-client_wrap-mod.diff || return 1
patch -p0 < psi-emots-mod.diff || return 1
patch -p0 < psi-empty_group-fix.diff || return 1
patch -p0 < psi-framechecks-mod.diff || return 1
patch -p0 < psi-group_openclose_single_click-mod.diff || return 1
patch -p0 < psi-headings-mod.diff || return 1
patch -p0 < psi-iconselect-mod.diff || return 1
patch -p0 < psi-line_in_options-mod.diff || return 1
patch -p0 < psi-options_resize-fix.diff || return 1
patch -p0 < psi-qt_trans-add.diff || return 1
patch -p0 < psi-rich_contactview-0.7-add.diff || return 1
patch -p0 < psi-save_profile-mod.diff || return 1
patch -p0 < psi-settoggles-fix.diff || return 1
patch -p0 < psi-status_history-add.diff || return 1
patch -p0 < psi-thin_borders-mod.diff || return 1
patch -p0 < psi-tooltips_linkify-rev.diff || return 1
patch -p0 < psi-url_emoticon-mod.diff || return 1
patch -p0 < psi-weather_agent_icons-add.diff || return 1
cp -f richlistview.* $startdir/src/psi/src
msg "Building QCA and plugins"
cd $startdir/src/qca
./configure --prefix=/opt/qt
make || return 1
make INSTALL_ROOT=$startdir/pkg install
cd $startdir/src/qca/plugins/qca-tls
./configure
make || return 1
make INSTALL_ROOT=$startdir/pkg install
cd $startdir/src/qca/plugins/qca-sasl
./configure
make || return 1
make INSTALL_ROOT=$startdir/pkg install
msg "Building PSI"
cd $startdir/src/psi
./configure --prefix=/usr/ --disable-kde --with-qca-inc=$startdir/pkg/opt/qt/include/ --with-qca-lib=$startdir/pkg/opt/qt/lib/
make || return 1
make INSTALL_ROOT=$startdir/pkg install
}
ENJOY!!!
i don't like people saying that program doesn't work but printing on the console weird message like "bash: command_name: command not found" (it's real!!)
BTW, I'm using Jabber - the best IM protocol ever seen:)
Offline
Very nice package. I've let myself reorganize it a bit. QCA and its plugins are now sperate packages.
pkgname=qca
pkgver=1.0
pkgrel=1
pkgdesc="Qt Cryptographic Architecture"
url="http://delta.affinix.com/qca/"
license="GPL(?)"
depends=(qt)
makedepends=()
install=
source=(http://delta.affinix.com/qca/$pkgname-$pkgver.tar.bz2)
md5sums=('ee44022eb0e5b8b5df64c62630f6e6b6')
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/opt/qt
make || return 1
make INSTALL_ROOT=$startdir/pkg/ install
}
pkgname=qca-tls
pkgver=1.0
pkgrel=1
pkgdesc="Qt Cryptographic Architecture tls plugin"
url="http://delta.affinix.com/qca/"
license="GPL(?)"
depends=(qca openssl)
install=
source=(http://delta.affinix.com/qca/$pkgname-$pkgver.tar.bz2)
md5sums=('886b1f60fc31de3b1a0bd93281e27b73')
build() {
cd $startdir/src/$pkgname-$pkgver
./configure
make || return 1
make INSTALL_ROOT=$startdir/pkg/ install
}
pkgname=qca-sasl
pkgver=1.0
pkgrel=1
pkgdesc="Qt Cryptographic Architecture sasl plugin"
url="http://delta.affinix.com/qca/"
license="GPL(?)"
depends=(qca cyrus-sasl)
install=
source=(http://delta.affinix.com/qca/$pkgname-$pkgver.tar.bz2)
md5sums=('2e324cb45706f37a8d2b196f43428023')
build() {
cd $startdir/src/$pkgname-$pkgver
./configure
make || return 1
make INSTALL_ROOT=$startdir/pkg/ install
}
I added DATE to cvs co becouse current cvs psi seqfaults on my machine. I'll investigate this later. Current date is set to last working version.
pkgname=psi-cvs
pkgver=20041019p
pkgrel=1
pkgdesc="PSI - Jabber client (with SSL & SASL)"
url="http://psi.affinix.com/"
depends=('qt' 'qca')
conflicts=('psi')
replaces=('psi')
source=(ftp://ftp.xiaoka.com/friends/skazi/psi/patches/debug.diff
[url]ftp://ftp.xiaoka.com/friends/skazi/psi/patches/psi-client_wrap-mod.diff[/url]
[url]ftp://ftp.xiaoka.com/friends/skazi/psi/patches/psi-emots-mod.diff[/url]
[url]ftp://ftp.xiaoka.com/friends/skazi/psi/patches/psi-empty_group-fix.diff[/url]
[url]ftp://ftp.xiaoka.com/friends/skazi/psi/patches/psi-framechecks-mod.diff[/url]
[url]ftp://ftp.xiaoka.com/friends/skazi/psi/patches/psi-group_openclose_single_click-mod.diff[/url]
[url]ftp://ftp.xiaoka.com/friends/skazi/psi/patches/psi-headings-mod.diff[/url]
[url]ftp://ftp.xiaoka.com/friends/skazi/psi/patches/psi-iconselect-mod.diff[/url]
[url]ftp://ftp.xiaoka.com/friends/skazi/psi/patches/psi-line_in_options-mod.diff[/url]
[url]ftp://ftp.xiaoka.com/friends/skazi/psi/patches/psi-options_resize-fix.diff[/url]
[url]ftp://ftp.xiaoka.com/friends/skazi/psi/patches/psi-qt_trans-add.diff[/url]
[url]ftp://ftp.xiaoka.com/friends/skazi/psi/patches/psi-rich_contactview-0.7-add.diff[/url]
[url]ftp://ftp.xiaoka.com/friends/skazi/psi/patches/psi-save_profile-mod.diff[/url]
[url]ftp://ftp.xiaoka.com/friends/skazi/psi/patches/psi-settoggles-fix.diff[/url]
[url]ftp://ftp.xiaoka.com/friends/skazi/psi/patches/psi-status_history-add.diff[/url]
[url]ftp://ftp.xiaoka.com/friends/skazi/psi/patches/psi-thin_borders-mod.diff[/url]
[url]ftp://ftp.xiaoka.com/friends/skazi/psi/patches/psi-tooltips_linkify-rev.diff[/url]
[url]ftp://ftp.xiaoka.com/friends/skazi/psi/patches/psi-url_emoticon-mod.diff[/url]
[url]ftp://ftp.xiaoka.com/friends/skazi/psi/patches/psi-weather_agent_icons-add.diff[/url]
[url]ftp://ftp.xiaoka.com/friends/skazi/psi/patches/richlistview.cpp[/url]
[url]ftp://ftp.xiaoka.com/friends/skazi/psi/patches/richlistview.h)[/url]
cvsroot=:pserver:anonymous@cvs.anywise.org:/psi
build() {
mkdir $startdir/src/cvs
cd $startdir/src/cvs
msg "Downloading psi sources from cvs"
cvs -z4 -d$cvsroot co -D "2004-10-19" psi cutestuff iris
rm -rf mkdir $startdir/src/{psi,iris,cutestuff}
cp -r $startdir/src/cvs/* $startdir/src/
msg "Patching the source"
cd $startdir/src
patch -p0 < debug.diff || return 1
patch -p0 < psi-client_wrap-mod.diff || return 1
patch -p0 < psi-emots-mod.diff || return 1
patch -p0 < psi-empty_group-fix.diff || return 1
patch -p0 < psi-framechecks-mod.diff || return 1
patch -p0 < psi-group_openclose_single_click-mod.diff || return 1
patch -p0 < psi-headings-mod.diff || return 1
patch -p0 < psi-iconselect-mod.diff || return 1
patch -p0 < psi-line_in_options-mod.diff || return 1
patch -p0 < psi-options_resize-fix.diff || return 1
patch -p0 < psi-qt_trans-add.diff || return 1
patch -p0 < psi-rich_contactview-0.7-add.diff || return 1
patch -p0 < psi-save_profile-mod.diff || return 1
patch -p0 < psi-settoggles-fix.diff || return 1
patch -p0 < psi-status_history-add.diff || return 1
patch -p0 < psi-thin_borders-mod.diff || return 1
patch -p0 < psi-tooltips_linkify-rev.diff || return 1
patch -p0 < psi-url_emoticon-mod.diff || return 1
patch -p0 < psi-weather_agent_icons-add.diff || return 1
cp -f richlistview.* $startdir/src/psi/src
msg "Building PSI"
cd $startdir/src/psi
./configure --prefix=/usr/ --disable-kde --with-qca-inc=/opt/qt/include/ --with-qca-lib=/opt/qt/lib/
make || return 1
make INSTALL_ROOT=$startdir/pkg install
}
[/code]
jabber id: arael (at) fov (dot) pl
Offline
1) The 'stock' psi PKGBUILD (from ABS) includes qca plugins so when psi developers separated it from psi (as an independent lib) i've merged it in psi-cvs package.
2) As far as i know there is know, only psi uses this lib (for now) so why should we keep it in separate packages?
Personally i hate and avoid 'crumbling' the packages like this is done in Debian or RH-like distros, it makes the distro a little bit messy.
So IMO my solution is better than Yours ( ) and we should keep making Arch packages simple
i don't like people saying that program doesn't work but printing on the console weird message like "bash: command_name: command not found" (it's real!!)
BTW, I'm using Jabber - the best IM protocol ever seen:)
Offline
From psi-devel mailing list
I've committed changes to the build files such that QCA is now used as a
separate library instead of bundled. Psi will have no more dependence on
qca-cvs. You will no longer need to checkout the qca module from our CVS.
In fact, in the future you won't even be able to. KDE is now going to
host the QCA project, and so I'll be removing it from our CVS. Psi will only
use release versions of this library.What you /will/ need to install is the qca library itself, if your distro has
not provided it.
http://delta.affinix.com/qca/I know that some folks here did create separate packages of qca despite that
past versions of Psi came with it bundled. Maybe you want to step up and
announce such packages for people here.-Justin
And I don't see any problems with having it in separate packages. If we can why can't we do that once and good?
/now we got fierce debate on arch@conference.jabber.autocom.pl/
jabber id: arael (at) fov (dot) pl
Offline
I can only agree that maybe dividing qca and it's plugins is too big diverse but qca and psi should be separte packages. Separating plugins from interface is a matter of ideology of Arch and I'm not right person to talk about it. If qca should be in one package with it's plugins than let it be.
jabber id: arael (at) fov (dot) pl
Offline
Hmnm, after a night of 'meditation' about this problem i've decided to separate qca from psi
So:
psi:
pkgname=psi-cvs
pkgver=<put the current date here>p
pkgrel=1
pkgdesc="PSI - Jabber client"
url="http://psi.affinix.com/"
depends=('qt' 'qca')
makedepends=('qt' 'qca')
conflicts=('psi')
replaces=('psi')
source=(ftp://ftp.xiaoka.com/friends/skazi/psi/patches/debug.diff
ftp://ftp.xiaoka.com/friends/skazi/psi/patches/psi-client_wrap-mod.diff
ftp://ftp.xiaoka.com/friends/skazi/psi/patches/psi-emots-mod.diff
ftp://ftp.xiaoka.com/friends/skazi/psi/patches/psi-empty_group-fix.diff
ftp://ftp.xiaoka.com/friends/skazi/psi/patches/psi-framechecks-mod.diff
ftp://ftp.xiaoka.com/friends/skazi/psi/patches/psi-group_openclose_single_click-mod.diff
ftp://ftp.xiaoka.com/friends/skazi/psi/patches/psi-headings-mod.diff
ftp://ftp.xiaoka.com/friends/skazi/psi/patches/psi-iconselect-mod.diff
ftp://ftp.xiaoka.com/friends/skazi/psi/patches/psi-line_in_options-mod.diff
ftp://ftp.xiaoka.com/friends/skazi/psi/patches/psi-options_resize-fix.diff
ftp://ftp.xiaoka.com/friends/skazi/psi/patches/psi-qt_trans-add.diff
ftp://ftp.xiaoka.com/friends/skazi/psi/patches/psi-rich_contactview-0.7-add.diff
ftp://ftp.xiaoka.com/friends/skazi/psi/patches/psi-save_profile-mod.diff
ftp://ftp.xiaoka.com/friends/skazi/psi/patches/psi-settoggles-fix.diff
ftp://ftp.xiaoka.com/friends/skazi/psi/patches/psi-status_history-add.diff
ftp://ftp.xiaoka.com/friends/skazi/psi/patches/psi-thin_borders-mod.diff
ftp://ftp.xiaoka.com/friends/skazi/psi/patches/psi-tooltips_linkify-rev.diff
ftp://ftp.xiaoka.com/friends/skazi/psi/patches/psi-url_emoticon-mod.diff
ftp://ftp.xiaoka.com/friends/skazi/psi/patches/psi-weather_agent_icons-add.diff
ftp://ftp.xiaoka.com/friends/skazi/psi/patches/richlistview.cpp
ftp://ftp.xiaoka.com/friends/skazi/psi/patches/richlistview.h)
cvsroot=:pserver:anonymous@cvs.anywise.org:/psi
build() {
mkdir $startdir/src/cvs
cd $startdir/src/cvs
msg "Downloading psi sources from cvs"
cvs -z4 -d$cvsroot co psi cutestuff iris
rm -rf mkdir $startdir/src/{psi,iris,cutestuff}
cp -r $startdir/src/cvs/* $startdir/src/
msg "Patching the source"
cd $startdir/src
patch -p0 < debug.diff || return 1
patch -p0 < psi-client_wrap-mod.diff || return 1
patch -p0 < psi-emots-mod.diff || return 1
patch -p0 < psi-empty_group-fix.diff || return 1
patch -p0 < psi-framechecks-mod.diff || return 1
patch -p0 < psi-group_openclose_single_click-mod.diff || return 1
patch -p0 < psi-headings-mod.diff || return 1
patch -p0 < psi-iconselect-mod.diff || return 1
patch -p0 < psi-line_in_options-mod.diff || return 1
patch -p0 < psi-options_resize-fix.diff || return 1
patch -p0 < psi-qt_trans-add.diff || return 1
patch -p0 < psi-rich_contactview-0.7-add.diff || return 1
patch -p0 < psi-save_profile-mod.diff || return 1
patch -p0 < psi-settoggles-fix.diff || return 1
patch -p0 < psi-status_history-add.diff || return 1
patch -p0 < psi-thin_borders-mod.diff || return 1
patch -p0 < psi-tooltips_linkify-rev.diff || return 1
patch -p0 < psi-url_emoticon-mod.diff || return 1
patch -p0 < psi-weather_agent_icons-add.diff || return 1
cp -f richlistview.* $startdir/src/psi/src
msg "Building PSI"
cd $startdir/src/psi
./configure --prefix=/usr/ --disable-kde --with-qca-inc=/opt/qt/include/ --with-qca-lib=/opt/qt/lib/
make || return 1
make INSTALL_ROOT=$startdir/pkg install
}
qca (from cvs) with plugins:
pkgname=qca
pkgver=1.0
pkgrel=1
pkgdesc="Qt Cryptographic Architecture (with SSL & SASL support)"
url="http://delta.affinix.com/qca/"
license="GPL(?)"
depends=('qt' 'openssl' 'cyrus-sasl')
makedepends=('qt' 'openssl' 'cyrus-sasl')
install=
cvsroot=:pserver:anonymous@cvs.anywise.org:/psi
build() {
cd $startdir/src/
msg "Downloading qca sources from cvs"
cvs -z4 -d$cvsroot co qca
msg "Building QCA and plugins"
cd $startdir/src/qca
./configure --prefix=/opt/qt
make || return 1
make INSTALL_ROOT=$startdir/pkg install
cd $startdir/src/qca/plugins/qca-tls
./configure
make || return 1
make INSTALL_ROOT=$startdir/pkg install
cd $startdir/src/qca/plugins/qca-sasl
./configure
make || return 1
make INSTALL_ROOT=$startdir/pkg install
}
please check if it works because i'm a little bit lazy and i have slow computer (psi compiles about 2h:()
i don't like people saying that program doesn't work but printing on the console weird message like "bash: command_name: command not found" (it's real!!)
BTW, I'm using Jabber - the best IM protocol ever seen:)
Offline
Hi all. Glad to see you all enjoy Psi.
I've been in the Psi team for more than a year and I have recently (few days ago) discussed the packaging of the incomming new version with the main developer, Justin.
Note on the above PKGBUILDs: if it's a CVS version, it should only be a CVS version
Justin's opinion on packaging:
1. psi, qca, qca-tls, qca-sasl should be separate packages
2. he agreed with me that the Psi package should recommend installing qca-tls for SSL support.
Therefore, here are my current PKGBUILDs:
qca/PKGBUILD
# Contributor: Mircea Bardac <dev@mircea.bardac.net>
pkgname=qca
pkgver=1.0
pkgrel=1
pkgdesc="QT Cryptography Architecture"
url="http://delta.affinix.com/qca/"
license="LGPL"
makedepends=('qt')
depends=('qt')
source=(http://delta.affinix.com/qca/$pkgname-$pkgver.tar.bz2)
md5sums=('ee44022eb0e5b8b5df64c62630f6e6b6')
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr
make || return 1
make INSTALL_ROOT=$startdir/pkg install
}
Take note that QCA will also be used by KDE somewhere in the future versions. kdelibs will depend on qca.
qca-tls/PKGBUILD
# Contributor: Mircea Bardac <dev@mircea.bardac.net>
pkgname=qca-tls
pkgver=1.0
pkgrel=1
pkgdesc="QCA plugins: SSL/TLS, X509, RSA, SHA1, MD5, Blowfish, 3DES, AES"
url="http://delta.affinix.com/qca/"
license="LGPL"
depends=('qca' 'openssl>=0.9.6')
source=(http://delta.affinix.com/qca/$pkgname-$pkgver.tar.bz2)
md5sums=('886b1f60fc31de3b1a0bd93281e27b73')
build() {
cd $startdir/src/$pkgname-$pkgver
./configure
make || return 1
make INSTALL_ROOT=$startdir/pkg install
}
qca-sasl/PKGBUILD (this is not necessary for running Psi, but should be build in order to have some kind of consistence in the packaging process)
# Contributor: Mircea Bardac <dev@mircea.bardac.net>
pkgname=qca-sasl
pkgver=1.0
pkgrel=1
pkgdesc="QCA plugin: SASL"
url="http://delta.affinix.com/qca/"
license="LGPL"
depends=('qca' 'cyrus-sasl')
source=(http://delta.affinix.com/qca/$pkgname-$pkgver.tar.bz2)
md5sums=('2e324cb45706f37a8d2b196f43428023')
build() {
cd $startdir/src/$pkgname-$pkgver
./configure
make || return 1
make INSTALL_ROOT=$startdir/pkg install
}
psi/PKGBUILD
# Contributor: Mircea Bardac <dev@mircea.bardac.net>
pkgname=psi-cvs
pkgver=`date -u +%Y%m%d`
pkgrel=1
pkgdesc="Psi CVS version."
url="http://psi.affinix.com"
license="GPL"
makedepends=('cvs')
depends=('qt>=3.1.0' 'qca>=1.0')
provides=('psi')
install=$pkgname.install
cvsroot=:pserver:anonymous@cvs.anywise.org:/psi
live_update()
{
what=$1
if [ $# -eq 3 ]; then
what=$3
fi
if [ -f $what/CVS/Entries ]; then
cvs -z3 -d$cvsroot up -C $@ 2>&1 >> $startdir/cvs.log
else
cvs -z3 -d$cvsroot co $@ 2>&1 >> $startdir/cvs.log
fi
}
build() {
touch $startdir/cvs.log
touch $startdir/warnings.log
touch $startdir/output.txt
live_update cutestuff
live_update iris
live_update psi
cd $startdir/src/psi
./configure --prefix=/usr
make 2>&1 || return 1
make INSTALL_ROOT=$startdir/pkg install
return 0
}
psi/psi-cvs.install
# arg 1: the new package version
post_install() {
echo
echo "It is recommended that you install 'qca-tls' ('# pacman -Sy qca-tls') in order to have full SSL support"
echo
}
# arg 1: the new package version
# arg 2: the old package version
post_upgrade() {
echo
echo "It is recommended that you install 'qca-tls' ('# pacman -Sy qca-tls') in order to have full SSL support"
echo
}
pre_install() {
/bin/true
}
pre_upgrade() {
/bin/true
}
# arg 1: the old package version
pre_remove() {
/bin/true
}
# arg 1: the old package version
post_remove() {
/bin/true
}
op=$1
shift
$op $*
Suggestions are welcomed.
IceRAM
P.S. I wanted to publish my psi-cvs PKGBUILD a long time ago, but I couldn't find time to refine it a bit...
Edit: corrected (make)deps in the PKGBUILDs a bit
:: / my web presence
Offline
Only one question. Shouldn't qca have prefix /opt/qt ? It's library specific for Qt.
jabber id: arael (at) fov (dot) pl
Offline
Only one question. Shouldn't qca have prefix /opt/qt ? It's library specific for Qt.
# pacman -Qo /usr/lib/libqca.so
/usr/lib/libqca.so is owned by qca 1.0-1
(it seems it is available system-wide)
:: / my web presence
Offline
Note: PKGBUILDs above updated
> correct license fields: LGPL (QCA + QCA-plugins), GPL (Psi)
:: / my web presence
Offline
Update no. 2 in the above post with PKGBUILDS:
1. qca will be a dependency for kdelibs, not included (as I said the first time)
2. there were problems with Psi & QT<3.3.0 (bad XML parser in QT) - in order to solve this proble for QT<3.3.0, Psi includes corrected XML parsing code, activated only in QT<3.3.0. Therefore, Psi works with any QT version greater than 3.1.0
:: / my web presence
Offline
and where are the patches??(qt-trans is already in psi cvs)
i don't like people saying that program doesn't work but printing on the console weird message like "bash: command_name: command not found" (it's real!!)
BTW, I'm using Jabber - the best IM protocol ever seen:)
Offline
What patches?
As I said in my previous BIG post (with lots of PKGBUILDs in it)...
Note on the above PKGBUILDs (above my post): if it's a CVS version, it should only be a CVS version
Adding extra patches would make it a flavoured psi-cvs PKGBUILD... and you said it's Psi-CVS. Therefore, either you name it Psi-something (like kernel-mm, kernel-ck, in this case like psi-psz (as I've seen somewhere) etc.) or simply leave it psi-cvs (vanilla CVS), no extra patches inside.
:: / my web presence
Offline