From owner-svn-ports-all@freebsd.org Sun Jan 8 15:29:24 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 15A62CA5518; Sun, 8 Jan 2017 15:29:24 +0000 (UTC) (envelope-from woodsb02@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D55BA1A84; Sun, 8 Jan 2017 15:29:23 +0000 (UTC) (envelope-from woodsb02@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v08FTMZH041468; Sun, 8 Jan 2017 15:29:22 GMT (envelope-from woodsb02@FreeBSD.org) Received: (from woodsb02@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v08FTMeP041460; Sun, 8 Jan 2017 15:29:22 GMT (envelope-from woodsb02@FreeBSD.org) Message-Id: <201701081529.v08FTMeP041460@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: woodsb02 set sender to woodsb02@FreeBSD.org using -f From: Ben Woods Date: Sun, 8 Jan 2017 15:29:22 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r430877 - in head/multimedia/plexhometheater: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jan 2017 15:29:24 -0000 Author: woodsb02 Date: Sun Jan 8 15:29:22 2017 New Revision: 430877 URL: https://svnweb.freebsd.org/changeset/ports/430877 Log: multimedia/plexhometheater: Pet portlint (no-op) - Re-generate patches with makepatch (pet portlint) - Remove blank lines between BUILD/LIB/RUN_DEPENDS (pet portlint) - Add LICENSE_FILE Added: head/multimedia/plexhometheater/files/patch-plex_CMakeModules_PlatformConfigFREEBSD.cmake - copied, changed from r430876, head/multimedia/plexhometheater/files/patch-plex__CMakeModules__PlatformConfigFREEBSD.cmake head/multimedia/plexhometheater/files/patch-xbmc_cores_AudioEngine_Engines_SoftAE_SoftAE.cpp - copied, changed from r430876, head/multimedia/plexhometheater/files/patch-xbmc__cores__AudioEngine__Engines__SoftAE__SoftAE.cpp head/multimedia/plexhometheater/files/patch-xbmc_cores_dvdplayer_DVDCodecs_Video_VAAPI.cpp - copied, changed from r430876, head/multimedia/plexhometheater/files/patch-xbmc__cores__dvdplayer__DVDCodecs__Video__VAAPI.cpp head/multimedia/plexhometheater/files/patch-xbmc_freebsd_CMakeLists.txt - copied, changed from r430876, head/multimedia/plexhometheater/files/patch-xbmc__freebsd__CMakeLists.txt head/multimedia/plexhometheater/files/patch-xbmc_threads_platform_pthreads_ThreadImpl.cpp - copied, changed from r430876, head/multimedia/plexhometheater/files/patch-xbmc__threads__platform__pthreads__ThreadImpl.cpp head/multimedia/plexhometheater/files/patch-xbmc_visualizations_XBMCProjectM_libprojectM_PresetLoader.hpp - copied, changed from r430876, head/multimedia/plexhometheater/files/patch-xbmc__visualizations__XBMCProjectM__libprojectM__PresetLoader.hpp Deleted: head/multimedia/plexhometheater/files/patch-plex__CMakeModules__PlatformConfigFREEBSD.cmake head/multimedia/plexhometheater/files/patch-xbmc__cores__AudioEngine__Engines__SoftAE__SoftAE.cpp head/multimedia/plexhometheater/files/patch-xbmc__cores__dvdplayer__DVDCodecs__Video__VAAPI.cpp head/multimedia/plexhometheater/files/patch-xbmc__freebsd__CMakeLists.txt head/multimedia/plexhometheater/files/patch-xbmc__threads__platform__pthreads__ThreadImpl.cpp head/multimedia/plexhometheater/files/patch-xbmc__visualizations__XBMCProjectM__libprojectM__PresetLoader.hpp Modified: head/multimedia/plexhometheater/Makefile head/multimedia/plexhometheater/files/patch-clang Modified: head/multimedia/plexhometheater/Makefile ============================================================================== --- head/multimedia/plexhometheater/Makefile Sun Jan 8 14:42:50 2017 (r430876) +++ head/multimedia/plexhometheater/Makefile Sun Jan 8 15:29:22 2017 (r430877) @@ -12,6 +12,7 @@ MAINTAINER= woodsb02@FreeBSD.org COMMENT= Media center frontend to multimedia/plexmediaserver LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/LICENSE.GPL BUILD_DEPENDS= enca:converters/enca \ gawk:lang/gawk \ @@ -21,7 +22,6 @@ BUILD_DEPENDS= enca:converters/enca \ nasm:devel/nasm \ gtk-update-icon-cache:x11-toolkits/gtk20 \ swig2.0:devel/swig20 - LIB_DEPENDS= libass.so:multimedia/libass \ libavahi-client.so:net/avahi-app \ libboost_thread.so:devel/boost-libs \ @@ -55,7 +55,6 @@ LIB_DEPENDS= libass.so:multimedia/libass libvorbis.so:audio/libvorbis \ libxslt.so:textproc/libxslt \ libyajl.so:devel/yajl - RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3 \ glxinfo:graphics/mesa-demos \ ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow \ Modified: head/multimedia/plexhometheater/files/patch-clang ============================================================================== --- head/multimedia/plexhometheater/files/patch-clang Sun Jan 8 14:42:50 2017 (r430876) +++ head/multimedia/plexhometheater/files/patch-clang Sun Jan 8 15:29:22 2017 (r430877) @@ -1,26 +1,6 @@ -diff --git xbmc/screensavers/rsxs-0.9/lib/argp-fmtstream.h xbmc/screensavers/rsxs-0.9/lib/argp-fmtstream.h -index e045a72..ff4f575 100644 ---- xbmc/screensavers/rsxs-0.9/lib/argp-fmtstream.h -+++ xbmc/screensavers/rsxs-0.9/lib/argp-fmtstream.h -@@ -198,8 +198,12 @@ extern int __argp_fmtstream_ensure (argp_fmtstream_t __fs, size_t __amount); - #endif - - #ifndef ARGP_FS_EI -+#ifdef __clang__ -+#define ARGP_FS_EI extern inline __attribute__ ((__gnu_inline__)) -+#else - #define ARGP_FS_EI extern inline - #endif -+#endif - - ARGP_FS_EI size_t - __argp_fmtstream_write (argp_fmtstream_t __fs, - -diff --git lib/cpluff/libcpluff/cpluff.c lib/cpluff/libcpluff/cpluff.c -index a7e8725..0f5bb90 100644 ---- lib/cpluff/libcpluff/cpluff.c +--- lib/cpluff/libcpluff/cpluff.c.orig 2015-05-11 07:54:22 UTC +++ lib/cpluff/libcpluff/cpluff.c -@@ -77,6 +77,7 @@ CP_C_API const char *cp_get_host_type(void) { +@@ -77,6 +77,7 @@ CP_C_API const char *cp_get_host_type(vo return CP_HOST; } @@ -28,7 +8,7 @@ index a7e8725..0f5bb90 100644 CP_HIDDEN void cpi_lock_framework(void) { #if defined(CP_THREADS) cpi_lock_mutex(framework_mutex); -@@ -93,6 +94,7 @@ CP_HIDDEN void cpi_unlock_framework(void) { +@@ -93,6 +94,7 @@ CP_HIDDEN void cpi_unlock_framework(void framework_locked--; #endif } @@ -36,11 +16,9 @@ index a7e8725..0f5bb90 100644 static void reset(void) { #ifdef CP_THREADS -diff --git lib/cpluff/libcpluff/logging.c lib/cpluff/libcpluff/logging.c -index 928f0b4..f0f873d 100644 ---- lib/cpluff/libcpluff/logging.c +--- lib/cpluff/libcpluff/logging.c.orig 2015-05-11 07:54:22 UTC +++ lib/cpluff/libcpluff/logging.c -@@ -129,10 +129,12 @@ CP_C_API cp_status_t cp_register_logger(cp_context_t *context, cp_logger_func_t +@@ -129,10 +129,12 @@ CP_C_API cp_status_t cp_register_logger( // Report error if (status == CP_ERR_RESOURCE) { cpi_error(context, N_("Logger could not be registered due to insufficient memory.")); @@ -53,7 +31,7 @@ index 928f0b4..f0f873d 100644 } cpi_unlock_context(context); -@@ -166,11 +168,13 @@ CP_C_API void cp_unregister_logger(cp_context_t *context, cp_logger_func_t logge +@@ -166,11 +168,13 @@ CP_C_API void cp_unregister_logger(cp_co free(lh); update_logging_limits(context); } @@ -67,11 +45,9 @@ index 928f0b4..f0f873d 100644 cpi_unlock_context(context); } -diff --git lib/cpluff/libcpluff/pinfo.c lib/cpluff/libcpluff/pinfo.c -index cfbf049..f7b4a4b 100644 ---- lib/cpluff/libcpluff/pinfo.c +--- lib/cpluff/libcpluff/pinfo.c.orig 2015-05-11 07:54:22 UTC +++ lib/cpluff/libcpluff/pinfo.c -@@ -569,10 +569,12 @@ CP_C_API cp_status_t cp_register_plistener(cp_context_t *context, cp_plugin_list +@@ -569,10 +569,12 @@ CP_C_API cp_status_t cp_register_plisten // Report error or success if (status != CP_OK) { cpi_error(context, _("A plug-in listener could not be registered due to insufficient memory.")); @@ -84,7 +60,7 @@ index cfbf049..f7b4a4b 100644 } cpi_unlock_context(context); -@@ -591,10 +593,12 @@ CP_C_API void cp_unregister_plistener(cp_context_t *context, cp_plugin_listener_ +@@ -591,11 +593,13 @@ CP_C_API void cp_unregister_plistener(cp if (node != NULL) { process_unregister_plistener(context->env->plugin_listeners, node, NULL); } @@ -97,11 +73,10 @@ index cfbf049..f7b4a4b 100644 +#endif cpi_unlock_context(context); } -diff --git lib/cpluff/libcpluff/psymbol.c lib/cpluff/libcpluff/psymbol.c -index 632b087..fdc15af 100644 ---- lib/cpluff/libcpluff/psymbol.c + +--- lib/cpluff/libcpluff/psymbol.c.orig 2015-05-11 07:54:22 UTC +++ lib/cpluff/libcpluff/psymbol.c -@@ -248,11 +248,13 @@ CP_C_API void * cp_resolve_symbol(cp_context_t *context, const char *id, const c +@@ -248,11 +248,13 @@ CP_C_API void * cp_resolve_symbol(cp_con symbol_info->usage_count++; provider_info->usage_count++; @@ -115,7 +90,7 @@ index 632b087..fdc15af 100644 } while (0); // Clean up -@@ -314,11 +316,13 @@ CP_C_API void cp_release_symbol(cp_context_t *context, const void *ptr) { +@@ -314,11 +316,13 @@ CP_C_API void cp_release_symbol(cp_conte if (symbol_info->usage_count == 0) { hash_delete_free(context->resolved_symbols, node); free(symbol_info); @@ -129,3 +104,18 @@ index 632b087..fdc15af 100644 } // Check if the symbol providing plug-in is not being used anymore +--- xbmc/screensavers/rsxs-0.9/lib/argp-fmtstream.h.orig 2015-05-11 07:54:22 UTC ++++ xbmc/screensavers/rsxs-0.9/lib/argp-fmtstream.h +@@ -198,8 +198,12 @@ extern int __argp_fmtstream_ensure (argp + #endif + + #ifndef ARGP_FS_EI ++#ifdef __clang__ ++#define ARGP_FS_EI extern inline __attribute__ ((__gnu_inline__)) ++#else + #define ARGP_FS_EI extern inline + #endif ++#endif + + ARGP_FS_EI size_t + __argp_fmtstream_write (argp_fmtstream_t __fs, Copied and modified: head/multimedia/plexhometheater/files/patch-plex_CMakeModules_PlatformConfigFREEBSD.cmake (from r430876, head/multimedia/plexhometheater/files/patch-plex__CMakeModules__PlatformConfigFREEBSD.cmake) ============================================================================== --- head/multimedia/plexhometheater/files/patch-plex__CMakeModules__PlatformConfigFREEBSD.cmake Sun Jan 8 14:42:50 2017 (r430876, copy source) +++ head/multimedia/plexhometheater/files/patch-plex_CMakeModules_PlatformConfigFREEBSD.cmake Sun Jan 8 15:29:22 2017 (r430877) @@ -1,5 +1,5 @@ ---- plex/CMakeModules/PlatformConfigFREEBSD.cmake.orig 2014-06-18 10:24:35.922455079 +0000 -+++ plex/CMakeModules/PlatformConfigFREEBSD.cmake 2014-06-18 13:58:08.739586540 +0000 +--- plex/CMakeModules/PlatformConfigFREEBSD.cmake.orig 2017-01-08 15:03:09 UTC ++++ plex/CMakeModules/PlatformConfigFREEBSD.cmake @@ -0,0 +1,144 @@ +# vim: setlocal syntax=cmake: + Copied and modified: head/multimedia/plexhometheater/files/patch-xbmc_cores_AudioEngine_Engines_SoftAE_SoftAE.cpp (from r430876, head/multimedia/plexhometheater/files/patch-xbmc__cores__AudioEngine__Engines__SoftAE__SoftAE.cpp) ============================================================================== --- head/multimedia/plexhometheater/files/patch-xbmc__cores__AudioEngine__Engines__SoftAE__SoftAE.cpp Sun Jan 8 14:42:50 2017 (r430876, copy source) +++ head/multimedia/plexhometheater/files/patch-xbmc_cores_AudioEngine_Engines_SoftAE_SoftAE.cpp Sun Jan 8 15:29:22 2017 (r430877) @@ -1,8 +1,6 @@ -diff --git xbmc/cores/AudioEngine/Engines/SoftAE/SoftAE.cpp xbmc/cores/AudioEngine/Engines/SoftAE/SoftAE.cpp -index bd01a67..49edfee 100644 ---- xbmc/cores/AudioEngine/Engines/SoftAE/SoftAE.cpp +--- xbmc/cores/AudioEngine/Engines/SoftAE/SoftAE.cpp.orig 2015-05-11 07:54:22 UTC +++ xbmc/cores/AudioEngine/Engines/SoftAE/SoftAE.cpp -@@ -303,7 +303,7 @@ void CSoftAE::InternalOpenSink() +@@ -328,7 +328,7 @@ void CSoftAE::InternalOpenSink() /* perform basic sanity checks on the format returned by the sink */ ASSERT(newFormat.m_channelLayout.Count() > 0); Copied and modified: head/multimedia/plexhometheater/files/patch-xbmc_cores_dvdplayer_DVDCodecs_Video_VAAPI.cpp (from r430876, head/multimedia/plexhometheater/files/patch-xbmc__cores__dvdplayer__DVDCodecs__Video__VAAPI.cpp) ============================================================================== --- head/multimedia/plexhometheater/files/patch-xbmc__cores__dvdplayer__DVDCodecs__Video__VAAPI.cpp Sun Jan 8 14:42:50 2017 (r430876, copy source) +++ head/multimedia/plexhometheater/files/patch-xbmc_cores_dvdplayer_DVDCodecs_Video_VAAPI.cpp Sun Jan 8 15:29:22 2017 (r430877) @@ -1,6 +1,6 @@ ---- xbmc/cores/dvdplayer/DVDCodecs/Video/VAAPI.cpp.orig 2013-10-19 23:07:02.530131780 +0200 -+++ xbmc/cores/dvdplayer/DVDCodecs/Video/VAAPI.cpp 2013-10-19 23:06:38.499626784 +0200 -@@ -74,7 +74,7 @@ +--- xbmc/cores/dvdplayer/DVDCodecs/Video/VAAPI.cpp.orig 2015-05-11 07:54:22 UTC ++++ xbmc/cores/dvdplayer/DVDCodecs/Video/VAAPI.cpp +@@ -74,7 +74,7 @@ static inline VASurfaceID GetSurfaceID(A static CDisplayPtr GetGlobalDisplay() { Copied and modified: head/multimedia/plexhometheater/files/patch-xbmc_freebsd_CMakeLists.txt (from r430876, head/multimedia/plexhometheater/files/patch-xbmc__freebsd__CMakeLists.txt) ============================================================================== --- head/multimedia/plexhometheater/files/patch-xbmc__freebsd__CMakeLists.txt Sun Jan 8 14:42:50 2017 (r430876, copy source) +++ head/multimedia/plexhometheater/files/patch-xbmc_freebsd_CMakeLists.txt Sun Jan 8 15:29:22 2017 (r430877) @@ -1,5 +1,5 @@ ---- xbmc/freebsd/CMakeLists.txt.orig 2014-08-05 20:18:02.009525912 +0800 -+++ xbmc/freebsd/CMakeLists.txt 2014-08-05 20:18:40.357527987 +0800 +--- xbmc/freebsd/CMakeLists.txt.orig 2017-01-08 15:03:09 UTC ++++ xbmc/freebsd/CMakeLists.txt @@ -0,0 +1,3 @@ +find_all_sources(. freebsd_SRCS) + Copied and modified: head/multimedia/plexhometheater/files/patch-xbmc_threads_platform_pthreads_ThreadImpl.cpp (from r430876, head/multimedia/plexhometheater/files/patch-xbmc__threads__platform__pthreads__ThreadImpl.cpp) ============================================================================== --- head/multimedia/plexhometheater/files/patch-xbmc__threads__platform__pthreads__ThreadImpl.cpp Sun Jan 8 14:42:50 2017 (r430876, copy source) +++ head/multimedia/plexhometheater/files/patch-xbmc_threads_platform_pthreads_ThreadImpl.cpp Sun Jan 8 15:29:22 2017 (r430877) @@ -1,5 +1,5 @@ ---- xbmc/threads/platform/pthreads/ThreadImpl.cpp.orig 2013-05-13 11:32:04.000000000 +0200 -+++ xbmc/threads/platform/pthreads/ThreadImpl.cpp 2013-05-13 11:47:27.000000000 +0200 +--- xbmc/threads/platform/pthreads/ThreadImpl.cpp.orig 2015-05-11 07:54:22 UTC ++++ xbmc/threads/platform/pthreads/ThreadImpl.cpp @@ -29,12 +29,8 @@ #include #ifdef __FreeBSD__ @@ -13,7 +13,7 @@ #include -@@ -59,11 +55,7 @@ +@@ -59,11 +55,7 @@ void CThread::TermHandler() { } void CThread::SetThreadInfo() { #ifdef __FreeBSD__ Copied and modified: head/multimedia/plexhometheater/files/patch-xbmc_visualizations_XBMCProjectM_libprojectM_PresetLoader.hpp (from r430876, head/multimedia/plexhometheater/files/patch-xbmc__visualizations__XBMCProjectM__libprojectM__PresetLoader.hpp) ============================================================================== --- head/multimedia/plexhometheater/files/patch-xbmc__visualizations__XBMCProjectM__libprojectM__PresetLoader.hpp Sun Jan 8 14:42:50 2017 (r430876, copy source) +++ head/multimedia/plexhometheater/files/patch-xbmc_visualizations_XBMCProjectM_libprojectM_PresetLoader.hpp Sun Jan 8 15:29:22 2017 (r430877) @@ -1,6 +1,6 @@ ---- xbmc/visualizations/XBMCProjectM/libprojectM/PresetLoader.hpp.orig 2013-07-04 15:52:54.000000000 +0200 -+++ xbmc/visualizations/XBMCProjectM/libprojectM/PresetLoader.hpp 2013-07-04 15:53:28.000000000 +0200 -@@ -29,7 +29,7 @@ +--- xbmc/visualizations/XBMCProjectM/libprojectM/PresetLoader.hpp.orig 2015-05-11 07:54:22 UTC ++++ xbmc/visualizations/XBMCProjectM/libprojectM/PresetLoader.hpp +@@ -29,7 +29,7 @@ class PresetLoader { static const std::string MILKDROP_FILE_EXTENSION; /** Initializes the preset loader with the target directory specified */