building garrnome-educ 0.0.3



I have managed to build Gonzalo Odiard's educational suite:

        http://personales.ciudad.com.ar/godiard/garnomeeduc/garnome-educ.html

Some changes were required.  These are discussed below.


-Joseph

==============================================================================

cln
----
Bumped the version: 1.1.9 -> 1.1.10

cln-1.1.10 builds with gcc-4.0.x, but has some optimizations problems
with gcc-3.3.3.  See attached Makefile.

gcompris
---------
Bumped the version: 7.0.1 -> 7.0.3

Edited the GAR makefile. Modified the post-install target to test for
the existence of $(datadir)/applications/gcompris.desktop.


libqalculate
------------
Bumped the version: 0.8.1.1 -> 0.9.0

Changed the MASTER_SITE to

        MASTER_SITES = http://download.sourceforge.net/qalculate/


skynet
--------
Modified the post-install target to create a shell script to launch the
application.

Skynet has a permissions issue.  The first time it is run a file in
created under $(libdir)/skynet that is owned by the user running the
application:

        -rw-r--r--  1 jsacco  jsacco  1142748 Nov  6 20:37 sao.ser
        
If skynet is then run by a different user application initialization
fails because the new user lacks write permissions on sao.ser.

solfege
-------
Bumped version: 2.4.0 -> 3.0.4

-- 
joseph_sacco [at] comcast [dot] net
GARNAME = cln
GARVERSION = 1.1.10
CATEGORIES = educ
DISTFILES = $(GARNAME)-$(GARVERSION).tar.bz2
MASTER_SITES = http://www.mirrors.wiretapped.net/security/cryptography/libraries/math/cln/

DESCRIPTION = cln
define BLURB
 #FIXME: blurb goes here
endef

# LIBDEPS = educ/guile 

CONFIGURE_SCRIPTS = $(WORKSRC)/configure
BUILD_SCRIPTS = $(WORKSRC)/Makefile
INSTALL_SCRIPTS = $(WORKSRC)/Makefile

CONFIGURE_ARGS = $(DIRPATHS)

include ../category.mk

CFLAGS := $(shell echo $(CFLAGS) | sed -e 's/-O2/-O1/g')
CXXFLAGS := $(shell echo $(CFLAGS) | sed -e 's/-O2/-O1/g')
CPPFLAGS := $(shell echo $(CFLAGS) | sed -e 's/-O2/-O1/g')

#post-install:
#	@cat $(WORKSRC)/drgeo.desktop | sed 's/gnome-drgenius/drgeo-book/' > $(datadir)/applications/drgeo.desktop
GARNAME = gcompris
GARVERSION = 7.0.3
CATEGORIES = educ
DISTFILES = $(GARNAME)-$(GARVERSION).tar.gz
MASTER_SITES = http://unc.dl.sourceforge.net/sourceforge/gcompris/

DESCRIPTION = gcompris
define BLURB
 #FIXME: blurb goes here
endef

# LIBDEPS = educ/SDL

CONFIGURE_SCRIPTS = $(WORKSRC)/configure
BUILD_SCRIPTS = $(WORKSRC)/Makefile
INSTALL_SCRIPTS = $(WORKSRC)/Makefile

CONFIGURE_ARGS = $(DIRPATHS) #--disable-sqlite
BUILD_ARGS = -j1

include ../category.mk

post-install: 
	@if test ! -e $(datadir)/applications/gcompris.desktop; then \
	   rm $(datadir)/applications/gcompris-edit.desktop ; \
	   cat $(WORKSRC)/gcompris.desktop | sed 's/Application;Game/Application;Education/' > $(datadir)/applications/gcompris.desktop ; \
	fi
	$(MAKECOOKIE)
GARNAME = skynet
GARVERSION = 0.1.1
CATEGORIES = educ
DISTFILES = $(GARNAME)-$(GARVERSION).tar.gz
MASTER_SITES = http://unc.dl.sourceforge.net/sourceforge/sky-net/
#PATCHFILES = sk.diff

DESCRIPTION = skynet
define BLURB
 #FIXME: blurb goes here
endef

LIBDEPS = mono/mono mono/gtk-sharp1.0

#CONFIGURE_SCRIPTS = $(WORKSRC)/configure.pl
#BUILD_SCRIPTS = $(WORKSRC)/Makefile
#INSTALL_SCRIPTS = $(WORKSRC)/Makefile
#INSTALL_SCRIPTS = @export MONO_PATH=$(bindir);$(WORKSRC)/configure.pl;$(WORKSRC)/make

CONFIGURE_ARGS = $(DIRPATHS)

include ../category.mk

post-install:
	@MONO_PATH=$(bindir);cd $(WORKSRC);./configure.pl;make install
	@mkdir -p $(libdir)/skynet/starpixmaps
	@cp -r $(WORKSRC)/test/* $(libdir)/skynet
	@chmod 777 $(libdir)/skynet	
	@cp files/skynet.desktop $(datadir)/applications/skynet.desktop
	@cp files/skynet.png $(datadir)/pixmaps/
	@echo "#!/bin/sh" > files/skynet.sh
	@echo "cd  $(libdir)/skynet" >> files/skynet.sh
	@echo "mono gskynet.exe" >> files/skynet.sh
	@chmod 755 files/skynet.sh
	@cp files/skynet.sh $(bindir)
	@$(MAKECOOKIE)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]