Hi,

When I build an application from sources, its desktop file uses a wrong
path for the application's icon. For example, with the attached
GNUstep.conf (everything is installed in /opt/GNUstep-trunk/) I get the
following in the desktop file :

Icon=/usr/local/Local/Applications/SimpleAgenda.app/Resources/Calendar.tiff

The Exec line is good :

Exec=/opt/GNUstep-trunk/System/Tools/openapp SimpleAgenda

My environment looks like that :

philou@woody:~/sources/SimpleAgenda$ env | grep GNUSTEP
GNUSTEP_IS_FLATTENED=yes
GNUSTEP_LOCAL_ROOT=/usr/local/Local
GNUSTEP_HOST=i686-pc-linux-gnu
GNUSTEP_MAKEFILES=/opt/GNUstep-trunk/System/Library/Makefiles
GNUSTEP_NETWORK_ROOT=/usr/local/Network
GNUSTEP_FLATTENED=yes
GNUSTEP_HOST_OS=linux-gnu
GNUSTEP_HOST_VENDOR=pc
GNUSTEP_HOST_CPU=ix86
GNUSTEP_USER_ROOT=/home/philou/GNUstep
GNUSTEP_SYSTEM_ROOT=/usr/local/System
GNUSTEP_PATHLIST=/usr/local/System:/usr/local/Network:/usr/local/Local:/home/philou/GNUstep

pl2link.m still uses deprecated (I think) GNUSTEP_LOCAL_ROOT and friends
and they point to a wrong location. I don't think I misconfigured
gnustep-make but that's possible.

The desktop file should also be chmoded ugo+x to be useful.

Philippe
# This is the GNUstep configuration file.

# Any line starting with a '#' is a comment.
# Empty lines are ignored.
# Every other line in this file must be of the form
#   XXX=YYY
# where there should be no spaces around the '=' (this is because we
# include this file in shell scripts and makefiles, and sh syntax
# requires no spaces around the '=').
#
# Standard sh quotes can be used in YYY but only at runtime; they can 
# not be used while building.

# GNUstep can use up to 4 domains at the same time.  They are System,
# Local, Network and User.  You can install your programs / resources
# in any of these domains.  This file mostly deals with configuring
# how the domains map to your filesystem.

# IMPORTANT: Don't delete lines from this file unless you want
# the values hardcoded in the packages to be used.  If you want
# to suppress the network domain, set all its paths to be the same
# as the system domain.  If you want to suppress the local domain,
# set all its paths to be the same as the network domain.  If you
# want to suppress the user domain, set its paths to be the same
# as the local domain.  You can not suppress the system domain.

# The paths should not include a '/' at the end.

# These GNUSTEP_*_ROOT variables are obsolete, and will be removed.
GNUSTEP_SYSTEM_ROOT=/usr/local/System
GNUSTEP_LOCAL_ROOT=/usr/local/Local
GNUSTEP_NETWORK_ROOT=/usr/local/Network

# The name of the user config file.  This file can override
# some settings in this file.  Usually used by users that want
# to install things into their GNUstep user domain and/or have
# many such domains.
GNUSTEP_USER_CONFIG_FILE=.GNUstep.conf

# The name of the user directory, if any.  This is obsolete,
# and will be removed.
GNUSTEP_USER_DIR=GNUstep

# The name of the user directory where defaults (eg, preferences) are
# stored.  If it does not start with a '/', it will be considered
# relative to the user home directory.
GNUSTEP_USER_DEFAULTS_DIR=GNUstep/Defaults


# This is where the gnustep-make Makefiles are installed.
# Traditionally, this is /usr/GNUstep/System/Library/Makefiles
GNUSTEP_MAKEFILES=/opt/GNUstep-trunk/System/Library/Makefiles

# This is where the user home directories are.  Only used to provide
# NSUserDirectory in gnustep-base.  Never used anywhere else.
GNUSTEP_SYSTEM_USERS_DIR=/home
GNUSTEP_NETWORK_USERS_DIR=/home
GNUSTEP_LOCAL_USERS_DIR=/home


# This is where System GUI Applications get installed.
# Traditionally it is /usr/GNUstep/System/Applications.
GNUSTEP_SYSTEM_APPS=/opt/GNUstep-trunk/System/Applications

# This is where System GUI Applications that only the
# Administrator can use get installed.
# Traditionally it is /usr/GNUstep/System/Applications/Admin.
GNUSTEP_SYSTEM_ADMIN_APPS=/opt/GNUstep-trunk/System/Applications/Admin

# This is where System Web Applications (GSWeb, SOPE) get
# installed.
# Traditionally it is /usr/GNUstep/System/Library/WebApplications.
GNUSTEP_SYSTEM_WEB_APPS=/opt/GNUstep-trunk/System/Library/WebApplications

# This is where System Command-Line Tools get installed.
# Traditionally it is /usr/GNUstep/System/Tools.
GNUSTEP_SYSTEM_TOOLS=/opt/GNUstep-trunk/System/Tools

# This is where System Command-Line Tools that only the
# Administrator can use get installed.  Important: this
# should not be in the PATH of normal users.
# Traditionally it is /usr/GNUstep/System/Tools/Admin.
GNUSTEP_SYSTEM_ADMIN_TOOLS=/opt/GNUstep-trunk/System/Tools/Admin

# This is where System resources get installed.  This directory will
# contain a lot of executable code since *step traditionally likes to
# bundle executables and resources together.
# Traditionally it is /usr/GNUstep/System/Library.
GNUSTEP_SYSTEM_LIBRARY=/opt/GNUstep-trunk/System/Library

# This is where System headers get installed.  They are the
# library .h headers.
# Traditionally it is /usr/GNUstep/System/Library/Headers.
GNUSTEP_SYSTEM_HEADERS=/opt/GNUstep-trunk/System/Library/Headers

# This is where System libraries get installed.  By libraries we mean
# the shared/static object files that you can link into programs.
# Traditionally it is /usr/GNUstep/System/Library/Libraries.
GNUSTEP_SYSTEM_LIBRARIES=/opt/GNUstep-trunk/System/Library/Libraries

# This is where System documentation get installed.  This is known
# not to contain any executable, so we keep it separate.
# Traditionally it is /usr/GNUstep/System/Library/Documentation.
GNUSTEP_SYSTEM_DOC=/opt/GNUstep-trunk/System/Library/Documentation

# This is where System man pages get installed.
# Traditionally it is /usr/GNUstep/System/Library/Documentation/man.
GNUSTEP_SYSTEM_DOC_MAN=/opt/GNUstep-trunk/System/Library/Documentation/man

# This is where System info pages get installed.
# Traditionally it is /usr/GNUstep/System/Library/Documentation/info.
GNUSTEP_SYSTEM_DOC_INFO=/opt/GNUstep-trunk/System/Library/Documentation/info


GNUSTEP_NETWORK_APPS=/opt/GNUstep-trunk/Local/Applications
GNUSTEP_NETWORK_ADMIN_APPS=/opt/GNUstep-trunk/Local/Applications/Admin
GNUSTEP_NETWORK_WEB_APPS=/opt/GNUstep-trunk/Local/Library/WebApplications
GNUSTEP_NETWORK_TOOLS=/opt/GNUstep-trunk/Local/Tools
GNUSTEP_NETWORK_ADMIN_TOOLS=/opt/GNUstep-trunk/Local/Tools/Admin
GNUSTEP_NETWORK_LIBRARY=/opt/GNUstep-trunk/Local/Library
GNUSTEP_NETWORK_HEADERS=/opt/GNUstep-trunk/Local/Library/Headers
GNUSTEP_NETWORK_LIBRARIES=/opt/GNUstep-trunk/Local/Library/Libraries
GNUSTEP_NETWORK_DOC=/opt/GNUstep-trunk/Local/Library/Documentation
GNUSTEP_NETWORK_DOC_MAN=/opt/GNUstep-trunk/Local/Library/Documentation/man
GNUSTEP_NETWORK_DOC_INFO=/opt/GNUstep-trunk/Local/Library/Documentation/info

GNUSTEP_LOCAL_APPS=/opt/GNUstep-trunk/Local/Applications
GNUSTEP_LOCAL_ADMIN_APPS=/opt/GNUstep-trunk/Local/Applications/Admin
GNUSTEP_LOCAL_WEB_APPS=/opt/GNUstep-trunk/Local/Library/WebApplications
GNUSTEP_LOCAL_TOOLS=/opt/GNUstep-trunk/Local/Tools
GNUSTEP_LOCAL_ADMIN_TOOLS=/opt/GNUstep-trunk/Local/Tools/Admin
GNUSTEP_LOCAL_LIBRARY=/opt/GNUstep-trunk/Local/Library
GNUSTEP_LOCAL_HEADERS=/opt/GNUstep-trunk/Local/Library/Headers
GNUSTEP_LOCAL_LIBRARIES=/opt/GNUstep-trunk/Local/Library/Libraries
GNUSTEP_LOCAL_DOC=/opt/GNUstep-trunk/Local/Library/Documentation
GNUSTEP_LOCAL_DOC_MAN=/opt/GNUstep-trunk/Local/Library/Documentation/man
GNUSTEP_LOCAL_DOC_INFO=/opt/GNUstep-trunk/Local/Library/Documentation/info

# Important: settings in the User should normally be relative paths,
# and will be interpreted as relative to the user's directory.  This
# allows each user to have their own domain to install things.  You
# can set them to be absolute, mostly if you want to disable them
# by setting them equal to the ones in the Network domain.
GNUSTEP_USER_DIR_APPS=GNUstep/Applications
GNUSTEP_USER_DIR_ADMIN_APPS=GNUstep/Applications/Admin
GNUSTEP_USER_DIR_WEB_APPS=GNUstep/Library/WebApplications
GNUSTEP_USER_DIR_TOOLS=GNUstep/Tools
GNUSTEP_USER_DIR_ADMIN_TOOLS=GNUstep/Tools/Admin
GNUSTEP_USER_DIR_LIBRARY=GNUstep/Library
GNUSTEP_USER_DIR_HEADERS=GNUstep/Library/Headers
GNUSTEP_USER_DIR_LIBRARIES=GNUstep/Library/Libraries
GNUSTEP_USER_DIR_DOC=GNUstep/Library/Documentation
GNUSTEP_USER_DIR_DOC_MAN=GNUstep/Library/Documentation/man
GNUSTEP_USER_DIR_DOC_INFO=GNUstep/Library/Documentation/info
_______________________________________________
Gnustep-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to