Ir al contenido principal

GNUstep ProjectCenter/Gorm/AClock running Ubuntu 10.04


Download sources GNUstep (stable or unstable) to compile;

Dependencies
First you need to check dependencies in ubuntu and install with sudo apt-get or search before with apt-cache command;
almost every package ends with *-dev in ubuntu repositories

this command will install all dependencies for compile:
~$sudo apt-get install libffi-dev libssl-dev libxml2-dev libxslt1-dev libcairo2-dev libxt-dev

GNUstep Make
compiling GNUstep make is our first target; it's the primary package to compile GNUstep applications.
get the package, untar and change into the folder and compile:

~$wget ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-make-2.4.0.tar.gz
~$tar xzvf gnustep-make-2.4.0.tar.gz
~$cd gnustep-make-2.4.0/
~$./configure --prefix=/usr/local/GNUstep/ --enable-native-objc-exceptions
~$make
~$sudo make -E install

*NOTE: the options /usr/local/GNUstep/ is the folder where all the GNUstep is going to install. the second option --enable-native-objc-exceptions enable the @try, @catch, @throw, @finally in code.

GNUstep Environment Variables
in command shell execute the script

~$ . /usr/local/GNUstep/System/Library/Makefiles/GNUstep.sh

GNUstep Base
gnustep-base is the second package in order; return up one folder and get the package, untar and change into the folder and compile:

~$cd ..
~$wget ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-base-1.21.1.tar.gz
~$tar xzvf gnustep-base-1.21.1.tar.gz
~$cd gnustep-base-1.21.1/
~$./configure --prefix=/usr/local/GNUstep/
~$make
~$sudo -E make install

*NOTE: the option -E in sudo command allow execute the command as super user but preserving the environmental variables of the user.GNUstep GUI

~$cd ..
~$wget ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-gui-0.19.0.tar.gz
~$tar xzvf gnustep-gui-0.19.0.tar.gz
~$cd gnustep-gui-0.19.0/
~$./configure --prefix=/usr/local/GNUstep/
~$make
~$sudo -E make install

GNUstep Backend

~$
cd ..
~$wget ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-back-0.19.0.tar.gz
~$tar xzvf gnustep-back-0.19.0.tar.gz
~$cd gnustep-back-0.19.0/
~$./configure --prefix=/usr/local/GNUstep/
~$make
~$sudo -E make install

Screenshots
Then compile ProjectCenter here the screenshot (make & make install)


I also compiled AClock and runs fine


for Gorm we apply the same steps run make inside the untarred folder
but for install try the following command:
~$sudo -E make install
then to run
~$openapp Gorm.app




if you receive a error message like this (running AClock.app)


~/prog/objc/aclock/aclock-0.3$ openapp ./AClock.app
2010-07-21 08:38:39.001 AClock[4142] Did not find correct version of backend (libgnustep-back-019-019.bundle), falling back to std (libgnustep-back-019.bundle).
2010-07-21 08:38:39.006 AClock[4142] NSApplication.m:304 Assertion failed in initialize_gnustep_backend. Unable to find backend libgnustep-back-019
/home/eduardo/prog/objc/aclock/aclock-0.3/AClock.app/AClock: Uncaught exception NSInternalInconsistencyException, reason: NSApplication.m:304 Assertion failed in initialize_gnustep_backend. Unable to find backend libgnustep-back-019


then you need to set the backend installed
in stable backend package (libart):~$defaults write NSGlobalDomain GSBackend libgnustep-back


in unstable backed package(cairo):
~$defaults write NSGlobalDomain GSBackend libgnustep-cairo

Comentarios

Unknown ha dicho que…
Hi , This is really helpful . I tried to follow the steps . I am getting this error .

2011-04-08 12:15:43.361 ProjectCenter[20689] Unknown time zone name `IST'.
2011-04-08 12:15:43.361 ProjectCenter[20689] Using time zone with absolute offset 0.
2011-04-08 12:15:43.361 ProjectCenter[20689] File NSUserDefaults.m: 685. In +[NSUserDefaults standardUserDefaults] Improper installation: No language locale found
2011-04-08 12:15:43.367 ProjectCenter[20689] Did not find correct version of backend, falling back to std.
2011-04-08 12:15:43.367 ProjectCenter[20689] NSApplication.m:286 Assertion failed in initialize_gnustep_backend. Unable to find backend back
Aborted
******************
Before this I am getting this error while executing GNUstep.sh

bash: ./GNUstep.sh: Permission denied

Cen you help me please

Entradas populares de este blog

Changing Background GWorkspace

GWorkspace application in GNUstep, is like the equivalent to Nautilus under GNOME. It has interesting features that I'm beginning to love, right now I believe GNUstep is for UNIX-geek-old-fashioned. Here is the screenshot for changing the background image, you need to go to Info->Preferences->Desktop (drop down) then click Choose button for search the image. I'm running GNUstep compiled in Ubuntu 10.04 and the image comes from the folder / usr/share/backgrounds/ Another really cute functionality of GWorkspace is start applications from their installation folder, you need to open the viewer from menu View->Viewer and go to the installation application folder (in my case compiled from sources: /usr/local/lib/GNUstep/Applications ) then a double-click starts the application (*.app)

Gnome-Software en Fedora 21

Fedora 21 es mi escritorio ahora. GNOME 3.14 es mas sexy que Unity, la interfaz es simple y funcional. Instalando Programas Fedora supone un cambio en el manejo de instalación de paquetes yum ha sido la herramienta desde la terminal de comandos; en general es fácil de usar y puedes acostumbrarte rápidamente a usarlo como apt-get de debian/ubuntu. Yum a su vez será reemplazado con DNF y prácticamente los comandos son los mismos. Gnome-Software gnome-software es el programa para instalar desde una interfaz gráfica, es sencillo con una presentación bastante limpia. Sin embargo un día dejó de presentar los programas mostrando solamente las opciones vacías. Intentando revisar en fuentes de software simplemente salía un mensaje con la leyenda fuentes no encontradas o vacías... Es increíblemente difícil reparar este comportamiento desde el mismo programa más bien imposible. Esto supongo que es debido a las preferencias de gnome porque el usuario final no tenga que lidiar jamás ...