9397
|
1 |
#
|
|
2 |
# spec file for package vte
|
|
3 |
#
|
|
4 |
# Copyright (c) 2005 Sun Microsystems, Inc.
|
|
5 |
# This file and all modifications and additions to the pristine
|
|
6 |
# package are under the same license as the package itself.
|
|
7 |
#
|
|
8 |
# Owner: yippi
|
|
9 |
#
|
|
10 |
Name: vte
|
|
11 |
License: LGPL
|
|
12 |
Group: System/Libraries
|
9720
|
13 |
Version: 0.16.1
|
9397
|
14 |
Release: 1
|
|
15 |
Distribution: Java Desktop System
|
|
16 |
Vendor: Sun Microsystems, Inc.
|
|
17 |
Summary: Terminal Emulation Widget Library
|
9543
|
18 |
Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.16/%{name}-%{version}.tar.bz2
|
9397
|
19 |
#owner:yippi date:2004-06-22 type:bug bugzilla:142640
|
|
20 |
Patch1: vte-01-fcconfig.diff
|
|
21 |
#owner:yippi date:2005-09-06 type:bug bugzilla:150052 bugster:5080038
|
|
22 |
Patch2: vte-02-inputmethod-spotlocation.diff
|
|
23 |
#owner:yippi date:2005-09-06 type:bug bugzilla:153265 bugster:5098217
|
|
24 |
Patch3: vte-03-cut-copy-paste-handle.diff
|
|
25 |
#owner:yippi date:2005-09-06 type:bug bugster:5028816
|
|
26 |
Patch4: vte-04-utf8-ambiguous.diff
|
|
27 |
#owner:yippi date:2005-09-06 type:bug bugster:6198452,5014824 bugzilla:143914
|
|
28 |
Patch5: vte-05-selection-perf-improve.diff
|
9668
|
29 |
#owner:doug date:2007-04-03 type: bug bugzilla:425767
|
|
30 |
Patch6: vte-06-nullptr-check.diff
|
9397
|
31 |
URL: http://www.gnome.org
|
|
32 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
33 |
Docdir: %{_defaultdocdir}/doc
|
|
34 |
AutoReqProv: on
|
|
35 |
Prereq: /sbin/ldconfig
|
|
36 |
|
|
37 |
%define gtk2_version 2.10.0
|
|
38 |
%define python_version 2.4
|
|
39 |
|
|
40 |
Requires: gtk2 >= %{gtk2_version}
|
|
41 |
BuildRequires: gtk2-devel >= %{gtk2_version}
|
|
42 |
BuildRequires: python >= %{python_version}
|
|
43 |
|
|
44 |
%description
|
|
45 |
VTE is a terminal emulation widget for GTK+, used in GNOME Terminal.
|
|
46 |
|
|
47 |
%package devel
|
|
48 |
Summary: Terminal Emulation Widget Development Library
|
|
49 |
Group: Development/Libraries
|
|
50 |
Requires: %{name} = %{version}-%{release}
|
|
51 |
Requires: gtk2-devel >= %{gtk2_version}
|
|
52 |
|
|
53 |
%description devel
|
|
54 |
VTE is a terminal emulation widget for GTK+, used in GNOME Terminal.
|
|
55 |
|
|
56 |
%prep
|
|
57 |
%setup -q
|
|
58 |
%patch1 -p1
|
|
59 |
%patch2 -p1
|
|
60 |
%patch3 -p1
|
|
61 |
%patch4 -p1
|
|
62 |
%patch5 -p1
|
9668
|
63 |
%patch6 -p1
|
9397
|
64 |
|
|
65 |
%build
|
|
66 |
%ifos linux
|
|
67 |
if [ -x /usr/bin/getconf ]; then
|
|
68 |
CPUS=`getconf _NPROCESSORS_ONLN`
|
|
69 |
fi
|
|
70 |
%else
|
|
71 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
|
|
72 |
%endif
|
|
73 |
if test "x$CPUS" = "x" -o $CPUS = 0; then
|
|
74 |
CPUS=1
|
|
75 |
fi
|
|
76 |
|
|
77 |
libtoolize --force
|
|
78 |
aclocal $ACLOCAL_FLAGS -I .
|
|
79 |
autoheader
|
|
80 |
automake -a -c -f
|
|
81 |
autoconf
|
|
82 |
|
|
83 |
CFLAGS="$RPM_OPT_FLAGS" \
|
|
84 |
./configure --prefix=%{_prefix} \
|
|
85 |
--sysconfdir=%{_sysconfdir} \
|
|
86 |
--datadir=%{_datadir} \
|
|
87 |
--libexecdir=%{_libexecdir} \
|
|
88 |
%{gtk_doc_option}
|
|
89 |
make -j $CPUS \
|
|
90 |
pyexecdir=%{_libdir}/python%{python_version}/vendor-packages \
|
|
91 |
pythondir=%{_libdir}/python%{python_version}/vendor-packages
|
|
92 |
|
|
93 |
%install
|
|
94 |
make DESTDIR=$RPM_BUILD_ROOT install \
|
|
95 |
pyexecdir=%{_libdir}/python%{python_version}/vendor-packages \
|
|
96 |
pythondir=%{_libdir}/python%{python_version}/vendor-packages
|
|
97 |
#Copy zh_HK from zh_TW
|
|
98 |
#Fixes bug 4930405
|
|
99 |
install -d $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES
|
|
100 |
install --mode=0644 $RPM_BUILD_ROOT%{_datadir}/locale/zh_TW/LC_MESSAGES/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES/
|
|
101 |
# Clean up unpackaged files
|
|
102 |
rm $RPM_BUILD_ROOT%{_libdir}/*.a
|
|
103 |
rm $RPM_BUILD_ROOT%{_libdir}/*.la
|
|
104 |
rm $RPM_BUILD_ROOT%{_libdir}/python2.4/vendor-packages/gtk-2.0/*.a
|
|
105 |
rm $RPM_BUILD_ROOT%{_libdir}/python2.4/vendor-packages/gtk-2.0/*.la
|
|
106 |
|
|
107 |
|
|
108 |
%clean
|
|
109 |
rm -rf $RPM_BUILD_ROOT
|
|
110 |
|
|
111 |
%post
|
|
112 |
/sbin/ldconfig
|
|
113 |
|
|
114 |
%postun
|
|
115 |
/sbin/ldconfig
|
|
116 |
|
|
117 |
%files
|
|
118 |
%defattr(-,root,root)
|
|
119 |
%{_bindir}/*
|
|
120 |
%{_libdir}/*.so*
|
|
121 |
%attr(2711,root,utmp) %{_libexecdir}/gnome-pty-helper
|
|
122 |
%{_datadir}/%{name}
|
|
123 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo
|
|
124 |
%{_mandir}/man1/*
|
|
125 |
%{_mandir}/man3/*
|
|
126 |
|
|
127 |
%files devel
|
|
128 |
%defattr(-,root,root)
|
|
129 |
%{_datadir}/gtk-doc/html/%{name}
|
|
130 |
%{_includedir}/*
|
|
131 |
%{_libdir}/*.so
|
|
132 |
%dir %{_libdir}/%{name}
|
|
133 |
%{_libdir}/%{name}/*
|
|
134 |
%{_libdir}/pkgconfig/*
|
|
135 |
%{_libdir}/python2.4/vendor-packages/gtk-2.0/vtemodule.so
|
|
136 |
|
|
137 |
%changelog
|
9720
|
138 |
* Wed Apr 11 2007 - [email protected]
|
|
139 |
- Bump to 0.16.1.
|
9668
|
140 |
* Wed Apr 4 2007 - [email protected]
|
|
141 |
- Added patch vte-06-nullptr-check.diff to fix bugzilla 425767.
|
9543
|
142 |
* Tue Mar 13 2007 - [email protected]
|
|
143 |
- Bump to 0.16.0.
|
9437
|
144 |
* Mon Mar 05 2007 - [email protected]
|
|
145 |
- Bump to 0.15.6.
|
9397
|
146 |
* Wed Feb 28 2007 - [email protected]
|
|
147 |
- Bump to 0.15.5. Remove upstream patch 06-environ.
|
|
148 |
* Wed Feb 14 2007 - [email protected]
|
|
149 |
- Remove upstream patch, 06-vte-pty-open. Add patch, 06-environ to fix #407839.
|
|
150 |
* Tue Feb 13 2007 - [email protected]
|
|
151 |
- Bump to 0.15.3.
|
|
152 |
* Thu Feb 08 2007 - [email protected]
|
|
153 |
- Remove unneeded patch vte-01-vtefc.diff. Now FC_WIDTH is defined on
|
|
154 |
Solaris, so it's no longer needed to wrap it with #ifdef FC_WIDTH.
|
|
155 |
* Tue Jan 23 2007 - [email protected]
|
|
156 |
- Add patch, 07-vte-pty-open, to sync func declaration with definition; #400184.
|
|
157 |
* Tue Jan 23 2007 - [email protected]
|
|
158 |
- Bump to 0.15.2. Remove upstream patch, 06-get-text. Renumber remainder.
|
|
159 |
* Tue Jan 09 2007 - [email protected]
|
|
160 |
- Bump to 0.15.1.
|
|
161 |
* Thu Dec 07 2006 - [email protected]
|
|
162 |
- Bump to 0.15.0.
|
|
163 |
* Fri Nov 3 2006 - [email protected]
|
|
164 |
- use %gtk_doc_option in configure so that it can be disabled using
|
|
165 |
--without-gtk-doc
|
|
166 |
* Tue Oct 03 2006 - [email protected]
|
|
167 |
- Bump to 0.14.1.
|
|
168 |
* Thu Sep 14 2006 - [email protected]
|
|
169 |
- Remove patch vte-08-pre-edit-crash-on-close.diff, as causing
|
|
170 |
two bugs, 6453098, and 6465619, and removing does not re-introduce 6193929.
|
|
171 |
* Tue Sep 05 2006 - [email protected]
|
|
172 |
- Bump to 0.14.0.
|
|
173 |
* Fri Aug 25 2006 - [email protected]
|
|
174 |
- Bump to 0.13.7.
|
|
175 |
* Mon Aug 21 2006 - [email protected]
|
|
176 |
- Bump to 0.13.6.
|
|
177 |
* Tue Aug 01 2006 - [email protected]
|
|
178 |
- Bump to 0.13.5.
|
|
179 |
* Tue Jul 25 2006 - [email protected]
|
|
180 |
- Remove upstream patch, 05-update-logout-record. Rename remaining.
|
|
181 |
* Tue Jul 25 2006 - [email protected]
|
|
182 |
- Bump to 0.13.4.
|
|
183 |
* Fri Jul 21 2006 - [email protected]
|
|
184 |
- Bump to 0.13.3 for gnome 2.15.
|
|
185 |
- Remove patch vte-07-g11n-word-char.diff as this issue is addressed,
|
|
186 |
slightly differently, in vte code.
|
|
187 |
* Fri Jun 23 2006 - [email protected]
|
|
188 |
- Bump to 0.12.2.
|
|
189 |
* Thu Apr 27 2006 - [email protected]
|
|
190 |
- Remove upstream patch, vte-12-msgfmt-no-c-param.diff.
|
|
191 |
* Thu Apr 27 2006 - [email protected]
|
|
192 |
- Bump to 1.12.1.
|
|
193 |
* Tue Mar 14 2006 - [email protected]
|
|
194 |
- Add patch, 12-msgfmt-no-c-param, to remove '-c' param from msgfmt call. That
|
|
195 |
switch breaks Solaris build.
|
|
196 |
* Mon Mar 13 2006 - [email protected]
|
|
197 |
- Bump to 1.12.0.
|
|
198 |
* Thu Mar 9 2006 - [email protected]
|
|
199 |
- Bump to 0.11.21.
|
|
200 |
* Sun Feb 26 2006 - [email protected]
|
|
201 |
- Bump to 0.11.20.
|
|
202 |
- Remove upstream patch, 08-logname. Renumber 12-g11n-word-char to 08.
|
|
203 |
* Tue Feb 14 2006 - [email protected]
|
|
204 |
- Enable freetype test in configure. Somehow this makes it build.
|
|
205 |
* Mon Feb 13 2006 - [email protected]
|
|
206 |
- Bump to 0.11.18.
|
|
207 |
* Sun Jan 29 2006 - [email protected]
|
|
208 |
- Bump to 0.11.17
|
|
209 |
* Mon Jan 16 2006 - [email protected]
|
|
210 |
- Remove upstream patch 08-fix-crash; rename 13-logname to 08-logname.
|
|
211 |
* Sun Jan 15 2006 - [email protected]
|
|
212 |
- Bump to 0.11.16
|
|
213 |
* Thu Oct 27 2005 - [email protected]
|
|
214 |
- move the python stuff from site-packages to vendor-packages
|
|
215 |
* Tue Sep 06 2005 - [email protected]
|
|
216 |
- Remove upstream patch, vte-04-a11y-selection.diff. Reorder remaining.
|
|
217 |
* Mon Sep 05 2005 - [email protected]
|
|
218 |
- Bump to 2.11.15.
|
|
219 |
* Thu Aug 25 2005 - [email protected]
|
|
220 |
- Add python build dependency and add python modules back into %files.
|
|
221 |
* Wed Aug 24 2005 - [email protected]
|
|
222 |
- Remove python references as the module doesn't generate any.
|
|
223 |
* Tue Aug 16 2005 - [email protected]
|
|
224 |
- Bump to 0.11.14.
|
|
225 |
* Fri May 13 2005 - [email protected]
|
|
226 |
- Bump to 0.11.13
|
|
227 |
* Wed Mar 16 2005 - [email protected]
|
|
228 |
- Added vte-14-g11n-word-char.diff fo select localized strings exactly.
|
|
229 |
Fix 6241338.
|
|
230 |
* Wed Nov 24 2004 - [email protected]
|
|
231 |
- Updated the patch vte-11-scrolling-perf-improve.diff to chnage
|
|
232 |
vte input buffer size to 2K. Fixes bugtraq bug#6198452.
|
|
233 |
Patch reviewed by [email protected]
|
|
234 |
* Fri Nov 12 2004 - [email protected]
|
|
235 |
- Added patch vte-13-preddit-crash-on-close.diff
|
|
236 |
Bugster #6193929
|
|
237 |
* Fri Nov 05 2004 - [email protected]
|
|
238 |
- Added patch vte-12-selection-perf-improve.diff to improve selection
|
|
239 |
performance
|
|
240 |
* Fri Oct 29 2004 - [email protected]
|
|
241 |
- Added patch vte-11-scrolling-perf-improve.diff to improve scrolling
|
|
242 |
performance of gnome-terminal based on VTE. The patch improves the
|
|
243 |
performance of the issues mentioned in bugtraq bug#5014824. Most of
|
|
244 |
the patch is taken from the patch given to bugzilla bug#143914.
|
|
245 |
* Thu Oct 28 2004 - [email protected]
|
|
246 |
- Add vte.1, libvte.3 man pages
|
|
247 |
* Wed Oct 27 2004 - [email protected]
|
|
248 |
- Add patch vte-10-get-text.diff to fix bugzilla 156161.
|
|
249 |
* Mon Oct 18 2004 - [email protected]
|
|
250 |
- Add patch vte-09-fix-crash.diff to fix bug 5107420.
|
|
251 |
* Sat Oct 09 2004 - [email protected]
|
|
252 |
- Add patch vte-08-utf8-ambiguous.diff to fix bug 5028816
|
|
253 |
gnome-terminal display full-width characters as half-width on UTF-8
|
|
254 |
* Fri Oct 08 2004 - [email protected]
|
|
255 |
- Added patch vte-07-update-logout-record.diff
|
|
256 |
Fixes bug#5084840
|
|
257 |
* Mon Oct 04 2004 - [email protected]
|
|
258 |
- Added patch vte-06-cut-copy-paste-handle.diff to make Sun Cut,
|
|
259 |
Copy, Paste keys work in gnome-terminal. Fixes bug#5098217
|
|
260 |
* Thu Aug 26 2004 - [email protected]
|
|
261 |
- Add patch vte-05-inputmethod-spotlocation.diff for bugzilla #150052,
|
|
262 |
bugtraq #5080038
|
|
263 |
* Wed Aug 18 2004 - [email protected]
|
|
264 |
- added --enable-gtk-doc
|
|
265 |
* Thu Jul 22 2004 - [email protected]
|
|
266 |
- Add patch vte-04-a11y-selection.diff for bugzilla #113590
|
|
267 |
* Sun Jul 11 2004 - [email protected]
|
|
268 |
- build fixup
|
|
269 |
* Thu Jul 08 2004 - [email protected]
|
|
270 |
- ported to rpm4
|
|
271 |
- removed auto*-jds stuff, not needed with SuSE 9.1
|
|
272 |
* Thu Jul 08 2004 - [email protected]
|
|
273 |
- Updated l10n content to vte-l10n-po-1.2.tar.bz2
|
|
274 |
* Thu Jul 08 2004 - [email protected]
|
|
275 |
- updated vte.spec to remove the ifos from around gnome-pty-helper
|
|
276 |
essentially yo revert back to what it was.
|
|
277 |
* Wed Jul 07 2004 - [email protected]
|
|
278 |
- added "-j $CPUS" to make to speed up builds
|
|
279 |
* Tue Jun 22 2004 <[email protected]>
|
|
280 |
- Based on the 0.11.11 version, recreate the vte-03-fcconfig.diff patch
|
|
281 |
* Mon Jun 14 2004 [email protected]
|
|
282 |
- Fixes stopper bug 5062671, not to use gnome-pty-helper on Solaris.
|
|
283 |
Essentially just don't include the binary in Solaris.
|
|
284 |
* Fri Jun 11 2004 [email protected]
|
|
285 |
- Added patch to add '-lglib-2.0' to src/Makefile.am to build on Solaris sparc.
|
|
286 |
* Thu Jun 10 2004 [email protected]
|
|
287 |
- Changed to use correct autotools, hence no longer need autotools patch
|
|
288 |
* Wed Jun 09 2004 [email protected]
|
|
289 |
- Add '--disable-freetypetest' configure switch because S9x86 build fails when
|
|
290 |
configure tries to run the test app, because /opt/jds/lib not in
|
|
291 |
LD_LIBRARY_PATH or -R link parameter.
|
|
292 |
* Tue Jun 08 2004 [email protected]
|
|
293 |
- Update to 0.11.11 tarball
|
|
294 |
* Mon May 17 2004 - <[email protected]>
|
|
295 |
- Fixed bug 5042257 by adding patch vte-02-fcconfig.diff
|
|
296 |
[Cinnabar Linux] The CJK font rendering in gnome-terminal is not acceptable
|
|
297 |
* Wed May 12 2004 - [email protected]
|
|
298 |
- Updated l10n content to vte-l10n-po-1.1.tar.bz2
|
|
299 |
* Mon Mar 29 2004 - [email protected]
|
|
300 |
- Updated l10n content to vte-l10n-po-1.0.tar.bz2
|
|
301 |
* Tue Feb 24 2004 - <[email protected]>
|
|
302 |
- Update Distro, l10n tarball
|
|
303 |
* Thu Feb 12 2004 - <[email protected]>
|
|
304 |
- Added patch #01 to create an *-uninstalled-pc.file
|
|
305 |
- Autotoolize the build stage
|
|
306 |
* Fri Oct 17 2003 - <[email protected]> - 0.11.10-1
|
|
307 |
- Uprevved to GNOME 2.4.0 version.
|
|
308 |
- Changed source url.
|
|
309 |
* Thu Aug 14 2003 - <[email protected]>
|
|
310 |
- remove *.a
|
|
311 |
* Tue May 13 2003 - [email protected]
|
|
312 |
- initial Sun release
|