# HG changeset patch # User Volker Grabsch # Date 1263677708 -3600 # Node ID 5ed1c054045e6b5d3c486c20b79d44b816a3f8ff # Parent f8d5fde6a0ae03ae08879398ea785507ccb9f2fe# Parent 14310a48d9796e46f7b67e18155abc757ab91db9 merge diff -r f8d5fde6a0ae -r 5ed1c054045e doc/index.html --- a/doc/index.html Sat Jan 16 22:33:50 2010 +0100 +++ b/doc/index.html Sat Jan 16 22:35:08 2010 +0100 @@ -450,6 +450,10 @@ + CMake + + + LibC for 32-bit @@ -498,7 +502,7 @@

Debian

-
aptitude install -R bash bzip2 g++ make sed openssl \
+    
aptitude install -R bash bzip2 cmake g++ make sed openssl \
                     patch perl scons unzip wget

@@ -508,7 +512,7 @@

FreeBSD

-
pkg_add -r bash gmake gsed perl scons unzip wget
+
pkg_add -r bash cmake gmake gsed perl scons unzip wget

On 64-bit FreeBSD, @@ -517,7 +521,7 @@

Frugalware

-
pacman-g2 -S bash bzip2 gcc make sed openssl \
+    
pacman-g2 -S bash bzip2 cmake gcc make sed openssl \
              patch perl scons unzip wget

@@ -534,7 +538,7 @@ MacPorts, then run:

-
sudo port install gmake gsed scons wget
+
sudo port install cmake gmake gsed scons wget

MacOS 10.6

@@ -545,7 +549,7 @@ MacPorts, then run:

-
sudo port install gmake gsed scons wget gcc_select
+    
sudo port install cmake gmake gsed scons wget gcc_select
 sudo gcc_select gcc40

Open Solaris 2009.06

@@ -563,8 +567,9 @@ First, install all requirements that already ship with Solaris:

-
pfexec pkg install SUNWgcc SUNWgmake SUNWgsed SUNWgzip \
-                   SUNWlibm SUNWgpch SUNWunzip SUNWwget
+
pfexec pkg install SUNWcmake SUNWgcc SUNWgmake SUNWgsed \
+                   SUNWgzip SUNWlibm SUNWgpch SUNWunzip \
+                   SUNWwget

Then download and install SCons by hand: diff -r f8d5fde6a0ae -r 5ed1c054045e src/glew.mk --- a/src/glew.mk Sat Jan 16 22:33:50 2010 +0100 +++ b/src/glew.mk Sat Jan 16 22:35:08 2010 +0100 @@ -1,5 +1,5 @@ -# Copyright (C) 2009 Volker Grabsch -# Martin Lambers +# Copyright (C) 2009, 2010 Volker Grabsch +# Martin Lambers # # Permission is hereby granted, free of charge, to any person obtaining # a copy of this software and associated documentation files (the @@ -23,17 +23,17 @@ # GLEW PKG := glew $(PKG)_IGNORE := -$(PKG)_VERSION := 1.5.1 -$(PKG)_CHECKSUM := a94113169d46487ccda1bb2fde68fa1803bdf009 -$(PKG)_SUBDIR := glew -$(PKG)_FILE := glew-$($(PKG)_VERSION)-src.tgz +$(PKG)_VERSION := 1.5.2 +$(PKG)_CHECKSUM := 21fa100ff77d10f6767ef387f65de98eaaaa683f +$(PKG)_SUBDIR := glew-$($(PKG)_VERSION) +$(PKG)_FILE := glew-$($(PKG)_VERSION).tgz $(PKG)_WEBSITE := http://glew.sourceforge.net/ $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/glew/glew/$($(PKG)_VERSION)/$($(PKG)_FILE) $(PKG)_DEPS := gcc define $(PKG)_UPDATE $(call SOURCEFORGE_FILES,http://sourceforge.net/projects/glew/files/glew/) | \ - $(SED) -n 's,.*glew-\([0-9][^>]*\)-src\.tgz.*,\1,p' | \ + $(SED) -n 's,.*glew-\([0-9][^>]*\)\.tgz.*,\1,p' | \ tail -1 endef diff -r f8d5fde6a0ae -r 5ed1c054045e src/lcms.mk --- a/src/lcms.mk Sat Jan 16 22:33:50 2010 +0100 +++ b/src/lcms.mk Sat Jan 16 22:35:08 2010 +0100 @@ -1,5 +1,6 @@ -# Copyright (C) 2009 Volker Grabsch -# Bart van Andel +# Copyright (C) 2009, 2010 Volker Grabsch +# Bart van Andel +# Martin Lambers # # Permission is hereby granted, free of charge, to any person obtaining # a copy of this software and associated documentation files (the @@ -39,6 +40,8 @@ endef define $(PKG)_BUILD + # wine confuses the cross-compiling detection, so set it explicitly + $(SED) 's,cross_compiling=no,cross_compiling=yes,' -i '$(1)/configure' cd '$(1)' && ./configure \ --prefix='$(PREFIX)/$(TARGET)' \ --host='$(TARGET)' \