Skip to content
Snippets Groups Projects
Commit 602cf3f0 authored by Balló György's avatar Balló György :flag_hu:
Browse files

Update to new version

parent 82569ac3
No related branches found
No related tags found
No related merge requests found
From c6781c4eae7f820c1d832177539bc90e1ec4e3e4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ball=C3=B3=20Gy=C3=B6rgy?= <ballogyor@gmail.com>
Date: Thu, 11 Jan 2018 11:12:22 +0100
Subject: [PATCH] Fix string comparison
---
src/nautilus-python.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/nautilus-python.c b/src/nautilus-python.c
index 694d555..bbffb97 100644
--- a/src/nautilus-python.c
+++ b/src/nautilus-python.c
@@ -248,7 +248,7 @@ nautilus_python_check_all_directories(GTypeModule *module) {
while (*temp != NULL) {
gchar *dir = g_build_filename(*temp,
"nautilus-python", "extensions", NULL);
- if (dir != prefix_extension_dir) {
+ if (g_strcmp0 (dir, prefix_extension_dir) != 0) {
dirs = g_list_append(dirs, dir);
}
--
2.15.1
......@@ -3,24 +3,16 @@
pkgbase=nautilus-python
pkgname=('python-nautilus' 'python2-nautilus')
pkgver=1.2.1
pkgrel=3
pkgver=1.2.2
pkgrel=1
pkgdesc="Python bindings for the Nautilus Extension API"
arch=('x86_64')
url="https://wiki.gnome.org/Projects/NautilusPython"
license=('GPL')
depends=('nautilus' 'python-gobject' 'python2-gobject')
makedepends=('gtk-doc')
source=(https://download.gnome.org/sources/$pkgbase/${pkgver%.*}/$pkgbase-$pkgver.tar.xz
0001-Fix-string-comparison.patch)
sha256sums=('36f98a8cc191b4ffcbcd7835eb80f99f39095b221c0ab65b4c84a859f9a9b10f'
'acad9ef3bbf1093a83c3a61f1789985c78d6e6ef3e06070fb1eda6176cd181bd')
prepare() {
cd $pkgbase-$pkgver
patch -Np1 -i ../0001-Fix-string-comparison.patch
autoreconf -fi
}
source=(https://download.gnome.org/sources/$pkgbase/${pkgver%.*}/$pkgbase-$pkgver.tar.xz)
sha256sums=('90cda3fd613ed012214e47c2dc6f814db4e204a5af38e840479819ab9c59f112')
build() {
# Python 3 version
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment