diff options
Diffstat (limited to 'community')
47 files changed, 634 insertions, 170 deletions
diff --git a/community/allegro/PKGBUILD b/community/allegro/PKGBUILD index 22ee9154e..125d0d192 100644 --- a/community/allegro/PKGBUILD +++ b/community/allegro/PKGBUILD @@ -1,20 +1,20 @@ -# $Id: PKGBUILD 73179 2012-07-03 10:15:07Z arodseth $ +# $Id: PKGBUILD 80364 2012-11-20 22:04:44Z arodseth $ # Maintainer: Alexander Rødseth <rodseth@gmail.com> # Contributor: Ionut Biru <ibiru@archlinux.org> # Contributor: Tom Newsom <Jeepster@gmx.co.uk> # Contributor: arjan <arjan@archlinux.org> pkgname=allegro -pkgver=5.0.7 +pkgver=5.0.8 pkgrel=1 -pkgdesc="Portable library mainly aimed at video game and multimedia programming" +pkgdesc='Portable library mainly aimed at video game and multimedia programming' arch=('x86_64' 'i686' 'mips64el') -url="http://alleg.sourceforge.net/" +url='http://alleg.sourceforge.net/' license=('custom') depends=('jack' 'libxpm' 'libxxf86dga' 'libgl' 'physfs' 'gtk2' 'libpulse') -makedepends=('cmake' 'mesa') +makedepends=('cmake' 'mesa' 'glu') source=("http://downloads.sourceforge.net/alleg/$pkgname-$pkgver.tar.gz") -sha256sums=('47f29e564d9a4babfbbf024f34fc8a04eea932a073af921d17caffbec0c3ad9b') +sha256sums=('272e77d0ca0cef7586d7207887f87bf271e1d0db5f8f208dc7dd9a5e3bb6140b') build() { cd "$srcdir" diff --git a/community/choqok/PKGBUILD b/community/choqok/PKGBUILD index b79664f00..e17ab7cda 100644 --- a/community/choqok/PKGBUILD +++ b/community/choqok/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 72717 2012-06-21 07:02:11Z andrea $ +# $Id: PKGBUILD 80455 2012-11-21 23:46:56Z andrea $ # Maintainer: Peter Richard Lewis <plewis@aur.archlinux.org> # Contributor: Andrea Scarpino <andrea@archlinux.org> # Contributor: Emanuele Rossi <newdna1510@yahoo.it> @@ -6,7 +6,7 @@ pkgname=choqok pkgver=1.3 -pkgrel=2 +pkgrel=3 pkgdesc="A Twitter/identi.ca/laconica client for KDE" url='http://choqok.gnufolks.org/' license=('GPL') @@ -31,4 +31,7 @@ build() { package() { cd "${srcdir}"/build make DESTDIR="${pkgdir}" install + + # This is already installed by kdepimlibs >= 4.9.80 + rm "${pkgdir}"/usr/share/apps/cmake/modules/FindQtOAuth.cmake } diff --git a/community/darkstat/PKGBUILD b/community/darkstat/PKGBUILD index 8e36ff442..93e4f2578 100644 --- a/community/darkstat/PKGBUILD +++ b/community/darkstat/PKGBUILD @@ -19,6 +19,7 @@ md5sums=('5b7abc7538dcd8e30667dac150e81d77' '1021f95fabe16cfab4c95f6264d535e5' 'e2d9efc856201146e2abae145b4c5a1f' 'aa9a9effd1e8f08860afcd6439fc94c5') +options=(!makeflags !distcc) build() { cd $srcdir/darkstat-$pkgver diff --git a/community/erlang-cl/PKGBUILD b/community/erlang-cl/PKGBUILD index b1d4c62c1..ec9bcc128 100644 --- a/community/erlang-cl/PKGBUILD +++ b/community/erlang-cl/PKGBUILD @@ -4,7 +4,7 @@ pkgname=erlang-cl pkgver=1.0 -pkgrel=1 +pkgrel=2 arch=('x86_64' 'i686') pkgdesc='OpenCL binding for Erlang' url="http://github.com/tonyrog/cl" diff --git a/community/erlang-sdl/PKGBUILD b/community/erlang-sdl/PKGBUILD index 6b914718e..7a1fbd882 100644 --- a/community/erlang-sdl/PKGBUILD +++ b/community/erlang-sdl/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 79997 2012-11-15 11:48:24Z arodseth $ +# $Id: PKGBUILD 80318 2012-11-19 22:01:23Z arodseth $ # Maintainer: Alexander Rødseth <rodseth@gmail.com> # Contributor: kappa <kappacurve@gmail.com> pkgname=erlang-sdl pkgver=1.2 -pkgrel=1 +pkgrel=2 arch=('x86_64' 'i686') pkgdesc='SDL and OpenGL bindings for Erlang (r15b-driver-compat branch)' url='http://esdl.sourceforge.net/' diff --git a/community/erlang/PKGBUILD b/community/erlang/PKGBUILD index d365fe5ce..91b4a5752 100644 --- a/community/erlang/PKGBUILD +++ b/community/erlang/PKGBUILD @@ -1,5 +1,6 @@ -# $Id: PKGBUILD 79610 2012-11-08 22:16:13Z lfleischer $ +# $Id: PKGBUILD 80308 2012-11-19 19:18:44Z arodseth $ # Maintainer: Lukas Fleischer <archlinux@cryptocrack.de> +# Maintainer: Alexander Rødseth <rodseth@gmail.com> # Contributor: Vesa Kaihlavirta <vesa@archlinux.org> # Contributor: Sarah Hay <sarahhay@mb.sympatico.ca> # Contributor: Tom Burdick <thomas.burdick@wrightwoodtech.com> @@ -7,29 +8,28 @@ pkgname=erlang pkgver=R15B02 -pkgrel=1 -pkgdesc='A general-purpose concurrent functional programming language developed by Ericsson' +pkgrel=2 +pkgdesc='General-purpose concurrent functional programming language developed by Ericsson' arch=(i686 x86_64 mips64el) url='http://www.erlang.org' license=('custom') -depends=('ncurses' 'glibc') -makedepends=('perl' 'openssl' 'wxgtk' 'unixodbc' 'mesa') -optdepends=('wxgtk: for wx support' - 'mesa: for wx support' - 'unixodbc: for database support') +depends=('ncurses' 'glu' 'wxgtk') +makedepends=('perl' 'openssl' 'mesa') +optdepends=('unixodbc: for database support') if [ "$CARCH" != "mips64el" ]; then - makedepends+=('java-environment') optdepends+=('java-environment: for Java support') fi source=("http://www.erlang.org/download/otp_src_$pkgver.tar.gz" "http://www.erlang.org/download/otp_doc_man_$pkgver.tar.gz") -md5sums=('ccbe5e032a2afe2390de8913bfe737a1' - '974020ba533242fca759a7f5eaf628e5') +sha256sums=('03eb0bd640916666ff83df1330912225fbf555e0c8cf58bb35d8307a314f1158' + 'e27ed26259a2560b81e02b89190ae2a3bf0a777dc2e875f9615adab0a5388f95') build() { cd "$srcdir/otp_src_$pkgver" + msg2 'Configuring...' ./configure --prefix=/usr --enable-smp-support + msg2 'Compiling...' make } @@ -40,16 +40,17 @@ package() { # Install documentation install -d "$pkgdir/usr/share/doc/erlang" - install -m0644 "$srcdir/otp_src_$pkgver"/README.md "$srcdir"/{README,COPYRIGHT} \ + install -m0644 "$srcdir/otp_src_$pkgver/README.md" \ + "$srcdir"/{README,COPYRIGHT} \ "$pkgdir/usr/share/doc/erlang" # Install compressed man pages - for page in "$srcdir/man/man?/*"; do - gzip $page - done + for page in "$srcdir/man/man?/*"; do gzip $page; done cp -r "$srcdir/man" "$pkgdir/usr/lib/erlang" # Install license install -Dm0644 "$srcdir/otp_src_$pkgver/EPLICENCE" \ "$pkgdir/usr/share/licenses/$pkgname/EPLICENCE" } + +# vim:set ts=2 sw=2 et: diff --git a/community/espeakup/PKGBUILD b/community/espeakup/PKGBUILD index 0947ef7bd..4abea734b 100644 --- a/community/espeakup/PKGBUILD +++ b/community/espeakup/PKGBUILD @@ -1,15 +1,17 @@ -# $Id: PKGBUILD 78791 2012-10-24 23:06:54Z tomegun $ +# $Id: PKGBUILD 80362 2012-11-20 18:55:18Z tomegun $ # Contributor: Chris Brannon <chris@the-brannons.com> # Contributor: Kyle <kyle@gmx.ca> pkgname=espeakup pkgver=0.71 -pkgrel=5 +pkgrel=7 pkgdesc='Allows the Speakup screen review system to use the ESpeak synthesizer.' arch=('i686' 'x86_64' 'mips64el') url="http://github.com/williamh/espeakup" license=('GPL3') -source=("ftp://linux-speakup.org/pub/linux/goodies/${pkgname}-${pkgver}.tar.bz2" - espeakup espeakup.conf.d espeakup.service) +#source=("ftp://linux-speakup.org/pub/linux/goodies/${pkgname}-${pkgver}.tar.bz2" +# temporary location +source=("http://the-brannons.com/espeakup-0.71.tar.bz2" + espeakup espeakup.conf.d espeakup.service espeakup.modules-load.d) depends=(speakup-utils espeak) backup=(etc/conf.d/espeakup) @@ -24,8 +26,10 @@ package() { install -m755 -D "${srcdir}/espeakup" "${pkgdir}/etc/rc.d/espeakup" install -m644 -D "${srcdir}/espeakup.conf.d" "${pkgdir}/etc/conf.d/espeakup" install -m644 -D "${srcdir}/espeakup.service" "${pkgdir}/usr/lib/systemd/system/espeakup.service" + install -m644 -D "${srcdir}/espeakup.modules-load.d" "${pkgdir}/usr/lib/modules-load.d/espeakup.conf" } md5sums=('03daa70b3db3f4f6fbb42c2ee428eda7' '7cf0abd493710ed924b7bb7c8d279fb3' '0f93974845b15efa12f5e7a74cc0eecd' - '0c11c50b128234cda8e1357e88cf7c43') + '2c80525983a700d3763d4c90c3ab79a8' + '75eb512d510d6701b6f63390475dd34f') diff --git a/community/espeakup/espeakup.modules-load.d b/community/espeakup/espeakup.modules-load.d new file mode 100644 index 000000000..38d53913d --- /dev/null +++ b/community/espeakup/espeakup.modules-load.d @@ -0,0 +1 @@ +speakup_soft diff --git a/community/espeakup/espeakup.service b/community/espeakup/espeakup.service index 58d7d47fa..88559d0fe 100644 --- a/community/espeakup/espeakup.service +++ b/community/espeakup/espeakup.service @@ -1,5 +1,8 @@ [Unit] Description=Software speech output for Speakup +# espeakup needs to start after the audio devices appear, hopefully this should go away in the future +Wants=systemd-udev-settle.service +After=systemd-udev-settle.service sound.target [Service] Type=forking @@ -9,4 +12,4 @@ ExecReload=/bin/kill -HUP $MAINPID Restart=always [Install] -WantedBy=multi-user.target +WantedBy=sound.target diff --git a/community/fcron/systab.orig b/community/fcron/systab.orig deleted file mode 100644 index 5b0045626..000000000 --- a/community/fcron/systab.orig +++ /dev/null @@ -1,4 +0,0 @@ -&bootrun 01 * * * * /usr/sbin/run-cron /etc/cron.hourly -&bootrun 02 00 * * * /usr/sbin/run-cron /etc/cron.daily -&bootrun 22 00 * * 0 /usr/sbin/run-cron /etc/cron.weekly -&bootrun 42 00 1 * * /usr/sbin/run-cron /etc/cron.monthly diff --git a/community/gambas3/PKGBUILD b/community/gambas3/PKGBUILD index 7cfc59b70..619d80c04 100644 --- a/community/gambas3/PKGBUILD +++ b/community/gambas3/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 80268 2012-11-18 23:01:13Z lcarlier $ +# $Id: PKGBUILD 80351 2012-11-20 13:26:38Z lcarlier $ # Maintainer: Laurent Carlier <lordheavym@gmail.com> # Contributor : sebikul <sebikul@gmail.com> @@ -15,7 +15,7 @@ pkgname=('gambas3-runtime' 'gambas3-devel' 'gambas3-ide' 'gambas3-script' 'gamba 'gambas3-gb-signal' 'gambas3-gb-v4l' 'gambas3-gb-vb' 'gambas3-gb-xml' 'gambas3-gb-xml-html' 'gambas3-gb-xml-rpc' 'gambas3-gb-xml-xslt' 'gambas3-gb-web') pkgver=3.3.4 -pkgrel=1 +pkgrel=1.1 pkgdesc="A free development environment based on a Basic interpreter." arch=('i686' 'x86_64' 'mips64el') url="http://gambas.sourceforge.net/" @@ -31,7 +31,7 @@ makedepends=('intltool' 'mysql' 'postgresql' 'libffi' 'bzip2' 'glib2' 'v4l-utils options=('!emptydirs') source=("http://downloads.sourceforge.net/gambas/${pkgbase}-${pkgver}.tar.bz2" 'gambas3-script.install' 'gambas3-runtime.install') -md5sums=('105bb5010533052acee97395ec1c64fe' +md5sums=('ec3971de80901737dcc614059f441848' 'b284be39d147ec799f1116a6abc068b4' '6d9e080b66443e7246387b1716d24e31') diff --git a/community/gnome-settings-daemon-updates/0001-power-and-media-keys-Use-logind-for-suspending-and-r.patch b/community/gnome-settings-daemon-updates/0001-power-and-media-keys-Use-logind-for-suspending-and-r.patch index 293a419df..03b662c86 100644 --- a/community/gnome-settings-daemon-updates/0001-power-and-media-keys-Use-logind-for-suspending-and-r.patch +++ b/community/gnome-settings-daemon-updates/0001-power-and-media-keys-Use-logind-for-suspending-and-r.patch @@ -1,4 +1,4 @@ -From 79ead5309fe21e77cfe58adc6a9340953c2d52f4 Mon Sep 17 00:00:00 2001 +From f418ff2cd04b233dbffc1129e856630d8c96cd07 Mon Sep 17 00:00:00 2001 From: Richard Hughes <richard@hughsie.com> Date: Fri, 21 Sep 2012 11:56:53 +0100 Subject: [PATCH] power and media-keys: Use logind for suspending and @@ -13,13 +13,16 @@ blanking the screen using the screensaver and also poking the screensaver on resume. https://bugzilla.gnome.org/show_bug.cgi?id=680689 + +Conflicts: + plugins/power/gsd-power-manager.c --- plugins/common/Makefile.am | 4 +- plugins/common/gsd-power-helper.c | 203 -------- plugins/common/gsd-power-helper.h | 35 -- plugins/media-keys/gsd-media-keys-manager.c | 156 +++++-- - plugins/power/gsd-power-manager.c | 699 +++++++++++++++++++--------- - 5 files changed, 595 insertions(+), 502 deletions(-) + plugins/power/gsd-power-manager.c | 697 +++++++++++++++++++--------- + 5 files changed, 594 insertions(+), 501 deletions(-) delete mode 100644 plugins/common/gsd-power-helper.c delete mode 100644 plugins/common/gsd-power-helper.h @@ -545,7 +548,7 @@ index 9c84d7f..a2f277e 100644 GsdMediaKeysManager * diff --git a/plugins/power/gsd-power-manager.c b/plugins/power/gsd-power-manager.c -index 070cf32..18fcedf 100644 +index 1c594d8..bb7224c 100644 --- a/plugins/power/gsd-power-manager.c +++ b/plugins/power/gsd-power-manager.c @@ -1,7 +1,7 @@ @@ -584,7 +587,7 @@ index 070cf32..18fcedf 100644 /* Keep this in sync with gnome-shell */ #define SCREENSAVER_FADE_TIME 10 /* seconds */ -@@ -193,14 +197,20 @@ struct GsdPowerManagerPrivate +@@ -193,15 +197,21 @@ struct GsdPowerManagerPrivate ca_context *canberra_context; ca_proplist *critical_alert_loop_props; guint32 critical_alert_timeout_id; @@ -596,6 +599,7 @@ index 070cf32..18fcedf 100644 - guint lid_close_safety_timer_id; GtkStatusIcon *status_icon; guint xscreensaver_watchdog_timer_id; + gboolean is_virtual_machine; + + /* systemd stuff */ + GDBusProxy *logind_proxy; @@ -607,7 +611,7 @@ index 070cf32..18fcedf 100644 }; enum { -@@ -217,8 +227,8 @@ static GIcon *engine_get_icon (GsdPowerManager *manager); +@@ -218,8 +228,8 @@ static GIcon *engine_get_icon (GsdPowerManager *manager); static gchar *engine_get_summary (GsdPowerManager *manager); static void do_power_action_type (GsdPowerManager *manager, GsdPowerActionType action_type); static void do_lid_closed_action (GsdPowerManager *manager); @@ -618,7 +622,7 @@ index 070cf32..18fcedf 100644 G_DEFINE_TYPE (GsdPowerManager, gsd_power_manager, G_TYPE_OBJECT) -@@ -2048,6 +2058,57 @@ gnome_session_shutdown (void) +@@ -2049,6 +2059,57 @@ gnome_session_shutdown (void) } static void @@ -676,7 +680,7 @@ index 070cf32..18fcedf 100644 do_power_action_type (GsdPowerManager *manager, GsdPowerActionType action_type) { -@@ -2056,19 +2117,19 @@ do_power_action_type (GsdPowerManager *manager, +@@ -2057,19 +2118,19 @@ do_power_action_type (GsdPowerManager *manager, switch (action_type) { case GSD_POWER_ACTION_SUSPEND: @@ -699,7 +703,7 @@ index 070cf32..18fcedf 100644 break; case GSD_POWER_ACTION_BLANK: ret = gnome_rr_screen_set_dpms_mode (manager->priv->x11_screen, -@@ -2140,85 +2201,20 @@ upower_kbd_toggle (GsdPowerManager *manager, +@@ -2141,85 +2202,20 @@ upower_kbd_toggle (GsdPowerManager *manager, return ret; } @@ -795,7 +799,7 @@ index 070cf32..18fcedf 100644 } /* Sets up a timer to be triggered some seconds after closing the laptop lid -@@ -2226,82 +2222,73 @@ lid_close_safety_timer_cb (GsdPowerManager *manager) +@@ -2227,82 +2223,73 @@ lid_close_safety_timer_cb (GsdPowerManager *manager) * again in the timeout handler to see if we can suspend then. */ static void @@ -880,8 +884,7 @@ index 070cf32..18fcedf 100644 - g_warning ("failed to turn the panel off after lid close: %s", + g_warning ("failed to turn the panel on after lid open: %s", error->message); -- g_error_free (error); -+ g_clear_error (&error); + g_clear_error (&error); } - /* only toggle keyboard if present and not already toggled */ @@ -911,7 +914,7 @@ index 070cf32..18fcedf 100644 /* play a sound, using sounds from the naming spec */ ca_context_play (manager->priv->canberra_context, 0, CA_PROP_EVENT_ID, "lid-close", -@@ -2309,21 +2296,22 @@ do_lid_closed_action (GsdPowerManager *manager) +@@ -2310,21 +2297,22 @@ do_lid_closed_action (GsdPowerManager *manager) CA_PROP_EVENT_DESCRIPTION, _("Lid has been closed"), NULL); @@ -944,7 +947,7 @@ index 070cf32..18fcedf 100644 static void up_client_changed_cb (UpClient *client, GsdPowerManager *manager) { -@@ -2343,6 +2331,7 @@ up_client_changed_cb (UpClient *client, GsdPowerManager *manager) +@@ -2344,6 +2332,7 @@ up_client_changed_cb (UpClient *client, GsdPowerManager *manager) if (manager->priv->lid_is_closed == tmp) return; manager->priv->lid_is_closed = tmp; @@ -952,7 +955,7 @@ index 070cf32..18fcedf 100644 /* fake a keypress */ if (tmp) -@@ -3294,30 +3283,6 @@ gsd_power_manager_class_init (GsdPowerManagerClass *klass) +@@ -3302,30 +3291,6 @@ gsd_power_manager_class_init (GsdPowerManagerClass *klass) } static void @@ -983,7 +986,7 @@ index 070cf32..18fcedf 100644 idle_dbus_signal_cb (GDBusProxy *proxy, const gchar *sender_name, const gchar *signal_name, -@@ -3469,75 +3434,38 @@ out: +@@ -3477,75 +3442,38 @@ out: } static void @@ -1017,7 +1020,7 @@ index 070cf32..18fcedf 100644 - NULL, - sleep_cb_screensaver_proxy_ready_cb, - manager); - } +- } -} - -static void @@ -1044,13 +1047,13 @@ index 070cf32..18fcedf 100644 - NULL, - G_DBUS_CALL_FLAGS_NONE, - -1, NULL, NULL, NULL); -- } -- + } + - /* close existing notifications on resume, the system power - * state is probably different now */ - notify_close_if_showing (manager->priv->notification_low); - notify_close_if_showing (manager->priv->notification_discharging); - +- - /* ensure we turn the panel back on after resume */ - ret = gnome_rr_screen_set_dpms_mode (manager->priv->x11_screen, - GNOME_RR_DPMS_ON, @@ -1083,8 +1086,8 @@ index 070cf32..18fcedf 100644 } static void -@@ -3696,6 +3624,287 @@ disable_builtin_screensaver (gpointer unused) - return TRUE; +@@ -3755,6 +3683,287 @@ out: + return ret; } +static void @@ -1224,7 +1227,7 @@ index 070cf32..18fcedf 100644 + g_debug ("Removing suspend delay inhibitor"); + close (manager->priv->inhibit_suspend_fd); + manager->priv->inhibit_suspend_fd = -1; -+ manager->priv->inhibit_suspend_taken = TRUE; ++ manager->priv->inhibit_suspend_taken = FALSE; +} + +static gboolean @@ -1371,7 +1374,7 @@ index 070cf32..18fcedf 100644 gboolean gsd_power_manager_start (GsdPowerManager *manager, GError **error) -@@ -3705,6 +3914,25 @@ gsd_power_manager_start (GsdPowerManager *manager, +@@ -3764,6 +3973,25 @@ gsd_power_manager_start (GsdPowerManager *manager, g_debug ("Starting power manager"); gnome_settings_profile_start (NULL); @@ -1397,7 +1400,7 @@ index 070cf32..18fcedf 100644 /* track the active session */ manager->priv->session = gnome_settings_session_new (); g_signal_connect (manager->priv->session, "notify::state", -@@ -3719,10 +3947,6 @@ gsd_power_manager_start (GsdPowerManager *manager, +@@ -3778,10 +4006,6 @@ gsd_power_manager_start (GsdPowerManager *manager, G_CALLBACK (engine_settings_key_changed_cb), manager); manager->priv->settings_screensaver = g_settings_new ("org.gnome.desktop.screensaver"); manager->priv->up_client = up_client_new (); @@ -1408,7 +1411,7 @@ index 070cf32..18fcedf 100644 manager->priv->lid_is_closed = up_client_get_lid_is_closed (manager->priv->up_client); g_signal_connect (manager->priv->up_client, "device-added", G_CALLBACK (engine_device_added_cb), manager); -@@ -3836,6 +4060,9 @@ gsd_power_manager_start (GsdPowerManager *manager, +@@ -3895,6 +4119,9 @@ gsd_power_manager_start (GsdPowerManager *manager, manager->priv->x11_screen = gnome_rr_screen_new (gdk_screen_get_default (), error); if (manager->priv->x11_screen == NULL) return FALSE; @@ -1418,7 +1421,7 @@ index 070cf32..18fcedf 100644 /* ensure the default dpms timeouts are cleared */ ret = gnome_rr_screen_set_dpms_mode (manager->priv->x11_screen, -@@ -3865,6 +4092,11 @@ gsd_power_manager_stop (GsdPowerManager *manager) +@@ -3927,6 +4154,11 @@ gsd_power_manager_stop (GsdPowerManager *manager) { g_debug ("Stopping power manager"); @@ -1430,7 +1433,7 @@ index 070cf32..18fcedf 100644 if (manager->priv->bus_cancellable != NULL) { g_cancellable_cancel (manager->priv->bus_cancellable); g_object_unref (manager->priv->bus_cancellable); -@@ -3876,8 +4108,6 @@ gsd_power_manager_stop (GsdPowerManager *manager) +@@ -3938,8 +4170,6 @@ gsd_power_manager_stop (GsdPowerManager *manager) manager->priv->introspection_data = NULL; } @@ -1439,7 +1442,7 @@ index 070cf32..18fcedf 100644 g_signal_handlers_disconnect_by_data (manager->priv->up_client, manager); g_clear_object (&manager->priv->connection); -@@ -3885,6 +4115,19 @@ gsd_power_manager_stop (GsdPowerManager *manager) +@@ -3947,6 +4177,19 @@ gsd_power_manager_stop (GsdPowerManager *manager) g_clear_object (&manager->priv->settings); g_clear_object (&manager->priv->settings_screensaver); g_clear_object (&manager->priv->up_client); @@ -1459,7 +1462,7 @@ index 070cf32..18fcedf 100644 g_clear_object (&manager->priv->x11_screen); g_ptr_array_unref (manager->priv->devices_array); -@@ -3918,6 +4161,8 @@ static void +@@ -3980,6 +4223,8 @@ static void gsd_power_manager_init (GsdPowerManager *manager) { manager->priv = GSD_POWER_MANAGER_GET_PRIVATE (manager); @@ -1469,5 +1472,5 @@ index 070cf32..18fcedf 100644 static void -- -1.7.12.2 +1.8.0 diff --git a/community/gnome-settings-daemon-updates/PKGBUILD b/community/gnome-settings-daemon-updates/PKGBUILD index ae22b9046..c12723aac 100644 --- a/community/gnome-settings-daemon-updates/PKGBUILD +++ b/community/gnome-settings-daemon-updates/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 79121 2012-10-30 23:06:37Z heftig $ +# $Id: PKGBUILD 80371 2012-11-21 04:26:48Z jconder $ # Maintainer: Jonathan Conder <jonno.conder@gmail.com> _pkgname=gnome-settings-daemon pkgname=$_pkgname-updates -pkgver=3.6.1 +pkgver=3.6.3 pkgrel=1 pkgdesc="Updates plugin for the GNOME Settings daemon" arch=('i686' 'x86_64' 'mips64el') @@ -14,18 +14,15 @@ options=('!emptydirs' '!libtool') install=$_pkgname.install url="http://www.gnome.org" source=("http://ftp.gnome.org/pub/gnome/sources/$_pkgname/${pkgver%.*}/$_pkgname-$pkgver.tar.xz" - 'screensaver.patch' '0001-power-and-media-keys-Use-logind-for-suspending-and-r.patch' 'arch.patch') -sha256sums=('1fe96e0709d7c618d90cc1bfcddc46eede3c2cdb305f5e7f4cb388d43dd5526a' - 'd2c32fa0262e4d0e97fc07fb631ad2627b4f2ae273e2cb3028236d9725711880' - 'f23db348593f58da755889928d7fa75817479d9ad5be67cc7a2f8cbc5db23632' +sha256sums=('606aaaba9cc7f51035702aead46c8bb595917a09cb947b396a579ea443328cdc' + 'c4aab9b45346fbae18808358346208f989cce8bf9c9eb753e2af7eca73715109' '32f18a02698bb24aa8ae293eb7bf74a8261e3ce2c5149d259a87bd14500089ea') build() { cd "$srcdir/$_pkgname-$pkgver" - patch -Np1 -i "$srcdir/screensaver.patch" patch -Np1 -i "$srcdir/0001-power-and-media-keys-Use-logind-for-suspending-and-r.patch" patch -Np1 -i "$srcdir/arch.patch" @@ -36,7 +33,8 @@ build() { --localstatedir=/var \ --libexecdir=/usr/lib/gnome-settings-daemon \ --disable-static \ - --enable-systemd + --enable-systemd \ + --disable-ibus #https://bugzilla.gnome.org/show_bug.cgi?id=656231 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool diff --git a/community/gnunet/PKGBUILD b/community/gnunet/PKGBUILD index 7b41b0fed..bb716752f 100644 --- a/community/gnunet/PKGBUILD +++ b/community/gnunet/PKGBUILD @@ -42,3 +42,9 @@ package() { rm -rf $pkgdir/usr/include/libltdl $pkgdir/usr/lib/libltdl.* $pkgdir/usr/include/ltdl.h install -Dm0644 $srcdir/$pkgname.service $pkgdir/usr/lib/systemd/system/$pkgname.service } +md5sums=('ad4fa34cea8a9e905f1353b68db179ea' + '3db767d31239430cc22afb81596a4d5d' + '5baf691913b007fb33e365239e3f7217' + '54cce3d2415d95b2e5bd1bd88db3a0ea' + 'f161b46915736e4017e77ad735521453' + '0fe23b2ca5b3fc47a0b5645e04406da0') diff --git a/community/haskell-bytestring-show/PKGBUILD b/community/haskell-bytestring-show/PKGBUILD index 3f0ee6008..4b6ebcf75 100644 --- a/community/haskell-bytestring-show/PKGBUILD +++ b/community/haskell-bytestring-show/PKGBUILD @@ -1,17 +1,17 @@ -# $Id: PKGBUILD 77340 2012-10-09 04:16:59Z tdziedzic $ +# $Id: PKGBUILD 80279 2012-11-19 12:14:53Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> pkgname=haskell-bytestring-show -pkgver=0.3.5.3 +pkgver=0.3.5.4 pkgrel=1 pkgdesc="Efficient conversion of values into readable byte strings." url="http://hackage.haskell.org/package/bytestring-show" license=("BSD3") arch=('i686' 'x86_64') -depends=("ghc=7.6.1-1") +depends=("ghc") install="${pkgname}.install" source=("http://hackage.haskell.org/packages/archive/bytestring-show/${pkgver}/bytestring-show-${pkgver}.tar.gz") -md5sums=('cbcc94f57fc754685f428aba003ba058') +md5sums=('2a4ab243c4b6fffed1fc663975a9ec6d') build() { cd ${srcdir}/bytestring-show-${pkgver} @@ -30,6 +30,8 @@ build() { } package() { + depends=("ghc=`pacman -Q ghc | cut -f2 -d\ |cut -f1 -d-`") + cd ${srcdir}/bytestring-show-${pkgver} install -D -m744 register.sh ${pkgdir}/usr/share/haskell/${pkgname}/register.sh install -m744 unregister.sh ${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh diff --git a/community/haskell-cairo/PKGBUILD b/community/haskell-cairo/PKGBUILD index f5053689a..551ac4980 100644 --- a/community/haskell-cairo/PKGBUILD +++ b/community/haskell-cairo/PKGBUILD @@ -1,14 +1,14 @@ -# $Id: PKGBUILD 77341 2012-10-09 04:17:04Z tdziedzic $ +# $Id: PKGBUILD 80281 2012-11-19 12:15:24Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> pkgname=haskell-cairo -pkgver=0.12.3.1 -pkgrel=2 +pkgver=0.12.4 +pkgrel=1 pkgdesc="Binding to the cairo library for Gtk2Hs." url="http://hackage.haskell.org/package/cairo" license=('LGPL2.1') arch=('i686' 'x86_64') -depends=('ghc=7.6.1-1' 'cairo' 'haskell-mtl=2.1.2-1') +depends=('ghc' 'cairo' 'haskell-mtl') makedepends=("gtk2hs-buildtools") options=('strip') conflicts=('gtk2hs-cairo') @@ -16,7 +16,7 @@ provides=('gtk2hs-cairo') replaces=('gtk2hs-cairo') install=gtk2hs-cairo.install source=(http://hackage.haskell.org/packages/archive/cairo/$pkgver/cairo-$pkgver.tar.gz) -md5sums=('9d489fbb6cadb3d109543fe25c50195e') +md5sums=('b9d7e8de6ba4db680c222958622d6ee6') build() { cd ${srcdir}/cairo-$pkgver @@ -31,6 +31,8 @@ build() { } package() { + depends=("ghc=`pacman -Q ghc | cut -f2 -d\ |cut -f1 -d-`" 'cairo' "haskell-mtl=`pacman -Q haskell-mtl | cut -f2 -d\ |cut -f1 -d-`") + cd ${srcdir}/cairo-${pkgver} install -D -m744 register.sh ${pkgdir}/usr/share/haskell/gtk2hs-cairo/register.sh install -m744 unregister.sh ${pkgdir}/usr/share/haskell/gtk2hs-cairo/unregister.sh diff --git a/community/haskell-glib/PKGBUILD b/community/haskell-glib/PKGBUILD index 2ea2ff587..517fd8644 100644 --- a/community/haskell-glib/PKGBUILD +++ b/community/haskell-glib/PKGBUILD @@ -1,14 +1,14 @@ -# $Id: PKGBUILD 77344 2012-10-09 04:17:23Z tdziedzic $ +# $Id: PKGBUILD 80282 2012-11-19 12:15:50Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> pkgname=haskell-glib -pkgver=0.12.3.1 -pkgrel=2 +pkgver=0.12.4 +pkgrel=1 pkgdesc="Binding to the GLIB library for Gtk2Hs." url="http://hackage.haskell.org/package/glib" license=('LGPL2.1') arch=('i686' 'x86_64') -depends=('ghc=7.6.1-1' 'glib2') +depends=('ghc' 'glib2') makedepends=("gtk2hs-buildtools") options=('strip') install=gtk2hs-glib.install @@ -17,13 +17,13 @@ replaces=('gtk2hs-glib') conflicts=('gtk2hs-glib') source=(http://hackage.haskell.org/packages/archive/glib/$pkgver/glib-$pkgver.tar.gz '0001-compatibility-with-ghc-7.6.1.patch') -md5sums=('f2899bd2a2850fe95479ddb63490eb04' +md5sums=('3172907258183466f1e604a435285c51' 'b00660b7102542942b0b9d84b59d1f3c') build() { cd glib-$pkgver - patch -Np1 -i ${srcdir}/0001-compatibility-with-ghc-7.6.1.patch +# patch -Np1 -i ${srcdir}/0001-compatibility-with-ghc-7.6.1.patch runhaskell Setup configure -O -p --enable-split-objs --enable-shared \ --prefix=/usr --docdir=/usr/share/doc/haskell-glib \ diff --git a/community/haskell-gtk/PKGBUILD b/community/haskell-gtk/PKGBUILD index 89e49dc07..9825c9508 100644 --- a/community/haskell-gtk/PKGBUILD +++ b/community/haskell-gtk/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 77345 2012-10-09 04:17:32Z tdziedzic $ +# $Id: PKGBUILD 80288 2012-11-19 12:54:52Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> pkgname=haskell-gtk -pkgver=0.12.3.1 -pkgrel=2 +pkgver=0.12.4 +pkgrel=1 pkgdesc="Binding to the gtk library for Gtk2Hs." url="http://hackage.haskell.org/package/gtk" license=('LGPL2.1') @@ -17,12 +17,12 @@ options=('strip') install=gtk2hs-gtk.install source=(http://hackage.haskell.org/packages/archive/gtk/$pkgver/gtk-$pkgver.tar.gz ghc-7.6.1.patch) -md5sums=('b10dfe92d2e4dfe3c0c92dd349489727' +md5sums=('165a04134cdc3aec9a9aa149c421b1de' '5fb93f37fe3f494b30ee682a36b8f1b6') build() { cd ${srcdir}/gtk-${pkgver} - patch -p1 <$srcdir/ghc-7.6.1.patch +# patch -p1 <$srcdir/ghc-7.6.1.patch runhaskell Setup configure -O -p --enable-split-objs --enable-shared \ --prefix=/usr --docdir=/usr/share/doc/haskell-gtk \ --libsubdir=\$compiler/site-local/\$pkgid diff --git a/community/haskell-pango/PKGBUILD b/community/haskell-pango/PKGBUILD index 347c3a31d..d839f4995 100644 --- a/community/haskell-pango/PKGBUILD +++ b/community/haskell-pango/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 77349 2012-10-09 04:17:52Z tdziedzic $ +# $Id: PKGBUILD 80284 2012-11-19 12:16:12Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> pkgname=haskell-pango -pkgver=0.12.3 -pkgrel=3 +pkgver=0.12.4 +pkgrel=1 pkgdesc="Binding to the pango library for Gtk2Hs." url="http://hackage.haskell.org/package/pango" license=('LGPL2.1') @@ -16,7 +16,7 @@ conflicts=('gtk2hs-pango') options=('strip') install=gtk2hs-pango.install source=(http://hackage.haskell.org/packages/archive/pango/${pkgver}/pango-${pkgver}.tar.gz) -md5sums=('1ef3132cb569703d5b1bc262c9d86fe3') +md5sums=('e498beb2d10b45ebf08bffc2296e1195') build() { cd ${srcdir}/pango-${pkgver} diff --git a/community/ipset/PKGBUILD b/community/ipset/PKGBUILD index 4270bf249..86e32d66b 100644 --- a/community/ipset/PKGBUILD +++ b/community/ipset/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 76538 2012-09-22 15:01:58Z seblu $ +# $Id: PKGBUILD 80367 2012-11-20 23:42:40Z seblu $ # Maintainer: Sébastien Luttringer <seblu@aur.archlinux.org> pkgname=ipset -pkgver=6.14 +pkgver=6.15 pkgrel=1 pkgdesc='Administration tool for IP sets' arch=('i686' 'x86_64' 'mips64el') @@ -16,7 +16,7 @@ source=("http://ipset.netfilter.org/$pkgname-$pkgver.tar.bz2" "$pkgname.rc" "$pkgname.systemd" "$pkgname.service") -md5sums=('70f2d4c054592236dcda285855a4ee58' +md5sums=('5d957d0d27600882d600da8047f9c587' '3e606a2823a700b4e9c5f17511a6f6a5' 'de89b054d967036e08b13bc6a7235286' 'dfc3105b89ed41fc4a1feb4f4f13f2a3' diff --git a/community/libpinyin/PKGBUILD b/community/libpinyin/PKGBUILD index 106e8fe20..5fa6043b9 100644 --- a/community/libpinyin/PKGBUILD +++ b/community/libpinyin/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 79781 2012-11-12 13:17:19Z fyan $ +# $Id: PKGBUILD 80277 2012-11-19 05:28:17Z fyan $ # Maintainer: Felix Yan <felixonmars@gmail.com> # Contributor: Yangtse <yangtsesu@gmail.com> # Contributor: WU Jun <quark at lihdd dot net> pkgname=libpinyin -pkgver=0.7.92 +pkgver=0.8.0 pkgrel=1 pkgdesc="Library to deal with pinyin." arch=('i686' 'x86_64') @@ -16,9 +16,6 @@ source=("https://github.com/downloads/libpinyin/libpinyin/${pkgname}-lite-${pkgv 'https://github.com/downloads/libpinyin/libpinyin/model.text.tar.gz') noextract=("model.text.tar.gz") -md5sums=('697778a2164f0176add124788b1c85bb' - '59be0e37b0834e41be9786d3b2fcc129') - build() { cd "${srcdir}/${pkgname}-${pkgver}" cp "${srcdir}/model.text.tar.gz" "${srcdir}/${pkgname}-${pkgver}/data/" @@ -32,3 +29,5 @@ package() { cd "${srcdir}/libpinyin-$pkgver" make DESTDIR="${pkgdir}" install } +md5sums=('e53cc51355a79acf187d768befbfcff8' + '59be0e37b0834e41be9786d3b2fcc129') diff --git a/community/libvirt/PKGBUILD b/community/libvirt/PKGBUILD index 7b9bd9ef5..bc8c7b1b5 100644 --- a/community/libvirt/PKGBUILD +++ b/community/libvirt/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 79340 2012-11-03 08:23:48Z spupykin $ +# $Id: PKGBUILD 80336 2012-11-20 10:54:00Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Jonathan Wiersma <archaur at jonw dot org> pkgname=libvirt pkgver=1.0.0 -pkgrel=2 +pkgrel=4 pkgdesc="API for controlling virtualization engines (openvz,kvm,qemu,virtualbox,xen,etc)" arch=('i686' 'x86_64' 'mips64el') url="http://libvirt.org/" @@ -54,7 +54,7 @@ build() { sed -i 's_#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file done - patch -Np1 -i "$srcdir"/openbsd-netcat-default.patch +# patch -Np1 -i "$srcdir"/openbsd-netcat-default.patch export LDFLAGS=-lX11 export RADVD=/usr/sbin/radvd diff --git a/community/linuxtv-dvb-apps/PKGBUILD b/community/linuxtv-dvb-apps/PKGBUILD index 3efdf75d6..268ac07de 100644 --- a/community/linuxtv-dvb-apps/PKGBUILD +++ b/community/linuxtv-dvb-apps/PKGBUILD @@ -1,18 +1,18 @@ -# $Id: PKGBUILD 62806 2012-01-27 05:32:06Z jconder $ +# $Id: PKGBUILD 80369 2012-11-21 04:04:30Z jconder $ # Maintainer: Jonathan Conder <jonno.conder@gmail.com> # Contributor: Jaroslaw Swierczynski <swiergot@aur.archlinux.org> # Contributor: Camille Moncelier <pix@devlife.org> pkgname=linuxtv-dvb-apps -pkgver=1465 +pkgver=1486 pkgrel=1 -_hgrev=69fc03702a64 +_hgrev=3fc7dfa68484 pkgdesc='Viewer programs for DVB cards' arch=('i686' 'x86_64' 'mips64el') url='http://www.linuxtv.org/' license=('GPL') source=("http://linuxtv.org/hg/dvb-apps/archive/$_hgrev.tar.bz2") -sha256sums=('4c32fd895d826254779f1020f69a1978ea3c0130440f82f7b18e2d8e5378804a') +sha256sums=('60cfd45fe7417a4445a7814ce6e645ddaad0f8e934015c09d53eb93c8739b35a') build() { cd "dvb-apps-$_hgrev" diff --git a/community/mapnik/PKGBUILD b/community/mapnik/PKGBUILD index f7dfe3cd1..26810e5ee 100644 --- a/community/mapnik/PKGBUILD +++ b/community/mapnik/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 80241 2012-11-18 10:30:41Z andrea $ +# $Id: PKGBUILD 80294 2012-11-19 14:11:03Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: David Dent <thewinch@gmail.com> # Contributor: orbisvicis <orbisvicis@gmail.com> pkgname=mapnik pkgver=2.1.0 -pkgrel=2 +pkgrel=3 pkgdesc="Free Toolkit for developing mapping applications. Above all Mapnik is about rendering beautiful maps" arch=('i686' 'x86_64' 'mips64el') url="http://mapnik.org/" @@ -20,7 +20,7 @@ optdepends=('libxslt: Web Map Service' 'apache: Web Map Service' 'mod_fastcgi: Web Map Service - or:' 'mod_fcgid: Web Map Service - or:' - 'mod_wsgi: Web Map Service') + 'mod_wsgi2: Web Map Service') makedepends=('scons' 'boost') install="mapnik.install" source=("https://github.com/downloads/mapnik/mapnik/mapnik-v$pkgver.tar.bz2") diff --git a/community/mingw32-binutils/PKGBUILD b/community/mingw32-binutils/PKGBUILD index d5d575891..b49f31b03 100644 --- a/community/mingw32-binutils/PKGBUILD +++ b/community/mingw32-binutils/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 61841 2012-01-08 20:30:41Z spupykin $ +# $Id: PKGBUILD 80285 2012-11-19 12:16:35Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: Ondrej Jirman <megous@megous.com> # Contributor: mosra <mosra@centrum.cz> pkgname=mingw32-binutils -pkgver=2.22 +pkgver=2.23.1 pkgrel=1 _uprel=1 arch=(i686 x86_64 'mips64el') @@ -13,7 +13,7 @@ pkgdesc="A set of programs to assemble and manipulate binary and object files (m depends=('glibc' 'zlib') license=(GPL) source=(https://downloads.sourceforge.net/project/mingw/MinGW/Base/binutils/binutils-$pkgver/binutils-$pkgver-${_uprel}-mingw32-src.tar.lzma) -md5sums=('35419c797be081e081a664f95c3d3361') +md5sums=('5d76604f545b151230d1c86e1b8cfab3') build() { [ $NOEXTRACT -eq 1 ] || tar --lzma -xf binutils-$pkgver-${_uprel}-mingw32-src.tar.lzma diff --git a/community/ncmpcpp/PKGBUILD b/community/ncmpcpp/PKGBUILD index d8a12da48..2dd5819df 100644 --- a/community/ncmpcpp/PKGBUILD +++ b/community/ncmpcpp/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 80192 2012-11-17 14:06:36Z bpiotrowski $ +# $Id: PKGBUILD 80358 2012-11-20 16:00:53Z bpiotrowski $ # Maintainer: Bartłomiej Piotrowski # Contributor: graysky <graysky AT archlinux DOT us> # Contributor: Mateusz Herych <heniekk@gmail.com> @@ -6,12 +6,12 @@ pkgname=ncmpcpp pkgver=0.5.10 -pkgrel=3 +pkgrel=4 pkgdesc='Almost exact clone of ncmpc with some new features' arch=('i686' 'x86_64' 'mips64el') url='http://ncmpcpp.rybczak.net/' license=('GPL') -depends=('curl' 'libmpdclient' 'taglib' 'ncurses') +depends=('curl' 'libmpdclient' 'taglib' 'ncurses' 'fftw') install=ncmpcpp.install source=(http://ncmpcpp.rybczak.net/stable/$pkgname-$pkgver.tar.bz2) md5sums=('298ed66325bcfe358e37e186c7ea4861') @@ -19,11 +19,13 @@ md5sums=('298ed66325bcfe358e37e186c7ea4861') build() { cd $srcdir/$pkgname-$pkgver ./configure --prefix=/usr \ - --enable-unicode \ --enable-clock \ - --with-taglib \ --enable-outputs \ - --with-curl + --enable-unicode \ + --enable-visualizer \ + --with-curl \ + --with-fftw \ + --with-taglib make } diff --git a/community/notmuch/PKGBUILD b/community/notmuch/PKGBUILD new file mode 100644 index 000000000..837d08626 --- /dev/null +++ b/community/notmuch/PKGBUILD @@ -0,0 +1,97 @@ +# $Id: PKGBUILD 80453 2012-11-21 23:29:49Z dwallace $ +# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com> +# Contributor: fauno <fauno at kiwwwi.com.ar> +# Contributor: Olivier Ramonat <olivier at ramonat dot fr> +# Contributor: Richard Murri <admin@richardmurri.com> + +pkgbase=notmuch +pkgname=('notmuch' 'notmuch-mutt' 'notmuch-runtime') +pkgver=0.14 +pkgrel=4 +arch=('i686' 'x86_64') +url="http://notmuchmail.org/" +license=('GPL3') +makedepends=('python2' 'python' 'emacs' 'gnupg' 'ruby' 'pkgconfig' 'xapian-core' 'gmime' 'talloc') +options=(!distcc !makeflags) +source=("http://notmuchmail.org/releases/${pkgname}-${pkgver}.tar.gz") +md5sums=('5eb3f225d3eb37862932f6baa5780d15') + +build() { + cd "$srcdir/${pkgname}-$pkgver" + + ./configure --prefix=/usr --sysconfdir=/etc + make + (cd "${srcdir}/$pkgname-${pkgver}/contrib/${pkgname}-mutt" + make ${pkgname}-mutt.1) + + cp -dpr --no-preserve=ownership "$srcdir/$pkgname-$pkgver" "$srcdir/$pkgname-runtime-$pkgver" + + cd bindings/ruby + ruby extconf.rb + make + + cp -dpr --no-preserve=ownership "$srcdir/${pkgname}-$pkgver"/bindings/python{,2} + + cd "$srcdir/${pkgname}-${pkgver}/bindings/python" + env LD_LIBRARY_PATH="." python setup.py build + + cd "$srcdir/${pkgname}-${pkgver}/bindings/python2" + find "." -name '*.py' -print0 |xargs -0 \ + sed -i -e 's,^#!/usr/bin/env python$,#!/usr/bin/env python2,' \ + -e 's,^#!/usr/bin/python$,#!/usr/bin/python2,' + env LD_LIBRARY_PATH="." python2 setup.py build + +} + +package_notmuch-runtime(){ + pkgdesc="Runtime for notmuch and notmuch-mutt" + depends=('xapian-core' 'gmime' 'talloc') + cd "$srcdir/${pkgname}-$pkgver" + make DESTDIR="$pkgdir/" LIBDIR_IN_LDCONFIG=0 install + + install -Dm644 notmuch "$pkgdir/usr/sbin/notmuch" + + mkdir -p "$pkgdir"/usr/share/vim/vimfiles/{plugin,syntax} + + make -C vim prefix="$pkgdir/usr/share/vim/vimfiles" install + + # Remove conflicting zsh completion + rm -r ${pkgdir}/usr/share/zsh +} + + +package_notmuch(){ + pkgdesc="Notmuch is not much of an email program" + depends=('notmuch-runtime') + optdepends=('emacs: for using the emacs interface' + 'vim: for using the vim interface' + 'python2: for using the python2 bindings' + 'ruby: for using the ruby bindings' + 'gnupg: for email encryption') + + cd "$srcdir/${pkgname}-$pkgver" + + # Install python bindings + cd "$srcdir/${pkgname}-${pkgver}/bindings/python2" + env LD_LIBRARY_PATH="." python2 setup.py install --prefix=/usr --root="$pkgdir" + + cd "$srcdir/${pkgname}-${pkgver}/bindings/python" + env LD_LIBRARY_PATH="." python setup.py install --prefix=/usr --root="$pkgdir" + + # Install ruby bindings + cd "$srcdir/${pkgname}-${pkgver}/bindings/ruby" + sed -i -e 's,/site_ruby,,g' Makefile + make prefix="${pkgdir}/usr" install + +} + +package_notmuch-mutt(){ + pkgdesc="The mail indexer" + depends=('notmuch-runtime' 'perl-mailtools' 'perl-mail-box' 'perl-term-readline-gnu' 'perl-string-shellquote' 'perl-file-which') + cd "$srcdir/$pkgbase-runtime-$pkgver" + + install -Dm755 "contrib/$pkgname/$pkgname" "$pkgdir/usr/bin/$pkgname" + install -Dm644 "contrib/$pkgname/${pkgname}.1" "${pkgdir}/usr/share/man/man1/${pkgname}.1.gz" +} + +#vim: set filetype=PKGBUILD sw=4 ts=4 et diff --git a/community/openbsd-netcat/PKGBUILD b/community/openbsd-netcat/PKGBUILD index 0ec2d4194..ff18b9fa1 100644 --- a/community/openbsd-netcat/PKGBUILD +++ b/community/openbsd-netcat/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 76590 2012-09-24 09:58:51Z spupykin $ +# $Id: PKGBUILD 80338 2012-11-20 10:54:30Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Andrej Gelenberg <andrej.gelenberg@udo.edu> pkgname="openbsd-netcat" pkgver=1.105 -pkgrel=4 +pkgrel=5 _patch=7 pkgdesc="TCP/IP swiss army knife. OpenBSD variant." arch=('i686' 'x86_64' 'mips64el') @@ -12,6 +12,8 @@ url="http://packages.debian.org/sid/netcat-openbsd" license=('BSD') depends=('libbsd') makedepends=('gcc' 'make') +provides=('netcat') +conflicts=('gnu-netcat') source=("http://ftp.debian.org/debian/pool/main/n/netcat-openbsd/netcat-openbsd_${pkgver}.orig.tar.gz" "http://ftp.debian.org/debian/pool/main/n/netcat-openbsd/netcat-openbsd_${pkgver}-${_patch}.debian.tar.gz") md5sums=('7e67b22f1ad41a1b7effbb59ff28fca1' @@ -30,8 +32,9 @@ build() { package() { cd $srcdir/netcat-openbsd-${pkgver} - install -Dm0755 nc $pkgdir/usr/bin/nc.openbsd - install -Dm0644 nc.1 $pkgdir/usr/share/man/man1/nc.openbsd.1 + install -Dm0755 nc $pkgdir/usr/bin/nc + ln -s nc $pkgdir/usr/bin/netcat + install -Dm0644 nc.1 $pkgdir/usr/share/man/man1/nc.1 install -dm0755 $pkgdir/usr/share/licenses/$pkgname/ head -n28 netcat.c | tail -n+2 >$pkgdir/usr/share/licenses/$pkgname/LICENSE } diff --git a/community/parrot/PKGBUILD b/community/parrot/PKGBUILD index 96d58a5bd..c819940c8 100644 --- a/community/parrot/PKGBUILD +++ b/community/parrot/PKGBUILD @@ -1,12 +1,12 @@ -# $Id: PKGBUILD 80244 2012-11-18 10:31:10Z andrea $ +# $Id: PKGBUILD 80286 2012-11-19 12:16:58Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: mpie <michael.kyne-phillips1@ntlworld.com> pkgname=parrot -pkgver=4.8.0 -#_rel=stable -_rel=devel -pkgrel=2 +pkgver=4.9.0 +_rel=stable +#_rel=devel +pkgrel=1 pkgdesc="Standalone VM that can execute bytecode compiled dynamic languages" arch=('x86_64' 'i686' 'mips64el') url="http://www.parrotcode.org/" @@ -16,7 +16,7 @@ makedepends=('perl-json') optdepends=('freeglut') options=('!makeflags') source=(ftp://ftp.parrot.org/pub/parrot/releases/$_rel/$pkgver/$pkgname-$pkgver.tar.bz2) -md5sums=('c00ed8867dcf69255452a2e1267906ec') +md5sums=('ca42f4fbcc734e4cf354117cd7c073b0') build() { cd "$srcdir/$pkgname-$pkgver" diff --git a/community/perl-term-readline-gnu/PKGBUILD b/community/perl-term-readline-gnu/PKGBUILD new file mode 100644 index 000000000..4a1ee0bc0 --- /dev/null +++ b/community/perl-term-readline-gnu/PKGBUILD @@ -0,0 +1,49 @@ +# $Id: PKGBUILD 80447 2012-11-21 22:59:31Z dwallace $ +# CPAN Name : Term-ReadLine-Gnu +# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com> +# Contributor: jason ryan <jasonwryan@gmail.com> +# Contributor: AUR Perl <aurperl@juster.info> +# Generator : CPANPLUS::Dist::Arch 1.15 + +pkgname=perl-term-readline-gnu +pkgver=1.20 +pkgrel=4 +pkgdesc="GNU Readline XS library wrapper" +arch=('i686' 'x86_64') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl>=5.7') +url='http://search.cpan.org/dist/Term-ReadLine-Gnu' +source=('http://search.cpan.org/CPAN/authors/id/H/HA/HAYASHI/Term-ReadLine-Gnu-1.20.tar.gz' + 'termcap-bad-ncurses-good.patch') +md5sums=('fa33510193b89a2ada74fcef00816322' + 'a000706b89792f822b5ec20baa370910') +_distdir="${srcdir}/Term-ReadLine-Gnu-1.20" + +build() { + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ + PERL_AUTOINSTALL=--skipdeps \ + PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \ + PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \ + MODULEBUILDRC=/dev/null + + cd "$_distdir" + patch --forward -p1 < "${srcdir}/termcap-bad-ncurses-good.patch" + /usr/bin/perl Makefile.PL + make + ) +} + +check() { + cd "$_distdir" + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" + make test + ) +} + +package() { + cd "$_distdir" + make install + find "$pkgdir" -name .packlist -o -name perllocal.pod -delete +} + diff --git a/community/perl-term-readline-gnu/termcap-bad-ncurses-good.patch b/community/perl-term-readline-gnu/termcap-bad-ncurses-good.patch new file mode 100644 index 000000000..7fee6013c --- /dev/null +++ b/community/perl-term-readline-gnu/termcap-bad-ncurses-good.patch @@ -0,0 +1,18 @@ +--- Term-ReadLine-Gnu-1.20/Makefile.PL 2010-05-02 06:37:55.000000000 -0400 ++++ Term-ReadLine-Gnu-1.20-patched/Makefile.PL 2011-07-30 16:16:54.000000000 -0400 +@@ -58,8 +58,13 @@ + # know why AIX prefers curses. + # libtermcap.a on HPUX cannot be used for dynamically linked binary. + # Old Cygwin may require setting false (0). +- my $PREFER_CURSES = $Config{osname} eq 'aix' || $Config{osname} eq 'hpux' +- || $Config{osname} eq 'cygwin'; ++ # my $PREFER_CURSES = $Config{osname} eq 'aix' || $Config{osname} eq 'hpux' ++ # || $Config{osname} eq 'cygwin'; ++ ++ # Hack for ArchLinux by Justin Davis <aurperl@juster.us> ++ # Don't use termcap! readline is linked with ncurses so I know it's ++ # available. termcap causes this module to crash for some people. ++ my $PREFER_CURSES = 1; + my $TERMCAP_LIB = (! $PREFER_CURSES && &search_lib('-ltermcap')) + || &search_lib('-lncurses') + || &search_lib('-lcurses'); diff --git a/community/python-cchardet/PKGBUILD b/community/python-cchardet/PKGBUILD new file mode 100644 index 000000000..ac36b156f --- /dev/null +++ b/community/python-cchardet/PKGBUILD @@ -0,0 +1,27 @@ +# $Id: PKGBUILD 80436 2012-11-21 15:45:04Z mtorromeo $ +# Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com> + +pkgname=python-cchardet +pkgver=0.3.2 +pkgrel=1 +_libname=${pkgname/python-/} +pkgdesc="Universal encoding detector faster than chardet." +url="http://pypi.python.org/pypi/cchardet/" +depends=('python') +makedepends=('cython' 'python-distribute') +license=('MIT') +arch=('i686' 'x86_64') +source=(http://pypi.python.org/packages/source/${_libname:0:1}/$_libname/$_libname-$pkgver.tar.gz) + +build() { + cd "$srcdir/$_libname-$pkgver" + python setup.py build +} + +package() { + cd "$srcdir/$_libname-$pkgver" + python setup.py install --root="$pkgdir" + install -m0644 -D "README.rst" "$pkgdir/usr/share/licenses/$pkgname/README.rst" +} + +sha256sums=('a3e92811d5a8aacd9ecfdb4ea9637ba801b9b18b7c779dbdf41d07bb48235a23') diff --git a/community/python-openbabel/PKGBUILD b/community/python-openbabel/PKGBUILD index af13b32f7..a685daf6f 100644 --- a/community/python-openbabel/PKGBUILD +++ b/community/python-openbabel/PKGBUILD @@ -1,22 +1,25 @@ -# $Id: PKGBUILD 78233 2012-10-17 10:26:13Z allan $ -# Maintainer: Andrea Scarpino <andrea@archlinux.org> +# $Id: PKGBUILD 80457 2012-11-22 01:42:13Z arodseth $ +# Maintainer: Alexander Rødseth <rodseth@gmail.com> +# Contributor: Andrea Scarpino <andrea@archlinux.org> # Contributor: Michal Bozon <bozonm@vscht.cz> -pkgname=python-openbabel -pkgver=2.3.1 -pkgrel=3 -pkgdesc="Python bindings of openbabel library" +pkgname=('python-openbabel' 'python2-openbabel') +pkgver=2.3.2 +pkgrel=1 +pkgdesc='Python bindings for the openbabel library' arch=('i686' 'x86_64' 'mips64el') -url="http://openbabel.org/wiki/Python" +url='http://openbabel.org/wiki/Python' license=('GPL') -depends=('python' 'gcc-libs' "openbabel=${pkgver}" 'eigen2') -makedepends=('swig' 'cmake') +depends=('gcc-libs' "openbabel=${pkgver}" 'eigen2') +makedepends=('swig' 'cmake' 'python-distribute' 'python2-distribute') options=('!libtool') -source=(http://downloads.sourceforge.net/openbabel/openbabel-$pkgver.tar.gz) -md5sums=('1f029b0add12a3b55582dc2c832b04f8') +source=("http://downloads.sourceforge.net/openbabel/openbabel-$pkgver.tar.gz") +sha256sums=('4eaca26679aa6cc85ebf96af19191472ac63ca442c36b0427b369c3a25705188') build() { - cd "${srcdir}/openbabel-$pkgver" + cp -r openbabel-$pkgver python2-openbabel-$pkgver + + cd $srcdir/openbabel-$pkgver # Create babelconfig.h cmake . @@ -29,10 +32,27 @@ build() { cd python sed -i '19i os.path.join("/usr/include/openbabel-2.0"),' setup.py - sed -i '20i os.path.join("/usr/include/eigen2"),' setup.py + sed -i '20i os.path.join("/usr/include/eigen2"),' setup.py + + cd $srcdir/python2-openbabel-$pkgver/scripts/python + sed -i '19i os.path.join("/usr/include/openbabel-2.0"),' setup.py + sed -i '20i os.path.join("/usr/include/eigen2"),' setup.py +} + +package_python-openbabel() { + depends+=('python') + + cd "$srcdir/openbabel-$pkgver/scripts/python" + + python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 } -package() { - cd "${srcdir}/openbabel-$pkgver/scripts/python" - python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 +package_python2-openbabel() { + depends+=('python2') + + cd "$srcdir/python2-openbabel-$pkgver/scripts/python" + + python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 } + +# vim:set ts=2 sw=2 et: diff --git a/community/python2-cchardet/PKGBUILD b/community/python2-cchardet/PKGBUILD new file mode 100644 index 000000000..c9c108873 --- /dev/null +++ b/community/python2-cchardet/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 80426 2012-11-21 14:15:53Z mtorromeo $ +# Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com> + +pkgname=python2-cchardet +pkgver=0.3.2 +pkgrel=1 +_libname=${pkgname/python2-/} +pkgdesc="Universal encoding detector faster than chardet." +url="http://pypi.python.org/pypi/cchardet/" +depends=('python2') +makedepends=('cython2' 'python2-distribute') +license=('MIT') +arch=('i686' 'x86_64') +source=(http://pypi.python.org/packages/source/${_libname:0:1}/$_libname/$_libname-$pkgver.tar.gz) + +build() { + cd "$srcdir/$_libname-$pkgver" + find -type f -exec sed -i '1 s|python\s*$|python2|' {} + + python2 setup.py build +} + +package() { + cd "$srcdir/$_libname-$pkgver" + python2 setup.py install --root="$pkgdir" + install -m0644 -D "README.rst" "$pkgdir/usr/share/licenses/$pkgname/README.rst" +} + +sha256sums=('a3e92811d5a8aacd9ecfdb4ea9637ba801b9b18b7c779dbdf41d07bb48235a23') diff --git a/community/radvd/PKGBUILD b/community/radvd/PKGBUILD index 696a40dde..d773f779d 100644 --- a/community/radvd/PKGBUILD +++ b/community/radvd/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 73459 2012-07-08 00:19:18Z seblu $ +# $Id: PKGBUILD 80443 2012-11-21 20:47:43Z seblu $ # Maintainer: Sébastien Luttringer <seblu@aur.archlinux.org> # Contributor: Kaiting Chen <kaitocracy@gmail.com> # Contributor: Mark Smith <markzzzsmith@yahoo.com.au> pkgname=radvd -pkgver=1.9.1 +pkgver=1.9.2 pkgrel=1 pkgdesc='IPv6 Router Advertisement Daemon' url='http://www.litech.org/radvd/' @@ -16,7 +16,7 @@ source=("http://www.litech.org/radvd/dist/$pkgname-$pkgver.tar.gz" "$pkgname.rc" "$pkgname.conf" "$pkgname.service") -sha1sums=('8db7d69f5ca4ce3643f06866b4dbf634490f479a' +sha1sums=('5bc39b7bec0d73ffa443634c340e75b54867766c' '08dd01319682f4ef2e847d11aa375e0239c08c7a' '63ce41d790a0472e6b3b15928f6a71d1dbb7700d' '9cb6b2eaaf445fe8d17dfc50fde15709d4de7d1d') diff --git a/community/rsyslog/PKGBUILD b/community/rsyslog/PKGBUILD index 49830d433..a0f71f534 100644 --- a/community/rsyslog/PKGBUILD +++ b/community/rsyslog/PKGBUILD @@ -1,14 +1,14 @@ -# $Id: PKGBUILD 77498 2012-10-11 11:39:59Z spupykin $ +# $Id: PKGBUILD 80430 2012-11-21 14:28:23Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> pkgname=rsyslog -pkgver=6.4.2 -pkgrel=2 +pkgver=7.2.3 +pkgrel=1 pkgdesc="An enhanced multi-threaded syslogd with a focus on security and reliability" url="http://www.rsyslog.com/" arch=('i686' 'x86_64' 'mips64el') license=('GPL3') -depends=('zlib' 'libestr' 'libee') +depends=('zlib' 'libestr' 'libee' 'json-c') makedepends=('postgresql-libs>=8.4.1' 'libmysqlclient' 'net-snmp' 'gnutls') optdepends=('postgresql-libs: PostgreSQL Database Support' 'libmysqlclient: MySQL Database Support' @@ -22,7 +22,7 @@ source=("http://www.rsyslog.com/files/download/rsyslog/rsyslog-$pkgver.tar.gz" 'rsyslog' 'rsyslog.logrotate' 'rsyslog.conf.d') -md5sums=('7de0124ec7d67ce2bfda0009ab1263ee' +md5sums=('81fd0f6c38e2005a1d2a9e6afff338c1' 'a18bbcbb6ebdaa13a6ec6d9f3d9eb2da' '8065db4bef3061a4f000ba58779f6829' '18565f38a4445136446a31a3c95ffc3e') diff --git a/community/schroot/PKGBUILD b/community/schroot/PKGBUILD index 96b120aa3..eae01ab4f 100644 --- a/community/schroot/PKGBUILD +++ b/community/schroot/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 75798 2012-08-31 18:47:24Z spupykin $ +# $Id: PKGBUILD 80297 2012-11-19 14:37:12Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Andreas Wagner <Andreas dot Wagner at em dot uni-frankfurt dot de> pkgname=schroot pkgver=1.6.3 -pkgrel=1 +pkgrel=2 pkgdesc="Allows users to execute shell commands under different root filesystems. (Successor to dchroot)." url="http://packages.qa.debian.org/s/schroot.html" license=('GPL3') @@ -32,7 +32,7 @@ md5sums=('f6b1badef213ce8e9ef37bb3fc213390' 'a8d77cac806a0a9adef3f93cdbeb280a' '1e34db5387c4e5de911e15d8a9208bdb' '5a3f7b839c7e0b8933748da7c5b6385b' - '06db41d42f9fce5449a28feb76ded556' + 'ddb2f09c02b24dab777110f9808472e1' 'f0d5d5b5e34a860f6f90b5628c680f46' 'af1da6edd8c8c0dafeeb2c2c4e0c840b' '5ba775d4f401e2c167414caa548b71e5') diff --git a/community/schroot/arch32-copyfiles b/community/schroot/arch32-copyfiles index 88f093ceb..f39ee48de 100644 --- a/community/schroot/arch32-copyfiles +++ b/community/schroot/arch32-copyfiles @@ -2,6 +2,5 @@ /etc/hosts /etc/passwd /etc/resolv.conf -/etc/rc.conf /etc/localtime /etc/locale.gen diff --git a/community/squid/PKGBUILD b/community/squid/PKGBUILD new file mode 100644 index 000000000..8e4cee10d --- /dev/null +++ b/community/squid/PKGBUILD @@ -0,0 +1,98 @@ +# $Id: PKGBUILD 80303 2012-11-19 15:56:56Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: Kevin Piche <kevin@archlinux.org> +# Contributor: Tom Newsom <Jeepster@gmx.co.uk> +# Maintainer: Mark Coolen <mark.coolen@gmail.com> + +pkgname="squid" +pkgver="3.2.3" +pkgrel="1" +pkgdesc="A full-featured Web proxy cache server." +arch=('i686' 'x86_64') +url="http://www.squid-cache.org" +depends=('openssl' 'pam' 'cron' 'perl' 'libltdl') +makedepends=('libcap') +license=('GPL') +backup=('etc/squid/squid.conf' + 'etc/squid/mime.conf' + 'etc/conf.d/squid') +install=squid.install +source=("http://www.squid-cache.org/Versions/v3/3.2/$pkgname-$pkgver.tar.bz2" + 'squid' + 'squid.conf.d' + 'squid.pam' + 'squid.cron' + 'squid.service') +md5sums=('b26171dfd397defd9ee113d555691b86' + '02f7b5bd793f778e40834fd6457d2199' + '2383772ef94efddc7b920628bc7ac5b0' + '270977cdd9b47ef44c0c427ab9034777' + 'b499c2b725aefd7bd60bec2f1a9de392' + '20e00e1aa1198786795f3da32db3c1d8') + +build() { + cd "$pkgname-$pkgver" + + # gcc 4.6 doesn't support -fhuge-objects. + sed '/^ HUGE_OBJECT_FLAG=/ s/"-fhuge-objects"//' -i configure + + # fix cache_dir, cache_dir size, and effective group. + sed '/^DEFAULT_SWAP_DIR/ s@/cache@/cache/squid@' -i src/Makefile.in + sed '/^#cache_dir/ s/100/256/ + /^NAME: cache_effective_group/ {n;n;s/none/proxy/}' -i src/cf.data.pre + +./configure \ + --prefix=/usr \ + --datadir=/usr/share/squid \ + --sysconfdir=/etc/squid \ + --libexecdir=/usr/lib/squid \ + --localstatedir=/var \ + --with-logdir=/var/log/squid \ + --with-pidfile=/run/squid.pid \ + --enable-auth \ + --enable-auth-basic \ + --enable-auth-ntlm \ + --enable-auth-digest \ + --enable-auth-negotiate \ + --enable-removal-policies="lru,heap" \ + --enable-storeio="aufs,ufs,diskd" \ + --enable-delay-pools \ + --enable-arp-acl \ + --enable-ssl \ + --enable-snmp \ + --enable-linux-netfilter \ + --enable-ident-lookups \ + --enable-useragent-log \ + --enable-cache-digests \ + --enable-referer-log \ + --enable-arp-acl \ + --enable-htcp \ + --enable-carp \ + --enable-epoll \ + --with-filedescriptors=4096 \ + --with-large-files \ + --enable-arp-acl \ + --with-default-user=proxy \ + --enable-async-io \ + --enable-truncate + + + + make +} + +package() { + make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install + + install -Dm755 "$srcdir"/squid "$pkgdir"/etc/rc.d/squid + install -Dm755 "$srcdir"/squid.cron "$pkgdir"/etc/cron.weekly/squid + install -Dm644 "$srcdir"/squid.conf.d "$pkgdir"/etc/conf.d/squid + install -Dm644 "$srcdir"/squid.pam "$pkgdir"/etc/pam.d/squid + + install -Dm644 "$srcdir/squid.service" "$pkgdir/usr/lib/systemd/system/squid.service" + + # random unneeded empty dir... + rmdir "$pkgdir/usr/include" +} + +# vim: ts=2 sw=2 et ft=sh diff --git a/community/squid/squid b/community/squid/squid new file mode 100644 index 000000000..da5534427 --- /dev/null +++ b/community/squid/squid @@ -0,0 +1,48 @@ +#!/bin/bash + +# source application-specific settings +[[ -f /etc/conf.d/squid ]] && . /etc/conf.d/squid + +. /etc/rc.conf +. /etc/rc.d/functions + +pidfile=/run/squid.pid +{ read -r PID </run/squid.pid; } 2>/dev/null +if [[ $pid && ! /proc/$pid/exe -ef /usr/sbin/squid ]]; then + rm /run/squid.pid +fi + +case $1 in + start) + stat_busy "Starting squid" + if [[ $PID ]] || ! squid $SQUID_ARGS; then + stat_fail + else + add_daemon squid + stat_done + fi + ;; + + stop) + stat_busy "Stopping squid" + if [[ -z $PID ]] || ! squid -k shutdown &>/dev/null; then + stat_fail + else + # squid takes forever to shutdown all its listening FDs + while [[ /proc/$PID/exe -ef /usr/sbin/squid ]]; do + stat_append "." + sleep 3 + done + rm_daemon squid + stat_done + fi + ;; + + restart) + $0 stop + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac +exit 0 diff --git a/community/squid/squid.conf.d b/community/squid/squid.conf.d new file mode 100644 index 000000000..ea248b76c --- /dev/null +++ b/community/squid/squid.conf.d @@ -0,0 +1,4 @@ +# +# Parameters to be passed to squid +# +SQUID_ARGS="-sYC" diff --git a/community/squid/squid.cron b/community/squid/squid.cron new file mode 100644 index 000000000..c78e51105 --- /dev/null +++ b/community/squid/squid.cron @@ -0,0 +1,9 @@ +#!/bin/sh + +# exit without error if no pidfile exists +{ read pid </run/squid.pid; } 2>/dev/null || exit 0 + +# make sure found PID really is a squid process +if [ /proc/$pid/exec -ef /usr/sbin/squid ]; then + /usr/sbin/squid -k rotate +fi diff --git a/community/squid/squid.install b/community/squid/squid.install new file mode 100644 index 000000000..e7aa5ff68 --- /dev/null +++ b/community/squid/squid.install @@ -0,0 +1,26 @@ +post_install() { + if [ -z "$(grep ^proxy: /etc/group)" ]; then + usr/sbin/groupadd -g 15 proxy &>/dev/null + fi + + id proxy &>/dev/null || \ + usr/sbin/useradd -u 15 -g proxy -d /var/empty proxy + + chown proxy.proxy var/{cache,log}/squid + +# cat << EOF +#Release notes: http://www.squid-cache.org/Versions/v3/3.1/RELEASENOTES.html +#EOF +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + usr/sbin/userdel proxy &> /dev/null + if [ ! -z "$(grep ^proxy: /etc/group)" ]; then + usr/sbin/groupdel proxy &>/dev/null + fi +} + diff --git a/community/squid/squid.pam b/community/squid/squid.pam new file mode 100644 index 000000000..df8a8104f --- /dev/null +++ b/community/squid/squid.pam @@ -0,0 +1,4 @@ +#/etc/pam.d/squid +# +auth required pam_unix.so +account required pam_unix.so diff --git a/community/squid/squid.service b/community/squid/squid.service new file mode 100644 index 000000000..9d41cc243 --- /dev/null +++ b/community/squid/squid.service @@ -0,0 +1,13 @@ +[Unit] +Description=Web Proxy Cache Server +After=network.target + +[Service] +Type=forking +PIDFile=/run/squid.pid +ExecStart=/usr/sbin/squid -sYC +ExecStop=/usr/sbin/squid -k shutdown +ExecReload=/usr/sbin/squid -k reconfigure + +[Install] +WantedBy=multi-user.target diff --git a/community/v8/PKGBUILD b/community/v8/PKGBUILD index 9dcf911b9..5dc4cd3b6 100644 --- a/community/v8/PKGBUILD +++ b/community/v8/PKGBUILD @@ -6,7 +6,7 @@ pkgname=v8 pkgver=3.14.0 pkgrel=1 pkgdesc='Fast and modern javascript engine' -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url='http://code.google.com/p/v8' license=('BSD') depends=('gcc-libs' 'readline') diff --git a/community/wings3d/PKGBUILD b/community/wings3d/PKGBUILD index 6f3bdb0d2..a03916839 100644 --- a/community/wings3d/PKGBUILD +++ b/community/wings3d/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 80086 2012-11-15 22:26:35Z arodseth $ +# $Id: PKGBUILD 80322 2012-11-19 22:41:50Z arodseth $ # Maintainer: Alexander Rødseth <rodseth@gmail.com> # Contributor: kappa <kappacurve@gmail.com> pkgname=wings3d _pkgname=wings pkgver=1.4.1 -pkgrel=9 +pkgrel=10 pkgdesc='3D modeling program' arch=('x86_64' 'i686') url='http://www.wings3d.com/' |