Date: Wed, 30 Sep 2009 16:59:25 +0200 From: Albert Shih <Albert.Shih@obspm.fr> To: Dmitry Marakasov <amdmi3@amdmi3.ru> Cc: ports@FreeBSD.org, freebsd-questions@freebsd.org, ion-general@lists.berlios.de Subject: Re: ion windows manager on FreeBSD Message-ID: <20090930145925.GB503@obspm.fr> In-Reply-To: <20090930144535.GD50565@hades.panopticon> References: <20090930100658.GA99090@obspm.fr> <20090930144535.GD50565@hades.panopticon>
next in thread | previous in thread | raw e-mail | index | archive | help
--wac7ysb48OaltWcw Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit Le 30/09/2009 à 18:45:35+0400, Dmitry Marakasov a écrit > * Albert Shih (Albert.Shih@obspm.fr) wrote: > > > I would like to known if anyone can help me make ion work ? Maybe someone > > have the patch file for the system.mk ? > > Please try this: > > http://people.freebsd.org/~amdmi3/ion3.tar > > It builds file in tinderbox, but I haven't tested how it works yet. I'm happy to see I'm not the only ET (http://www.imdb.com/title/tt0083866/) to like this wm ;-) Well I've just try you tar....but it's not working. Finally after 3 h I get a system.mk working. I'm sure every normal developper can do better. But for me I've my ion working ;-) Regards. JAS -- Albert SHIH SIO batiment 15 Observatoire de Paris Meudon 5 Place Jules Janssen 92195 Meudon Cedex Téléphone : 01 45 07 76 26/06 86 69 95 71 Heure local/Local time: Mer 30 sep 2009 16:56:08 CEST --wac7ysb48OaltWcw Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="system.mk" ## ## System settings ## ## ## Installation paths ## # Installation path prefix. Unless you know what you're doing, the default # of /usr/local is likely the correct choice. PREFIX=/usr/local # Unless you are creating a package conforming to some OS's standards, you # probably do not want to modify the following directories: # Main binaries BINDIR=$(PREFIX)/bin # Configuration .lua files ETCDIR=$(PREFIX)/etc/ion3 # Some .lua files and ion-* shell scripts SHAREDIR=$(PREFIX)/share/ion3 # Manual pages MANDIR=$(PREFIX)/share/man # Some documents DOCDIR=$(PREFIX)/share/doc/ion3 # Nothing at the moment INCDIR=$(PREFIX)/include/ion3 # Nothing at the moment LIBDIR=$(PREFIX)/lib # Modules MODULEDIR=$(LIBDIR)/ion3/mod # Compiled Lua source code LCDIR=$(LIBDIR)/ion3/lc # ion-completefile (does not belong in SHAREDIR being a binary file) EXTRABINDIR=$(LIBDIR)/ion3/bin # For ion-completeman system-wide cache VARDIR=/var/cache/ion3 # Message catalogs LOCALEDIR=$(PREFIX)/share/locale # Executable suffix (for Cygwin). #BIN_SUFFIX = .exe ## ## Modules ## # Set PRELOAD_MODULES=1 if your system does not support dynamically loaded # modules through 'libdl' or has non-standard naming conventions. # You will likely need this option on e.g. Cygwin and Mac OS X. #PRELOAD_MODULES=1 # Flags to link with libdl. Even if PRELOAD_MODULES=1, you may need this # setting (for e.g. Lua, when not instructed by pkg-config). #DL_LIBS=-ldl ## ## Lua ## # If you have installed Lua 5.1 from the official tarball without changing # paths, this should do it. LUA_DIR=/usr/local LUA_LIBS = -L$(LUA_DIR)/lib/lua51 -llua LUA_INCLUDES = -I$(LUA_DIR)/include/lua51 LUA=$(LUA_DIR)/bin/lua-5.1 LUAC=$(LUA_DIR)/bin/luac-5.1 # If you are using the Debian packages, the following settings should be # what you want. #LUA_LIBS=`pkg-config --libs lua5.1` #LUA_INCLUDES=`pkg-config --cflags lua5.1` #LUA=/usr/bin/lua5.1 #LUAC=/usr/bin/luac5.1 ## ## X libraries, includes and options ## # Paths X11_PREFIX=/usr/local # SunOS/Solaris #X11_PREFIX=/usr/openwin X11_LIBS=-L$(X11_PREFIX)/lib -lX11 -lXext X11_INCLUDES=-I$(X11_PREFIX)/include # XFree86 libraries up to 4.3.0 have a bug that can cause a segfault. # The following setting should work around that situation. DEFINES += -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND # Use the Xutf8 routines (XFree86 extension) instead of the Xmb routines # in an UTF-8 locale. (No, you don't need this in UTF-8 locales, and # most likely don't even want. It's only there because both Xmb and # Xutf8 routines are broken, in different ways.) #DEFINES += -DCF_DE_USE_XUTF8 # Remap F11 key to SunF36 and F12 to SunF37? You may want to set this # on SunOS. #DEFINES += -DCF_SUN_F1X_REMAP ## ## Localisation ## # If you're on an archaic system (such as relatively recent *BSD releases) # without even dummy multibyte/widechar and localisation support, you may # have to uncomment the following line: DEFINES += -DCF_NO_LOCALE -DCF_NO_GETTEXT # On some other systems you may need to explicitly link against libintl. #EXTRA_LIBS += -lintl # You may also need to give the location of its headers. The following # should work on Mac OS X (which needs the above option as well) with # macports. #EXTRA_INCLUDES += -I/opt/local/include ## ## libc ## # You may uncomment this if you know that your system C libary provides # asprintf and vasprintf. (GNU libc does.) If HAS_SYSTEM_ASPRINTF is not # defined, an implementation provided in libtu/sprintf_2.2/ is used. #HAS_SYSTEM_ASPRINTF=1 # The following setting is needed with GNU libc for clock_gettime and the # monotonic clock. Other systems may not need it, or may not provide a # monotonic clock at all (which Ion can live with, and usually detect). EXTRA_LIBS += -lrt # Cygwin needs this. #DEFINES += -DCF_NO_GETLOADAVG # # If you're using/have gcc, it is unlikely that you need to modify # any of the settings below this line. # ##################################################################### ## ## C compiler. ## CC=gcc # Same as '-Wall -pedantic' without '-Wunused' as callbacks often # have unused variables. WARN= -W -Wimplicit -Wreturn-type -Wswitch -Wcomment \ -Wtrigraphs -Wformat -Wchar-subscripts \ -Wparentheses -pedantic -Wuninitialized CFLAGS=-Os $(WARN) $(DEFINES) $(INCLUDES) $(EXTRA_INCLUDES) LDFLAGS=$(LIBS) $(EXTRA_LIBS) EXPORT_DYNAMIC=-Xlinker --export-dynamic # The following options are mainly for development use and can be used # to check that the code seems to conform to some standards. Depending # on the version and vendor of you libc, the options may or may not have # expected results. If you define one of C99_SOURCE or XOPEN_SOURCE, you # may also have to define the other. #C89_SOURCE=-ansi #POSIX_SOURCE=-D_POSIX_C_SOURCE=200112L # Most systems #XOPEN_SOURCE=-D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED # SunOS, (Irix) #XOPEN_SOURCE=-D__EXTENSIONS__ #C99_SOURCE=-std=c99 -DCF_HAS_VA_COPY # The -DCF_HAS_VA_COPY option should allow for some optimisations, and # in some cases simply defining #C99_SOURCE=-DCF_HAS_VA_COPY # might allow for those optimisations to be taken without any special # libc or compiler options. ## ## make depend ## DEPEND_FILE=.depend DO_MAKE_DEPEND=$(CC) -MM $(DEFINES) $(INCLUDES) $(EXTRA_INCLUDES) MAKE_DEPEND=$(DO_MAKE_DEPEND) $(SOURCES) > $(DEPEND_FILE) ## ## AR ## AR=ar ARFLAGS=cr RANLIB=ranlib ## ## Install & strip ## INSTALL=sh $(TOPDIR)/install-sh -c INSTALL_STRIP=-s INSTALLDIR=mkdir -p BIN_MODE=755 DATA_MODE=644 RM=rm ## ## Debugging ## #INSTALL_STRIP = #CFLAGS += -g --wac7ysb48OaltWcw--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090930145925.GB503>