I came across geany recently, was pretty much impressed by it.
I have built it on Solaris Express(OpenSolaris based distro) using sun studio compiler and created a Solaris SVR4 package out of it. A very minor patch that was required after ./configure is attached for interested folks.
- Find in files does not work by default since Solaris /usr/bin/grep doesn't support the gnu options. /usr/sfw/bin/ggrep is to be used on Solaris Express. But this was easily configurable via Edit->Preferences.
Thanks for the wonderful tool.
best regards Shiv
On Sun, 8 Jul 2007 06:57:39 +0530, "S h i v " shivakumar.gn@gmail.com wrote:
Hi,
I have built it on Solaris Express(OpenSolaris based distro) using sun studio compiler and created a Solaris SVR4 package out of it. A very
cool. Do you want to publish the package?
minor patch that was required after ./configure is attached for interested folks.
No, it is not ;-). But I would like to apply it if it doesn't break anything else.
Regards, Enrico
Hi Enrico,
On 7/8/07, Enrico Tröger enrico.troeger@uvena.de wrote:
On Sun, 8 Jul 2007 06:57:39 +0530, "S h i v " shivakumar.gn@gmail.com wrote:
Hi,
I have built it on Solaris Express(OpenSolaris based distro) using sun studio compiler and created a Solaris SVR4 package out of it. A very
cool. Do you want to publish the package?
Sure. Can I get some space on the geany's sf.net site !? The package size is ~7.5MB. It is configured to install to /usr/local
If you are interested, I will provide you with a spec file (similar to geany.spec) and a small set of steps to create a Solaris package from the source. This spec file and the associated readme can go into the source distribution.
minor patch that was required after ./configure is attached for interested folks.
No, it is not ;-). But I would like to apply it if it doesn't break anything else.
Please do not apply the earlier one. That was not generic and not suitable for applying in the mainstream code.
I am attaching a new one for you to consider. This makes the following changes [1] configure.in - introduce a conditional to recognize gcc (there is supposed to be a variable GCC set to yes by autoconf itself, but this didn't work for me and I didn't probe further) [2] src/Makefile.am and tagmanager/Makefile.am - the gcc specific compiler options are set only if the compiler is found to be gcc. The conditional set in configure.in gets used here. [3] scintilla/Makefile.am - Remove gcc hardcoding, Set LDFLAGS differently for non-gcc (I assume sun studio here). If this is how the original scintilla Makefile was, this part of the patch maybe input to the scintilla team.
With these changes if you regenerate the Makefile.in files & configure script, the resulting sources should build out of the box using both gcc and Sun Studio compiler.
I have tested it using gcc as well as Sun Studio compiler on Solaris Express.
best regards Shiv
The SVR4 package for Solaris Express (for x86) is now available at http://www.shivakumar.info/FOSS.htm
It may be installed using the pkgadd command "pkgadd -d SFEgeany-0.11.i386.pkg"
regards Shiv
On Wed, 11 Jul 2007 00:39:45 +0530, "S h i v " shivakumar.gn@gmail.com wrote:
The SVR4 package for Solaris Express (for x86) is now available at http://www.shivakumar.info/FOSS.htm
It may be installed using the pkgadd command "pkgadd -d SFEgeany-0.11.i386.pkg"
Thanks. I added the link to the Releases Page on the Geany website.
Regards, Enrico
On Mon, 9 Jul 2007 23:13:18 +0530, "S h i v " shivakumar.gn@gmail.com wrote:
Hi,
minor patch that was required after ./configure is attached for interested folks.
No, it is not ;-). But I would like to apply it if it doesn't break anything else.
Please do not apply the earlier one. That was not generic and not suitable for applying in the mainstream code.
The earlier one never reached the mailing list, at least in your first mail there was no attachment. But it doesn't matter since this time it worked.
I am attaching a new one for you to consider. This makes the following changes [...]
With these changes if you regenerate the Makefile.in files & configure script, the resulting sources should build out of the box using both gcc and Sun Studio compiler.
Thank you very much. Applied in SVN r1689.
Regarding sending the scintilla part upstream: you could do this but they don't use the autotools at all and just have a manually written makefile where CC is set to gcc. Is the CC environment variable set by default to an appropriate compiler? At least on my system it isn't.
Regards, Enrico
On Wed, 11 Jul 2007 17:30:56 +0200, Enrico Tröger enrico.troeger@uvena.de wrote:
On Mon, 9 Jul 2007 23:13:18 +0530, "S h i v " shivakumar.gn@gmail.com wrote:
Hi,
minor patch that was required after ./configure is attached for interested folks.
No, it is not ;-). But I would like to apply it if it doesn't break anything else.
Please do not apply the earlier one. That was not generic and not suitable for applying in the mainstream code.
The earlier one never reached the mailing list, at least in your first mail there was no attachment. But it doesn't matter since this time it worked.
I am attaching a new one for you to consider. This makes the following changes [...]
With these changes if you regenerate the Makefile.in files & configure script, the resulting sources should build out of the box using both gcc and Sun Studio compiler.
Thank you very much. Applied in SVN r1689.
As discussed in [1] the test for CC == gcc isn't the best idea. So we need a saner way to detect when we are on a Solaris system or better when we are using the Sun Studio compiler. What is CC set to when using the Sun Studio compiler? What about the ${build} and ${target} variables set by configure?
[1] http://lists.uvena.de/pipermail/geany/2007-July/001346.html
Regards, Enrico
Hi Enrico,
On 7/16/07, Enrico Tröger enrico.troeger@uvena.de wrote:
As discussed in [1] the test for CC == gcc isn't the best idea. So we need a saner way to detect when we are on a Solaris system or better when we are using the Sun Studio compiler. What is CC set to when using the Sun Studio compiler? What about the ${build} and ${target} variables set by configure?
[1] http://lists.uvena.de/pipermail/geany/2007-July/001346.html
Sorry for the late reply had missed this mail.
This is sun-studio specific, with sun-studio the scintilla build requires an additional lib -lCrun. I was using the CC==gcc check to set/unset gcc specific compiler options.
I extended this for the library inputs assuming gcc is the one used on any other platform. This has turned out to be incorrect.
${build} is set to "i386-pc-solaris2.11" ${target} is empty ${CC} is set to "<path>/cc"
None of these are suitable. For now, do not apply this particular part of the patch. The spec file I'll put (at http://pkgbuild.svn.sourceforge.net/viewvc/pkgbuild/spec-files-extra/trunk) for building solaris packages will internally handle it.
I'll check and get back if it can be make part of geany build scripts.
regards Shiv