how to package dconf configuration for different language environments

2023-12-20 Thread Vojtěch Polášek

Hello,

I am trying to package a dconf configuration which adds a keyboard 
shortcut to Mate environment.


I am creating two language mutations of a Fedora remix where this 
package should be present.


Currently, I have it in English. The spec file (probably very crude, 
sorry) is here: 
https://github.com/vojtapolasek/vojtux/blob/master/rpm/ocrdesktop/ocrdesktop.spec


Is it possible to somehow insert a different string in the dconf file 
depending on locale of the environment where the package is installed?


Or do I have to create separate packages for this case?

Thank you,

Vojta


--
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


searching for help in creating an accessible Fedora live image

2020-11-26 Thread Vojtěch Polášek

Hello all,
my name is Vojta and I am a blind Linux user from Czech Republic. Linux 
and its desktop ecosystem is open. And for me that means that I believe 
it should be open also to people with various disabilities including 
visual impairment.
I am working on a project which tries to achieve that. I am searching 
mainly for technical help while creating live media. But any help is 
appreciated (ideas, spreading the word...). If you are interested, read on.
I am a Linux user since cca 2010. It is notable to say that 
accessibility is unfortunately not among top priorities of Linux 
distributions.
There were several projects created usually by blind volunteers which 
offered a modified version of some distribution (Ubuntu, Arch Linux). 
However, since these volunteers were not directly involved in the 
distribution, projects were relatively short-lived. Me and several of my 
friends, most of them visually impaired as well, decided that we could 
try to change it. As we are working at RH, we can cooperate closely with 
upstream, with Fedora community etc. That's when the Fegora project came 
to life.
I started working on this project even before I became a Redhatter. The 
vision is to create a Fedora remix which will be ready to be used by 
blind and visually impaired users. We managed to create a tooling which 
produced bootable USB drives with preinstalled and modified version of 
Fedora. We presented this system on several runs of Agora event; an 
event in Brno, Czech Republic, which offers technical workshops for 
visually impaired.
But this option has its limitations and we decided that we would like to 
create real Fedora remix. And that means creating live media. I spent 
considerable amount of time learning how to create a Fedora live media, 
but I am a bit short on time and still facing some technical 
obstacles... it starts being a bit tiring.
You can see my work here (Ignore the README, it is related to the 
previous initiative):

https://github.com/vojtapolasek/Fegora/tree/liveimage
The file fegora.ks is the main thing.
I am searching for someone who could help me bring this to the final 
stage; consult the process of live media creation and help me to test 
the result.

If you are interested, please contact me off list.
Thank you very much and have a nice day.
Best regards,


Vojta
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org


new packager asks for help - packaging my first Python package

2020-10-14 Thread Vojtěch Polášek

Hello,

I have some basics of RPM packaging, but I have not created a package 
from scratch yet. I would like to package one Python package called 
Tesserwrap. I used the pyp2rpm program to create a spec file. The file 
is here:


https://fedorapeople.org/~vpolasek/tesserwrap.spec

Unfortunately the build fails because there are some installed and 
unpackaged files. One of them is some debug file which I would probably 
discard, one of them is a shared library.


/usr/lib/debug/usr/lib64/python3.8/site-packages/libtesserwrap.cpython-38-x86_64-linux-gnu.so-0.1.6-1.fc32.x86_64.debug
/usr/lib64/python3.8/site-packages/libtesserwrap.cpython-38-x86_64-linux-gnu.so

I have some questions:

1. How to ignore that installed file, e.g. do not package it? This goes 
for the debug file.


2. Where is some list of macros which I could use for my paths and file 
names? The file name of the library contains python version (cpython38). 
Can this be somehow expressed with macro or do I have to put there the 
file name manually?


Thank you very much,

Vojta
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org