[CREATE] Re: create package

Craig Bradney cbradney at zip.com.au
Tue Apr 3 13:11:44 PDT 2007


On Tuesday 03 April 2007 20:34:01 Jon Phillips wrote:
> Craig, any word on the cmake build of the Create package? I would like
> to launch this release with the Create logo competition this week so we
> can have both b4 LGM2007.
>
> Cheers!
>
> Jon


Hi Jon

Its called procrastination.. but oh well.. 10 mins later and I have a 
CMakeLists.txt file. Its a very basic one file setup for the config, + 1 for 
uninstall config.

As I dont have commit rights.. please commit the 2 new files and the updated 
INSTALL file. They all belong in the same directory.

Then (as per the new INSTALL file and assuming u have a trunk dir from svn and 
you want to install into /opt):
cd ..
mkdir builddir
cd builddir
cmake ../trunk/ -DCMAKE_INSTALL_PREFIX:PATH=/opt 
make install

Theres also another WANT_VERSIONING option that I added that I invented for 
the Scribus setup that allows multiple versions to be installed.

Anyway, check it out and see what you think. Its an easy setup and should be 
ok.

cya
Craig
-------------- next part --------------
IF(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
  MESSAGE(FATAL_ERROR "Cannot find install manifest: \"@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt\"")
ENDIF(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")

FILE(READ "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt" files)
STRING(REGEX REPLACE "\n" ";" files "${files}")
FOREACH(file ${files})
  MESSAGE(STATUS "Uninstalling \"${file}\"")
  IF(NOT EXISTS "${file}")
    MESSAGE(FATAL_ERROR "File \"${file}\" does not exists.")
  ENDIF(NOT EXISTS "${file}")
  EXEC_PROGRAM("@CMAKE_COMMAND@" ARGS "-E remove \"${file}\""
    OUTPUT_VARIABLE rm_out
    RETURN_VARIABLE rm_retval)
  IF("${rm_retval}" GREATER 0)
    MESSAGE(FATAL_ERROR "Problem when removing \"${file}\"")
  ENDIF("${rm_retval}" GREATER 0)
ENDFOREACH(file)
-------------- next part --------------
#CMAKE SETUP
CMAKE_MINIMUM_REQUIRED(VERSION 2.4.3 FATAL_ERROR)
SET(CMAKE_COLOR_MAKEFILE ON)
SET(CMAKE_VERBOSE_MAKEFILE OFF)

#PROJECT SETUP
PROJECT(scribus)
SET (VERSION_MAJOR "0")
SET (VERSION_MINOR "1")
SET (VERSION_PATCH "3")
SET (VERSION_SUFFIX "SVN")
SET (VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}${VERSION_SUFFIX})
MESSAGE(STATUS "Create ${VERSION} will be installed into ${CMAKE_INSTALL_PREFIX}")

#Setup location to install based on CMake prefix
SET(MAIN_DIR_NAME "create")
#Useful for installing multiple copies at the same tim
IF(TAG_VERSION)
  MESSAGE(STATUS "Previously selected version tag: ${TAG_VERSION}")
  SET(WANT_VERSIONING 1)
  SET(CACHED_VERSIONING 1)
ENDIF(TAG_VERSION)
IF (WANT_VERSIONING AND NOT CACHED_VERSIONING)
  IF (NOT CUSTOM_VERSIONTAG)
    SET(TAG_VERSION "-${VERSION}" CACHE TYPE STRING)
  ELSE (NOT CUSTOM_VERSIONTAG)
    SET(TAG_VERSION ${CUSTOM_VERSIONTAG} CACHE TYPE STRING)
  ENDIF (NOT CUSTOM_VERSIONTAG)
ENDIF (WANT_VERSIONING AND NOT CACHED_VERSIONING)
#Where we will install to basically.
SET(SHAREDIR "share/${MAIN_DIR_NAME}${TAG_VERSION}/")


#Create uninstall setup
CONFIGURE_FILE(
  "${CMAKE_CURRENT_SOURCE_DIR}/cmake_uninstall.cmake.in"
  "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
  IMMEDIATE @ONLY)

ADD_CUSTOM_TARGET(uninstall
  "${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake")


#General Files
INSTALL(FILES
  COPYING
  INSTALL
  VERSION
  AUTHORS
  DESTINATION ${SHAREDIR}
)

#Gradients - gimp
INSTALL(FILES
  gradients/gimp/Cold_Steel_2.ggr
  gradients/gimp/Blue_Green.ggr
  gradients/gimp/Browns.ggr
  gradients/gimp/Greens.ggr
  gradients/gimp/Flare_Glow_Radial_1.ggr
  gradients/gimp/French_flag_smooth.ggr
  gradients/gimp/Crown_molding.ggr
  gradients/gimp/French_flag.ggr
  gradients/gimp/Shadows_2.ggr
  gradients/gimp/Radial_Glow_1.ggr
  gradients/gimp/Three_bars_sin.ggr
  gradients/gimp/Flare_Radial_103.ggr
  gradients/gimp/Incandescent.ggr
  gradients/gimp/Flare_Sizefac_101.ggr
  gradients/gimp/CD.ggr
  gradients/gimp/Flare_Glow_Radial_4.ggr
  gradients/gimp/Four_bars.ggr
  gradients/gimp/Shadows_1.ggr
  gradients/gimp/Flare_Glow_Radial_3.ggr
  gradients/gimp/Metallic_Something.ggr
  gradients/gimp/Aneurism.ggr
  gradients/gimp/Skyline_polluted.ggr
  gradients/gimp/Flare_Rays_Radial_1.ggr
  gradients/gimp/German_flag.ggr
  gradients/gimp/Flare_Radial_101.ggr
  gradients/gimp/Dark_1.ggr
  gradients/gimp/Yellow_Contrast.ggr
  gradients/gimp/Makefile.in
  gradients/gimp/Pastel_Rainbow.ggr
  gradients/gimp/Coffee.ggr
  gradients/gimp/Full_saturation_spectrum_CCW.ggr
  gradients/gimp/Yellow_Orange.ggr
  gradients/gimp/Romanian_flag.ggr
  gradients/gimp/Caribbean_Blues.ggr
  gradients/gimp/Wood_2.ggr
  gradients/gimp/Flare_Rays_Size_1.ggr
  gradients/gimp/Sunrise.ggr
  gradients/gimp/Rounded_edge.ggr
  gradients/gimp/Land_and_Sea.ggr
  gradients/gimp/Skyline.ggr
  gradients/gimp/Nauseating_Headache.ggr
  gradients/gimp/German_flag_smooth.ggr
  gradients/gimp/Horizon_2.ggr
  gradients/gimp/Neon_Cyan.ggr
  gradients/gimp/Cold_Steel.ggr
  gradients/gimp/Neon_Green.ggr
  gradients/gimp/Abstract_3.ggr
  gradients/gimp/Square_Wood_Frame.ggr
  gradients/gimp/Flare_Glow_Radial_2.ggr
  gradients/gimp/Flare_Radial_102.ggr
  gradients/gimp/Deep_Sea.ggr
  gradients/gimp/Abstract_1.ggr
  gradients/gimp/Flare_Glow_Angular_1.ggr
  gradients/gimp/Tube_Red.ggr
  gradients/gimp/Radial_Eyeball_Blue.ggr
  gradients/gimp/Pastels.ggr
  gradients/gimp/Wood_1.ggr
  gradients/gimp/Burning_Transparency.ggr
  gradients/gimp/Burning_Paper.ggr
  gradients/gimp/Blinds.ggr
  gradients/gimp/Horizon_1.ggr
  gradients/gimp/Purples.ggr
  gradients/gimp/Romanian_flag_smooth.ggr
  gradients/gimp/Radial_Eyeball_Green.ggr
  gradients/gimp/Neon_Yellow.ggr
  gradients/gimp/Shadows_3.ggr
  gradients/gimp/Default.ggr
  gradients/gimp/Golden.ggr
  gradients/gimp/Brushed_Aluminium.ggr
  gradients/gimp/CD_Half.ggr
  gradients/gimp/Makefile.am
  gradients/gimp/Flare_Rays_Radial_2.ggr
  gradients/gimp/Mexican_flag.ggr
  gradients/gimp/Radial_Eyeball_Brown.ggr
  gradients/gimp/Full_saturation_spectrum_CW.ggr
  gradients/gimp/Land_1.ggr
  gradients/gimp/Abstract_2.ggr
  gradients/gimp/Radial_Rainbow_Hoop.ggr
  gradients/gimp/Tropical_Colors.ggr
  gradients/gimp/Mexican_flag_smooth.ggr
  DESTINATION ${SHAREDIR}/gradients/gimp
)

#Gradients - karbon14
INSTALL(FILES
  gradients/karbon14/simple.kgr
  gradients/karbon14/allcolors.kgr
  DESTINATION ${SHAREDIR}/gradients/karbon14
)


#Brushes
INSTALL(FILES
  brushes/gimp/SketchBrush-64.gih
  brushes/gimp/3circle16.gbr
  brushes/gimp/xcf16.gbr
  brushes/gimp/DStar11.gbr
  brushes/gimp/NS1-Charcoal62.gbr
  brushes/gimp/galaxy_big16.gbr
  brushes/gimp/confetti16.gbr
  brushes/gimp/callig216.gbr
  brushes/gimp/NS1-Charcoal08.gbr
  brushes/gimp/10x10squareBlur16.gbr
  brushes/gimp/NS1-Charcoal03.gbr
  brushes/gimp/NS1-Charcoal15.gbr
  brushes/gimp/NS1-Charcoal26.gbr
  brushes/gimp/5circlef16.gbr
  brushes/gimp/20x20squaref16.gbr
  brushes/gimp/5fcircle.gbr
  brushes/gimp/NS1-Charcoal47.gbr
  brushes/gimp/NS1-Charcoal19.gbr
  brushes/gimp/10x10squaref16.gbr
  brushes/gimp/19fcircle.gbr
  brushes/gimp/NS1-Charcoal45.gbr
  brushes/gimp/NS1-Charcoal27.gbr
  brushes/gimp/NS1-Charcoal21.gbr
  brushes/gimp/NS1-Charcoal52.gbr
  brushes/gimp/NS1-Charcoal32.gbr
  brushes/gimp/5circle.gbr
  brushes/gimp/NS1-Charcoal56.gbr
  brushes/gimp/3fcircle.gbr
  brushes/gimp/19circlef16.gbr
  brushes/gimp/20x20square.gbr
  brushes/gimp/DStar17.gbr
  brushes/gimp/NS1-Charcoal44.gbr
  brushes/gimp/NS1-Charcoal25.gbr
  brushes/gimp/NS1-Charcoal17.gbr
  brushes/gimp/galaxy.gbr
  brushes/gimp/NS1-Charcoal07.gbr
  brushes/gimp/NS1-Charcoal42.gbr
  brushes/gimp/galaxy16.gbr
  brushes/gimp/NS1-Charcoal48.gbr
  brushes/gimp/NS1-Charcoal39.gbr
  brushes/gimp/NS1-Charcoal18.gbr
  brushes/gimp/17fcirclef16.gbr
  brushes/gimp/1circlef16.gbr
  brushes/gimp/thegimp16.gbr
  brushes/gimp/NS1-Charcoal61.gbr
  brushes/gimp/13fcirclef16.gbr
  brushes/gimp/NS1-Charcoal55.gbr
  brushes/gimp/vine.gih
  brushes/gimp/20x20squareBlurf16.gbr
  brushes/gimp/9circle16.gbr
  brushes/gimp/NS1-Charcoal30.gbr
  brushes/gimp/callig116.gbr
  brushes/gimp/galaxy_smallf16.gbr
  brushes/gimp/5x5squareBlur16.gbr
  brushes/gimp/galaxy_small.gbr
  brushes/gimp/NS1-Charcoal20.gbr
  brushes/gimp/15circlef16.gbr
  brushes/gimp/11fcirclef16.gbr
  brushes/gimp/NS1-Charcoal31.gbr
  brushes/gimp/13circle.gbr
  brushes/gimp/5x5square.gbr
  brushes/gimp/pixelf16.gbr
  brushes/gimp/20x20squareBlur.gbr
  brushes/gimp/20x20square16.gbr
  brushes/gimp/10x10squareBlur.gbr
  brushes/gimp/xcff16.gbr
  brushes/gimp/dunes.gbr
  brushes/gimp/19circle.gbr
  brushes/gimp/13circlef16.gbr
  brushes/gimp/NS1-Charcoal34.gbr
  brushes/gimp/SketchBrush-32.gih
  brushes/gimp/13fcircle.gbr
  brushes/gimp/3circlef16.gbr
  brushes/gimp/NS1-Charcoal09.gbr
  brushes/gimp/NS1-Charcoal11.gbr
  brushes/gimp/NS1-Charcoal13.gbr
  brushes/gimp/17circle16.gbr
  brushes/gimp/5x5squaref16.gbr
  brushes/gimp/7circle.gbr
  brushes/gimp/13circle16.gbr
  brushes/gimp/9fcircle.gbr
  brushes/gimp/3fcirclef16.gbr
  brushes/gimp/callig416.gbr
  brushes/gimp/11circlef16.gbr
  brushes/gimp/dunes16.gbr
  brushes/gimp/thegimp.gbr
  brushes/gimp/15circle.gbr
  brushes/gimp/15fcircle.gbr
  brushes/gimp/NS1-Charcoal12.gbr
  brushes/gimp/NS1-Charcoal49.gbr
  brushes/gimp/pixel16.gbr
  brushes/gimp/callig4f16.gbr
  brushes/gimp/17circle.gbr
  brushes/gimp/callig3f16.gbr
  brushes/gimp/NS1-Charcoal57.gbr
  brushes/gimp/NS1-Charcoal22.gbr
  brushes/gimp/NS1-Charcoal04.gbr
  brushes/gimp/15circle16.gbr
  brushes/gimp/galaxy_big.gbr
  brushes/gimp/11circle16.gbr
  brushes/gimp/NS1-Charcoal01.gbr
  brushes/gimp/15fcirclef16.gbr
  brushes/gimp/5fcirclef16.gbr
  brushes/gimp/9circle.gbr
  brushes/gimp/11fcircle.gbr
  brushes/gimp/3circle.gbr
  brushes/gimp/callig2.gbr
  brushes/gimp/galaxy_bigf16.gbr
  brushes/gimp/callig316.gbr
  brushes/gimp/callig1f16.gbr
  brushes/gimp/5x5squareBlur.gbr
  brushes/gimp/10x10square16.gbr
  brushes/gimp/NS1-Charcoal37.gbr
  brushes/gimp/NS1-Charcoal58.gbr
  brushes/gimp/dunesf16.gbr
  brushes/gimp/17fcircle.gbr
  brushes/gimp/feltpen.gih
  brushes/gimp/confettif16.gbr
  brushes/gimp/NS1-Charcoal33.gbr
  brushes/gimp/NS1-Charcoal14.gbr
  brushes/gimp/NS1-Charcoal16.gbr
  brushes/gimp/NS1-Charcoal63.gbr
  brushes/gimp/callig1.gbr
  brushes/gimp/NS1-Charcoal36.gbr
  brushes/gimp/SketchBrush-16.gih
  brushes/gimp/NS1-Charcoal54.gbr
  brushes/gimp/NS1-Charcoal28.gbr
  brushes/gimp/9fcirclef16.gbr
  brushes/gimp/NS1-Charcoal46.gbr
  brushes/gimp/9circlef16.gbr
  brushes/gimp/7fcirclef16.gbr
  brushes/gimp/19circle16.gbr
  brushes/gimp/NS1-Charcoal24.gbr
  brushes/gimp/NS1-Charcoal50.gbr
  brushes/gimp/NS1-Charcoal65.gbr
  brushes/gimp/callig4.gbr
  brushes/gimp/callig3.gbr
  brushes/gimp/NS1-Charcoal05.gbr
  brushes/gimp/19fcirclef16.gbr
  brushes/gimp/NS1-Charcoal35.gbr
  brushes/gimp/NS1-Charcoal10.gbr
  brushes/gimp/callig2f16.gbr
  brushes/gimp/DStar25.gbr
  brushes/gimp/thegimpf16.gbr
  brushes/gimp/NS1-Charcoal41.gbr
  brushes/gimp/5x5squareBlurf16.gbr
  brushes/gimp/5x5square16.gbr
  brushes/gimp/hsparks.gih
  brushes/gimp/NS1-Charcoal29.gbr
  brushes/gimp/1circle.gbr
  brushes/gimp/20x20squareBlur16.gbr
  brushes/gimp/NS1-Charcoal43.gbr
  brushes/gimp/NS1-Charcoal64.gbr
  brushes/gimp/NS1-Charcoal06.gbr
  brushes/gimp/galaxyf16.gbr
  brushes/gimp/7circle16.gbr
  brushes/gimp/NS1-Charcoal51.gbr
  brushes/gimp/10x10squareBlurf16.gbr
  brushes/gimp/NS1-Charcoal60.gbr
  brushes/gimp/galaxy_small16.gbr
  brushes/gimp/7fcircle.gbr
  brushes/gimp/NS1-Charcoal40.gbr
  brushes/gimp/pepper.gbr
  brushes/gimp/confetti.gih
  brushes/gimp/17circlef16.gbr
  brushes/gimp/NS1-Charcoal02.gbr
  brushes/gimp/11circle.gbr
  brushes/gimp/5circle16.gbr
  brushes/gimp/NS1-Charcoal59.gbr
  brushes/gimp/NS1-Charcoal23.gbr
  brushes/gimp/NS1-Charcoal53.gbr
  brushes/gimp/xcf.gbr
  brushes/gimp/pixel.gbr
  brushes/gimp/10x10square.gbr
  brushes/gimp/confetti.gbr
  brushes/gimp/7circlef16.gbr
  brushes/gimp/NS1-Charcoal38.gbr
  DESTINATION ${SHAREDIR}/brushes/gimp
)


#Documents
#INSTALL(FILES
#docs/styles.css
#docs/spec_0.1.1.html
#  DESTINATION ${SHAREDIR}
#)



#Brushes bitmap 16 bit
INSTALL(FILES
  patterns/bitmap/16bit/cracked.pat
  patterns/bitmap/16bit/sm_squares.pat
  patterns/bitmap/16bit/walnut.pat
  patterns/bitmap/16bit/3dgreen.pat
  patterns/bitmap/16bit/qube1.pat
  patterns/bitmap/16bit/parque1.pat
  patterns/bitmap/16bit/electric.pat
  patterns/bitmap/16bit/java.pat
  patterns/bitmap/16bit/pastel.pat
  patterns/bitmap/16bit/wood4.pat
  patterns/bitmap/16bit/burlwood.pat
  patterns/bitmap/16bit/leaves.pat
  patterns/bitmap/16bit/paper.pat
  patterns/bitmap/16bit/choc_swirl.pat
  patterns/bitmap/16bit/leather.pat
  patterns/bitmap/16bit/rain.pat
  patterns/bitmap/16bit/recessed.pat
  patterns/bitmap/16bit/marble3.pat
  patterns/bitmap/16bit/wood5.pat
  patterns/bitmap/16bit/amethyst.pat
  patterns/bitmap/16bit/redcube.pat
  patterns/bitmap/16bit/terra.pat
  patterns/bitmap/16bit/rock.pat
  patterns/bitmap/16bit/ground1.pat
  patterns/bitmap/16bit/Moonfoot.pat
  patterns/bitmap/16bit/lightning.pat
  patterns/bitmap/16bit/ice.pat
  patterns/bitmap/16bit/blue.pat
  patterns/bitmap/16bit/nops.pat
  patterns/bitmap/16bit/crinklepaper.pat
  patterns/bitmap/16bit/pine.pat
  patterns/bitmap/16bit/bark.pat
  patterns/bitmap/16bit/Craters.pat
  patterns/bitmap/16bit/parque2.pat
  patterns/bitmap/16bit/pool.pat
  patterns/bitmap/16bit/pink_marble.pat
  patterns/bitmap/16bit/starfield.pat
  patterns/bitmap/16bit/wood3.pat
  patterns/bitmap/16bit/wood1.pat
  patterns/bitmap/16bit/marble2.pat
  patterns/bitmap/16bit/corkboard.pat
  patterns/bitmap/16bit/granite1.pat
  patterns/bitmap/16bit/marble1.pat
  patterns/bitmap/16bit/sky.pat
  patterns/bitmap/16bit/bluegrid.pat
  patterns/bitmap/16bit/leopard.pat
  patterns/bitmap/16bit/fibers.pat
  patterns/bitmap/16bit/wood2.pat
  patterns/bitmap/16bit/burlap.pat
  patterns/bitmap/16bit/slate.pat
  patterns/bitmap/16bit/blueweb.pat
  patterns/bitmap/16bit/brick.pat
  patterns/bitmap/16bit/bluesquares.pat
  patterns/bitmap/16bit/warning.pat
  patterns/bitmap/16bit/stone33.pat
  patterns/bitmap/16bit/parque3.pat
  DESTINATION ${SHAREDIR}/patterns/bitmap/16bit
)


#Brushes bitmap 8 bit
INSTALL(FILES
  patterns/bitmap/8bit/cracked.pat
  patterns/bitmap/8bit/sm_squares.pat
  patterns/bitmap/8bit/walnut.pat
  patterns/bitmap/8bit/3dgreen.pat
  patterns/bitmap/8bit/qube1.pat
  patterns/bitmap/8bit/parque1.pat
  patterns/bitmap/8bit/electric.pat
  patterns/bitmap/8bit/java.pat
  patterns/bitmap/8bit/Stripes1px.pat
  patterns/bitmap/8bit/pastel.pat
  patterns/bitmap/8bit/wood4.pat
  patterns/bitmap/8bit/burlwood.pat
  patterns/bitmap/8bit/leaves.pat
  patterns/bitmap/8bit/paper.pat
  patterns/bitmap/8bit/choc_swirl.pat
  patterns/bitmap/8bit/leather.pat
  patterns/bitmap/8bit/Stripes2px.pat
  patterns/bitmap/8bit/rain.pat
  patterns/bitmap/8bit/recessed.pat
  patterns/bitmap/8bit/marble3.pat
  patterns/bitmap/8bit/wood5.pat
  patterns/bitmap/8bit/amethyst.pat
  patterns/bitmap/8bit/redcube.pat
  patterns/bitmap/8bit/terra.pat
  patterns/bitmap/8bit/rock.pat
  patterns/bitmap/8bit/ground1.pat
  patterns/bitmap/8bit/Moonfoot.pat
  patterns/bitmap/8bit/lightning.pat
  patterns/bitmap/8bit/ice.pat
  patterns/bitmap/8bit/blue.pat
  patterns/bitmap/8bit/nops.pat
  patterns/bitmap/8bit/crinklepaper.pat
  patterns/bitmap/8bit/pine.pat
  patterns/bitmap/8bit/bark.pat
  patterns/bitmap/8bit/Craters.pat
  patterns/bitmap/8bit/parque2.pat
  patterns/bitmap/8bit/pool.pat
  patterns/bitmap/8bit/pink_marble.pat
  patterns/bitmap/8bit/starfield.pat
  patterns/bitmap/8bit/wood3.pat
  patterns/bitmap/8bit/wood1.pat
  patterns/bitmap/8bit/marble2.pat
  patterns/bitmap/8bit/corkboard.pat
  patterns/bitmap/8bit/granite1.pat
  patterns/bitmap/8bit/marble1.pat
  patterns/bitmap/8bit/sky.pat
  patterns/bitmap/8bit/bluegrid.pat
  patterns/bitmap/8bit/leopard.pat
  patterns/bitmap/8bit/fibers.pat
  patterns/bitmap/8bit/wood2.pat
  patterns/bitmap/8bit/burlap.pat
  patterns/bitmap/8bit/slate.pat
  patterns/bitmap/8bit/blueweb.pat
  patterns/bitmap/8bit/brick.pat
  patterns/bitmap/8bit/bluesquares.pat
  patterns/bitmap/8bit/warning.pat
  patterns/bitmap/8bit/stone33.pat
  patterns/bitmap/8bit/parque3.pat
  DESTINATION ${SHAREDIR}/patterns/bitmap/8bit
)

#  swatches
INSTALL(FILES
  swatches/Pastels
  swatches/Lights
  swatches/X11_Greys
  swatches/Named_Colors
  swatches/Muted
  swatches/Plasma
  swatches/News3
  swatches/Gold
  swatches/OpenOffice_org
  swatches/Visibone
  swatches/China
  swatches/Cascade
  swatches/Topographic
  swatches/Blues
  swatches/Caramel
  swatches/Kahki
  swatches/Bears
  swatches/Borders
  swatches/Reds_And_Purples
  swatches/Paintjet
  swatches/GrayViolet
  swatches/Op2
  swatches/svg
  swatches/Ega
  swatches/Grays
  swatches/Firecode
  swatches/Hilite
  swatches/GNOME_HIG
  swatches/Volcano
  swatches/Reds
  swatches/Coldfire
  swatches/Greens
  swatches/Warm_Colors
  swatches/websafe22
  swatches/Browns_And_Yellows
  swatches/X11
  swatches/Cranes
  swatches/Default
  swatches/Visibone2
  swatches/Tango-Palette
  swatches/Bgold
  swatches/Royal
  swatches/Cool_Colors
  swatches/Grayblue
  swatches/webhex
  swatches/Dark_pastels
  DESTINATION ${SHAREDIR}/swatches
)
-------------- next part --------------
CMake INSTALLATION
=========
In the create dir's parent (from here on known as "parent"), run "mkdir builddir", "cd builddir"

To create the makefiles:
$ cmake ../parent/ -DCMAKE_INSTALL_PREFIX:PATH=PREFIX
eg
$ cmake ../create/ -DCMAKE_INSTALL_PREFIX:PATH=/opt

To install with some versioning in the directory naming so multiple versions can be installed at the same time, probably not wanted by too many people:
$ cmake ../parent/ -DCMAKE_INSTALL_PREFIX:PATH=PREFIX -DWANT_VERSIONING=1

To install:
$ make install

To uninstall:
$ make uninstall


Scons INSTALLATION
=========

Use the following command to install shared resources:

$ sudo scons -Q install

Use PREFIX option to install to a directory other than /usr, e.g.:

$ sudo scons -Q install PREFIX=/opt

To uninstall run:

$ sudo scons -c -Q install

Use PREFIX option, if you installed shared resources to a directory other than /usr, e.g.:

$ sudo scons -c -Q install PREFIX=/opt

If you do not have /etc/sudoerc set up (recommended), either consider setting it up, or run 'su -' to become root and run these commands without 'sudo' (not recommended).


More information about the CREATE mailing list