Den 14. mars 2014 19:37, skrev Iosif Hamlatzis:
ssize_t chars = readlink("/proc/self/exe",full_path,PATH_MAX);
The usual (portable) way to find the executable name is to use argv[0],
not to read /proc/self/exe. (If it's a relative path, then you may need
to search for it in the PATH o
I have managed to deploy my game on the actual device and now I'm trying to
debug my code in order to find out why it crashes when starting the game.
At some point I try to get the full path of my game by using the code below:
// find fullpath
char full_path[PATH_MAX];
memset ( &(f
On Fri, 14 Mar 2014 16:26:28 +0200
Iosif Hamlatzis wrote:
> Thank you, a big burden has been lifted.
>
> I can now start debugging the game on the actual device since the
> emulator doesn't support landscape mode.
Is landscape on the emulator going to be implemented soon or is there
a workaroun
Thank you, a big burden has been lifted.
I can now start debugging the game on the actual device since the emulator
doesn't support landscape mode.
On 14 March 2014 12:53, Thomas Perl wrote:
> On 14 Mar 2014, at 11:37, Ove Kåven wrote:
> > Den 13. mars 2014 19:22, skrev Iosif Hamlatzis:
> >>
Hi,
On 14.03.2014 02:10, Victor Mataré wrote:
Ugh sorry, didn't read far enough:
https://github.com/sailfish-sdk/sdk-harbour-rpmvalidator/blob/master/allowed_libraries.conf
Question answered. Have nice day ;-)
yes, it was a mistake to not add it to the allowed_requires, sorry.
Is now fixed.
On 14 Mar 2014, at 11:37, Ove Kåven wrote:
> Den 13. mars 2014 19:22, skrev Iosif Hamlatzis:
>> Thank you very much, I've just tested my game using the XDG basedir and
>> it worked so I can continue my port of the game by modifying the rest of
>> the code.
>>
>> Just one question, will the folder
Den 13. mars 2014 19:22, skrev Iosif Hamlatzis:
Thank you very much, I've just tested my game using the XDG basedir and
it worked so I can continue my port of the game by modifying the rest of
the code.
Just one question, will the folders under .config/.cache/.local be
removed if I uninstall the
I don't think you are supposed to worry about files from the user
.config directory.
They are not part of the installation, and, as you should not install
things in $XDG_*_HOME, you should leave it alone on uninstall.
These files should be small, and if the user changes his mind and
installs the a
Because its developer mailing list not for Harbour developers only :)
On 14.03.2014 14:11, Iosif Hamlatzis wrote:
?
Now I'm really confused
?
if it's not allowed in harbour why do you propose it as a solution?
As much as I don't want to, I think I will revert
?
Now I'm really confused
?
if it's not allowed in harbour why do you propose it as a solution?
As much as I don't want to, I think I will revert to bad form, I will
create my config/cache/data folders at run-time, I will have my game create
and use the settings
use *%preun*and*%postun* scriptlets, but its not allowed in harbour :D
On 14.03.2014 13:43, Iosif Hamlatzis wrote:
I cannot use the %ghost directive as I don't know the names of the
data files that will be created during runtime, can I use the %ghost
directive with wildcards?. Also the folder I
I've checked the link and as I understand it doesn't take wildcards, so if
I don't know beforehand the names of the files that will be created at
runtime then I'm in big trouble.
Also the folder I store my data files according to this link
https://harbour.jolla.com/faq#2.14.0 is $XDG_DATA_HOME/ wh
I cannot use the %ghost directive as I don't know the names of the data
files that will be created during runtime, can I use the %ghost directive
with wildcards?. Also the folder I store my data files according to this
link https://harbour.jolla.com/faq#2.14.0 is $XDG_DATA_HOME/
when I added in my
Hi,
On 14.03.2014 00:58, Artem Marchenko wrote:
P.S.
Actually harbour FAQ tells to put at least my cache files to
$XDG_CACHE_HOME subdir that is /var/log/harbour-myapp . So I guess
having /var/log unwritable is a bug then
see https://harbour.jolla.com/faq#2.14.0
"If $XDG_CACHE_HOME is either
http://www.rpm.org/max-rpm-snapshot/s1-rpm-inside-files-list-directives.html
On 14.03.2014 13:16, Iosif Hamlatzis wrote:
I was told in another thread that if I wanted my configuration and
data files that my game places in the XDG basedir to be removed during
uninstallation I should use the %gho
I was told in another thread that if I wanted my configuration and data
files that my game places in the XDG basedir to be removed during
uninstallation I should use the %ghost directive in the .spec file.
I am not a linux developer so I don't know what this means, is there a
sample somewhere? I c
16 matches
Mail list logo