[arch-commits] Commit in kchmviewer/repos (5 files)

Felix Yan felixonmars at archlinux.org
Fri Nov 9 21:04:02 UTC 2018


    Date: Friday, November 9, 2018 @ 21:04:01
  Author: felixonmars
Revision: 404496

archrelease: copy trunk to community-staging-x86_64

Added:
  kchmviewer/repos/community-staging-x86_64/
  kchmviewer/repos/community-staging-x86_64/PKGBUILD
    (from rev 404495, kchmviewer/trunk/PKGBUILD)
  kchmviewer/repos/community-staging-x86_64/fix-qt5-build.patch
    (from rev 404495, kchmviewer/trunk/fix-qt5-build.patch)
  kchmviewer/repos/community-staging-x86_64/kchmviewer-7.7-underlinking.patch
    (from rev 404495, kchmviewer/trunk/kchmviewer-7.7-underlinking.patch)
  kchmviewer/repos/community-staging-x86_64/kchmviewer.changelog
    (from rev 404495, kchmviewer/trunk/kchmviewer.changelog)

-----------------------------------+
 PKGBUILD                          |   43 +++++++++++++++++++++++++++
 fix-qt5-build.patch               |   24 +++++++++++++++
 kchmviewer-7.7-underlinking.patch |   11 ++++++
 kchmviewer.changelog              |   57 ++++++++++++++++++++++++++++++++++++
 4 files changed, 135 insertions(+)

Copied: kchmviewer/repos/community-staging-x86_64/PKGBUILD (from rev 404495, kchmviewer/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-11-09 21:04:01 UTC (rev 404496)
@@ -0,0 +1,43 @@
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
+# Contributor: Alexander Bogdanov <andorn at gmail.com>
+
+pkgname=kchmviewer
+pkgver=7.7
+pkgrel=4
+pkgdesc="A .chm files (MS HTML help file format) viewer"
+arch=('x86_64')
+url="http://kchmviewer.sourceforge.net/"
+license=('GPL')
+depends=('chmlib' 'libzip' 'qt5-webkit')
+changelog=$pkgname.changelog
+source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
+        $pkgname-$pkgver-underlinking.patch
+        fix-qt5-build.patch)
+sha256sums=('27cbac45c786b1718550a87e6f86010e161302b426c6396ff2a3091b913b17dd'
+            'bb9345a0ecaf70e06cfad06c6c2dbbfca79c3462e1f4bb459e80ecaa31ea58cc'
+            '7d070f4eaa79fa2fd8c4a06807b4792807056e9c248d55e98169d01066248f3d')
+
+prepare() {
+  cd $pkgname-$pkgver
+
+  patch -Np1 -i "${srcdir}"/$pkgname-$pkgver-underlinking.patch
+  patch -Np1 -i "${srcdir}"/fix-qt5-build.patch
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  qmake-qt5 PREFIX=/usr
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  make DESTDIR="${pkgdir}" install
+
+  install -Dm755 bin/$pkgname "${pkgdir}"/usr/bin/$pkgname
+#icon/desktop file
+  install -Dm644 packages/$pkgname.png "${pkgdir}"/usr/share/pixmaps/$pkgname.png
+  install -Dm644 packages/$pkgname.desktop "${pkgdir}"/usr/share/applications/$pkgname.desktop
+}

Copied: kchmviewer/repos/community-staging-x86_64/fix-qt5-build.patch (from rev 404495, kchmviewer/trunk/fix-qt5-build.patch)
===================================================================
--- community-staging-x86_64/fix-qt5-build.patch	                        (rev 0)
+++ community-staging-x86_64/fix-qt5-build.patch	2018-11-09 21:04:01 UTC (rev 404496)
@@ -0,0 +1,24 @@
+diff -Naur kchmviewer-7.7.orig/src/src.pro kchmviewer-7.7/src/src.pro
+--- kchmviewer-7.7.orig/src/src.pro	2016-10-05 09:35:34.149265000 +0200
++++ kchmviewer-7.7/src/src.pro	2017-02-07 15:16:27.749908883 +0100
+@@ -114,20 +114,10 @@
+ 
+ greaterThan(QT_MAJOR_VERSION, 4) {
+     # Qt 5
+-    greaterThan(QT_MINOR_VERSION, 5) {
+-        # Qt 5.6+
+-        error("You use Qt5.6+ - QWebEngine is not yet suitable for kchmviewer and is not supported")
+-        QT += webengine webenginewidgets
+-        DEFINES += USE_WEBENGINE
+-        SOURCES += viewwindow_webengine.cpp dataprovider_qwebengine.cpp
+-        HEADERS += dataprovider_qwebengine.h viewwindow_webengine.h
+-    } else {
+-        # Qt 5.0-5.5
+         QT += webkit webkitwidgets
+         DEFINES += USE_WEBKIT
+         SOURCES += viewwindow_webkit.cpp dataprovider_qwebkit.cpp
+         HEADERS += dataprovider_qwebkit.h viewwindow_webkit.h
+-    }
+ } else {
+     message("Qt4 is not supported anymore, please do not report any errors")
+     QT += webkit webkitwidgets

Copied: kchmviewer/repos/community-staging-x86_64/kchmviewer-7.7-underlinking.patch (from rev 404495, kchmviewer/trunk/kchmviewer-7.7-underlinking.patch)
===================================================================
--- community-staging-x86_64/kchmviewer-7.7-underlinking.patch	                        (rev 0)
+++ community-staging-x86_64/kchmviewer-7.7-underlinking.patch	2018-11-09 21:04:01 UTC (rev 404496)
@@ -0,0 +1,11 @@
+--- a/src/src.pro
++++ b/src/src.pro
+@@ -108,7 +108,7 @@
+     HEADERS += dbus_interface.h
+     SOURCES += dbus_interface.cpp
+     CONFIG += dbus
+-    LIBS += ../lib/libebook/libebook.a
++    LIBS += ../lib/libebook/libebook.a -lchm -lzip
+     POST_TARGETDEPS += ../lib/libebook/libebook.a
+ }
+ 

Copied: kchmviewer/repos/community-staging-x86_64/kchmviewer.changelog (from rev 404495, kchmviewer/trunk/kchmviewer.changelog)
===================================================================
--- community-staging-x86_64/kchmviewer.changelog	                        (rev 0)
+++ community-staging-x86_64/kchmviewer.changelog	2018-11-09 21:04:01 UTC (rev 404496)
@@ -0,0 +1,57 @@
+2016-12-08  Jaroslav Lichtblau <svetlemodry at archlinux.org>
+	* kchmviewer 7.7-1
+
+2016-04-30  Jaroslav Lichtblau <svetlemodry at archlinux.org>
+	* kchmviewer 7.5-2 pacman hooks rebuild
+
+2015-11-15  Jaroslav Lichtblau <svetlemodry at archlinux.org>
+	* kchmviewer 7.5-1
+
+2015-11-04  Jaroslav Lichtblau <svetlemodry at archlinux.org>
+	* kchmviewer 7.4-1
+
+2015-02-23  Jaroslav Lichtblau <svetlemodry at archlinux.org>
+	* kchmviewer 7.3-1
+
+2015-02-08  Jaroslav Lichtblau <svetlemodry at archlinux.org>
+	* kchmviewer 7.2-2
+	* FS#43740 fix, source file updated
+
+2014-12-23  Jaroslav Lichtblau <svetlemodry at archlinux.org>
+	* kchmviewer 7.2-1
+
+2014-12-14  Jaroslav Lichtblau <svetlemodry at archlinux.org>
+	* kchmviewer 7.1-1
+
+2014-05-12  Jaroslav Lichtblau <svetlemodry at archlinux.org>
+	* kchmviewer 6.1-1
+
+2011-12-21  Jaroslav Lichtblau <svetlemodry at archlinux.org>
+	* kchmviewer 6.0-1
+
+2011-01-15  Jaroslav Lichtblau <svetlemodry at archlinux.org>
+	* kchmviewer-5.3
+
+2010-06-14  Jaroslav Lichtblau <svetlemodry at archlinux.org>
+	* Update to major release 5.2
+
+2009-12-19  Jaroslav Lichtblau <svetlemodry at archlinux.org>
+	* Update to major release 5.1
+
+2009-07-26  Jaroslav Lichtblau <svetlemodry at archlinux.org>
+	* Update to major release 4.1
+
+2009-04-30  Jaroslav Lichtblau <svetlemodry at archlinux.org>
+	* FS#14376 fixed
+
+2009-03-26  Jaroslav Lichtblau <svetlemodry at archlinux.org>
+	* FS#12349 fixed
+
+2008-12-04  Jaroslav Lichtblau <svetlemodry at archlinux.org>
+	* Update to major release 4.0 final
+
+2008-11-22  Jaroslav Lichtblau <svetlemodry at archlinux.org>
+	* Update to major release 4.0beta3 - KDE4 version
+
+2007-08-09  Vinay S Shastry  <vinayshastry at gmail.com>
+	* PKGBUILD: do not delete libtool files.



More information about the arch-commits mailing list