[arch-commits] Commit in thunar/repos (10 files)
Evangelos Foutras
foutrelis at archlinux.org
Sun Jan 4 19:12:26 UTC 2015
Date: Sunday, January 4, 2015 @ 20:12:26
Author: foutrelis
Revision: 228427
archrelease: copy trunk to extra-i686, extra-x86_64
Added:
thunar/repos/extra-i686/PKGBUILD
(from rev 228426, thunar/trunk/PKGBUILD)
thunar/repos/extra-i686/thunar.install
(from rev 228426, thunar/trunk/thunar.install)
thunar/repos/extra-x86_64/PKGBUILD
(from rev 228426, thunar/trunk/PKGBUILD)
thunar/repos/extra-x86_64/thunar.install
(from rev 228426, thunar/trunk/thunar.install)
Deleted:
thunar/repos/extra-i686/0001-Fix-Open-With-default-app-with-glib-2.41.patch
thunar/repos/extra-i686/PKGBUILD
thunar/repos/extra-i686/thunar.install
thunar/repos/extra-x86_64/0001-Fix-Open-With-default-app-with-glib-2.41.patch
thunar/repos/extra-x86_64/PKGBUILD
thunar/repos/extra-x86_64/thunar.install
------------------------------------------------------------------+
/PKGBUILD | 110 ++++++++++
/thunar.install | 28 ++
extra-i686/0001-Fix-Open-With-default-app-with-glib-2.41.patch | 88 --------
extra-i686/PKGBUILD | 64 -----
extra-i686/thunar.install | 14 -
extra-x86_64/0001-Fix-Open-With-default-app-with-glib-2.41.patch | 88 --------
extra-x86_64/PKGBUILD | 64 -----
extra-x86_64/thunar.install | 14 -
8 files changed, 138 insertions(+), 332 deletions(-)
Deleted: extra-i686/0001-Fix-Open-With-default-app-with-glib-2.41.patch
===================================================================
--- extra-i686/0001-Fix-Open-With-default-app-with-glib-2.41.patch 2015-01-04 19:12:13 UTC (rev 228426)
+++ extra-i686/0001-Fix-Open-With-default-app-with-glib-2.41.patch 2015-01-04 19:12:26 UTC (rev 228427)
@@ -1,88 +0,0 @@
-From 9fcfc59456976dc7cc296fd7451fd6bbffe151b6 Mon Sep 17 00:00:00 2001
-From: Evangelos Foutras <evangelos at foutrelis.com>
-Date: Fri, 3 Oct 2014 06:59:54 +0300
-Subject: [PATCH] Fix "Open With" default app with glib >= 2.41
-
-Beginning with glib >= 2.41, g_app_info_get_all_for_type() no longer
-puts the default application in front of the list.
-
-This commit adds thunar_g_app_info_get_all_for_type() which imitates the
-old behavior of g_app_info_get_all_for_type() and moves the default
-application to the front of the list.
-
-https://bugzilla.xfce.org/show_bug.cgi?id=11212
----
- thunar/thunar-file.c | 2 +-
- thunar/thunar-gio-extensions.c | 29 +++++++++++++++++++++++++++++
- thunar/thunar-gio-extensions.h | 2 ++
- 3 files changed, 32 insertions(+), 1 deletion(-)
-
-diff --git a/thunar/thunar-file.c b/thunar/thunar-file.c
-index c45cf81..ee2f467 100644
---- a/thunar/thunar-file.c
-+++ b/thunar/thunar-file.c
-@@ -4017,7 +4017,7 @@ thunar_file_list_get_applications (GList *file_list)
-
- /* determine the list of applications that can open this file */
- if (G_UNLIKELY (current_type != NULL))
-- list = g_app_info_get_all_for_type (current_type);
-+ list = thunar_g_app_info_get_all_for_type (current_type);
- else
- list = NULL;
-
-diff --git a/thunar/thunar-gio-extensions.c b/thunar/thunar-gio-extensions.c
-index 369c1f4..1c45443 100644
---- a/thunar/thunar-gio-extensions.c
-+++ b/thunar/thunar-gio-extensions.c
-@@ -513,6 +513,35 @@ thunar_g_file_list_to_stringv (GList *list)
-
-
-
-+GList *
-+thunar_g_app_info_get_all_for_type (const char *content_type)
-+{
-+ GList *infos, *info;
-+ GAppInfo *default_info;
-+
-+ infos = g_app_info_get_all_for_type (content_type);
-+ default_info = g_app_info_get_default_for_type (content_type, FALSE);
-+
-+ if (default_info == NULL)
-+ return infos;
-+
-+ for (info = infos; info; info = info->next)
-+ {
-+ if (g_app_info_equal (info->data, default_info))
-+ {
-+ g_object_unref (info->data);
-+ infos = g_list_delete_link (infos, info);
-+ break;
-+ }
-+ }
-+
-+ infos = g_list_prepend (infos, default_info);
-+
-+ return infos;
-+}
-+
-+
-+
- gboolean
- thunar_g_app_info_launch (GAppInfo *info,
- GFile *working_directory,
-diff --git a/thunar/thunar-gio-extensions.h b/thunar/thunar-gio-extensions.h
-index c19101e..b05c6cd 100644
---- a/thunar/thunar-gio-extensions.h
-+++ b/thunar/thunar-gio-extensions.h
-@@ -76,6 +76,8 @@ gchar **thunar_g_file_list_to_stringv (GList *list);
- #define thunar_g_file_list_copy thunarx_file_info_list_copy
- #define thunar_g_file_list_free thunarx_file_info_list_free
-
-+GList *thunar_g_app_info_get_all_for_type (const char *content_type);
-+
- gboolean thunar_g_app_info_launch (GAppInfo *info,
- GFile *working_directory,
- GList *path_list,
---
-2.1.2
-
Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD 2015-01-04 19:12:13 UTC (rev 228426)
+++ extra-i686/PKGBUILD 2015-01-04 19:12:26 UTC (rev 228427)
@@ -1,64 +0,0 @@
-# $Id$
-# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
-# Contributor: Andrew Simmons <andrew.simmons at gmail.com>
-
-pkgname=thunar
-pkgver=1.6.3
-pkgrel=2
-pkgdesc="Modern file manager for Xfce"
-arch=('i686' 'x86_64')
-url="http://thunar.xfce.org"
-license=('GPL2' 'LGPL2.1')
-groups=('xfce4')
-depends=('desktop-file-utils' 'libexif' 'hicolor-icon-theme' 'libnotify'
- 'udev' 'gtk2' 'exo' 'libxfce4util' 'libxfce4ui' 'libpng')
-makedepends=('intltool' 'gtk-doc' 'xfce4-panel')
-optdepends=('gvfs: for trash support, mounting with udisk and remote filesystems'
- 'xfce4-panel: for trash applet'
- 'tumbler: for thumbnail previews'
- 'thunar-volman: manages removable devices'
- 'thunar-archive-plugin: create and deflate archives'
- 'thunar-media-tags-plugin: view/edit id3/ogg tags')
-install=$pkgname.install
-source=(http://archive.xfce.org/src/xfce/$pkgname/1.6/Thunar-$pkgver.tar.bz2
- 0001-Fix-Open-With-default-app-with-glib-2.41.patch)
-sha256sums=('9a2706f6881ac29cda9f0b0325d179153bc09e37bcbafcab9823c1c1ec89579d'
- 'bc584c21de2d25530fb8039ef6863be3884cd2012427a4a5ead23498238c3232')
-
-prepare() {
- cd "$srcdir/Thunar-$pkgver"
-
- # https://bugzilla.xfce.org/show_bug.cgi?id=11212
- patch -Np1 -i ../0001-Fix-Open-With-default-app-with-glib-2.41.patch
-}
-
-build() {
- cd "$srcdir/Thunar-$pkgver"
-
- ./configure \
- --prefix=/usr \
- --sysconfdir=/etc \
- --libexecdir=/usr/lib \
- --localstatedir=/var \
- --disable-static \
- --enable-gio-unix \
- --enable-dbus \
- --enable-startup-notification \
- --enable-gudev \
- --enable-notifications \
- --enable-exif \
- --enable-pcre \
- --enable-gtk-doc \
- --disable-debug
- make
-}
-
-package() {
- cd "$srcdir/Thunar-$pkgver"
-
- make DESTDIR=${pkgdir} install
- sed -i 's:x-directory/gnome-default-handler;::' \
- "$pkgdir/usr/share/applications/Thunar-folder-handler.desktop"
-}
-
-# vim:set ts=2 sw=2 et:
Copied: thunar/repos/extra-i686/PKGBUILD (from rev 228426, thunar/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2015-01-04 19:12:26 UTC (rev 228427)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+# Contributor: Andrew Simmons <andrew.simmons at gmail.com>
+
+pkgname=thunar
+pkgver=1.6.4
+pkgrel=1
+pkgdesc="Modern file manager for Xfce"
+arch=('i686' 'x86_64')
+url="http://thunar.xfce.org"
+license=('GPL2' 'LGPL2.1')
+groups=('xfce4')
+depends=('desktop-file-utils' 'libexif' 'hicolor-icon-theme' 'libnotify'
+ 'udev' 'gtk2' 'exo' 'libxfce4util' 'libxfce4ui' 'libpng')
+makedepends=('intltool' 'gtk-doc' 'xfce4-panel')
+optdepends=('gvfs: for trash support, mounting with udisk and remote filesystems'
+ 'xfce4-panel: for trash applet'
+ 'tumbler: for thumbnail previews'
+ 'thunar-volman: manages removable devices'
+ 'thunar-archive-plugin: create and deflate archives'
+ 'thunar-media-tags-plugin: view/edit id3/ogg tags')
+install=$pkgname.install
+source=(http://archive.xfce.org/src/xfce/$pkgname/1.6/Thunar-$pkgver.tar.bz2)
+sha256sums=('40efc74349313c20cef2047842a06ad8dfc8522ed792a087e9fb4618ad309dae')
+
+build() {
+ cd "$srcdir/Thunar-$pkgver"
+
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --libexecdir=/usr/lib \
+ --localstatedir=/var \
+ --disable-static \
+ --enable-gio-unix \
+ --enable-dbus \
+ --enable-startup-notification \
+ --enable-gudev \
+ --enable-notifications \
+ --enable-exif \
+ --enable-pcre \
+ --enable-gtk-doc \
+ --disable-debug
+ make
+}
+
+package() {
+ cd "$srcdir/Thunar-$pkgver"
+
+ make DESTDIR=${pkgdir} install
+ sed -i 's:x-directory/gnome-default-handler;::' \
+ "$pkgdir/usr/share/applications/Thunar-folder-handler.desktop"
+}
+
+# vim:set ts=2 sw=2 et:
Deleted: extra-i686/thunar.install
===================================================================
--- extra-i686/thunar.install 2015-01-04 19:12:13 UTC (rev 228426)
+++ extra-i686/thunar.install 2015-01-04 19:12:26 UTC (rev 228427)
@@ -1,14 +0,0 @@
-post_install() {
- update-desktop-database -q
- 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: thunar/repos/extra-i686/thunar.install (from rev 228426, thunar/trunk/thunar.install)
===================================================================
--- extra-i686/thunar.install (rev 0)
+++ extra-i686/thunar.install 2015-01-04 19:12:26 UTC (rev 228427)
@@ -0,0 +1,14 @@
+post_install() {
+ update-desktop-database -q
+ 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/0001-Fix-Open-With-default-app-with-glib-2.41.patch
===================================================================
--- extra-x86_64/0001-Fix-Open-With-default-app-with-glib-2.41.patch 2015-01-04 19:12:13 UTC (rev 228426)
+++ extra-x86_64/0001-Fix-Open-With-default-app-with-glib-2.41.patch 2015-01-04 19:12:26 UTC (rev 228427)
@@ -1,88 +0,0 @@
-From 9fcfc59456976dc7cc296fd7451fd6bbffe151b6 Mon Sep 17 00:00:00 2001
-From: Evangelos Foutras <evangelos at foutrelis.com>
-Date: Fri, 3 Oct 2014 06:59:54 +0300
-Subject: [PATCH] Fix "Open With" default app with glib >= 2.41
-
-Beginning with glib >= 2.41, g_app_info_get_all_for_type() no longer
-puts the default application in front of the list.
-
-This commit adds thunar_g_app_info_get_all_for_type() which imitates the
-old behavior of g_app_info_get_all_for_type() and moves the default
-application to the front of the list.
-
-https://bugzilla.xfce.org/show_bug.cgi?id=11212
----
- thunar/thunar-file.c | 2 +-
- thunar/thunar-gio-extensions.c | 29 +++++++++++++++++++++++++++++
- thunar/thunar-gio-extensions.h | 2 ++
- 3 files changed, 32 insertions(+), 1 deletion(-)
-
-diff --git a/thunar/thunar-file.c b/thunar/thunar-file.c
-index c45cf81..ee2f467 100644
---- a/thunar/thunar-file.c
-+++ b/thunar/thunar-file.c
-@@ -4017,7 +4017,7 @@ thunar_file_list_get_applications (GList *file_list)
-
- /* determine the list of applications that can open this file */
- if (G_UNLIKELY (current_type != NULL))
-- list = g_app_info_get_all_for_type (current_type);
-+ list = thunar_g_app_info_get_all_for_type (current_type);
- else
- list = NULL;
-
-diff --git a/thunar/thunar-gio-extensions.c b/thunar/thunar-gio-extensions.c
-index 369c1f4..1c45443 100644
---- a/thunar/thunar-gio-extensions.c
-+++ b/thunar/thunar-gio-extensions.c
-@@ -513,6 +513,35 @@ thunar_g_file_list_to_stringv (GList *list)
-
-
-
-+GList *
-+thunar_g_app_info_get_all_for_type (const char *content_type)
-+{
-+ GList *infos, *info;
-+ GAppInfo *default_info;
-+
-+ infos = g_app_info_get_all_for_type (content_type);
-+ default_info = g_app_info_get_default_for_type (content_type, FALSE);
-+
-+ if (default_info == NULL)
-+ return infos;
-+
-+ for (info = infos; info; info = info->next)
-+ {
-+ if (g_app_info_equal (info->data, default_info))
-+ {
-+ g_object_unref (info->data);
-+ infos = g_list_delete_link (infos, info);
-+ break;
-+ }
-+ }
-+
-+ infos = g_list_prepend (infos, default_info);
-+
-+ return infos;
-+}
-+
-+
-+
- gboolean
- thunar_g_app_info_launch (GAppInfo *info,
- GFile *working_directory,
-diff --git a/thunar/thunar-gio-extensions.h b/thunar/thunar-gio-extensions.h
-index c19101e..b05c6cd 100644
---- a/thunar/thunar-gio-extensions.h
-+++ b/thunar/thunar-gio-extensions.h
-@@ -76,6 +76,8 @@ gchar **thunar_g_file_list_to_stringv (GList *list);
- #define thunar_g_file_list_copy thunarx_file_info_list_copy
- #define thunar_g_file_list_free thunarx_file_info_list_free
-
-+GList *thunar_g_app_info_get_all_for_type (const char *content_type);
-+
- gboolean thunar_g_app_info_launch (GAppInfo *info,
- GFile *working_directory,
- GList *path_list,
---
-2.1.2
-
Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD 2015-01-04 19:12:13 UTC (rev 228426)
+++ extra-x86_64/PKGBUILD 2015-01-04 19:12:26 UTC (rev 228427)
@@ -1,64 +0,0 @@
-# $Id$
-# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
-# Contributor: Andrew Simmons <andrew.simmons at gmail.com>
-
-pkgname=thunar
-pkgver=1.6.3
-pkgrel=2
-pkgdesc="Modern file manager for Xfce"
-arch=('i686' 'x86_64')
-url="http://thunar.xfce.org"
-license=('GPL2' 'LGPL2.1')
-groups=('xfce4')
-depends=('desktop-file-utils' 'libexif' 'hicolor-icon-theme' 'libnotify'
- 'udev' 'gtk2' 'exo' 'libxfce4util' 'libxfce4ui' 'libpng')
-makedepends=('intltool' 'gtk-doc' 'xfce4-panel')
-optdepends=('gvfs: for trash support, mounting with udisk and remote filesystems'
- 'xfce4-panel: for trash applet'
- 'tumbler: for thumbnail previews'
- 'thunar-volman: manages removable devices'
- 'thunar-archive-plugin: create and deflate archives'
- 'thunar-media-tags-plugin: view/edit id3/ogg tags')
-install=$pkgname.install
-source=(http://archive.xfce.org/src/xfce/$pkgname/1.6/Thunar-$pkgver.tar.bz2
- 0001-Fix-Open-With-default-app-with-glib-2.41.patch)
-sha256sums=('9a2706f6881ac29cda9f0b0325d179153bc09e37bcbafcab9823c1c1ec89579d'
- 'bc584c21de2d25530fb8039ef6863be3884cd2012427a4a5ead23498238c3232')
-
-prepare() {
- cd "$srcdir/Thunar-$pkgver"
-
- # https://bugzilla.xfce.org/show_bug.cgi?id=11212
- patch -Np1 -i ../0001-Fix-Open-With-default-app-with-glib-2.41.patch
-}
-
-build() {
- cd "$srcdir/Thunar-$pkgver"
-
- ./configure \
- --prefix=/usr \
- --sysconfdir=/etc \
- --libexecdir=/usr/lib \
- --localstatedir=/var \
- --disable-static \
- --enable-gio-unix \
- --enable-dbus \
- --enable-startup-notification \
- --enable-gudev \
- --enable-notifications \
- --enable-exif \
- --enable-pcre \
- --enable-gtk-doc \
- --disable-debug
- make
-}
-
-package() {
- cd "$srcdir/Thunar-$pkgver"
-
- make DESTDIR=${pkgdir} install
- sed -i 's:x-directory/gnome-default-handler;::' \
- "$pkgdir/usr/share/applications/Thunar-folder-handler.desktop"
-}
-
-# vim:set ts=2 sw=2 et:
Copied: thunar/repos/extra-x86_64/PKGBUILD (from rev 228426, thunar/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD (rev 0)
+++ extra-x86_64/PKGBUILD 2015-01-04 19:12:26 UTC (rev 228427)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+# Contributor: Andrew Simmons <andrew.simmons at gmail.com>
+
+pkgname=thunar
+pkgver=1.6.4
+pkgrel=1
+pkgdesc="Modern file manager for Xfce"
+arch=('i686' 'x86_64')
+url="http://thunar.xfce.org"
+license=('GPL2' 'LGPL2.1')
+groups=('xfce4')
+depends=('desktop-file-utils' 'libexif' 'hicolor-icon-theme' 'libnotify'
+ 'udev' 'gtk2' 'exo' 'libxfce4util' 'libxfce4ui' 'libpng')
+makedepends=('intltool' 'gtk-doc' 'xfce4-panel')
+optdepends=('gvfs: for trash support, mounting with udisk and remote filesystems'
+ 'xfce4-panel: for trash applet'
+ 'tumbler: for thumbnail previews'
+ 'thunar-volman: manages removable devices'
+ 'thunar-archive-plugin: create and deflate archives'
+ 'thunar-media-tags-plugin: view/edit id3/ogg tags')
+install=$pkgname.install
+source=(http://archive.xfce.org/src/xfce/$pkgname/1.6/Thunar-$pkgver.tar.bz2)
+sha256sums=('40efc74349313c20cef2047842a06ad8dfc8522ed792a087e9fb4618ad309dae')
+
+build() {
+ cd "$srcdir/Thunar-$pkgver"
+
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --libexecdir=/usr/lib \
+ --localstatedir=/var \
+ --disable-static \
+ --enable-gio-unix \
+ --enable-dbus \
+ --enable-startup-notification \
+ --enable-gudev \
+ --enable-notifications \
+ --enable-exif \
+ --enable-pcre \
+ --enable-gtk-doc \
+ --disable-debug
+ make
+}
+
+package() {
+ cd "$srcdir/Thunar-$pkgver"
+
+ make DESTDIR=${pkgdir} install
+ sed -i 's:x-directory/gnome-default-handler;::' \
+ "$pkgdir/usr/share/applications/Thunar-folder-handler.desktop"
+}
+
+# vim:set ts=2 sw=2 et:
Deleted: extra-x86_64/thunar.install
===================================================================
--- extra-x86_64/thunar.install 2015-01-04 19:12:13 UTC (rev 228426)
+++ extra-x86_64/thunar.install 2015-01-04 19:12:26 UTC (rev 228427)
@@ -1,14 +0,0 @@
-post_install() {
- update-desktop-database -q
- 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: thunar/repos/extra-x86_64/thunar.install (from rev 228426, thunar/trunk/thunar.install)
===================================================================
--- extra-x86_64/thunar.install (rev 0)
+++ extra-x86_64/thunar.install 2015-01-04 19:12:26 UTC (rev 228427)
@@ -0,0 +1,14 @@
+post_install() {
+ update-desktop-database -q
+ 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