commit:     d6dc6305d6ca7b5c99f05ece4dd6b2b2e5419d8b
Author:     Gerion Entrup <gerion.entrup <AT> flump <DOT> de>
AuthorDate: Sat Mar  6 22:01:59 2021 +0000
Commit:     gerion <gerion.entrup <AT> flump <DOT> de>
CommitDate: Sat Mar  6 22:02:48 2021 +0000
URL:        https://gitweb.gentoo.org/repo/user/gerislay.git/commit/?id=d6dc6305

media-plugins/hyperion: drop upstreamed commits

Signed-off-by: Gerion Entrup <gerion.entrup <AT> flump.de>

 media-plugins/hyperion/Manifest                    |  4 +-
 .../0001-Proto-fix-Error-macro-conflict.patch      | 79 ----------------------
 ...001-webserver-Cmake-fix-out-of-tree-build.patch | 43 ------------
 media-plugins/hyperion/hyperion-9999.ebuild        |  2 -
 4 files changed, 1 insertion(+), 127 deletions(-)

diff --git a/media-plugins/hyperion/Manifest b/media-plugins/hyperion/Manifest
index aa2a64a..eb6aa9a 100644
--- a/media-plugins/hyperion/Manifest
+++ b/media-plugins/hyperion/Manifest
@@ -1,7 +1,5 @@
 AUX 0001-CMake-prevent-lib-copies-for-package-creation.patch 1006 BLAKE2B 
a88281a4b39570be849daba0d9e84554f7177a9f32ab32dec277cb379f754648b0a386ed2d3aa0c99a456b642f8608893806fba2d16b0c039eadfc28386a6b5d
 SHA512 
1e2d19de445b16df491133c18634d11b35460d3b11407b61006e4909d1a769cb6f2973a48eba8e7b564f3e1604ed76952aec6e3c9a30c2f816c930570287f35f
 AUX 0001-Cmake-fix-rpath.patch 1066 BLAKE2B 
1ca9a013ef64c709464f709410f71cb9f5d72070d28c7d7e3c1c723964f8190eacd818a0efbf8fb05861508ca1745bcc28a8ef8941f754101dd96dc355dfdbe9
 SHA512 
5a7503f7d7f35a0fb5721899ab9ddae6ebf84a0e114da2a3f0ed13c942d4d2772eb8052efddd8cd03db6b06554a3d1da2790a828a143410d4d64be12d0c07e61
-AUX 0001-Proto-fix-Error-macro-conflict.patch 2492 BLAKE2B 
f32a90de8092da740d44ea179b87bcc5580c61d9225deb3077888044cdc5a308db518bb19a267810e9909fc98a1cf1928624f9317c3601d3bb7b598a765697c6
 SHA512 
656a81d27ce088d99bd3b22eecceb2b51d382d500553a8eedcfdb726c051b37bcd9a0ad937e077298ef4ddc9973cc7eab94fdbb6a5f0eb94b4a9e67260cfcf0e
-AUX 0001-webserver-Cmake-fix-out-of-tree-build.patch 1717 BLAKE2B 
e1215d9ee96a7eeb581d44996839ed010cfd5b78673199103fb918ea6fe9c4783f244e80542a00f9b9132f30abf30c15160b46978a7158e42f32f751261748b9
 SHA512 
8b363533a9c1600415008e7b3d0ab254cf5e250f9d16c6dbdc729199971d28a8bd699cd7b436c5d695a208062493459a6fcd7849368043ed8d3faaeea55b2d80
 AUX hyperion.initd 465 BLAKE2B 
32b0a8272f7b91aef3f02100d3a271f7ae569c24efe38ae1246b3bae5c39d51c6537d13664f482900de16bb012109c7594318116206cc3534b9a0e58ac3a062f
 SHA512 
df1a0c5c0bca4585be5014807f280cbf3cd22298ef6feebcb9fc01bdf7b207186510aad7987bc49e3b0cf3d18dce05829ae3b3d4fc2969e38682ce9ec5a86998
-EBUILD hyperion-9999.ebuild 2741 BLAKE2B 
0f0e3a36787743150c3dbc5f7ed392aa9cd81f917c4d64bcc387cd7c2c9d0403c47194ea2f7df7d695564603bb6148bc8d13ce9516e4661461400fcaada2bef9
 SHA512 
5f6c5556cd57d85d31fb0483b110db0b5d53fd8647cc33c7023b09229d005c935034bafdb79bcc8dd13d4e7f156f032df43bb7dce5a93953bcb392f68cfa2cf9
+EBUILD hyperion-9999.ebuild 2620 BLAKE2B 
2ebbea5f1cc0669213d937bf31d529323bc69db0595659e4dfedd3634e98bc68568afb2ff27588a6950a6df737f136a4ea2c393bf2e4324d970a35f8926e9ea0
 SHA512 
4ee4e65c57cfc9080d7920495f0e8abf7c0bb8b3553327fef30ff91f10b56fc065cc468bfaf5fc396e35078089f24ade9cb20bf605e889e5d15a73439a32671d
 MISC metadata.xml 605 BLAKE2B 
cca61cdcb5dfa7ce9424cbd9551a1f0b6ad0ee5e09b24922d44860b797d34c90b4e16790f3b5bac278271cb909627c3b5eb1248b8e75d1aa1aa5a911554a1b3b
 SHA512 
3e648db4b0063e5d53722f5a3859b52761655d950cf8c9f975190f44a63c9ce2451d3039b474515f9c3f6df7c8e7a0b7f7870468da988061eecc8de7090e212a

diff --git 
a/media-plugins/hyperion/files/0001-Proto-fix-Error-macro-conflict.patch 
b/media-plugins/hyperion/files/0001-Proto-fix-Error-macro-conflict.patch
deleted file mode 100644
index c904ff2..0000000
--- a/media-plugins/hyperion/files/0001-Proto-fix-Error-macro-conflict.patch
+++ /dev/null
@@ -1,79 +0,0 @@
-From 559fd409d332e56dd0ad56aa89bcaaa8c533677a Mon Sep 17 00:00:00 2001
-From: Gerion Entrup <gerion.ent...@flump.de>
-Date: Wed, 13 Jan 2021 19:48:57 +0100
-Subject: [PATCH] Proto*: fix Error macro conflict
-
-utils/Logger.h contains a preprocessor macro Error() for easy logging.
-However, the upstream protobuf/io/coded_stream.h also defines a private
-function Error() in one of it's classes that conflicts with this macro.
-
-Unfortunate include orders results then in a build error. This commit
-reorders the includes to prevent the error. It also defines an extra
-`#undef Error` before including upstream protobuf to make the problem
-more visible.
-
-Fixes: #882
----
- libsrc/protoserver/ProtoClientConnection.cpp | 7 ++++---
- libsrc/protoserver/ProtoClientConnection.h   | 7 ++++---
- libsrc/protoserver/ProtoServer.cpp           | 2 +-
- 3 files changed, 9 insertions(+), 7 deletions(-)
-
-diff --git a/libsrc/protoserver/ProtoClientConnection.cpp 
b/libsrc/protoserver/ProtoClientConnection.cpp
-index e8bf1d91..051ca3e7 100644
---- a/libsrc/protoserver/ProtoClientConnection.cpp
-+++ b/libsrc/protoserver/ProtoClientConnection.cpp
-@@ -1,12 +1,13 @@
--// project includes
--#include "ProtoClientConnection.h"
--
- // qt
- #include <QTcpSocket>
- #include <QHostAddress>
- #include <QTimer>
- #include <QRgb>
- 
-+// project includes
-+#include "ProtoClientConnection.h"
-+
-+
- // TODO Remove this class if third-party apps have been migrated (eg. 
Hyperion Android Grabber, Windows Screen grabber etc.)
- 
- ProtoClientConnection::ProtoClientConnection(QTcpSocket* socket, int timeout, 
QObject *parent)
-diff --git a/libsrc/protoserver/ProtoClientConnection.h 
b/libsrc/protoserver/ProtoClientConnection.h
-index 6d8ce378..6ee947ab 100644
---- a/libsrc/protoserver/ProtoClientConnection.h
-+++ b/libsrc/protoserver/ProtoClientConnection.h
-@@ -1,14 +1,15 @@
- #pragma once
- 
-+// protobuffer PROTO
-+#undef Error
-+#include "message.pb.h"
-+
- // util
- #include <utils/Logger.h>
- #include <utils/Image.h>
- #include <utils/ColorRgb.h>
- #include <utils/Components.h>
- 
--// protobuffer PROTO
--#include "message.pb.h"
--
- class QTcpSocket;
- class QTimer;
- 
-diff --git a/libsrc/protoserver/ProtoServer.cpp 
b/libsrc/protoserver/ProtoServer.cpp
-index 7bfc2954..fb45ae60 100644
---- a/libsrc/protoserver/ProtoServer.cpp
-+++ b/libsrc/protoserver/ProtoServer.cpp
-@@ -1,5 +1,5 @@
--#include <protoserver/ProtoServer.h>
- #include "ProtoClientConnection.h"
-+#include <protoserver/ProtoServer.h>
- 
- // util
- #include <utils/NetOrigin.h>
--- 
-2.26.2
-

diff --git 
a/media-plugins/hyperion/files/0001-webserver-Cmake-fix-out-of-tree-build.patch 
b/media-plugins/hyperion/files/0001-webserver-Cmake-fix-out-of-tree-build.patch
deleted file mode 100644
index 9778c62..0000000
--- 
a/media-plugins/hyperion/files/0001-webserver-Cmake-fix-out-of-tree-build.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-From 64a010a76a2fd36e933a6922e34b3b76920a352a Mon Sep 17 00:00:00 2001
-From: Gerion Entrup <gerion.ent...@flump.de>
-Date: Thu, 14 Jan 2021 14:27:30 +0100
-Subject: [PATCH] webserver/Cmake: fix out-of-tree build
-
-When using a cmake directory that is not a subfolder of the repository
-root folder the current path replacement logic for webresources does not
-work. This commit makes the replacement pattern also relative to the
-build directory.
-
-Reproduce with:
-git clone hyperion-repo
-mkdir build; cd build
-cmake ../hyperion-repo
-
-Without this chance the build itself succeeds but browsing the
-webinterface results in:
-404 - Requested file: index.html
-
-Related: #834
----
- libsrc/webserver/CMakeLists.txt | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/libsrc/webserver/CMakeLists.txt b/libsrc/webserver/CMakeLists.txt
-index 175df60e..3a6843dd 100644
---- a/libsrc/webserver/CMakeLists.txt
-+++ b/libsrc/webserver/CMakeLists.txt
-@@ -5,9 +5,10 @@ set(CURRENT_SOURCE_DIR ${CMAKE_SOURCE_DIR}/libsrc/webserver)
- 
- FILE ( GLOB WebConfig_SOURCES "${CURRENT_HEADER_DIR}/*.h"  
"${CURRENT_SOURCE_DIR}/*.h"  "${CURRENT_SOURCE_DIR}/*.cpp" )
- FILE ( GLOB_RECURSE webFiles RELATIVE ${CMAKE_BINARY_DIR}  
${CMAKE_SOURCE_DIR}/assets/webconfig/* )
-+FILE ( RELATIVE_PATH webConfigPath ${CMAKE_BINARY_DIR} 
${CMAKE_SOURCE_DIR}/assets/webconfig)
- 
- FOREACH( f ${webFiles} )
--    STRING ( REPLACE "../assets/webconfig/" "" fname ${f})
-+    STRING ( REPLACE "${webConfigPath}/" "" fname ${f})
-     SET(HYPERION_WEBCONFIG_RES "${HYPERION_WEBCONFIG_RES}\n\t\t<file 
alias=\"/webconfig/${fname}\">${f}</file>")
- ENDFOREACH()
- CONFIGURE_FILE(${CURRENT_SOURCE_DIR}/WebConfig.qrc.in 
${CMAKE_BINARY_DIR}/WebConfig.qrc )
--- 
-2.26.2
-

diff --git a/media-plugins/hyperion/hyperion-9999.ebuild 
b/media-plugins/hyperion/hyperion-9999.ebuild
index b4c7a05..c303e8c 100644
--- a/media-plugins/hyperion/hyperion-9999.ebuild
+++ b/media-plugins/hyperion/hyperion-9999.ebuild
@@ -60,10 +60,8 @@ RDEPEND="
 "
 
 PATCHES=(
-       "${FILESDIR}"/0001-Proto-fix-Error-macro-conflict.patch
        "${FILESDIR}"/0001-CMake-prevent-lib-copies-for-package-creation.patch
        "${FILESDIR}"/0001-Cmake-fix-rpath.patch
-       "${FILESDIR}"/0001-webserver-Cmake-fix-out-of-tree-build.patch
 )
 
 src_configure() {

Reply via email to