Magellan Linux

Diff of /branches/mage-next/conf/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 2273 by niro, Fri Oct 25 07:40:31 2013 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}"  
34    
35  # Default fetch options for rsync  # Use MAGE_FEATURE 'regentree' to enable on-the-fly regeneration of the mage tree.
36  RSYNC_FETCH_OPTIONS="--recursive --links --perms --times --devices --timeout=600 --verbose --compress --progress --stats --delete --delete-after"  # MAGE_TREE_DEST must be also set. You should set it to the same value as MAGEDIR.
37    MAGE_TREE_DEST="${MAGEDIR}"
 # Default fetch options for wget  
 WGET_FETCH_OPTIONS="--passive-ftp --tries 3 --continue --progress bar"  
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=@@MTUNE@@ -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    # cross-compile host
48    # set this only if you want to crosscompile
49    # you need also a cross-compile toolchain installed
50    #CTARGET="i486-pc-linux-gnu"
51    
52  # Strip options  # Strip options
53  STRIP_DYN_LIB="--strip-unneeded"  STRIP_DYN_LIB="--strip-unneeded"
54  STRIP_DYN_BIN="--strip-all"  STRIP_DYN_BIN="--strip-all"
55  STRIP_STATIC_LIB="--strip-debug"  STRIP_STATIC_LIB="--strip-debug"
56    
57  # Extension defaults  # Extension defaults
58  #  Do not modify these settings unless you know what you are doing  # Do not modify these settings unless you know what you are doing
59  PKGSUFFIX="mpk"  PKGSUFFIX="mpk"
60  SRCPKGSUFFIX="mpks"  SRCPKGSUFFIX="mpks"
61  MAGESUFFIX="mage"  MAGESUFFIX="mage"
62  SMAGESUFFIX="smage2"  SMAGESUFFIX="smage2"
63    
64    # Purge targets
65    # Array with all files which shall be removed from every package on build-time
66    # Do not touch these settings if you don't know what you are doing
67    PURGE_TARGETS=( usr/share/info/dir usr/share/info/dir.gz )
68    
69  # Distcc specific settings  # Distcc specific settings
70  #DISTCC_HOSTS=""  #DISTCC_HOSTS=""
71  DISTCC_DIR="${BUILDDIR}/.distcc"  DISTCC_DIR="${BUILDDIR}/.distcc"
# Line 71  DISTCC_LOG="/var/log/distcc.log" Line 75  DISTCC_LOG="/var/log/distcc.log"
75  # Default mirrors and download options  # Default mirrors and download options
76  MIRRORS="http://magellan-linux.de/magellan"  MIRRORS="http://magellan-linux.de/magellan"
77  GNU_MIRRORS="ftp://ftp.gnu.org/pub/gnu ftp://ftp.cs.tu-berlin.de/pub/gnu"  GNU_MIRRORS="ftp://ftp.gnu.org/pub/gnu ftp://ftp.cs.tu-berlin.de/pub/gnu"
78  SOURCEFORGE_MIRRORS="http://belnet.dl.sourceforge.net/sourceforge http://mesh.dl.sourceforge.net/sourceforge"  SOURCEFORGE_MIRRORS="http://downloads.sf.net http://garr.dl.sourceforge.net/sourceforge http://dfn.dl.sourceforge.net/sourceforge http://mesh.dl.sourceforge.net/sourceforge http://belnet.dl.sourceforge.net/sourceforge "
79  GNOME_MIRRORS="http://ftp.gnome.org/pub/gnome/sources/ ftp://ftp.gnome.org/pub/gnome/sources/"  GNOME_MIRRORS="http://ftp.gnome.org/pub/gnome/sources/ ftp://ftp.gnome.org/pub/gnome/sources/"
80  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"
81  RSYNC="rsync://magellan-linux.de/mage-ix86"  RSYNC="rsync://magellan-linux.de/mage-ix86"
82  SMAGE2RSYNC="rsync://magellan-linux.de/smage-cvs"  SMAGE2RSYNC="rsync://magellan-linux.de/smage-cvs"
83    PACKAGES_SERVER_PATH="packages/${ARCH}"
84    
85  # enables on-the-fly regeneration of the mage tree via smage2 files.  # Default fetch options for rsync
86  # 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"
87  #REGEN_MAGE_TREE=true  # Default fetch options for wget
88  MAGE_TREE_DEST="${MAGEDIR}"  WGET_FETCH_OPTIONS="--passive-ftp --tries 3 --continue --progress bar"
89    # Default update method for the package database - 'rsync' or 'tarball' method can be selected
90  # creates on-the-fly source-tarballs when building packages with smage2  MAGE_UPDATE_METHOD="tarball"
 #CREATE_SRC_PKG_TARBALL=true  
   
 # enables step-by-step execution of the smage-file (for debugging only)  
 #STEP_BY_STEP=true  
91    
92  # disables logging of smage builds  # All supported global features in mage/smage:
93  # currently for src_pepare, src_compile, src_install functions only  # You can negate any feature with a ! in front
94  #SMAGE_BUILD_LOGGING=false  # Please use the MAGE_FEATURES array to override these settings in local mage.rc
95    #
96    #      autosvc|!autosvc
97    #          * Automatically start/stop/restarts services on installation
98    #      buildlog|!buildlog
99    #          * Enables logging of smage builds
100    #          * Currently for src_pepare, src_compile, src_install functions only
101    #          * For developers only
102    #      ccache|!ccache
103    #          * Enable ccache support in smage
104    #          * ccache must be installed to use this feature
105    #          * For developers only
106    #      check|!check
107    #          * Runs the check function src_check() after completing src_compile()
108    #          * For developers only
109    #      compressdoc|!compressdoc
110    #          * Enables compression of man, info and other doc files for minimizing diskspace usage
111    #          * For developers only
112    #      debug|!debug
113    #          * Enables or disables debug mode
114    #          * Do not touch this feature if you don't know what you are doing
115    #          * The debug mode may break things like resolving dependencies
116    #          * For developers only
117    #      distcc|!distcc
118    #          * Enable distcc support in smage
119    #          * distcc must be installed to use this feature
120    #          * For developers only
121    #      icecc|!icecc
122    #          * Enable icecc support in smage
123    #          * icecream must be installed to use this feature
124    #          * For developers only
125    #      kernelsrcunpack|!kernelsrcunpack
126    #          * Automatically unpacks any kernel-source tarballs to /usr/src
127    #      libtool|!libtool
128    #          * Includes .la libtool archives in builded packages, to remove them set !libtool
129    #          * For developers only
130    #      linuxsymlink|!linuxsymlink
131    #          * Automatically updates the /usr/src/linux symlink to the installed kernel-sources version
132    #          * Requires the kernelsrcunpack feature to be activated
133    #      pkgbuild|!pkgbuild
134    #          * Enables or disables the package build process
135    #          * !pkgbuild feature is only intended to be used for special-cases,
136    #          * like virtuals and not to be a global feature. Use this with care.
137    #          * Only disable this feature, if you know what you are doing!
138    #          * For developers only
139    #      pkgdistrotag|!pkgdistrotag
140    #          * Appends the distribution codename-tag to the builded packages
141    #          * Do not touch this feature, for internal use only!!
142    #          * For developers only
143    #      purge|!purge
144    #          * Purges files specified by PURGE_TARGETS array from every package build
145    #          * Do not touch this feature if you don't know what you are doing
146    #          * For developers only
147    #      qalint|!qalint
148    #          * Quality assurance checks will be run while building a package
149    #          * Magellan lint utilities must be installed to use this feature
150    #          * Only enable this feature for QA purposes only,
151    #          * pkgbuild may fail even on non-fatal errors and warnings
152    #          * For developers only
153    #      regentree|!regentree
154    #          * Automatically import packages in the mage-tree after building with smage
155    #          * The target mage-tree can be defined with the MAGE_TREE_DEST variable
156    #          * For developers only
157    #      resume|!resume
158    #          * resumes a build from the last successful step
159    #          * Do not touch this feature, for internal use only!!
160    #          * For developers only
161    #      srcpkgbuild|!srcpkgbuild
162    #          * Enable this to create source-tarballs on-the-fly when building packages
163    #          * For developers only
164    #      srcpkgtarball|!srcpkgtarball
165    #          * Let smage build the package from a src tarball .mpks
166    #          * Do not touch this feature, for internal use only!!
167    #      static|!static
168    #          * Let mconfigure() enable or disable compilation of static libraries
169    #          * For developers only
170    #      stepbystep|!stepbystep
171    #          * Enables step-by-step execution of the smage-file for debugging
172    #          * Currently for src_pepare(), src_compile(), src_check(), src_install() functions
173    #          * For developers only
174    #      strip|!strip
175    #          * Enables stripping to remove debugging symbols of resulting binaries
176    #          * For developers only
177    #      verbose|!verbose
178    #          * Enables or disables verbose mode
179    #
180    # To individually change these features within a smage file, you can use the msetfeature() function
181    #
182    MAGE_FEATURES_GLOBAL=( "autosvc" "buildlog" "ccache" "check" "compressdoc" "!debug" "!distcc" "!icecc" "kernelsrcunpack" "!libtool" "linuxsymlink" "pkgbuild" "!pkgdistrotag" "purge" "!qalint" "regentree" "!resume" "!srcpkgbuild" "!srcpkgtarball" "!static" "!stepbystep" "strip" "!verbose" )

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