*** sunshavi has joined #maemo | 00:00 | |
NeKit | I think packages in the repo are going to be build for armhf | 00:13 |
---|---|---|
Zungo | interesting | 00:19 |
*** TheKit has joined #maemo | 00:22 | |
*** NeKit has quit IRC | 00:26 | |
*** dafox has quit IRC | 00:45 | |
DocScrutinizer05 | netkat: aha | 00:48 |
DocScrutinizer05 | I really wonder who spread that furfy | 00:49 |
DocScrutinizer05 | one of the points for devuan _was_ armel | 00:50 |
DocScrutinizer05 | of we had planned to move all maemo to a new arch, we had been (un)able to accomplish that a 5 years ago already | 00:52 |
DocScrutinizer05 | if we* | 00:52 |
DocScrutinizer05 | and indeed iirc it been done, a few times. until the point where it inevitably fails, for the closed blobs | 00:53 |
*** RzR has quit IRC | 00:53 | |
*** RzR has joined #maemo | 00:54 | |
DocScrutinizer05 | when you want a working maemo - there is one already. If you want a new kernel, I wonder why | 00:54 |
DocScrutinizer05 | it's not like *maemo* would work better with a new kernel | 00:54 |
*** Pali has quit IRC | 00:55 | |
DocScrutinizer05 | at least not on N900 | 00:55 |
*** TheKit is now known as NeKit | 00:55 | |
NeKit | well, what I'm interested in is running Maemo UI/apps on devices other than N900, so it's a new kernel/different set of blobs anyway... | 00:56 |
*** RzR is now known as rZr | 00:56 | |
DocScrutinizer05 | then why would you want stuff like system settings or gallery or **fennec**? | 00:59 |
*** L29Ah has joined #maemo | 01:01 | |
DocScrutinizer05 | I doubt a new platform would make much use of system settings. And gallery is a PoS only needed because it always been like this and camera-ui needs it | 01:01 |
NeKit | I just tried them as examples of "old" apps | 01:01 |
DocScrutinizer05 | and camera-ui in turn also most likely won't work on another platform | 01:01 |
DocScrutinizer05 | prolly just like mafw and all that uses it: mediaplayer, all audio stuff at large... | 01:03 |
DocScrutinizer05 | on telepathy the jury's still out | 01:04 |
bencoh | actually I don't really see why mafw wouldn't work on other platforms | 01:12 |
bencoh | you could very well instantiate mafw and its set of plugins (including mafw-gst-renderer) | 01:12 |
bencoh | iirc it is opensource | 01:12 |
bencoh | stock mediaplayer isn't; but we already have a working replacement for it, based on mafw as well (openmediaplayer) | 01:13 |
Zungo | so, whats the problem, reverse engineer everything | 01:16 |
Zungo | maemo itself comes with apps | 01:16 |
*** florian has quit IRC | 01:43 | |
*** chainsawbike has quit IRC | 01:45 | |
*** chainsawbike has joined #maemo | 01:45 | |
*** L29Ah has left #maemo | 02:02 | |
*** L29Ah has joined #maemo | 02:03 | |
*** NeKit has quit IRC | 02:17 | |
*** NeKit has joined #maemo | 02:19 | |
*** L29Ah has quit IRC | 02:25 | |
*** L29Ah has joined #maemo | 02:25 | |
*** SmilyOrg has joined #maemo | 02:25 | |
*** Smily has quit IRC | 02:28 | |
*** silviof has quit IRC | 02:29 | |
*** silviof has joined #maemo | 02:33 | |
*** TheKit has joined #maemo | 02:36 | |
*** NeKit has quit IRC | 02:39 | |
*** cyphase has quit IRC | 03:18 | |
*** infobot has quit IRC | 03:19 | |
*** infobot has joined #maemo | 03:23 | |
DocScrutinizer05 | I just don't get it, no matter how hard I try. You can choose to build a armel or a armhf system. You could use powerlernel or a recent 4.x kernel with poor support for some of N900 peripherals. When you deliberately choose to use incompatible armhf and mainline kernel 4.x, why would you want to run maemo apps on it. Or the other way around: when you want to run maemo apps, why don't you run them on maemo (== armel-powerkernel)? | 03:35 |
DocScrutinizer05 | even with a 4.x mainline kernel you're still free to choose armel arch | 04:10 |
*** cyphase has joined #maemo | 04:40 | |
Maxdamantus | Well, in the long run it'll be kind of sucky if people have to use kernels from non-mainline sources. | 05:10 |
Maxdamantus | like how if you want to use zfs, you're meant to apply some patches first or build some module out of tree. | 05:11 |
Maxdamantus | or .. nvidia | 05:11 |
*** drrrz has quit IRC | 05:46 | |
*** Kilroo has quit IRC | 05:54 | |
*** Kilroo has joined #maemo | 05:54 | |
Maxdamantus | As for "If you want a new kernel, I wonder why", afaik we're sort of forced to use really old software with our current kernel. | 06:07 |
Maxdamantus | Since recent versions of glibc don't support a kernel this old, and that's what distributors are targetting. | 06:08 |
*** Yuri_10m has quit IRC | 06:23 | |
*** povbot has joined #maemo | 06:32 | |
*** thuttu77 has quit IRC | 06:37 | |
*** auenfx4 has joined #maemo | 06:47 | |
*** auenf has quit IRC | 06:48 | |
*** ravelo_ has joined #maemo | 07:01 | |
*** DocScrutinizer05 has quit IRC | 07:04 | |
*** vahe has quit IRC | 07:04 | |
*** DocScrutinizer05 has joined #maemo | 07:04 | |
*** esaym has joined #maemo | 07:06 | |
*** infobot has quit IRC | 07:10 | |
*** esaym153 has quit IRC | 07:10 | |
*** ravelo has quit IRC | 07:10 | |
*** cpt_nemo has quit IRC | 07:10 | |
*** vahe has joined #maemo | 07:23 | |
*** sunshavi has quit IRC | 07:53 | |
*** DocScrutinizer05 has quit IRC | 07:53 | |
*** DocScrutinizer05 has joined #maemo | 07:53 | |
*** freemangordon has joined #maemo | 08:07 | |
KotCzarny | maxd: for distro makers, maybe. for users there will always be an image with old, smelly kernel, see allwinner situation in case of unsupported socs | 08:25 |
Maxdamantus | KotCzarny: well, users use what distro makers distribute. | 08:34 |
*** auenf has joined #maemo | 08:45 | |
*** auenfx4 has quit IRC | 08:46 | |
*** dafox has joined #maemo | 09:00 | |
KotCzarny | and sometimes take what they distribute, add some changes and distribute own images | 09:12 |
*** dafox has quit IRC | 09:26 | |
Maxdamantus | Right, but you don't want to depend on that, since those are always outdated and usually only get more outdated. | 09:26 |
*** dmth|intevation has joined #maemo | 09:26 | |
Maxdamantus | There are already people maintaining the up-to-date systems, which you should be using so you don't have to find some other system that someone has hacked together every few months/years. | 09:27 |
*** esaym has quit IRC | 10:01 | |
*** esaym153 has joined #maemo | 10:03 | |
*** eMHa__ has quit IRC | 10:17 | |
*** spiiroin has quit IRC | 10:19 | |
*** geaaru has joined #maemo | 10:31 | |
*** spiiroin has joined #maemo | 10:39 | |
*** jskarvad has joined #maemo | 10:41 | |
*** eMHa__ has joined #maemo | 10:44 | |
*** dmth|intevation has quit IRC | 11:31 | |
*** Kabouik has joined #maemo | 11:46 | |
*** dmth|intevation has joined #maemo | 11:51 | |
*** dmth|intevation has quit IRC | 12:15 | |
*** dmth|intevation has joined #maemo | 12:17 | |
*** jonwil has joined #maemo | 12:19 | |
*** N-Mi has joined #maemo | 13:26 | |
*** N-Mi has joined #maemo | 13:26 | |
*** jonwil has quit IRC | 14:00 | |
*** xy2_ has joined #maemo | 14:04 | |
*** tanty has quit IRC | 14:06 | |
*** platicus has quit IRC | 14:06 | |
*** platicus has joined #maemo | 14:06 | |
*** tanty has joined #maemo | 14:06 | |
*** how900 has quit IRC | 14:08 | |
*** parazyd has quit IRC | 14:08 | |
*** how900 has joined #maemo | 14:10 | |
*** how900 has joined #maemo | 14:10 | |
*** parazyd has joined #maemo | 14:10 | |
*** parazyd has joined #maemo | 14:11 | |
*** how900 has quit IRC | 14:18 | |
*** parazyd has quit IRC | 14:18 | |
*** parazyd has joined #maemo | 14:20 | |
*** parazyd has joined #maemo | 14:20 | |
*** how900 has joined #maemo | 14:21 | |
*** how900 has joined #maemo | 14:21 | |
*** at1as has joined #maemo | 14:36 | |
*** at1as has quit IRC | 14:51 | |
*** at1as has joined #maemo | 14:51 | |
*** xy2_ has quit IRC | 15:08 | |
*** sunshavi has joined #maemo | 15:23 | |
*** Ras_Older has quit IRC | 15:26 | |
*** spiiroin has quit IRC | 15:33 | |
*** auenfx4 has joined #maemo | 15:41 | |
*** auenf has quit IRC | 15:41 | |
*** spiiroin has joined #maemo | 15:48 | |
*** r00t-home has quit IRC | 15:52 | |
*** thuttu77 has joined #maemo | 15:59 | |
*** vahe has quit IRC | 16:01 | |
*** vahe has joined #maemo | 16:02 | |
*** vahe has quit IRC | 16:17 | |
*** vahe has joined #maemo | 16:18 | |
*** L29Ah has quit IRC | 17:05 | |
*** auenfx4 has quit IRC | 17:09 | |
*** auenf has joined #maemo | 17:09 | |
*** L29Ah has joined #maemo | 17:25 | |
*** L29Ah has left #maemo | 17:33 | |
*** xy2_ has joined #maemo | 17:55 | |
*** eMHa__ has quit IRC | 18:01 | |
*** xy2_ has quit IRC | 18:02 | |
*** florian has joined #maemo | 18:06 | |
*** xy2_ has joined #maemo | 18:12 | |
*** eMHa__ has joined #maemo | 18:30 | |
*** dafox has joined #maemo | 18:47 | |
*** merlin1991 has quit IRC | 18:48 | |
*** merlin1991 has joined #maemo | 18:48 | |
*** drrrz has joined #maemo | 19:02 | |
*** Kabouik has quit IRC | 19:04 | |
*** Kabouik has joined #maemo | 19:04 | |
*** vahe has quit IRC | 19:07 | |
*** Kabouik has quit IRC | 19:09 | |
*** vahe has joined #maemo | 19:11 | |
*** dafox has quit IRC | 19:18 | |
freemangordon | any idea how I can get XDG_..._DIR from c code without calling system("xdg-user-dir $DIR"); ? | 19:20 |
freemangordon | bencoh: KotCzarny: merlin1991: ^^^? | 19:25 |
*** Kabouik has joined #maemo | 19:35 | |
*** Kabouik_ has joined #maemo | 19:37 | |
*** Kabouik has quit IRC | 19:40 | |
KotCzarny | fmg, is that env var? | 19:42 |
Wizzup | freemangordon: getenv? | 19:42 |
*** geaaru has quit IRC | 19:42 | |
*** florian_ has joined #maemo | 19:46 | |
freemangordon | no, it is not env var | 19:47 |
KotCzarny | what is it then? | 19:48 |
freemangordon | see $HOME/.config/user-dirs.dirs | 19:48 |
KotCzarny | if it's custom defined by software and not env var, you would have to mimic the logic to generate them | 19:49 |
*** florian_ has quit IRC | 19:50 | |
*** florian_ has joined #maemo | 19:50 | |
freemangordon | KotCzarny: there are tools to read and update those files, see xdg-user-dirs package | 19:50 |
KotCzarny | maybe there is a dir? | 19:50 |
KotCzarny | s/dir/lib/ | 19:50 |
*** florian has quit IRC | 19:50 | |
*** florian_ is now known as florian | 19:50 | |
freemangordon | but I can;t find a library to read them :) | 19:50 |
*** florian_kc has joined #maemo | 19:51 | |
freemangordon | there is libxdg-basedir1, but it doesn;t seem to support custom dirs | 19:51 |
freemangordon | or I don;t understand how it works | 19:51 |
KotCzarny | rip the source code out of it? | 19:52 |
freemangordon | this is hackish :( | 19:53 |
Wizzup | I thought the values in there had to evaluated on start, so they'd end up in the environment | 19:54 |
*** jskarvad has quit IRC | 19:55 | |
freemangordon | doesn't seem to work like that | 19:55 |
freemangordon | for example there is no XDG_DOWNLOAD_DIR in the env | 19:56 |
KotCzarny | https://wiki.archlinux.org/index.php/XDG_user_directories | 19:57 |
KotCzarny | seems you have few predefined dirs | 19:58 |
freemangordon | the same goes for music, videos etc dirs | 19:58 |
freemangordon | yes, you have, but how to get them by C code? | 19:58 |
KotCzarny | parse the ~/.config/user-dirs.dirs ? | 19:58 |
freemangordon | hehe | 19:58 |
KotCzarny | it should be easy enough | 19:58 |
freemangordon | and what if the format changes? | 19:58 |
freemangordon | I'd prefer to use a library if any | 19:59 |
Wizzup | the way I do it in my software: if it is not in the env, use the default value | 20:00 |
KotCzarny | yeah, and if format changes, update | 20:00 |
Wizzup | That doesn't happen very often, though... | 20:00 |
KotCzarny | you can also start your own lib too | 20:01 |
KotCzarny | that's how they often are created ;) | 20:02 |
*** vahe has quit IRC | 20:04 | |
*** vahe has joined #maemo | 20:04 | |
*** vahe has quit IRC | 20:04 | |
*** vahe has joined #maemo | 20:04 | |
*** vahe has quit IRC | 20:07 | |
freemangordon | well, seems no other way but to call xdg-user-dir :( | 20:10 |
freemangordon | oh, and to make things even works, seems xdg-user-dir returns $HOME if there is no definition for what you look for, so you can;t distinguish between no definition for a directory and it is defined as $HOME | 20:11 |
freemangordon | WTF?!? | 20:12 |
*** Kabouik_ has quit IRC | 20:12 | |
*** dafox has joined #maemo | 20:14 | |
Wizzup | freemangordon: I think there's something wrong with your setup if it doesn't end up in your environment | 20:25 |
Wizzup | The way I understood it, it was as simple as: Check if in env, if not in env, go for the specified default | 20:25 |
Wizzup | I don't have the file in my .config, so I cannot test it, but can't it simply be evaluated from the shell? | 20:26 |
*** L29Ah has joined #maemo | 20:26 | |
Wizzup | It looks like this should be in /etc/profile or .profile | 20:26 |
KotCzarny | $XDG_DATA_HOME defines the base directory relative to which user specific data files should be stored. If $XDG_DATA_HOME is either not set or empty, a default equal to $HOME/.local/share should be used. | 20:27 |
KotCzarny | https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html | 20:27 |
Wizzup | Exactly | 20:27 |
KotCzarny | it's for DATA, there is another for CONFIG too | 20:27 |
KotCzarny | $XDG_CONFIG_HOME defines the base directory relative to which user specific configuration files should be stored. If $XDG_CONFIG_HOME is either not set or empty, a default equal to $HOME/.config should be used. | 20:28 |
KotCzarny | so according to standard, you can just getenv() and if empty, use defaults | 20:28 |
*** dmth|intevation has quit IRC | 20:34 | |
freemangordon | Wizzup: my setup is what Canonical have set :) | 20:38 |
Wizzup | then they just want you to default to the env variables :p | 20:38 |
KotCzarny | so they've used defaults ;) | 20:38 |
Wizzup | (and if they are not set, set to defaults) | 20:38 |
freemangordon | no, because this is what I have in the config fie | 20:39 |
freemangordon | https://pastebin.com/HpBL6FPX | 20:39 |
Wizzup | The freedesktop.org spec tells -developers- to use the env, and if it is not in the env, use the defaults. They don't tell you to read the config files | 20:39 |
freemangordon | XDG_NOKIA_CAMERA_DIR is set by me | 20:40 |
Wizzup | If the configuration does not end up in the enviroment, that's not -your- problem, but the distro issue | 20:40 |
freemangordon | the other are "stock" | 20:40 |
Wizzup | Is that specified by the XDG standard? | 20:40 |
Wizzup | Or is it what maemo uses? | 20:40 |
Wizzup | If you want the variables in the env and the distro does not set them, try some wrapper script like: #!/bin/sh source .config/xdg-thingie && exec my_program ? | 20:42 |
freemangordon | Wizzup: this is what Ubuntu uses | 20:48 |
Wizzup | What do you mean? I don't understand | 20:48 |
Wizzup | Do you mean the XDG_NOKIA_CAMERA_DIR? | 20:48 |
freemangordon | Wizzup: pastebin ^^^ is from my PC | 20:48 |
Wizzup | I realise; but I think we're not communicating well | 20:48 |
Wizzup | The *proper* (afaik) way to read any XDG setting from a program is to read the environment and fallback to hardcoded defaults | 20:49 |
freemangordon | that one I set manually by using xdg-user-dirs-update --set NOKIA_CAMERA | 20:49 |
Wizzup | If they don't end up in the environment, that's a bash profile issue, but an issue in the program | 20:49 |
Wizzup | e.g. the fix is not to call system() on the xdg-user-dir program, AFAIK | 20:49 |
Wizzup | But instead to have the environment variables be set before your program is started | 20:50 |
Wizzup | s/but an/but not an/ | 20:50 |
freemangordon | hmm, ok | 20:52 |
freemangordon | thanks, will see what can be done and why those vars are not there | 20:52 |
Wizzup | The other question is what ubuntu does with variables that start with XDG that are not defined by the XDG spec | 20:53 |
Wizzup | I don't know if XDG_NOKIA_CAMERA_DIR is defined in the xdg spec, and what the fd.o website says about vars that start with XDG but are not in the XDG spec | 20:54 |
Wizzup | Perhaps ubuntu somehow filters unknown ones | 20:54 |
*** capitanocrunch has joined #maemo | 20:59 | |
freemangordon | Wizzup: nokia_camera is deffinitely out of specs | 21:04 |
KotCzarny | nokia, the former leader of setting standards! | 21:07 |
buZz | it just follows alt-specs | 21:11 |
*** capitanocrunch has left #maemo | 21:13 | |
*** Ras_Older has joined #maemo | 21:28 | |
*** shentey has joined #maemo | 21:51 | |
*** L29Ah has left #maemo | 21:59 | |
*** pagurus has joined #maemo | 22:04 | |
*** shentey has quit IRC | 22:04 | |
*** pagurus has joined #maemo | 22:04 | |
*** pagurus` has quit IRC | 22:05 | |
*** pagurus has quit IRC | 22:06 | |
*** pagurus has joined #maemo | 22:06 | |
*** shentey has joined #maemo | 22:06 | |
*** cyteen_ has quit IRC | 22:15 | |
TheKit | is XDG_NOKIA_CAMERA_DIR for storing camera pictures? | 22:47 |
Sicelo | yes | 22:53 |
*** lxp has quit IRC | 22:59 | |
*** eMHa has joined #maemo | 23:04 | |
*** eMHa__ has quit IRC | 23:04 | |
*** xy2_ has quit IRC | 23:11 | |
*** lxp has joined #maemo | 23:13 | |
TheKit | SailfishOS uses $XDG_PICTURES_DIR/Camera | 23:26 |
*** lxp has quit IRC | 23:28 | |
*** lxp has joined #maemo | 23:43 | |
*** L29Ah has joined #maemo | 23:58 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!