devel/x3270 x3270-3.3.6-resize.patch, NONE, 1.1 .cvsignore, 1.4, 1.5 sources, 1.4, 1.5 x3270.spec, 1.25, 1.26 x3270-3.2.20-timeh.patch, 1.1, NONE x3270-3.3-modularX.patch, 1.1, NONE

Karsten Hopp (karsten) fedora-extras-commits at redhat.com
Wed Aug 8 15:19:22 UTC 2007


Author: karsten

Update of /cvs/extras/devel/x3270
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22717

Modified Files:
	.cvsignore sources x3270.spec 
Added Files:
	x3270-3.3.6-resize.patch 
Removed Files:
	x3270-3.2.20-timeh.patch 
      Tag: x3270-3_3_4p6-5_fc5
	x3270-3.3-modularX.patch 
Log Message:
- version 3.3.6
- fix font resize issue
- enable app-defaults
- rpmlint fixes


x3270-3.3.6-resize.patch:

--- NEW FILE x3270-3.3.6-resize.patch ---
--- x3270-3.3/screen.c.old	2007-07-18 08:58:54.000000000 +0100
+++ x3270-3.3/screen.c	2007-07-18 08:59:07.000000000 +0100
@@ -5072,7 +5072,6 @@
 		trace_event("  bigger\n    asserting desired size\n");
 		set_toplevel_sizes();
 		screen_redo = REDO_NONE;
-		goto done;
 	}
 
 	/* They're not correct. */


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/devel/x3270/.cvsignore,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- .cvsignore	13 Jun 2006 11:35:37 -0000	1.4
+++ .cvsignore	8 Aug 2007 15:18:49 -0000	1.5
@@ -1,2 +1,2 @@
-c3270-3.3.4p7.tgz
-x3270-3.3.4p7.tgz
+c3270-3.3.6.tgz
+x3270-3.3.6.tgz


Index: sources
===================================================================
RCS file: /cvs/extras/devel/x3270/sources,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- sources	13 Jun 2006 11:35:37 -0000	1.4
+++ sources	8 Aug 2007 15:18:49 -0000	1.5
@@ -1,2 +1,2 @@
-3ee50cfc7ad1f29ca34f7e10968a6127  c3270-3.3.4p7.tgz
-cf996a476f6daa2eed337449c900ee58  x3270-3.3.4p7.tgz
+d3eb409c406e0ff5ed9a3f0ae4b5452e  c3270-3.3.6.tgz
+3017011d1c33bb18a609b06379bf6ba6  x3270-3.3.6.tgz


Index: x3270.spec
===================================================================
RCS file: /cvs/extras/devel/x3270/x3270.spec,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- x3270.spec	27 Aug 2006 21:57:13 -0000	1.25
+++ x3270.spec	8 Aug 2007 15:18:49 -0000	1.26
@@ -4,8 +4,8 @@
 %endif
 Summary: An X Window System based IBM 3278/3279 terminal emulator
 Name: x3270
-Version: 3.3.4p7
-Release: 5%{?dist}
+Version: 3.3.6
+Release: 1%{?dist}
 License: MIT
 Group: Applications/Internet
 URL: http://www.geocities.com/SiliconValley/Peaks/7814
@@ -13,20 +13,19 @@
 Source1: http://x3270.bgp.nu/download/c3270-%{version}.tgz
 Source2: x3270.png
 Source3: x3270.desktop
-Patch0: x3270-3.3.4-path.patch
-Patch1: x3270-3.2.20-timeh.patch
-Patch2: c3270-332-ncursesw.patch
-Patch3: x3270-3.3-syntax.patch
-Patch4: x3270-3.3-encoding.patch
-Patch5: x3270-3.3-modularX.patch
-Requires: xorg-x11-font-utils
+Patch0: x3270-3.2.16-redhat.patch
+Patch1: c3270-332-ncursesw.patch
+Patch2: x3270-3.3-syntax.patch
+Patch3: x3270-3.3-encoding.patch
+Patch4: x3270-3.3.6-resize.patch
+Prereq: xorg-x11-font-utils
+BuildPreReq: ncurses-devel readline-devel glibc-devel openssl-devel
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: ncurses-devel readline-devel glibc-devel openssl-devel libtool
 BuildRequires: perl
 %if %{desktop_file}
 BuildRequires: desktop-file-utils >= %{desktop_file_utils_version}
 %endif
-Obsoletes: x3270-tcl
 
 %package x11
 Summary: IBM 3278/3279 terminal emulator for the X Window System
@@ -74,7 +73,7 @@
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
-%patch3 -p1
+#patch3 -p1
 %patch4 -p1
 
 %build
@@ -84,7 +83,7 @@
 # Fix end of line encodings
 perl -pi -e "s/
//" html/Keymap.html html/Build.html
 libtoolize --copy --force
-%configure --prefix=%{_prefix}/ --with-fontdir=%{_datadir}/x3270/fonts --x-includes=%{_includedir}/X11 --x-libraries=%{_libdir}/X11
+%configure --prefix=%{_prefix}/ --with-fontdir=%{_datadir}/fonts/x3270 --x-includes=/usr/include/X11 --x-libraries=/%{_libdir}/X11 --enable-app-defaults
 # Work around broken imake:
 echo 'makedepend "$@"' > gccmakedep
 chmod +x gccmakedep
@@ -110,6 +109,7 @@
 mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
 mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/x3270/fonts
 mkdir -p ${RPM_BUILD_ROOT}/%{_datadir}/icons/hicolor/48x48/apps
+mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/X11/app-defaults
 
 # XXX Hack around mkfontdir madness on install.
 install -m755 x3270 $RPM_BUILD_ROOT%{_prefix}/bin
@@ -128,6 +128,7 @@
 install -m644 %{SOURCE2} ${RPM_BUILD_ROOT}%{_datadir}/icons/hicolor/48x48/apps
 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/X11/applnk/Utilities
 install -m644 %{SOURCE3} ${RPM_BUILD_ROOT}%{_sysconfdir}/X11/applnk/Utilities
+install -m644 X3270.xad ${RPM_BUILD_ROOT}%{_datadir}/X11/app-defaults/X3270
 
 %if %{desktop_file}
 mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications
@@ -141,8 +142,8 @@
 %endif
 
 
-rm -f Examples/*.rh
-chmod -x Examples/*
+rm -f Examples/*.rh Examples/*.orig
+chmod -x Examples/* html/*
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -167,7 +168,7 @@
 
 %files
 %defattr(-,root,root)
-%doc README Examples html LICENSE
+%doc README LICENSE Examples html
 %{_prefix}/bin/pr3287
 %{_prefix}/bin/x3270if
 %exclude %{_mandir}/man1/c3270*
@@ -181,6 +182,7 @@
 %dir %{_datadir}/x3270/fonts
 %{_datadir}/x3270/fonts/*
 %{_datadir}/icons/hicolor/48x48/apps/x3270.png
+%{_datadir}/X11/app-defaults/X3270
 %if %{desktop_file}
 %{_datadir}/applications/*
 %else
@@ -193,6 +195,11 @@
 %{_mandir}/man1/c3270*
 
 %changelog
+* Wed Aug 08 2007 Karsten Hopp <karsten at redhat.com> 3.3.6-1
+- version 3.3.6
+- fix font resize issue
+- enable app-defaults
+
 * Sun Aug 27 2006 Karsten Hopp <karsten at redhat.de> 3.3.4p7-5
 - rebuild
 


--- x3270-3.2.20-timeh.patch DELETED ---


--- x3270-3.3-modularX.patch DELETED ---




More information about the fedora-extras-commits mailing list