[arch-commits] Commit in nemiver/trunk (Ben Iofel.patch PKGBUILD nemiver.install)

Alexander Rødseth arodseth at archlinux.org
Sat May 28 19:56:23 UTC 2016


    Date: Saturday, May 28, 2016 @ 21:56:23
  Author: arodseth
Revision: 177381

upgpkg: nemiver 0.9.6-4

Added:
  nemiver/trunk/Ben Iofel.patch
Modified:
  nemiver/trunk/PKGBUILD
Deleted:
  nemiver/trunk/nemiver.install

-----------------+
 Ben             |   27 +++++++++++++++++++++++++++
 PKGBUILD        |   16 ++++++++--------
 nemiver.install |   14 --------------
 3 files changed, 35 insertions(+), 22 deletions(-)

Added: Ben Iofel.patch
===================================================================
--- Ben Iofel.patch	                        (rev 0)
+++ Ben Iofel.patch	2016-05-28 19:56:23 UTC (rev 177381)
@@ -0,0 +1,27 @@
+diff --git a/src/dbgengine/nmv-dbg-common.h b/src/dbgengine/nmv-dbg-common.h
+index ad3cc00..0edac7c 100644
+--- a/src/dbgengine/nmv-dbg-common.h
++++ b/src/dbgengine/nmv-dbg-common.h
+@@ -171,7 +171,7 @@ public:
+ 
+     bool has_slot () const
+     {
+-        return m_slot;
++        return static_cast<bool> (m_slot);
+     }
+ 
+     template<class T>
+diff --git a/src/dbgengine/nmv-i-var-list-walker.h b/src/dbgengine/nmv-i-var-list-walker.h
+index b719c0d..f2f3229 100644
+--- a/src/dbgengine/nmv-i-var-list-walker.h
++++ b/src/dbgengine/nmv-i-var-list-walker.h
+@@ -22,7 +22,7 @@
+  *
+  *See COPYRIGHT file copyright information.
+  */
+-#ifndef __NMV_VAR_LIST_WALKER_H__
++#ifndef __NMV_I_VAR_LIST_WALKER_H__
+ #define __NMV_I_VAR_LIST_WALKER_H__
+ 
+ #include "nmv-i-var-walker.h"
+

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-05-28 19:29:57 UTC (rev 177380)
+++ PKGBUILD	2016-05-28 19:56:23 UTC (rev 177381)
@@ -4,22 +4,24 @@
 
 pkgname=nemiver
 pkgver=0.9.6
-pkgrel=3
+pkgrel=4
 pkgdesc='C/C++ debugger for GNOME'
 arch=('x86_64' 'i686')
 license=('GPL')
 url='http://www.gnome.org/projects/nemiver/'
-install="$pkgname.install"
-depends=('gdlmm' 'gdb' 'gtksourceviewmm' 'libgtop' 'vte3' 'ghex' 'gsettings-desktop-schemas')
+depends=('gdlmm' 'gdb' 'gtksourceviewmm' 'libgtop' 'vte3' 'ghex')
 makedepends=('boost' 'intltool' 'itstool' 'gconf' 'gnome-common' 'yelp-tools')
-source=("http://ftp.acc.umu.se/pub/GNOME/sources/nemiver/0.9/$pkgname-$pkgver.tar.xz")
+source=("http://ftp.acc.umu.se/pub/GNOME/sources/nemiver/0.9/$pkgname-$pkgver.tar.xz"
+        'Ben Iofel.patch')
 options=('!emptydirs')
-sha256sums=('85ab8cf6c4f83262f441cb0952a6147d075c3c53d0687389a3555e946b694ef2')
+sha256sums=('85ab8cf6c4f83262f441cb0952a6147d075c3c53d0687389a3555e946b694ef2'
+            '8b7966ef3be114fe999c1f7764b04f05ae191633bfb005f8e3ea80461e4d6bfd')
 
 prepare() {
   cd "$pkgname-$pkgver"
 
   NOCONFIGURE=1 AUTOPOINT=intltoolize gnome-autogen.sh
+  patch -p1 -i '../Ben Iofel.patch'
 }
 
 build() {
@@ -40,9 +42,7 @@
 }
 
 package() {
-  cd "$pkgname-$pkgver"
-
-  make DESTDIR="$pkgdir" install
+  make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
 }
 
 # getver: git.gnome.org/browse/nemiver/plain/configure.ac

Deleted: nemiver.install
===================================================================
--- nemiver.install	2016-05-28 19:29:57 UTC (rev 177380)
+++ nemiver.install	2016-05-28 19:56:23 UTC (rev 177381)
@@ -1,14 +0,0 @@
-post_install() {
-  glib-compile-schemas /usr/share/glib-2.0/schemas
-  gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
-}
-
-post_upgrade() {
-  post_install
-}
-
-post_remove() {
-  post_install
-}
-
-# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list