summaryrefslogtreecommitdiff
path: root/nonprism
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-20 02:15:20 -0700
committerroot <root@rshg054.dnsready.net>2013-08-20 02:15:20 -0700
commit1ae31a85e191bbf7313077b472a66d1c24af1f74 (patch)
tree91f021858c2e33e1a6633c12b80e54105fd7500b /nonprism
parent26606f981048ee9efcda690b619d3c53501a7a58 (diff)
Tue Aug 20 02:14:51 PDT 2013
Diffstat (limited to 'nonprism')
-rw-r--r--nonprism/bitlbee-nonprism/PKGBUILD62
-rw-r--r--nonprism/bitlbee-nonprism/bitlbee.install15
-rw-r--r--nonprism/bitlbee-nonprism/bitlbee.tmpfiles1
-rw-r--r--nonprism/bitlbee-nonprism/xinetd12
-rw-r--r--nonprism/claws-mail-libre-nonprism/PKGBUILD76
-rw-r--r--nonprism/empathy-nonprism/PKGBUILD39
-rw-r--r--nonprism/empathy-nonprism/empathy.install16
-rw-r--r--nonprism/evolution-data-server-nonprism/PKGBUILD40
-rw-r--r--nonprism/evolution-data-server-nonprism/evolution-data-server.install11
-rw-r--r--nonprism/gnome-online-accounts-nonprism/PKGBUILD53
-rw-r--r--nonprism/gnome-online-accounts-nonprism/gnome-online-accounts.install12
-rw-r--r--nonprism/gnome-online-accounts-nonprism/imap-smtp.patch20
-rw-r--r--nonprism/gnome-online-accounts-nonprism/smtp-auth-plain.patch88
-rw-r--r--nonprism/kdenetwork-kopete-libre-nonprism/PKGBUILD71
-rw-r--r--nonprism/kdenetwork-kopete-libre-nonprism/kdenetwork-kopete.install12
-rw-r--r--nonprism/kdenetwork-kopete-libre-nonprism/kdenetwork.install11
-rw-r--r--nonprism/kdenetwork-kopete-libre-nonprism/libotr3.patch71
-rw-r--r--nonprism/kdenetwork-kopete-libre-nonprism/libre-nonprism.patch110
-rw-r--r--nonprism/kdenetwork-kopete-libre-nonprism/mediastreamer29.patch22
-rw-r--r--nonprism/kdepim-runtime-nonprism/PKGBUILD39
-rw-r--r--nonprism/kdepim-runtime-nonprism/kdepim-runtime.install13
-rw-r--r--nonprism/your-privacy/PKGBUILD25
-rw-r--r--nonprism/your-privacy/your-privacy.install30
23 files changed, 849 insertions, 0 deletions
diff --git a/nonprism/bitlbee-nonprism/PKGBUILD b/nonprism/bitlbee-nonprism/PKGBUILD
new file mode 100644
index 000000000..f0cfcbf19
--- /dev/null
+++ b/nonprism/bitlbee-nonprism/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/nonprism/bitlbee-nonprism/bitlbee.install b/nonprism/bitlbee-nonprism/bitlbee.install
new file mode 100644
index 000000000..aa5a81a70
--- /dev/null
+++ b/nonprism/bitlbee-nonprism/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/nonprism/bitlbee-nonprism/bitlbee.tmpfiles b/nonprism/bitlbee-nonprism/bitlbee.tmpfiles
new file mode 100644
index 000000000..ebd909675
--- /dev/null
+++ b/nonprism/bitlbee-nonprism/bitlbee.tmpfiles
@@ -0,0 +1 @@
+d /run/bitlbee 0755 bitlbee bitlbee - - \ No newline at end of file
diff --git a/nonprism/bitlbee-nonprism/xinetd b/nonprism/bitlbee-nonprism/xinetd
new file mode 100644
index 000000000..169134d2b
--- /dev/null
+++ b/nonprism/bitlbee-nonprism/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/nonprism/claws-mail-libre-nonprism/PKGBUILD b/nonprism/claws-mail-libre-nonprism/PKGBUILD
new file mode 100644
index 000000000..42b980a14
--- /dev/null
+++ b/nonprism/claws-mail-libre-nonprism/PKGBUILD
@@ -0,0 +1,76 @@
+# $Id$
+# Maintainer: Andreas Radke <andyrtr@archlinux.org>
+# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
+
+_pkgname=claws-mail
+pkgname=$_pkgname-libre-nonprism
+pkgver=3.9.1
+pkgrel=3
+pkgdesc='A GTK+ based e-mail client, without nonfree PalmOS handheld devices support'
+arch=('i686' 'x86_64' 'mips64el')
+license=('GPL3')
+url="http://www.$_pkgname.org"
+depends=('gtk2' 'gnutls' 'startup-notification' 'enchant'
+ 'gpgme' 'libetpan>=1.1' 'libsm' 'db' 'dbus-glib' 'hicolor-icon-theme' 'desktop-file-utils')
+makedepends=('compface' 'spamassassin' 'bogofilter' 'valgrind'
+ # dependencies for plugins
+ 'libsoup' 'libgdata' 'webkitgtk2' 'libnotify' 'libcanberra' 'poppler-glib' 'pygtk')
+ #'libchamplain' needed for geolocation plugin, disabled for now - most time it's not compatible with current gnome releases
+optdepends=('python2: needed for some tools and python plugin'
+ 'perl: needed for some tools and perl plugin'
+ 'spamassassin: adds support for spamfiltering'
+ 'bogofilter: adds support for spamfiltering'
+ 'libnotify: for notification plugin'
+ 'libcanberra: for notification plugin'
+ 'dbus: for notification plugin'
+ 'libxml2: for gtkhtml2_viewer and rssyl plugins'
+ 'curl: for gtkhtml2_viewer, vcalendar, rssyl and spamreport plugins'
+ 'libarchive: for archive plugin and various other plugins'
+ 'libytnef: for tnef_parse plugin'
+ 'webkitgtk2: for the fancy webkit html plugin'
+ 'libsoup: for the fancy webkit html plugin'
+ 'poppler-glib: for pdf viewer plugin'
+ 'ghostscript: for pdf viewer plugin')
+replaces=("$_pkgname" "sylpheed-claws" "$_pkgname-extra-plugins" "$_pkgname-libre")
+conflicts=("$_pkgname" "$_pkgname-extra-plugins")
+provides=("$_pkgname=$pkgver" 'claws')
+options=(!libtool)
+install=$_pkgname.install
+source=(http://downloads.sourceforge.net/sourceforge/sylpheed-claws/$_pkgname-$pkgver.tar.bz2{,.asc})
+md5sums=('8adc734912ff1b83545cb12850100473'
+ 'SKIP')
+
+build() {
+ cd $srcdir/$_pkgname-$pkgver
+
+ # fixes for python2
+ export PYTHON="/usr/bin/python2"
+ sed -i 's@^#!.*python.*@#!/usr/bin/python2@' tools/*.py
+ sed -i 's:python -c:python2 -c:g' configure
+
+ setarch $CARCH ./configure --prefix=/usr --disable-static \
+ --enable-enchant \
+ --enable-gnutls \
+ --enable-ldap \
+ --enable-crash-dialog \
+ --enable-pgpmime-plugin \
+ --enable-spamassassin-plugin \
+ --enable-bogofilter-plugin \
+ --disable-jpilot \
+ --disable-gdata-plugin
+ #--help
+ setarch $CARCH make
+}
+
+package() {
+ cd $srcdir/$_pkgname-$pkgver
+ setarch $CARCH make DESTDIR=$pkgdir install
+
+ # build and install extra tools
+ cd tools
+ setarch $CARCH make
+ # all executables and .conf files ; only top directory
+ find -maxdepth 1 -type f -and -perm /111 -or -name '*.conf' | while read i ; do
+ install -D -m755 $i $pkgdir/usr/lib/$_pkgname/tools/$i
+ done
+}
diff --git a/nonprism/empathy-nonprism/PKGBUILD b/nonprism/empathy-nonprism/PKGBUILD
new file mode 100644
index 000000000..de0eca1e9
--- /dev/null
+++ b/nonprism/empathy-nonprism/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/nonprism/empathy-nonprism/empathy.install b/nonprism/empathy-nonprism/empathy.install
new file mode 100644
index 000000000..4c5b64313
--- /dev/null
+++ b/nonprism/empathy-nonprism/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/nonprism/evolution-data-server-nonprism/PKGBUILD b/nonprism/evolution-data-server-nonprism/PKGBUILD
new file mode 100644
index 000000000..2ba93b16c
--- /dev/null
+++ b/nonprism/evolution-data-server-nonprism/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/nonprism/evolution-data-server-nonprism/evolution-data-server.install b/nonprism/evolution-data-server-nonprism/evolution-data-server.install
new file mode 100644
index 000000000..e75920e11
--- /dev/null
+++ b/nonprism/evolution-data-server-nonprism/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
diff --git a/nonprism/gnome-online-accounts-nonprism/PKGBUILD b/nonprism/gnome-online-accounts-nonprism/PKGBUILD
new file mode 100644
index 000000000..5c9172188
--- /dev/null
+++ b/nonprism/gnome-online-accounts-nonprism/PKGBUILD
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Ionut Biru <ibiru@archlinux.org>
+# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
+
+_pkgname=gnome-online-accounts
+pkgname=gnome-online-accounts-nonprism
+pkgver=3.8.2
+pkgrel=2
+pkgdesc="GNOME service to access online accounts, without support for unsafe and dangerous for privacy protocols"
+arch=(i686 x86_64 mips64el)
+url="http://www.gnome.org"
+license=('GPL')
+depends=('webkitgtk3' 'json-glib' 'libnotify' 'rest' 'hicolor-icon-theme' 'libsecret')
+makedepends=('intltool' 'libxslt' 'gobject-introspection' 'docbook-xsl')
+provides=("$_pkgname=$pkgver")
+conflicts=$_pkgname
+replaces=($_pkgname $pkgname-coherence)
+options=(!libtool)
+install=$_pkgname.install
+source=(http://download.gnome.org/sources/$_pkgname/${pkgver:0:3}/$_pkgname-$pkgver.tar.xz
+ imap-smtp.patch
+ smtp-auth-plain.patch)
+sha256sums=('12611a002043c8acc29e9800ec009e3e19736bdb6237d246e848d7c7909fe826'
+ '2b413d1f401647bd143b7dc6dd4b6d6660ff47ef9a11ccbc691b7c13de5cba69'
+ 'e7250be7c078053345699250433b7164751d3e457155bd35508c7d1660f459be')
+
+prepare() {
+ cd $_pkgname-$pkgver
+ # Upstream 3.8 branch
+ patch -Np1 -i ../imap-smtp.patch
+ patch -Np1 -i ../smtp-auth-plain.patch
+}
+
+build() {
+ cd $_pkgname-$pkgver
+ ./configure --prefix=/usr --libexec=/usr/lib/gnome-online-accounts \
+ --disable-google \
+ --disable-owncloud \
+ --disable-facebook \
+ --disable-windows-live \
+ --disable-exchange \
+ --disable-flickr \
+ --enable-imap-smtp \
+ --disable-kerberos
+ make
+}
+
+package() {
+ cd $_pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/nonprism/gnome-online-accounts-nonprism/gnome-online-accounts.install b/nonprism/gnome-online-accounts-nonprism/gnome-online-accounts.install
new file mode 100644
index 000000000..ae4eb5fa7
--- /dev/null
+++ b/nonprism/gnome-online-accounts-nonprism/gnome-online-accounts.install
@@ -0,0 +1,12 @@
+post_install () {
+ gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
+
diff --git a/nonprism/gnome-online-accounts-nonprism/imap-smtp.patch b/nonprism/gnome-online-accounts-nonprism/imap-smtp.patch
new file mode 100644
index 000000000..7213c8d1e
--- /dev/null
+++ b/nonprism/gnome-online-accounts-nonprism/imap-smtp.patch
@@ -0,0 +1,20 @@
+From 034da0871ad78629f9d0df618be494dbb19157e4 Mon Sep 17 00:00:00 2001
+From: Debarshi Ray <debarshir@gnome.org>
+Date: Tue, 18 Jun 2013 10:35:42 +0000
+Subject: imap-smtp: Prevent error messages from expanding the dialog
+
+---
+diff --git a/src/goabackend/goaimapsmtpprovider.c b/src/goabackend/goaimapsmtpprovider.c
+index d10a9d8..841327d 100644
+--- a/src/goabackend/goaimapsmtpprovider.c
++++ b/src/goabackend/goaimapsmtpprovider.c
+@@ -669,6 +669,7 @@ create_account_details_ui (GoaProvider *provider,
+
+ data->cluebar_label = gtk_label_new ("");
+ gtk_label_set_line_wrap (GTK_LABEL (data->cluebar_label), TRUE);
++ gtk_label_set_max_width_chars (GTK_LABEL (data->cluebar_label), 36);
+ gtk_container_add (GTK_CONTAINER (gtk_info_bar_get_content_area (GTK_INFO_BAR (data->cluebar))),
+ data->cluebar_label);
+
+--
+cgit v0.9.2
diff --git a/nonprism/gnome-online-accounts-nonprism/smtp-auth-plain.patch b/nonprism/gnome-online-accounts-nonprism/smtp-auth-plain.patch
new file mode 100644
index 000000000..c6782d0f6
--- /dev/null
+++ b/nonprism/gnome-online-accounts-nonprism/smtp-auth-plain.patch
@@ -0,0 +1,88 @@
+From 2210bf547dc35adacbc95c0dcf4abe75a73a8368 Mon Sep 17 00:00:00 2001
+From: Debarshi Ray <debarshir@gnome.org>
+Date: Tue, 18 Jun 2013 15:27:55 +0000
+Subject: smtp-auth-plain: Handle multiline SMTP greetings
+
+Fixes: https://bugzilla.gnome.org/702263
+---
+diff --git a/src/goabackend/goasmtpauthplain.c b/src/goabackend/goasmtpauthplain.c
+index bb783bd..77324cf 100644
+--- a/src/goabackend/goasmtpauthplain.c
++++ b/src/goabackend/goasmtpauthplain.c
+@@ -167,6 +167,40 @@ smtp_auth_plain_check_454 (const gchar *response, GError **error)
+
+ /* ---------------------------------------------------------------------------------------------------- */
+
++static gboolean
++smtp_auth_plain_check_greeting (GDataInputStream *input, GCancellable *cancellable, GError **error)
++{
++ gboolean ret;
++ gchar *response;
++
++ response = NULL;
++ ret = FALSE;
++
++ greeting_again:
++ response = g_data_input_stream_read_line (input, NULL, cancellable, error);
++ if (response == NULL)
++ goto out;
++ g_debug ("< %s", response);
++ if (smtp_auth_plain_check_421 (response, error))
++ goto out;
++ if (smtp_auth_plain_check_not_220 (response, error))
++ goto out;
++
++ if (response[3] == '-')
++ {
++ g_clear_pointer (&response, g_free);
++ goto greeting_again;
++ }
++
++ ret = TRUE;
++
++ out:
++ g_free (response);
++ return ret;
++}
++
++/* ---------------------------------------------------------------------------------------------------- */
++
+ static gchar *
+ smtp_auth_plain_get_domain (GoaSmtpAuthPlain *auth,
+ GError **error)
+@@ -563,15 +597,8 @@ goa_smtp_auth_plain_run_sync (GoaMailAuth *_auth,
+
+ if (!auth->greeting_absent)
+ {
+- response = g_data_input_stream_read_line (input, NULL, cancellable, error);
+- if (response == NULL)
+- goto out;
+- g_debug ("< %s", response);
+- if (smtp_auth_plain_check_421 (response, error))
++ if (!smtp_auth_plain_check_greeting (input, cancellable, error))
+ goto out;
+- if (smtp_auth_plain_check_not_220 (response, error))
+- goto out;
+- g_clear_pointer (&response, g_free);
+ }
+
+ /* Send EHLO */
+@@ -685,15 +712,8 @@ goa_smtp_auth_plain_starttls_sync (GoaMailAuth *_auth,
+
+ /* Check the greeting */
+
+- response = g_data_input_stream_read_line (input, NULL, cancellable, error);
+- if (response == NULL)
+- goto out;
+- g_debug ("< %s", response);
+- if (smtp_auth_plain_check_421 (response, error))
++ if (!smtp_auth_plain_check_greeting (input, cancellable, error))
+ goto out;
+- if (smtp_auth_plain_check_not_220 (response, error))
+- goto out;
+- g_clear_pointer (&response, g_free);
+
+ /* Send EHLO */
+
+--
+cgit v0.9.2
diff --git a/nonprism/kdenetwork-kopete-libre-nonprism/PKGBUILD b/nonprism/kdenetwork-kopete-libre-nonprism/PKGBUILD
new file mode 100644
index 000000000..d41efa232
--- /dev/null
+++ b/nonprism/kdenetwork-kopete-libre-nonprism/PKGBUILD
@@ -0,0 +1,71 @@
+# $Id: PKGBUILD 192541 2013-08-13 18:47:05Z andrea $
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
+
+_pkgname=kdenetwork-kopete
+pkgname=kdenetwork-kopete-libre-nonprism
+pkgver=4.11.0
+pkgrel=1
+pkgdesc='Instant Messenger, without skype and unsafe/dangerous protocols support'
+url='http://kde.org/applications/internet/kopete/'
+arch=('i686' 'x86_64' 'mips64el')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdenetwork')
+depends=('kdebase-runtime' 'kdepimlibs' 'qca-ossl' 'libotr3' 'libmsn' 'libidn'
+ 'qimageblitz' 'libgadu' 'mediastreamer' 'jsoncpp')
+makedepends=('cmake' 'automoc4' 'boost')
+install=${_pkgname}.install
+replaces=$_pkgname
+conflicts=$_pkgname
+provides=$_pkgname=$pkgver
+source=("http://download.kde.org/stable/${pkgver}/src/kopete-${pkgver}.tar.xz"
+ 'libotr3.patch'
+ 'mediastreamer29.patch'
+ 'libre-nonprism.patch')
+sha1sums=('a67716f14a07cdbacf3df40983db17f594eb768b'
+ '9c3b0ee15538fbfa36aa0a4748b1f6b5a7905384'
+ '317683a5c2acd0a0058c5ab42f6006e9db511ef3'
+ '3c46e5c80ef0cd3f6fe9fb6d5cb8c252c6792208')
+
+prepare() {
+ cd kopete-${pkgver}
+ patch -p2 -i "${srcdir}"/libotr3.patch
+ patch -p1 -i "${srcdir}"/mediastreamer29.patch
+ # Based on http://bzr.trisquel.info/package-helpers/trunk/annotate/head%3A/helpers/natty/make-kdenetwork, revision 34.
+ sed -i 's/Skype protocol" ON/Skype protocol" OFF/g' protocols/CMakeLists.txt
+ rm -rf protocols/skype
+ # remove unsafe/dangerous services
+ sed -i 's/Oscar (ICQ and AIM) protocol" ON/Oscar (ICQ and AIM) protocol" OFF/g' protocols/CMakeLists.txt
+ rm -rf protocols/oscar
+ sed -i 's/Yahoo protocol" ON/Yahoo protocol" OFF/g' protocols/CMakeLists.txt
+ rm -rf protocols/yahoo
+ sed -i 's/QQ protocol" ON/QQ protocol" OFF/g' protocols/CMakeLists.txt
+ rm -rf protocols/qq
+ sed -i 's/Novell GroupWise Messenger protocol" ON/Novell GroupWise Messenger protocol" OFF/g' protocols/CMakeLists.txt
+ rm -rf protocols/groupwise
+ sed -i 's/Gadu-Gadu protocol" ON/Gadu-Gadu protocol" OFF/g' protocols/CMakeLists.txt
+ rm -rf protocols/gadu
+ sed -i 's/Google Talk support" ON/Google Talk support" OFF/g' protocols/CMakeLists.txt
+ sed -i 's/Window Live Messenger support" ON/Window Live Messenger support" OFF/g' protocols/CMakeLists.txt
+ rm -rf protocols/wlm
+ sed -i 's/Windows Live Messenger voice clip support" ON/Windows Live Messenger voice clip support" OFF/g' protocols/CMakeLists.txt
+ sed -i 's/meanwhile protocol" ON/meanwhile protocol" OFF/g' protocols/CMakeLists.txt
+ rm -rf protocols/meanwhile
+ patch -p1 -i "${srcdir}"/libre-nonprism.patch
+}
+
+build() {
+ mkdir build
+ cd build
+ cmake ../kopete-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_SKIP_RPATH=ON
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR=$pkgdir install
+}
diff --git a/nonprism/kdenetwork-kopete-libre-nonprism/kdenetwork-kopete.install b/nonprism/kdenetwork-kopete-libre-nonprism/kdenetwork-kopete.install
new file mode 100644
index 000000000..5495fb1b5
--- /dev/null
+++ b/nonprism/kdenetwork-kopete-libre-nonprism/kdenetwork-kopete.install
@@ -0,0 +1,12 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
diff --git a/nonprism/kdenetwork-kopete-libre-nonprism/kdenetwork.install b/nonprism/kdenetwork-kopete-libre-nonprism/kdenetwork.install
new file mode 100644
index 000000000..e70c054ec
--- /dev/null
+++ b/nonprism/kdenetwork-kopete-libre-nonprism/kdenetwork.install
@@ -0,0 +1,11 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
diff --git a/nonprism/kdenetwork-kopete-libre-nonprism/libotr3.patch b/nonprism/kdenetwork-kopete-libre-nonprism/libotr3.patch
new file mode 100644
index 000000000..1e96c98d6
--- /dev/null
+++ b/nonprism/kdenetwork-kopete-libre-nonprism/libotr3.patch
@@ -0,0 +1,71 @@
+diff -urN a/kopete/cmake/modules/FindLibOTR.cmake b/kopete/cmake/modules/FindLibOTR.cmake
+--- a/kopete/cmake/modules/FindLibOTR.cmake 2012-08-12 18:08:59.000000000 -0600
++++ b/kopete/cmake/modules/FindLibOTR.cmake 2012-11-09 12:14:24.251450904 -0700
+@@ -13,13 +13,13 @@
+ SET(LIBOTR_FIND_QUIETLY TRUE)
+ ENDIF (LIBOTR_INCLUDE_DIR AND LIBOTR_LIBRARY)
+
+-FIND_PATH(LIBOTR_INCLUDE_DIR libotr/version.h)
++FIND_PATH(LIBOTR_INCLUDE_DIR libotr3/version.h)
+
+-FIND_LIBRARY(LIBOTR_LIBRARY NAMES otr libotr)
++FIND_LIBRARY(LIBOTR_LIBRARY NAMES otr3 libotr3)
+
+-# Determine version information from libotr/version.h
++# Determine version information from libotr3/version.h
+ IF( LIBOTR_INCLUDE_DIR AND LIBOTR_LIBRARY )
+- EXECUTE_PROCESS(COMMAND grep "OTRL_VERSION" "${LIBOTR_INCLUDE_DIR}/libotr/version.h" OUTPUT_VARIABLE output)
++ EXECUTE_PROCESS(COMMAND grep "OTRL_VERSION" "${LIBOTR_INCLUDE_DIR}/libotr3/version.h" OUTPUT_VARIABLE output)
+ STRING(REGEX MATCH "OTRL_VERSION \"[0-9]+\\.[0-9]+\\.[0-9]+" LIBOTR_VERSION "${output}")
+ STRING(REGEX REPLACE "^OTRL_VERSION \"" "" LIBOTR_VERSION "${LIBOTR_VERSION}")
+ # Check if version is at least 3.2.0
+diff -urN a/kopete/plugins/otr/authenticationwizard.h b/kopete/plugins/otr/authenticationwizard.h
+--- a/kopete/plugins/otr/authenticationwizard.h 2012-08-12 18:09:00.000000000 -0600
++++ b/kopete/plugins/otr/authenticationwizard.h 2012-11-09 12:15:11.181265336 -0700
+@@ -26,7 +26,7 @@
+ */
+
+ extern "C"{
+-#include "libotr/proto.h"
++#include "libotr3/proto.h"
+ }
+
+ #include "kopetechatsession.h"
+diff -urN a/kopete/plugins/otr/otrlchatinterface.h b/kopete/plugins/otr/otrlchatinterface.h
+--- a/kopete/plugins/otr/otrlchatinterface.h 2012-08-12 18:09:00.000000000 -0600
++++ b/kopete/plugins/otr/otrlchatinterface.h 2012-11-09 12:16:10.141032744 -0700
+@@ -36,10 +36,10 @@
+ #include "authenticationwizard.h"
+
+ extern "C" {
+-#include <libotr/privkey.h>
+-#include <libotr/proto.h>
+-#include <libotr/message.h>
+-#include <libotr/userstate.h>
++#include <libotr3/privkey.h>
++#include <libotr3/proto.h>
++#include <libotr3/message.h>
++#include <libotr3/userstate.h>
+ }
+
+
+diff -urN a/kopete/plugins/otr/otrlconfinterface.h b/kopete/plugins/otr/otrlconfinterface.h
+--- a/kopete/plugins/otr/otrlconfinterface.h 2012-08-12 18:09:00.000000000 -0600
++++ b/kopete/plugins/otr/otrlconfinterface.h 2012-11-09 12:15:56.961084991 -0700
+@@ -32,11 +32,11 @@
+ #include <kopetechatsession.h>
+
+ extern "C" {
+-#include <libotr/privkey.h>
+-#include <libotr/proto.h>
+-#include <libotr/message.h>
+-#include <libotr/userstate.h>
+-#include <libotr/context.h>
++#include <libotr3/privkey.h>
++#include <libotr3/proto.h>
++#include <libotr3/message.h>
++#include <libotr3/userstate.h>
++#include <libotr3/context.h>
+ }
+
+ class KOPETE_OTR_SHARED_EXPORT OtrlConfInterface : public QObject
diff --git a/nonprism/kdenetwork-kopete-libre-nonprism/libre-nonprism.patch b/nonprism/kdenetwork-kopete-libre-nonprism/libre-nonprism.patch
new file mode 100644
index 000000000..b6915cbb5
--- /dev/null
+++ b/nonprism/kdenetwork-kopete-libre-nonprism/libre-nonprism.patch
@@ -0,0 +1,110 @@
+diff --git a/doc/index.docbook b/doc/index.docbook
+index 1576dc9..daf7170 100644
+--- a/doc/index.docbook
++++ b/doc/index.docbook
+@@ -20,7 +20,6 @@
+ <!ENTITY kopete-chatstyle SYSTEM "chatstyle.docbook">
+ <!ENTITY kopete-pipes SYSTEM "pipes.docbook">
+ <!ENTITY kopete-jabber SYSTEM "jabber.docbook">
+- <!ENTITY kopete-icq SYSTEM "icq.docbook">
+ ]>
+ <!--
+ Intro (1st draft, Will)
+@@ -112,15 +111,7 @@ Appendix: Chat Window Style Guide (1st draft, Michaël)
+ <keyword>Messaging</keyword>
+ <keyword>Jabber</keyword>
+ <keyword>IRC</keyword>
+-<keyword>MSN</keyword>
+-<keyword>ICQ</keyword>
+-<keyword>AIM</keyword>
+-<keyword>Yahoo</keyword>
+-<keyword>Gadu-Gadu</keyword>
+-<keyword>GroupWise</keyword>
+-<keyword>Novell</keyword>
+ <keyword>WinPopup</keyword>
+-<keyword>SMS</keyword>
+ </keywordset>
+
+ </bookinfo>
+@@ -174,13 +165,13 @@ Appendix: Chat Window Style Guide (1st draft, Michaël)
+ <para>To use &kopete; you need to set up one or more accounts for the instant messaging services you wish to use.</para>
+ <para>You've probably already chosen a messaging service, either because you already use &im;, or you need to use the same service as your friends. If you don't fit into either of these categories, please consider using a messaging service based on open standards, because these are designed for use by Free Software. Other messaging services are prone to changing the underlying technology without making the details freely available, making them harder for Free Software developers to support.</para>
+ <para>The messaging services that &kopete; supports that are based on open standards are Jabber and IRC.</para>
+-<para>The following section assumes you are registered with an &im; service already. If not, you can register with Gadu-Gadu, Jabber, and <trademark>MSN</trademark> from inside &kopete;; for other services, you'll have to register using their respective web site before creating an account in &kopete;.</para>
++<para>The following section assumes you are registered with an &im; service already. If not, you can register with Jabber from inside &kopete;; for other services, you'll have to register using their respective web site before creating an account in &kopete;.</para>
+ <sect1 id="creating-accounts">
+ <title>Creating Accounts</title>
+ <para>To create an account, use <menuchoice><guimenu>Settings</guimenu> <guimenuitem>Configure...</guimenuitem> </menuchoice> to display the Configure window.</para>
+ <para>The Configure window is the main way to set up and customize &kopete;. On the left a column of icons control which aspect of &kopete; is being configured. Click the <guiicon>Accounts</guiicon> icon. The main pane will change to display the account management pane. This is currently empty, but will soon list your &im; accounts. Click <guibutton>New</guibutton> to display the <interface>Account Wizard</interface>.</para>
+ <para>The <interface>Account Wizard</interface> helps you create an &im; account. After the <guilabel>Introduction</guilabel> page, you are asked to select the messaging service that you'd like to use. Click one of the services shown and then click <guibutton>Next</guibutton>. On the following page, you should enter your registration details for that instant messaging service.</para>
+-<para>Most services just require you to enter a username or unique identifying number (<acronym>UIN</acronym>) and password. The special purpose services Winpopup and <acronym>SMS</acronym> work slightly differently, so please see their specific sections. There are a couple of other options that apply to most services that you should look at:</para>
++<para>Most services just require you to enter a username or unique identifying number (<acronym>UIN</acronym>) and password. The special purpose services Winpopup work slightly differently, so please see their specific sections. There are a couple of other options that apply to most services that you should look at:</para>
+ <variablelist>
+ <varlistentry><term>Remember password</term><listitem><para>When this is checked, &kopete; will store the password for you, so you don't have to enter it every time you connect to the &im; service. If you are security-conscious or want to limit access to the &im; account you can leave this unchecked.</para></listitem></varlistentry>
+ <varlistentry><term>Connect at startup</term><listitem><para>When this is checked, &kopete; will try to connect to the &im; service as when it starts. If you use a <acronym>LAN</acronym>, <acronym>DSL</acronym> or other <quote>always-on</quote> connection, this is appropriate; dial-up modem users should turn this off and connect manually when you have dialed up.</para></listitem></varlistentry>
+@@ -256,7 +247,7 @@ Shortcuts...</guimenuitem></menuchoice>.</para></tip>
+ <listitem><para>Select Display Name and Group. Here you can enter a Display Name (the name used for this person inside &kopete;), and choose the <link linkend="organise-contacts-grouping">groups</link> they are a member of.</para></listitem>
+ <listitem><para>Select &im; Accounts. Here you can choose which accounts you want to use to chat to the new contact. If you only have one &im; account, you won't see this screen.</para></listitem>
+ <listitem><para>Account-specific Add Contact Pages. For each account, you'll get one page where you can enter the <acronym>UIN</acronym>, buddy name or Email address, depending on the &im; system in use.</para></listitem>
+-<listitem><para>Finish Screen. All done. Except if the &im; system requires authorization (such as <trademark>ICQ</trademark>) to add a contact to your list - in which case, you'll be prompted after the wizard exits.</para></listitem>
++<listitem><para>Finish Screen. All done. Except if the &im; system requires authorization to add a contact to your list - in which case, you'll be prompted after the wizard exits.</para></listitem>
+ </orderedlist>
+
+ <para>You can add contacts to an existing Metacontact using its context menu.</para>
+@@ -699,47 +690,17 @@ Shortcuts...</guimenuitem></menuchoice>.</para></tip>
+ <para>&kopete; calls different &im; systems 'Protocols'. When you add an account, it is specific to a single protocol. Although &kopete; tries to make instant messaging appear the same, no matter what protocol you use, there are some differences in the level of support for advanced features such as file transfer and multimedia.</para>
+ <sect1 id="protocols-list">
+ <title>Protocols</title>
+- <sect2 id="protocols-aim">
+- <title>AIM</title>
+- <para>AIM supports chatrooms. Use the <guilabel>Join Chat...</guilabel> command on the AIM account menu to join a chatroom. Contact pictures and custom emoticons are also supported.</para>
+- </sect2>
+- <sect2 id="protocols-icq">
+- <title>ICQ</title>
+- <para>ICQ has an Invisibility feature which allows you to hide from selected contacts. You may also search the ICQ user folder when adding a contact. A wide range of contact details can be set using the <guilabel>Properties</guilabel> option.</para>
+- </sect2>
+- <sect2 id="protocols-msn">
+- <title>MSN</title>
+- <para>File transfer and multi user chats work. To transfer a file, drag the file from &konqueror; or the desktop into the chat window. To invite someone else into a chat, drag them from the Contact List into the chat window. The <menuchoice><guimenu>File</guimenu></menuchoice> menu also contains these commands. In addition, MSN supports custom emoticons.</para>
+- <para>To use file transfer, make sure port 6891 is forwarded to your computer.</para>
+- </sect2>
+- <sect2 id="protocols-yahoo">
+- <title>Yahoo</title>
+- <para>Yahoo can send and receive webcam video. It also supports Yahoo mail and the Yahoo address book from the account menu. Conferencing is also possible.</para>
+- </sect2>
+ <sect2 id="protocols-jabber">
+ <title>Jabber</title>
+ <para>Jabber, also known as XMPP, supports file transfer, conferencing and any other services supplied by the Jabber server. For example, many Jabber servers have a user directory, and some provide transports to other messaging systems. To access services, use <menuchoice><guimenu>Services...</guimenu></menuchoice> on the account menu. Jabber file transfer can work without port forwarding, but enjoys better performance where a direct connection is possible. By default, port 8010 is used for port forwarding, but this is configurable in each account's settings.</para>
+ </sect2>
+- <sect2 id="protocols-gtalk">
+- <title>Google Talk</title>
+- <para>Since Google Talk is based upon Jabber, it is well supported in &kopete; with the exception of voice chat, which is worked upon.</para>
+- <para>To configure &kopete; for Google Talk: Use your complete Google Mail address as the user name. Check <guilabel>Use protocol encryption (SSL)</guilabel>, <guilabel>Allow plain-text password authentication</guilabel> and <guilabel>Override default server information</guilabel>. The server is <quote>talk.google.com</quote> or <quote>gmail.com</quote> and ports 443 or 5223 should be used.</para>
+- </sect2>
+- <sect2 id="protocols-groupwise">
+- <title>Novell GroupWise</title>
+- <para>GroupWise Messenger is an enterprise messenging system from Novell Inc. The full range of features are supported, including privacy, group chat, rich text and user search.</para>
+- </sect2>
+- <sect2 id="protocols-gadu-gadu">
+- <title>Gadu-Gadu</title>
+- <para>Gadu-Gadu is a chat system originating from Poland. At present, &kopete; supports basic chat functions.</para>
+- </sect2>
+ <sect2 id="protocols-winpopup">
+ <title>WinPopup</title>
+ <para>WinPopup is a way to use &kopete; to send and receive messages with &Windows; computers on the local network. The WinPopup protocol only supports single, plain-text messages.</para>
+ </sect2>
+ <sect2 id="protocols-others">
+ <title>Other protocols</title>
+- <para>As well as the protocols named above, &kopete; has support for several other protocols. In most cases, this is not enabled by default or an additional plugin must be installed. Meanwhile, SMS, Skype and SILC are provided in this way. See &kopetewww; for details, however, the &kopete; team are not responsible for these protocols.</para>
++ <para>As well as the protocols named above, &kopete; has support for several other protocols. In most cases, this is not enabled by default or an additional plugin must be installed. See &kopetewww; for details, however, the &kopete; team are not responsible for these protocols.</para>
+ </sect2>
+ </sect1>
+ </chapter>
+@@ -1120,7 +1081,6 @@ Documentation copyright 2003,2004,2005 &Will.Stephenson; (lists at stevello free
+ &kopete-chatstyle;
+ &kopete-pipes;
+ &kopete-jabber;
+-&kopete-icq;
+
+ &documentation.index;
+ </book>
diff --git a/nonprism/kdenetwork-kopete-libre-nonprism/mediastreamer29.patch b/nonprism/kdenetwork-kopete-libre-nonprism/mediastreamer29.patch
new file mode 100644
index 000000000..eb0b2297e
--- /dev/null
+++ b/nonprism/kdenetwork-kopete-libre-nonprism/mediastreamer29.patch
@@ -0,0 +1,22 @@
+diff --git a/protocols/jabber/googletalk/libjingle/talk/session/phone/linphonemediaengine.cc b/protocols/jabber/googletalk/libjingle/talk/session/phone/linphonemediaengine.cc
+index 88fdbd1..57c6c05 100644
+--- a/protocols/jabber/googletalk/libjingle/talk/session/phone/linphonemediaengine.cc
++++ b/protocols/jabber/googletalk/libjingle/talk/session/phone/linphonemediaengine.cc
+@@ -200,7 +200,7 @@ bool LinphoneVoiceChannel::SetSendCodecs(const std::vector<AudioCodec>& codecs)
+ LOG(LS_INFO) << "Using " << i->name << "/" << i->clockrate;
+ pt_ = i->id;
+ audio_stream_ = audio_stream_start(&av_profile, -1, "localhost", port1, i->id, 250, 0); /* -1 means that function will choose some free port */
+- port2 = rtp_session_get_local_port(audio_stream_->session);
++ port2 = rtp_session_get_local_port(audio_stream_->ms.session);
+ first = false;
+ }
+ }
+@@ -211,7 +211,7 @@ bool LinphoneVoiceChannel::SetSendCodecs(const std::vector<AudioCodec>& codecs)
+ // working with a buggy client; let's try PCMU.
+ LOG(LS_WARNING) << "Received empty list of codces; using PCMU/8000";
+ audio_stream_ = audio_stream_start(&av_profile, -1, "localhost", port1, 0, 250, 0); /* -1 means that function will choose some free port */
+- port2 = rtp_session_get_local_port(audio_stream_->session);
++ port2 = rtp_session_get_local_port(audio_stream_->ms.session);
+ }
+
+ return true;
diff --git a/nonprism/kdepim-runtime-nonprism/PKGBUILD b/nonprism/kdepim-runtime-nonprism/PKGBUILD
new file mode 100644
index 000000000..38a0a1edc
--- /dev/null
+++ b/nonprism/kdepim-runtime-nonprism/PKGBUILD
@@ -0,0 +1,39 @@
+# $Id: PKGBUILD 192541 2013-08-13 18:47:05Z andrea $
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+# Contributor: Pierre Schmitz <pierre@archlinux.de>
+# Maintainer (Parabola): André Silva <emulatorman@parabola.nu>
+
+_pkgname=kdepim-runtime
+pkgname=kdepim-runtime-nonprism
+pkgver=4.11.0
+pkgrel=1
+pkgdesc='Extends the functionality of kdepim, without libkgapi support'
+arch=('i686' 'x86_64')
+url='https://projects.kde.org/projects/kde/kdepim-runtime'
+license=('GPL' 'LGPL' 'FDL')
+depends=('kdebase-runtime' 'libkolab')
+makedepends=('cmake' 'automoc4' 'boost')
+install="${_pkgname}.install"
+replaces=('kdepim-runtime' 'kdepim-runtime-coherence')
+conflicts=kdepim-runtime
+provides=kdepim-runtime=$pkgver
+source=("http://download.kde.org/stable/${pkgver}/src/${_pkgname}-${pkgver}.tar.xz")
+sha1sums=('ec2a45baf0c2c2ccea633b599a453db52b38dc75')
+
+prepare() {
+ mkdir build
+}
+
+build() {
+ cd build
+ cmake ../${_pkgname}-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+}
diff --git a/nonprism/kdepim-runtime-nonprism/kdepim-runtime.install b/nonprism/kdepim-runtime-nonprism/kdepim-runtime.install
new file mode 100644
index 000000000..c77e68041
--- /dev/null
+++ b/nonprism/kdepim-runtime-nonprism/kdepim-runtime.install
@@ -0,0 +1,13 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ update-mime-database usr/share/mime &> /dev/null
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
diff --git a/nonprism/your-privacy/PKGBUILD b/nonprism/your-privacy/PKGBUILD
new file mode 100644
index 000000000..3dbc1c733
--- /dev/null
+++ b/nonprism/your-privacy/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Parabola Project <dev@list.parabolagnulinux.org>
+pkgname=your-privacy
+pkgver=$(LC_ALL=C date -u +%Y%m%d)
+pkgrel=1
+pkgdesc="This package will remove support for unsafe/dangerous for privacy protocols/services."
+arch=('any')
+url="https://parabolagnulinux.org"
+license=('GPL3')
+install=${pkgname}.install
+replaces=your-coherence
+source=(${pkgname}-blacklist-${pkgver}.txt::https://projects.parabolagnulinux.org/blacklist.git/plain/${pkgname}-blacklist.txt)
+
+package() {
+ conflicts=($(cut -d: -f1,2 ${pkgname}-blacklist-${pkgver}.txt | \
+ sed "s/:$//" | \
+ grep -v ":" | \
+ grep -v '^#' | \
+ sort -u
+ ))
+ cd ${srcdir}
+ install -d ${pkgdir}/usr/share/doc/${pkgname}
+ install -m644 ${pkgname}-blacklist-${pkgver}.txt ${pkgdir}/usr/share/doc/${pkgname}/
+}
+
+md5sums=('5fd14982619414fea1882b351607291e')
diff --git a/nonprism/your-privacy/your-privacy.install b/nonprism/your-privacy/your-privacy.install
new file mode 100644
index 000000000..965fdbf43
--- /dev/null
+++ b/nonprism/your-privacy/your-privacy.install
@@ -0,0 +1,30 @@
+
+pre_install() {
+ cat <<EOM
+ == IMPORTANT NOTICE ==
+
+ This package will help you identify if packages that support
+ unsafe/dangerous for privacy protocols/services are installed on your
+ system at the time of its installation, as well as protecting you from
+ (accidentally) installing them.
+
+ Also, if any other package that support unsafe/dangerous for privacy
+ protocols/services is identified, later updates will ask you for its
+ removal.
+
+ Have in mind that, if you want to retain certain packages that support
+ unsafe/dangerous for privacy protocols/services installed on your system,
+ you'll have to remove your-privacy :)
+
+ Please report any issue to the Nonprism Team on the usual channels:
+ * https://labs.parabola.nu
+ * irc://freenode.net/#nonprism
+ * mailto:dev@lists.parabolagnulinux.org
+EOM
+}
+
+pre_upgrade() {
+ pre_install
+}
+
+# vim:set ts=2 sw=2 et: