#!/bin/sh if test -z "${SRC_ROOT}"; then echo "distro-install-clean-up: No environment set!" exit 1 fi if test -d $DESTDIR$INSTALLDIR/sdk ; then echo "SDK installation clean up" # bin potential .orig files find $DESTDIR$INSTALLDIR/sdk -name "*.orig" -exec rm -f {} \; # move some SDK directories to the right place according to FHS # note that examples must stay in $DESTDIR$INSTALLDIR/sdk because there are used # relative paths to $DESTDIR$INSTALLDIR/sdk/setting and it does not work via # a symlink mkdir -p $DESTDIR$PREFIXDIR/include mkdir -p $DESTDIR$DATADIR/idl mkdir -p $DESTDIR$DATADIR/$INSTALLDIRNAME/sdk mkdir -p $DESTDIR$DOCDIR/sdk mv $DESTDIR$INSTALLDIR/sdk/include $DESTDIR$PREFIXDIR/include/$INSTALLDIRNAME if [ -d $DESTDIR$INSTALLDIR/sdk/classes ]; then mv $DESTDIR$INSTALLDIR/sdk/classes $DESTDIR$DATADIR/$INSTALLDIRNAME/sdk/classes fi mv $DESTDIR$INSTALLDIR/sdk/idl $DESTDIR$DATADIR/idl/$INSTALLDIRNAME mv $DESTDIR$INSTALLDIR/sdk/docs $DESTDIR$DOCDIR/sdk mv $DESTDIR$INSTALLDIR/sdk/share/readme $DESTDIR$DOCDIR/sdk/readme mv $DESTDIR$INSTALLDIR/sdk/index.html $DESTDIR$DOCDIR/sdk # compat symlinks ln -sf $PREFIXDIR/include/$INSTALLDIRNAME $DESTDIR$INSTALLDIR/sdk/include ln -sf $DATADIR/$INSTALLDIRNAME/sdk/classes $DESTDIR$INSTALLDIR/sdk/classes ln -sf $DATADIR/idl/$INSTALLDIRNAME $DESTDIR$INSTALLDIR/sdk/idl ln -sf $DOCDIR/sdk/docs $DESTDIR$INSTALLDIR/sdk/ ln -sf $DOCDIR/sdk/index.html $DESTDIR$INSTALLDIR/sdk/index.html ln -sf $INSTALLDIR/sdk/examples $DESTDIR$DOCDIR/sdk/examples # fix file list sed -e "s|^\(%dir \)\?$INSTALLDIR/sdk/include|\1$PREFIXDIR/include/$INSTALLDIRNAME|" \ -e "s|^\(%dir \)\?$INSTALLDIR/sdk/classes|\1$DATADIR/$INSTALLDIRNAME/sdk/classes|" \ -e "s|^\(%dir \)\?$INSTALLDIR/sdk/idl|\1$DATADIR/idl/$INSTALLDIRNAME|" \ -e "s|^\(%dir \)\?$INSTALLDIR/sdk/docs|\1$DOCDIR/sdk/docs|" \ -e "s|^\(%dir \)\?$INSTALLDIR/sdk/share/readme|\1$DOCDIR/sdk/readme|" \ -e "s|^$INSTALLDIR/sdk/index.html$|$DOCDIR/sdk/index.html|" \ -e "s|^\(%dir \)\?$INSTALLDIR/sdk/share.*$||" \ -e "/\.orig$/D" \ -e "/^$/D" \ $DESTDIR/gid_Module_Root_SDK | sort -u \ >$DESTDIR/gid_Module_Root_SDK.new mv $DESTDIR/gid_Module_Root_SDK.new $DESTDIR/gid_Module_Root_SDK # echo "%dir $DATADIR/$INSTALLDIRNAME/sdk" >>$DESTDIR/gid_Module_Root_SDK echo "%dir $DATADIR/$INSTALLDIRNAME" >>$DESTDIR/gid_Module_Root_SDK echo "%dir $DATADIR/idl" >>$DESTDIR/gid_Module_Root_SDK echo "%dir $DOCDIR/sdk/docs" >>$DESTDIR/gid_Module_Root_SDK echo "%dir $DOCDIR/sdk" >>$DESTDIR/gid_Module_Root_SDK echo "%dir $DOCDIR" >>$DESTDIR/gid_Module_Root_SDK echo "$INSTALLDIR/sdk/include" >>$DESTDIR/gid_Module_Root_SDK echo "$INSTALLDIR/sdk/classes" >>$DESTDIR/gid_Module_Root_SDK echo "$INSTALLDIR/sdk/idl" >>$DESTDIR/gid_Module_Root_SDK echo "$INSTALLDIR/sdk/docs" >>$DESTDIR/gid_Module_Root_SDK echo "$INSTALLDIR/sdk/index.html" >>$DESTDIR/gid_Module_Root_SDK echo "$DOCDIR/sdk/examples" >>$DESTDIR/gid_Module_Root_SDK # generate default profiles sed -e "s,@OO_SDK_NAME@,openoffice.org${PRODUCTVERSION}_sdk," \ -e "s,@OO_SDK_HOME@,$INSTALLDIR/sdk," \ -e "s,@OFFICE_HOME@,$INSTALLDIR," \ -e "s,@OO_SDK_MAKE_HOME@,/usr/bin," \ -e "s,@OO_SDK_ZIP_HOME@,/usr/bin," \ -e "s,@OO_SDK_CPP_HOME@,/usr/bin," \ -e "s,@OO_SDK_SED_HOME@,/usr/bin," \ -e "s,@OO_SDK_CAT_HOME@,/usr/bin," \ -e "s,@OO_SDK_JAVA_HOME@,$JAVA_HOME," \ -e "s,@OO_SDK_OUTPUT_DIR@,\$HOME," \ -e "s,@SDK_AUTO_DEPLOYMENT@,NO," \ $DESTDIR$INSTALLDIR/sdk/setsdkenv_unix.sh.in \ > $DESTDIR$INSTALLDIR/sdk/setsdkenv_unix.sh chmod 755 $DESTDIR$INSTALLDIR/sdk/setsdkenv_unix.sh echo $INSTALLDIR/sdk/setsdkenv_unix.sh >>$DESTDIR/gid_Module_Root_SDK fi labora/cp-6.4 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/mysqlc
AgeCommit message (Expand)Author
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák
2013-03-19removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings declarationsThomas Arnhold
2013-03-19automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold
2013-03-14remove legacy build.pl prj/build.lst files.Michael Meeks
2013-03-14Link only what one needsFridrich Štrba
2013-03-14Build thread-enabled internal libmariadb on UNXFridrich Štrba
2013-03-11No need to copy any library from any pathFridrich Štrba
2013-03-11Do not try to dlopen a static internal libmariadbFridrich Štrba
2013-03-10Adapt to removed MYSQL_LIBStephan Bergmann
2013-03-10oopsRene Engelhard
2013-03-10more s/MYSQLC/MARIADBC/ to make mysqlc actually build...Rene Engelhard
2013-03-10adapt config_host.mk.in/scp2/mysqlc to MARIADBCRene Engelhard
2013-03-07Make gb_Extension_use_default_description/license explicitStephan Bergmann
2013-03-06Adding libmariadb module for internal mariadb (work in progress)Fridrich Štrba
2013-03-06Switch from libmysqlc library to mariadb-native-clientFridrich Štrba
2013-03-03Related to fdo#60724: correct spellingThomas Arnhold
2013-03-01fdo#60907 Use *one* variable for the MySQL library fileLionel Elie Mamane
2013-03-01mysqlc/README was *very* out of dateLionel Elie Mamane
2013-02-28remove all d.lstMichael Stahl
2013-02-26mysqlc: disable fast strings to remove dependency on LIBO_UDK_4.1Michael Stahl
2013-02-24fdo#60907 no space in front of MYSQL_LIBLionel Elie Mamane
2013-02-20fdo#60907 export libmysql file name'David Tardon
2013-02-07mysqlc: bump version number to 1.0.2Michael Stahl
2013-02-07mysqlc: remove component_writeInfo with passive registrationMichael Stahl
2013-01-28mysqlc: tweak gbuild conversion:Michael Stahl
2013-01-28convert mysqlc to gbuild and add to tail_buildPeter Foley
2013-01-26gbuild: do not copy boost headers aroundMichael Stahl
2013-01-16Get rid of GetVersionInfo and checkdllTor Lillqvist
2012-12-25Get rid of (most uses of) GUITor Lillqvist
2012-12-18Do not define CPPCONN_LIB if using system versionTomas Chvatal
2012-12-15fdo#58156 use WITH_LANG_LIST instead of WITH_LANGAndras Timar
2012-12-12Remove xml2cmp leftoversStephan Bergmann
2012-11-22Use xcrun when available to run install_name_toolTor Lillqvist
2012-11-21"newtrans.1.0" -> "translations"Stephan Bergmann
2012-11-19Extend localization to mysqlcZolnai Tamás
2012-11-04MySQL Connector display nameAndras Timar
2012-09-25replace remaining InterlockedCount() with inlined versionNorbert Thiebaud
2012-08-14-Wc++11-narrowing (Clang towards 3.2)Stephan Bergmann
2012-08-14fdo#53061: Fix for C++11 #define NULL nullptrJung-uk Kim
2012-08-13misc. cleanup.Michael Meeks