You are here

[Released] Geany Portable

49 posts / 0 new
Last post
OliverK
OliverK's picture
Offline
Last seen: 6 months 3 weeks ago
Developer
Joined: 2007-03-27 15:21
[Released] Geany Portable

Application: Geany
Category:Development
Description: Geany is a text editor using the GTK2 toolkit with basic features of an integrated development environment. It was developed to provide a small and fast IDE, which has only a few dependencies from other packages. It supports many filetypes and has some nice features. It uses the PATH variable for compiler support. Read the help file for instructions on how to add PATH variables to Geany Portable. This should be completely portable. Also, all the data is now in Data\settings, i.e. filedefs, tags and templates. Geany Portable supports GTK located in CommonFiles.

Hooray! Geany Portable Released!

I will also be removing the chopping I extra stuff I do with GTK when Geany 0.20 comes out. It takes to long and I can't see a reason for it anymore.

Release Notes:

    • Geany Portable 18.1.1
      • Development Test 1 (2010-4-14): Update to to 18.1.1

        • 18.1. Rolls back GTK to better support older operating systems
        • As far as code update, multi-launch works properly now meaning that you can give it a association within say filezilla or cafe. Even if you already have Geany open, it will still launch properly!
      • Development Test 2 (2010-5-14):
        • Update Appinfo.ini, as requested by Bart.S (I think its not really wrong, but I shall update it as I don't see a problem with doing so Wink
        • Apply patch provided by Bart.S to fix language switching when the app is not launched via the menu.
    • Geany Portable .19
      • Development Test 1
        • Update Geany Binaries
        • Small Correction to GeanyPortable.ini
        • Update to PortableApps.Com Installer 2.02
    • Geany Portable .19.1
      • Development Test 1
        • Update Geany Binaries
ZachHudock
ZachHudock's picture
Offline
Last seen: 2 years 9 months ago
Developer
Joined: 2006-12-06 18:07
You need to include the Geany

You need to include the Geany version number in your release announcement, and your download link. Also, Development Test needs to be added to the heading

The developer formerly known as ZGitRDun8705

reginleif
reginleif's picture
Offline
Last seen: 1 year 8 months ago
Joined: 2007-04-04 16:55
I'll try this...

... I love Geany on my little netbook which is running Ubuntu. It'd be nice if this portable version gets some support and eventually ends up being one of the regular offerings.

OliverK
OliverK's picture
Offline
Last seen: 6 months 3 weeks ago
Developer
Joined: 2007-03-27 15:21
Updated to Development Test

Updated to Development Test 3. Test 2 wasn't so great. This will deleted you're Geany folder and GTK. It will preserve your GTK themes.

Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world

OliverK
OliverK's picture
Offline
Last seen: 6 months 3 weeks ago
Developer
Joined: 2007-03-27 15:21
New Version :D

New Version Biggrin

Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world

Kevin Porter
Kevin Porter's picture
Offline
Last seen: 6 years 8 months ago
Developer
Joined: 2007-01-10 19:25
Awesome.

I like the general feel of most GTK applications, and I like this one. I haven't run across any problems yet. Good work.

"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook

OliverK
OliverK's picture
Offline
Last seen: 6 months 3 weeks ago
Developer
Joined: 2007-03-27 15:21
Thanks :D I like the skin I

Thanks Biggrin

I like the skin I was able to use. I couple it with the Dark Geany file defs, and its just flows Biggrin

Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world

OliverK
OliverK's picture
Offline
Last seen: 6 months 3 weeks ago
Developer
Joined: 2007-03-27 15:21
I've had 98 downloads since I

I've had 98 downloads since I set up the download page Biggrin

Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world

benkong2
Offline
Last seen: 5 years 1 month ago
Joined: 2008-12-16 16:46
Will this be updated?

Sorry to pester but will this be updated to the latest Geany?

OliverK
OliverK's picture
Offline
Last seen: 6 months 3 weeks ago
Developer
Joined: 2007-03-27 15:21
Yes, sometime this week. I

Yes, sometime this week. I worked on it friday, and I'm gonna check and make sure everything is good and up to par (except for the language switching, but I have a hunting party arranged for that I hope). Expect it this week.

Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world

OliverK
OliverK's picture
Offline
Last seen: 6 months 3 weeks ago
Developer
Joined: 2007-03-27 15:21
Version .18

I finally got it done! Imagine that! Enjoy.

Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world

gluxon
gluxon's picture
Offline
Last seen: 1 month 3 weeks ago
Developer
Joined: 2008-06-21 19:26
SWEET!!!

It's a lot like GNU Gedit.

Biggrin

OliverK
OliverK's picture
Offline
Last seen: 6 months 3 weeks ago
Developer
Joined: 2007-03-27 15:21
Updated my launcher to

Updated my launcher to version 2
Now handles language switching from the platform and gets any path variables from the host computer as well. Made a few cosmetic changes so the code looks nicer.

EDIT:
This should have a way to make the language switch stick. So I'll have to add that. One more test version and feature that will be in out in a week or so.

EDIT#2:
If you use a drak theme (like the murrina night orange that is included), you can get the Geany dark schema for it. But the file def for NSISisn't the best it could be. So, if you'd like, you can use my modified version. It probably needs some work (I can think of one place in particular) but its more legible under use then the original is.

Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world

OliverK
OliverK's picture
Offline
Last seen: 6 months 3 weeks ago
Developer
Joined: 2007-03-27 15:21
New Version- Get it while its

New Version- Get it while its hot Biggrin

Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world

Bart.S
Offline
Last seen: 1 week 4 days ago
Developer
Joined: 2008-07-23 07:56
Test Report
  • help.html: remove version numbers (0.18 & 2.8.6)
  • installer.ini: typo "ReserveDirectory2" - P is missing
  • Readme.txt: is about XChat Blum
  • GTKLegacy_readme.txt: is about XChat
  • ReadINIStrWithDefault.nsh: is not the latest version (1.1)
  • GeanyPortable.nsi:
    • you could add "!insertmacro GetParameters" and remove line 72+79
    • replace line 179-180 by
      CreateDirectory "$SETTINGSDIRECTORY"
      CopyFiles /SILENT "$EXEDIR\App\DefaultData\*.*" "$SETTINGSDIRECTORY"
    • line 201 is unnecessary
    • line 235: I think ExecWait would be better than Exec
  • GeanyPortable.ini: remove spaces before the =
  • file "$USERPROFILE\.gtk-bookmarks" is left behind

... to be continued

OliverK
OliverK's picture
Offline
Last seen: 6 months 3 weeks ago
Developer
Joined: 2007-03-27 15:21
k. Updated

k. Updated Biggrin

Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world

Bart.S
Offline
Last seen: 1 week 4 days ago
Developer
Joined: 2008-07-23 07:56
.

Development Test 4 (2009-10-10): Fixed most of what Bart suggested.
Development Test 5 (2009-04-22): Switched to execwait.

I'm just curious, is now everything fixed? Pardon Thanks.
Btw: The Dev Test 5 release date is false Blum

OliverK
OliverK's picture
Offline
Last seen: 6 months 3 weeks ago
Developer
Joined: 2007-03-27 15:21
.

I'm just curious, is now everything fixed? Puzzled Thanks.

Should be. There was one or two suggestions I didn't like, I can't remember.

I'll fix the date, thanks.

Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world

OliverK
OliverK's picture
Offline
Last seen: 6 months 3 weeks ago
Developer
Joined: 2007-03-27 15:21
Update to dev test 5. See

Update to dev test 5.

See notes for relevant info and a less time consuming download.

Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world

John T. Haller
John T. Haller's picture
Online
Last seen: 15 min 59 sec ago
AdminDeveloperModerator
Joined: 2005-11-28 22:21
Coming Along

It looks like Geany is coming along pretty nicely. I think once it's considered stable enough for everyday use and the interface bugs are worked out (in the menus, dividers don't show up, some visual hiccups, etc) that it would make sense to get this out there. I know some devs will really like it.

Sometimes, the impossible can become possible, if you're awesome!

OliverK
OliverK's picture
Offline
Last seen: 6 months 3 weeks ago
Developer
Joined: 2007-03-27 15:21
Sweet I'm glad to know that

Sweet Biggrin I'm glad to know that its possible it will go official Biggrin

Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world

John T. Haller
John T. Haller's picture
Online
Last seen: 15 min 59 sec ago
AdminDeveloperModerator
Joined: 2005-11-28 22:21
Pretty Definite

It's pretty much a definite the way it's been progressing. I think it makes sense to have choices. And a redesign of the app list is underway that will make it easier for us to have lots of apps but people to still find what they want.

Sometimes, the impossible can become possible, if you're awesome!

OliverK
OliverK's picture
Offline
Last seen: 6 months 3 weeks ago
Developer
Joined: 2007-03-27 15:21
Updated to Dev Test 6 See

Updated to Dev Test 6
See notes for info, and another short download Biggrin

Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world

OliverK
OliverK's picture
Offline
Last seen: 6 months 3 weeks ago
Developer
Joined: 2007-03-27 15:21
Updated to Dev Test 7, See

Updated to Dev Test 7, See release notes.

Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world

scriptdaemon
Offline
Last seen: 11 months 1 week ago
Developer
Joined: 2008-10-10 17:40
You have the @John T. Haller

You have the @John T. Haller part listed twice in the first post.

OliverK
OliverK's picture
Offline
Last seen: 6 months 3 weeks ago
Developer
Joined: 2007-03-27 15:21
snap. fixed

snap. fixed

Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world

John T. Haller
John T. Haller's picture
Online
Last seen: 15 min 59 sec ago
AdminDeveloperModerator
Joined: 2005-11-28 22:21
Updated

I updated the main post to fix your unordered list (you were missing the ULs) and removed the message to me. You don't need to convince me Blum

Sometimes, the impossible can become possible, if you're awesome!

OliverK
OliverK's picture
Offline
Last seen: 6 months 3 weeks ago
Developer
Joined: 2007-03-27 15:21
Thanks.

Thanks.

Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world

alanbcohen
Offline
Last seen: 1 year 2 months ago
Joined: 2006-01-04 10:47
Download link still points to

Download link still points to Test 5

OliverK
OliverK's picture
Offline
Last seen: 6 months 3 weeks ago
Developer
Joined: 2007-03-27 15:21
yes and no The page now

yes and no Biggrin

The page now works correctly Biggrin

Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world

OliverK
OliverK's picture
Offline
Last seen: 6 months 3 weeks ago
Developer
Joined: 2007-03-27 15:21
I've added a link to my

I've added a link to my packaging of 18.1. As I test it over the next few days (I've recently adopted a crazy schedule), I thought I would provide a chance for you to test it as well.

You should make a backup of at least the data folder, but the whole GeanyPortable folder can't hurt. Once you've run it once, you should be okay to delete the backup you made.

Of course, this backup procedure should apply to ANYTHING that you try :). It makes it easier to roll back if somethign goes wrong or you don't like something.

Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world

OliverK
OliverK's picture
Offline
Last seen: 6 months 3 weeks ago
Developer
Joined: 2007-03-27 15:21
Update

Howdy guys. Here's Geany 18.1.1, which is pretty rare for the Geany project. This version updates to the latest release of Geany, which rolls back gtk and a few other things to make GTK work with older versions of Windows.

I've also fixed up the multiple launch issues, so now it works as expected. Basically, you can have one copy of Geany Portable running, then drag and drop or otherwise start a new instance with a file as a parameter. It will open in the same windows Biggrin
Bonus Pnotes Update. This week, I hope Smile

Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world

Bart.S
Offline
Last seen: 1 week 4 days ago
Developer
Joined: 2008-07-23 07:56
:)

[...] which rolls back gtk [...] reminds me of Dia Biggrin

Bart.S
Offline
Last seen: 1 week 4 days ago
Developer
Joined: 2008-07-23 07:56
Server down?

Can't download here.

xuesheng
Offline
Last seen: 2 years 8 months ago
Joined: 2008-03-21 15:34
Cannot download Geany Portable

Server is down for me and http://downforeveryoneorjustme.com also finds it is down

OliverK
OliverK's picture
Offline
Last seen: 6 months 3 weeks ago
Developer
Joined: 2007-03-27 15:21
Indeed, you are correct.

Indeed, you are correct. I'll get it on a mirror in a little bit.

Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world

OliverK
OliverK's picture
Offline
Last seen: 6 months 3 weeks ago
Developer
Joined: 2007-03-27 15:21
Site is back up, must have

Site is back up, must have been some server upgrads or something. Anyway, I'll still mirror it.

Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world

Bart.S
Offline
Last seen: 1 week 4 days ago
Developer
Joined: 2008-07-23 07:56
Language switching bug (0.18.1.1 Dev Test 1)

Lines 262-266 should be the following, otherwise the environment variable LANG will be erased if no language code is broadcasted by the menu.

LanguageSwitch:
	StrCmp $AppLanguage "" 0 +3 ;read initially up at the begining.  If you didn't put anything it, its empty and will skip setting with that
	ReadEnvStr $AppLanguage "PortableApps.comLocaleglibc" ;read langauge code broadcasted by menu  If its set, we skip this line, so its just set to whatever the ini says
	StrCmp $AppLanguage "" +2
	System::Call 'Kernel32::SetEnvironmentVariableA(t, t) i("LANG", "$AppLanguage").r0' ;set the language for geany to use.  Look it up in the help :D

Additionally, the DisplayVersion in appinfo.ini is incorrect.

OliverK
OliverK's picture
Offline
Last seen: 6 months 3 weeks ago
Developer
Joined: 2007-03-27 15:21
You are correct on both

You are correct on both counts. I will apply the patches, and note credit in the Help.html
*EDIT* Updated as promised

Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world

Bart.S
Offline
Last seen: 1 week 4 days ago
Developer
Joined: 2008-07-23 07:56
Whoa,

you're crazy (positive, of course). I've never seen a 'Special Thanks' section in a help.html. Thanks. And btw, there is a typo in your last sentence: "langauge" (This one is in comments of your code too, see my last post above) Blum

Oh, here's more:
- Last development test is *.paf.exe.exe
- Last release notes point is a level too high

Cheers 8)

OliverK
OliverK's picture
Offline
Last seen: 6 months 3 weeks ago
Developer
Joined: 2007-03-27 15:21
you're crazy (positive, of

you're crazy (positive, of course).

My lack of sanity is something no one should ever need question.

I've never seen a 'Special Thanks' section in a help.html. Thanks.

You contributed code. You deserve some sort of mention

And btw, there is a typo in your last sentence: "langauge" (This one is in comments of your code too, see my last post above) Sticking out tongue

I even have the spell check plugin Sad I'll check it out and correct as needed.

Oh, here's more:
- Last development test is *.paf.exe.exe
- Last release notes point is a level too high

Pardon me while I get my ticket for the failbus.

Back! I'll check those out while I'm on my trip. I may not fix them tonight though.

Cheers Cool

Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world

OliverK
OliverK's picture
Offline
Last seen: 6 months 3 weeks ago
Developer
Joined: 2007-03-27 15:21
I has released Geany 0.19 as

I has released Geany 0.19 as portable. See notes up top, or over here:
http://soliloquyforthefallen.net/geanyportable/

Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world

protolocke
Offline
Last seen: 10 years 3 months ago
Joined: 2010-08-01 14:03
How to set up compiler

Can anyone help me with setting up a compiler on Geany? I've installed portable MinGW, but I can't figure out how to set it as the compiler. I can't find anything in the help file regarding PATH variables and compilers.

Thanks

OliverK
OliverK's picture
Offline
Last seen: 6 months 3 weeks ago
Developer
Joined: 2007-03-27 15:21
sadly, I've never setup

sadly, I've never setup Geany to use MinGW. The PATH stuff I setup in the launcher and that is in the documentation works, however. *UPDATE*, I just set it up, and got it to work. See below for the steps.

From the online documentation which may or may not be better then the help.html included with Geany Portable (I have to look).

If you have compilers on your drive, Geany may not know where to find them. Worse, they may not even be present on your borrowed system. Geany Portable includes a method to handle this situation.

1. Copy the GeanyPortable.ini file included within GeanyPortable\Other\Source to the root of GeanyPortable. (If you have GeanyPortable.ini located at GeanyPortable\ already, you may skip this step)
2. Open up GeanyPortable.ini and create a key called PathAdditions.
3. Specify from the root of the portable device. Use should use @Drive for the drive letter. Specify in the format @Drive\Perl\bin\, etc. Separate with multiple entries with a semicolon.

It's that easy!

Here's the contents of my GeanyPortable.ini in which I have NSIS (which doesn't quite work) and Perl Portable (which does work):

[GeanyPortable]
#specify from the root of the portable device.  Use @Drive for the drive letter.  Specify in the format @Drive\Perl\bin\perl.exe, etc.
PathAdditions=@DRIVE\PortableApps\NSISPortable;@DRIVE\PortableApps\strawberry-perl-5.10.1.2-portable\perl\site\bin;@DRIVE\PortableApps\strawberry-perl-5.10.1.2-portable\perl\bin;@DRIVE\PortableApps\strawberry-perl-5.10.1.2-portable\c\bin;
DisableSplashScreen=false
ApplicationLanguage=
AdditionalFonts=false

So, if you have Mingw Portable, you'll need to include the path to the actual mingw binaries. That should be something like @DRIVE\PortableApps\MingwPortable\App\mingw\bin

Lemme know if you have more question or a suggestion.

*UPDATE*
I just installed Mingw Portable and set it up. You'll need to add @DRIVE\PortableApps\MingwPortable\App\mingw\bin to the PathAdditions section in your GeanyPortable.ini

Use build and execute. In Geany, select the menu entry Build, then set includes and arguments. Change execute to be "%e".

Should be good to go. My hello world program worked okay.

Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world

OliverK
OliverK's picture
Offline
Last seen: 6 months 3 weeks ago
Developer
Joined: 2007-03-27 15:21
As promised, updated to

As promised, updated to version 0.19.1 *Update* Geany Plugins 0.19 is also available

The question now becomes is it worth it for me anymore to promote Geany Portable on this site with the development splash screen, which makes my app look less polished then it actually is?

Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world

John T. Haller
John T. Haller's picture
Online
Last seen: 15 min 59 sec ago
AdminDeveloperModerator
Joined: 2005-11-28 22:21
PR Ready?

You think it's ready for a pre-release? If so, I'm up for it.

Sometimes, the impossible can become possible, if you're awesome!

OliverK
OliverK's picture
Offline
Last seen: 6 months 3 weeks ago
Developer
Joined: 2007-03-27 15:21
I'd love to head for it to

I'd love to head for it to head to a prerelease.

Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world

zenskillz
Offline
Last seen: 9 years 7 months ago
Joined: 2009-03-13 13:17
Thanks so much

It's taken me so long to find this tidbit of useful info regarding the build settings. Many thanks!!!

I'm assuming I could do something similar to get portable Eclipse C++ to work also.

mjashby
Offline
Last seen: 3 months 1 week ago
Developer
Joined: 2008-09-19 13:35
Eclipse C++

It seems it's already been done by gluxon - see this thread: https://portableapps.com/node/22236

If there's one thing I've been taught in life (and in checking the workings of PortableApps programs), it's never assume:

"To assume is to make an ass out of u and an ass out of me."

All the best.

MJA

Log in or register to post comments