diff options
-rw-r--r-- | libre/bitlbee-libre/PKGBUILD | 65 | ||||
-rw-r--r-- | libre/bitlbee-libre/bitlbee.install (renamed from nonprism/bitlbee-nonprism/bitlbee.install) | 0 | ||||
-rw-r--r-- | libre/bitlbee-libre/bitlbee.tmpfiles | 1 | ||||
-rw-r--r-- | libre/bitlbee-libre/xinetd (renamed from nonprism/bitlbee-nonprism/xinetd) | 4 | ||||
-rw-r--r-- | nonprism/bitlbee-libre-nonprism/PKGBUILD (renamed from nonprism/bitlbee-nonprism/PKGBUILD) | 15 | ||||
-rw-r--r-- | nonprism/bitlbee-libre-nonprism/bitlbee.install | 15 | ||||
-rw-r--r-- | nonprism/bitlbee-libre-nonprism/bitlbee.tmpfiles | 1 | ||||
-rw-r--r-- | nonprism/bitlbee-libre-nonprism/xinetd | 12 | ||||
-rw-r--r-- | nonprism/bitlbee-nonprism/bitlbee.tmpfiles | 1 | ||||
-rw-r--r-- | nonprism/bti-nonprism/PKGBUILD | 40 | ||||
-rw-r--r-- | nonprism/bti-nonprism/nonprism.patch | 443 | ||||
-rw-r--r-- | nonprism/eog-plugins-nonprism/PKGBUILD | 39 | ||||
-rw-r--r-- | nonprism/eog-plugins-nonprism/eog-plugins.install | 11 | ||||
-rw-r--r-- | nonprism/gnome-online-accounts-nonprism/PKGBUILD | 4 | ||||
-rw-r--r-- | pcr/xcftools/PKGBUILD | 2 |
15 files changed, 640 insertions, 13 deletions
diff --git a/libre/bitlbee-libre/PKGBUILD b/libre/bitlbee-libre/PKGBUILD new file mode 100644 index 000000000..7e53ce898 --- /dev/null +++ b/libre/bitlbee-libre/PKGBUILD @@ -0,0 +1,65 @@ +# $Id$ + +# Contributor: FUBAR <mrfubar@gmail.com> +# Contributor: simo <simo@archlinux.org> +# Contributor: Jeff 'codemac' Mickey <jeff@archlinux.org> +# Contributor: Daniel J Griffiths <ghost1227@archlinux.us> +# Contributor: Gaetan Bisson <bisson@archlinux.org> +# Maintainer: Dave Reisner <dreisner@archlinux.org> +# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com> + +_pkgname=bitlbee +pkgname=bitlbee-libre +pkgver=3.2 +pkgrel=3 +pkgdesc='Brings instant messaging (XMPP, MSN, Yahoo!, AIM, ICQ, Twitter) to IRC, without Skype support' +url='http://www.bitlbee.org/' +license=('GPL') +arch=('i686' 'x86_64' 'mips64el') +depends=('gnutls' 'glib2') +makedepends=('asciidoc' 'libotr3') +optdepends=('libotr3: for OTR encryption support' + 'xinetd: to run bitlbee through xinetd') +provides=$_pkgname=$pkgver +conflicts=$_pkgname +replaces=("$_pkgname") +source=("http://get.bitlbee.org/src/${_pkgname}-${pkgver}.tar.gz" + 'xinetd' + 'bitlbee.tmpfiles') +sha1sums=('21e17f082c776566429603b1e8c966983a75ac9e' + 'ec1a3efff09b9fc3d3e52560d8cdbe23186c819f' + '3695ed2fe22436c4d0fc3ead829f7d1f89bc491c') +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 \ + --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" +} diff --git a/nonprism/bitlbee-nonprism/bitlbee.install b/libre/bitlbee-libre/bitlbee.install index aa5a81a70..aa5a81a70 100644 --- a/nonprism/bitlbee-nonprism/bitlbee.install +++ b/libre/bitlbee-libre/bitlbee.install diff --git a/libre/bitlbee-libre/bitlbee.tmpfiles b/libre/bitlbee-libre/bitlbee.tmpfiles new file mode 100644 index 000000000..da72a0a79 --- /dev/null +++ b/libre/bitlbee-libre/bitlbee.tmpfiles @@ -0,0 +1 @@ +d /run/bitlbee 0755 bitlbee bitlbee - - diff --git a/nonprism/bitlbee-nonprism/xinetd b/libre/bitlbee-libre/xinetd index 169134d2b..68d5663b3 100644 --- a/nonprism/bitlbee-nonprism/xinetd +++ b/libre/bitlbee-libre/xinetd @@ -6,7 +6,7 @@ service bitlbee wait = no user = bitlbee group = bitlbee - server = /usr/sbin/bitlbee + server = /usr/bin/bitlbee port = 6667 disable = yes -}
\ No newline at end of file +} diff --git a/nonprism/bitlbee-nonprism/PKGBUILD b/nonprism/bitlbee-libre-nonprism/PKGBUILD index d181f3b9f..e48667d52 100644 --- a/nonprism/bitlbee-nonprism/PKGBUILD +++ b/nonprism/bitlbee-libre-nonprism/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 186656 2013-05-30 12:19:35Z dreisner $ +# $Id$ # Contributor: FUBAR <mrfubar@gmail.com> # Contributor: simo <simo@archlinux.org> @@ -6,28 +6,29 @@ # Contributor: Daniel J Griffiths <ghost1227@archlinux.us> # Contributor: Gaetan Bisson <bisson@archlinux.org> # Maintainer: Dave Reisner <dreisner@archlinux.org> +# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com> _pkgname=bitlbee -pkgname=bitlbee-nonprism +pkgname=bitlbee-libre-nonprism pkgver=3.2 pkgrel=3 pkgdesc='Brings XMPP to IRC, without support for unsafe and dangerous for privacy protocols' url='http://www.bitlbee.org/' license=('GPL') -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') depends=('gnutls' 'glib2') makedepends=('asciidoc' 'libotr3') optdepends=('libotr3: for OTR encryption support' 'xinetd: to run bitlbee through xinetd') -replaces=("$_pkgname" 'bitlbee-coherence') -conflicts=$_pkgname provides=$_pkgname=$pkgver +conflicts=$_pkgname +replaces=("$_pkgname" "$_pkgname-libre" "$_pkgname-coherence") source=("http://get.bitlbee.org/src/${_pkgname}-${pkgver}.tar.gz" 'xinetd' 'bitlbee.tmpfiles') sha1sums=('21e17f082c776566429603b1e8c966983a75ac9e' - '81c1185b09bee9520b7b58e295a0ffe43a9b0093' - '64b05c7ba522fcdbd0fb57d89ea8320713cc18e9') + 'ec1a3efff09b9fc3d3e52560d8cdbe23186c819f' + '3695ed2fe22436c4d0fc3ead829f7d1f89bc491c') backup=('etc/bitlbee/bitlbee.conf' 'etc/bitlbee/motd.txt' 'etc/xinetd.d/bitlbee') diff --git a/nonprism/bitlbee-libre-nonprism/bitlbee.install b/nonprism/bitlbee-libre-nonprism/bitlbee.install new file mode 100644 index 000000000..aa5a81a70 --- /dev/null +++ b/nonprism/bitlbee-libre-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-libre-nonprism/bitlbee.tmpfiles b/nonprism/bitlbee-libre-nonprism/bitlbee.tmpfiles new file mode 100644 index 000000000..da72a0a79 --- /dev/null +++ b/nonprism/bitlbee-libre-nonprism/bitlbee.tmpfiles @@ -0,0 +1 @@ +d /run/bitlbee 0755 bitlbee bitlbee - - diff --git a/nonprism/bitlbee-libre-nonprism/xinetd b/nonprism/bitlbee-libre-nonprism/xinetd new file mode 100644 index 000000000..68d5663b3 --- /dev/null +++ b/nonprism/bitlbee-libre-nonprism/xinetd @@ -0,0 +1,12 @@ +service bitlbee +{ + type = UNLISTED + socket_type = stream + protocol = tcp + wait = no + user = bitlbee + group = bitlbee + server = /usr/bin/bitlbee + port = 6667 + disable = yes +} diff --git a/nonprism/bitlbee-nonprism/bitlbee.tmpfiles b/nonprism/bitlbee-nonprism/bitlbee.tmpfiles deleted file mode 100644 index ebd909675..000000000 --- a/nonprism/bitlbee-nonprism/bitlbee.tmpfiles +++ /dev/null @@ -1 +0,0 @@ -d /run/bitlbee 0755 bitlbee bitlbee - -
\ No newline at end of file diff --git a/nonprism/bti-nonprism/PKGBUILD b/nonprism/bti-nonprism/PKGBUILD new file mode 100644 index 000000000..378664976 --- /dev/null +++ b/nonprism/bti-nonprism/PKGBUILD @@ -0,0 +1,40 @@ +# $Id$ +# Maintainer: Kaiting Chen <kaitocracy@gmail.com> +# Contributor: uvok <uvok at online dot de> +# Contributor: Urist <9362773 at gmail.com> + +_pkgname=bti +pkgname=bti-nonprism +pkgver=033 +pkgrel=1.1 +pkgdesc='Console client for status.net, without Twitter support' +arch=('i686' 'x86_64' 'mips64el') +url='http://gregkh.github.com/bti/' +license=('GPL') +depends=('pcre' 'libxml2' 'curl' 'liboauth' 'json-c') +provides=$_pkgname +conflicts=$_pkgname +replaces=$_pkgname +source=(http://www.kernel.org/pub/software/web/$_pkgname/$_pkgname-$pkgver.tar.xz + nonprism.patch) +sha256sums=('a3d9d8a86a718a4820387c75ac2af24fecfe754ee562163d700acb7cf795d753' + '184f2a134d44ae4c901ffdc824f833b477148f146e23f5d3680496658c9ca393') + +prepare() { + cd ${srcdir}/$_pkgname-$pkgver + patch -Np1 -i ${srcdir}/nonprism.patch +} + +build() { + cd ${srcdir}/$_pkgname-$pkgver + ./configure --prefix=/usr + + make +} + +package() { + cd ${srcdir}/$_pkgname-$pkgver + + make DESTDIR=${pkgdir} install +} + diff --git a/nonprism/bti-nonprism/nonprism.patch b/nonprism/bti-nonprism/nonprism.patch new file mode 100644 index 000000000..009c26d1e --- /dev/null +++ b/nonprism/bti-nonprism/nonprism.patch @@ -0,0 +1,443 @@ +diff -Nur bti-033/bti.1 bti-nonprism/bti.1 +--- bti-033/bti.1 2013-06-27 18:23:38.000000000 -0300 ++++ bti-nonprism/bti.1 2013-08-21 18:24:32.693871946 -0300 +@@ -28,23 +28,23 @@ + .\" * MAIN CONTENT STARTS HERE * + .\" ----------------------------------------------------------------- + .SH "NAME" +-bti \- send a tweet to twitter\&.com or identi\&.ca from the command line ++bti \- send a tweet to status\&.net from the command line + .SH "SYNOPSIS" + .HP \w'\fBbti\fR\ 'u + \fBbti\fR [\fB\-\-account\ account\fR] [\fB\-\-password\ password\fR] [\fB\-\-action\ action\fR] [\fB\-\-user\ screenname\fR] [\fB\-\-host\ HOST_NAME\fR] [\fB\-\-proxy\ PROXY:PORT\fR] [\fB\-\-logfile\ LOGFILE\fR] [\fB\-\-config\ CONFIGFILE\fR] [\fB\-\-replyto\ ID\fR] [\fB\-\-retweet\ ID\fR] [\fB\-\-page\ PAGENUMBER\fR] [\fB\-\-bash\fR] [\fB\-\-shrink\-urls\fR] [\fB\-\-debug\fR] [\fB\-\-dry\-run\fR] [\fB\-\-verbose\fR] [\fB\-\-version\fR] [\fB\-\-help\fR] + .SH "DESCRIPTION" + .PP +-bti sends a tweet message to twitter\&.com or identi\&.ca\&. ++bti sends a tweet message to status\&.net\&. + .SH "OPTIONS" + .PP + \fB\-\-account account\fR + .RS 4 +-Specify the twitter\&.com or identi\&.ca account name\&. ++Specify the status\&.net account name\&. + .RE + .PP + \fB\-\-password password\fR + .RS 4 +-Specify the password of your twitter\&.com or identi\&.ca account\&. ++Specify the password of your status\&.net account\&. + .RE + .PP + \fB\-\-action action\fR +@@ -59,9 +59,9 @@ + .PP + \fB\-\-host HOST_NAME\fR + .RS 4 +-Specify the host which you want to send your message to\&. Valid options are "twitter" to send to twitter\&.com and "identica" to send to identi\&.ca\&. If you want to send the message to a custom StatusNet installation, you should specify the API URI\&. For example identi\&.ca\*(Aqs URI is: https://identi\&.ca/api/statuses ++Specify the host which you want to send your message to\&. Valid options are "statusnet" to send to status\&.net\&. If you want to send the message to a custom StatusNet installation, you should specify the API URI\&. For example status\&.net\*(Aqs URI is: https://status\&.net/api/statuses + .sp +-If no host is specified, the default is to send to twitter\&.com\&. ++If no host is specified, the default is to send to status\&.net\&. + .RE + .PP + \fB\-\-proxy PROXY:PORT\fR +@@ -85,8 +85,6 @@ + .RS 4 + Status ID of a single post to which you want to create a threaded reply to\&. + .sp +-For twitter, this is ignored unless the message starts with the @name of the owner of the post with the status ID\&. +-.sp + For status\&.net, this can link any two messages into context with each other\&. Status\&.net will also link a message that contains an @name without this without regard to context\&. + .RE + .PP +@@ -167,12 +165,12 @@ + .PP + \fBaccount\fR + .RS 4 +-The twitter\&.com or identi\&.ca account name you wish to use to send this message with\&. ++The status\&.net account name you wish to use to send this message with\&. + .RE + .PP + \fBpassword\fR + .RS 4 +-The twitter\&.com or identi\&.ca password for the account you wish to use to send this message with\&. ++The status\&.net password for the account you wish to use to send this message with\&. + .RE + .PP + \fB\-\-action action\fR +@@ -187,7 +185,7 @@ + .PP + \fBhost\fR + .RS 4 +-The host you want to use to send the message to\&. Valid options are either "twitter" or "identica" to send to twitter\&.com or identi\&.ca respectively\&. If you want to send the message to a custom StatusNet installation, you should specify the API URI\&. For example identi\&.ca\*(Aqs URI is: https://identi\&.ca/api/statuses\&. ++The host you want to use to send the message to\&. Valid options are either "statusnet" to send to status\&.net respectively\&. If you want to send the message to a custom StatusNet installation, you should specify the API URI\&. For example status\&.net\*(Aqs URI is: https://status\&.net/api/statuses\&. + .RE + .PP + \fBproxy\fR +diff -Nur bti-033/bti-bashcompletion bti-nonprism/bti-bashcompletion +--- bti-033/bti-bashcompletion 2013-06-27 18:23:38.000000000 -0300 ++++ bti-nonprism/bti-bashcompletion 2013-08-21 18:19:46.889928804 -0300 +@@ -12,7 +12,7 @@ + fi + + if [[ "${prev}" == "--host" ]] ; then +- COMPREPLY=( $(compgen -W "twitter identica" -- ${cur} ) ) ++ COMPREPLY=( $(compgen -W "statusnet" -- ${cur} ) ) + fi + + if [[ "${prev}" == "--action" ]] ; then +diff -Nur bti-033/bti.c bti-nonprism/bti.c +--- bti-033/bti.c 2013-06-27 18:23:38.000000000 -0300 ++++ bti-nonprism/bti.c 2013-08-21 18:31:54.013583020 -0300 +@@ -53,7 +53,7 @@ + + static void display_help(void) + { +- fprintf(stdout, "bti - send tweet to twitter or identi.ca\n" ++ fprintf(stdout, "bti - send tweet to status.net\n" + "Version: %s\n" + "Usage:\n" + " bti [options]\n" +@@ -258,19 +258,12 @@ + free(buffer); + } + +-const char twitter_host[] = "http://api.twitter.com/1.1/statuses"; +-const char twitter_host_stream[] = "https://stream.twitter.com/1.1/statuses"; /*this is not reset, and doesnt work */ +-const char twitter_host_simple[] = "http://api.twitter.com/1.1"; +-const char identica_host[] = "https://identi.ca/api/statuses"; +-const char twitter_name[] = "twitter"; +-const char identica_name[] = "identi.ca"; +- +-static const char twitter_request_token_uri[] = "https://twitter.com/oauth/request_token"; +-static const char twitter_access_token_uri[] = "https://twitter.com/oauth/access_token"; +-static const char twitter_authorize_uri[] = "https://twitter.com/oauth/authorize?oauth_token="; +-static const char identica_request_token_uri[] = "https://identi.ca/api/oauth/request_token?oauth_callback=oob"; +-static const char identica_access_token_uri[] = "https://identi.ca/api/oauth/access_token"; +-static const char identica_authorize_uri[] = "https://identi.ca/api/oauth/authorize?oauth_token="; ++const char statusnet_host[] = "https://status.net/api/statuses"; ++const char statusnet_name[] = "status.net"; ++ ++static const char statusnet_request_token_uri[] = "https://status.net/api/oauth/request_token?oauth_callback=oob"; ++static const char statusnet_access_token_uri[] = "https://status.net/api/oauth/access_token"; ++static const char statusnet_authorize_uri[] = "https://status.net/api/oauth/authorize?oauth_token="; + static const char custom_request_token_uri[] = "/../oauth/request_token?oauth_callback=oob"; + static const char custom_access_token_uri[] = "/../oauth/access_token"; + static const char custom_authorize_uri[] = "/../oauth/authorize?oauth_token="; +@@ -855,14 +848,9 @@ + if (!session) + return -EINVAL; + +- if (session->host == HOST_TWITTER) +- request_url = oauth_sign_url2( +- twitter_request_token_uri, NULL, +- OA_HMAC, NULL, session->consumer_key, +- session->consumer_secret, NULL, NULL); +- else if (session->host == HOST_IDENTICA) ++ if (session->host == HOST_STATUSNET) + request_url = oauth_sign_url2( +- identica_request_token_uri, NULL, ++ statusnet_request_token_uri, NULL, + OA_HMAC, NULL, session->consumer_key, + session->consumer_secret, NULL, NULL); + else { +@@ -893,16 +881,11 @@ + "Please open the following link in your browser, and " + "allow 'bti' to access your account. Then paste " + "back the provided PIN in here.\n"); +- if (session->host == HOST_TWITTER) { +- fprintf(stdout, "%s%s\nPIN: ", twitter_authorize_uri, at_key); ++ if (session->host == HOST_STATUSNET) { ++ fprintf(stdout, "%s%s\nPIN: ", statusnet_authorize_uri, at_key); + verifier = session->readline(NULL); + sprintf(at_uri, "%s?oauth_verifier=%s", +- twitter_access_token_uri, verifier); +- } else if (session->host == HOST_IDENTICA) { +- fprintf(stdout, "%s%s\nPIN: ", identica_authorize_uri, at_key); +- verifier = session->readline(NULL); +- sprintf(at_uri, "%s?oauth_verifier=%s", +- identica_access_token_uri, verifier); ++ statusnet_access_token_uri, verifier); + } else { + fprintf(stdout, "%s%s%s\nPIN: ", + session->hosturl, custom_authorize_uri, at_key); +@@ -956,7 +939,7 @@ + return -EINVAL; + + if (!session->hosturl) +- session->hosturl = strdup(twitter_host); ++ session->hosturl = strdup(statusnet_host); + + if (session->no_oauth || session->guest) { + curl_buf = bti_curl_buffer_alloc(session->action); +@@ -971,7 +954,7 @@ + } + + if (!session->hosturl) +- session->hosturl = strdup(twitter_host); ++ session->hosturl = strdup(statusnet_host); + + switch (session->action) { + case ACTION_UPDATE: +@@ -1032,7 +1015,7 @@ + + case ACTION_PUBLIC: + /*snprintf(endpoint, endpoint_size, "%s%s?page=%d", session->hosturl,*/ +- snprintf(endpoint, endpoint_size, "%s%s", twitter_host_stream, ++ snprintf(endpoint, endpoint_size, "%s%s", statusnet_host, + public_uri); + curl_easy_setopt(curl, CURLOPT_URL, endpoint); + break; +@@ -1045,7 +1028,6 @@ + break; + + case ACTION_DIRECT: +- /* NOT IMPLEMENTED - twitter requires authentication anyway */ + break; + + default: +@@ -1125,7 +1107,6 @@ + } else { + switch (session->action) { + case ACTION_UPDATE: +- /* dont test it here, let twitter return an error that we show */ + if (strlen_utf8(session->tweet) > 140 + 1000 ) { + printf("E: tweet is too long!\n"); + goto skip_tweet; +@@ -1156,7 +1137,7 @@ + mentions_uri, session->page); + break; + case ACTION_PUBLIC: +- sprintf(endpoint, "%s%s", twitter_host_stream, ++ sprintf(endpoint, "%s%s", statusnet_host, + public_uri); + break; + case ACTION_GROUP: +@@ -1175,7 +1156,7 @@ + break; + case ACTION_DIRECT: + escaped_tweet = oauth_url_escape(session->tweet); +- sprintf(endpoint, "%s%s?user=%s&text=%s", twitter_host_simple, ++ sprintf(endpoint, "%s%s?user=%s&text=%s", statusnet_host, + direct_uri, session->user, escaped_tweet); + is_post = 1; + break; +@@ -1766,14 +1747,10 @@ + free(session->hosturl); + if (session->hostname) + free(session->hostname); +- if (strcasecmp(optarg, "twitter") == 0) { +- session->host = HOST_TWITTER; +- session->hosturl = strdup(twitter_host); +- session->hostname = strdup(twitter_name); +- } else if (strcasecmp(optarg, "identica") == 0) { +- session->host = HOST_IDENTICA; +- session->hosturl = strdup(identica_host); +- session->hostname = strdup(identica_name); ++ if (strcasecmp(optarg, "statusnet") == 0) { ++ session->host = HOST_STATUSNET; ++ session->hosturl = strdup(statusnet_host); ++ session->hostname = strdup(statusnet_name); + } else { + session->host = HOST_CUSTOM; + session->hosturl = strdup(optarg); +@@ -1829,31 +1806,8 @@ + if (debug) + display_version(); + +- if (session->host == HOST_TWITTER) { +- if (!session->consumer_key || !session->consumer_secret) { +- if (session->action == ACTION_USER || +- session->action == ACTION_PUBLIC) { +- /* +- * Some actions may still work without +- * authentication +- */ +- session->guest = 1; +- } else { +- fprintf(stderr, +- "Twitter no longer supports HTTP basic authentication.\n" +- "Both consumer key, and consumer secret are required" +- " for bti in order to behave as an OAuth consumer.\n"); +- goto exit; +- } +- } +- if (session->action == ACTION_GROUP) { +- fprintf(stderr, "Groups only work in Identi.ca.\n"); +- goto exit; +- } +- } else { +- if (!session->consumer_key || !session->consumer_secret) +- session->no_oauth = 1; +- } ++ if (!session->consumer_key || !session->consumer_secret) ++ session->no_oauth = 1; + + if (session->no_oauth) { + if (!session->account) { +diff -Nur bti-033/bti.example bti-nonprism/bti.example +--- bti-033/bti.example 2012-06-22 18:45:42.000000000 -0300 ++++ bti-nonprism/bti.example 2013-08-21 18:24:54.398011375 -0300 +@@ -5,7 +5,7 @@ + # a message. + account=twitmaster + password=icanhascheezburger +-host=identica ++host=statusnet + # Example of a custom StatusNet installation + #host=http://army.twit.tv/api/statuses + logfile=.bti.log +diff -Nur bti-033/bti.h bti-nonprism/bti.h +--- bti-033/bti.h 2013-06-27 18:23:38.000000000 -0300 ++++ bti-nonprism/bti.h 2013-08-21 18:19:22.865702111 -0300 +@@ -17,8 +17,7 @@ + #define __BTI_H + + enum host { +- HOST_TWITTER = 0, +- HOST_IDENTICA = 1, ++ HOST_STATUSNET = 1, + HOST_CUSTOM = 2 + }; + +@@ -76,10 +75,8 @@ + int length; + }; + +-extern const char twitter_host[]; +-extern const char identica_host[]; +-extern const char twitter_name[]; +-extern const char identica_name[]; ++extern const char statusnet_host[]; ++extern const char statusnet_name[]; + extern int debug; + + extern void bti_parse_configfile(struct session *session); +diff -Nur bti-033/bti.xml bti-nonprism/bti.xml +--- bti-033/bti.xml 2013-06-27 18:23:38.000000000 -0300 ++++ bti-nonprism/bti.xml 2013-08-21 18:22:20.722310079 -0300 +@@ -21,7 +21,7 @@ + + <refnamediv> + <refname>bti</refname> +- <refpurpose>send a tweet to twitter.com or identi.ca from the command line</refpurpose> ++ <refpurpose>send a tweet to status.net from the command line</refpurpose> + </refnamediv> + + <refsynopsisdiv> +@@ -49,7 +49,7 @@ + </refsynopsisdiv> + + <refsect1><title>DESCRIPTION</title> +- <para>bti sends a tweet message to twitter.com or identi.ca. ++ <para>bti sends a tweet message or status.net. + </para> + </refsect1> + +@@ -59,7 +59,7 @@ + <term><option>--account account</option></term> + <listitem> + <para> +- Specify the twitter.com or identi.ca account name. ++ Specify the status.net account name. + </para> + </listitem> + </varlistentry> +@@ -67,7 +67,7 @@ + <term><option>--password password</option></term> + <listitem> + <para> +- Specify the password of your twitter.com or identi.ca account. ++ Specify the password of your status.net account. + </para> + </listitem> + </varlistentry> +@@ -100,15 +100,15 @@ + <listitem> + <para> + Specify the host which you want to send your message to. Valid +- options are "twitter" to send to twitter.com and "identica" to +- send to identi.ca. ++ options are "statusnet" to ++ send to status.net. + + If you want to send the message to a custom StatusNet installation, +- you should specify the API URI. For example identi.ca's URI is: +- https://identi.ca/api/statuses ++ you should specify the API URI. For example status.net's URI is: ++ https://status.net/api/statuses + </para> + <para> +- If no host is specified, the default is to send to twitter.com. ++ If no host is specified, the default is to send to status.net. + </para> + </listitem> + </varlistentry> +@@ -154,10 +154,6 @@ + reply to. + </para> + <para> +- For twitter, this is ignored unless the message starts with the +- @name of the owner of the post with the status ID. +- </para> +- <para> + For status.net, this can link any two messages into context with + each other. Status.net will also link a message that contains an + @name without this without regard to context. +@@ -306,7 +302,7 @@ + <term><option>account</option></term> + <listitem> + <para> +- The twitter.com or identi.ca account name you wish to use to send this ++ The status.net account name you wish to use to send this + message with. + </para> + </listitem> +@@ -315,7 +311,7 @@ + <term><option>password</option></term> + <listitem> + <para> +- The twitter.com or identi.ca password for the account you wish to use ++ The status.net password for the account you wish to use + to send this message with. + </para> + </listitem> +@@ -346,12 +342,12 @@ + <listitem> + <para> + The host you want to use to send the message to. Valid +- options are either "twitter" or "identica" to send to +- twitter.com or identi.ca respectively. ++ options are either "statusnet" to send to ++ status.net respectively. + + If you want to send the message to a custom StatusNet installation, +- you should specify the API URI. For example identi.ca's URI is: +- https://identi.ca/api/statuses. ++ you should specify the API URI. For example status.net's URI is: ++ https://status.net/api/statuses. + </para> + </listitem> + </varlistentry> +diff -Nur bti-033/config.c bti-nonprism/config.c +--- bti-033/config.c 2013-04-23 20:18:04.000000000 -0300 ++++ bti-nonprism/config.c 2013-08-21 18:17:39.798533227 -0300 +@@ -219,14 +219,10 @@ + + static int host_callback(struct session *session, char *value) + { +- if (strcasecmp(value, "twitter") == 0) { +- session->host = HOST_TWITTER; +- session->hosturl = strdup(twitter_host); +- session->hostname = strdup(twitter_name); +- } else if (strcasecmp(value, "identica") == 0) { +- session->host = HOST_IDENTICA; +- session->hosturl = strdup(identica_host); +- session->hostname = strdup(identica_name); ++ if (strcasecmp(value, "statusnet") == 0) { ++ session->host = HOST_STATUSNET; ++ session->hosturl = strdup(statusnet_host); ++ session->hostname = strdup(statusnet_name); + } else { + session->host = HOST_CUSTOM; + session->hosturl = strdup(value); diff --git a/nonprism/eog-plugins-nonprism/PKGBUILD b/nonprism/eog-plugins-nonprism/PKGBUILD new file mode 100644 index 000000000..010f3eb7b --- /dev/null +++ b/nonprism/eog-plugins-nonprism/PKGBUILD @@ -0,0 +1,39 @@ +# $Id$ +# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> +# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com> + +_pkgname=eog-plugins +pkgname=eog-plugins-nonprism +pkgver=3.8.1 +pkgrel=2 +pkgdesc="Plugins for Eye of Gnome, without libgdata support" +arch=('i686' 'x86_64') +url="http://www.gnome.org/" +license=('GPL2') +depends=('eog' 'libchamplain') +makedepends=('intltool') +provides=("$_pkgname=$pkgver") +conflicts=$_pkgname +replaces=$_pkgname +install=eog-plugins.install +options=('!libtool') +source=(http://download.gnome.org/sources/$_pkgname/${pkgver%.*}/$_pkgname-$pkgver.tar.xz) +sha256sums=('5cf8dab5b6622b9e712da4094185112cc84baa96f2775cc76bf654b1c443cfb9') + +build() { + cd $_pkgname-$pkgver + PYTHON=/usr/bin/python2 ./configure --prefix=/usr \ + --sysconfdir=/etc --localstatedir=/var + + # https://bugzilla.gnome.org/show_bug.cgi?id=655517 + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + + make +} + +package() { + cd $_pkgname-$pkgver + make DESTDIR="$pkgdir" install +} + +# vim:set ts=2 sw=2 et: diff --git a/nonprism/eog-plugins-nonprism/eog-plugins.install b/nonprism/eog-plugins-nonprism/eog-plugins.install new file mode 100644 index 000000000..24072f316 --- /dev/null +++ b/nonprism/eog-plugins-nonprism/eog-plugins.install @@ -0,0 +1,11 @@ +post_install() { + usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/nonprism/gnome-online-accounts-nonprism/PKGBUILD b/nonprism/gnome-online-accounts-nonprism/PKGBUILD index 5c9172188..7b541c715 100644 --- a/nonprism/gnome-online-accounts-nonprism/PKGBUILD +++ b/nonprism/gnome-online-accounts-nonprism/PKGBUILD @@ -5,7 +5,7 @@ _pkgname=gnome-online-accounts pkgname=gnome-online-accounts-nonprism pkgver=3.8.2 -pkgrel=2 +pkgrel=2.1 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" @@ -35,7 +35,7 @@ build() { cd $_pkgname-$pkgver ./configure --prefix=/usr --libexec=/usr/lib/gnome-online-accounts \ --disable-google \ - --disable-owncloud \ + --enable-owncloud \ --disable-facebook \ --disable-windows-live \ --disable-exchange \ diff --git a/pcr/xcftools/PKGBUILD b/pcr/xcftools/PKGBUILD index 979453d24..414149f85 100644 --- a/pcr/xcftools/PKGBUILD +++ b/pcr/xcftools/PKGBUILD @@ -2,7 +2,7 @@ # Maintainer (Parabola): Márcio Silva <coadde@lavabit.com> pkgname=xcftools pkgver=1.0.7 -pkgrel=1 +pkgrel=2 pkgdesc="Miscellaneous command line tools for use with the open ${pkgname::3} format used by The GIMP." url=http://henning.makholm.net/software arch=( |