Magellan Linux

Diff of /trunk/mage/usr/lib/mage/mage.rc.global.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

trunk/mage/usr/lib/mage/mage.rc.global revision 1555 by niro, Tue Dec 27 10:55:36 2011 UTC trunk/mage/usr/lib/mage/mage.rc.global.in revision 1612 by niro, Mon Jan 9 19:49:50 2012 UTC
# Line 30  SMAGESCRIPTSDIR="/var/cache/mage/smage" Line 30  SMAGESCRIPTSDIR="/var/cache/mage/smage"
30  : ${MAGE_DISTRIBUTION="stable"}  : ${MAGE_DISTRIBUTION="stable"}
31    
32  # Default options  # Default options
 VERBOSE="on"  
 MAGEDEBUG="off"  
33  : ${MAGE_UNINSTALL_TIMEOUT="3"}  : ${MAGE_UNINSTALL_TIMEOUT="3"}
 PACKAGES_SERVER_PATH="packages/${ARCH}"  
   
 # Default fetch options for rsync  
 RSYNC_FETCH_OPTIONS="--recursive --links --perms --times --devices --timeout=600 --verbose --compress --progress --stats --delete --delete-after"  
34    
35  # Default fetch options for wget  # Use MAGE_FEATURE 'regentree' to enable on-the-fly regeneration of the mage tree.
36  WGET_FETCH_OPTIONS="--passive-ftp --tries 3 --continue --progress bar"  # MAGE_TREE_DEST must be also set. You should set it to the same value as MAGEDIR.
37    MAGE_TREE_DEST="${MAGEDIR}"
38    
39  # Arch specific options and build flags  # Arch specific options and build flags
40  ARCH="i686"  ARCH="@@ARCH@@"
41  CHOST="${ARCH}-pc-linux-gnu"  CHOST="${ARCH}-pc-linux-gnu"
42  CFLAGS="-mtune=${ARCH} -O2 -pipe"  CFLAGS="-mtune=${ARCH} -O2 -pipe"
43  CXXFLAGS="${CFLAGS}"  CXXFLAGS="${CFLAGS}"
44  SMAGE_USE_CCACHE="false"  LDFLAGS="-Wl,--as-needed"
 SMAGE_USE_DISTCC="false"  
45  MAKEOPTS="-j2"  MAKEOPTS="-j2"
46    
47  # Strip options  # Strip options
# Line 62  SRCPKGSUFFIX="mpks" Line 56  SRCPKGSUFFIX="mpks"
56  MAGESUFFIX="mage"  MAGESUFFIX="mage"
57  SMAGESUFFIX="smage2"  SMAGESUFFIX="smage2"
58    
59    # Purge targets
60    # Array with all files which shall be removed from every package on build-time
61    # Do not touch these settings if you don't know what you are doing
62    PURGE_TARGETS=( usr/share/info/dir usr/share/info/dir.gz )
63    
64  # Distcc specific settings  # Distcc specific settings
65  #DISTCC_HOSTS=""  #DISTCC_HOSTS=""
66  DISTCC_DIR="${BUILDDIR}/.distcc"  DISTCC_DIR="${BUILDDIR}/.distcc"
# Line 76  GNOME_MIRRORS="http://ftp.gnome.org/pub/ Line 75  GNOME_MIRRORS="http://ftp.gnome.org/pub/
75  KDE_MIRRORS="ftp://ftp.kde.org/pub/kde/stable ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/ftp.kde.org/pub/kde/stable"  KDE_MIRRORS="ftp://ftp.kde.org/pub/kde/stable ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/ftp.kde.org/pub/kde/stable"
76  RSYNC="rsync://magellan-linux.de/mage-ix86"  RSYNC="rsync://magellan-linux.de/mage-ix86"
77  SMAGE2RSYNC="rsync://magellan-linux.de/smage-cvs"  SMAGE2RSYNC="rsync://magellan-linux.de/smage-cvs"
78    PACKAGES_SERVER_PATH="packages/${ARCH}"
79    
80  # enables on-the-fly regeneration of the mage tree via smage2 files.  # Default fetch options for rsync
81  # MAGE_TREE_DEST must be also set. You should set it to the same as MAGEDIR.  RSYNC_FETCH_OPTIONS="--recursive --links --perms --times --devices --timeout=600 --verbose --compress --progress --stats --delete --delete-after"
82  #REGEN_MAGE_TREE=true  # Default fetch options for wget
83  MAGE_TREE_DEST="${MAGEDIR}"  WGET_FETCH_OPTIONS="--passive-ftp --tries 3 --continue --progress bar"
   
 # creates on-the-fly source-tarballs when building packages with smage2  
 #CREATE_SRC_PKG_TARBALL=true  
   
 # enables step-by-step execution of the smage-file (for debugging only)  
 #STEP_BY_STEP=true  
84    
85  # disables logging of smage builds  # All supported global features in mage/smage:
86  # currently for src_pepare, src_compile, src_install functions only  # You can negate any feature with a ! in front
87  #SMAGE_BUILD_LOGGING=false  # Please use the MAGE_FEATURES array to override these settings in local mage.rc
88    #
89    #      autosvc|!autosvc
90    #          * Automatically start/stop/restarts services on installation
91    #      buildlog|!buildlog
92    #          * Enables logging of smage builds
93    #          * Currently for src_pepare, src_compile, src_install functions only
94    #          * For developers only
95    #      ccache|!ccache
96    #          * Enable ccache support in smage
97    #          * ccache must be installed to use this feature
98    #          * For developers only
99    #      check|!check
100    #          * Runs the check function src_check() after completing src_compile()
101    #          * For developers only
102    #      compressdoc|!compressdoc
103    #          * Enables compression of man, info and other doc files for minimizing diskspace usage
104    #          * For developers only
105    #      debug|!debug
106    #          * Enables or disables debug mode
107    #          * Do not touch this feature if you don't know what you are doing
108    #          * The debug mode may break things like resolving dependencies
109    #          * For developers only
110    #      distcc|!distcc
111    #          * Enable distcc support in smage
112    #          * distcc must be installed to use this feature
113    #          * For developers only
114    #      kernelsrcunpack|!kernelsrcunpack
115    #          * Automatically unpacks any kernel-sources tarballs to /usr/src
116    #      libtool|!libtool
117    #          * Includes .la libtool archives in builded packages, to remove them set !libtool
118    #          * For developers only
119    #      linuxsymlink|!linuxsymlink
120    #          * Automatically updates the /usr/src/linux symlink to the installed kernel-sources version
121    #          * Requires the kernelsrcunpack feature to be activated
122    #      pkgbuild|!pkgbuild
123    #          * Enables or disables the package build process
124    #          * !buildpkg feature is only intended to be used for special-cases,
125    #          * like virtuals and not to be a global feature. Use this with care.
126    #          * Only disable this feature, if you know what you are doing!
127    #          * For developers only
128    #      purge|!purge
129    #          * Purges files specified by PURGE_TARGETS array from every package build
130    #          * Do not touch this feature if you don't know what you are doing
131    #          * For developers only
132    #      qalint|!qalint
133    #          * Quality assurance checks will be run while building a package
134    #          * Magellan lint utilities must be installed to use this feature
135    #          * Only enable this feature for QA purposes only,
136    #          * pkgbuild may fail even on non-fatal errors and warnings
137    #          * For developers only
138    #      regentree|!regentree
139    #          * Automatically import packages in the mage-tree after building with smage
140    #          * The target mage-tree can be defined with the MAGE_TREE_DEST variable
141    #          * For developers only
142    #      stepbystep|!stepbystep
143    #          * Enables step-by-step execution of the smage-file for debugging
144    #          * Currently for src_pepare(), src_compile(), src_check(), src_install() functions
145    #          * For developers only
146    #      srcpkgbuild|!srcpkgbuild
147    #          * Enable this to create source-tarballs on-the-fly when building packages
148    #          * For developers only
149    #      srcpkgtarball|!srcpkgtarball
150    #          * let smage build the package from a src tarball .mpks
151    #          * Do not touch this feature, for internal use only!!
152    #      strip|!strip
153    #          * Enables stripping to remove debugging symbols of resulting binaries
154    #          * For developers only
155    #      verbose|!verbose
156    #          * Enables or disables verbose mode
157    #
158    # To individually change these features within a smage file, you can use the msetfeature() function
159    #
160    MAGE_FEATURES_GLOBAL=( "autosvc" "buildlog" "ccache" "check" "compressdoc" "!debug" "!distcc" "kernelsrcunpack" "!libtool" "linuxsymlink" "pkgbuild" "purge" "!qalint" "regentree" "!srcpkgbuild" "!srcpkgtarball" "!stepbystep" "strip" "!verbose" )

Legend:
Removed from v.1555  
changed lines
  Added in v.1612