summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorStefan Wildemann <metalstrolch@users.noreply.github.com>2017-05-13 19:28:40 +0200
committerPierre GRANDIN <pgrandin@users.noreply.github.com>2017-05-13 10:28:40 -0700
commitfb38c9c988517a07a702e778261f86fb2451c902 (patch)
tree51339b19abf00ec461cc2e99f723a2c5ba9c3d21 /contrib
parente91a4ca20da321be1131e004d5703a84b5496947 (diff)
downloadnavit-fb38c9c988517a07a702e778261f86fb2451c902.tar.gz
Remove Qt5 fonts dependency on Freetype (#253)R7542
* Fix: Have nice font shadow as freetype has If using QT font rendering, a white (or black) outline as if rendered with freetype is shown. * qt5: Port font guessing and matrix transformation Select font using the same algorithm than in freetype. Transform font using the same matrix than in freetype. * Sailfish: switch to QT font rendering * Fix: remove SubPxelAntiAliasing hint, Sailfish's QT version is too old for this * Fix: fix bbox calculation for qt5 fonts
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/sailfish/navit-sailfish.spec22
1 files changed, 16 insertions, 6 deletions
diff --git a/contrib/sailfish/navit-sailfish.spec b/contrib/sailfish/navit-sailfish.spec
index 9c7a79b9b..4ed226967 100755
--- a/contrib/sailfish/navit-sailfish.spec
+++ b/contrib/sailfish/navit-sailfish.spec
@@ -10,7 +10,7 @@ Name: harbour-navit
Summary: Open Source car navigation system
#Version: %{navit_version}_%{git_version}
Version: 0.5.1
-Release: 2
+Release: 3
License: GPL
Group: Applications/Productivity
URL: http://navit-projet.org/
@@ -19,7 +19,7 @@ BuildRequires: gcc
BuildRequires: cmake
BuildRequires: glib2-devel
BuildRequires: gettext-devel
-BuildRequires: freetype-devel
+#BuildRequires: freetype-devel
BuildRequires: zlib-devel
BuildRequires: qt5-qtcore-devel
BuildRequires: qt5-qtdeclarative-devel
@@ -30,7 +30,7 @@ BuildRequires: qt5-qtsvg-devel
#Requires: glib2
#Requires: gettext-libs
-Requires: freetype
+#Requires: freetype
#Requires: zlib
#Requires: qt5-qtcore
#Requires: qt5-qtdeclarative
@@ -71,6 +71,7 @@ cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr \
-DIMAGE_DIR:PATH=share/harbour-navit/xpm \
-DLIB_DIR:PATH=share/harbour-navit/lib \
-DBUILD_MAPTOOL:BOOL=FALSE \
+ -Dfont/freetype:BOOL=FALSE \
-Dbinding/dbus:BOOL=FALSE \
-Dgraphics/gtk_drawing_area:BOOL=FALSE \
-Dgraphics/null:BOOL=FALSE \
@@ -110,7 +111,16 @@ cp %{navit_real_source}/contrib/sailfish/navit.xml %{buildroot}/usr/share/harbou
%changelog
-*Wed May 03 2017 Use qt5_espeak
-*Mon Apr 10 2017 Almost harbour valid
-*Mon Dec 14 2015 Initial sailfish release
+*Wed May 11 2017 metalstrolch 0.5.1-3
+- Switch to QT font rendering. Remove freetype dep.
+
+*Wed May 03 2017 metalstrolch 0.5.1-2
+- Use qt5_espeak
+
+*Mon Apr 10 2017 metalstrolch 0.5.1-1
+- Almost harbour valid
+
+*Mon Dec 14 2015 metalstrolch 0.5.1-0
+- Initial sailfish release
- Initial package.
+