updating to geany 0.10.1

epel8
Josef Bacik 18 years ago
parent 42caa9f258
commit 72d3f13d54

@ -1 +1 @@
geany-0.10.tar.bz2
geany-0.10.1.tar.bz2

@ -1,22 +0,0 @@
--- geany-orig/src/vte.c.soname 2007-01-25 06:52:12.000000000 -0500
+++ geany-orig/src/vte.c 2007-01-25 06:52:19.000000000 -0500
@@ -134,11 +134,14 @@ void vte_init(void)
}
else
{
- module = g_module_open("libvte.so", G_MODULE_BIND_LAZY);
- // try to fallback to different versions of libvte.so.x
- if (module == NULL) module = g_module_open("libvte.so.4", G_MODULE_BIND_LAZY);
- else if (module == NULL) module = g_module_open("libvte.so.8", G_MODULE_BIND_LAZY);
- else if (module == NULL) module = g_module_open("libvte.so.9", G_MODULE_BIND_LAZY);
+ gint i;
+ const gchar *sonames[] = { "libvte.so", "libvte.so.4",
+ "libvte.so.8", "libvte.so.9", NULL };
+
+ for (i = 0; sonames[i] != NULL && module == NULL; i++ )
+ {
+ module = g_module_open(sonames[i], G_MODULE_BIND_LAZY);
+ }
}
if (module == NULL)

@ -1,13 +1,12 @@
Name: geany
Version: 0.10
Release: 5%{?dist}
Version: 0.10.1
Release: 1%{?dist}
Summary: A fast and lightweight IDE using GTK2
Group: Development/Tools
License: GPL
URL: http://geany.uvena.de/
Source0: http://files.uvena.de/geany/%{name}-%{version}.tar.bz2
Patch0: geany-find-sonames.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -31,7 +30,6 @@ Some features:
%prep
%setup -q
%patch0 -p1 -b .sonames
%build
%configure
@ -61,6 +59,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man1/geany.1.gz
%changelog
* Fri Feb 23 2007 Josef Whiter <josef@toxicpanda.com> 0.10.1-1
- updating to 0.10.1 of geany
* Thu Jan 25 2007 Josef Whiter <josef@toxicpanda.com> 0.10-5
- removed autoconf/automake/vte-devel from BR as they are not needed
- removed patch to dynamically link in libvte

@ -1 +1 @@
2ffaae9b0fa807bdd4be0e6ec0f4a2e5 geany-0.10.tar.bz2
48b0ff7eec8e2a2c02180c83a8c883fd geany-0.10.1.tar.bz2

Loading…
Cancel
Save