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
I entered geanyportable.org into my browser, and it said it was in Japanese. Auto translating yields an article on "The yogurt diet?". Dig doesn't tell me much either, but I think the url isn't related to geany anymore ;-)
~ $ dig geanyportable.org
; <<>> DiG 9.8.4-rpz2+rl005.12-P1 <<>> geanyportable.org ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 24690 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION: ;geanyportable.org. IN A
;; ANSWER SECTION: geanyportable.org. 86298 IN A 210.188.199.249
;; Query time: 29 msec ;; SERVER: 10.20.7.103#53(10.20.7.103) ;; WHEN: Wed Aug 19 16:59:03 2015 ;; MSG SIZE rcvd: 51
On 08/19/2015 04: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
Devel mailing list Devel@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/devel
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.
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
Devel mailing list Devel@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/devel
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.
Thanks, 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
Devel mailing list Devel@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/devel
Devel mailing list Devel@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/devel
On 08/19/2015 06:25 PM, Matthew Brush wrote:
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.
I've attached the source code for the launcher which can be found in Other/Source (along with other goodies). Looking through the source, it looks like it hasn't changed much but I did nothing about Glade when I created the launcher.
Everything in the config file though has its location updated at the start of Geany Portable.
I'm in #geany on freenode if you care to pick my mind.
Any info/tips would be appreciated.
Thanks, 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
Devel mailing list Devel@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/devel
Devel mailing list Devel@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/devel
Devel mailing list Devel@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/devel
Am 20.08.2015 um 01:25 schrieb Matthew Brush:
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.
Windows builds used to be binary relocatable by default since you can chose the destination in the installer. With geany.glade that might be broken.
The "binary relocation support" reported by configure applies to unix builds only.
Best regards
Le 20/08/2015 00:27, Matthew Brush a écrit :
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.
It's for Windows, and for windows we use the installation path as the base location for the files. We already need this simply to be able to install to a location that might not be the same as the build-time one. We don't use registry for this, so the installation process has no way of changing it.
I'm unclear what GeanyPortable changes over stock Geany, but I guess maybe some environment so e.g. the configuration is not on the local machine or something; but it shouldn't require any change for basic startup.
Regards, Colomban
PS: On non-Windows, we have a binary relocation feature too, although I'm unsure if it still actually works.