Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 149825 Details for
Bug 230728
zvbi-fonts and hypothetical tv-fonts
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
A needed changes for .spec file
zvbi.spec.diff (text/plain), 2.60 KB, created by
Dmitry Butskoy
on 2007-03-12 15:26:43 UTC
(
hide
)
Description:
A needed changes for .spec file
Filename:
MIME Type:
Creator:
Dmitry Butskoy
Created:
2007-03-12 15:26:43 UTC
Size:
2.60 KB
patch
obsolete
>--- zvbi.spec 2006-09-08 01:12:08.000000000 +0400 >+++ zvbi.spec.NEW 2007-03-12 18:11:38.000000000 +0300 >@@ -7,6 +7,7 @@ > License: GPL > URL: http://zapping.sourceforge.net/ZVBI/index.html > Source0: http://dl.sf.net/zapping/%{name}-%{version}.tar.bz2 >+Patch0: zvbi-0.2.22-tvfonts.patch > BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) > BuildRequires: doxygen > BuildRequires: gettext >@@ -42,6 +43,11 @@ > %package fonts > Summary: Fonts from zvbi converted to X11 > Group: User Interface/X >+Requires(post): fontconfig >+Requires(postun): fontconfig >+Requires(post): chkfontpath >+Requires(postun): chkfontpath >+Obsoletes: xawtv-tv-fonts < 3.95 > > %description fonts > Fonts from zvbi converted for use with X11 >@@ -49,6 +55,7 @@ > > %prep > %setup -q >+%patch0 -p1 -b .tvfonts > > > %build >@@ -58,6 +65,20 @@ > %configure --disable-rpath --enable-v4l --enable-dvb --enable-proxy > make %{?_smp_mflags} > >+#Generate fonts >+pushd contrib >+./x11font >+for i in *.bdf >+do >+ bdftopcf $i | gzip -c -9 >${i%.bdf}.pcf.gz >+done >+mkfontdir -x .bdf . >+ >+cat >fonts.alias <<! >+teletext -ets-teletext-medium-r-normal--*-200-75-75-c-120-iso10646-1 >+! >+popd >+ > > %install > rm -rf %{buildroot} >@@ -71,13 +92,12 @@ > #Install init script > install -m0755 daemon/zvbid.init %{buildroot}%{_sysconfdir}/rc.d/init.d/zvbid > >-#Generate and install fonts >+#Install fonts > pushd contrib >-./x11font >-bdftopcf teletext.bdf | gzip -9 -c > %{buildroot}%{_datadir}/fonts/%{name}/teletext.pcf.gz >-bdftopcf teletexti.bdf | gzip -9 -c > %{buildroot}%{_datadir}/fonts/%{name}/teletexti.pcf.gz >-bdftopcf caption.bdf | gzip -9 -c > %{buildroot}%{_datadir}/fonts/%{name}/caption.pcf.gz >-bdftopcf captioni.bdf | gzip -9 -c > %{buildroot}%{_datadir}/fonts/%{name}/captioni.pcf.gz >+for i in *.pcf.gz fonts.dir fonts.alias >+do >+ install -m 644 $i %{buildroot}%{_datadir}/fonts/%{name}/ >+done > popd > > # %%ghost the fonts.cache-1 file >@@ -112,16 +132,14 @@ > > > %post fonts >-if [ -x /usr/bin/fc-cache ]; then >- /usr/bin/fc-cache -f %{_datadir}/fonts/%{name} >-fi >+/usr/bin/fc-cache -f %{_datadir}/fonts/%{name} >+/usr/sbin/chkfontpath -q -a %{_datadir}/fonts/%{name}:unscaled > > > %postun fonts > if [ "$1" = "0" ]; then >- if [ -x /usr/bin/fc-cache ]; then > /usr/bin/fc-cache -f %{_datadir}/fonts >- fi >+ /usr/sbin/chkfontpath -q -r %{_datadir}/fonts/%{name}:unscaled > fi > > >@@ -147,6 +165,7 @@ > %files fonts > %dir %{_datadir}/fonts/%{name} > %{_datadir}/fonts/%{name}/*.gz >+%{_datadir}/fonts/%{name}/fonts.* > %ghost %{_datadir}/fonts/%{name}/fonts.cache-1 > >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 230728
:
149824
| 149825