Compare commits
17 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| dd04b72a67 | |||
| 9d0ee5010b | |||
| 919dbe2a0f | |||
| 8c44bbd89b | |||
| a899084e37 | |||
| 8b3dac7ce6 | |||
| 47cc8f14fa | |||
| ca041a4e14 | |||
| 5165abf494 | |||
| 80c63a8d5b | |||
| 41192641d3 | |||
| f76ea1c06e | |||
| a20dd6cfae | |||
| 610f150858 | |||
| 559eb37e83 | |||
| 056589b009 | |||
| 3597973d9f |
@@ -0,0 +1,43 @@
|
||||
[Buildset]
|
||||
Number of Builditems=1
|
||||
|
||||
[Buildset][Builditem0]
|
||||
Itemname=KMess
|
||||
Itempath=./
|
||||
Projectname=KMess
|
||||
|
||||
[CMake]
|
||||
BuildDirs=./build
|
||||
CMakeDir=/usr/share/cmake/Modules
|
||||
Current CMake binary=cmake
|
||||
CurrentBuildDir=./build
|
||||
CurrentInstallDir=
|
||||
ProjectRootRelative=./
|
||||
|
||||
[Chat Window debug-Run Options]
|
||||
Arguments=--runtest chatwindow
|
||||
Executable=./build/src/kmess
|
||||
Working Directory=./build/src/
|
||||
|
||||
[Contact List debug-Run Options]
|
||||
Arguments=--runtest contactlist
|
||||
Executable=./build/src/kmess
|
||||
Working Directory=./build/src/
|
||||
|
||||
[Debug-Run Options]
|
||||
Executable=./build/src/kmess
|
||||
|
||||
[MakeBuilder]
|
||||
Abort on First Error=false
|
||||
Number Of Jobs=3
|
||||
Run Multiple Jobs=true
|
||||
|
||||
[Project]
|
||||
VersionControlSupport=kdevsubversion
|
||||
|
||||
[Run Options]
|
||||
Run Targets=Chat Window debug,Contact List debug,Debug
|
||||
|
||||
[Veritas]
|
||||
executables=
|
||||
framework=QTest
|
||||
@@ -1,2 +1,232 @@
|
||||
Mike K. Bennett <mkb137b@hotmail.com>
|
||||
Michael Curtis <mdcurtis@users.sourceforge.net>
|
||||
-- Developers --
|
||||
|
||||
Mike K. Bennett <mkb137@users.sourceforge.net>
|
||||
Michael Curtis <mdcurtis@users.sourceforge.net>
|
||||
Jan Toenjes <jan.toenjes@web.de>
|
||||
Diederik van der Boor <vdboor@codingdomain.com>
|
||||
Richard Conway <richardconway@users.sourceforge.net>
|
||||
Valerio Pilo <amroth@coldshock.net>
|
||||
Antonio Nastasi <sifcenter@gmail.com>
|
||||
Ruben Vandamme <vandammeru@gmail.com>
|
||||
Sjors Gielen <dazjorz@dazjorz.com>
|
||||
Adam Goossens <fontknocker@gmail.com>
|
||||
|
||||
-- Translations --
|
||||
|
||||
Translations Maintainer:
|
||||
|
||||
Panagiotis Papadopoulos <pano_90@gmx.net>
|
||||
|
||||
Arabic:
|
||||
|
||||
Mohamed Aser <mohasr@link.net>
|
||||
Youssef Chahibi <chahibi@gmail.com>
|
||||
Ma'moun Diraneyya <mamoun.diraneyya@gmail.com>
|
||||
|
||||
Brazilian Portuguese:
|
||||
|
||||
Mauricio Rother <mauricio@digicomm.com.br>
|
||||
Leonel Freire <leonelfreire@gmail.com>
|
||||
Sergio Rafael Lemke <bedi.com@gmail.com>
|
||||
Maurício Arozi Moraes
|
||||
|
||||
Catalan:
|
||||
|
||||
Jaume Cornadó <jaumec@lleida.net>
|
||||
Adrià Arrufat <swiftscythe@gmail.com>
|
||||
|
||||
Chinese (Simplified):
|
||||
|
||||
Lin Haoxiang <linhaoxiang@hotmail.com>
|
||||
Liu Sizhuang <chinatslsz@hotmail.com>
|
||||
Cheng Yang <yangzju@gmail.com>
|
||||
|
||||
Chinese (Traditional):
|
||||
|
||||
Yen-chou Chen <yenchou.mse90@nctu.edu.tw>
|
||||
Tryneeds-Chinese Translation Platform <http://tryneeds.westart.tw/tryneeds>
|
||||
|
||||
Danish:
|
||||
|
||||
Lars Sommer <admin@lasg.dk>
|
||||
Pascal d'Hermilly <pascal@tipisoft.dk>
|
||||
|
||||
Dutch:
|
||||
|
||||
Arend van Beelen Jr. <arend@auton.nl>
|
||||
Diederik van der Boor <vdboor@codingdomain.com>
|
||||
Jaap Woldringh <jjh.woldringh@planet.nl>
|
||||
Elve <elve@savage-elve.net>
|
||||
Sander Pientka <cumulus0007@gmail.com>
|
||||
Heimen Stoffels <djmusic121@gmail.com>
|
||||
|
||||
Estonian:
|
||||
|
||||
Jyri Toomessoo <nuubik@hotmail.com>
|
||||
|
||||
Finnish:
|
||||
|
||||
Markus Vuori <markus@vuoret.net>
|
||||
Joonas Niilola <juippis@roskakori.org>
|
||||
Jussi Timperi <jussi.timperi@gmail.com>
|
||||
Antony Hussi <antony.hussi@tranciend.com>
|
||||
|
||||
French:
|
||||
|
||||
Choplair <pachilor@yahoo.co.jp>
|
||||
Vincent Fretin <fretinvincent@hotmail.com>
|
||||
Andrea Blankenstijn <darkan9el@gmail.com>
|
||||
Barthe Guillaume <gu_barthe@yahoo.fr>
|
||||
Scias <shining.scias@gmail.com>
|
||||
|
||||
German:
|
||||
|
||||
Jan Tönjes <jan.toenjes@web.de>
|
||||
Panagiotis Papadopoulos <pano_90@gmx.net>
|
||||
|
||||
Greek:
|
||||
|
||||
Panagiotis Papadopoulos <pano_90@gmx.net>
|
||||
Dimitrios Glentadakis <dglent@gmail.com>
|
||||
|
||||
Hungarian:
|
||||
|
||||
Páder Rezső <rezso@rezso.net>
|
||||
Pauli Henrik <henrik.pauli@drangolin.net>
|
||||
|
||||
Italian:
|
||||
|
||||
David Vignoni <dvgn@libero.it>
|
||||
Valerio Pilo <amroth@coldshock.net>
|
||||
Vincenzo Reale <smart2128@baslug.org>
|
||||
Andrea Decorte <adecorte@gmail.com>
|
||||
|
||||
Japanese:
|
||||
|
||||
Daniel E. Moctezuma <shinsen27@gmail.com>
|
||||
|
||||
Korean:
|
||||
|
||||
Park Dong Cheon <pdc@kaist.ac.kr>
|
||||
|
||||
Norsk Bokmal:
|
||||
|
||||
Øyvind Sæther <oyvind@sather.tk>
|
||||
|
||||
Serbian:
|
||||
|
||||
Zoran Milovanović <provalisam@gmail.com>
|
||||
|
||||
Slovak:
|
||||
|
||||
Rastislav Krupanský <ra100@atlas.sk>
|
||||
|
||||
Slovenian:
|
||||
|
||||
Matjaž Kaše <kase@g-kabel.si>
|
||||
|
||||
Spanish:
|
||||
|
||||
Johanna Gersch
|
||||
J.C.A. Javi <yovoya30ks@hotmail.com>
|
||||
Alejandro Araiza Alvarado <mebrelith@gmail.com>
|
||||
Jaume Corbí <jaume4@gmail.com>
|
||||
Christian Kaiser <k39@users.sourceforge.net>
|
||||
Juan Pablo González Tognarelli <jotapesan@gmail.com>
|
||||
Alexis Daniel Medina Medina <alexismedina@gmail.com>
|
||||
Manuel Ramírez <elpreto@kde.org.ar>
|
||||
Mauricio Muñoz Lucero <real.mml@gmail.com>
|
||||
|
||||
Swedish:
|
||||
|
||||
Christian Lundgren <zeflunk@gmail.com>
|
||||
Mattias Newzella <newzella@gmail.com>
|
||||
|
||||
Thai:
|
||||
|
||||
Rachan Hongpairote <rachanh@yahoo.com>
|
||||
|
||||
Turkish:
|
||||
|
||||
Gorkem Cetin <gorkem@gelecek.com.tr>
|
||||
Barbaros Ulutas <tebarul@yahoo.com>
|
||||
Uğur Çetin <ugur.jnmbk@gmail.com>
|
||||
|
||||
-- Thanks to --
|
||||
|
||||
Jan Tönjes <jan.toenjes@web.de>
|
||||
- testing, documentation, web master, project management, etc
|
||||
|
||||
Dane Harnett <dynamitedane@hotmail.com>
|
||||
- web design
|
||||
|
||||
David Vignoni <dvgn@libero.it>
|
||||
- the main yellow/blue/violet emoticon sets
|
||||
|
||||
Laurence Anderson <l.d.anderson@warwick.ac.uk>
|
||||
- original file receive code
|
||||
|
||||
Scott Morgan <blumf@blumf.freeserve.co.uk>
|
||||
- Xinerama fixes
|
||||
|
||||
Julien Joubin <jujubinche@netscape.net>
|
||||
- Cartoon emoticons
|
||||
|
||||
Christian Muller <cmue81@gmx.de>
|
||||
- Default sound theme
|
||||
|
||||
Choe Hwanjin <hjchoe@hancom.com>
|
||||
- Various internationalization fixes.
|
||||
|
||||
Vincent Fretin <fretinvincent@hotmail.com>
|
||||
- MSN6 emoticon definitions
|
||||
|
||||
Lin Haoxiang <linhaoxiang@hotmail.com>
|
||||
- Send file bugfix, proxy code
|
||||
|
||||
Tobias Tönjes
|
||||
- Guy with a bag over his head
|
||||
|
||||
Damien Sandras <dsandras@seconix.com>
|
||||
- GnomeMeeting developer
|
||||
|
||||
Liu Sizhuang <chinatslsz@hotmail.com>
|
||||
- P4-Context field support
|
||||
|
||||
Guido Solinas <whereismwhite@gmail.com>
|
||||
- Pictures in contact list code
|
||||
- Contact client info
|
||||
- Chat font zoom
|
||||
|
||||
Pedro Ferreira <pedro.ferreira@fe.up.pt>
|
||||
- File transfer thumbnails
|
||||
|
||||
Matteo Nardi <91.matteo@gmail.com>
|
||||
- KWallet support
|
||||
|
||||
Andrea Decorte <adecorte@gmail.com>
|
||||
- Group selection in 'contact added user' dialog
|
||||
|
||||
Dario Freddi <drf_av@users.sourceforge.net>
|
||||
- Chat history dialog
|
||||
|
||||
KMerlin <http://kmerlin.olsd.de/>
|
||||
- Inspiration and assorted code
|
||||
|
||||
Kopete <http://kopete.kde.org/>
|
||||
- Old Popup Balloon code
|
||||
- Initial p2p code
|
||||
- MSN Challenge handler
|
||||
|
||||
KScreensaver
|
||||
- Idle timer code
|
||||
|
||||
BasKet
|
||||
- Close-to-tray icon screenshot code
|
||||
|
||||
Amarok
|
||||
- Custom crash handler implementation
|
||||
- System tray icon overlay implementation
|
||||
|
||||
Quassel
|
||||
- KNotify not giving focus bug fix and KWin focus stealing prevention workaround
|
||||
|
||||
@@ -0,0 +1,242 @@
|
||||
PROJECT( kmess )
|
||||
|
||||
|
||||
#### System checks ####
|
||||
|
||||
# To add checks, see in one or more of these paths
|
||||
# /usr/share/cmake/Modules
|
||||
# /usr/share/kde4/apps/cmake/modules
|
||||
# /usr/share/apps/cmake
|
||||
|
||||
# Check for cmake, same as minimum for KDE 4.0.0
|
||||
CMAKE_MINIMUM_REQUIRED( VERSION 2.4.5 )
|
||||
|
||||
# Check for KDE 4
|
||||
FIND_PACKAGE( KDE4 REQUIRED )
|
||||
|
||||
# Check for libxml2
|
||||
FIND_PACKAGE( LibXml2 )
|
||||
MACRO_LOG_FEATURE( LIBXML2_FOUND "LibXML2" "Libraries used to develop XML-aware applications" "http://www.xmlsoft.org/" TRUE ""
|
||||
" Required for the chat styles system.
|
||||
* You will need this package and the matching development package: for example, 'kmess' and 'kmess-dev' or 'kmess-devel'.
|
||||
* Usually the package names for this library are:
|
||||
on Ubuntu: 'libxml2' and 'libxml2-dev'
|
||||
on openSUSE: 'libxml2' and 'libxml2-devel'
|
||||
* Please refer to the KMess board for more info, and specially to this guide: http://www.kmess.org/board/viewtopic.php?t=3100" )
|
||||
|
||||
# Check for libxslt
|
||||
FIND_PACKAGE( LibXslt )
|
||||
MACRO_LOG_FEATURE( LIBXSLT_FOUND "LibXSLT" "A library to transform XML into other formats" "http://www.xmlsoft.org/XSLT" TRUE ""
|
||||
" Required for the chat styles system.
|
||||
* You will need this package and the matching development package: for example, 'kmess' and 'kmess-dev' or 'kmess-devel'.
|
||||
* Usually the package names for this library are:
|
||||
on Ubuntu: 'libxslt' and 'libxslt-dev'
|
||||
on openSUSE: 'libxslt' and 'libxslt-devel'
|
||||
* Please refer to the KMess board for more info, and specially to this guide: http://www.kmess.org/board/viewtopic.php?t=3100" )
|
||||
|
||||
# Check for qca2
|
||||
FIND_PACKAGE( QCA2 )
|
||||
MACRO_LOG_FEATURE( QCA2_FOUND "QCA 2" "A cryptographic library written in Qt to access various encryption methods" "http://delta.affinix.com/qca/" TRUE ""
|
||||
" Required for the Windows Live Messenger login process.
|
||||
* You will need this package and the matching development package: for example, 'kmess' and 'kmess-dev' or 'kmess-devel'.
|
||||
* Usually the package names for this library are:
|
||||
on Ubuntu: 'libqca2', 'libqca2-dev' and 'libqca2-plugin-ossl'
|
||||
on openSUSE: 'libqca2' and 'libqca2-devel'
|
||||
on Fedora: 'qca2' and 'qca2-devel'
|
||||
* Please refer to the KMess board for more info, and specially to this guide: http://www.kmess.org/board/viewtopic.php?t=3100" )
|
||||
|
||||
# As far as I know, it is impossible to find out if the required QCA plugin for OpenSSL is installed:
|
||||
# so we need to ask QCA itself it it's got such a plugin. Pretty darned unportable stuff.
|
||||
IF( QCA2_FOUND )
|
||||
IF( UNIX )
|
||||
EXECUTE_PROCESS( COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/cmake/check-qca2-ossl.sh OUTPUT_VARIABLE HAS_QCA2_OSSL_PLUGIN )
|
||||
IF( HAS_QCA2_OSSL_PLUGIN EQUAL 1 )
|
||||
SET( QCA2_OSSL_PLUGIN_FOUND TRUE )
|
||||
ELSE( HAS_QCA2_OSSL_PLUGIN EQUAL 1 )
|
||||
SET( QCA2_OSSL_PLUGIN_FOUND FALSE )
|
||||
ENDIF( HAS_QCA2_OSSL_PLUGIN EQUAL 1 )
|
||||
MACRO_LOG_FEATURE( QCA2_OSSL_PLUGIN_FOUND "QCA 2 - OpenSSL Plugin" "OpenSSL interaction library for QCA2" "http://delta.affinix.com/qca/" TRUE ""
|
||||
" Required for the Windows Live Messenger login process.
|
||||
* This package should have been installed along QCA2: if you have QCA2 installed
|
||||
but still see this message, your distribution probably packages it separately.
|
||||
Ubuntu does this, the package name is 'libqca2-plugin-ossl'.
|
||||
* Please refer to the KMess forum for more info, and specially to this guide: http://www.kmess.org/board/viewtopic.php?t=3100" )
|
||||
ELSE( UNIX )
|
||||
# TODO: Find another *portable* way to detect the OSSL plugin.
|
||||
MESSAGE( STATUS "NOTE: The qca2 OpenSSL can't be detected on this platform yet. Make sure you have it installed." )
|
||||
ENDIF( UNIX )
|
||||
ENDIF( QCA2_FOUND )
|
||||
|
||||
# Check for XScreenSaver extension
|
||||
OPTION( WANT_XSCREENSAVER "Build with X11 screensaver auto-away support" ON )
|
||||
IF( WANT_XSCREENSAVER )
|
||||
MACRO_BOOL_TO_01( X11_Xscreensaver_FOUND HAVE_XSCREENSAVER )
|
||||
MACRO_OPTIONAL_FIND_PACKAGE(X11)
|
||||
IF( X11_FOUND )
|
||||
MACRO_LOG_FEATURE( X11_Xscreensaver_FOUND "XScreenSaver" "X11 extension used to check idle state" "" FALSE ""
|
||||
" Required for the auto-away feature.
|
||||
* Usually the package names for this library are:
|
||||
on Ubuntu: 'libxss-dev'
|
||||
on openSUSE: 'xorg-x11-libs'
|
||||
* Please refer to the KMess board for more info, and specially to this guide: http://www.kmess.org/board/viewtopic.php?t=3100" )
|
||||
ELSE( X11_FOUND )
|
||||
MESSAGE( STATUS "NOTE: The auto-away feature is not supported on this platform yet." )
|
||||
ENDIF( X11_FOUND )
|
||||
ENDIF( WANT_XSCREENSAVER )
|
||||
|
||||
# Check for libkonq
|
||||
# QUIET is to fix compiling on systems like Debian Lenny, which don't have FindLibKonq.cmake
|
||||
# (for an optional feature, we don't want that to be fatal)
|
||||
MACRO_OPTIONAL_FIND_PACKAGE( LibKonq QUIET )
|
||||
MACRO_LOG_FEATURE( LIBKONQ_FOUND "LibKonq" "Integration with Konqueror context menu" "http://www.kde.org/" FALSE ""
|
||||
" Optional context menu integration with Konqueror.
|
||||
* You will need this package and the matching development package: for example, 'kmess' and 'kmess-dev' or 'kmess-devel'.
|
||||
* Usually the package names for this library are:
|
||||
on Ubuntu: 'libkonq5' and 'libkonq5-dev'
|
||||
on openSUSE: 'libkonq5' and 'libkonq-devel'
|
||||
* Please refer to the KMess board for more info, and specially to this guide: http://www.kmess.org/board/viewtopic.php?t=3100" )
|
||||
|
||||
# Check for libgif
|
||||
INCLUDE( "cmake/giflib_hack.cmake" )
|
||||
MACRO_OPTIONAL_FIND_PACKAGE( GIF )
|
||||
MACRO_BOOL_TO_01( GIF_FOUND HAVE_LIBGIF )
|
||||
MACRO_LOG_FEATURE( GIF_FOUND "GIF" "Handwriting messages support" "http://sourceforge.net/projects/giflib/" FALSE ""
|
||||
" Optional support to send handwriting messages compatible with Windows Live Messenger.
|
||||
* You will need to install both the library and development packages of the GIF Library, giflib.
|
||||
* Usually the package names for this library are:
|
||||
on Ubuntu: 'libgif4' and 'libgif-dev'
|
||||
on openSUSE: 'giflib' and 'giflib-devel'
|
||||
* Please refer to the KMess board for more info, and specially to this guide: http://www.kmess.org/board/viewtopic.php?t=3100" )
|
||||
|
||||
|
||||
# Display the dependency collection results
|
||||
MACRO_DISPLAY_FEATURE_LOG()
|
||||
|
||||
|
||||
|
||||
#### Configure build ####
|
||||
|
||||
INCLUDE( MacroLibrary )
|
||||
INCLUDE( KDE4Defaults )
|
||||
|
||||
ADD_DEFINITIONS( ${QT_DEFINITIONS} ${KDE4_DEFINITIONS} )
|
||||
|
||||
INCLUDE_DIRECTORIES( ${KDE4_INCLUDES} ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${LIBXML2_INCLUDE_DIR} )
|
||||
|
||||
|
||||
#### Define the app version number ####
|
||||
|
||||
# Switch between the following two commands to force using a predefined version number
|
||||
# EXECUTE_PROCESS( COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/cmake/get-svn-version.sh OUTPUT_VARIABLE KMESS_VERSION )
|
||||
SET( KMESS_VERSION "2.0" )
|
||||
|
||||
|
||||
#### Define compiler flags ####
|
||||
|
||||
# Tune the debug build with even more flags
|
||||
# also see FindKDE4Internal.cmake for more defaults
|
||||
IF( CMAKE_COMPILER_IS_GNUCXX )
|
||||
# skipped: -ansi -pendantic -Wfatal-errors -Wold-style-cast -Wconversion
|
||||
SET( CMAKE_CXX_FLAGS_DEBUG "-O0 -g -Wall" )
|
||||
SET( CMAKE_CXX_FLAGS_DEBUGFULL "-O0 -g3 -fno-inline -Wall -Woverloaded-virtual -Wsign-compare -Wundef" )
|
||||
# the -fvisibility option makes symbols also visible to the KDE backtrace dumper, but
|
||||
# the MinGW gcc doesn't seem to understand it well, so only add it if we're not on win32
|
||||
IF( NOT WIN32 )
|
||||
SET( CMAKE_CXX_FLAGS_DEBUGFULL "${CMAKE_CXX_FLAGS_DEBUGFULL} -fvisibility=default" )
|
||||
ENDIF( NOT WIN32 )
|
||||
ENDIF( CMAKE_COMPILER_IS_GNUCXX )
|
||||
|
||||
|
||||
# Define the default build type
|
||||
# Possible values:
|
||||
# - none
|
||||
# - release
|
||||
# - debug
|
||||
# - debugfull (even fewer optimisations)
|
||||
# - relwithdebinfo (release with debug info)
|
||||
# - minsizerel (minsize release)
|
||||
# Uncomment the next line to always force building in full debug mode
|
||||
#SET( CMAKE_BUILD_TYPE debugfull )
|
||||
|
||||
# Enable the KMess debug output when compiling a debug build
|
||||
IF( CMAKE_BUILD_TYPE STREQUAL debugfull OR KMESS_DEBUG_OUTPUT EQUAL 1 )
|
||||
SET( KMESS_ENABLE_DEBUG_OUTPUT "1" )
|
||||
ELSE( CMAKE_BUILD_TYPE STREQUAL debugfull OR KMESS_DEBUG_OUTPUT EQUAL 1 )
|
||||
SET( KMESS_ENABLE_DEBUG_OUTPUT "0" )
|
||||
ENDIF( CMAKE_BUILD_TYPE STREQUAL debugfull OR KMESS_DEBUG_OUTPUT EQUAL 1 )
|
||||
|
||||
|
||||
# Change symbol visibility, to obtain clearer KDE backtraces
|
||||
SET( __KDE_HAVE_GCC_VISIBILITY 0 )
|
||||
|
||||
# Disable LikeBack if not needed
|
||||
IF( KMESS_DISABLE_LIKEBACK EQUAL 1 )
|
||||
SET( KMESS_DISABLE_LIKEBACK "1" )
|
||||
ELSE( KMESS_DISABLE_LIKEBACK EQUAL 1 )
|
||||
SET( KMESS_DISABLE_LIKEBACK "0" )
|
||||
ENDIF( KMESS_DISABLE_LIKEBACK EQUAL 1 )
|
||||
|
||||
|
||||
# Set a default installation path
|
||||
IF( NOT CMAKE_INSTALL_PREFIX )
|
||||
SET( CMAKE_INSTALL_PREFIX "/usr" )
|
||||
ENDIF( NOT CMAKE_INSTALL_PREFIX )
|
||||
|
||||
IF( CMAKE_USE_CPACK EQUAL 1 )
|
||||
MESSAGE( STATUS "Enabling the CPack package target..." )
|
||||
# source: http://www.vtk.org/Wiki/CMake:Packaging_With_CPack
|
||||
INCLUDE( InstallRequiredSystemLibraries )
|
||||
# the installer will be named ${PACKAGENAME}-{VERSIONMAJOR}.{VERSIONMINOR}.{VERSIONPATCH}-win32.exe.
|
||||
# the installer will say "Welcome to the ${INSTALL_DIRECTORY} Setup Wizard and install to ${INSTALL_DIRECTORY} too, and
|
||||
# put the program in start menu under the ${INSTALL_DIRECTORY} name.
|
||||
# it will ask if ${PACKAGENAME} should be put in PATH.
|
||||
SET( CPACK_PACKAGE_NAME "KMess" )
|
||||
SET( CPACK_PACKAGE_DESCRIPTION_SUMMARY "KMess (package description)" )
|
||||
SET( CPACK_PACKAGE_VENDOR "The KMess team" )
|
||||
SET( CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/README" )
|
||||
SET( CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/COPYING" )
|
||||
SET( CPACK_PACKAGE_VERSION_MAJOR "1" )
|
||||
SET( CPACK_PACKAGE_VERSION_MINOR "0" )
|
||||
SET( CPACK_PACKAGE_VERSION_PATCH "0" )
|
||||
SET( CPACK_PACKAGE_INSTALL_DIRECTORY "KMess" )
|
||||
IF( WIN32 AND NOT UNIX )
|
||||
# There is a bug in NSI that does not handle full unix paths properly. Make
|
||||
# sure there is at least one set of four (4) backslashes.
|
||||
SET( CPACK_GENERATOR "NSIS" )
|
||||
SET( CPACK_PACKAGE_ICON "${CMAKE_CURRENT_SOURCE_DIR}/data/icons\\\\hi32-app-kmess.png" )
|
||||
SET( CPACK_NSIS_INSTALLED_ICON_NAME "bin\\\\kmess.exe" )
|
||||
SET( CPACK_NSIS_DISPLAY_NAME "${CPACK_PACKAGE_INSTALL_DIRECTORY} KMess (display name)" )
|
||||
SET( CPACK_NSIS_HELP_LINK "http:\\\\\\\\kmess.org" )
|
||||
SET( CPACK_NSIS_URL_INFO_ABOUT "http:\\\\\\\\kmess.org" )
|
||||
SET( CPACK_NSIS_CONTACT "project@kmess.org" )
|
||||
SET( CPACK_NSIS_MODIFY_PATH ON )
|
||||
ELSE( WIN32 AND NOT UNIX )
|
||||
SET( CPACK_STRIP_FILES "bin/kmess" )
|
||||
SET( CPACK_SOURCE_STRIP_FILES "" )
|
||||
ENDIF( WIN32 AND NOT UNIX )
|
||||
|
||||
SET( CPACK_PACKAGE_EXECUTABLES "kmess" "KMess" )
|
||||
INCLUDE( CPack )
|
||||
ENDIF( CMAKE_USE_CPACK EQUAL 1 )
|
||||
|
||||
#### Other settings ####
|
||||
|
||||
# Generate config-kmess.h
|
||||
CONFIGURE_FILE( ${CMAKE_CURRENT_SOURCE_DIR}/cmake/config-kmess.h.in ${CMAKE_CURRENT_BINARY_DIR}/config-kmess.h )
|
||||
INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_BINARY_DIR} )
|
||||
|
||||
# continue in directories
|
||||
ADD_SUBDIRECTORY( po )
|
||||
ADD_SUBDIRECTORY( data )
|
||||
ADD_SUBDIRECTORY( doc )
|
||||
ADD_SUBDIRECTORY( src )
|
||||
|
||||
IF( LIBKONQ_FOUND )
|
||||
ADD_SUBDIRECTORY( src/utils/kmess-send )
|
||||
ENDIF( LIBKONQ_FOUND )
|
||||
|
||||
|
||||
# Also add the tests if compiling in development mode
|
||||
IF( CMAKE_BUILD_TYPE STREQUAL debugfull AND KMESS_DEBUG_OUTPUT EQUAL 1 )
|
||||
ADD_SUBDIRECTORY( tests )
|
||||
ENDIF( CMAKE_BUILD_TYPE STREQUAL debugfull AND KMESS_DEBUG_OUTPUT EQUAL 1 )
|
||||
@@ -0,0 +1,260 @@
|
||||
# Doxyfile 1.5.5-KDevelop
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
# Project related configuration options
|
||||
#---------------------------------------------------------------------------
|
||||
DOXYFILE_ENCODING = UTF-8
|
||||
PROJECT_NAME = KMess
|
||||
PROJECT_NUMBER = 2.0
|
||||
OUTPUT_DIRECTORY = ./apidocs
|
||||
CREATE_SUBDIRS = NO
|
||||
OUTPUT_LANGUAGE = English
|
||||
BRIEF_MEMBER_DESC = YES
|
||||
REPEAT_BRIEF = YES
|
||||
ABBREVIATE_BRIEF = "The $name class" \
|
||||
"The $name widget" \
|
||||
"The $name file" \
|
||||
is \
|
||||
provides \
|
||||
specifies \
|
||||
contains \
|
||||
represents \
|
||||
a \
|
||||
an \
|
||||
the
|
||||
ALWAYS_DETAILED_SEC = NO
|
||||
INLINE_INHERITED_MEMB = NO
|
||||
FULL_PATH_NAMES = YES
|
||||
STRIP_FROM_PATH =
|
||||
STRIP_FROM_INC_PATH =
|
||||
SHORT_NAMES = NO
|
||||
JAVADOC_AUTOBRIEF = NO
|
||||
QT_AUTOBRIEF = NO
|
||||
MULTILINE_CPP_IS_BRIEF = NO
|
||||
DETAILS_AT_TOP = NO
|
||||
INHERIT_DOCS = YES
|
||||
SEPARATE_MEMBER_PAGES = NO
|
||||
TAB_SIZE = 2
|
||||
ALIASES =
|
||||
OPTIMIZE_OUTPUT_FOR_C = NO
|
||||
OPTIMIZE_OUTPUT_JAVA = NO
|
||||
OPTIMIZE_FOR_FORTRAN = NO
|
||||
OPTIMIZE_OUTPUT_VHDL = NO
|
||||
BUILTIN_STL_SUPPORT = NO
|
||||
CPP_CLI_SUPPORT = NO
|
||||
SIP_SUPPORT = NO
|
||||
IDL_PROPERTY_SUPPORT = YES
|
||||
DISTRIBUTE_GROUP_DOC = NO
|
||||
SUBGROUPING = YES
|
||||
TYPEDEF_HIDES_STRUCT = NO
|
||||
#---------------------------------------------------------------------------
|
||||
# Build related configuration options
|
||||
#---------------------------------------------------------------------------
|
||||
EXTRACT_ALL = YES
|
||||
EXTRACT_PRIVATE = YES
|
||||
EXTRACT_STATIC = YES
|
||||
EXTRACT_LOCAL_CLASSES = YES
|
||||
EXTRACT_LOCAL_METHODS = YES
|
||||
EXTRACT_ANON_NSPACES = NO
|
||||
HIDE_UNDOC_MEMBERS = NO
|
||||
HIDE_UNDOC_CLASSES = NO
|
||||
HIDE_FRIEND_COMPOUNDS = NO
|
||||
HIDE_IN_BODY_DOCS = NO
|
||||
INTERNAL_DOCS = NO
|
||||
CASE_SENSE_NAMES = YES
|
||||
HIDE_SCOPE_NAMES = NO
|
||||
SHOW_INCLUDE_FILES = YES
|
||||
INLINE_INFO = YES
|
||||
SORT_MEMBER_DOCS = YES
|
||||
SORT_BRIEF_DOCS = YES
|
||||
SORT_GROUP_NAMES = NO
|
||||
SORT_BY_SCOPE_NAME = NO
|
||||
GENERATE_TODOLIST = YES
|
||||
GENERATE_TESTLIST = YES
|
||||
GENERATE_BUGLIST = YES
|
||||
GENERATE_DEPRECATEDLIST= YES
|
||||
ENABLED_SECTIONS =
|
||||
MAX_INITIALIZER_LINES = 30
|
||||
SHOW_USED_FILES = NO
|
||||
SHOW_DIRECTORIES = NO
|
||||
SHOW_FILES = YES
|
||||
SHOW_NAMESPACES = YES
|
||||
FILE_VERSION_FILTER =
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options related to warning and progress messages
|
||||
#---------------------------------------------------------------------------
|
||||
QUIET = NO
|
||||
WARNINGS = YES
|
||||
WARN_IF_UNDOCUMENTED = YES
|
||||
WARN_IF_DOC_ERROR = YES
|
||||
WARN_NO_PARAMDOC = YES
|
||||
WARN_FORMAT = "$file:$line: $text"
|
||||
WARN_LOGFILE =
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options related to the input files
|
||||
#---------------------------------------------------------------------------
|
||||
INPUT = ./src
|
||||
INPUT_ENCODING = UTF-8
|
||||
FILE_PATTERNS = *.cpp \
|
||||
*.h \
|
||||
*.dox
|
||||
RECURSIVE = YES
|
||||
EXCLUDE = *.moc \
|
||||
*.moc.cpp \
|
||||
*.moc.h
|
||||
EXCLUDE_SYMLINKS = NO
|
||||
EXCLUDE_PATTERNS = */build*/*
|
||||
EXCLUDE_SYMBOLS =
|
||||
EXAMPLE_PATH =
|
||||
EXAMPLE_PATTERNS = *
|
||||
EXAMPLE_RECURSIVE = NO
|
||||
IMAGE_PATH =
|
||||
INPUT_FILTER =
|
||||
FILTER_PATTERNS =
|
||||
FILTER_SOURCE_FILES = NO
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options related to source browsing
|
||||
#---------------------------------------------------------------------------
|
||||
SOURCE_BROWSER = NO
|
||||
INLINE_SOURCES = NO
|
||||
STRIP_CODE_COMMENTS = YES
|
||||
REFERENCED_BY_RELATION = YES
|
||||
REFERENCES_RELATION = YES
|
||||
REFERENCES_LINK_SOURCE = YES
|
||||
USE_HTAGS = NO
|
||||
VERBATIM_HEADERS = YES
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options related to the alphabetical class index
|
||||
#---------------------------------------------------------------------------
|
||||
ALPHABETICAL_INDEX = NO
|
||||
COLS_IN_ALPHA_INDEX = 4
|
||||
IGNORE_PREFIX =
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options related to the HTML output
|
||||
#---------------------------------------------------------------------------
|
||||
GENERATE_HTML = YES
|
||||
HTML_OUTPUT = html
|
||||
HTML_FILE_EXTENSION = .html
|
||||
HTML_HEADER = doc/apidocs_header.html
|
||||
HTML_FOOTER = doc/apidocs_footer.html
|
||||
HTML_STYLESHEET = doc/doxygen.css
|
||||
HTML_ALIGN_MEMBERS = YES
|
||||
GENERATE_HTMLHELP = NO
|
||||
GENERATE_DOCSET = NO
|
||||
DOCSET_FEEDNAME = "Doxygen generated docs"
|
||||
DOCSET_BUNDLE_ID = org.doxygen.Project
|
||||
HTML_DYNAMIC_SECTIONS = NO
|
||||
CHM_FILE =
|
||||
HHC_LOCATION =
|
||||
GENERATE_CHI = NO
|
||||
BINARY_TOC = NO
|
||||
TOC_EXPAND = NO
|
||||
DISABLE_INDEX = YES
|
||||
ENUM_VALUES_PER_LINE = 4
|
||||
GENERATE_TREEVIEW = NONE
|
||||
TREEVIEW_WIDTH = 250
|
||||
FORMULA_FONTSIZE = 10
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options related to the LaTeX output
|
||||
#---------------------------------------------------------------------------
|
||||
GENERATE_LATEX = NO
|
||||
LATEX_OUTPUT = latex
|
||||
LATEX_CMD_NAME = latex
|
||||
MAKEINDEX_CMD_NAME = makeindex
|
||||
COMPACT_LATEX = NO
|
||||
PAPER_TYPE = a4wide
|
||||
EXTRA_PACKAGES =
|
||||
LATEX_HEADER =
|
||||
PDF_HYPERLINKS = NO
|
||||
USE_PDFLATEX = NO
|
||||
LATEX_BATCHMODE = NO
|
||||
LATEX_HIDE_INDICES = NO
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options related to the RTF output
|
||||
#---------------------------------------------------------------------------
|
||||
GENERATE_RTF = NO
|
||||
RTF_OUTPUT = rtf
|
||||
COMPACT_RTF = NO
|
||||
RTF_HYPERLINKS = NO
|
||||
RTF_STYLESHEET_FILE =
|
||||
RTF_EXTENSIONS_FILE =
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options related to the man page output
|
||||
#---------------------------------------------------------------------------
|
||||
GENERATE_MAN = NO
|
||||
MAN_OUTPUT = man
|
||||
MAN_EXTENSION = .3
|
||||
MAN_LINKS = NO
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options related to the XML output
|
||||
#---------------------------------------------------------------------------
|
||||
GENERATE_XML = NO
|
||||
XML_OUTPUT = xml
|
||||
XML_SCHEMA =
|
||||
XML_DTD =
|
||||
XML_PROGRAMLISTING = YES
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options for the AutoGen Definitions output
|
||||
#---------------------------------------------------------------------------
|
||||
GENERATE_AUTOGEN_DEF = NO
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options related to the Perl module output
|
||||
#---------------------------------------------------------------------------
|
||||
GENERATE_PERLMOD = NO
|
||||
PERLMOD_LATEX = NO
|
||||
PERLMOD_PRETTY = YES
|
||||
PERLMOD_MAKEVAR_PREFIX =
|
||||
#---------------------------------------------------------------------------
|
||||
# Configuration options related to the preprocessor
|
||||
#---------------------------------------------------------------------------
|
||||
ENABLE_PREPROCESSING = YES
|
||||
MACRO_EXPANSION = NO
|
||||
EXPAND_ONLY_PREDEF = NO
|
||||
SEARCH_INCLUDES = YES
|
||||
INCLUDE_PATH =
|
||||
INCLUDE_FILE_PATTERNS =
|
||||
PREDEFINED = KMESSTEST \
|
||||
KMESS_NETWORK_WINDOW
|
||||
EXPAND_AS_DEFINED =
|
||||
SKIP_FUNCTION_MACROS = YES
|
||||
#---------------------------------------------------------------------------
|
||||
# Configuration::additions related to external references
|
||||
#---------------------------------------------------------------------------
|
||||
TAGFILES =
|
||||
GENERATE_TAGFILE = kmess.tag
|
||||
ALLEXTERNALS = NO
|
||||
EXTERNAL_GROUPS = YES
|
||||
PERL_PATH = /usr/bin/perl
|
||||
#---------------------------------------------------------------------------
|
||||
# Configuration options related to the dot tool
|
||||
#---------------------------------------------------------------------------
|
||||
CLASS_DIAGRAMS = NO
|
||||
MSCGEN_PATH =
|
||||
HIDE_UNDOC_RELATIONS = YES
|
||||
HAVE_DOT = YES
|
||||
DOT_FONTNAME = FreeSans
|
||||
DOT_FONTPATH =
|
||||
CLASS_GRAPH = YES
|
||||
COLLABORATION_GRAPH = YES
|
||||
GROUP_GRAPHS = YES
|
||||
UML_LOOK = NO
|
||||
TEMPLATE_RELATIONS = YES
|
||||
INCLUDE_GRAPH = YES
|
||||
INCLUDED_BY_GRAPH = NO
|
||||
CALL_GRAPH = NO
|
||||
CALLER_GRAPH = NO
|
||||
GRAPHICAL_HIERARCHY = YES
|
||||
DIRECTORY_GRAPH = NO
|
||||
DOT_IMAGE_FORMAT = png
|
||||
DOT_PATH =
|
||||
DOTFILE_DIRS =
|
||||
DOT_GRAPH_MAX_NODES = 50
|
||||
MAX_DOT_GRAPH_DEPTH = 1000
|
||||
DOT_TRANSPARENT = NO
|
||||
DOT_MULTI_TARGETS = YES
|
||||
GENERATE_LEGEND = YES
|
||||
DOT_CLEANUP = YES
|
||||
#---------------------------------------------------------------------------
|
||||
# Configuration::additions related to the search engine
|
||||
#---------------------------------------------------------------------------
|
||||
SEARCHENGINE = NO
|
||||
@@ -0,0 +1,101 @@
|
||||
KMess Feature list
|
||||
========================
|
||||
- 2.0 -
|
||||
Support to receive and send hand-written (Ink) messages (still doesn't work with some Messengers).
|
||||
Options to copy a contact's email, name, message, listened music and links present in the name/message.
|
||||
List of contact events, such as logins and logouts.
|
||||
Chat Windows can be used again after reconnecting.
|
||||
Quick retype of previous sent messages, using Ctrl+Up/Ctrl+Down.
|
||||
MSN connections over HTTP, to deal with corporate firewalls which only allow connections to browse the web.
|
||||
Support to chat with offline and invisible contacts.
|
||||
Support to search in the contact list.
|
||||
Support to send longer chat messages.
|
||||
Option to hide annoying contact emoticons.
|
||||
Option to choose the browser used to open web sites, Live Mail, and MSN support sites.
|
||||
Option to manually send commands to the server in developer builds.
|
||||
Support to group all chats in the same chat window (tabbed chatting).
|
||||
Option to select a directory where all received files will be put.
|
||||
Option to choose the interval of ports used for fast file transfers.
|
||||
Option to keep short notes for each contact.
|
||||
Option to hide annoying contact emoticons.
|
||||
Support to MSN Plus text formatting.
|
||||
Support for DBus remote application control.
|
||||
Option to choose a previously chosen display picture.
|
||||
Support for dark KDE color schemes.
|
||||
More options to improve customization of the Contact List.
|
||||
Support for KDE's KWallet, to store in a secure way the accounts passwords.
|
||||
Automatic detection of network connection and disconnection.
|
||||
Option to block notifications when the status is set to Busy.
|
||||
Option to disable displaying of received winks.
|
||||
Automatic reconnection to MSN after unwanted disconnections with keeping of last status.
|
||||
|
||||
- 1.5.1 -
|
||||
Contact's MSN client detection.
|
||||
Option to view contacts' Display Pictures in the contact list.
|
||||
Option to enable spell checking in the chat windows.
|
||||
Disable notification popups when there's a screen saver or a full screen application.
|
||||
Added option to manually set your own MSN status to Idle.
|
||||
When closing KMess to tray for the first time, a little screenshot of the notification area will help finding KMess' tray icon.
|
||||
|
||||
- 1.5 -
|
||||
Support to exchange (send and receive) custom emoticons and nudges.
|
||||
Receive-only support for winks and offline-im messages.
|
||||
Fast file transfers, supporting MSN6+ direct connections.
|
||||
MSN7 personal status messages are supported.
|
||||
The appearance of chat message and emoticons can be changed on the fly.
|
||||
Users with a temporary "guest" account can upgrade to a regular "stored" account.
|
||||
Messages from the same contact can be grouped.
|
||||
New default chat style, 'Fresh', making chats more colorful and friendly.
|
||||
Now listening information can be exchanged.
|
||||
New KDE style balloon notification popups.
|
||||
Right-click options for links in the chat window.
|
||||
Improved and more compact visual style for the chat windows.
|
||||
Automatically download the display pictures of your contacts.
|
||||
Option to select an image to use as display picture and to then crop unneeded parts away.
|
||||
|
||||
- 1.4 -
|
||||
MSN6 display picture transfers are supported
|
||||
MSN6 file transfer is supported (receiving only)
|
||||
Taskbar flashes with new messages
|
||||
A new dialog for file transfers
|
||||
MSN Messenger SSL-signon compatibility (again)
|
||||
|
||||
- 1.3 -
|
||||
A new freestyle chat formatting method that gives users greater freedom in how they want chat messages to look.
|
||||
Contact tooltip contains name and e-mail
|
||||
MSN Messenger SSL-signon compatibility
|
||||
|
||||
- 1.2 -
|
||||
Users can start as invisible rather than online.
|
||||
Users can have blank, unsaved passwords but retain user settings.
|
||||
Text can be formatted with /, _, and *.
|
||||
Groups can be reordered.
|
||||
You can show or hide offline contacts.
|
||||
Emoticons are shown in the contact list
|
||||
Contacts can be dragged to move between groups and dragged into a chat to be invited to it.
|
||||
|
||||
- 1.1 and older -
|
||||
NetMeeting<->GnomeMeeting and GnomeMeeting<->GnomeMeeting invitations are supported.
|
||||
MSN Messenger protocol compatibility
|
||||
Font and font color support, including the ability to force contact messages to appear in a particular font and color.
|
||||
Full emoticon support, featuring a custom GPLed emoticon set and the ability to use different emoticon themes.
|
||||
File transfer support, both sending and receiving.
|
||||
Hotmail support, with new email notifications, the inbox count, and the ability to open Hotmail at the user's inbox or at the composition page.
|
||||
The ability to disable and hide email information for accounts that don't use Hotmail.
|
||||
Support for multiple user profiles.
|
||||
Autologging, either at the setting page for from the commandline (with "kmess --autologin blah@hotmail.com" for example).
|
||||
A contact list that can organize contacts by group or by online/offline status.
|
||||
Groups show a count of the contacts online (i.e. "Friends (2/5)")
|
||||
The user can specify particular contact images and sounds to be displayed when a contact comes online or in a chat.
|
||||
The user can specify a name for a contact, overriding the contact's specified name.
|
||||
The user can choose on a contact-by-contact basis whether the user should be notified when a particular contact comes online or goes offline.
|
||||
KMess can show a contact's MSN profile, and open the MSN search pages.
|
||||
In addition to the usual user statuses of "Away" and "Busy" and so on, there is the status "Away with Autoreply" that will reply to contact's chat messages with a user-specified away message.
|
||||
The chat window has been redesigned with a new sidebar (which can be toggled with Ctrl+T) with an emphasis on contact images.
|
||||
The chat window notifies the user that a contact is typing by "glowing" the contact's image.
|
||||
Chats can be logged automatically and the chats ordered in subdirectories by day, week, or month, or not ordered at all.
|
||||
Chats can be configured to show timestamps when contacts send messages.
|
||||
A "compact" chat format can be used to remove extraneous line breaks and reduce the size of the chat.
|
||||
The chat window caption in the taskbar alternates between lower and upper case to inform the user of a received message when the window is not on top.
|
||||
Internationalization support, with translations in: English, Dutch, German, Italian, Portuguese, Spanish, Turkish, Chinese, French, Catalan, Arabic, Korean, Norsk, Thai, Danish, and Estonian
|
||||
There is now a method, though not absolute, to tell if a contact is blocking you. If a chat is started with a contact that appears offline, you will be informed if the contact is offline or online and blocking you.
|
||||
@@ -1,200 +1,61 @@
|
||||
|
||||
Installation Tip:
|
||||
=================
|
||||
Installation Hints:
|
||||
===================
|
||||
|
||||
In order for KMess to work properly, it must be configured with
|
||||
your KDE3 directory. In order to do this using Mandrake 8.2, for
|
||||
instance, configure with:
|
||||
NOTE: This package is used to build KMess from source code.
|
||||
If you're looking for a simple way to install KMess,
|
||||
take a look at http://www.kmess.org/download/.
|
||||
|
||||
./configure --prefix=/opt/kde3
|
||||
NOTE: These instructions are meant for UNIX-like systems. If they don't
|
||||
work for you, please tell us at http://www.kmess.org/board/.
|
||||
For building on Windows, see this Wiki page:
|
||||
http://trac.kmess.org/wiki/Compiling%20KMess%20for%20Windows
|
||||
|
||||
I'm told that with RedHat 7.2 and KDE3 installed from rpms, it should be
|
||||
To install KMess from this source package you need to create a separate
|
||||
build directory first. It must be created outside the source folder. After
|
||||
that, you must configure your build using cmake.
|
||||
|
||||
./configure --prefix=/usr
|
||||
To ease the building process, KMess comes with a 'configure' script that
|
||||
creates the directory and runs CMake for you. To build this package, simply
|
||||
run:
|
||||
|
||||
Basically, we're talking about the parent directory of /share/apps/k~bunch of apps~
|
||||
cd kmess
|
||||
./configure
|
||||
make
|
||||
|
||||
Not doing this will result in emoticons being displayed as black
|
||||
boxes. Then type
|
||||
To install on most systems, you can run:
|
||||
|
||||
make
|
||||
sudo make install
|
||||
|
||||
and then, as root, type
|
||||
If your system doesn't come with sudo, you can use:
|
||||
|
||||
make install
|
||||
su -c 'make install'
|
||||
|
||||
That's it.
|
||||
That's it!
|
||||
Of course, building without the configure script is also possible:
|
||||
|
||||
If configure tells you you're missing something that you think you
|
||||
have installed on your system, you probably need to install the
|
||||
"devel" version of that thing. i.e. If it tells you you're missing
|
||||
libfam, install the libfam-devel rpm.
|
||||
mkdir build
|
||||
cd build
|
||||
cmake ..
|
||||
make
|
||||
sudo make install
|
||||
|
||||
|
||||
Basic Installation
|
||||
Useful parameters:
|
||||
==================
|
||||
|
||||
These are generic installation instructions.
|
||||
The configure script automatically makes the right build for you. For a release (non-alpha or beta)
|
||||
package, the configure script builds KMess in release mode; for an alpha or beta package, KMess will
|
||||
run in debug mode. When something goes wrong, debug mode will help us find the cause, and fix it. :-)
|
||||
|
||||
The `configure' shell script attempts to guess correct values for
|
||||
various system-dependent variables used during compilation. It uses
|
||||
those values to create a `Makefile' in each directory of the package.
|
||||
It may also create one or more `.h' files containing system-dependent
|
||||
definitions. Finally, it creates a shell script `config.status' that
|
||||
you can run in the future to recreate the current configuration, a file
|
||||
`config.cache' that saves the results of its tests to speed up
|
||||
reconfiguring, and a file `config.log' containing compiler output
|
||||
(useful mainly for debugging `configure').
|
||||
If you want to modify your build, you can try the following options to the configure script:
|
||||
|
||||
If you need to do unusual things to compile the package, please try
|
||||
to figure out how `configure' could check whether to do them, and mail
|
||||
diffs or instructions to the address given in the `README' so they can
|
||||
be considered for the next release. If at some point `config.cache'
|
||||
contains results you don't want to keep, you may remove or edit it.
|
||||
--prefix=/usr
|
||||
|
||||
The file `configure.in' is used to create `configure' by a program
|
||||
called `autoconf'. You only need `configure.in' if you want to change
|
||||
it or regenerate `configure' using a newer version of `autoconf'.
|
||||
Install in the /usr directory instead.
|
||||
|
||||
The simplest way to compile this package is:
|
||||
--build-type=(one of debug,debugfull,release,relwithdebuginfo,minsizerel)
|
||||
|
||||
1. `cd' to the directory containing the package's source code and type
|
||||
`./configure' to configure the package for your system. If you're
|
||||
using `csh' on an old version of System V, you might need to type
|
||||
`sh ./configure' instead to prevent `csh' from trying to execute
|
||||
`configure' itself.
|
||||
|
||||
Running `configure' takes a while. While running, it prints some
|
||||
messages telling which features it is checking for.
|
||||
|
||||
2. Type `make' to compile the package.
|
||||
|
||||
3. Type `make install' to install the programs and any data files and
|
||||
documentation.
|
||||
|
||||
4. You can remove the program binaries and object files from the
|
||||
source code directory by typing `make clean'.
|
||||
|
||||
Compilers and Options
|
||||
=====================
|
||||
|
||||
Some systems require unusual options for compilation or linking that
|
||||
the `configure' script does not know about. You can give `configure'
|
||||
initial values for variables by setting them in the environment. Using
|
||||
a Bourne-compatible shell, you can do that on the command line like
|
||||
this:
|
||||
CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure
|
||||
|
||||
Or on systems that have the `env' program, you can do it like this:
|
||||
env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure
|
||||
|
||||
Compiling For Multiple Architectures
|
||||
====================================
|
||||
|
||||
You can compile the package for more than one kind of computer at the
|
||||
same time, by placing the object files for each architecture in their
|
||||
own directory. To do this, you must use a version of `make' that
|
||||
supports the `VPATH' variable, such as GNU `make'. `cd' to the
|
||||
directory where you want the object files and executables to go and run
|
||||
the `configure' script. `configure' automatically checks for the
|
||||
source code in the directory that `configure' is in and in `..'.
|
||||
|
||||
If you have to use a `make' that does not supports the `VPATH'
|
||||
variable, you have to compile the package for one architecture at a time
|
||||
in the source code directory. After you have installed the package for
|
||||
one architecture, use `make distclean' before reconfiguring for another
|
||||
architecture.
|
||||
|
||||
Installation Names
|
||||
==================
|
||||
|
||||
By default, `make install' will install the package's files in
|
||||
`/usr/local/bin', `/usr/local/man', etc. You can specify an
|
||||
installation prefix other than `/usr/local' by giving `configure' the
|
||||
option `--prefix=PATH'.
|
||||
|
||||
You can specify separate installation prefixes for
|
||||
architecture-specific files and architecture-independent files. If you
|
||||
give `configure' the option `--exec-prefix=PATH', the package will use
|
||||
PATH as the prefix for installing programs and libraries.
|
||||
Documentation and other data files will still use the regular prefix.
|
||||
|
||||
If the package supports it, you can cause programs to be installed
|
||||
with an extra prefix or suffix on their names by giving `configure' the
|
||||
option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
|
||||
|
||||
Optional Features
|
||||
=================
|
||||
|
||||
Some packages pay attention to `--enable-FEATURE' options to
|
||||
`configure', where FEATURE indicates an optional part of the package.
|
||||
They may also pay attention to `--with-PACKAGE' options, where PACKAGE
|
||||
is something like `gnu-as' or `x' (for the X Window System). The
|
||||
`README' should mention any `--enable-' and `--with-' options that the
|
||||
package recognizes.
|
||||
|
||||
For packages that use the X Window System, `configure' can usually
|
||||
find the X include and library files automatically, but if it doesn't,
|
||||
you can use the `configure' options `--x-includes=DIR' and
|
||||
`--x-libraries=DIR' to specify their locations.
|
||||
|
||||
Specifying the System Type
|
||||
==========================
|
||||
|
||||
There may be some features `configure' can not figure out
|
||||
automatically, but needs to determine by the type of host the package
|
||||
will run on. Usually `configure' can figure that out, but if it prints
|
||||
a message saying it can not guess the host type, give it the
|
||||
`--host=TYPE' option. TYPE can either be a short name for the system
|
||||
type, such as `sun4', or a canonical name with three fields:
|
||||
CPU-COMPANY-SYSTEM
|
||||
|
||||
See the file `config.sub' for the possible values of each field. If
|
||||
`config.sub' isn't included in this package, then this package doesn't
|
||||
need to know the host type.
|
||||
|
||||
If you are building compiler tools for cross-compiling, you can also
|
||||
use the `--target=TYPE' option to select the type of system they will
|
||||
produce code for and the `--build=TYPE' option to select the type of
|
||||
system on which you are compiling the package.
|
||||
|
||||
Sharing Defaults
|
||||
================
|
||||
|
||||
If you want to set default values for `configure' scripts to share,
|
||||
you can create a site shell script called `config.site' that gives
|
||||
default values for variables like `CC', `cache_file', and `prefix'.
|
||||
`configure' looks for `PREFIX/share/config.site' if it exists, then
|
||||
`PREFIX/etc/config.site' if it exists. Or, you can set the
|
||||
`CONFIG_SITE' environment variable to the location of the site script.
|
||||
A warning: not all `configure' scripts look for a site script.
|
||||
|
||||
Operation Controls
|
||||
==================
|
||||
|
||||
`configure' recognizes the following options to control how it
|
||||
operates.
|
||||
|
||||
`--cache-file=FILE'
|
||||
Use and save the results of the tests in FILE instead of
|
||||
`./config.cache'. Set FILE to `/dev/null' to disable caching, for
|
||||
debugging `configure'.
|
||||
|
||||
`--help'
|
||||
Print a summary of the options to `configure', and exit.
|
||||
|
||||
`--quiet'
|
||||
`--silent'
|
||||
`-q'
|
||||
Do not print messages saying which checks are being made.
|
||||
|
||||
`--srcdir=DIR'
|
||||
Look for the package's source code in directory DIR. Usually
|
||||
`configure' can determine that directory automatically.
|
||||
|
||||
`--version'
|
||||
Print the version of Autoconf used to generate the `configure'
|
||||
script, and exit.
|
||||
|
||||
`configure' also accepts some other, not widely useful, options.
|
||||
Tell CMake to build this specific build type.
|
||||
|
||||
Also consider running "ccmake" for an curses-interface to cmake.
|
||||
ccmake only works after the build directory has been configured with cmake before.
|
||||
|
||||
@@ -1,29 +0,0 @@
|
||||
####### kdevelop will overwrite this part!!! (begin)##########
|
||||
|
||||
SUBDIRS = kmess po doc
|
||||
|
||||
EXTRA_DIST = kmess.kdevprj admin AUTHORS COPYING ChangeLog INSTALL README TODO kmess.lsm
|
||||
|
||||
####### kdevelop will overwrite this part!!! (end)############
|
||||
# not a GNU package. You can remove this line, if
|
||||
# have all needed files, that a GNU package needs
|
||||
AUTOMAKE_OPTIONS = foreign
|
||||
|
||||
$(top_srcdir)/configure.in: configure.in.in $(top_srcdir)/subdirs
|
||||
cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common configure.in ;
|
||||
|
||||
$(top_srcdir)/subdirs:
|
||||
cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common subdirs
|
||||
|
||||
$(top_srcdir)/acinclude.m4: $(top_srcdir)/admin/acinclude.m4.in $(top_srcdir)/admin/libtool.m4.in
|
||||
@cd $(top_srcdir) && cat admin/acinclude.m4.in admin/libtool.m4.in > acinclude.m4
|
||||
|
||||
MAINTAINERCLEANFILES = subdirs configure.in acinclude.m4 configure.files
|
||||
|
||||
package-messages:
|
||||
$(MAKE) -f admin/Makefile.common package-messages
|
||||
$(MAKE) -C po merge
|
||||
|
||||
dist-hook:
|
||||
cd $(top_distdir) && perl admin/am_edit -padmin
|
||||
cd $(top_distdir) && $(MAKE) -f admin/Makefile.common subdirs
|
||||
@@ -1,14 +0,0 @@
|
||||
all:
|
||||
@echo "This Makefile is only for the CVS repository"
|
||||
@echo "This will be deleted before making the distribution"
|
||||
@echo ""
|
||||
@if test ! -d admin; then \
|
||||
echo "Please recheckout this module!" ;\
|
||||
echo "for cvs: use checkout once and after that update again" ;\
|
||||
echo "for cvsup: checkout kde-common from cvsup and" ;\
|
||||
echo " link kde-common/admin to ./admin" ;\
|
||||
exit 1 ;\
|
||||
fi
|
||||
$(MAKE) -f admin/Makefile.common cvs
|
||||
|
||||
.SILENT:
|
||||
@@ -0,0 +1,646 @@
|
||||
|
||||
Changes between KMess 2.0 and 2.0-rc1:
|
||||
--------------------------------------
|
||||
- updated German translation by Panagiotis Papadopoulos.
|
||||
- updated Simplified Chinese translation by Cheng Yang.
|
||||
|
||||
Changes between KMess 2.0-rc1 and 2.0-beta2:
|
||||
--------------------------------------
|
||||
- added Japanese translation by Daniel E. Moctezuma.
|
||||
- added display of emoticons in presence messages.
|
||||
- added status restoring on reconnection.
|
||||
- added fading effect for long text labels and the contact list.
|
||||
- changed the image used for unknown display pictures.
|
||||
- changed the application windows icons.
|
||||
- changed the system tray icon with one showing both the bird and the current
|
||||
status.
|
||||
- fixed a crash triggered by clients aborting while we're sending data.
|
||||
- fixed appearance when using right-to-Left languages, like Arabic.
|
||||
- fixed bug preventing temporary accounts to be correctly cleaned up.
|
||||
- fixed file selection errors in chat logging.
|
||||
- fixed newly added contacts appearing as not having added the user in their
|
||||
list.
|
||||
- improved appearance of the contact list when antialiasing is enabled.
|
||||
- removed all experimental features which could not be finished in time.
|
||||
- updated Arabic translation by Ma'moun Diraneyya.
|
||||
- updated Brazilian Portuguese translation by Maurício Arozi Moraes and Sergio
|
||||
Rafael Lemke.
|
||||
- updated Catalan translation by Adrià Arrufat.
|
||||
- updated Finnish translation by Antony Hussi.
|
||||
- updated Dutch translation by Sander Pientka and Sjors Gielen.
|
||||
- updated French translation by Scias.
|
||||
- updated German translation by Panagiotis Papadopoulos.
|
||||
- updated Greek translation by Dimitrios Glentadakis.
|
||||
- updated Hungarian translation by Pauli Henrik.
|
||||
- updated Italian translation by Valerio Pilo.
|
||||
- updated Slovak translation by Rastislav Krupanský.
|
||||
- updated Spanish translation by Mauricio Muñoz Lucero.
|
||||
- updated Simplified Chinese translation by Cheng Yang.
|
||||
- updated Traditional Chinese translation by Yen-chou Chen.
|
||||
|
||||
Changes between KMess 2.0-beta2 and 2.0-beta1:
|
||||
--------------------------------------
|
||||
- completed drag&drop support.
|
||||
- fixed quick retype.
|
||||
- fixed winks playing and naming support.
|
||||
- fixed disconnections after many hours of use.
|
||||
- fixed losing KDE Wallet passwords.
|
||||
- fixed typing notifications not appearing in WLM 2009.
|
||||
- fixed long words breaking was breaking copy-pastes.
|
||||
- fixed weird characters which were breaking the chat styles.
|
||||
- fixed resending messages already sent as offline messages.
|
||||
- fixed searching for offline contacts.
|
||||
- fixed time of arrival of offline messages.
|
||||
- fixed new chat windows or tabs opened by contacts sometimes stole focus.
|
||||
- fixed contact list group sorting.
|
||||
- fixed many memory leaks.
|
||||
- fixed overflowing contact list background picture and color.
|
||||
- improved the Chat History dialog and its integration with KMess.
|
||||
- improved drag and drop support in contact list.
|
||||
- improved the color of the less important contact status messages in chat.
|
||||
- improved client detection support.
|
||||
- improved handwriting message sending.
|
||||
- improved the file transfers window's behavior.
|
||||
- improved chat session management.
|
||||
- improved the LikeBack buttons bar.
|
||||
- updated English handbook.
|
||||
- updated Arabic translation by Ma'moun Diraneyya.
|
||||
- updated Brazilian Portuguese translation by Sergio Rafael Lemke.
|
||||
- updated Brazilian Portuguese translation by Maurício Arozi Moraes.
|
||||
- updated Catalan translation by Adrià Arrufat.
|
||||
- updated Dutch translation by Heimen Stoffels.
|
||||
- updated Dutch translation by Sander Pientka.
|
||||
- updated Finnish translation by Antony Hussi.
|
||||
- updated French translation by Barthe Guillaume.
|
||||
- updated French translation by Scias.
|
||||
- updated German translation by Panagiotis Papadopoulos.
|
||||
- updated Greek translation by Dimitrios Glentadakis.
|
||||
- updated Italian translation by Andrea Decorte.
|
||||
- updated Spanish translation by Manuel Ramírez.
|
||||
- updated Spanish translation by Mauricio Muñoz Lucero.
|
||||
- updated Traditional Chinese translation by Yen-chou Chen.
|
||||
- updated Traditional Chinese translation by the Tryneeds-Chinese Translation Platform.
|
||||
|
||||
Changes between KMess 2.0-beta1 and 2.0-alpha2:
|
||||
--------------------------------------
|
||||
- added support to start chats while you're invisible.
|
||||
- added automatic reconnection after unwanted disconnections.
|
||||
- added IRC like command handling in the chat window (/away, etc..)
|
||||
- added 'Send with KMess' menu item to Konqueror context menu's.
|
||||
- added verbose status message when KMess fallbacks to the HTTP connection.
|
||||
- added contact emoticon blacklist, to block annoying custom emoticons from contacts.
|
||||
- added Likeback support to collect user feedback, ported from Basket of KDE 3.
|
||||
- added support to configure the toolbars and menus in the chat window.
|
||||
- added contact list export dialog.
|
||||
- added context menu to the contact list, to open the contact menu with the left mouse too.
|
||||
- added confirmation dialogs when the menu gets hidden with Ctrl+M.
|
||||
- added confirmation dialogs when deleting custom emoticons.
|
||||
- added confirmation dialogs when deleting old display pictures.
|
||||
- added filtering options to the file transfer window, to show downloads/uploads only.
|
||||
- added Greek translation by Panagiotis Papadopoulos.
|
||||
- added Serbian translation by Zoran Milovanović.
|
||||
- added Slovak translation by Rastislav Krupanský.
|
||||
- improved protocol support, upgraded the server core protocol to MSNP15.
|
||||
- improved user interface of the main login dialog, added links.
|
||||
- improved overall user interface with further fine tuning.
|
||||
- improved KDE session restoring; KMess will reconnect if you were connected at logout.
|
||||
- improved chat notifications to be compatible with the new Plasma notifications of KDE 4.2.
|
||||
- improved emoticon panels; users can choose between message editors or permanent sidebar panels.
|
||||
- improved painting controls for the Ink handwriting.
|
||||
- improved chat logging support (support XML, TXT output) in preparation of a chat logging browser.
|
||||
- improved chat autoscroll feature.
|
||||
- improved chat window status bar.
|
||||
- improved several English messages in the user interface.
|
||||
- improved reporting of error messages, using notifications for warnings.
|
||||
- improved cmake detection of libqca2-plugin-ossl package for Ubuntu.
|
||||
- changed contact sidebar, clicking the contact always shows the context menu.
|
||||
- fixed multiple bugs with automatic reconnecting.
|
||||
- fixed blocked login view when there is no network connection.
|
||||
- fixed saving passwords when the 'save password' account option is off.
|
||||
- fixed saving passwords when KWallet is not supported, or the user refused to use it.
|
||||
- fixed contact list group expanding/collapsing with incremental search.
|
||||
- fixed contact list sorting and grouping.
|
||||
- fixed context menu to chat with a blocked/offline/allowed contact.
|
||||
- fixed double error box when adding a non-existing contact to the list.
|
||||
- fixed chat window focus issues.
|
||||
- fixed chat tabs for contacts with HTML characters in their name.
|
||||
- fixed chat tabs for contacts with long names.
|
||||
- fixed chat tabs being displayed when tabbed chatting is disabled.
|
||||
- fixed chat messages displayed in the wrong tab.
|
||||
- fixed chat message wordwrapping for long unbreakable words.
|
||||
- fixed chat spell checker setting, the setting was not remembered correctly.
|
||||
- fixed typing messages for tabbed chats.
|
||||
- fixed adding custom emoticons from the chat window sidebar.
|
||||
- fixed and improved shortcut keys to switch between chat tabs, start a chat, etc...
|
||||
- fixed layouting issue in the Classic Compact chat style.
|
||||
- fixed displaying a 'contact left chat' message twice if there was no conversation in between.
|
||||
- fixed unclickable display picture in the chat if the contact is offline.
|
||||
- fixed invalid dates being displayed for contact properties.
|
||||
- fixed updating the chat windows after an emoticon theme is changed.
|
||||
- fixed updating the chat style preview when "Group follow up messages" is toggled.
|
||||
- fixed start folder of the file browser for account pictures.
|
||||
- fixed displaying the filename for files transferred with the old MSNFTP protocol.
|
||||
- fixed cancel link not being removed when a file transfer invitation hit the timeout
|
||||
- fixed notification default settings.
|
||||
- fixed missing nudge event in the notification settings.
|
||||
- fixed missing detection of "Windows Media Center" in the list of known MSN clients.
|
||||
- fixed now listening icon, using a common icon now.
|
||||
- fixed now listening support, added support for all MPris-compatible players.
|
||||
- fixed inconsistent order of the artist and track title in now Listening information.
|
||||
- fixed position of the red circle in the system tray screenshot.
|
||||
- fixed protocol support of group chats.
|
||||
- fixed protocol support of the MSN-HTTP fallback.
|
||||
- fixed protocol support of MSNP2P by Windows Live Messenger 2009, should fix picture/emoticon transfers.
|
||||
- fixed protocol support of MSN Plus! markup, displaying contact names incorrectly at various places.
|
||||
- fixed protocol support for resetting your Personal Message, was not recognized by Windows Live Messenger 2009.
|
||||
- fixed displaying of Offline-IM messages, wrong sender was displayed when receiving many messages.
|
||||
- fixed error handling for SOAP protocol errors.
|
||||
- fixed "view profile" pages with updated MSN website.
|
||||
- fixed crashes in the contact list model code.
|
||||
- fixed a crash when receiving MSN Plus! predefined messages.
|
||||
- fixed a crash with receiving files with the old MSNFTP protocol.
|
||||
- fixed an assertion crashing KMess caused by read-only configuration files with a KDE 4 debug build.
|
||||
- fixed compiling issues with KDE 4.0, 'KDE on Windows' and MinGW32.
|
||||
- fixed compiler warnings.
|
||||
- fixed adblock icons showing up by the embedded KHTMLPart component in the chat window.
|
||||
- fixed network code to use QNetworkAccessManager, this should give us proper Proxy support.
|
||||
- fixed browser invocation code, using KToolInvocation to have instant invocation.
|
||||
- fixed issues with network detection if Solid/NetworkManager is not available.
|
||||
- fixed removed translator name entries in the .po files; some languages appear to have translated names.
|
||||
- removed custom notification settings in favour of KNotify settings in the global settings panel.
|
||||
- updated English handbook by Heimen Stoffels.
|
||||
- updated Brazilian Portuguese translation by Leonel Freire.
|
||||
- updated Brazilian Portuguese translation by Sergio Rafael Lemke.
|
||||
- updated Dutch translation by Elve and Sander Pientka.
|
||||
- updated French translation by Barthe Guillaume.
|
||||
- updated German translation by Panagiotis Papadopoulos.
|
||||
- updated Greek translation by Panagiotis Papadopoulos, Dimitrios Glentadakis.
|
||||
- updated Hungarian translation by Pauli Henrik.
|
||||
- updated Italian translation.
|
||||
- updated Norsk Bokmal translation by Øyvind Sæther.
|
||||
- updated Simplified Chinese translation by Cheng Yang.
|
||||
- updated Spanish translation by Alexis Daniel Medina Medina, Juan Pablo González Tognarelli.
|
||||
- updated Swedish translation by Mattias Newzella.
|
||||
- updated Traditional Chinese translation by Yen-chou Chen, the Tryneeds-Chinese Translation Platform.
|
||||
|
||||
|
||||
Changes between KMess 2.0-alpha2 and 2.0-alpha:
|
||||
--------------------------------------
|
||||
- added connecting over HTTP, to deal with corporate firewalls which only allow connections to browse the web.
|
||||
- added tabbed chatting support!
|
||||
- added offline messaging functionality.
|
||||
- added the support to send ink messages.
|
||||
- added the support to send huge messages.
|
||||
- added full MSN Plus text-formatting support in chat and in the contact list.
|
||||
- added application-wide settings dialog, which includes an account manager.
|
||||
- added option to choose the interval of ports used for fast file transfers.
|
||||
- added option to change the groups of a contact from the contact's properties dialog.
|
||||
- added option to choose a previously set display picture for the account.
|
||||
- added option to choose the dimensions of the pictures in the contact list.
|
||||
- added option to specify where received files will be downloaded to.
|
||||
- added option to display all offline contacts in a single group ("mixed" group mode).
|
||||
- added option to hide currently empty groups.
|
||||
- added option to block notifications when the status is set to Busy.
|
||||
- added option to disable displaying of received winks.
|
||||
- added option to choose a default directory where to put all received files.
|
||||
- added option to choose the browser and e-mail client used to open Web links.
|
||||
- added copy menu entry for the music a contact is listening.
|
||||
- added a dark chat style suitable for use with dark KDE color themes.
|
||||
- added ability to keep short notes for each contact.
|
||||
- added a search box in the contact list.
|
||||
- added an history box in the contact list, which displays recent contact events.
|
||||
- added a close button on the notification popups (for people who don't know about right-click to close).
|
||||
- added a DBus remote control interface, to enable interaction with KMess from other applications.
|
||||
- added KWallet support to store in a secure way the passwords of the saved accounts.
|
||||
- added detection of network connection availability, using Solid.
|
||||
- added tracking of the 'last seen' and 'last chat message' dates for a contact.
|
||||
- improved reporting of error messages.
|
||||
- improved the user interface of many dialogs.
|
||||
- improved the Now Playing support with Amarok 2 support. Amarok 1.4 is still supported.
|
||||
- improved the file transfer messages within the chat.
|
||||
- improved the auto-message feature, displays the automessage more often.
|
||||
- fixed displaying old contact names and no personal messages after login.
|
||||
- fixed loading emoticon themes containing non-PNG picture files.
|
||||
- fixed compatibility and styling issues with dark KDE color schemes.
|
||||
|
||||
|
||||
Changes between KMess 2.0-alpha and 1.5.1:
|
||||
--------------------------------------
|
||||
- ported to KDE 4.
|
||||
- added support to receive ink messages.
|
||||
- added ability to re-use previously opened chat windows after reconnecting.
|
||||
- added a log for contact logins and logouts at the bottom of the contact list
|
||||
- added copy options for name, email, personal message, and links to right-click menu of contacts.
|
||||
- added fast-retype of previous sentences using Ctrl+Up.
|
||||
- added group selection box to the "add contact" dialog.
|
||||
- improved overall user interface.
|
||||
- improved client name detection of contacts.
|
||||
- improved contact properties dialog
|
||||
- fixed font color chooser in the chat window, settings could be lost.
|
||||
- fixed contact re-invites (chat resumes) to the chat when the first attempt failed.
|
||||
|
||||
|
||||
Changes between KMess 1.5.2 and 1.5.1:
|
||||
--------------------------------------
|
||||
- added a warning message if a file transfer is started when a non-P2P capable client.
|
||||
- fixed displaying passwords in the debug window, make it easier to share debug logs.
|
||||
- fixed displaying old contact names after login.
|
||||
- fixed enabled auto-away settings if the XScreenSaver extension was not found.
|
||||
- fixed a bug which caused a disconnection when setting an extremely long nickname.
|
||||
- fixed a bug which discarded saved settings for an account when quitting and when just disconnecting.
|
||||
- fixed a bug which prevented non-PNG emoticon themes from loading.
|
||||
- fixed a crash in debug builds for unknown contacts.
|
||||
- fixed a possible crash in the passive popups.
|
||||
- fixed a potential crash in background picture transfers (unlikely to occur).
|
||||
- fixed a potential passport login problem, not seen yet unfortunately.
|
||||
- fixed compiler warning on newer GCC.
|
||||
- updated Brazilian Portuguese translation, made by Darlan Campos.
|
||||
- updated Simplified Chinese translation by Liu Sizhuang.
|
||||
|
||||
|
||||
Changes between KMess 1.5.1 and 1.5:
|
||||
--------------------------------------
|
||||
- added checking if a screensaver or fullscreen app is running, and disable notification popups.
|
||||
- added option to show contact display pictures in the contact list.
|
||||
- added spell checker to the chat window, its option is in the Settings menu.
|
||||
- added a contact list popup text showing which MSN client your contacts use.
|
||||
- added a little screenshot of the tray icon area when closing KMess to tray for the first time, to help finding where it is.
|
||||
- added ability to manually select the Idle MSN status.
|
||||
- added a warning message for broken SOCKS implementations which could cause KMess to freeze.
|
||||
- fixed selecting a picture in the Autopackage version, and KDE 3.2 / KDE 3.3 installations.
|
||||
- fixed a possible freeze, could only happen in developer builds (--enable-debug-output).
|
||||
- fixed focus of typing area when reactivating the chat window.
|
||||
- fixed the chat window title, which could continue blinking after its window had been given focus.
|
||||
- updated Danish translation by Pascal d'Hermilly
|
||||
- updated Traditional Chinese translation by Yen-chou Chen.
|
||||
|
||||
|
||||
Changes between KMess 1.5 and 1.5pre2:
|
||||
--------------------------------------
|
||||
- added support to send custom emoticons.
|
||||
- added support for P4-Context field, used for by plugins of the official client for contact aliases (i.e. Xiaoi's Qun). Patch by LiuSizhuang.
|
||||
- added initial status chooser at login, and in the account settings.
|
||||
- added drag&drop for files in the chat window to send files.
|
||||
- added internationalization support to the service status URL.
|
||||
- added automatic download of new display pictures in the background.
|
||||
- added option to crop a picture before using it as display picture.
|
||||
- added zoom buttons to scale the chat window text.
|
||||
- added context menu to open and copy links in chat window.
|
||||
- added "remove and block" option in the contact remove dialog.
|
||||
- added dialog to confirm overwrite when saving a chat to file.
|
||||
- added dialog to confirm overwrite when renaming custom emoticons.
|
||||
- added auto clean up of the configuration files for outdated info.
|
||||
- added keepalive support to see when a contact really closed the chat window, or the chat went idle.
|
||||
- added a tooltip to the system tray, showing current name and status.
|
||||
- added warning message when chatlogs can't be saved (e.g. wrong permissions).
|
||||
- added status message upon server shutdown for maintenance notification.
|
||||
- added notification balloons for contact typing and contact status changes.
|
||||
- added a workaround for NAT timeouts when behind a "black hole" router.
|
||||
- changed default chat style to "Fresh", old style is renamed to "Classic".
|
||||
- improved notification balloons, completely new implementation using more standard KDE functionality.
|
||||
- improved notifications with correct balloons when transferring files and receiving winks and nudges.
|
||||
- improved taskbar notification of new messages, added asterisk in front.
|
||||
- improved "Remember this profile" checkbox, it's consistent with the selected account.
|
||||
- improved error messages for adding invalid MSN accounts.
|
||||
- improved memory usage by reducing dependencies on QWidget.
|
||||
- improved memory usage when a chat is started to download a display picture in the background.
|
||||
- improved tests for invalid e-mail addresses when adding a new contacts.
|
||||
- improved account settings dialog behavior when adding invalid email addresses.
|
||||
- improved chat window appearance, with a new right-click menu for the listed contacts, and a resizable message box.
|
||||
- improved file transfer speed over high speed links.
|
||||
- improved saving of settings; save directly, not only when KMess quits.
|
||||
- improved login handling to Passport 3.0 webservices.
|
||||
- improved the user manual, reorganized completely.
|
||||
- improved developer API documentation, especially the networking classes.
|
||||
- improved transfer window's reliability.
|
||||
- prepared preliminary support for tabbed chats.
|
||||
- fixed multiple problems with broken file/picture transfers, especially over slow links or slow systems.
|
||||
- fixed replacing of custom emoticon placeholders which contain <, > or & characters, or quotes.
|
||||
- fixed support for default messages from MSN Plus!.
|
||||
- fixed keyboard shortcut to insert new lines in the chat messages.
|
||||
- fixed keyboard shortcut to copy text in the chat window.
|
||||
- fixed background rendering in the contact list.
|
||||
- fixed now playing icon, previous one was SUSE-specific.
|
||||
- fixed Hotmail folders opening in wrong browser.
|
||||
- fixed login selectbox, display last selected account at logout.
|
||||
- fixed opening the main window when KMess is started with KDE.
|
||||
- fixed missing emoticon example pictures next to the emoticons checkbox.
|
||||
- fixed settings dialog height, was too big for 800x600 displays.
|
||||
- fixed settings of notification balloons, balloons can be disabled again.
|
||||
- fixed emoticon theme settings previews, some themes lacked a preview image.
|
||||
- fixed links to account registration and verification in the settings dialog.
|
||||
- fixed maximum length of displayed messages in the message balloons.
|
||||
- fixed notification balloons text with special messages, like nudges or file transfers.
|
||||
- fixed resuming chats when there was no connection to switchboard (gray display pictures in the chat).
|
||||
- fixed raising existing chats when trying to open one from the contact list.
|
||||
- fixed duplicate chat windows when clicking repeatedly on a contact in the list.
|
||||
- fixed reuse of chat windows to use expected behavour.
|
||||
- fixed subtle GUI flashing in the chat window for the contact picture.
|
||||
- fixed changing an accounts email, it did not get reflected in the initial login UI and the menu's.
|
||||
- fixed personal message being sent when the main window lost focus, not only when we confirm its change.
|
||||
- fixed non working 'open inbox/send mail' links for non-Hotmail accounts, which now open the mail account specified in the settings.
|
||||
- fixed broken contact images which don't get updated; added data hash check.
|
||||
- fixed connection timeout error with downloading offline-im messages.
|
||||
- fixed connection timeout issues during login for slow connections.
|
||||
- fixed incorrect "transfer failed" message when sending files to Mercury Messenger.
|
||||
- fixed internal protocol message to withdraw a started file transfer (not visible with WLM).
|
||||
- fixed internal protocol encoding with commands which update groups in the contact list.
|
||||
- fixed internal protocol handling to allow MSNSLP ACK messages.
|
||||
- fixed invalid image when contacts don't have a display picture or it's not valid anymore.
|
||||
- fixed unwanted destroying of the direct connection if a switchboard connection restarts.
|
||||
- fixed handling of direct connection write errors, revering to the switchboard.
|
||||
- fixed unwanted "session is cancelled" messages after completing a file transfer.
|
||||
- fixed issues with aborting invitations when a chat window closes.
|
||||
- fixed blocking KMess user interface with account settings dialog.
|
||||
- fixed blocking user interface when the network is down or slow during the login.
|
||||
- fixed 'eventsrc' file not being found by KMess.
|
||||
- fixed 'eventsrc' warning, path should be 'kmess/eventsrc'.
|
||||
- fixed compiling in Mac OS X (fink environment with KDE3/X11).
|
||||
- fixed a series of potential crashes with closing the chat window.
|
||||
- fixed a crash when closing the application.
|
||||
- fixed a crash when downloading offline-im messages.
|
||||
- fixed a crash when the contact was removed with it's chat window open.
|
||||
- fixed a crash when the contact cancels a file transfer and the user is still choosing a destination folder.
|
||||
- fixed a crash when the direct connection could not be initialized correctly.
|
||||
- fixed a crash when a contact changes status but its chatwindow is not yet loaded.
|
||||
- fixed a freeze when receiving custom emoticons from Kopete.
|
||||
- fixed a freeze when starting/resuming multiple chats at the same time.
|
||||
- fixed a freeze when there are too many unacked P2P messages in a chat.
|
||||
- fixed a freeze when starting a file transfer with direct connections.
|
||||
- fixed a possible freeze when inserting emoticons into the messages.
|
||||
- fixed memory leaks in the chat window using Valgrind.
|
||||
- fixed many compiler warnings.
|
||||
- fixed word puzzles in translations with notification balloons.
|
||||
- fixed translations for the Transfer Window messages.
|
||||
- removed custom proxy support in favor of the global KDE settings.
|
||||
- reduced the time KMess waits before detecting a connection error.
|
||||
- updated Arabic translation by Youssef Chahibi.
|
||||
- updated Danish translation by Pascal d'Hermilly.
|
||||
- updated Dutch translation by Jaap Woldringh.
|
||||
- updated Finnish translation by Jussi Timperi.
|
||||
- updated French translation by Andrea Blankenstijn and Choplair.
|
||||
- updated German translation.
|
||||
- updated Hungarian translation by Páder Rezsõ.
|
||||
- updated Italian translation by Vincento Reale.
|
||||
- updated Spanish translation by Christian Kaiser.
|
||||
- updated Swedish translation by Christian Lundgren.
|
||||
- updated Thai translation by Rachan Hongpairote.
|
||||
- updated Turkish translation by Uğur Çetin.
|
||||
- updated Simplified Chinese translation by Liu Sizhuang.
|
||||
- updated Traditional Chinese translation by Yen-chou Chen.
|
||||
|
||||
|
||||
Changes between KMess 1.5pre2 and 1.5pre1:
|
||||
--------------------------------------
|
||||
- added "now playing" support, both sending and receiving.
|
||||
- added file transfer preview support, both sending and receiving.
|
||||
- added x-clientcaps message for third party client exchange.
|
||||
- added option to disable the nudge shaking effect, completing the nudge support.
|
||||
- added proper error message for webcam invitations, which are currently not supported yet.
|
||||
- added support for an second incoming file transfer invitation to become client instead of server.
|
||||
- added translation support for chat styles, fixed untranslated "says:" message in the chat window.
|
||||
- added emoticon image conversion to the the personal status message.
|
||||
- added warning message when KMess is installed in a folder where it can't find it's resources.
|
||||
- added warning dialog when KMess can't find it's eventsrc file to handle notifications.
|
||||
- improved visual *bold*, /italic/ and _underline_ effects, they don't hide the ASCII codes anymore.
|
||||
- improved account menu's, display account handle instead of long friendly name.
|
||||
- improved compatibility with Windows Live Messenger's protocol for client-to-client invitations.
|
||||
- restored context menu in the chat window.
|
||||
- fixed file transfers, a timer was not stopped to detect a direct connection timeout.
|
||||
- fixed crash when a timeout occurs during a direct file transfer.
|
||||
- fixed login problems with "restricted passport accounts".
|
||||
- fixed image width/height of received custom emoticons.
|
||||
- fixed link parsing, adding http:// before www. URL's, and fixed geek-style links (links without www. or http://).
|
||||
- fixed unwanted resizing of the chat window when the statusbar text didn't fit.
|
||||
- fixed unwanted resizing of the chat window sidebar.
|
||||
- fixed contact window alignment, right-to-left names aligned randomly.
|
||||
- fixed contact window updating when a group was succesfuly renamed.
|
||||
- fixed lost personal status message when moving contacts.
|
||||
- fixed own personal status message, it could literally become "<Enter your personal message here>".
|
||||
- fixed missing right-to-left flag in sent chat messages.
|
||||
- fixed message "<handle> has left the chat", displays contact name now.
|
||||
- fixed missing contact name when adding new contacts.
|
||||
- fixed missing "overwrite file" question when saving sent files.
|
||||
- fixed tab order of the 'chatting' options panel.
|
||||
- fixed revoking of sent invitations when a timeout occurred.
|
||||
- fixed typing notification, these were not sent instantly when the user continues to type after sending a message.
|
||||
- fixed emoticons support for KDE 3.3 and below.
|
||||
- fixed emoticons installation with the installer.
|
||||
- fixed compiling with automake 2.10.
|
||||
- fixed compiling of the RPM with patch level KDE versions (e.g. 3.1-10).
|
||||
- fixed character encoding problem in the desktop file.
|
||||
- fixed filename of Estonian translation.
|
||||
- updated website address, moved to www.kmess.org.
|
||||
- updated Dutch translation by Jaap Woldringh.
|
||||
- updated Danish translation by Pascal d'Hermilly.
|
||||
- updated German translation.
|
||||
- updated Finnish translation by Joonas Niilola.
|
||||
- updated Hungarian translation by Páder Rezsõ.
|
||||
- updated Italian translation by Valerio Pilo.
|
||||
- updated Spanish translation by Jaume Corbí.
|
||||
- updated Turkish translation by Uğur Çetin.
|
||||
- updated Traditional Chinese translation, by Yen-chou Chen.
|
||||
- added Hungarian translation by Páder Rezsõ.
|
||||
- Removed ASL and unhappy icon because these are no longer used in Windows Live Messenger.
|
||||
|
||||
|
||||
|
||||
Changes between KMess 1.5pre1 and 1.4.3:
|
||||
----------------------------------------
|
||||
- added direct connection support, faster file transfers.
|
||||
- added chat message styles. Styles can use all CSS2 features supported by KHTML.
|
||||
- added emoticon themes to the chat window. They can be switched on-the-fly.
|
||||
- added offline-im support (receiving only).
|
||||
- added custom emoticon support (receiving only).
|
||||
- added winks support (receiving only).
|
||||
- added nudge support.
|
||||
- added personal status message support.
|
||||
- added grouping of chat messages from the same contact.
|
||||
- added alt tags to all emoticons, for easy copy-pasting.
|
||||
- added a link to "register.passport.net" for creating a new account.
|
||||
- added support for file transfers between hosts of the same LAN.
|
||||
- added support for parallel transfers over the same direct connection.
|
||||
- added support for relaying invitations to another swichboard connection.
|
||||
- added option to upgrade a temporary/guest account permanently (when "Remember this profile" was left unchecked).
|
||||
- added detection of unverified passport e-mail adresses.
|
||||
- added translation for Finnish.
|
||||
- added Doxygen configuration to generate API docs.
|
||||
- upgraded client-server protocol to MSNP12 (MSN Messenger 7.5).
|
||||
- upgraded client-to-client protocol to MSNC5 (MSN Messenger 7.5).
|
||||
- improved login dialog, replacing the confusing profile box.
|
||||
- improved main window interface, added contact picture to main window.
|
||||
- improved chat window interface, added sidebar for contacts and emoticons.
|
||||
- improved settings dialog, added widgets of the "display pic" tab to the "accounts" tab.
|
||||
- improved detection of login errors for problems with the MSN servers.
|
||||
- improved chat message link detection with support for e-mail addresses and sftp:// links
|
||||
and "geek-style" urls (urls without a http:// or www prefix, like "slashdot.org").
|
||||
- improved performance for accounts with large contact lists.
|
||||
- improved "connection timeout" message, with suggestions to "check the Internet connection and MSN service status".
|
||||
- improved support for temporary/guest accounts (e.g. for internet cafe usage or friends visiting).
|
||||
- improved right-to-left language support, chat messages are reversed in the same way 'kmess --reverse' changes the GUI.
|
||||
- changed chat window title, displaying the contact name before the "KMess" part.
|
||||
- changed emoticon size, emoticons are displayed at their real size instead of being scaled.
|
||||
- fixed annoying error messages with picture transfers, only displayed in the console now.
|
||||
- fixed repeatedly displaying "this contact is offline" warnings while typing a message.
|
||||
- fixed unwanted saving of the contact list for "guest accounts", this was overlooked by a bugfix of 1.4.
|
||||
- fixed minor issues that occurred when the chat connection is established but the invited contacts have not entered the chat yet.
|
||||
- fixed handling of unexpected disconnections by the server, contactlist was not saved and reset, invitations were not aborted.
|
||||
- fixed unwanted "Connection timed out" message when it took more then one minute to authenticate and download the contact list.
|
||||
- fixed handling of connection errors, no error message was displayed except for connection timeouts.
|
||||
- fixed closing the connection when 3 pings are missed.
|
||||
- fixed detection of cancelled file transfers.
|
||||
- fixed cancelling of file transfer invitations before the contact accepted.
|
||||
- fixed cancelling of file transfer sessions by the one who didn't start the transfer.
|
||||
- fixed display problems with dark color schemes.
|
||||
- fixed parsing of chat messages containing both emoticons and hyperlinks.
|
||||
- fixed login from main window, no longer creates a new account by default.
|
||||
- fixed hanging user interface during file transfers invitations.
|
||||
- fixed small memory leak, chat invitation was not removed.
|
||||
- fixed title of the "save" menu item in the chat window.
|
||||
- fixed error message for third-party "text/x-keepalive" message.
|
||||
- fixed "&Verdana" font setting in chat messages. This was addressed in KMess 1.4,
|
||||
but it could still appear if you never changed font settings.
|
||||
- fixed font size of font selection buttons, as the font size is not used by the msn protocol.
|
||||
- fixed race condition that could make KMess crash when a chat window was closed while a contact was leaving or typing.
|
||||
- fixed overwriting chat logs when the conversation is restarted within the same minute.
|
||||
- fixed saving settings of the main window menu when disconnecting/switching accounts.
|
||||
- fixed e-mail notification settings, gray out options if user is not logged in with a Hotmail account.
|
||||
- fixed file chooser path for display pictures, in SUSE it opened /etc/opt/kde instead of /opt/kde3
|
||||
- fixed translation of Danish, renamed from "dk.po" to "da.po".
|
||||
- fixed right-to-left support for translated notification/event/error messages in the chat window.
|
||||
- updated Turkish translation, by Uğur Çetin.
|
||||
- removed support for Qt 3.1 due the use of the QToolbox widget in the chat windows.
|
||||
|
||||
|
||||
|
||||
Changes between KMess 1.4.3 and 1.4.2:
|
||||
--------------------------------------
|
||||
- fixed a crash occuring when resuming a chat.
|
||||
- fixed a crash at quit, caused in ContactAction disconnect code.
|
||||
- fixed compilation error for KDE 3.5.1 (KURLLabel::setSizePolicy() API changed).
|
||||
- fixed receiving files from Mercury Messenger, KMess responsed with an incorrect Content-Type field.
|
||||
- fixed .Net messenger service status URL (was changed again).
|
||||
- fixed two issues with certain unexpected MSNP2P packets:
|
||||
- Bot2K3 4.1 sends the first ACK without flags.
|
||||
- Encarta Instant Answers sends the data preparation message with the data flag set.
|
||||
- fixed missing MSNP2P ack packets, accidently emulated a bug of MSN 7.0.
|
||||
- fixed chat messages with links and emoticons (this is only a temporary fix)
|
||||
- This fix disables emoticons in a chat message when there are links in the message too.
|
||||
- As of 1.5 we can include a better the message parser/formatter which handles emoticons+links the right way.
|
||||
- removed /debian folder as requested by Debian packagers (KMess is in Debian unstable now).
|
||||
- removed --enable-phone, option is still not fully operational (needs to be replaced with libkcall).
|
||||
- changed chat window statusbar to show by default, so it's more obvious why the contact picture lights up.
|
||||
- added detection of https:// links
|
||||
- added the (0) symbol for the clock emoticon.
|
||||
- added contact status and picture to contact list tooltip.
|
||||
|
||||
|
||||
|
||||
Changes between KMess 1.4.2 and 1.4.1:
|
||||
--------------------------------------
|
||||
- correctly merged the patches of KMess 1.4.1 this time (sorry!)
|
||||
- fixed the font selection buttons in the settings panel.
|
||||
- fixed a problem with new contacts adding you while you're online.
|
||||
- fixed a problem with rpm building as root in SuSE (KDE not in $PATH).
|
||||
- fixed a problem and crash with display pictures when the contact has none.
|
||||
- fixed a crash during KMess quit, contacts were unloaded incorrectly.
|
||||
- fixed a crash after disabling the display picture.
|
||||
- fixed a crash after closing the chat session with active invitations.
|
||||
- added translation for Slovenian.
|
||||
|
||||
|
||||
|
||||
Changes between KMess 1.4.1 and 1.4:
|
||||
------------------------------------
|
||||
- fixed a crash during chat with MSN Messenger 7.5 (also fixes picture transfer).
|
||||
- fixed a crash during chat with contacts that are not on your list.
|
||||
|
||||
|
||||
|
||||
Changes between KMess 1.4 and 1.4pre1:
|
||||
--------------------------------------
|
||||
- added translations for: German, Spanish, Swedish and Chinese Traditional.
|
||||
- added a file icon to the file transfer dialog.
|
||||
- added automatic downloading of updated contact pictures during chat sessions.
|
||||
- added autopackage binreloc support, images can be loaded whatever the --prefix was.
|
||||
- added 22x22 icons for KMess.
|
||||
- added initial support for MSN Games/Activities (only displays name in chat window so far).
|
||||
- added initial support for autopackage, it can still have problems because of C++ ABI changes.
|
||||
- added support for dpkg-buildpackage to build Debian/Ubuntu packages.
|
||||
- restored all languages, it appears fuzzy strings aren't displayed after all.
|
||||
- improved the rpmbuild spec file:
|
||||
- added a final status message with the produced package filename.
|
||||
- added verbose colorful output.
|
||||
- added more distro detections.
|
||||
- added automatic rpm->tgz, rpm->deb conversion.
|
||||
- added support for apg++, it will be used automatically used if it's installed.
|
||||
- improved console output messages for msnp2p errors.
|
||||
- optimized some network handling code.
|
||||
- optimized the loading and locating of images.
|
||||
- fixed compilation errors for KDE 3.1.
|
||||
- fixed compilation errors for a few distro's (added stdlib.h).
|
||||
- fixed the resuming of chat sessions, all pending messages are sent and re-connects are supported from both-sides.
|
||||
- fixed the hidden chat windows, they stayed active in the background.
|
||||
- fixed the closing of chat windows, closing a chat window really destroys it now.
|
||||
- fixed the erratic crashes when quitting KMess.
|
||||
- fixed the e-mail status bar display, it hides automatically again for non-hotmail accounts.
|
||||
- fixed the e-mail status bar link, clicking the e-mail link opens the e-mail client again.
|
||||
- fixed the e-mail client configuration, it's possible to include command arguments again.
|
||||
- fixed the sidebar picture for contact picture that can't be loaded.
|
||||
- fixed the URL for the MSN .Net server status.
|
||||
- fixed the open link for file transfers.
|
||||
- fixed the accept link, it can't be accepted twice now.
|
||||
- fixed the file transfer toolbar icon in the chat window.
|
||||
- fixed the layout issues of the file transfer dialog items.
|
||||
- fixed the unwanted resizing of file transfer dialog items when the transfer finished or failed.
|
||||
- fixed the rejection of unsupported invitation types (both mime and msnp2p).
|
||||
- fixed the KMess-to-KMess msnp2p transfers (e.g. picture transfers).
|
||||
- fixed the sending of files.
|
||||
- fixed the canceling of active file transfers.
|
||||
- fixed the canceling of invitations when the chat window closes.
|
||||
- fixed the error messages for canceled invitations (they are more accurate now).
|
||||
- fixed the msnp2p support (picture transfer, et. al) for chats with more then one contact.
|
||||
- fixed the configure check for the auto-away feature.
|
||||
- fixed the automatic saving of chat logs:
|
||||
- chat logs were saved in the parent folder.
|
||||
- chat logs were not saved when the contact left early.
|
||||
- chat logs are no longer saved if the message area is empty.
|
||||
- changed the chat log timestamp from closing date to starting date.
|
||||
- fixed the another lost chat messages problem when being idle behind a NAT router.
|
||||
- fixed the problems with KMess blocking KDE logout when the main window was still open.
|
||||
- fixed the saving of settings at KDE logout.
|
||||
- restored the shortcut key for the "New Line" button.
|
||||
- removed the IP dialog for sending files, it always uses the external IP address now.
|
||||
- removed the remote desktop invitation support, since it's not compatible with the official client.
|
||||
|
||||
|
||||
|
||||
Changes between KMess 1.4pre1 and 1.3:
|
||||
--------------------------------------
|
||||
- added msn6 picture transfer support
|
||||
- added msn6 file transfer support (receiving only)
|
||||
- added new file transfer dialog
|
||||
- added new icons for emoticons
|
||||
- added flashing taskbar for new messages
|
||||
- added spec file to build RPM packages
|
||||
- improved/fixed contact list view
|
||||
- improved contact list tooltip
|
||||
- improved some context menus
|
||||
- improved desktop menu icon
|
||||
- fixed a few possible crashes
|
||||
- fixed contact moving with new msn protocol
|
||||
- fixed login problems with new passport site
|
||||
- fixed login problems with empty contact list
|
||||
- fixed lost chat messages (timeout issues)
|
||||
- fixed newline problems with MacOS MSN Messenger
|
||||
- fixed problems with bad e-mail addresses
|
||||
- fixed problems with new contacts not appearing in the list
|
||||
- fixed problems with long name in main window (squeezed now)
|
||||
- fixed problems with "word-puzzles" in translations
|
||||
- fixed save-as dialogs, added the suggested file name
|
||||
- fixed a lot of compilation errors; KMess should be easier to compile now
|
||||
- fixed compilation errors for a few distro's
|
||||
- fixed compilation errors for gcc-3.4
|
||||
- reduced the build and runtime dependencies
|
||||
- updated configure checks for auto-away feature
|
||||
- removed baloon popup at signon.
|
||||
@@ -1,38 +1,71 @@
|
||||
|
||||
Installation Tip:
|
||||
About KMess:
|
||||
============
|
||||
|
||||
KMess is a Windows Live Messenger client for Linux. It enables
|
||||
Linux, Mac and even Windows users to chat with friends online
|
||||
who are using the official Messenger client for Windows. The
|
||||
strengths of KMess are its integration with the KDE desktop
|
||||
environment, its focus on Live Messenger specific features
|
||||
and an easy-to-use interface.
|
||||
|
||||
Like many Linux and KDE applications, KMess is free software.
|
||||
The licensing terms are the GNU General Public License.
|
||||
|
||||
|
||||
|
||||
Installing KMess:
|
||||
=================
|
||||
|
||||
In order for KMess to work properly, it must be configured with
|
||||
your KDE3 directory. In order to do this using Mandrake 8.2, for
|
||||
instance, configure with:
|
||||
Please see the INSTALL file for help with compiling and installing
|
||||
KMess from source.
|
||||
|
||||
./configure --prefix=/opt/kde3
|
||||
|
||||
I'm told that with RedHat 7.2 and kde3 installed from rpms, it should be
|
||||
|
||||
./configure --prefix=/usr
|
||||
Updating the translations
|
||||
=========================
|
||||
|
||||
Basically, we're talking about the parent directory of /share/apps/k~bunch of kapps~
|
||||
You can help translating KMess!
|
||||
|
||||
Not doing this will result in emoticons being displayed as black
|
||||
boxes. Then type
|
||||
This is what you need to do:
|
||||
- Get the latest version of KMess
|
||||
- Install "kbabel" (supplied with "kdesdk")
|
||||
- To create a new translation file, copy "kmess.pot"
|
||||
to a new file named "<your language>.po".
|
||||
- Open the language "po" file, and start translating!
|
||||
Also watch for translations marked as "fuzzy",
|
||||
they often need updating.
|
||||
- Update the translations.
|
||||
- Test the new translation.
|
||||
(to test other languages, run 'KDE_LANG=<code> kmess')
|
||||
- Contact the KMess developers to send your changes!
|
||||
|
||||
make
|
||||
A more detailed tutorial can be found online
|
||||
at http://trac.kmess.org/wiki/Translating%20KMess
|
||||
|
||||
and then, as root, type
|
||||
|
||||
make install
|
||||
|
||||
That's it.
|
||||
Building RPM Packages
|
||||
=====================
|
||||
|
||||
To build a RPM package for your distribution, run:
|
||||
|
||||
rpmbuild -tb kmess-<version>.tar.gz
|
||||
|
||||
|
||||
|
||||
Building Slackware Packages
|
||||
===========================
|
||||
|
||||
To build a TGZ package for Slackware, run:
|
||||
|
||||
rpmbuild -tb kmess-2.0.tar.gz
|
||||
|
||||
If configure tells you you're missing something that you think you
|
||||
have installed on your system, you probably need to install the
|
||||
"devel" version of that thing. i.e. If it tells you you're missing
|
||||
libfam, install the libfam-devel rpm.
|
||||
|
||||
|
||||
More Information
|
||||
================
|
||||
|
||||
For more information about KMess, help forums, and the latest
|
||||
releases, check out the homepage at kmess.sourceforge.net.
|
||||
releases, visit the homepage at http://www.kmess.org/
|
||||
|
||||
|
||||
@@ -1,34 +1,9 @@
|
||||
Before release:
|
||||
___ Comment out KMESSDEBUG
|
||||
___ Change project optimization level
|
||||
|
||||
Before 1.0
|
||||
___ Tag version in CVS?
|
||||
|
||||
After 1.0
|
||||
___ Iso encoding in email subjects/senders may be MIME stuff. Steal code from KMail?
|
||||
___ Automatically reject voice and, if possible, other chat applications
|
||||
|
||||
|
||||
_Y_ Fix balloon crashiness on close
|
||||
_Y_ Add space between the contact picture and buttons
|
||||
_Y_ Restore the documentation
|
||||
_Y_ Restore the translations
|
||||
_Y_ Fix the contact properties dialog file selection buttons
|
||||
_Y_ Make the contact properties button respond to "clicked" rather than "pressed" for a slower response? (made irrelevant by KDialogBase)
|
||||
_Y_ Fix chat logging and email settings widgets to make them look nicer
|
||||
_Y_ Clean up setup window layouts
|
||||
_Y_ Change the contact "guess" path to home now that KMess uses .kde/share/apps/kmess instead of .kmess?
|
||||
_Y_ Add account deletion, including deleting the account in the config file.
|
||||
_Y_ Check that when using KMail as the mail command, the contact's address is in the "to:" on send mail.
|
||||
_Y_ Use names from ContactExtension for joined/left messages.
|
||||
_Y_ Balloon bug fix.
|
||||
_Y_ Make sure "So-and-so has added you to his/her contact list" works.
|
||||
_?_ Fix issues with the "joined/left" messages that appear sometimes with the sidebar open
|
||||
_Y_ Fix autologin
|
||||
_Y_ Change version number to 1.0rc1
|
||||
For bugs, future ideas, et cetera, please check our developer site
|
||||
powered by trac at http://trac.kmess.org/.
|
||||
|
||||
_X_ Strange effect in contactlist toolbar? (a fault of KDE 3? I don't see how it can be fixed)
|
||||
_X_ Contact logs being saved in the wrong place... (odd configuration problem where trailing slash for directory wasn't present)
|
||||
_X_ Do you want to delete this *account*? Needs to be fixed. (Nope. Using "Account" now)
|
||||
_X_ Desktop file for KMess (Michael, quit smoking crack)
|
||||
If you're looking for junior jobs, you may also contact us at the
|
||||
KMess help forums: http://kmess.org/board/
|
||||
|
||||
- The KMess team
|
||||
|
||||
@@ -1,757 +0,0 @@
|
||||
2002-04-26 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in removed bogus message
|
||||
|
||||
2001-11-07 Walter Tasin <tasin@kdevelop.org>
|
||||
|
||||
* now #MIN_CONFIG tag takes parameters for KDE_USE_QT, too.
|
||||
e.g. #MIN_CONFIG(2.2) for qt 2.2 usage
|
||||
|
||||
2000-11-30 David Faure <faure@kde.org>
|
||||
|
||||
* acinclude.m4.in: Added kde_moduledir which points to $prefix/lib/kde2/
|
||||
|
||||
2000-07-24 Alex Zepeda <jazepeda@pacbell.net>
|
||||
|
||||
* acinclude.m4.in: Remove the test for malloc.h
|
||||
|
||||
2000-04-05 Michael Matz <matz@ifh.de>
|
||||
|
||||
* config.pl : added kludge for compiling regexp's even if
|
||||
perl < 5.005 is installed
|
||||
* conf.change.pl : added support for autoconf 2.14.1
|
||||
|
||||
2000-03-27 David Faure <faure@kde.org>
|
||||
|
||||
* acinclude.m4.in, Makefile.common: changed inst-apps semantics
|
||||
If present, only the subdirs it lists will be configured and compiled.
|
||||
If absent, then subdirs is used (and inst-apps isn't generated anymore)
|
||||
|
||||
2000-03-22 David Faure <faure@kde.org>
|
||||
|
||||
* am_edit: Added support for KDE_ICON = AUTO
|
||||
|
||||
2000-03-18 David Faure <faure@kde.org>
|
||||
|
||||
* Makefile.common: Rewrote the list-of-Makefiles generation to make it
|
||||
simpler and nicer, using create_makefiles' way of doing it.
|
||||
Added support for COMPILE_LAST and COMPILE_FIRST in toplevel Makefile.am
|
||||
|
||||
2000-01-05 David Faure <faure@kde.org>
|
||||
|
||||
* Makefile.common: hacked around autoconf bug (setting INSTALL to ".."
|
||||
when calling a subconfigure and INSTALL is already set).
|
||||
|
||||
1999-12-15 Waldo Bastian <bastian@kde.org>
|
||||
|
||||
* acinclude.m4.in: Test whether Qt compiles AND LINKS without flags.
|
||||
|
||||
1999-06-24 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* am_edit: generate correct Makefile entries for kde-i18n toplevel directories
|
||||
* am_edit:
|
||||
|
||||
1999-06-14 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* am_edit: remove idl generated files on make clean
|
||||
|
||||
1999-06-09 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* am_edit: skipping programs with variables in sources for final
|
||||
|
||||
1999-06-07 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* am_edit: added support for idl files
|
||||
|
||||
1999-06-02 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* Makefile.common: preserve comments in .pot files to make it
|
||||
possible for programmers and translators to comment them
|
||||
|
||||
1999-06-02 Simon Hausmann <hausmann@kde.org>
|
||||
|
||||
* acinclude.m4.in: added kde_servicetypesdir
|
||||
|
||||
1999-06-02 David Faure <faure@kde.org>
|
||||
|
||||
* acinclude.m4.in: removed LIB_KFM and LIB_KDEUTIL aliases
|
||||
|
||||
1999-05-28 Simon Hausmann <hausmann@kde.org>
|
||||
|
||||
* acinclude.m4.in: added kde_servicesdir
|
||||
|
||||
1999-05-27 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* am_edit: lots of changes for better support of --enable-final
|
||||
|
||||
1999-05-22 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: added support for --with-dmalloc
|
||||
|
||||
1999-05-19 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: added support for --enable-final
|
||||
|
||||
* am_edit: added support for --enable-final
|
||||
|
||||
1999-05-06 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: change the meaning of --disable-debug
|
||||
|
||||
1999-05-04 Helge Deller <deller@gmx.de>
|
||||
|
||||
* acinclude.m4.in: the test for the X-includes/directories failed,
|
||||
when compile & link work without special directories (as on HP-UX).
|
||||
|
||||
1999-04-20 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* am_edit: adding DESTDIR replacement for rm and uninstall-local
|
||||
too. Seems very useless, but makes testing for uninstall easier
|
||||
|
||||
1999-04-01 David Faure <faure@kde.org>
|
||||
|
||||
* acinclude.m4.in: Added -lkfile to $(LIB_KIO)
|
||||
|
||||
1999-03-30 David Faure <faure@kde.org>
|
||||
|
||||
* acinclude.m4.in: Added AC_CHECK_KDEMAXPATHLEN, which defines KDEMAXPATHLEN.
|
||||
|
||||
1999-03-29 David Faure <faure@kde.org>
|
||||
|
||||
* acinclude.m4.in: added LIB_X11 to XPMLIB and GLLIB, because
|
||||
on SCO, they need it _after_ themselves.
|
||||
|
||||
1999-03-28 David Faure <faure@kde.org>
|
||||
|
||||
* acinclude.m4.in: added LIB_KFM to LIB_KAB alias
|
||||
|
||||
1999-03-26 David Faure <faure@kde.org>
|
||||
|
||||
* acinclude.m4.in: made LIB_KFILE use LIB_KIO instead of LIB_KFM
|
||||
added LIB_KFORMULA
|
||||
|
||||
1999-03-20 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: check for libXext - for Russel :)
|
||||
|
||||
1999-03-16 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclud3.m4.in: extend the MICO test with a list of possible
|
||||
places where to find CORBA.h
|
||||
|
||||
1999-03-15 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: move $QTINC and $QTLIB in search path
|
||||
|
||||
1999-03-14 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* am_edit: install-root is obsolute. Use DESTDIR always
|
||||
|
||||
1999-03-03 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: fixing a bug, that $QTDIR was taken before --with-qt*
|
||||
* acinclude.m4.in: added KDE_USE_QT, that you can choose if to
|
||||
use QT 2.0 or KDE 1.0
|
||||
|
||||
* Makefile.common: added target package-merge
|
||||
|
||||
* am_edit: many fixes to the POFILES handeling of am_edit
|
||||
|
||||
1999-03-02 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: first look at libjpeg6b (from kdesupport) then
|
||||
for libjpeg
|
||||
|
||||
* config.*, libtool.*: update to the latest FSF tools
|
||||
|
||||
1999-02-23 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: error when Sparc CC is used. Better use it in
|
||||
configure and tell him the story then letting him find it while
|
||||
compiling
|
||||
|
||||
* acinclude.m4.in: adding KDE_CHECK_EXTRA_LIBS to all possible tests,
|
||||
so that --with-extra-includes is used when needed.
|
||||
|
||||
* acinclude.m4.in: configure looks for giflib30, so it should say so
|
||||
|
||||
* acinclude.m4.in: don't overwrite x include parameters. Patch by
|
||||
Ari Lemmke <ari.lemmke@regex.fi> (bug report 741)
|
||||
|
||||
1999-02-20 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: fixing KDE_CHECK_PATHS for rechecking. In case
|
||||
of defaults (kdelibs) configure didn't cache the results
|
||||
|
||||
1999-02-18 David Faure <faure@kde.org>
|
||||
|
||||
* acinclude.m4.in: added AC_CHECK_S_ISSOCK, to fix #706.
|
||||
|
||||
1999-02-17 David Faure <faure@kde.org>
|
||||
|
||||
* acinclude.m4.in: added AC_CHECK_RANDOM, just like
|
||||
AC_CHECK_USLEEP, to enable the fake if necessary.
|
||||
|
||||
1999-02-13 Kurt Granroth <granroth@kde.org>
|
||||
|
||||
* acinclude.m4.in: look for QT-2.0
|
||||
|
||||
1999-02-05 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: in macro KDE_FIND_PATH treat user given dirs
|
||||
and $PATH dirs the same. Added seperate test for to find binary
|
||||
($5) to replace findperl
|
||||
|
||||
1999-01-28 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* automoc: added patch by jbb to be a little bit more precise about
|
||||
the number of sourcefiles that include the moc file if it's != 1.
|
||||
Besides that automoc will fail with exit code, so the Makefile.cvs
|
||||
process does stop in case a problem accoured.
|
||||
|
||||
* automoc: don't hardcode header suffix, but allow *.h, *.hh and *.H
|
||||
|
||||
1999-01-27 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: try qobjcoll.h and qapplication.h before saying
|
||||
OK to qt headers. (I could kill SuSE for splitting into qt-dev
|
||||
and qt-compat)
|
||||
|
||||
1991-01-23 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* automoc: added fixes by JB <jb.nz@writeme.com>
|
||||
|
||||
1999-01-21 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* automoc: added --help and --path (for use in dist-hook)
|
||||
|
||||
1999-01-20 Alex Zepeda <garbanzo@hooked.net>
|
||||
|
||||
* ltconfig: added entries for FreeBSD 4.x
|
||||
|
||||
1999-01-19 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* automoc: added a distclean-metasources target which deletes all
|
||||
moc files and let distclean depend on it
|
||||
|
||||
1999-01-18 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* automoc: several fixes (ignore comment lines + join lines
|
||||
with \ )
|
||||
|
||||
* automoc: support META_INCLUDES in case the header files are
|
||||
not in the same dir as the sources.
|
||||
|
||||
1999-01-17 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* automoc: several fixes.
|
||||
|
||||
1999-01-16 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* automoc: added support for included MOC files.
|
||||
|
||||
* acinclude.m4.in: use srcdir for the subdirs stuff as well
|
||||
|
||||
* automoc: added better command line parsing and some preparation
|
||||
for handling "normal" moc files
|
||||
|
||||
* acinclude.m4.in: added aliases for libkio and libkdeutil
|
||||
|
||||
1999-01-15 Harri Porten <porten@kde.org>
|
||||
|
||||
* automoc: Carved in stone syntax for Makefile.in:
|
||||
{program}_METASOURCES = USE_AUTOMOC [{suffix}]
|
||||
|
||||
1999-01-15 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* Makefile.common: set top_srcdir to .
|
||||
|
||||
1999-01-14 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: don't use config.h.bot any longer
|
||||
|
||||
1999-01-08 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: added KDE_CHECK_NEWLIBS
|
||||
|
||||
* acinclude.m4.in: test for Qt even if both --with-qt-headers and
|
||||
--with-qt-libraries are given. They may be wrong.
|
||||
|
||||
1999-01-06 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: change the MOC test so it can be used for other
|
||||
tools as well
|
||||
|
||||
1998-12-28 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: look for QT-1.42 since kpanel needs it
|
||||
|
||||
1998-12-27 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: added /usr/lib for libpython test
|
||||
|
||||
* acinclude.m4.in: take my email address out of it and added a
|
||||
reference to www.kde.org/faq
|
||||
|
||||
* acinclude.m4.in: use Qt >= 1.4
|
||||
|
||||
* acinclude.m4.in: added KDE_CHECK_NAMESPACES
|
||||
|
||||
1998-12-18 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: test for directories to exist before saying yes
|
||||
to compilation :)
|
||||
|
||||
1998-12-14 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: added CPLUSPLUS for the kimgio test. It's
|
||||
only important for shaman right now, but at least there it is :)
|
||||
|
||||
1998-12-12 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* Makefile.cvs: added common Makefile.cvs
|
||||
|
||||
* acinclude.m4.in: Thomas.Schwarz@pro-sieben.de reported a very ugly
|
||||
bug in AC_PROG_CXXCPP, so I added my own version
|
||||
|
||||
* acinclude.m4.in: added KDE_CREATE_SUBDIRS_LIST to simplify
|
||||
most toplevel configures
|
||||
|
||||
1998-12-11 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: added call to AC_PROG_CXXCPP. Not really sure why
|
||||
it never caused problems
|
||||
|
||||
* acinclude.m4.in: moved LIBTIFF alias
|
||||
|
||||
* acinclude.m4.in: only test for the existance of libkimgio if the
|
||||
user wants to. For 99% of the applications it doesn't matter if
|
||||
configure can find libkimgio :)
|
||||
|
||||
1998-12-10 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: some changes to the python check to handle $LIBDL
|
||||
|
||||
1998-12-09 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: make Alex's tiff test a real one
|
||||
|
||||
* acinclude.m4.in: fix the LIB_TIFF alias to really expand
|
||||
|
||||
1998-12-08 Alex Zepeda <garbanzo@hooked.net>
|
||||
|
||||
* acinclude.m4.in: Fix tiff test to use libtiff34 if it exists.
|
||||
This is what the FreeBSD port installs to for whatever reason.
|
||||
|
||||
* acinclude.m4.in: s/kde/KDE/ (at least in some of the
|
||||
descriptions, obviously no variable names were touched.
|
||||
|
||||
1998-12-08 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: moved the LIB_QT alias to the Qt check
|
||||
|
||||
* acinclude.m4.in: unset KDEDIR before running conftest
|
||||
|
||||
* acinclude.m4.in: fixed mean typo
|
||||
|
||||
* acinclude.m4.in: added the copyright header for the gettext
|
||||
tests, so that people know we're legal ;)
|
||||
|
||||
* acinclude.m4.in: set language to C++ before testing QIMGIO
|
||||
|
||||
1998-12-07 Alex Zepeda <garbanzo@hooked.net>
|
||||
|
||||
* acinclude.m4.in: Fix PNG test to use correct ANSI C code, and
|
||||
not trip up gcc.
|
||||
|
||||
1998-12-07 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: don't hardcode -ldl
|
||||
|
||||
* acinclude.m4.in: move the LIB_X11 alias to the X test to make it
|
||||
useful for kdesupport as well
|
||||
|
||||
* acinclude.m4.in: give the word CHECK_KIMGIO a meaning in really
|
||||
checking for it
|
||||
|
||||
* acinclude.m4.in: simple fix to prevent kimgio test from compiling
|
||||
KDE application in kdelibs
|
||||
|
||||
1998-12-05 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: let KDE_CHECK_KIMGIO depend on AC_PATH_KDE,
|
||||
otherwise most tests fail. It didn't mean anything to 90% of the
|
||||
packages since they test for KDE before kimgio, but for shaman
|
||||
it does
|
||||
|
||||
* ltconfig: the real fix for the Solaris && gcc problem.
|
||||
Thanks Kurt for reporting it and Alexandre for fixing it :)
|
||||
|
||||
1998-12-04 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* libtool.*: update again
|
||||
|
||||
* acinclude.m4.in: changed the function to test for libnsl to
|
||||
inet_ntoa since UnixWare 7's version did not have gethostbyname,
|
||||
but needs libnsl
|
||||
|
||||
1998-12-02 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: fixed the MOC test (again) to use the PATH variable
|
||||
correctly (with the correct seperator)
|
||||
|
||||
* config.guess: update from the soon to be released autoconf-2.13
|
||||
|
||||
1998-12-01 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: fixes for the MOC test. Use PATH now when found
|
||||
|
||||
1998-11-30 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: extended the MOC test. It checks now for the
|
||||
first line of the output of "moc --help" and looks for Qt in it.
|
||||
|
||||
1998-11-27 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* ltconfig: another libtool update. Fixes an ugly bug on Solaris,
|
||||
when GNU ld is in path before Solaris ld, but gcc uses the later
|
||||
|
||||
1998-11-26 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: made the Qt test more advance to check for qt
|
||||
1.41 - I still need to make it better, but there shouldn't be too
|
||||
many qt releases in a row, would there? ;)
|
||||
|
||||
* ltconfig: libtool update with better BSD/OS support
|
||||
|
||||
1998-11-22 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* ltconfig: cool - libtool uses g++ now to link libraries on Solaris.
|
||||
This means, static objects become usuable on that plattforms (some
|
||||
others as well).
|
||||
|
||||
1998-11-20 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* ltmain.sh: updated libtool from their CVS - fixes bugs we haven't
|
||||
found and adds some more features, that we do not need ;-)
|
||||
|
||||
1998-11-19 David Faure <faure@kde.org>
|
||||
|
||||
* acinclude.m4.in: added AC_CHECK_UTMP_FILE, taken from kdebase
|
||||
|
||||
1998-11-16 Harri Porten <porten@kde.org>
|
||||
|
||||
* automoc: take care of "ar" object files, too.
|
||||
|
||||
1998-11-16 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* libtool.m4.in: revised my --silent patch. The solution
|
||||
Alexandre suggested is much better.
|
||||
|
||||
1998-11-15 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* ltconfig.in: done some tweakings to support -export-dynamic
|
||||
with egcs
|
||||
|
||||
* config.sub: wow - BeOS support :)
|
||||
|
||||
1998-11-14 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: don't use rpath for test program, if rpath is
|
||||
disabled for applications
|
||||
|
||||
* ltconfig: patched libtool to make it silent without making
|
||||
ltconfig silent
|
||||
|
||||
* acinclude.m4.in: make libtool silent again
|
||||
|
||||
* libtool.m4.in: update to libtool-981114 (untested stuff, but
|
||||
we have to test it to make it tested - sounds that logical? :-)
|
||||
|
||||
* libtool.m4.in: moved the self stricked libtool tests to "our"
|
||||
file.
|
||||
|
||||
* acinclude.m4.in: moved ChangeLog of kdebase which I used to
|
||||
maintain acinclude.m4.in logs to kde-common/admin. Hopefully I
|
||||
will maintain it more often from now on :)
|
||||
|
||||
1998-07-27 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: fixed some things in the MOC test
|
||||
|
||||
* acinclude.m4.in: fixed this damn msgfmt test
|
||||
|
||||
1998-06-02 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: ignore msgfmt, if not GNU gettext
|
||||
|
||||
1998-05-28 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: fixed KDE_CHECK_STL. Checks for HP and SGI type
|
||||
|
||||
* acinclude.m4.in: embraced every variable with "" to make
|
||||
it consistent
|
||||
|
||||
* acinclude.m4.in: various fixes for the koffice checks
|
||||
(mico, ministl and python)
|
||||
|
||||
1998-05-16 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: don't use KDE_CHECK_QT_DIRECT, when
|
||||
--with-qt-libs are given
|
||||
|
||||
1998-04-21 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: cool, I found the trick to suppress the ls
|
||||
errors
|
||||
|
||||
1998-04-20 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: rewrote the qt checking test, since it
|
||||
didn't work under FreeBSD, since it relied on the .so link.
|
||||
The new version is a little bit buggy, but I need some testing
|
||||
to make it perfect
|
||||
|
||||
* acinclude.m4.in: fixed the side effects of the PAM test
|
||||
|
||||
1998-04-18 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: hopefully fixed the PAM test (I rewrote it)
|
||||
|
||||
1998-04-16 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: extended the getsockname test inspired
|
||||
by a patch by Martin Baulig
|
||||
|
||||
* configure.in: added test for utmp file
|
||||
|
||||
* acinclude.m4.in: made --without-pam default
|
||||
|
||||
|
||||
1998-04-06 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: don't test compiling, linking, running in
|
||||
one step. This proved to be too dangerous for my mail box.
|
||||
|
||||
1998-03-21 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* libtool.m4.in: created some new macros to work around this
|
||||
ugly (because long) help of configure --enable-shared/static
|
||||
|
||||
1998-03-05 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: set language to C++ before trying the ksize_t
|
||||
test
|
||||
|
||||
* configure.in: sorted the Makefile entries alphabeticly (and all
|
||||
together: we love xemacs! we love xemacs! ;)
|
||||
|
||||
* configure.in: added sk
|
||||
|
||||
* acinclude.m4.in: substitute x_libraries to fix the empty -rpath
|
||||
|
||||
1998-03-03 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: add a rpath for every shared library, that is
|
||||
linked too (especially X11 libraries)
|
||||
|
||||
Tue Feb 24 22:04:59 1998 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: added kde_sounddir and set kde_minidir to
|
||||
kde_icondir/mini to break not too much
|
||||
|
||||
Sun Feb 15 18:25:50 1998 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* configure.in: added bugfix by Bob Miller <kbob@engr.sgi.com>
|
||||
(correct reset of IFS)
|
||||
|
||||
Wed Feb 11 00:53:11 1998 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* configure.in: made shadow under Linux default, since the
|
||||
binaries will work also under non-shadow systems. The only problem
|
||||
left is PAM, so I disabled shadow in case, PAM is present
|
||||
|
||||
Tue Feb 10 16:46:32 1998 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* configure.in: added test for nice to find out, if the option
|
||||
-nice works for the screensavers
|
||||
|
||||
* acinclude.m4.in: port to LynxOS. For this I moved all library
|
||||
search routines in KDE_MISC_TESTS, so I don't need to write this
|
||||
in every package
|
||||
|
||||
* README: some grammar fixes
|
||||
|
||||
* acinclude.m4.in: search for the libs in the exec_prefix, when
|
||||
it's present
|
||||
|
||||
Sun Feb 8 14:07:23 1998 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: updated all packages
|
||||
|
||||
* libtool.m4.in: applied patch for libtool.m4.in to show the
|
||||
correct default for shared and static
|
||||
|
||||
|
||||
Sat Feb 7 10:56:00 1998 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* configure.in: good news - KDE is relocatable again.
|
||||
|
||||
* libtool.m4.in: updated to latest libtool 1.0i
|
||||
|
||||
Fri Feb 6 21:26:51 1998 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: added a AC_PROVIDE for AC_PROG_CC and
|
||||
AC_PROG_CPP to KDE_CHECK_COMPILERS
|
||||
|
||||
Thu Feb 5 16:27:47 1998 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: put $QTDIR/bin before /usr/bin in the path to
|
||||
look for moc. I don't know why, but I got a report, that configure
|
||||
found /usr/bin/moc under Solaris
|
||||
|
||||
Fri Jan 30 15:47:50 1998 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: export LIBRARY_PATH after reset to the saved
|
||||
value
|
||||
|
||||
* acinclude.m4.in: unset the LIBRARY_PATH to get a relieable
|
||||
result when trying to find, if Qt compiles without -L
|
||||
|
||||
Sat Jan 24 00:45:52 1998 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: fixed another bug in AC_PATH_KDE
|
||||
|
||||
Thu Jan 22 14:46:15 1998 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* configure.in: fixed an ugly bug in AC_BASE_PATH_KDE
|
||||
|
||||
* kappfinder/kappfinder.in: let kappfinder create by configure to
|
||||
allow the use of the kde_ paths
|
||||
|
||||
Wed Jan 21 22:19:35 1998 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in: - added a install_root prefix to all paths, if
|
||||
set, to enable package managers to move the whole installation at once
|
||||
- added --with-install-root to set the install_root prefix
|
||||
|
||||
Tue Jan 20 22:41:04 1998 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* configure.in: added NOOPT_CXXFLAGS to allow kioslave to be
|
||||
compiled without -O2
|
||||
|
||||
Mon Jan 19 21:55:21 1998 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* configure.in: some little fixes for the Makefiles
|
||||
|
||||
* acinclude.m4.in: --prefix will no longer override the search for
|
||||
libraries. If they are present somewhere, they are used (through
|
||||
the methodes in KApplication)
|
||||
|
||||
Mon Jan 12 00:30:36 1998 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in fixed an ugly bug, that accoured, when
|
||||
qt_libraries is not set (empty/equals X11/not necessary)
|
||||
|
||||
* acinclude.m4.in moved the remove of the files after the error
|
||||
detection
|
||||
|
||||
|
||||
Sun Jan 11 17:27:53 1998 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* acinclude.m4.in added a new macro KDE_CHECK_QT_DIRECT to unset
|
||||
the Qt library path, if a Qt program compiles without them
|
||||
|
||||
* acinclude.m4.in added a return value in the CREATE_KFSSTND
|
||||
macro. Perhaps this has caused the problems
|
||||
|
||||
Sat Jan 10 17:40:44 1998 Stephan Kulow <coolo@kde.org>
|
||||
|
||||
* ChangeLog started to maintain a ChangeLog file again
|
||||
* acinclude.m4.in the AC_CREATE_KFSSTND to get better debug output
|
||||
to find the problem
|
||||
|
||||
|
||||
Old logs, Stephan Kulow made:
|
||||
|
||||
0.1 : first steps with libkde
|
||||
0.2 : first release with libkde, khtmlw, kdehelp, acli, kwm, kpanel
|
||||
0.3 : added kfm and bugfixes
|
||||
0.4 : updated khtmlw, kdehelp, kwm, changed install in all subdirs
|
||||
0.5 : support libtool (chooseable shared libs)
|
||||
0.6 : split libkde in kdecore and kdeui
|
||||
0.6.1 : Bugfixes
|
||||
0.7 : added code from Janos Farkas (configure)
|
||||
: added @{kde,qt}_{includes,libraries}@
|
||||
0.7.1: Bugfixes
|
||||
0.7.2: Bugfixes
|
||||
0.7.3: added @all_includes@ and @all_libraries@
|
||||
replaced all incompatible flags like $(CC) and -DHAVE_UNISTD_H
|
||||
0.7.4: changed support for libkde (back in it's own)
|
||||
added kpat
|
||||
updated kpanel, kwm, kghostview
|
||||
0.8: removed a bug in kghostview
|
||||
lifted installation process of several apps
|
||||
splitt kdebase into kdelibs and kdeapps
|
||||
updated khtmlw, kfm and kdehelp
|
||||
added kcalc and kpaint
|
||||
updated kdisplay
|
||||
added kscreensaver
|
||||
added --enable-kscreensaver
|
||||
added --enable-debug (and @CXXFLAGS@ to all Makefile.ins)
|
||||
updated kwm to 0.4.7
|
||||
added make uninstall to every app
|
||||
added kvt
|
||||
added khexdit
|
||||
added .kdelnk for kmines, kedit, ktetris
|
||||
put kwm, kfind's .kdelnk in the right directories
|
||||
replaced --enable-kscreensaver by --disable-kscreensaver
|
||||
updated kpanel to 0.15
|
||||
some bugfixes (thanks Marco)
|
||||
some bugfixes (thanks Martin)
|
||||
changed acinclude.m4, because aclocal won't
|
||||
updated kwm to 0.4.8 (patched it again for Qt-1.2)
|
||||
updated kvt to 0.13 (patch from Matthias)
|
||||
patched kvt and kwm
|
||||
updated kwm to 0.5.0
|
||||
updated kvt for 0.14 (again and again :-)
|
||||
updated kview to 0.10
|
||||
updated kfm to 0.6.3
|
||||
patched kscreensaver for FreeBSD (thanks Marc)
|
||||
0.9: updated kdisplay to 0.5.3
|
||||
added klogout
|
||||
patches from Matthias
|
||||
updated kfm to 0.6.4
|
||||
updated kghostview to 0.4
|
||||
added QTINC and QTLIB
|
||||
updated kdehelp to 0.4.11
|
||||
patched kfm to support ktoolbar
|
||||
updated kedit to kedit+
|
||||
added kfontmanager 0.2.1
|
||||
0.9.1: changed kpaint's make style
|
||||
bugfixing
|
||||
updated kmines to 0.6.5
|
||||
updated ktetris to 0.2.4
|
||||
changed to Makefiles to depend on Makefile.in
|
||||
changed the Makefiles to let install depend on all
|
||||
added kjots-0.2.2
|
||||
updated kjots-0.2.3
|
||||
updated kfm to 0.6.6
|
||||
updated kjots-0.2.4
|
||||
updated kpaint-0.2
|
||||
updated kedit to 0.5
|
||||
updated kfontmanager to 0.2.2
|
||||
updated kfm to 0.6.7
|
||||
updated ktetris to 0.2.5
|
||||
updated kjots to 0.2.5
|
||||
0.10: added HAVE_SQRTL
|
||||
added HAVE_CRYPT_H
|
||||
updated kfind
|
||||
updated kfm to kfm-0.8.1
|
||||
re-introduced automake to kdebase
|
||||
bugfixes for the configure.in
|
||||
added XPM, GL and PAM tests to configure
|
||||
added morph3d to kscreensavers
|
||||
updated kfind to 0.3.2
|
||||
added some patches for SGI
|
||||
... lost the time to maintain a Changelog ;)
|
||||
@@ -1,161 +0,0 @@
|
||||
## generate API documentation with doxygen
|
||||
apidox-am-yes:
|
||||
@if test "$(subdir)" != "."; then \
|
||||
$(mkinstalldirs) $(top_builddir)/apidocs/$(subdir) ;\
|
||||
if test ! -x $(top_builddir)/apidocs/common; then \
|
||||
if test -d $(top_srcdir)/doc/common; then \
|
||||
common_dir=`cd $(top_srcdir)/doc/common && pwd` ;\
|
||||
else \
|
||||
common_dir=$(kde_libs_htmldir)/en/common ;\
|
||||
fi ;\
|
||||
$(LN_S) $$common_dir $(top_builddir)/apidocs/common; \
|
||||
fi ;\
|
||||
cp $(top_srcdir)/admin/Doxyfile.global Doxyfile; \
|
||||
echo "PROJECT_NAME = \"$(subdir) Library\"" >> Doxyfile; \
|
||||
echo "INPUT = $(srcdir)" >> Doxyfile; \
|
||||
echo "IMAGE_PATH = $(top_srcdir)/doc/api" >> Doxyfile ;\
|
||||
echo "OUTPUT_DIRECTORY = $(top_builddir)/apidocs" >> Doxyfile; \
|
||||
echo "HTML_OUTPUT = $(subdir)/html" >> Doxyfile; \
|
||||
echo "LATEX_OUTPUT = $(subdir)/latex" >> Doxyfile; \
|
||||
echo "RTF_OUTPUT = $(subdir)/rtf" >> Doxyfile; \
|
||||
echo "MAN_OUTPUT = $(subdir)/man" >> Doxyfile; \
|
||||
echo "GENERATE_HTML = $(GENERATE_FLAG)" >> Doxyfile ;\
|
||||
echo "GENERATE_MAN = $(GENERATE_FLAG)" >> Doxyfile ;\
|
||||
echo "GENERATE_LATEX = $(GENERATE_FLAG)" >> Doxyfile ;\
|
||||
if test -n "$(DOXYGEN_EXCLUDE)"; then \
|
||||
echo "EXCLUDE_PATTERNS += $(DOXYGEN_EXCLUDE)" >> Doxyfile; \
|
||||
fi ;\
|
||||
echo "TAGFILES = \\" >> Doxyfile; \
|
||||
tags='$(DOXYGEN_REFERENCES) qt'; for tag in $$tags; do \
|
||||
tagpath= ;\
|
||||
path="../../$$tag" ;\
|
||||
if test -f $(top_builddir)/apidocs/$$tag/$$tag.tag; then \
|
||||
tagpath="$(top_builddir)/apidocs/$$tag/$$tag.tag" ;\
|
||||
else \
|
||||
tagpath=`ls -1 $(kde_htmldir)/en/*-apidocs/$$tag/$$tag.tag 2> /dev/null` ;\
|
||||
if test -n "$$tagpath"; then \
|
||||
path=`echo $$tagpath | sed -e "s,.*/\([^/]*-apidocs\)/$$tag/$$tag.tag,../../../\1/$$tag,"` ;\
|
||||
fi ;\
|
||||
fi ;\
|
||||
if test "$$tag" = qt; then \
|
||||
echo $$tagpath=$(QTDOCDIR) >> Doxyfile ;\
|
||||
else if test -n "$$tagpath"; then \
|
||||
echo "$$tagpath=$$path/html \\" >> Doxyfile ;\
|
||||
fi ;\
|
||||
fi ;\
|
||||
done ;\
|
||||
echo "GENERATE_TAGFILE = $(top_builddir)/apidocs/$(subdir)/$(subdir).tag" >> Doxyfile ;\
|
||||
echo "IGNORE_PREFIX = K" >> Doxyfile ;\
|
||||
echo "HAVE_DOT = $(KDE_HAVE_DOT)" >> Doxyfile ;\
|
||||
$(DOXYGEN) Doxyfile ;\
|
||||
fi
|
||||
|
||||
apidox-am-no:
|
||||
|
||||
install-data-local: install-apidox
|
||||
|
||||
## install API documentation
|
||||
install-apidox:
|
||||
echo "$(subdir)"
|
||||
@if test "$(subdir)" != "."; then \
|
||||
$(mkinstalldirs) $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/$(subdir)/html ; \
|
||||
if test -f $(top_builddir)/apidocs/$(subdir)/$(subdir).tag; then \
|
||||
echo $(INSTALL_DATA) $(top_builddir)/apidocs/$(subdir)/$(subdir).tag $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/$(subdir); \
|
||||
$(INSTALL_DATA) $(top_builddir)/apidocs/$(subdir)/$(subdir).tag $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/$(subdir); \
|
||||
fi; \
|
||||
if test -d $(top_builddir)/apidocs/$(subdir)/html; then \
|
||||
list=`ls $(top_builddir)/apidocs/$(subdir)/html`; \
|
||||
for file in $$list; do \
|
||||
echo $(INSTALL_DATA) $(top_builddir)/apidocs/$(subdir)/html/$$file $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/$(subdir)/html; \
|
||||
$(INSTALL_DATA) $(top_builddir)/apidocs/$(subdir)/html/$$file $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/$(subdir)/html; \
|
||||
done; \
|
||||
fi; \
|
||||
rm -f $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/common; \
|
||||
$(LN_S) $(kde_libs_htmldir)/en/common $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/common; \
|
||||
else\
|
||||
$(mkinstalldirs) $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs ;\
|
||||
list=`cd $(top_builddir)/apidocs && ls -1`; \
|
||||
for file in $$list; do \
|
||||
if test -f $(top_builddir)/apidocs/$$file; then \
|
||||
echo $(INSTALL_DATA) $(top_builddir)/apidocs/$$file $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs; \
|
||||
$(INSTALL_DATA) $(top_builddir)/apidocs/$$file $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs; \
|
||||
fi; \
|
||||
done ;\
|
||||
fi
|
||||
|
||||
uninstall-local: uninstall-apidox
|
||||
|
||||
## uninstall API documentation
|
||||
uninstall-apidox:
|
||||
@if test "$(subdir)" != "."; then \
|
||||
if test -d $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/$(subdir); then \
|
||||
rm -rfv $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/$(subdir); \
|
||||
fi\
|
||||
else\
|
||||
if test -d $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs; then \
|
||||
rm -rfv $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs; \
|
||||
fi\
|
||||
fi
|
||||
|
||||
apidox:
|
||||
@if test "$(subdir)" != "."; then \
|
||||
$(MAKE) apidox-am-@KDE_HAS_DOXYGEN@ ;\
|
||||
else \
|
||||
$(MAKE) apidox-am-toplevel-@KDE_HAS_DOXYGEN@ ;\
|
||||
fi
|
||||
@set fnord $(MAKEFLAGS); amf=$$2; if test -n '$(SUBDIRS)'; then \
|
||||
list='$(SUBDIRS)'; \
|
||||
for subdir in $$list; do \
|
||||
if grep '^include .*Doxyfile.am' $(srcdir)/$$subdir/Makefile.am; then \
|
||||
echo "Making apidox in $$subdir"; \
|
||||
if test "$$subdir" != "."; then \
|
||||
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) GENERATE_FLAG=no apidox) || exit 1; \
|
||||
fi ; fi ;\
|
||||
done; \
|
||||
for subdir in $$list; do \
|
||||
if grep '^include .*Doxyfile.am' $(srcdir)/$$subdir/Makefile.am; then \
|
||||
echo "Making apidox in $$subdir"; \
|
||||
if test "$$subdir" != "."; then \
|
||||
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) GENERATE_FLAG=yes apidox) || exit 1; \
|
||||
fi ; fi ;\
|
||||
done; \
|
||||
fi
|
||||
|
||||
apidox-am-toplevel-yes:
|
||||
@echo "*** Creating API documentation main page"; \
|
||||
cp $(top_srcdir)/admin/Doxyfile.global Doxyfile; \
|
||||
echo "PROJECT_NAME = $(DOXYGEN_PROJECT_NAME)" >> Doxyfile ; \
|
||||
echo "PROJECT_NUMBER = $(DOXYGEN_PROJECT_NUMBER)" >> Doxyfile ; \
|
||||
echo "INPUT = $(top_srcdir)" >> Doxyfile ; \
|
||||
echo "OUTPUT_DIRECTORY = $(top_builddir)/apidocs" >> Doxyfile ; \
|
||||
echo "FILE_PATTERNS = *.dox" >> Doxyfile ; \
|
||||
echo "RECURSIVE = NO" >> Doxyfile ; \
|
||||
echo "SOURCE_BROWSER = NO" >> Doxyfile ; \
|
||||
echo "ALPHABETICAL_INDEX = NO" >> Doxyfile ; \
|
||||
echo "HTML_OUTPUT = ." >> Doxyfile ; \
|
||||
echo "HTML_HEADER = apidocs/common/mainheader.html" >> Doxyfile ; \
|
||||
echo "HTML_FOOTER = apidocs/common/mainfooter.html" >> Doxyfile ; \
|
||||
echo "HTML_STYLESHEET = apidocs/common/doxygen.css" >> Doxyfile ; \
|
||||
echo "GENERATE_LATEX = NO" >> Doxyfile ; \
|
||||
echo "GENERATE_RTF = NO" >> Doxyfile ; \
|
||||
echo "GENERATE_MAN = NO" >> Doxyfile ; \
|
||||
echo "GENERATE_XML = NO" >> Doxyfile ; \
|
||||
echo "GENERATE_AUTOGEN_DEF = NO" >> Doxyfile ; \
|
||||
echo "ENABLE_PREPROCESSING = NO" >> Doxyfile ; \
|
||||
echo "CLASS_DIAGRAMS = NO" >> Doxyfile ; \
|
||||
echo "HAVE_DOT = NO" >> Doxyfile ; \
|
||||
echo "GENERATE_HTML = YES" >> Doxyfile ;\
|
||||
$(mkinstalldirs) $(top_builddir)/apidocs ; \
|
||||
rm -f $(top_builddir)/apidocs/common ; \
|
||||
if test -d $(top_srcdir)/doc/common; then \
|
||||
common_dir=`cd $(top_srcdir)/doc/common && pwd` ;\
|
||||
else \
|
||||
common_dir=$(kde_libs_htmldir)/en/common ;\
|
||||
fi ;\
|
||||
$(LN_S) $$common_dir $(top_builddir)/apidocs/common ;\
|
||||
doxygen Doxyfile; \
|
||||
rm -f Doxyfile
|
||||
|
||||
# Local Variables:
|
||||
# mode: makefile
|
||||
# End:
|
||||
@@ -1,950 +0,0 @@
|
||||
# Doxyfile 1.2.15
|
||||
|
||||
# This file describes the settings to be used by the documentation system
|
||||
# doxygen (www.doxygen.org) for a project
|
||||
#
|
||||
# All text after a hash (#) is considered a comment and will be ignored
|
||||
# The format is:
|
||||
# TAG = value [value, ...]
|
||||
# For lists items can also be appended using:
|
||||
# TAG += value [value, ...]
|
||||
# Values that contain spaces should be placed between quotes (" ")
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
# General configuration options
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
# The PROJECT_NAME tag is a single word (or a sequence of words surrounded
|
||||
# by quotes) that should identify the project.
|
||||
|
||||
PROJECT_NAME =
|
||||
|
||||
# The PROJECT_NUMBER tag can be used to enter a project or revision number.
|
||||
# This could be handy for archiving the generated documentation or
|
||||
# if some version control system is used.
|
||||
|
||||
PROJECT_NUMBER = "Version 3.0"
|
||||
|
||||
# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
|
||||
# base path where the generated documentation will be put.
|
||||
# If a relative path is entered, it will be relative to the location
|
||||
# where doxygen was started. If left blank the current directory will be used.
|
||||
|
||||
OUTPUT_DIRECTORY = ../apidocs/
|
||||
|
||||
# The OUTPUT_LANGUAGE tag is used to specify the language in which all
|
||||
# documentation generated by doxygen is written. Doxygen will use this
|
||||
# information to generate all constant output in the proper language.
|
||||
# The default language is English, other supported languages are:
|
||||
# Brazilian, Chinese, Croatian, Czech, Danish, Dutch, Finnish, French,
|
||||
# German, Greek, Hungarian, Italian, Japanese, Korean, Norwegian, Polish,
|
||||
# Portuguese, Romanian, Russian, Slovak, Slovene, Spanish and Swedish.
|
||||
|
||||
OUTPUT_LANGUAGE = English
|
||||
|
||||
# If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in
|
||||
# documentation are documented, even if no documentation was available.
|
||||
# Private class members and static file members will be hidden unless
|
||||
# the EXTRACT_PRIVATE and EXTRACT_STATIC tags are set to YES
|
||||
|
||||
EXTRACT_ALL = NO
|
||||
|
||||
# If the EXTRACT_PRIVATE tag is set to YES all private members of a class
|
||||
# will be included in the documentation.
|
||||
|
||||
EXTRACT_PRIVATE = NO
|
||||
|
||||
# If the EXTRACT_STATIC tag is set to YES all static members of a file
|
||||
# will be included in the documentation.
|
||||
|
||||
EXTRACT_STATIC = YES
|
||||
|
||||
# If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs)
|
||||
# defined locally in source files will be included in the documentation.
|
||||
# If set to NO only classes defined in header files are included.
|
||||
|
||||
EXTRACT_LOCAL_CLASSES = NO
|
||||
|
||||
# If the HIDE_UNDOC_MEMBERS tag is set to YES, Doxygen will hide all
|
||||
# undocumented members of documented classes, files or namespaces.
|
||||
# If set to NO (the default) these members will be included in the
|
||||
# various overviews, but no documentation section is generated.
|
||||
# This option has no effect if EXTRACT_ALL is enabled.
|
||||
|
||||
HIDE_UNDOC_MEMBERS = NO
|
||||
|
||||
# If the HIDE_UNDOC_CLASSES tag is set to YES, Doxygen will hide all
|
||||
# undocumented classes that are normally visible in the class hierarchy.
|
||||
# If set to NO (the default) these class will be included in the various
|
||||
# overviews. This option has no effect if EXTRACT_ALL is enabled.
|
||||
|
||||
HIDE_UNDOC_CLASSES = YES
|
||||
|
||||
# If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will
|
||||
# include brief member descriptions after the members that are listed in
|
||||
# the file and class documentation (similar to JavaDoc).
|
||||
# Set to NO to disable this.
|
||||
|
||||
BRIEF_MEMBER_DESC = YES
|
||||
|
||||
# If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend
|
||||
# the brief description of a member or function before the detailed description.
|
||||
# Note: if both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the
|
||||
# brief descriptions will be completely suppressed.
|
||||
|
||||
REPEAT_BRIEF = YES
|
||||
|
||||
# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then
|
||||
# Doxygen will generate a detailed section even if there is only a brief
|
||||
# description.
|
||||
|
||||
ALWAYS_DETAILED_SEC = YES
|
||||
|
||||
# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all inherited
|
||||
# members of a class in the documentation of that class as if those members were
|
||||
# ordinary class members. Constructors, destructors and assignment operators of
|
||||
# the base classes will not be shown.
|
||||
|
||||
INLINE_INHERITED_MEMB = NO
|
||||
|
||||
# If the FULL_PATH_NAMES tag is set to YES then Doxygen will prepend the full
|
||||
# path before files name in the file list and in the header files. If set
|
||||
# to NO the shortest path that makes the file name unique will be used.
|
||||
|
||||
FULL_PATH_NAMES = NO
|
||||
|
||||
# If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag
|
||||
# can be used to strip a user defined part of the path. Stripping is
|
||||
# only done if one of the specified strings matches the left-hand part of
|
||||
# the path. It is allowed to use relative paths in the argument list.
|
||||
|
||||
STRIP_FROM_PATH =
|
||||
|
||||
# The INTERNAL_DOCS tag determines if documentation
|
||||
# that is typed after a \internal command is included. If the tag is set
|
||||
# to NO (the default) then the documentation will be excluded.
|
||||
# Set it to YES to include the internal documentation.
|
||||
|
||||
INTERNAL_DOCS = NO
|
||||
|
||||
# Setting the STRIP_CODE_COMMENTS tag to YES (the default) will instruct
|
||||
# doxygen to hide any special comment blocks from generated source code
|
||||
# fragments. Normal C and C++ comments will always remain visible.
|
||||
|
||||
STRIP_CODE_COMMENTS = YES
|
||||
|
||||
# If the CASE_SENSE_NAMES tag is set to NO then Doxygen will only generate
|
||||
# file names in lower case letters. If set to YES upper case letters are also
|
||||
# allowed. This is useful if you have classes or files whose names only differ
|
||||
# in case and if your file system supports case sensitive file names. Windows
|
||||
# users are adviced to set this option to NO.
|
||||
|
||||
CASE_SENSE_NAMES = YES
|
||||
|
||||
# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter
|
||||
# (but less readable) file names. This can be useful is your file systems
|
||||
# doesn't support long names like on DOS, Mac, or CD-ROM.
|
||||
|
||||
SHORT_NAMES = NO
|
||||
|
||||
# If the HIDE_SCOPE_NAMES tag is set to NO (the default) then Doxygen
|
||||
# will show members with their full class and namespace scopes in the
|
||||
# documentation. If set to YES the scope will be hidden.
|
||||
|
||||
HIDE_SCOPE_NAMES = NO
|
||||
|
||||
# If the VERBATIM_HEADERS tag is set to YES (the default) then Doxygen
|
||||
# will generate a verbatim copy of the header file for each class for
|
||||
# which an include is specified. Set to NO to disable this.
|
||||
|
||||
VERBATIM_HEADERS = YES
|
||||
|
||||
# If the SHOW_INCLUDE_FILES tag is set to YES (the default) then Doxygen
|
||||
# will put list of the files that are included by a file in the documentation
|
||||
# of that file.
|
||||
|
||||
SHOW_INCLUDE_FILES = YES
|
||||
|
||||
# If the JAVADOC_AUTOBRIEF tag is set to YES then Doxygen
|
||||
# will interpret the first line (until the first dot) of a JavaDoc-style
|
||||
# comment as the brief description. If set to NO, the JavaDoc
|
||||
# comments will behave just like the Qt-style comments (thus requiring an
|
||||
# explict @brief command for a brief description.
|
||||
|
||||
JAVADOC_AUTOBRIEF = YES
|
||||
|
||||
# If the INHERIT_DOCS tag is set to YES (the default) then an undocumented
|
||||
# member inherits the documentation from any documented member that it
|
||||
# reimplements.
|
||||
|
||||
INHERIT_DOCS = YES
|
||||
|
||||
# If the INLINE_INFO tag is set to YES (the default) then a tag [inline]
|
||||
# is inserted in the documentation for inline members.
|
||||
|
||||
INLINE_INFO = YES
|
||||
|
||||
# If the SORT_MEMBER_DOCS tag is set to YES (the default) then doxygen
|
||||
# will sort the (detailed) documentation of file and class members
|
||||
# alphabetically by member name. If set to NO the members will appear in
|
||||
# declaration order.
|
||||
|
||||
SORT_MEMBER_DOCS = NO
|
||||
|
||||
# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC
|
||||
# tag is set to YES, then doxygen will reuse the documentation of the first
|
||||
# member in the group (if any) for the other members of the group. By default
|
||||
# all members of a group must be documented explicitly.
|
||||
|
||||
DISTRIBUTE_GROUP_DOC = NO
|
||||
|
||||
# The TAB_SIZE tag can be used to set the number of spaces in a tab.
|
||||
# Doxygen uses this value to replace tabs by spaces in code fragments.
|
||||
|
||||
TAB_SIZE = 4
|
||||
|
||||
# The GENERATE_TODOLIST tag can be used to enable (YES) or
|
||||
# disable (NO) the todo list. This list is created by putting \todo
|
||||
# commands in the documentation.
|
||||
|
||||
GENERATE_TODOLIST = NO
|
||||
|
||||
# The GENERATE_TESTLIST tag can be used to enable (YES) or
|
||||
# disable (NO) the test list. This list is created by putting \test
|
||||
# commands in the documentation.
|
||||
|
||||
GENERATE_TESTLIST = NO
|
||||
|
||||
# The GENERATE_BUGLIST tag can be used to enable (YES) or
|
||||
# disable (NO) the bug list. This list is created by putting \bug
|
||||
# commands in the documentation.
|
||||
|
||||
GENERATE_BUGLIST = YES
|
||||
|
||||
# This tag can be used to specify a number of aliases that acts
|
||||
# as commands in the documentation. An alias has the form "name=value".
|
||||
# For example adding "sideeffect=\par Side Effects:\n" will allow you to
|
||||
# put the command \sideeffect (or @sideeffect) in the documentation, which
|
||||
# will result in a user defined paragraph with heading "Side Effects:".
|
||||
# You can put \n's in the value part of an alias to insert newlines.
|
||||
|
||||
ALIASES = libdoc=@mainpage \
|
||||
sect=<p><b> \
|
||||
reimplemented= \
|
||||
"deprecated=<b>This class or method is obsolete, it is provided for compatibility only.</b>" \
|
||||
obsolete=@deprecated
|
||||
|
||||
# The ENABLED_SECTIONS tag can be used to enable conditional
|
||||
# documentation sections, marked by \if sectionname ... \endif.
|
||||
|
||||
ENABLED_SECTIONS =
|
||||
|
||||
# The MAX_INITIALIZER_LINES tag determines the maximum number of lines
|
||||
# the initial value of a variable or define consist of for it to appear in
|
||||
# the documentation. If the initializer consists of more lines than specified
|
||||
# here it will be hidden. Use a value of 0 to hide initializers completely.
|
||||
# The appearance of the initializer of individual variables and defines in the
|
||||
# documentation can be controlled using \showinitializer or \hideinitializer
|
||||
# command in the documentation regardless of this setting.
|
||||
|
||||
MAX_INITIALIZER_LINES = 30
|
||||
|
||||
# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C sources
|
||||
# only. Doxygen will then generate output that is more tailored for C.
|
||||
# For instance some of the names that are used will be different. The list
|
||||
# of all members will be omitted, etc.
|
||||
|
||||
OPTIMIZE_OUTPUT_FOR_C = NO
|
||||
|
||||
# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java sources
|
||||
# only. Doxygen will then generate output that is more tailored for Java.
|
||||
# For instance namespaces will be presented as packages, qualified scopes
|
||||
# will look different, etc.
|
||||
|
||||
OPTIMIZE_OUTPUT_JAVA = NO
|
||||
|
||||
# Set the SHOW_USED_FILES tag to NO to disable the list of files generated
|
||||
# at the bottom of the documentation of classes and structs. If set to YES the
|
||||
# list will mention the files that were used to generate the documentation.
|
||||
|
||||
SHOW_USED_FILES = YES
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options related to warning and progress messages
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
# The QUIET tag can be used to turn on/off the messages that are generated
|
||||
# by doxygen. Possible values are YES and NO. If left blank NO is used.
|
||||
|
||||
QUIET = YES
|
||||
|
||||
# The WARNINGS tag can be used to turn on/off the warning messages that are
|
||||
# generated by doxygen. Possible values are YES and NO. If left blank
|
||||
# NO is used.
|
||||
|
||||
WARNINGS = YES
|
||||
|
||||
# If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings
|
||||
# for undocumented members. If EXTRACT_ALL is set to YES then this flag will
|
||||
# automatically be disabled.
|
||||
|
||||
WARN_IF_UNDOCUMENTED = NO
|
||||
|
||||
# The WARN_FORMAT tag determines the format of the warning messages that
|
||||
# doxygen can produce. The string should contain the $file, $line, and $text
|
||||
# tags, which will be replaced by the file and line number from which the
|
||||
# warning originated and the warning text.
|
||||
|
||||
WARN_FORMAT =
|
||||
|
||||
# The WARN_LOGFILE tag can be used to specify a file to which warning
|
||||
# and error messages should be written. If left blank the output is written
|
||||
# to stderr.
|
||||
|
||||
WARN_LOGFILE =
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options related to the input files
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
# The INPUT tag can be used to specify the files and/or directories that contain
|
||||
# documented source files. You may enter file names like "myfile.cpp" or
|
||||
# directories like "/usr/src/myproject". Separate the files or directories
|
||||
# with spaces.
|
||||
|
||||
INPUT =
|
||||
|
||||
# If the value of the INPUT tag contains directories, you can use the
|
||||
# FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp
|
||||
# and *.h) to filter out the source-files in the directories. If left
|
||||
# blank the following patterns are tested:
|
||||
# *.c *.cc *.cxx *.cpp *.c++ *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh *.hxx *.hpp
|
||||
# *.h++ *.idl *.odl
|
||||
|
||||
FILE_PATTERNS = *.h \
|
||||
*.cpp \
|
||||
*.cc \
|
||||
*.hpp
|
||||
|
||||
# The RECURSIVE tag can be used to turn specify whether or not subdirectories
|
||||
# should be searched for input files as well. Possible values are YES and NO.
|
||||
# If left blank NO is used.
|
||||
|
||||
RECURSIVE = YES
|
||||
|
||||
# The EXCLUDE tag can be used to specify files and/or directories that should
|
||||
# excluded from the INPUT source files. This way you can easily exclude a
|
||||
# subdirectory from a directory tree whose root is specified with the INPUT tag.
|
||||
|
||||
EXCLUDE =
|
||||
|
||||
# The EXCLUDE_SYMLINKS tag can be used select whether or not files or directories
|
||||
# that are symbolic links (a Unix filesystem feature) are excluded from the input.
|
||||
|
||||
EXCLUDE_SYMLINKS = NO
|
||||
|
||||
# If the value of the INPUT tag contains directories, you can use the
|
||||
# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude
|
||||
# certain files from those directories.
|
||||
|
||||
EXCLUDE_PATTERNS = *.moc.* \
|
||||
moc* \
|
||||
*.all_cpp.* \
|
||||
*unload.* \
|
||||
*/test/* \
|
||||
*/tests/*
|
||||
|
||||
# The EXAMPLE_PATH tag can be used to specify one or more files or
|
||||
# directories that contain example code fragments that are included (see
|
||||
# the \include command).
|
||||
|
||||
EXAMPLE_PATH =
|
||||
|
||||
# If the value of the EXAMPLE_PATH tag contains directories, you can use the
|
||||
# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp
|
||||
# and *.h) to filter out the source-files in the directories. If left
|
||||
# blank all files are included.
|
||||
|
||||
EXAMPLE_PATTERNS =
|
||||
|
||||
# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be
|
||||
# searched for input files to be used with the \include or \dontinclude
|
||||
# commands irrespective of the value of the RECURSIVE tag.
|
||||
# Possible values are YES and NO. If left blank NO is used.
|
||||
|
||||
EXAMPLE_RECURSIVE = NO
|
||||
|
||||
# The IMAGE_PATH tag can be used to specify one or more files or
|
||||
# directories that contain image that are included in the documentation (see
|
||||
# the \image command).
|
||||
|
||||
IMAGE_PATH =
|
||||
|
||||
# The INPUT_FILTER tag can be used to specify a program that doxygen should
|
||||
# invoke to filter for each input file. Doxygen will invoke the filter program
|
||||
# by executing (via popen()) the command <filter> <input-file>, where <filter>
|
||||
# is the value of the INPUT_FILTER tag, and <input-file> is the name of an
|
||||
# input file. Doxygen will then use the output that the filter program writes
|
||||
# to standard output.
|
||||
|
||||
INPUT_FILTER =
|
||||
|
||||
# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using
|
||||
# INPUT_FILTER) will be used to filter the input files when producing source
|
||||
# files to browse.
|
||||
|
||||
FILTER_SOURCE_FILES = NO
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options related to source browsing
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
# If the SOURCE_BROWSER tag is set to YES then a list of source files will
|
||||
# be generated. Documented entities will be cross-referenced with these sources.
|
||||
|
||||
SOURCE_BROWSER = YES
|
||||
|
||||
# Setting the INLINE_SOURCES tag to YES will include the body
|
||||
# of functions and classes directly in the documentation.
|
||||
|
||||
INLINE_SOURCES = NO
|
||||
|
||||
# If the REFERENCED_BY_RELATION tag is set to YES (the default)
|
||||
# then for each documented function all documented
|
||||
# functions referencing it will be listed.
|
||||
|
||||
REFERENCED_BY_RELATION = YES
|
||||
|
||||
# If the REFERENCES_RELATION tag is set to YES (the default)
|
||||
# then for each documented function all documented entities
|
||||
# called/used by that function will be listed.
|
||||
|
||||
REFERENCES_RELATION = YES
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options related to the alphabetical class index
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index
|
||||
# of all compounds will be generated. Enable this if the project
|
||||
# contains a lot of classes, structs, unions or interfaces.
|
||||
|
||||
ALPHABETICAL_INDEX = YES
|
||||
|
||||
# If the alphabetical index is enabled (see ALPHABETICAL_INDEX) then
|
||||
# the COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns
|
||||
# in which this list will be split (can be a number in the range [1..20])
|
||||
|
||||
COLS_IN_ALPHA_INDEX = 3
|
||||
|
||||
# In case all classes in a project start with a common prefix, all
|
||||
# classes will be put under the same header in the alphabetical index.
|
||||
# The IGNORE_PREFIX tag can be used to specify one or more prefixes that
|
||||
# should be ignored while generating the index headers.
|
||||
|
||||
IGNORE_PREFIX = K
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options related to the HTML output
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
# If the GENERATE_HTML tag is set to YES (the default) Doxygen will
|
||||
# generate HTML output.
|
||||
|
||||
GENERATE_HTML = NO
|
||||
|
||||
# The HTML_OUTPUT tag is used to specify where the HTML docs will be put.
|
||||
# If a relative path is entered the value of OUTPUT_DIRECTORY will be
|
||||
# put in front of it. If left blank `html' will be used as the default path.
|
||||
|
||||
HTML_OUTPUT =
|
||||
|
||||
# The HTML_FILE_EXTENSION tag can be used to specify the file extension for
|
||||
# each generated HTML page (for example: .htm,.php,.asp). If it is left blank
|
||||
# doxygen will generate files with .html extension.
|
||||
|
||||
HTML_FILE_EXTENSION = .html
|
||||
|
||||
# The HTML_HEADER tag can be used to specify a personal HTML header for
|
||||
# each generated HTML page. If it is left blank doxygen will generate a
|
||||
# standard header.
|
||||
|
||||
HTML_HEADER = ../apidocs/common/header.html
|
||||
|
||||
# The HTML_FOOTER tag can be used to specify a personal HTML footer for
|
||||
# each generated HTML page. If it is left blank doxygen will generate a
|
||||
# standard footer.
|
||||
|
||||
HTML_FOOTER = ../apidocs/common/footer.html
|
||||
|
||||
# The HTML_STYLESHEET tag can be used to specify a user defined cascading
|
||||
# style sheet that is used by each HTML page. It can be used to
|
||||
# fine-tune the look of the HTML output. If the tag is left blank doxygen
|
||||
# will generate a default style sheet
|
||||
|
||||
HTML_STYLESHEET = ../apidocs/common/doxygen.css
|
||||
|
||||
# If the HTML_ALIGN_MEMBERS tag is set to YES, the members of classes,
|
||||
# files or namespaces will be aligned in HTML using tables. If set to
|
||||
# NO a bullet list will be used.
|
||||
|
||||
HTML_ALIGN_MEMBERS = YES
|
||||
|
||||
# If the GENERATE_HTMLHELP tag is set to YES, additional index files
|
||||
# will be generated that can be used as input for tools like the
|
||||
# Microsoft HTML help workshop to generate a compressed HTML help file (.chm)
|
||||
# of the generated HTML documentation.
|
||||
|
||||
GENERATE_HTMLHELP = NO
|
||||
|
||||
# If the GENERATE_HTMLHELP tag is set to YES, the GENERATE_CHI flag
|
||||
# controls if a separate .chi index file is generated (YES) or that
|
||||
# it should be included in the master .chm file (NO).
|
||||
|
||||
GENERATE_CHI = NO
|
||||
|
||||
# If the GENERATE_HTMLHELP tag is set to YES, the BINARY_TOC flag
|
||||
# controls whether a binary table of contents is generated (YES) or a
|
||||
# normal table of contents (NO) in the .chm file.
|
||||
|
||||
BINARY_TOC = NO
|
||||
|
||||
# The TOC_EXPAND flag can be set to YES to add extra items for group members
|
||||
# to the contents of the Html help documentation and to the tree view.
|
||||
|
||||
TOC_EXPAND = NO
|
||||
|
||||
# The DISABLE_INDEX tag can be used to turn on/off the condensed index at
|
||||
# top of each HTML page. The value NO (the default) enables the index and
|
||||
# the value YES disables it.
|
||||
|
||||
DISABLE_INDEX = YES
|
||||
|
||||
# This tag can be used to set the number of enum values (range [1..20])
|
||||
# that doxygen will group on one line in the generated HTML documentation.
|
||||
|
||||
ENUM_VALUES_PER_LINE = 4
|
||||
|
||||
# If the GENERATE_TREEVIEW tag is set to YES, a side panel will be
|
||||
# generated containing a tree-like index structure (just like the one that
|
||||
# is generated for HTML Help). For this to work a browser that supports
|
||||
# JavaScript and frames is required (for instance Mozilla, Netscape 4.0+,
|
||||
# or Internet explorer 4.0+). Note that for large projects the tree generation
|
||||
# can take a very long time. In such cases it is better to disable this feature.
|
||||
# Windows users are probably better off using the HTML help feature.
|
||||
|
||||
GENERATE_TREEVIEW = NO
|
||||
|
||||
# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be
|
||||
# used to set the initial width (in pixels) of the frame in which the tree
|
||||
# is shown.
|
||||
|
||||
TREEVIEW_WIDTH = 250
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options related to the LaTeX output
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
# If the GENERATE_LATEX tag is set to YES (the default) Doxygen will
|
||||
# generate Latex output.
|
||||
|
||||
GENERATE_LATEX = NO
|
||||
|
||||
# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put.
|
||||
# If a relative path is entered the value of OUTPUT_DIRECTORY will be
|
||||
# put in front of it. If left blank `latex' will be used as the default path.
|
||||
|
||||
LATEX_OUTPUT =
|
||||
|
||||
# The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be invoked. If left blank `latex' will be used as the default command name.
|
||||
|
||||
LATEX_CMD_NAME = latex
|
||||
|
||||
# The MAKEINDEX_CMD_NAME tag can be used to specify the command name to
|
||||
# generate index for LaTeX. If left blank `makeindex' will be used as the
|
||||
# default command name.
|
||||
|
||||
MAKEINDEX_CMD_NAME = makeindex
|
||||
|
||||
# If the COMPACT_LATEX tag is set to YES Doxygen generates more compact
|
||||
# LaTeX documents. This may be useful for small projects and may help to
|
||||
# save some trees in general.
|
||||
|
||||
COMPACT_LATEX = NO
|
||||
|
||||
# The PAPER_TYPE tag can be used to set the paper type that is used
|
||||
# by the printer. Possible values are: a4, a4wide, letter, legal and
|
||||
# executive. If left blank a4wide will be used.
|
||||
|
||||
PAPER_TYPE = a4wide
|
||||
|
||||
# The EXTRA_PACKAGES tag can be to specify one or more names of LaTeX
|
||||
# packages that should be included in the LaTeX output.
|
||||
|
||||
EXTRA_PACKAGES =
|
||||
|
||||
# The LATEX_HEADER tag can be used to specify a personal LaTeX header for
|
||||
# the generated latex document. The header should contain everything until
|
||||
# the first chapter. If it is left blank doxygen will generate a
|
||||
# standard header. Notice: only use this tag if you know what you are doing!
|
||||
|
||||
LATEX_HEADER =
|
||||
|
||||
# If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated
|
||||
# is prepared for conversion to pdf (using ps2pdf). The pdf file will
|
||||
# contain links (just like the HTML output) instead of page references
|
||||
# This makes the output suitable for online browsing using a pdf viewer.
|
||||
|
||||
PDF_HYPERLINKS = NO
|
||||
|
||||
# If the USE_PDFLATEX tag is set to YES, pdflatex will be used instead of
|
||||
# plain latex in the generated Makefile. Set this option to YES to get a
|
||||
# higher quality PDF documentation.
|
||||
|
||||
USE_PDFLATEX = NO
|
||||
|
||||
# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \\batchmode.
|
||||
# command to the generated LaTeX files. This will instruct LaTeX to keep
|
||||
# running if errors occur, instead of asking the user for help.
|
||||
# This option is also used when generating formulas in HTML.
|
||||
|
||||
LATEX_BATCHMODE = NO
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options related to the RTF output
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
# If the GENERATE_RTF tag is set to YES Doxygen will generate RTF output
|
||||
# The RTF output is optimised for Word 97 and may not look very pretty with
|
||||
# other RTF readers or editors.
|
||||
|
||||
GENERATE_RTF = NO
|
||||
|
||||
# The RTF_OUTPUT tag is used to specify where the RTF docs will be put.
|
||||
# If a relative path is entered the value of OUTPUT_DIRECTORY will be
|
||||
# put in front of it. If left blank `rtf' will be used as the default path.
|
||||
|
||||
RTF_OUTPUT =
|
||||
|
||||
# If the COMPACT_RTF tag is set to YES Doxygen generates more compact
|
||||
# RTF documents. This may be useful for small projects and may help to
|
||||
# save some trees in general.
|
||||
|
||||
COMPACT_RTF = NO
|
||||
|
||||
# If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated
|
||||
# will contain hyperlink fields. The RTF file will
|
||||
# contain links (just like the HTML output) instead of page references.
|
||||
# This makes the output suitable for online browsing using WORD or other
|
||||
# programs which support those fields.
|
||||
# Note: wordpad (write) and others do not support links.
|
||||
|
||||
RTF_HYPERLINKS = NO
|
||||
|
||||
# Load stylesheet definitions from file. Syntax is similar to doxygen's
|
||||
# config file, i.e. a series of assigments. You only have to provide
|
||||
# replacements, missing definitions are set to their default value.
|
||||
|
||||
RTF_STYLESHEET_FILE =
|
||||
|
||||
# Set optional variables used in the generation of an rtf document.
|
||||
# Syntax is similar to doxygen's config file.
|
||||
|
||||
RTF_EXTENSIONS_FILE =
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options related to the man page output
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
# If the GENERATE_MAN tag is set to YES (the default) Doxygen will
|
||||
# generate man pages
|
||||
|
||||
GENERATE_MAN = NO
|
||||
|
||||
# The MAN_OUTPUT tag is used to specify where the man pages will be put.
|
||||
# If a relative path is entered the value of OUTPUT_DIRECTORY will be
|
||||
# put in front of it. If left blank `man' will be used as the default path.
|
||||
|
||||
MAN_OUTPUT =
|
||||
|
||||
# The MAN_EXTENSION tag determines the extension that is added to
|
||||
# the generated man pages (default is the subroutine's section .3)
|
||||
|
||||
MAN_EXTENSION = .kde3
|
||||
|
||||
# If the MAN_LINKS tag is set to YES and Doxygen generates man output,
|
||||
# then it will generate one additional man file for each entity
|
||||
# documented in the real man page(s). These additional files
|
||||
# only source the real man page, but without them the man command
|
||||
# would be unable to find the correct page. The default is NO.
|
||||
|
||||
MAN_LINKS = YES
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options related to the XML output
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
# If the GENERATE_XML tag is set to YES Doxygen will
|
||||
# generate an XML file that captures the structure of
|
||||
# the code including all documentation. Note that this
|
||||
# feature is still experimental and incomplete at the
|
||||
# moment.
|
||||
|
||||
GENERATE_XML = NO
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options for the AutoGen Definitions output
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
# If the GENERATE_AUTOGEN_DEF tag is set to YES Doxygen will
|
||||
# generate an AutoGen Definitions (see autogen.sf.net) file
|
||||
# that captures the structure of the code including all
|
||||
# documentation. Note that this feature is still experimental
|
||||
# and incomplete at the moment.
|
||||
|
||||
GENERATE_AUTOGEN_DEF = NO
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
# Configuration options related to the preprocessor
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
# If the ENABLE_PREPROCESSING tag is set to YES (the default) Doxygen will
|
||||
# evaluate all C-preprocessor directives found in the sources and include
|
||||
# files.
|
||||
|
||||
ENABLE_PREPROCESSING = YES
|
||||
|
||||
# If the MACRO_EXPANSION tag is set to YES Doxygen will expand all macro
|
||||
# names in the source code. If set to NO (the default) only conditional
|
||||
# compilation will be performed. Macro expansion can be done in a controlled
|
||||
# way by setting EXPAND_ONLY_PREDEF to YES.
|
||||
|
||||
MACRO_EXPANSION = NO
|
||||
|
||||
# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES
|
||||
# then the macro expansion is limited to the macros specified with the
|
||||
# PREDEFINED and EXPAND_AS_PREDEFINED tags.
|
||||
|
||||
EXPAND_ONLY_PREDEF = NO
|
||||
|
||||
# If the SEARCH_INCLUDES tag is set to YES (the default) the includes files
|
||||
# in the INCLUDE_PATH (see below) will be search if a #include is found.
|
||||
|
||||
SEARCH_INCLUDES = YES
|
||||
|
||||
# The INCLUDE_PATH tag can be used to specify one or more directories that
|
||||
# contain include files that are not input files but should be processed by
|
||||
# the preprocessor.
|
||||
|
||||
INCLUDE_PATH =
|
||||
|
||||
# You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard
|
||||
# patterns (like *.h and *.hpp) to filter out the header-files in the
|
||||
# directories. If left blank, the patterns specified with FILE_PATTERNS will
|
||||
# be used.
|
||||
|
||||
INCLUDE_FILE_PATTERNS =
|
||||
|
||||
# The PREDEFINED tag can be used to specify one or more macro names that
|
||||
# are defined before the preprocessor is started (similar to the -D option of
|
||||
# gcc). The argument of the tag is a list of macros of the form: name
|
||||
# or name=definition (no spaces). If the definition and the = are
|
||||
# omitted =1 is assumed.
|
||||
|
||||
PREDEFINED = QT_VERSION=305
|
||||
|
||||
# If the MACRO_EXPANSION and EXPAND_PREDEF_ONLY tags are set to YES then
|
||||
# this tag can be used to specify a list of macro names that should be expanded.
|
||||
# The macro definition that is found in the sources will be used.
|
||||
# Use the PREDEFINED tag if you want to use a different macro definition.
|
||||
|
||||
EXPAND_AS_DEFINED =
|
||||
|
||||
# If the SKIP_FUNCTION_MACROS tag is set to YES (the default) then
|
||||
# doxygen's preprocessor will remove all function-like macros that are alone
|
||||
# on a line and do not end with a semicolon. Such function macros are typically
|
||||
# used for boiler-plate code, and will confuse the parser if not removed.
|
||||
|
||||
SKIP_FUNCTION_MACROS = YES
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
# Configuration::addtions related to external references
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
# The TAGFILES tag can be used to specify one or more tagfiles.
|
||||
|
||||
TAGFILES =
|
||||
|
||||
# When a file name is specified after GENERATE_TAGFILE, doxygen will create
|
||||
# a tag file that is based on the input files it reads.
|
||||
|
||||
GENERATE_TAGFILE =
|
||||
|
||||
# If the ALLEXTERNALS tag is set to YES all external classes will be listed
|
||||
# in the class index. If set to NO only the inherited external classes
|
||||
# will be listed.
|
||||
|
||||
ALLEXTERNALS = NO
|
||||
|
||||
# If the EXTERNAL_GROUPS tag is set to YES all external groups will be listed
|
||||
# in the modules index. If set to NO, only the current project's groups will
|
||||
# be listed.
|
||||
|
||||
EXTERNAL_GROUPS = NO
|
||||
|
||||
# The PERL_PATH should be the absolute path and name of the perl script
|
||||
# interpreter (i.e. the result of `which perl').
|
||||
|
||||
PERL_PATH =
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
# Configuration options related to the dot tool
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
# If the CLASS_DIAGRAMS tag is set to YES (the default) Doxygen will
|
||||
# generate a inheritance diagram (in Html, RTF and LaTeX) for classes with base or
|
||||
# super classes. Setting the tag to NO turns the diagrams off. Note that this
|
||||
# option is superceded by the HAVE_DOT option below. This is only a fallback. It is
|
||||
# recommended to install and use dot, since it yield more powerful graphs.
|
||||
|
||||
CLASS_DIAGRAMS = YES
|
||||
|
||||
# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is
|
||||
# available from the path. This tool is part of Graphviz, a graph visualization
|
||||
# toolkit from AT&T and Lucent Bell Labs. The other options in this section
|
||||
# have no effect if this option is set to NO (the default)
|
||||
|
||||
HAVE_DOT = NO
|
||||
|
||||
# If the CLASS_GRAPH and HAVE_DOT tags are set to YES then doxygen
|
||||
# will generate a graph for each documented class showing the direct and
|
||||
# indirect inheritance relations. Setting this tag to YES will force the
|
||||
# the CLASS_DIAGRAMS tag to NO.
|
||||
|
||||
CLASS_GRAPH = YES
|
||||
|
||||
# If the COLLABORATION_GRAPH and HAVE_DOT tags are set to YES then doxygen
|
||||
# will generate a graph for each documented class showing the direct and
|
||||
# indirect implementation dependencies (inheritance, containment, and
|
||||
# class references variables) of the class with other documented classes.
|
||||
|
||||
COLLABORATION_GRAPH = YES
|
||||
|
||||
# If set to YES, the inheritance and collaboration graphs will show the
|
||||
# relations between templates and their instances.
|
||||
|
||||
TEMPLATE_RELATIONS = YES
|
||||
|
||||
# If set to YES, the inheritance and collaboration graphs will hide
|
||||
# inheritance and usage relations if the target is undocumented
|
||||
# or is not a class.
|
||||
|
||||
HIDE_UNDOC_RELATIONS = NO
|
||||
|
||||
# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDE_GRAPH, and HAVE_DOT
|
||||
# tags are set to YES then doxygen will generate a graph for each documented
|
||||
# file showing the direct and indirect include dependencies of the file with
|
||||
# other documented files.
|
||||
|
||||
INCLUDE_GRAPH = YES
|
||||
|
||||
# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDED_BY_GRAPH, and
|
||||
# HAVE_DOT tags are set to YES then doxygen will generate a graph for each
|
||||
# documented header file showing the documented files that directly or
|
||||
# indirectly include this file.
|
||||
|
||||
INCLUDED_BY_GRAPH = YES
|
||||
|
||||
# If the GRAPHICAL_HIERARCHY and HAVE_DOT tags are set to YES then doxygen
|
||||
# will graphical hierarchy of all classes instead of a textual one.
|
||||
|
||||
GRAPHICAL_HIERARCHY = NO
|
||||
|
||||
# The DOT_IMAGE_FORMAT tag can be used to set the image format of the images
|
||||
# generated by dot. Possible values are png, jpg, or gif
|
||||
# If left blank png will be used.
|
||||
|
||||
DOT_IMAGE_FORMAT = png
|
||||
|
||||
# The tag DOT_PATH can be used to specify the path where the dot tool can be
|
||||
# found. If left blank, it is assumed the dot tool can be found on the path.
|
||||
|
||||
DOT_PATH =
|
||||
|
||||
# The DOTFILE_DIRS tag can be used to specify one or more directories that
|
||||
# contain dot files that are included in the documentation (see the
|
||||
# \dotfile command).
|
||||
|
||||
DOTFILE_DIRS =
|
||||
|
||||
# The MAX_DOT_GRAPH_WIDTH tag can be used to set the maximum allowed width
|
||||
# (in pixels) of the graphs generated by dot. If a graph becomes larger than
|
||||
# this value, doxygen will try to truncate the graph, so that it fits within
|
||||
# the specified constraint. Beware that most browsers cannot cope with very
|
||||
# large images.
|
||||
|
||||
MAX_DOT_GRAPH_WIDTH = 800
|
||||
|
||||
# The MAX_DOT_GRAPH_HEIGHT tag can be used to set the maximum allows height
|
||||
# (in pixels) of the graphs generated by dot. If a graph becomes larger than
|
||||
# this value, doxygen will try to truncate the graph, so that it fits within
|
||||
# the specified constraint. Beware that most browsers cannot cope with very
|
||||
# large images.
|
||||
|
||||
MAX_DOT_GRAPH_HEIGHT = 1024
|
||||
|
||||
# If the GENERATE_LEGEND tag is set to YES (the default) Doxygen will
|
||||
# generate a legend page explaining the meaning of the various boxes and
|
||||
# arrows in the dot generated graphs.
|
||||
|
||||
GENERATE_LEGEND = YES
|
||||
|
||||
# If the DOT_CLEANUP tag is set to YES (the default) Doxygen will
|
||||
# remove the intermedate dot files that are used to generate
|
||||
# the various graphs.
|
||||
|
||||
DOT_CLEANUP = YES
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
# Configuration::addtions related to the search engine
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
# The SEARCHENGINE tag specifies whether or not a search engine should be
|
||||
# used. If set to NO the values of all tags below this one will be ignored.
|
||||
|
||||
SEARCHENGINE = NO
|
||||
|
||||
# The CGI_NAME tag should be the name of the CGI script that
|
||||
# starts the search engine (doxysearch) with the correct parameters.
|
||||
# A script with this name will be generated by doxygen.
|
||||
|
||||
CGI_NAME =
|
||||
|
||||
# The CGI_URL tag should be the absolute URL to the directory where the
|
||||
# cgi binaries are located. See the documentation of your http daemon for
|
||||
# details.
|
||||
|
||||
CGI_URL =
|
||||
|
||||
# The DOC_URL tag should be the absolute URL to the directory where the
|
||||
# documentation is located. If left blank the absolute path to the
|
||||
# documentation, with file:// prepended to it, will be used.
|
||||
|
||||
DOC_URL =
|
||||
|
||||
# The DOC_ABSPATH tag should be the absolute path to the directory where the
|
||||
# documentation is located. If left blank the directory on the local machine
|
||||
# will be used.
|
||||
|
||||
DOC_ABSPATH =
|
||||
|
||||
# The BIN_ABSPATH tag must point to the directory where the doxysearch binary
|
||||
# is installed.
|
||||
|
||||
BIN_ABSPATH =
|
||||
|
||||
# The EXT_DOC_PATHS tag can be used to specify one or more paths to
|
||||
# documentation generated for other projects. This allows doxysearch to search
|
||||
# the documentation for these projects as well.
|
||||
|
||||
EXT_DOC_PATHS =
|
||||
@@ -1,34 +0,0 @@
|
||||
### Makefile.common
|
||||
###
|
||||
### Copyright (C) 2002 by the KDE developers
|
||||
|
||||
### All the real work is done by the shellscript cvs.sh
|
||||
|
||||
SHELL=/bin/sh
|
||||
|
||||
cvs dist cvs-clean configure.in configure.files subdirs package-messages:
|
||||
@admindir=$(admindir); \
|
||||
if test "x$$admindir" = x; then \
|
||||
admindir=.; until test -f $$admindir/admin/cvs.sh; do \
|
||||
admindir=$$admindir/..; \
|
||||
if test `cd $$admindir && pwd` = / ; then break; fi; \
|
||||
done; \
|
||||
admindir=$$admindir/admin; \
|
||||
if test -f $$admindir/cvs.sh; then :; else \
|
||||
echo "Can't find the admin/ directory in any parent of the"; \
|
||||
echo "current directory. Please set it with admindir=..."; \
|
||||
exit 1; \
|
||||
fi; \
|
||||
fi; \
|
||||
MAKE=$(MAKE) $(SHELL) $$admindir/cvs.sh $@
|
||||
|
||||
package-merge:
|
||||
@MAKE=$(MAKE) POFILES=$(POFILES) PACKAGE=$(PACKAGE) \
|
||||
$(SHELL) admin/cvs.sh package-merge
|
||||
|
||||
configure.in: configure.files $(shell test -f configure.files && cat configure.files) subdirs
|
||||
configure.files: subdirs
|
||||
|
||||
.SILENT:
|
||||
|
||||
.PHONY: cvs dist cvs-clean package-merge package-messages
|
||||
@@ -1,177 +0,0 @@
|
||||
#!/usr/bin/perl -w
|
||||
|
||||
# this script patches a config.status file, to use our own perl script
|
||||
# in the main loop
|
||||
# we do it this way to circumvent hacking (and thereby including)
|
||||
# autoconf function (which are GPL) into our LGPL acinclude.m4.in
|
||||
# written by Michael Matz <matz@kde.org>
|
||||
# adapted by Dirk Mueller <mueller@kde.org>
|
||||
#
|
||||
# This file is free software; you can redistribute it and/or
|
||||
# modify it under the terms of the GNU Library General Public
|
||||
# License as published by the Free Software Foundation; either
|
||||
# version 2 of the License, or (at your option) any later version.
|
||||
|
||||
# This library is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
# Library General Public License for more details.
|
||||
|
||||
# You should have received a copy of the GNU Library General Public License
|
||||
# along with this library; see the file COPYING.LIB. If not, write to
|
||||
# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
# Boston, MA 02111-1307, USA.
|
||||
|
||||
# we have to change two places
|
||||
# 1. the splitting of the substitutions into chunks of 90 (or even 48 in
|
||||
# later autoconf's
|
||||
# 2. the big main loop which patches all Makefile.in's
|
||||
|
||||
use File::Basename;
|
||||
|
||||
my $ac_aux_dir = dirname($0);
|
||||
my ($flag);
|
||||
local $ac_version = 0;
|
||||
my $vpath_seen = 0;
|
||||
$flag = 0;
|
||||
|
||||
while (<>) {
|
||||
# usage of $flag: 0 -- we have seen nothing yet
|
||||
# 1 -- we are in (1)
|
||||
# 2 -- we have ended (1)
|
||||
# 3 -- we are in (2)
|
||||
# 4 -- we ended (2)
|
||||
|
||||
if ($flag == 4) {
|
||||
print;
|
||||
} elsif ($flag == 0) {
|
||||
# 1. begins with (including): "ac_max_sed_\S+\s*=\s*[0-9]+..."
|
||||
# ends with (excluding) "CONFIG_FILE=..."
|
||||
# in later autoconf (2.14.1) there is no CONFIG_FILES= line,
|
||||
# but instead the (2) directly follow (1)
|
||||
if (/^\s*ac_max_sed_([a-z]+).*=\s*([0-9]+)/ ) {
|
||||
$flag = 1;
|
||||
if ($1 eq 'lines') {
|
||||
# lets hope its different with 2141,
|
||||
# wasn't able to verify that
|
||||
if ($2 eq '48') {
|
||||
$ac_version = 250;
|
||||
}
|
||||
else {
|
||||
$ac_version = 2141;
|
||||
}
|
||||
} elsif ($1 eq 'cmds') {
|
||||
$ac_version = 213;
|
||||
}
|
||||
# hmm, we don't know the autoconf version, but we try anyway
|
||||
} else {
|
||||
print;
|
||||
}
|
||||
} elsif ($flag == 1) {
|
||||
if (/^\s*CONFIG_FILES=/ && ($ac_version != 250)) {
|
||||
print;
|
||||
$flag = 2;
|
||||
} elsif (/^\s*for\s+ac_file\s+in\s+.*CONFIG_FILES/ ) {
|
||||
$flag = 3;
|
||||
}
|
||||
} elsif ($flag == 2) {
|
||||
# 2. begins with: "for ac_file in.*CONFIG_FILES" (the next 'for' after (1))
|
||||
# end with: "rm -f conftest.s\*"
|
||||
# on autoconf 250, it ends with '# CONFIG_HEADER section'
|
||||
if (/^\s*for\s+ac_file\s+in\s+.*CONFIG_FILES/ ) {
|
||||
$flag = 3;
|
||||
} else {
|
||||
print;
|
||||
}
|
||||
} elsif ($flag == 3) {
|
||||
if (/^\s*rm\s+-f\s+conftest/ ) {
|
||||
$flag = 4;
|
||||
&insert_main_loop();
|
||||
} elsif (/^\s*rm\s+-f\s+.*ac_cs_root/ ) {
|
||||
$flag = 4;
|
||||
&insert_main_loop();
|
||||
#die "hhhhhhh";
|
||||
if ($ac_version != 2141) {
|
||||
print STDERR "hmm, don't know autoconf version\n";
|
||||
}
|
||||
} elsif (/^\#\s*CONFIG_HEADER section.*/) {
|
||||
$flag = 4;
|
||||
&insert_main_loop();
|
||||
if($ac_version != 250) {
|
||||
print STDERR "hmm, something went wrong :-(\n";
|
||||
}
|
||||
} elsif (/VPATH/ ) {
|
||||
$vpath_seen = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
die "wrong input (flag != 4)" unless $flag == 4;
|
||||
print STDERR "hmm, don't know autoconf version\n" unless $ac_version;
|
||||
|
||||
sub insert_main_loop {
|
||||
|
||||
if ($ac_version == 250) {
|
||||
&insert_main_loop_250();
|
||||
}
|
||||
else {
|
||||
&insert_main_loop_213();
|
||||
}
|
||||
}
|
||||
|
||||
sub insert_main_loop_250 {
|
||||
|
||||
print <<EOF;
|
||||
#echo Doing the fast build of Makefiles -- autoconf $ac_version
|
||||
EOF
|
||||
if ($vpath_seen) {
|
||||
print <<EOF;
|
||||
# VPATH subst was seen in original config.status main loop
|
||||
echo '/^[ ]*VPATH[ ]*=[^:]*\$/d' >>\$tmp/subs.sed
|
||||
EOF
|
||||
}
|
||||
print <<EOF;
|
||||
rm -f \$tmp/subs.files
|
||||
for ac_file in .. \$CONFIG_FILES ; do
|
||||
if test "x\$ac_file" != x..; then
|
||||
echo \$ac_file >> \$tmp/subs.files
|
||||
fi
|
||||
done
|
||||
if test -f \$tmp/subs.files ; then
|
||||
perl $ac_aux_dir/config.pl "\$tmp/subs.sed" "\$tmp/subs.files" "\$srcdir" "\$INSTALL"
|
||||
fi
|
||||
rm -f \$tmp/subs.files
|
||||
|
||||
fi
|
||||
EOF
|
||||
return;
|
||||
}
|
||||
|
||||
sub insert_main_loop_213 {
|
||||
print <<EOF;
|
||||
#echo Doing the fast build of Makefiles -- autoconf $ac_version
|
||||
if test "x\$ac_cs_root" = "x" ; then
|
||||
ac_cs_root=conftest
|
||||
fi
|
||||
EOF
|
||||
if ($vpath_seen) {
|
||||
print <<EOF;
|
||||
# VPATH subst was seen in original config.status main loop
|
||||
echo '/^[ ]*VPATH[ ]*=[^:]*\$/d' >> \$ac_cs_root.subs
|
||||
EOF
|
||||
}
|
||||
print <<EOF;
|
||||
rm -f \$ac_cs_root.sacfiles
|
||||
for ac_file in .. \$CONFIG_FILES ; do
|
||||
if test "x\$ac_file" != x..; then
|
||||
echo \$ac_file >> \$ac_cs_root.sacfiles
|
||||
fi
|
||||
done
|
||||
if test -f \$ac_cs_root.sacfiles ; then
|
||||
perl $ac_aux_dir/config.pl "\$ac_cs_root.subs" "\$ac_cs_root.sacfiles" "\$ac_given_srcdir" "\$ac_given_INSTALL"
|
||||
fi
|
||||
rm -f \$ac_cs_root.s*
|
||||
|
||||
EOF
|
||||
return;
|
||||
}
|
||||
@@ -1,235 +0,0 @@
|
||||
#!/usr/bin/perl
|
||||
# a script for use by autoconf to make the Makefiles
|
||||
# from the Makefile.in's
|
||||
#
|
||||
# the original autoconf mechanism first splits all substitutions into groups
|
||||
# of ca. 90, and than invokes sed for _every_ Makefile.in and every group
|
||||
# (so around 2-3 times per Makefile.in). So this takes forever, as sed
|
||||
# has to recompile the regexps every time.
|
||||
#
|
||||
# this script does better. It changes all Makefile.ins in one process.
|
||||
# in kdelibs the time for building Makefile went down from 2:59 min to 13 sec!
|
||||
#
|
||||
# written by Michael Matz <matz@kde.org>
|
||||
# adapted by Dirk Mueller <mueller@kde.org>
|
||||
|
||||
# This file is free software; you can redistribute it and/or
|
||||
# modify it under the terms of the GNU Library General Public
|
||||
# License as published by the Free Software Foundation; either
|
||||
# version 2 of the License, or (at your option) any later version.
|
||||
|
||||
# This library is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
# Library General Public License for more details.
|
||||
|
||||
# You should have received a copy of the GNU Library General Public License
|
||||
# along with this library; see the file COPYING.LIB. If not, write to
|
||||
# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
# Boston, MA 02111-1307, USA.
|
||||
|
||||
my $ac_subs=$ARGV[0];
|
||||
my $ac_sacfiles = $ARGV[1];
|
||||
my $ac_given_srcdir=$ARGV[2];
|
||||
my $ac_given_INSTALL=$ARGV[3];
|
||||
|
||||
#print "ac_subs=$ac_subs\n";
|
||||
#print "ac_sacfiles=$ac_sacfiles\n";
|
||||
#print "ac_given_srcdir=$ac_given_srcdir\n";
|
||||
#print "ac_given_INSTALL=$ac_given_INSTALL\n";
|
||||
|
||||
my ($srcdir, $top_srcdir);
|
||||
my $INSTALL;
|
||||
my $bad_perl = ($] < 5.005);
|
||||
|
||||
open(CF, "< $ac_subs") || die "can't open $ac_subs: $!";
|
||||
my @subs = <CF>;
|
||||
close(CF);
|
||||
chomp @subs;
|
||||
@comp_match=();
|
||||
@comp_subs=();
|
||||
|
||||
if ($bad_perl) {
|
||||
print "Using perl older than version 5.005\n";
|
||||
foreach my $pat (@subs) {
|
||||
if ( ($pat =~ /s%([^%]*)%([^%]*)%g/ )
|
||||
|| ($pat =~ m%/([^/]*)/([^/]*)/g% )
|
||||
|| ($pat =~ /s%([^%]*)%([^%]*)%;t/ )
|
||||
|| ($pat =~ m%/([^/]*)/([^/]*)/;t% )
|
||||
|| ($pat =~ /s,([^,]*),(.*),;t/)
|
||||
) {
|
||||
# form : s%bla%blubb%g
|
||||
# or s%bla%blubb%;t t (autoconf > 2.13 and < 2.52 ?)
|
||||
# or s,bla,blubb,;t t (autoconf 2.52)
|
||||
my $srch = $1;
|
||||
my $repl = $2;
|
||||
$repl =~ s/\\(.)/$1/g;
|
||||
push @comp_subs, make_closure($srch, $repl);
|
||||
|
||||
} elsif ( ($pat =~ /%([^%]*)%d/ )
|
||||
|| ($pat =~ m%/([^/]*)/d% )
|
||||
) {
|
||||
push @comp_subs, make_closure($1, "");
|
||||
} else {
|
||||
die "Uhh. Malformed pattern in $ac_subs ($pat)"
|
||||
unless ( $pat =~ /^\s*$/ ); # ignore white lines
|
||||
}
|
||||
}
|
||||
} else {
|
||||
foreach my $pat (@subs) {
|
||||
if ( ($pat =~ /s%([^%]*)%([^%]*)%g/ ) ||
|
||||
($pat =~ /s%([^%]*)%([^%]*)%;t/ ) ||
|
||||
($pat =~ /s,([^,]*),(.*),;t/) ) {
|
||||
# form : s%bla%blubb%g
|
||||
# or s%bla%blubb%;t t (autoconf > 2.13 and < 2.52 ?)
|
||||
# or s,bla,blubb,;t t (autoconf 2.52)
|
||||
my $srch = $1;
|
||||
my $repl = $2;
|
||||
push @comp_match, eval "qr/\Q$srch\E/"; # compile match pattern
|
||||
$repl =~ s/\\(.)/$1/g;
|
||||
push @comp_subs, $repl;
|
||||
} elsif ( ($pat =~ /%([^%]*)%d/ )
|
||||
|| ($pat =~ m%/([^/]*)/d% )
|
||||
) {
|
||||
push @comp_match, eval "qr/\Q$1\E/";
|
||||
push @comp_subs, "";
|
||||
} else {
|
||||
die "Uhh. Malformed pattern in $ac_cs_root.subs ($pat)"
|
||||
unless ( $pat =~ /^\s*$/ ); # ignore white lines
|
||||
}
|
||||
}
|
||||
}
|
||||
undef @subs;
|
||||
|
||||
# read the list of files to be patched, form:
|
||||
# ./Makefile arts/Makefile arts/examples/Makefile arts/flow/Makefile
|
||||
|
||||
open(CF, "< $ac_sacfiles") || die "can't open $ac_sacfiles: $!";
|
||||
my @ac_files = <CF>;
|
||||
close(CF);
|
||||
chomp @ac_files;
|
||||
|
||||
|
||||
my $ac_file;
|
||||
foreach $ac_file (@ac_files) {
|
||||
next if $ac_file =~ /\.\./;
|
||||
next if $ac_file =~ /^\s*$/;
|
||||
my $ac_file_in;
|
||||
my ($ac_dir, $ac_dots, $ac_dir_suffix);
|
||||
|
||||
if ($ac_file =~ /.*:.*/ ) {
|
||||
($ac_file_in = $ac_file) =~ s%[^:]*:%%;
|
||||
$ac_file =~ s%:.*%%;
|
||||
} else {
|
||||
$ac_file_in = $ac_file.".in";
|
||||
}
|
||||
|
||||
# Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
|
||||
|
||||
# Remove last slash and all that follows it. Not all systems have dirname.
|
||||
($ac_dir = $ac_file) =~ s%/[^/][^/]*$%%;
|
||||
if ( ($ac_dir ne $ac_file) && ($ac_dir ne ".")) {
|
||||
# The file is in a subdirectory.
|
||||
if (! -d "$ac_dir") { mkdir "$ac_dir", 0777; }
|
||||
($ac_dir_suffix = $ac_dir) =~ s%^./%%;
|
||||
$ac_dir_suffix="/".$ac_dir_suffix;
|
||||
# A "../" for each directory in $ac_dir_suffix.
|
||||
($ac_dots = $ac_dir_suffix) =~ s%/[^/]*%../%g;
|
||||
} else {
|
||||
$ac_dir_suffix="";
|
||||
$ac_dots="";
|
||||
}
|
||||
|
||||
if ($ac_given_srcdir eq ".") {
|
||||
$srcdir=".";
|
||||
if ($ac_dots) {
|
||||
( $top_srcdir = $ac_dots) =~ s%/$%%;
|
||||
} else { $top_srcdir="."; }
|
||||
} elsif ($ac_given_srcdir =~ m%^/%) {
|
||||
$srcdir=$ac_given_srcdir.$ac_dir_suffix;
|
||||
$top_srcdir = $ac_given_srcdir;
|
||||
} else {
|
||||
$srcdir = $ac_dots.$ac_given_srcdir.$ac_dir_suffix;
|
||||
$top_srcdir = $ac_dots.$ac_given_srcdir;
|
||||
}
|
||||
|
||||
if ($ac_given_INSTALL) {
|
||||
if ($ac_given_INSTALL =~ m%^/% ) {
|
||||
$INSTALL = $ac_given_INSTALL;
|
||||
} else {
|
||||
$INSTALL = $ac_dots.$ac_given_INSTALL;
|
||||
}
|
||||
}
|
||||
|
||||
print "fast creating $ac_file\n";
|
||||
unlink $ac_file;
|
||||
my $ac_comsub="";
|
||||
my $fname=$ac_file_in;
|
||||
$fname =~ s%.*/%%;
|
||||
my $configure_input="Generated automatically from $fname by config.pl.";
|
||||
if ($ac_file =~ /.*[Mm]akefile.*/) {
|
||||
$ac_comsub="# ".$configure_input."\n"; # for the first line in $ac_file
|
||||
}
|
||||
|
||||
my $ac_file_inputs;
|
||||
($ac_file_inputs = $ac_file_in) =~ s%^%$ac_given_srcdir/%;
|
||||
$ac_file_inputs =~ s%:% $ac_given_srcdir/%g;
|
||||
|
||||
patch_file($ac_file, $ac_file_inputs, $ac_comsub);
|
||||
}
|
||||
|
||||
sub patch_file {
|
||||
my ($outf, $infiles, $identline) = @_;
|
||||
my $filedata;
|
||||
my @infiles=split(' ', $infiles);
|
||||
my $i=0;
|
||||
|
||||
foreach my $name (@infiles) {
|
||||
if (open(CF, "< $name")) {
|
||||
while (<CF>) {
|
||||
$filedata .= $_;
|
||||
}
|
||||
close(CF);
|
||||
} else {
|
||||
print STDERR "can't open $name: $!"."\n";
|
||||
}
|
||||
}
|
||||
if ($identline) {
|
||||
# Put the ident in the second line. For shitty automake 1.6x.
|
||||
$filedata =~ s%\n%\n$identline%;
|
||||
}
|
||||
|
||||
$filedata =~ s%\@configure_input\@%$configure_input%g;
|
||||
$filedata =~ s%\@srcdir\@%$srcdir%g;
|
||||
$filedata =~ s%\@top_srcdir\@%$top_srcdir%g;
|
||||
$filedata =~ s%\@INSTALL\@%$INSTALL%g;
|
||||
|
||||
if ($bad_perl) {
|
||||
while ($i <= $#comp_subs) {
|
||||
my $ref = $comp_subs[$i];
|
||||
&$ref(\$filedata);
|
||||
$i++;
|
||||
}
|
||||
} else {
|
||||
while ($i <= $#comp_match) {
|
||||
$filedata =~ s/$comp_match[$i]/$comp_subs[$i]/g;
|
||||
$i++;
|
||||
}
|
||||
}
|
||||
open(CF, "> $outf") || die "can't create $outf: $!";
|
||||
print CF $filedata;
|
||||
close(CF);
|
||||
}
|
||||
|
||||
sub make_closure {
|
||||
my ($pat, $sub) = @_;
|
||||
$pat =~ s/\@/\\@/g; # @bla@ -> \@bla\@
|
||||
$pat =~ s/\$/\\\$/g; # $bla -> \$bla
|
||||
$sub =~ s/\@/\\@/g;
|
||||
$sub =~ s/\$/\\\$/g;
|
||||
my $ret = eval "return sub { my \$ref=shift; \$\$ref =~ s%$pat%$sub%g; }";
|
||||
if ($@) {
|
||||
print "can't create CODE: $@\n";
|
||||
}
|
||||
return $ret;
|
||||
}
|
||||
@@ -1,57 +0,0 @@
|
||||
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., 59 Temple Place - Suite 330,
|
||||
dnl Boston, MA 02111-1307, 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(@MODULENAME@, @VERSION@) dnl searches for some needed programs
|
||||
|
||||
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
|
||||
|
||||
dnl KDE_USE_QT
|
||||
AC_PATH_KDE
|
||||
@@ -1,87 +0,0 @@
|
||||
#! /usr/bin/perl
|
||||
|
||||
#
|
||||
# This script recursively (beginning with the current directory)
|
||||
# wipes out everything not registered in CVS.
|
||||
#
|
||||
# written by Oswald Buddenhagen <ossi@kde.org>
|
||||
# inspired by the "old" cvs-clean target from Makefile.common
|
||||
#
|
||||
# This file is free software in terms of the BSD licence. That means
|
||||
# that you can do anything with it except removing this license or
|
||||
# the above copyright notice. There is NO WARRANTY of any kind.
|
||||
#
|
||||
|
||||
sub rmrf()
|
||||
{
|
||||
my $fn = shift;
|
||||
lstat ($fn);
|
||||
if (-d _) {
|
||||
if (opendir (DIR, $fn)) {
|
||||
for my $efn (grep (!/^\.\.?$/, readdir (DIR))) {
|
||||
&rmrf ($fn."/".$efn);
|
||||
}
|
||||
closedir (DIR);
|
||||
rmdir ($fn);
|
||||
}
|
||||
} else {
|
||||
unlink ($fn);
|
||||
}
|
||||
}
|
||||
|
||||
sub newfiles()
|
||||
{
|
||||
my ($indir, $incvs) = @_;
|
||||
for my $n (keys (%$incvs)) { delete $$indir{$n} }
|
||||
return sort (keys (%$indir));
|
||||
}
|
||||
|
||||
sub cvsclean()
|
||||
{
|
||||
my $dir = shift;
|
||||
my (%dirsdir, %filesdir, %dirscvs, %filescvs);
|
||||
my $dnam = $dir ? $dir : ".";
|
||||
if (!opendir (DIR, $dnam)) {
|
||||
print STDERR "Cannot enter \"".$dnam."\".\n";
|
||||
return;
|
||||
}
|
||||
for my $fn (grep (!/^\.\.?$/, readdir (DIR))) {
|
||||
if (-d $dir.$fn) {
|
||||
$fn eq "CVS" or $dirsdir{$fn} = 1;
|
||||
} else {
|
||||
$filesdir{$fn} = 1;
|
||||
}
|
||||
}
|
||||
closedir (DIR);
|
||||
if (!open (FILE, "<".$dir."CVS/Entries")) {
|
||||
print STDERR "No CVS information in \"".$dnam."\".\n";
|
||||
return;
|
||||
}
|
||||
while (<FILE>) {
|
||||
m%^D/([^/]+)/.*$% and $dirscvs{$1} = 1;
|
||||
m%^/([^/]+)/.*$% and $filescvs{$1} = 1;
|
||||
}
|
||||
close (FILE);
|
||||
if (open (FILE, "<".$dir."CVS/Entries.Log")) {
|
||||
while (<FILE>) {
|
||||
m%^A D/([^/]+)/.*$% and $dirscvs{$1} = 1;
|
||||
m%^A /([^/]+)/.*$% and $filescvs{$1} = 1;
|
||||
m%^R D/([^/]+)/.*$% and delete $dirscvs{$1};
|
||||
m%^R /([^/]+)/.*$% and delete $filescvs{$1};
|
||||
}
|
||||
close (FILE);
|
||||
}
|
||||
for my $fn (&newfiles (\%filesdir, \%filescvs)) {
|
||||
print ("F ".$dir.$fn."\n");
|
||||
&rmrf ($dir.$fn);
|
||||
}
|
||||
for my $fn (&newfiles (\%dirsdir, \%dirscvs)) {
|
||||
print ("D ".$dir.$fn."\n");
|
||||
&rmrf ($dir.$fn);
|
||||
}
|
||||
for my $fn (sort (keys (%dirscvs))) {
|
||||
&cvsclean ($dir.$fn."/");
|
||||
}
|
||||
}
|
||||
|
||||
&cvsclean ("");
|
||||
@@ -1,492 +0,0 @@
|
||||
#! /bin/sh
|
||||
#
|
||||
# cvs.sh
|
||||
#
|
||||
# This file contains support code from Makefile.common
|
||||
# It defines a shell function for each known target
|
||||
# and then does a case to call the correct function.
|
||||
|
||||
call_and_fix_autoconf()
|
||||
{
|
||||
$AUTOCONF || exit 1
|
||||
if test -r configure.in.in ; then
|
||||
perl -pi -e "print \"if test \\\"x\\\$with_fast_perl\\\" = \\\"xyes\\\"; then\
|
||||
\\n perl -i.bak \\\$ac_aux_dir/conf.change.pl \\\$CONFIG_STATUS\
|
||||
\\\\\\n || mv \\\$CONFIG_STATUS.bak \\\$CONFIG_STATUS\
|
||||
\\n rm -f \\\$CONFIG_STATUS.bak\\nfi\
|
||||
\\n\" if /^\\s*chmod\\s+.*\\+x\\s+.*CONFIG_STATUS/;" configure
|
||||
fi
|
||||
}
|
||||
|
||||
strip_makefile()
|
||||
{
|
||||
if test -f $makefile_wo; then :; else
|
||||
perl -e '$in=0; while ( <> ) { $in = 1 if ($_=~ m/^if /); print $_ unless ($in); $in = 0 if ($_ =~ m/^endif/); }' < Makefile.am.in > $makefile_wo
|
||||
fi
|
||||
}
|
||||
|
||||
check_autotool_versions()
|
||||
{
|
||||
AUTOCONF_VERSION=`$AUTOCONF --version | head -1`
|
||||
case $AUTOCONF_VERSION in
|
||||
Autoconf*2.5* | autoconf*2.5* ) : ;;
|
||||
"" )
|
||||
echo "*** AUTOCONF NOT FOUND!."
|
||||
echo "*** KDE requires autoconf 2.52 or 2.53"
|
||||
exit 1
|
||||
;;
|
||||
* )
|
||||
echo "*** YOU'RE USING $AUTOCONF_VERSION."
|
||||
echo "*** KDE requires autoconf 2.52 or 2.53"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
AUTOHEADER_VERSION=`$AUTOHEADER --version | head -1`
|
||||
case $AUTOHEADER_VERSION in
|
||||
Autoconf*2.5* | autoheader*2.5* ) : ;;
|
||||
"" )
|
||||
echo "*** AUTOHEADER NOT FOUND!."
|
||||
echo "*** KDE requires autoheader 2.52 or 2.53 (part of autoconf)"
|
||||
exit 1
|
||||
;;
|
||||
* )
|
||||
echo "*** YOU'RE USING $AUTOHEADER_VERSION."
|
||||
echo "*** KDE requires autoheader 2.52 or 2.53 (part of autoconf)"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
AUTOMAKE_STRING=`$AUTOMAKE --version | head -1`
|
||||
case $AUTOMAKE_STRING in
|
||||
automake*1.5d* )
|
||||
echo "*** YOU'RE USING $AUTOMAKE_STRING."
|
||||
echo "*** KDE requires automake 1.5"
|
||||
exit 1
|
||||
;;
|
||||
automake*1.5* | automake*1.5-* | automake*1.6.* ) : ;;
|
||||
"" )
|
||||
echo "*** AUTOMAKE NOT FOUND!."
|
||||
echo "*** KDE requires automake 1.5"
|
||||
exit 1
|
||||
;;
|
||||
unsermake* ) :
|
||||
echo "*** YOU'RE USING UNSERMAKE."
|
||||
echo "*** GOOD LUCK!! :)"
|
||||
;;
|
||||
* )
|
||||
echo "*** YOU'RE USING $AUTOMAKE_STRING."
|
||||
echo "*** KDE requires automake 1.5"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
cvs()
|
||||
{
|
||||
check_autotool_versions
|
||||
|
||||
### Produce acinclude.m4
|
||||
if grep '\$(top_srcdir)/acinclude.m4:' $makefile_am >/dev/null; then
|
||||
echo "*** Creating acinclude.m4"
|
||||
rm -f acinclude.m4 configure.files
|
||||
|
||||
strip_makefile
|
||||
$MAKE -f $makefile_wo top_srcdir=. ./acinclude.m4
|
||||
fi
|
||||
|
||||
### Make new subdirs and configure.in.
|
||||
### The make calls could be optimized away here,
|
||||
### with a little thought.
|
||||
if test -r configure.in.in; then
|
||||
rm -f subdirs configure.in
|
||||
echo "*** Creating list of subdirectories"
|
||||
subdirs
|
||||
echo "*** Creating configure.in"
|
||||
configure_files
|
||||
strip_makefile
|
||||
$MAKE -f $makefile_wo top_srcdir=. ./configure.in || exit 1
|
||||
fi
|
||||
|
||||
echo "*** Creating aclocal.m4"
|
||||
$ACLOCAL || exit 1
|
||||
echo "*** Creating configure"
|
||||
call_and_fix_autoconf
|
||||
|
||||
if egrep "^AM_CONFIG_HEADER" configure.in >/dev/null 2>&1; then
|
||||
echo "*** Creating config.h template"
|
||||
$AUTOHEADER || exit 1
|
||||
fi
|
||||
|
||||
echo "*** Creating Makefile templates"
|
||||
$AUTOMAKE || exit 1
|
||||
if test -z "$UNSERMAKE"; then
|
||||
echo "*** Postprocessing Makefile templates"
|
||||
perl admin/am_edit || exit 1
|
||||
fi
|
||||
|
||||
if egrep "^cvs-local:" $makefile_am >/dev/null; then \
|
||||
strip_makefile
|
||||
$MAKE -f $makefile_wo cvs-local || exit 1
|
||||
fi
|
||||
|
||||
echo "*** Creating date/time stamp"
|
||||
touch stamp-h.in
|
||||
|
||||
echo "*** Finished"
|
||||
echo " Don't forget to run ./configure"
|
||||
echo " If you haven't done so in a while, run ./configure --help"
|
||||
}
|
||||
|
||||
dist()
|
||||
{
|
||||
check_autotool_versions
|
||||
|
||||
###
|
||||
### First build all of the files necessary to do just "make"
|
||||
###
|
||||
if grep '\$(top_srcdir)/acinclude.m4:' $makefile_am >/dev/null; then
|
||||
strip_makefile
|
||||
$MAKE -f $makefile_wo top_srcdir=. ./acinclude.m4
|
||||
fi
|
||||
if test -r configure.in.in; then
|
||||
subdirs
|
||||
configure_files
|
||||
strip_makefile
|
||||
$MAKE -f $makefile_wo top_srcdir=. ./configure.in
|
||||
fi
|
||||
$ACLOCAL
|
||||
$AUTOHEADER
|
||||
$AUTOMAKE --foreign --include-deps
|
||||
perl admin/am_edit
|
||||
call_and_fix_autoconf
|
||||
touch stamp-h.in
|
||||
if grep "^cvs-local:" $makefile_am >/dev/null; then
|
||||
strip_makefile
|
||||
$MAKE -f $makefile_wo cvs-local
|
||||
fi
|
||||
|
||||
###
|
||||
### Then make messages
|
||||
###
|
||||
if test -d po; then
|
||||
LIST=`find ./po -name "*.po"`
|
||||
for i in $LIST; do
|
||||
file2=`echo $i | sed -e "s#\.po#\.gmo#"`
|
||||
msgfmt -o $file2 $i || touch $file2
|
||||
done
|
||||
fi
|
||||
if grep "^cvs-dist-local:" $makefile_am >/dev/null; then
|
||||
strip_makefile
|
||||
$MAKE -f $makefile_wo cvs-dist-local
|
||||
fi
|
||||
}
|
||||
|
||||
subdir_dist()
|
||||
{
|
||||
$ACLOCAL
|
||||
$AUTOHEADER
|
||||
$AUTOMAKE --foreign --include-deps
|
||||
perl ../admin/am_edit
|
||||
call_and_fix_autoconf
|
||||
}
|
||||
|
||||
configure_in()
|
||||
{
|
||||
rm -f configure.in configure.in.new
|
||||
kde_use_qt_param=
|
||||
test -f configure.files || { echo "need configure.files for configure.in"; exit 1; }
|
||||
cat `egrep -v "configure.in.bot" < configure.files` > configure.in.new
|
||||
echo "KDE_CREATE_SUBDIRSLIST" >> configure.in.new
|
||||
if test -f Makefile.am.in; then
|
||||
subdirs=`cat subdirs`
|
||||
for dir in $subdirs; do
|
||||
dir=`echo $dir | sed -e "s,[-+],_,g"`
|
||||
echo "AM_CONDITIONAL($dir""_SUBDIR_included, test \"x\$$dir""_SUBDIR_included\" = xyes)" >> configure.in.new
|
||||
done
|
||||
fi
|
||||
# echo "AC_OUTPUT( \\" >> configure.in.new
|
||||
mfs=`find . -type d -print | fgrep -v "/." | \
|
||||
sed -e "s#\./##" -e "/^debian/d" | sort`
|
||||
for i in $mfs; do
|
||||
topleveldir=`echo $i| sed -e "s#/.*##"`
|
||||
if test -f $topleveldir/configure.in; then
|
||||
continue
|
||||
fi
|
||||
if test -f $i/Makefile.am; then :; else
|
||||
continue
|
||||
fi
|
||||
if test -s inst-apps; then
|
||||
if grep "\"^$topleveldir\"" inst-apps > /dev/null 2>&1; then
|
||||
continue
|
||||
fi
|
||||
fi
|
||||
if test "$i" = "."; then
|
||||
echo "AC_CONFIG_FILES([ Makefile ])" >> configure.in.new
|
||||
else
|
||||
echo "AC_CONFIG_FILES([ $i/Makefile ])" >> configure.in.new
|
||||
fi
|
||||
if test -n "$UNSERMAKE"; then
|
||||
if test "$i" = "."; then
|
||||
echo "AC_CONFIG_FILES([ Makefile.rules ])" >> configure.in.new
|
||||
else
|
||||
echo "AC_CONFIG_FILES([ $i/Makefile.rules ])" >> configure.in.new
|
||||
fi
|
||||
fi
|
||||
done
|
||||
egrep '^dnl AC_OUTPUT\(.*\)' `cat configure.files` | sed -e "s#^.*dnl AC_OUTPUT(\(.*\))#AC_CONFIG_FILES([ \1 ])#" >> configure.in.new
|
||||
if test -n "$UNSERMAKE"; then
|
||||
echo "AC_CONFIG_FILES([ MakeVars ])" >> configure.in.new
|
||||
fi
|
||||
echo "AC_OUTPUT" >> configure.in.new
|
||||
modulename=
|
||||
if test -f configure.in.in; then
|
||||
if head -2 configure.in.in | egrep "^#MIN_CONFIG\(.*\)$" > /dev/null; then
|
||||
kde_use_qt_param=`cat configure.in.in | sed -n -e "s/#MIN_CONFIG(\(.*\))/\1/p"`
|
||||
fi
|
||||
if head -2 configure.in.in | egrep "^#MIN_CONFIG" > /dev/null; then
|
||||
line=`grep "^AM_INIT_AUTOMAKE(" configure.in.in`
|
||||
if test -n "$line"; then
|
||||
modulename=`echo $line | sed -e "s#AM_INIT_AUTOMAKE(\([^,]*\),.*#\1#"`
|
||||
VERSION=`echo $line | sed -e "s#AM_INIT_AUTOMAKE([^,]*, *\([^)]*\)).*#\1#"`
|
||||
fi
|
||||
sed -e "s#AM_INIT_AUTOMAKE([^@].*#dnl PACKAGE set before#" \
|
||||
configure.in.new > configure.in && mv configure.in configure.in.new
|
||||
fi
|
||||
fi
|
||||
if test -z "$VERSION" || test "$VERSION" = "@VERSION@"; then
|
||||
VERSION="\"3.0.7\""
|
||||
fi
|
||||
if test -z "$modulename" || test "$modulename" = "@MODULENAME@"; then
|
||||
modulename=`pwd`;
|
||||
modulename=`basename $modulename`
|
||||
esc_VERSION=`echo $VERSION | sed -e "s#[^.0-9a-zA-Z]##g"`
|
||||
modulename=`echo $modulename | sed -e "s#-$esc_VERSION##"`
|
||||
|
||||
fi
|
||||
if test -n "$kde_use_qt_param"; then
|
||||
sed -e "s#^dnl KDE_USE_QT#KDE_USE_QT($kde_use_qt_param)#" \
|
||||
configure.in.new > configure.in && mv configure.in configure.in.new
|
||||
fi
|
||||
sed -e "s#@MODULENAME@#$modulename#" configure.in.new |
|
||||
sed -e "s#@VERSION@#$VERSION#" > configure.in
|
||||
botfiles=`cat configure.files | egrep "configure.in.bot"`
|
||||
test -n "$botfiles" && cat $botfiles >> configure.in
|
||||
rm -f configure.in.new
|
||||
}
|
||||
|
||||
configure_files()
|
||||
{
|
||||
admindir=NO
|
||||
for i in . .. ../.. ../../..; do
|
||||
if test -x $i/admin; then admindir=$i/admin; break; fi
|
||||
done
|
||||
rm -f configure.files
|
||||
touch configure.files
|
||||
if test -f configure.in.in && head -2 configure.in.in | grep "^#MIN_CONFIG" > /dev/null; then
|
||||
echo $admindir/configure.in.min >> configure.files
|
||||
fi
|
||||
test -f configure.in.in && echo configure.in.in >> configure.files
|
||||
list=`find . -name "configure.in.in" -o -name "configure.in.bot" | sort`
|
||||
for i in $list; do if test -f $i && test `dirname $i` != "." ; then
|
||||
echo $i >> configure.files
|
||||
fi; done
|
||||
test -f configure.in.mid && echo configure.in.mid >> configure.files
|
||||
test -f configure.in.bot && echo configure.in.bot >> configure.files
|
||||
}
|
||||
|
||||
subdirs()
|
||||
{
|
||||
dirs=
|
||||
compilefirst=`sed -ne 's#^COMPILE_FIRST[ ]*=[ ]*##p' $makefile_am | head -1`
|
||||
compilelast=`sed -ne 's#^COMPILE_LAST[ ]*=[ ]*##p' $makefile_am | head -1`
|
||||
for i in `ls -1`; do
|
||||
if test -f $i/Makefile.am; then
|
||||
case " $compilefirst $compilelast " in
|
||||
*" $i "*) ;;
|
||||
*) dirs="$dirs $i"
|
||||
esac
|
||||
fi
|
||||
done
|
||||
|
||||
: > ./_SUBDIRS
|
||||
|
||||
for d in $compilefirst; do
|
||||
echo $d >> ./_SUBDIRS
|
||||
done
|
||||
|
||||
(for d in $dirs; do
|
||||
list=`sed -ne "s#^COMPILE_BEFORE_$d""[ ]*=[ ]*##p" $makefile_am | head -1`
|
||||
for s in $list; do
|
||||
echo $s $d
|
||||
done
|
||||
list=`sed -ne "s#^COMPILE_AFTER_$d""[ ]*=[ ]*##p" $makefile_am | head -1`
|
||||
for s in $list; do
|
||||
echo $d $s
|
||||
done
|
||||
echo $d $d
|
||||
done ) | tsort >> ./_SUBDIRS
|
||||
|
||||
for d in $compilelast; do
|
||||
echo $d >> ./_SUBDIRS
|
||||
done
|
||||
|
||||
if test -f Makefile.am.in; then
|
||||
cp Makefile.am.in Makefile.am
|
||||
if test -n "$UNSERMAKE"; then
|
||||
topsubdirs=
|
||||
for i in $compilefirst $dirs $compilelast; do
|
||||
vari=`echo $i | sed -e "s,[-+],_,g"`
|
||||
echo "if $vari""_SUBDIR_included" >> Makefile.am
|
||||
echo "$vari""_SUBDIR=$i" >> Makefile.am
|
||||
echo "endif" >> Makefile.am
|
||||
topsubdirs="$topsubdirs \$($vari""_SUBDIR)"
|
||||
done
|
||||
echo "SUBDIRS=$topsubdirs" >> Makefile.am
|
||||
else
|
||||
echo "SUBDIRS="'$(TOPSUBDIRS)' >> Makefile.am
|
||||
fi
|
||||
fi
|
||||
if test -r subdirs && diff subdirs _SUBDIRS > /dev/null; then
|
||||
rm -f _SUBDIRS
|
||||
fi
|
||||
test -r _SUBDIRS && mv _SUBDIRS subdirs || true
|
||||
}
|
||||
|
||||
cvs_clean()
|
||||
{
|
||||
if test -d CVS; then :; else
|
||||
echo "You don't have a toplevel CVS directory."
|
||||
echo "You most certainly didn't use cvs to get these sources."
|
||||
echo "But this function depends on cvs's information."
|
||||
exit 1
|
||||
fi
|
||||
perl $admindir/cvs-clean.pl
|
||||
}
|
||||
|
||||
package_merge()
|
||||
{
|
||||
catalogs=$POFILES
|
||||
for cat in $catalogs; do
|
||||
msgmerge -o $cat.new $cat $PACKAGE.pot
|
||||
if test -s $cat.new; then
|
||||
grep -v "\"POT-Creation" $cat.new > $cat.new.2
|
||||
grep -v "\"POT-Creation" $cat >> $cat.new.1
|
||||
if diff $cat.new.1 $cat.new.2; then
|
||||
rm $cat.new
|
||||
else
|
||||
mv $cat.new $cat
|
||||
fi
|
||||
rm -f $cat.new.1 $cat.new.2
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
package_messages()
|
||||
{
|
||||
rm -rf po.backup
|
||||
mkdir po.backup
|
||||
|
||||
for i in `ls -1 po/*.pot 2>/dev/null | sed -e "s#po/##"`; do
|
||||
egrep -v '^#([^:]|$)' po/$i | egrep '^.*[^ ]+.*$' | grep -v "\"POT-Creation" > po.backup/$i
|
||||
cp po/$i po.backup/backup_$i
|
||||
touch -r po/$i po.backup/backup_$i
|
||||
rm po/$i
|
||||
done
|
||||
|
||||
podir=${podir:-$PWD/po}
|
||||
files=`find . -name Makefile.am | xargs egrep -l '^messages:' `
|
||||
dirs=`for i in $files; do echo \`dirname $i\`; done`
|
||||
tmpname="$PWD/messages.log"
|
||||
if test -z "$EXTRACTRC"; then EXTRACTRC=extractrc ; fi
|
||||
if test -z "$PREPARETIPS"; then PREPARETIPS=preparetips ; fi
|
||||
export EXTRACTRC PREPARETIPS
|
||||
|
||||
for subdir in $dirs; do
|
||||
test -z "$VERBOSE" || echo "Making messages in $subdir"
|
||||
(cd $subdir
|
||||
if test -n "`grep -e '^messages:.*rc.cpp' Makefile.am`"; then
|
||||
$EXTRACTRC *.rc *.ui > rc.cpp
|
||||
else
|
||||
candidates=`ls -1 *.rc *.ui 2>/dev/null`
|
||||
if test -n "$candidates"; then
|
||||
echo "$subdir has *.rc or *.ui files, but not correct messages line"
|
||||
fi
|
||||
fi
|
||||
if test -n "`grep -r KAboutData *.c* *.C* 2>/dev/null`"; then
|
||||
echo -e 'i18n("_: NAME OF TRANSLATORS\\n"\n"Your names")\ni18n("_: EMAIL OF TRANSLATORS\\n"\n"Your emails")' > _translatorinfo.cpp
|
||||
else echo " " > _translatorinfo.cpp
|
||||
fi
|
||||
perl -e '$mes=0; while (<STDIN>) { next if (/^(if|else|endif)\s/); if (/^messages:/) { $mes=1; print $_; next; } if ($mes) { if (/$\\(XGETTEXT\)/ && / -o/) { s/ -o \$\(podir\)/ _translatorinfo.cpp -o \$\(podir\)/ } print $_; } else { print $_; } }' < Makefile.am > _transMakefile
|
||||
|
||||
$MAKE -s -f _transMakefile podir=$podir EXTRACTRC="$EXTRACTRC" PREPARETIPS="$PREPARETIPS" \
|
||||
XGETTEXT="${XGETTEXT:-xgettext} -C -ki18n -ktr2i18n -kI18N_NOOP -ktranslate -kaliasLocale -x ${includedir:-$KDEDIR/include}/kde.pot" \
|
||||
messages
|
||||
) 2>&1 | grep -v '^make\[1\]' > $tmpname
|
||||
test -s $tmpname && { echo $subdir ; cat "$tmpname"; }
|
||||
test -f $subdir/rc.cpp && rm -f $subdir/rc.cpp
|
||||
rm -f $subdir/_translatorinfo.cpp
|
||||
rm -f $subdir/_transMakefile
|
||||
done
|
||||
rm -f $tmpname
|
||||
for i in `ls -1 po.backup/*.pot 2>/dev/null | sed -e "s#po.backup/##" | egrep -v '^backup_'`; do
|
||||
test -f po/$i || echo "disappeared: $i"
|
||||
done
|
||||
for i in `ls -1 po/*.pot 2>/dev/null | sed -e "s#po/##"`; do
|
||||
msgmerge -q -o po/$i po/$i po/$i
|
||||
egrep -v '^#([^:]|$)' po/$i | egrep '^.*[^ ]+.*$' | grep -v "\"POT-Creation" > temp.pot
|
||||
if test -f po.backup/$i && test -n "`diff temp.pot po.backup/$i`"; then
|
||||
echo "will update $i"
|
||||
msgmerge -q po.backup/backup_$i po/$i > temp.pot
|
||||
mv temp.pot po/$i
|
||||
else
|
||||
if test -f po.backup/backup_$i; then
|
||||
test -z "$VERBOSE" || echo "I'm restoring $i"
|
||||
mv po.backup/backup_$i po/$i
|
||||
rm po.backup/$i
|
||||
else
|
||||
echo "will add $i"
|
||||
fi
|
||||
fi
|
||||
done
|
||||
rm -f temp.pot
|
||||
rm -rf po.backup
|
||||
}
|
||||
|
||||
admindir=`echo "$0" | sed 's%[\\/][^\\/][^\\/]*$%%'`
|
||||
test "x$admindir" = "x$0" && admindir=.
|
||||
|
||||
test "x$MAKE" = x && MAKE=make
|
||||
makefile_am=Makefile.am
|
||||
makefile_wo=Makefile.am
|
||||
if test -f Makefile.am.in; then
|
||||
makefile_am=Makefile.am.in
|
||||
makefile_wo=Makefile.am.in.wo
|
||||
fi
|
||||
|
||||
# Suck in the AUTOCONF detection code
|
||||
. $admindir/detect-autoconf.sh
|
||||
|
||||
###
|
||||
### Main
|
||||
###
|
||||
|
||||
arg=`echo $1 | tr '\-.' __`
|
||||
case $arg in
|
||||
cvs | dist | subdir_dist | configure_in | configure_files | subdirs | \
|
||||
cvs_clean | package_merge | package_messages ) $arg ;;
|
||||
* ) echo "Usage: cvs.sh <target>"
|
||||
echo "Target can be one of:"
|
||||
echo " cvs cvs-clean dist"
|
||||
echo " configure.in configure.files"
|
||||
echo " package-merge package-messages"
|
||||
echo ""
|
||||
echo "Usage: anything but $1"
|
||||
exit 1 ;;
|
||||
esac
|
||||
|
||||
if test -f Makefile.am.in.wo; then
|
||||
rm Makefile.am.in.wo
|
||||
fi
|
||||
|
||||
exit 0
|
||||
@@ -1,114 +0,0 @@
|
||||
#!/usr/bin/perl -w
|
||||
|
||||
use Shell qw(mv cp mkdir rm) ;
|
||||
use File::Find;
|
||||
use Cwd;
|
||||
|
||||
$origPwd = `pwd`;
|
||||
chomp $origPwd;
|
||||
|
||||
$kde_confdir = "/etc/kde3";
|
||||
$kde_prefix = "/usr";
|
||||
$kde_bindir = "$kde_prefix/bin";
|
||||
$kde_includedir = "$kde_prefix/include/kde";
|
||||
$kde_libdir = "$kde_prefix/lib";
|
||||
$kde_cgidir = "$kde_prefix/lib/cgi-bin";
|
||||
$kde_moduledir = "$kde_prefix/lib/kde3";
|
||||
$kde_appsdir = "$kde_prefix/share/applnk";
|
||||
$kde_datadir = "$kde_prefix/share/apps";
|
||||
$kde_htmldir = "$kde_prefix/share/doc/kde/HTML";
|
||||
$kde_icondir = "$kde_prefix/share/icons";
|
||||
$kde_locale = "$kde_prefix/share/locale";
|
||||
$kde_mimedir = "$kde_prefix/share/mimelnk";
|
||||
$kde_servicesdir = "$kde_prefix/share/services";
|
||||
$kde_servicetypesdir = "$kde_prefix/share/servicetypes";
|
||||
$kde_sounddir = "$kde_prefix/share/sounds";
|
||||
$kde_templatesdir = "$kde_prefix/share/templates";
|
||||
$kde_wallpaperdir = "$kde_prefix/share/wallpapers";
|
||||
|
||||
$mandir = "$kde_prefix/share/man";
|
||||
$infodir = "$kde_prefix/share/info";
|
||||
$sysconfdir = "/etc";
|
||||
|
||||
$QTDIR = "/usr/share/qt";
|
||||
$IDL = "$kde_bindir/cuteidl";
|
||||
$DCOPIDL = "$kde_bindir/dcopidl";
|
||||
$DCOPIDL2CPP = "$kde_bindir/dcopidl2cpp";
|
||||
$KDB2HTML = "$kde_bindir/kdb2html";
|
||||
$MCOPIDL = "$kde_bindir/mcopidl";
|
||||
$ARTSCCONFIG = "$kde_bindir/artsc-config";
|
||||
|
||||
if (defined $ENV{DEB_BUILD_OPTIONS} &&
|
||||
$ENV{DEB_BUILD_OPTIONS} =~ /\bdebug\b/) {
|
||||
$enable_debug="--enable-debug";
|
||||
$enable_final="";
|
||||
}
|
||||
else {
|
||||
$enable_debug="--disable-debug";
|
||||
$enable_final="--enable-final";
|
||||
}
|
||||
|
||||
if (@ARGV && $ARGV[0] eq 'echodirs') {
|
||||
print STDOUT "export kde_confdir=$kde_confdir\n";
|
||||
print STDOUT "export kde_prefix=$kde_prefix\n";
|
||||
print STDOUT "export kde_bindir=$kde_bindir\n";
|
||||
print STDOUT "export kde_includedir=$kde_includedir\n";
|
||||
print STDOUT "export kde_libdir=$kde_libdir\n";
|
||||
print STDOUT "export kde_cgidir=$kde_cgidir\n";
|
||||
print STDOUT "export kde_moduledir=$kde_moduledir\n";
|
||||
print STDOUT "export kde_appsdir=$kde_appsdir\n";
|
||||
print STDOUT "export kde_datadir=$kde_datadir\n";
|
||||
print STDOUT "export kde_htmldir=$kde_htmldir\n";
|
||||
print STDOUT "export kde_icondir=$kde_icondir\n";
|
||||
print STDOUT "export kde_locale=$kde_locale\n";
|
||||
print STDOUT "export kde_mimedir=$kde_mimedir\n";
|
||||
print STDOUT "export kde_servicesdir=$kde_servicesdir\n";
|
||||
print STDOUT "export kde_servicetypesdir=$kde_servicetypesdir\n";
|
||||
print STDOUT "export kde_sounddir=$kde_sounddir\n";
|
||||
print STDOUT "export kde_templatesdir=$kde_templatesdir\n";
|
||||
print STDOUT "export kde_wallpaperdir=$kde_wallpaperdir\n";
|
||||
|
||||
print STDOUT "export mandir=$mandir\n";
|
||||
print STDOUT "export infodir=$infodir\n";
|
||||
print STDOUT "export sysconfdir=$sysconfdir\n";
|
||||
|
||||
print STDOUT "export QTDIR=$QTDIR\n";
|
||||
print STDOUT "export IDL=$IDL\n";
|
||||
print STDOUT "export DCOPIDL=$DCOPIDL\n";
|
||||
print STDOUT "export DCOPIDL2CPP=$DCOPIDL2CPP\n";
|
||||
print STDOUT "export KDB2HTML=$KDB2HTML\n";
|
||||
print STDOUT "export MCOPIDL=$MCOPIDL\n";
|
||||
print STDOUT "export ARTSCCONFIG=$ARTSCCONFIG\n";
|
||||
print STDOUT "export INSTALL_DATA=install -p -c -m 644\n";
|
||||
|
||||
print STDOUT "configkde=$enable_debug $enable_final --disable-rpath --prefix=\$(kde_prefix) --libexecdir=\$(kde_bindir) --sysconfdir=\$(sysconfdir) --libdir=\$(kde_libdir) --includedir=\$(kde_includedir) --with-qt-includes=/usr/include/qt --mandir=\$(mandir) --infodir=\$(infodir)\n";
|
||||
print STDOUT "configkdevelop=$enable_debug $enable_final --disable-rpath --enable-docbase --enable-kdoc2 --libdir=\$(kde_libdir) --includedir=\$(kde_includedir) --with-qt-includes=/usr/include/qt --mandir=\$(mandir) --with-kdelibsdoc-dir=/usr/share/doc/kdelibs3-doc/html\n";
|
||||
print STDOUT "configkdepim=$enable_debug $enable_final --disable-rpath --with-extra-includes=/usr/include/libpisock --enable-shared --prefix=\$(kde_prefix) --libexecdir=\$(kde_bindir) --with-qt-includes=/usr/include/qt --mandir=\$(mandir) --infodir=\$(infodir)\n";
|
||||
|
||||
exit
|
||||
}
|
||||
|
||||
if (@ARGV && $ARGV[0] eq 'echoglobals') {
|
||||
print STDOUT "[Directories]\n";
|
||||
print STDOUT "dir_config=$kde_confdir\n";
|
||||
print STDOUT "dir_tmp=/tmp\n";
|
||||
print STDOUT "dir_socket=/tmp\n";
|
||||
print STDOUT "dir_exe=$kde_bindir\n";
|
||||
print STDOUT "dir_lib=$kde_libdir\n";
|
||||
print STDOUT "dir_cgi=$kde_cgidir\n";
|
||||
print STDOUT "dir_module=$kde_moduledir\n";
|
||||
print STDOUT "dir_apps=$kde_appsdir\n";
|
||||
print STDOUT "dir_data=$kde_datadir\n";
|
||||
print STDOUT "dir_html=$kde_htmldir\n";
|
||||
print STDOUT "dir_icon=$kde_icondir\n";
|
||||
print STDOUT "dir_locale=$kde_locale\n";
|
||||
print STDOUT "dir_mime=$kde_mimedir\n";
|
||||
print STDOUT "dir_services=$kde_servicesdir\n";
|
||||
print STDOUT "dir_servicetypes=$kde_servicetypesdir\n";
|
||||
print STDOUT "dir_sound=$kde_sounddir\n";
|
||||
print STDOUT "dir_templates=$kde_templatesdir\n";
|
||||
print STDOUT "dir_wallpaper=$kde_wallpaperdir\n";
|
||||
print STDOUT "[General]\n";
|
||||
print STDOUT "TerminalApplication=x-terminal-emulator\n";
|
||||
exit
|
||||
}
|
||||
@@ -1,411 +0,0 @@
|
||||
#! /bin/sh
|
||||
|
||||
# depcomp - compile a program generating dependencies as side-effects
|
||||
# Copyright 1999, 2000 Free Software Foundation, Inc.
|
||||
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2, or (at your option)
|
||||
# any later version.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
||||
# 02111-1307, USA.
|
||||
|
||||
# As a special exception to the GNU General Public License, if you
|
||||
# distribute this file as part of a program that contains a
|
||||
# configuration script generated by Autoconf, you may include it under
|
||||
# the same distribution terms that you use for the rest of that program.
|
||||
|
||||
# Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>.
|
||||
|
||||
if test -z "$depmode" || test -z "$source" || test -z "$object"; then
|
||||
echo "depcomp: Variables source, object and depmode must be set" 1>&2
|
||||
exit 1
|
||||
fi
|
||||
# `libtool' can also be set to `yes' or `no'.
|
||||
|
||||
depfile=${depfile-`echo "$object" | sed 's,\([^/]*\)$,.deps/\1,;s/\.\([^.]*\)$/.P\1/'`}
|
||||
tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
|
||||
|
||||
rm -f "$tmpdepfile"
|
||||
|
||||
# Some modes work just like other modes, but use different flags. We
|
||||
# parameterize here, but still list the modes in the big case below,
|
||||
# to make depend.m4 easier to write. Note that we *cannot* use a case
|
||||
# here, because this file can only contain one case statement.
|
||||
if test "$depmode" = hp; then
|
||||
# HP compiler uses -M and no extra arg.
|
||||
gccflag=-M
|
||||
depmode=gcc
|
||||
fi
|
||||
|
||||
if test "$depmode" = dashXmstdout; then
|
||||
# This is just like dashmstdout with a different argument.
|
||||
dashmflag=-xM
|
||||
depmode=dashmstdout
|
||||
fi
|
||||
|
||||
case "$depmode" in
|
||||
gcc3)
|
||||
## gcc 3 implements dependency tracking that does exactly what
|
||||
## we want. Yay! Note: for some reason libtool 1.4 doesn't like
|
||||
## it if -MD -MP comes after the -MF stuff. Hmm.
|
||||
"$@" -MT "$object" -MD -MP -MF "$tmpdepfile"
|
||||
stat=$?
|
||||
if test $stat -eq 0; then :
|
||||
else
|
||||
rm -f "$tmpdepfile"
|
||||
exit $stat
|
||||
fi
|
||||
mv "$tmpdepfile" "$depfile"
|
||||
;;
|
||||
|
||||
gcc)
|
||||
## There are various ways to get dependency output from gcc. Here's
|
||||
## why we pick this rather obscure method:
|
||||
## - Don't want to use -MD because we'd like the dependencies to end
|
||||
## up in a subdir. Having to rename by hand is ugly.
|
||||
## (We might end up doing this anyway to support other compilers.)
|
||||
## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like
|
||||
## -MM, not -M (despite what the docs say).
|
||||
## - Using -M directly means running the compiler twice (even worse
|
||||
## than renaming).
|
||||
if test -z "$gccflag"; then
|
||||
gccflag=-MD,
|
||||
fi
|
||||
"$@" -Wp,"$gccflag$tmpdepfile"
|
||||
stat=$?
|
||||
if test $stat -eq 0; then :
|
||||
else
|
||||
rm -f "$tmpdepfile"
|
||||
exit $stat
|
||||
fi
|
||||
rm -f "$depfile"
|
||||
echo "$object : \\" > "$depfile"
|
||||
alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
|
||||
## The second -e expression handles DOS-style file names with drive letters.
|
||||
sed -e 's/^[^:]*: / /' \
|
||||
-e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"
|
||||
## This next piece of magic avoids the `deleted header file' problem.
|
||||
## The problem is that when a header file which appears in a .P file
|
||||
## is deleted, the dependency causes make to die (because there is
|
||||
## typically no way to rebuild the header). We avoid this by adding
|
||||
## dummy dependencies for each header file. Too bad gcc doesn't do
|
||||
## this for us directly.
|
||||
tr ' ' '
|
||||
' < "$tmpdepfile" |
|
||||
## Some versions of gcc put a space before the `:'. On the theory
|
||||
## that the space means something, we add a space to the output as
|
||||
## well.
|
||||
## Some versions of the HPUX 10.20 sed can't process this invocation
|
||||
## correctly. Breaking it into two sed invocations is a workaround.
|
||||
sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
hp)
|
||||
# This case exists only to let depend.m4 do its work. It works by
|
||||
# looking at the text of this script. This case will never be run,
|
||||
# since it is checked for above.
|
||||
exit 1
|
||||
;;
|
||||
|
||||
sgi)
|
||||
if test "$libtool" = yes; then
|
||||
"$@" "-Wp,-MDupdate,$tmpdepfile"
|
||||
else
|
||||
"$@" -MDupdate "$tmpdepfile"
|
||||
fi
|
||||
stat=$?
|
||||
if test $stat -eq 0; then :
|
||||
else
|
||||
rm -f "$tmpdepfile"
|
||||
exit $stat
|
||||
fi
|
||||
rm -f "$depfile"
|
||||
|
||||
if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files
|
||||
echo "$object : \\" > "$depfile"
|
||||
|
||||
# Clip off the initial element (the dependent). Don't try to be
|
||||
# clever and replace this with sed code, as IRIX sed won't handle
|
||||
# lines with more than a fixed number of characters (4096 in
|
||||
# IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines;
|
||||
# the IRIX cc adds comments like `#:fec' to the end of the
|
||||
# dependency line.
|
||||
tr ' ' '
|
||||
' < "$tmpdepfile" \
|
||||
| sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
|
||||
tr '
|
||||
' ' ' >> $depfile
|
||||
echo >> $depfile
|
||||
|
||||
# The second pass generates a dummy entry for each header file.
|
||||
tr ' ' '
|
||||
' < "$tmpdepfile" \
|
||||
| sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
|
||||
>> $depfile
|
||||
else
|
||||
# The sourcefile does not contain any dependencies, so just
|
||||
# store a dummy comment line, to avoid errors with the Makefile
|
||||
# "include basename.Plo" scheme.
|
||||
echo "#dummy" > "$depfile"
|
||||
fi
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
aix)
|
||||
# The C for AIX Compiler uses -M and outputs the dependencies
|
||||
# in a .u file. This file always lives in the current directory.
|
||||
# Also, the AIX compiler puts `$object:' at the start of each line;
|
||||
# $object doesn't have directory information.
|
||||
stripped=`echo "$object" | sed -e 's,^.*/,,' -e 's/\(.*\)\..*$/\1/'`
|
||||
tmpdepfile="$stripped.u"
|
||||
outname="$stripped.o"
|
||||
if test "$libtool" = yes; then
|
||||
"$@" -Wc,-M
|
||||
else
|
||||
"$@" -M
|
||||
fi
|
||||
|
||||
stat=$?
|
||||
if test $stat -eq 0; then :
|
||||
else
|
||||
rm -f "$tmpdepfile"
|
||||
exit $stat
|
||||
fi
|
||||
|
||||
if test -f "$tmpdepfile"; then
|
||||
# Each line is of the form `foo.o: dependent.h'.
|
||||
# Do two passes, one to just change these to
|
||||
# `$object: dependent.h' and one to simply `dependent.h:'.
|
||||
sed -e "s,^$outname:,$object :," < "$tmpdepfile" > "$depfile"
|
||||
sed -e "s,^$outname: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile"
|
||||
else
|
||||
# The sourcefile does not contain any dependencies, so just
|
||||
# store a dummy comment line, to avoid errors with the Makefile
|
||||
# "include basename.Plo" scheme.
|
||||
echo "#dummy" > "$depfile"
|
||||
fi
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
tru64)
|
||||
# The Tru64 AIX compiler uses -MD to generate dependencies as a side
|
||||
# effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'.
|
||||
# At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
|
||||
# dependencies in `foo.d' instead, so we check for that too.
|
||||
# Subdirectories are respected.
|
||||
|
||||
tmpdepfile1="$object.d"
|
||||
tmpdepfile2=`echo "$object" | sed -e 's/.o$/.d/'`
|
||||
if test "$libtool" = yes; then
|
||||
"$@" -Wc,-MD
|
||||
else
|
||||
"$@" -MD
|
||||
fi
|
||||
|
||||
stat=$?
|
||||
if test $stat -eq 0; then :
|
||||
else
|
||||
rm -f "$tmpdepfile1" "$tmpdepfile2"
|
||||
exit $stat
|
||||
fi
|
||||
|
||||
if test -f "$tmpdepfile1"; then
|
||||
tmpdepfile="$tmpdepfile1"
|
||||
else
|
||||
tmpdepfile="$tmpdepfile2"
|
||||
fi
|
||||
if test -f "$tmpdepfile"; then
|
||||
sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
|
||||
# That's a space and a tab in the [].
|
||||
sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
|
||||
else
|
||||
echo "#dummy" > "$depfile"
|
||||
fi
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
#nosideeffect)
|
||||
# This comment above is used by automake to tell side-effect
|
||||
# dependency tracking mechanisms from slower ones.
|
||||
|
||||
dashmstdout)
|
||||
# Important note: in order to support this mode, a compiler *must*
|
||||
# always write the proprocessed file to stdout, regardless of -o,
|
||||
# because we must use -o when running libtool.
|
||||
test -z "$dashmflag" && dashmflag=-M
|
||||
( IFS=" "
|
||||
case " $* " in
|
||||
*" --mode=compile "*) # this is libtool, let us make it quiet
|
||||
for arg
|
||||
do # cycle over the arguments
|
||||
case "$arg" in
|
||||
"--mode=compile")
|
||||
# insert --quiet before "--mode=compile"
|
||||
set fnord "$@" --quiet
|
||||
shift # fnord
|
||||
;;
|
||||
esac
|
||||
set fnord "$@" "$arg"
|
||||
shift # fnord
|
||||
shift # "$arg"
|
||||
done
|
||||
;;
|
||||
esac
|
||||
"$@" $dashmflag | sed 's:^[^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile"
|
||||
) &
|
||||
proc=$!
|
||||
"$@"
|
||||
stat=$?
|
||||
wait "$proc"
|
||||
if test "$stat" != 0; then exit $stat; fi
|
||||
rm -f "$depfile"
|
||||
cat < "$tmpdepfile" > "$depfile"
|
||||
tr ' ' '
|
||||
' < "$tmpdepfile" | \
|
||||
## Some versions of the HPUX 10.20 sed can't process this invocation
|
||||
## correctly. Breaking it into two sed invocations is a workaround.
|
||||
sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
dashXmstdout)
|
||||
# This case only exists to satisfy depend.m4. It is never actually
|
||||
# run, as this mode is specially recognized in the preamble.
|
||||
exit 1
|
||||
;;
|
||||
|
||||
makedepend)
|
||||
# X makedepend
|
||||
(
|
||||
shift
|
||||
cleared=no
|
||||
for arg in "$@"; do
|
||||
case $cleared in no)
|
||||
set ""; shift
|
||||
cleared=yes
|
||||
esac
|
||||
case "$arg" in
|
||||
-D*|-I*)
|
||||
set fnord "$@" "$arg"; shift;;
|
||||
-*)
|
||||
;;
|
||||
*)
|
||||
set fnord "$@" "$arg"; shift;;
|
||||
esac
|
||||
done
|
||||
obj_suffix="`echo $object | sed 's/^.*\././'`"
|
||||
touch "$tmpdepfile"
|
||||
${MAKEDEPEND-makedepend} 2>/dev/null -o"$obj_suffix" -f"$tmpdepfile" "$@"
|
||||
) &
|
||||
proc=$!
|
||||
"$@"
|
||||
stat=$?
|
||||
wait "$proc"
|
||||
if test "$stat" != 0; then exit $stat; fi
|
||||
rm -f "$depfile"
|
||||
cat < "$tmpdepfile" > "$depfile"
|
||||
tail +3 "$tmpdepfile" | tr ' ' '
|
||||
' | \
|
||||
## Some versions of the HPUX 10.20 sed can't process this invocation
|
||||
## correctly. Breaking it into two sed invocations is a workaround.
|
||||
sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
|
||||
rm -f "$tmpdepfile" "$tmpdepfile".bak
|
||||
;;
|
||||
|
||||
cpp)
|
||||
# Important note: in order to support this mode, a compiler *must*
|
||||
# always write the proprocessed file to stdout, regardless of -o,
|
||||
# because we must use -o when running libtool.
|
||||
( IFS=" "
|
||||
case " $* " in
|
||||
*" --mode=compile "*)
|
||||
for arg
|
||||
do # cycle over the arguments
|
||||
case $arg in
|
||||
"--mode=compile")
|
||||
# insert --quiet before "--mode=compile"
|
||||
set fnord "$@" --quiet
|
||||
shift # fnord
|
||||
;;
|
||||
esac
|
||||
set fnord "$@" "$arg"
|
||||
shift # fnord
|
||||
shift # "$arg"
|
||||
done
|
||||
;;
|
||||
esac
|
||||
"$@" -E |
|
||||
sed -n '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' |
|
||||
sed '$ s: \\$::' > "$tmpdepfile"
|
||||
) &
|
||||
proc=$!
|
||||
"$@"
|
||||
stat=$?
|
||||
wait "$proc"
|
||||
if test "$stat" != 0; then exit $stat; fi
|
||||
rm -f "$depfile"
|
||||
echo "$object : \\" > "$depfile"
|
||||
cat < "$tmpdepfile" >> "$depfile"
|
||||
sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile"
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
msvisualcpp)
|
||||
# Important note: in order to support this mode, a compiler *must*
|
||||
# always write the proprocessed file to stdout, regardless of -o,
|
||||
# because we must use -o when running libtool.
|
||||
( IFS=" "
|
||||
case " $* " in
|
||||
*" --mode=compile "*)
|
||||
for arg
|
||||
do # cycle over the arguments
|
||||
case $arg in
|
||||
"--mode=compile")
|
||||
# insert --quiet before "--mode=compile"
|
||||
set fnord "$@" --quiet
|
||||
shift # fnord
|
||||
;;
|
||||
esac
|
||||
set fnord "$@" "$arg"
|
||||
shift # fnord
|
||||
shift # "$arg"
|
||||
done
|
||||
;;
|
||||
esac
|
||||
"$@" -E |
|
||||
sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile"
|
||||
) &
|
||||
proc=$!
|
||||
"$@"
|
||||
stat=$?
|
||||
wait "$proc"
|
||||
if test "$stat" != 0; then exit $stat; fi
|
||||
rm -f "$depfile"
|
||||
echo "$object : \\" > "$depfile"
|
||||
. "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile"
|
||||
echo " " >> "$depfile"
|
||||
. "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile"
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
none)
|
||||
exec "$@"
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "Unknown depmode $depmode" 1>&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
||||
@@ -1,71 +0,0 @@
|
||||
#! /bin/sh
|
||||
|
||||
# Global variables...
|
||||
AUTOCONF="autoconf"
|
||||
AUTOHEADER="autoheader"
|
||||
AUTOM4TE="autom4te"
|
||||
AUTOMAKE="automake"
|
||||
ACLOCAL="aclocal"
|
||||
|
||||
|
||||
# We don't use variable here for remembering the type ... strings.
|
||||
# local variables are not that portable, but we fear namespace issues with
|
||||
# our includer. The repeated type calls are not that expensive.
|
||||
checkAutoconf()
|
||||
{
|
||||
if test -x "`$WHICH autoconf-2.5x`" ; then
|
||||
AUTOCONF="`$WHICH autoconf-2.5x`"
|
||||
elif test -x "`$WHICH autoconf-2.53`" ; then
|
||||
AUTOCONF="`$WHICH autoconf-2.53`"
|
||||
elif test -x "`$WHICH autoconf-2.52`" ; then
|
||||
AUTOCONF="`$WHICH autoconf-2.52`"
|
||||
elif test -x "`$WHICH autoconf2.50`" ; then
|
||||
AUTOCONF="`$WHICH autoconf2.50`"
|
||||
fi
|
||||
}
|
||||
|
||||
checkAutoheader()
|
||||
{
|
||||
if test -x "`$WHICH autoheader-2.5x`" ; then
|
||||
AUTOHEADER="`$WHICH autoheader-2.5x`"
|
||||
AUTOM4TE="`$WHICH autom4te-2.5x`"
|
||||
elif test -x "`$WHICH autoheader-2.53`" ; then
|
||||
AUTOHEADER="`$WHICH autoheader-2.53`"
|
||||
AUTOM4TE="`$WHICH autom4te-2.53`"
|
||||
elif test -x "`$WHICH autoheader-2.52`" ; then
|
||||
AUTOHEADER="`$WHICH autoheader-2.52`"
|
||||
elif test -x "`$WHICH autoheader2.50`" ; then
|
||||
AUTOHEADER="`$WHICH autoheader2.50`"
|
||||
fi
|
||||
}
|
||||
|
||||
checkAutomakeAclocal ()
|
||||
{
|
||||
if test -z "$UNSERMAKE"; then
|
||||
if test -x "`$WHICH automake-1.5`" ; then
|
||||
AUTOMAKE="`$WHICH automake-1.5`"
|
||||
ACLOCAL="`$WHICH aclocal-1.5`"
|
||||
elif test -x "`$WHICH automake-1.6`" ; then
|
||||
AUTOMAKE="`$WHICH automake-1.6`"
|
||||
ACLOCAL="`$WHICH aclocal-1.6`"
|
||||
fi
|
||||
else
|
||||
AUTOMAKE="$UNSERMAKE"
|
||||
fi
|
||||
}
|
||||
|
||||
checkWhich ()
|
||||
{
|
||||
WHICH=""
|
||||
for i in "type -p" "which" "type" ; do
|
||||
T=`$i sh`
|
||||
test -x "$T" && WHICH="$i" && break
|
||||
done
|
||||
}
|
||||
|
||||
checkWhich
|
||||
checkAutoconf
|
||||
checkAutoheader
|
||||
checkAutomakeAclocal
|
||||
|
||||
export WHICH AUTOHEADER AUTOCONF AUTOM4TE AUTOMAKE ACLOCAL
|
||||
@@ -1,251 +0,0 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# install - install a program, script, or datafile
|
||||
# This comes from X11R5 (mit/util/scripts/install.sh).
|
||||
#
|
||||
# Copyright 1991 by the Massachusetts Institute of Technology
|
||||
#
|
||||
# Permission to use, copy, modify, distribute, and sell this software and its
|
||||
# documentation for any purpose is hereby granted without fee, provided that
|
||||
# the above copyright notice appear in all copies and that both that
|
||||
# copyright notice and this permission notice appear in supporting
|
||||
# documentation, and that the name of M.I.T. not be used in advertising or
|
||||
# publicity pertaining to distribution of the software without specific,
|
||||
# written prior permission. M.I.T. makes no representations about the
|
||||
# suitability of this software for any purpose. It is provided "as is"
|
||||
# without express or implied warranty.
|
||||
#
|
||||
# Calling this script install-sh is preferred over install.sh, to prevent
|
||||
# `make' implicit rules from creating a file called install from it
|
||||
# when there is no Makefile.
|
||||
#
|
||||
# This script is compatible with the BSD install script, but was written
|
||||
# from scratch. It can only install one file at a time, a restriction
|
||||
# shared with many OS's install programs.
|
||||
|
||||
|
||||
# set DOITPROG to echo to test this script
|
||||
|
||||
# Don't use :- since 4.3BSD and earlier shells don't like it.
|
||||
doit="${DOITPROG-}"
|
||||
|
||||
|
||||
# put in absolute paths if you don't have them in your path; or use env. vars.
|
||||
|
||||
mvprog="${MVPROG-mv}"
|
||||
cpprog="${CPPROG-cp}"
|
||||
chmodprog="${CHMODPROG-chmod}"
|
||||
chownprog="${CHOWNPROG-chown}"
|
||||
chgrpprog="${CHGRPPROG-chgrp}"
|
||||
stripprog="${STRIPPROG-strip}"
|
||||
rmprog="${RMPROG-rm}"
|
||||
mkdirprog="${MKDIRPROG-mkdir}"
|
||||
|
||||
transformbasename=""
|
||||
transform_arg=""
|
||||
instcmd="$mvprog"
|
||||
chmodcmd="$chmodprog 0755"
|
||||
chowncmd=""
|
||||
chgrpcmd=""
|
||||
stripcmd=""
|
||||
rmcmd="$rmprog -f"
|
||||
mvcmd="$mvprog"
|
||||
src=""
|
||||
dst=""
|
||||
dir_arg=""
|
||||
|
||||
while [ x"$1" != x ]; do
|
||||
case $1 in
|
||||
-c) instcmd="$cpprog"
|
||||
shift
|
||||
continue;;
|
||||
|
||||
-d) dir_arg=true
|
||||
shift
|
||||
continue;;
|
||||
|
||||
-m) chmodcmd="$chmodprog $2"
|
||||
shift
|
||||
shift
|
||||
continue;;
|
||||
|
||||
-o) chowncmd="$chownprog $2"
|
||||
shift
|
||||
shift
|
||||
continue;;
|
||||
|
||||
-g) chgrpcmd="$chgrpprog $2"
|
||||
shift
|
||||
shift
|
||||
continue;;
|
||||
|
||||
-s) stripcmd="$stripprog"
|
||||
shift
|
||||
continue;;
|
||||
|
||||
-t=*) transformarg=`echo $1 | sed 's/-t=//'`
|
||||
shift
|
||||
continue;;
|
||||
|
||||
-b=*) transformbasename=`echo $1 | sed 's/-b=//'`
|
||||
shift
|
||||
continue;;
|
||||
|
||||
*) if [ x"$src" = x ]
|
||||
then
|
||||
src=$1
|
||||
else
|
||||
# this colon is to work around a 386BSD /bin/sh bug
|
||||
:
|
||||
dst=$1
|
||||
fi
|
||||
shift
|
||||
continue;;
|
||||
esac
|
||||
done
|
||||
|
||||
if [ x"$src" = x ]
|
||||
then
|
||||
echo "install: no input file specified"
|
||||
exit 1
|
||||
else
|
||||
true
|
||||
fi
|
||||
|
||||
if [ x"$dir_arg" != x ]; then
|
||||
dst=$src
|
||||
src=""
|
||||
|
||||
if [ -d $dst ]; then
|
||||
instcmd=:
|
||||
chmodcmd=""
|
||||
else
|
||||
instcmd=mkdir
|
||||
fi
|
||||
else
|
||||
|
||||
# Waiting for this to be detected by the "$instcmd $src $dsttmp" command
|
||||
# might cause directories to be created, which would be especially bad
|
||||
# if $src (and thus $dsttmp) contains '*'.
|
||||
|
||||
if [ -f $src -o -d $src ]
|
||||
then
|
||||
true
|
||||
else
|
||||
echo "install: $src does not exist"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ x"$dst" = x ]
|
||||
then
|
||||
echo "install: no destination specified"
|
||||
exit 1
|
||||
else
|
||||
true
|
||||
fi
|
||||
|
||||
# If destination is a directory, append the input filename; if your system
|
||||
# does not like double slashes in filenames, you may need to add some logic
|
||||
|
||||
if [ -d $dst ]
|
||||
then
|
||||
dst="$dst"/`basename $src`
|
||||
else
|
||||
true
|
||||
fi
|
||||
fi
|
||||
|
||||
## this sed command emulates the dirname command
|
||||
dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
|
||||
|
||||
# Make sure that the destination directory exists.
|
||||
# this part is taken from Noah Friedman's mkinstalldirs script
|
||||
|
||||
# Skip lots of stat calls in the usual case.
|
||||
if [ ! -d "$dstdir" ]; then
|
||||
defaultIFS='
|
||||
'
|
||||
IFS="${IFS-${defaultIFS}}"
|
||||
|
||||
oIFS="${IFS}"
|
||||
# Some sh's can't handle IFS=/ for some reason.
|
||||
IFS='%'
|
||||
set - `echo ${dstdir} | sed -e 's@/@%@g' -e 's@^%@/@'`
|
||||
IFS="${oIFS}"
|
||||
|
||||
pathcomp=''
|
||||
|
||||
while [ $# -ne 0 ] ; do
|
||||
pathcomp="${pathcomp}${1}"
|
||||
shift
|
||||
|
||||
if [ ! -d "${pathcomp}" ] ;
|
||||
then
|
||||
$mkdirprog "${pathcomp}"
|
||||
else
|
||||
true
|
||||
fi
|
||||
|
||||
pathcomp="${pathcomp}/"
|
||||
done
|
||||
fi
|
||||
|
||||
if [ x"$dir_arg" != x ]
|
||||
then
|
||||
$doit $instcmd $dst &&
|
||||
|
||||
if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; else true ; fi &&
|
||||
if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; else true ; fi &&
|
||||
if [ x"$stripcmd" != x ]; then $doit $stripcmd $dst; else true ; fi &&
|
||||
if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dst; else true ; fi
|
||||
else
|
||||
|
||||
# If we're going to rename the final executable, determine the name now.
|
||||
|
||||
if [ x"$transformarg" = x ]
|
||||
then
|
||||
dstfile=`basename $dst`
|
||||
else
|
||||
dstfile=`basename $dst $transformbasename |
|
||||
sed $transformarg`$transformbasename
|
||||
fi
|
||||
|
||||
# don't allow the sed command to completely eliminate the filename
|
||||
|
||||
if [ x"$dstfile" = x ]
|
||||
then
|
||||
dstfile=`basename $dst`
|
||||
else
|
||||
true
|
||||
fi
|
||||
|
||||
# Make a temp file name in the proper directory.
|
||||
|
||||
dsttmp=$dstdir/#inst.$$#
|
||||
|
||||
# Move or copy the file name to the temp name
|
||||
|
||||
$doit $instcmd $src $dsttmp &&
|
||||
|
||||
trap "rm -f ${dsttmp}" 0 &&
|
||||
|
||||
# and set any options; do chmod last to preserve setuid bits
|
||||
|
||||
# If any of these fail, we abort the whole thing. If we want to
|
||||
# ignore errors from any of these, just make sure not to ignore
|
||||
# errors from the above "$doit $instcmd $src $dsttmp" command.
|
||||
|
||||
if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; else true;fi &&
|
||||
if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; else true;fi &&
|
||||
if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; else true;fi &&
|
||||
if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; else true;fi &&
|
||||
|
||||
# Now rename the file to the real destination.
|
||||
|
||||
$doit $rmcmd -f $dstdir/$dstfile &&
|
||||
$doit $mvcmd $dsttmp $dstdir/$dstfile
|
||||
|
||||
fi &&
|
||||
|
||||
|
||||
exit 0
|
||||
@@ -1,302 +0,0 @@
|
||||
#! /bin/sh
|
||||
# Common stub for a few missing GNU programs while installing.
|
||||
# Copyright 1996, 1997, 1999, 2000 Free Software Foundation, Inc.
|
||||
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
|
||||
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2, or (at your option)
|
||||
# any later version.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
||||
# 02111-1307, USA.
|
||||
|
||||
# As a special exception to the GNU General Public License, if you
|
||||
# distribute this file as part of a program that contains a
|
||||
# configuration script generated by Autoconf, you may include it under
|
||||
# the same distribution terms that you use for the rest of that program.
|
||||
|
||||
if test $# -eq 0; then
|
||||
echo 1>&2 "Try \`$0 --help' for more information"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# In the cases where this matters, `missing' is being run in the
|
||||
# srcdir already.
|
||||
if test -f configure.ac; then
|
||||
configure_ac=configure.ac
|
||||
else
|
||||
configure_ac=configure.in
|
||||
fi
|
||||
|
||||
case "$1" in
|
||||
--run)
|
||||
# Try to run requested program, and just exit if it succeeds.
|
||||
run=
|
||||
shift
|
||||
exec="$@"
|
||||
|
||||
# Suck in the AUTOCONF detection code.
|
||||
admindir=`echo "$0" | sed 's%[\\/][^\\/][^\\/]*$%%'`
|
||||
test "x$admindir" = "x$0" && admindir=.
|
||||
. $admindir/detect-autoconf.sh
|
||||
|
||||
case "$1" in
|
||||
aclocal)
|
||||
exec="`echo $exec|sed -e \"s^aclocal^$ACLOCAL^\"`"
|
||||
;;
|
||||
autoheader)
|
||||
exec="`echo $exec|sed -e \"s^autoheader^$AUTOHEADER^\"`"
|
||||
;;
|
||||
autoconf)
|
||||
exec="`echo $exec|sed -e \"s^autoconf^$AUTOCONF^\"`"
|
||||
;;
|
||||
automake)
|
||||
exec="`echo $exec|sed -e \"s^automake^$AUTOMAKE^\"`"
|
||||
;;
|
||||
esac
|
||||
$exec && exit 0
|
||||
;;
|
||||
esac
|
||||
|
||||
# If it does not exist, or fails to run (possibly an outdated version),
|
||||
# try to emulate it.
|
||||
case "$1" in
|
||||
|
||||
-h|--h|--he|--hel|--help)
|
||||
echo "\
|
||||
$0 [OPTION]... PROGRAM [ARGUMENT]...
|
||||
|
||||
Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an
|
||||
error status if there is no known handling for PROGRAM.
|
||||
|
||||
Options:
|
||||
-h, --help display this help and exit
|
||||
-v, --version output version information and exit
|
||||
--run try to run the given command, and emulate it if it fails
|
||||
|
||||
Supported PROGRAM values:
|
||||
aclocal touch file \`aclocal.m4'
|
||||
autoconf touch file \`configure'
|
||||
autoheader touch file \`config.h.in'
|
||||
automake touch all \`Makefile.in' files
|
||||
bison create \`y.tab.[ch]', if possible, from existing .[ch]
|
||||
flex create \`lex.yy.c', if possible, from existing .c
|
||||
help2man touch the output file
|
||||
lex create \`lex.yy.c', if possible, from existing .c
|
||||
makeinfo touch the output file
|
||||
tar try tar, gnutar, gtar, then tar without non-portable flags
|
||||
yacc create \`y.tab.[ch]', if possible, from existing .[ch]"
|
||||
;;
|
||||
|
||||
-v|--v|--ve|--ver|--vers|--versi|--versio|--version)
|
||||
echo "missing 0.3 - GNU automake"
|
||||
;;
|
||||
|
||||
-*)
|
||||
echo 1>&2 "$0: Unknown \`$1' option"
|
||||
echo 1>&2 "Try \`$0 --help' for more information"
|
||||
exit 1
|
||||
;;
|
||||
|
||||
aclocal)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is missing on your system. You should only need it if
|
||||
you modified \`acinclude.m4' or \`${configure_ac}'. You might want
|
||||
to install the \`Automake' and \`Perl' packages. Grab them from
|
||||
any GNU archive site."
|
||||
touch aclocal.m4
|
||||
;;
|
||||
|
||||
autoconf)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is missing on your system. You should only need it if
|
||||
you modified \`${configure_ac}'. You might want to install the
|
||||
\`Autoconf' and \`GNU m4' packages. Grab them from any GNU
|
||||
archive site."
|
||||
touch configure
|
||||
;;
|
||||
|
||||
autoheader)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is missing on your system. You should only need it if
|
||||
you modified \`acconfig.h' or \`${configure_ac}'. You might want
|
||||
to install the \`Autoconf' and \`GNU m4' packages. Grab them
|
||||
from any GNU archive site."
|
||||
files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}`
|
||||
test -z "$files" && files="config.h"
|
||||
touch_files=
|
||||
for f in $files; do
|
||||
case "$f" in
|
||||
*:*) touch_files="$touch_files "`echo "$f" |
|
||||
sed -e 's/^[^:]*://' -e 's/:.*//'`;;
|
||||
*) touch_files="$touch_files $f.in";;
|
||||
esac
|
||||
done
|
||||
touch $touch_files
|
||||
;;
|
||||
|
||||
automake)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is missing on your system. You should only need it if
|
||||
you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'.
|
||||
You might want to install the \`Automake' and \`Perl' packages.
|
||||
Grab them from any GNU archive site."
|
||||
find . -type f -name Makefile.am -print |
|
||||
sed 's/\.am$/.in/' |
|
||||
while read f; do touch "$f"; done
|
||||
;;
|
||||
|
||||
bison|yacc)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is missing on your system. You should only need it if
|
||||
you modified a \`.y' file. You may need the \`Bison' package
|
||||
in order for those modifications to take effect. You can get
|
||||
\`Bison' from any GNU archive site."
|
||||
rm -f y.tab.c y.tab.h
|
||||
if [ $# -ne 1 ]; then
|
||||
eval LASTARG="\${$#}"
|
||||
case "$LASTARG" in
|
||||
*.y)
|
||||
SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
|
||||
if [ -f "$SRCFILE" ]; then
|
||||
cp "$SRCFILE" y.tab.c
|
||||
fi
|
||||
SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
|
||||
if [ -f "$SRCFILE" ]; then
|
||||
cp "$SRCFILE" y.tab.h
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
if [ ! -f y.tab.h ]; then
|
||||
echo >y.tab.h
|
||||
fi
|
||||
if [ ! -f y.tab.c ]; then
|
||||
echo 'main() { return 0; }' >y.tab.c
|
||||
fi
|
||||
;;
|
||||
|
||||
lex|flex)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is missing on your system. You should only need it if
|
||||
you modified a \`.l' file. You may need the \`Flex' package
|
||||
in order for those modifications to take effect. You can get
|
||||
\`Flex' from any GNU archive site."
|
||||
rm -f lex.yy.c
|
||||
if [ $# -ne 1 ]; then
|
||||
eval LASTARG="\${$#}"
|
||||
case "$LASTARG" in
|
||||
*.l)
|
||||
SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
|
||||
if [ -f "$SRCFILE" ]; then
|
||||
cp "$SRCFILE" lex.yy.c
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
if [ ! -f lex.yy.c ]; then
|
||||
echo 'main() { return 0; }' >lex.yy.c
|
||||
fi
|
||||
;;
|
||||
|
||||
help2man)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is missing on your system. You should only need it if
|
||||
you modified a dependency of a manual page. You may need the
|
||||
\`Help2man' package in order for those modifications to take
|
||||
effect. You can get \`Help2man' from any GNU archive site."
|
||||
|
||||
file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
|
||||
if test -z "$file"; then
|
||||
file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'`
|
||||
fi
|
||||
if [ -f "$file" ]; then
|
||||
touch $file
|
||||
else
|
||||
test -z "$file" || exec >$file
|
||||
echo ".ab help2man is required to generate this page"
|
||||
exit 1
|
||||
fi
|
||||
;;
|
||||
|
||||
makeinfo)
|
||||
if test -z "$run" && (makeinfo --version) > /dev/null 2>&1; then
|
||||
# We have makeinfo, but it failed.
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is missing on your system. You should only need it if
|
||||
you modified a \`.texi' or \`.texinfo' file, or any other file
|
||||
indirectly affecting the aspect of the manual. The spurious
|
||||
call might also be the consequence of using a buggy \`make' (AIX,
|
||||
DU, IRIX). You might want to install the \`Texinfo' package or
|
||||
the \`GNU make' package. Grab either from any GNU archive site."
|
||||
file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
|
||||
if test -z "$file"; then
|
||||
file=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
|
||||
file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $file`
|
||||
fi
|
||||
touch $file
|
||||
;;
|
||||
|
||||
tar)
|
||||
shift
|
||||
if test -n "$run"; then
|
||||
echo 1>&2 "ERROR: \`tar' requires --run"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# We have already tried tar in the generic part.
|
||||
# Look for gnutar/gtar before invocation to avoid ugly error
|
||||
# messages.
|
||||
if (gnutar --version > /dev/null 2>&1); then
|
||||
gnutar ${1+"$@"} && exit 0
|
||||
fi
|
||||
if (gtar --version > /dev/null 2>&1); then
|
||||
gtar ${1+"$@"} && exit 0
|
||||
fi
|
||||
firstarg="$1"
|
||||
if shift; then
|
||||
case "$firstarg" in
|
||||
*o*)
|
||||
firstarg=`echo "$firstarg" | sed s/o//`
|
||||
tar "$firstarg" ${1+"$@"} && exit 0
|
||||
;;
|
||||
esac
|
||||
case "$firstarg" in
|
||||
*h*)
|
||||
firstarg=`echo "$firstarg" | sed s/h//`
|
||||
tar "$firstarg" ${1+"$@"} && exit 0
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
echo 1>&2 "\
|
||||
WARNING: I can't seem to be able to run \`tar' with the given arguments.
|
||||
You may want to install GNU tar or Free paxutils, or check the
|
||||
command line arguments."
|
||||
exit 1
|
||||
;;
|
||||
|
||||
*)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is needed, and you do not seem to have it handy on your
|
||||
system. You might have modified some files without having the
|
||||
proper tools for further handling them. Check the \`README' file,
|
||||
it often tells you about the needed prerequirements for installing
|
||||
this package. You may also peek at any GNU archive site, in case
|
||||
some other package would contain this missing \`$1' program."
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
||||
@@ -1,40 +0,0 @@
|
||||
#! /bin/sh
|
||||
# mkinstalldirs --- make directory hierarchy
|
||||
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
|
||||
# Created: 1993-05-16
|
||||
# Public domain
|
||||
|
||||
# $Id: mkinstalldirs,v 1.1.1.1 2003/02/03 21:19:56 mkb137 Exp $
|
||||
|
||||
errstatus=0
|
||||
|
||||
for file
|
||||
do
|
||||
set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
|
||||
shift
|
||||
|
||||
pathcomp=
|
||||
for d
|
||||
do
|
||||
pathcomp="$pathcomp$d"
|
||||
case "$pathcomp" in
|
||||
-* ) pathcomp=./$pathcomp ;;
|
||||
esac
|
||||
|
||||
if test ! -d "$pathcomp"; then
|
||||
echo "mkdir $pathcomp"
|
||||
|
||||
mkdir "$pathcomp" || lasterr=$?
|
||||
|
||||
if test ! -d "$pathcomp"; then
|
||||
errstatus=$lasterr
|
||||
fi
|
||||
fi
|
||||
|
||||
pathcomp="$pathcomp/"
|
||||
done
|
||||
done
|
||||
|
||||
exit $errstatus
|
||||
|
||||
# mkinstalldirs ends here
|
||||
@@ -1,143 +0,0 @@
|
||||
#! /bin/sh
|
||||
# ylwrap - wrapper for lex/yacc invocations.
|
||||
# Copyright 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
|
||||
# Written by Tom Tromey <tromey@cygnus.com>.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2, or (at your option)
|
||||
# any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
|
||||
# As a special exception to the GNU General Public License, if you
|
||||
# distribute this file as part of a program that contains a
|
||||
# configuration script generated by Autoconf, you may include it under
|
||||
# the same distribution terms that you use for the rest of that program.
|
||||
|
||||
# Usage:
|
||||
# ylwrap INPUT [OUTPUT DESIRED]... -- PROGRAM [ARGS]...
|
||||
# * INPUT is the input file
|
||||
# * OUTPUT is file PROG generates
|
||||
# * DESIRED is file we actually want
|
||||
# * PROGRAM is program to run
|
||||
# * ARGS are passed to PROG
|
||||
# Any number of OUTPUT,DESIRED pairs may be used.
|
||||
|
||||
# The input.
|
||||
input="$1"
|
||||
shift
|
||||
case "$input" in
|
||||
[\\/]* | ?:[\\/]*)
|
||||
# Absolute path; do nothing.
|
||||
;;
|
||||
*)
|
||||
# Relative path. Make it absolute.
|
||||
input="`pwd`/$input"
|
||||
;;
|
||||
esac
|
||||
|
||||
# The directory holding the input.
|
||||
input_dir=`echo "$input" | sed -e 's,\([\\/]\)[^\\/]*$,\1,'`
|
||||
# Quote $INPUT_DIR so we can use it in a regexp.
|
||||
# FIXME: really we should care about more than `.' and `\'.
|
||||
input_rx=`echo "$input_dir" | sed -e 's,\\\\,\\\\\\\\,g' -e 's,\\.,\\\\.,g'`
|
||||
|
||||
echo "got $input_rx"
|
||||
|
||||
pairlist=
|
||||
while test "$#" -ne 0; do
|
||||
if test "$1" = "--"; then
|
||||
shift
|
||||
break
|
||||
fi
|
||||
pairlist="$pairlist $1"
|
||||
shift
|
||||
done
|
||||
|
||||
# The program to run.
|
||||
prog="$1"
|
||||
shift
|
||||
# Make any relative path in $prog absolute.
|
||||
case "$prog" in
|
||||
[\\/]* | ?:[\\/]*) ;;
|
||||
*[\\/]*) prog="`pwd`/$prog" ;;
|
||||
esac
|
||||
|
||||
# FIXME: add hostname here for parallel makes that run commands on
|
||||
# other machines. But that might take us over the 14-char limit.
|
||||
dirname=ylwrap$$
|
||||
trap "cd `pwd`; rm -rf $dirname > /dev/null 2>&1" 1 2 3 15
|
||||
mkdir $dirname || exit 1
|
||||
|
||||
cd $dirname
|
||||
|
||||
$prog ${1+"$@"} "$input"
|
||||
status=$?
|
||||
|
||||
if test $status -eq 0; then
|
||||
set X $pairlist
|
||||
shift
|
||||
first=yes
|
||||
# Since DOS filename conventions don't allow two dots,
|
||||
# the DOS version of Bison writes out y_tab.c instead of y.tab.c
|
||||
# and y_tab.h instead of y.tab.h. Test to see if this is the case.
|
||||
y_tab_nodot="no"
|
||||
if test -f y_tab.c || test -f y_tab.h; then
|
||||
y_tab_nodot="yes"
|
||||
fi
|
||||
|
||||
while test "$#" -ne 0; do
|
||||
from="$1"
|
||||
# Handle y_tab.c and y_tab.h output by DOS
|
||||
if test $y_tab_nodot = "yes"; then
|
||||
if test $from = "y.tab.c"; then
|
||||
from="y_tab.c"
|
||||
else
|
||||
if test $from = "y.tab.h"; then
|
||||
from="y_tab.h"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
if test -f "$from"; then
|
||||
# If $2 is an absolute path name, then just use that,
|
||||
# otherwise prepend `../'.
|
||||
case "$2" in
|
||||
[\\/]* | ?:[\\/]*) target="$2";;
|
||||
*) target="../$2";;
|
||||
esac
|
||||
|
||||
# Edit out `#line' or `#' directives. We don't want the
|
||||
# resulting debug information to point at an absolute srcdir;
|
||||
# it is better for it to just mention the .y file with no
|
||||
# path.
|
||||
sed -e "/^#/ s,$input_rx,," "$from" > "$target" || status=$?
|
||||
else
|
||||
# A missing file is only an error for the first file. This
|
||||
# is a blatant hack to let us support using "yacc -d". If -d
|
||||
# is not specified, we don't want an error when the header
|
||||
# file is "missing".
|
||||
if test $first = yes; then
|
||||
status=1
|
||||
fi
|
||||
fi
|
||||
shift
|
||||
shift
|
||||
first=no
|
||||
done
|
||||
else
|
||||
status=$?
|
||||
fi
|
||||
|
||||
# Remove the directory.
|
||||
cd ..
|
||||
rm -rf $dirname
|
||||
|
||||
exit $status
|
||||
@@ -1,111 +0,0 @@
|
||||
# This file was created by autom4te-2.57.
|
||||
# It contains the lists of macros which have been traced.
|
||||
# It can be safely removed.
|
||||
|
||||
@request = (
|
||||
bless( [
|
||||
'0',
|
||||
1,
|
||||
[
|
||||
'/usr/share/autoconf'
|
||||
],
|
||||
[
|
||||
'/usr/share/autoconf/autoconf/autoconf.m4f',
|
||||
'aclocal.m4',
|
||||
'configure.in'
|
||||
],
|
||||
{
|
||||
'm4_pattern_forbid' => 1,
|
||||
'AC_TYPE_OFF_T' => 1,
|
||||
'AC_C_VOLATILE' => 1,
|
||||
'AC_FUNC_CLOSEDIR_VOID' => 1,
|
||||
'AC_REPLACE_FNMATCH' => 1,
|
||||
'AC_PROG_LIBTOOL' => 1,
|
||||
'AC_FUNC_STAT' => 1,
|
||||
'AC_HEADER_TIME' => 1,
|
||||
'AC_FUNC_WAIT3' => 1,
|
||||
'AM_AUTOMAKE_VERSION' => 1,
|
||||
'AC_STRUCT_TM' => 1,
|
||||
'AC_FUNC_LSTAT' => 1,
|
||||
'AC_TYPE_MODE_T' => 1,
|
||||
'AC_FUNC_GETMNTENT' => 1,
|
||||
'AC_FUNC_STRTOD' => 1,
|
||||
'AC_CHECK_HEADERS' => 1,
|
||||
'AC_FUNC_STRNLEN' => 1,
|
||||
'AC_PROG_CXX' => 1,
|
||||
'AC_PATH_X' => 1,
|
||||
'AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK' => 1,
|
||||
'AC_PROG_AWK' => 1,
|
||||
'AC_HEADER_STDC' => 1,
|
||||
'AC_HEADER_MAJOR' => 1,
|
||||
'AC_FUNC_ERROR_AT_LINE' => 1,
|
||||
'AC_PROG_GCC_TRADITIONAL' => 1,
|
||||
'AC_LIBSOURCE' => 1,
|
||||
'AC_FUNC_MBRTOWC' => 1,
|
||||
'AC_STRUCT_ST_BLOCKS' => 1,
|
||||
'AC_TYPE_SIGNAL' => 1,
|
||||
'AC_TYPE_UID_T' => 1,
|
||||
'AC_CONFIG_AUX_DIR' => 1,
|
||||
'AC_PROG_MAKE_SET' => 1,
|
||||
'm4_pattern_allow' => 1,
|
||||
'AC_DEFINE_TRACE_LITERAL' => 1,
|
||||
'AC_FUNC_STRERROR_R' => 1,
|
||||
'AC_PROG_CC' => 1,
|
||||
'AC_DECL_SYS_SIGLIST' => 1,
|
||||
'AC_FUNC_FORK' => 1,
|
||||
'AC_FUNC_VPRINTF' => 1,
|
||||
'AC_FUNC_STRCOLL' => 1,
|
||||
'AC_PROG_YACC' => 1,
|
||||
'AC_INIT' => 1,
|
||||
'AC_STRUCT_TIMEZONE' => 1,
|
||||
'AC_FUNC_CHOWN' => 1,
|
||||
'AC_SUBST' => 1,
|
||||
'AC_FUNC_ALLOCA' => 1,
|
||||
'AC_CANONICAL_HOST' => 1,
|
||||
'AC_FUNC_GETPGRP' => 1,
|
||||
'AC_PROG_RANLIB' => 1,
|
||||
'AM_INIT_AUTOMAKE' => 1,
|
||||
'AC_FUNC_SETPGRP' => 1,
|
||||
'AC_CONFIG_SUBDIRS' => 1,
|
||||
'AC_FUNC_MMAP' => 1,
|
||||
'AC_FUNC_REALLOC' => 1,
|
||||
'AC_TYPE_SIZE_T' => 1,
|
||||
'AC_CHECK_TYPES' => 1,
|
||||
'AC_CHECK_MEMBERS' => 1,
|
||||
'AM_MAINTAINER_MODE' => 1,
|
||||
'AC_FUNC_UTIME_NULL' => 1,
|
||||
'AC_FUNC_SELECT_ARGTYPES' => 1,
|
||||
'AC_FUNC_STRFTIME' => 1,
|
||||
'AC_HEADER_STAT' => 1,
|
||||
'AC_C_INLINE' => 1,
|
||||
'AC_PROG_CPP' => 1,
|
||||
'AC_C_CONST' => 1,
|
||||
'AC_PROG_LEX' => 1,
|
||||
'AC_TYPE_PID_T' => 1,
|
||||
'AC_CONFIG_FILES' => 1,
|
||||
'include' => 1,
|
||||
'AC_FUNC_SETVBUF_REVERSED' => 1,
|
||||
'AC_PROG_INSTALL' => 1,
|
||||
'AM_GNU_GETTEXT' => 1,
|
||||
'AC_FUNC_OBSTACK' => 1,
|
||||
'AC_CHECK_LIB' => 1,
|
||||
'AC_FUNC_MALLOC' => 1,
|
||||
'AC_FUNC_GETGROUPS' => 1,
|
||||
'AC_FUNC_GETLOADAVG' => 1,
|
||||
'AH_OUTPUT' => 1,
|
||||
'AC_FUNC_FSEEKO' => 1,
|
||||
'AM_PROG_CC_C_O' => 1,
|
||||
'AM_CONDITIONAL' => 1,
|
||||
'AC_CANONICAL_SYSTEM' => 1,
|
||||
'AC_FUNC_MKTIME' => 1,
|
||||
'AC_CONFIG_HEADERS' => 1,
|
||||
'AC_HEADER_SYS_WAIT' => 1,
|
||||
'AC_FUNC_MEMCMP' => 1,
|
||||
'AC_PROG_LN_S' => 1,
|
||||
'm4_include' => 1,
|
||||
'AC_HEADER_DIRENT' => 1,
|
||||
'AC_CHECK_FUNCS' => 1
|
||||
}
|
||||
], 'Request' )
|
||||
);
|
||||
|
||||
@@ -1,560 +0,0 @@
|
||||
m4trace:configure.in:25: -1- AC_INIT([acinclude.m4])
|
||||
m4trace:configure.in:25: -1- m4_pattern_forbid([^_?A[CHUM]_])
|
||||
m4trace:configure.in:25: -1- m4_pattern_forbid([_AC_])
|
||||
m4trace:configure.in:25: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
|
||||
m4trace:configure.in:25: -1- m4_pattern_allow([^AS_FLAGS$])
|
||||
m4trace:configure.in:25: -1- m4_pattern_forbid([^_?m4_])
|
||||
m4trace:configure.in:25: -1- m4_pattern_forbid([^dnl$])
|
||||
m4trace:configure.in:25: -1- m4_pattern_forbid([^_?AS_])
|
||||
m4trace:configure.in:25: -1- AC_SUBST([SHELL], [${CONFIG_SHELL-/bin/sh}])
|
||||
m4trace:configure.in:25: -1- AC_SUBST([PATH_SEPARATOR])
|
||||
m4trace:configure.in:25: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME], ['AC_PACKAGE_NAME'])])
|
||||
m4trace:configure.in:25: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME], ['AC_PACKAGE_TARNAME'])])
|
||||
m4trace:configure.in:25: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION], ['AC_PACKAGE_VERSION'])])
|
||||
m4trace:configure.in:25: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING], ['AC_PACKAGE_STRING'])])
|
||||
m4trace:configure.in:25: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])])
|
||||
m4trace:configure.in:25: -1- AC_SUBST([exec_prefix], [NONE])
|
||||
m4trace:configure.in:25: -1- AC_SUBST([prefix], [NONE])
|
||||
m4trace:configure.in:25: -1- AC_SUBST([program_transform_name], [s,x,x,])
|
||||
m4trace:configure.in:25: -1- AC_SUBST([bindir], ['${exec_prefix}/bin'])
|
||||
m4trace:configure.in:25: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin'])
|
||||
m4trace:configure.in:25: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec'])
|
||||
m4trace:configure.in:25: -1- AC_SUBST([datadir], ['${prefix}/share'])
|
||||
m4trace:configure.in:25: -1- AC_SUBST([sysconfdir], ['${prefix}/etc'])
|
||||
m4trace:configure.in:25: -1- AC_SUBST([sharedstatedir], ['${prefix}/com'])
|
||||
m4trace:configure.in:25: -1- AC_SUBST([localstatedir], ['${prefix}/var'])
|
||||
m4trace:configure.in:25: -1- AC_SUBST([libdir], ['${exec_prefix}/lib'])
|
||||
m4trace:configure.in:25: -1- AC_SUBST([includedir], ['${prefix}/include'])
|
||||
m4trace:configure.in:25: -1- AC_SUBST([oldincludedir], ['/usr/include'])
|
||||
m4trace:configure.in:25: -1- AC_SUBST([infodir], ['${prefix}/info'])
|
||||
m4trace:configure.in:25: -1- AC_SUBST([mandir], ['${prefix}/man'])
|
||||
m4trace:configure.in:25: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME])
|
||||
m4trace:configure.in:25: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */
|
||||
#undef PACKAGE_NAME])
|
||||
m4trace:configure.in:25: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME])
|
||||
m4trace:configure.in:25: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */
|
||||
#undef PACKAGE_TARNAME])
|
||||
m4trace:configure.in:25: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION])
|
||||
m4trace:configure.in:25: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */
|
||||
#undef PACKAGE_VERSION])
|
||||
m4trace:configure.in:25: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING])
|
||||
m4trace:configure.in:25: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */
|
||||
#undef PACKAGE_STRING])
|
||||
m4trace:configure.in:25: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT])
|
||||
m4trace:configure.in:25: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */
|
||||
#undef PACKAGE_BUGREPORT])
|
||||
m4trace:configure.in:25: -1- AC_SUBST([build_alias])
|
||||
m4trace:configure.in:25: -1- AC_SUBST([host_alias])
|
||||
m4trace:configure.in:25: -1- AC_SUBST([target_alias])
|
||||
m4trace:configure.in:25: -1- AC_SUBST([DEFS])
|
||||
m4trace:configure.in:25: -1- AC_SUBST([ECHO_C])
|
||||
m4trace:configure.in:25: -1- AC_SUBST([ECHO_N])
|
||||
m4trace:configure.in:25: -1- AC_SUBST([ECHO_T])
|
||||
m4trace:configure.in:25: -1- AC_SUBST([LIBS])
|
||||
m4trace:configure.in:28: -1- AC_CONFIG_AUX_DIR([admin])
|
||||
m4trace:configure.in:34: -1- AC_CANONICAL_SYSTEM
|
||||
m4trace:configure.in:34: -1- AC_CANONICAL_HOST
|
||||
m4trace:configure.in:34: -1- AC_SUBST([build], [$ac_cv_build])
|
||||
m4trace:configure.in:34: -1- AC_SUBST([build_cpu], [`echo $ac_cv_build | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\1/'`])
|
||||
m4trace:configure.in:34: -1- AC_SUBST([build_vendor], [`echo $ac_cv_build | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\2/'`])
|
||||
m4trace:configure.in:34: -1- AC_SUBST([build_os], [`echo $ac_cv_build | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\3/'`])
|
||||
m4trace:configure.in:34: -1- AC_SUBST([host], [$ac_cv_host])
|
||||
m4trace:configure.in:34: -1- AC_SUBST([host_cpu], [`echo $ac_cv_host | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\1/'`])
|
||||
m4trace:configure.in:34: -1- AC_SUBST([host_vendor], [`echo $ac_cv_host | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\2/'`])
|
||||
m4trace:configure.in:34: -1- AC_SUBST([host_os], [`echo $ac_cv_host | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\3/'`])
|
||||
m4trace:configure.in:34: -1- AC_SUBST([target], [$ac_cv_target])
|
||||
m4trace:configure.in:34: -1- AC_SUBST([target_cpu], [`echo $ac_cv_target | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\1/'`])
|
||||
m4trace:configure.in:34: -1- AC_SUBST([target_vendor], [`echo $ac_cv_target | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\2/'`])
|
||||
m4trace:configure.in:34: -1- AC_SUBST([target_os], [`echo $ac_cv_target | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\3/'`])
|
||||
m4trace:configure.in:39: -1- AM_INIT_AUTOMAKE([kmess], [1.0rc1])
|
||||
m4trace:configure.in:39: -1- AC_PROG_INSTALL
|
||||
m4trace:configure.in:39: -1- AC_PROG_INSTALL
|
||||
m4trace:configure.in:39: -1- AC_SUBST([INSTALL_PROGRAM])
|
||||
m4trace:configure.in:39: -1- AC_SUBST([INSTALL_SCRIPT])
|
||||
m4trace:configure.in:39: -1- AC_SUBST([INSTALL_DATA])
|
||||
m4trace:configure.in:39: -1- AC_SUBST([PACKAGE])
|
||||
m4trace:configure.in:39: -1- AC_SUBST([VERSION])
|
||||
m4trace:configure.in:39: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE])
|
||||
m4trace:configure.in:39: -1- AH_OUTPUT([PACKAGE], [/* Name of package */
|
||||
#undef PACKAGE])
|
||||
m4trace:configure.in:39: -1- AC_DEFINE_TRACE_LITERAL([VERSION])
|
||||
m4trace:configure.in:39: -1- AH_OUTPUT([VERSION], [/* Version number of package */
|
||||
#undef VERSION])
|
||||
m4trace:configure.in:39: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS])
|
||||
m4trace:configure.in:39: -1- AC_SUBST([EXEEXT])
|
||||
m4trace:configure.in:39: -1- AC_SUBST([OBJEXT])
|
||||
m4trace:configure.in:39: -1- AC_SUBST([ACLOCAL])
|
||||
m4trace:configure.in:39: -1- AC_SUBST([AUTOCONF])
|
||||
m4trace:configure.in:39: -1- AC_SUBST([AUTOMAKE])
|
||||
m4trace:configure.in:39: -1- AC_SUBST([AUTOHEADER])
|
||||
m4trace:configure.in:39: -1- AC_SUBST([MAKEINFO])
|
||||
m4trace:configure.in:39: -1- AC_SUBST([AMTAR])
|
||||
m4trace:configure.in:39: -1- AC_SUBST([install_sh])
|
||||
m4trace:configure.in:39: -1- AC_SUBST([INSTALL_STRIP_PROGRAM])
|
||||
m4trace:configure.in:39: -1- AC_PROG_AWK
|
||||
m4trace:configure.in:39: -1- AC_SUBST([AWK])
|
||||
m4trace:configure.in:39: -1- AC_PROG_MAKE_SET
|
||||
m4trace:configure.in:39: -1- AC_SUBST([SET_MAKE])
|
||||
m4trace:configure.in:39: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
|
||||
m4trace:configure.in:39: -1- AC_SUBST([AMDEP_TRUE])
|
||||
m4trace:configure.in:39: -1- AC_SUBST([AMDEP_FALSE])
|
||||
m4trace:configure.in:39: -1- AC_SUBST([DEPDIR])
|
||||
m4trace:configure.in:41: -1- AC_SUBST([CONF_FILES])
|
||||
m4trace:configure.in:44: -1- AC_CONFIG_HEADERS([config.h], [# update the timestamp
|
||||
echo timestamp >"AS_ESCAPE(_AM_DIRNAME(config.h))/stamp-h1"
|
||||
])
|
||||
m4trace:configure.in:47: -1- AC_PROG_CC
|
||||
m4trace:configure.in:47: -1- AC_SUBST([CC])
|
||||
m4trace:configure.in:47: -1- AC_SUBST([CFLAGS])
|
||||
m4trace:configure.in:47: -1- AC_SUBST([LDFLAGS])
|
||||
m4trace:configure.in:47: -1- AC_SUBST([CPPFLAGS])
|
||||
m4trace:configure.in:47: -1- AC_SUBST([CC])
|
||||
m4trace:configure.in:47: -1- AC_SUBST([ac_ct_CC])
|
||||
m4trace:configure.in:47: -1- AC_SUBST([CC])
|
||||
m4trace:configure.in:47: -1- AC_SUBST([ac_ct_CC])
|
||||
m4trace:configure.in:47: -1- AC_SUBST([CC])
|
||||
m4trace:configure.in:47: -1- AC_SUBST([CC])
|
||||
m4trace:configure.in:47: -1- AC_SUBST([ac_ct_CC])
|
||||
m4trace:configure.in:47: -1- AC_SUBST([EXEEXT], [$ac_cv_exeext])
|
||||
m4trace:configure.in:47: -1- AC_SUBST([OBJEXT], [$ac_cv_objext])
|
||||
m4trace:configure.in:47: -1- AC_SUBST([am__include])
|
||||
m4trace:configure.in:47: -1- AC_SUBST([am__quote])
|
||||
m4trace:configure.in:47: -1- AC_SUBST([CCDEPMODE])
|
||||
m4trace:configure.in:47: -1- AC_PROG_CPP
|
||||
m4trace:configure.in:47: -1- AC_SUBST([CPP])
|
||||
m4trace:configure.in:47: -1- AC_SUBST([CPPFLAGS])
|
||||
m4trace:configure.in:47: -1- AC_SUBST([CPP])
|
||||
m4trace:configure.in:47: -1- AC_PROG_CXX
|
||||
m4trace:configure.in:47: -1- AC_SUBST([CXX])
|
||||
m4trace:configure.in:47: -1- AC_SUBST([CXXFLAGS])
|
||||
m4trace:configure.in:47: -1- AC_SUBST([LDFLAGS])
|
||||
m4trace:configure.in:47: -1- AC_SUBST([CPPFLAGS])
|
||||
m4trace:configure.in:47: -1- AC_SUBST([CXX])
|
||||
m4trace:configure.in:47: -1- AC_SUBST([ac_ct_CXX])
|
||||
m4trace:configure.in:47: -1- AC_SUBST([CXXDEPMODE])
|
||||
m4trace:configure.in:47: -1- AC_SUBST([WOVERLOADED_VIRTUAL])
|
||||
m4trace:configure.in:47: -1- AC_SUBST([USE_EXCEPTIONS])
|
||||
m4trace:configure.in:47: -1- AC_SUBST([USE_RTTI])
|
||||
m4trace:configure.in:47: -1- AC_SUBST([CXXCPP])
|
||||
m4trace:configure.in:47: -1- AC_SUBST([CPPFLAGS])
|
||||
m4trace:configure.in:47: -1- AC_SUBST([CXXCPP])
|
||||
m4trace:configure.in:47: -1- AC_SUBST([NOOPT_CXXFLAGS])
|
||||
m4trace:configure.in:47: -1- AC_SUBST([NOOPT_CFLAGS])
|
||||
m4trace:configure.in:47: -1- AC_DEFINE_TRACE_LITERAL([HAVE_TEMPLATE_REPOSITORY])
|
||||
m4trace:configure.in:47: -1- AH_OUTPUT([HAVE_TEMPLATE_REPOSITORY], [/* C++ compiler supports template repository */
|
||||
#undef HAVE_TEMPLATE_REPOSITORY])
|
||||
m4trace:configure.in:47: -1- AC_SUBST([REPO])
|
||||
m4trace:configure.in:47: -1- AC_SUBST([NOREPO])
|
||||
m4trace:configure.in:47: -1- AC_SUBST([KDE_USE_FINAL_TRUE])
|
||||
m4trace:configure.in:47: -1- AC_SUBST([KDE_USE_FINAL_FALSE])
|
||||
m4trace:configure.in:47: -1- AC_SUBST([KDE_USE_CLOSURE_TRUE])
|
||||
m4trace:configure.in:47: -1- AC_SUBST([KDE_USE_CLOSURE_FALSE])
|
||||
m4trace:configure.in:50: -1- AC_PROG_LIBTOOL
|
||||
m4trace:configure.in:50: -1- AC_PROG_LN_S
|
||||
m4trace:configure.in:50: -1- AC_SUBST([LN_S], [$as_ln_s])
|
||||
m4trace:configure.in:50: -1- AC_SUBST([ECHO])
|
||||
m4trace:configure.in:50: -1- AC_SUBST([RANLIB])
|
||||
m4trace:configure.in:50: -1- AC_SUBST([ac_ct_RANLIB])
|
||||
m4trace:configure.in:50: -1- AC_SUBST([STRIP])
|
||||
m4trace:configure.in:50: -1- AC_SUBST([ac_ct_STRIP])
|
||||
m4trace:configure.in:50: -1- AC_CHECK_HEADERS([dlfcn.h])
|
||||
m4trace:configure.in:50: -1- AH_OUTPUT([HAVE_DLFCN_H], [/* Define to 1 if you have the <dlfcn.h> header file. */
|
||||
#undef HAVE_DLFCN_H])
|
||||
m4trace:configure.in:50: -1- AC_HEADER_STDC
|
||||
m4trace:configure.in:50: -1- AC_SUBST([EGREP])
|
||||
m4trace:configure.in:50: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
|
||||
m4trace:configure.in:50: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
|
||||
#undef STDC_HEADERS])
|
||||
m4trace:configure.in:50: -1- AC_CHECK_HEADERS([sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
|
||||
inttypes.h stdint.h unistd.h], [], [], [$ac_includes_default])
|
||||
m4trace:configure.in:50: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */
|
||||
#undef HAVE_SYS_TYPES_H])
|
||||
m4trace:configure.in:50: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||
#undef HAVE_SYS_STAT_H])
|
||||
m4trace:configure.in:50: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
|
||||
#undef HAVE_STDLIB_H])
|
||||
m4trace:configure.in:50: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
|
||||
#undef HAVE_STRING_H])
|
||||
m4trace:configure.in:50: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the <memory.h> header file. */
|
||||
#undef HAVE_MEMORY_H])
|
||||
m4trace:configure.in:50: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the <strings.h> header file. */
|
||||
#undef HAVE_STRINGS_H])
|
||||
m4trace:configure.in:50: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */
|
||||
#undef HAVE_INTTYPES_H])
|
||||
m4trace:configure.in:50: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
|
||||
#undef HAVE_STDINT_H])
|
||||
m4trace:configure.in:50: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
|
||||
#undef HAVE_UNISTD_H])
|
||||
m4trace:configure.in:50: -1- AC_CHECK_LIB([dld], [shl_load], [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"], [AC_CHECK_FUNC([dlopen],
|
||||
[lt_cv_dlopen="dlopen"],
|
||||
[AC_CHECK_LIB([dl], [dlopen],
|
||||
[lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
|
||||
[AC_CHECK_LIB([svld], [dlopen],
|
||||
[lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
|
||||
[AC_CHECK_LIB([dld], [dld_link],
|
||||
[lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
|
||||
])
|
||||
])
|
||||
])
|
||||
])
|
||||
m4trace:configure.in:50: -1- AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], [AC_CHECK_LIB([svld], [dlopen],
|
||||
[lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
|
||||
[AC_CHECK_LIB([dld], [dld_link],
|
||||
[lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
|
||||
])
|
||||
])
|
||||
m4trace:configure.in:50: -1- AC_CHECK_LIB([svld], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], [AC_CHECK_LIB([dld], [dld_link],
|
||||
[lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
|
||||
])
|
||||
m4trace:configure.in:50: -1- AC_CHECK_LIB([dld], [dld_link], [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
|
||||
m4trace:configure.in:50: -1- AC_CHECK_LIB([dld], [shl_load], [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"], [AC_CHECK_FUNC([dlopen],
|
||||
[lt_cv_dlopen="dlopen"],
|
||||
[AC_CHECK_LIB([dl], [dlopen],
|
||||
[lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
|
||||
[AC_CHECK_LIB([svld], [dlopen],
|
||||
[lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
|
||||
[AC_CHECK_LIB([dld], [dld_link],
|
||||
[lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
|
||||
])
|
||||
])
|
||||
])
|
||||
])
|
||||
m4trace:configure.in:50: -1- AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], [AC_CHECK_LIB([svld], [dlopen],
|
||||
[lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
|
||||
[AC_CHECK_LIB([dld], [dld_link],
|
||||
[lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
|
||||
])
|
||||
])
|
||||
m4trace:configure.in:50: -1- AC_CHECK_LIB([svld], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], [AC_CHECK_LIB([dld], [dld_link],
|
||||
[lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
|
||||
])
|
||||
m4trace:configure.in:50: -1- AC_CHECK_LIB([dld], [dld_link], [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
|
||||
m4trace:configure.in:50: -1- AC_CHECK_LIB([dld], [shl_load], [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"], [AC_CHECK_FUNC([dlopen],
|
||||
[lt_cv_dlopen="dlopen"],
|
||||
[AC_CHECK_LIB([dl], [dlopen],
|
||||
[lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
|
||||
[AC_CHECK_LIB([svld], [dlopen],
|
||||
[lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
|
||||
[AC_CHECK_LIB([dld], [dld_link],
|
||||
[lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
|
||||
])
|
||||
])
|
||||
])
|
||||
])
|
||||
m4trace:configure.in:50: -1- AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], [AC_CHECK_LIB([svld], [dlopen],
|
||||
[lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
|
||||
[AC_CHECK_LIB([dld], [dld_link],
|
||||
[lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
|
||||
])
|
||||
])
|
||||
m4trace:configure.in:50: -1- AC_CHECK_LIB([svld], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], [AC_CHECK_LIB([dld], [dld_link],
|
||||
[lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
|
||||
])
|
||||
m4trace:configure.in:50: -1- AC_CHECK_LIB([dld], [dld_link], [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
|
||||
m4trace:configure.in:50: -1- AC_SUBST([LIBTOOL])
|
||||
m4trace:configure.in:50: -1- AC_SUBST([KDE_PLUGIN])
|
||||
m4trace:configure.in:54: -1- AC_SUBST([MSGFMT])
|
||||
m4trace:configure.in:54: -1- AC_SUBST([GMSGFMT], [$ac_cv_path_GMSGFMT])
|
||||
m4trace:configure.in:54: -1- AC_SUBST([GMSGFMT])
|
||||
m4trace:configure.in:54: -1- AC_SUBST([MSGFMT])
|
||||
m4trace:configure.in:54: -1- AC_SUBST([XGETTEXT])
|
||||
m4trace:configure.in:54: -1- AC_SUBST([XGETTEXT])
|
||||
m4trace:configure.in:57: -1- AC_CHECK_LIB([util], [main], [LIBUTIL="-lutil"])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([LIBUTIL])
|
||||
m4trace:configure.in:57: -1- AC_CHECK_LIB([compat], [main], [LIBCOMPAT="-lcompat"])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([LIBCOMPAT])
|
||||
m4trace:configure.in:57: -2- AC_CHECK_LIB([c], [crypt], [kde_have_crypt=yes], [
|
||||
AC_MSG_WARN([you have no crypt in either libcrypt or libc.
|
||||
You should install libcrypt from another source or configure with PAM
|
||||
support])
|
||||
kde_have_crypt=no
|
||||
])
|
||||
m4trace:configure.in:57: -1- AC_CHECK_LIB([crypt], [crypt], [LIBCRYPT="-lcrypt"; kde_have_crypt=yes], [echo "$as_me:$LINENO: checking for crypt in -lc" >&5
|
||||
echo $ECHO_N "checking for crypt in -lc... $ECHO_C" >&6
|
||||
if test "${ac_cv_lib_c_crypt+set}" = set; then
|
||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||
else
|
||||
ac_check_lib_save_LIBS=$LIBS
|
||||
LIBS="-lc $LIBS"
|
||||
cat >conftest.$ac_ext <<_ACEOF
|
||||
#line $LINENO "configure"
|
||||
/* confdefs.h. */
|
||||
_ACEOF
|
||||
cat confdefs.h >>conftest.$ac_ext
|
||||
cat >>conftest.$ac_ext <<_ACEOF
|
||||
/* end confdefs.h. */
|
||||
|
||||
/* Override any gcc2 internal prototype to avoid an error. */
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
#endif
|
||||
/* We use char because int might match the return type of a gcc2
|
||||
builtin and then its argument prototype would still apply. */
|
||||
char crypt ();
|
||||
int
|
||||
main ()
|
||||
{
|
||||
crypt ();
|
||||
;
|
||||
return 0;
|
||||
}
|
||||
_ACEOF
|
||||
rm -f conftest.$ac_objext conftest$ac_exeext
|
||||
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
||||
(eval $ac_link) 2>&5
|
||||
ac_status=$?
|
||||
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
(exit $ac_status); } &&
|
||||
{ ac_try='test -s conftest$ac_exeext'
|
||||
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
||||
(eval $ac_try) 2>&5
|
||||
ac_status=$?
|
||||
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
(exit $ac_status); }; }; then
|
||||
ac_cv_lib_c_crypt=yes
|
||||
else
|
||||
echo "$as_me: failed program was:" >&5
|
||||
sed 's/^/| /' conftest.$ac_ext >&5
|
||||
|
||||
ac_cv_lib_c_crypt=no
|
||||
fi
|
||||
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
|
||||
LIBS=$ac_check_lib_save_LIBS
|
||||
fi
|
||||
echo "$as_me:$LINENO: result: $ac_cv_lib_c_crypt" >&5
|
||||
echo "${ECHO_T}$ac_cv_lib_c_crypt" >&6
|
||||
if test $ac_cv_lib_c_crypt = yes; then
|
||||
kde_have_crypt=yes
|
||||
else
|
||||
|
||||
{ echo "$as_me:$LINENO: WARNING: you have no crypt in either libcrypt or libc.
|
||||
You should install libcrypt from another source or configure with PAM
|
||||
support" >&5
|
||||
echo "$as_me: WARNING: you have no crypt in either libcrypt or libc.
|
||||
You should install libcrypt from another source or configure with PAM
|
||||
support" >&2;}
|
||||
kde_have_crypt=no
|
||||
|
||||
fi
|
||||
])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([LIBCRYPT])
|
||||
m4trace:configure.in:57: -1- AC_DEFINE_TRACE_LITERAL([HAVE_CRYPT])
|
||||
m4trace:configure.in:57: -1- AH_OUTPUT([HAVE_CRYPT], [/* Defines if your system has the crypt function */
|
||||
#undef HAVE_CRYPT])
|
||||
m4trace:configure.in:57: -1- AC_DEFINE_TRACE_LITERAL([socklen_t])
|
||||
m4trace:configure.in:57: -1- AH_OUTPUT([socklen_t], [/* Define the real type of socklen_t */
|
||||
#undef socklen_t])
|
||||
m4trace:configure.in:57: -1- AC_DEFINE_TRACE_LITERAL([ksize_t])
|
||||
m4trace:configure.in:57: -1- AH_OUTPUT([ksize_t], [/* Compatibility define */
|
||||
#undef ksize_t])
|
||||
m4trace:configure.in:57: -1- AC_CHECK_LIB([dnet], [dnet_ntoa], [X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"])
|
||||
m4trace:configure.in:57: -1- AC_CHECK_LIB([dnet_stub], [dnet_ntoa], [X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"])
|
||||
m4trace:configure.in:57: -1- AC_CHECK_LIB([nsl], [inet_ntoa], [X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"])
|
||||
m4trace:configure.in:57: -1- AC_CHECK_LIB([socket], [connect], [X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"], [], [$X_EXTRA_LIBS])
|
||||
m4trace:configure.in:57: -1- AC_CHECK_LIB([posix], [remove], [X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"])
|
||||
m4trace:configure.in:57: -2- AC_CHECK_LIB([ipc], [shmat], [X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"])
|
||||
m4trace:configure.in:57: -1- AC_CHECK_HEADERS([crt_externs.h])
|
||||
m4trace:configure.in:57: -1- AH_OUTPUT([HAVE_CRT_EXTERNS_H], [/* Define to 1 if you have the <crt_externs.h> header file. */
|
||||
#undef HAVE_CRT_EXTERNS_H])
|
||||
m4trace:configure.in:57: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NSGETENVIRON])
|
||||
m4trace:configure.in:57: -1- AH_OUTPUT([HAVE_NSGETENVIRON], [/* Define if your system needs _NSGetEnviron to set up the environment */
|
||||
#undef HAVE_NSGETENVIRON])
|
||||
m4trace:configure.in:57: -1- AC_CHECK_HEADERS([sys/types.h stdint.h])
|
||||
m4trace:configure.in:57: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */
|
||||
#undef HAVE_SYS_TYPES_H])
|
||||
m4trace:configure.in:57: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
|
||||
#undef HAVE_STDINT_H])
|
||||
m4trace:configure.in:57: -1- AC_CHECK_LIB([poll], [poll], [LIB_POLL="-lpoll"])
|
||||
m4trace:configure.in:57: -1- AC_DEFINE_TRACE_LITERAL([HAVE_COREAUDIO])
|
||||
m4trace:configure.in:57: -1- AH_OUTPUT([HAVE_COREAUDIO], [/* Define if you have the CoreAudio API */
|
||||
#undef HAVE_COREAUDIO])
|
||||
m4trace:configure.in:57: -1- AC_CHECK_FUNCS([res_init], [], [
|
||||
kde_libs_safe="$LIBS"
|
||||
LIBS="$LIBS $X_EXTRA_LIBS -lresolv"
|
||||
AC_TRY_LINK(
|
||||
[
|
||||
#include <resolv.h>
|
||||
],
|
||||
[
|
||||
res_init();
|
||||
],
|
||||
LIBRESOLV="-lresolv"
|
||||
X_EXTRA_LIBS="$X_EXTRA_LIBS $LIBRESOLV"
|
||||
AC_DEFINE(HAVE_RES_INIT, 1, [Define if you have the res_init function])
|
||||
)
|
||||
LIBS=$kde_libs_safe
|
||||
])
|
||||
m4trace:configure.in:57: -1- AH_OUTPUT([HAVE_RES_INIT], [/* Define to 1 if you have the `res_init\' function. */
|
||||
#undef HAVE_RES_INIT])
|
||||
m4trace:configure.in:57: -2- AC_DEFINE_TRACE_LITERAL([HAVE_RES_INIT])
|
||||
m4trace:configure.in:57: -2- AH_OUTPUT([HAVE_RES_INIT], [/* Define if you have the res_init function */
|
||||
#undef HAVE_RES_INIT])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([LIB_POLL])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([FRAMEWORK_COREAUDIO])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([LIBSOCKET])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([LIBRESOLV])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([X_EXTRA_LIBS])
|
||||
m4trace:configure.in:57: -1- AC_CHECK_LIB([ucb], [killpg], [LIBUCB="-lucb"])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([LIBUCB])
|
||||
m4trace:configure.in:57: -1- AC_CHECK_LIB([bsd], [gethostbyname], [LIBSOCKET="-lbsd"])
|
||||
m4trace:configure.in:57: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_INT])
|
||||
m4trace:configure.in:57: -1- AH_OUTPUT([SIZEOF_INT], [/* The size of a `int\', as computed by sizeof. */
|
||||
#undef SIZEOF_INT])
|
||||
m4trace:configure.in:57: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_LONG])
|
||||
m4trace:configure.in:57: -1- AH_OUTPUT([SIZEOF_LONG], [/* The size of a `long\', as computed by sizeof. */
|
||||
#undef SIZEOF_LONG])
|
||||
m4trace:configure.in:57: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_CHAR_P])
|
||||
m4trace:configure.in:57: -1- AH_OUTPUT([SIZEOF_CHAR_P], [/* The size of a `char *\', as computed by sizeof. */
|
||||
#undef SIZEOF_CHAR_P])
|
||||
m4trace:configure.in:57: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_CHAR])
|
||||
m4trace:configure.in:57: -1- AH_OUTPUT([SIZEOF_CHAR], [/* The size of a `char\', as computed by sizeof. */
|
||||
#undef SIZEOF_CHAR])
|
||||
m4trace:configure.in:57: -1- AC_CHECK_LIB([dl], [dlopen], [
|
||||
LIBDL="-ldl"
|
||||
ac_cv_have_dlfcn=yes
|
||||
])
|
||||
m4trace:configure.in:57: -1- AC_CHECK_LIB([dld], [shl_unload], [
|
||||
LIBDL="-ldld"
|
||||
ac_cv_have_shload=yes
|
||||
])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([LIBDL])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([X_INCLUDES])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([X_LDFLAGS])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([x_libraries])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([x_includes])
|
||||
m4trace:configure.in:57: -1- AC_CHECK_LIB([ICE], [IceConnectionNumber], [LIBSM="-lSM -lICE"], [], [$X_EXTRA_LIBS])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([LIBSM])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([X_PRE_LIBS])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([LIB_X11])
|
||||
m4trace:configure.in:57: -1- AC_DEFINE_TRACE_LITERAL([HAVE_XINERAMA])
|
||||
m4trace:configure.in:57: -1- AH_OUTPUT([HAVE_XINERAMA], [/* Define if you want Xinerama support */
|
||||
#undef HAVE_XINERAMA])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([LIBXINERAMA])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([X_PRE_LIBS])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([LIB_X11])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([LIBSM])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([X_INCLUDES])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([X_LDFLAGS])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([x_includes])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([x_libraries])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([QTE_NORTTI])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([LIB_XEXT])
|
||||
m4trace:configure.in:57: -1- AC_CHECK_LIB([pthread], [pthread_create], [LIBPTHREAD="-lpthread" ])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([LIBPTHREAD])
|
||||
m4trace:configure.in:57: -1- AC_CHECK_HEADERS([pthread/linuxthreads/pthread.h])
|
||||
m4trace:configure.in:57: -1- AH_OUTPUT([HAVE_PTHREAD_LINUXTHREADS_PTHREAD_H], [/* Define to 1 if you have the <pthread/linuxthreads/pthread.h> header file.
|
||||
*/
|
||||
#undef HAVE_PTHREAD_LINUXTHREADS_PTHREAD_H])
|
||||
m4trace:configure.in:57: -1- AC_CHECK_LIB([lthread], [pthread_join], [LIBPTHREAD="-llthread -llgcc_r"])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([USE_THREADS])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([LIBPTHREAD])
|
||||
m4trace:configure.in:57: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBPTHREAD])
|
||||
m4trace:configure.in:57: -1- AH_OUTPUT([HAVE_LIBPTHREAD], [/* Define if you have a working libpthread (will enable threaded code) */
|
||||
#undef HAVE_LIBPTHREAD])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([KDE_MT_LDFLAGS])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([KDE_MT_LIBS])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([USER_INCLUDES])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([USER_LDFLAGS])
|
||||
m4trace:configure.in:57: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBZ])
|
||||
m4trace:configure.in:57: -1- AH_OUTPUT([HAVE_LIBZ], [/* Define if you have libz */
|
||||
#undef HAVE_LIBZ])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([LIBZ])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([LIBZ])
|
||||
m4trace:configure.in:57: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBPNG])
|
||||
m4trace:configure.in:57: -1- AH_OUTPUT([HAVE_LIBPNG], [/* Define if you have libpng */
|
||||
#undef HAVE_LIBPNG])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([LIBPNG])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([LIBPNG])
|
||||
m4trace:configure.in:57: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBJPEG])
|
||||
m4trace:configure.in:57: -1- AH_OUTPUT([HAVE_LIBJPEG], [/* Define if you have libjpeg */
|
||||
#undef HAVE_LIBJPEG])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([LIBJPEG])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([qt_libraries])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([qt_includes])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([QT_INCLUDES])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([QT_LDFLAGS])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([MOC])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([UIC])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([UIC_TR])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([LIB_QT])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([LIB_QPE])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([kde_qtver])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([KDE_EXTRA_RPATH])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([KDE_RPATH])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([kde_libraries])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([kde_includes])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([KDE_LDFLAGS])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([KDE_INCLUDES])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([all_includes])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([all_libraries])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([AUTODIRS])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([DCOPIDL])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([DCOPIDL2CPP])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([DCOP_DEPENDENCIES])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([MCOPIDL])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([ARTSCCONFIG])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([KDECONFIG])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([MEINPROC])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([KDE_XSL_STYLESHEET])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([kde_libs_prefix])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([kde_libs_htmldir])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([kde_htmldir])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([kde_appsdir])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([kde_icondir])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([kde_sounddir])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([kde_datadir])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([kde_locale])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([kde_confdir])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([kde_mimedir])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([kde_wallpaperdir])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([kde_bindir])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([kde_templatesdir])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([kde_servicesdir])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([kde_servicetypesdir])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([kde_moduledir])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([kde_styledir])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([kde_widgetdir])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([LIB_KDECORE], ["-lkdecore"])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([LIB_KDEUI], ["-lkdeui"])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([LIB_KIO], ["-lkio"])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([LIB_SMB], ["-lsmb"])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([LIB_KAB], ["-lkab"])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([LIB_KHTML], ["-lkhtml"])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([LIB_KSPELL], ["-lkspell"])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([LIB_KPARTS], ["-lkparts"])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([LIB_KDEPRINT], ["-lkdeprint"])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([LIB_KSYCOCA], ["-lkio"])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([LIB_KFILE], ["-lkio"])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([LIB_KDECORE], ["-lkdecore"])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([LIB_KDEUI], ["-lkdeui"])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([LIB_KIO], ["-lkio"])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([LIB_KSYCOCA], ["-lksycoca"])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([LIB_SMB], ["-lsmb"])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([LIB_KFILE], ["-lkfile"])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([LIB_KAB], ["-lkab"])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([LIB_KHTML], ["-lkhtml"])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([LIB_KSPELL], ["-lkspell"])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([LIB_KPARTS], ["-lkparts"])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([LIB_KDEPRINT], ["-lkdeprint"])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([LIB_KDECORE], ["-lkdecore -lXext $(LIB_QT)"])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([LIB_KDEUI], ["-lkdeui $(LIB_KDECORE)"])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([LIB_KFM], ["-lkfm $(LIB_KDECORE)"])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([LIB_KFILE], ["-lkfile $(LIB_KFM) $(LIB_KDEUI)"])
|
||||
m4trace:configure.in:57: -1- AC_SUBST([LIB_KAB], ["-lkab $(LIB_KIMGIO) $(LIB_KDECORE)"])
|
||||
m4trace:configure.in:69: -1- AC_SUBST([TOPSUBDIRS])
|
||||
m4trace:configure.in:70: -1- AC_CONFIG_FILES([ Makefile ])
|
||||
m4trace:configure.in:71: -1- AC_CONFIG_FILES([ doc/Makefile ])
|
||||
m4trace:configure.in:72: -1- AC_CONFIG_FILES([ doc/en/Makefile ])
|
||||
m4trace:configure.in:73: -1- AC_CONFIG_FILES([ kmess/Makefile ])
|
||||
m4trace:configure.in:74: -1- AC_CONFIG_FILES([ kmess/actions/Makefile ])
|
||||
m4trace:configure.in:75: -1- AC_CONFIG_FILES([ kmess/chat/Makefile ])
|
||||
m4trace:configure.in:76: -1- AC_CONFIG_FILES([ kmess/contact/Makefile ])
|
||||
m4trace:configure.in:77: -1- AC_CONFIG_FILES([ kmess/dialogs/Makefile ])
|
||||
m4trace:configure.in:78: -1- AC_CONFIG_FILES([ kmess/network/Makefile ])
|
||||
m4trace:configure.in:79: -1- AC_CONFIG_FILES([ kmess/notification/Makefile ])
|
||||
m4trace:configure.in:80: -1- AC_CONFIG_FILES([ kmess/pics/Makefile ])
|
||||
m4trace:configure.in:81: -1- AC_CONFIG_FILES([ kmess/settings/Makefile ])
|
||||
m4trace:configure.in:82: -1- AC_CONFIG_FILES([ kmess/sounds/Makefile ])
|
||||
m4trace:configure.in:83: -1- AC_CONFIG_FILES([ po/Makefile ])
|
||||
m4trace:configure.in:84: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
|
||||
m4trace:configure.in:84: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
|
||||
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
QCATOOL_EXEC=$(which qcatool2 2>/dev/null)
|
||||
if [ ! -x "$QCATOOL_EXEC" ]; then
|
||||
echo 0
|
||||
exit
|
||||
fi
|
||||
|
||||
qcatool2 plugins | grep -q qca-ossl && echo 1 || echo 0
|
||||
@@ -0,0 +1,24 @@
|
||||
/**
|
||||
* KMess configuration file
|
||||
*
|
||||
* The value for these defines is controlled by CMake at configuration time.
|
||||
* NOTE: This file needs to be written in C, as it will be included by C source files too.
|
||||
*/
|
||||
|
||||
/* Define the application version */
|
||||
#define KMESS_VERSION "${KMESS_VERSION}"
|
||||
|
||||
/* Define if debug output should be enabled */
|
||||
#define KMESS_DEBUG ${KMESS_ENABLE_DEBUG_OUTPUT}
|
||||
|
||||
/* Define the fallback prefix */
|
||||
#define KMESS_PREFIX "${CMAKE_INSTALL_PREFIX}"
|
||||
|
||||
/* Define if you have the XScreenSaver extension */
|
||||
#cmakedefine HAVE_XSCREENSAVER ${HAVE_XSCREENSAVER}
|
||||
|
||||
/* Define if LikeBack is not needed */
|
||||
#define KMESS_DISABLE_LIKEBACK ${KMESS_DISABLE_LIKEBACK}
|
||||
|
||||
/* Define whether to enable Ink support (using GIFLib) */
|
||||
#define KMESS_ENABLE_INK ${HAVE_LIBGIF}
|
||||
@@ -0,0 +1,35 @@
|
||||
#!/bin/sh
|
||||
|
||||
cd `dirname $0`/..
|
||||
|
||||
# second sed expression fixes Mac OS X 10.4
|
||||
appver="`egrep 'SET.*KMESS_VERSION' CMakeLists.txt | sed -re 's/.*"([^"]+)".*/\1/'`"
|
||||
date="`date +%Y%m%d`"
|
||||
|
||||
# Make sure we have the right repository
|
||||
if [ ! -f kmess.kdevelop ]; then
|
||||
/bin/echo -n "svn (unknown)"
|
||||
exit
|
||||
fi
|
||||
|
||||
# Display normal version if subversion is not installed
|
||||
if [ ! -x `which svnversion 2>/dev/null` ]; then
|
||||
/bin/echo -n "$appver"
|
||||
exit
|
||||
fi
|
||||
|
||||
# Display subversion version if this is a working copy
|
||||
svnver=`LANG=C svnversion`
|
||||
|
||||
# see if this is not a repository.
|
||||
if [ "$svnver" = "exported" ]; then
|
||||
if [ -z "$KMESS_VER" ]; then
|
||||
/bin/echo -n "$appver";
|
||||
else
|
||||
/bin/echo -n "$KMESS_VER";
|
||||
fi
|
||||
exit;
|
||||
fi
|
||||
|
||||
# display subversion version and date
|
||||
/bin/echo -n "$appver-svn (`svnversion` >= $date)"
|
||||
@@ -0,0 +1,24 @@
|
||||
|
||||
# This file is included here because the standard FindGIF.cmake file
|
||||
# requires the CHECK_STRUCT_MEMBER macro. It wasn't on my PC, at least, so
|
||||
# I include a copy of the macro here for giflib to use.
|
||||
|
||||
MACRO (CHECK_STRUCT_MEMBER _STRUCT _MEMBER _HEADER _RESULT)
|
||||
SET(_INCLUDE_FILES)
|
||||
FOREACH (it ${_HEADER})
|
||||
SET(_INCLUDE_FILES "${_INCLUDE_FILES}#include <${it}>\n")
|
||||
ENDFOREACH (it)
|
||||
|
||||
SET(_CHECK_STRUCT_MEMBER_SOURCE_CODE "
|
||||
${_INCLUDE_FILES}
|
||||
int main()
|
||||
{
|
||||
${_STRUCT}* tmp;
|
||||
tmp->${_MEMBER};
|
||||
return 0;
|
||||
}
|
||||
")
|
||||
|
||||
CHECK_CXX_SOURCE_COMPILES("${_CHECK_STRUCT_MEMBER_SOURCE_CODE}" ${_RESULT})
|
||||
|
||||
ENDMACRO (CHECK_STRUCT_MEMBER)
|
||||
@@ -0,0 +1,299 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# configure - description
|
||||
# -------------------
|
||||
# begin : Wed Apr 9 2008
|
||||
# copyright : (C) 2008 by Diederik van der Boor
|
||||
# email : "vdboor" --at-- "codingdomain.com"
|
||||
#
|
||||
#
|
||||
# Emulation script of GNU ./configure to make compiling of KDE 4 software more standard.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# Note for packagers:
|
||||
# this script is only written to provide a more user friendly
|
||||
# interaction between the command line and the cmake invocation.
|
||||
# If you are familiar with CMake, you may call it directly too.
|
||||
#
|
||||
|
||||
# ------------------------------
|
||||
#
|
||||
# Variables
|
||||
#
|
||||
|
||||
KDE4_PREFIX=""
|
||||
DEFAULT_PREFIX="/usr/local"
|
||||
|
||||
# auto-detect KDE Installation on the Mac.
|
||||
KDE4_CONFIG=""
|
||||
for i in `which kde4-config` /opt/local/bin/kde4-config
|
||||
do
|
||||
if [ -x "$i" ]; then
|
||||
KDE4_CONFIG="$i"
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
# auto-detect default prefix
|
||||
if [ -n "$KDE4_CONFIG" ]; then
|
||||
KDE4_PREFIX=`$KDE4_CONFIG --prefix`
|
||||
DEFAULT_PREFIX="$KDE4_PREFIX"
|
||||
fi
|
||||
|
||||
# To configure
|
||||
PREFIX=$DEFAULT_PREFIX
|
||||
BUILD_TYPE="relwithdebinfo"
|
||||
BUILD_DIR="build"
|
||||
REAL_BUILD_DIR=""
|
||||
DEBUG=0
|
||||
|
||||
# Globals
|
||||
cd `dirname $0`
|
||||
SRC_DIR="$PWD"
|
||||
KMESS_VER="`./cmake/get-svn-version.sh`"
|
||||
|
||||
|
||||
|
||||
# ------------------------------
|
||||
#
|
||||
# Print the help page
|
||||
#
|
||||
|
||||
function print_help
|
||||
{
|
||||
echo "configure script for package: KMess $KMESS_VER
|
||||
|
||||
Usage: ./configure [arguments]
|
||||
|
||||
This is an emulation script of GNU ./configure to give compiling of KDE 4
|
||||
software a more familiar usage. Experienced users are free to use cmake
|
||||
instead. This configure script should provide everything you need though.
|
||||
|
||||
Configuration:
|
||||
-h, --help display this help and exit
|
||||
|
||||
Installation directories:
|
||||
--prefix=PREFIX install files in PREFIX. default: $DEFAULT_PREFIX
|
||||
|
||||
Optional Features:
|
||||
--enable-debug-output enable debugging output. default=no
|
||||
--build-dir=PATH path to store the build files. default: ./build
|
||||
--build-type=TYPE define the build configuration to use, values:
|
||||
release - standard release
|
||||
relwithdebinfo - release with debug info
|
||||
minsizerel - minimum size release
|
||||
debug - debug build
|
||||
debugfull - full debug build
|
||||
|
||||
|
||||
After running ./configure, you can type 'make' to build this project.
|
||||
"
|
||||
|
||||
# Hint for kde installation
|
||||
if [ "$KDE4_PREFIX" != "" ]; then
|
||||
if [ "$KDE4_PREFIX" != "$PREFIX" ]; then
|
||||
echo " NOTICE:
|
||||
|
||||
The installation prefix is set to '$PREFIX'. You may want to set
|
||||
the prefix to '$KDE4_PREFIX' to install the files in the KDE 4 folder.
|
||||
"
|
||||
fi
|
||||
else
|
||||
echo " WARNING:
|
||||
|
||||
kde4-config was not found. Please verify that
|
||||
you've installed the KDE 4 development packages!
|
||||
"
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
|
||||
# ------------------------------
|
||||
#
|
||||
# Run cmake
|
||||
#
|
||||
|
||||
function run_cmake
|
||||
{
|
||||
# Check prefix
|
||||
if [ ! -e "$PREFIX" ]; then
|
||||
echo "$0: installation directory not found: $PREFIX" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Check build type
|
||||
case "$BUILD_TYPE" in
|
||||
debugfull) DEBUG=1 ;;
|
||||
release|relwithdebinfo|minsizerel|debug) ;;
|
||||
*)
|
||||
echo "$0: invalid build type: $BUILD_TYPE" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
# Make the directory,
|
||||
# and switch so build messages are ok.
|
||||
test -e "$BUILD_DIR" || mkdir "$BUILD_DIR" || exit 1
|
||||
cd "$BUILD_DIR"
|
||||
REAL_BUILD_DIR=`pwd`
|
||||
|
||||
# debug about cmake
|
||||
echo "configuring KMess $KMESS_VER"
|
||||
echo "checking build directory"
|
||||
echo "running cmake from $REAL_BUILD_DIR"
|
||||
echo "command: cmake -D CMAKE_INSTALL_PREFIX=$PREFIX \ "
|
||||
echo " -D CMAKE_BUILD_TYPE=$BUILD_TYPE \ "
|
||||
echo " -D KMESS_DEBUG_OUTPUT=$DEBUG \ "
|
||||
echo " "$SRC_DIR" "
|
||||
echo ""
|
||||
|
||||
# finally start cmake
|
||||
cmake -D CMAKE_INSTALL_PREFIX=$PREFIX \
|
||||
-D CMAKE_BUILD_TYPE=$BUILD_TYPE \
|
||||
-D KMESS_DEBUG_OUTPUT=$DEBUG \
|
||||
"$SRC_DIR" \
|
||||
&& cmake_ok || cmake_error
|
||||
}
|
||||
|
||||
|
||||
function cmake_ok
|
||||
{
|
||||
# collect all settings
|
||||
local HAS_XSS="no (extension not detected)"
|
||||
local HAS_DEBUG="no (good!)"
|
||||
|
||||
if [ $DEBUG = "1" ]; then
|
||||
HAS_DEBUG="yes (KMess will be slow!)"
|
||||
fi
|
||||
|
||||
if grep -q '^#define HAVE_XSCREENSAVER 1$' "config-kmess.h"; then
|
||||
HAS_XSS="yes"
|
||||
fi
|
||||
|
||||
# create a makefile to redirect all calls to the build directory
|
||||
makefile=$SRC_DIR/Makefile
|
||||
targets=`grep '^[A-Za-z_\/\-]\+:' Makefile | cut -f 1 -d ':'`
|
||||
echo "# Generated by ./configure: NO NOT EDIT!
|
||||
# Build features:
|
||||
#
|
||||
# Install prefix: $PREFIX
|
||||
# Auto-away feature: $HAS_XSS
|
||||
# Debugging messages: $HAS_DEBUG
|
||||
# Build type: $BUILD_TYPE
|
||||
# Build directory: $BUILD_DIR
|
||||
#
|
||||
#
|
||||
# cmake command:
|
||||
#
|
||||
# cd \"$REAL_BUILD_DIR\"
|
||||
# cmake -D CMAKE_INSTALL_PREFIX=$PREFIX \\
|
||||
# -D CMAKE_BUILD_TYPE=$BUILD_TYPE \\
|
||||
# -D KMESS_DEBUG_OUTPUT=$DEBUG \\
|
||||
# \"$SRC_DIR\"
|
||||
#
|
||||
" > $makefile
|
||||
|
||||
for target in $targets; do
|
||||
echo "$target:" >> $makefile
|
||||
echo -en "\t" >> $makefile
|
||||
echo "@\$(MAKE) --no-print-directory -C '$BUILD_DIR' $target" >> $makefile
|
||||
echo "" >> $makefile
|
||||
done
|
||||
|
||||
# display a configure report
|
||||
echo "-- configure completed
|
||||
|
||||
|
||||
Build features:
|
||||
|
||||
Install prefix: $PREFIX
|
||||
Auto-away feature: $HAS_XSS
|
||||
Debugging messages: $HAS_DEBUG
|
||||
Build type: $BUILD_TYPE
|
||||
|
||||
|
||||
Enter the following command to continue:
|
||||
|
||||
make
|
||||
"
|
||||
}
|
||||
|
||||
function cmake_error
|
||||
{
|
||||
echo "-- cmake failed
|
||||
|
||||
Please fix the problems mentioned above, and run ./configure again.
|
||||
For example, make sure you have the KDE 4 devel packages installed.
|
||||
"
|
||||
}
|
||||
|
||||
|
||||
|
||||
# ------------------------------
|
||||
#
|
||||
# Main
|
||||
#
|
||||
|
||||
# parse arguments
|
||||
if [ -n "$*" ]; then
|
||||
|
||||
# check against BSD / Mac OS getopt, which is seriously lacking.
|
||||
# It does not support additional options, so it will recognize everything
|
||||
# after --longoptions as the $@ input.
|
||||
if ! getopt --longoptions --prefix -- "" 2>/dev/null >/dev/null; then
|
||||
echo "$0: Sorry, can't handle arguments at this platform.
|
||||
Your getopt version does not support long arguments.
|
||||
|
||||
Please run cmake directly, for example:
|
||||
|
||||
mkdir build
|
||||
cd build
|
||||
cmake -D CMAKE_INSTALL_PREFIX=/usr ../
|
||||
make
|
||||
make install
|
||||
" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Parse the arguments
|
||||
longopts="help,prefix:,build-type:,build-dir:,build-folder:,enable-debug-output"
|
||||
TEMP=`getopt --name=configure \
|
||||
--options h \
|
||||
--longoptions "$longopts" -- "$@"`
|
||||
case "$?" in
|
||||
0) ;;
|
||||
*) exit 1 ;;
|
||||
esac
|
||||
|
||||
|
||||
# Note the quotes around `$TEMP': they are essential!
|
||||
eval set -- "$TEMP"
|
||||
|
||||
while true ; do
|
||||
case "$1" in
|
||||
-h|--help) print_help; exit 0 ;;
|
||||
--prefix) PREFIX=$2; shift 2 ;;
|
||||
--enable-debug-output) DEBUG=1; shift ;;
|
||||
--build-type) BUILD_TYPE="$2"; shift 2 ;;
|
||||
--build-dir) BUILD_DIR="$2"; shift 2 ;;
|
||||
--builddir|--build-directory|--build-folder) BUILD_DIR="$2"; shift 2 ;; # be forgiving with small errors.
|
||||
--) shift ; break ;;
|
||||
*) echo "$0: internal error at argument '$1'!" ; exit 1 ;;
|
||||
esac
|
||||
done
|
||||
|
||||
if [ -n "$1" ]; then
|
||||
echo "$0: invalid arguments: $@"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
# Start cmake
|
||||
run_cmake
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
./admin/configure.in.min
|
||||
configure.in.in
|
||||
@@ -1,11 +0,0 @@
|
||||
#MIN_CONFIG(3)
|
||||
|
||||
AM_INIT_AUTOMAKE(kmess,1.0rc1)
|
||||
|
||||
dnl CXXFLAGS="$NOOPT_CXXFLAGS" dnl __kdevelop[noopt]__
|
||||
dnl CFLAGS="$NOOPT_CFLAGS" dnl __kdevelop[noopt]__
|
||||
dnl CXXFLAGS="$CXXFLAGS $USE_EXCEPTIONS" dnl __kdevelop[exc]__
|
||||
|
||||
dnl KDE_NEED_FLEX dnl __kdevelop__
|
||||
dnl AC_PROG_YACC dnl __kdevelop__
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
|
||||
ADD_SUBDIRECTORY( pics )
|
||||
ADD_SUBDIRECTORY( icons )
|
||||
ADD_SUBDIRECTORY( sounds )
|
||||
ADD_SUBDIRECTORY( emoticons )
|
||||
ADD_SUBDIRECTORY( chatstyles )
|
||||
|
||||
INSTALL( FILES kmesschatstyles.knsrc DESTINATION ${CONFIG_INSTALL_DIR} )
|
||||
INSTALL( FILES kmess.notifyrc DESTINATION ${DATA_INSTALL_DIR}/kmess )
|
||||
INSTALL( FILES kmess.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
|
||||
@@ -0,0 +1,17 @@
|
||||
|
||||
include_directories( ${KDE4_INCLUDES} ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} )
|
||||
|
||||
add_subdirectory( Colourful-Enclosed )
|
||||
add_subdirectory( Classic )
|
||||
add_subdirectory( Classic-compact )
|
||||
add_subdirectory( Dim )
|
||||
add_subdirectory( Efficient )
|
||||
add_subdirectory( Fresh )
|
||||
add_subdirectory( Fresh-dark )
|
||||
add_subdirectory( Pure )
|
||||
|
||||
|
||||
########### install files ###############
|
||||
|
||||
install( FILES examplemessage.xml DESTINATION ${DATA_INSTALL_DIR}/kmess/styles/ )
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
|
||||
include_directories( ${KDE4_INCLUDES} ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} )
|
||||
|
||||
|
||||
########### install files ###############
|
||||
|
||||
install( FILES Classic-compact.xsl Classic-compact.css DESTINATION ${DATA_INSTALL_DIR}/kmess/styles/Classic-compact/ )
|
||||
|
||||
@@ -0,0 +1,74 @@
|
||||
/*
|
||||
KMess Classic-compact chat style
|
||||
Copyright (C) 2006, Diederik van der Boor
|
||||
|
||||
Based on the original KMess chat style.
|
||||
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* Draw a border arround emoticon placeholders.
|
||||
*/
|
||||
img.customEmoticonPlaceholder
|
||||
{
|
||||
border: 1px dotted #ccc;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* fix alignment of emoticons
|
||||
*/
|
||||
img.standardEmoticon,
|
||||
img.customEmoticon,
|
||||
img.customEmoticonPlaceholder
|
||||
{
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Define colors for filenames.
|
||||
*/
|
||||
span.filename {
|
||||
color: blue;
|
||||
}
|
||||
|
||||
span.failedFilename,
|
||||
div.notification .filename {
|
||||
color: red;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Separator for the various chats within HTML files
|
||||
*/
|
||||
div.conversation
|
||||
{
|
||||
margin: 2em 1em 1em 1em;
|
||||
padding-bottom: 0.5em;
|
||||
border-bottom: 1px solid gray;
|
||||
color: purple;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Remaining markup is done inline in the .xsl file.
|
||||
*/
|
||||
|
||||
@@ -0,0 +1,187 @@
|
||||
<?xml version='1.0'?>
|
||||
<!--
|
||||
KMess Classic-compact chat style
|
||||
Copyright (C) 2006, Diederik van der Boor
|
||||
|
||||
Based on the original KMess chat style.
|
||||
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
||||
-->
|
||||
<xsl:stylesheet version="1.0"
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
xmlns:kmess="http://www.kmess.org/xmlns/ChatStyles/v1/" >
|
||||
<xsl:output method="html"
|
||||
indent="no"
|
||||
omit-xml-declaration="yes"
|
||||
encoding="utf-8" />
|
||||
|
||||
<!--
|
||||
Normal chat message.
|
||||
This is used to process individual chat messages.
|
||||
-->
|
||||
<xsl:template match="message">
|
||||
<xsl:choose>
|
||||
|
||||
<!-- incoming and outgoing chat messages -->
|
||||
<xsl:when test="@type='incoming' or @type='outgoing' or @type='offlineIncoming'">
|
||||
<div dir="{body/@dir}">
|
||||
|
||||
<!-- contact name part -->
|
||||
<span dir="{from/contact/displayName/@dir}">
|
||||
<xsl:attribute name="style">
|
||||
<xsl:choose>
|
||||
<xsl:when test="from/contact/displayName/@dir='ltr'">padding-right: 0.3em;</xsl:when>
|
||||
<xsl:otherwise>padding-left: 0.3em;</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:attribute>
|
||||
|
||||
<font>
|
||||
<!-- contact name color -->
|
||||
<xsl:attribute name="color">
|
||||
<xsl:choose>
|
||||
<xsl:when test="@type='incoming' or @type='offlineIncoming'">#D60000</xsl:when>
|
||||
<xsl:otherwise>#006A00</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:attribute>
|
||||
|
||||
<!-- show time? -->
|
||||
<xsl:if test="@time">
|
||||
<xsl:if test="@type='offlineIncoming'">
|
||||
<xsl:value-of select="@date"/>  
|
||||
</xsl:if>
|
||||
<xsl:value-of select="@time"/>
|
||||
<xsl:text> </xsl:text>
|
||||
</xsl:if>
|
||||
|
||||
<!-- show contact name -->
|
||||
<xsl:value-of disable-output-escaping="yes" select="from/contact/displayName/@text"/>
|
||||
<xsl:text> says: </xsl:text>
|
||||
</font>
|
||||
</span>
|
||||
|
||||
<!-- show message -->
|
||||
<xsl:value-of disable-output-escaping="yes" select="body/@fontBefore"/>
|
||||
<xsl:value-of disable-output-escaping="yes" select="body"/>
|
||||
<xsl:value-of disable-output-escaping="yes" select="body/@fontAfter"/>
|
||||
</div>
|
||||
</xsl:when>
|
||||
|
||||
<!-- application message (e.g. invite for file transfer) -->
|
||||
<xsl:when test="@type='application'">
|
||||
<div dir="{body/@dir}">
|
||||
<font color="blue">
|
||||
<xsl:value-of disable-output-escaping="yes" select="body"/>
|
||||
</font>
|
||||
</div>
|
||||
</xsl:when>
|
||||
|
||||
|
||||
<!-- presence message (e.g. contact gone offline) -->
|
||||
<xsl:when test="@type='presence'">
|
||||
<div dir="{body/@dir}">
|
||||
<font color="gray">
|
||||
<xsl:value-of disable-output-escaping="yes" select="body"/>
|
||||
</font>
|
||||
</div>
|
||||
</xsl:when>
|
||||
|
||||
<!-- notification message (e.g. file received) -->
|
||||
<xsl:when test="@type='notification'">
|
||||
<div dir="{body/@dir}">
|
||||
<font color="purple">
|
||||
<xsl:value-of disable-output-escaping="yes" select="body"/>
|
||||
</font>
|
||||
</div>
|
||||
</xsl:when>
|
||||
|
||||
<!-- system message (error messages, e.g. invitations KMess does not support) -->
|
||||
<xsl:when test="@type='system'">
|
||||
<div dir="{body/@dir}">
|
||||
<hr size="2" color="red"/>
|
||||
<font color="red"><xsl:value-of disable-output-escaping="yes" select="body"/></font>
|
||||
<hr size="2" color="red"/>
|
||||
</div>
|
||||
</xsl:when>
|
||||
|
||||
</xsl:choose>
|
||||
</xsl:template>
|
||||
|
||||
|
||||
<!--
|
||||
Message group template
|
||||
This is used to group follow-up messages from the same contact.
|
||||
-->
|
||||
<xsl:template match="messagegroup">
|
||||
<div class="messagegroup">
|
||||
|
||||
<!-- contact name part -->
|
||||
<span dir="{message[1]/from/contact/displayName/@dir}">
|
||||
<xsl:attribute name="style">
|
||||
<xsl:choose>
|
||||
<xsl:when test="message[1]/from/contact/displayName/@dir='ltr'">float:left; clear:both; padding-right: 0.3em;</xsl:when>
|
||||
<xsl:otherwise>float:right; clear:both; padding-left: 0.3em;</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:attribute>
|
||||
|
||||
<font>
|
||||
<!-- contact name color -->
|
||||
<xsl:attribute name="color">
|
||||
<xsl:choose>
|
||||
<xsl:when test="message[1]/@type='incoming' or message[1]/@type='offlineIncoming'">#D60000</xsl:when>
|
||||
<xsl:otherwise>#006A00</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:attribute>
|
||||
|
||||
<!-- show time? -->
|
||||
<xsl:if test="message[1]/@time">
|
||||
<xsl:value-of select="message[1]/@time"/>
|
||||
<xsl:text> </xsl:text>
|
||||
</xsl:if>
|
||||
|
||||
<!-- show contact name -->
|
||||
<xsl:value-of disable-output-escaping="yes" select="message[1]/from/contact/displayName/@text"/>
|
||||
<xsl:text> says: </xsl:text>
|
||||
</font>
|
||||
</span>
|
||||
|
||||
<!-- show message -->
|
||||
<xsl:for-each select="message">
|
||||
<!-- show time for each followup message? -->
|
||||
<!--
|
||||
<xsl:if test="position() != 1 and @time">
|
||||
<font>
|
||||
<xsl:attribute name="color">
|
||||
<xsl:choose>
|
||||
<xsl:when test="@type='incoming' or @type='offlineIncoming'">#D60000</xsl:when>
|
||||
<xsl:otherwise>#006A00</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:attribute>
|
||||
<xsl:value-of select="@time"/>
|
||||
<xsl:text>: </xsl:text>
|
||||
</font>
|
||||
</xsl:if>
|
||||
-->
|
||||
|
||||
<!-- show message -->
|
||||
<div dir="{body/@dir}">
|
||||
<xsl:value-of disable-output-escaping="yes" select="body/@fontBefore"/>
|
||||
<xsl:value-of disable-output-escaping="yes" select="body"/>
|
||||
<xsl:value-of disable-output-escaping="yes" select="body/@fontAfter"/>
|
||||
</div>
|
||||
</xsl:for-each>
|
||||
</div>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
@@ -0,0 +1,8 @@
|
||||
|
||||
include_directories( ${KDE4_INCLUDES} ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} )
|
||||
|
||||
|
||||
########### install files ###############
|
||||
|
||||
install( FILES Classic.xsl Classic.css DESTINATION ${DATA_INSTALL_DIR}/kmess/styles/Classic/ )
|
||||
|
||||
@@ -0,0 +1,73 @@
|
||||
/*
|
||||
KMess Classic chat style
|
||||
Copyright (C) 2006, Diederik van der Boor
|
||||
|
||||
Based on the original KMess chat style.
|
||||
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* Draw a border arround emoticon placeholders.
|
||||
*/
|
||||
img.customEmoticonPlaceholder
|
||||
{
|
||||
border: 1px dotted #ccc;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* fix alignment of emoticons
|
||||
*/
|
||||
img.standardEmoticon,
|
||||
img.customEmoticon,
|
||||
img.customEmoticonPlaceholder
|
||||
{
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Define colors for filenames.
|
||||
*/
|
||||
span.filename {
|
||||
color: blue;
|
||||
}
|
||||
|
||||
span.failedFilename,
|
||||
div.notification .filename {
|
||||
color: red;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Separator for the various chats within HTML files
|
||||
*/
|
||||
div.conversation
|
||||
{
|
||||
margin: 2em 1em 1em 1em;
|
||||
padding-bottom: 0.5em;
|
||||
border-bottom: 1px solid gray;
|
||||
color: purple;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Remaining markup is done inline in the .xsl file.
|
||||
*/
|
||||
|
||||
@@ -0,0 +1,164 @@
|
||||
<?xml version='1.0'?>
|
||||
<!--
|
||||
KMess Classic chat style
|
||||
Copyright (C) 2006, Diederik van der Boor
|
||||
|
||||
Based on the original KMess chat style.
|
||||
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
||||
-->
|
||||
<xsl:stylesheet version="1.0"
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
xmlns:kmess="http://www.kmess.org/xmlns/ChatStyles/v1/" >
|
||||
<xsl:output method="html"
|
||||
encoding="utf-8"
|
||||
indent="no"
|
||||
omit-xml-declaration="yes" />
|
||||
|
||||
<!--
|
||||
Normal chat message.
|
||||
This is used to process individual chat messages.
|
||||
-->
|
||||
<xsl:template match="message">
|
||||
<xsl:choose>
|
||||
|
||||
|
||||
<!-- incoming and outgoing chat messages -->
|
||||
<xsl:when test="@type='incoming' or @type='outgoing' or @type='offlineIncoming'">
|
||||
<div style="margin-bottom: 16px">
|
||||
|
||||
<div dir="{from/contact/displayName/@dir}">
|
||||
<font>
|
||||
<!-- contact name color -->
|
||||
<xsl:attribute name="color">
|
||||
<xsl:choose>
|
||||
<xsl:when test="@type='incoming' or @type='offlineIncoming'">#D60000</xsl:when>
|
||||
<xsl:otherwise>#006A00</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:attribute>
|
||||
|
||||
<!-- show time? -->
|
||||
<xsl:if test="@time">
|
||||
<xsl:if test="@type='offlineIncoming'">
|
||||
<xsl:value-of select="@date"/>  
|
||||
</xsl:if>
|
||||
<xsl:value-of select="@time"/>
|
||||
<xsl:text> </xsl:text>
|
||||
</xsl:if>
|
||||
|
||||
<!-- show contact name -->
|
||||
<xsl:value-of disable-output-escaping="yes" select="from/contact/displayName/@text"/>
|
||||
<xsl:text kmess:translate="true"> says: </xsl:text>
|
||||
<br/>
|
||||
</font>
|
||||
</div>
|
||||
|
||||
<div dir="{body/@dir}">
|
||||
<!-- show message -->
|
||||
<xsl:value-of disable-output-escaping="yes" select="body/@fontBefore"/>
|
||||
<xsl:value-of disable-output-escaping="yes" select="body"/>
|
||||
<xsl:value-of disable-output-escaping="yes" select="body/@fontAfter"/>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</xsl:when>
|
||||
|
||||
|
||||
<!-- application message (e.g. invite for file transfer) -->
|
||||
<xsl:when test="@type='application'">
|
||||
<div style="margin-bottom: 16px" dir="{body/@dir}">
|
||||
<font color="blue">
|
||||
<xsl:value-of disable-output-escaping="yes" select="body"/>
|
||||
</font>
|
||||
</div>
|
||||
</xsl:when>
|
||||
|
||||
|
||||
<!-- presence message (e.g. contact gone offline) -->
|
||||
<xsl:when test="@type='presence'">
|
||||
<div style="margin-bottom: 16px" dir="{body/@dir}">
|
||||
<font color="gray">
|
||||
<xsl:value-of disable-output-escaping="yes" select="body"/>
|
||||
</font>
|
||||
</div>
|
||||
</xsl:when>
|
||||
|
||||
|
||||
<!-- notification message (e.g. file received) -->
|
||||
<xsl:when test="@type='notification'">
|
||||
<div style="margin-bottom: 16px" dir="{body/@dir}">
|
||||
<font color="purple">
|
||||
<xsl:value-of disable-output-escaping="yes" select="body"/>
|
||||
</font>
|
||||
</div>
|
||||
</xsl:when>
|
||||
|
||||
|
||||
<!-- system message (error messages, e.g. invitations KMess does not support) -->
|
||||
<xsl:when test="@type='system'">
|
||||
<div style="margin-bottom: 16px" dir="{body/@dir}">
|
||||
<hr size="2" color="red"/>
|
||||
<font color="red"><xsl:value-of disable-output-escaping="yes" select="body"/></font>
|
||||
<hr size="2" color="red"/>
|
||||
</div>
|
||||
</xsl:when>
|
||||
|
||||
|
||||
</xsl:choose>
|
||||
</xsl:template>
|
||||
|
||||
|
||||
<!--
|
||||
Message group template
|
||||
This is used to group follow-up messages from the same contact.
|
||||
-->
|
||||
<xsl:template match="messagegroup">
|
||||
<div class="messagegroup" style="margin-bottom: 16px">
|
||||
|
||||
<div dir="{message[1]/from/contact/displayName/@dir}">
|
||||
<font>
|
||||
<!-- contact name color -->
|
||||
<xsl:attribute name="color">
|
||||
<xsl:choose>
|
||||
<xsl:when test="message[1]/@type='incoming' or message[1]/@type='offlineIncoming'">#D60000</xsl:when>
|
||||
<xsl:otherwise>#006A00</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:attribute>
|
||||
|
||||
<!-- show time? -->
|
||||
<xsl:if test="message[1]/@time">
|
||||
<xsl:value-of select="message[1]/@time"/> <!-- - <xsl:value-of select="message[last()]/@time"/> -->
|
||||
<xsl:text> </xsl:text>
|
||||
</xsl:if>
|
||||
|
||||
<!-- show contact name -->
|
||||
<xsl:value-of disable-output-escaping="yes" select="message[1]/from/contact/displayName/@text"/>
|
||||
<xsl:text kmess:translate="true"> says: </xsl:text>
|
||||
<br/>
|
||||
</font>
|
||||
</div>
|
||||
|
||||
<!-- show message -->
|
||||
<xsl:for-each select="message">
|
||||
<div dir="{body/@dir}">
|
||||
<xsl:value-of disable-output-escaping="yes" select="body/@fontBefore"/>
|
||||
<xsl:value-of disable-output-escaping="yes" select="body"/>
|
||||
<xsl:value-of disable-output-escaping="yes" select="body/@fontAfter"/>
|
||||
</div>
|
||||
</xsl:for-each>
|
||||
</div>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
@@ -0,0 +1,8 @@
|
||||
|
||||
include_directories( ${KDE4_INCLUDES} ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} )
|
||||
|
||||
|
||||
########### install files ###############
|
||||
|
||||
install( FILES Colourful-Enclosed.xsl Colourful-Enclosed.css DESTINATION ${DATA_INSTALL_DIR}/kmess/styles/Colourful-Enclosed/ )
|
||||
|
||||
@@ -0,0 +1,216 @@
|
||||
/*
|
||||
'Colourful-Enclosed' style for KMess.
|
||||
Copyright (C) 2006, Diederik van der Boor
|
||||
Copyright (c) 2005, Jess Hall
|
||||
|
||||
Design based on 'Colourful enclosed' by Jess Hall
|
||||
http://www.kde-look.org/content/show.php?content=19968
|
||||
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
||||
*/
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* the incoming and outgoing messages are implemented as definition-list (<dl>).
|
||||
* each message type has a different background/border color.
|
||||
*
|
||||
* the header is added to the <dt> tag, the message body to the <dd> tag.
|
||||
* this is easy to format with css, and easy to read without css markup.
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
* reset some default margins.
|
||||
*/
|
||||
dl, dt, dd
|
||||
{
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Border effect.
|
||||
*/
|
||||
dl
|
||||
{
|
||||
border: 1px solid grey;
|
||||
margin: 0 0 12px 0; /* margin bottom is 12px */
|
||||
background-color: #fff; /* for dark color schemes */
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* message title colors.
|
||||
*/
|
||||
|
||||
dt
|
||||
{
|
||||
padding: 0 2px; /* left padding, right padding */
|
||||
}
|
||||
|
||||
.incoming dt
|
||||
{
|
||||
color: #00008B;
|
||||
font-weight: bold;
|
||||
background-color: #d8e0ff;
|
||||
}
|
||||
|
||||
.outgoing dt
|
||||
{
|
||||
color: teal;
|
||||
font-weight: bold;
|
||||
background-color: #c8ffd8;
|
||||
}
|
||||
|
||||
.offlineIncoming dt
|
||||
{
|
||||
color: #6B10C6;
|
||||
font-weight: bold;
|
||||
background-color: #EBE5FF;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* name in message title.
|
||||
*/
|
||||
dt span.name
|
||||
{
|
||||
margin-right: 100px; /* avoid overlapping the time */
|
||||
}
|
||||
|
||||
dt.rtl span.name
|
||||
{
|
||||
margin-right: 0;
|
||||
margin-left: 100px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* time in message title.
|
||||
*/
|
||||
dt span.time
|
||||
{
|
||||
float: right;
|
||||
display: inline; /* typically for MSIE bugs */
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
dt.rtl span.time
|
||||
{
|
||||
float: left;
|
||||
margin-left: 0;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* message body.
|
||||
* add some spacing, color and the bottom line.
|
||||
*/
|
||||
dd
|
||||
{
|
||||
padding: 0 15px; /* left and right 15px */
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* other messages;
|
||||
* - application message (e.g. invitation)
|
||||
* - notification message (e.g. file transfer complete)
|
||||
* - system message (e.g. error, invitation not supported)
|
||||
*/
|
||||
div.application,
|
||||
div.notification,
|
||||
div.presence,
|
||||
div.system
|
||||
{
|
||||
margin: 10px 0 10px; /* top and bottom margin */
|
||||
}
|
||||
|
||||
div.application
|
||||
{
|
||||
color: blue;
|
||||
}
|
||||
|
||||
div.presence
|
||||
{
|
||||
color: gray;
|
||||
}
|
||||
|
||||
div.notification
|
||||
{
|
||||
color: purple;
|
||||
}
|
||||
|
||||
div.system
|
||||
{
|
||||
color: red;
|
||||
padding: 3px 0;
|
||||
border-top: 1px solid red;
|
||||
border-bottom: 1px solid red;
|
||||
}
|
||||
|
||||
span.filename {
|
||||
color: blue;
|
||||
}
|
||||
|
||||
span.failedFilename,
|
||||
div.notification .filename {
|
||||
color: red;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Draw a border arround emoticon placeholders.
|
||||
*/
|
||||
img.customEmoticonPlaceholder
|
||||
{
|
||||
border: 1px dotted #ccc;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* fix alignment of emoticons
|
||||
*/
|
||||
img.standardEmoticon,
|
||||
img.customEmoticon,
|
||||
img.customEmoticonPlaceholder
|
||||
{
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* Separator for the various chats within HTML files
|
||||
*/
|
||||
div.conversation
|
||||
{
|
||||
margin: 3em 2em 2em 2em;
|
||||
padding: 0.5em;
|
||||
border: 1px solid grey;
|
||||
color: purple;
|
||||
text-align: center;
|
||||
}
|
||||
@@ -0,0 +1,189 @@
|
||||
<?xml version='1.0'?>
|
||||
<!--
|
||||
'Colourful-Enclosed' style for KMess.
|
||||
Copyright (C) 2006, Diederik van der Boor
|
||||
Copyright (c) 2005, Jess Hall
|
||||
|
||||
Design based on 'Colourful enclosed' by Jess Hall
|
||||
http://www.kde-look.org/content/show.php?content=19968
|
||||
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
||||
-->
|
||||
<xsl:stylesheet version="1.0"
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
xmlns:kmess="http://www.kmess.org/xmlns/ChatStyles/v1/" >
|
||||
<xsl:output method="html"
|
||||
encoding="utf-8"
|
||||
indent="no"
|
||||
omit-xml-declaration="yes"
|
||||
doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"
|
||||
doctype-system="http://www.w3.org/TR/html4/loose.dtd" />
|
||||
|
||||
<!--
|
||||
Declare external parameters with default values
|
||||
-->
|
||||
<xsl:param name="basepath" select="'.'" />
|
||||
<xsl:param name="csspath" select="'Colourful-Enclosed.css'" />
|
||||
|
||||
|
||||
<!--
|
||||
Template for the page body
|
||||
-->
|
||||
<xsl:template match="messageRoot">
|
||||
<html id="ChatMessageView">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<base href="{$basepath}" />
|
||||
<style type="text/css">
|
||||
/* standard colors for compatibility with dark color schemes */
|
||||
body { font-size: 10pt; margin: 0; padding: 5px; background-color: #fff; color: #000; }
|
||||
a:link { color: blue; }
|
||||
a:visited { color: purple; }
|
||||
a:hover { color: red; }
|
||||
a:active { color: red; }
|
||||
</style>
|
||||
<style type="text/css">
|
||||
/* import additional style */
|
||||
@import "<xsl:value-of select="$csspath" />";
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="messageRoot">
|
||||
<!-- chat messages are appended here by KMess -->
|
||||
<xsl:apply-templates />
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
</xsl:template>
|
||||
|
||||
|
||||
<!--
|
||||
Template for normal messages
|
||||
-->
|
||||
<xsl:template match="message">
|
||||
<xsl:choose>
|
||||
|
||||
<!--
|
||||
normal chat message,
|
||||
- incoming message from a contact.
|
||||
- outgoing message from the user.
|
||||
- incoming offline-im message from a contact.
|
||||
-->
|
||||
<xsl:when test="@type='incoming' or @type='outgoing' or @type='offlineIncoming'">
|
||||
<div class="{body/@dir}">
|
||||
<div class="{@type}">
|
||||
|
||||
<dl>
|
||||
<!-- message header -->
|
||||
<dt dir="{from/contact/displayName/@dir}" class="{from/contact/displayName/@dir}">
|
||||
<!-- show time? -->
|
||||
<!-- time will be floated to the right, so it must be before the other text -->
|
||||
<xsl:if test="@time">
|
||||
<span class="time">
|
||||
<xsl:if test="@type='offlineIncoming'">
|
||||
<xsl:value-of select="@date"/>  
|
||||
</xsl:if>
|
||||
<xsl:value-of select="@time"/>
|
||||
</span>
|
||||
</xsl:if>
|
||||
|
||||
<!-- show name -->
|
||||
<span class="name">
|
||||
<xsl:value-of disable-output-escaping="yes" select="from/contact/displayName/@text"/>
|
||||
<xsl:text>:</xsl:text>
|
||||
</span>
|
||||
</dt>
|
||||
|
||||
<!-- message body -->
|
||||
<dd dir="{body/@dir}">
|
||||
<xsl:value-of disable-output-escaping="yes" select="body/@fontBefore"/>
|
||||
<xsl:value-of disable-output-escaping="yes" select="body"/>
|
||||
<xsl:value-of disable-output-escaping="yes" select="body/@fontAfter"/>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</xsl:when>
|
||||
|
||||
<!--
|
||||
other messages, like:
|
||||
- application message (e.g. invite for file transfer)
|
||||
- notification message (e.g. file received)
|
||||
- system message (error messages, e.g. invitations KMess does not support)
|
||||
-->
|
||||
<xsl:when test="@type='application' or @type='presence' or @type='notification' or @type='system'">
|
||||
<div class="{body/@dir}">
|
||||
<div class="{@type}" dir="{body/@dir}">
|
||||
|
||||
<xsl:value-of disable-output-escaping="yes" select="body"/>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</xsl:when>
|
||||
|
||||
</xsl:choose>
|
||||
</xsl:template>
|
||||
|
||||
|
||||
<!--
|
||||
Message group template
|
||||
This is used to group follow-up messages from the same contact.
|
||||
-->
|
||||
<xsl:template match="messagegroup">
|
||||
<div class="messagegroup">
|
||||
<div class="{message[1]/body/@dir}">
|
||||
<div class="{message[1]/@type}">
|
||||
|
||||
<dl>
|
||||
<!-- message header -->
|
||||
<dt dir="{message[1]/from/contact/displayName/@dir}">
|
||||
<!-- show time? -->
|
||||
<xsl:if test="message[1]/@time">
|
||||
<span class="time"><xsl:value-of select="message[1]/@time"/> - <xsl:value-of select="message[last()]/@time"/></span>
|
||||
</xsl:if>
|
||||
|
||||
<!-- show name -->
|
||||
<span class="name">
|
||||
<xsl:value-of disable-output-escaping="yes" select="message[1]/from/contact/displayName/@text"/>
|
||||
<xsl:text>:</xsl:text>
|
||||
</span>
|
||||
</dt>
|
||||
|
||||
<!-- message body -->
|
||||
<xsl:for-each select="message">
|
||||
<dd dir="{body/@dir}">
|
||||
<!-- add extra attribute for css -->
|
||||
<xsl:attribute name="class">
|
||||
<xsl:choose>
|
||||
<xsl:when test="position() = last()"><xsl:text>last-child</xsl:text></xsl:when>
|
||||
<xsl:when test="position() = 1"><xsl:text>first-child</xsl:text></xsl:when>
|
||||
<xsl:otherwise><xsl:text>middle-child</xsl:text></xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:attribute>
|
||||
|
||||
<xsl:value-of disable-output-escaping="yes" select="body/@fontBefore"/>
|
||||
<xsl:value-of disable-output-escaping="yes" select="body"/>
|
||||
<xsl:value-of disable-output-escaping="yes" select="body/@fontAfter"/>
|
||||
</dd>
|
||||
</xsl:for-each>
|
||||
</dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
@@ -0,0 +1,8 @@
|
||||
|
||||
include_directories( ${KDE4_INCLUDES} ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} )
|
||||
|
||||
|
||||
########### install files ###############
|
||||
|
||||
install( FILES Dim.xsl Dim.css DESTINATION ${DATA_INSTALL_DIR}/kmess/styles/Dim/ )
|
||||
|
||||
@@ -0,0 +1,202 @@
|
||||
/*
|
||||
'Dim' style for KMess.
|
||||
Copyright (C) 2006, Diederik van der Boor
|
||||
Copyright (c) 2004, Iori Yagami
|
||||
|
||||
Design based on 'Yagami' by Iori Yagami
|
||||
http://www.kde-look.org/content/show.php?content=23473
|
||||
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
||||
*/
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* the incoming and outgoing messages are implemented as definition-list (<dl>).
|
||||
* each message type has a different background/border color.
|
||||
*
|
||||
* the header is added to the <dt> tag, the message body to the <dd> tag.
|
||||
* this is easy to format with css, and easy to read without css markup.
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
* reset some default margins.
|
||||
*/
|
||||
dl
|
||||
{
|
||||
/* message group */
|
||||
margin: 0 0 5px 0; /* set margin bottom */
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
dt
|
||||
{
|
||||
/* message title */
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
dd
|
||||
{
|
||||
/* message body */
|
||||
margin: 0 0 0 16px; /* set left margin */
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.rtl dd
|
||||
{
|
||||
margin-left: 0;
|
||||
margin-right: 16px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* message title colors.
|
||||
*/
|
||||
.incoming dt
|
||||
{
|
||||
color: #344A93;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.outgoing dt
|
||||
{
|
||||
color: #549A5C;
|
||||
}
|
||||
|
||||
.offlineIncoming dt
|
||||
{
|
||||
color: #344A93;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* name in message title.
|
||||
*/
|
||||
dt span.name
|
||||
{
|
||||
margin-right: 100px; /* avoid overlapping the time */
|
||||
}
|
||||
|
||||
.rtl dt span.name
|
||||
{
|
||||
margin-right: 0;
|
||||
margin-left: 100px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* time in message title.
|
||||
*/
|
||||
dt span.time
|
||||
{
|
||||
float: right;
|
||||
display: inline; /* typically for MSIE bugs */
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
.rtl dt span.time
|
||||
{
|
||||
float: left;
|
||||
margin-left: 0;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* other messages;
|
||||
* - application message (e.g. invitation)
|
||||
* - notification message (e.g. file transfer complete)
|
||||
* - system message (e.g. error, invitation not supported)
|
||||
*/
|
||||
div.application,
|
||||
div.notification,
|
||||
div.presence,
|
||||
div.system
|
||||
{
|
||||
margin: 10px 0 10px; /* top and bottom margin */
|
||||
}
|
||||
|
||||
div.application
|
||||
{
|
||||
color: #6172b2;
|
||||
}
|
||||
|
||||
div.presence
|
||||
{
|
||||
color: #c4c4c4;
|
||||
}
|
||||
|
||||
div.notification
|
||||
{
|
||||
color: #c034c9;
|
||||
}
|
||||
|
||||
div.system
|
||||
{
|
||||
color: #d11313;
|
||||
padding: 3px 0;
|
||||
border-top: 1px solid #d11313;
|
||||
border-bottom: 1px solid #d11313;
|
||||
}
|
||||
|
||||
span.filename {
|
||||
color: blue;
|
||||
}
|
||||
|
||||
span.failedFilename,
|
||||
div.notification .filename {
|
||||
color: red;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Draw a border arround emoticon placeholders.
|
||||
*/
|
||||
img.customEmoticonPlaceholder
|
||||
{
|
||||
border: 1px dotted #ccc;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* fix alignment of emoticons
|
||||
*/
|
||||
img.standardEmoticon,
|
||||
img.customEmoticon,
|
||||
img.customEmoticonPlaceholder
|
||||
{
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* Separator for the various chats within HTML files
|
||||
*/
|
||||
div.conversation
|
||||
{
|
||||
margin-top: 3em;
|
||||
margin-bottom: 1em;
|
||||
color: purple;
|
||||
}
|
||||
@@ -0,0 +1,188 @@
|
||||
<?xml version='1.0'?>
|
||||
<!--
|
||||
'Dim' style for KMess.
|
||||
Copyright (C) 2006, Diederik van der Boor
|
||||
Copyright (c) 2004, Iori Yagami
|
||||
|
||||
Design based on 'Yagami' by Iori Yagami
|
||||
http://www.kde-look.org/content/show.php?content=23473
|
||||
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
||||
-->
|
||||
<xsl:stylesheet version="1.0"
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
xmlns:kmess="http://www.kmess.org/xmlns/ChatStyles/v1/" >
|
||||
<xsl:output method="html"
|
||||
encoding="utf-8"
|
||||
indent="no"
|
||||
omit-xml-declaration="yes"
|
||||
doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"
|
||||
doctype-system="http://www.w3.org/TR/html4/loose.dtd" />
|
||||
|
||||
<!--
|
||||
Declare external parameters with default values
|
||||
-->
|
||||
<xsl:param name="basepath" select="'.'" />
|
||||
<xsl:param name="csspath" select="'Dim.css'" />
|
||||
|
||||
|
||||
<!--
|
||||
Template for the page body
|
||||
-->
|
||||
<xsl:template match="messageRoot">
|
||||
<html id="ChatMessageView">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<base href="{$basepath}" />
|
||||
<style type="text/css">
|
||||
/* standard colors for compatibility with dark color schemes */
|
||||
body { font-size: 10pt; margin: 0; padding: 5px; background-color: #fff; color: #000; }
|
||||
a:link { color: blue; }
|
||||
a:visited { color: purple; }
|
||||
a:hover { color: red; }
|
||||
a:active { color: red; }
|
||||
</style>
|
||||
<style type="text/css">
|
||||
/* import additional style */
|
||||
@import "<xsl:value-of select="$csspath" />";
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="messageRoot">
|
||||
<!-- chat messages are appended here by KMess -->
|
||||
<xsl:apply-templates />
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
</xsl:template>
|
||||
|
||||
<!--
|
||||
Template for normal messages
|
||||
-->
|
||||
<xsl:template match="message">
|
||||
<xsl:choose>
|
||||
|
||||
<!--
|
||||
normal chat message,
|
||||
- incoming message from a contact.
|
||||
- outgoing message from the user.
|
||||
- incoming offline-im message from a contact.
|
||||
-->
|
||||
<xsl:when test="@type='incoming' or @type='outgoing' or @type='offlineIncoming'">
|
||||
<div class="{body/@dir}">
|
||||
<div class="{@type}">
|
||||
|
||||
<dl>
|
||||
<!-- message header -->
|
||||
<dt dir="{from/contact/displayName/@dir}">
|
||||
<!-- show time? -->
|
||||
<!-- time will be floated to the right, so it must be before the other text -->
|
||||
<xsl:if test="@time">
|
||||
<span class="time">
|
||||
<xsl:if test="@type='offlineIncoming'">
|
||||
<xsl:value-of select="@date"/>  
|
||||
</xsl:if>
|
||||
<xsl:value-of select="@time"/>
|
||||
</span>
|
||||
</xsl:if>
|
||||
|
||||
<!-- show name -->
|
||||
<span class="name">
|
||||
<xsl:value-of disable-output-escaping="yes" select="from/contact/displayName/@text"/>
|
||||
<xsl:text>:</xsl:text>
|
||||
</span>
|
||||
</dt>
|
||||
|
||||
<!-- message body -->
|
||||
<dd dir="{body/@dir}">
|
||||
<xsl:value-of disable-output-escaping="yes" select="body/@fontBefore"/>
|
||||
<xsl:value-of disable-output-escaping="yes" select="body"/>
|
||||
<xsl:value-of disable-output-escaping="yes" select="body/@fontAfter"/>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</xsl:when>
|
||||
|
||||
<!--
|
||||
other messages, like:
|
||||
- application message (e.g. invite for file transfer)
|
||||
- notification message (e.g. file received)
|
||||
- system message (error messages, e.g. invitations KMess does not support)
|
||||
-->
|
||||
<xsl:when test="@type='application' or @type='presence' or @type='notification' or @type='system'">
|
||||
<div class="{body/@dir}">
|
||||
<div class="{@type}" dir="{body/@dir}">
|
||||
|
||||
<xsl:value-of disable-output-escaping="yes" select="body"/>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</xsl:when>
|
||||
|
||||
</xsl:choose>
|
||||
</xsl:template>
|
||||
|
||||
|
||||
<!--
|
||||
Message group template
|
||||
This is used to group follow-up messages from the same contact.
|
||||
-->
|
||||
<xsl:template match="messagegroup">
|
||||
<div class="messagegroup">
|
||||
<div class="{message[1]/body/@dir}">
|
||||
<div class="{message[1]/@type}">
|
||||
|
||||
<dl>
|
||||
<!-- message header -->
|
||||
<dt>
|
||||
<!-- show time? -->
|
||||
<xsl:if test="message[1]/@time">
|
||||
<span class="time"><xsl:value-of select="message[1]/@time"/> - <xsl:value-of select="message[last()]/@time"/></span>
|
||||
</xsl:if>
|
||||
|
||||
<!-- show name -->
|
||||
<span class="name">
|
||||
<xsl:value-of disable-output-escaping="yes" select="message[1]/from/contact/displayName/@text"/>
|
||||
<xsl:text>:</xsl:text>
|
||||
</span>
|
||||
</dt>
|
||||
|
||||
<!-- message body -->
|
||||
<xsl:for-each select="message">
|
||||
<dd dir="{body/@dir}">
|
||||
<!-- add extra attribute for css -->
|
||||
<xsl:attribute name="class">
|
||||
<xsl:choose>
|
||||
<xsl:when test="position() = last()"><xsl:text>last-child</xsl:text></xsl:when>
|
||||
<xsl:when test="position() = 1"><xsl:text>first-child</xsl:text></xsl:when>
|
||||
<xsl:otherwise><xsl:text>middle-child</xsl:text></xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:attribute>
|
||||
|
||||
<xsl:value-of disable-output-escaping="yes" select="body/@fontBefore"/>
|
||||
<xsl:value-of disable-output-escaping="yes" select="body"/>
|
||||
<xsl:value-of disable-output-escaping="yes" select="body/@fontAfter"/>
|
||||
</dd>
|
||||
</xsl:for-each>
|
||||
</dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
@@ -0,0 +1,8 @@
|
||||
|
||||
include_directories( ${KDE4_INCLUDES} ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} )
|
||||
|
||||
|
||||
########### install files ###############
|
||||
|
||||
install( FILES Efficient.xsl Efficient.css DESTINATION ${DATA_INSTALL_DIR}/kmess/styles/Efficient/ )
|
||||
|
||||
@@ -0,0 +1,273 @@
|
||||
/*
|
||||
'Efficient' style for KMess.
|
||||
Copyright (C) 2006, Diederik van der Boor
|
||||
Copyright (c) 2005, Cies Breijs
|
||||
|
||||
Design based on 'Efficient' by Cies Breijs
|
||||
http://www.kde-look.org/content/show.php?content=26318
|
||||
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
||||
*/
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* the incoming and outgoing messages are implemented as definition-list (<dl>).
|
||||
* each message type has a different background/border color.
|
||||
*
|
||||
* the header is added to the <dt> tag, the message body to the <dd> tag.
|
||||
* this is easy to format with css, and easy to read without css markup.
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
* reset some default margins
|
||||
*/
|
||||
dl
|
||||
{
|
||||
margin: 0 0 2px 0; /* set margin bottom */
|
||||
}
|
||||
|
||||
dt, dd
|
||||
{
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* message colors.
|
||||
*/
|
||||
.incoming dl
|
||||
{
|
||||
background-color: #F7F3F3;
|
||||
}
|
||||
|
||||
.outgoing dl
|
||||
{
|
||||
background-color: #F4F4FB;
|
||||
}
|
||||
|
||||
.offlineIncoming dl
|
||||
{
|
||||
background-color: #FFFBFB;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* message title colors
|
||||
*/
|
||||
.incoming dt
|
||||
{
|
||||
color: #A82F2F;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.outgoing dt
|
||||
{
|
||||
color: #16569E;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.offlineIncoming dt
|
||||
{
|
||||
color: #C83838;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* column effect
|
||||
*/
|
||||
.incoming dt,
|
||||
.outgoing dt,
|
||||
.offlineIncoming dt
|
||||
{
|
||||
float: left;
|
||||
min-width: 7em;
|
||||
|
||||
/* to enforce a fixed width:
|
||||
width: 7em;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
*/
|
||||
}
|
||||
|
||||
.rtl .incoming dt,
|
||||
.rtl .outgoing dt,
|
||||
.rtl .offlineIncoming dt
|
||||
{
|
||||
/* reverse for right-to-left */
|
||||
float: right;
|
||||
}
|
||||
|
||||
.incoming dd,
|
||||
.outgoing dd,
|
||||
.offlineIncoming dd
|
||||
{
|
||||
/* for alignment of lines under the float
|
||||
using padding instead of margin to the messagegroup border also appears below the name */
|
||||
padding-left: 7em;
|
||||
}
|
||||
|
||||
.rtl .incoming dd,
|
||||
.rtl .outgoing dd,
|
||||
.rtl .offlineIncoming dd
|
||||
{
|
||||
padding-left: 0;
|
||||
padding-right: 7em;
|
||||
}
|
||||
|
||||
dl
|
||||
{
|
||||
position: relative;
|
||||
/* new messages should appear below the float */
|
||||
clear: both;
|
||||
}
|
||||
|
||||
|
||||
div.application,
|
||||
div.notification,
|
||||
div.presence,
|
||||
div.system
|
||||
{
|
||||
margin-left: 7em;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* name in message title.
|
||||
*/
|
||||
dt span.name
|
||||
{
|
||||
display: block;
|
||||
text-align: right;
|
||||
|
||||
padding-left: 3px;
|
||||
padding-right: 3px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* time in message title and other messages.
|
||||
*/
|
||||
span.time
|
||||
{
|
||||
float: right;
|
||||
display: inline; /* typically for MSIE bugs */
|
||||
color: #AAAAAA;
|
||||
font-size: 6pt;
|
||||
|
||||
/* some margins to fix most ugly stuff when resizing */
|
||||
margin-left: 5px;
|
||||
margin-bottom: 1ex;
|
||||
}
|
||||
|
||||
.rtl span.time
|
||||
{
|
||||
float: left;
|
||||
margin-left: 0;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* grouped messages splitter effect
|
||||
*/
|
||||
.messagegroup dd.first-child,
|
||||
.messagegroup dd.middle-child
|
||||
{
|
||||
border-bottom: 2px dotted white;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* other messages;
|
||||
* - application message (e.g. invitation)
|
||||
* - notification message (e.g. file transfer complete)
|
||||
* - system message (e.g. error, invitation not supported)
|
||||
*/
|
||||
div.application
|
||||
{
|
||||
color: blue;
|
||||
}
|
||||
|
||||
div.presence
|
||||
{
|
||||
color: gray;
|
||||
}
|
||||
|
||||
div.notification
|
||||
{
|
||||
color: purple;
|
||||
}
|
||||
|
||||
div.system
|
||||
{
|
||||
color: red;
|
||||
}
|
||||
|
||||
span.filename {
|
||||
color: blue;
|
||||
}
|
||||
|
||||
span.failedFilename,
|
||||
div.notification .filename {
|
||||
color: red;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Draw a border arround emoticon placeholders.
|
||||
*/
|
||||
img.customEmoticonPlaceholder
|
||||
{
|
||||
border: 1px dotted #ccc;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* fix alignment of emoticons
|
||||
*/
|
||||
img.standardEmoticon,
|
||||
img.customEmoticon,
|
||||
img.customEmoticonPlaceholder
|
||||
{
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* Separator for the various chats within HTML files
|
||||
*/
|
||||
div.conversation
|
||||
{
|
||||
padding: 0;
|
||||
margin-left: 6em;
|
||||
margin-top: 3em;
|
||||
margin-bottom: 1.5em;
|
||||
font-size: larger;
|
||||
color: purple;
|
||||
}
|
||||
@@ -0,0 +1,193 @@
|
||||
<?xml version='1.0'?>
|
||||
<!--
|
||||
'Efficient' style for KMess.
|
||||
Copyright (C) 2006, Diederik van der Boor
|
||||
Copyright (c) 2005, Cies Breijs
|
||||
|
||||
Design based on 'Efficient' by Cies Breijs
|
||||
http://www.kde-look.org/content/show.php?content=26318
|
||||
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
||||
-->
|
||||
<xsl:stylesheet version="1.0"
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
xmlns:kmess="http://www.kmess.org/xmlns/ChatStyles/v1/" >
|
||||
<xsl:output method="html"
|
||||
encoding="utf-8"
|
||||
indent="no"
|
||||
omit-xml-declaration="yes"
|
||||
doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"
|
||||
doctype-system="http://www.w3.org/TR/html4/loose.dtd" />
|
||||
|
||||
<!--
|
||||
Declare external parameters with default values
|
||||
-->
|
||||
<xsl:param name="basepath" select="'.'" />
|
||||
<xsl:param name="csspath" select="'Efficient.css'" />
|
||||
|
||||
|
||||
<!--
|
||||
Template for the page body
|
||||
-->
|
||||
<xsl:template match="messageRoot">
|
||||
<html id="ChatMessageView">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<base href="{$basepath}" />
|
||||
<style type="text/css">
|
||||
/* standard colors for compatibility with dark color schemes */
|
||||
body { font-size: 10pt; margin: 0; padding: 5px; background-color: #fff; color: #000; }
|
||||
a:link { color: blue; }
|
||||
a:visited { color: purple; }
|
||||
a:hover { color: red; }
|
||||
a:active { color: red; }
|
||||
</style>
|
||||
<style type="text/css">
|
||||
/* import additional style */
|
||||
@import "<xsl:value-of select="$csspath" />";
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="messageRoot">
|
||||
<!-- chat messages are appended here by KMess -->
|
||||
<xsl:apply-templates />
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
</xsl:template>
|
||||
|
||||
<!--
|
||||
Template for normal messages
|
||||
-->
|
||||
<xsl:template match="message">
|
||||
<xsl:choose>
|
||||
|
||||
<!--
|
||||
normal chat message,
|
||||
- incoming message from a contact.
|
||||
- outgoing message from the user.
|
||||
- incoming offline-im message from a contact.
|
||||
-->
|
||||
<xsl:when test="@type='incoming' or @type='outgoing' or @type='offlineIncoming'">
|
||||
<div class="{body/@dir}">
|
||||
<div class="{@type}">
|
||||
|
||||
<dl>
|
||||
<!-- message header -->
|
||||
<dt dir="{from/contact/displayName/@dir}">
|
||||
<!-- show name -->
|
||||
<span class="name">
|
||||
<xsl:value-of disable-output-escaping="yes" select="from/contact/displayName/@text"/>
|
||||
<xsl:text>:</xsl:text>
|
||||
</span>
|
||||
</dt>
|
||||
|
||||
<!-- message body -->
|
||||
<dd dir="{body/@dir}">
|
||||
<!-- show time? -->
|
||||
<!-- time will be floated to the right, so it must be before the other text -->
|
||||
<xsl:if test="@time">
|
||||
<span class="time">
|
||||
<xsl:if test="@type='offlineIncoming'">
|
||||
<xsl:value-of select="@date"/>  
|
||||
</xsl:if>
|
||||
<xsl:value-of select="@time"/>
|
||||
</span>
|
||||
</xsl:if>
|
||||
|
||||
<xsl:value-of disable-output-escaping="yes" select="body/@fontBefore"/>
|
||||
<xsl:value-of disable-output-escaping="yes" select="body"/>
|
||||
<xsl:value-of disable-output-escaping="yes" select="body/@fontAfter"/>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</xsl:when>
|
||||
|
||||
<!--
|
||||
other messages, like:
|
||||
- application message (e.g. invite for file transfer)
|
||||
- notification message (e.g. file received)
|
||||
- system message (error messages, e.g. invitations KMess does not support)
|
||||
-->
|
||||
<xsl:when test="@type='application' or @type='presence' or @type='notification' or @type='system'">
|
||||
<div class="{body/@dir}">
|
||||
<div class="{@type}">
|
||||
|
||||
<!-- this style also displays the time for other messages -->
|
||||
<xsl:if test="@time">
|
||||
<span class="time"><xsl:value-of select="@time"/></span>
|
||||
</xsl:if>
|
||||
|
||||
<xsl:value-of disable-output-escaping="yes" select="body"/>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</xsl:when>
|
||||
|
||||
</xsl:choose>
|
||||
</xsl:template>
|
||||
|
||||
|
||||
<!--
|
||||
Message group template
|
||||
This is used to group follow-up messages from the same contact.
|
||||
-->
|
||||
<xsl:template match="messagegroup">
|
||||
<div class="messagegroup">
|
||||
<div class="{message[1]/body/@dir}">
|
||||
<div class="{message[1]/@type}">
|
||||
|
||||
<dl>
|
||||
<!-- message header -->
|
||||
<dt dir="{message[1]/from/contact/displayName/@dir}">
|
||||
<!-- show name -->
|
||||
<span class="name">
|
||||
<xsl:value-of disable-output-escaping="yes" select="message[1]/from/contact/displayName/@text"/>
|
||||
<xsl:text>:</xsl:text>
|
||||
</span>
|
||||
</dt>
|
||||
|
||||
<!-- message body -->
|
||||
<xsl:for-each select="message">
|
||||
<dd dir="{body/@dir}">
|
||||
<!-- add extra attribute for css -->
|
||||
<xsl:attribute name="class">
|
||||
<xsl:choose>
|
||||
<xsl:when test="position() = last()"><xsl:text>last-child</xsl:text></xsl:when>
|
||||
<xsl:when test="position() = 1"><xsl:text>first-child</xsl:text></xsl:when>
|
||||
<xsl:otherwise><xsl:text>middle-child</xsl:text></xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:attribute>
|
||||
|
||||
<!-- show time? -->
|
||||
<xsl:if test="@time">
|
||||
<span class="time"><xsl:value-of select="@time"/></span>
|
||||
</xsl:if>
|
||||
|
||||
<xsl:value-of disable-output-escaping="yes" select="body/@fontBefore"/>
|
||||
<xsl:value-of disable-output-escaping="yes" select="body"/>
|
||||
<xsl:value-of disable-output-escaping="yes" select="body/@fontAfter"/>
|
||||
</dd>
|
||||
</xsl:for-each>
|
||||
</dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
@@ -0,0 +1,8 @@
|
||||
|
||||
include_directories( ${KDE4_INCLUDES} ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} )
|
||||
|
||||
|
||||
########### install files ###############
|
||||
|
||||
install( FILES Fresh-dark.xsl Fresh-dark.css bg_gravatar.gif bg_gravatar_rtl.gif buddy_icon.png DESTINATION ${DATA_INSTALL_DIR}/kmess/styles/Fresh-dark/ )
|
||||
|
||||
@@ -0,0 +1,302 @@
|
||||
/*
|
||||
'Fresh Dark' style for KMess.
|
||||
Copyright (C) 2008, Valerio Pilo
|
||||
Copyright (C) 2006, Diederik van der Boor
|
||||
Copyright (c) 2006, Benjamin Deveze
|
||||
|
||||
Design based on 'Fresh' by Benjamin Deveze
|
||||
http://www.kde-look.org/content/show.php?content=43099
|
||||
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
||||
*/
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* the incoming and outgoing messages are implemented as definition-list (<dl>).
|
||||
* each message type has a different background/border color.
|
||||
*
|
||||
* the header is added to the <dt> tag, the message body to the <dd> tag.
|
||||
* this is easy to format with css, and easy to read without css markup.
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
* reset some default margins.
|
||||
*/
|
||||
dl, dt, dd
|
||||
{
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* make sure position: absolute stays in the message (for time).
|
||||
*/
|
||||
.incoming,
|
||||
.outgoing,
|
||||
.offlineIncoming
|
||||
{
|
||||
position: relative;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* general message layout and colors.
|
||||
*/
|
||||
.outgoing
|
||||
{
|
||||
background-color: #120d00;
|
||||
border-top: 1px solid #010700;
|
||||
border-bottom: 1px solid #010700;
|
||||
}
|
||||
|
||||
.avatar
|
||||
{
|
||||
background-image: url("bg_gravatar.gif");
|
||||
background-repeat: no-repeat;
|
||||
float: left;
|
||||
margin: 10px;
|
||||
width: 93px;
|
||||
height: 70px;
|
||||
overflow: hidden;
|
||||
/* instead of padding, use margin on img to align it.
|
||||
makes the computation of width and height easier */
|
||||
}
|
||||
|
||||
.rtl .avatar
|
||||
{
|
||||
float: right;
|
||||
background-image: url("bg_gravatar_rtl.gif");
|
||||
}
|
||||
|
||||
.avatar img
|
||||
{
|
||||
margin-left: 11px;
|
||||
margin-top: 11px;
|
||||
height: 48px;
|
||||
width: 48px;
|
||||
/* omitting the width auto scales, but it becomes ugly */
|
||||
}
|
||||
|
||||
.rtl .avatar img
|
||||
{
|
||||
margin-left: 34px;
|
||||
}
|
||||
|
||||
.incoming,
|
||||
.outgoing,
|
||||
.offlineIncoming
|
||||
{
|
||||
margin-top: 4px;
|
||||
margin-bottom: 4px;
|
||||
/* new messages should appear below the float */
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.incoming dl,
|
||||
.outgoing dl,
|
||||
.offlineIncoming dl
|
||||
{
|
||||
/* for alignment of lines under the float */
|
||||
margin-left: 113px; /* avatar width + margin */
|
||||
margin-top: 11px;
|
||||
padding-bottom: 0.7em;
|
||||
}
|
||||
|
||||
div.application,
|
||||
div.notification,
|
||||
div.presence,
|
||||
div.system
|
||||
{
|
||||
margin-left: 11px;
|
||||
margin-top: 0.7em;
|
||||
margin-bottom: 0.7em; /* no padding, so time also gets margin */
|
||||
position: relative; /* for time */
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* name in message title.
|
||||
*/
|
||||
dt span.name
|
||||
{
|
||||
display: block;
|
||||
color: #bbccdd;
|
||||
font-weight: bold;
|
||||
margin-bottom: 0.3em;
|
||||
margin-right: 2px;
|
||||
}
|
||||
|
||||
.offlineIncoming dt span.name
|
||||
{
|
||||
color: #485770;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* time in message title and other messages.
|
||||
*/
|
||||
span.time
|
||||
{
|
||||
position: absolute;
|
||||
right: 5px;
|
||||
bottom: 0;
|
||||
color: #ccddcc;
|
||||
font-size: 8pt;
|
||||
|
||||
/* some margins to fix most ugly stuff when resizing */
|
||||
margin-left: 5px;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.rtl span.time
|
||||
{
|
||||
/* reverse for right-to-left */
|
||||
position: absolute;
|
||||
left: 5px;
|
||||
right: auto;
|
||||
margin-left: 0;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* message body.
|
||||
* reset spacing and default indent of dd element.
|
||||
*/
|
||||
dd
|
||||
{
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
dd div.messageContent
|
||||
{
|
||||
/* avoid overlapping the time field */
|
||||
padding-right: 5em;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* grouped messages splitter effect
|
||||
*/
|
||||
.messagegroup dd.middle-child,
|
||||
.messagegroup dd.last-child
|
||||
{
|
||||
margin-top: 0.4em;
|
||||
padding-top: 0.4em;
|
||||
border-top: 1px solid #000500;
|
||||
}
|
||||
|
||||
.messagegroup dd.last-child
|
||||
{
|
||||
padding-bottom: 5px;
|
||||
}
|
||||
|
||||
.messagegroup dd
|
||||
{
|
||||
position: relative; /* startpoint for absolute positions */
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* other messages;
|
||||
* - application message (e.g. invitation)
|
||||
* - notification message (e.g. file transfer complete)
|
||||
* - system message (e.g. error, invitation not supported)
|
||||
*/
|
||||
div.application
|
||||
{
|
||||
color: #0b0;
|
||||
}
|
||||
|
||||
div.presence
|
||||
{
|
||||
color: #bbb;
|
||||
}
|
||||
|
||||
div.notification
|
||||
{
|
||||
color: #bb0;
|
||||
}
|
||||
|
||||
div.system
|
||||
{
|
||||
color: #b00;
|
||||
}
|
||||
|
||||
span.filename {
|
||||
color: #0b0;
|
||||
}
|
||||
|
||||
span.failedFilename,
|
||||
div.notification .filename {
|
||||
color: #b00;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Draw a border arround emoticon placeholders.
|
||||
*/
|
||||
img.customEmoticonPlaceholder
|
||||
{
|
||||
border: 1px dotted #ccc;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* fix alignment of emoticons
|
||||
*/
|
||||
img.standardEmoticon,
|
||||
img.customEmoticon,
|
||||
img.customEmoticonPlaceholder
|
||||
{
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* Set the standard body margins.
|
||||
* The extra #ChatMessageView prefix is needed to overrule
|
||||
* the inline rule added by the chat window.
|
||||
*/
|
||||
#ChatMessageView body
|
||||
{
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* Separator for the various chats within HTML files
|
||||
*/
|
||||
div.conversation
|
||||
{
|
||||
margin: 2em 1em 1em 1em;
|
||||
padding: 0.5em;
|
||||
border: 1px solid #000500;
|
||||
font-size: larger;
|
||||
color: #bb0;
|
||||
}
|
||||
@@ -0,0 +1,234 @@
|
||||
<?xml version='1.0'?>
|
||||
<!--
|
||||
'Fresh Dark' style for KMess.
|
||||
Copyright (C) 2008, Valerio Pilo
|
||||
Copyright (C) 2006, Diederik van der Boor
|
||||
Copyright (c) 2006, Benjamin Deveze
|
||||
|
||||
Design based on 'Fresh' by Benjamin Deveze
|
||||
http://www.kde-look.org/content/show.php?content=43099
|
||||
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
||||
-->
|
||||
<xsl:stylesheet version="1.0"
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
xmlns:kmess="http://www.kmess.org/xmlns/ChatStyles/v1/" >
|
||||
<xsl:output method="html"
|
||||
encoding="utf-8"
|
||||
indent="no"
|
||||
omit-xml-declaration="yes"
|
||||
doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"
|
||||
doctype-system="http://www.w3.org/TR/html4/loose.dtd" />
|
||||
|
||||
<!--
|
||||
Declare external parameters with default values
|
||||
-->
|
||||
<xsl:param name="basepath" select="'.'" />
|
||||
<xsl:param name="csspath" select="'Fresh-dark.css'" />
|
||||
|
||||
|
||||
<!--
|
||||
Template for the page body
|
||||
-->
|
||||
<xsl:template match="messageRoot">
|
||||
<html id="ChatMessageView">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<base href="{$basepath}" />
|
||||
<style type="text/css">
|
||||
/* standard colors for compatibility with light color schemes */
|
||||
body { font-size: 10pt; margin: 0; padding: 5px; background-color: #333; color: #eee; }
|
||||
a:link { color: blue; }
|
||||
a:visited { color: purple; }
|
||||
a:hover { color: red; }
|
||||
a:active { color: red; }
|
||||
</style>
|
||||
<style type="text/css">
|
||||
/* import additional style */
|
||||
@import "<xsl:value-of select="$csspath" />";
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="messageRoot">
|
||||
<!-- chat messages are appended here by KMess -->
|
||||
<xsl:apply-templates />
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
</xsl:template>
|
||||
|
||||
<!--
|
||||
Template for normal messages
|
||||
-->
|
||||
<xsl:template match="message">
|
||||
<xsl:choose>
|
||||
|
||||
<!--
|
||||
normal chat message,
|
||||
- incoming message from a contact.
|
||||
- outgoing message from the user.
|
||||
- incoming offline-im message from a contact.
|
||||
-->
|
||||
<xsl:when test="@type='incoming' or @type='outgoing' or @type='offlineIncoming'">
|
||||
<div class="{body/@dir}">
|
||||
<div class="{@type}">
|
||||
|
||||
<!-- user avatar -->
|
||||
<div class="avatar">
|
||||
<div class="avatarSpace">
|
||||
<xsl:choose>
|
||||
<xsl:when test="from/contact/displayPicture/@url">
|
||||
<img src="{from/contact/displayPicture/@url}" height="48" alt="" />
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<img src="buddy_icon.png" height="48" width="48" alt="" />
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<dl>
|
||||
<!-- message header -->
|
||||
<dt dir="{from/contact/displayName/@dir}">
|
||||
<!-- show name -->
|
||||
<span class="name">
|
||||
<xsl:value-of disable-output-escaping="yes" select="from/contact/displayName/@text"/>
|
||||
<xsl:text>:</xsl:text>
|
||||
</span>
|
||||
</dt>
|
||||
|
||||
<!-- message body -->
|
||||
<dd dir="{body/@dir}">
|
||||
<!-- show time? -->
|
||||
<xsl:if test="@time">
|
||||
<span class="time">
|
||||
<xsl:if test="@type='offlineIncoming'">
|
||||
<xsl:value-of select="@date"/>  
|
||||
</xsl:if>
|
||||
<xsl:value-of select="@time"/>
|
||||
</span>
|
||||
</xsl:if>
|
||||
|
||||
<div class="messageContent">
|
||||
<xsl:value-of disable-output-escaping="yes" select="body/@fontBefore"/>
|
||||
<xsl:value-of disable-output-escaping="yes" select="body"/>
|
||||
<xsl:value-of disable-output-escaping="yes" select="body/@fontAfter"/>
|
||||
</div>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<!-- clear all floats -->
|
||||
<div class="messageFooter" style="clear:both"></div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</xsl:when>
|
||||
|
||||
<!--
|
||||
other messages, like:
|
||||
- application message (e.g. invite for file transfer)
|
||||
- notification message (e.g. file received)
|
||||
- system message (error messages, e.g. invitations KMess does not support)
|
||||
-->
|
||||
<xsl:when test="@type='application' or @type='presence' or @type='notification' or @type='system'">
|
||||
<div class="{body/@dir}">
|
||||
<div class="{@type}" dir="{body/@dir}">
|
||||
|
||||
<!-- this style also displays the time for other messages -->
|
||||
<xsl:if test="@time">
|
||||
<span class="time"><xsl:value-of select="@time"/></span>
|
||||
</xsl:if>
|
||||
|
||||
<div class="messageContent">
|
||||
<xsl:value-of disable-output-escaping="yes" select="body"/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</xsl:when>
|
||||
|
||||
</xsl:choose>
|
||||
</xsl:template>
|
||||
|
||||
|
||||
<!--
|
||||
Message group template
|
||||
This is used to group follow-up messages from the same contact.
|
||||
-->
|
||||
<xsl:template match="messagegroup">
|
||||
<div class="messagegroup">
|
||||
<div class="{message[1]/body/@dir}">
|
||||
<div class="{message[1]/@type}">
|
||||
|
||||
<!-- user avatar -->
|
||||
<div class="avatar">
|
||||
<div class="avatarSpace">
|
||||
<!-- use the last message, so the icon updates when the buddy changes their icon
|
||||
with the commonly used "look at my icon now" message -->
|
||||
<xsl:choose>
|
||||
<xsl:when test="message[last()]/from/contact/displayPicture/@url">
|
||||
<img src="{message[last()]/from/contact/displayPicture/@url}" height="48" alt="" />
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<img src="buddy_icon.png" height="48" width="48" alt="" />
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<dl>
|
||||
<!-- message header -->
|
||||
<dt dir="{message[1]/from/contact/displayName/@dir}">
|
||||
<!-- show name -->
|
||||
<span class="name">
|
||||
<xsl:value-of disable-output-escaping="yes" select="message[1]/from/contact/displayName/@text"/>
|
||||
<xsl:text>:</xsl:text>
|
||||
</span>
|
||||
</dt>
|
||||
|
||||
<!-- message body -->
|
||||
<xsl:for-each select="message">
|
||||
<dd dir="{body/@dir}">
|
||||
<!-- add extra attribute for css -->
|
||||
<xsl:attribute name="class">
|
||||
<xsl:choose>
|
||||
<xsl:when test="position() = last()"><xsl:text>last-child</xsl:text></xsl:when>
|
||||
<xsl:when test="position() = 1"><xsl:text>first-child</xsl:text></xsl:when>
|
||||
<xsl:otherwise><xsl:text>middle-child</xsl:text></xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:attribute>
|
||||
|
||||
<!-- show time? -->
|
||||
<xsl:if test="@time">
|
||||
<span class="time"><xsl:value-of select="@time"/></span>
|
||||
</xsl:if>
|
||||
|
||||
<div class="messageContent">
|
||||
<xsl:value-of disable-output-escaping="yes" select="body/@fontBefore"/>
|
||||
<xsl:value-of disable-output-escaping="yes" select="body"/>
|
||||
<xsl:value-of disable-output-escaping="yes" select="body/@fontAfter"/>
|
||||
</div>
|
||||
</dd>
|
||||
</xsl:for-each>
|
||||
</dl>
|
||||
|
||||
<!-- clear all floats -->
|
||||
<div class="messageFooter" style="clear:both"></div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
@@ -0,0 +1,8 @@
|
||||
|
||||
include_directories( ${KDE4_INCLUDES} ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} )
|
||||
|
||||
|
||||
########### install files ###############
|
||||
|
||||
install( FILES Fresh.xsl Fresh.css bg_gravatar.gif bg_gravatar_rtl.gif buddy_icon.png DESTINATION ${DATA_INSTALL_DIR}/kmess/styles/Fresh/ )
|
||||
|
||||
@@ -0,0 +1,302 @@
|
||||
/*
|
||||
'Fresh' style for KMess.
|
||||
Copyright (C) 2006, Diederik van der Boor
|
||||
Copyright (c) 2006, Benjamin Deveze
|
||||
|
||||
Design based on 'Fresh' by Benjamin Deveze
|
||||
http://www.kde-look.org/content/show.php?content=43099
|
||||
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
||||
*/
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* the incoming and outgoing messages are implemented as definition-list (<dl>).
|
||||
* each message type has a different background/border color.
|
||||
*
|
||||
* the header is added to the <dt> tag, the message body to the <dd> tag.
|
||||
* this is easy to format with css, and easy to read without css markup.
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
* reset some default margins.
|
||||
*/
|
||||
dl, dt, dd
|
||||
{
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* make sure position: absolute stays in the message (for time).
|
||||
*/
|
||||
.incoming,
|
||||
.outgoing,
|
||||
.offlineIncoming
|
||||
{
|
||||
position: relative;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* general message layout and colors.
|
||||
*/
|
||||
.outgoing
|
||||
{
|
||||
background-color: #edf2ff;
|
||||
border-top: 1px solid #dce6ff;
|
||||
border-bottom: 1px solid #dce6ff;
|
||||
}
|
||||
|
||||
.avatar
|
||||
{
|
||||
background-image: url("bg_gravatar.gif");
|
||||
background-repeat: no-repeat;
|
||||
float: left;
|
||||
margin: 10px;
|
||||
width: 93px;
|
||||
height: 70px;
|
||||
overflow: hidden;
|
||||
/* instead of padding, use margin on img to align it.
|
||||
makes the computation of width and height easier */
|
||||
}
|
||||
|
||||
.rtl .avatar
|
||||
{
|
||||
float: right;
|
||||
background-image: url("bg_gravatar_rtl.gif");
|
||||
}
|
||||
|
||||
.avatar img
|
||||
{
|
||||
margin-left: 11px;
|
||||
margin-top: 11px;
|
||||
height: 48px;
|
||||
width: 48px;
|
||||
/* omitting the width auto scales, but it becomes ugly */
|
||||
}
|
||||
|
||||
.rtl .avatar img
|
||||
{
|
||||
margin-left: 34px;
|
||||
}
|
||||
|
||||
.incoming,
|
||||
.outgoing,
|
||||
.offlineIncoming
|
||||
{
|
||||
margin-top: 4px;
|
||||
margin-bottom: 4px;
|
||||
/* new messages should appear below the float */
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.incoming dl,
|
||||
.outgoing dl,
|
||||
.offlineIncoming dl
|
||||
{
|
||||
/* for alignment of lines under the float */
|
||||
margin-left: 113px; /* avatar width + margin */
|
||||
margin-top: 11px;
|
||||
padding-bottom: 0.7em;
|
||||
}
|
||||
|
||||
div.application,
|
||||
div.notification,
|
||||
div.presence,
|
||||
div.system
|
||||
{
|
||||
margin-left: 11px;
|
||||
margin-top: 0.7em;
|
||||
margin-bottom: 0.7em; /* no padding, so time also gets margin */
|
||||
position: relative; /* for time */
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* name in message title.
|
||||
*/
|
||||
dt span.name
|
||||
{
|
||||
display: block;
|
||||
color: #030612;
|
||||
font-weight: bold;
|
||||
margin-bottom: 0.3em;
|
||||
margin-right: 2px;
|
||||
}
|
||||
|
||||
.offlineIncoming dt span.name
|
||||
{
|
||||
color: #485770;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* time in message title and other messages.
|
||||
*/
|
||||
span.time
|
||||
{
|
||||
position: absolute;
|
||||
right: 5px;
|
||||
bottom: 0;
|
||||
color: #2f63b3;
|
||||
font-size: 8pt;
|
||||
|
||||
/* some margins to fix most ugly stuff when resizing */
|
||||
margin-left: 5px;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.rtl span.time
|
||||
{
|
||||
/* reverse for right-to-left */
|
||||
position: absolute;
|
||||
left: 5px;
|
||||
right: auto;
|
||||
margin-left: 0;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* message body.
|
||||
* reset spacing and default indent of dd element.
|
||||
*/
|
||||
dd
|
||||
{
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
dd div.messageContent
|
||||
{
|
||||
/* avoid overlapping the time field */
|
||||
padding-right: 5em;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* grouped messages splitter effect
|
||||
*/
|
||||
.messagegroup dd.middle-child,
|
||||
.messagegroup dd.last-child
|
||||
{
|
||||
margin-top: 0.4em;
|
||||
padding-top: 0.4em;
|
||||
border-top: 1px solid #dce6ff;
|
||||
}
|
||||
|
||||
.messagegroup dd.last-child
|
||||
{
|
||||
padding-bottom: 5px;
|
||||
}
|
||||
|
||||
.messagegroup dd
|
||||
{
|
||||
position: relative; /* startpoint for absolute positions */
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* other messages;
|
||||
* - application message (e.g. invitation)
|
||||
* - notification message (e.g. file transfer complete)
|
||||
* - system message (e.g. error, invitation not supported)
|
||||
*/
|
||||
div.application
|
||||
{
|
||||
color: blue;
|
||||
}
|
||||
|
||||
div.presence
|
||||
{
|
||||
color: gray;
|
||||
}
|
||||
|
||||
div.notification
|
||||
{
|
||||
color: purple;
|
||||
}
|
||||
|
||||
div.system
|
||||
{
|
||||
color: red;
|
||||
}
|
||||
|
||||
span.filename {
|
||||
color: blue;
|
||||
}
|
||||
|
||||
span.failedFilename,
|
||||
div.notification .filename {
|
||||
color: red;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Draw a border arround emoticon placeholders.
|
||||
*/
|
||||
img.customEmoticonPlaceholder
|
||||
{
|
||||
border: 1px dotted #ccc;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* fix alignment of emoticons
|
||||
*/
|
||||
img.standardEmoticon,
|
||||
img.customEmoticon,
|
||||
img.customEmoticonPlaceholder
|
||||
{
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* Set the standard body margins.
|
||||
* The extra #ChatMessageView prefix is needed to overrule
|
||||
* the inline rule added by the chat window.
|
||||
*/
|
||||
#ChatMessageView body
|
||||
{
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* Separator for the various chats within HTML files
|
||||
*/
|
||||
div.conversation
|
||||
{
|
||||
margin: 3em 2em 2em 2em;
|
||||
padding: 0.5em;
|
||||
border: 1px solid #dce6ff;
|
||||
font-size: larger;
|
||||
color: purple;
|
||||
text-align: center;
|
||||
}
|
||||
@@ -0,0 +1,233 @@
|
||||
<?xml version='1.0'?>
|
||||
<!--
|
||||
'Fresh' style for KMess.
|
||||
Copyright (C) 2006, Diederik van der Boor
|
||||
Copyright (c) 2006, Benjamin Deveze
|
||||
|
||||
Design based on 'Fresh' by Benjamin Deveze
|
||||
http://www.kde-look.org/content/show.php?content=43099
|
||||
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
||||
-->
|
||||
<xsl:stylesheet version="1.0"
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
xmlns:kmess="http://www.kmess.org/xmlns/ChatStyles/v1/" >
|
||||
<xsl:output method="html"
|
||||
encoding="utf-8"
|
||||
indent="no"
|
||||
omit-xml-declaration="yes"
|
||||
doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"
|
||||
doctype-system="http://www.w3.org/TR/html4/loose.dtd" />
|
||||
|
||||
<!--
|
||||
Declare external parameters with default values
|
||||
-->
|
||||
<xsl:param name="basepath" select="'.'" />
|
||||
<xsl:param name="csspath" select="'Fresh.css'" />
|
||||
|
||||
|
||||
<!--
|
||||
Template for the page body
|
||||
-->
|
||||
<xsl:template match="messageRoot">
|
||||
<html id="ChatMessageView">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<base href="{$basepath}" />
|
||||
<style type="text/css">
|
||||
/* standard colors for compatibility with dark color schemes */
|
||||
body { font-size: 10pt; margin: 0; padding: 5px; background-color: #fff; color: #000; }
|
||||
a:link { color: blue; }
|
||||
a:visited { color: purple; }
|
||||
a:hover { color: red; }
|
||||
a:active { color: red; }
|
||||
</style>
|
||||
<style type="text/css">
|
||||
/* import additional style */
|
||||
@import "<xsl:value-of select="$csspath" />";
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="messageRoot">
|
||||
<!-- chat messages are appended here by KMess -->
|
||||
<xsl:apply-templates />
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
</xsl:template>
|
||||
|
||||
<!--
|
||||
Template for normal messages
|
||||
-->
|
||||
<xsl:template match="message">
|
||||
<xsl:choose>
|
||||
|
||||
<!--
|
||||
normal chat message,
|
||||
- incoming message from a contact.
|
||||
- outgoing message from the user.
|
||||
- incoming offline-im message from a contact.
|
||||
-->
|
||||
<xsl:when test="@type='incoming' or @type='outgoing' or @type='offlineIncoming'">
|
||||
<div class="{body/@dir}">
|
||||
<div class="{@type}">
|
||||
|
||||
<!-- user avatar -->
|
||||
<div class="avatar">
|
||||
<div class="avatarSpace">
|
||||
<xsl:choose>
|
||||
<xsl:when test="from/contact/displayPicture/@url">
|
||||
<img src="{from/contact/displayPicture/@url}" height="48" alt="" />
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<img src="buddy_icon.png" height="48" width="48" alt="" />
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<dl>
|
||||
<!-- message header -->
|
||||
<dt dir="{from/contact/displayName/@dir}">
|
||||
<!-- show name -->
|
||||
<span class="name">
|
||||
<xsl:value-of disable-output-escaping="yes" select="from/contact/displayName/@text"/>
|
||||
<xsl:text>:</xsl:text>
|
||||
</span>
|
||||
</dt>
|
||||
|
||||
<!-- message body -->
|
||||
<dd dir="{body/@dir}">
|
||||
<!-- show time? -->
|
||||
<xsl:if test="@time">
|
||||
<span class="time">
|
||||
<xsl:if test="@type='offlineIncoming'">
|
||||
<xsl:value-of select="@date"/>  
|
||||
</xsl:if>
|
||||
<xsl:value-of select="@time"/>
|
||||
</span>
|
||||
</xsl:if>
|
||||
|
||||
<div class="messageContent">
|
||||
<xsl:value-of disable-output-escaping="yes" select="body/@fontBefore"/>
|
||||
<xsl:value-of disable-output-escaping="yes" select="body"/>
|
||||
<xsl:value-of disable-output-escaping="yes" select="body/@fontAfter"/>
|
||||
</div>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<!-- clear all floats -->
|
||||
<div class="messageFooter" style="clear:both"></div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</xsl:when>
|
||||
|
||||
<!--
|
||||
other messages, like:
|
||||
- application message (e.g. invite for file transfer)
|
||||
- notification message (e.g. file received)
|
||||
- system message (error messages, e.g. invitations KMess does not support)
|
||||
-->
|
||||
<xsl:when test="@type='application' or @type='presence' or @type='notification' or @type='system'">
|
||||
<div class="{body/@dir}">
|
||||
<div class="{@type}" dir="{body/@dir}">
|
||||
|
||||
<!-- this style also displays the time for other messages -->
|
||||
<xsl:if test="@time">
|
||||
<span class="time"><xsl:value-of select="@time"/></span>
|
||||
</xsl:if>
|
||||
|
||||
<div class="messageContent">
|
||||
<xsl:value-of disable-output-escaping="yes" select="body"/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</xsl:when>
|
||||
|
||||
</xsl:choose>
|
||||
</xsl:template>
|
||||
|
||||
|
||||
<!--
|
||||
Message group template
|
||||
This is used to group follow-up messages from the same contact.
|
||||
-->
|
||||
<xsl:template match="messagegroup">
|
||||
<div class="messagegroup">
|
||||
<div class="{message[1]/body/@dir}">
|
||||
<div class="{message[1]/@type}">
|
||||
|
||||
<!-- user avatar -->
|
||||
<div class="avatar">
|
||||
<div class="avatarSpace">
|
||||
<!-- use the last message, so the icon updates when the buddy changes their icon
|
||||
with the commonly used "look at my icon now" message -->
|
||||
<xsl:choose>
|
||||
<xsl:when test="message[last()]/from/contact/displayPicture/@url">
|
||||
<img src="{message[last()]/from/contact/displayPicture/@url}" height="48" alt="" />
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<img src="buddy_icon.png" height="48" width="48" alt="" />
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<dl>
|
||||
<!-- message header -->
|
||||
<dt dir="{message[1]/from/contact/displayName/@dir}">
|
||||
<!-- show name -->
|
||||
<span class="name">
|
||||
<xsl:value-of disable-output-escaping="yes" select="message[1]/from/contact/displayName/@text"/>
|
||||
<xsl:text>:</xsl:text>
|
||||
</span>
|
||||
</dt>
|
||||
|
||||
<!-- message body -->
|
||||
<xsl:for-each select="message">
|
||||
<dd dir="{body/@dir}">
|
||||
<!-- add extra attribute for css -->
|
||||
<xsl:attribute name="class">
|
||||
<xsl:choose>
|
||||
<xsl:when test="position() = last()"><xsl:text>last-child</xsl:text></xsl:when>
|
||||
<xsl:when test="position() = 1"><xsl:text>first-child</xsl:text></xsl:when>
|
||||
<xsl:otherwise><xsl:text>middle-child</xsl:text></xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:attribute>
|
||||
|
||||
<!-- show time? -->
|
||||
<xsl:if test="@time">
|
||||
<span class="time"><xsl:value-of select="@time"/></span>
|
||||
</xsl:if>
|
||||
|
||||
<div class="messageContent">
|
||||
<xsl:value-of disable-output-escaping="yes" select="body/@fontBefore"/>
|
||||
<xsl:value-of disable-output-escaping="yes" select="body"/>
|
||||
<xsl:value-of disable-output-escaping="yes" select="body/@fontAfter"/>
|
||||
</div>
|
||||
</dd>
|
||||
</xsl:for-each>
|
||||
</dl>
|
||||
|
||||
<!-- clear all floats -->
|
||||
<div class="messageFooter" style="clear:both"></div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
@@ -0,0 +1,24 @@
|
||||
|
||||
include_directories( ${KDE4_INCLUDES} ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} )
|
||||
|
||||
|
||||
########### install files ###############
|
||||
|
||||
set(kmess_pure_FILES
|
||||
Pure.css
|
||||
Pure.xsl
|
||||
arrow0.png
|
||||
arrow1.png
|
||||
clock.png
|
||||
contact.png
|
||||
corner-bl.png
|
||||
corner-br.png
|
||||
corner-tl.png
|
||||
corner-tr.png
|
||||
important.png
|
||||
myself.png
|
||||
system.png
|
||||
)
|
||||
|
||||
install( FILES ${kmess_pure_FILES} DESTINATION ${DATA_INSTALL_DIR}/kmess/styles/Pure/ )
|
||||
|
||||
@@ -0,0 +1,340 @@
|
||||
/*
|
||||
'Pure' style for KMess.
|
||||
Copyright (C) 2006, Diederik van der Boor
|
||||
Copyright (c) 2004, Francois Chazal
|
||||
|
||||
Design based on 'Pure' by Francois Chazal
|
||||
http://www.kde-look.org/content/show.php?content=23473
|
||||
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
||||
*/
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* the incoming and outgoing messages are implemented as definition-list (<dl>).
|
||||
* each message type has a different background/border color.
|
||||
*
|
||||
* the header is added to the <dt> tag, the message body to the <dd> tag.
|
||||
* this is easy to format with css, and easy to read without css markup.
|
||||
*/
|
||||
|
||||
dl
|
||||
{
|
||||
margin: 0 0 16px 0; /* margin bottom is 16px */
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* message title. each child element of the title
|
||||
* add a different part of the background and images.
|
||||
* span.time is also given a background-color so
|
||||
* it can overlap long names without having ugly text.
|
||||
*/
|
||||
|
||||
dt
|
||||
{
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
background-image: url(corner-tl.png); /* left corner part */
|
||||
background-position: top left;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.incoming dt,
|
||||
.incoming dt span.time
|
||||
{
|
||||
background-color: #c9d9f0;
|
||||
color: #567199;
|
||||
}
|
||||
|
||||
.outgoing dt,
|
||||
.outgoing dt span.time
|
||||
{
|
||||
background-color: #e1e1e1;
|
||||
color: #707070;
|
||||
}
|
||||
|
||||
.offlineIncoming dt,
|
||||
.offlineIncoming dt span.time
|
||||
{
|
||||
background-color: #CFE0F7;
|
||||
color: #6787B7;
|
||||
}
|
||||
|
||||
dt span.wrapper
|
||||
{
|
||||
display: block;
|
||||
height: 20px;
|
||||
padding: 2px;
|
||||
font-weight: bold;
|
||||
font-size: 10px;
|
||||
background-image: url(corner-tr.png); /* right corner part */
|
||||
background-position: top right;
|
||||
background-repeat: no-repeat;
|
||||
position: relative; /* starting-point for absolute position below */
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* name in the message title.
|
||||
* adds a small icon to the left.
|
||||
*/
|
||||
|
||||
dt span.name
|
||||
{
|
||||
padding: 0 20px 0 20px; /* right and left padding */
|
||||
line-height: 20px;
|
||||
background-position: center left;
|
||||
background-repeat: no-repeat;
|
||||
white-space: nowrap; /* avoid overlapping message text */
|
||||
vertical-align: top; /* makes it better in mozilla */
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.incoming dt span.name,
|
||||
.offlineIncoming dt span.name
|
||||
{
|
||||
background-image: url(contact.png);
|
||||
}
|
||||
|
||||
.outgoing dt span.name
|
||||
{
|
||||
background-image: url(myself.png);
|
||||
}
|
||||
|
||||
dt.rtl span.name
|
||||
{
|
||||
/* reverse for right-to-left names */
|
||||
background-position: center right;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* time in message title.
|
||||
* adds a time icon to the right.
|
||||
*/
|
||||
dt span.time
|
||||
{
|
||||
/* align right, no float to avoid elements falling below. */
|
||||
position: absolute;
|
||||
right: 2px;
|
||||
|
||||
/* set background, give padding so text does not overlap it */
|
||||
line-height: 20px;
|
||||
padding-left: 5px;
|
||||
padding-right: 20px;
|
||||
background-image: url(clock.png);
|
||||
background-position: right center;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
dt.rtl span.time
|
||||
{
|
||||
/* reverse for right-to-left names */
|
||||
position: absolute;
|
||||
left: 2px;
|
||||
right: auto;
|
||||
padding-left: 20px;
|
||||
padding-right: 5px;
|
||||
background-position: left center;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* message body.
|
||||
* add some spacing, color and the bottom line.
|
||||
*/
|
||||
dd
|
||||
{
|
||||
margin: 0;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.incoming dd
|
||||
{
|
||||
background-color: #f5f6fa;
|
||||
border-bottom: 2px solid #c9d9f0;
|
||||
}
|
||||
|
||||
.outgoing dd
|
||||
{
|
||||
background-color: #f9f9f9;
|
||||
border-bottom: 2px solid #e1e1e1;
|
||||
}
|
||||
|
||||
.offlineIncoming dd
|
||||
{
|
||||
background-color: #F7F8FC;
|
||||
border-bottom: 2px solid #c9d9f0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* message footer.
|
||||
* the bottom part is added to the main dl object.
|
||||
*/
|
||||
|
||||
.incoming dl,
|
||||
.offlineIncoming dl
|
||||
{
|
||||
background-image: url(corner-br.png);
|
||||
background-repeat: no-repeat;
|
||||
background-position: bottom right;
|
||||
padding-bottom: 7px;
|
||||
}
|
||||
|
||||
.outgoing dl
|
||||
{
|
||||
background-image: url(corner-bl.png);
|
||||
background-repeat: no-repeat;
|
||||
background-position: bottom left;
|
||||
padding-bottom: 7px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* grouped messages
|
||||
*/
|
||||
.messagegroup .incoming dd,
|
||||
.messagegroup .offlineIncoming dd
|
||||
{
|
||||
padding-left: 10px;
|
||||
background-image: url(arrow0.png);
|
||||
background-position: 0 0.9em;
|
||||
background-repeat: no-repeat;
|
||||
/*
|
||||
display: list-item;
|
||||
list-style-image: url(arrow0.png);
|
||||
list-style-position: inside;
|
||||
marker-offset: 0;
|
||||
*/
|
||||
}
|
||||
|
||||
.messagegroup .outgoing dd
|
||||
{
|
||||
padding-left: 10px;
|
||||
background-image: url(arrow1.png);
|
||||
background-position: 0 0.9em;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.messagegroup dd.first-child,
|
||||
.messagegroup dd.middle-child
|
||||
{
|
||||
border: 0; /* no repeated border for first and middle items */
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* other messages;
|
||||
* - application message (e.g. invitation)
|
||||
* - notification message (e.g. file transfer complete)
|
||||
* - system message (e.g. error, invitation not supported)
|
||||
*/
|
||||
div.application,
|
||||
div.notification,
|
||||
div.presence,
|
||||
div.system
|
||||
{
|
||||
margin: 10px 0 10px; /* top and bottom margin */
|
||||
}
|
||||
|
||||
div.application
|
||||
{
|
||||
color: blue;
|
||||
}
|
||||
|
||||
div.presence
|
||||
{
|
||||
color: gray;
|
||||
}
|
||||
|
||||
div.notification
|
||||
{
|
||||
color: purple;
|
||||
}
|
||||
|
||||
div.system
|
||||
{
|
||||
color: red;
|
||||
padding: 3px 0;
|
||||
border-top: 1px solid red;
|
||||
border-bottom: 1px solid red;
|
||||
}
|
||||
|
||||
span.filename {
|
||||
color: blue;
|
||||
}
|
||||
|
||||
span.failedFilename,
|
||||
div.notification .filename {
|
||||
color: red;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Draw a border arround emoticon placeholders.
|
||||
*/
|
||||
img.customEmoticonPlaceholder
|
||||
{
|
||||
border: 1px dotted #ccc;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* fix alignment of emoticons
|
||||
*/
|
||||
img.standardEmoticon,
|
||||
img.customEmoticon,
|
||||
img.customEmoticonPlaceholder
|
||||
{
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* Set the standard body margins.
|
||||
* The extra #ChatMessageView prefix is needed to overrule
|
||||
* the inline rule added by the chat window.
|
||||
*/
|
||||
#ChatMessageView body
|
||||
{
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* Separator for the various chats within HTML files
|
||||
*/
|
||||
div.conversation
|
||||
{
|
||||
margin: 2em 1.5em 1.5em 1.5em;
|
||||
padding: 0.5em;
|
||||
border: 1px solid #e1e1e1;
|
||||
font-size: larger;
|
||||
color: purple;
|
||||
}
|
||||
@@ -0,0 +1,193 @@
|
||||
<?xml version='1.0'?>
|
||||
<!--
|
||||
'Pure' style for KMess.
|
||||
Copyright (C) 2006, Diederik van der Boor
|
||||
Copyright (c) 2005, Francois Chazal
|
||||
|
||||
Design based on 'Pure' by Francois Chazal
|
||||
http://www.kde-look.org/content/show.php?content=23473
|
||||
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
||||
-->
|
||||
<xsl:stylesheet version="1.0"
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
xmlns:kmess="http://www.kmess.org/xmlns/ChatStyles/v1/" >
|
||||
<xsl:output method="html"
|
||||
encoding="utf-8"
|
||||
indent="no"
|
||||
omit-xml-declaration="yes"
|
||||
doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"
|
||||
doctype-system="http://www.w3.org/TR/html4/loose.dtd" />
|
||||
|
||||
<!--
|
||||
Declare external parameters with default values
|
||||
-->
|
||||
<xsl:param name="basepath" select="'.'" />
|
||||
<xsl:param name="csspath" select="'Pure.css'" />
|
||||
|
||||
|
||||
<!--
|
||||
Template for the page body
|
||||
-->
|
||||
<xsl:template match="messageRoot">
|
||||
<html id="ChatMessageView">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<base href="{$basepath}" />
|
||||
<style type="text/css">
|
||||
/* standard colors for compatibility with dark color schemes */
|
||||
body { font-size: 10pt; margin: 0; padding: 5px; background-color: #fff; color: #000; }
|
||||
a:link { color: blue; }
|
||||
a:visited { color: purple; }
|
||||
a:hover { color: red; }
|
||||
a:active { color: red; }
|
||||
</style>
|
||||
<style type="text/css">
|
||||
/* import additional style */
|
||||
@import "<xsl:value-of select="$csspath" />";
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="messageRoot">
|
||||
<!-- chat messages are appended here by KMess -->
|
||||
<xsl:apply-templates />
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
</xsl:template>
|
||||
|
||||
|
||||
<!--
|
||||
Template for normal messages
|
||||
-->
|
||||
<xsl:template match="message">
|
||||
<xsl:choose>
|
||||
|
||||
<!--
|
||||
normal chat message,
|
||||
- incoming message from a contact.
|
||||
- outgoing message from the user.
|
||||
- incoming offline-im message from a contact.
|
||||
-->
|
||||
<xsl:when test="@type='incoming' or @type='outgoing' or @type='offlineIncoming'">
|
||||
<div class="{body/@dir}">
|
||||
<div class="{@type}">
|
||||
|
||||
<dl>
|
||||
<!-- message header -->
|
||||
<dt dir="{from/contact/displayName/@dir}" class="{from/contact/displayName/@dir}">
|
||||
<span class="wrapper">
|
||||
<!-- show time? -->
|
||||
<!-- time will be floated to the right, so it must be before the other text -->
|
||||
<xsl:if test="@time">
|
||||
<span class="time">
|
||||
<xsl:if test="@type='offlineIncoming'">
|
||||
<xsl:value-of select="@date"/>  
|
||||
</xsl:if>
|
||||
<xsl:value-of select="@time"/>
|
||||
</span>
|
||||
</xsl:if>
|
||||
|
||||
<!-- show name -->
|
||||
<span class="name">
|
||||
<xsl:value-of disable-output-escaping="yes" select="from/contact/displayName/@text"/>
|
||||
<xsl:text disable-output-escaping="yes">&nbsp;</xsl:text>
|
||||
</span>
|
||||
</span>
|
||||
</dt>
|
||||
|
||||
<!-- message body -->
|
||||
<dd dir="{body/@dir}">
|
||||
<xsl:value-of disable-output-escaping="yes" select="body/@fontBefore"/>
|
||||
<xsl:value-of disable-output-escaping="yes" select="body"/>
|
||||
<xsl:value-of disable-output-escaping="yes" select="body/@fontAfter"/>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</xsl:when>
|
||||
|
||||
<!--
|
||||
other messages, like:
|
||||
- application message (e.g. invite for file transfer)
|
||||
- notification message (e.g. file received)
|
||||
- system message (error messages, e.g. invitations KMess does not support)
|
||||
-->
|
||||
<xsl:when test="@type='application' or @type='presence' or @type='notification' or @type='system'">
|
||||
<div class="{body/@dir}">
|
||||
<div class="{@type}" dir="{body/@dir}">
|
||||
|
||||
<xsl:value-of disable-output-escaping="yes" select="body"/>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</xsl:when>
|
||||
|
||||
</xsl:choose>
|
||||
</xsl:template>
|
||||
|
||||
|
||||
<!--
|
||||
Message group template
|
||||
This is used to group follow-up messages from the same contact.
|
||||
-->
|
||||
<xsl:template match="messagegroup">
|
||||
<div class="messagegroup">
|
||||
<div class="{message[1]/body/@dir}">
|
||||
<div class="{message[1]/@type}">
|
||||
|
||||
<dl>
|
||||
<!-- message header -->
|
||||
<dt dir="{message[1]/from/contact/displayName/@dir}" class="{message[1]/from/contact/displayName/@dir}">
|
||||
<span class="wrapper">
|
||||
<!-- show time? -->
|
||||
<xsl:if test="message[1]/@time">
|
||||
<span class="time"><xsl:value-of select="message[1]/@time"/> - <xsl:value-of select="message[last()]/@time"/></span>
|
||||
</xsl:if>
|
||||
|
||||
<!-- show name -->
|
||||
<span class="name">
|
||||
<xsl:value-of disable-output-escaping="yes" select="message[1]/from/contact/displayName/@text"/>
|
||||
<xsl:text disable-output-escaping="yes">&nbsp;</xsl:text>
|
||||
</span>
|
||||
</span>
|
||||
</dt>
|
||||
|
||||
<!-- message body -->
|
||||
<xsl:for-each select="message">
|
||||
<dd dir="{body/@dir}">
|
||||
<!-- add extra attribute for css -->
|
||||
<xsl:attribute name="class">
|
||||
<xsl:choose>
|
||||
<xsl:when test="position() = last()"><xsl:text>last-child</xsl:text></xsl:when>
|
||||
<xsl:when test="position() = 1"><xsl:text>first-child</xsl:text></xsl:when>
|
||||
<xsl:otherwise><xsl:text>middle-child</xsl:text></xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:attribute>
|
||||
|
||||
<xsl:value-of disable-output-escaping="yes" select="body/@fontBefore"/>
|
||||
<xsl:value-of disable-output-escaping="yes" select="body"/>
|
||||
<xsl:value-of disable-output-escaping="yes" select="body/@fontAfter"/>
|
||||
</dd>
|
||||
</xsl:for-each>
|
||||
</dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
|
After Width: | Height: | Size: 978 B |
|
After Width: | Height: | Size: 215 B |
|
After Width: | Height: | Size: 217 B |
|
After Width: | Height: | Size: 994 B |
|
After Width: | Height: | Size: 1017 B |
|
After Width: | Height: | Size: 203 B |
|
After Width: | Height: | Size: 204 B |
|
After Width: | Height: | Size: 183 B |
|
After Width: | Height: | Size: 183 B |
|
After Width: | Height: | Size: 937 B |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.0 KiB |
@@ -0,0 +1,295 @@
|
||||
<?xml version='1.0'?>
|
||||
|
||||
<!--
|
||||
This is an example chat conversation.
|
||||
It contains the common message types and variations.
|
||||
To view the HTML result of a chat style, use:
|
||||
|
||||
xsltproc Themedir/theme.xsl examplemessage.xml > Themedir/test.html
|
||||
|
||||
|
||||
To view all chat styles, use:
|
||||
|
||||
for i in */*.xsl; do name=`dirname $i`; xsltproc $i examplemessage.xml > $name/test.html; done
|
||||
konqueror */test.html &
|
||||
|
||||
|
||||
To cleanup everything, use:
|
||||
|
||||
rm */test.html
|
||||
|
||||
-->
|
||||
|
||||
<messageRoot>
|
||||
|
||||
|
||||
<!--
|
||||
Incoming message from another contact
|
||||
When the "Show time in messages" option in unchecked,
|
||||
the 'time' attribute won't be added to messages.
|
||||
-->
|
||||
<message type='incoming'><!-- time may be omitted -->
|
||||
<from>
|
||||
<contact contactId='alice@kmess.org'>
|
||||
<displayPicture url='' />
|
||||
<displayName text='Alice' dir='ltr' />
|
||||
</contact>
|
||||
</from>
|
||||
|
||||
<body color='#0033cc'
|
||||
fontFamily='Sans Serif'
|
||||
fontBold='0'
|
||||
fontItalic='0'
|
||||
fontUnderline='0'
|
||||
fontBefore='<font face="Sans Serif" color="#0033cc">'
|
||||
fontAfter='</font>'
|
||||
dir='ltr'
|
||||
>Aren't you going to open your gift? <img src="/opt/kde3/share/apps/kmess/emoticons/regular.png" height="29" width="29" alt=":)" title="" valign="top" class="standardEmoticon"><br><br>This is an example chat message.<br>Use <code>xsltproc <var>theme</var>.xsl examplemessage.xml &gt; test.html</code> to see the HTML result.</body>
|
||||
</message>
|
||||
|
||||
|
||||
<!--
|
||||
More incoming messages, this time with
|
||||
longer names to test the layout.
|
||||
-->
|
||||
<message type='incoming' time='10:30:23'>
|
||||
<from>
|
||||
<contact contactId='carol@kmess.org'>
|
||||
<displayPicture url='' />
|
||||
<displayName text='Carol with longer name' dir='ltr' />
|
||||
</contact>
|
||||
</from>
|
||||
|
||||
<body color='#0099cc'
|
||||
fontFamily='Sans Serif'
|
||||
fontBold='0'
|
||||
fontItalic='0'
|
||||
fontUnderline='0'
|
||||
fontBefore='<font face="Sans Serif" color="#0099cc">'
|
||||
fontAfter='</font>'
|
||||
dir='ltr'
|
||||
>Hello there!</body>
|
||||
</message>
|
||||
|
||||
<message type='incoming' time='10:30:59'>
|
||||
<from>
|
||||
<contact contactId='alice@kmess.org'>
|
||||
<displayPicture url='' />
|
||||
<displayName text='Alice' dir='ltr' />
|
||||
</contact>
|
||||
</from>
|
||||
|
||||
<body color='#0033cc'
|
||||
fontFamily='Sans Serif'
|
||||
fontBold='0'
|
||||
fontItalic='0'
|
||||
fontUnderline='0'
|
||||
fontBefore='<font face="Sans Serif" color="#0033cc">'
|
||||
fontAfter='</font>'
|
||||
dir='ltr'
|
||||
>Welcome to the chat Carol</body>
|
||||
</message>
|
||||
|
||||
|
||||
<!--
|
||||
Outgoing message to another contact.
|
||||
The "Group follow-up messages from the same contact" is checked,
|
||||
the messages will be grouped in a <messagegroup> node.
|
||||
Each time a new message is appended, the whole group is regenerated.
|
||||
-->
|
||||
<messagegroup>
|
||||
<message type='outgoing' time='10:24:30'>
|
||||
<from>
|
||||
<contact contactId='bob@kmess.org'>
|
||||
<displayPicture url='' />
|
||||
<displayName text='Bob' dir='ltr' />
|
||||
</contact>
|
||||
</from>
|
||||
|
||||
<body color='#cc3300'
|
||||
fontFamily='Verdana'
|
||||
fontBold='0'
|
||||
fontItalic='0'
|
||||
fontUnderline='0'
|
||||
fontBefore='<font face="Verdana" color="#cc3300">'
|
||||
fontAfter='</font>'
|
||||
dir='ltr'
|
||||
>I'm not sure yet</body>
|
||||
</message>
|
||||
<message type='outgoing' time='10:24:40'>
|
||||
<from>
|
||||
<contact contactId='bob@kmess.org'>
|
||||
<displayPicture url='' />
|
||||
<displayName text='Bob' dir='ltr' />
|
||||
</contact>
|
||||
</from>
|
||||
|
||||
<body color='#cc3300'
|
||||
fontFamily='Verdana'
|
||||
fontBold='0'
|
||||
fontItalic='0'
|
||||
fontUnderline='0'
|
||||
fontBefore='<font face="Verdana" color="#cc3300">'
|
||||
fontAfter='</font>'
|
||||
dir='ltr'
|
||||
>no really</body>
|
||||
</message>
|
||||
</messagegroup>
|
||||
|
||||
|
||||
<!--
|
||||
This is testing the right-to-left support of your chat theme.
|
||||
The 'dir' attribute indicates whether it's left-to-right (ltr) or right-to-left (rtl).
|
||||
The name can be right-to-left, or the message, or both.
|
||||
-->
|
||||
<message type='incoming' time='10:31:30'>
|
||||
<from>
|
||||
<contact contactId='rtl@kmess.org'>
|
||||
<displayPicture url='' />
|
||||
<displayName text='right to left name' dir='rtl' />
|
||||
</contact>
|
||||
</from>
|
||||
|
||||
<body color='#0099cc'
|
||||
fontFamily='Sans Serif'
|
||||
fontBold='0'
|
||||
fontItalic='0'
|
||||
fontUnderline='0'
|
||||
fontBefore='<font face="Sans Serif" color="#0099cc">'
|
||||
fontAfter='</font>'
|
||||
dir='ltr'
|
||||
>This name is written right-to-left. Next message should be entirely right-to-left.</body>
|
||||
</message>
|
||||
<message type='incoming' time='10:31:59'>
|
||||
<from>
|
||||
<contact contactId='alice@kmess.org'>
|
||||
<displayPicture url='' />
|
||||
<displayName text='הודעות טקסט' dir='rtl' />
|
||||
</contact>
|
||||
</from>
|
||||
|
||||
<body color='#0033cc'
|
||||
fontFamily='Sans Serif'
|
||||
fontBold='0'
|
||||
fontItalic='0'
|
||||
fontUnderline='0'
|
||||
fontBefore='<font face="Sans Serif" color="#0033cc">'
|
||||
fontAfter='</font>'
|
||||
dir='rtl'
|
||||
>הודעות טקסט</body>
|
||||
</message>
|
||||
|
||||
|
||||
<!--
|
||||
Testing notification messages.
|
||||
These are used for events (you got a wink, nudge) and invitations.
|
||||
-->
|
||||
<message type='notification' date='2006-10-08' time='15:13:12'>
|
||||
<from>
|
||||
<contact contactId='alice@kmess.org'>
|
||||
</contact>
|
||||
</from>
|
||||
<body color=''
|
||||
fontFamily='Verdana'
|
||||
fontBold='0'
|
||||
fontItalic='0'
|
||||
fontUnderline='0'
|
||||
fontBefore=''
|
||||
fontAfter=''
|
||||
dir='ltr'
|
||||
><span class="acceptMessage">Do you want to accept the file: <span class="filename invitedFilename">desktop.ini</span> (79 bytes) Do you want to <a href="kmess://accept/alice@kmess.org?976544">accept</a> or <a href="kmess://reject/alice@kmess.org?976544">cancel</a>?</span></body>
|
||||
</message>
|
||||
|
||||
|
||||
<!--
|
||||
Testing application messages.
|
||||
These are informative messages, like "file transfer complete".
|
||||
-->
|
||||
<message type='application' date='2006-10-08' time='15:13:25'>
|
||||
<from>
|
||||
<contact contactId='alice@kmess.org'>
|
||||
</contact>
|
||||
</from>
|
||||
<body color=''
|
||||
fontFamily='Verdana'
|
||||
fontBold='0'
|
||||
fontItalic='0'
|
||||
fontUnderline='0'
|
||||
fontBefore=''
|
||||
fontAfter=''
|
||||
dir='ltr'
|
||||
>Successfully transferred file: <span class="filename completedFilename"><a href="file:/home/diederik/Desktop/desktop.ini">desktop.ini</a></span></body>
|
||||
</message>
|
||||
|
||||
|
||||
<!--
|
||||
Just a message in between so it looks more like a chat.
|
||||
The contact uses a different font here.
|
||||
-->
|
||||
<message type='outgoing' date='2006-10-08' time='15:14:00'>
|
||||
<from>
|
||||
<contact contactId='bob@kmess.org'>
|
||||
<displayPicture url='' />
|
||||
<displayName text='Bob' dir='ltr' />
|
||||
</contact>
|
||||
</from>
|
||||
|
||||
<body color='#66aa00'
|
||||
fontFamily='Verdana'
|
||||
fontBold='0'
|
||||
fontItalic='0'
|
||||
fontUnderline='0'
|
||||
fontBefore='<font face="Verdana" color="#66aa00">'
|
||||
fontAfter='</font>'
|
||||
dir='ltr'
|
||||
>Thanks for the file</body>
|
||||
</message>
|
||||
|
||||
|
||||
<!--
|
||||
Testing system error messages.
|
||||
These are used for unsupported things and errors
|
||||
like "invitation not supported", "contact is offline"
|
||||
-->
|
||||
<message type='system' date='2006-10-08' time='15:26:52'>
|
||||
<from>
|
||||
<contact contactId='alice@kmess.org'>
|
||||
</contact>
|
||||
</from>
|
||||
<body color=''
|
||||
fontFamily='Verdana'
|
||||
fontBold='0'
|
||||
fontItalic='0'
|
||||
fontUnderline='0'
|
||||
fontBefore=''
|
||||
fontAfter=''
|
||||
dir='ltr'
|
||||
>The contact is inviting you for 'Bejeweled', but this is not implemented yet.</body>
|
||||
</message>
|
||||
|
||||
|
||||
<!--
|
||||
Offline-IM messages.
|
||||
These are received when the user gets online.
|
||||
This is the main reason why each message also has a 'date' attribute.
|
||||
-->
|
||||
<message type='offlineIncoming' date='2006-10-08' time='15:26:52'>
|
||||
<from>
|
||||
<contact contactId='alice@kmess.org'>
|
||||
<displayPicture url='' />
|
||||
<displayName text='Alice' dir='ltr' />
|
||||
</contact>
|
||||
</from>
|
||||
|
||||
<body color='#0033cc'
|
||||
fontFamily='Sans Serif'
|
||||
fontBold='0'
|
||||
fontItalic='0'
|
||||
fontUnderline='0'
|
||||
fontBefore='<font face="Sans Serif" color="#0033cc">'
|
||||
fontAfter='</font>'
|
||||
dir='ltr'
|
||||
>This is an offline-IM message.</body>
|
||||
</message>
|
||||
|
||||
</messageRoot>
|
||||
@@ -0,0 +1,17 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Run 'xsltproc' for every .xsl file
|
||||
# It extracts the <xsl:text kmess:translate="true">..</xsl:text> nodes
|
||||
# and generates output compatible for xgettext.
|
||||
# The white space is simplified to avoid easily broken translations.
|
||||
|
||||
find . -mindepth 2 -name '*.xsl' \
|
||||
| sort \
|
||||
| while read xslFile
|
||||
do
|
||||
xsltproc --stringparam "filename" "$xslFile" \
|
||||
--nonet \
|
||||
--nomkdir \
|
||||
"$0.xsl" "$xslFile"
|
||||
done
|
||||
|
||||
@@ -0,0 +1,66 @@
|
||||
<?xml version='1.0'?>
|
||||
<!--
|
||||
KMess transformation sheet to extract messages.
|
||||
Copyright (C) 2006, Diederik van der Boor
|
||||
|
||||
Generates output for xgettext.
|
||||
This program is started with xsltproc
|
||||
by the 'extract-xsl-messages' shell script.
|
||||
-->
|
||||
<xsl:stylesheet version="1.0"
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
xmlns:kmess="http://www.kmess.org/xmlns/ChatStyles/v1/" >
|
||||
<xsl:output method="text"
|
||||
encoding="utf-8"
|
||||
indent="no"
|
||||
omit-xml-declaration="yes" />
|
||||
|
||||
<!--
|
||||
parameter with file name
|
||||
-->
|
||||
<xsl:param name="filename" select="'kmess/styles/unknown-xsl'" />
|
||||
|
||||
|
||||
<!--
|
||||
Trick to get \n character
|
||||
-->
|
||||
<xsl:variable name="crlf"><xsl:text>
|
||||
</xsl:text></xsl:variable>
|
||||
|
||||
|
||||
<!--
|
||||
Process root node, search for <xsl:text> nodes.
|
||||
-->
|
||||
<xsl:template match="/xsl:stylesheet">
|
||||
<xsl:apply-templates select="//xsl:text" />
|
||||
</xsl:template>
|
||||
|
||||
|
||||
<!--
|
||||
Process <xsl:text> nodes.
|
||||
-->
|
||||
<xsl:template match="xsl:text">
|
||||
|
||||
<!-- trip the node text leafs and simplyfy space -->
|
||||
<xsl:variable name="trimmed" select=" normalize-space( text() ) " />
|
||||
|
||||
<!-- ignore <xsl:text> </xsl:text> nodes, output others for xgettext format -->
|
||||
<xsl:if test=" $trimmed != '' and @kmess:translate = 'true' ">
|
||||
<!-- line 1 -->
|
||||
<xsl:text>//i18n: file </xsl:text>
|
||||
<xsl:value-of select="$filename" />
|
||||
<xsl:text> line 0</xsl:text>
|
||||
<xsl:value-of select="$crlf" />
|
||||
|
||||
<!-- line 2 -->
|
||||
<xsl:text>// xgettext: no-c-format</xsl:text>
|
||||
<xsl:value-of select="$crlf" />
|
||||
|
||||
<!-- line 3 -->
|
||||
<xsl:text>i18n("</xsl:text>
|
||||
<xsl:value-of select=" $trimmed " />
|
||||
<xsl:text>");</xsl:text>
|
||||
<xsl:value-of select="$crlf" />
|
||||
</xsl:if>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
@@ -0,0 +1,2 @@
|
||||
|
||||
ADD_SUBDIRECTORY( KMess2-new )
|
||||
@@ -0,0 +1,89 @@
|
||||
|
||||
SET( kmess_emoticon_FILES
|
||||
emoticons.xml
|
||||
smile.png
|
||||
airplane.png
|
||||
angel.png
|
||||
angry.png
|
||||
arrogant.png
|
||||
asl.png
|
||||
automobile.png
|
||||
baringteeth.png
|
||||
bat.png
|
||||
beer.png
|
||||
bowl.png
|
||||
boy.png
|
||||
brb.png
|
||||
cake.png
|
||||
camera.png
|
||||
cat.png
|
||||
cigarette.png
|
||||
clock.png
|
||||
cocktail.png
|
||||
computer.png
|
||||
confused.png
|
||||
cry.png
|
||||
cup.png
|
||||
devil.png
|
||||
dog.png
|
||||
dude_hug.png
|
||||
embarrassed.png
|
||||
envelope.png
|
||||
eyeroll.png
|
||||
film.png
|
||||
fingerscrossed.png
|
||||
gameconsole.png
|
||||
girl_hug.png
|
||||
girl.png
|
||||
handcuffs.png
|
||||
highfive.png
|
||||
huh.png
|
||||
island.png
|
||||
kiss.png
|
||||
lightbulb.png
|
||||
lightning.png
|
||||
love.png
|
||||
megasmile.png
|
||||
messenger.png
|
||||
mobilephone.png
|
||||
money.png
|
||||
moon.png
|
||||
nerd.png
|
||||
note.png
|
||||
omg.png
|
||||
party.png
|
||||
phone.png
|
||||
pizza.png
|
||||
plate.png
|
||||
present.png
|
||||
rainbow.png
|
||||
regular.png
|
||||
rose.png
|
||||
sad.png
|
||||
sarcastic.png
|
||||
secret.png
|
||||
shade.png
|
||||
sheep.png
|
||||
sick.png
|
||||
sleepy.png
|
||||
snail.png
|
||||
soccer.png
|
||||
sshh.png
|
||||
star.png
|
||||
storm.png
|
||||
sun.png
|
||||
teeth.png
|
||||
thinking.png
|
||||
thumbs_down.png
|
||||
thumbs_up.png
|
||||
tongue.png
|
||||
turtle.png
|
||||
ugly.png
|
||||
umbrella.png
|
||||
unhappy.png
|
||||
unlove.png
|
||||
wilted_rose.png
|
||||
wink.png
|
||||
)
|
||||
|
||||
INSTALL( FILES ${kmess_emoticon_FILES} DESTINATION ${SHARE_INSTALL_PREFIX}/emoticons/KMess-new )
|
||||
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 1.9 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 2.1 KiB |