[Geany-Devel] Geany Portable

Matthew Brush mbrush at xxxxx
Wed Aug 19 23:25:36 UTC 2015

On 15-08-19 04:20 PM, Oliver Krystal wrote:
> Yes, I'm subscribed.  Well, I use to be the developer but the facts
> should still hold true.  PortableApps.com doesn't modify the source
> code, but uses a wrapper around the program to achieve "portable-ness".
> If PortableApps needs a change to achieve portableness, it should be
> submitted to the maintainers of the original program for inclusion in
> the upstream(?) source.

We do have some special code about "binary relocation" for this I 
believe, it was added before my time, but I think it might've broken in 
the last release (1.25).

My current question though is, do you know it handles the case for the 
GUI/Glade file that it loads on startup? If I understand correctly, we 
hard-code the path to it at compile time, yet I'm able to freely move 
the GeanyPortable folder around and it still loads fine.

Any info/tips would be appreciated.

Matthew Brush

> On 08/19/2015 05:27 PM, Matthew Brush wrote:
>> Hi All,
>> I was working on some changes to Geany that may affect "Geany Portable"
>> so I figured I'd have a look at the changes it makes to Geany to see how
>> it handles binary relocation, but I can't seem to find the source
>> code/changes.
>> The link on PortableApps.com[0] seems to indicate that 1.24.1 is
>> available but when I check the sources on SourceForge, it only has 0.20
>> code (and it's not clear if it includes the changes or is just upstream
>> source). I'm pretty sure Geany's source code would have to be modified
>> in order to allow it to be "portable", since the location to the Glade
>> file is fixed at compile-time, which happens to be tightly related to
>> what I was curious about.
>> The website GeanyPortable.org linked on PortableApps.com seems to
>> redirect somewhere else now (judging by the pictures, I can't read the
>> language it's in).
>> Is the person(s) who release GeanyPortable on this mailing list, and if
>> so, would you mind providing me a copy of the modified source code so
>> that I could review it to make sure we don't further break "portable"
>> Geany?
>> Thanks,
>> Matthew Brush
>> [0]: http://portableapps.com/apps/development/geany_portable
>> _______________________________________________
>> Devel mailing list
>> Devel at lists.geany.org
>> https://lists.geany.org/cgi-bin/mailman/listinfo/devel
> _______________________________________________
> Devel mailing list
> Devel at lists.geany.org
> https://lists.geany.org/cgi-bin/mailman/listinfo/devel

More information about the Devel mailing list