forked from pool/weechat
Accepting request 123448 from server:irc
- enable guile scripting support introduced in 0.3.7 - dropped unnecessary weechat-0.3.3-fix-strftime.patch - added weechat-fix-cmake-guile.patch which fixes the include dir for guile no being passed to the guild script plugin cmake file - update to version 0.3.8: * add terminal "bracketed paste mode" * add IRC "external" SASL mechanism * improve parsing of IRC channel modes (do not send extra command "MODE" to server) * follow symbolic links for configuration files (*.conf) * new option weechat.look.prefix_same_nick (hide same prefix for multiple consecutive messages from same nick) * add colors for backlog lines * redirect IRC messages from clients to hide output (relay plugin, IRC protocol) * add a connection timeout for child process in hook_connect * fix display bugs and crashs with small windows * fix truncated configuration files (zero-length) after system crash * many bugs fixed. OBS-URL: https://build.opensuse.org/request/show/123448 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/weechat?expand=0&rev=11
This commit is contained in:
commit
601d50add7
@ -1,11 +0,0 @@
|
||||
diff -urN weechat-0.3.3.orig/src/plugins/scripts/ruby/weechat-ruby.c weechat-0.3.3/src/plugins/scripts/ruby/weechat-ruby.c
|
||||
--- weechat-0.3.3.orig/src/plugins/scripts/ruby/weechat-ruby.c 2010-06-21 12:33:42.000000000 +0200
|
||||
+++ weechat-0.3.3/src/plugins/scripts/ruby/weechat-ruby.c 2010-11-08 16:33:02.000000000 +0100
|
||||
@@ -32,6 +32,7 @@
|
||||
#include <stdarg.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
+#include <time.h>
|
||||
|
||||
#include "../../weechat-plugin.h"
|
||||
#include "../script.h"
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8ef5e3daf49e75669e36093c1df852e65b51d512073c6e6b935a7fa90f6b7bca
|
||||
size 2444611
|
3
weechat-0.3.8.tar.bz2
Normal file
3
weechat-0.3.8.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3cb8c88d5471e01fd74d41a2bc0845e2b2b893dd1ea887a672c2cf0a7a1a06a5
|
||||
size 2488165
|
13
weechat-fix-cmake-guile.patch
Normal file
13
weechat-fix-cmake-guile.patch
Normal file
@ -0,0 +1,13 @@
|
||||
Index: weechat-0.3.8/src/plugins/scripts/guile/CMakeLists.txt
|
||||
===================================================================
|
||||
--- weechat-0.3.8.orig/src/plugins/scripts/guile/CMakeLists.txt
|
||||
+++ weechat-0.3.8/src/plugins/scripts/guile/CMakeLists.txt
|
||||
@@ -23,7 +23,7 @@ weechat-guile-api.c weechat-guile-api.h)
|
||||
SET_TARGET_PROPERTIES(guile PROPERTIES PREFIX "")
|
||||
|
||||
IF(GUILE_FOUND)
|
||||
- INCLUDE_DIRECTORIES(${GUILE_INCLUDE_PATH})
|
||||
+ INCLUDE_DIRECTORIES(${GUILE_INCLUDE_DIRS})
|
||||
SET(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} ${GUILE_LFLAGS}")
|
||||
TARGET_LINK_LIBRARIES(guile ${GUILE_LIBRARY} weechat_scripts)
|
||||
ENDIF(GUILE_FOUND)
|
@ -1,3 +1,31 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 4 08:45:44 UTC 2012 - gber@opensuse.org
|
||||
|
||||
- enable guile scripting support introduced in 0.3.7
|
||||
- dropped unnecessary weechat-0.3.3-fix-strftime.patch
|
||||
- added weechat-fix-cmake-guile.patch which fixes the include dir
|
||||
for guile no being passed to the guild script plugin cmake file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 4 07:22:22 UTC 2012 - gber@opensuse.org
|
||||
|
||||
- update to version 0.3.8:
|
||||
* add terminal "bracketed paste mode"
|
||||
* add IRC "external" SASL mechanism
|
||||
* improve parsing of IRC channel modes (do not send extra command
|
||||
"MODE" to server)
|
||||
* follow symbolic links for configuration files (*.conf)
|
||||
* new option weechat.look.prefix_same_nick (hide same prefix for
|
||||
multiple consecutive messages from same nick)
|
||||
* add colors for backlog lines
|
||||
* redirect IRC messages from clients to hide output (relay
|
||||
plugin, IRC protocol)
|
||||
* add a connection timeout for child process in hook_connect
|
||||
* fix display bugs and crashs with small windows
|
||||
* fix truncated configuration files (zero-length) after system
|
||||
crash
|
||||
* many bugs fixed.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 21 11:49:18 UTC 2012 - badshah400@gmail.com
|
||||
|
||||
|
55
weechat.spec
55
weechat.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package weechat (Version 0.3.5)
|
||||
# spec file for package weechat
|
||||
#
|
||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -15,26 +15,29 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
%if 0%{?suse_version} > 1140
|
||||
%define guile_ver 2.0
|
||||
%endif
|
||||
|
||||
Name: weechat
|
||||
Version: 0.3.7
|
||||
Version: 0.3.8
|
||||
Release: 0
|
||||
Summary: Portable, Fast, Light and Extensible Chat Client
|
||||
License: GPL-3.0+
|
||||
Group: Productivity/Networking/IRC
|
||||
Source: http://www.weechat.org/files/src/weechat-%{version}.tar.bz2
|
||||
Source1: weechat.desktop
|
||||
Patch1: weechat-0.3.3-fix-strftime.patch
|
||||
URL: http://www.weechat.org
|
||||
Group: Productivity/Networking/IRC
|
||||
License: GPL-3.0+
|
||||
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
||||
BuildRequires: gcc-c++
|
||||
# PATCH-FIX-UPSTREAM weechat-fix-cmake-guile.patch https://savannah.nongnu.org/patch/index.php?7790 gber@opensuse.org -- Fixes the include dir for guile no being passed to the guild script plugin cmake file
|
||||
Patch0: weechat-fix-cmake-guile.patch
|
||||
Url: http://www.weechat.org
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: cmake
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: libtool
|
||||
BuildRequires: curl-devel
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libtool
|
||||
BuildRequires: ncurses-devel
|
||||
BuildRequires: perl
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: python-devel
|
||||
%if 0%{?suse_version} > 1210
|
||||
BuildRequires: lua51-devel
|
||||
@ -48,11 +51,12 @@ BuildRequires: libgnutls-devel
|
||||
BuildRequires: gnutls-devel
|
||||
%endif
|
||||
BuildRequires: aspell-devel
|
||||
BuildRequires: guile-devel
|
||||
BuildRequires: libgcrypt-devel
|
||||
BuildRequires: libgpg-error-devel
|
||||
BuildRequires: lzo-devel
|
||||
BuildRequires: ruby-devel
|
||||
BuildRequires: tcl-devel
|
||||
BuildRequires: lzo-devel
|
||||
BuildRequires: libgpg-error-devel
|
||||
BuildRequires: libgcrypt-devel
|
||||
%if 0%{?suse_version:1}
|
||||
BuildRequires: update-desktop-files
|
||||
%endif
|
||||
@ -73,6 +77,14 @@ Requires: %{name} = %{version}-%{release}
|
||||
%description devel
|
||||
Development environment for authoring %{name} plugins.
|
||||
|
||||
%package guile
|
||||
Summary: Guile Scripting Support for %{name}
|
||||
Group: Productivity/Networking/IRC
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description guile
|
||||
Support for %{name} scripts written in the Guile language.
|
||||
|
||||
%package lua
|
||||
Summary: Lua Scripting Support for %{name}
|
||||
Group: Productivity/Networking/IRC
|
||||
@ -123,7 +135,7 @@ Spell-checking support for %{name}, using the aspell library.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1 -p1
|
||||
%patch0 -p1
|
||||
modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changes")"
|
||||
DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\""
|
||||
TIME="\"$(date -d "${modified}" "+%%R")\""
|
||||
@ -137,7 +149,12 @@ pushd build
|
||||
cmake \
|
||||
-DCMAKE_INSTALL_PREFIX="%{_prefix}" \
|
||||
-DLIBDIR="%{_libdir}" \
|
||||
-DPYTHON_LIBRARY="%{_libdir}/libpython%{py_ver}.so" ..
|
||||
%if 0%{?suse_version} > 1140
|
||||
-DGUILE_INCLUDE_DIR="%{_includedir}/guile/2.0" \
|
||||
-DGUILE_LIBRARY="%{_libdir}/libguile-%{guile_ver}.so" \
|
||||
%endif
|
||||
-DPYTHON_LIBRARY="%{_libdir}/libpython%{py_ver}.so" \
|
||||
..
|
||||
%__make %{?_smp_flags} VERBOSE=1
|
||||
popd #build
|
||||
|
||||
@ -191,6 +208,10 @@ popd #build
|
||||
%{_includedir}/weechat
|
||||
%{_libdir}/pkgconfig/weechat.pc
|
||||
|
||||
%files guile
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/weechat/plugins/guile.so
|
||||
|
||||
%files lua
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/weechat/plugins/lua.so
|
||||
|
Loading…
x
Reference in New Issue
Block a user