[arch-commits] Commit in xfdesktop/repos (10 files)

Evangelos Foutras foutrelis at nymeria.archlinux.org
Sun Mar 10 16:22:07 UTC 2013


    Date: Sunday, March 10, 2013 @ 17:22:07
  Author: foutrelis
Revision: 179856

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  xfdesktop/repos/extra-i686/PKGBUILD
    (from rev 179855, xfdesktop/trunk/PKGBUILD)
  xfdesktop/repos/extra-i686/xfdesktop.install
    (from rev 179855, xfdesktop/trunk/xfdesktop.install)
  xfdesktop/repos/extra-x86_64/PKGBUILD
    (from rev 179855, xfdesktop/trunk/PKGBUILD)
  xfdesktop/repos/extra-x86_64/xfdesktop.install
    (from rev 179855, xfdesktop/trunk/xfdesktop.install)
Deleted:
  xfdesktop/repos/extra-i686/PKGBUILD
  xfdesktop/repos/extra-i686/revert-SVG-images-are-no-longer-pixilated-when-scale.patch
  xfdesktop/repos/extra-i686/xfdesktop.install
  xfdesktop/repos/extra-x86_64/PKGBUILD
  xfdesktop/repos/extra-x86_64/revert-SVG-images-are-no-longer-pixilated-when-scale.patch
  xfdesktop/repos/extra-x86_64/xfdesktop.install

-------------------------------------------------------------------------+
 extra-i686/PKGBUILD                                                     |   92 +++-----
 extra-i686/revert-SVG-images-are-no-longer-pixilated-when-scale.patch   |  108 ----------
 extra-i686/xfdesktop.install                                            |   26 +-
 extra-x86_64/PKGBUILD                                                   |   92 +++-----
 extra-x86_64/revert-SVG-images-are-no-longer-pixilated-when-scale.patch |  108 ----------
 extra-x86_64/xfdesktop.install                                          |   26 +-
 6 files changed, 112 insertions(+), 340 deletions(-)

Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2013-03-10 16:21:48 UTC (rev 179855)
+++ extra-i686/PKGBUILD	2013-03-10 16:22:07 UTC (rev 179856)
@@ -1,49 +0,0 @@
-# $Id$
-# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
-# Contributor: tobias <tobias funnychar archlinux.org>
-
-pkgname=xfdesktop
-pkgver=4.10.1
-pkgrel=2
-pkgdesc="A desktop manager for Xfce"
-arch=('i686' 'x86_64')
-url="http://www.xfce.org/"
-license=('GPL2')
-groups=('xfce4')
-depends=('libxfce4ui' 'thunar' 'garcon' 'hicolor-icon-theme' 'libwnck')
-makedepends=('intltool')
-conflicts=('xfce4-menueditor')
-replaces=('xfce4-menueditor')
-options=('!libtool')
-install=xfdesktop.install
-source=(http://archive.xfce.org/src/xfce/$pkgname/4.10/$pkgname-$pkgver.tar.bz2
-        revert-SVG-images-are-no-longer-pixilated-when-scale.patch)
-sha256sums=('2883fe381e1b967d179fdf5ece5ac2566a3ffdb94f4cf139c7fb44567f17d4ad'
-            '94274832eede98a7d99652ff90ecabd932b46b0f002c25297ddd6f0c346aa3d0')
-
-build() {
-  cd "$srcdir/$pkgname-$pkgver"
-
-  # Fix hang when solid color is selected
-  # https://bugzilla.xfce.org/show_bug.cgi?id=9892
-  patch -Np1 -i "$srcdir/revert-SVG-images-are-no-longer-pixilated-when-scale.patch"
-
-  ./configure \
-    --prefix=/usr \
-    --sysconfdir=/etc \
-    --libexecdir=/usr/lib \
-    --localstatedir=/var \
-    --disable-static \
-    --enable-gio-unix \
-    --enable-thunarx \
-    --enable-notifications \
-    --disable-debug
-  make
-}
-
-package() {
-  cd "$srcdir/$pkgname-$pkgver"
-  make DESTDIR="$pkgdir" install
-}
-
-# vim:set ts=2 sw=2 et:

Copied: xfdesktop/repos/extra-i686/PKGBUILD (from rev 179855, xfdesktop/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2013-03-10 16:22:07 UTC (rev 179856)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+# Contributor: tobias <tobias funnychar archlinux.org>
+
+pkgname=xfdesktop
+pkgver=4.10.2
+pkgrel=1
+pkgdesc="A desktop manager for Xfce"
+arch=('i686' 'x86_64')
+url="http://www.xfce.org/"
+license=('GPL2')
+groups=('xfce4')
+depends=('libxfce4ui' 'thunar' 'garcon' 'hicolor-icon-theme' 'libwnck')
+makedepends=('intltool')
+conflicts=('xfce4-menueditor')
+replaces=('xfce4-menueditor')
+options=('!libtool')
+install=xfdesktop.install
+source=(http://archive.xfce.org/src/xfce/$pkgname/4.10/$pkgname-$pkgver.tar.bz2)
+sha256sums=('49a6e0be513e307e896f7e5929825babec9bbcd4b2e73552f9d27647a4db797d')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  ./configure \
+    --prefix=/usr \
+    --sysconfdir=/etc \
+    --libexecdir=/usr/lib \
+    --localstatedir=/var \
+    --disable-static \
+    --enable-gio-unix \
+    --enable-thunarx \
+    --enable-notifications \
+    --disable-debug
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:

Deleted: extra-i686/revert-SVG-images-are-no-longer-pixilated-when-scale.patch
===================================================================
--- extra-i686/revert-SVG-images-are-no-longer-pixilated-when-scale.patch	2013-03-10 16:21:48 UTC (rev 179855)
+++ extra-i686/revert-SVG-images-are-no-longer-pixilated-when-scale.patch	2013-03-10 16:22:07 UTC (rev 179856)
@@ -1,108 +0,0 @@
-From 8c868b20f3e19871f3f09e972cd20dbe3640084a Mon Sep 17 00:00:00 2001
-From: Evangelos Foutras <evangelos at foutrelis.com>
-Date: Wed, 6 Mar 2013 04:27:07 +0200
-Subject: [PATCH] Revert "SVG images are no longer pixilated when scaled up"
-
-This reverts commit ebad377e5cd067cec9f2b402dff4991ddc4cc3b5.
----
- src/xfce-backdrop.c | 38 +++++++++++++++++---------------------
- 1 file changed, 17 insertions(+), 21 deletions(-)
-
-diff --git a/src/xfce-backdrop.c b/src/xfce-backdrop.c
-index 9a4d7db..b07492f 100644
---- a/src/xfce-backdrop.c
-+++ b/src/xfce-backdrop.c
-@@ -933,10 +933,17 @@ xfce_backdrop_get_pixbuf(XfceBackdrop *backdrop)
-     
-     g_return_val_if_fail(XFCE_IS_BACKDROP(backdrop), NULL);
-     
--    if(backdrop->priv->show_image && backdrop->priv->image_path)
--        gdk_pixbuf_get_file_info(backdrop->priv->image_path, &iw, &ih);
--
-+    if(backdrop->priv->show_image && backdrop->priv->image_path) {
-+        image = gdk_pixbuf_new_from_file(backdrop->priv->image_path, NULL);
-+        if(image) {
-+            iw = gdk_pixbuf_get_width(image);
-+            ih = gdk_pixbuf_get_height(image);
-+        }
-+    }
-+    
-     if(backdrop->priv->width == 0 || backdrop->priv->height == 0) {
-+        if(!image)
-+            return NULL;
-         w = iw;
-         h = ih;
-     } else {
-@@ -956,9 +963,7 @@ xfce_backdrop_get_pixbuf(XfceBackdrop *backdrop)
-             final_image = create_solid(&backdrop->priv->color1, w, h, FALSE, 0xff);
-     }
-     
--    /*check if the file exists,
--     *and if it doesn't then make the background the single colour*/
--    if(!g_file_test(backdrop->priv->image_path, G_FILE_TEST_EXISTS)) {
-+    if(!image) {
-         if(backdrop->priv->brightness != 0)
-             final_image = adjust_brightness(final_image, backdrop->priv->brightness);
-         
-@@ -996,7 +1001,6 @@ xfce_backdrop_get_pixbuf(XfceBackdrop *backdrop)
-     
-     switch(istyle) {
-         case XFCE_BACKDROP_IMAGE_CENTERED:
--            image = gdk_pixbuf_new_from_file(backdrop->priv->image_path, NULL);
-             dx = MAX((w - iw) / 2, 0);
-             dy = MAX((h - ih) / 2, 0);
-             xo = MIN((w - iw) / 2, dx);
-@@ -1007,7 +1011,6 @@ xfce_backdrop_get_pixbuf(XfceBackdrop *backdrop)
-             break;
-         
-         case XFCE_BACKDROP_IMAGE_TILED:
--            image = gdk_pixbuf_new_from_file(backdrop->priv->image_path, NULL);
-             tmp = gdk_pixbuf_new(GDK_COLORSPACE_RGB, TRUE, 8, w, h);
-             for(i = 0; (i * iw) < w; i++) {
-                 for(j = 0; (j * ih) < h; j++) {
-@@ -1030,10 +1033,10 @@ xfce_backdrop_get_pixbuf(XfceBackdrop *backdrop)
-             break;
-         
-         case XFCE_BACKDROP_IMAGE_STRETCHED:
--            image = gdk_pixbuf_new_from_file_at_scale(
--                            backdrop->priv->image_path, w, h, FALSE, NULL);
-+            xscale = (gdouble)w / iw;
-+            yscale = (gdouble)h / ih;
-             gdk_pixbuf_composite(image, final_image, 0, 0, w, h,
--                    0, 0, 1, 1, interp, 255);
-+                    0, 0, xscale, yscale, interp, 255);
-             break;
-         
-         case XFCE_BACKDROP_IMAGE_SCALED:
-@@ -1050,12 +1053,9 @@ xfce_backdrop_get_pixbuf(XfceBackdrop *backdrop)
-             }
-             dx = xo;
-             dy = yo;
--
--            image = gdk_pixbuf_new_from_file_at_scale(
--                        backdrop->priv->image_path, iw * xscale,
--                        ih * yscale, TRUE, NULL);
-+            
-             gdk_pixbuf_composite(image, final_image, dx, dy,
--                    iw * xscale, ih * yscale, xo, yo, 1, 1,
-+                    iw * xscale, ih * yscale, xo, yo, xscale, yscale,
-                     interp, 255);
-             break;
-         
-@@ -1071,12 +1071,8 @@ xfce_backdrop_get_pixbuf(XfceBackdrop *backdrop)
-                 xo = 0;
-                 yo = (h - (ih * yscale)) * 0.5;
-             }
--
--            image = gdk_pixbuf_new_from_file_at_scale(
--                                backdrop->priv->image_path, iw * xscale,
--                                ih * yscale, TRUE, NULL);
-             gdk_pixbuf_composite(image, final_image, 0, 0,
--                    w, h, xo, yo, 1, 1, interp, 255);
-+                    w, h, xo, yo, xscale, yscale, interp, 255);
-             break;
-         
-         default:
--- 
-1.8.1.5
-

Deleted: extra-i686/xfdesktop.install
===================================================================
--- extra-i686/xfdesktop.install	2013-03-10 16:21:48 UTC (rev 179855)
+++ extra-i686/xfdesktop.install	2013-03-10 16:22:07 UTC (rev 179856)
@@ -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: xfdesktop/repos/extra-i686/xfdesktop.install (from rev 179855, xfdesktop/trunk/xfdesktop.install)
===================================================================
--- extra-i686/xfdesktop.install	                        (rev 0)
+++ extra-i686/xfdesktop.install	2013-03-10 16:22:07 UTC (rev 179856)
@@ -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:

Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2013-03-10 16:21:48 UTC (rev 179855)
+++ extra-x86_64/PKGBUILD	2013-03-10 16:22:07 UTC (rev 179856)
@@ -1,49 +0,0 @@
-# $Id$
-# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
-# Contributor: tobias <tobias funnychar archlinux.org>
-
-pkgname=xfdesktop
-pkgver=4.10.1
-pkgrel=2
-pkgdesc="A desktop manager for Xfce"
-arch=('i686' 'x86_64')
-url="http://www.xfce.org/"
-license=('GPL2')
-groups=('xfce4')
-depends=('libxfce4ui' 'thunar' 'garcon' 'hicolor-icon-theme' 'libwnck')
-makedepends=('intltool')
-conflicts=('xfce4-menueditor')
-replaces=('xfce4-menueditor')
-options=('!libtool')
-install=xfdesktop.install
-source=(http://archive.xfce.org/src/xfce/$pkgname/4.10/$pkgname-$pkgver.tar.bz2
-        revert-SVG-images-are-no-longer-pixilated-when-scale.patch)
-sha256sums=('2883fe381e1b967d179fdf5ece5ac2566a3ffdb94f4cf139c7fb44567f17d4ad'
-            '94274832eede98a7d99652ff90ecabd932b46b0f002c25297ddd6f0c346aa3d0')
-
-build() {
-  cd "$srcdir/$pkgname-$pkgver"
-
-  # Fix hang when solid color is selected
-  # https://bugzilla.xfce.org/show_bug.cgi?id=9892
-  patch -Np1 -i "$srcdir/revert-SVG-images-are-no-longer-pixilated-when-scale.patch"
-
-  ./configure \
-    --prefix=/usr \
-    --sysconfdir=/etc \
-    --libexecdir=/usr/lib \
-    --localstatedir=/var \
-    --disable-static \
-    --enable-gio-unix \
-    --enable-thunarx \
-    --enable-notifications \
-    --disable-debug
-  make
-}
-
-package() {
-  cd "$srcdir/$pkgname-$pkgver"
-  make DESTDIR="$pkgdir" install
-}
-
-# vim:set ts=2 sw=2 et:

Copied: xfdesktop/repos/extra-x86_64/PKGBUILD (from rev 179855, xfdesktop/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2013-03-10 16:22:07 UTC (rev 179856)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+# Contributor: tobias <tobias funnychar archlinux.org>
+
+pkgname=xfdesktop
+pkgver=4.10.2
+pkgrel=1
+pkgdesc="A desktop manager for Xfce"
+arch=('i686' 'x86_64')
+url="http://www.xfce.org/"
+license=('GPL2')
+groups=('xfce4')
+depends=('libxfce4ui' 'thunar' 'garcon' 'hicolor-icon-theme' 'libwnck')
+makedepends=('intltool')
+conflicts=('xfce4-menueditor')
+replaces=('xfce4-menueditor')
+options=('!libtool')
+install=xfdesktop.install
+source=(http://archive.xfce.org/src/xfce/$pkgname/4.10/$pkgname-$pkgver.tar.bz2)
+sha256sums=('49a6e0be513e307e896f7e5929825babec9bbcd4b2e73552f9d27647a4db797d')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  ./configure \
+    --prefix=/usr \
+    --sysconfdir=/etc \
+    --libexecdir=/usr/lib \
+    --localstatedir=/var \
+    --disable-static \
+    --enable-gio-unix \
+    --enable-thunarx \
+    --enable-notifications \
+    --disable-debug
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:

Deleted: extra-x86_64/revert-SVG-images-are-no-longer-pixilated-when-scale.patch
===================================================================
--- extra-x86_64/revert-SVG-images-are-no-longer-pixilated-when-scale.patch	2013-03-10 16:21:48 UTC (rev 179855)
+++ extra-x86_64/revert-SVG-images-are-no-longer-pixilated-when-scale.patch	2013-03-10 16:22:07 UTC (rev 179856)
@@ -1,108 +0,0 @@
-From 8c868b20f3e19871f3f09e972cd20dbe3640084a Mon Sep 17 00:00:00 2001
-From: Evangelos Foutras <evangelos at foutrelis.com>
-Date: Wed, 6 Mar 2013 04:27:07 +0200
-Subject: [PATCH] Revert "SVG images are no longer pixilated when scaled up"
-
-This reverts commit ebad377e5cd067cec9f2b402dff4991ddc4cc3b5.
----
- src/xfce-backdrop.c | 38 +++++++++++++++++---------------------
- 1 file changed, 17 insertions(+), 21 deletions(-)
-
-diff --git a/src/xfce-backdrop.c b/src/xfce-backdrop.c
-index 9a4d7db..b07492f 100644
---- a/src/xfce-backdrop.c
-+++ b/src/xfce-backdrop.c
-@@ -933,10 +933,17 @@ xfce_backdrop_get_pixbuf(XfceBackdrop *backdrop)
-     
-     g_return_val_if_fail(XFCE_IS_BACKDROP(backdrop), NULL);
-     
--    if(backdrop->priv->show_image && backdrop->priv->image_path)
--        gdk_pixbuf_get_file_info(backdrop->priv->image_path, &iw, &ih);
--
-+    if(backdrop->priv->show_image && backdrop->priv->image_path) {
-+        image = gdk_pixbuf_new_from_file(backdrop->priv->image_path, NULL);
-+        if(image) {
-+            iw = gdk_pixbuf_get_width(image);
-+            ih = gdk_pixbuf_get_height(image);
-+        }
-+    }
-+    
-     if(backdrop->priv->width == 0 || backdrop->priv->height == 0) {
-+        if(!image)
-+            return NULL;
-         w = iw;
-         h = ih;
-     } else {
-@@ -956,9 +963,7 @@ xfce_backdrop_get_pixbuf(XfceBackdrop *backdrop)
-             final_image = create_solid(&backdrop->priv->color1, w, h, FALSE, 0xff);
-     }
-     
--    /*check if the file exists,
--     *and if it doesn't then make the background the single colour*/
--    if(!g_file_test(backdrop->priv->image_path, G_FILE_TEST_EXISTS)) {
-+    if(!image) {
-         if(backdrop->priv->brightness != 0)
-             final_image = adjust_brightness(final_image, backdrop->priv->brightness);
-         
-@@ -996,7 +1001,6 @@ xfce_backdrop_get_pixbuf(XfceBackdrop *backdrop)
-     
-     switch(istyle) {
-         case XFCE_BACKDROP_IMAGE_CENTERED:
--            image = gdk_pixbuf_new_from_file(backdrop->priv->image_path, NULL);
-             dx = MAX((w - iw) / 2, 0);
-             dy = MAX((h - ih) / 2, 0);
-             xo = MIN((w - iw) / 2, dx);
-@@ -1007,7 +1011,6 @@ xfce_backdrop_get_pixbuf(XfceBackdrop *backdrop)
-             break;
-         
-         case XFCE_BACKDROP_IMAGE_TILED:
--            image = gdk_pixbuf_new_from_file(backdrop->priv->image_path, NULL);
-             tmp = gdk_pixbuf_new(GDK_COLORSPACE_RGB, TRUE, 8, w, h);
-             for(i = 0; (i * iw) < w; i++) {
-                 for(j = 0; (j * ih) < h; j++) {
-@@ -1030,10 +1033,10 @@ xfce_backdrop_get_pixbuf(XfceBackdrop *backdrop)
-             break;
-         
-         case XFCE_BACKDROP_IMAGE_STRETCHED:
--            image = gdk_pixbuf_new_from_file_at_scale(
--                            backdrop->priv->image_path, w, h, FALSE, NULL);
-+            xscale = (gdouble)w / iw;
-+            yscale = (gdouble)h / ih;
-             gdk_pixbuf_composite(image, final_image, 0, 0, w, h,
--                    0, 0, 1, 1, interp, 255);
-+                    0, 0, xscale, yscale, interp, 255);
-             break;
-         
-         case XFCE_BACKDROP_IMAGE_SCALED:
-@@ -1050,12 +1053,9 @@ xfce_backdrop_get_pixbuf(XfceBackdrop *backdrop)
-             }
-             dx = xo;
-             dy = yo;
--
--            image = gdk_pixbuf_new_from_file_at_scale(
--                        backdrop->priv->image_path, iw * xscale,
--                        ih * yscale, TRUE, NULL);
-+            
-             gdk_pixbuf_composite(image, final_image, dx, dy,
--                    iw * xscale, ih * yscale, xo, yo, 1, 1,
-+                    iw * xscale, ih * yscale, xo, yo, xscale, yscale,
-                     interp, 255);
-             break;
-         
-@@ -1071,12 +1071,8 @@ xfce_backdrop_get_pixbuf(XfceBackdrop *backdrop)
-                 xo = 0;
-                 yo = (h - (ih * yscale)) * 0.5;
-             }
--
--            image = gdk_pixbuf_new_from_file_at_scale(
--                                backdrop->priv->image_path, iw * xscale,
--                                ih * yscale, TRUE, NULL);
-             gdk_pixbuf_composite(image, final_image, 0, 0,
--                    w, h, xo, yo, 1, 1, interp, 255);
-+                    w, h, xo, yo, xscale, yscale, interp, 255);
-             break;
-         
-         default:
--- 
-1.8.1.5
-

Deleted: extra-x86_64/xfdesktop.install
===================================================================
--- extra-x86_64/xfdesktop.install	2013-03-10 16:21:48 UTC (rev 179855)
+++ extra-x86_64/xfdesktop.install	2013-03-10 16:22:07 UTC (rev 179856)
@@ -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: xfdesktop/repos/extra-x86_64/xfdesktop.install (from rev 179855, xfdesktop/trunk/xfdesktop.install)
===================================================================
--- extra-x86_64/xfdesktop.install	                        (rev 0)
+++ extra-x86_64/xfdesktop.install	2013-03-10 16:22:07 UTC (rev 179856)
@@ -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