Comments (12)
We don't have human resources to maintain additional packaging. If want to volunteer we'll be grateful.
from celestia.
A quick search of Flatpak and locales suggests that there have been numerous issues regarding Flatpak and mixed locales, e.g. flatpak/flatpak#3712. Since your locale output indicates a mixture of English and Bulgarian locales, maybe this is causing issues.
from celestia.
@faveoled please check #1988, Flatpaks are provided by Fedora community.
from celestia.
@375gnu Thanks, didn't know about that. But what about Flathub submission?
from celestia.
I've created a manifest for Celestia and a PR to get it on flathub: flathub/flathub#4955
@375gnu is this okay with you?
Currently it uses cmake which looks like isn't in a stable release yet.
from celestia.
I'm fine with this. @ajtribick @levinli303 any objections from your side?
from celestia.
looks good to me.
from celestia.
I don't want to open a new issue about this so I will write it here:
After trying to test the flatpak build (GTK, Qt and SDL) I was always getting a CTD, Celestia didn't even started. The problem was related to my locale settings:
Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8. Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead. If this causes problems, reconfigure your locale. See the locale(1) manual for more information.
The output of localectl is:
System Locale: LANG=en_US.UTF-8 LANGUAGE=en_US:en VC Keymap: (unset) X11 Layout: us,bg X11 Model: pc105 X11 Variant: ,phonetic X11 Options: grp:alt_shift_toggle,grp_led:scroll
And locale shows:
LANG=en_US.UTF-8 LANGUAGE=en_US LC_CTYPE="en_US.UTF-8" LC_NUMERIC=bg_BG.UTF-8 LC_TIME=bg_BG.UTF-8 LC_COLLATE="en_US.UTF-8" LC_MONETARY=bg_BG.UTF-8 LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT=bg_BG.UTF-8 LC_IDENTIFICATION="en_US.UTF-8" LC_ALL=
The problem was fixed by adding the following variable: --env=LC_ALL=C.UTF-8
which was suggested by @ColinKinloch
This problem never happened before. I have 78 flatpaks and Celestia is the first one where I need to use such workarounds. This leads me to believe that the problem is probably not caused by the flatpak build.
What could be a proper solution for this?
EDIT: Here is the link to our discussion: flathub/flathub#4955 (comment)
Thanks in advance!
from celestia.
We don't maintain the Flatpak.
from celestia.
We don't maintain the Flatpak.
I know that. I'm asking if the locale error is relevant to Celestia in any way.
from celestia.
A quick search of Flatpak and locales suggests that there have been numerous issues regarding Flatpak and mixed locales, e.g. flatpak/flatpak#3712. Since your locale output indicates a mixture of English and Bulgarian locales, maybe this is causing issues.
Thanks for pointing that out! Well, that was the answer I needed, sorry to bother you and thanks about your commitment to Celestia. 😃
from celestia.
Actually it was my fault. After creating /etc/locale.conf
the issue solved itself. Even changing the language with the variable LANGUAGE
works too.
from celestia.
Related Issues (20)
- Very distant objects don't display
- Pre-Windows 10 1903 versions of ICU HOT 2
- [Win32] Goto Object dialog ignores zeroes
- [Qt] Barycenters in star browser HOT 1
- CI: MacOS front-ends HOT 2
- setlocale is not thread safe, causing crash due to race HOT 2
- Classic star colors HOT 1
- Incorrect contexted string extracted from windows RC files
- Dubious test in shadermanager.cpp
- Could not read star database HOT 2
- Wasted data for ring systems
- Recent GTK changes cause build error HOT 6
- segfault when exiting celestia (qt5/qt6)
- std::binary_function is (deprecated in C++11) and (removed in C++17) HOT 1
- `ApplyShadow` result discarded during shader creation HOT 1
- Constellation lines beyond Solar System
- HUD translation contexts HOT 1
- compiling and running on Raspberry Pi 5 / Bookworm 64 bit HOT 7
- Orbits disappear after 4000 AD HOT 2
- Celestia on Raspberry Pi 5 Bookworm 64 bit Wayland: orbits, constellations/constellation borders, coordinate grids are not rendered HOT 15
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from celestia.