louis77 / tuner

GNU/Linux app to discover and play internet radio stations
GNU General Public License v3.0
195 stars 26 forks source link

I can not build on Debian Buster AArch 64 architecture #99

Open JanuszChmiel opened 2 years ago

JanuszChmiel commented 2 years ago

Please, does somebody of us know, if there could be any chance to build your excellent Tuner app also for Debian Buster AArch64? I Am able to build your product for latest Arch Linux, for The Ubuntu Jammi. BUt unfortunately, Debian Buster and very probably Ubunfu Focal also can not be used. I love Android devices in combination with The Termux and Proot. Because it take much more less energy while using charger to charge build in battery. This is very actual in todays energetic crisis. Unfortunately, I Am helpless to use FIrefox available for up to date Linux distros. It uses many new memory shared related functions and Mozilla has adapted some code from Google chromium to manage memory. It is impossible to use it effectively with Orca and in Proot environment. Too slow interactions, too much errors, very probably due to The incompatible memory management of latest Firefox. So I must really use older Firefox available on Ubuntu Focal or Debian Buster. And I want to use your excellent radio too. Sure, I could install latest Ubuntu Jammi to use only your player. But because I love Mate-desktop-environment from The bottom of my heart so much, it allocates some GB of space even after cleaning packages cache. Here are many errors when I have tried to build for Debian Buster. Very probably, your source code call up to date modern versions of The Vala components. root@localhost:/home/tuner/build# ninja install [0/1] Regenerating build files.

The Meson build system Version: 0.49.2 Source dir: /home/tuner Build dir: /home/tuner/build Build type: native build Project name: com.github.louis77.tuner Project version: 1.5.1 Native C compiler: cc (gcc 8.3.0 "cc (Debian 8.3.0-6) 8.3.0") Native Vala compiler: valac (valac 0.42.5) Build machine cpu family: aarch64 Build machine cpu: aarch64 Configuring Config.vala using configuration Found pkg-config: /usr/bin/pkg-config (0.29) Dependency glib-2.0 found: YES (cached) Dependency gtk+-3.0 found: YES (cached) Dependency gee-0.8 found: YES (cached) Dependency gio-2.0 found: YES (cached) Dependency granite found: YES (cached) Dependency gstreamer-1.0 found: YES (cached) Dependency gstreamer-player-1.0 found: YES (cached) Dependency libsoup-2.4 found: YES (cached) Dependency json-glib-1.0 found: YES (cached) Dependency libgeoclue-2.0 found: YES (cached) Dependency geocode-glib-1.0 found: YES (cached) Program meson/post_install.py found: YES (/usr/bin/env python3 /home/tuner/meson/post_install.py) Build targets in project: 11 Found ninja-1.8.2 at /usr/bin/ninja [6/35] Compiling Vala source Config.va...src/Application.vala ../src/Main.vala. FAILED: com.github.louis77.tuner@exe/build/Config.c com.github.louis77.tuner@exe/src/Controllers/DirectoryController.c com.github.louis77.tuner@exe/src/Controllers/PlayerController.c com.github.louis77.tuner@exe/src/Models/Countries.c com.github.louis77.tuner@exe/src/Models/Genre.c com.github.louis77.tuner@exe/src/Models/Station.c com.github.louis77.tuner@exe/src/Models/StationStore.c com.github.louis77.tuner@exe/src/Services/DBusMediaPlayer.c com.github.louis77.tuner@exe/src/Services/DBusInterface.c com.github.louis77.tuner@exe/src/Services/RadioBrowserDirectory.c com.github.louis77.tuner@exe/src/Services/LocationDiscovery.c com.github.louis77.tuner@exe/src/Widgets/AbstractContentList.c com.github.louis77.tuner@exe/src/Widgets/ContentBox.c com.github.louis77.tuner@exe/src/Widgets/HeaderBar.c com.github.louis77.tuner@exe/src/Widgets/HeaderLabel.c com.github.louis77.tuner@exe/src/Widgets/StationBox.c com.github.louis77.tuner@exe/src/Widgets/StationContextMenu.c com.github.louis77.tuner@exe/src/Widgets/Window.c com.github.louis77.tuner@exe/src/Widgets/AboutDialog.c com.github.louis77.tuner@exe/src/Widgets/WelcomeButton.c com.github.louis77.tuner@exe/src/Widgets/Theme.c com.github.louis77.tuner@exe/src/Widgets/CountryList.c com.github.louis77.tuner@exe/src/Widgets/StationList.c com.github.louis77.tuner@exe/src/Widgets/RevealLabel.c com.github.louis77.tuner@exe/src/Widgets/PreferencesPopover.c com.github.louis77.tuner@exe/src/Application.c com.github.louis77.tuner@exe/src/Main.c valac -C --debug --debug --pkg geocode-glib-1.0 --pkg libgeoclue-2.0 --pkg json-glib-1.0 --pkg libsoup-2.4 --pkg gstreamer-player-1.0 --pkg gstreamer-1.0 --pkg granite --pkg gio-2.0 --pkg gee-0.8 --pkg gtk+-3.0 --pkg glib-2.0 --color=always --directory com.github.louis77.tuner@exe --basedir ../ --gresources=../data/com.github.louis77.tuner.gresource.xml Config.vala ../src/Controllers/DirectoryController.vala ../src/Controllers/PlayerController.vala ../src/Models/Countries.vala ../src/Models/Genre.vala ../src/Models/Station.vala ../src/Models/StationStore.vala ../src/Services/DBusMediaPlayer.vala ../src/Services/DBusInterface.vala ../src/Services/RadioBrowserDirectory.vala ../src/Services/LocationDiscovery.vala ../src/Widgets/AbstractContentList.vala ../src/Widgets/ContentBox.vala ../src/Widgets/HeaderBar.vala ../src/Widgets/HeaderLabel.vala ../src/Widgets/StationBox.vala ../src/Widgets/StationContextMenu.vala ../src/Widgets/Window.vala ../src/Widgets/AboutDialog.vala ../src/Widgets/WelcomeButton.vala ../src/Widgets/Theme.vala ../src/Widgets/CountryList.vala ../src/Widgets/StationList.vala ../src/Widgets/RevealLabel.vala ../src/Widgets/PreferencesPopover.vala ../src/Application.vala ../src/Main.vala ../src/Widgets/Window.vala:403.32-403.47: error: The name Settings' does not exist in the context ofGranite' var granite_settings = Granite.Settings.get_default (); ^^^^^^^^^^^^^^^^ ../src/Widgets/Window.vala:403.13-403.62: error: var declaration not allowed with non-typed initializer var granite_settings = Granite.Settings.get_default (); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../src/Widgets/Window.vala:407.63-407.78: error: The name granite_settings' does not exist in the context ofTuner.Window.adjust_theme' gtk_settings.gtk_application_prefer_dark_theme = (granite_settings.prefers_color_scheme == Granite.Settings.ColorScheme.DARK); ^^^^^^^^^^^^^^^^ ../src/Widgets/Window.vala:407.104-407.119: error: The name Settings' does not exist in the context ofGranite' gtk_settings.gtk_application_prefer_dark_theme = (granite_settings.prefers_color_scheme == Granite.Settings.ColorScheme.DARK); ^^^^^^^^^^^^^^^^ ../src/Widgets/Window.vala:87.32-87.47: error: The name Settings' does not exist in the context ofGranite' var granite_settings = Granite.Settings.get_default (); ^^^^^^^^^^^^^^^^ ../src/Widgets/Window.vala:87.13-87.62: error: var declaration not allowed with non-typed initializer var granite_settings = Granite.Settings.get_default (); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../src/Widgets/Window.vala:88.9-88.24: error: The name granite_settings' does not exist in the context ofTuner.Window' granite_settings.notify.connect( (key) => { ^^^^^^^^^^^^^^^^ Compilation failed: 7 error(s), 0 warning(s) ninja: build stopped: subcommand failed. root@localhost:/home/tuner/build# root@localhost:/home/tuner/build#

JanuszChmiel commented 2 years ago

If some Vala elite developers would release new Vala which would allow to produce statically compiled binaryes? But I AM afraid, that my wish can not come true, because so complex programming language object oriented could not be safely recoded to produce statically compiled binaryes.