[irssi] New version
Jaroslav Škarvada
jskarvad at fedoraproject.org
Mon Sep 16 12:59:45 UTC 2013
commit e616c4c47e4d8c20ea5f2df358caa1251fe3ded4
Author: Jaroslav Škarvada <jskarvad at redhat.com>
Date: Mon Sep 16 14:59:32 2013 +0200
New version
- Dropped init-resize-crash-fix (upstreamed)
- Fixed bogus date in changelog (best effort)
- Disabled unloading static modules (by no-static-unload patch)
.gitignore | 1 +
irssi-0.8.15-init-resize-crash-fix.patch | 13 -----------
irssi-0.8.15-no-static-unload.patch | 35 ++++++++++++++++++++++++++++++
irssi.spec | 23 ++++++++++++------
sources | 2 +-
5 files changed, 52 insertions(+), 22 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 5ea16e6..62f71cd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
irssi-0.8.15.tar.bz2
+/irssi-0.8.16-rc1.tar.bz2
diff --git a/irssi-0.8.15-no-static-unload.patch b/irssi-0.8.15-no-static-unload.patch
new file mode 100644
index 0000000..c583f1c
--- /dev/null
+++ b/irssi-0.8.15-no-static-unload.patch
@@ -0,0 +1,35 @@
+--- irssi-0.8.15/src/fe-common/core/fe-modules.c.old 2010-04-03 18:19:24.000000000 +0200
++++ irssi-0.8.15/src/fe-common/core/fe-modules.c 2010-10-12 14:43:52.586315553 +0200
+@@ -195,6 +195,8 @@
+ MODULE_FILE_REC *file;
+ char *rootmodule, *submodule;
+ void *free_arg;
++ GSList *tmp;
++ int all_dynamic;
+
+ g_return_if_fail(data != NULL);
+
+@@ -204,12 +206,19 @@
+
+ module = module_find(rootmodule);
+ if (module != NULL) {
+- if (*submodule == '\0')
+- module_unload(module);
++ if (*submodule == '\0') {
++ all_dynamic = 1;
++ for (tmp = module->files; tmp != NULL; tmp = tmp->next)
++ all_dynamic &= !MODULE_IS_STATIC((MODULE_FILE_REC*) tmp->data);
++ if (all_dynamic)
++ module_unload(module);
++ }
+ else {
+ file = module_file_find(module, submodule);
+- if (file != NULL)
+- module_file_unload(file);
++ if (file != NULL) {
++ if (!MODULE_IS_STATIC(file))
++ module_file_unload(file);
++ }
+ else
+ module = NULL;
+ }
diff --git a/irssi.spec b/irssi.spec
index 44422c2..bd4fb34 100644
--- a/irssi.spec
+++ b/irssi.spec
@@ -1,17 +1,18 @@
%define perl_vendorarch %(eval "`perl -V:installvendorarch`"; echo $installvendorarch)
+%global pretag rc1
+
Summary: Modular text mode IRC client with Perl scripting
Name: irssi
-Version: 0.8.15
-Release: 15%{?dist}
+Version: 0.8.16
+Release: 0.1%{?pretag:.%{pretag}}%{?dist}
License: GPLv2+
Group: Applications/Communications
URL: http://irssi.org/
-Source0: http://irssi.org/files/irssi-%{version}.tar.bz2
+Source0: http://irssi.org/files/irssi-%{version}%{?pretag:-%{pretag}}.tar.bz2
Source1: irssi-config.h
-# Bug 796457
-Patch0: irssi-0.8.15-init-resize-crash-fix.patch
+Patch0: irssi-0.8.15-no-static-unload.patch
Patch1: irssi-0.8.15-man-fix.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildRequires: ncurses-devel openssl-devel zlib-devel
@@ -38,8 +39,8 @@ being maintained.
%prep
-%setup -q -n %{name}-%{version}
-%patch0 -p1 -b .init-resize-crash-fix
+%setup -q -n %{name}-%{version}%{?pretag:-%{?pretag}}
+%patch0 -p1 -b .no-static-unload
%patch1 -p1 -b .man-fix
%build
@@ -91,6 +92,12 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Mon Sep 16 2013 Jaroslav Škarvada <jskarvad at redhat.com> - 0.8.16-0.1.rc1
+- New version
+- Dropped init-resize-crash-fix (upstreamed)
+- Fixed bogus date in changelog (best effort)
+- Disabled unloading static modules (by no-static-unload patch)
+
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.8.15-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
@@ -238,7 +245,7 @@ rm -rf $RPM_BUILD_ROOT
* Mon Apr 11 2005 Michael Schwendt <mschwendt[AT]users.sf.net> 0.8.9-7
- Two patches to fix build for GCC4 and new Perl with config.h.
-* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
+* Thu Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
- rebuilt
* Fri Dec 24 2004 Michael Schwendt <mschwendt[AT]users.sf.net> 0:0.8.9-5
diff --git a/sources b/sources
index 6e719d7..00667c6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-1dcb3f511b88df94b0c996f36668c7da irssi-0.8.15.tar.bz2
+275c926dcbb11059f8685906df7cfe49 irssi-0.8.16-rc1.tar.bz2
More information about the scm-commits
mailing list