[arch-commits] Commit in kmplot/repos (10 files)
Antonio Rojas
arojas at archlinux.org
Tue Mar 15 10:53:18 UTC 2016
Date: Tuesday, March 15, 2016 @ 11:53:18
Author: arojas
Revision: 261548
archrelease: copy trunk to extra-i686, extra-x86_64
Added:
kmplot/repos/extra-i686/PKGBUILD
(from rev 261547, kmplot/trunk/PKGBUILD)
kmplot/repos/extra-i686/kmplot-isnan.patch
(from rev 261547, kmplot/trunk/kmplot-isnan.patch)
kmplot/repos/extra-i686/kmplot.install
(from rev 261547, kmplot/trunk/kmplot.install)
kmplot/repos/extra-x86_64/PKGBUILD
(from rev 261547, kmplot/trunk/PKGBUILD)
kmplot/repos/extra-x86_64/kmplot-isnan.patch
(from rev 261547, kmplot/trunk/kmplot-isnan.patch)
kmplot/repos/extra-x86_64/kmplot.install
(from rev 261547, kmplot/trunk/kmplot.install)
Deleted:
kmplot/repos/extra-i686/PKGBUILD
kmplot/repos/extra-i686/kmplot.install
kmplot/repos/extra-x86_64/PKGBUILD
kmplot/repos/extra-x86_64/kmplot.install
---------------------------------+
/PKGBUILD | 86 ++++++++++++++++++++++++++++++++++++++
/kmplot.install | 24 ++++++++++
extra-i686/PKGBUILD | 36 ---------------
extra-i686/kmplot-isnan.patch | 42 ++++++++++++++++++
extra-i686/kmplot.install | 12 -----
extra-x86_64/PKGBUILD | 36 ---------------
extra-x86_64/kmplot-isnan.patch | 42 ++++++++++++++++++
extra-x86_64/kmplot.install | 12 -----
8 files changed, 194 insertions(+), 96 deletions(-)
Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD 2016-03-15 10:52:59 UTC (rev 261547)
+++ extra-i686/PKGBUILD 2016-03-15 10:53:18 UTC (rev 261548)
@@ -1,36 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-
-pkgname=kmplot
-pkgver=15.12.2
-pkgrel=1
-pkgdesc="Mathematical Function Plotter"
-url="http://kde.org/applications/education/kmplot/"
-arch=('i686' 'x86_64')
-license=('GPL' 'LGPL' 'FDL')
-groups=('kde-applications' 'kdeedu')
-depends=('kdelibs4support' 'hicolor-icon-theme')
-makedepends=('extra-cmake-modules' 'python' 'kdoctools')
-install=${pkgname}.install
-replaces=('kdeedu-kmplot')
-conflicts=('kdeedu-kmplot')
-source=("http://download.kde.org/stable/applications/${pkgver}/src/kmplot-${pkgver}.tar.xz")
-sha1sums=('15054658fc90391f26dd43fee49a87d8b9a5412a')
-
-build() {
- cd "${srcdir}"
- mkdir -p build
- cd build
- cmake ../kmplot-${pkgver} \
- -DCMAKE_BUILD_TYPE=Release \
- -DBUILD_TESTING=OFF \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
- make
-}
-
-package() {
- cd "${srcdir}"/build
- make DESTDIR="${pkgdir}" install
-}
Copied: kmplot/repos/extra-i686/PKGBUILD (from rev 261547, kmplot/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2016-03-15 10:53:18 UTC (rev 261548)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kmplot
+pkgver=15.12.3
+pkgrel=1
+pkgdesc="Mathematical Function Plotter"
+url="http://kde.org/applications/education/kmplot/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde-applications' 'kdeedu')
+depends=('kdelibs4support' 'hicolor-icon-theme')
+makedepends=('extra-cmake-modules' 'python' 'kdoctools')
+install=${pkgname}.install
+replaces=('kdeedu-kmplot')
+conflicts=('kdeedu-kmplot')
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kmplot-${pkgver}.tar.xz" kmplot-isnan.patch)
+sha1sums=('31144ee66225ddf0e4edfb5e123da8237412aed6'
+ 'f344ff55983ce1246b103437f616f4ce8df3d4ff')
+
+prepare() {
+ mkdir -p build
+
+# Fix build with glibc 2.23
+ cd $pkgname-$pkgver
+ patch -p1 -i ../kmplot-isnan.patch
+}
+
+build() {
+ cd build
+ cmake ../$pkgname-$pkgver \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DBUILD_TESTING=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+}
Copied: kmplot/repos/extra-i686/kmplot-isnan.patch (from rev 261547, kmplot/trunk/kmplot-isnan.patch)
===================================================================
--- extra-i686/kmplot-isnan.patch (rev 0)
+++ extra-i686/kmplot-isnan.patch 2016-03-15 10:53:18 UTC (rev 261548)
@@ -0,0 +1,42 @@
+--- kmplot-15.12.3/kmplot/view.cpp.0 2016-03-11 21:19:48.011194225 +0000
++++ kmplot-15.12.3/kmplot/view.cpp 2016-03-11 21:20:37.341056493 +0000
+@@ -476,7 +476,7 @@
+ double x = pixel.x();
+ double y = pixel.y();
+
+- if ( isnan(x) )
++ if ( std::isnan(x) )
+ {
+ xclipflg = true;
+ x = pixelIfNaN.x();
+@@ -496,14 +496,14 @@
+ }
+ else
+ {
+- if ( isinf(x) == -1 )
++ if ( std::isinf(x) == -1 )
+ x = 0;
+
+- else if ( isinf(x) == 1 )
++ else if ( std::isinf(x) == 1 )
+ x = m_clipRect.right();
+ }
+
+- if ( isnan(y) )
++ if ( std::isnan(y) )
+ {
+ yclipflg = true;
+ y = pixelIfNaN.y();
+@@ -523,10 +523,10 @@
+ }
+ else
+ {
+- if ( isinf(y) == -1 )
++ if ( std::isinf(y) == -1 )
+ y = 0;
+
+- else if ( isinf(y) == 1 )
++ else if ( std::isinf(y) == 1 )
+ y = m_clipRect.bottom();
+ }
+
Deleted: extra-i686/kmplot.install
===================================================================
--- extra-i686/kmplot.install 2016-03-15 10:52:59 UTC (rev 261547)
+++ extra-i686/kmplot.install 2016-03-15 10:53:18 UTC (rev 261548)
@@ -1,12 +0,0 @@
-post_install() {
- xdg-icon-resource forceupdate --theme hicolor &> /dev/null
- update-desktop-database -q
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}
Copied: kmplot/repos/extra-i686/kmplot.install (from rev 261547, kmplot/trunk/kmplot.install)
===================================================================
--- extra-i686/kmplot.install (rev 0)
+++ extra-i686/kmplot.install 2016-03-15 10:53:18 UTC (rev 261548)
@@ -0,0 +1,12 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD 2016-03-15 10:52:59 UTC (rev 261547)
+++ extra-x86_64/PKGBUILD 2016-03-15 10:53:18 UTC (rev 261548)
@@ -1,36 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-
-pkgname=kmplot
-pkgver=15.12.2
-pkgrel=1
-pkgdesc="Mathematical Function Plotter"
-url="http://kde.org/applications/education/kmplot/"
-arch=('i686' 'x86_64')
-license=('GPL' 'LGPL' 'FDL')
-groups=('kde-applications' 'kdeedu')
-depends=('kdelibs4support' 'hicolor-icon-theme')
-makedepends=('extra-cmake-modules' 'python' 'kdoctools')
-install=${pkgname}.install
-replaces=('kdeedu-kmplot')
-conflicts=('kdeedu-kmplot')
-source=("http://download.kde.org/stable/applications/${pkgver}/src/kmplot-${pkgver}.tar.xz")
-sha1sums=('15054658fc90391f26dd43fee49a87d8b9a5412a')
-
-build() {
- cd "${srcdir}"
- mkdir -p build
- cd build
- cmake ../kmplot-${pkgver} \
- -DCMAKE_BUILD_TYPE=Release \
- -DBUILD_TESTING=OFF \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
- make
-}
-
-package() {
- cd "${srcdir}"/build
- make DESTDIR="${pkgdir}" install
-}
Copied: kmplot/repos/extra-x86_64/PKGBUILD (from rev 261547, kmplot/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD (rev 0)
+++ extra-x86_64/PKGBUILD 2016-03-15 10:53:18 UTC (rev 261548)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kmplot
+pkgver=15.12.3
+pkgrel=1
+pkgdesc="Mathematical Function Plotter"
+url="http://kde.org/applications/education/kmplot/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde-applications' 'kdeedu')
+depends=('kdelibs4support' 'hicolor-icon-theme')
+makedepends=('extra-cmake-modules' 'python' 'kdoctools')
+install=${pkgname}.install
+replaces=('kdeedu-kmplot')
+conflicts=('kdeedu-kmplot')
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kmplot-${pkgver}.tar.xz" kmplot-isnan.patch)
+sha1sums=('31144ee66225ddf0e4edfb5e123da8237412aed6'
+ 'f344ff55983ce1246b103437f616f4ce8df3d4ff')
+
+prepare() {
+ mkdir -p build
+
+# Fix build with glibc 2.23
+ cd $pkgname-$pkgver
+ patch -p1 -i ../kmplot-isnan.patch
+}
+
+build() {
+ cd build
+ cmake ../$pkgname-$pkgver \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DBUILD_TESTING=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+}
Copied: kmplot/repos/extra-x86_64/kmplot-isnan.patch (from rev 261547, kmplot/trunk/kmplot-isnan.patch)
===================================================================
--- extra-x86_64/kmplot-isnan.patch (rev 0)
+++ extra-x86_64/kmplot-isnan.patch 2016-03-15 10:53:18 UTC (rev 261548)
@@ -0,0 +1,42 @@
+--- kmplot-15.12.3/kmplot/view.cpp.0 2016-03-11 21:19:48.011194225 +0000
++++ kmplot-15.12.3/kmplot/view.cpp 2016-03-11 21:20:37.341056493 +0000
+@@ -476,7 +476,7 @@
+ double x = pixel.x();
+ double y = pixel.y();
+
+- if ( isnan(x) )
++ if ( std::isnan(x) )
+ {
+ xclipflg = true;
+ x = pixelIfNaN.x();
+@@ -496,14 +496,14 @@
+ }
+ else
+ {
+- if ( isinf(x) == -1 )
++ if ( std::isinf(x) == -1 )
+ x = 0;
+
+- else if ( isinf(x) == 1 )
++ else if ( std::isinf(x) == 1 )
+ x = m_clipRect.right();
+ }
+
+- if ( isnan(y) )
++ if ( std::isnan(y) )
+ {
+ yclipflg = true;
+ y = pixelIfNaN.y();
+@@ -523,10 +523,10 @@
+ }
+ else
+ {
+- if ( isinf(y) == -1 )
++ if ( std::isinf(y) == -1 )
+ y = 0;
+
+- else if ( isinf(y) == 1 )
++ else if ( std::isinf(y) == 1 )
+ y = m_clipRect.bottom();
+ }
+
Deleted: extra-x86_64/kmplot.install
===================================================================
--- extra-x86_64/kmplot.install 2016-03-15 10:52:59 UTC (rev 261547)
+++ extra-x86_64/kmplot.install 2016-03-15 10:53:18 UTC (rev 261548)
@@ -1,12 +0,0 @@
-post_install() {
- xdg-icon-resource forceupdate --theme hicolor &> /dev/null
- update-desktop-database -q
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}
Copied: kmplot/repos/extra-x86_64/kmplot.install (from rev 261547, kmplot/trunk/kmplot.install)
===================================================================
--- extra-x86_64/kmplot.install (rev 0)
+++ extra-x86_64/kmplot.install 2016-03-15 10:53:18 UTC (rev 261548)
@@ -0,0 +1,12 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
More information about the arch-commits
mailing list