summaryrefslogtreecommitdiff
path: root/coherence
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-08-19 11:02:22 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-08-19 11:02:22 -0300
commit0e3fa90965b0af932c0372eb51c4ccf273b3d989 (patch)
treefad0afe987432bca6fa5bb665ef0ace7c641f929 /coherence
parent0226109e40b1b85ac831e8d9e2f72905865423c5 (diff)
parent5b316867f18cf4cba516938e83329e45ef4b2f28 (diff)
Merge branch 'master' of ssh://projects.parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'coherence')
-rw-r--r--coherence/bitlbee-coherence/PKGBUILD62
-rw-r--r--coherence/bitlbee-coherence/bitlbee.install15
-rw-r--r--coherence/bitlbee-coherence/bitlbee.tmpfiles1
-rw-r--r--coherence/bitlbee-coherence/xinetd12
-rw-r--r--coherence/empathy-coherence/PKGBUILD39
-rw-r--r--coherence/empathy-coherence/empathy.install16
-rw-r--r--coherence/evolution-data-server-coherence/PKGBUILD40
-rw-r--r--coherence/evolution-data-server-coherence/evolution-data-server.install11
8 files changed, 196 insertions, 0 deletions
diff --git a/coherence/bitlbee-coherence/PKGBUILD b/coherence/bitlbee-coherence/PKGBUILD
new file mode 100644
index 000000000..f0cfcbf19
--- /dev/null
+++ b/coherence/bitlbee-coherence/PKGBUILD
@@ -0,0 +1,62 @@
+
+_pkgname=bitlbee
+pkgname=bitlbee-coherence
+pkgver=3.2
+pkgrel=1
+pkgdesc='Brings XMPP to IRC (removed support for nonfree, unsafe and dangerous for privacy protocols)'
+url='http://www.bitlbee.org/'
+license=('GPL')
+arch=('i686' 'x86_64')
+depends=('gnutls' 'glib2')
+makedepends=('asciidoc' 'libotr3')
+optdepends=('libotr3: for OTR encryption support'
+ 'xinetd: to run bitlbee through xinetd')
+replaces=$_pkgname
+conflicts=$_pkgname
+provides=$_pkgname=$pkgver
+source=("http://get.bitlbee.org/src/${_pkgname}-${pkgver}.tar.gz"
+ 'xinetd'
+ 'bitlbee.tmpfiles')
+sha1sums=('21e17f082c776566429603b1e8c966983a75ac9e'
+ '81c1185b09bee9520b7b58e295a0ffe43a9b0093'
+ '64b05c7ba522fcdbd0fb57d89ea8320713cc18e9')
+backup=('etc/bitlbee/bitlbee.conf'
+ 'etc/bitlbee/motd.txt'
+ 'etc/xinetd.d/bitlbee')
+install=bitlbee.install
+
+build() {
+ cd "$_pkgname-$pkgver"
+
+ ./configure \
+ --prefix=/usr \
+ --etcdir=/etc/bitlbee \
+ --sbindir=/usr/bin \
+ --pidfile=/run/bitlbee/bitlbee.pid \
+ --ipcsocket=/run/bitlbee/bitlbee.sock \
+ --systemdsystemunitdir=/usr/lib/systemd/system \
+ --jabber=1 \
+ --msn=0 \
+ --oscar=0 \
+ --yahoo=0 \
+ --twitter=0 \
+ --purple=0 \
+ --ssl=gnutls \
+ --strip=0 \
+ --otr=plugin \
+ --skype=0
+
+ # hacky: build against libotr3
+ sed -i 's,^OTRFLAGS=.*,OTRFLAGS=-lotr3,' Makefile.settings
+ sed -i 's,#include.*libotr,&3,' otr.h
+
+ make
+}
+
+package() {
+ make -C "$_pkgname-$pkgver" DESTDIR="$pkgdir" install{,-etc,-dev}
+
+ install -o65 -g65 -dm770 "$pkgdir/var/lib/bitlbee"
+ install -Dm644 "$srcdir/xinetd" "$pkgdir/etc/xinetd.d/bitlbee"
+ install -Dm644 "$srcdir/bitlbee.tmpfiles" "$pkgdir/usr/lib/tmpfiles.d/bitlbee.conf"
+} \ No newline at end of file
diff --git a/coherence/bitlbee-coherence/bitlbee.install b/coherence/bitlbee-coherence/bitlbee.install
new file mode 100644
index 000000000..aa5a81a70
--- /dev/null
+++ b/coherence/bitlbee-coherence/bitlbee.install
@@ -0,0 +1,15 @@
+post_install() {
+ getent group bitlbee &>/dev/null || groupadd -r -g 65 bitlbee >/dev/null
+ getent passwd bitlbee &>/dev/null || useradd -r -u 65 -g bitlbee -d /var/lib/bitlbee -s /bin/false -c bitlbee bitlbee >/dev/null
+ systemd-tmpfiles --create bitlbee.conf
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ getent passwd bitlbee &>/dev/null && userdel bitlbee >/dev/null
+ getent group bitlbee &>/dev/null && groupdel bitlbee >/dev/null
+ true
+}
diff --git a/coherence/bitlbee-coherence/bitlbee.tmpfiles b/coherence/bitlbee-coherence/bitlbee.tmpfiles
new file mode 100644
index 000000000..ebd909675
--- /dev/null
+++ b/coherence/bitlbee-coherence/bitlbee.tmpfiles
@@ -0,0 +1 @@
+d /run/bitlbee 0755 bitlbee bitlbee - - \ No newline at end of file
diff --git a/coherence/bitlbee-coherence/xinetd b/coherence/bitlbee-coherence/xinetd
new file mode 100644
index 000000000..169134d2b
--- /dev/null
+++ b/coherence/bitlbee-coherence/xinetd
@@ -0,0 +1,12 @@
+service bitlbee
+{
+ type = UNLISTED
+ socket_type = stream
+ protocol = tcp
+ wait = no
+ user = bitlbee
+ group = bitlbee
+ server = /usr/sbin/bitlbee
+ port = 6667
+ disable = yes
+} \ No newline at end of file
diff --git a/coherence/empathy-coherence/PKGBUILD b/coherence/empathy-coherence/PKGBUILD
new file mode 100644
index 000000000..de0eca1e9
--- /dev/null
+++ b/coherence/empathy-coherence/PKGBUILD
@@ -0,0 +1,39 @@
+
+_pkgname=empathy
+pkgname=empathy-coherence
+pkgver=3.8.3
+pkgrel=1
+pkgdesc="A GNOME instant messaging client using the Telepathy framework without support for nonfree, unsafe and dangerous for privacy protocols"
+arch=(i686 x86_64)
+url="http://live.gnome.org/Empathy"
+license=(GPL2)
+depends=(clutter-gst clutter-gtk folks gcr iso-codes libcanberra libpulse webkitgtk3 telepathy-farstream telepathy-glib telepathy-logger telepathy-mission-control)
+makedepends=(intltool itstool docbook-xsl python2)
+optdepends=('telepathy-gabble: XMPP/Jabber support'
+ 'telepathy-idle: IRC support'
+ 'telepathy-salut: Link-local XMPP support'
+ 'telepathy-rakia: SIP support')
+options=('!libtool' '!makeflags')
+groups=(gnome)
+install=empathy.install
+replaces=$_pkgname
+conflicts=$_pkgname
+provides=$_pkgname=$pkgver
+source=(http://ftp.gnome.org/pub/GNOME/sources/$_pkgname/${pkgver:0:3}/$_pkgname-$pkgver.tar.xz)
+sha256sums=('61e547c6f0929b3111219349482e2395a32f41bbd0852046405d835acba965c0')
+
+build() {
+ cd $_pkgname-$pkgver
+ PYTHON=/usr/bin/python2 ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --libexecdir=/usr/lib/empathy \
+ --disable-static
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+ make
+}
+
+package() {
+ cd $_pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
+
diff --git a/coherence/empathy-coherence/empathy.install b/coherence/empathy-coherence/empathy.install
new file mode 100644
index 000000000..4c5b64313
--- /dev/null
+++ b/coherence/empathy-coherence/empathy.install
@@ -0,0 +1,16 @@
+post_install() {
+ glib-compile-schemas /usr/share/glib-2.0/schemas
+ update-desktop-database -q
+ gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+ echo "To use Empathy you need to install at least one Telepathy connection manager."
+}
+
+post_upgrade() {
+ glib-compile-schemas /usr/share/glib-2.0/schemas
+ update-desktop-database -q
+ gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+}
+
+post_remove() {
+ post_upgrade
+} \ No newline at end of file
diff --git a/coherence/evolution-data-server-coherence/PKGBUILD b/coherence/evolution-data-server-coherence/PKGBUILD
new file mode 100644
index 000000000..2ba93b16c
--- /dev/null
+++ b/coherence/evolution-data-server-coherence/PKGBUILD
@@ -0,0 +1,40 @@
+
+_pkgname=evolution-data-server
+pkgname=evolution-data-server-coherence
+pkgver=3.8.5
+pkgrel=1
+pkgdesc="Centralized access to appointments and contacts without libgdata support"
+arch=(i686 x86_64)
+depends=(nss krb5 libical db libxml2 libsoup gtk3 libsecret gcr)
+makedepends=(intltool gperf gobject-introspection vala python2 gnome-common)
+options=('!libtool')
+install=$_pkgname.install
+url="http://www.gnome.org"
+license=(GPL)
+replaces=$_pkgname
+conflicts=$_pkgname
+provides=$_pkgname=$pkgver
+source=(http://ftp.gnome.org/pub/gnome/sources/$_pkgname/${pkgver%.*}/$_pkgname-$pkgver.tar.xz)
+sha256sums=('73c4ecfed65651cc72966b90081d7b72f9b42573585bc89797efea65ccfdbd2a')
+
+
+build() {
+ cd "$_pkgname-$pkgver"
+ autoreconf -fi
+ ./configure --prefix=/usr --sysconfdir=/etc \
+ --localstatedir=/var --with-openldap=yes \
+ --libexecdir=/usr/lib/evolution-data-server \
+ --with-krb5=/usr --with-libdb=/usr \
+ --without-libgdata \
+ --disable-goa \
+ --disable-google \
+ --disable-weather \
+ --enable-vala-bindings --disable-uoa PYTHON=python2
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' -e 's/ if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then/ func_append compile_command " -Wl,-O1,--as-needed"\n func_append finalize_command " -Wl,-O1,--as-needed"\n\0/' libtool
+ make
+}
+
+package() {
+ cd "$_pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+}
diff --git a/coherence/evolution-data-server-coherence/evolution-data-server.install b/coherence/evolution-data-server-coherence/evolution-data-server.install
new file mode 100644
index 000000000..e75920e11
--- /dev/null
+++ b/coherence/evolution-data-server-coherence/evolution-data-server.install
@@ -0,0 +1,11 @@
+post_install () {
+ glib-compile-schemas /usr/share/glib-2.0/schemas
+}
+
+post_upgrade () {
+ post_install
+}
+
+post_remove () {
+ post_install
+} \ No newline at end of file