[arch-commits] Commit in kmplot/repos (8 files)

Antonio Rojas arojas at archlinux.org
Sat Mar 26 23:02:01 UTC 2016


    Date: Sunday, March 27, 2016 @ 00:02:01
  Author: arojas
Revision: 262684

archrelease: copy kde-unstable to staging-i686, staging-x86_64

Added:
  kmplot/repos/staging-i686/
  kmplot/repos/staging-i686/PKGBUILD
    (from rev 262683, kmplot/kde-unstable/PKGBUILD)
  kmplot/repos/staging-i686/kmplot-isnan.patch
    (from rev 262683, kmplot/kde-unstable/kmplot-isnan.patch)
  kmplot/repos/staging-i686/kmplot.install
    (from rev 262683, kmplot/kde-unstable/kmplot.install)
  kmplot/repos/staging-x86_64/
  kmplot/repos/staging-x86_64/PKGBUILD
    (from rev 262683, kmplot/kde-unstable/PKGBUILD)
  kmplot/repos/staging-x86_64/kmplot-isnan.patch
    (from rev 262683, kmplot/kde-unstable/kmplot-isnan.patch)
  kmplot/repos/staging-x86_64/kmplot.install
    (from rev 262683, kmplot/kde-unstable/kmplot.install)

-----------------------------------+
 staging-i686/PKGBUILD             |   38 ++++++++++++++++++++++++++++++++
 staging-i686/kmplot-isnan.patch   |   42 ++++++++++++++++++++++++++++++++++++
 staging-i686/kmplot.install       |   12 ++++++++++
 staging-x86_64/PKGBUILD           |   38 ++++++++++++++++++++++++++++++++
 staging-x86_64/kmplot-isnan.patch |   42 ++++++++++++++++++++++++++++++++++++
 staging-x86_64/kmplot.install     |   12 ++++++++++
 6 files changed, 184 insertions(+)

Copied: kmplot/repos/staging-i686/PKGBUILD (from rev 262683, kmplot/kde-unstable/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2016-03-26 23:02:01 UTC (rev 262684)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kmplot
+pkgver=16.03.80
+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/unstable/applications/${pkgver}/src/kmplot-${pkgver}.tar.xz")
+sha1sums=('145a6dfb160ddfb62481e33fef099d90e6ad5659')
+
+prepare() {
+  mkdir -p build
+}
+
+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/staging-i686/kmplot-isnan.patch (from rev 262683, kmplot/kde-unstable/kmplot-isnan.patch)
===================================================================
--- staging-i686/kmplot-isnan.patch	                        (rev 0)
+++ staging-i686/kmplot-isnan.patch	2016-03-26 23:02:01 UTC (rev 262684)
@@ -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();
+ 	}
+ 	

Copied: kmplot/repos/staging-i686/kmplot.install (from rev 262683, kmplot/kde-unstable/kmplot.install)
===================================================================
--- staging-i686/kmplot.install	                        (rev 0)
+++ staging-i686/kmplot.install	2016-03-26 23:02:01 UTC (rev 262684)
@@ -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
+}

Copied: kmplot/repos/staging-x86_64/PKGBUILD (from rev 262683, kmplot/kde-unstable/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2016-03-26 23:02:01 UTC (rev 262684)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kmplot
+pkgver=16.03.80
+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/unstable/applications/${pkgver}/src/kmplot-${pkgver}.tar.xz")
+sha1sums=('145a6dfb160ddfb62481e33fef099d90e6ad5659')
+
+prepare() {
+  mkdir -p build
+}
+
+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/staging-x86_64/kmplot-isnan.patch (from rev 262683, kmplot/kde-unstable/kmplot-isnan.patch)
===================================================================
--- staging-x86_64/kmplot-isnan.patch	                        (rev 0)
+++ staging-x86_64/kmplot-isnan.patch	2016-03-26 23:02:01 UTC (rev 262684)
@@ -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();
+ 	}
+ 	

Copied: kmplot/repos/staging-x86_64/kmplot.install (from rev 262683, kmplot/kde-unstable/kmplot.install)
===================================================================
--- staging-x86_64/kmplot.install	                        (rev 0)
+++ staging-x86_64/kmplot.install	2016-03-26 23:02:01 UTC (rev 262684)
@@ -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