summaryrefslogtreecommitdiff
path: root/community
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-07-18 04:05:10 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-07-18 04:05:10 +0000
commit9959727f4ef9acd6805bb372e98323a01468246e (patch)
tree52c209bd97c5b9ab6217c75dbf67bdc425775341 /community
parent0a765aad3e78dae0cc72b1a255b39a071f018963 (diff)
Fri Jul 18 04:02:21 UTC 2014
Diffstat (limited to 'community')
-rw-r--r--community/apvlv/PKGBUILD16
-rw-r--r--community/apvlv/apvlv-poppler015.patch12
-rw-r--r--community/apvlv/poppler-gdk.patch150
-rw-r--r--community/gearmand/PKGBUILD6
-rw-r--r--community/gradm/PKGBUILD6
-rw-r--r--community/gradm/policy2
-rw-r--r--community/gtk-chtheme/PKGBUILD18
-rw-r--r--community/hiredis/PKGBUILD33
-rw-r--r--community/openmw/PKGBUILD4
-rw-r--r--community/subtle/PKGBUILD6
10 files changed, 65 insertions, 188 deletions
diff --git a/community/apvlv/PKGBUILD b/community/apvlv/PKGBUILD
index 065bf30fa..91cd3259b 100644
--- a/community/apvlv/PKGBUILD
+++ b/community/apvlv/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 88809 2013-04-22 20:09:44Z jsteel $
+# $Id: PKGBUILD 115831 2014-07-17 17:30:07Z jsteel $
# Maintainer: Jonathan Steel <jsteel@aur.archlinux.org>
# Contributor: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
# Contributor: Brad Fanella <bradfanella@archlinux.us>
@@ -7,17 +7,17 @@
pkgname=apvlv
pkgver=0.1.4.20121023
-pkgrel=3
-pkgdesc='A PDF Viewer, which behaves like Vim'
+pkgrel=4
+pkgdesc='PDF/DJVU/TXT viewer which behaves like Vim'
arch=('i686' 'x86_64')
url="http://naihe2010.github.com/apvlv/"
license=('GPL')
-depends=('gtk2' 'cairo' 'poppler-glib' 'djvulibre' 'desktop-file-utils')
-makedepends=('cmake' 'libwebkit')
+depends=('gtk2' 'poppler-glib' 'djvulibre' 'desktop-file-utils')
+makedepends=('cmake' 'webkitgtk2')
install=$pkgname.install
source=(ftp://ftp.archlinux.org/other/community/$pkgname/$pkgname-$pkgver.tar.xz
$pkgname.desktop)
-backup=(etc/apvlvrc)
+backup=('etc/apvlvrc')
md5sums=('f222fc4b09b15358eb4e7f996ba810d6'
'54478fecb54f36d1c44d8fdc233ddbac')
@@ -27,8 +27,8 @@ build() {
mkdir -p build
cd build
- cmake -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX=/usr \
+ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr \
+ -DAPVLV_WITH_DJVU=yes -DAPVLV_WITH_TXT=yes \
-DAPVLV_WITH_UMD=no ..
make
diff --git a/community/apvlv/apvlv-poppler015.patch b/community/apvlv/apvlv-poppler015.patch
deleted file mode 100644
index 0a261b1db..000000000
--- a/community/apvlv/apvlv-poppler015.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Naur apvlv-0.1.2-Source.orig//src/ApvlvFile.cpp apvlv-0.1.2-Source.new//src/ApvlvFile.cpp
---- apvlv-0.1.2-Source.orig//src/ApvlvFile.cpp 2011-07-29 17:19:13.000000000 +0200
-+++ apvlv-0.1.2-Source.new//src/ApvlvFile.cpp 2011-07-29 17:22:22.000000000 +0200
-@@ -304,7 +304,7 @@
- {
- PopplerRectangle rect = { x1, y1, x2, y2 };
- PopplerPage *page = poppler_document_get_page (mDoc, pn);
-- *out = poppler_page_get_text (page, POPPLER_SELECTION_WORD, &rect);
-+ *out = poppler_page_get_selected_text (page, POPPLER_SELECTION_WORD, &rect);
- if (*out != NULL)
- {
- return true;
diff --git a/community/apvlv/poppler-gdk.patch b/community/apvlv/poppler-gdk.patch
deleted file mode 100644
index ab487cf1c..000000000
--- a/community/apvlv/poppler-gdk.patch
+++ /dev/null
@@ -1,150 +0,0 @@
-diff -ruN apvlv-0.1.2-Source/src/ApvlvFile.cpp apvlv-0.1.2-Source.new/src/ApvlvFile.cpp
---- apvlv-0.1.2-Source/src/ApvlvFile.cpp 2011-10-10 14:23:19.205606984 +0200
-+++ apvlv-0.1.2-Source.new/src/ApvlvFile.cpp 2011-10-10 14:21:50.870952455 +0200
-@@ -29,6 +29,10 @@
- #include "ApvlvUtil.hpp"
- #include "ApvlvView.hpp"
-
-+#ifndef POPPLER_WITH_GDK
-+#include "poppler-gdk.h"
-+#endif
-+
- #ifdef HAVE_LIBUMD
- #define LIBUMD_ENABLE_GTK
- #include <umd.h>
-diff -ruN apvlv-0.1.2-Source/src/poppler-gdk.h apvlv-0.1.2-Source.new/src/poppler-gdk.h
---- apvlv-0.1.2-Source/src/poppler-gdk.h 1970-01-01 01:00:00.000000000 +0100
-+++ apvlv-0.1.2-Source.new/src/poppler-gdk.h 2011-10-10 14:22:06.077846565 +0200
-@@ -0,0 +1,132 @@
-+#include <goo/gtypes.h>
-+
-+static void
-+copy_cairo_surface_to_pixbuf (cairo_surface_t *surface,
-+ GdkPixbuf *pixbuf)
-+{
-+ int cairo_width, cairo_height, cairo_rowstride;
-+ unsigned char *pixbuf_data, *dst, *cairo_data;
-+ int pixbuf_rowstride, pixbuf_n_channels;
-+ unsigned int *src;
-+ int x, y;
-+
-+ cairo_width = cairo_image_surface_get_width (surface);
-+ cairo_height = cairo_image_surface_get_height (surface);
-+ cairo_rowstride = cairo_image_surface_get_stride (surface);
-+ cairo_data = cairo_image_surface_get_data (surface);
-+
-+ pixbuf_data = gdk_pixbuf_get_pixels (pixbuf);
-+ pixbuf_rowstride = gdk_pixbuf_get_rowstride (pixbuf);
-+ pixbuf_n_channels = gdk_pixbuf_get_n_channels (pixbuf);
-+
-+ if (cairo_width > gdk_pixbuf_get_width (pixbuf))
-+ cairo_width = gdk_pixbuf_get_width (pixbuf);
-+ if (cairo_height > gdk_pixbuf_get_height (pixbuf))
-+ cairo_height = gdk_pixbuf_get_height (pixbuf);
-+ for (y = 0; y < cairo_height; y++)
-+ {
-+ src = (unsigned int *) (cairo_data + y * cairo_rowstride);
-+ dst = pixbuf_data + y * pixbuf_rowstride;
-+ for (x = 0; x < cairo_width; x++)
-+ {
-+ dst[0] = (*src >> 16) & 0xff;
-+ dst[1] = (*src >> 8) & 0xff;
-+ dst[2] = (*src >> 0) & 0xff;
-+ if (pixbuf_n_channels == 4)
-+ dst[3] = (*src >> 24) & 0xff;
-+ dst += pixbuf_n_channels;
-+ src++;
-+ }
-+ }
-+}
-+
-+static void
-+_poppler_page_render_to_pixbuf (PopplerPage *page,
-+ int src_x, int src_y,
-+ int src_width, int src_height,
-+ double scale,
-+ int rotation,
-+ GBool printing,
-+ GdkPixbuf *pixbuf)
-+{
-+ cairo_t *cr;
-+ cairo_surface_t *surface;
-+
-+ surface = cairo_image_surface_create (CAIRO_FORMAT_ARGB32,
-+ src_width, src_height);
-+ cr = cairo_create (surface);
-+ cairo_save (cr);
-+ switch (rotation) {
-+ case 90:
-+ cairo_translate (cr, src_x + src_width, -src_y);
-+ break;
-+ case 180:
-+ cairo_translate (cr, src_x + src_width, src_y + src_height);
-+ break;
-+ case 270:
-+ cairo_translate (cr, -src_x, src_y + src_height);
-+ break;
-+ default:
-+ cairo_translate (cr, -src_x, -src_y);
-+ }
-+
-+ if (scale != 1.0)
-+ cairo_scale (cr, scale, scale);
-+
-+ if (rotation != 0)
-+ cairo_rotate (cr, rotation * G_PI / 180.0);
-+
-+ if (printing)
-+ poppler_page_render_for_printing (page, cr);
-+ else
-+ poppler_page_render (page, cr);
-+ cairo_restore (cr);
-+
-+ cairo_set_operator (cr, CAIRO_OPERATOR_DEST_OVER);
-+ cairo_set_source_rgb (cr, 1., 1., 1.);
-+ cairo_paint (cr);
-+
-+ cairo_destroy (cr);
-+
-+ copy_cairo_surface_to_pixbuf (surface, pixbuf);
-+ cairo_surface_destroy (surface);
-+}
-+
-+/**
-+ * poppler_page_render_to_pixbuf:
-+ * @page: the page to render from
-+ * @src_x: x coordinate of upper left corner
-+ * @src_y: y coordinate of upper left corner
-+ * @src_width: width of rectangle to render
-+ * @src_height: height of rectangle to render
-+ * @scale: scale specified as pixels per point
-+ * @rotation: rotate the document by the specified degree
-+ * @pixbuf: pixbuf to render into
-+ *
-+ * First scale the document to match the specified pixels per point,
-+ * then render the rectangle given by the upper left corner at
-+ * (src_x, src_y) and src_width and src_height.
-+ * This function is for rendering a page that will be displayed.
-+ * If you want to render a page that will be printed use
-+ * poppler_page_render_to_pixbuf_for_printing() instead
-+ *
-+ * Deprecated: 0.16
-+ **/
-+void
-+poppler_page_render_to_pixbuf (PopplerPage *page,
-+ int src_x, int src_y,
-+ int src_width, int src_height,
-+ double scale,
-+ int rotation,
-+ GdkPixbuf *pixbuf)
-+{
-+ g_return_if_fail (POPPLER_IS_PAGE (page));
-+ g_return_if_fail (scale > 0.0);
-+ g_return_if_fail (pixbuf != NULL);
-+
-+ _poppler_page_render_to_pixbuf (page, src_x, src_y,
-+ src_width, src_height,
-+ scale, rotation,
-+ gFalse,
-+ pixbuf);
-+}
diff --git a/community/gearmand/PKGBUILD b/community/gearmand/PKGBUILD
index 894a79528..48a7bba5b 100644
--- a/community/gearmand/PKGBUILD
+++ b/community/gearmand/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 105677 2014-02-13 14:56:45Z mtorromeo $
+# $Id: PKGBUILD 115823 2014-07-17 10:01:01Z mtorromeo $
# Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
# Contributor: Lev Lybin <lev.lybin@gmail.com>
# Contributor: Vadym Abramchuk <abramm@gmail.com>
@@ -6,10 +6,10 @@
pkgname=gearmand
pkgver=1.1.12
-pkgrel=1
+pkgrel=2
pkgdesc="Distributed job queue server."
arch=('i686' 'x86_64')
-depends=('libevent' 'boost-libs' 'libmariadbclient' 'postgresql-libs' 'sqlite')
+depends=('libevent' 'boost-libs' 'libmariadbclient' 'postgresql-libs' 'sqlite' 'hiredis')
makedepends=('boost' 'gperf' 'python-sphinx')
conflicts=('gearman')
replaces=('gearman')
diff --git a/community/gradm/PKGBUILD b/community/gradm/PKGBUILD
index 0df9b8c45..f7ad64f4b 100644
--- a/community/gradm/PKGBUILD
+++ b/community/gradm/PKGBUILD
@@ -7,7 +7,7 @@
pkgname=gradm
_version=3.0
-_timestamp=201405281853
+_timestamp=201407162022
pkgver=3.0.$_timestamp
pkgrel=1
pkgdesc="Administration utility for grsecurity's Role Based Access Control (RBAC)"
@@ -19,10 +19,10 @@ source=(https://grsecurity.net/stable/$pkgname-$_version-$_timestamp.tar.gz
https://grsecurity.net/stable/$pkgname-$_version-$_timestamp.tar.gz.sig
learn_config
policy)
-sha256sums=('4ee8a4e3a658f14b58c55fb8c5a9d3234e0ec87cf90a886499918553a15c557a'
+sha256sums=('300d119f584644a4698cf6c9125fa0cd17a7ff00b4f7885fe782828b93881e1b'
'SKIP'
'704ea6ba7f748761735cbe1cf52ef04f53eab1a1e9ea1bdcb6abaaf4a641e44d'
- 'c2fb8e696969530c4dc707c59cdc608df6c21d6226979dfeadef92c51deabc5e')
+ '0d069e28845f789d0e9da82fc6dffa368ab71b2ca4ab37e0d3e3c6951e82d98a')
prepare() {
cd $pkgname
diff --git a/community/gradm/policy b/community/gradm/policy
index 395eec321..9d97a2a99 100644
--- a/community/gradm/policy
+++ b/community/gradm/policy
@@ -385,6 +385,7 @@ subject /usr/bin/sshd dpo
/root
/proc r
/proc/*/oom_adj rw
+ /proc/*/oom_score_adj rw
/proc/kcore h
/proc/sys h
/proc/sys/kernel/ngroups_max r
@@ -412,6 +413,7 @@ subject /usr/bin/sshd dpo
+CAP_SYS_RESOURCE
+CAP_SYS_TTY_CONFIG
+CAP_AUDIT_WRITE
+ +CAP_KILL
# to access user keys
+CAP_DAC_OVERRIDE
diff --git a/community/gtk-chtheme/PKGBUILD b/community/gtk-chtheme/PKGBUILD
index fbce248ad..1fa83fed4 100644
--- a/community/gtk-chtheme/PKGBUILD
+++ b/community/gtk-chtheme/PKGBUILD
@@ -1,29 +1,31 @@
-# $Id: PKGBUILD 63616 2012-02-05 12:00:48Z ibiru $
+# $Id: PKGBUILD 115833 2014-07-17 18:34:00Z jsteel $
+# Maintainer: Jonathan Steel <jsteel at aur.archlinux.org>
# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org
-# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>
+# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
pkgname=gtk-chtheme
pkgver=0.3.1
-pkgrel=7
-pkgdesc="This little program lets you change your Gtk+ 2.0 theme. A better alternative to switch2"
+pkgrel=8
+pkgdesc="A little program to change your gtk+ 2.0 theme"
arch=('i686' 'x86_64')
license=('GPL')
url="http://plasmasturm.org/programs/gtk-chtheme/"
depends=('gtk2')
-source=("http://plasmasturm.org/programs/gtk-chtheme/${pkgname}-${pkgver}.tar.bz2")
+source=(http://plasmasturm.org/programs/$pkgname/$pkgname-$pkgver.tar.bz2)
md5sums=('f688053bf26dd6c4f1cd0bf2ee33de2a')
build() {
- cd ${srcdir}/${pkgname}-${pkgver}
+ cd "$srcdir"/$pkgname-$pkgver
# Fix xdg compliancy
sed -i 's|-DGTK.*||' Makefile
sed -i 's|theme_list(g_.*|&\n\tread_theme_list(g_strconcat(g_get_user_data_dir(), "/themes", NULL));|' main.c
+
make
}
package() {
- cd ${srcdir}/${pkgname}-${pkgver}
+ cd "$srcdir"/$pkgname-$pkgver
- install -Dm755 gtk-chtheme ${pkgdir}/usr/bin/gtk-chtheme
+ install -Dm755 $pkgname "$pkgdir"/usr/bin/$pkgname
}
diff --git a/community/hiredis/PKGBUILD b/community/hiredis/PKGBUILD
new file mode 100644
index 000000000..7a6550fd3
--- /dev/null
+++ b/community/hiredis/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 115821 2014-07-17 09:57:15Z mtorromeo $
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
+# Contributor: Vladimir Tsanev <tsachev@gmail.com>
+
+pkgname=hiredis
+pkgver=0.11.0
+pkgrel=4
+pkgdesc='Minimalistic C client library for Redis'
+arch=('x86_64' 'i686')
+url="https://github.com/redis/hiredis/"
+license=('BSD')
+depends=('glibc')
+checkdepends=('redis')
+source=(hiredis-$pkgver.tar.gz::https://github.com/redis/$pkgname/archive/v$pkgver.tar.gz)
+sha256sums=('ff7b2849e55bf3589eecced7125934feb9645c36a4d490d001dc08c93553eafd')
+
+build() {
+ cd "$srcdir"/$pkgname-$pkgver
+ make
+}
+
+check() {
+ cd "$srcdir"/$pkgname-$pkgver
+ sed -r 's|echo \\|echo -e \\|' -i Makefile
+ make check
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
+ make PREFIX="$pkgdir"/usr install
+
+ install -Dm 644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+}
diff --git a/community/openmw/PKGBUILD b/community/openmw/PKGBUILD
index 80a703fbb..022745df0 100644
--- a/community/openmw/PKGBUILD
+++ b/community/openmw/PKGBUILD
@@ -2,7 +2,7 @@
# Contributor: Sandy Carter <bwrsandman@gmail.com>
pkgname=openmw
-pkgver=0.30.0
+pkgver=0.31.0
pkgrel=1
pkgdesc="An open-source engine reimplementation for the role-playing game Morrowind"
arch=('i686' 'x86_64')
@@ -11,7 +11,7 @@ license=('GPL3' 'MIT' 'custom')
depends=('openal' 'ogre' 'mygui' 'bullet' 'qt4' 'ffmpeg' 'sdl2' 'unshield')
makedepends=('cmake' 'boost')
source=("https://github.com/OpenMW/openmw/archive/openmw-${pkgver}.tar.gz")
-sha1sums=('1331ad33ae1ba2b83e0eb6a525df804ceee351cf')
+sha1sums=('c3551a52d6d4a8499286856cbc96f38dc91eec0c')
build() {
cd "${srcdir}/${pkgname}-${pkgname}-${pkgver}"
diff --git a/community/subtle/PKGBUILD b/community/subtle/PKGBUILD
index 73bc390bc..61c4a7a4a 100644
--- a/community/subtle/PKGBUILD
+++ b/community/subtle/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 106073 2014-02-21 23:10:38Z anatolik $
+# $Id: PKGBUILD 115797 2014-07-16 23:28:39Z anatolik $
# Maintainer: Anatol Pomozov <anatol.pomozov@gmail.com>
# Contributor: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Angel Velasquez <angvp@archlinux.org>
@@ -12,7 +12,7 @@ pkgname=subtle
_hg_revision=3243
_hg_hash=43d1d0478c46
pkgver=0.11.r$_hg_revision
-pkgrel=1
+pkgrel=2
pkgdesc='Grid-based manual tiling window manager'
arch=(x86_64 i686)
url='http://subtle.subforge.org/'
@@ -48,4 +48,6 @@ package() {
# regenerate config with proper $pkgdir, revision and cppflags are not needed at this step
rake config destdir="$pkgdir"
rake install
+
+ install -D -m644 data/subtle.desktop "$pkgdir"/usr/share/applications/subtle.desktop
}