[vlc] add patch to disable HIDPI scaling - rfbz#4272
by Leigh Scott
commit a75b044187f00eb438867f272e002967b033044d
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Tue Nov 22 15:36:29 2016 +0000
add patch to disable HIDPI scaling - rfbz#4272
disable_hidpi_scaling.patch | 14 ++++++++++++++
vlc.spec | 7 ++++++-
2 files changed, 20 insertions(+), 1 deletion(-)
---
diff --git a/disable_hidpi_scaling.patch b/disable_hidpi_scaling.patch
new file mode 100644
index 0000000..116edb5
--- /dev/null
+++ b/disable_hidpi_scaling.patch
@@ -0,0 +1,14 @@
+--- a/modules/gui/qt/qt.cpp 2016-11-18 02:24:10.000000000 +0000
++++ b/modules/gui/qt/qt.cpp 2016-11-22 14:28:23.503056877 +0000
+@@ -478,9 +478,10 @@ static void *Thread( void *obj )
+
+ Q_INIT_RESOURCE( vlc );
+
++ /* Disable scaling as it's broken
+ #if HAS_QT56
+ QApplication::setAttribute( Qt::AA_EnableHighDpiScaling );
+-#endif
++#endif */
+
+ /* Start the QApplication here */
+ QVLCApp app( argc, argv );
diff --git a/vlc.spec b/vlc.spec
index 876e63f..3b2a7ff 100644
--- a/vlc.spec
+++ b/vlc.spec
@@ -32,13 +32,14 @@
Summary: The cross-platform open-source multimedia framework, player and server
Name: vlc
Version: 3.0.0
-Release: 0.10%{?dist}
+Release: 0.11%{?dist}
License: GPLv2+
Group: Applications/Multimedia
URL: http://www.videolan.org
#Source0: http://download.videolan.org/pub/videolan/vlc/%{version}/vlc-%{version}%{...
# nightly for 3.0
Source0: http://nightlies.videolan.org/build/source/vlc-%{version}%{?vlc_rc}.tar.xz
+Patch0: disable_hidpi_scaling.patch
BuildRequires: desktop-file-utils
BuildRequires: libappstream-glib
@@ -227,6 +228,7 @@ VLC media player extras modules.
%prep
%setup -q -n %{name}-%{version}%{?vlc_rc:-git}
+%patch0 -p1
%{?_with_bootstrap:
rm aclocal.m4 m4/lib*.m4 m4/lt*.m4 || :
./bootstrap
@@ -497,6 +499,9 @@ fi || :
%changelog
+* Tue Nov 22 2016 leigh scott <leigh123linux(a)googlemail.com> - 3.0.0-0.11
+- add patch to disable HIDPI scaling - rfbz#4272
+
* Tue Nov 08 2016 Sérgio Basto <sergio(a)serjux.com> - 3.0.0-0.10
- Rebuild for x265-2.1
8 years
[stella] New upstream release, 4.7.3
by Sérgio M. Basto
commit 31167b60bfd0f44d465bd312fa90e4f7061c9a65
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Tue Nov 22 14:09:50 2016 +0000
New upstream release, 4.7.3
.gitignore | 1 +
sources | 2 +-
stella.spec | 5 ++++-
3 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 12eaf12..5a96a99 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
stella-4.6.7-src.tar.gz
stella-4.7.1-src.tar.xz
stella-4.7.2-src.tar.xz
+/stella-4.7.3-src.tar.xz
diff --git a/sources b/sources
index bbc9f4c..ed98226 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-c960a5a4c34408688c1cc6c658f4bec5 stella-4.7.2-src.tar.xz
+898578ee405430815e12374f191e9b51 stella-4.7.3-src.tar.xz
diff --git a/stella.spec b/stella.spec
index 4bd603f..0b5bc64 100644
--- a/stella.spec
+++ b/stella.spec
@@ -1,5 +1,5 @@
Name: stella
-Version: 4.7.2
+Version: 4.7.3
Release: 1%{?dist}
License: GPLv2+
Summary: A multi-platform Atari 2600 Video Computer System emulator
@@ -76,6 +76,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%changelog
+* Tue Nov 22 2016 Sérgio Basto <sergio(a)serjux.com> - 4.7.3-1
+- New upstream release, 4.7.3
+
* Tue Apr 12 2016 Sérgio Basto <sergio(a)serjux.com> - 4.7.2-1
- Update Stella to 4.7.2
8 years
[dvbcut: 2/2] Merge branch 'f25'
by David Timms
commit 14f33db1c8b8a3ce809c25efb73374b399c465fb
Merge: 16855b4 9064cb5
Author: David Timms <dtimms(a)iinet.net.au>
Date: Tue Nov 22 22:46:25 2016 +1100
Merge branch 'f25'
---
8 years
[dvbcut] (2 commits) ...Merge branch 'f25'
by David Timms
Summary of changes:
9064cb5... rebuild for ffmpeg-3.0.3 (*)
14f33db... Merge branch 'f25'
(*) This commit already existed in another branch; no separate mail sent
8 years
[freetype-freeworld] Add freetype-2.7-valgrind.patch from Fedora freetype (rh#1395915)
by Kevin Kofler
commit dc54264c014e9b7afecb715811273cbf502cd129
Author: Kevin Kofler <kevin.kofler(a)chello.at>
Date: Tue Nov 22 07:18:22 2016 +0100
Add freetype-2.7-valgrind.patch from Fedora freetype (rh#1395915)
* Tue Nov 22 2016 Kevin Kofler <Kevin(a)tigcc.ticalc.org> 2.7-2
- Add freetype-2.7-valgrind.patch from Fedora freetype (rh#1395915)
freetype-2.7-valgrind.patch | 65 +++++++++++++++++++++++++++++++++++++++++++++
freetype-freeworld.spec | 9 ++++++-
2 files changed, 73 insertions(+), 1 deletion(-)
---
diff --git a/freetype-2.7-valgrind.patch b/freetype-2.7-valgrind.patch
new file mode 100644
index 0000000..e677f50
--- /dev/null
+++ b/freetype-2.7-valgrind.patch
@@ -0,0 +1,65 @@
+From 6ca54c643094800c1915dd856b9ea36276fe1e97 Mon Sep 17 00:00:00 2001
+From: Alexei Podtelezhnikov <apodtele(a)gmail.com>
+Date: Sun, 11 Sep 2016 16:00:52 -0400
+Subject: [PATCH] [smooth] Fix valgrind warning and reoptimize.
+
+The algorithm calls `gray_set_cell' at the start of each new contour
+or when the contours cross the cell boundaries. Double-checking for
+that is wasteful.
+
+* src/smooth/ftgrays.c (gray_set_cell): Remove check for a new cell.
+(gray_convert_glyph): Remove initialization introduced by 44b172e88.
+---
+ ChangeLog | 11 +++++++++++
+ src/smooth/ftgrays.c | 21 +++++++++------------
+ 2 files changed, 20 insertions(+), 12 deletions(-)
+
+diff --git a/src/smooth/ftgrays.c b/src/smooth/ftgrays.c
+index 59fafdb..8f85ec2 100644
+--- a/src/smooth/ftgrays.c
++++ b/src/smooth/ftgrays.c
+@@ -577,24 +577,21 @@ typedef ptrdiff_t FT_PtrDist;
+
+ /* All cells that are on the left of the clipping region go to the */
+ /* min_ex - 1 horizontal position. */
++
+ if ( ex > ras.max_ex )
+ ex = ras.max_ex;
+
+ if ( ex < ras.min_ex )
+ ex = ras.min_ex - 1;
+
+- /* are we moving to a different cell ? */
+- if ( ex != ras.ex || ey != ras.ey )
+- {
+- /* record the current one if it is valid */
+- if ( !ras.invalid )
+- gray_record_cell( RAS_VAR );
++ /* record the current one if it is valid */
++ if ( !ras.invalid )
++ gray_record_cell( RAS_VAR );
+
+- ras.area = 0;
+- ras.cover = 0;
+- ras.ex = ex;
+- ras.ey = ey;
+- }
++ ras.area = 0;
++ ras.cover = 0;
++ ras.ex = ex;
++ ras.ey = ey;
+
+ ras.invalid = ( ey >= ras.max_ey || ey < ras.min_ey ||
+ ex >= ras.max_ex );
+@@ -1820,7 +1817,7 @@ typedef ptrdiff_t FT_PtrDist;
+ ras.num_cells = 0;
+ ras.invalid = 1;
+ ras.min_ey = band[1];
+- ras.max_ey = ras.ey = band[0];
++ ras.max_ey = band[0];
+
+ error = gray_convert_glyph_inner( RAS_VAR );
+
+--
+2.9.3
+
diff --git a/freetype-freeworld.spec b/freetype-freeworld.spec
index 57632b6..036f98b 100644
--- a/freetype-freeworld.spec
+++ b/freetype-freeworld.spec
@@ -1,7 +1,7 @@
Summary: A free and portable font rendering engine
Name: freetype-freeworld
Version: 2.7
-Release: 1%{?dist}
+Release: 2%{?dist}
License: (FTL or GPLv2+) and BSD and MIT and Public Domain and zlib with acknowledgement
URL: http://www.freetype.org
Source: http://download.savannah.gnu.org/releases/freetype/freetype-%{version}.ta...
@@ -11,6 +11,8 @@ Patch21: freetype-2.3.0-enable-spr.patch
# Enable otvalid and gxvalid modules
Patch46: freetype-2.2.1-enable-valid.patch
+Patch94: freetype-2.7-valgrind.patch
+
## Security fixes:
# none needed yet
@@ -42,6 +44,8 @@ It transparently overrides the system library using ld.so.conf.d.
%patch46 -p1 -b .enable-valid
+%patch94 -p1 -b .valgrind
+
%build
%configure --disable-static \
@@ -85,6 +89,9 @@ echo "%{_libdir}/%{name}" \
%config(noreplace) %{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf
%changelog
+* Tue Nov 22 2016 Kevin Kofler <Kevin(a)tigcc.ticalc.org> 2.7-2
+- Add freetype-2.7-valgrind.patch from Fedora freetype (rh#1395915)
+
* Sun Nov 13 2016 Kevin Kofler <Kevin(a)tigcc.ticalc.org> 2.7-1
- Update to 2.7 (matches Fedora freetype, rh#1374305)
- Merge rebased freetype-2.2.1-enable-valid.patch from Fedora freetype
8 years
[VirtualBox-kmod] New upstream vesion, 5.1.10
by Sérgio M. Basto
commit 408539f0df223531df216754b2ec56b28e27127a
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Tue Nov 22 04:06:51 2016 +0000
New upstream vesion, 5.1.10
VirtualBox-kmod.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/VirtualBox-kmod.spec b/VirtualBox-kmod.spec
index aa9948c..575a530 100644
--- a/VirtualBox-kmod.spec
+++ b/VirtualBox-kmod.spec
@@ -26,7 +26,7 @@
%global __arch_install_post /usr/lib/rpm/check-rpaths /usr/lib/rpm/check-buildroot
Name: VirtualBox-kmod
-Version: 5.1.8
+Version: 5.1.10
#Release: 1%%{?prerel:.%%{prerel}}%%{?dist}
Release: 1%{?dist}
@@ -106,6 +106,9 @@ DIRS=$(ls %{name}-%{version} |wc -l)
%changelog
+* Tue Nov 22 2016 Sérgio Basto <sergio(a)serjux.com> - 5.1.10-1
+- New upstream vesion, 5.1.10
+
* Tue Oct 18 2016 Sérgio Basto <sergio(a)serjux.com> - 5.1.8-1
- Update VBox to 5.1.8
8 years