[arch-commits] Commit in kimap/repos (4 files)

Antonio Rojas arojas at archlinux.org
Sat Sep 5 14:41:22 UTC 2015


    Date: Saturday, September 5, 2015 @ 16:41:22
  Author: arojas
Revision: 245339

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

Added:
  kimap/repos/extra-i686/fix-date-format.patch
    (from rev 245338, kimap/trunk/fix-date-format.patch)
  kimap/repos/extra-x86_64/fix-date-format.patch
    (from rev 245338, kimap/trunk/fix-date-format.patch)
Deleted:
  kimap/repos/extra-i686/PKGBUILD
  kimap/repos/extra-x86_64/PKGBUILD

------------------------------------+
 extra-i686/PKGBUILD                |   38 -----------------------------------
 extra-i686/fix-date-format.patch   |   25 +++++++++++++++++++++++
 extra-x86_64/PKGBUILD              |   38 -----------------------------------
 extra-x86_64/fix-date-format.patch |   25 +++++++++++++++++++++++
 4 files changed, 50 insertions(+), 76 deletions(-)

Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2015-09-05 14:37:40 UTC (rev 245338)
+++ extra-i686/PKGBUILD	2015-09-05 14:41:22 UTC (rev 245339)
@@ -1,38 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-
-pkgname=kimap
-pkgver=15.08.0
-pkgrel=2
-pkgdesc="Job-based API for interacting with IMAP servers"
-arch=(i686 x86_64)
-url="https://projects.kde.org/$pkgname"
-license=(LGPL)
-depends=(kmime kdelibs4support)
-makedepends=(extra-cmake-modules python boost kdoctools)
-source=("http://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz" fix-date-format.patch)
-md5sums=('22c14eb3038281492cc51f38c4123cb8'
-         'e30cd849643dcc9f67326ec192dcfe4e')
-
-prepare() {
-  mkdir -p build
-
-# Fix sent messages not being synced to the server https://bugs.kde.org/show_bug.cgi?id=352223
-  cd $pkgname-$pkgver
-  patch -p1 -i ../fix-date-format.patch
-}
-
-build() {
-  cd build
-  cmake ../$pkgname-$pkgver \
-    -DCMAKE_BUILD_TYPE=Release \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_INSTALL_LIBDIR=lib \
-    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-    -DBUILD_TESTING=OFF
-  make
-}
-
-package() {
-  cd build
-  make DESTDIR="$pkgdir" install
-}

Copied: kimap/repos/extra-i686/fix-date-format.patch (from rev 245338, kimap/trunk/fix-date-format.patch)
===================================================================
--- extra-i686/fix-date-format.patch	                        (rev 0)
+++ extra-i686/fix-date-format.patch	2015-09-05 14:41:22 UTC (rev 245339)
@@ -0,0 +1,25 @@
+From: Volker Krause <vkrause at kde.org>
+Date: Sat, 05 Sep 2015 14:19:02 +0000
+Subject: Don't localize the date here, this is part of the IMAP protocol.
+X-Git-Url: http://quickgit.kde.org/?p=kimap.git&a=commitdiff&h=5baa874efeee6cdb28995037ed9184a7fb822d36
+---
+Don't localize the date here, this is part of the IMAP protocol.
+
+Fix by Antonio Rojas.
+
+BUG: 352223
+---
+
+
+--- a/src/appendjob.cpp
++++ b/src/appendjob.cpp
+@@ -124,7 +124,7 @@
+ 
+     if (!d->internalDate.isNull()) {
+         const QDateTime utcDateTime = d->internalDate.toUTC();
+-        parameters += " \"" + utcDateTime.toString(QString::fromAscii("dd-MMM-yyyy hh:mm:ss")).toLatin1() + " +0000" + '\"';
++        parameters += " \"" + QLocale::c().toString(utcDateTime, QString::fromAscii("dd-MMM-yyyy hh:mm:ss")).toLatin1() + " +0000" + '\"';
+     }
+ 
+     parameters += " {" + QByteArray::number(d->content.size()) + '}';
+

Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2015-09-05 14:37:40 UTC (rev 245338)
+++ extra-x86_64/PKGBUILD	2015-09-05 14:41:22 UTC (rev 245339)
@@ -1,38 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-
-pkgname=kimap
-pkgver=15.08.0
-pkgrel=2
-pkgdesc="Job-based API for interacting with IMAP servers"
-arch=(i686 x86_64)
-url="https://projects.kde.org/$pkgname"
-license=(LGPL)
-depends=(kmime kdelibs4support)
-makedepends=(extra-cmake-modules python boost kdoctools)
-source=("http://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz" fix-date-format.patch)
-md5sums=('22c14eb3038281492cc51f38c4123cb8'
-         'e30cd849643dcc9f67326ec192dcfe4e')
-
-prepare() {
-  mkdir -p build
-
-# Fix sent messages not being synced to the server https://bugs.kde.org/show_bug.cgi?id=352223
-  cd $pkgname-$pkgver
-  patch -p1 -i ../fix-date-format.patch
-}
-
-build() {
-  cd build
-  cmake ../$pkgname-$pkgver \
-    -DCMAKE_BUILD_TYPE=Release \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_INSTALL_LIBDIR=lib \
-    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-    -DBUILD_TESTING=OFF
-  make
-}
-
-package() {
-  cd build
-  make DESTDIR="$pkgdir" install
-}

Copied: kimap/repos/extra-x86_64/fix-date-format.patch (from rev 245338, kimap/trunk/fix-date-format.patch)
===================================================================
--- extra-x86_64/fix-date-format.patch	                        (rev 0)
+++ extra-x86_64/fix-date-format.patch	2015-09-05 14:41:22 UTC (rev 245339)
@@ -0,0 +1,25 @@
+From: Volker Krause <vkrause at kde.org>
+Date: Sat, 05 Sep 2015 14:19:02 +0000
+Subject: Don't localize the date here, this is part of the IMAP protocol.
+X-Git-Url: http://quickgit.kde.org/?p=kimap.git&a=commitdiff&h=5baa874efeee6cdb28995037ed9184a7fb822d36
+---
+Don't localize the date here, this is part of the IMAP protocol.
+
+Fix by Antonio Rojas.
+
+BUG: 352223
+---
+
+
+--- a/src/appendjob.cpp
++++ b/src/appendjob.cpp
+@@ -124,7 +124,7 @@
+ 
+     if (!d->internalDate.isNull()) {
+         const QDateTime utcDateTime = d->internalDate.toUTC();
+-        parameters += " \"" + utcDateTime.toString(QString::fromAscii("dd-MMM-yyyy hh:mm:ss")).toLatin1() + " +0000" + '\"';
++        parameters += " \"" + QLocale::c().toString(utcDateTime, QString::fromAscii("dd-MMM-yyyy hh:mm:ss")).toLatin1() + " +0000" + '\"';
+     }
+ 
+     parameters += " {" + QByteArray::number(d->content.size()) + '}';
+



More information about the arch-commits mailing list