[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fedora-extras-commits
Subject:    buc pushed to xawtv (master).  "fix fbtv console font"
From:       notifications () fedoraproject ! org
Date:       2018-05-31 22:06:44
Message-ID: 20180531220644.6FAD56075F0D () bastion01 ! phx2 ! fedoraproject ! org
[Download RAW message or body]

Notification time stamped 2018-05-31 22:06:41 UTC

From 4980bd5977fbef75ff80045148e912868e764e2b Mon Sep 17 00:00:00 2001
From: buc <buc@grad.stu.neva.ru>
Date: May 31 2018 22:06:23 +0000
Subject: fix fbtv console font


---

diff --git a/xawtv-3.103-consolefont.patch b/xawtv-3.103-consolefont.patch
new file mode 100644
index 0000000..bdf5236
--- /dev/null
+++ b/xawtv-3.103-consolefont.patch
@@ -0,0 +1,15 @@
+diff -Nrbu xawtv-3.103/console/fs.c xawtv-3.103-OK/console/fs.c
+--- xawtv-3.103/console/fs.c	2013-04-02 17:19:10.000000000 +0400
++++ xawtv-3.103-OK/console/fs.c	2018-06-01 00:55:06.010404262 +0300
+@@ -198,6 +198,11 @@
+ /* load console font file                                             */
+ 
+ static char *default_font[] = {
++
++    /* Fedora's default console font, which is still in psf1 format */
++    "/usr/lib/kbd/consolefonts/latarcyrheb-sun16.psfu.gz",
++    "/lib/kbd/consolefonts/latarcyrheb-sun16.psfu.gz",
++
+     /* why the heck every f*cking distribution picks another
+        location for these fonts ??? */
+     "/usr/share/consolefonts/lat1-16.psf",
diff --git a/xawtv.spec b/xawtv.spec
index 0281c0c..20371d4 100644
--- a/xawtv.spec
+++ b/xawtv.spec
@@ -3,7 +3,7 @@
 Summary: TV applications for video4linux compliant devices
 Name: xawtv
 Version: 3.103
-Release: 14%{?dist}
+Release: 15%{?dist}
 Group: Applications/Multimedia
 License: GPLv2+
 URL: http://linuxtv.org/wiki/index.php/Xawtv
@@ -20,6 +20,7 @@ Patch7: 0007-mtt-Fix-mtt-not-being-able-to-tune-tv-channels.patch
 Patch8: 0008-Add-desktop-and-appdata-files-for-xawtv-motv-and-mtt.patch
 Patch9: 0009-alevtd-Drop-supplementary-group-IDs-when-dropping-pr.patch
 Patch10: xawtv-3.103-sysmacros.patch
+Patch11: xawtv-3.103-consolefont.patch
 
 BuildRequires: mesa-libGL-devel, libXaw-devel, libXext-devel
 BuildRequires: libXft-devel, libXinerama-devel
@@ -77,6 +78,7 @@ which support teletext.
 %patch8 -p1
 %patch9 -p1
 %patch10 -p1
+%patch11 -p1
 
 
 %build
@@ -86,7 +88,8 @@ make %{?_smp_mflags} verbose=yes
 
 
 %install
-%make_install SUID_ROOT=""
+make DESTDIR=$RPM_BUILD_ROOT SUID_ROOT="" install
+
 %if %{without quicktime}
 rm -f $RPM_BUILD_ROOT%{_bindir}/showqt
 %endif
@@ -186,6 +189,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 
 
 %changelog
+* Fri Jun  1 2018 Dmitry Butskoy <Dmitry@Butskoy.name> - 3.103-15
+- fix default console font for fbtv(1) (#1406549)
+
 * Thu Mar 15 2018 Dmitry Butskoy <Dmitry@Butskoy.name> - 3.103-14
 - fileutils no more exists (#1556548)
 - explicitly include sys/sysmacros.h


	https://src.fedoraproject.org/rpms/xawtv/c/4980bd5977fbef75ff80045148e912868e764e2b?branch=master
 _______________________________________________
scm-commits mailing list -- scm-commits@lists.fedoraproject.org
To unsubscribe send an email to scm-commits-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/scm-commits@lists.fedoraproject.org/message/ASCZMJAQ2ZOPBFMLNOHGPFMANIMFC6Q2/



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic