[ create a new paste ] login | about

Link: http://codepad.org/YTu1leKh    [ raw code | fork ]

Plain Text, pasted on Mar 16:
diff -rNu3 aur-gnome-gmail-notifier/ChangeLog aur-gnome-gmail-notifier-new/ChangeLog
--- aur-gnome-gmail-notifier/ChangeLog	2011-03-19 18:53:45.000000000 +0300
+++ aur-gnome-gmail-notifier-new/ChangeLog	2013-03-16 18:58:34.676759099 +0400
@@ -1,3 +1,8 @@
+2013-03-16 Nikolay "abbradar" Amiantov  <nikoamia@gmail.com>
+
+	* PKGBUILD:
+	Added a patch to compile against the new glib
+
 2011-03-19 Angelo "Encelo" Theodorou  <encelo@users.sourceforge.net>
 
 	* PKGBUILD :
diff -rNu3 aur-gnome-gmail-notifier/PKGBUILD aur-gnome-gmail-notifier-new/PKGBUILD
--- aur-gnome-gmail-notifier/PKGBUILD	2011-03-19 19:05:55.000000000 +0300
+++ aur-gnome-gmail-notifier-new/PKGBUILD	2013-03-16 18:59:10.485399182 +0400
@@ -11,14 +11,15 @@
 license=('GPL2')
 depends=('gconf' 'libgnome-keyring' 'gstreamer0.10-good-plugins' 'libnotify' 'libsoup')
 makedepends=('intltool')
-source=(http://files.geekysuavo.org/notifier/${pkgname}-${pkgver}.tar.bz2 libnotify.patch)
-md5sums=('697dea845b968af0f3526bad36f5855a' '808d1fd8ff9ff5d63c661a3351922ff0')
+source=(http://files.geekysuavo.org/notifier/${pkgname}-${pkgver}.tar.bz2 libnotify.patch glib.patch)
+md5sums=('697dea845b968af0f3526bad36f5855a' '808d1fd8ff9ff5d63c661a3351922ff0' '6cc7bc9398d7dae15fe2561e3db86ba1')
 
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}
 
   ./autogen.sh && ./configure --prefix=/usr || return 1
   patch  -p1 < ../libnotify.patch
+  patch  -p1 < ../glib.patch
 
   make || return 1
   make DESTDIR=${pkgdir} install || return 1
diff -rNu3 aur-gnome-gmail-notifier/glib.patch aur-gnome-gmail-notifier-new/glib.patch
--- aur-gnome-gmail-notifier/glib.patch	1970-01-01 03:00:00.000000000 +0300
+++ aur-gnome-gmail-notifier-new/glib.patch	2013-03-16 18:57:07.946617898 +0400
@@ -0,0 +1,18 @@
+diff -ru3 gnome-gmail-notifier-0.10.1/src/main.h gnome-gmail-notifier-0.10.1-new/src/main.h
+--- gnome-gmail-notifier-0.10.1/src/main.h	2010-04-09 22:15:24.000000000 +0400
++++ gnome-gmail-notifier-0.10.1-new/src/main.h	2013-03-16 18:56:48.222810598 +0400
+@@ -46,14 +46,6 @@
+ #include <glib/gi18n.h>
+ 
+ /*
+- * glib explicit threading support include statement.
+- * this includes the gthread header and the pthread
+- * header.
+- */
+-#include <glib/gthread.h>
+-#include <pthread.h>
+-
+-/*
+  * gconf include statement. this includes the gconf
+  * headers required to determine the gnome default
+  * browser, so we can load gmail in a web browser



Create a new paste based on this one


Comments: