Compare commits
118 Commits
@ -1,6 +0,0 @@
|
||||
[submodule "admin"]
|
||||
path = admin
|
||||
url = http://system@scm.trinitydesktop.org/scm/git/tde-common-admin
|
||||
[submodule "cmake"]
|
||||
path = cmake
|
||||
url = http://system@scm.trinitydesktop.org/scm/git/tde-common-cmake
|
@ -1,51 +0,0 @@
|
||||
CMake 2.4.4 (or later) is required to build Kile.
|
||||
|
||||
Building Kile
|
||||
=============
|
||||
|
||||
1. Get the Kile directory from trunk (there is no need to get the whole office
|
||||
module anymore).
|
||||
|
||||
2. Create a "kile-build" directory somewhere for an out-of-source build.
|
||||
|
||||
3. Enter the "kile-build" directory and call cmake with:
|
||||
|
||||
cmake <path to the kile directory> -DCMAKE_INSTALL_PREFIX=$HOME/.trinity
|
||||
|
||||
to install Kile later on in the current user's home directory.
|
||||
|
||||
4. In the "kile-build" directory, issue "make" to start the build process.
|
||||
Issuing "make install" will start the installation process, for which the DESTDIR
|
||||
option can be used to specify the base directory of the installed files.
|
||||
|
||||
|
||||
Building Documentation
|
||||
======================
|
||||
|
||||
The documentation will automatically be built provided that the documentation files
|
||||
are located in the following directories:
|
||||
<kile-root>
|
||||
/doc for the standard documentation and
|
||||
accompanying image files
|
||||
|
||||
/translations
|
||||
/<language>
|
||||
/doc for the translated documentation and
|
||||
images in language <language>
|
||||
|
||||
/messages for the translated message catalogs
|
||||
in language <language>
|
||||
|
||||
Please note that every docbook must be called "index.docbook" and that only PNG image
|
||||
files can be used. Furthermore, message catalogs must be called "kile.po".
|
||||
|
||||
When the "doc" and "translations" directories are found, the build targets "docbooks"
|
||||
and "translations" will be generated for the compiling of the documentation.
|
||||
|
||||
|
||||
Special Flags
|
||||
=============
|
||||
|
||||
The flag "KILE_VERSION" can be set in the CMake cache to specify the installation
|
||||
directory of basic documentation files (README, AUTHORS, ChangeLog,...), i.e. they
|
||||
will be installed in "share/doc/kile-${KILE_VERSION}/" instead of "share/doc/kile/".
|
@ -0,0 +1,22 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2018 Slávek Banko
|
||||
# slavek.banko (AT) axis.cz
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
cmake_minimum_required( VERSION 3.1 )
|
||||
|
||||
|
||||
##### include our cmake modules #################
|
||||
|
||||
include( TDEL10n )
|
||||
|
||||
|
||||
##### create translation templates ##############
|
||||
|
||||
tde_l10n_auto_add_subdirectories( )
|
@ -0,0 +1,86 @@
|
||||
############################################
|
||||
# #
|
||||
# Improvements and feedbacks are welcome #
|
||||
# #
|
||||
# This file is released under GPL >= 3 #
|
||||
# #
|
||||
############################################
|
||||
|
||||
|
||||
cmake_minimum_required( VERSION 3.1 )
|
||||
|
||||
|
||||
#### general package setup
|
||||
|
||||
project( kile )
|
||||
|
||||
|
||||
#### include essential cmake modules
|
||||
|
||||
include( FindPerl )
|
||||
include( FindPkgConfig )
|
||||
include( CheckFunctionExists )
|
||||
include( CheckSymbolExists )
|
||||
include( CheckIncludeFile )
|
||||
include( CheckLibraryExists )
|
||||
include( CheckCSourceCompiles )
|
||||
include( CheckCXXSourceCompiles )
|
||||
|
||||
|
||||
#### include our cmake modules
|
||||
|
||||
include( TDEMacros )
|
||||
|
||||
|
||||
##### set version number ########################
|
||||
|
||||
tde_set_project_version( )
|
||||
|
||||
|
||||
##### setup install paths
|
||||
|
||||
include( TDESetupPaths )
|
||||
tde_setup_paths( )
|
||||
|
||||
|
||||
##### optional stuff
|
||||
|
||||
option( WITH_ALL_OPTIONS "Enable all optional support" OFF )
|
||||
option( WITH_GCC_VISIBILITY "Enable fvisibility and fvisibility-inlines-hidden" ${WITH_ALL_OPTIONS} )
|
||||
|
||||
|
||||
##### user requested modules
|
||||
|
||||
option( BUILD_ALL "Build all" ON )
|
||||
option( BUILD_DOC "Build documentation" ${BUILD_ALL} )
|
||||
option( BUILD_TRANSLATIONS "Build translations" ${BUILD_ALL} )
|
||||
|
||||
|
||||
##### configure checks
|
||||
|
||||
include( ConfigureChecks.cmake )
|
||||
|
||||
|
||||
###### global compiler settings
|
||||
|
||||
add_definitions( -DHAVE_CONFIG_H )
|
||||
|
||||
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${TQT_CXX_FLAGS}" )
|
||||
set( CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined" )
|
||||
set( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined" )
|
||||
|
||||
|
||||
##### directories
|
||||
|
||||
add_subdirectory( src )
|
||||
|
||||
|
||||
##### other data ################################
|
||||
|
||||
tde_conditional_add_project_docs( BUILD_DOC )
|
||||
tde_conditional_add_project_translations( BUILD_TRANSLATIONS )
|
||||
|
||||
|
||||
##### write configure files
|
||||
|
||||
configure_file( config.h.cmake config.h @ONLY )
|
@ -0,0 +1,27 @@
|
||||
###########################################
|
||||
# #
|
||||
# Improvements and feedback are welcome #
|
||||
# #
|
||||
# This file is released under GPL >= 3 #
|
||||
# #
|
||||
###########################################
|
||||
|
||||
|
||||
# required stuff
|
||||
|
||||
tde_setup_architecture_flags( )
|
||||
|
||||
include(TestBigEndian)
|
||||
test_big_endian(WORDS_BIGENDIAN)
|
||||
|
||||
tde_setup_largefiles( )
|
||||
|
||||
find_package( TQt )
|
||||
find_package( TDE )
|
||||
|
||||
|
||||
##### check for gcc visibility support #########
|
||||
|
||||
if( WITH_GCC_VISIBILITY )
|
||||
tde_setup_gcc_visibility( )
|
||||
endif( )
|
@ -0,0 +1,42 @@
|
||||
Basic Installation
|
||||
==================
|
||||
|
||||
kile relies on cmake to build.
|
||||
|
||||
Here are suggested default options:
|
||||
|
||||
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
|
||||
-DCONFIG_INSTALL_DIR="/etc/trinity" \
|
||||
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
|
||||
-DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \
|
||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||
-DCMAKE_VERBOSE_MAKEFILE="ON" \
|
||||
-DCMAKE_SKIP_RPATH="OFF" \
|
||||
-DBUILD_ALL="ON" \
|
||||
-DWITH_ALL_OPTIONS="ON"
|
||||
|
||||
|
||||
Requirements for use:
|
||||
=====================
|
||||
|
||||
Basic:
|
||||
|
||||
- TeTeX 2.0/3.0 or TeXLive (Including "AMS"-Packages and the documentation)
|
||||
- KDVI
|
||||
|
||||
Advanced:
|
||||
|
||||
- KPDF, KGhostView (Viewing PS and PDF)
|
||||
- Acroread (Viewing PDF)
|
||||
- Imagemagick, DVIPNG 1.7 (Bottom bar preview)
|
||||
|
||||
By default there are also tools for the following programs defined:
|
||||
|
||||
- Tar/zip/gzip/bzip2 (Archive)
|
||||
- DBlatex (Docbook to LaTeX)
|
||||
- Metapost and Asymptote
|
||||
- Latex2html (LaTeX to Web)
|
||||
- Tex4ht (LaTeX to Web)
|
||||
- Lilypond (Music Typesetting)
|
||||
- Konqueror/Mozilla/Firefox (Viewing HTML)
|
||||
- Kbibtex, KBib, JabRef, pybliographer, gbib (View Bibtex files)
|
@ -1,7 +1,7 @@
|
||||
In order to install Kile on MacOS X, you need the following things:
|
||||
- a working X11 installation
|
||||
- a working LaTeX distribution
|
||||
- the KDE libraries
|
||||
- the TDE libraries
|
||||
- and Kile itself, of course
|
||||
|
||||
Once everything is in place, Kile needs X11 to run, so make sure you launch X11 before Kile.
|
@ -1,5 +0,0 @@
|
||||
AUTOMAKE_OPTIONS = foreign 1.5
|
||||
|
||||
include admin/deps.am
|
||||
include admin/Doxyfile.am
|
||||
SUBDIRS=$(TOPSUBDIRS)
|
@ -1,4 +0,0 @@
|
||||
AUTOMAKE_OPTIONS = foreign 1.5
|
||||
|
||||
include admin/deps.am
|
||||
include admin/Doxyfile.am
|
@ -1,54 +0,0 @@
|
||||
Dear User/Packager,
|
||||
|
||||
this Readme is targeted towards people who want to build Kile from source or plan to create binary packages.
|
||||
If you have created a package, please drop us a note ( kile-devel@lists.sourceforge.net ) so that we can promote your package.
|
||||
All specified versions are minimum versions except for KDE and QT.
|
||||
|
||||
1.) Checking dependencies
|
||||
|
||||
- tdelibs 3.2 - 3.5 and according QT development packages
|
||||
- autoconf 2.53, automake and make (alternatively cmake 2.4.4, see also Building-with-cmake.txt)
|
||||
- gcc 3.x/4.x
|
||||
|
||||
2.) Building Kile from source
|
||||
|
||||
- Extract the source code with `tar xjf kile-2.0.x.tar.bz2`
|
||||
- `cd kile-2.0.x`
|
||||
- ./configure --prefix=path_to_KDE3 (/usr or /opt/trinity generally) --with-qt-dir=path_to_QT3 library (/usr/lib/qt3 generally)
|
||||
-- If you don't know what the path to KDE3 on your system is, you can use output of `tde-config --prefix`.
|
||||
-- Or you can choose `--prefix=$HOME/.trinity` to not mess up with your distribution's package management system.
|
||||
- Type `make` to compile the package.
|
||||
- Type `make install` to install the programs, data files and documentation.
|
||||
- Type `kile` and enjoy the power of LaTeX together with the joy of using Kile :)
|
||||
|
||||
3.) Using Kile
|
||||
|
||||
To use Kile you (obviously) need some external programs.
|
||||
The following list is divided into basic, advanced and additional usage.
|
||||
|
||||
Basic:
|
||||
|
||||
- TeTeX 2.0/3.0 or TeXLive 2005/2007 (Including "AMS"-Packages and the documentation)
|
||||
- KDVI
|
||||
|
||||
Advanced:
|
||||
|
||||
- KPDF, KGhostView (Viewing PS and PDF)
|
||||
- Acroread (Viewing PDF)
|
||||
- Imagemagick, DVIPNG 1.7 (Bottom bar preview)
|
||||
|
||||
By default there are also tools for the following programs defined:
|
||||
|
||||
- Tar/zip/gzip/bzip2 (Archive)
|
||||
- DBlatex (Docbook to LaTeX)
|
||||
- Metapost and Asymptote
|
||||
- Latex2html (LaTeX to Web)
|
||||
- Tex4ht (LaTeX to Web)
|
||||
- Lilypond (Music Typesetting)
|
||||
- Konqueror/Mozilla/Firefox (Viewing HTML)
|
||||
- Kbibtex, KBib, JabRef, pybliographer, gbib (View Bibtex files)
|
||||
|
||||
If you have any questions or corrections, please don't hesitate to contact us via kile-devel@lists.sourceforge.net.
|
||||
|
||||
The Kile dev team
|
||||
|
@ -0,0 +1,39 @@
|
||||
|
||||
Kile - a user-friendly LaTeX source editor and TeX shell for TDE
|
||||
|
||||
|
||||
The source editor is a multi-document editor designed for .tex and .bib
|
||||
files. Menus, wizards and auto-completion are provided to assist with
|
||||
tag insertion and code generation. A structural view of the document
|
||||
assists with navigation within source files.
|
||||
|
||||
The TeX shell integrates the various tools required for TeX processing.
|
||||
It assists with LaTeX compilation, DVI and postscript document viewing,
|
||||
generation of bibliographies and indices and other common tasks.
|
||||
|
||||
Kile can support large projects consisting of several smaller files.
|
||||
|
||||
.
|
||||
|
||||
Contributing
|
||||
--------------
|
||||
|
||||
If you wish to contribute to kile, you might do so:
|
||||
|
||||
- TDE Gitea Workspace (TGW) collaboration tool.
|
||||
https://mirror.git.trinitydesktop.org/gitea
|
||||
|
||||
- TDE Weblate Translation Workspace (TWTW) collaboration tool.
|
||||
https://mirror.git.trinitydesktop.org/weblate
|
||||
|
||||
|
||||
Translations status
|
||||
---------------------
|
||||
|
||||
### messages
|
||||
[![Translations status](https://mirror.git.trinitydesktop.org/weblate/widgets/applications/-/kile/multi-auto.svg
|
||||
"Engage in translating")](https://mirror.git.trinitydesktop.org/weblate/projects/applications/kile/)
|
||||
|
||||
### desktop files
|
||||
[![Translations status](https://mirror.git.trinitydesktop.org/weblate/widgets/applications/-/kile-desktop-files/multi-auto.svg
|
||||
"Engage in translating")](https://mirror.git.trinitydesktop.org/weblate/projects/applications/kile-desktop-files/)
|
@ -1,910 +0,0 @@
|
||||
# generated automatically by aclocal 1.10.1 -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
|
||||
# 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
m4_ifndef([AC_AUTOCONF_VERSION],
|
||||
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
|
||||
m4_if(AC_AUTOCONF_VERSION, [2.61],,
|
||||
[m4_warning([this file was generated for autoconf 2.61.
|
||||
You have another version of autoconf. It may work, but is not guaranteed to.
|
||||
If you have problems, you may need to regenerate the build system entirely.
|
||||
To do so, use the procedure documented by the package, typically `autoreconf'.])])
|
||||
|
||||
# Copyright (C) 2002, 2003, 2005, 2006, 2007 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# AM_AUTOMAKE_VERSION(VERSION)
|
||||
# ----------------------------
|
||||
# Automake X.Y traces this macro to ensure aclocal.m4 has been
|
||||
# generated from the m4 files accompanying Automake X.Y.
|
||||
# (This private macro should not be called outside this file.)
|
||||
AC_DEFUN([AM_AUTOMAKE_VERSION],
|
||||
[am__api_version='1.10'
|
||||
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
|
||||
dnl require some minimum version. Point them to the right macro.
|
||||
m4_if([$1], [1.10.1], [],
|
||||
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
|
||||
])
|
||||
|
||||
# _AM_AUTOCONF_VERSION(VERSION)
|
||||
# -----------------------------
|
||||
# aclocal traces this macro to find the Autoconf version.
|
||||
# This is a private macro too. Using m4_define simplifies
|
||||
# the logic in aclocal, which can simply ignore this definition.
|
||||
m4_define([_AM_AUTOCONF_VERSION], [])
|
||||
|
||||
# AM_SET_CURRENT_AUTOMAKE_VERSION
|
||||
# -------------------------------
|
||||
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
|
||||
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
|
||||
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
|
||||
[AM_AUTOMAKE_VERSION([1.10.1])dnl
|
||||
m4_ifndef([AC_AUTOCONF_VERSION],
|
||||
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
|
||||
_AM_AUTOCONF_VERSION(AC_AUTOCONF_VERSION)])
|
||||
|
||||
# AM_AUX_DIR_EXPAND -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
|
||||
# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
|
||||
# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
|
||||
#
|
||||
# Of course, Automake must honor this variable whenever it calls a
|
||||
# tool from the auxiliary directory. The problem is that $srcdir (and
|
||||
# therefore $ac_aux_dir as well) can be either absolute or relative,
|
||||
# depending on how configure is run. This is pretty annoying, since
|
||||
# it makes $ac_aux_dir quite unusable in subdirectories: in the top
|
||||
# source directory, any form will work fine, but in subdirectories a
|
||||
# relative path needs to be adjusted first.
|
||||
#
|
||||
# $ac_aux_dir/missing
|
||||
# fails when called from a subdirectory if $ac_aux_dir is relative
|
||||
# $top_srcdir/$ac_aux_dir/missing
|
||||
# fails if $ac_aux_dir is absolute,
|
||||
# fails when called from a subdirectory in a VPATH build with
|
||||
# a relative $ac_aux_dir
|
||||
#
|
||||
# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
|
||||
# are both prefixed by $srcdir. In an in-source build this is usually
|
||||
# harmless because $srcdir is `.', but things will broke when you
|
||||
# start a VPATH build or use an absolute $srcdir.
|
||||
#
|
||||
# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
|
||||
# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
|
||||
# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
|
||||
# and then we would define $MISSING as
|
||||
# MISSING="\${SHELL} $am_aux_dir/missing"
|
||||
# This will work as long as MISSING is not called from configure, because
|
||||
# unfortunately $(top_srcdir) has no meaning in configure.
|
||||
# However there are other variables, like CC, which are often used in
|
||||
# configure, and could therefore not use this "fixed" $ac_aux_dir.
|
||||
#
|
||||
# Another solution, used here, is to always expand $ac_aux_dir to an
|
||||
# absolute PATH. The drawback is that using absolute paths prevent a
|
||||
# configured tree to be moved without reconfiguration.
|
||||
|
||||
AC_DEFUN([AM_AUX_DIR_EXPAND],
|
||||
[dnl Rely on autoconf to set up CDPATH properly.
|
||||
AC_PREREQ([2.50])dnl
|
||||
# expand $ac_aux_dir to an absolute path
|
||||
am_aux_dir=`cd $ac_aux_dir && pwd`
|
||||
])
|
||||
|
||||
# AM_CONDITIONAL -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
|
||||
# Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# serial 8
|
||||
|
||||
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
|
||||
# -------------------------------------
|
||||
# Define a conditional.
|
||||
AC_DEFUN([AM_CONDITIONAL],
|
||||
[AC_PREREQ(2.52)dnl
|
||||
ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
|
||||
[$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
|
||||
AC_SUBST([$1_TRUE])dnl
|
||||
AC_SUBST([$1_FALSE])dnl
|
||||
_AM_SUBST_NOTMAKE([$1_TRUE])dnl
|
||||
_AM_SUBST_NOTMAKE([$1_FALSE])dnl
|
||||
if $2; then
|
||||
$1_TRUE=
|
||||
$1_FALSE='#'
|
||||
else
|
||||
$1_TRUE='#'
|
||||
$1_FALSE=
|
||||
fi
|
||||
AC_CONFIG_COMMANDS_PRE(
|
||||
[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
|
||||
AC_MSG_ERROR([[conditional "$1" was never defined.
|
||||
Usually this means the macro was only invoked conditionally.]])
|
||||
fi])])
|
||||
|
||||
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
|
||||
# Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# serial 9
|
||||
|
||||
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
|
||||
# written in clear, in which case automake, when reading aclocal.m4,
|
||||
# will think it sees a *use*, and therefore will trigger all it's
|
||||
# C support machinery. Also note that it means that autoscan, seeing
|
||||
# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
|
||||
|
||||
|
||||
# _AM_DEPENDENCIES(NAME)
|
||||
# ----------------------
|
||||
# See how the compiler implements dependency checking.
|
||||
# NAME is "CC", "CXX", "GCJ", or "OBJC".
|
||||
# We try a few techniques and use that to set a single cache variable.
|
||||
#
|
||||
# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
|
||||
# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
|
||||
# dependency, and given that the user is not expected to run this macro,
|
||||
# just rely on AC_PROG_CC.
|
||||
AC_DEFUN([_AM_DEPENDENCIES],
|
||||
[AC_REQUIRE([AM_SET_DEPDIR])dnl
|
||||
AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
|
||||
AC_REQUIRE([AM_MAKE_INCLUDE])dnl
|
||||
AC_REQUIRE([AM_DEP_TRACK])dnl
|
||||
|
||||
ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
|
||||
[$1], CXX, [depcc="$CXX" am_compiler_list=],
|
||||
[$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
|
||||
[$1], UPC, [depcc="$UPC" am_compiler_list=],
|
||||
[$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
|
||||
[depcc="$$1" am_compiler_list=])
|
||||
|
||||
AC_CACHE_CHECK([dependency style of $depcc],
|
||||
[am_cv_$1_dependencies_compiler_type],
|
||||
[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
|
||||
# We make a subdir and do the tests there. Otherwise we can end up
|
||||
# making bogus files that we don't know about and never remove. For
|
||||
# instance it was reported that on HP-UX the gcc test will end up
|
||||
# making a dummy file named `D' -- because `-MD' means `put the output
|
||||
# in D'.
|
||||
mkdir conftest.dir
|
||||
# Copy depcomp to subdir because otherwise we won't find it if we're
|
||||
# using a relative directory.
|
||||
cp "$am_depcomp" conftest.dir
|
||||
cd conftest.dir
|
||||
# We will build objects and dependencies in a subdirectory because
|
||||
# it helps to detect inapplicable dependency modes. For instance
|
||||
# both Tru64's cc and ICC support -MD to output dependencies as a
|
||||
# side effect of compilation, but ICC will put the dependencies in
|
||||
# the current directory while Tru64 will put them in the object
|
||||
# directory.
|
||||
mkdir sub
|
||||
|
||||
am_cv_$1_dependencies_compiler_type=none
|
||||
if test "$am_compiler_list" = ""; then
|
||||
am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
|
||||
fi
|
||||
for depmode in $am_compiler_list; do
|
||||
# Setup a source with many dependencies, because some compilers
|
||||
# like to wrap large dependency lists on column 80 (with \), and
|
||||
# we should not choose a depcomp mode which is confused by this.
|
||||
#
|
||||
# We need to recreate these files for each test, as the compiler may
|
||||
# overwrite some of them when testing with obscure command lines.
|
||||
# This happens at least with the AIX C compiler.
|
||||
: > sub/conftest.c
|
||||
for i in 1 2 3 4 5 6; do
|
||||
echo '#include "conftst'$i'.h"' >> sub/conftest.c
|
||||
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
|
||||
# Solaris 8's {/usr,}/bin/sh.
|
||||
touch sub/conftst$i.h
|
||||
done
|
||||
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
|
||||
|
||||
case $depmode in
|
||||
nosideeffect)
|
||||
# after this tag, mechanisms are not by side-effect, so they'll
|
||||
# only be used when explicitly requested
|
||||
if test "x$enable_dependency_tracking" = xyes; then
|
||||
continue
|
||||
else
|
||||
break
|
||||
fi
|
||||
;;
|
||||
none) break ;;
|
||||
esac
|
||||
# We check with `-c' and `-o' for the sake of the "dashmstdout"
|
||||
# mode. It turns out that the SunPro C++ compiler does not properly
|
||||
# handle `-M -o', and we need to detect this.
|
||||
if depmode=$depmode \
|
||||
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
|
||||
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
|
||||
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
|
||||
>/dev/null 2>conftest.err &&
|
||||
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
|
||||
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
|
||||
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
|
||||
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
|
||||
# icc doesn't choke on unknown options, it will just issue warnings
|
||||
# or remarks (even with -Werror). So we grep stderr for any message
|
||||
# that says an option was ignored or not supported.
|
||||
# When given -MP, icc 7.0 and 7.1 complain thusly:
|
||||
# icc: Command line warning: ignoring option '-M'; no argument required
|
||||
# The diagnosis changed in icc 8.0:
|
||||
# icc: Command line remark: option '-MP' not supported
|
||||
if (grep 'ignoring option' conftest.err ||
|
||||
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
|
||||
am_cv_$1_dependencies_compiler_type=$depmode
|
||||
break
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
cd ..
|
||||
rm -rf conftest.dir
|
||||
else
|
||||
am_cv_$1_dependencies_compiler_type=none
|
||||
fi
|
||||
])
|
||||
AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
|
||||
AM_CONDITIONAL([am__fastdep$1], [
|
||||
test "x$enable_dependency_tracking" != xno \
|
||||
&& test "$am_cv_$1_dependencies_compiler_type" = gcc3])
|
||||
])
|
||||
|
||||
|
||||
# AM_SET_DEPDIR
|
||||
# -------------
|
||||
# Choose a directory name for dependency files.
|
||||
# This macro is AC_REQUIREd in _AM_DEPENDENCIES
|
||||
AC_DEFUN([AM_SET_DEPDIR],
|
||||
[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
|
||||
AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
|
||||
])
|
||||
|
||||
|
||||
# AM_DEP_TRACK
|
||||
# ------------
|
||||
AC_DEFUN([AM_DEP_TRACK],
|
||||
[AC_ARG_ENABLE(dependency-tracking,
|
||||
[ --disable-dependency-tracking speeds up one-time build
|
||||
--enable-dependency-tracking do not reject slow dependency extractors])
|
||||
if test "x$enable_dependency_tracking" != xno; then
|
||||
am_depcomp="$ac_aux_dir/depcomp"
|
||||
AMDEPBACKSLASH='\'
|
||||
fi
|
||||
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
|
||||
AC_SUBST([AMDEPBACKSLASH])dnl
|
||||
_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
|
||||
])
|
||||
|
||||
# Generate code to set up dependency tracking. -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
|
||||
# Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
#serial 3
|
||||
|
||||
# _AM_OUTPUT_DEPENDENCY_COMMANDS
|
||||
# ------------------------------
|
||||
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
|
||||
[for mf in $CONFIG_FILES; do
|
||||
# Strip MF so we end up with the name of the file.
|
||||
mf=`echo "$mf" | sed -e 's/:.*$//'`
|
||||
# Check whether this is an Automake generated Makefile or not.
|
||||
# We used to match only the files named `Makefile.in', but
|
||||
# some people rename them; so instead we look at the file content.
|
||||
# Grep'ing the first line is not enough: some people post-process
|
||||
# each Makefile.in and add a new line on top of each file to say so.
|
||||
# Grep'ing the whole file is not good either: AIX grep has a line
|
||||
# limit of 2048, but all sed's we know have understand at least 4000.
|
||||
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
|
||||
dirpart=`AS_DIRNAME("$mf")`
|
||||
else
|
||||
continue
|
||||
fi
|
||||
# Extract the definition of DEPDIR, am__include, and am__quote
|
||||
# from the Makefile without running `make'.
|
||||
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
|
||||
test -z "$DEPDIR" && continue
|
||||
am__include=`sed -n 's/^am__include = //p' < "$mf"`
|
||||
test -z "am__include" && continue
|
||||
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
|
||||
# When using ansi2knr, U may be empty or an underscore; expand it
|
||||
U=`sed -n 's/^U = //p' < "$mf"`
|
||||
# Find all dependency output files, they are included files with
|
||||
# $(DEPDIR) in their names. We invoke sed twice because it is the
|
||||
# simplest approach to changing $(DEPDIR) to its actual value in the
|
||||
# expansion.
|
||||
for file in `sed -n "
|
||||
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
|
||||
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
|
||||
# Make sure the directory exists.
|
||||
test -f "$dirpart/$file" && continue
|
||||
fdir=`AS_DIRNAME(["$file"])`
|
||||
AS_MKDIR_P([$dirpart/$fdir])
|
||||
# echo "creating $dirpart/$file"
|
||||
echo '# dummy' > "$dirpart/$file"
|
||||
done
|
||||
done
|
||||
])# _AM_OUTPUT_DEPENDENCY_COMMANDS
|
||||
|
||||
|
||||
# AM_OUTPUT_DEPENDENCY_COMMANDS
|
||||
# -----------------------------
|
||||
# This macro should only be invoked once -- use via AC_REQUIRE.
|
||||
#
|
||||
# This code is only required when automatic dependency tracking
|
||||
# is enabled. FIXME. This creates each `.P' file that we will
|
||||
# need in order to bootstrap the dependency handling code.
|
||||
AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
|
||||
[AC_CONFIG_COMMANDS([depfiles],
|
||||
[test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
|
||||
[AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
|
||||
])
|
||||
|
||||
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
|
||||
# Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# serial 8
|
||||
|
||||
# AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS.
|
||||
AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
|
||||
|
||||
# Do all the work for Automake. -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
|
||||
# 2005, 2006, 2008 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# serial 13
|
||||
|
||||
# This macro actually does too much. Some checks are only needed if
|
||||
# your package does certain things. But this isn't really a big deal.
|
||||
|
||||
# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
|
||||
# AM_INIT_AUTOMAKE([OPTIONS])
|
||||
# -----------------------------------------------
|
||||
# The call with PACKAGE and VERSION arguments is the old style
|
||||
# call (pre autoconf-2.50), which is being phased out. PACKAGE
|
||||
# and VERSION should now be passed to AC_INIT and removed from
|
||||
# the call to AM_INIT_AUTOMAKE.
|
||||
# We support both call styles for the transition. After
|
||||
# the next Automake release, Autoconf can make the AC_INIT
|
||||
# arguments mandatory, and then we can depend on a new Autoconf
|
||||
# release and drop the old call support.
|
||||
AC_DEFUN([AM_INIT_AUTOMAKE],
|
||||
[AC_PREREQ([2.60])dnl
|
||||
dnl Autoconf wants to disallow AM_ names. We explicitly allow
|
||||
dnl the ones we care about.
|
||||
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
|
||||
AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
|
||||
AC_REQUIRE([AC_PROG_INSTALL])dnl
|
||||
if test "`cd $srcdir && pwd`" != "`pwd`"; then
|
||||
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
|
||||
# is not polluted with repeated "-I."
|
||||
AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
|
||||
# test to see if srcdir already configured
|
||||
if test -f $srcdir/config.status; then
|
||||
AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
|
||||
fi
|
||||
fi
|
||||
|
||||
# test whether we have cygpath
|
||||
if test -z "$CYGPATH_W"; then
|
||||
if (cygpath --version) >/dev/null 2>/dev/null; then
|
||||
CYGPATH_W='cygpath -w'
|
||||
else
|
||||
CYGPATH_W=echo
|
||||
fi
|
||||
fi
|
||||
AC_SUBST([CYGPATH_W])
|
||||
|
||||
# Define the identity of the package.
|
||||
dnl Distinguish between old-style and new-style calls.
|
||||
m4_ifval([$2],
|
||||
[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
|
||||
AC_SUBST([PACKAGE], [$1])dnl
|
||||
AC_SUBST([VERSION], [$2])],
|
||||
[_AM_SET_OPTIONS([$1])dnl
|
||||
dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
|
||||
m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
|
||||
[m4_fatal([AC_INIT should be called with package and version arguments])])dnl
|
||||
AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
|
||||
AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
|
||||
|
||||
_AM_IF_OPTION([no-define],,
|
||||
[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
|
||||
AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
|
||||
|
||||
# Some tools Automake needs.
|
||||
AC_REQUIRE([AM_SANITY_CHECK])dnl
|
||||
AC_REQUIRE([AC_ARG_PROGRAM])dnl
|
||||
AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
|
||||
AM_MISSING_PROG(AUTOCONF, autoconf)
|
||||
AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
|
||||
AM_MISSING_PROG(AUTOHEADER, autoheader)
|
||||
AM_MISSING_PROG(MAKEINFO, makeinfo)
|
||||
AM_PROG_INSTALL_SH
|
||||
AM_PROG_INSTALL_STRIP
|
||||
AC_REQUIRE([AM_PROG_MKDIR_P])dnl
|
||||
# We need awk for the "check" target. The system "awk" is bad on
|
||||
# some platforms.
|
||||
AC_REQUIRE([AC_PROG_AWK])dnl
|
||||
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
|
||||
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
|
||||
_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
|
||||
[_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
|
||||
[_AM_PROG_TAR([v7])])])
|
||||
_AM_IF_OPTION([no-dependencies],,
|
||||
[AC_PROVIDE_IFELSE([AC_PROG_CC],
|
||||
[_AM_DEPENDENCIES(CC)],
|
||||
[define([AC_PROG_CC],
|
||||
defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
|
||||
AC_PROVIDE_IFELSE([AC_PROG_CXX],
|
||||
[_AM_DEPENDENCIES(CXX)],
|
||||
[define([AC_PROG_CXX],
|
||||
defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
|
||||
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
|
||||
[_AM_DEPENDENCIES(OBJC)],
|
||||
[define([AC_PROG_OBJC],
|
||||
defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
|
||||
])
|
||||
])
|
||||
|
||||
|
||||
# When config.status generates a header, we must update the stamp-h file.
|
||||
# This file resides in the same directory as the config header
|
||||
# that is generated. The stamp files are numbered to have different names.
|
||||
|
||||
# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
|
||||
# loop where config.status creates the headers, so we can generate
|
||||
# our stamp files there.
|
||||
AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
|
||||
[# Compute $1's index in $config_headers.
|
||||
_am_arg=$1
|
||||
_am_stamp_count=1
|
||||
for _am_header in $config_headers :; do
|
||||
case $_am_header in
|
||||
$_am_arg | $_am_arg:* )
|
||||
break ;;
|
||||
* )
|
||||
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
|
||||
esac
|
||||
done
|
||||
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
|
||||
|
||||
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# AM_PROG_INSTALL_SH
|
||||
# ------------------
|
||||
# Define $install_sh.
|
||||
AC_DEFUN([AM_PROG_INSTALL_SH],
|
||||
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
|
||||
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
|
||||
AC_SUBST(install_sh)])
|
||||
|
||||
# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# serial 2
|
||||
|
||||
# Check whether the underlying file-system supports filenames
|
||||
# with a leading dot. For instance MS-DOS doesn't.
|
||||
AC_DEFUN([AM_SET_LEADING_DOT],
|
||||
[rm -rf .tst 2>/dev/null
|
||||
mkdir .tst 2>/dev/null
|
||||
if test -d .tst; then
|
||||
am__leading_dot=.
|
||||
else
|
||||
am__leading_dot=_
|
||||
fi
|
||||
rmdir .tst 2>/dev/null
|
||||
AC_SUBST([am__leading_dot])])
|
||||
|
||||
# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
|
||||
# From Jim Meyering
|
||||
|
||||
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005
|
||||
# Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# serial 4
|
||||
|
||||
AC_DEFUN([AM_MAINTAINER_MODE],
|
||||
[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
|
||||
dnl maintainer-mode is disabled by default
|
||||
AC_ARG_ENABLE(maintainer-mode,
|
||||
[ --enable-maintainer-mode enable make rules and dependencies not useful
|
||||
(and sometimes confusing) to the casual installer],
|
||||
USE_MAINTAINER_MODE=$enableval,
|
||||
USE_MAINTAINER_MODE=no)
|
||||
AC_MSG_RESULT([$USE_MAINTAINER_MODE])
|
||||
AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
|
||||
MAINT=$MAINTAINER_MODE_TRUE
|
||||
AC_SUBST(MAINT)dnl
|
||||
]
|
||||
)
|
||||
|
||||
AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
|
||||
|
||||
# Check to see how 'make' treats includes. -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# serial 3
|
||||
|
||||
# AM_MAKE_INCLUDE()
|
||||
# -----------------
|
||||
# Check to see how make treats includes.
|
||||
AC_DEFUN([AM_MAKE_INCLUDE],
|
||||
[am_make=${MAKE-make}
|
||||
cat > confinc << 'END'
|
||||
am__doit:
|
||||
@echo done
|
||||
.PHONY: am__doit
|
||||
END
|
||||
# If we don't find an include directive, just comment out the code.
|
||||
AC_MSG_CHECKING([for style of include used by $am_make])
|
||||
am__include="#"
|
||||
am__quote=
|
||||
_am_result=none
|
||||
# First try GNU make style include.
|
||||
echo "include confinc" > confmf
|
||||
# We grep out `Entering directory' and `Leaving directory'
|
||||
# messages which can occur if `w' ends up in MAKEFLAGS.
|
||||
# In particular we don't look at `^make:' because GNU make might
|
||||
# be invoked under some other name (usually "gmake"), in which
|
||||
# case it prints its new name instead of `make'.
|
||||
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
|
||||
am__include=include
|
||||
am__quote=
|
||||
_am_result=GNU
|
||||
fi
|
||||
# Now try BSD make style include.
|
||||
if test "$am__include" = "#"; then
|
||||
echo '.include "confinc"' > confmf
|
||||
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
|
||||
am__include=.include
|
||||
am__quote="\""
|
||||
_am_result=BSD
|
||||
fi
|
||||
fi
|
||||
AC_SUBST([am__include])
|
||||
AC_SUBST([am__quote])
|
||||
AC_MSG_RESULT([$_am_result])
|
||||
rm -f confinc confmf
|
||||
])
|
||||
|
||||
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
|
||||
# Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# serial 5
|
||||
|
||||
# AM_MISSING_PROG(NAME, PROGRAM)
|
||||
# ------------------------------
|
||||
AC_DEFUN([AM_MISSING_PROG],
|
||||
[AC_REQUIRE([AM_MISSING_HAS_RUN])
|
||||
$1=${$1-"${am_missing_run}$2"}
|
||||
AC_SUBST($1)])
|
||||
|
||||
|
||||
# AM_MISSING_HAS_RUN
|
||||
# ------------------
|
||||
# Define MISSING if not defined so far and test if it supports --run.
|
||||
# If it does, set am_missing_run to use it, otherwise, to nothing.
|
||||
AC_DEFUN([AM_MISSING_HAS_RUN],
|
||||
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
|
||||
AC_REQUIRE_AUX_FILE([missing])dnl
|
||||
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
|
||||
# Use eval to expand $SHELL
|
||||
if eval "$MISSING --run true"; then
|
||||
am_missing_run="$MISSING --run "
|
||||
else
|
||||
am_missing_run=
|
||||
AC_MSG_WARN([`missing' script is too old or missing])
|
||||
fi
|
||||
])
|
||||
|
||||
# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# AM_PROG_MKDIR_P
|
||||
# ---------------
|
||||
# Check for `mkdir -p'.
|
||||
AC_DEFUN([AM_PROG_MKDIR_P],
|
||||
[AC_PREREQ([2.60])dnl
|
||||
AC_REQUIRE([AC_PROG_MKDIR_P])dnl
|
||||
dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
|
||||
dnl while keeping a definition of mkdir_p for backward compatibility.
|
||||
dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
|
||||
dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
|
||||
dnl Makefile.ins that do not define MKDIR_P, so we do our own
|
||||
dnl adjustment using top_builddir (which is defined more often than
|
||||
dnl MKDIR_P).
|
||||
AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
|
||||
case $mkdir_p in
|
||||
[[\\/$]]* | ?:[[\\/]]*) ;;
|
||||
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
|
||||
esac
|
||||
])
|
||||
|
||||
# Helper functions for option handling. -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# serial 3
|
||||
|
||||
# _AM_MANGLE_OPTION(NAME)
|
||||
# -----------------------
|
||||
AC_DEFUN([_AM_MANGLE_OPTION],
|
||||
[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
|
||||
|
||||
# _AM_SET_OPTION(NAME)
|
||||
# ------------------------------
|
||||
# Set option NAME. Presently that only means defining a flag for this option.
|
||||
AC_DEFUN([_AM_SET_OPTION],
|
||||
[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
|
||||
|
||||
# _AM_SET_OPTIONS(OPTIONS)
|
||||
# ----------------------------------
|
||||
# OPTIONS is a space-separated list of Automake options.
|
||||
AC_DEFUN([_AM_SET_OPTIONS],
|
||||
[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
|
||||
|
||||
# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
|
||||
# -------------------------------------------
|
||||
# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
|
||||
AC_DEFUN([_AM_IF_OPTION],
|
||||
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
|
||||
|
||||
# Check to make sure that the build environment is sane. -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
|
||||
# Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# serial 4
|
||||
|
||||
# AM_SANITY_CHECK
|
||||
# ---------------
|
||||
AC_DEFUN([AM_SANITY_CHECK],
|
||||
[AC_MSG_CHECKING([whether build environment is sane])
|
||||
# Just in case
|
||||
sleep 1
|
||||
echo timestamp > conftest.file
|
||||
# Do `set' in a subshell so we don't clobber the current shell's
|
||||
# arguments. Must try -L first in case configure is actually a
|
||||
# symlink; some systems play weird games with the mod time of symlinks
|
||||
# (eg FreeBSD returns the mod time of the symlink's containing
|
||||
# directory).
|
||||
if (
|
||||
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
|
||||
if test "$[*]" = "X"; then
|
||||
# -L didn't work.
|
||||
set X `ls -t $srcdir/configure conftest.file`
|
||||
fi
|
||||
rm -f conftest.file
|
||||
if test "$[*]" != "X $srcdir/configure conftest.file" \
|
||||
&& test "$[*]" != "X conftest.file $srcdir/configure"; then
|
||||
|
||||
# If neither matched, then we have a broken ls. This can happen
|
||||
# if, for instance, CONFIG_SHELL is bash and it inherits a
|
||||
# broken ls alias from the environment. This has actually
|
||||
# happened. Such a system could not be considered "sane".
|
||||
AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
|
||||
alias in your environment])
|
||||
fi
|
||||
|
||||
test "$[2]" = conftest.file
|
||||
)
|
||||
then
|
||||
# Ok.
|
||||
:
|
||||
else
|
||||
AC_MSG_ERROR([newly created file is older than distributed files!
|
||||
Check your system clock])
|
||||
fi
|
||||
AC_MSG_RESULT(yes)])
|
||||
|
||||
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# AM_PROG_INSTALL_STRIP
|
||||
# ---------------------
|
||||
# One issue with vendor `install' (even GNU) is that you can't
|
||||
# specify the program used to strip binaries. This is especially
|
||||
# annoying in cross-compiling environments, where the build's strip
|
||||
# is unlikely to handle the host's binaries.
|
||||
# Fortunately install-sh will honor a STRIPPROG variable, so we
|
||||
# always use install-sh in `make install-strip', and initialize
|
||||
# STRIPPROG with the value of the STRIP variable (set by the user).
|
||||
AC_DEFUN([AM_PROG_INSTALL_STRIP],
|
||||
[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
|
||||
# Installed binaries are usually stripped using `strip' when the user
|
||||
# run `make install-strip'. However `strip' might not be the right
|
||||
# tool to use in cross-compilation environments, therefore Automake
|
||||
# will honor the `STRIP' environment variable to overrule this program.
|
||||
dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
|
||||
if test "$cross_compiling" != no; then
|
||||
AC_CHECK_TOOL([STRIP], [strip], :)
|
||||
fi
|
||||
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
|
||||
AC_SUBST([INSTALL_STRIP_PROGRAM])])
|
||||
|
||||
# Copyright (C) 2006 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# _AM_SUBST_NOTMAKE(VARIABLE)
|
||||
# ---------------------------
|
||||
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
|
||||
# This macro is traced by Automake.
|
||||
AC_DEFUN([_AM_SUBST_NOTMAKE])
|
||||
|
||||
# Check how to create a tarball. -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# serial 2
|
||||
|
||||
# _AM_PROG_TAR(FORMAT)
|
||||
# --------------------
|
||||
# Check how to create a tarball in format FORMAT.
|
||||
# FORMAT should be one of `v7', `ustar', or `pax'.
|
||||
#
|
||||
# Substitute a variable $(am__tar) that is a command
|
||||
# writing to stdout a FORMAT-tarball containing the directory
|
||||
# $tardir.
|
||||
# tardir=directory && $(am__tar) > result.tar
|
||||
#
|
||||
# Substitute a variable $(am__untar) that extract such
|
||||
# a tarball read from stdin.
|
||||
# $(am__untar) < result.tar
|
||||
AC_DEFUN([_AM_PROG_TAR],
|
||||
[# Always define AMTAR for backward compatibility.
|
||||
AM_MISSING_PROG([AMTAR], [tar])
|
||||
m4_if([$1], [v7],
|
||||
[am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
|
||||
[m4_case([$1], [ustar],, [pax],,
|
||||
[m4_fatal([Unknown tar format])])
|
||||
AC_MSG_CHECKING([how to create a $1 tar archive])
|
||||
# Loop over all known methods to create a tar archive until one works.
|
||||
_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
|
||||
_am_tools=${am_cv_prog_tar_$1-$_am_tools}
|
||||
# Do not fold the above two line into one, because Tru64 sh and
|
||||
# Solaris sh will not grok spaces in the rhs of `-'.
|
||||
for _am_tool in $_am_tools
|
||||
do
|
||||
case $_am_tool in
|
||||
gnutar)
|
||||
for _am_tar in tar gnutar gtar;
|
||||
do
|
||||
AM_RUN_LOG([$_am_tar --version]) && break
|
||||
done
|
||||
am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
|
||||
am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
|
||||
am__untar="$_am_tar -xf -"
|
||||
;;
|
||||
plaintar)
|
||||
# Must skip GNU tar: if it does not support --format= it doesn't create
|
||||
# ustar tarball either.
|
||||
(tar --version) >/dev/null 2>&1 && continue
|
||||
am__tar='tar chf - "$$tardir"'
|
||||
am__tar_='tar chf - "$tardir"'
|
||||
am__untar='tar xf -'
|
||||
;;
|
||||
pax)
|
||||
am__tar='pax -L -x $1 -w "$$tardir"'
|
||||
am__tar_='pax -L -x $1 -w "$tardir"'
|
||||
am__untar='pax -r'
|
||||
;;
|
||||
cpio)
|
||||
am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
|
||||
am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
|
||||
am__untar='cpio -i -H $1 -d'
|
||||
;;
|
||||
none)
|
||||
am__tar=false
|
||||
am__tar_=false
|
||||
am__untar=false
|
||||
;;
|
||||
esac
|
||||
|
||||
# If the value was cached, stop now. We just wanted to have am__tar
|
||||
# and am__untar set.
|
||||
test -n "${am_cv_prog_tar_$1}" && break
|
||||
|
||||
# tar/untar a dummy directory, and stop if the command works
|
||||
rm -rf conftest.dir
|
||||
mkdir conftest.dir
|
||||
echo GrepMe > conftest.dir/file
|
||||
AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
|
||||
rm -rf conftest.dir
|
||||
if test -s conftest.tar; then
|
||||
AM_RUN_LOG([$am__untar <conftest.tar])
|
||||
grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
|
||||
fi
|
||||
done
|
||||
rm -rf conftest.dir
|
||||
|
||||
AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
|
||||
AC_MSG_RESULT([$am_cv_prog_tar_$1])])
|
||||
AC_SUBST([am__tar])
|
||||
AC_SUBST([am__untar])
|
||||
]) # _AM_PROG_TAR
|
||||
|
||||
m4_include([acinclude.m4])
|
@ -1 +0,0 @@
|
||||
Subproject commit 04db460623e1f235e7239f08fdcc2d0ef72636af
|
@ -1 +0,0 @@
|
||||
Subproject commit 1994b808819fd74446cb8f1a0491b3e10244f463
|
@ -0,0 +1,8 @@
|
||||
#define VERSION "@VERSION@"
|
||||
|
||||
// Defined if you have fvisibility and fvisibility-inlines-hidden support.
|
||||
#cmakedefine __KDE_HAVE_GCC_VISIBILITY 1
|
||||
|
||||
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
|
||||
significant byte first (like Motorola and SPARC, unlike Intel). */
|
||||
#cmakedefine WORDS_BIGENDIAN @WORDS_BIGENDIAN@
|
@ -1,240 +0,0 @@
|
||||
/* config.h.in. Generated from configure.in by autoheader. */
|
||||
|
||||
/* Define to 1 if you have the <Carbon/Carbon.h> header file. */
|
||||
#undef HAVE_CARBON_CARBON_H
|
||||
|
||||
/* Define if you have the CoreAudio API */
|
||||
#undef HAVE_COREAUDIO
|
||||
|
||||
/* Define to 1 if you have the <crt_externs.h> header file. */
|
||||
#undef HAVE_CRT_EXTERNS_H
|
||||
|
||||
/* Defines if your system has the crypt function */
|
||||
#undef HAVE_CRYPT
|
||||
|
||||
/* Define to 1 if you have the <dlfcn.h> header file. */
|
||||
#undef HAVE_DLFCN_H
|
||||
|
||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||
#undef HAVE_INTTYPES_H
|
||||
|
||||
/* Define if you have libjpeg */
|
||||
#undef HAVE_LIBJPEG
|
||||
|
||||
/* Define if you have libpng */
|
||||
#undef HAVE_LIBPNG
|
||||
|
||||
/* Define if you have a working libpthread (will enable threaded code) */
|
||||
#undef HAVE_LIBPTHREAD
|
||||
|
||||
/* Define if you have libz */
|
||||
#undef HAVE_LIBZ
|
||||
|
||||
/* Define to 1 if you have the <memory.h> header file. */
|
||||
#undef HAVE_MEMORY_H
|
||||
|
||||
/* Define if your system needs _NSGetEnviron to set up the environment */
|
||||
#undef HAVE_NSGETENVIRON
|
||||
|
||||
/* Define if you have res_init */
|
||||
#undef HAVE_RES_INIT
|
||||
|
||||
/* Define if you have the res_init prototype */
|
||||
#undef HAVE_RES_INIT_PROTO
|
||||
|
||||
/* Define if you have a STL implementation by SGI */
|
||||
#undef HAVE_SGI_STL
|
||||
|
||||
/* Define to 1 if you have the `snprintf' function. */
|
||||
#undef HAVE_SNPRINTF
|
||||
|
||||
/* Define to 1 if you have the <stdint.h> header file. */
|
||||
#undef HAVE_STDINT_H
|
||||
|
||||
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||
#undef HAVE_STDLIB_H
|
||||
|
||||
/* Define to 1 if you have the <strings.h> header file. */
|
||||
#undef HAVE_STRINGS_H
|
||||
|
||||
/* Define to 1 if you have the <string.h> header file. */
|
||||
#undef HAVE_STRING_H
|
||||
|
||||
/* Define if you have strlcat */
|
||||
#undef HAVE_STRLCAT
|
||||
|
||||
/* Define if you have the strlcat prototype */
|
||||
#undef HAVE_STRLCAT_PROTO
|
||||
|
||||
/* Define if you have strlcpy */
|
||||
#undef HAVE_STRLCPY
|
||||
|
||||
/* Define if you have the strlcpy prototype */
|
||||
#undef HAVE_STRLCPY_PROTO
|
||||
|
||||
/* Define to 1 if you have the <sys/bitypes.h> header file. */
|
||||
#undef HAVE_SYS_BITYPES_H
|
||||
|
||||
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||
#undef HAVE_SYS_STAT_H
|
||||
|
||||
/* Define to 1 if you have the <sys/types.h> header file. */
|
||||
#undef HAVE_SYS_TYPES_H
|
||||
|
||||
/* Define to 1 if you have the <unistd.h> header file. */
|
||||
#undef HAVE_UNISTD_H
|
||||
|
||||
/* Define to 1 if you have the `vsnprintf' function. */
|
||||
#undef HAVE_VSNPRINTF
|
||||
|
||||
/* Suffix for lib directories */
|
||||
#undef KDELIBSUFF
|
||||
|
||||
/* Name of package */
|
||||
#undef PACKAGE
|
||||
|
||||
/* Define to the address where bug reports for this package should be sent. */
|
||||
#undef PACKAGE_BUGREPORT
|
||||
|
||||
/* Define to the full name of this package. */
|
||||
#undef PACKAGE_NAME
|
||||
|
||||
/* Define to the full name and version of this package. */
|
||||
#undef PACKAGE_STRING
|
||||
|
||||
/* Define to the one symbol short name of this package. */
|
||||
#undef PACKAGE_TARNAME
|
||||
|
||||
/* Define to the version of this package. */
|
||||
#undef PACKAGE_VERSION
|
||||
|
||||
/* The size of `char *', as computed by sizeof. */
|
||||
#undef SIZEOF_CHAR_P
|
||||
|
||||
/* The size of `int', as computed by sizeof. */
|
||||
#undef SIZEOF_INT
|
||||
|
||||
/* The size of `long', as computed by sizeof. */
|
||||
#undef SIZEOF_LONG
|
||||
|
||||
/* The size of `short', as computed by sizeof. */
|
||||
#undef SIZEOF_SHORT
|
||||
|
||||
/* The size of `size_t', as computed by sizeof. */
|
||||
#undef SIZEOF_SIZE_T
|
||||
|
||||
/* The size of `unsigned long', as computed by sizeof. */
|
||||
#undef SIZEOF_UNSIGNED_LONG
|
||||
|
||||
/* Define to 1 if you have the ANSI C header files. */
|
||||
#undef STDC_HEADERS
|
||||
|
||||
/* If we use arts volume */
|
||||
#undef USE_ARTS
|
||||
|
||||
/* Version number of package */
|
||||
#undef VERSION
|
||||
|
||||
/* Defined if compiling without arts */
|
||||
#undef WITHOUT_ARTS
|
||||
|
||||
/*
|
||||
* jpeg.h needs HAVE_BOOLEAN, when the system uses boolean in system
|
||||
* headers and I'm too lazy to write a configure test as long as only
|
||||
* unixware is related
|
||||
*/
|
||||
#ifdef _UNIXWARE
|
||||
#define HAVE_BOOLEAN
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* AIX defines FD_SET in terms of bzero, but fails to include <strings.h>
|
||||
* that defines bzero.
|
||||
*/
|
||||
|
||||
#if defined(_AIX)
|
||||
#include <strings.h>
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
#if defined(HAVE_NSGETENVIRON) && defined(HAVE_CRT_EXTERNS_H)
|
||||
# include <sys/time.h>
|
||||
# include <crt_externs.h>
|
||||
# define environ (*_NSGetEnviron())
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
#if !defined(HAVE_RES_INIT_PROTO)
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
int res_init(void);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
#if !defined(HAVE_STRLCAT_PROTO)
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
unsigned long strlcat(char*, const char*, unsigned long);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
#if !defined(HAVE_STRLCPY_PROTO)
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
unsigned long strlcpy(char*, const char*, unsigned long);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* On HP-UX, the declaration of vsnprintf() is needed every time !
|
||||
*/
|
||||
|
||||
#if !defined(HAVE_VSNPRINTF) || defined(hpux)
|
||||
#if __STDC__
|
||||
#include <stdarg.h>
|
||||
#include <stdlib.h>
|
||||
#else
|
||||
#include <varargs.h>
|
||||
#endif
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
#endif
|
||||
int vsnprintf(char *str, size_t n, char const *fmt, va_list ap);
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
#endif
|
||||
int snprintf(char *str, size_t n, char const *fmt, ...);
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
#if defined(__SVR4) && !defined(__svr4__)
|
||||
#define __svr4__ 1
|
||||
#endif
|
||||
|
||||
|
||||
/* type to use in place of socklen_t if not defined */
|
||||
#undef kde_socklen_t
|
||||
|
||||
/* type to use in place of socklen_t if not defined (deprecated, use
|
||||
kde_socklen_t) */
|
||||
#undef ksize_t
|
@ -1,3 +0,0 @@
|
||||
./admin/configure.in.min
|
||||
configure.in.in
|
||||
configure.in.bot
|
@ -1,256 +0,0 @@
|
||||
dnl =======================================================
|
||||
dnl FILE: ./admin/configure.in.min
|
||||
dnl =======================================================
|
||||
|
||||
dnl This file is part of the KDE libraries/packages
|
||||
dnl Copyright (C) 2001 Stephan Kulow (coolo@kde.org)
|
||||
|
||||
dnl This file is free software; you can redistribute it and/or
|
||||
dnl modify it under the terms of the GNU Library General Public
|
||||
dnl License as published by the Free Software Foundation; either
|
||||
dnl version 2 of the License, or (at your option) any later version.
|
||||
|
||||
dnl This library is distributed in the hope that it will be useful,
|
||||
dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
dnl Library General Public License for more details.
|
||||
|
||||
dnl You should have received a copy of the GNU Library General Public License
|
||||
dnl along with this library; see the file COPYING.LIB. If not, write to
|
||||
dnl the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
dnl Boston, MA 02110-1301, USA.
|
||||
|
||||
# Original Author was Kalle@kde.org
|
||||
# I lifted it in some mater. (Stephan Kulow)
|
||||
# I used much code from Janos Farkas
|
||||
|
||||
dnl Process this file with autoconf to produce a configure script.
|
||||
|
||||
AC_INIT(acinclude.m4) dnl a source file from your sub dir
|
||||
|
||||
dnl This is so we can use kde-common
|
||||
AC_CONFIG_AUX_DIR(admin)
|
||||
|
||||
dnl This ksh/zsh feature conflicts with `cd blah ; pwd`
|
||||
unset CDPATH
|
||||
|
||||
dnl Checking host/target/build systems, for make, install etc.
|
||||
AC_CANONICAL_SYSTEM
|
||||
dnl Perform program name transformation
|
||||
AC_ARG_PROGRAM
|
||||
|
||||
dnl Automake doc recommends to do this only here. (Janos)
|
||||
AM_INIT_AUTOMAKE(kile-2.0.3, "3.5.10") dnl searches for some needed programs
|
||||
|
||||
AM_MAINTAINER_MODE
|
||||
|
||||
KDE_SET_PREFIX
|
||||
|
||||
dnl generate the config header
|
||||
AM_CONFIG_HEADER(config.h) dnl at the distribution this done
|
||||
|
||||
dnl Checks for programs.
|
||||
AC_CHECK_COMPILERS
|
||||
AC_ENABLE_SHARED(yes)
|
||||
AC_ENABLE_STATIC(no)
|
||||
KDE_PROG_LIBTOOL
|
||||
|
||||
dnl for NLS support. Call them in this order!
|
||||
dnl WITH_NLS is for the po files
|
||||
AM_KDE_WITH_NLS
|
||||
|
||||
KDE_USE_QT(3.2)
|
||||
AC_PATH_KDE
|
||||
dnl =======================================================
|
||||
dnl FILE: configure.in.in
|
||||
dnl =======================================================
|
||||
|
||||
#MIN_CONFIG(3.2)
|
||||
CXXFLAGS="$CXXFLAGS $KDE_DEFAULT_CXXFLAGS"
|
||||
|
||||
if test "$build_arts" = "yes"; then
|
||||
AC_DEFINE(USE_ARTS, 1, [If we use arts volume])
|
||||
LIB_ARTS="-lartskde"
|
||||
AC_SUBST(LIB_ARTS)
|
||||
fi
|
||||
|
||||
KDE_INIT_DOXYGEN([The API Reference], [Version $VERSION])
|
||||
|
||||
KDE_CREATE_SUBDIRSLIST
|
||||
AM_CONDITIONAL(doc_SUBDIR_included, test "x$doc_SUBDIR_included" = xyes)
|
||||
AM_CONDITIONAL(src_SUBDIR_included, test "x$src_SUBDIR_included" = xyes)
|
||||
AM_CONDITIONAL(translations_SUBDIR_included, test "x$translations_SUBDIR_included" = xyes)
|
||||
AC_CONFIG_FILES([ Makefile ])
|
||||
AC_CONFIG_FILES([ doc/Makefile ])
|
||||
AC_CONFIG_FILES([ src/Makefile ])
|
||||
AC_CONFIG_FILES([ src/kile/Makefile ])
|
||||
AC_CONFIG_FILES([ src/kile/complete/Makefile ])
|
||||
AC_CONFIG_FILES([ src/kile/complete/abbreviation/Makefile ])
|
||||
AC_CONFIG_FILES([ src/kile/complete/dictionary/Makefile ])
|
||||
AC_CONFIG_FILES([ src/kile/complete/tex/Makefile ])
|
||||
AC_CONFIG_FILES([ src/kile/encodings/Makefile ])
|
||||
AC_CONFIG_FILES([ src/kile/help/Makefile ])
|
||||
AC_CONFIG_FILES([ src/kile/icons/Makefile ])
|
||||
AC_CONFIG_FILES([ src/kile/icons/actions/Makefile ])
|
||||
AC_CONFIG_FILES([ src/kile/pics/Makefile ])
|
||||
AC_CONFIG_FILES([ src/kile/symbols/Makefile ])
|
||||
AC_CONFIG_FILES([ src/kile/symbols/arrows/Makefile ])
|
||||
AC_CONFIG_FILES([ src/kile/symbols/cyrillic/Makefile ])
|
||||
AC_CONFIG_FILES([ src/kile/symbols/delimiters/Makefile ])
|
||||
AC_CONFIG_FILES([ src/kile/symbols/greek/Makefile ])
|
||||
AC_CONFIG_FILES([ src/kile/symbols/misc-math/Makefile ])
|
||||
AC_CONFIG_FILES([ src/kile/symbols/misc-text/Makefile ])
|
||||
AC_CONFIG_FILES([ src/kile/symbols/operators/Makefile ])
|
||||
AC_CONFIG_FILES([ src/kile/symbols/relation/Makefile ])
|
||||
AC_CONFIG_FILES([ src/kile/symbols/special/Makefile ])
|
||||
AC_CONFIG_FILES([ src/kile/syntax/Makefile ])
|
||||
AC_CONFIG_FILES([ src/kile/templates/Makefile ])
|
||||
AC_CONFIG_FILES([ src/kile/test/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/ar/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/ar/messages/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/bg/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/bg/messages/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/br/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/br/messages/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/ca/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/ca/messages/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/cs/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/cs/messages/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/cy/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/cy/messages/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/da/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/da/doc/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/da/messages/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/de/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/de/messages/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/el/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/el/messages/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/en_GB/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/en_GB/messages/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/es/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/es/doc/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/es/messages/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/et/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/et/doc/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/et/messages/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/eu/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/eu/messages/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/fi/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/fi/messages/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/fr/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/fr/messages/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/ga/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/ga/messages/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/gl/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/gl/messages/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/hi/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/hi/messages/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/hu/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/hu/messages/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/is/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/is/messages/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/it/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/it/doc/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/it/messages/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/ja/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/ja/messages/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/lt/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/lt/messages/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/ms/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/ms/messages/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/mt/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/mt/messages/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/nb/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/nb/messages/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/nds/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/nds/messages/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/nl/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/nl/doc/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/nl/messages/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/nn/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/nn/messages/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/pa/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/pa/messages/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/pl/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/pl/messages/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/pt/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/pt/doc/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/pt/messages/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/pt_BR/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/pt_BR/messages/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/ro/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/ro/messages/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/ru/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/ru/messages/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/rw/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/rw/messages/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/sk/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/sk/messages/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/sr/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/sr/messages/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/sr@Latn/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/sr@Latn/messages/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/sv/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/sv/doc/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/sv/messages/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/ta/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/ta/messages/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/th/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/th/messages/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/tr/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/tr/messages/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/uk/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/uk/messages/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/zh_CN/Makefile ])
|
||||
AC_CONFIG_FILES([ translations/zh_CN/messages/Makefile ])
|
||||
AC_OUTPUT
|
||||
dnl Put here things to be done at the very end - telling users
|
||||
dnl about additional packages to install. Better yet is giving
|
||||
dnl each project / subdr its own configure.in.bot.
|
||||
|
||||
# Check if KDE_SET_PREFIX was called, and --prefix was passed to configure
|
||||
if test -n "$kde_libs_prefix" -a -n "$given_prefix"; then
|
||||
# And if so, warn when they don't match
|
||||
if test "$kde_libs_prefix" != "$given_prefix"; then
|
||||
# And if kde doesn't know about the prefix yet
|
||||
echo ":"`tde-config --path exe`":" | grep ":$given_prefix/bin/:" 2>&1 >/dev/null
|
||||
if test $? -ne 0; then
|
||||
echo ""
|
||||
echo "Warning: you chose to install this package in $given_prefix,"
|
||||
echo "but KDE was found in $kde_libs_prefix."
|
||||
echo "For this to work, you will need to tell KDE about the new prefix, by ensuring"
|
||||
echo "that TDEDIRS contains it, e.g. export TDEDIRS=$given_prefix:$kde_libs_prefix"
|
||||
echo "Then restart KDE."
|
||||
echo ""
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
if test x$GXX = "xyes" -a x$kde_have_gcc_visibility = "xyes" -a x$kde_cv_val_qt_gcc_visibility_patched = "xno"; then
|
||||
echo ""
|
||||
echo "Your GCC supports symbol visibility, but the patch for Qt supporting visibility"
|
||||
echo "was not included. Therefore, GCC symbol visibility support remains disabled."
|
||||
echo ""
|
||||
echo "For better performance, consider including the Qt visibility supporting patch"
|
||||
echo "located at:"
|
||||
echo ""
|
||||
echo "http://bugs.kde.org/show_bug.cgi?id=109386"
|
||||
echo ""
|
||||
echo "and recompile all of Qt and KDE. Note, this is entirely optional and"
|
||||
echo "everything will continue to work just fine without it."
|
||||
echo ""
|
||||
fi
|
||||
|
||||
if test "$all_tests" = "bad"; then
|
||||
if test ! "$cache_file" = "/dev/null"; then
|
||||
echo ""
|
||||
echo "Please remove the file $cache_file after changing your setup"
|
||||
echo "so that configure will find the changes next time."
|
||||
echo ""
|
||||
fi
|
||||
else
|
||||
echo ""
|
||||
echo "Good - your configure finished. Start make now"
|
||||
echo ""
|
||||
fi
|
@ -1,4 +0,0 @@
|
||||
dnl Put here things to be done at the very end - telling users
|
||||
dnl about additional packages to install. Better yet is giving
|
||||
dnl each project / subdr its own configure.in.bot.
|
||||
|
@ -1,12 +0,0 @@
|
||||
#MIN_CONFIG(3.2)
|
||||
KDE_ENABLE_HIDDEN_VISIBILITY
|
||||
CXXFLAGS="$CXXFLAGS $KDE_DEFAULT_CXXFLAGS"
|
||||
|
||||
if test "$build_arts" = "yes"; then
|
||||
AC_DEFINE(USE_ARTS, 1, [If we use arts volume])
|
||||
LIB_ARTS="-lartskde"
|
||||
AC_SUBST(LIB_ARTS)
|
||||
fi
|
||||
|
||||
KDE_INIT_DOXYGEN([The API Reference], [Version $VERSION])
|
||||
|
@ -1,2 +0,0 @@
|
||||
KDE_LANG = en
|
||||
KDE_DOCS = kile
|
Before Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 7.5 KiB |
Before Width: | Height: | Size: 4.6 KiB |
Before Width: | Height: | Size: 54 KiB |
Before Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 99 KiB |
Before Width: | Height: | Size: 57 KiB |
Before Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 47 KiB |
Before Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 20 KiB |
After Width: | Height: | Size: 8.8 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 2.9 KiB |
After Width: | Height: | Size: 7.5 KiB |
After Width: | Height: | Size: 3.7 KiB |
After Width: | Height: | Size: 45 KiB |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 81 KiB |
After Width: | Height: | Size: 47 KiB |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 19 KiB |
After Width: | Height: | Size: 13 KiB |
After Width: | Height: | Size: 40 KiB |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 20 KiB |
After Width: | Height: | Size: 19 KiB |
After Width: | Height: | Size: 13 KiB |
After Width: | Height: | Size: 34 KiB |
After Width: | Height: | Size: 4.0 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 3.3 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 71 KiB |
After Width: | Height: | Size: 18 KiB |
After Width: | Height: | Size: 5.3 KiB |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 5.5 KiB |
After Width: | Height: | Size: 23 KiB |
After Width: | Height: | Size: 34 KiB |
After Width: | Height: | Size: 27 KiB |
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 7.5 KiB |
After Width: | Height: | Size: 34 KiB |
After Width: | Height: | Size: 46 KiB |
After Width: | Height: | Size: 34 KiB |
After Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 11 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 2.9 KiB |
After Width: | Height: | Size: 7.5 KiB |
After Width: | Height: | Size: 3.7 KiB |
After Width: | Height: | Size: 52 KiB |
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 32 KiB |
After Width: | Height: | Size: 20 KiB |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 38 KiB |
After Width: | Height: | Size: 27 KiB |
After Width: | Height: | Size: 27 KiB |
After Width: | Height: | Size: 25 KiB |
After Width: | Height: | Size: 13 KiB |
After Width: | Height: | Size: 689 B |
After Width: | Height: | Size: 31 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 3.3 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 21 KiB |
After Width: | Height: | Size: 7.3 KiB |
After Width: | Height: | Size: 17 KiB |
After Width: | Height: | Size: 17 KiB |
After Width: | Height: | Size: 5.6 KiB |
After Width: | Height: | Size: 28 KiB |
After Width: | Height: | Size: 52 KiB |
After Width: | Height: | Size: 11 KiB |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 9.4 KiB |
After Width: | Height: | Size: 7.6 KiB |
After Width: | Height: | Size: 56 KiB |
After Width: | Height: | Size: 20 KiB |
After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 39 KiB |
After Width: | Height: | Size: 5.2 KiB |
After Width: | Height: | Size: 17 KiB |
After Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 4.7 KiB |
After Width: | Height: | Size: 17 KiB |
After Width: | Height: | Size: 44 KiB |
After Width: | Height: | Size: 18 KiB |
After Width: | Height: | Size: 21 KiB |
After Width: | Height: | Size: 6.1 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 60 KiB |
After Width: | Height: | Size: 19 KiB |
After Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 5.2 KiB |
@ -0,0 +1,64 @@
|
||||
.\" Hey, EMACS: -*- nroff -*-
|
||||
.\" First parameter, NAME, should be all caps
|
||||
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
|
||||
.\" other parameters are allowed: see man(7), man(1)
|
||||
.TH KILE 1 "June 22, 2005"
|
||||
.\" Please adjust this date whenever revising the manpage.
|
||||
.\"
|
||||
.\" Some roff macros, for reference:
|
||||
.\" .nh disable hyphenation
|
||||
.\" .hy enable hyphenation
|
||||
.\" .ad l left justify
|
||||
.\" .ad b justify to both left and right margins
|
||||
.\" .nf disable filling
|
||||
.\" .fi enable filling
|
||||
.\" .br insert line break
|
||||
.\" .sp <n> insert n+1 empty lines
|
||||
.\" for manpage-specific macros, see man(7)
|
||||
.SH NAME
|
||||
kile \- the TDE Integrated LaTeX Environment
|
||||
.SH SYNOPSIS
|
||||
.B kile [ \fIgeneric-options\fP ]
|
||||
[ \fB\-\-line\fP \fIline\fP ] [ \fB\-\-new\fP ]
|
||||
[ \fIfile\fP ]
|
||||
.SH DESCRIPTION
|
||||
\fBKile\fP (the TDE Integrated LaTeX Environment) is a user-friendly
|
||||
LaTeX source editor and TeX shell for TDE.
|
||||
.PP
|
||||
The source editor is a multi-document editor designed for .tex and .bib
|
||||
files. Menus, wizards and auto-completion are provided to assist with
|
||||
tag insertion and code generation. A structural view of the document
|
||||
assists with navigation within source files.
|
||||
.PP
|
||||
The TeX shell integrates the various tools required for TeX processing.
|
||||
It assists with LaTeX compilation, DVI and postscript document viewing,
|
||||
generation of bibliographies and indices and other common tasks.
|
||||
.PP
|
||||
Kile can support large projects consisting of several smaller files.
|
||||
.SH OPTIONS
|
||||
Below are the kile-specific options.
|
||||
For a full summary of options, run \fIkile \-\-help\fP.
|
||||
.TP
|
||||
\fB\-\-line\fP \fIline\fP
|
||||
Jump to the given line in the file that is opened.
|
||||
.TP
|
||||
\fB\-\-new\fP
|
||||
Start a new Kile main window.
|
||||
.SH SEE ALSO
|
||||
Full user documentation is available through the TDE Help Centre.
|
||||
You can also enter the URL
|
||||
\fIhelp:/kile/\fP
|
||||
directly into konqueror or you can run
|
||||
`\fIkhelpcenter help:/kile/\fP'
|
||||
from the command-line.
|
||||
.PP
|
||||
If the TDE Help Centre is not installed then you can
|
||||
read this documentation in HTML format from
|
||||
\fI/usr/share/doc/tde/HTML/en/kile/\fP.
|
||||
.SH AUTHOR
|
||||
Kile was written by Pascal Brachet <pascal.brachet_at_club-internet.fr> and
|
||||
Jeroen Wijnhout <Jeroen.Wijnhout_at_kdemail.net> with contributions from
|
||||
many others.
|
||||
.br
|
||||
This manual page was prepared by Ben Burton <bab@debian.org>
|
||||
for the Debian GNU/Linux system (but may be used by others).
|
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 81 KiB |
Before Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 7.3 KiB |
Before Width: | Height: | Size: 31 KiB |
Before Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 7.9 KiB |
Before Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 40 KiB |
Before Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 47 KiB |
Before Width: | Height: | Size: 64 KiB |
Before Width: | Height: | Size: 42 KiB |
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.4 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 9.1 KiB After Width: | Height: | Size: 9.1 KiB |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 6.4 KiB After Width: | Height: | Size: 6.4 KiB |
Before Width: | Height: | Size: 5.1 KiB After Width: | Height: | Size: 5.1 KiB |
Before Width: | Height: | Size: 9.2 KiB After Width: | Height: | Size: 9.1 KiB |
Before Width: | Height: | Size: 9.6 KiB After Width: | Height: | Size: 9.6 KiB |
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 9.0 KiB After Width: | Height: | Size: 9.0 KiB |
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 6.8 KiB After Width: | Height: | Size: 6.8 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 8.9 KiB After Width: | Height: | Size: 8.9 KiB |
Before Width: | Height: | Size: 6.5 KiB After Width: | Height: | Size: 6.5 KiB |
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
After Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 6.3 KiB After Width: | Height: | Size: 6.3 KiB |
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 4.1 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 4.8 KiB |
Before Width: | Height: | Size: 12 KiB |
@ -0,0 +1,8 @@
|
||||
##### create translation templates ##############
|
||||
|
||||
tde_l10n_auto_add_subdirectories( )
|
||||
|
||||
tde_l10n_create_template(
|
||||
CATALOG "desktop_files/kile-desktops"
|
||||
SOURCES *.desktop
|
||||
)
|
@ -1,139 +1,22 @@
|
||||
PROJECT( kile )
|
||||
|
||||
CMAKE_MINIMUM_REQUIRED( VERSION 2.8 )
|
||||
add_subdirectory( kile )
|
||||
|
||||
|
||||
SET( KILE_VERSION CACHE STRING "Kile's version; can be used to install special documentation files in share/doc/kile-$KILE_VERSION/" )
|
||||
##### other data
|
||||
|
||||
SET( kile_PO_FILE "kile.po" )
|
||||
SET( kile_DOCBOOK "index.docbook" )
|
||||
tde_create_translated_desktop(
|
||||
SOURCE x-kilepr.desktop
|
||||
DESTINATION ${MIME_INSTALL_DIR}/text
|
||||
)
|
||||
|
||||
MACRO( KILE_ADD_DOCBOOK_DIRECTORY _sources _relative_dir _docbook _language )
|
||||
# only depend on images
|
||||
FILE( GLOB_RECURSE _dependencies ${CMAKE_CURRENT_SOURCE_DIR}/${_relative_dir}/*.[pP][nN][gG] )
|
||||
FILE( MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/${_relative_dir} )
|
||||
|
||||
SET( _source_docbook ${CMAKE_CURRENT_SOURCE_DIR}/${_relative_dir}/${_docbook} )
|
||||
SET( _compiled_docbook ${CMAKE_CURRENT_BINARY_DIR}/${_relative_dir}/index.cache.bz2 )
|
||||
|
||||
ADD_CUSTOM_COMMAND(OUTPUT ${_compiled_docbook}
|
||||
COMMAND ${KILE_MEINPROC} --check --cache index.cache.bz2 ${_source_docbook}
|
||||
DEPENDS ${_dependencies} ${_source_docbook}
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/${_relative_dir}
|
||||
COMMENT "Compiling ${_language} docbook in ${_relative_dir}/${_docbook}" )
|
||||
|
||||
INSTALL( FILES ${_compiled_docbook} ${_dependencies} DESTINATION share/doc/tde/HTML/${_language})
|
||||
SET( ${_sources} ${${_sources}} ${_compiled_docbook} )
|
||||
ENDMACRO( KILE_ADD_DOCBOOK_DIRECTORY _sources _docbook _language )
|
||||
|
||||
MACRO( KILE_ADD_TRANSLATION_DIRECTORY _sources _relative_dir _file _language )
|
||||
FILE( MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/${_relative_dir} )
|
||||
|
||||
GET_FILENAME_COMPONENT(_base_name ${_file} NAME_WE)
|
||||
SET( _source_file ${CMAKE_CURRENT_SOURCE_DIR}/${_relative_dir}/${_file} )
|
||||
SET( _base_compiled_file ${_base_name}.mo)
|
||||
SET( _compiled_file ${CMAKE_CURRENT_BINARY_DIR}/${_relative_dir}/${_base_compiled_file} )
|
||||
|
||||
ADD_CUSTOM_COMMAND(OUTPUT ${_compiled_file}
|
||||
COMMAND ${KILE_MSGFMT} -o ${_compiled_file} ${_source_file}
|
||||
DEPENDS ${_source_file}
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/${_relative_dir}
|
||||
COMMENT "Compiling ${_language} translation file" )
|
||||
|
||||
INSTALL( FILES ${_compiled_file} DESTINATION share/locale/${_language}/LC_MESSAGES )
|
||||
SET( ${_sources} ${${_sources}} ${_compiled_file} )
|
||||
ENDMACRO( KILE_ADD_TRANSLATION_DIRECTORY _sources _relative_dir _file _language )
|
||||
|
||||
MACRO( KILE_ADD_TRANSLATION_DIRECTORIES _documentation_sources _translation_sources _dir )
|
||||
FILE( GLOB _subdirectories ${_dir}/* )
|
||||
|
||||
FOREACH( _entry ${_subdirectories} )
|
||||
IF( IS_DIRECTORY ${_entry} )
|
||||
GET_FILENAME_COMPONENT( _language ${_entry} NAME )
|
||||
IF( KILE_MSGFMT AND EXISTS ${_entry}/messages )
|
||||
KILE_ADD_TRANSLATION_DIRECTORY( ${_translation_sources} translations/${_language}/messages ${kile_PO_FILE} ${_language} )
|
||||
SET(_translations_built ${_translations_built} ${_language} )
|
||||
ENDIF( KILE_MSGFMT AND EXISTS ${_entry}/messages )
|
||||
IF( KILE_MEINPROC AND EXISTS ${_entry}/doc )
|
||||
KILE_ADD_DOCBOOK_DIRECTORY( ${_documentation_sources} translations/${_language}/doc ${kile_DOCBOOK} ${_language} )
|
||||
SET(_docbooks_built ${_docbooks_built} ${_language} )
|
||||
ENDIF( KILE_MEINPROC AND EXISTS ${_entry}/doc )
|
||||
ENDIF( IS_DIRECTORY ${_entry} )
|
||||
ENDFOREACH( _entry ${_subdirectories} )
|
||||
|
||||
IF( _translations_built )
|
||||
MESSAGE( STATUS "Building translations for ${_translations_built}" )
|
||||
ELSE( _translations_built )
|
||||
MESSAGE( STATUS "Not building translations" )
|
||||
ENDIF( _translations_built )
|
||||
|
||||
IF( _docbooks_built )
|
||||
MESSAGE( STATUS "Building documentation for ${_docbooks_built}" )
|
||||
ELSE( _docbooks_built )
|
||||
MESSAGE( STATUS "Not building additional documentation" )
|
||||
ENDIF( _docbooks_built )
|
||||
ENDMACRO( KILE_ADD_TRANSLATION_DIRECTORIES _documentation_sources _translation_sources _dir )
|
||||
|
||||
MACRO( KILE_FIND_DOC_TOOLS )
|
||||
FIND_PROGRAM( KILE_MEINPROC "meinproc" DOC "path of the meinproc executable")
|
||||
IF( KILE_MEINPROC )
|
||||
MESSAGE( STATUS "Found meinproc executable: ${KILE_MEINPROC}" )
|
||||
ELSE( KILE_MEINPROC )
|
||||
MESSAGE( STATUS "meinproc executable not found" )
|
||||
ENDIF( KILE_MEINPROC )
|
||||
FIND_PROGRAM( KILE_MSGFMT "msgfmt" DOC "path of the msgfmt executable")
|
||||
IF( KILE_MEINPROC )
|
||||
MESSAGE( STATUS "Found msgfmt executable: ${KILE_MSGFMT}" )
|
||||
ELSE( KILE_MEINPROC )
|
||||
MESSAGE( STATUS "msgfmt executable not found" )
|
||||
ENDIF( KILE_MEINPROC )
|
||||
IF( KILE_MEINPROC AND KILE_MSGFMT )
|
||||
SET( KILE_DOC_TOOLS_FOUND true )
|
||||
ENDIF( KILE_MEINPROC AND KILE_MSGFMT )
|
||||
ENDMACRO( KILE_FIND_DOC_TOOLS )
|
||||
|
||||
IF( EXISTS ${kile_SOURCE_DIR}/doc OR EXISTS ${kile_SOURCE_DIR}/translations )
|
||||
KILE_FIND_DOC_TOOLS( )
|
||||
ENDIF( EXISTS ${kile_SOURCE_DIR}/doc OR EXISTS ${kile_SOURCE_DIR}/translations )
|
||||
|
||||
IF( EXISTS ${kile_SOURCE_DIR}/doc )
|
||||
IF( KILE_MEINPROC )
|
||||
MESSAGE( STATUS "Building standard documentation")
|
||||
KILE_ADD_DOCBOOK_DIRECTORY( kile_DOCUMENTATION_SOURCES doc index.docbook en )
|
||||
ENDIF( KILE_MEINPROC )
|
||||
ELSE( EXISTS ${kile_SOURCE_DIR}/doc )
|
||||
MESSAGE( STATUS "Not building standard documentation")
|
||||
ENDIF( EXISTS ${kile_SOURCE_DIR}/doc )
|
||||
|
||||
IF( EXISTS ${kile_SOURCE_DIR}/translations )
|
||||
IF( KILE_MEINPROC OR KILE_MSGFMT )
|
||||
KILE_ADD_TRANSLATION_DIRECTORIES( kile_DOCUMENTATION_SOURCES kile_TRANSLATION_SOURCES ${kile_SOURCE_DIR}/translations )
|
||||
ENDIF( KILE_MEINPROC OR KILE_MSGFMT )
|
||||
ELSE( EXISTS ${kile_SOURCE_DIR}/translations )
|
||||
MESSAGE( STATUS "Not building translations")
|
||||
ENDIF( EXISTS ${kile_SOURCE_DIR}/translations )
|
||||
|
||||
IF( kile_DOCUMENTATION_SOURCES )
|
||||
ADD_CUSTOM_TARGET(docbooks ALL DEPENDS ${kile_DOCUMENTATION_SOURCES})
|
||||
ENDIF( kile_DOCUMENTATION_SOURCES )
|
||||
|
||||
IF( kile_TRANSLATION_SOURCES )
|
||||
ADD_CUSTOM_TARGET(translations ALL DEPENDS ${kile_TRANSLATION_SOURCES})
|
||||
ENDIF( kile_TRANSLATION_SOURCES)
|
||||
|
||||
ADD_SUBDIRECTORY( kile )
|
||||
|
||||
########### install files ###############
|
||||
|
||||
INSTALL( FILES x-kilepr.desktop DESTINATION share/mimelink/text )
|
||||
|
||||
INSTALL( FILES kile.upd kile1.6_upd.pl kile1.7_upd.pl kile1.9_upd.pl kile1.9-1_upd.pl kile2.0-1_upd.pl kile2.0-2_upd.pl kile2.0-3_upd.pl kile2.0-4_upd.pl kile2.0-5_upd.pl DESTINATION share/apps/tdeconf_update )
|
||||
|
||||
IF( KILE_VERSION )
|
||||
SET(_KILE_SPECIAL_DOC_DIR "share/doc/kile-${KILE_VERSION}")
|
||||
ELSE( KILE_VERSION )
|
||||
SET(_KILE_SPECIAL_DOC_DIR "share/doc/kile")
|
||||
ENDIF( KILE_VERSION )
|
||||
|
||||
INSTALL( FILES AUTHORS ChangeLog README README.cwl kile-remote-control.txt README.MacOSX TODO DESTINATION ${_KILE_SPECIAL_DOC_DIR})
|
||||
install(
|
||||
FILES kile.upd
|
||||
DESTINATION ${KCONF_UPDATE_INSTALL_DIR}
|
||||
)
|
||||
|
||||
install(
|
||||
PROGRAMS
|
||||
kile1.6_upd.pl kile1.7_upd.pl kile1.9_upd.pl kile1.9-1_upd.pl
|
||||
kile2.0-1_upd.pl kile2.0-2_upd.pl kile2.0-3_upd.pl kile2.0-4_upd.pl kile2.0-5_upd.pl
|
||||
DESTINATION ${KCONF_UPDATE_INSTALL_DIR}
|
||||
)
|
||||
|
@ -1,15 +0,0 @@
|
||||
####### tdevelop will overwrite this part!!! (begin)##########
|
||||
SUBDIRS = kile
|
||||
|
||||
mimetypetextdata_DATA = x-kilepr.desktop
|
||||
mimetypetextdatadir = $(kde_mimedir)/text
|
||||
|
||||
update_DATA = kile.upd
|
||||
update_SCRIPTS = kile1.6_upd.pl kile1.7_upd.pl kile1.9-1_upd.pl kile1.9_upd.pl \
|
||||
kile2.0-1_upd.pl kile2.0-2_upd.pl kile2.0-3_upd.pl kile2.0-4_upd.pl kile2.0-5_upd.pl
|
||||
updatedir = $(kde_datadir)/tdeconf_update
|
||||
|
||||
EXTRA_DIST = kile.kdevprj admin AUTHORS COPYING ChangeLog kile-remote-control.txt README README.cwl README.MacOSX kile.lsm $(mimetypetextdata_DATA)
|
||||
|
||||
|
||||
|
@ -1,2 +0,0 @@
|
||||
export UNSERMAKE=no
|
||||
./createPackage.sh -ab trunk/extragear/office -a kile --i18n-sub extragear-office --admin branches/KDE/3.5/kde-common/admin -av 1.9 --package
|
@ -1,876 +0,0 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# Extract an application from KDE svn, including documentation and translations.
|
||||
#
|
||||
# Authors: Michael Buesch <mbuesch@freenet.de>
|
||||
# Jeroen Wijnhout <Jeroen.Wijnhout@kdemail.net>
|
||||
# Sebastian Trueg
|
||||
# Aurelien Gateau
|
||||
# Klas Kalass
|
||||
# License: GPL (http://www.gnu.org/)
|
||||
#
|
||||
#
|
||||
# Directory lay-out of packages
|
||||
# Application:
|
||||
# + name-version
|
||||
# + admin
|
||||
# + src
|
||||
# + doc
|
||||
# + translations
|
||||
# + nl
|
||||
# + messages
|
||||
# + doc
|
||||
# + de (etc.)
|
||||
#
|
||||
# If the --notoplevel parameter is used everything under src is put into the root dir
|
||||
#
|
||||
# Translations:
|
||||
# + nl
|
||||
# + messages
|
||||
# + doc
|
||||
# + de (etc.)
|
||||
|
||||
COPYRIGHT="2005 Michael Buesch <mbuesch@freenet.de>
|
||||
2004-2005 Jeroen Wijnhout <Jeroen.Wijnhout@kdemail.net>
|
||||
2003-2004 Sebastian Trueg
|
||||
2002 Aurelien Gateau
|
||||
2002-2004 Klas Kalass"
|
||||
LICENSE="GNU General Public License v2 or later"
|
||||
|
||||
SCRIPTNAME="createPackage.sh"
|
||||
SCRIPTVERSION='$Revision$'
|
||||
SCRIPTVERSION="`echo $SCRIPTVERSION | cut -d ' ' -f2`"
|
||||
|
||||
|
||||
function showVersion
|
||||
{
|
||||
echo "$SCRIPTNAME revision $SCRIPTVERSION"
|
||||
}
|
||||
|
||||
function showHelp
|
||||
{
|
||||
showVersion
|
||||
echo -e "
|
||||
Extract an application from KDE svn, including documentation and translations.
|
||||
|
||||
Copyright $COPYRIGHT
|
||||
License: $LICENSE
|
||||
|
||||
usage:
|
||||
$0 -ab <PATH> -a <NAME> [OPTIONS]
|
||||
|
||||
These parameters are mandatory:
|
||||
|
||||
-ab|--app-base <PATH> Relative (to svnroot) path to the KDE or extragear module.
|
||||
Example:
|
||||
trunk/extragear/utils
|
||||
If you want to checkout from a branch, you might use:
|
||||
branches/foobar/1.2
|
||||
|
||||
-a|--app <NAME> Name of the application to checkout.
|
||||
This is the subdir you want to checkout in --app-base.
|
||||
|
||||
The following options are available:
|
||||
|
||||
-d|--svnroot <URL> Base URL of the svn repository.
|
||||
svn://anonsvn.kde.org/home/kde is the default.
|
||||
|
||||
-ib|--i18n-base <PATH> Path to the i18n translations base.
|
||||
Default:
|
||||
trunk/l10n
|
||||
|
||||
-is|--i18n-sub <PATH> Path to the i18n files under the
|
||||
\$i18n-base/\$LANGUAGE/messages
|
||||
directories. Example:
|
||||
extragear-office
|
||||
|
||||
-ids|--i18n-docsub <PATH> Path to the i18n docbook files under the
|
||||
\$i18n-base/\$LANGUAGE/docs
|
||||
directories. Example:
|
||||
kdeextragear-2
|
||||
Default:
|
||||
path of --i18n-sub
|
||||
|
||||
--admin <PATH> Path to the /admin/ directory.
|
||||
Default:
|
||||
trunk/KDE/kde-common/admin
|
||||
|
||||
-b|--builddir <DIRNAME> Name of the temporary working directory where
|
||||
all files will be put. Default is \"./build\"
|
||||
|
||||
-av|--appversion <VERSION> Version of the application (only for correct
|
||||
naming of the tar archives).
|
||||
|
||||
--nodoc Do not try to get any documentation.
|
||||
|
||||
--noi18n Do not search for any translations.
|
||||
|
||||
--split Make separate packages for the application and translations.
|
||||
|
||||
--package [TYPE] Create tarballs (.tar.gz and/or .tar.bz2).
|
||||
You can specify an optional package type: \"gzip\" or \"bzip2\"
|
||||
If no type is given, both types will be generated.
|
||||
|
||||
--packagedir <TARBALLDIR> Place a copy of the packages into TARBALLDIR.
|
||||
|
||||
--postprocess <SCRIPT> Runs SCRIPT on the package, after all data is gathered, but before
|
||||
the tarball is generated. This allows packagers to give the
|
||||
\"final touch\" to the package.
|
||||
|
||||
--pofiles <POFILES> Space seperated list of pofiles this application uses without the extension.
|
||||
Defaults to the name of the application.
|
||||
|
||||
-l|--languages <LANGUAGES> Space seperated list of languages to search for
|
||||
translations. If no languages are specified, all
|
||||
available languages will be included.
|
||||
|
||||
-el|--exclude-languages <LANGUAGES> Space seperated list of languages not to include
|
||||
in the package.
|
||||
|
||||
--logfile <FILE> Write all logging information to FILE.
|
||||
If FILE is \"no\", no logfile will be created.
|
||||
|
||||
--notoplevel Do not create an additional src directory. Do not checkout the top level files.
|
||||
Use configure.in.in and Makefile.am from the application's root directory.
|
||||
|
||||
-v|--version Version of this script
|
||||
-h|--help This Help"
|
||||
}
|
||||
|
||||
#
|
||||
# Some simple helper functions.
|
||||
#
|
||||
|
||||
function printlog
|
||||
{
|
||||
if [ -n "$LOGFILE" ]; then
|
||||
echo -e "$SCRIPTNAME: $*" >> $LOGFILE
|
||||
fi
|
||||
}
|
||||
|
||||
function printnlog
|
||||
{
|
||||
if [ -n "$LOGFILE" ]; then
|
||||
echo -n -e "$SCRIPTNAME: $*" >> $LOGFILE
|
||||
fi
|
||||
}
|
||||
|
||||
function print
|
||||
{
|
||||
echo -e "$SCRIPTNAME: $*"
|
||||
printlog $*
|
||||
}
|
||||
|
||||
function printn
|
||||
{
|
||||
echo -n -e "$SCRIPTNAME: $*"
|
||||
printnlog $*
|
||||
}
|
||||
|
||||
function runCommand
|
||||
{
|
||||
stdoutlog="$LOGFILE"
|
||||
if [ -z "$stdoutlog" ]; then
|
||||
stdoutlog="/dev/null"
|
||||
fi
|
||||
$* >> $stdoutlog 2>&1
|
||||
LASTRESULT=$?
|
||||
print " [$1 returned $LASTRESULT]"
|
||||
}
|
||||
|
||||
function runCommandRedirect
|
||||
{
|
||||
destinationfile=$1
|
||||
shift
|
||||
|
||||
stdoutlog="$LOGFILE"
|
||||
if [ -z "$stdoutlog" ]; then
|
||||
stdoutlog="/dev/null"
|
||||
fi
|
||||
$* > $destinationfile 2>>$stdoutlog
|
||||
LASTRESULT=$?
|
||||
if [ $LASTRESULT -ne 0 ]; then
|
||||
rm $destinationfile
|
||||
fi
|
||||
print " [$1 returned $LASTRESULT]"
|
||||
}
|
||||
|
||||
function testParameter
|
||||
{
|
||||
if [ -z "$2" ]; then
|
||||
echo "Please give a value to parameter $1"
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
|
||||
function makeDir
|
||||
{
|
||||
cd $BUILDDIR
|
||||
print " Creating directory $*"
|
||||
runCommand mkdir $*
|
||||
}
|
||||
|
||||
|
||||
#
|
||||
# Removes the .svn directories
|
||||
#
|
||||
function removeVCDirs
|
||||
{
|
||||
if ! [ -d "$BUILDDIR/$*" ]; then
|
||||
return
|
||||
fi
|
||||
print " Removing VCDirs $*"
|
||||
cd $BUILDDIR/$*
|
||||
find . -type d -a -name '.svn' | xargs rm -rf
|
||||
}
|
||||
|
||||
#
|
||||
# This is our work-horse. getResource retrieves all
|
||||
# data needed to assemble a working package.
|
||||
# Available resources:
|
||||
# topleveldir, admindir, source, documentation,
|
||||
# languagelist, guitranslation, doctranslation
|
||||
#
|
||||
function getResource
|
||||
{
|
||||
DESTINATION=$2
|
||||
SINGLEFILEHACK="no"
|
||||
case $1 in
|
||||
topleveldir)
|
||||
COMMAND="svn export -N $SVN_CHECKOUT_OPTIONS $SVNROOT/$APPBASE $DESTINATION"
|
||||
;;
|
||||
admindir)
|
||||
COMMAND="svn export $SVN_CHECKOUT_OPTIONS $SVNROOT/$ADMINDIR $DESTINATION"
|
||||
;;
|
||||
source)
|
||||
COMMAND="svn export $SVN_CHECKOUT_OPTIONS $SVNROOT/$APPBASE/$APPNAME $DESTINATION"
|
||||
;;
|
||||
documentation)
|
||||
COMMAND="svn export $SVN_CHECKOUT_OPTIONS $SVNROOT/$APPBASE/doc/$APPNAME $DESTINATION"
|
||||
;;
|
||||
languagelist)
|
||||
SINGLEFILEHACK="yes"
|
||||
COMMAND="svn cat $SVN_CHECKOUT_OPTIONS $SVNROOT/$I18NBASE/subdirs"
|
||||
;;
|
||||
guitranslation)
|
||||
DESTINATION=$3/$4.po
|
||||
SINGLEFILEHACK="yes"
|
||||
COMMAND="svn cat $SVN_CHECKOUT_OPTIONS $SVNROOT/$I18NBASE/$2/messages/$I18NSUB/$4.po"
|
||||
;;
|
||||
doctranslation)
|
||||
DESTINATION=$3
|
||||
COMMAND="svn export $SVN_CHECKOUT_OPTIONS $SVNROOT/$I18NBASE/$2/docs/$I18NDOCSUB/$APPNAME $DESTINATION"
|
||||
;;
|
||||
*)
|
||||
print "ERROR: Unknown resource $1"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
print " Retrieving resource: $1"
|
||||
printlog " getResource $1: $COMMAND"
|
||||
|
||||
cd $BUILDDIR
|
||||
|
||||
if [ $SINGLEFILEHACK = "yes" ]; then
|
||||
runCommandRedirect $DESTINATION $COMMAND
|
||||
else
|
||||
runCommand $COMMAND
|
||||
fi
|
||||
|
||||
if [ $LASTRESULT != "0" ]; then
|
||||
print "Warning: Resource \"$1\" is not available."
|
||||
fi
|
||||
return $LASTRESULT
|
||||
}
|
||||
|
||||
#
|
||||
# Creates the build dir, the dir where the packages
|
||||
# are assembled.
|
||||
#
|
||||
function setupBuildDir
|
||||
{
|
||||
print "Creating the build directory..."
|
||||
print " ($BUILDDIR)"
|
||||
|
||||
# clean up first
|
||||
if [ -d $BUILDDIR ]; then
|
||||
print " Removing the old build directory"
|
||||
rm -rf $BUILDDIR
|
||||
fi
|
||||
|
||||
mkdir $BUILDDIR
|
||||
}
|
||||
|
||||
#
|
||||
# Gather all data in the build dir needed to build
|
||||
# the application (without translations).
|
||||
#
|
||||
function assembleApplicationData
|
||||
{
|
||||
print "Assembling the source code..."
|
||||
APPDIR=$APPNAME-$APPVERSION
|
||||
print " ($APPDIR)"
|
||||
|
||||
if [ $TOPLEVEL = "yes" ]; then
|
||||
getResource "topleveldir" $APPDIR
|
||||
fi
|
||||
|
||||
getResource "admindir" $APPDIR/admin
|
||||
|
||||
if [ $TOPLEVEL = "yes" ]; then
|
||||
getResource "source" $APPDIR/src
|
||||
else
|
||||
getResource "source" $APPDIR
|
||||
fi
|
||||
}
|
||||
|
||||
#
|
||||
# Copies the GNU (README, TODO, Changelog, etc.) files.
|
||||
#
|
||||
function moveGNUFiles
|
||||
{
|
||||
print " Moving the standard GNU files"
|
||||
for file in $GNUFiles
|
||||
do
|
||||
if [ -f $BUILDDIR/$APPDIR/src/$file ]; then
|
||||
mv $BUILDDIR/$APPDIR/src/$file $BUILDDIR/$1
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
#
|
||||
# Cleanup the application or i18n directory by removing
|
||||
# unneccessary files and directories.
|
||||
#
|
||||
function cleanupDirectory
|
||||
{
|
||||
dir="$1"
|
||||
print "Removing unneccessary files and directories"
|
||||
for file in $CLEANUPFILES
|
||||
do
|
||||
path="$dir/$file"
|
||||
if [ -f "$path" ]; then
|
||||
rm -f $path
|
||||
printlog " Removed file: $path"
|
||||
elif [ -d "$path" ]; then
|
||||
rm -Rf $path
|
||||
printlog " Removed directory: $path"
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
#
|
||||
# After all data for the app is gathered, some files
|
||||
# still need to be shuffled around.
|
||||
#
|
||||
function postProcessApplicationDir
|
||||
{
|
||||
print "Post-processing the application directory..."
|
||||
if [ $TOPLEVEL = "yes" ]; then
|
||||
moveGNUFiles $APPDIR
|
||||
fi
|
||||
|
||||
if [ ! -z "$POSTPROCESSSCRIPT" ]; then
|
||||
print "Running post-processing script..."
|
||||
cd $BUILDDIR/$APPDIR
|
||||
$POSTPROCESSSCRIPT
|
||||
err="$?"
|
||||
if [ $err -ne 0 ]; then
|
||||
print "ERROR: Post-processing script failed (return status: $err)"
|
||||
exit $err
|
||||
fi
|
||||
print "Post-processing script finished."
|
||||
fi
|
||||
}
|
||||
|
||||
function retrieveDocumentation
|
||||
{
|
||||
if [ $GETDOC = "no" ]; then
|
||||
return
|
||||
fi
|
||||
|
||||
print "Retrieving the documentation..."
|
||||
DOCDIR=$APPDIR/doc
|
||||
print " ($DOCDIR)"
|
||||
|
||||
getResource "documentation" $DOCDIR
|
||||
}
|
||||
|
||||
#
|
||||
# Determines what languages need to be retrieved.
|
||||
# If LANGUAGES was not set using the -l switch,
|
||||
# the tde-i18n/subdirs file is used.
|
||||
#
|
||||
function getLanguageList
|
||||
{
|
||||
print " Determining which languages to include..."
|
||||
if [ -z "$LANGUAGES" ]; then
|
||||
getResource "languagelist" languagelist
|
||||
if [ -e $BUILDDIR/languagelist ]; then
|
||||
LANGUAGES=`cat $BUILDDIR/languagelist`
|
||||
rm $BUILDDIR/languagelist
|
||||
else
|
||||
print "ERROR:"
|
||||
print "ERROR: Failed to automatically detect which languages to include."
|
||||
print "ERROR:"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
# Remove the excluded languages from the list
|
||||
LANGLIST=""
|
||||
for language in $LANGUAGES ; do
|
||||
EXCLUDE="false"
|
||||
for exclang in $EXCLUDELANGUAGES ; do
|
||||
if [ "$exclang" = "$language" ]; then
|
||||
EXCLUDE="true"
|
||||
break
|
||||
fi
|
||||
done
|
||||
if [ $EXCLUDE = "false" ]; then
|
||||
LANGLIST="$LANGLIST $language"
|
||||
fi
|
||||
done
|
||||
LANGUAGES=$LANGLIST
|
||||
print "Language list: $LANGUAGES"
|
||||
}
|
||||
|
||||
#
|
||||
# Creates the dir that holds the translations. This is either
|
||||
# a "translations" dir in the application build dir, or, if the
|
||||
# --split switch is used, the root dir of a separate i18n package.
|
||||
#
|
||||
function setupI18NDir
|
||||
{
|
||||
if [ $SPLIT = "yes" ]; then
|
||||
I18NDIR="$APPNAME-i18n-$APPVERSION"
|
||||
|
||||
getResource "topleveldir" $I18NDIR
|
||||
getResource "admindir" $I18NDIR/admin
|
||||
moveGNUFiles $I18NDIR
|
||||
|
||||
TRANSDIR=$I18NDIR
|
||||
else
|
||||
I18NDIR=$APPDIR
|
||||
TRANSDIR="$I18NDIR/translations"
|
||||
makeDir $TRANSDIR
|
||||
fi
|
||||
}
|
||||
|
||||
function createTranslationDirMakefile
|
||||
{
|
||||
if [ $GETI18N = "no" ]; then
|
||||
return
|
||||
fi
|
||||
|
||||
print " Creating Makefile.am in $1."
|
||||
CONTENTS="SUBDIRS=$INCLUDED_LANGUAGES"
|
||||
echo $CONTENTS > $1/Makefile.am
|
||||
}
|
||||
|
||||
function createTranslationMakefile
|
||||
{
|
||||
print " Creating Makefile.am in $1."
|
||||
CONTENTS="SUBDIRS="
|
||||
if [ -d "$1/messages" ]; then
|
||||
CONTENTS="$CONTENTS messages"
|
||||
fi
|
||||
if [ -d "$1/doc" ]; then
|
||||
CONTENTS="$CONTENTS doc";
|
||||
fi
|
||||
echo $CONTENTS > $1/Makefile.am
|
||||
}
|
||||
|
||||
function createTranslationMakefiles
|
||||
{
|
||||
if [ $GETI18N = "no" ]; then
|
||||
return
|
||||
fi
|
||||
|
||||
for language in $INCLUDED_LANGUAGES ; do
|
||||
createTranslationMakefile $BUILDDIR/$TRANSDIR/$language
|
||||
done
|
||||
}
|
||||
|
||||
function createGUITranslationMakefile
|
||||
{
|
||||
print " Creating Makefile.am in $2."
|
||||
echo "KDE_LANG = $1
|
||||
SUBDIRS = \$(AUTODIRS)
|
||||
POFILES = AUTO" > $2/Makefile.am
|
||||
}
|
||||
|
||||
function createDocTranslationMakefile
|
||||
{
|
||||
print " Creating Makefile.am in $2."
|
||||
echo "KDE_LANG = $1
|
||||
KDE_DOCS=$APPNAME" > $2/Makefile.am
|
||||
}
|
||||
|
||||
#
|
||||
# Get the .po files and put them in xx/messages
|
||||
# subdirectories, where xx is the language ISO code.
|
||||
#
|
||||
function retrieveGUITranslations
|
||||
{
|
||||
if [ $GETI18N = "no" ]; then
|
||||
return
|
||||
fi
|
||||
|
||||
print "Retrieving GUI translations..."
|
||||
setupI18NDir
|
||||
print " ($TRANSDIR)"
|
||||
|
||||
# determine which languages to get
|
||||
getLanguageList
|
||||
|
||||
# then get them (its really simple actually)
|
||||
INCLUDED_LANGUAGES=""
|
||||
for language in $LANGUAGES
|
||||
do
|
||||
print " Including language $language"
|
||||
makeDir $TRANSDIR/$language
|
||||
makeDir $TRANSDIR/$language/messages
|
||||
INCLUDE_THIS_LANG="yes"
|
||||
for pofile in $APP_POFILES; do
|
||||
getResource "guitranslation" $language $TRANSDIR/$language/messages $pofile
|
||||
if [ ! -e $BUILDDIR/$TRANSDIR/$language/messages/$pofile.po ]; then
|
||||
INCLUDE_THIS_LANG="no"
|
||||
fi
|
||||
done
|
||||
|
||||
if [ $INCLUDE_THIS_LANG = "yes" ]; then
|
||||
createGUITranslationMakefile $language $BUILDDIR/$TRANSDIR/$language/messages
|
||||
INCLUDED_LANGUAGES="$INCLUDED_LANGUAGES $language"
|
||||
else
|
||||
rm -rf $TRANSDIR/$language
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
function retrieveDocTranslations
|
||||
{
|
||||
if [ $GETI18N = "no" ]; then
|
||||
return
|
||||
fi
|
||||
|
||||
print "Retrieving documentation translations..."
|
||||
|
||||
for language in $INCLUDED_LANGUAGES ; do
|
||||
print " Including documentation for language $language"
|
||||
getResource "doctranslation" $language $TRANSDIR/$language/doc
|
||||
if [ -e $BUILDDIR/$TRANSDIR/$language/doc/index.docbook ]
|
||||
then
|
||||
createDocTranslationMakefile $language $BUILDDIR/$TRANSDIR/$language/doc
|
||||
else
|
||||
print " No translations for $language docs available."
|
||||
rm -rf $TRANSDIR/$language/doc
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
#
|
||||
# Create the configure script and Makefile.in's.
|
||||
#
|
||||
function packageApplication
|
||||
{
|
||||
cd $BUILDDIR
|
||||
|
||||
print "Creating configure script and Makefile.in files"
|
||||
(cd $APPDIR; runCommand make -f admin/Makefile.common cvs)
|
||||
|
||||
cleanupDirectory $APPDIR
|
||||
|
||||
TARNAME="$APPNAME-$APPVERSION.tar"
|
||||
if [ $PACKAGE = "gzip" ] || [ $PACKAGE = "yes" ]; then
|
||||
print "Packaging application ($TARNAME.gz)..."
|
||||
$GZIP $TARNAME.gz $APPDIR
|
||||
if [ $BUILDDIR != $TARBALLDIR ]; then
|
||||
cp $TARNAME.gz $TARBALLDIR
|
||||
fi
|
||||
fi
|
||||
if [ $PACKAGE = "bzip2" ] || [ $PACKAGE = "yes" ]; then
|
||||
print "Packaging application ($TARNAME.bz2)..."
|
||||
$BZIP2 $TARNAME.bz2 $APPDIR
|
||||
if [ $BUILDDIR != $TARBALLDIR ]; then
|
||||
cp $TARNAME.bz2 $TARBALLDIR
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
#
|
||||
# Create the configure script and Makefile.in's.
|
||||
#
|
||||
function packageTranslations
|
||||
{
|
||||
if [ $SPLIT != "yes" ] || [ $GETI18N != "yes" ]; then
|
||||
return
|
||||
fi
|
||||
|
||||
cd $BUILDDIR
|
||||
|
||||
print "Creating translations configure script and Makefile.in files"
|
||||
(cd $I18NDIR; runCommand make -f admin/Makefile.common cvs)
|
||||
|
||||
cleanupDirectory $I18NDIR
|
||||
|
||||
TARNAME="$APPNAME-i18n-$APPVERSION.tar"
|
||||
if [ $PACKAGE = "gzip" ] || [ $PACKAGE = "yes" ]; then
|
||||
print "Packaging translations ($TARNAME.gz)..."
|
||||
$GZIP $TARNAME.gz $I18NDIR
|
||||
if [ $BUILDDIR != $TARBALLDIR ]; then
|
||||
cp $TARNAME.gz $TARBALLDIR
|
||||
fi
|
||||
fi
|
||||
if [ $PACKAGE = "bzip2" ] || [ $PACKAGE = "yes" ]; then
|
||||
print "Packaging translations ($TARNAME.bz2)..."
|
||||
$BZIP2 $TARNAME.bz2 $I18NDIR
|
||||
if [ $BUILDDIR != $TARBALLDIR ]; then
|
||||
cp $TARNAME.bz2 $TARBALLDIR
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
#
|
||||
# Force the script to quit
|
||||
#
|
||||
function cancelScript
|
||||
{
|
||||
errorcode="$1"
|
||||
if [ -z "$errorcode" ]
|
||||
then
|
||||
errorcode="1"
|
||||
fi
|
||||
print "Script canceled ($errorcode)"
|
||||
exit $errorcode
|
||||
}
|
||||
|
||||
#
|
||||
# Do basic parameter checks, print some basic stuff
|
||||
# and initialize basic things.
|
||||
#
|
||||
function initBasic
|
||||
{
|
||||
trap "cancelScript" SIGINT SIGTERM
|
||||
|
||||
if [ -n "$LOGFILE" ]; then
|
||||
echo "$SCRIPTNAME revision $SCRIPTVERSION `date`" > $LOGFILE
|
||||
fi
|
||||
|
||||
if [ -z "$APPBASE" ]; then
|
||||
print "You need to specify an application base path (--app-base). See $SCRIPTNAME --help for more info."
|
||||
exit 1
|
||||
fi
|
||||
if [ -t "$APPNAME" ]; then
|
||||
print "You need to specify an application name (--app). See $SCRIPTNAME --help for more info."
|
||||
exit 1
|
||||
fi
|
||||
if [ "$GETI18N" = "yes" ] && [ -z "$I18NSUB" ]; then
|
||||
print "You need to specify the i18n subdir or disable i18n checkout (--i18n-sub or --noi18n). See $SCRIPTNAME --help for more info."
|
||||
exit 1
|
||||
fi
|
||||
if [ -z "$I18NDOCSUB" ]; then
|
||||
I18NDOCSUB="$I18NSUB"
|
||||
fi
|
||||
|
||||
if [ -z "$APP_POFILES" ]; then
|
||||
APP_POFILES="$APPNAME"
|
||||
fi
|
||||
|
||||
print "Using svn-root: $SVNROOT"
|
||||
}
|
||||
|
||||
function initVars
|
||||
{
|
||||
LOGFILE="$PWD/$SCRIPTNAME.log"
|
||||
|
||||
APPBASE=""
|
||||
APPNAME=""
|
||||
SVNROOT="svn://anonsvn.kde.org/home/kde"
|
||||
I18NBASE="trunk/l10n"
|
||||
I18NSUB=""
|
||||
I18NDOCSUB=""
|
||||
APP_POFILES=""
|
||||
ADMINDIR="trunk/KDE/kde-common/admin"
|
||||
|
||||
LASTRESULT="0"
|
||||
BUILDDIR="$PWD/build"
|
||||
TARBALLDIR=$BUILDDIR
|
||||
APPVERSION="`date +%d.%m.%y`"
|
||||
GETDOC="yes"
|
||||
GETI18N="yes"
|
||||
SPLIT="no"
|
||||
TOPLEVEL="yes"
|
||||
PLAINCONFIGURE="no"
|
||||
LISTTAGS="no"
|
||||
PACKAGE="no"
|
||||
LANGUAGES=""
|
||||
EXCLUDELANGUAGES="xx"
|
||||
GNUFiles="AUTHORS COPYING ChangeLog INSTALL TODO README README.MacOSX README.cwl kile-remote-control.txt Building-with-cmake.txt"
|
||||
CLEANUPFILES="autom4te.cache Makefile.cvs"
|
||||
POSTPROCESSSCRIPT=""
|
||||
|
||||
SVN_CHECKOUT_OPTIONS=""
|
||||
|
||||
BZIP2="tar jcf"
|
||||
GZIP="tar zcf"
|
||||
}
|
||||
|
||||
####################################################################
|
||||
## ##
|
||||
## Here we start: ##
|
||||
## ##
|
||||
####################################################################
|
||||
|
||||
# Set the default values for options.
|
||||
initVars
|
||||
|
||||
# Process the options given on the command-line.
|
||||
while [ "$#" -gt 0 ]
|
||||
do
|
||||
case $1 in
|
||||
-ab|--app-base)
|
||||
testParameter $1 $2
|
||||
APPBASE="$2"
|
||||
shift
|
||||
;;
|
||||
-a|--app)
|
||||
testParameter $1 $2
|
||||
APPNAME="$2"
|
||||
shift
|
||||
;;
|
||||
-d|--svnroot)
|
||||
testParameter $1 $2
|
||||
SVNROOT="$2"
|
||||
shift
|
||||
;;
|
||||
-ib|--i18n-base)
|
||||
testParameter $1 $2
|
||||
I18NBASE="$2"
|
||||
shift
|
||||
;;
|
||||
-is|--i18n-sub)
|
||||
testParameter $1 $2
|
||||
I18NSUB="$2"
|
||||
shift
|
||||
;;
|
||||
-ids|--i18n-docsub)
|
||||
testParameter $1 $2
|
||||
I18NDOCSUB="$2"
|
||||
shift
|
||||
;;
|
||||
--admin)
|
||||
testParameter $1 $2
|
||||
ADMINDIR="$2"
|
||||
shift
|
||||
;;
|
||||
-b|--builddir)
|
||||
testParameter $1 $2
|
||||
BUILDDIR="$2"
|
||||
shift
|
||||
;;
|
||||
-av|--appversion)
|
||||
testParameter $1 $2
|
||||
APPVERSION="$2"
|
||||
shift
|
||||
;;
|
||||
--pofiles)
|
||||
testParameter $1 $2
|
||||
APP_POFILES="$APP_POFILES $2"
|
||||
shift
|
||||
;;
|
||||
--nodoc)
|
||||
GETDOC="no"
|
||||
;;
|
||||
--noi18n)
|
||||
GETI18N="no"
|
||||
;;
|
||||
--split)
|
||||
SPLIT="yes"
|
||||
;;
|
||||
--notoplevel)
|
||||
TOPLEVEL="no"
|
||||
;;
|
||||
--package)
|
||||
PKGTYPE="$2"
|
||||
if [ "$PKGTYPE" = "gzip" ] || [ "$PKGTYPE" = "bzip2" ]
|
||||
then
|
||||
shift
|
||||
PACKAGE="$PKGTYPE"
|
||||
else
|
||||
PACKAGE="yes"
|
||||
fi
|
||||
;;
|
||||
--packagedir)
|
||||
testParameter $1 $2
|
||||
TARBALLDIR=$2
|
||||
shift
|
||||
;;
|
||||
--postprocess)
|
||||
testParameter $1 $2
|
||||
POSTPROCESSSCRIPT=$2
|
||||
shift
|
||||
;;
|
||||
-l|--languages)
|
||||
testParameter $1 $2
|
||||
LANGUAGES="$LANGUAGES $2"
|
||||
shift
|
||||
;;
|
||||
-el|--exclude-languages)
|
||||
testParameter $1 $2
|
||||
EXCLUDELANGUAGES="$EXCLUDELANGUAGES $2"
|
||||
shift
|
||||
;;
|
||||
--logfile)
|
||||
testParameter $1 $2
|
||||
if [ "$2" = "no" ]
|
||||
then
|
||||
LOGFILE=""
|
||||
else
|
||||
if [ "`echo $2 | cut -c1`" = "/" ]
|
||||
then
|
||||
LOGFILE=$2
|
||||
else
|
||||
LOGFILE=$PWD/$2
|
||||
fi
|
||||
fi
|
||||
shift
|
||||
;;
|
||||
-h|--help)
|
||||
showHelp
|
||||
exit 0
|
||||
;;
|
||||
-v|--version)
|
||||
showVersion
|
||||
exit 0
|
||||
;;
|
||||
*)
|
||||
echo "Invalid parameter $1"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
# process the next parameter
|
||||
shift
|
||||
done
|
||||
|
||||
initBasic
|
||||
|
||||
# Create the builddir, the place where the package will be assembled.
|
||||
# If no builddir is specified is specified "./$APPNAME-build" is used.
|
||||
setupBuildDir
|
||||
|
||||
assembleApplicationData
|
||||
retrieveDocumentation
|
||||
|
||||
retrieveGUITranslations
|
||||
retrieveDocTranslations
|
||||
createTranslationMakefiles
|
||||
createTranslationDirMakefile $BUILDDIR/$TRANSDIR
|
||||
|
||||
postProcessApplicationDir
|
||||
|
||||
packageApplication
|
||||
packageTranslations
|
||||
|
||||
# vim: set et ts=4 sts=4:
|
@ -1,2 +0,0 @@
|
||||
export UNSERMAKE=no
|
||||
./createPackage.sh -ab trunk/extragear/office -a kile --noi18n --admin branches/KDE/3.5/kde-common/admin -av 1.9 --package
|
@ -1,14 +0,0 @@
|
||||
Begin4
|
||||
Title: Kile
|
||||
Version: R14.0.0
|
||||
Description: Graphical LaTeX editor
|
||||
Keywords: TDE Qt
|
||||
Author: Thomas Braun, Michel Ludwig, Holger Danielsson
|
||||
Jeroen Wijnhout, Pascal Brachet
|
||||
Maintained-by: The Trinity Desktop Environment (TDE) http://www.trinitydesktop.org/
|
||||
Primary-site: http://git.trinitydesktop.org/cgit/
|
||||
Alternate-site:
|
||||
Original-site: http://kile.sourceforge.net
|
||||
Platforms: Linux and other Unices running TDE
|
||||
Copying-policy: GPL
|
||||
End
|
@ -0,0 +1,6 @@
|
||||
##### create translation templates ##############
|
||||
|
||||
tde_l10n_create_template(
|
||||
CATALOG "messages/kile"
|
||||
SOURCES "." "tips"
|
||||
)
|
@ -1,162 +1,163 @@
|
||||
ADD_SUBDIRECTORY( icons )
|
||||
ADD_SUBDIRECTORY( pics )
|
||||
ADD_SUBDIRECTORY( symbols )
|
||||
ADD_SUBDIRECTORY( templates )
|
||||
ADD_SUBDIRECTORY( syntax )
|
||||
ADD_SUBDIRECTORY( complete )
|
||||
ADD_SUBDIRECTORY( help )
|
||||
ADD_SUBDIRECTORY( encodings )
|
||||
ADD_SUBDIRECTORY( test )
|
||||
|
||||
INCLUDE( KDE3Macros )
|
||||
INCLUDE( FindPerl )
|
||||
|
||||
INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${KDE3_INCLUDE_DIR} ${QT_INCLUDE_DIR} )
|
||||
|
||||
########### next target ###############
|
||||
|
||||
|
||||
# taken from KDE4's KJS CMakeLists.txt file
|
||||
|
||||
SET(CREATE_HASH_TABLE ${CMAKE_CURRENT_SOURCE_DIR}/create_hash_table )
|
||||
|
||||
MACRO(CREATE_LUT _srcs_LIST _in_FILE _out_FILE _dep_FILE)
|
||||
ADD_CUSTOM_COMMAND(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${_out_FILE}
|
||||
COMMAND ${PERL_EXECUTABLE} ${CREATE_HASH_TABLE} ${CMAKE_CURRENT_SOURCE_DIR}/${_in_FILE} > ${CMAKE_CURRENT_BINARY_DIR}/${_out_FILE}
|
||||
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${_in_FILE} )
|
||||
SET( ${_srcs_LIST} ${${_srcs_LIST}} ${CMAKE_CURRENT_BINARY_DIR}/${_out_FILE})
|
||||
ENDMACRO(CREATE_LUT)
|
||||
|
||||
CREATE_LUT(kile_SRCS kilejscript.cpp kilejscript.lut.h kilejscript.cpp)
|
||||
|
||||
SET(kile_SRCS
|
||||
${kile_SRCS}
|
||||
latexcmd.cpp
|
||||
latexcmddialog.cpp
|
||||
texdocdialog.cpp
|
||||
userhelp.cpp
|
||||
userhelpdialog.cpp
|
||||
floatdialog.cpp
|
||||
mathenvdialog.cpp
|
||||
tabulardialog.cpp
|
||||
postscriptdialog.cpp
|
||||
previewconfigwidget.cpp
|
||||
quickpreview.cpp
|
||||
includegraphicsdialog.cpp
|
||||
newfilewizard.cpp
|
||||
managetemplatesdialog.cpp
|
||||
templates.cpp
|
||||
usermenudialog.cpp
|
||||
kileconfigdialog.cpp
|
||||
tabbingdialog.cpp
|
||||
symbolview.cpp
|
||||
quickdocumentdialog.cpp
|
||||
kilefileselect.cpp
|
||||
kileapplication.cpp
|
||||
docpart.cpp
|
||||
kile.cpp
|
||||
main.cpp
|
||||
kileactions.cpp
|
||||
kilestdactions.cpp
|
||||
kileinfo.cpp
|
||||
kiledocumentinfo.cpp
|
||||
kileproject.cpp
|
||||
kileprojectdlgs.cpp
|
||||
kileprojectview.cpp
|
||||
kilelistselector.cpp
|
||||
kilelyxserver.cpp
|
||||
latexoutputfilter.cpp
|
||||
outputinfo.cpp
|
||||
latexoutputinfo.cpp
|
||||
outputfilter.cpp
|
||||
kilegrepdialog.cpp
|
||||
kiletool.cpp
|
||||
kilelauncher.cpp
|
||||
kiletoolmanager.cpp
|
||||
kilestdtools.cpp
|
||||
kilelogwidget.cpp
|
||||
kileoutputwidget.cpp
|
||||
kilekonsolewidget.cpp
|
||||
kilewizard.cpp
|
||||
kilestructurewidget.cpp
|
||||
codecompletion.cpp
|
||||
configcodecompletion.cpp
|
||||
kiletoolconfigwidget.cpp
|
||||
kileedit.cpp
|
||||
cleandialog.cpp
|
||||
kilehelp.cpp
|
||||
configstructure.cpp
|
||||
convert.cpp
|
||||
kiledocmanager.cpp
|
||||
kileviewmanager.cpp
|
||||
kileeventfilter.cpp
|
||||
kileerrorhandler.cpp
|
||||
configcheckerdlg.cpp
|
||||
configtester.cpp
|
||||
kilesidebar.cpp
|
||||
plaintolatexconverter.cpp
|
||||
kileuntitled.cpp
|
||||
kilestatsdlg.cpp
|
||||
kilestatswidget.cpp
|
||||
previewwidget.cpp
|
||||
kilejscript.h
|
||||
kilejscript.cpp
|
||||
scriptsmanagementwidget.h
|
||||
scriptsmanagementwidget.cpp
|
||||
editorkeysequencemanager.h
|
||||
editorkeysequencemanager.cpp
|
||||
kileversion.cpp
|
||||
kileabbrevview.cpp
|
||||
kileextensions.cpp
|
||||
kilemultitabbar.cpp
|
||||
)
|
||||
|
||||
KDE3_AUTOMOC(${kile_SRCS})
|
||||
|
||||
SET( kile_UI
|
||||
helpconfigwidget.ui
|
||||
latexconfigwidget.ui
|
||||
generalconfigwidget.ui
|
||||
configcheckerwidget.ui
|
||||
toolconfigwidget.ui
|
||||
librarytoolconfigwidget.ui
|
||||
processtoolconfigwidget.ui
|
||||
quicktoolconfigwidget.ui
|
||||
latextoolconfigwidget.ui
|
||||
newtoolwizard.ui
|
||||
envconfigwidget.ui
|
||||
structureconfigwidget.ui
|
||||
symbolviewconfig.ui
|
||||
scriptingconfigwidget.ui
|
||||
graphicsconfigwidget.ui
|
||||
newdocumentwidget.ui
|
||||
add_subdirectory( icons )
|
||||
add_subdirectory( pics )
|
||||
add_subdirectory( symbols )
|
||||
add_subdirectory( templates )
|
||||
add_subdirectory( syntax )
|
||||
add_subdirectory( complete )
|
||||
add_subdirectory( help )
|
||||
add_subdirectory( encodings )
|
||||
add_subdirectory( test )
|
||||
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
KDE3_ADD_UI_FILES(kile_SRCS ${kile_UI} )
|
||||
|
||||
SET( kile_DCOP_SKEL_SRCS
|
||||
kileappIface.h
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
${TDE_LIB_DIR}
|
||||
)
|
||||
|
||||
KDE3_ADD_DCOP_SKELS(kile_SRCS ${kile_DCOP_SKEL_SRCS})
|
||||
|
||||
SET( kile_KCFG_SRCS
|
||||
kileconfig.kcfgc
|
||||
#####
|
||||
|
||||
set( _target ${PROJECT_NAME} )
|
||||
|
||||
set( ${_target}_SRCS
|
||||
latexcmd.cpp
|
||||
latexcmddialog.cpp
|
||||
texdocdialog.cpp
|
||||
userhelp.cpp
|
||||
userhelpdialog.cpp
|
||||
floatdialog.cpp
|
||||
mathenvdialog.cpp
|
||||
tabulardialog.cpp
|
||||
postscriptdialog.cpp
|
||||
previewconfigwidget.cpp
|
||||
quickpreview.cpp
|
||||
includegraphicsdialog.cpp
|
||||
newfilewizard.cpp
|
||||
managetemplatesdialog.cpp
|
||||
templates.cpp
|
||||
usermenudialog.cpp
|
||||
kileconfigdialog.cpp
|
||||
tabbingdialog.cpp
|
||||
symbolview.cpp
|
||||
quickdocumentdialog.cpp
|
||||
kilefileselect.cpp
|
||||
kileapplication.cpp
|
||||
docpart.cpp
|
||||
kile.cpp
|
||||
main.cpp
|
||||
kileactions.cpp
|
||||
kilestdactions.cpp
|
||||
kileinfo.cpp
|
||||
kiledocumentinfo.cpp
|
||||
kileproject.cpp
|
||||
kileprojectdlgs.cpp
|
||||
kileprojectview.cpp
|
||||
kilelistselector.cpp
|
||||
kilelyxserver.cpp
|
||||
latexoutputfilter.cpp
|
||||
outputinfo.cpp
|
||||
latexoutputinfo.cpp
|
||||
outputfilter.cpp
|
||||
kilegrepdialog.cpp
|
||||
kiletool.cpp
|
||||
kilelauncher.cpp
|
||||
kiletoolmanager.cpp
|
||||
kilestdtools.cpp
|
||||
kilelogwidget.cpp
|
||||
kileoutputwidget.cpp
|
||||
kilekonsolewidget.cpp
|
||||
kilewizard.cpp
|
||||
kilestructurewidget.cpp
|
||||
codecompletion.cpp
|
||||
configcodecompletion.cpp
|
||||
kiletoolconfigwidget.cpp
|
||||
kileedit.cpp
|
||||
cleandialog.cpp
|
||||
kilehelp.cpp
|
||||
configstructure.cpp
|
||||
convert.cpp
|
||||
kiledocmanager.cpp
|
||||
kileviewmanager.cpp
|
||||
kileeventfilter.cpp
|
||||
kileerrorhandler.cpp
|
||||
configcheckerdlg.cpp
|
||||
configtester.cpp
|
||||
kilesidebar.cpp
|
||||
plaintolatexconverter.cpp
|
||||
kileuntitled.cpp
|
||||
kilestatsdlg.cpp
|
||||
kilestatswidget.cpp
|
||||
previewwidget.cpp
|
||||
kilejscript.cpp
|
||||
scriptsmanagementwidget.cpp
|
||||
editorkeysequencemanager.cpp
|
||||
kileversion.cpp
|
||||
kileabbrevview.cpp
|
||||
kileextensions.cpp
|
||||
kilemultitabbar.cpp
|
||||
|
||||
helpconfigwidget.ui
|
||||
latexconfigwidget.ui
|
||||
generalconfigwidget.ui
|
||||
configcheckerwidget.ui
|
||||
toolconfigwidget.ui
|
||||
librarytoolconfigwidget.ui
|
||||
processtoolconfigwidget.ui
|
||||
quicktoolconfigwidget.ui
|
||||
latextoolconfigwidget.ui
|
||||
newtoolwizard.ui
|
||||
envconfigwidget.ui
|
||||
structureconfigwidget.ui
|
||||
symbolviewconfig.ui
|
||||
scriptingconfigwidget.ui
|
||||
graphicsconfigwidget.ui
|
||||
newdocumentwidget.ui
|
||||
|
||||
kileappIface.skel
|
||||
|
||||
kileconfig.kcfgc
|
||||
)
|
||||
|
||||
KDE3_ADD_KCFG_FILES(kile_SRCS ${kile_KCFG_SRCS})
|
||||
|
||||
KDE3_ADD_EXECUTABLE(kile ${kile_SRCS})
|
||||
add_custom_command( OUTPUT kilejscript.lut.h
|
||||
COMMAND ${PERL_EXECUTABLE} ARGS ${CMAKE_CURRENT_SOURCE_DIR}/create_hash_table
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/kilejscript.cpp > kilejscript.lut.h
|
||||
DEPENDS kilejscript.cpp
|
||||
)
|
||||
set_property( SOURCE kilejscript.cpp APPEND PROPERTY
|
||||
OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/kilejscript.lut.h
|
||||
)
|
||||
|
||||
TARGET_LINK_LIBRARIES(kile ${QT_AND_TDECORE_LIBS} kjs tdeprint tdetexteditor katepartinterfaces tdehtml )
|
||||
tde_add_executable( ${_target} AUTOMOC
|
||||
SOURCES
|
||||
${${_target}_SRCS}
|
||||
LINK
|
||||
tdecore-shared
|
||||
tdehtml-shared
|
||||
tdeprint-shared
|
||||
tdetexteditor-shared
|
||||
katepartinterfaces-shared
|
||||
kjs-shared
|
||||
|
||||
DESTINATION ${BIN_INSTALL_DIR}
|
||||
)
|
||||
|
||||
INSTALL( TARGETS kile DESTINATION bin )
|
||||
|
||||
##### other data
|
||||
|
||||
########### install files ###############
|
||||
tde_create_translated_desktop( kile.desktop )
|
||||
|
||||
INSTALL( FILES kile.desktop DESTINATION share/applications/tde )
|
||||
INSTALL( FILES kile.kcfg DESTINATION share/config.kcfg )
|
||||
INSTALL( FILES kileui.rc docpartui.rc kilestdtools.rc tips DESTINATION share/apps/kile )
|
||||
install( FILES kile.kcfg DESTINATION ${KCFG_INSTALL_DIR} )
|
||||
|
||||
KDE3_INSTALL_ICONS( hicolor )
|
||||
install(
|
||||
FILES kileui.rc docpartui.rc kilestdtools.rc tips
|
||||
DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}
|
||||
)
|
||||
|
@ -1,116 +0,0 @@
|
||||
####### tdevelop will overwrite this part!!! (begin)##########
|
||||
bin_PROGRAMS = kile
|
||||
|
||||
## INCLUDES were found outside tdevelop specific part
|
||||
|
||||
|
||||
kile_SOURCES = latexcmd.cpp latexcmddialog.cpp texdocdialog.cpp userhelp.cpp \
|
||||
userhelpdialog.cpp floatdialog.cpp mathenvdialog.cpp tabulardialog.cpp \
|
||||
postscriptdialog.cpp previewconfigwidget.cpp quickpreview.cpp includegraphicsdialog.cpp \
|
||||
newfilewizard.cpp managetemplatesdialog.cpp templates.cpp usermenudialog.cpp \
|
||||
kileconfigdialog.cpp tabbingdialog.cpp symbolview.cpp quickdocumentdialog.cpp \
|
||||
kilefileselect.cpp kileapplication.cpp docpart.cpp kile.cpp main.cpp kileactions.cpp \
|
||||
kilestdactions.cpp kileinfo.cpp kiledocumentinfo.cpp kileproject.cpp kileprojectdlgs.cpp \
|
||||
kileprojectview.cpp kilelistselector.cpp kilelyxserver.cpp latexoutputfilter.cpp \
|
||||
outputinfo.cpp latexoutputinfo.cpp outputfilter.cpp kilegrepdialog.cpp kiletool.cpp \
|
||||
kilelauncher.cpp kiletoolmanager.cpp kilestdtools.cpp kilelogwidget.cpp \
|
||||
kileoutputwidget.cpp kilekonsolewidget.cpp kilewizard.cpp kilestructurewidget.cpp \
|
||||
codecompletion.cpp configcodecompletion.cpp kiletoolconfigwidget.cpp kileedit.cpp \
|
||||
cleandialog.cpp kilehelp.cpp configstructure.cpp kileappIface.skel convert.cpp \
|
||||
helpconfigwidget.ui kiledocmanager.cpp kileviewmanager.cpp kileeventfilter.cpp \
|
||||
latexconfigwidget.ui kileconfig.kcfgc generalconfigwidget.ui kileerrorhandler.cpp \
|
||||
configcheckerdlg.cpp configcheckerwidget.ui configtester.cpp kilesidebar.cpp \
|
||||
toolconfigwidget.ui librarytoolconfigwidget.ui processtoolconfigwidget.ui \
|
||||
quicktoolconfigwidget.ui plaintolatexconverter.cpp latextoolconfigwidget.ui newtoolwizard.ui \
|
||||
kileuntitled.cpp kilestatsdlg.cpp kilestatswidget.cpp envconfigwidget.ui \
|
||||
structureconfigwidget.ui previewwidget.cpp kilejscript.h kilejscript.cpp \
|
||||
scriptsmanagementwidget.h scriptsmanagementwidget.cpp editorkeysequencemanager.h \
|
||||
editorkeysequencemanager.cpp scriptingconfigwidget.ui kileabbrevview.cpp kileextensions.cpp \
|
||||
kileversion.cpp graphicsconfigwidget.ui kilemultitabbar.cpp newdocumentwidget.ui\
|
||||
symbolviewconfig.ui
|
||||
|
||||
kile_LDADD = -lkjs -ltdeprint -ltdetexteditor -lkatepartinterfaces $(LIB_TDESPELL) $(LIB_TDEHTML)
|
||||
|
||||
SUBDIRS = icons pics symbols templates syntax complete help encodings test
|
||||
|
||||
EXTRA_DIST = main.cpp kile.cpp kile.h \
|
||||
docpart.cpp docpart.h kileappIface.h kileapplication.cpp kileapplication.h kile.desktop kilefileselect.cpp kilefileselect.h kileui.rc docpartui.rc tdemultiverttabbar.cpp tdemultiverttabbar.h letterdialog.cpp letterdialog.h quickdocumentdialog.cpp quickdocumentdialog.h symbolview.cpp symbolview.h tabbingdialog.cpp tabbingdialog.h \
|
||||
kileconfigdialog.cpp kileconfigdialog.h usermenudialog.cpp \
|
||||
usermenudialog.h kileabbrevview.cpp kileabbrevview.h \
|
||||
newfilewizard.cpp newfilewizard.h templates.cpp templates.h managetemplatesdialog.cpp \
|
||||
managetemplatesdialog.h kileinfo.h kileinfo.cpp kilestdactions.cpp \
|
||||
kilestdactions.h kileproject.h kileproject.cpp kileprojectdlgs.cpp \
|
||||
kileprojectdlgs.h kileprojectview.cpp kileprojectview.h \
|
||||
kilelistselector.cpp kilelistselector.h kilelyxserver.cpp kilelyxserver.h \
|
||||
latexoutputfilter.cpp outputinfo.cpp latexoutputinfo.cpp \
|
||||
outputfilter.cpp latexoutputfilter.h outputinfo.h latexoutputinfo.h \
|
||||
includegraphicsdialog.h includegraphicsdialog.cpp kiletoolconfigwidget.cpp kiletoolconfigwidget.h outputfilter.h kilegrepdialog.cpp kilegrepdialog.h codecompletion.h codecompletion.cpp configcodecompletion.cpp configcodecompletion.h kileedit.cpp cleandialog.cpp kileedit.h cleandialog.h kilehelp.cpp kilehelp.h configstructure.cpp configstructure.h configenvironment.h convert.h convert.cpp \
|
||||
kileconstants.h kilejscript.h kilejscript.cpp scriptsmanagementwidget.h scriptsmanagementwidget.cpp editorkeysequencemanager.h editorkeysequencemanager.cpp kilemultitabbar.cpp kilemultitabbar.h kilemultitabbar_p.h
|
||||
|
||||
xdg_apps_DATA = kile.desktop
|
||||
|
||||
kde_kcfg_DATA = kile.kcfg
|
||||
|
||||
KDE_ICON = AUTO
|
||||
|
||||
####### tdevelop will overwrite this part!!! (end)############
|
||||
# These paths are KDE specific. Use them:
|
||||
# kde_appsdir Where your application's menu entry (.desktop) should go to.
|
||||
# kde_icondir Where your icon should go to - better use KDE_ICON.
|
||||
# kde_sounddir Where your sounds should go to.
|
||||
# kde_htmldir Where your docs should go to. (contains lang subdirs)
|
||||
# kde_datadir Where you install application data. (Use a subdir)
|
||||
# kde_locale Where translation files should go to. (contains lang subdirs)
|
||||
# kde_cgidir Where cgi-bin executables should go to.
|
||||
# kde_confdir Where config files should go to (system-wide ones with default values).
|
||||
# kde_mimedir Where mimetypes .desktop files should go to.
|
||||
# kde_servicesdir Where services .desktop files should go to.
|
||||
# kde_servicetypesdir Where servicetypes .desktop files should go to.
|
||||
# kde_toolbardir Where general toolbar icons should go to (deprecated, use KDE_ICON).
|
||||
# kde_wallpaperdir Where general wallpapers should go to.
|
||||
# kde_templatesdir Where templates for the "New" menu (Konqueror/KDesktop) should go to.
|
||||
# kde_bindir Where executables should go to. Use bin_PROGRAMS or bin_SCRIPTS.
|
||||
# kde_libdir Where shared libraries should go to. Use lib_LTLIBRARIES.
|
||||
# kde_moduledir Where modules (e.g. parts) should go to. Use kde_module_LTLIBRARIES.
|
||||
# kde_styledir Where Qt/KDE widget styles should go to (new in KDE 3).
|
||||
# kde_designerdir Where Qt Designer plugins should go to (new in KDE 3).
|
||||
|
||||
# set the include path for X, qt and KDE
|
||||
INCLUDES = $(all_includes)
|
||||
|
||||
METASOURCES = AUTO
|
||||
|
||||
# the library search path.
|
||||
kile_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor $(LIB_TDEPARTS)
|
||||
|
||||
rcdir = $(kde_datadir)/kile
|
||||
rc_DATA = kileui.rc docpartui.rc kilestdtools.rc tips
|
||||
|
||||
messages: rc.cpp
|
||||
$(PREPARETIPS) > tips.txt
|
||||
LIST=`find . -name \*.h -o -name \*.txt -o -name \*.hh -o -name \*.H -o -name \*.hxx -o -name \*.hpp -o -name \*.cpp -o -name \*.cc -o -name \*.cxx -o -name \*.ecpp -o -name \*.C`; \
|
||||
if test -n "$$LIST"; then \
|
||||
$(XGETTEXT) $$LIST -o $(podir)/kile.pot; \
|
||||
fi
|
||||
rm -f tips.txt
|
||||
|
||||
syntaxdir = $(kde_appsdir)/katepart/syntax
|
||||
noinst_HEADERS = kilestatsdlg.h configcheckerdlg.h configtester.h convert.h \
|
||||
envconfigwidget.h kileconstants.h kiledebug.h kiledocmanager.h kileerrorhandler.h \
|
||||
kileeventfilter.h kilekonsolewidget.h kilelauncher.h kilelogwidget.h kilemultitabbar.h \
|
||||
kilemultitabbar_p.h kileoutputwidget.h kilesidebar.h kilestatswidget.h kilestdtools.h \
|
||||
kilestructurewidget.h kiletool.h kiletool_enums.h kiletoolmanager.h kileuntitled.h \
|
||||
kileversion.h kileviewmanager.h kilewizard.h latexconfigwidget.h \
|
||||
plaintolatexconverter.h structureconfigwidget.h
|
||||
|
||||
CREATE_HASH_TABLE = $(srcdir)/create_hash_table
|
||||
|
||||
kilejscript.lut.h : $(srcdir)/kilejscript.cpp $(CREATE_HASH_TABLE)
|
||||
$(PERL) $(CREATE_HASH_TABLE) $(srcdir)/kilejscript.cpp > $@
|
||||
kilejscript.lo: kilejscript.lut.h
|
||||
|
||||
kilejscript.o: kilejscript.lut.h
|
||||
|
||||
LUT_FILES = kilejscript.lut.h
|
||||
|
||||
CLEANFILES = $(LUT_FILES)
|
@ -1,3 +1,14 @@
|
||||
ADD_SUBDIRECTORY( abbreviation )
|
||||
ADD_SUBDIRECTORY( tex )
|
||||
ADD_SUBDIRECTORY( dictionary )
|
||||
|
||||
file( GLOB _completions RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} * )
|
||||
list( SORT _completions )
|
||||
|
||||
foreach( _completion IN LISTS _completions )
|
||||
if( IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/${_completion} )
|
||||
file( GLOB _files ${_completion}/*.cwl )
|
||||
list( SORT _files )
|
||||
install(
|
||||
FILES ${_files}
|
||||
DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}/complete/${_completion}
|
||||
)
|
||||
endif()
|
||||
endforeach()
|
||||
|
@ -1 +0,0 @@
|
||||
SUBDIRS=abbreviation tex dictionary
|
@ -1,7 +0,0 @@
|
||||
|
||||
########### install files ###############
|
||||
|
||||
INSTALL( FILES
|
||||
example.cwl
|
||||
fastex.cwl
|
||||
DESTINATION share/apps/kile/complete/abbreviation )
|
@ -1,3 +0,0 @@
|
||||
abbcompletedir = $(kde_datadir)/kile/complete/abbreviation
|
||||
abbcomplete_DATA = example.cwl \
|
||||
fastex.cwl
|
@ -1,4 +0,0 @@
|
||||
|
||||
########### install files ###############
|
||||
|
||||
INSTALL( FILES example.cwl metapost.cwl DESTINATION share/apps/kile/complete/dictionary )
|
@ -1,2 +0,0 @@
|
||||
dictcompletedir = $(kde_datadir)/kile/complete/dictionary
|
||||
dictcomplete_DATA = example.cwl metapost.cwl
|
@ -1,109 +0,0 @@
|
||||
|
||||
########### install files ###############
|
||||
# get this cwl list with "for i in `ls *.cwl -1`; do echo "$i"; done"
|
||||
SET(kile_texCompleteFiles
|
||||
acronym.cwl
|
||||
allrunes.cwl
|
||||
amsopn.cwl
|
||||
afterpage.cwl
|
||||
amsbsy.cwl
|
||||
amsfonts.cwl
|
||||
amsmath.cwl
|
||||
amssymb.cwl
|
||||
amsthm.cwl
|
||||
array.cwl
|
||||
attachfile.cwl
|
||||
babel.cwl
|
||||
beamerfoils.cwl
|
||||
beamerprosper.cwl
|
||||
beamerseminar.cwl
|
||||
beamertexpower.cwl
|
||||
booktabs.cwl
|
||||
bm.cwl
|
||||
braket.cwl
|
||||
calc.cwl
|
||||
class-beamer.cwl
|
||||
class-letter.cwl
|
||||
class-scrartcl,scrreprt,scrbook.cwl
|
||||
class-scrlttr2.cwl
|
||||
color.cwl
|
||||
colortbl.cwl
|
||||
coordsys.cwl
|
||||
currvita.cwl
|
||||
cyrillic.cwl
|
||||
diagxy.cwl
|
||||
doi.cwl
|
||||
enumerate.cwl
|
||||
fancybox.cwl
|
||||
fancyhdr.cwl
|
||||
fancyunits-base.cwl
|
||||
fancyunits_big-fractions.cwl
|
||||
fancyunits_medium-fractions.cwl
|
||||
fancyunits-np.cwl
|
||||
fancyunits-per.cwl
|
||||
fancyunits_small-fractions.cwl
|
||||
fancyvrb.cwl
|
||||
float.cwl
|
||||
fontspec.cwl
|
||||
graphicx.cwl
|
||||
glosstex.cwl
|
||||
hyperref.cwl
|
||||
ifthen.cwl
|
||||
import.cwl
|
||||
jurabib.cwl
|
||||
latex-209.cwl
|
||||
latex-dev.cwl
|
||||
latex-document.cwl
|
||||
latex-l2tabu.cwl
|
||||
latex-mathsymbols.cwl
|
||||
layout.cwl
|
||||
listings.cwl
|
||||
logsys.cwl
|
||||
longtable.cwl
|
||||
lscape.cwl
|
||||
manyfoot.cwl
|
||||
mdwlist.cwl
|
||||
multicol.cwl
|
||||
multido.cwl
|
||||
nicefrac.sty
|
||||
pdfpages.cwl
|
||||
psfrag.cwl
|
||||
pst-3d.cwl
|
||||
pst-blur.cwl
|
||||
pst-char.cwl
|
||||
pst-coil.cwl
|
||||
pst-eps.cwl
|
||||
pst-fill.cwl
|
||||
pst-node.cwl
|
||||
pst-plot.cwl
|
||||
pstricks.cwl
|
||||
pst-text.cwl
|
||||
pst-tree.cwl
|
||||
rotating.cwl
|
||||
scraddr.cwl
|
||||
scrdate.cwl
|
||||
scrlfile.cwl
|
||||
scrpage2.cwl
|
||||
scrtime.cwl
|
||||
setspace.cwl
|
||||
siunitx.cwl
|
||||
siunitx-special.cwl
|
||||
subfig.cwl
|
||||
supertabular.cwl
|
||||
svninfo.cwl
|
||||
svn-multi.cwl
|
||||
tabularx.cwl
|
||||
tex.cwl
|
||||
textcomp.cwl
|
||||
todonotes.cwl
|
||||
url.cwl
|
||||
varioref.cwl
|
||||
verse.cwl
|
||||
virginialake.cwl
|
||||
xifthen.cwl
|
||||
xltxtra.cwl
|
||||
xtab.cwl
|
||||
yfonts.cwl
|
||||
)
|
||||
|
||||
INSTALL( FILES ${kile_texCompleteFiles} DESTINATION share/apps/kile/complete/tex )
|
@ -1,104 +0,0 @@
|
||||
texcompletedir = $(kde_datadir)/kile/complete/tex
|
||||
texcomplete_DATA = \
|
||||
acronym.cwl \
|
||||
afterpage.cwl \
|
||||
allrunes.cwl \
|
||||
amsbsy.cwl \
|
||||
amsfonts.cwl \
|
||||
amsmath.cwl \
|
||||
amsopn.cwl \
|
||||
amssymb.cwl \
|
||||
amsthm.cwl \
|
||||
array.cwl \
|
||||
attachfile.cwl \
|
||||
babel.cwl \
|
||||
beamerfoils.cwl \
|
||||
beamerprosper.cwl \
|
||||
beamerseminar.cwl \
|
||||
beamertexpower.cwl \
|
||||
booktabs.cwl \
|
||||
bm.cwl \
|
||||
braket.cwl \
|
||||
calc.cwl \
|
||||
class-beamer.cwl \
|
||||
class-letter.cwl \
|
||||
class-scrartcl,scrreprt,scrbook.cwl \
|
||||
class-scrlttr2.cwl \
|
||||
color.cwl \
|
||||
colortbl.cwl \
|
||||
coordsys.cwl \
|
||||
currvita.cwl \
|
||||
cyrillic.cwl \
|
||||
diagxy.cwl \
|
||||
doi.cwl \
|
||||
enumerate.cwl \
|
||||
fancybox.cwl \
|
||||
fancyhdr.cwl \
|
||||
fancyunits-base.cwl \
|
||||
fancyunits_big-fractions.cwl \
|
||||
fancyunits_medium-fractions.cwl \
|
||||
fancyunits-np.cwl \
|
||||
fancyunits-per.cwl \
|
||||
fancyunits_small-fractions.cwl \
|
||||
fancyvrb.cwl \
|
||||
float.cwl \
|
||||
fontspec.cwl \
|
||||
glosstex.cwl \
|
||||
graphicx.cwl \
|
||||
hyperref.cwl \
|
||||
ifthen.cwl \
|
||||
import.cwl \
|
||||
jurabib.cwl \
|
||||
latex-209.cwl \
|
||||
latex-dev.cwl \
|
||||
latex-document.cwl \
|
||||
latex-l2tabu.cwl \
|
||||
latex-mathsymbols.cwl \
|
||||
layout.cwl \
|
||||
listings.cwl \
|
||||
logsys.cwl \
|
||||
longtable.cwl \
|
||||
lscape.cwl \
|
||||
manyfoot.cwl \
|
||||
mdwlist.cwl \
|
||||
multicol.cwl \
|
||||
multido.cwl \
|
||||
nicefrac.cwl \
|
||||
pdfpages.cwl \
|
||||
psfrag.cwl \
|
||||
pst-3d.cwl \
|
||||
pst-blur.cwl \
|
||||
pst-char.cwl \
|
||||
pst-coil.cwl \
|
||||
pst-eps.cwl \
|
||||
pst-fill.cwl \
|
||||
pst-node.cwl \
|
||||
pst-plot.cwl \
|
||||
pstricks.cwl \
|
||||
pst-text.cwl \
|
||||
pst-tree.cwl \
|
||||
rotating.cwl \
|
||||
scraddr.cwl \
|
||||
scrdate.cwl \
|
||||
scrlfile.cwl \
|
||||
scrpage2.cwl \
|
||||
scrtime.cwl \
|
||||
setspace.cwl \
|
||||
siunitx.cwl \
|
||||
siunitx-special.cwl \
|
||||
subfig.cwl \
|
||||
supertabular.cwl \
|
||||
svninfo.cwl \
|
||||
svn-multi.cwl \
|
||||
tabularx.cwl \
|
||||
tex.cwl \
|
||||
textcomp.cwl \
|
||||
todonotes.cwl \
|
||||
url.cwl \
|
||||
varioref.cwl \
|
||||
verse.cwl \
|
||||
virginialake.cwl \
|
||||
xifthen.cwl \
|
||||
xltxtra.cwl \
|
||||
xtab.cwl \
|
||||
yfonts.cwl
|
@ -1,4 +1,10 @@
|
||||
|
||||
########### install files ###############
|
||||
|
||||
INSTALL( FILES latin1.enc latin2.enc latin3.enc latin4.enc latin5.enc latin9.enc cp1250.enc cp1252.enc DESTINATION share/apps/kile/encodings )
|
||||
file( GLOB _files *.enc )
|
||||
list( SORT _files )
|
||||
|
||||
install(
|
||||
FILES ${_files}
|
||||
DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}/encodings
|
||||
)
|
||||
|
@ -1,3 +0,0 @@
|
||||
encodingsdir = $(kde_datadir)/kile/encodings
|
||||
encodings_DATA = latin1.enc latin2.enc latin3.enc latin4.enc latin5.enc latin9.enc cp1250.enc cp1252.enc
|
||||
|
@ -1,4 +1,10 @@
|
||||
|
||||
########### install files ###############
|
||||
|
||||
INSTALL( FILES latex-kile.lst latex-tetex.lst latex-tetex3.lst latex-texlive-3.9.lst DESTINATION share/apps/kile/help )
|
||||
file( GLOB _files *.lst )
|
||||
list( SORT _files )
|
||||
|
||||
install(
|
||||
FILES ${_files}
|
||||
DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}/help
|
||||
)
|
||||
|
@ -1,3 +0,0 @@
|
||||
helpdir = $(kde_datadir)/kile/help
|
||||
help_DATA = latex-kile.lst latex-tetex.lst latex-tetex3.lst latex-texlive-3.9.lst
|
||||
|
@ -1,11 +1,4 @@
|
||||
ADD_SUBDIRECTORY( actions )
|
||||
|
||||
INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${KDE3_INCLUDE_DIR} ${QT_INCLUDE_DIR} )
|
||||
|
||||
INCLUDE(KDE3Macros)
|
||||
|
||||
########### install files ###############
|
||||
|
||||
|
||||
KDE3_INSTALL_ICONS( hicolor )
|
||||
add_subdirectory( actions )
|
||||
|
||||
tde_install_icons( )
|
||||
|
@ -1,2 +0,0 @@
|
||||
SUBDIRS=actions
|
||||
KDE_ICON = AUTO
|
@ -1,11 +1,4 @@
|
||||
INCLUDE(KDE3Macros)
|
||||
|
||||
########### install files ###############
|
||||
|
||||
|
||||
KDE3_INSTALL_ICONS( hicolor )
|
||||
|
||||
#original Makefile.am contents follow:
|
||||
|
||||
#kileiconsdir = $(kde_datadir)/kile/icons
|
||||
#kileicons_ICON = AUTO
|
||||
tde_install_icons( DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}/icons )
|
||||
|
@ -1,2 +0,0 @@
|
||||
kileiconsdir = $(kde_datadir)/kile/icons
|
||||
kileicons_ICON = AUTO
|
Before Width: | Height: | Size: 227 B After Width: | Height: | Size: 188 B |
Before Width: | Height: | Size: 211 B After Width: | Height: | Size: 183 B |
Before Width: | Height: | Size: 394 B After Width: | Height: | Size: 337 B |
Before Width: | Height: | Size: 496 B After Width: | Height: | Size: 434 B |
Before Width: | Height: | Size: 277 B After Width: | Height: | Size: 248 B |
Before Width: | Height: | Size: 237 B After Width: | Height: | Size: 200 B |
Before Width: | Height: | Size: 533 B After Width: | Height: | Size: 386 B |
Before Width: | Height: | Size: 478 B After Width: | Height: | Size: 279 B |
Before Width: | Height: | Size: 480 B After Width: | Height: | Size: 455 B |
Before Width: | Height: | Size: 477 B After Width: | Height: | Size: 453 B |
Before Width: | Height: | Size: 513 B After Width: | Height: | Size: 452 B |
Before Width: | Height: | Size: 762 B After Width: | Height: | Size: 761 B |
Before Width: | Height: | Size: 748 B After Width: | Height: | Size: 747 B |
Before Width: | Height: | Size: 765 B After Width: | Height: | Size: 758 B |
Before Width: | Height: | Size: 1003 B After Width: | Height: | Size: 998 B |
Before Width: | Height: | Size: 218 B After Width: | Height: | Size: 191 B |
Before Width: | Height: | Size: 674 B After Width: | Height: | Size: 604 B |
Before Width: | Height: | Size: 675 B After Width: | Height: | Size: 604 B |
Before Width: | Height: | Size: 662 B After Width: | Height: | Size: 604 B |
Before Width: | Height: | Size: 210 B After Width: | Height: | Size: 181 B |
Before Width: | Height: | Size: 685 B After Width: | Height: | Size: 616 B |
Before Width: | Height: | Size: 684 B After Width: | Height: | Size: 616 B |
Before Width: | Height: | Size: 658 B After Width: | Height: | Size: 602 B |
Before Width: | Height: | Size: 669 B After Width: | Height: | Size: 609 B |
Before Width: | Height: | Size: 660 B After Width: | Height: | Size: 602 B |
Before Width: | Height: | Size: 668 B After Width: | Height: | Size: 606 B |
Before Width: | Height: | Size: 173 B After Width: | Height: | Size: 167 B |
Before Width: | Height: | Size: 213 B After Width: | Height: | Size: 179 B |
Before Width: | Height: | Size: 179 B After Width: | Height: | Size: 164 B |
Before Width: | Height: | Size: 307 B After Width: | Height: | Size: 276 B |
Before Width: | Height: | Size: 299 B After Width: | Height: | Size: 275 B |
Before Width: | Height: | Size: 191 B After Width: | Height: | Size: 135 B |
Before Width: | Height: | Size: 490 B After Width: | Height: | Size: 450 B |
Before Width: | Height: | Size: 497 B After Width: | Height: | Size: 453 B |
Before Width: | Height: | Size: 482 B After Width: | Height: | Size: 453 B |
Before Width: | Height: | Size: 513 B After Width: | Height: | Size: 453 B |
Before Width: | Height: | Size: 315 B After Width: | Height: | Size: 315 B |
Before Width: | Height: | Size: 227 B After Width: | Height: | Size: 189 B |
Before Width: | Height: | Size: 220 B After Width: | Height: | Size: 190 B |
Before Width: | Height: | Size: 570 B After Width: | Height: | Size: 445 B |
Before Width: | Height: | Size: 201 B After Width: | Height: | Size: 190 B |
Before Width: | Height: | Size: 158 B After Width: | Height: | Size: 158 B |
Before Width: | Height: | Size: 586 B After Width: | Height: | Size: 561 B |
Before Width: | Height: | Size: 812 B After Width: | Height: | Size: 750 B |
Before Width: | Height: | Size: 328 B After Width: | Height: | Size: 246 B |
Before Width: | Height: | Size: 502 B After Width: | Height: | Size: 461 B |
Before Width: | Height: | Size: 536 B After Width: | Height: | Size: 464 B |
Before Width: | Height: | Size: 259 B After Width: | Height: | Size: 209 B |
Before Width: | Height: | Size: 119 B After Width: | Height: | Size: 104 B |
Before Width: | Height: | Size: 249 B After Width: | Height: | Size: 231 B |
Before Width: | Height: | Size: 165 B After Width: | Height: | Size: 154 B |
Before Width: | Height: | Size: 155 B After Width: | Height: | Size: 138 B |
Before Width: | Height: | Size: 254 B After Width: | Height: | Size: 217 B |
Before Width: | Height: | Size: 262 B After Width: | Height: | Size: 209 B |
Before Width: | Height: | Size: 265 B After Width: | Height: | Size: 229 B |
Before Width: | Height: | Size: 213 B After Width: | Height: | Size: 205 B |
Before Width: | Height: | Size: 264 B After Width: | Height: | Size: 221 B |
Before Width: | Height: | Size: 226 B After Width: | Height: | Size: 184 B |
Before Width: | Height: | Size: 179 B After Width: | Height: | Size: 159 B |
Before Width: | Height: | Size: 236 B After Width: | Height: | Size: 198 B |
Before Width: | Height: | Size: 233 B After Width: | Height: | Size: 202 B |
Before Width: | Height: | Size: 750 B After Width: | Height: | Size: 629 B |
Before Width: | Height: | Size: 663 B After Width: | Height: | Size: 529 B |
Before Width: | Height: | Size: 259 B After Width: | Height: | Size: 230 B |
Before Width: | Height: | Size: 518 B After Width: | Height: | Size: 398 B |
Before Width: | Height: | Size: 229 B After Width: | Height: | Size: 199 B |
Before Width: | Height: | Size: 717 B After Width: | Height: | Size: 633 B |
Before Width: | Height: | Size: 662 B After Width: | Height: | Size: 531 B |
Before Width: | Height: | Size: 253 B After Width: | Height: | Size: 193 B |
Before Width: | Height: | Size: 577 B After Width: | Height: | Size: 535 B |
Before Width: | Height: | Size: 764 B After Width: | Height: | Size: 747 B |
Before Width: | Height: | Size: 851 B After Width: | Height: | Size: 851 B |
Before Width: | Height: | Size: 570 B After Width: | Height: | Size: 413 B |
Before Width: | Height: | Size: 509 B After Width: | Height: | Size: 459 B |
Before Width: | Height: | Size: 509 B After Width: | Height: | Size: 456 B |
Before Width: | Height: | Size: 536 B After Width: | Height: | Size: 463 B |
Before Width: | Height: | Size: 536 B After Width: | Height: | Size: 462 B |
Before Width: | Height: | Size: 479 B After Width: | Height: | Size: 444 B |
Before Width: | Height: | Size: 512 B After Width: | Height: | Size: 453 B |
Before Width: | Height: | Size: 483 B After Width: | Height: | Size: 443 B |
Before Width: | Height: | Size: 477 B After Width: | Height: | Size: 447 B |
Before Width: | Height: | Size: 186 B After Width: | Height: | Size: 156 B |
Before Width: | Height: | Size: 169 B After Width: | Height: | Size: 143 B |
Before Width: | Height: | Size: 476 B After Width: | Height: | Size: 370 B |
Before Width: | Height: | Size: 499 B After Width: | Height: | Size: 385 B |
Before Width: | Height: | Size: 216 B After Width: | Height: | Size: 190 B |
Before Width: | Height: | Size: 183 B After Width: | Height: | Size: 183 B |
Before Width: | Height: | Size: 178 B After Width: | Height: | Size: 179 B |
Before Width: | Height: | Size: 299 B After Width: | Height: | Size: 279 B |
Before Width: | Height: | Size: 878 B After Width: | Height: | Size: 735 B |
Before Width: | Height: | Size: 847 B After Width: | Height: | Size: 707 B |
Before Width: | Height: | Size: 747 B After Width: | Height: | Size: 638 B |
Before Width: | Height: | Size: 573 B After Width: | Height: | Size: 552 B |
Before Width: | Height: | Size: 223 B After Width: | Height: | Size: 176 B |
Before Width: | Height: | Size: 562 B After Width: | Height: | Size: 442 B |
Before Width: | Height: | Size: 617 B After Width: | Height: | Size: 448 B |
Before Width: | Height: | Size: 676 B After Width: | Height: | Size: 480 B |
Before Width: | Height: | Size: 319 B After Width: | Height: | Size: 270 B |
Before Width: | Height: | Size: 986 B After Width: | Height: | Size: 979 B |
Before Width: | Height: | Size: 962 B After Width: | Height: | Size: 962 B |
Before Width: | Height: | Size: 975 B After Width: | Height: | Size: 976 B |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 904 B After Width: | Height: | Size: 731 B |
Before Width: | Height: | Size: 566 B After Width: | Height: | Size: 520 B |
Before Width: | Height: | Size: 230 B After Width: | Height: | Size: 195 B |
Before Width: | Height: | Size: 203 B After Width: | Height: | Size: 190 B |
Before Width: | Height: | Size: 623 B After Width: | Height: | Size: 544 B |
Before Width: | Height: | Size: 715 B After Width: | Height: | Size: 579 B |
Before Width: | Height: | Size: 683 B After Width: | Height: | Size: 566 B |
Before Width: | Height: | Size: 597 B After Width: | Height: | Size: 467 B |
Before Width: | Height: | Size: 549 B After Width: | Height: | Size: 440 B |
Before Width: | Height: | Size: 323 B After Width: | Height: | Size: 285 B |
Before Width: | Height: | Size: 629 B After Width: | Height: | Size: 536 B |
Before Width: | Height: | Size: 574 B After Width: | Height: | Size: 518 B |
Before Width: | Height: | Size: 791 B After Width: | Height: | Size: 753 B |
Before Width: | Height: | Size: 742 B After Width: | Height: | Size: 670 B |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 408 B After Width: | Height: | Size: 293 B |
Before Width: | Height: | Size: 558 B After Width: | Height: | Size: 521 B |
Before Width: | Height: | Size: 293 B After Width: | Height: | Size: 248 B |
Before Width: | Height: | Size: 190 B After Width: | Height: | Size: 153 B |
Before Width: | Height: | Size: 306 B After Width: | Height: | Size: 267 B |
Before Width: | Height: | Size: 975 B After Width: | Height: | Size: 951 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 987 B |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 959 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1021 B |
Before Width: | Height: | Size: 574 B After Width: | Height: | Size: 573 B |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 929 B |
Before Width: | Height: | Size: 736 B After Width: | Height: | Size: 552 B |
Before Width: | Height: | Size: 1017 B After Width: | Height: | Size: 905 B |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 967 B After Width: | Height: | Size: 963 B |
Before Width: | Height: | Size: 1000 B After Width: | Height: | Size: 989 B |
Before Width: | Height: | Size: 308 B After Width: | Height: | Size: 266 B |
Before Width: | Height: | Size: 228 B After Width: | Height: | Size: 179 B |
Before Width: | Height: | Size: 872 B After Width: | Height: | Size: 862 B |
Before Width: | Height: | Size: 771 B After Width: | Height: | Size: 740 B |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 968 B After Width: | Height: | Size: 956 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 902 B |
Before Width: | Height: | Size: 868 B After Width: | Height: | Size: 787 B |
Before Width: | Height: | Size: 320 B After Width: | Height: | Size: 288 B |
Before Width: | Height: | Size: 656 B After Width: | Height: | Size: 496 B |
Before Width: | Height: | Size: 568 B After Width: | Height: | Size: 432 B |
Before Width: | Height: | Size: 793 B After Width: | Height: | Size: 703 B |
Before Width: | Height: | Size: 479 B After Width: | Height: | Size: 362 B |
Before Width: | Height: | Size: 360 B After Width: | Height: | Size: 288 B |
Before Width: | Height: | Size: 672 B After Width: | Height: | Size: 540 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 986 B |
Before Width: | Height: | Size: 337 B After Width: | Height: | Size: 271 B |
Before Width: | Height: | Size: 486 B After Width: | Height: | Size: 353 B |
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1009 B |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1016 B |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 505 B After Width: | Height: | Size: 343 B |
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 4.1 KiB |
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 827 B After Width: | Height: | Size: 791 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.3 KiB |
@ -1,4 +1,10 @@
|
||||
|
||||
########### install files ###############
|
||||
|
||||
INSTALL( FILES type_Book.tex.kileicon type_Letter.tex.kileicon type_Scrartcl.tex.kileicon kile_splash_base.png type_Default.png type_Project.png type_Scrbook.tex.kileicon kile_splash.png type_Article.tex.kileicon type_Empty.png type_Prosper.tex.kileicon type_Scrlttr2.tex.kileicon type_Beamer.tex.kileicon type_HA-prosper.tex.kileicon type_Report.tex.kileicon type_Scrreprt.tex.kileicon DESTINATION share/apps/kile/pics )
|
||||
file( GLOB _pics *.png *.kileicon )
|
||||
list( SORT _pics )
|
||||
|
||||
install(
|
||||
FILES ${_pics}
|
||||
DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}/pics
|
||||
)
|
||||
|
@ -1,2 +0,0 @@
|
||||
picsdir = $(kde_datadir)/kile/pics
|
||||
pics_DATA=kile_splash.png type_Article.tex.kileicon type_Book.tex.kileicon type_Default.png type_Empty.png type_Letter.tex.kileicon type_Project.png type_Report.tex.kileicon type_Beamer.tex.kileicon type_Scrartcl.tex.kileicon type_Scrreprt.tex.kileicon type_HA-prosper.tex.kileicon type_Scrbook.tex.kileicon type_Prosper.tex.kileicon type_Scrlttr2.tex.kileicon
|
Before Width: | Height: | Size: 9.6 KiB After Width: | Height: | Size: 6.8 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.6 KiB |
@ -1,48 +1,40 @@
|
||||
# FILE( GLOB_RECURSE _allFiles * )
|
||||
# FOREACH( _file ${_allFiles} )
|
||||
# # MESSAGE(STATUS "checking ${_file}")
|
||||
# IF( IS_DIRECTORY _file )
|
||||
# MESSAGE(STATUS "Installing dir ${_file$}")
|
||||
# INSTALL( DIRECTORY _file DESTINATION share/apps/kile/mathsymbols
|
||||
# PATTERN ".svn" EXCLUDE
|
||||
# PATTERN "Makefile.am" EXCLUDE)
|
||||
# ENDIF( IS_DIRECTORY _file )
|
||||
# ENDFOREACH( _file )
|
||||
|
||||
SET(kile_symbolSubdirs
|
||||
arrows
|
||||
cyrillic
|
||||
delimiters
|
||||
greek
|
||||
misc-math
|
||||
misc-text
|
||||
operators
|
||||
relation
|
||||
special
|
||||
)
|
||||
|
||||
# for the future:
|
||||
# INSTALL( DIRECTORY ${kile_symbolSubdirs} DESTINATION share/apps/kile/mathsymbols
|
||||
# PATTERN ".svn" EXCLUDE
|
||||
# PATTERN "Makefile.am" EXCLUDE)
|
||||
##### install files
|
||||
|
||||
file( GLOB _symbols RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} * )
|
||||
list( SORT _symbols )
|
||||
|
||||
foreach( _symbol IN LISTS _symbols )
|
||||
if( IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/${_symbol} )
|
||||
file( GLOB _files ${_symbol}/*.png )
|
||||
list( SORT _files )
|
||||
install(
|
||||
FILES ${_files}
|
||||
DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}/mathsymbols/${_symbol}
|
||||
)
|
||||
endif()
|
||||
endforeach()
|
||||
|
||||
FOREACH( _dir ${kile_symbolSubdirs} )
|
||||
ADD_SUBDIRECTORY( ${_dir} )
|
||||
ENDFOREACH( _dir )
|
||||
|
||||
########### next target ###############
|
||||
|
||||
INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${KDE3_INCLUDE_DIR} ${QT_INCLUDE_DIR} )
|
||||
INCLUDE( FindKDE3 )
|
||||
SET(gesymb_SRCS
|
||||
gesymb.cpp
|
||||
gesymb.h
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
KDE3_AUTOMOC(${gesymb_SRCS})
|
||||
ADD_EXECUTABLE(gesymb EXCLUDE_FROM_ALL ${gesymb_SRCS} )
|
||||
TARGET_LINK_LIBRARIES(gesymb ${QT_AND_TDECORE_LIBS} )
|
||||
|
||||
|
||||
########### install files ###############
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
${TDE_LIB_DIR}
|
||||
)
|
||||
|
||||
|
||||
tde_add_executable( gesymb AUTOMOC
|
||||
SOURCES
|
||||
gesymb.cpp
|
||||
LINK
|
||||
${TQT_LIBRARIES}
|
||||
)
|
||||
|
@ -1,7 +0,0 @@
|
||||
INCLUDES = $(all_includes)
|
||||
|
||||
gesymb_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT)
|
||||
noinst_PROGRAMS = gesymb
|
||||
gesymb_SOURCES = gesymb.cpp gesymb.h
|
||||
|
||||
SUBDIRS = $(AUTODIRS)
|
@ -1,77 +0,0 @@
|
||||
|
||||
SET(symbols
|
||||
img001arrows.png
|
||||
img002arrows.png
|
||||
img003arrows.png
|
||||
img004arrows.png
|
||||
img005arrows.png
|
||||
img006arrows.png
|
||||
img007arrows.png
|
||||
img008arrows.png
|
||||
img009arrows.png
|
||||
img010arrows.png
|
||||
img011arrows.png
|
||||
img012arrows.png
|
||||
img013arrows.png
|
||||
img014arrows.png
|
||||
img015arrows.png
|
||||
img016arrows.png
|
||||
img017arrows.png
|
||||
img018arrows.png
|
||||
img019arrows.png
|
||||
img020arrows.png
|
||||
img021arrows.png
|
||||
img022arrows.png
|
||||
img023arrows.png
|
||||
img024arrows.png
|
||||
img025arrows.png
|
||||
img026arrows.png
|
||||
img027arrows.png
|
||||
img028arrows.png
|
||||
img029arrows.png
|
||||
img030arrows.png
|
||||
img031arrows.png
|
||||
img032arrows.png
|
||||
img033arrows.png
|
||||
img034arrows.png
|
||||
img035arrows.png
|
||||
img036arrows.png
|
||||
img037arrows.png
|
||||
img038arrows.png
|
||||
img039arrows.png
|
||||
img040arrows.png
|
||||
img041arrows.png
|
||||
img042arrows.png
|
||||
img043arrows.png
|
||||
img044arrows.png
|
||||
img045arrows.png
|
||||
img046arrows.png
|
||||
img047arrows.png
|
||||
img048arrows.png
|
||||
img049arrows.png
|
||||
img050arrows.png
|
||||
img051arrows.png
|
||||
img052arrows.png
|
||||
img053arrows.png
|
||||
img054arrows.png
|
||||
img055arrows.png
|
||||
img056arrows.png
|
||||
img057arrows.png
|
||||
img058arrows.png
|
||||
img059arrows.png
|
||||
img060arrows.png
|
||||
img061arrows.png
|
||||
img062arrows.png
|
||||
img063arrows.png
|
||||
img064arrows.png
|
||||
img065arrows.png
|
||||
img066arrows.png
|
||||
img067arrows.png
|
||||
img068arrows.png
|
||||
img069arrows.png
|
||||
)
|
||||
|
||||
########### install files ###############
|
||||
|
||||
INSTALL( FILES ${symbols} DESTINATION share/apps/kile/mathsymbols/arrows )
|
||||
|
@ -1,71 +0,0 @@
|
||||
picsdir = $(kde_datadir)/kile/mathsymbols/arrows
|
||||
|
||||
pics_DATA = img001arrows.png \
|
||||
img002arrows.png \
|
||||
img003arrows.png \
|
||||
img004arrows.png \
|
||||
img005arrows.png \
|
||||
img006arrows.png \
|
||||
img007arrows.png \
|
||||
img008arrows.png \
|
||||
img009arrows.png \
|
||||
img010arrows.png \
|
||||
img011arrows.png \
|
||||
img012arrows.png \
|
||||
img013arrows.png \
|
||||
img014arrows.png \
|
||||
img015arrows.png \
|
||||
img016arrows.png \
|
||||
img017arrows.png \
|
||||
img018arrows.png \
|
||||
img019arrows.png \
|
||||
img020arrows.png \
|
||||
img021arrows.png \
|
||||
img022arrows.png \
|
||||
img023arrows.png \
|
||||
img024arrows.png \
|
||||
img025arrows.png \
|
||||
img026arrows.png \
|
||||
img027arrows.png \
|
||||
img028arrows.png \
|
||||
img029arrows.png \
|
||||
img030arrows.png \
|
||||
img031arrows.png \
|
||||
img032arrows.png \
|
||||
img033arrows.png \
|
||||
img034arrows.png \
|
||||
img035arrows.png \
|
||||
img036arrows.png \
|
||||
img037arrows.png \
|
||||
img038arrows.png \
|
||||
img039arrows.png \
|
||||
img040arrows.png \
|
||||
img041arrows.png \
|
||||
img042arrows.png \
|
||||
img043arrows.png \
|
||||
img044arrows.png \
|
||||
img045arrows.png \
|
||||
img046arrows.png \
|
||||
img047arrows.png \
|
||||
img048arrows.png \
|
||||
img049arrows.png \
|
||||
img050arrows.png \
|
||||
img051arrows.png \
|
||||
img052arrows.png \
|
||||
img053arrows.png \
|
||||
img054arrows.png \
|
||||
img055arrows.png \
|
||||
img056arrows.png \
|
||||
img057arrows.png \
|
||||
img058arrows.png \
|
||||
img059arrows.png \
|
||||
img060arrows.png \
|
||||
img061arrows.png \
|
||||
img062arrows.png \
|
||||
img063arrows.png \
|
||||
img064arrows.png \
|
||||
img065arrows.png \
|
||||
img066arrows.png \
|
||||
img067arrows.png \
|
||||
img068arrows.png \
|
||||
img069arrows.png
|
Before Width: | Height: | Size: 229 B After Width: | Height: | Size: 228 B |
Before Width: | Height: | Size: 262 B After Width: | Height: | Size: 261 B |
Before Width: | Height: | Size: 223 B After Width: | Height: | Size: 223 B |
Before Width: | Height: | Size: 253 B After Width: | Height: | Size: 253 B |
Before Width: | Height: | Size: 244 B After Width: | Height: | Size: 242 B |
Before Width: | Height: | Size: 284 B After Width: | Height: | Size: 283 B |
Before Width: | Height: | Size: 238 B After Width: | Height: | Size: 238 B |
Before Width: | Height: | Size: 268 B After Width: | Height: | Size: 268 B |
Before Width: | Height: | Size: 220 B After Width: | Height: | Size: 220 B |
Before Width: | Height: | Size: 260 B After Width: | Height: | Size: 258 B |
Before Width: | Height: | Size: 223 B After Width: | Height: | Size: 223 B |
Before Width: | Height: | Size: 237 B After Width: | Height: | Size: 235 B |
Before Width: | Height: | Size: 246 B After Width: | Height: | Size: 246 B |
Before Width: | Height: | Size: 235 B After Width: | Height: | Size: 235 B |
Before Width: | Height: | Size: 255 B After Width: | Height: | Size: 254 B |
Before Width: | Height: | Size: 270 B After Width: | Height: | Size: 270 B |
Before Width: | Height: | Size: 250 B After Width: | Height: | Size: 250 B |
Before Width: | Height: | Size: 238 B After Width: | Height: | Size: 238 B |
Before Width: | Height: | Size: 234 B After Width: | Height: | Size: 234 B |
Before Width: | Height: | Size: 268 B After Width: | Height: | Size: 270 B |
Before Width: | Height: | Size: 291 B After Width: | Height: | Size: 290 B |
Before Width: | Height: | Size: 272 B After Width: | Height: | Size: 272 B |
Before Width: | Height: | Size: 258 B After Width: | Height: | Size: 256 B |
Before Width: | Height: | Size: 252 B After Width: | Height: | Size: 252 B |
Before Width: | Height: | Size: 249 B After Width: | Height: | Size: 249 B |
Before Width: | Height: | Size: 260 B After Width: | Height: | Size: 260 B |
Before Width: | Height: | Size: 245 B After Width: | Height: | Size: 245 B |
Before Width: | Height: | Size: 257 B After Width: | Height: | Size: 257 B |
Before Width: | Height: | Size: 246 B After Width: | Height: | Size: 245 B |
Before Width: | Height: | Size: 297 B After Width: | Height: | Size: 297 B |
Before Width: | Height: | Size: 260 B After Width: | Height: | Size: 260 B |
Before Width: | Height: | Size: 273 B After Width: | Height: | Size: 270 B |
Before Width: | Height: | Size: 324 B After Width: | Height: | Size: 321 B |
Before Width: | Height: | Size: 281 B After Width: | Height: | Size: 281 B |
Before Width: | Height: | Size: 289 B After Width: | Height: | Size: 286 B |
Before Width: | Height: | Size: 255 B After Width: | Height: | Size: 254 B |
Before Width: | Height: | Size: 266 B After Width: | Height: | Size: 265 B |
Before Width: | Height: | Size: 303 B After Width: | Height: | Size: 303 B |
Before Width: | Height: | Size: 328 B After Width: | Height: | Size: 328 B |
Before Width: | Height: | Size: 302 B After Width: | Height: | Size: 302 B |
Before Width: | Height: | Size: 267 B After Width: | Height: | Size: 266 B |
Before Width: | Height: | Size: 263 B After Width: | Height: | Size: 261 B |
Before Width: | Height: | Size: 263 B After Width: | Height: | Size: 261 B |
Before Width: | Height: | Size: 282 B After Width: | Height: | Size: 281 B |
Before Width: | Height: | Size: 267 B After Width: | Height: | Size: 267 B |
Before Width: | Height: | Size: 261 B After Width: | Height: | Size: 257 B |
Before Width: | Height: | Size: 294 B After Width: | Height: | Size: 291 B |
Before Width: | Height: | Size: 296 B After Width: | Height: | Size: 295 B |
Before Width: | Height: | Size: 293 B After Width: | Height: | Size: 292 B |
Before Width: | Height: | Size: 288 B After Width: | Height: | Size: 287 B |
Before Width: | Height: | Size: 225 B After Width: | Height: | Size: 225 B |
Before Width: | Height: | Size: 226 B After Width: | Height: | Size: 226 B |
Before Width: | Height: | Size: 299 B After Width: | Height: | Size: 296 B |
Before Width: | Height: | Size: 283 B After Width: | Height: | Size: 283 B |
Before Width: | Height: | Size: 270 B After Width: | Height: | Size: 270 B |
Before Width: | Height: | Size: 267 B After Width: | Height: | Size: 267 B |
Before Width: | Height: | Size: 311 B After Width: | Height: | Size: 306 B |
Before Width: | Height: | Size: 273 B After Width: | Height: | Size: 273 B |
Before Width: | Height: | Size: 242 B After Width: | Height: | Size: 242 B |
Before Width: | Height: | Size: 225 B After Width: | Height: | Size: 225 B |
Before Width: | Height: | Size: 208 B After Width: | Height: | Size: 208 B |
Before Width: | Height: | Size: 218 B After Width: | Height: | Size: 218 B |
Before Width: | Height: | Size: 217 B After Width: | Height: | Size: 217 B |
Before Width: | Height: | Size: 251 B After Width: | Height: | Size: 250 B |
Before Width: | Height: | Size: 255 B After Width: | Height: | Size: 255 B |