[arch-commits] Commit in libcmis/repos/extra-x86_64 (5 files)
Andreas Radke
andyrtr at gemini.archlinux.org
Sat Aug 13 10:33:54 UTC 2022
Date: Saturday, August 13, 2022 @ 10:33:54
Author: andyrtr
Revision: 452654
archrelease: copy trunk to extra-x86_64
Added:
libcmis/repos/extra-x86_64/PKGBUILD
(from rev 452653, libcmis/trunk/PKGBUILD)
libcmis/repos/extra-x86_64/getRefreshToken.diff
(from rev 452653, libcmis/trunk/getRefreshToken.diff)
libcmis/repos/extra-x86_64/libcmis-0.5.2-icu-64.2.patch
(from rev 452653, libcmis/trunk/libcmis-0.5.2-icu-64.2.patch)
Deleted:
libcmis/repos/extra-x86_64/PKGBUILD
libcmis/repos/extra-x86_64/libcmis-0.5.2-icu-64.2.patch
------------------------------+
PKGBUILD | 85 +++++++++++++++++++++--------------------
getRefreshToken.diff | 13 ++++++
libcmis-0.5.2-icu-64.2.patch | 34 ++++++++--------
3 files changed, 75 insertions(+), 57 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-13 10:33:43 UTC (rev 452653)
+++ PKGBUILD 2022-08-13 10:33:54 UTC (rev 452654)
@@ -1,40 +0,0 @@
-# Maintainer: AndyRTR <andyrtr at archlinux.org>
-
-pkgname=libcmis
-pkgver=0.5.2
-pkgrel=10
-pkgdesc="a C/C++ client library for the CMIS protocol"
-arch=('x86_64')
-url="https://github.com/tdf/libcmis"
-license=('GPL2' 'LGPL2.1' 'MPL')
-depends=('boost-libs' 'curl' 'libxml2')
-makedepends=('docbook2x' 'cppunit' 'boost')
-source=("https://github.com/tdf/libcmis/releases/download/v${pkgver}/$pkgname-$pkgver.tar.gz"
- 'libcmis-0.5.2-icu-64.2.patch')
-sha256sums=('ed6f681a48abbf3c2324564b17a180d21fa9503230e8708825e1ad80daee4f81'
- '51b67a5b7245e5192739362c5034ed7d9a664799f38ff9ccd1832297f93cc03d')
-
-prepare() {
- cd "$pkgname-$pkgver"
-
- # https://github.com/tdf/libcmis/issues/35
- patch -Np1 -i ../libcmis-0.5.2-icu-64.2.patch
-}
-
-build() {
- cd "$pkgname-$pkgver"
- ./configure --prefix=/usr DOCBOOK2MAN='db2x_docbook2man' --disable-werror
- sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
- make
-}
-
-check() {
- cd "$pkgname-$pkgver"
- # fails a google drive check - fix will be included in the next release
- make check || /bin/true
-}
-
-package() {
- cd "$pkgname-$pkgver"
- make DESTDIR="$pkgdir/" install
-}
Copied: libcmis/repos/extra-x86_64/PKGBUILD (from rev 452653, libcmis/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-08-13 10:33:54 UTC (rev 452654)
@@ -0,0 +1,45 @@
+# Maintainer: AndyRTR <andyrtr at archlinux.org>
+
+pkgname=libcmis
+pkgver=0.5.2
+pkgrel=11
+pkgdesc="a C/C++ client library for the CMIS protocol"
+arch=('x86_64')
+url="https://github.com/tdf/libcmis"
+license=('GPL2' 'LGPL2.1' 'MPL')
+depends=('boost-libs' 'curl' 'libxml2')
+makedepends=('docbook2x' 'cppunit' 'boost')
+source=("https://github.com/tdf/libcmis/releases/download/v${pkgver}/$pkgname-$pkgver.tar.gz"
+ libcmis-0.5.2-icu-64.2.patch
+ getRefreshToken.diff)
+sha256sums=('ed6f681a48abbf3c2324564b17a180d21fa9503230e8708825e1ad80daee4f81'
+ '51b67a5b7245e5192739362c5034ed7d9a664799f38ff9ccd1832297f93cc03d'
+ '7ad0e742da2660c238b457ea7cd5752b90bb876da3da852f511a6bb1301c75b6')
+
+prepare() {
+ cd "$pkgname-$pkgver"
+
+ # https://github.com/tdf/libcmis/issues/35
+ patch -Np1 -i ../libcmis-0.5.2-icu-64.2.patch
+ # part of https://github.com/tdf/libcmis/commit/f7466a849949f987dd47f2e0bb3a3df0c8cac4e4
+ # to solve a LibreOffice compile error
+ patch -Np1 -i ../getRefreshToken.diff
+}
+
+build() {
+ cd "$pkgname-$pkgver"
+ ./configure --prefix=/usr DOCBOOK2MAN='db2x_docbook2man' --disable-werror
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+ make
+}
+
+check() {
+ cd "$pkgname-$pkgver"
+ # fails a google drive check - fix will be included in the next release
+ make check || /bin/true
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install
+}
Copied: libcmis/repos/extra-x86_64/getRefreshToken.diff (from rev 452653, libcmis/trunk/getRefreshToken.diff)
===================================================================
--- getRefreshToken.diff (rev 0)
+++ getRefreshToken.diff 2022-08-13 10:33:54 UTC (rev 452654)
@@ -0,0 +1,13 @@
+diff --git a/inc/libcmis/session.hxx b/inc/libcmis/session.hxx
+index 0a768a8..ec95ab4 100644
+--- a/inc/libcmis/session.hxx
++++ b/inc/libcmis/session.hxx
+@@ -95,6 +95,8 @@ namespace libcmis
+ certificate exception feature available on common web browser.
+ */
+ virtual void setNoSSLCertificateCheck( bool noCheck ) = 0;
++
++ virtual std::string getRefreshToken() { return ""; };
+ };
+ }
+
Deleted: libcmis-0.5.2-icu-64.2.patch
===================================================================
--- libcmis-0.5.2-icu-64.2.patch 2022-08-13 10:33:43 UTC (rev 452653)
+++ libcmis-0.5.2-icu-64.2.patch 2022-08-13 10:33:54 UTC (rev 452654)
@@ -1,17 +0,0 @@
---- a/inc/libcmis-c/repository.h 2018-12-27 14:07:55.000000000 +0100
-+++ b/inc/libcmis-c/repository.h 2019-04-21 01:29:46.504373226 +0200
-@@ -28,12 +28,12 @@
- #ifndef _REPOSITORY_H_
- #define _REPOSITORY_H_
-
-+#include <libxml/tree.h>
-+
- #ifdef __cplusplus
- extern "C" {
- #endif
-
--#include <libxml/tree.h>
--
- #include "libcmis-c/libcmis-c-api.h"
- #include "libcmis-c/types.h"
-
Copied: libcmis/repos/extra-x86_64/libcmis-0.5.2-icu-64.2.patch (from rev 452653, libcmis/trunk/libcmis-0.5.2-icu-64.2.patch)
===================================================================
--- libcmis-0.5.2-icu-64.2.patch (rev 0)
+++ libcmis-0.5.2-icu-64.2.patch 2022-08-13 10:33:54 UTC (rev 452654)
@@ -0,0 +1,17 @@
+--- a/inc/libcmis-c/repository.h 2018-12-27 14:07:55.000000000 +0100
++++ b/inc/libcmis-c/repository.h 2019-04-21 01:29:46.504373226 +0200
+@@ -28,12 +28,12 @@
+ #ifndef _REPOSITORY_H_
+ #define _REPOSITORY_H_
+
++#include <libxml/tree.h>
++
+ #ifdef __cplusplus
+ extern "C" {
+ #endif
+
+-#include <libxml/tree.h>
+-
+ #include "libcmis-c/libcmis-c-api.h"
+ #include "libcmis-c/types.h"
+
More information about the arch-commits
mailing list