[arch-commits] Commit in feedreader/trunk (PKGBUILD locale.patch)

Balló György bgyorgy at archlinux.org
Tue Apr 24 14:14:07 UTC 2018


    Date: Tuesday, April 24, 2018 @ 14:14:06
  Author: bgyorgy
Revision: 317558

upgpkg: feedreader 2.0.2+559+g78d7ced8-1

Update to new version

Modified:
  feedreader/trunk/PKGBUILD
Deleted:
  feedreader/trunk/locale.patch

--------------+
 PKGBUILD     |   15 +++++----------
 locale.patch |   15 ---------------
 2 files changed, 5 insertions(+), 25 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-04-24 14:13:55 UTC (rev 317557)
+++ PKGBUILD	2018-04-24 14:14:06 UTC (rev 317558)
@@ -8,7 +8,7 @@
 
 pkgname=feedreader
 _pkgname=FeedReader
-pkgver=2.0.2+548+g08dfb5db
+pkgver=2.0.2+559+g78d7ced8
 pkgrel=1
 pkgdesc="Modern desktop application designed to complement existing web-based RSS accounts"
 arch=(x86_64)
@@ -16,13 +16,11 @@
 license=(GPL3)
 depends=(curl gnome-online-accounts libgee libpeas)
 makedepends=(cmake git gobject-introspection vala)
-_commit=08dfb5dbcf1e04219ae8717dd55449d497e0eba4  # master
+_commit=78d7ced862aa491d64d9b5f135b2ba2d893b79d1  # master
 source=("git+https://github.com/jangernert/$_pkgname#commit=$_commit"
-        "git+https://github.com/fivefilters/ftr-site-config"
-        "locale.patch")
+        "git+https://github.com/fivefilters/ftr-site-config")
 sha256sums=('SKIP'
-            'SKIP'
-            '65be277a3d7b775cb03b1db06d1e4de0bd5d3c8484308ca2fa486ffb03be2346')
+            'SKIP')
 
 pkgver() {
   cd $_pkgname
@@ -34,15 +32,12 @@
   git config submodule.data/GrabberConfig.url "$srcdir/ftr-site-config"
   git submodule update --init
   mkdir build
-
-  # Fix parsing date on non English locales
-  patch -Np1 -i ../locale.patch
 }
 
 build() {
   cd $_pkgname/build
   cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib -DGSETTINGS_COMPILE=OFF
-  make
+  make -j1
 }
 
 package() {

Deleted: locale.patch
===================================================================
--- locale.patch	2018-04-24 14:13:55 UTC (rev 317557)
+++ locale.patch	2018-04-24 14:14:06 UTC (rev 317558)
@@ -1,15 +0,0 @@
-diff --git a/plugins/backend/local/localInterface.vala b/plugins/backend/local/localInterface.vala
-index 121be42a..9508f73a 100644
---- a/plugins/backend/local/localInterface.vala
-+++ b/plugins/backend/local/localInterface.vala
-@@ -603,7 +603,10 @@ public class FeedReader.localInterface : Peas.ExtensionBase, FeedServerInterface
- 					if(item.pub_date != null)
- 					{
- 						GLib.Time time = GLib.Time();
-+						var savedlocale = GLib.Intl.setlocale(GLib.LocaleCategory.ALL);
-+						GLib.Intl.setlocale(GLib.LocaleCategory.ALL, "C");
- 						time.strptime(item.pub_date, "%a, %d %b %Y %H:%M:%S %Z");
-+						GLib.Intl.setlocale(GLib.LocaleCategory.ALL, savedlocale);
- 						date = new GLib.DateTime.local(1900 + time.year, 1 + time.month, time.day, time.hour, time.minute, time.second);
- 
- 						if(date == null)



More information about the arch-commits mailing list