Date: Tuesday, October 22, 2013 @ 09:25:11
  Author: fyan
Revision: 98985

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  pidgin-hotkeys/repos/community-testing-i686/
  pidgin-hotkeys/repos/community-testing-i686/PKGBUILD
    (from rev 98984, pidgin-hotkeys/trunk/PKGBUILD)
  pidgin-hotkeys/repos/community-testing-i686/pidgin-hotkeys.patch
    (from rev 98984, pidgin-hotkeys/trunk/pidgin-hotkeys.patch)
  pidgin-hotkeys/repos/community-testing-x86_64/
  pidgin-hotkeys/repos/community-testing-x86_64/PKGBUILD
    (from rev 98984, pidgin-hotkeys/trunk/PKGBUILD)
  pidgin-hotkeys/repos/community-testing-x86_64/pidgin-hotkeys.patch
    (from rev 98984, pidgin-hotkeys/trunk/pidgin-hotkeys.patch)

-----------------------------------------------+
 community-testing-i686/PKGBUILD               |   31 ++++++++++++++++++++++++
 community-testing-i686/pidgin-hotkeys.patch   |   24 ++++++++++++++++++
 community-testing-x86_64/PKGBUILD             |   31 ++++++++++++++++++++++++
 community-testing-x86_64/pidgin-hotkeys.patch |   24 ++++++++++++++++++
 4 files changed, 110 insertions(+)

Copied: pidgin-hotkeys/repos/community-testing-i686/PKGBUILD (from rev 98984, 
pidgin-hotkeys/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD                             (rev 0)
+++ community-testing-i686/PKGBUILD     2013-10-22 07:25:11 UTC (rev 98985)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Felix Yan <[email protected]>
+# Contributor: Lukas Fleischer <archlinux at cryptocrack dot de>
+# Contributor: detto <[email protected]>
+
+pkgname=pidgin-hotkeys
+pkgver=0.2.4
+pkgrel=3
+pkgdesc="A Pidgin plugin that allows you to define global hotkeys."
+arch=('i686' 'x86_64')
+url="http://pidgin-hotkeys.sourceforge.net";
+license=('GPL')
+depends=('pidgin')
+source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz";
+        "pidgin-hotkeys.patch")
+md5sums=('553aae7319861af9e8716bfe0ba45c30'
+         '0726353af56270164d7af88470722dd0')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  patch -Np0 -i ../pidgin-hotkeys.patch
+
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+}

Copied: pidgin-hotkeys/repos/community-testing-i686/pidgin-hotkeys.patch (from 
rev 98984, pidgin-hotkeys/trunk/pidgin-hotkeys.patch)
===================================================================
--- community-testing-i686/pidgin-hotkeys.patch                         (rev 0)
+++ community-testing-i686/pidgin-hotkeys.patch 2013-10-22 07:25:11 UTC (rev 
98985)
@@ -0,0 +1,24 @@
+--- src/hotkeys.c      2007-06-22 20:37:00.000000000 +0200
++++ src/hotkeys.c      2008-04-18 16:08:46.000000000 +0200
+@@ -152,15 +152,19 @@
+ 
+             if ((l = get_pending_list(1)))
+           {
+-              pidgin_conv_present_conversation((PurpleConversation *)l->data);
++                      PurpleConversation *conv = l->data;
++              pidgin_conv_present_conversation(conv);
+ 
+ #ifdef GDK_WINDOWING_X11
+               {
+                   GtkWindow *gtkwindow;
++                      PidginConversation *gtkconv = PIDGIN_CONVERSATION(conv);
+ 
+-                  gtkwindow = 
GTK_WINDOW(pidgin_conv_get_window(PIDGIN_CONVERSATION((PurpleConversation 
*)l->data))->window);
++                  gtkwindow = 
GTK_WINDOW(pidgin_conv_get_window(PIDGIN_CONVERSATION(conv))->window);
+                   /*gtk_window_present(gtkwindow);*/
+                   hacky_active_window(GTK_WIDGET(gtkwindow));
++
++                      pidgin_conv_window_switch_gtkconv(gtkconv->win, 
gtkconv);
+               }
+ #endif
+               g_list_free(l);

Copied: pidgin-hotkeys/repos/community-testing-x86_64/PKGBUILD (from rev 98984, 
pidgin-hotkeys/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD                           (rev 0)
+++ community-testing-x86_64/PKGBUILD   2013-10-22 07:25:11 UTC (rev 98985)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Felix Yan <[email protected]>
+# Contributor: Lukas Fleischer <archlinux at cryptocrack dot de>
+# Contributor: detto <[email protected]>
+
+pkgname=pidgin-hotkeys
+pkgver=0.2.4
+pkgrel=3
+pkgdesc="A Pidgin plugin that allows you to define global hotkeys."
+arch=('i686' 'x86_64')
+url="http://pidgin-hotkeys.sourceforge.net";
+license=('GPL')
+depends=('pidgin')
+source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz";
+        "pidgin-hotkeys.patch")
+md5sums=('553aae7319861af9e8716bfe0ba45c30'
+         '0726353af56270164d7af88470722dd0')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  patch -Np0 -i ../pidgin-hotkeys.patch
+
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+}

Copied: pidgin-hotkeys/repos/community-testing-x86_64/pidgin-hotkeys.patch 
(from rev 98984, pidgin-hotkeys/trunk/pidgin-hotkeys.patch)
===================================================================
--- community-testing-x86_64/pidgin-hotkeys.patch                               
(rev 0)
+++ community-testing-x86_64/pidgin-hotkeys.patch       2013-10-22 07:25:11 UTC 
(rev 98985)
@@ -0,0 +1,24 @@
+--- src/hotkeys.c      2007-06-22 20:37:00.000000000 +0200
++++ src/hotkeys.c      2008-04-18 16:08:46.000000000 +0200
+@@ -152,15 +152,19 @@
+ 
+             if ((l = get_pending_list(1)))
+           {
+-              pidgin_conv_present_conversation((PurpleConversation *)l->data);
++                      PurpleConversation *conv = l->data;
++              pidgin_conv_present_conversation(conv);
+ 
+ #ifdef GDK_WINDOWING_X11
+               {
+                   GtkWindow *gtkwindow;
++                      PidginConversation *gtkconv = PIDGIN_CONVERSATION(conv);
+ 
+-                  gtkwindow = 
GTK_WINDOW(pidgin_conv_get_window(PIDGIN_CONVERSATION((PurpleConversation 
*)l->data))->window);
++                  gtkwindow = 
GTK_WINDOW(pidgin_conv_get_window(PIDGIN_CONVERSATION(conv))->window);
+                   /*gtk_window_present(gtkwindow);*/
+                   hacky_active_window(GTK_WIDGET(gtkwindow));
++
++                      pidgin_conv_window_switch_gtkconv(gtkconv->win, 
gtkconv);
+               }
+ #endif
+               g_list_free(l);

Reply via email to