packages: urxvt/urxvt.spec - added gcc 4.4 patch - added bcond for unsuppor...

lkrotowski lkrotowski at pld-linux.org
Tue Dec 1 20:03:10 CET 2009


Author: lkrotowski                   Date: Tue Dec  1 19:03:10 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- added gcc 4.4 patch
- added bcond for unsupported 256 colors patch
- removed unused configure parameters

---- Files affected:
packages/urxvt:
   urxvt.spec (1.49 -> 1.50) 

---- Diffs:

================================================================
Index: packages/urxvt/urxvt.spec
diff -u packages/urxvt/urxvt.spec:1.49 packages/urxvt/urxvt.spec:1.50
--- packages/urxvt/urxvt.spec:1.49	Sun Nov  9 09:13:34 2008
+++ packages/urxvt/urxvt.spec	Tue Dec  1 20:03:05 2009
@@ -1,4 +1,8 @@
 # $Revision$, $Date$
+#
+# Conditional build:
+#
+%bcond_with     256colors # unsupported 256 colors patch (see FAQ)
 %include	/usr/lib/rpm/macros.perl
 Summary:	Rxvt terminal with unicode support and some improvements
 Summary(pl.UTF-8):	Terminal Rxvt z obsługą unicode i kilkoma usprawnieniami
@@ -10,6 +14,7 @@
 Source0:	http://dist.schmorp.de/rxvt-unicode/rxvt-unicode-%{version}.tar.bz2
 # Source0-md5:	4cb9330e99fc0b0b05cebf3581557dd8
 Source1:	%{name}.desktop
+Patch0:		%{name}-gcc44.patch
 URL:		http://software.schmorp.de/
 BuildRequires:	autoconf >= 2.50
 BuildRequires:	fontconfig-devel
@@ -41,24 +46,23 @@
 
 %prep
 %setup -q -n rxvt-unicode-%{version}
+%patch0 -p1
+%if %{with 256colors}
+patch -p1 < doc/urxvt-8.2-256color.patch
+%endif
 
 %build
 %{__autoheader}
 %{__autoconf}
 %configure \
-	--enable-shared \
-	--disable-static \
+%if %{with 256colors}
+	--enable-xterm-colors=256 \
+%endif
 	--enable-everything \
-	--enable-xgetdefault \
 	--enable-mousewheel \
-	--disable-menubar \
 	--enable-next-scroll \
-	--enable-ttygid \
 	--with-term=rxvt \
-	--enable-half-shadow \
-	--enable-smart-resize \
-	--enable-256-color \
-	--enable-24bit
+	--enable-smart-resize
 
 %{__make} \
 	CXXFLAGS="%{rpmcxxflags}" \
@@ -93,6 +97,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.50  2009/12/01 19:03:05  lkrotowski
+- added gcc 4.4 patch
+- added bcond for unsupported 256 colors patch
+- removed unused configure parameters
+
 Revision 1.49  2008/11/09 08:13:34  uzsolt
 - up to 9.06
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/urxvt/urxvt.spec?r1=1.49&r2=1.50&f=u



More information about the pld-cvs-commit mailing list