summaryrefslogtreecommitdiff
path: root/community
diff options
context:
space:
mode:
Diffstat (limited to 'community')
-rw-r--r--community/clinica/PKGBUILD19
-rw-r--r--community/clinica/vala-0.16.patch242
-rw-r--r--community/mythtv/PKGBUILD10
-rw-r--r--community/percona-server/PKGBUILD9
4 files changed, 261 insertions, 19 deletions
diff --git a/community/clinica/PKGBUILD b/community/clinica/PKGBUILD
index 85bd9b258..54794584f 100644
--- a/community/clinica/PKGBUILD
+++ b/community/clinica/PKGBUILD
@@ -1,23 +1,28 @@
-# $Id: PKGBUILD 62971 2012-01-29 17:19:57Z giovanni $
+# $Id: PKGBUILD 78165 2012-10-16 15:57:54Z bgyorgy $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Gianmarco Brocchi <gianmarcobrocchi@gmail.com>
pkgname=clinica
pkgver=0.2.1
-pkgrel=4
+pkgrel=5
pkgdesc="Simple medical records manager"
arch=('i686' 'x86_64')
url="https://launchpad.net/clinica-project"
license=('GPL3')
-depends=('libgee' 'python' 'libpeas' 'dconf')
-makedepends=('vala' 'intltool' 'pkg-config')
+depends=('libgee' 'libpeas' 'dconf')
+makedepends=('vala' 'intltool' 'python')
optdepends=('python2-gobject: for Agenzia del Farmaco plugin')
install=clinica.install
-source=("http://launchpad.net/clinica-project/stable/${pkgver}/+download/${pkgname}-${pkgver}.tar.bz2")
-md5sums=('327ce50d20b0e56d3de57270eed2ad23')
+source=("http://launchpad.net/clinica-project/stable/${pkgver}/+download/${pkgname}-${pkgver}.tar.bz2"
+ vala-0.16.patch)
+md5sums=('327ce50d20b0e56d3de57270eed2ad23'
+ 'cd619b85a1758aad846c06b11961c6a3')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -Np1 -i "${srcdir}/vala-0.16.patch"
+ sed -i 's@^#!.*python$@#!/usr/bin/python2@' plugins/AgenziaDelFarmaco.py
+ sed -i -e "s:Application;GTK;:Office;GTK;:g" clinica.desktop
./waf configure --prefix=/usr
LC_ALL=C LANG=C ./waf build
@@ -28,6 +33,4 @@ package() {
./waf --destdir="${pkgdir}" install
rm -rf ${pkgdir}/usr/share/glib-2.0/schemas/gschemas.compiled
- sed -i -e "s:Application;GTK;:Office;:g" clinica.desktop
- install -Dm644 clinica.desktop "${pkgdir}/usr/share/applications"
}
diff --git a/community/clinica/vala-0.16.patch b/community/clinica/vala-0.16.patch
new file mode 100644
index 000000000..fda32c1b2
--- /dev/null
+++ b/community/clinica/vala-0.16.patch
@@ -0,0 +1,242 @@
+diff -Naur clinica-0.2.1.orig/libclinica/DoctorContextMenu.vala clinica-0.2.1/libclinica/DoctorContextMenu.vala
+--- clinica-0.2.1.orig/libclinica/DoctorContextMenu.vala 2011-11-30 13:42:30.000000000 +0100
++++ clinica-0.2.1/libclinica/DoctorContextMenu.vala 2012-10-16 16:57:35.000000000 +0200
+@@ -22,7 +22,7 @@
+
+ namespace Clinica {
+
+- public class DoctorContextMenu : Menu {
++ public class DoctorContextMenu : Gtk.Menu {
+
+ /**
+ * @brief The doctor associated to this popup menu
+@@ -38,13 +38,13 @@
+ /**
+ * @brief MenuItem associated to doctor deletion
+ */
+- private MenuItem delete_menuitem;
++ private Gtk.MenuItem delete_menuitem;
+
+ /**
+ * @brief MenuItem that triggers doctor edit
+ * dialog.
+ */
+- private MenuItem edit_menuitem;
++ private Gtk.MenuItem edit_menuitem;
+
+ private ResourceManager resource_manager;
+
+@@ -55,8 +55,8 @@
+
+ /* Create menu items, connect them to their callback
+ * and add it to the menu */
+- delete_menuitem = new MenuItem.with_label (_("Delete"));
+- edit_menuitem = new MenuItem.with_label (_("Edit"));
++ delete_menuitem = new Gtk.MenuItem.with_label (_("Delete"));
++ edit_menuitem = new Gtk.MenuItem.with_label (_("Edit"));
+
+ delete_menuitem.activate.connect (on_delete_menuitem_activated);
+ edit_menuitem.activate.connect (on_edit_menuitem_activated);
+@@ -67,11 +67,11 @@
+ show_all ();
+ }
+
+- private void on_delete_menuitem_activated (MenuItem item) {
++ private void on_delete_menuitem_activated (Gtk.MenuItem item) {
+ view.remove_selected_doctor ();
+ }
+
+- private void on_edit_menuitem_activated (MenuItem item) {
++ private void on_edit_menuitem_activated (Gtk.MenuItem item) {
+ var doctor_editor = new DoctorEditor.with_doctor (resource_manager, doctor);
+ doctor_editor.dialog.set_transient_for (resource_manager.user_interface.window);
+ doctor_editor.run ();
+diff -Naur clinica-0.2.1.orig/libclinica/EventDetail.vala clinica-0.2.1/libclinica/EventDetail.vala
+--- clinica-0.2.1.orig/libclinica/EventDetail.vala 2011-11-30 13:42:30.000000000 +0100
++++ clinica-0.2.1/libclinica/EventDetail.vala 2012-10-16 16:55:51.000000000 +0200
+@@ -104,9 +104,9 @@
+ */
+ private bool on_button_press_event (Widget widget, EventButton event) {
+ if (event.button == 3 && event.type == EventType.BUTTON_PRESS) {
+- var popup_menu = new Menu ();
+- var edit_menu_item = new MenuItem.with_label (_("Edit"));
+- var remove_menu_item = new MenuItem.with_label (_("Remove"));
++ var popup_menu = new Gtk.Menu ();
++ var edit_menu_item = new Gtk.MenuItem.with_label (_("Edit"));
++ var remove_menu_item = new Gtk.MenuItem.with_label (_("Remove"));
+
+ /* Connect callbacks for the item */
+ edit_menu_item.activate.connect (on_edit_menu_item_activate);
+@@ -125,7 +125,7 @@
+ return false;
+ }
+
+- private void on_edit_menu_item_activate (MenuItem? item = null) {
++ private void on_edit_menu_item_activate (Gtk.MenuItem? item = null) {
+ var event_editor = new EventEditor (resource_manager, associated_event);
+ event_editor.set_transient_for (resource_manager.user_interface.calendar_window);
+ if (event_editor.run () == EventEditor.Response.SAVE) {
+@@ -137,7 +137,7 @@
+ event_editor.destroy ();
+ }
+
+- private void on_remove_menu_item_activate (MenuItem? item = null) {
++ private void on_remove_menu_item_activate (Gtk.MenuItem? item = null) {
+ var question = new MessageDialog (null,
+ DialogFlags.MODAL | DialogFlags.DESTROY_WITH_PARENT,
+ MessageType.QUESTION, ButtonsType.YES_NO, "%s",
+diff -Naur clinica-0.2.1.orig/libclinica/PatientContextMenu.vala clinica-0.2.1/libclinica/PatientContextMenu.vala
+--- clinica-0.2.1.orig/libclinica/PatientContextMenu.vala 2011-12-09 18:14:42.000000000 +0100
++++ clinica-0.2.1/libclinica/PatientContextMenu.vala 2012-10-16 16:54:59.000000000 +0200
+@@ -26,7 +26,7 @@
+ * @brief Menu to be displayed when a user right click on a patient
+ * in the TreeView
+ */
+- public class PatientContextMenu : Menu {
++ public class PatientContextMenu : Gtk.Menu {
+
+ /* Patient where that user has right clicked on */
+ Patient patient;
+@@ -35,9 +35,9 @@
+ PatientListView view;
+
+ /* MENU ITEMS */
+- MenuItem edit_menuitem;
+- MenuItem delete_menuitem;
+- MenuItem view_visits_menuitem;
++ Gtk.MenuItem edit_menuitem;
++ Gtk.MenuItem delete_menuitem;
++ Gtk.MenuItem view_visits_menuitem;
+
+ private ResourceManager resource_manager;
+
+@@ -48,13 +48,13 @@
+ this.view = view;
+
+ /* Instantiate menu items */
+- edit_menuitem = new MenuItem.with_label(_("Edit"));
++ edit_menuitem = new Gtk.MenuItem.with_label(_("Edit"));
+ edit_menuitem.activate.connect (on_edit_menuitem_activated);
+
+- delete_menuitem = new MenuItem.with_label(_("Delete"));
++ delete_menuitem = new Gtk.MenuItem.with_label(_("Delete"));
+ delete_menuitem.activate.connect(on_delete_menuitem_activated);
+
+- view_visits_menuitem = new MenuItem.with_label(_("Edit visits"));
++ view_visits_menuitem = new Gtk.MenuItem.with_label(_("Edit visits"));
+ view_visits_menuitem.activate.connect(on_view_visits_menuitem_activated);
+
+ /* Append menuitems */
+@@ -65,18 +65,18 @@
+ show_all ();
+ }
+
+- private void on_edit_menuitem_activated (MenuItem item) {
++ private void on_edit_menuitem_activated (Gtk.MenuItem item) {
+ var patient_editor = new PatientEditor.with_patient (resource_manager, patient);
+ patient_editor.dialog.set_transient_for (resource_manager.user_interface.window);
+ patient_editor.run();
+ patient_editor.destroy ();
+ }
+
+- private void on_delete_menuitem_activated (MenuItem item) {
++ private void on_delete_menuitem_activated (Gtk.MenuItem item) {
+ view.remove_selected_patient ();
+ }
+
+- private void on_view_visits_menuitem_activated (MenuItem item) {
++ private void on_view_visits_menuitem_activated (Gtk.MenuItem item) {
+ resource_manager.user_interface.show_visit_window (patient);
+ }
+ }
+diff -Naur clinica-0.2.1.orig/libclinica/UserInterface.vala clinica-0.2.1/libclinica/UserInterface.vala
+--- clinica-0.2.1.orig/libclinica/UserInterface.vala 2011-12-09 19:15:27.000000000 +0100
++++ clinica-0.2.1/libclinica/UserInterface.vala 2012-10-16 16:56:48.000000000 +0200
+@@ -216,7 +216,7 @@
+ /* Menu item */
+
+ [CCode (instance_pos = -1)]
+- public void on_new_patient_menu_item_activate (MenuItem item) {
++ public void on_new_patient_menu_item_activate (Gtk.MenuItem item) {
+ var new_patient_dialog = new PatientEditor (resource_manager);
+ new_patient_dialog.dialog.set_transient_for (window);
+ new_patient_dialog.run ();
+@@ -224,7 +224,7 @@
+ }
+
+ [CCode (instance_pos = -1)]
+- public void on_new_doctor_menu_item_activate (MenuItem item) {
++ public void on_new_doctor_menu_item_activate (Gtk.MenuItem item) {
+ var new_doc_dialog = new DoctorEditor (resource_manager);
+ new_doc_dialog.dialog.set_transient_for (window);
+ new_doc_dialog.run ();
+@@ -232,22 +232,22 @@
+ }
+
+ [CCode (instance_pos = -1)]
+- public void on_patient_menu_item_activate (MenuItem item) {
++ public void on_patient_menu_item_activate (Gtk.MenuItem item) {
+ show_patient_list_page ();
+ }
+
+ [CCode (instance_pos = -1)]
+- public void on_doctor_menu_item_activate (MenuItem item) {
++ public void on_doctor_menu_item_activate (Gtk.MenuItem item) {
+ show_doctor_list_page ();
+ }
+
+ [CCode (instance_pos = -1)]
+- public void on_home_menu_item_activate (MenuItem item) {
++ public void on_home_menu_item_activate (Gtk.MenuItem item) {
+ show_start_page();
+ }
+
+ [CCode (instance_pos = -1)]
+- public void on_search_medicines_menu_item_activate (MenuItem item) {
++ public void on_search_medicines_menu_item_activate (Gtk.MenuItem item) {
+ set_page (medicine_search_page);
+ }
+
+@@ -260,7 +260,7 @@
+ }
+
+ [CCode (instance_pos = -1)]
+- public void on_settings_menu_item_activate (MenuItem item) {
++ public void on_settings_menu_item_activate (Gtk.MenuItem item) {
+ if (settings_manager == null){
+ settings_manager = new SettingsManager (resource_manager);
+ /* Dereference the window on release to make it be freed and
+@@ -275,7 +275,7 @@
+ }
+
+ [CCode (instance_pos = -1)]
+- public void on_help_menu_item_activate (MenuItem item) {
++ public void on_help_menu_item_activate (Gtk.MenuItem item) {
+ try {
+ Gtk.show_uri (this.window.get_screen (), "ghelp:clinica", Gdk.CURRENT_TIME);
+ } catch (GLib.Error e) {
+diff -Naur clinica-0.2.1.orig/libclinica/VisitDetail.vala clinica-0.2.1/libclinica/VisitDetail.vala
+--- clinica-0.2.1.orig/libclinica/VisitDetail.vala 2011-12-09 18:29:19.000000000 +0100
++++ clinica-0.2.1/libclinica/VisitDetail.vala 2012-10-16 16:53:08.000000000 +0200
+@@ -87,10 +87,10 @@
+ */
+ private bool on_button_press_event (Widget widget, EventButton event) {
+ if (event.button == 3 && event.type == EventType.BUTTON_PRESS) {
+- var popup_menu = new Menu ();
++ var popup_menu = new Gtk.Menu ();
+ popup_menu.attach_to_widget (this, null);
+
+- var open_visit_menu_item = new MenuItem.with_label (_("Show details"));
++ var open_visit_menu_item = new Gtk.MenuItem.with_label (_("Show details"));
+ open_visit_menu_item.activate.connect (on_open_visit_menu_item_activate);
+ popup_menu.append (open_visit_menu_item);
+
+@@ -102,7 +102,7 @@
+ return false;
+ }
+
+- private void on_open_visit_menu_item_activate (MenuItem? item = null) {
++ private void on_open_visit_menu_item_activate (Gtk.MenuItem? item = null) {
+ var visit_window = resource_manager.user_interface.show_visit_window (associated_visit.patient);
+ visit_window.select_visit (associated_visit);
+ }
diff --git a/community/mythtv/PKGBUILD b/community/mythtv/PKGBUILD
index 9bb22db0a..4a9e0c106 100644
--- a/community/mythtv/PKGBUILD
+++ b/community/mythtv/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 77156 2012-10-05 23:37:53Z jconder $
+# $Id: PKGBUILD 78022 2012-10-16 04:42:30Z jconder $
# Maintainer: Jonathan Conder <jonno.conder@gmail.com>
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Juergen Hoetzel <juergen@archlinux.org>
@@ -7,18 +7,18 @@
pkgname=mythtv
pkgver=0.26.0
-pkgrel=1
+pkgrel=2
epoch=1
pkgdesc="A Homebrew PVR project"
arch=('i686' 'x86_64')
url="http://www.mythtv.org/"
license=('GPL')
depends=('avahi' 'fftw' 'lame' 'libass' 'libavc1394' 'libcdio' 'libiec61883'
- 'libpulse' 'libva' 'libvdpau' 'libxinerama' 'lirc-utils' 'mesa'
+ 'libpulse' 'libva' 'libvdpau' 'libxinerama' 'lirc-utils'
'mysql-clients' 'mysql-python' 'perl-dbd-mysql' 'perl-io-socket-inet6'
'perl-libwww' 'perl-net-upnp' 'python2-lxml' 'qtwebkit' 'urlgrabber'
'x264')
-makedepends=('glew' 'libcec' 'libxml2' 'openssl' 'yasm')
+makedepends=('glew' 'libcec' 'libxml2' 'mesa' 'openssl' 'yasm')
optdepends=('glew: for GPU commercial flagging'
'libcec: for consumer electronics control capabilities'
'libxml2: to read blu-ray metadata'
@@ -41,8 +41,6 @@ build() {
cd "$srcdir/$pkgname-$pkgver"
find 'bindings/python' 'contrib' -type f | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@'
- sed -re 's@Key, &@Key, @' -i 'bindings/php/MythBase.php'
-
ARCH="${CARCH/_/-}"
./configure --prefix=/usr \
--cpu="$ARCH" \
diff --git a/community/percona-server/PKGBUILD b/community/percona-server/PKGBUILD
index 6bc5be4ad..5bd5767e0 100644
--- a/community/percona-server/PKGBUILD
+++ b/community/percona-server/PKGBUILD
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD 75924 2012-09-05 16:47:49Z mtorromeo $
+# $Id: PKGBUILD 78026 2012-10-16 09:34:44Z mtorromeo $
# Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
pkgname=percona-server
-pkgver=5.5.27_rel28.1
+pkgver=5.5.27_rel29.0
pkgrel=1
pkgdesc="A backwards-compatible drop-in replacement for MySQL that provides improved performance, diagnostics and instrumentation, and manageability of the server"
arch=('i686' 'x86_64')
@@ -36,10 +36,9 @@ build() {
# CFLAGS/CXXFLAGS as suggested upstream
CFLAGS="-fPIC ${CFLAGS} -fno-strict-aliasing -DBIG_JOINS=1 -fomit-frame-pointer" \
- CXXFLAGS="-fPIC ${CXXFLAGS} -fno-strict-aliasing -DBIG_JOINS=1 -felide-constructors -fno-rtti" \
+ CXXFLAGS="-fPIC ${CXXFLAGS} -fno-strict-aliasing -DBIG_JOINS=1 -felide-constructors -fno-rtti -fpermissive" \
cmake "${srcdir}/Percona-Server-${pkgver/_/-}" \
- -DMANUFACTURER=Arch \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DSYSCONFDIR=/etc/mysql \
@@ -106,7 +105,7 @@ package() {
install -Dm755 "$srcdir/mysqld-post" "$pkgdir/usr/bin/mysqld-post"
}
-sha256sums=('bf32acb0b56d3bfabf65748bbbcb5cfce33191bd31893040ed7e2aebc3548df4'
+sha256sums=('4ba9e3300d99bfdbf65dd1a00e51da5bddc1582e33a58219b5184075783889ce'
'e875fac56f69634b4f1720aec3b952fc63903414e9345af630e5fd74b5373eb4'
'400e9a6e6517bbfe0971b65456dfacfb363cb54a644e4c2bacd373171611d5aa'
'4894d39605950d86841ad982e619daa6c8d5d60ca30928d7dbb582e8cb3ade32'