geany-0.19.1

Word processors, spreadsheets, presentations, translation, etc.
Post Reply
Message
Author
User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

geany-0.19.1

#1 Post by technosaurus »

geany-0.19 compiled for size (1mb binary), but still has about 700kb of uncompressed extras

Code: Select all

CFLAGS=" -DGTK_NO_CHECK_CASTS -DG_DISABLE_CAST_CHECKS -pipe -combine -Os -momit-leaf-frame-pointer -fomit-frame-pointer -ffunction-sections -fdata-sections -fmerge-all-constants -march=i486 -mtune=i686 " LDFLAGS="  -Wl,-O4,-Os,-relax,--sort-common,--gc-sections,--as-needed,-s " CXXFLAGS=" -pipe -combine -Os -momit-leaf-frame-pointer -fomit-frame-pointer -fmerge-all-constants -ffunction-sections -fdata-sections -march=i486 -mtune=i686 -fno-rtti -fno-exceptions " ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --build=i486-t2-linux-gnu --disable-silent-rules --enable-static --disable-shared
I had to patch scintilla/PlatGTK.cxx so that it didn't require exceptions (adds ~100k)
change function at line 1934 to:

Code: Select all

static gboolean ButtonPress(GtkWidget *, GdkEventButton* ev, gpointer p) {
		ListBoxX* lb = reinterpret_cast<ListBoxX*>(p);
		if (ev->type == GDK_2BUTTON_PRESS && lb->doubleClickAction != NULL) {
			lb->doubleClickAction(lb->doubleClickActionData);
			return TRUE;
		} else {
			return FALSE;
		}
}
Last edited by technosaurus on Sat 21 Aug 2010, 19:34, edited 1 time in total.
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

jpeps
Posts: 3179
Joined: Sat 31 May 2008, 19:00

#2 Post by jpeps »

The execute feature is interesting, where you can run the script right while editing (automatically saves it....although you have to first set executive permissions). Nice upgrade!

edit: I guess the last one did too...never noticed it!

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#3 Post by technosaurus »

jpeps wrote:I guess the last one did too...never noticed it!
It did after several hacks at getting the right build command configured
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
abushcrafter
Posts: 1418
Joined: Fri 30 Oct 2009, 16:57
Location: England
Contact:

#4 Post by abushcrafter »

How does this compare to Barry's PET?
[url=http://www.adobe.com/flashplatform/]adobe flash is rubbish![/url]
My Quote:"Humans are stupid, though some are clever but stupid." http://www.dependent.de/media/audio/mp3/System_Syn_Heres_to_You.zip http://www.systemsyn.com/

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#5 Post by technosaurus »

updated to geany-0.19.1 (repatched to remove exceptions)
added NLS package for additional languages
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

Post Reply