CVS compilation tool
Marc Schwartz
MSchwartz at MedAnalytics.com
Mon Aug 2 20:45:15 CEST 2004
<snip>
FWIW, here is my bash script. Be sure to set the cvs_dir variable to the
proper path, which will typically be the 'xfce4' folder below the
current working directory. Note that I use multiple lines to set the
PKG_CONFIG_PATH, just because I find it easier to add/delete/edit one
when and if required, rather than one monolithic line. Note that I also
have configure set for debugging by default. Note also that I run this
script as root.
# SET XFCE4 CVS DOWNLOAD DIRECTORY
cvs_dir="PATH.TO.CVS.MAIN.DIR/xfce4"
# SET REQUIRED PKG_CONFIG DIRECTORIES
PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig
PKG_CONFIG_PATH=$PKG_CONFIG_PATH:${cvs_dir}/xfce4-panel/panel
PKG_CONFIG_PATH=$PKG_CONFIG_PATH:${cvs_dir}/libxfcegui4/libxfcegui4
PKG_CONFIG_PATH=$PKG_CONFIG_PATH:${cvs_dir}/libxfce4util/libxfce4util
PKG_CONFIG_PATH=$PKG_CONFIG_PATH:${cvs_dir}/libxfce4mcs/libxfce4mcs
PKG_CONFIG_PATH=$PKG_CONFIG_PATH:${cvs_dir}/xfce-mcs-manager/xfce-mcs-manager
PKG_CONFIG_PATH=$PKG_CONFIG_PATH:${cvs_dir}/xfce4/xffm/src
PKG_CONFIG_PATH=$PKG_CONFIG_PATH:${cvs_dir}/xfce4-session/xfce4-session
export PKG_CONFIG_PATH
# GET CVS FILES - ALL MODULES
cvs -d:pserver:anoncvs at cvs.xfce.org:/cvsroot/xfce co xfce4
# The first four modules must be built in the defined order
# Then build others.
# xfce-panel must be built and installed BEFORE building panel plug-ins
modules="
libxfce4util
libxfcegui4
libxfce4mcs
xfce-mcs-manager
xfce4-panel
xfce-mcs-plugins
xfwm4
xfce-utils
xfce4-modules
xffm
xfdesktop
xfce4-session
xfprint
gtk-xfce-engine-2
xfce4-iconbox
xfce4-mixer
xfce4-systray
xfce4-themes
xfce4-toys
xfce4-trigger-launcher
xffm-icons
xfwm4-themes
xfce4-appfinder
xfcalendar";
# Now loop through each module, build and install
for module in $modules
do
echo "Building Module: ${module}"
cd ${cvs_dir}/${module}
./configure --enable-debug
make
make install
# Update libraries
/sbin/ldconfig
echo -e "\n\n\n"
done
HTH,
Marc Schwartz
More information about the Xfce4-dev
mailing list