From bedd6906eabdd513042d6a178d4dc56a3a41d1d3 Mon Sep 17 00:00:00 2001 From: Fox Caminiti Date: Fri, 16 Dec 2022 20:16:43 -0500 Subject: v3, file/build organization --- misc/ffmpeg_config.sh | 49 ++ misc/mac_app_template/Contents/Info.plist | 32 + misc/mac_app_template/Contents/Resources/real.icns | Bin 0 -> 97366 bytes .../Contents/_CodeSignature/CodeResources | 725 +++++++++++++++++++++ 4 files changed, 806 insertions(+) create mode 100644 misc/ffmpeg_config.sh create mode 100755 misc/mac_app_template/Contents/Info.plist create mode 100755 misc/mac_app_template/Contents/Resources/real.icns create mode 100755 misc/mac_app_template/Contents/_CodeSignature/CodeResources (limited to 'misc') diff --git a/misc/ffmpeg_config.sh b/misc/ffmpeg_config.sh new file mode 100644 index 0000000..9266a76 --- /dev/null +++ b/misc/ffmpeg_config.sh @@ -0,0 +1,49 @@ +#!/bin/bash + +# The config flags for the minimal ffmpeg build used in the program, reducing +# compile time and filesize by a decent amount. + +# Surprisingly we don't need to compile and link any other external libaries to +# be able to decode most of the commonly-used file formats. We'll only start +# needing them if we want the user to be able to export mp4s or webms directly +# from the program. + +# All bitstream filters and are enabled. +# All filters, devices, and HW acceleration are disabled. +# All protocols aside from 'file' are disabled. +# Encoders and muxers are TBD. + +VIDEO_DECODERS="av1,h263,h264,hevc,vp8,vp9" +AUDIO_DECODERS="aac,ac3,flac,mp3,opus,pcm_s16le,pcm_dvd,pcm_bluray,wmalossless,wmav1" +VIDEO_DEMUXERS="h261,h263,h264,hevc,matroska,mov,mpc,mpegps,mpegts,webm_dash_manifest" +AUDIO_DEMUXERS="aac,avi,flac,mp3,ogg,pcm_s16le,wav" +VIDEO_PARSERS="h261,h263,h264,hevc,mpeg4video,mpegvideo,vc1,vp8,vp9,webp" +AUDIO_PARSERS="aac,flac,mpegaudio,opus,vorbis" + +./configure \ + --disable-encoders \ + --disable-decoders \ + --disable-hwaccels \ + --disable-muxers \ + --disable-demuxers \ + --disable-parsers \ + --disable-protocols \ + --disable-devices \ + --disable-filters \ + \ + --enable-decoder=$VIDEO_DECODERS,$AUDIO_DECODERS \ + --enable-parser=$VIDEO_PARSERS,$AUDIO_PARSERS \ + --enable-demuxer=$VIDEO_DEMUXERS,$AUDIO_DEMUXERS \ + --enable-protocol=file \ + \ + --enable-avcodec \ + --enable-avformat \ + --enable-avutil \ + --enable-swscale \ + --disable-avdevice \ + --disable-network \ + \ + --enable-gpl \ + --enable-static \ + --disable-shared \ + --disable-doc \ diff --git a/misc/mac_app_template/Contents/Info.plist b/misc/mac_app_template/Contents/Info.plist new file mode 100755 index 0000000..106b07c --- /dev/null +++ b/misc/mac_app_template/Contents/Info.plist @@ -0,0 +1,32 @@ + + + + + CFBundleInfoDictionaryVersion + 6.0 + CFBundleDevelopmentRegion + en + CFBundlePackageType + APPL + CFBundleIdentifier + net.foxcam.projectreal + CFBundleExecutable + real + CFBundleIconFile + real + CFBundleDisplayName + real + CFBundleName + real + CFBundleVersion + 0.1 + CFBundleShortVersionString + + NSHumanReadableCopyright + ©2022 Fox Caminiti, licensed under GPLv2 + CFBundleSignature + ???? + NSHighResolutionCapable + + + diff --git a/misc/mac_app_template/Contents/Resources/real.icns b/misc/mac_app_template/Contents/Resources/real.icns new file mode 100755 index 0000000..877283e Binary files /dev/null and b/misc/mac_app_template/Contents/Resources/real.icns differ diff --git a/misc/mac_app_template/Contents/_CodeSignature/CodeResources b/misc/mac_app_template/Contents/_CodeSignature/CodeResources new file mode 100755 index 0000000..6ef6ae3 --- /dev/null +++ b/misc/mac_app_template/Contents/_CodeSignature/CodeResources @@ -0,0 +1,725 @@ + + + + + files + + Resources/real.icns + + rF2Mzfih3a/UiT+H12zqxwKHQrU= + + + files2 + + .Info.plist.swp + + cdhash + + iPOBdTY63rbAyKlwvmbkOZQSiO0= + + requirement + cdhash H"0b914d45232ce873fc3c8b9e759a470cdf73168e" or cdhash H"88f38175363adeb6c0c8a970be66e439941288ed" + + Resources/real.icns + + hash2 + + XbmksJSMDXJxVZTcKZA1p3TxaF2dpIxlplV1sw237Es= + + + libs/libSDL2-2.0.0.dylib + + hash2 + + /6g7gyRZ8aGjTP4RSz0rGs96T4Ig6aGXOx5DUkip9xk= + + + libs/libX11.6.dylib + + hash2 + + liArmavoJRyWsF/Q9AeCi1wvNIL2ja+0WCL/YIrGw8Y= + + + libs/libXau.6.dylib + + hash2 + + 3SpFxUSxytanHphInyxwkMO4YaOac/GE76Vzrc7wlzU= + + + libs/libXdmcp.6.dylib + + hash2 + + ffSJ/TNoW+6t9VkPsgrkpeaMIrmzt19RwRtG5Cv6ZDs= + + + libs/libaom.3.4.0.dylib + + hash2 + + Vu/WB59J9txiJ7/cloPUhCgWG5FWyZEbKaVgCwecfRY= + + + libs/libarchive.13.dylib + + hash2 + + 3kFfOy/Gdz3I0y/D7RnFTYjirh2ff1DDYx1tlyCWmaA= + + + libs/libass.9.dylib + + hash2 + + 2jGN+DJ96FjG9pPkYeIpyrsdQjBtZK+I6Cl4QIddQBE= + + + libs/libavcodec.59.37.100.dylib + + hash2 + + DdVsYeF515t3ole245vsqb7XPmPssOJ0cnK6r5s7KY4= + + + libs/libavdevice.59.7.100.dylib + + hash2 + + 02Kmi8Su8mNdUnMy4TEQgsNCp7MBogUGDvuI4K87F4g= + + + libs/libavfilter.8.44.100.dylib + + hash2 + + ZV4SmO0RDU+n0w5d+h9+6ID/COchuLSgMKCwqx4R44w= + + + libs/libavformat.59.27.100.dylib + + hash2 + + Z+m5VWTMtJmVfleEqYAbP1rIjm4WK8LiXVsdVQwc7T4= + + + libs/libavutil.57.28.100.dylib + + hash2 + + bas72FzB2TX07ZdvVMXqh/yYSUcgru9XGITEPR/JKj8= + + + libs/libb2.1.dylib + + hash2 + + HJZLDht3oyUy1jXouou1uE5v856nCaaX8VTnLVHTHY4= + + + libs/libbluray.2.dylib + + hash2 + + XbFBKZXCV3IkHrutHQBzMmCGEvWcx8symck1xbXAARA= + + + libs/libbrotlicommon.1.0.9.dylib + + hash2 + + xowleQltQIjczrGcQbas5JpF2ShTXlaq5bcJR2ZKTe0= + + + libs/libbrotlidec.1.0.9.dylib + + hash2 + + ecDgATUCoOIycxFB6BWLTGK5NIWt5UDdo5MnPaCFTbU= + + + libs/libbrotlienc.1.0.9.dylib + + hash2 + + sRonZ9F6KTPC0r6CLfF2dnQs6q/1990+QsB3PFRCmIQ= + + + libs/libcjson.1.7.15.dylib + + hash2 + + 9JiAILRnTvY5AN8IWDqQ3UbBCANgDyi5YKvI4GlurIs= + + + libs/libcrypto.1.1.dylib + + hash2 + + 1vOBZmIUgDmXpsbAjKGO5dW/THV3OtxEOk6E2DkzA6w= + + + libs/libdav1d.6.dylib + + hash2 + + oICG3bYqe0P5OjOn0mjW4eTy+pt8RfBATyL7X+R65WQ= + + + libs/libffi.8.dylib + + hash2 + + G3ecdkNkJvJbQ0tAGHHP1VQUlSZJ1b2lRHvKdN+lkwI= + + + libs/libfontconfig.1.dylib + + hash2 + + MDnuZVUGYDyRuDAFhs7DGpLnNINGfRLLxWuT4JqBj1A= + + + libs/libfreetype.6.dylib + + hash2 + + B+QvCV9EkoDKDFvHjsFILqrzpxF2A6XQWFYsQZVqZYk= + + + libs/libfribidi.0.dylib + + hash2 + + hYAlM5dhus//mkyLqTR4oVQ7rczVxVcNYama0iAbgVs= + + + libs/libgif.7.2.0.dylib + + hash2 + + jr42X0OlIVvgoTBkIg1cTc0QYhNDm6mnS7080YJhwhc= + + + libs/libglib-2.0.0.dylib + + hash2 + + KsvfsQtea7ZWromv5gsdzebIxzW6lWyDKifwL7rrsV4= + + + libs/libgmp.10.dylib + + hash2 + + n6k+zhJu9UEe5jvJ5mDBmlfAy1W2TBdrPwntTUYuUI8= + + + libs/libgnutls.30.dylib + + hash2 + + SbHM2ReL2wTWWFffM9Ef4UpFofHd8aqU0RtfjE8dknU= + + + libs/libgraphite2.3.2.1.dylib + + hash2 + + HX891YYrHxRyeho2dzuvBrkGkwNMhNkRYmlVs1WIHGE= + + + libs/libharfbuzz.0.dylib + + hash2 + + haget34EzYcVbvRltyUIwqKhxA/w/7f/EUxpgYKeTKU= + + + libs/libhogweed.6.6.dylib + + hash2 + + W/2ScrJjf92IflGhMyxz4Oz8WnpmFmRmc0+r3JQhpwM= + + + libs/libidn2.0.dylib + + hash2 + + 5MuEsTqnHWLMRuEgj6klRhQg5cFh2/3LpjKgbtdH0y4= + + + libs/libintl.8.dylib + + hash2 + + tD7k3DtPGB8fndvKrJO6rW/H04XdgNdFMSr+HabGFD4= + + + libs/libjpeg.8.2.2.dylib + + hash2 + + /SSH6QVyo5DV5mg2lCijR267xEnl7MUy7cxYvco8ni0= + + + libs/libjxl.0.6.1.dylib + + hash2 + + B9pVDYwKYEN4IK9J5tlfSakRarDEDyxu7cYsGdnEVUQ= + + + libs/liblept.5.dylib + + hash2 + + KcMzhoMmAS4IJM4y9K/ps1ftD5BlBMBMHmZtcZ6rDlw= + + + libs/liblz4.1.9.4.dylib + + hash2 + + CIhizT+QHYkwzeu4q25eZBGft4QjhxhkzYhiUGRbXx8= + + + libs/liblzma.5.dylib + + hash2 + + vrdnqxgp5kL7uc1SXeXCj31XmVFKVfLhCcF4wUhtSM4= + + + libs/libmbedcrypto.3.2.1.dylib + + hash2 + + 1robsysITt+ytEKwyyvLrty0lUVzpzIh++v49JYrddE= + + + libs/libmp3lame.0.dylib + + hash2 + + hHPAhBsiXMrBn4Grpg9qbELuNjtQUFygRNiZPFZrJ8w= + + + libs/libnettle.8.6.dylib + + hash2 + + rmhYCupnJYL9/xzw7/qGBoIrNDHP9td9mBxz7/uLuCM= + + + libs/libogg.0.dylib + + hash2 + + XlYa+oyd52fjk1thg5RD75FICDrN+qGT9N1T2zaJ1PU= + + + libs/libopencore-amrnb.0.dylib + + hash2 + + usVwtdZm8nxYx3lbKoMpye87PgY1ZXLspwzVYwdMabI= + + + libs/libopencore-amrwb.0.dylib + + hash2 + + yaS9+nbPvNBoDK5YZHPOcRDP73EzusmOViUPzU+vFfk= + + + libs/libopenjp2.2.5.0.dylib + + hash2 + + N5Xv4cHCSVDLXkFVVfdsnd0E4mWIlAZLyJaD+oqI42U= + + + libs/libopus.0.dylib + + hash2 + + GhT0jJE9UlBf2ZGPQ1RjDwCy8mKTJWwvfbv3DYKIzhc= + + + libs/libp11-kit.0.dylib + + hash2 + + 2OE2SksaldpCl1fBs+Lq3GSeTNh0eo5rd+WRhAoCDxU= + + + libs/libpcre.1.dylib + + hash2 + + OHb9HC6/O3K/8CWBCZPdbMcU6teOfFpn0WVSA1PYw4k= + + + libs/libpng16.16.dylib + + hash2 + + /MB/0bZ9lwEsgW2ow2c8f1blGey52tM6dxtcpIvh6mw= + + + libs/libpostproc.56.6.100.dylib + + hash2 + + GENkzSuBv+yolbActseT9vNwITjrpq0NMU81SGYgFvA= + + + libs/librav1e.0.5.1.dylib + + hash2 + + wjPwpgENYwVTEq/4Ci11my8DF54GeQjZ+p1WncJ6d/M= + + + libs/librist.4.dylib + + hash2 + + X3h5cXLJX2B+2feQkqwgr7ojPZiIznSU7AlNCIN3YOA= + + + libs/librubberband.2.dylib + + hash2 + + BLPUSqZfet7NZccge6FMHJSxAH1BWP+nBjadFAPKnlI= + + + libs/libsamplerate.0.dylib + + hash2 + + RrioJcpOSx+3kYVAOqL4PxT6KxfQ3e7Tvfho0XyiTOA= + + + libs/libsnappy.1.1.9.dylib + + hash2 + + YlStTb1OOa5nZK7zbin5VeTZCly6q/fEVi3VWmxBekw= + + + libs/libsodium.23.dylib + + hash2 + + atf8pCzRP8JZrRrsx3kXgnaiPPtkJ2oOp31sS35fX0Y= + + + libs/libsoxr.0.1.2.dylib + + hash2 + + 5d+NhS0h3/FdWjg3z02xiTJ33Ir//gShcXk2DVuu8i8= + + + libs/libspeex.1.dylib + + hash2 + + uO6vksYs/EdAUu0vAu2U9N36dO0hjgBtWQkPSlKjbd0= + + + libs/libsrt.1.5.0.dylib + + hash2 + + mdRxV0inGSwaiLf2p4njKraqSguGRm7/yMa+vDaPGQs= + + + libs/libssl.1.1.dylib + + hash2 + + lbDOvim1cV8xgPTx+EoEnQXD+8fnuatUJhBsPjJKkDA= + + + libs/libswresample.4.7.100.dylib + + hash2 + + w8bdJXBXmEIZ2tWAdKGF55fam30KNOkE+VsHGKd7WW4= + + + libs/libswscale.6.7.100.dylib + + hash2 + + 2Ch0eRGYBHmVZfS4Q/4A1qbiACJVlOCXgJRkFtvIoR4= + + + libs/libtasn1.6.dylib + + hash2 + + 8tkMqmgV7a4a1qCMgNpiqZnipgcMYeK1E5yVZ/wz42M= + + + libs/libtesseract.5.dylib + + hash2 + + wYpVtyvGq3zf6cCCY9O3pZcHYFAYGYXVwVQ700nbnp8= + + + libs/libtheoradec.1.dylib + + hash2 + + TsZc91eAFfwUTn+JiVXGlouw1Fq3hKOgsMaQ+rRymEQ= + + + libs/libtheoraenc.1.dylib + + hash2 + + wfs8dEPKjz6UQHsh4ZGmdPLWLelY1F2ng8VCfJbiykQ= + + + libs/libtiff.5.dylib + + hash2 + + ufrcKqKxbiKTSXRcCfM5Okp5gKp6WHzAgrFRLU80D40= + + + libs/libunistring.2.dylib + + hash2 + + Nxs6nkW/nzCBH0g90mjDKh4hh+2f0QkM1Ia8T0HGRjY= + + + libs/libvidstab.1.1.dylib + + hash2 + + tqGH37U67WGyjmdw6VWGOKI+0Z80kLZznscdlk9gLug= + + + libs/libvmaf.1.dylib + + hash2 + + e5BtL/WBgGQ21n6nebRA8dE56Nj3FPaud0eZQg6FfTk= + + + libs/libvorbis.0.dylib + + hash2 + + LzQdjsTPacJbMTqXcLZ5P0hsK8rBeNmrY4yTfJzVWHg= + + + libs/libvorbisenc.2.dylib + + hash2 + + uUGKBThSEjd9bJmGIcKoB8lLWPwAUzSQQO9zkJBcEOw= + + + libs/libvpx.7.dylib + + hash2 + + cxanoOsVFyUyIXpThb+WM/kN78M5ux0XKo9ijOz3PDo= + + + libs/libwebp.7.dylib + + hash2 + + h7KDpOKunTOvOLddIiI/oyM2ntdgQsJPeWz06hAVe/U= + + + libs/libwebpmux.3.dylib + + hash2 + + DF/2tacsoOBL9oC5CqrYUcTTyr+FdbGPYsvCEsswePc= + + + libs/libx264.164.dylib + + hash2 + + zUXu8Prjzz2bCH9hVhz+42ayhFxCBVPuNyup2DqcaWg= + + + libs/libx265.199.dylib + + hash2 + + py2JtyzDNTdcOWOBZFXZKm3sHme8O5jYg0JaYgfp0fE= + + + libs/libxcb-shape.0.0.0.dylib + + hash2 + + 3DDHvo4Lj0j8HXLiD6v1LKrHJiCTlJBUum3e01w9Ntk= + + + libs/libxcb-shm.0.0.0.dylib + + hash2 + + Yf8Yp50TL56eD6XaAb0Gvljr3YCj3XM1nzDR+QT6SnU= + + + libs/libxcb-xfixes.0.0.0.dylib + + hash2 + + JZFUQq0umfWz3cdhpR11FiG0McnHiF7y/+hK+aC3GgY= + + + libs/libxcb.1.1.0.dylib + + hash2 + + /0c9nUyqAIzWdPu87vBprqCWm1NTpqG6Gykdv+LQCXE= + + + libs/libzimg.2.dylib + + hash2 + + V5AgWbKLWnRkVnkfTxcREixSyryYmr0tMMvw9wdzd7c= + + + libs/libzmq.5.dylib + + hash2 + + NL5yFRvFxqLWMN6JcFBQsE2ndtVmURQ/BWdNO4Tt0vA= + + + libs/libzstd.1.5.2.dylib + + hash2 + + 8Fj80ueuKPOU1iFPTSpakyBX9HPe2uI5OF6JJbIIgMY= + + + + rules + + ^Resources/ + + ^Resources/.*\.lproj/ + + optional + + weight + 1000 + + ^Resources/.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Resources/Base\.lproj/ + + weight + 1010 + + ^version.plist$ + + + rules2 + + .*\.dSYM($|/) + + weight + 11 + + ^(.*/)?\.DS_Store$ + + omit + + weight + 2000 + + ^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/ + + nested + + weight + 10 + + ^.* + + ^Info\.plist$ + + omit + + weight + 20 + + ^PkgInfo$ + + omit + + weight + 20 + + ^Resources/ + + weight + 20 + + ^Resources/.*\.lproj/ + + optional + + weight + 1000 + + ^Resources/.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Resources/Base\.lproj/ + + weight + 1010 + + ^[^/]+$ + + nested + + weight + 10 + + ^embedded\.provisionprofile$ + + weight + 20 + + ^version\.plist$ + + weight + 20 + + + + -- cgit v1.2.3