From 71ad3820fb24a020a3646a4966708861c289ab48 Mon Sep 17 00:00:00 2001 From: Maxime Gervais Date: Thu, 5 Nov 2026 16:04:01 +0100 Subject: [PATCH 1/2] Clean unused release scripts Signed-off-by: Maxime Gervais --- Release/CleanUp.bat | 109 ---------------------- Release/Release_CLI_GNU.sub | 48 ---------- Release/Release_CLI_GNU_FromSource.sh | 120 ------------------------ Release/Release_CLI_GNU_Prepare.bat | 85 ----------------- Release/Release_CLI_Linux_i386.sh | 15 --- Release/Release_CLI_Linux_x64.sh | 15 --- Release/Release_CLI_Mac_Intel.sh | 15 --- Release/Release_CLI_Mac_PPC.sh | 15 --- Release/Release_CLI_Mac_Universal.sh | 15 --- Release/Release_GNU_GNU.sh | 35 ------- Release/Release_GUI_GNU.sub | 43 --------- Release/Release_GUI_GNU_FromSource.sh | 127 -------------------------- Release/Release_GUI_GNU_Prepare.bat | 90 ------------------ Release/Release_GUI_Linux_i386.sh | 15 --- Release/Release_GUI_Linux_x64.sh | 15 --- Release/Release_GUI_Mac_Intel.sh | 15 --- Release/Release_GUI_Mac_PPC.sh | 15 --- Release/Release_GUI_Mac_Universal.sh | 15 --- Release/Release_Source.bat | 127 -------------------------- 19 files changed, 934 deletions(-) delete mode 100644 Release/CleanUp.bat delete mode 100644 Release/Release_CLI_GNU.sub delete mode 100644 Release/Release_CLI_GNU_FromSource.sh delete mode 100644 Release/Release_CLI_GNU_Prepare.bat delete mode 100644 Release/Release_CLI_Linux_i386.sh delete mode 100644 Release/Release_CLI_Linux_x64.sh delete mode 100644 Release/Release_CLI_Mac_Intel.sh delete mode 100644 Release/Release_CLI_Mac_PPC.sh delete mode 100644 Release/Release_CLI_Mac_Universal.sh delete mode 100644 Release/Release_GNU_GNU.sh delete mode 100644 Release/Release_GUI_GNU.sub delete mode 100644 Release/Release_GUI_GNU_FromSource.sh delete mode 100644 Release/Release_GUI_GNU_Prepare.bat delete mode 100644 Release/Release_GUI_Linux_i386.sh delete mode 100644 Release/Release_GUI_Linux_x64.sh delete mode 100644 Release/Release_GUI_Mac_Intel.sh delete mode 100644 Release/Release_GUI_Mac_PPC.sh delete mode 100644 Release/Release_GUI_Mac_Universal.sh delete mode 100644 Release/Release_Source.bat diff --git a/Release/CleanUp.bat b/Release/CleanUp.bat deleted file mode 100644 index e7003154..00000000 --- a/Release/CleanUp.bat +++ /dev/null @@ -1,109 +0,0 @@ -@rem Copyright (c) MediaArea.net SARL. All Rights Reserved. -@rem -@rem Use of this source code is governed by a BSD-style license that can -@rem be found in the License.html file in the root of the source tree. -@rem - -@rem echo off -@rem --- General --- -cd .. -del *.~* *.obj *.o *.tds *.dcu *.ddp *.opt *.ncb *.suo *.ilk *.idb *.pdb *.pch *.plg *.aps *.user *.win *.layout *.local *.depend *.identcache *.tgs *.tgw *.sdf /Q /S -del *.~* *.obj *.o *.tds *.dcu *.ddp *.opt *.ncb *.suo *.ilk *.idb *.pdb *.pch *.plg *.aps *.user *.win *.layout *.local *.depend *.identcache *.tgs *.tgw *.sdf /AH /Q /S -del *.ogg *.ogm *.avi *.mkv /Q /S -del *.ogg *.ogm *.avi *.mkv /AH /Q /S -cd Release - -@rem --- In Project files --- -cd ..\Project -del *.exe *.dll *.a *.lib *.exp *.class *.zip *.7z /Q /S -del *.exe *.dll *.a *.lib *.exp *.class *.zip *.7z /AH /Q /S -cd ..\Release - -@rem --- MS Visual Studio specific --- -cd ..\Project -rmdir MSVC\CLI\Release /Q /S -rmdir MSVC\CLI\Release_Ansi /Q /S -rmdir MSVC\ShellExtension\Release /Q /S -cd ..\Release - -@rem Borland Developper Studio specific --- -cd ..\Source -rmdir CLI\__history /Q /S -rmdir Common\__history /Q /S -rmdir GUI\__history /Q /S -rmdir GUI\VCL\__history /Q /S -rmdir GUI\WxWidgets\__history /Q /S -rmdir Install\__history /Q /S -rmdir PreRelease\__history /Q /S -rmdir PreRelease\VCL\__history /Q /S -rmdir PreRelease\WxWidgets\__history /Q /S -cd ..\Release -cd ..\Project -rmdir BCB\__history /Q /S -rmdir BCB\CLI\__history /Q /S -rmdir BCB\CLI\Debug_Build /Q /S -rmdir BCB\CLI\Release_Build /Q /S -rmdir BCB\GUI\__history /Q /S -rmdir BCB\GUI\Debug_Build /Q /S -rmdir BCB\GUI\Release_Build /Q /S -rmdir BCB\WxWidgets\__history /Q /S -rmdir BCB\WxWidgets\Debug_Build /Q /S -rmdir BCB\WxWidgets\Release_Build /Q /S -rmdir BCB\PreRelease\__history /Q /S -rmdir BCB\PreRelease\Debug_Build /Q /S -rmdir BCB\PreRelease\Release_Build /Q /S -rmdir MSVC2005\CLI\Win32 /Q /S -rmdir MSVC2005\CLI\x64 /Q /S -rmdir MSVC2005\GUI\Win32 /Q /S -rmdir MSVC2005\GUI\x64 /Q /S -rmdir MSVC2005\MediaConch_Qt\Win32 /Q /S -rmdir MSVC2005\MediaConch_Qt\x64 /Q /S -rmdir MSVC2005\MediaConch_Qt\_Automated /Q /S -rmdir MSVC2005\ipch /Q /S -rmdir MSVC2008\CLI\Win32 /Q /S -rmdir MSVC2008\CLI\x64 /Q /S -rmdir MSVC2008\GUI\Win32 /Q /S -rmdir MSVC2008\GUI\x64 /Q /S -rmdir MSVC2008\MediaConch_Qt\Win32 /Q /S -rmdir MSVC2008\MediaConch_Qt\x64 /Q /S -rmdir MSVC2008\MediaConch_Qt\_Automated /Q /S -rmdir MSVC2008\ipch /Q /S -rmdir MSVC2010\CLI\Win32 /Q /S -rmdir MSVC2010\CLI\x64 /Q /S -rmdir MSVC2010\GUI\Win32 /Q /S -rmdir MSVC2010\GUI\x64 /Q /S -rmdir MSVC2010\MediaConch_Qt\Win32 /Q /S -rmdir MSVC2010\MediaConch_Qt\x64 /Q /S -rmdir MSVC2010\MediaConch_Qt\_Automated /Q /S -rmdir MSVC2010\ipch /Q /S -rmdir MSVC2012\CLI\Win32 /Q /S -rmdir MSVC2012\CLI\x64 /Q /S -rmdir MSVC2012\GUI\Win32 /Q /S -rmdir MSVC2012\GUI\x64 /Q /S -rmdir MSVC2012\MediaConch_Qt\Win32 /Q /S -rmdir MSVC2012\MediaConch_Qt\x64 /Q /S -rmdir MSVC2012\MediaConch_Qt\_Automated /Q /S -rmdir MSVC2012\ipch /Q /S -cd ..\Release - -@rem Code::Blocks specific --- -cd ..\Project -rmdir CodeBlocks\CLI\.objs /Q /S -rmdir CodeBlocks\GUI\.objs /Q /S -rmdir CodeBlocks\PreRelease\.objs /Q /S -cd ..\Release - -@rem GCC specific --- -cd ..\Project -rmdir GCC\CLI\.deps /Q /S -rmdir GCC\CLI\.objs /Q /S -rmdir GCC\CLI_WithoutLib\.deps /Q /S -rmdir GCC\CLI_WithoutLib\.objs /Q /S -rmdir GCC\GUI\.deps /Q /S -rmdir GCC\GUI\.objs /Q /S -cd ..\Release - -@rem --- Release specific --- -del *.zip *.gz *.bz2 *.lib *.dll *.exp *.a *.so *.7z /Q /S -del MediaConch*.* Debug*.* /Q /S -rmdir BCB\GUI\Plugins /Q /S diff --git a/Release/Release_CLI_GNU.sub b/Release/Release_CLI_GNU.sub deleted file mode 100644 index a51e5645..00000000 --- a/Release/Release_CLI_GNU.sub +++ /dev/null @@ -1,48 +0,0 @@ -## Copyright (c) MediaArea.net SARL. All Rights Reserved. - # - # Use of this source code is governed by a BSD-style license that can - # be found in the License.html file in the root of the source tree. - ## - -#! /bin/sh - -#----------------------------------------------------------------------- -# $1=OS, $2=Platform -Release_CLI() -{ -#----------------------------------------------------------------------- -# Clean up -test -e MediaConch_CLI_$1_$2.tar && rm MediaConch_CLI_$1_$2.tar -test -e MediaConch_CLI_$1_$2.tar.bz2 && rm MediaConch_CLI_$1_$2.tar.bz2 -test -d MediaConch_CLI_$1_$2 && rm -r MediaConch_CLI_$1_$2 -mkdir MediaConch_CLI_$1_$2 - -#----------------------------------------------------------------------- -# Copying : Exe -cp ../Project/GNU/CLI/mediaconch MediaConch_CLI_$1_$2/mediaconch -cd MediaConch_CLI_$1_$2 -strip mediaconch -cd .. - -#----------------------------------------------------------------------- -# Copying : Information file -cp ../License.html MediaConch_CLI_$1_$2/ -cp ../History_CLI.txt MediaConch_CLI_$1_$2/History.txt -cp ReadMe_CLI_$1.txt MediaConch_CLI_$1_$2/ReadMe.txt - -#----------------------------------------------------------------------- -# Copying : Information file -mkdir -p MediaConch_CLI_$1_$2/Contrib -cp ../Contrib/CLI_Help.doc MediaConch_CLI_$1_$2/Contrib/ - -#----------------------------------------------------------------------- -# Compressing Archive -tar jchf MediaConch_CLI_$1_$2.tar.bz2 MediaConch_CLI_$1_$2 - -#----------------------------------------------------------------------- -# Clean up -#if "%1"=="SkipCleanUp" goto SkipCleanUp -#rm -r MediaConch_CLI_$1_$2 -#:SkipCleanUp -} - diff --git a/Release/Release_CLI_GNU_FromSource.sh b/Release/Release_CLI_GNU_FromSource.sh deleted file mode 100644 index ad45a51b..00000000 --- a/Release/Release_CLI_GNU_FromSource.sh +++ /dev/null @@ -1,120 +0,0 @@ -## Copyright (c) MediaArea.net SARL. All Rights Reserved. - # - # Use of this source code is governed by a BSD-style license that can - # be found in the License.html file in the root of the source tree. - ## - -#! /bin/sh - -#----------------------------------------------------------------------- -# Clean up -test -e MediaConch_CLI_GNU_FromSource.tar && rm MediaConch_CLI_GNU_FromSource.tar -test -e MediaConch_CLI_GNU_FromSource.tar.bz2 && rm MediaConch_CLI_GNU_FromSource.tar.bz2 -test -d MediaConch_CLI_GNU_FromSource && rm -r MediaConch_CLI_GNU_FromSource -mkdir MediaConch_CLI_GNU_FromSource - - -#----------------------------------------------------------------------- -# Preparing : Project -cd ../Project/GNU/CLI -chmod u+x autogen -./autogen -cd ../../../Release - - -#----------------------------------------------------------------------- -# Copying : Project -mkdir -p MediaConch_CLI_GNU_FromSource/Project/GNU/CLI -cp ../Project/GNU/CLI/aclocal.m4 MediaConch_CLI_GNU_FromSource/Project/GNU/CLI/ -cp ../Project/GNU/CLI/autogen MediaConch_CLI_GNU_FromSource/Project/GNU/CLI/ -cp ../Project/GNU/CLI/config.guess MediaConch_CLI_GNU_FromSource/Project/GNU/CLI/ -cp ../Project/GNU/CLI/config.sub MediaConch_CLI_GNU_FromSource/Project/GNU/CLI/ -cp ../Project/GNU/CLI/configure MediaConch_CLI_GNU_FromSource/Project/GNU/CLI/ -cp ../Project/GNU/CLI/configure.ac MediaConch_CLI_GNU_FromSource/Project/GNU/CLI/ -cp ../Project/GNU/CLI/depcomp MediaConch_CLI_GNU_FromSource/Project/GNU/CLI/ -cp ../Project/GNU/CLI/install-sh MediaConch_CLI_GNU_FromSource/Project/GNU/CLI/ -cp ../Project/GNU/CLI/ltmain.sh MediaConch_CLI_GNU_FromSource/Project/GNU/CLI/ -cp ../Project/GNU/CLI/Makefile.am MediaConch_CLI_GNU_FromSource/Project/GNU/CLI/ -cp ../Project/GNU/CLI/Makefile.in MediaConch_CLI_GNU_FromSource/Project/GNU/CLI/ -cp ../Project/GNU/CLI/missing MediaConch_CLI_GNU_FromSource/Project/GNU/CLI/ - -#----------------------------------------------------------------------- -# Copying : Source -mkdir -p MediaConch_CLI_GNU_FromSource/Source/Common -cp -r ../Source/Common/*.h MediaConch_CLI_GNU_FromSource/Source/Common/ -cp -r ../Source/Common/*.cpp MediaConch_CLI_GNU_FromSource/Source/Common/ -mkdir -p MediaConch_CLI_GNU_FromSource/Source/CLI -cp -r ../Source/CLI/*.h MediaConch_CLI_GNU_FromSource/Source/CLI/ -cp -r ../Source/CLI/*.cpp MediaConch_CLI_GNU_FromSource/Source/CLI/ - -#----------------------------------------------------------------------- -# Copying : Release -mkdir -p MediaConch_CLI_GNU_FromSource/Release -cp Release_CLI_GNU.sub MediaConch_CLI_GNU_FromSource/Release/ -cp *.sh MediaConch_CLI_GNU_FromSource/Release/ -chmod u+x MediaConch_CLI_GNU_FromSource/Release/*.sh - -#----------------------------------------------------------------------- -# Copying : Information -cp ../License.html MediaConch_CLI_GNU_FromSource/ -cp ../History_CLI.txt MediaConch_CLI_GNU_FromSource/ -dos2unix MediaConch_CLI_GNU_FromSource/History_CLI.txt -cp ReadMe_CLI_Linux.txt MediaConch_CLI_GNU_FromSource/Release/ -cp ReadMe_CLI_Mac.txt MediaConch_CLI_GNU_FromSource/Release/ - -#----------------------------------------------------------------------- -# Copying : Contrib -mkdir -p MediaConch_CLI_GNU_FromSource/Contrib -cp ../Contrib/CLI_Help.doc MediaConch_CLI_GNU_FromSource/Contrib/ - - -#----------------------------------------------------------------------- -# Preparing Archive : MediaConch -mv MediaConch_CLI_GNU_FromSource MediaConch -mkdir MediaConch_CLI_GNU_FromSource -mv MediaConch MediaConch_CLI_GNU_FromSource/ - -#----------------------------------------------------------------------- -# Preparing Archive : From MediaInfoLib -cd ../../MediaInfoLib/Release -. ./Release_Lib_GNU_FromSource.sh -tar xf MediaConch_Lib_GNU_FromSource.tar.bz2 -rm MediaConch_Lib_GNU_FromSource.tar.bz2 -cd ../../MediaConch/Release -mv ../../MediaInfoLib/Release/MediaConch_Lib_GNU_FromSource MediaConch_CLI_GNU_FromSource/MediaInfoLib - -#----------------------------------------------------------------------- -# Preparing Archive : From ZenLib -cd ../../ZenLib/Release -. ./Release_GNU_FromSource.sh -tar xf ZenLib_GNU_FromSource.tar.bz2 -rm ZenLib_GNU_FromSource.tar.bz2 -cd ../../MediaConch/Release -mv ../../ZenLib/Release/ZenLib_GNU_FromSource MediaConch_CLI_GNU_FromSource/ZenLib - -#----------------------------------------------------------------------- -# Preparing Archive : From Shared -mkdir -p MediaConch_CLI_GNU_FromSource/Shared/Project/_Common -cp -r ../../Shared/Project/_Common/*.sh MediaConch_CLI_GNU_FromSource/Shared/Project/_Common -mkdir -p MediaConch_CLI_GNU_FromSource/Shared/Project/curl -cp -r ../../Shared/Project/curl/*.sh MediaConch_CLI_GNU_FromSource/Shared/Project/curl -mkdir -p MediaConch_CLI_GNU_FromSource/Shared/Project/ZLib -cp -r ../../Shared/Project/ZLib/*.sh MediaConch_CLI_GNU_FromSource/Shared/Project/ZLib -mkdir -p MediaConch_CLI_GNU_FromSource/Shared/Project/ZLib/Template/projects/GNU -cp -r ../../Shared/Project/ZLib/Template/projects/GNU/* MediaConch_CLI_GNU_FromSource/Shared/Project/ZLib/Template/projects/GNU -mkdir -p MediaConch_CLI_GNU_FromSource/Shared/Project/WxWidgets -cp -r ../../Shared/Project/WxWidgets/*.sh MediaConch_CLI_GNU_FromSource/Shared/Project/WxWidgets - -#----------------------------------------------------------------------- -# Preparing Archive : Automation -cp ../Project/GNU/CLI/AddThisToRoot_CLI_compile.sh MediaConch_CLI_GNU_FromSource/CLI_Compile.sh -chmod u+x MediaConch_CLI_GNU_FromSource/CLI_Compile.sh - - -#----------------------------------------------------------------------- -# Compressing Archive -tar jchf MediaConch_CLI_GNU_FromSource.tar.bz2 MediaConch_CLI_GNU_FromSource/* - -#----------------------------------------------------------------------- -# Clean up -rm -r MediaConch_CLI_GNU_FromSource diff --git a/Release/Release_CLI_GNU_Prepare.bat b/Release/Release_CLI_GNU_Prepare.bat deleted file mode 100644 index f10d5cd7..00000000 --- a/Release/Release_CLI_GNU_Prepare.bat +++ /dev/null @@ -1,85 +0,0 @@ -@rem Copyright (c) MediaArea.net SARL. All Rights Reserved. -@rem -@rem Use of this source code is governed by a BSD-style license that can -@rem be found in the License.html file in the root of the source tree. -@rem - -@echo off - -rem --- Search binaries --- -set BPATH= -if exist "%~dp0\..\..\..\MediaArea-Utils-Binaries" set BPATH="%~dp0\..\..\..\MediaArea-Utils-Binaries" -if exist "%~dp0\..\..\MediaArea-Utils-Binaries" set BPATH="%~dp0\..\..\MediaArea-Utils-Binaries" -if "%BPATH%"=="" ( - echo "ERROR: binaries path not found" - exit /b 1 -) - -rem --- Clean up --- -del MediaConch_CLI_GNU_Prepare.7z -rmdir MediaConch_CLI_GNU_Prepare /S /Q -mkdir MediaConch_CLI_GNU_Prepare - - -rem --- Copying : Sources --- -xcopy ..\Source\Common\*.cpp MediaConch_CLI_GNU_Prepare\Source\Common\ /S -xcopy ..\Source\Common\*.h MediaConch_CLI_GNU_Prepare\Source\Common\ /S -xcopy ..\Source\CLI\*.cpp MediaConch_CLI_GNU_Prepare\Source\CLI\ /S -xcopy ..\Source\CLI\*.h MediaConch_CLI_GNU_Prepare\Source\CLI\ /S - -rem --- Copying : Projects --- -xcopy ..\Project\GNU\CLI\autogen MediaConch_CLI_GNU_Prepare\Project\GNU\CLI\ /S -xcopy ..\Project\GNU\CLI\configure.ac MediaConch_CLI_GNU_Prepare\Project\GNU\CLI\ /S -xcopy ..\Project\GNU\CLI\Makefile.am MediaConch_CLI_GNU_Prepare\Project\GNU\CLI\ /S -xcopy ..\Project\GNU\CLI\AddThisToRoot_CLI_compile.sh MediaConch_CLI_GNU_Prepare\Project\GNU\CLI\ /S - -rem --- Copying : Release --- -xcopy Release_CLI_GNU.sub MediaConch_CLI_GNU_Prepare\Release\ -xcopy Release_CLI_*.sh MediaConch_CLI_GNU_Prepare\Release\ - -rem --- Copying : Information files --- -copy ..\History_CLI.txt MediaConch_CLI_GNU_Prepare\ -copy ..\License.html MediaConch_CLI_GNU_Prepare\ -copy ReadMe_CLI_Linux.txt MediaConch_CLI_GNU_Prepare\Release\ -copy ReadMe_CLI_Mac.txt MediaConch_CLI_GNU_Prepare\Release\ - -rem --- Copying : Contrib files --- -mkdir MediaConch_CLI_GNU_Prepare\Contrib -copy ..\Contrib\CLI_Help.doc MediaConch_CLI_GNU_Prepare\Contrib\ - - -rem --- Preparing Archive : MediaConch --- -move MediaConch_CLI_GNU_Prepare MediaConch -mkdir MediaConch_CLI_GNU_Prepare -move MediaConch MediaConch_CLI_GNU_Prepare - -rem --- Preparing Archive : MediaInfoLib --- -cd ..\..\MediaInfoLib\Release -call Release_Lib_GNU_Prepare.bat SkipCleanUp SkipCompression -cd ..\..\MediaConch\Release -move ..\..\MediaInfoLib\Release\MediaConch_Lib_GNU_Prepare MediaConch_CLI_GNU_Prepare\MediaInfoLib - -rem --- Preparing Archive : ZenLib --- -cd ..\..\ZenLib\Release -call Release_GNU_Prepare.bat SkipCleanUp SkipCompression -cd ..\..\MediaConch\Release -move ..\..\ZenLib\Release\ZenLib_GNU_Prepare MediaConch_CLI_GNU_Prepare\ZenLib - -rem --- Shared --- -mkdir MediaConch_CLI_GNU_Prepare\Shared -xcopy ..\..\Shared\Project\_Common\* MediaConch_CLI_GNU_Prepare\Shared\Project\_Common\ /S -xcopy ..\..\Shared\Project\curl\*.sh MediaConch_CLI_GNU_Prepare\Shared\Project\curl\ /S -xcopy ..\..\Shared\Project\ZLib\*.sh MediaConch_CLI_GNU_Prepare\Shared\Project\ZLib\ /S -xcopy ..\..\Shared\Project\ZLib\Template\projects\GNU\* MediaConch_CLI_GNU_Prepare\Shared\Project\ZLib\Template\projects\GNU\ /S -xcopy ..\..\Shared\Project\WxWidgets\*.sh MediaConch_CLI_GNU_Prepare\Shared\Project\WxWidgets\ /S - - -rem --- Compressing Archive --- -if "%2"=="SkipCompression" goto SkipCompression -%BPATH%\Windows\7-Zip\7z a -r -t7z -mx9 MediaConch_CLI_GNU_Prepare.7z MediaConch_CLI_GNU_Prepare\* -:SkipCompression - -rem --- Clean up --- -if "%1"=="SkipCleanUp" goto SkipCleanUp -rmdir MediaConch_CLI_GNU_Prepare /S /Q -:SkipCleanUp diff --git a/Release/Release_CLI_Linux_i386.sh b/Release/Release_CLI_Linux_i386.sh deleted file mode 100644 index dd8f3a11..00000000 --- a/Release/Release_CLI_Linux_i386.sh +++ /dev/null @@ -1,15 +0,0 @@ -## Copyright (c) MediaArea.net SARL. All Rights Reserved. - # - # Use of this source code is governed by a BSD-style license that can - # be found in the License.html file in the root of the source tree. - ## - -#! /bin/sh - -#----------------------------------------------------------------------- -# Default script -. ./Release_CLI_GNU.sub - -#----------------------------------------------------------------------- -# Launch -Release_CLI Linux i386 diff --git a/Release/Release_CLI_Linux_x64.sh b/Release/Release_CLI_Linux_x64.sh deleted file mode 100644 index dc6206cc..00000000 --- a/Release/Release_CLI_Linux_x64.sh +++ /dev/null @@ -1,15 +0,0 @@ -## Copyright (c) MediaArea.net SARL. All Rights Reserved. - # - # Use of this source code is governed by a BSD-style license that can - # be found in the License.html file in the root of the source tree. - ## - -#! /bin/sh - -#----------------------------------------------------------------------- -# Default script -. ./Release_CLI_GNU.sub - -#----------------------------------------------------------------------- -# Launch -Release_CLI Linux x64 diff --git a/Release/Release_CLI_Mac_Intel.sh b/Release/Release_CLI_Mac_Intel.sh deleted file mode 100644 index 157e214c..00000000 --- a/Release/Release_CLI_Mac_Intel.sh +++ /dev/null @@ -1,15 +0,0 @@ -## Copyright (c) MediaArea.net SARL. All Rights Reserved. - # - # Use of this source code is governed by a BSD-style license that can - # be found in the License.html file in the root of the source tree. - ## - -#! /bin/sh - -#----------------------------------------------------------------------- -# Default script -. ./Release_CLI_GNU.sub - -#----------------------------------------------------------------------- -# Launch -Release_CLI Mac Intel diff --git a/Release/Release_CLI_Mac_PPC.sh b/Release/Release_CLI_Mac_PPC.sh deleted file mode 100644 index eb6374af..00000000 --- a/Release/Release_CLI_Mac_PPC.sh +++ /dev/null @@ -1,15 +0,0 @@ -## Copyright (c) MediaArea.net SARL. All Rights Reserved. - # - # Use of this source code is governed by a BSD-style license that can - # be found in the License.html file in the root of the source tree. - ## - -#! /bin/sh - -#----------------------------------------------------------------------- -# Default script -. ./Release_CLI_GNU.sub - -#----------------------------------------------------------------------- -# Launch -Release_CLI Mac PPC diff --git a/Release/Release_CLI_Mac_Universal.sh b/Release/Release_CLI_Mac_Universal.sh deleted file mode 100644 index 2fb465ba..00000000 --- a/Release/Release_CLI_Mac_Universal.sh +++ /dev/null @@ -1,15 +0,0 @@ -## Copyright (c) MediaArea.net SARL. All Rights Reserved. - # - # Use of this source code is governed by a BSD-style license that can - # be found in the License.html file in the root of the source tree. - ## - -#! /bin/sh - -#----------------------------------------------------------------------- -# Default script -. ./Release_CLI_GNU.sub - -#----------------------------------------------------------------------- -# Launch -Release_CLI Mac Universal diff --git a/Release/Release_GNU_GNU.sh b/Release/Release_GNU_GNU.sh deleted file mode 100644 index fe1bc0d5..00000000 --- a/Release/Release_GNU_GNU.sh +++ /dev/null @@ -1,35 +0,0 @@ -## Copyright (c) MediaArea.net SARL. All Rights Reserved. - # - # Use of this source code is governed by a BSD-style license that can - # be found in the License.html file in the root of the source tree. - ## - -#! /bin/sh - -#----------------------------------------------------------------------- -# Clean up -rm MediaConch_GUI_GNU.tar -rm MediaConch_GUI_GNU.tar.bz2 -rm -r MediaConch_GUI_GNU -mkdir MediaConch_GUI_GNU - -#----------------------------------------------------------------------- -# Copying : Exe -cp ../Project/GNU/GUI/MediaConch MediaConch_GUI_GNU/MediaConch - -#----------------------------------------------------------------------- -# Copying : Information file -cp ../License.html MediaConch_GUI_GNU/ -cp ../History_GUI.txt MediaConch_GUI_GNU/History.txt -cp ReadMe_GUI_Linux.txt MediaConch_GUI_GNU/ReadMe.txt - -#----------------------------------------------------------------------- -# Compressing Archive -tar jcf MediaConch_GUI_GNU.tar.bz2 MediaConch_GUI_GNU -rm MediaConch_GUI_GNU.tar - -#----------------------------------------------------------------------- -# Clean up -#if "%1"=="SkipCleanUp" goto SkipCleanUp -rm -r MediaConch_GUI_GNU -#:SkipCleanUp diff --git a/Release/Release_GUI_GNU.sub b/Release/Release_GUI_GNU.sub deleted file mode 100644 index 47bd6cc9..00000000 --- a/Release/Release_GUI_GNU.sub +++ /dev/null @@ -1,43 +0,0 @@ -## Copyright (c) MediaArea.net SARL. All Rights Reserved. - # - # Use of this source code is governed by a BSD-style license that can - # be found in the License.html file in the root of the source tree. - ## - -#! /bin/sh - -#----------------------------------------------------------------------- -# $1=OS, $2=Platform -Release_GUI() -{ -#----------------------------------------------------------------------- -# Clean up -test -e MediaConch_GUI_$1_$2.tar && rm MediaConch_GUI_$1_$2.tar -test -e MediaConch_GUI_$1_$2.tar.bz2 && rm MediaConch_GUI_$1_$2.tar.bz2 -test -d MediaConch_GUI_$1_$2 && rm -r MediaConch_GUI_$1_$2 -mkdir MediaConch_GUI_$1_$2 - -#----------------------------------------------------------------------- -# Copying : Exe -cp ../Project/GNU/GUI/mediaconch-gui MediaConch_GUI_$1_$2/mediaconch-gui -cd MediaConch_GUI_$1_$2 -strip mediaconch-gui -cd .. - -#----------------------------------------------------------------------- -# Copying : Information file -cp ../License.html MediaConch_GUI_$1_$2/ -cp ../History_GUI.txt MediaConch_GUI_$1_$2/History.txt -cp ReadMe_GUI_$1.txt MediaConch_GUI_$1_$2/ReadMe.txt - -#----------------------------------------------------------------------- -# Compressing Archive -tar jchf MediaConch_GUI_$1_$2.tar.bz2 MediaConch_GUI_$1_$2 - -#----------------------------------------------------------------------- -# Clean up -#if "%1"=="SkipCleanUp" goto SkipCleanUp -#rm -r MediaConch_GUI_$1_$2 -#:SkipCleanUp -} - diff --git a/Release/Release_GUI_GNU_FromSource.sh b/Release/Release_GUI_GNU_FromSource.sh deleted file mode 100644 index 9ff82c7e..00000000 --- a/Release/Release_GUI_GNU_FromSource.sh +++ /dev/null @@ -1,127 +0,0 @@ -## Copyright (c) MediaArea.net SARL. All Rights Reserved. - # - # Use of this source code is governed by a BSD-style license that can - # be found in the License.html file in the root of the source tree. - ## - -#! /bin/sh - -#----------------------------------------------------------------------- -# Clean up -test -e MediaConch_GUI_GNU_FromSource.tar && rm MediaConch_GUI_GNU_FromSource.tar -test -e MediaConch_GUI_GNU_FromSource.tar.bz2 && rm MediaConch_GUI_GNU_FromSource.tar.bz2 -test -d MediaConch_GUI_GNU_FromSource && rm -r MediaConch_GUI_GNU_FromSource -mkdir MediaConch_GUI_GNU_FromSource - - -#----------------------------------------------------------------------- -# Preparing : Project -cd ../Project/GNU/GUI -chmod u+x autogen -./autogen -cd ../../../Release - - -#----------------------------------------------------------------------- -# Copying : Project -mkdir -p MediaConch_GUI_GNU_FromSource/Project/GNU/GUI -cp ../Project/GNU/GUI/aclocal.m4 MediaConch_GUI_GNU_FromSource/Project/GNU/GUI/ -cp ../Project/GNU/GUI/autogen MediaConch_GUI_GNU_FromSource/Project/GNU/GUI/ -cp ../Project/GNU/GUI/config.guess MediaConch_GUI_GNU_FromSource/Project/GNU/GUI/ -cp ../Project/GNU/GUI/config.sub MediaConch_GUI_GNU_FromSource/Project/GNU/GUI/ -cp ../Project/GNU/GUI/configure MediaConch_GUI_GNU_FromSource/Project/GNU/GUI/ -cp ../Project/GNU/GUI/configure.ac MediaConch_GUI_GNU_FromSource/Project/GNU/GUI/ -cp ../Project/GNU/GUI/depcomp MediaConch_GUI_GNU_FromSource/Project/GNU/GUI/ -cp ../Project/GNU/GUI/install-sh MediaConch_GUI_GNU_FromSource/Project/GNU/GUI/ -cp ../Project/GNU/GUI/ltmain.sh MediaConch_GUI_GNU_FromSource/Project/GNU/GUI/ -cp ../Project/GNU/GUI/Makefile.am MediaConch_GUI_GNU_FromSource/Project/GNU/GUI/ -cp ../Project/GNU/GUI/Makefile.in MediaConch_GUI_GNU_FromSource/Project/GNU/GUI/ -cp ../Project/GNU/GUI/missing MediaConch_GUI_GNU_FromSource/Project/GNU/GUI/ -cp ../Project/GNU/GUI/wxwin.m4 MediaConch_GUI_GNU_FromSource/Project/GNU/GUI/ -cp ../Project/GNU/GUI/mediaconch-gui.appdata.xml MediaConch_GUI_GNU_FromSource/Project/GNU/GUI/ -cp ../Project/GNU/GUI/mediaconch-gui.desktop MediaConch_GUI_GNU_FromSource/Project/GNU/GUI/ -cp ../Project/GNU/GUI/mediaconch-gui.kde3.desktop MediaConch_GUI_GNU_FromSource/Project/GNU/GUI/ -cp ../Project/GNU/GUI/mediaconch-gui.kde4.desktop MediaConch_GUI_GNU_FromSource/Project/GNU/GUI/ - -#----------------------------------------------------------------------- -# Copying : Source -mkdir -p MediaConch_GUI_GNU_FromSource/Source/Common -cp -r ../Source/Common/*.h MediaConch_GUI_GNU_FromSource/Source/Common/ -cp -r ../Source/Common/*.cpp MediaConch_GUI_GNU_FromSource/Source/Common/ -mkdir -p MediaConch_GUI_GNU_FromSource/Source/CLI -cp -r ../Source/CLI/*.h MediaConch_GUI_GNU_FromSource/Source/CLI/ -cp -r ../Source/CLI/*.cpp MediaConch_GUI_GNU_FromSource/Source/CLI/ -mkdir -p MediaConch_GUI_GNU_FromSource/Source/GUI/Common -cp -r ../Source/GUI/Common/*.h MediaConch_GUI_GNU_FromSource/Source/GUI/Common/ -cp -r ../Source/GUI/Common/*.cpp MediaConch_GUI_GNU_FromSource/Source/GUI/Common/ -mkdir -p MediaConch_GUI_GNU_FromSource/Source/GUI/WxWidgets -cp -r ../Source/GUI/WxWidgets/*.h MediaConch_GUI_GNU_FromSource/Source/GUI/WxWidgets/ -cp -r ../Source/GUI/WxWidgets/*.cpp MediaConch_GUI_GNU_FromSource/Source/GUI/WxWidgets/ -mkdir -p MediaConch_GUI_GNU_FromSource/Source/Resource/Image/Menu/K20 -cp -r ../Source/Resource/Image/*.png MediaConch_GUI_GNU_FromSource/Source/Resource/Image/ -cp -r ../Source/Resource/Image/*.xpm MediaConch_GUI_GNU_FromSource/Source/Resource/Image/ -cp -r ../Source/Resource/Image/*.icns MediaConch_GUI_GNU_FromSource/Source/Resource/Image/ -cp -r ../Source/Resource/Image/Menu/K20/*.xpm MediaConch_GUI_GNU_FromSource/Source/Resource/Image/Menu/K20/ - -#----------------------------------------------------------------------- -# Copying : Release -mkdir -p MediaConch_GUI_GNU_FromSource/Release -cp Release_GUI_GNU.sub MediaConch_GUI_GNU_FromSource/Release/ -cp *.sh MediaConch_GUI_GNU_FromSource/Release/ -chmod u+x MediaConch_GUI_GNU_FromSource/Release/*.sh - -#----------------------------------------------------------------------- -# Copying : Information -cp ../License.html MediaConch_GUI_GNU_FromSource/ -cp ../History_GUI.txt MediaConch_GUI_GNU_FromSource/ -dos2unix MediaConch_GUI_GNU_FromSource/History_GUI.txt -cp ReadMe_GUI_Linux.txt MediaConch_GUI_GNU_FromSource/Release/ -cp ReadMe_GUI_Mac.txt MediaConch_GUI_GNU_FromSource/Release/ - - -#----------------------------------------------------------------------- -# Preparing Archive : MediaConch -mv MediaConch_GUI_GNU_FromSource MediaConch -mkdir MediaConch_GUI_GNU_FromSource -mv MediaConch MediaConch_GUI_GNU_FromSource/ - -#----------------------------------------------------------------------- -# Preparing Archive : From MediaInfoLib -cd ../../MediaInfoLib/Release -. ./Release_Lib_GNU_FromSource.sh -tar xf MediaConch_Lib_GNU_FromSource.tar.bz2 -rm MediaConch_Lib_GNU_FromSource.tar.bz2 -cd ../../MediaConch/Release -mv ../../MediaInfoLib/Release/MediaConch_Lib_GNU_FromSource MediaConch_GUI_GNU_FromSource/MediaInfoLib - -#----------------------------------------------------------------------- -# Preparing Archive : From ZenLib -cd ../../ZenLib/Release -. ./Release_GNU_FromSource.sh -tar xf ZenLib_GNU_FromSource.tar.bz2 -rm ZenLib_GNU_FromSource.tar.bz2 -cd ../../MediaConch/Release -mv ../../ZenLib/Release/ZenLib_GNU_FromSource MediaConch_GUI_GNU_FromSource/ZenLib - -#----------------------------------------------------------------------- -# Preparing Archive : From Shared -mkdir -p MediaConch_GUI_GNU_FromSource/Shared/Project/_Common -cp -r ../../Shared/Project/_Common/*.sh MediaConch_GUI_GNU_FromSource/Shared/Project/_Common -mkdir -p MediaConch_GUI_GNU_FromSource/Shared/Project/ZLib -cp -r ../../Shared/Project/ZLib/*.sh MediaConch_GUI_GNU_FromSource/Shared/Project/ZLib -mkdir -p MediaConch_GUI_GNU_FromSource/Shared/Project/WxWidgets -cp -r ../../Shared/Project/WxWidgets/*.sh MediaConch_GUI_GNU_FromSource/Shared/Project/WxWidgets - -#----------------------------------------------------------------------- -# Preparing Archive : Automation -cp ../Project/GNU/GUI/AddThisToRoot_GUI_compile.sh MediaConch_GUI_GNU_FromSource/GUI_Compile.sh -chmod u+x MediaConch_GUI_GNU_FromSource/GUI_Compile.sh - - -#----------------------------------------------------------------------- -# Compressing Archive -tar jchf MediaConch_GUI_GNU_FromSource.tar.bz2 MediaConch_GUI_GNU_FromSource/* - -#----------------------------------------------------------------------- -# Clean up -rm -r MediaConch_GUI_GNU_FromSource diff --git a/Release/Release_GUI_GNU_Prepare.bat b/Release/Release_GUI_GNU_Prepare.bat deleted file mode 100644 index 4fc0b031..00000000 --- a/Release/Release_GUI_GNU_Prepare.bat +++ /dev/null @@ -1,90 +0,0 @@ -@rem Copyright (c) MediaArea.net SARL. All Rights Reserved. -@rem -@rem Use of this source code is governed by a BSD-style license that can -@rem be found in the License.html file in the root of the source tree. -@rem - -@echo off - -rem --- Search binaries --- -set BPATH= -if exist "%~dp0\..\..\..\MediaArea-Utils-Binaries" set BPATH="%~dp0\..\..\..\MediaArea-Utils-Binaries" -if exist "%~dp0\..\..\MediaArea-Utils-Binaries" set BPATH="%~dp0\..\..\MediaArea-Utils-Binaries" -if "%BPATH%"=="" ( - echo "ERROR: binaries path not found" - exit /b 1 -) - -rem --- Clean up --- -del MediaConch_GUI_GNU_Prepare.7z -rmdir MediaConch_GUI_GNU_Prepare /S /Q -mkdir MediaConch_GUI_GNU_Prepare - - -rem --- Copying : Sources --- -xcopy ..\Source\Common\*.cpp MediaConch_GUI_GNU_Prepare\Source\Common\ /S -xcopy ..\Source\Common\*.h MediaConch_GUI_GNU_Prepare\Source\Common\ /S -xcopy ..\Source\CLI\*.cpp MediaConch_GUI_GNU_Prepare\Source\CLI\ /S -xcopy ..\Source\CLI\*.h MediaConch_GUI_GNU_Prepare\Source\CLI\ /S -xcopy ..\Source\GUI\Common\*.cpp MediaConch_GUI_GNU_Prepare\Source\GUI\Common\ /S -xcopy ..\Source\GUI\Common\*.h MediaConch_GUI_GNU_Prepare\Source\GUI\Common\ /S -xcopy ..\Source\GUI\WxWidgets\*.cpp MediaConch_GUI_GNU_Prepare\Source\GUI\WxWidgets\ /S -xcopy ..\Source\GUI\WxWidgets\*.h MediaConch_GUI_GNU_Prepare\Source\GUI\WxWidgets\ /S -xcopy ..\Source\*.png MediaConch_GUI_GNU_Prepare\Source\ /S -xcopy ..\Source\*.xpm MediaConch_GUI_GNU_Prepare\Source\ /S -xcopy ..\Source\*.icns MediaConch_GUI_GNU_Prepare\Source\ /S - -rem --- Copying : Projects --- -xcopy ..\debian\* MediaConch_GUI_GNU_Prepare\debian\ -xcopy ..\Project\GNU\mediaconch.* MediaConch_GUI_GNU_Prepare\Project\GNU\ -xcopy ..\Project\GNU\GUI\autogen MediaConch_GUI_GNU_Prepare\Project\GNU\GUI\ /S -xcopy ..\Project\GNU\GUI\configure.ac MediaConch_GUI_GNU_Prepare\Project\GNU\GUI\ /S -xcopy ..\Project\GNU\GUI\Makefile.am MediaConch_GUI_GNU_Prepare\Project\GNU\GUI\ /S -xcopy ..\Project\GNU\GUI\wxwin.m4 MediaConch_GUI_GNU_Prepare\Project\GNU\GUI\ /S -xcopy ..\Project\GNU\GUI\AddThisToRoot_GUI_compile.sh MediaConch_GUI_GNU_Prepare\Project\GNU\GUI\ /S -xcopy ..\Project\GNU\GUI\mediaconch-gui.* MediaConch_GUI_GNU_Prepare\Project\GNU\GUI\ /S - -rem --- Copying : Release --- -xcopy Release_GUI_GNU.sub MediaConch_GUI_GNU_Prepare\Release\ -xcopy Release_GUI_*.sh MediaConch_GUI_GNU_Prepare\Release\ - -rem --- Copying : Information files --- -copy ..\History_GUI.txt MediaConch_GUI_GNU_Prepare\ -copy ..\License.html MediaConch_GUI_GNU_Prepare\ -copy ReadMe_GUI_Linux.txt MediaConch_GUI_GNU_Prepare\Release\ -copy ReadMe_GUI_Mac.txt MediaConch_GUI_GNU_Prepare\Release\ - - -rem --- Preparing Archive : MediaConch --- -move MediaConch_GUI_GNU_Prepare MediaConch -mkdir MediaConch_GUI_GNU_Prepare -move MediaConch MediaConch_GUI_GNU_Prepare - -rem --- Preparing Archive : MediaInfoLib --- -cd ..\..\MediaInfoLib\Release -call Release_Lib_GNU_Prepare.bat SkipCleanUp SkipCompression -cd ..\..\MediaConch\Release -move ..\..\MediaInfoLib\Release\MediaConch_Lib_GNU_Prepare MediaConch_GUI_GNU_Prepare\MediaInfoLib - -rem --- Preparing Archive : ZenLib --- -cd ..\..\ZenLib\Release -call Release_GNU_Prepare.bat SkipCleanUp SkipCompression -cd ..\..\MediaConch\Release -move ..\..\ZenLib\Release\ZenLib_GNU_Prepare MediaConch_GUI_GNU_Prepare\ZenLib - -rem --- Shared --- -mkdir MediaConch_GUI_GNU_Prepare\Shared -xcopy ..\..\Shared\Project\_Common\* MediaConch_GUI_GNU_Prepare\Shared\Project\_Common\ /S -xcopy ..\..\Shared\Project\ZLib\*.sh MediaConch_GUI_GNU_Prepare\Shared\Project\ZLib\ /S -xcopy ..\..\Shared\Project\WxWidgets\*.sh MediaConch_GUI_GNU_Prepare\Shared\Project\WxWidgets\ /S - - -rem --- Compressing Archive --- -if "%2"=="SkipCompression" goto SkipCompression -%BPATH%\Windows\7-Zip\7z a -r -t7z -mx9 MediaConch_GUI_GNU_Prepare.7z MediaConch_GUI_GNU_Prepare\* -:SkipCompression - -rem --- Clean up --- -if "%1"=="SkipCleanUp" goto SkipCleanUp -rmdir MediaConch_GUI_GNU_Prepare /S /Q -:SkipCleanUp diff --git a/Release/Release_GUI_Linux_i386.sh b/Release/Release_GUI_Linux_i386.sh deleted file mode 100644 index 0ef5b259..00000000 --- a/Release/Release_GUI_Linux_i386.sh +++ /dev/null @@ -1,15 +0,0 @@ -## Copyright (c) MediaArea.net SARL. All Rights Reserved. - # - # Use of this source code is governed by a BSD-style license that can - # be found in the License.html file in the root of the source tree. - ## - -#! /bin/sh - -#----------------------------------------------------------------------- -# Default script -. ./Release_GUI_GNU.sub - -#----------------------------------------------------------------------- -# Launch -Release_GUI Linux i386 diff --git a/Release/Release_GUI_Linux_x64.sh b/Release/Release_GUI_Linux_x64.sh deleted file mode 100644 index 72b5836a..00000000 --- a/Release/Release_GUI_Linux_x64.sh +++ /dev/null @@ -1,15 +0,0 @@ -## Copyright (c) MediaArea.net SARL. All Rights Reserved. - # - # Use of this source code is governed by a BSD-style license that can - # be found in the License.html file in the root of the source tree. - ## - -#! /bin/sh - -#----------------------------------------------------------------------- -# Default script -. ./Release_GUI_GNU.sub - -#----------------------------------------------------------------------- -# Launch -Release_GUI Linux x64 diff --git a/Release/Release_GUI_Mac_Intel.sh b/Release/Release_GUI_Mac_Intel.sh deleted file mode 100644 index 2e03396a..00000000 --- a/Release/Release_GUI_Mac_Intel.sh +++ /dev/null @@ -1,15 +0,0 @@ -## Copyright (c) MediaArea.net SARL. All Rights Reserved. - # - # Use of this source code is governed by a BSD-style license that can - # be found in the License.html file in the root of the source tree. - ## - -#! /bin/sh - -#----------------------------------------------------------------------- -# Default script -. ./Release_GUI_GNU.sub - -#----------------------------------------------------------------------- -# Launch -Release_GUI Mac Intel diff --git a/Release/Release_GUI_Mac_PPC.sh b/Release/Release_GUI_Mac_PPC.sh deleted file mode 100644 index f14cf84a..00000000 --- a/Release/Release_GUI_Mac_PPC.sh +++ /dev/null @@ -1,15 +0,0 @@ -## Copyright (c) MediaArea.net SARL. All Rights Reserved. - # - # Use of this source code is governed by a BSD-style license that can - # be found in the License.html file in the root of the source tree. - ## - -#! /bin/sh - -#----------------------------------------------------------------------- -# Default script -. ./Release_GUI_GNU.sub - -#----------------------------------------------------------------------- -# Launch -Release_GUI Mac PPC diff --git a/Release/Release_GUI_Mac_Universal.sh b/Release/Release_GUI_Mac_Universal.sh deleted file mode 100644 index 5528338c..00000000 --- a/Release/Release_GUI_Mac_Universal.sh +++ /dev/null @@ -1,15 +0,0 @@ -## Copyright (c) MediaArea.net SARL. All Rights Reserved. - # - # Use of this source code is governed by a BSD-style license that can - # be found in the License.html file in the root of the source tree. - ## - -#! /bin/sh - -#----------------------------------------------------------------------- -# Default script -. ./Release_GUI_GNU.sub - -#----------------------------------------------------------------------- -# Launch -Release_GUI Mac Universal diff --git a/Release/Release_Source.bat b/Release/Release_Source.bat deleted file mode 100644 index e6368725..00000000 --- a/Release/Release_Source.bat +++ /dev/null @@ -1,127 +0,0 @@ -@rem Copyright (c) MediaArea.net SARL. All Rights Reserved. -@rem -@rem Use of this source code is governed by a BSD-style license that can -@rem be found in the License.html file in the root of the source tree. -@rem - -@echo off - -rem --- Search binaries --- -set BPATH= -if exist "%~dp0\..\..\..\MediaArea-Utils-Binaries" set BPATH="%~dp0\..\..\..\MediaArea-Utils-Binaries" -if exist "%~dp0\..\..\MediaArea-Utils-Binaries" set BPATH="%~dp0\..\..\MediaArea-Utils-Binaries" -if "%BPATH%"=="" ( - echo "ERROR: binaries path not found" - exit /b 1 -) - -rem --- Clean up --- -del mediaconch_.tar.bz2 -del MediaConch_Source.tar -del mediaconch_-1.tar.gz -del mediaconch__AllInclusive.7z -rmdir MediaConch_Source /S /Q -mkdir MediaConch_Source - - -@rem --- Copying : Sources --- -xcopy ..\Source\*.cpp MediaConch_Source\Source\ /S -xcopy ..\Source\*.h MediaConch_Source\Source\ /S -xcopy ..\Source\*.dfm MediaConch_Source\Source\ /S -xcopy ..\Source\*.xml MediaConch_Source\Source\ /S -xcopy ..\Source\*.rc MediaConch_Source\Source\ /S -xcopy ..\Source\*.csv MediaConch_Source\Source\ /S -xcopy ..\Source\*.ico MediaConch_Source\Source\ /S -xcopy ..\Source\Install\*.nsi MediaConch_Source\Source\Install\ -xcopy ..\Source\*.sh MediaConch_Source\Source\ /S -xcopy ..\Source\*.png MediaConch_Source\Source\ /S -xcopy ..\Source\*.xpm MediaConch_Source\Source\ /S -xcopy ..\Source\*.svg MediaConch_Source\Source\ /S -xcopy ..\Source\*.qrc MediaConch_Source\Source\ /S -xcopy ..\Source\*.ui MediaConch_Source\Source\ /S - -@rem --- Copying : Projects --- -xcopy ..\Project\*.bpg MediaConch_Source\Project\ /S -xcopy ..\Project\*.bpf MediaConch_Source\Project\ /S -xcopy ..\Project\*.bpr MediaConch_Source\Project\ /S -xcopy ..\Project\*.bdsgroup MediaConch_Source\Project\ /S -xcopy ..\Project\*.bdsproj MediaConch_Source\Project\ /S -xcopy ..\Project\*.groupproj MediaConch_Source\Project\ /S -xcopy ..\Project\*.cbproj MediaConch_Source\Project\ /S -xcopy ..\Project\*.dev MediaConch_Source\Project\ /S -xcopy ..\Project\*.sln MediaConch_Source\Project\ /S -xcopy ..\Project\*.vc MediaConch_Source\Project\ /S -xcopy ..\Project\*.vcproj MediaConch_Source\Project\ /S -xcopy ..\Project\*.vcxproj MediaConch_Source\Project\ /S -xcopy ..\Project\*.vcxproj.filters MediaConch_Source\Project\ /S -xcopy ..\Project\*.ico MediaConch_Source\Project\ /S -xcopy ..\Project\*.workspace MediaConch_Source\Project\ /S -xcopy ..\Project\*.cbp MediaConch_Source\Project\ /S /Y -xcopy ..\Project\*.def MediaConch_Source\Project\ /S -xcopy ..\Project\*.idl MediaConch_Source\Project\ /S -xcopy ..\Project\*.rgs MediaConch_Source\Project\ /S -xcopy ..\Project\*.bat MediaConch_Source\Project\ /S -xcopy ..\Project\*.pro MediaConch_Source\Project\ /S -xcopy ..\Project\Qt\prepare MediaConch_Source\Project\Qt\ /S -xcopy ..\Project\BCB\MediaConch*.res MediaConch_Source\Project\BCB /S -xcopy ..\Project\MSVC2005\*.cpp MediaConch_Source\Project\MSVC2005\ /S -xcopy ..\Project\MSVC2005\*.c MediaConch_Source\Project\MSVC2005\ /S -xcopy ..\Project\MSVC2005\*.h MediaConch_Source\Project\MSVC2005\ /S -xcopy ..\Project\MSVC2005\*.rc MediaConch_Source\Project\MSVC2005\ /S -xcopy ..\Project\MSVC2008\*.cpp MediaConch_Source\Project\MSVC2008\ /S -xcopy ..\Project\MSVC2008\*.c MediaConch_Source\Project\MSVC2008\ /S -xcopy ..\Project\MSVC2008\*.h MediaConch_Source\Project\MSVC2008\ /S -xcopy ..\Project\MSVC2008\*.rc MediaConch_Source\Project\MSVC2008\ /S -xcopy ..\Project\MSVC2010\*.cpp MediaConch_Source\Project\MSVC2010\ /S -xcopy ..\Project\MSVC2010\*.c MediaConch_Source\Project\MSVC2010\ /S -xcopy ..\Project\MSVC2010\*.h MediaConch_Source\Project\MSVC2010\ /S -xcopy ..\Project\MSVC2010\*.rc MediaConch_Source\Project\MSVC2010\ /S -xcopy ..\Project\MSVC2012\*.cpp MediaConch_Source\Project\MSVC2012\ /S -xcopy ..\Project\MSVC2012\*.c MediaConch_Source\Project\MSVC2012\ /S -xcopy ..\Project\MSVC2012\*.h MediaConch_Source\Project\MSVC2012\ /S -xcopy ..\Project\MSVC2012\*.rc MediaConch_Source\Project\MSVC2012\ /S -xcopy ..\Project\MSVC2013\*.cpp MediaConch_Source\Project\MSVC2013\ /S -xcopy ..\Project\MSVC2013\*.c MediaConch_Source\Project\MSVC2013\ /S -xcopy ..\Project\MSVC2013\*.h MediaConch_Source\Project\MSVC2013\ /S -xcopy ..\Project\MSVC2013\*.rc MediaConch_Source\Project\MSVC2013\ /S -xcopy ..\Project\GNU\* MediaConch_Source\Project\GNU\ /S -xcopy ..\Project\Solaris\* MediaConch_Source\Project\Solaris\ /S - -@rem --- Copying : Release --- -xcopy *.txt MediaConch_Source\Release\ -xcopy *.bat MediaConch_Source\Release\ -xcopy *.sh MediaConch_Source\Release\ -xcopy *.sub MediaConch_Source\Release\ -xcopy BCB\*.txt MediaConch_Source\Release\BCB\ /S -xcopy MSVC\*.txt MediaConch_Source\Release\MSVC\ /S -xcopy GCC_MinGW32\*.txt MediaConch_Source\Release\GCC_MinGW32\ /S -xcopy GCC_Linux_i386\*.txt MediaConch_Source\Release\GCC_Linux_i386\ /S -xcopy Make_GCC.sh MediaConch_Source\Release\ - -@rem --- Copying : debian --- -xcopy ..\debian\* MediaConch_Source\debian\ /S - -rem --- Copying : Information files --- -xcopy ..\*.txt MediaConch_Source\ -xcopy ..\*.html MediaConch_Source\ - -rem --- Copying : Contrib files --- -xcopy ..\Contrib\*.doc MediaConch_Source\Contrib\ /S - -rem --- Copying : CVS files --- -xcopy ..\*.cvsignore MediaConch_Source\ - - -rem --- Compressing Archive --- -if "%2"=="SkipCompression" goto SkipCompression -move MediaConch_Source MediaConch -%BPATH%\Windows\7-zip\7z a -r -ttar -mx9 MediaConch_Source.tar MediaConch\* -%BPATH%\Windows\7-zip\7z a -r -tbzip2 -mx9 mediaconch_.tar.bz2 MediaConch_Source.tar -%BPATH%\Windows\7-zip\7z a -r -tgzip -mx9 mediaconch_-1.tar.gz MediaConch_Source.tar -:SkipCompression - -rem --- Clean up --- -if "%1"=="SkipCleanUp" goto SkipCleanUp -rmdir MediaConch_Source /S /Q -rmdir MediaConch /S /Q -:SkipCleanUp From 00076002ce7e579f33a0ba04572aeb7ea61666de Mon Sep 17 00:00:00 2001 From: Maxime Gervais Date: Sun, 15 Nov 2026 22:12:05 +0100 Subject: [PATCH 2/2] Release scripts for macOS Signed-off-by: Maxime Gervais --- Project/GNU/GUI/AddThisToRoot_GUI_compile.sh | 29 ++--------- Project/Mac/Info-ns.plist | 4 +- Project/Mac/Info.plist | 4 +- Project/Mac/Make_MC_dmg.sh | 2 +- .../Mac/QtWebEngineProcess-ns.entitlements | 6 +++ Project/Qt/MediaConch.pro | 10 ++-- Release/Release_CLI_Mac.sh | 49 +++++++++++++++++++ Release/Release_GUI_Mac.sh | 46 +++++++++++++++++ Release/Release_Server_Mac.sh | 49 +++++++++++++++++++ 9 files changed, 166 insertions(+), 33 deletions(-) create mode 100755 Release/Release_CLI_Mac.sh create mode 100755 Release/Release_GUI_Mac.sh create mode 100755 Release/Release_Server_Mac.sh diff --git a/Project/GNU/GUI/AddThisToRoot_GUI_compile.sh b/Project/GNU/GUI/AddThisToRoot_GUI_compile.sh index 861365a6..2ac4430f 100755 --- a/Project/GNU/GUI/AddThisToRoot_GUI_compile.sh +++ b/Project/GNU/GUI/AddThisToRoot_GUI_compile.sh @@ -31,30 +31,23 @@ Parallel_Make () { Home=`pwd` ZenLib_Options="" -MacOptions="--with-macosx-version-min=10.10 --enable-arch-x86_64" +MacOptions="--with-macosx-version-min=11.0 --enable-arch-x86_64 --enable-arch-arm64" OS=$(uname -s) # expr isn't available on mac if [ "$OS" = "Darwin" ]; then OS="mac" BINARY="MediaConch.app/Contents/MacOS/MediaConch" - if test -d ~/Qt/5.3/clang_64/bin; then - export PATH=$PATH:~/Qt/5.3/clang_64/bin - fi # if the 5 first caracters of $OS equal "Linux" elif [ "$(expr substr $OS 1 5)" = "Linux" ]; then OS="linux" BINARY="mediaconch-gui" -#elif [ "$(expr substr $OS 1 5)" = "SunOS" ]; then -# OS="solaris" -#elif [ "$(expr substr $OS 1 7)" = "FreeBSD" ]; then -# OS="freebsd" fi if [ "$OS" = "mac" ] ; then - export CXXFLAGS="-mmacosx-version-min=10.10 -arch x86_64 $CXXFLAGS" - export CFLAGS="-mmacosx-version-min=10.10 -arch x86_64 $CFLAGS" - export LDFLAGS="-mmacosx-version-min=10.10 -arch x86_64 $LDFLAGS" + export CXXFLAGS="-mmacosx-version-min=11.0 -arch x86_64 -arch arm64 $CXXFLAGS" + export CFLAGS="-mmacosx-version-min=11.0 -arch x86_64 -arch arm64 $CFLAGS" + export LDFLAGS="-mmacosx-version-min=11.0 -arch x86_64 -arch arm64 $LDFLAGS" fi ################################################################## @@ -187,20 +180,6 @@ else fi cd $Home -################################################################## -# Compile zlib - -cd Shared/Source/zlib -make clean -Parallel_Make -if test -e libz.a; then - echo zlib compiled -else - echo Problem while compiling zlib - exit -fi -cd $Home - ################################################################## # Compile ZenLib diff --git a/Project/Mac/Info-ns.plist b/Project/Mac/Info-ns.plist index e800547a..c782e0b3 100644 --- a/Project/Mac/Info-ns.plist +++ b/Project/Mac/Info-ns.plist @@ -31,7 +31,7 @@ DTSDKBuild 10K549 DTSDKName - macosx10.13 + macosx11.0 DTXcode 0420 DTXcodeBuild @@ -39,7 +39,7 @@ LSApplicationCategoryType public.app-category.utilities LSMinimumSystemVersion - 10.13 + 11.0 NSHumanReadableCopyright (c) MediaArea.net NSMainNibFile diff --git a/Project/Mac/Info.plist b/Project/Mac/Info.plist index da1a668a..7dfb1f21 100644 --- a/Project/Mac/Info.plist +++ b/Project/Mac/Info.plist @@ -31,7 +31,7 @@ DTSDKBuild 10K549 DTSDKName - macosx10.13 + macosx11.0 DTXcode 0420 DTXcodeBuild @@ -39,7 +39,7 @@ LSApplicationCategoryType public.app-category.utilities LSMinimumSystemVersion - 10.13 + 11.0 NSHumanReadableCopyright (c) MediaArea.net NSMainNibFile diff --git a/Project/Mac/Make_MC_dmg.sh b/Project/Mac/Make_MC_dmg.sh index ccaf1e16..d3d55bcb 100644 --- a/Project/Mac/Make_MC_dmg.sh +++ b/Project/Mac/Make_MC_dmg.sh @@ -117,7 +117,7 @@ if [ "$KIND" = "GUI" ]; then echo Signing the application... echo - codesign --options=runtime --force --verbose --entitlements QtWebEngineProcess-ns.entitlements --sign "Developer ID Application: ${SIGNATURE}" "${FILES}/${APPNAME}.app/Contents/Frameworks/QtWebEngineCore.framework/Helpers/QtWebEngineProcess.app/Contents/MacOS/QtWebEngineProcess" + codesign --options=runtime --force --verbose --entitlements QtWebEngineProcess-ns.entitlements --sign "Developer ID Application: ${SIGNATURE}" "${FILES}/${APPNAME}.app/Contents/Frameworks/QtWebEngineCore.framework/Helpers/QtWebEngineProcess.app" codesign --deep --options=runtime --force --verbose --preserve-metadata=identifier,entitlements --sign "Developer ID Application: ${SIGNATURE}" "${FILES}/${APPNAME}.app" echo diff --git a/Project/Mac/QtWebEngineProcess-ns.entitlements b/Project/Mac/QtWebEngineProcess-ns.entitlements index 68015469..27570e29 100644 --- a/Project/Mac/QtWebEngineProcess-ns.entitlements +++ b/Project/Mac/QtWebEngineProcess-ns.entitlements @@ -2,6 +2,12 @@ + com.apple.security.cs.allow-unsigned-executable-memory + + com.apple.security.cs.disable-library-validation + + com.apple.security.cs.allow-jit + com.apple.security.cs.disable-executable-page-protection diff --git a/Project/Qt/MediaConch.pro b/Project/Qt/MediaConch.pro index ced2bd6d..3970f709 100644 --- a/Project/Qt/MediaConch.pro +++ b/Project/Qt/MediaConch.pro @@ -26,7 +26,7 @@ unix:!macx:TARGET = mediaconch-gui else:TARGET = MediaConch TEMPLATE = app -CONFIG += qt release c++11 +CONFIG += qt release c++17 CONFIG += no_keywords unix:CONFIG += link_pkgconfig @@ -351,16 +351,20 @@ contains(NO_LIBEVENT, yes|1) { } } +macx { + QMAKE_APPLE_DEVICE_ARCHS = x86_64 arm64 +} + macx:contains(MACSTORE, yes|1) { QMAKE_LFLAGS+=-Wl,-ld_classic QMAKE_CFLAGS += -gdwarf-2 QMAKE_CXXFLAGS += -gdwarf-2 QMAKE_INFO_PLIST = ../Mac/Info.plist - QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.13 + QMAKE_MACOSX_DEPLOYMENT_TARGET = 11.0 } else:macx { QMAKE_LFLAGS+=-Wl,-ld_classic QMAKE_INFO_PLIST = ../Mac/Info-ns.plist - QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.13 + QMAKE_MACOSX_DEPLOYMENT_TARGET = 11.0 } win32 { diff --git a/Release/Release_CLI_Mac.sh b/Release/Release_CLI_Mac.sh new file mode 100755 index 00000000..0eb7cbac --- /dev/null +++ b/Release/Release_CLI_Mac.sh @@ -0,0 +1,49 @@ +#!/bin/bash + +## Copyright (c) MediaArea.net SARL. All Rights Reserved. + # + # Use of this source code is governed by a BSD-style license that can + # be found in the License.html file in the root of the source tree. + ## + +set -e # fail on any error + +#----------------------------------------------------------------------- +# Setup +release_directory="$(realpath -- "$(dirname -- "${BASH_SOURCE[0]}")")" +workspace_directory="$(realpath -- "${release_directory}/../..")" +version="$(<"${release_directory}/../Project/version.txt")" + +export MAKEOPTS=-j$(($(sysctl -n hw.logicalcpu)+1)) + +#----------------------------------------------------------------------- +# Cleanup +rm -f "${release_directory}/MediaConch_CLI_${version}_Mac.dmg" + +#----------------------------------------------------------------------- +# Build dependencies and MediaConch CLI +pushd "${workspace_directory}" + ./CLI_Compile.sh --enable-arch x86_64 --enable-arch arm64 +popd + +pushd "${release_directory}/../Project/GNU/CLI" + binary=".libs/mediaconch" + if [[ ! -f "${binary}" ]]; then + binary="mediaconch" + fi + architectures="$(lipo -archs "${binary}")" + if [[ "${architectures}" != *x86_64* || "${architectures}" != *arm64* ]]; then + echo "Error: ${binary} is not universal (architectures: ${architectures})" >&2 + exit 1 + fi +popd + +#----------------------------------------------------------------------- +# Package .pkg and .dmg +pushd "${release_directory}/../Project/Mac" + ./Make_MC_dmg.sh CLI "${version}" +popd + +#----------------------------------------------------------------------- +# Copy artifacts +cp -a "${release_directory}/../Project/Mac/MediaConch_CLI_${version}_Mac.dmg" "${release_directory}/" diff --git a/Release/Release_GUI_Mac.sh b/Release/Release_GUI_Mac.sh new file mode 100755 index 00000000..dc194d93 --- /dev/null +++ b/Release/Release_GUI_Mac.sh @@ -0,0 +1,46 @@ +#!/bin/bash + +## Copyright (c) MediaArea.net SARL. All Rights Reserved. + # + # Use of this source code is governed by a BSD-style license that can + # be found in the License.html file in the root of the source tree. + ## + +set -e # fail on any error + +#----------------------------------------------------------------------- +# Setup +release_directory="$(realpath -- "$(dirname -- "${BASH_SOURCE[0]}")")" +workspace_directory="$(realpath -- "${release_directory}/../..")" +version="$(<"${release_directory}/../Project/version.txt")" + +export MAKEOPTS=-j$(($(sysctl -n hw.logicalcpu)+1)) + +#----------------------------------------------------------------------- +# Cleanup +rm -f "${release_directory}/MediaConch_GUI_${version}_Mac.dmg" + +#----------------------------------------------------------------------- +# Build dependencies and MediaConch GUI +pushd "${workspace_directory}" + ./GUI_Compile.sh --enable-arch x86_64 --enable-arch arm64 +popd + +pushd "${release_directory}/../Project/Qt" + binary="MediaConch.app/Contents/MacOS/MediaConch" + architectures="$(lipo -archs "${binary}")" + if [[ "${architectures}" != *x86_64* || "${architectures}" != *arm64* ]]; then + echo "Error: ${binary} is not universal (architectures: ${architectures})" >&2 + exit 1 + fi +popd + +#----------------------------------------------------------------------- +# Package .pkg and .dmg +pushd "${release_directory}/../Project/Mac" + ./Make_MC_dmg.sh GUI "${version}" +popd + +#----------------------------------------------------------------------- +# Copy artifacts +cp -a "${release_directory}/../Project/Mac/MediaConch_GUI_${version}_Mac.dmg" "${release_directory}/" diff --git a/Release/Release_Server_Mac.sh b/Release/Release_Server_Mac.sh new file mode 100755 index 00000000..ddef21f2 --- /dev/null +++ b/Release/Release_Server_Mac.sh @@ -0,0 +1,49 @@ +#!/bin/bash + +## Copyright (c) MediaArea.net SARL. All Rights Reserved. + # + # Use of this source code is governed by a BSD-style license that can + # be found in the License.html file in the root of the source tree. + ## + +set -e # fail on any error + +#----------------------------------------------------------------------- +# Setup +release_directory="$(realpath -- "$(dirname -- "${BASH_SOURCE[0]}")")" +workspace_directory="$(realpath -- "${release_directory}/../..")" +version="$(<"${release_directory}/../Project/version.txt")" + +export MAKEOPTS=-j$(($(sysctl -n hw.logicalcpu)+1)) + +#----------------------------------------------------------------------- +# Cleanup +rm -f "${release_directory}/MediaConch_Server_${version}_Mac.dmg" + +#----------------------------------------------------------------------- +# Build dependencies and MediaConch Server +pushd "${workspace_directory}" + ./Server_Compile.sh --enable-arch x86_64 --enable-arch arm64 +popd + +pushd "${release_directory}/../Project/GNU/Server" + binary=".libs/mediaconchd" + if [[ ! -f "${binary}" ]]; then + binary="mediaconchd" + fi + architectures="$(lipo -archs "${binary}")" + if [[ "${architectures}" != *x86_64* || "${architectures}" != *arm64* ]]; then + echo "Error: ${binary} is not universal (architectures: ${architectures})" >&2 + exit 1 + fi +popd + +#----------------------------------------------------------------------- +# Package .pkg and .dmg +pushd "${release_directory}/../Project/Mac" + sh ./Make_MC_dmg.sh Server "${version}" +popd + +#----------------------------------------------------------------------- +# Copy artifacts +cp -a "${release_directory}/../Project/Mac/MediaConch_Server_${version}_Mac.dmg" "${release_directory}/"