[arch-commits] Commit in xfce4-screenshooter/repos (11 files)

Evangelos Foutras foutrelis at archlinux.org
Mon Apr 30 00:21:11 EDT 2012


    Date: Monday, April 30, 2012 @ 00:21:10
  Author: foutrelis
Revision: 157880

db-move: moved xfce4-screenshooter from [testing] to [extra] (i686)

Added:
  xfce4-screenshooter/repos/extra-i686/PKGBUILD
    (from rev 157813, xfce4-screenshooter/repos/testing-i686/PKGBUILD)
  xfce4-screenshooter/repos/extra-i686/fix_segfault.diff
    (from rev 157813, xfce4-screenshooter/repos/testing-i686/fix_segfault.diff)
  xfce4-screenshooter/repos/extra-i686/fs-25873-segfault-in-awesome-wm.patch
    (from rev 157813, xfce4-screenshooter/repos/testing-i686/fs-25873-segfault-in-awesome-wm.patch)
  xfce4-screenshooter/repos/extra-i686/xfce4-screenshooter-1.7.9-dsofix.patch
    (from rev 157813, xfce4-screenshooter/repos/testing-i686/xfce4-screenshooter-1.7.9-dsofix.patch)
  xfce4-screenshooter/repos/extra-i686/xfce4-screenshooter.install
    (from rev 157813, xfce4-screenshooter/repos/testing-i686/xfce4-screenshooter.install)
Deleted:
  xfce4-screenshooter/repos/extra-i686/PKGBUILD
  xfce4-screenshooter/repos/extra-i686/fix_segfault.diff
  xfce4-screenshooter/repos/extra-i686/fs-25873-segfault-in-awesome-wm.patch
  xfce4-screenshooter/repos/extra-i686/xfce4-screenshooter-1.7.9-dsofix.patch
  xfce4-screenshooter/repos/extra-i686/xfce4-screenshooter.install
  xfce4-screenshooter/repos/testing-i686/

----------------------------------------+
 PKGBUILD                               |  100 +++++++++++++++----------------
 fix_segfault.diff                      |   34 +++++-----
 fs-25873-segfault-in-awesome-wm.patch  |   42 ++++++-------
 xfce4-screenshooter-1.7.9-dsofix.patch |   22 +++---
 xfce4-screenshooter.install            |   26 ++++----
 5 files changed, 112 insertions(+), 112 deletions(-)

Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2012-04-30 04:21:07 UTC (rev 157879)
+++ extra-i686/PKGBUILD	2012-04-30 04:21:10 UTC (rev 157880)
@@ -1,50 +0,0 @@
-# $Id$
-# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
-# Contributor: Tobias Kieslich <tobias (at) archlinux.org>
-
-pkgname=xfce4-screenshooter
-pkgver=1.8.0
-pkgrel=2
-pkgdesc="Plugin that makes screenshots for the Xfce panel"
-arch=('i686' 'x86_64')
-url="http://goodies.xfce.org/projects/applications/xfce4-screenshooter"
-license=('GPL2')
-groups=('xfce4-goodies')
-depends=('xfce4-panel' 'libsoup' 'hicolor-icon-theme')
-makedepends=('intltool')
-install=$pkgname.install
-options=('!libtool')
-source=(http://archive.xfce.org/src/apps/$pkgname/1.8/$pkgname-$pkgver.tar.bz2
-        xfce4-screenshooter-1.7.9-dsofix.patch
-        fs-25873-segfault-in-awesome-wm.patch)
-conflicts=('xfce4-screenshooter-plugin')
-replaces=('xfce4-screenshooter-plugin')
-sha256sums=('68748a42ae68c5a8e9ed1c14ec5c741a344ab30b5b325b8812220539548ad83e'
-            '6902495c0394af19a76e2f90399ca7295e8dfb3ffb29d3b4f3b3a9fb7489c464'
-            '76cc9127167c9f4a800b01e9d16b85bf3af335d0eb44588d859739aa9d457e38')
-
-build() {
-  cd "$srcdir/$pkgname-$pkgver"
-
-  patch -Np1 -i "$srcdir/xfce4-screenshooter-1.7.9-dsofix.patch"
-
-  # segfaults trying to capture screenshot of active window in awesome WM
-  # https://bugs.archlinux.org/task/25873
-  # patch by Bruno Ramos @ https://bugzilla.xfce.org/show_bug.cgi?id=8080#c2
-  patch -Np1 -i "$srcdir/fs-25873-segfault-in-awesome-wm.patch"
-
-  ./configure --prefix=/usr \
-    --sysconfdir=/etc \
-    --libexecdir=/usr/lib \
-    --localstatedir=/var \
-    --disable-static \
-    --disable-debug
-  make
-}
-
-package() {
-  cd "$srcdir/$pkgname-$pkgver"
-  make DESTDIR="$pkgdir" install
-}
-
-# vim:set ts=2 sw=2 et:

Copied: xfce4-screenshooter/repos/extra-i686/PKGBUILD (from rev 157813, xfce4-screenshooter/repos/testing-i686/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2012-04-30 04:21:10 UTC (rev 157880)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+# Contributor: Tobias Kieslich <tobias (at) archlinux.org>
+
+pkgname=xfce4-screenshooter
+pkgver=1.8.0
+pkgrel=3
+pkgdesc="Plugin that makes screenshots for the Xfce panel"
+arch=('i686' 'x86_64')
+url="http://goodies.xfce.org/projects/applications/xfce4-screenshooter"
+license=('GPL2')
+groups=('xfce4-goodies')
+depends=('xfce4-panel' 'libsoup' 'hicolor-icon-theme')
+makedepends=('intltool')
+install=$pkgname.install
+options=('!libtool')
+source=(http://archive.xfce.org/src/apps/$pkgname/1.8/$pkgname-$pkgver.tar.bz2
+        xfce4-screenshooter-1.7.9-dsofix.patch
+        fs-25873-segfault-in-awesome-wm.patch)
+conflicts=('xfce4-screenshooter-plugin')
+replaces=('xfce4-screenshooter-plugin')
+sha256sums=('68748a42ae68c5a8e9ed1c14ec5c741a344ab30b5b325b8812220539548ad83e'
+            '6902495c0394af19a76e2f90399ca7295e8dfb3ffb29d3b4f3b3a9fb7489c464'
+            '76cc9127167c9f4a800b01e9d16b85bf3af335d0eb44588d859739aa9d457e38')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  patch -Np1 -i "$srcdir/xfce4-screenshooter-1.7.9-dsofix.patch"
+
+  # segfaults trying to capture screenshot of active window in awesome WM
+  # https://bugs.archlinux.org/task/25873
+  # patch by Bruno Ramos @ https://bugzilla.xfce.org/show_bug.cgi?id=8080#c2
+  patch -Np1 -i "$srcdir/fs-25873-segfault-in-awesome-wm.patch"
+
+  ./configure --prefix=/usr \
+    --sysconfdir=/etc \
+    --libexecdir=/usr/lib \
+    --localstatedir=/var \
+    --disable-static \
+    --disable-debug
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:

Deleted: extra-i686/fix_segfault.diff
===================================================================
--- extra-i686/fix_segfault.diff	2012-04-30 04:21:07 UTC (rev 157879)
+++ extra-i686/fix_segfault.diff	2012-04-30 04:21:10 UTC (rev 157880)
@@ -1,17 +0,0 @@
---- xfce4-screenshooter-1.7.9/lib/screenshooter-utils.c.orig	2010-01-02 12:42:24.000000000 +0100
-+++ xfce4-screenshooter-1.7.9/lib/screenshooter-utils.c	2010-05-20 22:40:38.347861374 +0200
-@@ -94,11 +94,11 @@
-           g_free (title);
-           title =
-             g_strdup (xfce_rc_read_entry (rc, "title", _("Screenshot")));
--        }
- 
--      TRACE ("Close the rc file");
-+          TRACE ("Close the rc file");
- 
--      xfce_rc_close (rc);
-+          xfce_rc_close (rc);
-+        }
-     }
- 
-   /* And set the sd values */

Copied: xfce4-screenshooter/repos/extra-i686/fix_segfault.diff (from rev 157813, xfce4-screenshooter/repos/testing-i686/fix_segfault.diff)
===================================================================
--- extra-i686/fix_segfault.diff	                        (rev 0)
+++ extra-i686/fix_segfault.diff	2012-04-30 04:21:10 UTC (rev 157880)
@@ -0,0 +1,17 @@
+--- xfce4-screenshooter-1.7.9/lib/screenshooter-utils.c.orig	2010-01-02 12:42:24.000000000 +0100
++++ xfce4-screenshooter-1.7.9/lib/screenshooter-utils.c	2010-05-20 22:40:38.347861374 +0200
+@@ -94,11 +94,11 @@
+           g_free (title);
+           title =
+             g_strdup (xfce_rc_read_entry (rc, "title", _("Screenshot")));
+-        }
+ 
+-      TRACE ("Close the rc file");
++          TRACE ("Close the rc file");
+ 
+-      xfce_rc_close (rc);
++          xfce_rc_close (rc);
++        }
+     }
+ 
+   /* And set the sd values */

Deleted: extra-i686/fs-25873-segfault-in-awesome-wm.patch
===================================================================
--- extra-i686/fs-25873-segfault-in-awesome-wm.patch	2012-04-30 04:21:07 UTC (rev 157879)
+++ extra-i686/fs-25873-segfault-in-awesome-wm.patch	2012-04-30 04:21:10 UTC (rev 157880)
@@ -1,21 +0,0 @@
---- a/lib/screenshooter-capture.c	
-+++ a/lib/screenshooter-capture.c	
-@@ -381,6 +381,18 @@ static GdkPixbuf
-                   rec_height += rectangle.y;
-                 }
- 
-+              if (rec_x < 0)
-+                {
-+                  rec_width = rec_width + rec_x;
-+                  rec_x = 0;
-+                }
-+
-+              if (rec_y < 0)
-+                {
-+                  rec_height = rec_height + rec_y;
-+                  rec_y = 0;
-+                }
-+
-               if (x_orig + rec_x + rec_width > gdk_screen_width ())
-                 rec_width = gdk_screen_width () - x_orig - rec_x;
- 

Copied: xfce4-screenshooter/repos/extra-i686/fs-25873-segfault-in-awesome-wm.patch (from rev 157813, xfce4-screenshooter/repos/testing-i686/fs-25873-segfault-in-awesome-wm.patch)
===================================================================
--- extra-i686/fs-25873-segfault-in-awesome-wm.patch	                        (rev 0)
+++ extra-i686/fs-25873-segfault-in-awesome-wm.patch	2012-04-30 04:21:10 UTC (rev 157880)
@@ -0,0 +1,21 @@
+--- a/lib/screenshooter-capture.c	
++++ a/lib/screenshooter-capture.c	
+@@ -381,6 +381,18 @@ static GdkPixbuf
+                   rec_height += rectangle.y;
+                 }
+ 
++              if (rec_x < 0)
++                {
++                  rec_width = rec_width + rec_x;
++                  rec_x = 0;
++                }
++
++              if (rec_y < 0)
++                {
++                  rec_height = rec_height + rec_y;
++                  rec_y = 0;
++                }
++
+               if (x_orig + rec_x + rec_width > gdk_screen_width ())
+                 rec_width = gdk_screen_width () - x_orig - rec_x;
+ 

Deleted: extra-i686/xfce4-screenshooter-1.7.9-dsofix.patch
===================================================================
--- extra-i686/xfce4-screenshooter-1.7.9-dsofix.patch	2012-04-30 04:21:07 UTC (rev 157879)
+++ extra-i686/xfce4-screenshooter-1.7.9-dsofix.patch	2012-04-30 04:21:10 UTC (rev 157880)
@@ -1,11 +0,0 @@
---- xfce4-screenshooter-1.7.9.orig/Makefile.in	2010-02-07 14:45:15.000000000 +0100
-+++ xfce4-screenshooter-1.7.9/Makefile.in	2010-02-16 23:57:31.000000000 +0100
-@@ -282,7 +282,7 @@
- INTLTOOL_PERL = @INTLTOOL_PERL@
- INTLTOOL_UPDATE = @INTLTOOL_UPDATE@
- LD = @LD@
--LDFLAGS = @LDFLAGS@
-+LDFLAGS = @LDFLAGS@ -lm -lX11
- LIBOBJS = @LIBOBJS@
- LIBS = @LIBS@
- LIBTOOL = @LIBTOOL@

Copied: xfce4-screenshooter/repos/extra-i686/xfce4-screenshooter-1.7.9-dsofix.patch (from rev 157813, xfce4-screenshooter/repos/testing-i686/xfce4-screenshooter-1.7.9-dsofix.patch)
===================================================================
--- extra-i686/xfce4-screenshooter-1.7.9-dsofix.patch	                        (rev 0)
+++ extra-i686/xfce4-screenshooter-1.7.9-dsofix.patch	2012-04-30 04:21:10 UTC (rev 157880)
@@ -0,0 +1,11 @@
+--- xfce4-screenshooter-1.7.9.orig/Makefile.in	2010-02-07 14:45:15.000000000 +0100
++++ xfce4-screenshooter-1.7.9/Makefile.in	2010-02-16 23:57:31.000000000 +0100
+@@ -282,7 +282,7 @@
+ INTLTOOL_PERL = @INTLTOOL_PERL@
+ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@
+ LD = @LD@
+-LDFLAGS = @LDFLAGS@
++LDFLAGS = @LDFLAGS@ -lm -lX11
+ LIBOBJS = @LIBOBJS@
+ LIBS = @LIBS@
+ LIBTOOL = @LIBTOOL@

Deleted: extra-i686/xfce4-screenshooter.install
===================================================================
--- extra-i686/xfce4-screenshooter.install	2012-04-30 04:21:07 UTC (rev 157879)
+++ extra-i686/xfce4-screenshooter.install	2012-04-30 04:21:10 UTC (rev 157880)
@@ -1,13 +0,0 @@
-post_install() {
-  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
-}
-
-post_upgrade() {
-  post_install
-}
-
-post_remove() {
-  post_install
-}
-
-# vim:set ts=2 sw=2 et:

Copied: xfce4-screenshooter/repos/extra-i686/xfce4-screenshooter.install (from rev 157813, xfce4-screenshooter/repos/testing-i686/xfce4-screenshooter.install)
===================================================================
--- extra-i686/xfce4-screenshooter.install	                        (rev 0)
+++ extra-i686/xfce4-screenshooter.install	2012-04-30 04:21:10 UTC (rev 157880)
@@ -0,0 +1,13 @@
+post_install() {
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list