[gnome-video-arcade] Update gnome-video-arcade to 0.8.6
by Sérgio M. Basto
commit 1251056757b149b28e2a6d84085b1e6144080045
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Sun Apr 16 22:23:07 2017 +0100
Update gnome-video-arcade to 0.8.6
.gitignore | 1 +
gnome-video-arcade.spec | 5 ++++-
sources | 2 +-
3 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index ff22ea4..fc9c17f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
gnome-video-arcade-0.8.5.tar.xz
+/gnome-video-arcade-0.8.6.tar.xz
diff --git a/gnome-video-arcade.spec b/gnome-video-arcade.spec
index 6c6bc42..a99bd7d 100644
--- a/gnome-video-arcade.spec
+++ b/gnome-video-arcade.spec
@@ -5,7 +5,7 @@
### Abstract ###
Name: gnome-video-arcade
-Version: 0.8.5
+Version: 0.8.6
Release: 1%{?dist}
License: GPLv3+
Group: Applications/Emulators
@@ -82,6 +82,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%{_mandir}/man1/%{name}.1*
%changelog
+* Sun Apr 16 2017 Sérgio Basto <sergio(a)serjux.com> - 0.8.6-1
+- Update gnome-video-arcade to 0.8.6
+
* Mon Sep 14 2015 Matthew Barnes <mbarnes(a)redhat.com> - 0.8.5-1
- Update to 0.8.5
diff --git a/sources b/sources
index 5b3906f..d88fa18 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-bbf14f2362c31a62d18684ce48b0a8aa gnome-video-arcade-0.8.5.tar.xz
+06810fd861fd2234094f779cca1e5094 gnome-video-arcade-0.8.6.tar.xz
7 years, 7 months
[telegram-desktop/el7] Updated to 1.0.33.
by Vitaly Zaitsev
commit cd44353db68cee075ffae5c22ddbedbb374686db
Author: Vitaly Zaitsev <vitaly(a)easycoding.org>
Date: Sun Apr 16 19:16:52 2017 +0500
Updated to 1.0.33.
.gitignore | 1 +
add_russian_locale.patch | 61 ----------------------------------------
fix_build_under_fedora.patch | 2 +-
sources | 2 +-
tdesktop-1.0.32-russian.strings | Bin 126480 -> 0 bytes
telegram-desktop.spec | 14 ++++-----
6 files changed, 9 insertions(+), 71 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 2f68468..097d2d8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
/gyp-a7055b3.tar.gz
/tdesktop-1.0.32.tar.gz
/variant-916139a.tar.gz
+/tdesktop-1.0.33.tar.gz
diff --git a/fix_build_under_fedora.patch b/fix_build_under_fedora.patch
index 779b731..5fcbb56 100644
--- a/fix_build_under_fedora.patch
+++ b/fix_build_under_fedora.patch
@@ -1,4 +1,4 @@
-From 2ba1652200c05c044794509c29512c2c32d7b31f Mon Sep 17 00:00:00 2001
+From c99ca98baf3b25ec11fd969ab232ee7e87b8114f Mon Sep 17 00:00:00 2001
From: Vitaly Zaitsev <vitaly(a)easycoding.org>
Date: Fri, 31 Mar 2017 14:29:58 +0200
Subject: [PATCH] Fixed build under Fedora using rpmbuild and mock.
diff --git a/sources b/sources
index 47359eb..63f0125 100644
--- a/sources
+++ b/sources
@@ -1,4 +1,4 @@
1ac9a7ddda444ccaa53f26887dd07700 GSL-3819df6.tar.gz
25f0e2a2cd43ab48eedc61244e02952f gyp-a7055b3.tar.gz
-c7bc514a4b73272aec4e896f5738d975 tdesktop-1.0.32.tar.gz
+cc31d37681372a4d0e338429422b99ef tdesktop-1.0.33.tar.gz
8cb2c878f46705b0295f77e9f1a8890c variant-916139a.tar.gz
diff --git a/telegram-desktop.spec b/telegram-desktop.spec
index 15e0746..4f52dbd 100644
--- a/telegram-desktop.spec
+++ b/telegram-desktop.spec
@@ -15,7 +15,7 @@
Summary: Telegram is a new era of messaging
Name: telegram-desktop
-Version: 1.0.32
+Version: 1.0.33
Release: 1%{?dist}
# Application and 3rd-party modules licensing:
@@ -23,8 +23,8 @@ Release: 1%{?dist}
# * S1 (GYP) - BSD -- build-time dependency;
# * S2 (GSL) - MIT -- build-time dependency;
# * S3 (Variant) - BSD -- build-time dependency;
-# * S4 (Russian language pack) - GPLv3 -- bundled into executable.
-License: GPLv3+ and GPLv3 and LGPLv3 and BSD and MIT
+# * P0 (qt_functions.cpp) - LGPLv3 -- build-time dependency.
+License: GPLv3+ and LGPLv3 and BSD and MIT
Group: Applications/Internet
URL: https://github.com/telegramdesktop/%{appname}
ExclusiveArch: i686 x86_64
@@ -33,10 +33,8 @@ Source0: %{url}/archive/v%{version}.tar.gz#/%{appname}-%{version}.tar.gz
Source1: https://chromium.googlesource.com/external/gyp/+archive/%{commit1}.tar.gz...
Source2: https://github.com/Microsoft/GSL/archive/%{commit2}.tar.gz#/GSL-%{shortco...
Source3: https://github.com/mapbox/variant/archive/%{commit3}.tar.gz#/variant-%{sh...
-Source4: https://tlgrm.ru/files/locales/tdesktop/Russian.strings#/%{appname}-%{ver...
Patch0: fix_build_under_fedora.patch
-Patch1: add_russian_locale.patch
Requires: hicolor-icon-theme
Requires: qt5-qtimageformats%{?_isa}
@@ -128,9 +126,6 @@ pushd third_party
mv variant-%{commit3} variant
popd
-# Unpacking additional locales from sources...
-iconv -f "UTF-16" -t "UTF-8" "%{SOURCE4}" > Telegram/Resources/langs/lang_ru.strings
-
%build
# Exporting correct build flags...
export CFLAGS="%{optflags}"
@@ -212,6 +207,9 @@ fi
%{_datadir}/appdata/%{name}.appdata.xml
%changelog
+* Sun Apr 16 2017 Vitaly Zaitsev <vitaly(a)easycoding.org> - 1.0.33-1
+- Updated to 1.0.33 (alpha).
+
* Thu Apr 13 2017 Vitaly Zaitsev <vitaly(a)easycoding.org> - 1.0.32-1
- Updated to 1.0.32 (alpha).
7 years, 7 months
[x265/el7] Enable shared 10/12 bit libraries on 64 bit architectures
by Simone Caronni
commit f22231ae0664918e8926a1d9d31bb8b5984c5131
Author: Simone Caronni <negativo17(a)gmail.com>
Date: Sat Apr 15 16:05:03 2017 +0200
Enable shared 10/12 bit libraries on 64 bit architectures
x265-high-bit-depth-soname.patch | 32 +++++++++++
x265.spec | 116 +++++++++++++++++++++++++++++----------
2 files changed, 118 insertions(+), 30 deletions(-)
---
diff --git a/x265-high-bit-depth-soname.patch b/x265-high-bit-depth-soname.patch
new file mode 100644
index 0000000..d5c1efb
--- /dev/null
+++ b/x265-high-bit-depth-soname.patch
@@ -0,0 +1,32 @@
+diff -Naur x265_2.2.old/source/CMakeLists.txt x265_2.2/source/CMakeLists.txt
+--- x265_2.2.old/source/CMakeLists.txt 2017-04-11 12:14:19.717605457 +0200
++++ x265_2.2/source/CMakeLists.txt 2017-04-11 12:14:27.499743262 +0200
+@@ -548,7 +548,15 @@
+ if(MSVC)
+ set_target_properties(x265-shared PROPERTIES OUTPUT_NAME libx265)
+ else()
+- set_target_properties(x265-shared PROPERTIES OUTPUT_NAME x265)
++ if(HIGH_BIT_DEPTH)
++ if(MAIN12)
++ set_target_properties(x265-shared PROPERTIES OUTPUT_NAME x265_main12)
++ else()
++ set_target_properties(x265-shared PROPERTIES OUTPUT_NAME x265_main10)
++ endif()
++ else()
++ set_target_properties(x265-shared PROPERTIES OUTPUT_NAME x265)
++ endif(HIGH_BIT_DEPTH)
+ endif()
+ if(UNIX)
+ set_target_properties(x265-shared PROPERTIES VERSION ${X265_BUILD})
+diff -Naur x265_2.2.old/source/encoder/api.cpp x265_2.2/source/encoder/api.cpp
+--- x265_2.2.old/source/encoder/api.cpp 2017-04-11 12:14:19.727605634 +0200
++++ x265_2.2/source/encoder/api.cpp 2017-04-11 12:21:58.928758432 +0200
+@@ -356,7 +356,7 @@
+ #define ext ".dylib"
+ #else
+ #include <dlfcn.h>
+-#define ext ".so"
++#define ext ".so." xstr(X265_BUILD)
+ #endif
+
+ static int g_recursion /* = 0 */;
diff --git a/x265.spec b/x265.spec
index 8bb22b8..2c4fc83 100644
--- a/x265.spec
+++ b/x265.spec
@@ -1,33 +1,38 @@
-Summary: H.265/HEVC encoder
-Name: x265
-Version: 1.9
-Release: 3%{?dist}
-URL: http://x265.org/
-Source0: https://ftp.videolan.org/pub/videolan/x265/%{name}_%{version}.tar.gz
-# link test binaries with shared library
-Patch1: x265-test-shared.patch
-# fix building as PIC
-Patch2: x265-pic.patch
-Patch4: x265-detect_cpu_armhfp.patch
+Summary: H.265/HEVC encoder
+Name: x265
+Version: 1.9
+Release: 4%{?dist}
+URL: http://x265.org/
# source/Lib/TLibCommon - BSD
# source/Lib/TLibEncoder - BSD
# everything else - GPLv2+
-License: GPLv2+ and BSD
-BuildRequires: cmake
+License: GPLv2+ and BSD
+
+Source0: https://bitbucket.org/multicoreware/%{name}/downloads/%{name}_%{version}....
+
+# link test binaries with shared library
+Patch1: x265-test-shared.patch
+# fix building as PIC
+Patch2: x265-pic.patch
+Patch3: x265-high-bit-depth-soname.patch
+Patch4: x265-detect_cpu_armhfp.patch
+
+BuildRequires: cmake
+BuildRequires: yasm
+
%ifnarch armv7hl armv7hnl s390 s390x
-BuildRequires: numactl-devel
+BuildRequires: numactl-devel
%endif
-BuildRequires: yasm
%description
The primary objective of x265 is to become the best H.265/HEVC encoder
-available anywhere, offering the highest compression efficiency and the
-highest performance on a wide variety of hardware platforms.
+available anywhere, offering the highest compression efficiency and the highest
+performance on a wide variety of hardware platforms.
This package contains the command line encoder.
%package libs
-Summary: H.265/HEVC encoder library
+Summary: H.265/HEVC encoder library
%description libs
The primary objective of x265 is to become the best H.265/HEVC encoder
@@ -37,13 +42,13 @@ highest performance on a wide variety of hardware platforms.
This package contains the shared library.
%package devel
-Summary: H.265/HEVC encoder library development files
-Requires: %{name}-libs%{?_isa} = %{version}-%{release}
+Summary: H.265/HEVC encoder library development files
+Requires: %{name}-libs%{?_isa} = %{version}-%{release}
%description devel
The primary objective of x265 is to become the best H.265/HEVC encoder
-available anywhere, offering the highest compression efficiency and the
-highest performance on a wide variety of hardware platforms.
+available anywhere, offering the highest compression efficiency and the highest
+performance on a wide variety of hardware platforms.
This package contains the shared library development files.
@@ -51,20 +56,62 @@ This package contains the shared library development files.
%autosetup -p1 -n %{name}_%{version}
%build
+# High depth libraries (from source/h265.h):
+# If the requested bitDepth is not supported by the linked libx265,
+# it will attempt to dynamically bind x265_api_get() from a shared
+# library with an appropriate name:
+# 8bit: libx265_main.so
+# 10bit: libx265_main10.so
+
+build() {
%cmake -G "Unix Makefiles" \
- -DCMAKE_SKIP_RPATH:BOOL=YES \
- -DCMAKE_POSITION_INDEPENDENT_CODE:BOOL=ON \
- -DENABLE_PIC:BOOL=ON \
- -DENABLE_TESTS:BOOL=ON \
- source
+ -DCMAKE_POSITION_INDEPENDENT_CODE:BOOL=ON \
+ -DCMAKE_SKIP_RPATH:BOOL=YES \
+ -DENABLE_PIC:BOOL=ON \
+ -DENABLE_TESTS:BOOL=ON \
+ $* \
+ ../source
%make_build
+}
+
+# High depth 10/12 bit libraries are supported only on 64 bit. They require
+# disabled AltiVec instructions for building on ppc64/ppc64le.
+%ifarch x86_64 aarch64 ppc64 ppc64le
+mkdir 10bit; pushd 10bit
+ build -DENABLE_CLI=OFF -DENABLE_ALTIVEC=OFF -DHIGH_BIT_DEPTH=ON
+popd
+
+mkdir 12bit; pushd 12bit
+ build -DENABLE_CLI=OFF -DENABLE_ALTIVEC=OFF -DHIGH_BIT_DEPTH=ON -DMAIN12=ON
+popd
+%endif
+
+# 8 bit base library + encoder
+mkdir 8bit; pushd 8bit
+ build
+popd
%install
-%make_install
-rm %{buildroot}%{_libdir}/libx265.a
+for i in 8 10 12; do
+ if [ -d ${i}bit ]; then
+ pushd ${i}bit
+ %make_install
+ # Remove unversioned library, should not be linked to
+ rm -f %{buildroot}%{_libdir}/libx265_main${i}.so
+ popd
+ fi
+done
+
+find %{buildroot} -name "*.a" -delete
%check
-LD_LIBRARY_PATH=%{buildroot}%{_libdir} test/TestBench || :
+for i in 8 10 12; do
+ if [ -d ${i}bit ]; then
+ pushd ${i}bit
+ LD_LIBRARY_PATH=%{buildroot}%{_libdir} test/TestBench || :
+ popd
+ fi
+done
%post libs -p /sbin/ldconfig
@@ -76,6 +123,10 @@ LD_LIBRARY_PATH=%{buildroot}%{_libdir} test/TestBench || :
%files libs
%license COPYING
%{_libdir}/libx265.so.79
+%ifarch x86_64 aarch64 ppc64 ppc64le
+%{_libdir}/libx265_main10.so.79
+%{_libdir}/libx265_main12.so.79
+%endif
%files devel
%doc doc/*
@@ -85,6 +136,11 @@ LD_LIBRARY_PATH=%{buildroot}%{_libdir} test/TestBench || :
%{_libdir}/pkgconfig/x265.pc
%changelog
+* Mon Apr 10 2017 Simone Caronni <negativo17(a)gmail.com> - 1.9-4
+- Use source from multicoreware website.
+- Clean up SPEC file a bit (formatting, 80 char wide descriptions).
+- Enable shared 10/12 bit libraries on 64 bit architectures.
+
* Thu Aug 18 2016 Sérgio Basto <sergio(a)serjux.com> - 1.9-3
- Clean spec, Vascom patches series, rfbz #4199, add license tag
7 years, 7 months