New App: Geany Portable 0.19.1 Released

OliverK's picture
Submitted by OliverK on October 28, 2010 - 10:48am

Geany logoGeany Portable 0.19.1 has been released. Geany Portable is cross-platform, GTK based Integrated Development Platform. You can work on simple text files, html, perl, python, NSIS and more with Geany. By using Geany Portable's built path-additions support, you can even configure Geany Portable so that Geany can use the compilers located locally on your flash drive. It's packaged in PortableApps.com Format so it can easily integrate with the PortableApps.com Suite. And it's open source and completely free.

Read on for more details...

PortableApps.com Platform 2.0 Beta 5 users who already have this app installed, simply click 'Check for Updates' in your PA.c Menu to update to the new version.

Geany Portable is made available in conjunction with GeanyPortable.org with permission from the Geany developers.

Features

ScreenshotGeany's features include:

  • Path-based compiler support: By using the built in path addition support, you can have Geany located your needed compile for whatever langauge you are programming.
  • GTK Based theming: You can configure GTK to allow Geany to be in your favorite GTK based theme.
  • User Configurable Syntax Highlighting: Geany supports syntax highlighting configuration, so you can customize the style of your syntax highlighting, or visit Geany.org and download another user-contributed syntax theme.
  • Download Geany Portable Plugins. You can download multiple different plugins to enable things like spell check, a folder explorer, and more.
  • Cross-Platform. Use linux at work or on your netbook? Use Geany have unified experience coding, independent of your current platform. (Note, Geany Portable is windows only. Geany is available in many repositories for many Linux OS').

Learn more about Geany...

PortableApps.com Installer / PortableApps.com Format

This app is packaged in a PortableApps.com Installer so it will automatically detect an existing PortableApps.com installation when your drive is plugged in. It supports upgrades by installing right over an existing copy, preserving all settings. And it's in PortableApps.com Format, so it automatically works with the PortableApps.com Suite including the Menu and Backup Utility.

Download

Geany Portable is available for immediate download from the Geany Portable homepage. Get it today!

Story Topic:

Comments

John T. Haller's picture

It's fixed. There was an extra /download on the link.

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

OliverK's picture

I've got perl working, using the portable package from here.

I also had mingw working. You just need install Mingw portable, and then add @DRIVE\PortableApps\MingwPortable\App\mingw\bin to the PathAdditions section in your GeanyPortable.ini

You should be able to use anything that will run from the path, i.e. you can start a windows command line and execute, for example, perl a_perl_script.pl and have it work.

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's picture

There's a python portable here. I haven't used it though. In my limited experience, it seems that there isn't a way to run python via the path, but I am more then likely wrong.

If you can do something like python a_python_script.pl then you should be able to get it to work. After you add the path to the python binaries, you'll need to configure it in Geany.

I don't use python, so I don't really know.

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's picture

If you launch it from the PortableApps.com menu, it will change to whatever menu the interface is in.

If you don't use the menu, you can copy GeanyPortable.ini from the GeanyPortable\Other\Source directory to GeanyPortable\ and then put the language you want geany to use in the ApplicationLanguage= section. Use the same language codes that Geany expects.

That will also make Geany use whatever language you have chosen and ignore what the menu says to use.

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

Gord Caswell's picture

Updater is looking for Geany Portable under PA's project, rather than it's own, giving it a 404 when attempting to update.

OliverK's picture

It would seem so. Looks like the Geany Portable and Frets on Fire Portable download location got switched.

[FretsonFirePortable]
Name=Frets on Fire
Description=Musical skill game
Category=Games
SubCategory=Music Game
URL=https://portableapps.com/apps/games/frets_on_fire_portable
PackageVersion=1.3.110.0
DisplayVersion=1.3.110
DownloadFile=FretsOnFirePortable_1.3.110.paf.exe
DownloadPath=Outdated download link removed
Hash=6da7855d9d3663db2652677a68d8e652
DownloadSize=35
InstallSize=70

[GeanyPortable]
Name=Geany Portable
Description=Text editor and basic IDE
Category=Development
SubCategory=Text Editor
URL=https://portableapps.com/apps/development/geany_portable
PackageVersion=0.19.1.0
DisplayVersion=0.19.1
DownloadFile=GeanyPortable_0.19.1.paf.exe
Hash=e7a840f062c21cd39f0b82e90ec05fbc
DownloadSize=8
InstallSize=16
InstallSizeTo=41

What's strange is I don't actually seem to have the ability to update Geany Portable via the updater. That at least is something on my end.

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's picture

This is fixed in the updater database now.

If you're unable to update from a previous version, it all comes down to the PackageVersion. If you had an early one called 0.19.1 Dev Test 1 and wanted to update to final but the PackageVersions are the same, then the two versions are the same. For DTs or test versions, I recommend going one less with the smallest point and then 9s after. So 0.19.1 Dev Test 1 would have a package version of 0.19.0.991.

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

OliverK's picture

I'll make a note of that. That's probably what happened. Thanks for fixing that up.

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

I have Russian Windows XP and can't properly select font in Geany. It chooses font face and size but ignores charset (all text in Russian displayed incorrectly). And when I open font selection dialog again, I see funny thing: font face and style are blank and in there is something like 4526432652652 in size textbox.

Is it problem of portable version or problem of app?

OliverK's picture

That's probably a problem with the base app. I'm actually not sure whats going on, but I'm pretty sure geany is messing up there.

My suggestion is to sign up to the geany mailing list and ask there if this is a known issue, or if there is a way around this.

As a kludgish and temporary workaround, do you want to use Russian primarily? You can override the in use language and make it work in english if you don't mind using english.

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

Errr... Changing user interface language doesn't help with incorrect symbols in editor. This code correctly displayed in Notepad2 (my private fork ^^) like this:

http://img530.imageshack.us/img530/7614/screenshot2010110323061.png

Geany displays it like this:

http://img201.imageshack.us/img201/2926/screenshot2010110323063.png

And glitch with font selection dialog. GTK+ native dialogs works fine but without charset parameter.

http://img263.imageshack.us/img263/8056/screenshot2010103109321.png

I get it. Geany open my files in ISO charset. I set default non-UNICODE charset to windows-1251 and it woks gread. And still I don't know why Geany don't use system charset by default...

OliverK's picture

I'm not sure either. I'd still suggest emailing the list about this. Sorry that my other suggestion was off base.

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

The installer doesn't seem to be signed. Is that by design?

I was surprised when I went to install it and got "Publisher not verified", which is not the usual thing with PApps releases.

MC

John T. Haller's picture

That's because it is not a PA.c release but an independent developer working with Geany. As such, he's releasing it himself unsigned.

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

OliverK's picture

Yup. I need to research what it would take to digitally sign my releases I suppose.

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

About $300 a year, give or take. It would make sense to piggyback on someone else's.

MC

Hi,
I guess this must be a rather obvious thing since no one else seems to be asking, even though it appears not to be explicitly specified in the documentation, so I feel a little stupid asking...

What is the syntax for setting my projects relative path in preferences??

I installed the portable version.
I set up an icon in my launcher (I do not use portable apps, but pstart).
Geany is installed here:
@Drive\ProgramsUnEnc\GeanyPortable\
I want to store my projects in, say,
@Drive\AppData\GeanyData\Projects\
...that 'AppData' folder is where all my apps keep there stuff...

I tried several variations of path designation, like
@Drive\AppData\GeanyData\Projects
.\.\AppData\GeanyData\Projects
..\..\AppData\GeanyData\Projects

...with and without trailing slash, substituting forward slashes...

I am sure I tried some other things too..., bottomline is unless I input a full non-relative path there, opening projects requires navigating to the directory.

Is this the expected behavior?
Will geany require I change the drive letter in prefs manually each time that changes?

Thanks for any light you can shine on this.

OliverK's picture

I'm confused at to what you're trying to do here. The @Drive path information only relates to a method to allow Geany to access compilers. It has nothing to do with the Data directory.

I cannot update project files via the laucher, because I would have to make the launcher have a considerable amount of extra code to be able to find every project file in a directory, and then you have questions of should it also check any and all subfolders for project files.

However, you should be able to open those project files and edit the base path, probably even with a simple batch script.

If you have any more questions, please open a new topic in the other apps forum as news releases aren't the proper place for bug reports or an extended feature discussion.

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

Thank you for the reply, OliverK. Sorry for late response, I have to check my site prefs for alerts.

I sorted this out, and indeed, it was a simple syntax issue that is not documented afaict.
Since the question is posted here, I will finish it here, and follow your recommendation for future posting.

To the question:
What is the syntax for setting my projects relative path in (Geany) preferences??

The answer is:
Geany knows the Root Drive.
Relative paths for your project files should be assigned using the full path from the root directory "\", without using any drive designator.

So, as in the following examples...
In Geany: Preferenes: Startup: Paths
simply use a leading backslash, starting at the root, with no trailing backslash, like so...

Say Geany is installed here:
@Drive\ProgramsUnEnc\GeanyPortable\
I want my Geany 'startup path' in, say,
@Drive\Docs\
SO... I set my Geany startup path like so
\Docs

My Applications' Data are generally stored in "AppData" off the root, so for Geany I could move it to, say,
@Drive\AppData\GeanyData\Projects\
SO.... to accomplish this I set my Project Files location like so
\AppData\GeanyData\Projects

...where the first backslash represents the drive's root directory.

This would do well to be explained in the documentation.
Thank you.

OliverK's picture

I will add this to the documentation. Glad you got everything sorted out.

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

I get an error running the spellcheck plugin. It says the Enchant Library couldn't be initialized. Am I missing something?

Make the world portable! Please.

OliverK's picture

yes and no.

If you try to run it right now, it will complain about not having dictionaries. Let's set those up

  • Go to the OpenOffice website and download the English spell check plugin. Page Link
  • Extract with 7Zip
  • Copy out en_US.aff and en_US.dic to wherever you would like them. I put them in Data under dictionaries (GeanyPortable\Data\dictionaries)so they're protected from upgrades.
  • Run Geany
  • Click tools, plugin manager
  • Enable spellcheck. It will complain about dictionaries.
  • Click preferences and set the dictionary location to where ever you installed the dictionaries. In my case, GeanyPortable\Data\dictionaries.
  • Celebrate. You're done.

That should solve your problem.

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