Gator96100 / ProxSpace

Proxmark III develoment environment for Windows
269 stars 70 forks source link

Reduce unnecessary packages #53

Closed wh201906 closed 11 months ago

wh201906 commented 1 year ago

Most of the packages in mingw-w64-x86_64-qt5 are unnecessary. The simple GUI in the Proxmark3 only requires qt5-base. Plus, some unused packages in mingw-w64-x86_64-qt5 cost a lot of time to install.

Gator96100 commented 11 months ago

qt5-base is not enough for developing the GUI, it might just work for just compiling, but future GUI changes might require additional qt5 modules.

wh201906 commented 11 months ago

But we don't use any other qt5 package except qt5-base in the Linux installation instructions

https://github.com/RfidResearchGroup/proxmark3/blob/16d078369cbaa213f741f605495493c364f4bbfa/doc/md/Installation_Instructions/Linux-Installation-Instructions.md#on-debian--ubuntu--kali--parrotos--raspbian https://github.com/Proxmark/proxmark3/wiki/Ubuntu-Linux#setup-and-build-for-ubuntu

If the GUI requires more packages in the future, these installation instructions will be changed. And we can add the new packages in the ProxSpace. Plus, if these unnecessary packages are removed, the users will save a lot of time and space when installing or updating the ProxSpace. Could you please reconsider removing these non-essential Qt5 packages?

wh201906 commented 11 months ago

Here is the size comparison

mingw-w64-x86_64-qt5-base ``` Installing: mingw-w64-x86_64-qt5-base resolving dependencies... looking for conflicting packages... warning: dependency cycle detected: warning: mingw-w64-x86_64-harfbuzz will be installed before its mingw-w64-x86_64-freetype dependency Packages (16) mingw-w64-x86_64-dbus-1.12.20-5 mingw-w64-x86_64-double-conversion-3.3.0-1 mingw-w64-x86_64-fontconfig-2.14.2-1 mingw-w64-x86_64-freetype-2.13.2-1 mingw-w64-x86_64-glib2-2.78.0-1 mingw-w64-x86_64-graphite2-1.3.14-2 mingw-w64-x86_64-harfbuzz-8.2.0-1 mingw-w64-x86_64-icu-73.2-1 mingw-w64-x86_64-libjpeg-turbo-3.0.0-1 mingw-w64-x86_64-libpng-1.6.40-1 mingw-w64-x86_64-md4c-0.4.8-2 mingw-w64-x86_64-pcre2-10.42-1 mingw-w64-x86_64-vulkan-headers-1.3.261-1 mingw-w64-x86_64-vulkan-loader-1.3.261-1 mingw-w64-x86_64-wineditline-2.206-1 mingw-w64-x86_64-qt5-base-5.15.10+kde+r129-3 Total Download Size: 46.23 MiB Total Installed Size: 270.72 MiB :: Proceed with installation? [Y/n] ```
mingw-w64-x86_64-qt5 ``` Installing: mingw-w64-x86_64-qt5 warning: dependency cycle detected: warning: mingw-w64-x86_64-harfbuzz will be installed before its mingw-w64-x86_64-freetype dependency warning: dependency cycle detected: warning: mingw-w64-x86_64-libwebp will be installed before its mingw-w64-x86_64-libtiff dependency :: There are 37 members in group mingw-w64-x86_64-qt5: :: Repository mingw64 1) mingw-w64-x86_64-qt5-3d 2) mingw-w64-x86_64-qt5-activeqt 3) mingw-w64-x86_64-qt5-base 4) mingw-w64-x86_64-qt5-charts 5) mingw-w64-x86_64-qt5-connectivity 6) mingw-w64-x86_64-qt5-datavis3d 7) mingw-w64-x86_64-qt5-declarative 8) mingw-w64-x86_64-qt5-doc 9) mingw-w64-x86_64-qt5-gamepad 10) mingw-w64-x86_64-qt5-graphicaleffects 11) mingw-w64-x86_64-qt5-imageformats 12) mingw-w64-x86_64-qt5-location 13) mingw-w64-x86_64-qt5-lottie 14) mingw-w64-x86_64-qt5-multimedia 15) mingw-w64-x86_64-qt5-networkauth 16) mingw-w64-x86_64-qt5-purchasing 17) mingw-w64-x86_64-qt5-quick3d 18) mingw-w64-x86_64-qt5-quickcontrols 19) mingw-w64-x86_64-qt5-quickcontrols2 20) mingw-w64-x86_64-qt5-quicktimeline 21) mingw-w64-x86_64-qt5-remoteobjects 22) mingw-w64-x86_64-qt5-script 23) mingw-w64-x86_64-qt5-scxml 24) mingw-w64-x86_64-qt5-sensors 25) mingw-w64-x86_64-qt5-serialbus 26) mingw-w64-x86_64-qt5-serialport 27) mingw-w64-x86_64-qt5-speech 28) mingw-w64-x86_64-qt5-svg 29) mingw-w64-x86_64-qt5-tools 30) mingw-w64-x86_64-qt5-translations 31) mingw-w64-x86_64-qt5-virtualkeyboard 32) mingw-w64-x86_64-qt5-webchannel 33) mingw-w64-x86_64-qt5-webglplugin 34) mingw-w64-x86_64-qt5-websockets 35) mingw-w64-x86_64-qt5-webview 36) mingw-w64-x86_64-qt5-winextras 37) mingw-w64-x86_64-qt5-xmlpatterns Enter a selection (default=all): resolving dependencies... looking for conflicting packages... Packages (66) mingw-w64-x86_64-assimp-5.2.5-2 mingw-w64-x86_64-dbus-1.12.20-5 mingw-w64-x86_64-double-conversion-3.3.0-1 mingw-w64-x86_64-fontconfig-2.14.2-1 mingw-w64-x86_64-freeglut-3.4.0-2 mingw-w64-x86_64-freetype-2.13.2-1 mingw-w64-x86_64-giflib-5.2.1-3 mingw-w64-x86_64-glib2-2.78.0-1 mingw-w64-x86_64-graphite2-1.3.14-2 mingw-w64-x86_64-harfbuzz-8.2.0-1 mingw-w64-x86_64-icu-73.2-1 mingw-w64-x86_64-jasper-4.0.0-1 mingw-w64-x86_64-jbigkit-2.1-5 mingw-w64-x86_64-lcms2-2.15-4 mingw-w64-x86_64-lerc-4.0.0-1 mingw-w64-x86_64-libdeflate-1.19-1 mingw-w64-x86_64-libjpeg-turbo-3.0.0-1 mingw-w64-x86_64-libmng-2.0.3-6 mingw-w64-x86_64-libmysofa-1.3.1-1 mingw-w64-x86_64-libpng-1.6.40-1 mingw-w64-x86_64-libtiff-4.6.0-1 mingw-w64-x86_64-libwebp-1.3.2-1 mingw-w64-x86_64-md4c-0.4.8-2 mingw-w64-x86_64-minizip-1.3-1 mingw-w64-x86_64-openal-1.23.1-2 mingw-w64-x86_64-pcre2-10.42-1 mingw-w64-x86_64-vulkan-headers-1.3.261-1 mingw-w64-x86_64-vulkan-loader-1.3.261-1 mingw-w64-x86_64-wineditline-2.206-1 mingw-w64-x86_64-qt5-3d-5.15.10-1 mingw-w64-x86_64-qt5-activeqt-5.15.10-1 mingw-w64-x86_64-qt5-base-5.15.10+kde+r129-3 mingw-w64-x86_64-qt5-charts-5.15.10-1 mingw-w64-x86_64-qt5-connectivity-5.15.10+kde+r4-2 mingw-w64-x86_64-qt5-datavis3d-5.15.10-1 mingw-w64-x86_64-qt5-declarative-5.15.10+kde+r26-1 mingw-w64-x86_64-qt5-doc-5.15.10-1 mingw-w64-x86_64-qt5-gamepad-5.15.10-1 mingw-w64-x86_64-qt5-graphicaleffects-5.15.10-1 mingw-w64-x86_64-qt5-imageformats-5.15.10-1 mingw-w64-x86_64-qt5-location-5.15.10+kde+r4-1 mingw-w64-x86_64-qt5-lottie-5.15.10-1 mingw-w64-x86_64-qt5-multimedia-5.15.10-1 mingw-w64-x86_64-qt5-networkauth-5.15.10-1 mingw-w64-x86_64-qt5-purchasing-5.15.10-1 mingw-w64-x86_64-qt5-quick3d-5.15.10-1 mingw-w64-x86_64-qt5-quickcontrols-5.15.10-1 mingw-w64-x86_64-qt5-quickcontrols2-5.15.10+kde+r6-1 mingw-w64-x86_64-qt5-quicktimeline-5.15.10-1 mingw-w64-x86_64-qt5-remoteobjects-5.15.10-1 mingw-w64-x86_64-qt5-script-5.15.10-1 mingw-w64-x86_64-qt5-scxml-5.15.10-1 mingw-w64-x86_64-qt5-sensors-5.15.10-1 mingw-w64-x86_64-qt5-serialbus-5.15.10-1 mingw-w64-x86_64-qt5-serialport-5.15.10-1 mingw-w64-x86_64-qt5-speech-5.15.10-1 mingw-w64-x86_64-qt5-svg-5.15.10+kde+r8-1 mingw-w64-x86_64-qt5-tools-5.15.10-1 mingw-w64-x86_64-qt5-translations-5.15.10-1 mingw-w64-x86_64-qt5-virtualkeyboard-5.15.10-2 mingw-w64-x86_64-qt5-webchannel-5.15.10+kde+r3-1 mingw-w64-x86_64-qt5-webglplugin-5.15.10-1 mingw-w64-x86_64-qt5-websockets-5.15.10+kde+r2-1 mingw-w64-x86_64-qt5-webview-5.15.10-1 mingw-w64-x86_64-qt5-winextras-5.15.10-1 mingw-w64-x86_64-qt5-xmlpatterns-5.15.10-1 Total Download Size: 252.41 MiB Total Installed Size: 1039.40 MiB :: Proceed with installation? [Y/n] ```
Gator96100 commented 11 months ago

Last time I checked the installation instructions had the full qt5 package. I'll have to look into it.

Gator96100 commented 11 months ago

I did switch to the qt5-base package, as well as adding some missing packages. Thank you for telling me that the full qt5 package was no longer needed.