Browse Source

xchat-2.8.8-1

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@3144 ec354946-7b23-47d6-9f5a-488ba84defc7
tomop 13 years ago
parent
commit
5c941b6c27
1 changed files with 40 additions and 8 deletions
  1. 40 8
      x/xchat/xchat-vl.spec

+ 40 - 8
x/xchat/xchat-vl.spec

@@ -2,8 +2,8 @@
 %define with_tclplugin 0
 
 %define name xchat
-%define version 2.8.6
-%define release 5%{?_dist_release}
+%define version 2.8.8
+%define release 1%{?_dist_release}
 
 Summary:   GTK2 based graphical IRC client
 Summary(ja):   GTK2 ベースのグラフィカル IRC クライアント
@@ -14,16 +14,36 @@ Group:     Applications/Internet
 License:   GPL
 URL:       http://www.xchat.org/
 
-Source0: http://www.xchat.org/files/source/2.0/xchat-%{version}.tar.bz2
-
-Patch10: http://xchat.org/files/source/2.8/patches/xc286-smallfixes.diff
+Source0: http://www.xchat.org/files/source/2.8/xchat-%{version}.tar.xz
+
+#Patch10: http://xchat.org/files/source/2.8/patches/xc286-smallfixes.diff
+
+# Patches 0-9 reserved for official xchat.org patches
+
+Patch12: xchat-1.8.7-use-sysconf-to-detect-cpus.patch
+# see #241923
+Patch35: xchat-2.8.4-disable-tray-icon-by-default.patch
+# Upstream XChat 2.8.6 defaults to Latin1 (what upstream calls the "IRC"
+# encoding). Default to UTF-8 instead (as previous versions did, at least when
+# running under a UTF-8 locale).
+# Both the "IRC" and "UTF-8" settings will try to accept both Latin1 and UTF-8
+# when it comes in, however "IRC" sends Latin1, "UTF-8" sends UTF-8.
+Patch41: xchat-2.8.6-default-utf8.patch
+# patch to add ability to change to tab with most recent activity
+# See http://sourceforge.net/tracker/?func=detail&aid=2022871&group_id=239&atid=350239
+Patch50: xchat-2.8.6-change-page-activity.patch
+# add port numbers for Freenode (Debarshi Ray)
+Patch51: xchat-2.8.6-freenode-ports.patch
+# work with libnotify 0.7
+# https://sourceforge.net/tracker/?func=detail&aid=3109838&group_id=239&atid=100239
+Patch52: xchat-2.8.8-libnotify07.patch
 
 # Vine
 #Source100: xchat-2.4.5-ja.po
 Patch100: http://takuo.jp/junk/xchat/99_plus.dpatch
 Patch110: http://takuo.jp/junk/xchat/99_x_dialog.dpatch
 Patch200: xchat-2.8.6_defaultserver-vine.patch
-Patch201: xchat-2.8.6-x86_64.patch
+#Patch201: xchat-2.8.6-x86_64.patch
 
 # xchat MUST have the version of perl installed which was used to compile
 # it, or else the embeded perl interpreter will break.
@@ -56,15 +76,23 @@ X-ChatはGTK2ベースのXウィンドウシステム用のIRCクライアント
 %prep
 %setup -q
 
-%patch10 -p1
+##%patch10 -p1
+
+%patch12 -p0 -b .use-sysconf-to-detect-cpus
+%patch35 -p1 -b .tray-icon
+%patch41 -p1 -b .default-utf8
+%patch50 -p1 -b .active-channel-switch
+%patch51 -p1 -b .freenode-ports
+%patch52 -p1 -b .libnotify07
 
 %patch100 -p1 -b .plus
 %patch110 -p1 -b .dialog
 
 %patch200 -p1 -b .servlist
-%patch201 -p1 -b .x86_64
+#%patch201 -p1 -b .x86_64
 
 sed -i -e 's/#define GTK_DISABLE_DEPRECATED//g' src/fe-gtk/*.c
+sed -i -e 's/GETTEXT_MACRO_VERSION = 0\.17/GETTEXT_MACRO_VERSION = 0.18/g' po/Makefile.in.in
 
 
 %build
@@ -143,6 +171,10 @@ fi
 
 
 %changelog
+* Sun Mar 27 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.8.8-1
+- new upstream release.
+- shipped some patches from Fedora development.
+
 * Sat Jan 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.8.6-5
 - rebuild with openssl-1.0.0c
 - add BuildRequires: tcl