Ecere SDK/eC Forums
http://ecere.com/forums/
Print view

Debian/Ubuntu packages available for Ecere 0.44pre1
http://ecere.com/forums/viewtopic.php?f=11&t=29
Page 2 of 3
Author:  mothdragon [ Sat Apr 10, 2010 8:34 pm ]
Post subject:  Re: Debian/Ubuntu packages available for Ecere 0.44pre1

Further information on the ppa package:

When you apt-get install ecere-sdk you get the whole kitten kaboodle... ecere-doc, ecere-samples, ecere-sdk, and libecere... however when you apt-get remove ecere-sdk you only remove ecere-sdk, and not the other 3. So to remove then you have remove the others individually. (I've been using synaptic to remove the other three... )
Author:  rosmond [ Wed Apr 14, 2010 4:28 pm ]
Post subject:  Re: Debian/Ubuntu packages available for Ecere 0.44pre1

I downloaded and installed Ecere 0.44pre1 under Ubuntu Karmic as per the instructions in the forum. it appears to have installed successfully. However, when I run the ide by using the terminal command 'ide' or even 'sudo ide' the Ecere ide opens but the close, maximise and minimise buttons have no graphics although they do work. Also, all of the menu items on every window are either blank or have a '_' with no text. At the moment some of them work while others are grayed out - I presume that this would be normal behaviour if I could only see what the text for these menu items was! Is there a missing dependency to show these graphics and menu text or what?
Author:  redj [ Wed Apr 14, 2010 5:52 pm ]
Post subject:  Re: Debian/Ubuntu packages available for Ecere 0.44pre1

hey rosmond, this may be useful for missing dependencies under Ubuntu.

Required dependencies:
sudo apt-get install zlib1g-dev libpng12-dev libgif-dev libjpeg62-dev libncurses5-dev libfreetype6-dev libfontconfig1-dev libx11-dev libxrender-dev libgl1-mesa-dev libxext-dev

Optional dependencies:
sudo apt-get install upx-ucl

This always worked fine for me when installing Ecere SDK from sources under Ubuntu 9.04 and 9.10 (tested with Desktop Versions). I have a blog post at http://ilyeus.wordpress.com/2010/03/02/ ... ubuntu910/ that walks you through installing Ecere SDK from sources.

Hope this helps.

See the Build & Install SDK in Debian / Ubuntu + 64bit topic in Support / General Help.
Goto: http://ecere.com/forums/viewtopic.php?f=2&t=93&start=0

-redj
Author:  jerome [ Wed Apr 14, 2010 9:06 pm ]
Post subject:  Re: Debian/Ubuntu packages available for Ecere 0.44pre1

hey guys...
It could very well be that the build procedure for the PPA produces a libecere.so without the resource files... Could someone who installed it please verify that?

you can do:

ear v /usr/lib/libecere.so

To see if the resources are listed on there.

Also do you see the "Ecere" logo in the IDE's gray background? That would indicate that the IDE's resources are included. It's something to do with the building steps and location of 'ear' during the build process...

In case someone wants to work on fixing that up, the debian build files are available here. Or ping Ryan if you seem him around =)
Author:  rosmond [ Thu Apr 15, 2010 5:46 am ]
Post subject:  Re: Debian/Ubuntu packages available for Ecere 0.44pre1

I think that the problem of displaying graphics and text may very well be to do with Resource files. When I issue the command 'ear v /usr/lib/libecere.so' I get the reply 'File is not a valid ECERE archive: /usr/lib/libecere.so' even though libecere.so and libecere.so.0 are both present as symbolic links to libecere.so.0.44, which also exists.

Also, there is no trace of an Ecere logo on the IDE's gray background - another indication of Resource File failure?
Author:  jerome [ Fri Apr 16, 2010 3:08 pm ]
Post subject:  Re: Debian/Ubuntu packages available for Ecere 0.44pre1

That does look like a resource files failure.

We'll have to fix that up :)

In the meantime I hope you're already set up from the source version that does not suffer from this issue.

If anybody else on Ubuntu is willing to maintain these Ubuntu packages your help is most welcome...

Cheers,

Jerome
Author:  rosmond [ Sat Apr 17, 2010 9:46 am ]
Post subject:  Re: Debian/Ubuntu packages available for Ecere 0.44pre1

Well, I have compiled Ecere from source following the blog instructions at: http://ilyeus.wordpress.com/2010/03/02/ ... ubuntu910/
and the situation is a little better, but not fully correct.

I used synaptic to remove the three Ubuntu Ecere packages. I then used apt-get to download all of the required dependencies but found that the only one which was new was libgif-dev, which was downloaded and installed.

The source code compiled with exactly the same warning messages as described in the blog.

I then used 'sudo checkinstall' rather than 'sudo make install' as the command produces a Debian package, which I can distribute to others for checking as necessary, and as part of the process the command then installs the package and registers it with synaptic.

On typing 'ide' the ide opens, this time with graphics on the close, minimise and maximise buttons and an Ecere logo on the gray background. So far, so good.

The command 'ear v /usr/lib/libecere.so' now produces many line of output - the Resource file problem seems to have been solved.

However, although they seem to be working (as far as I can tell) none of the dropdown menus have any text on them, only the '_' character (keyboard shortcut?), and all windows and menu items are textless.

The command 'documentor' produces the same sort of result - a textless tree structure on the left and a window on the right that only shows Ecere-type symbols down its left side.

Does anyone know where the text for the programs is derived from so that I can see if the problem is a missing dependency (like I suspect the lack of icons under the Ubuntu package is)? I am quite happy to recompile using debian or source packages as necessary.
Author:  jerome [ Sat Apr 17, 2010 10:08 am ]
Post subject:  Re: Debian/Ubuntu packages available for Ecere 0.44pre1

Hi rosmond,

This seems to be a 'font' issue. What graphics card are you using?
Some display drivers have this issue with the way the text is rendered with the XRender extension.
You could try a newer version of your display driver, e.g. I reported this problem to the nVidia developers and they resolved it in a later version.

If you can manage your way to it, you could try changing the driver to OpenGL:

Alt-V, Up, Right, Up, Enter (View, Graphic Drivers, OpenGL)

You could also try installing the fonts listed here.

At some point we need to fix up the text engine to render fonts in a more 'traditional' and standard approach.

Btw if you come back on IRC please hang around with us for a while :) We'll be happy to chat with you when we happen to be in front of the PC.

Cheers,

Jerome
Author:  jerome [ Mon Jul 26, 2010 1:08 pm ]
Post subject:  Re: Debian/Ubuntu packages available for Ecere 0.44pre1

For the sake of convenience and archiving, here is the 'Just the Commands' section from Redj's post @ Ilyeus to install Ecere from the source package on Ubuntu (32 bit):

sudo apt-get install zlib1g-dev libpng12-dev libgif-dev libjpeg62-dev libncurses5-dev libfreetype6-dev libfontconfig1-dev libx11-dev libxrender-dev libgl1-mesa-dev libxext-dev
sudo apt-get install upx-ucl
wget http://ecere.com/ecere-sdk-0.44pre1.tar.bz2
tar -xf ecere-sdk-0.44pre1.tar.bz2
cd ecere-sdk-0.44pre1/
make
sudo make install
ide
documentor
Author:  jerome [ Tue Jul 27, 2010 1:44 pm ]
Post subject:  Re: Debian/Ubuntu packages available for Ecere 0.44pre1

Some of my other favorite Debian packages:

sudo apt-get install joe xchat mesa-utils g++ libglu1-mesa-dev libssl-dev
All times are UTC-05:00 Page 2 of 3