Drop automake build support.

Add basic cmake build instructions in an INSTALL file.
Complete the description in README.
Deleted file: VERSION

Signed-off-by: gregory guy <gregory-tde@laposte.net>
pull/5/head
gregory guy 5 years ago
parent 5f336c1280
commit 68a5173782
No known key found for this signature in database
GPG Key ID: 3BCCA0F7AB4536F4

3
.gitmodules vendored

@ -1,6 +1,3 @@
[submodule "admin"]
path = admin
url = http://system@scm.trinitydesktop.org/scm/git/tde-common-admin
[submodule "cmake"]
path = cmake
url = http://system@scm.trinitydesktop.org/scm/git/tde-common-cmake

@ -0,0 +1,16 @@
Basic Installation
==================
Kiosktool relies on cmake to build.
Here are suggested default options:
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
-DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_VERBOSE_MAKEFILE="ON" \
-DCMAKE_SKIP_RPATH="OFF" \
-DBUILD_ALL="ON" \
-DWITH_ALL_OPTIONS="ON"

@ -1,8 +0,0 @@
AUTOMAKE_OPTIONS = foreign 1.5
include admin/deps.am
include admin/Doxyfile.am
$(top_srcdir)/acinclude.m4:
SUBDIRS=$(TOPSUBDIRS)

@ -1,7 +0,0 @@
AUTOMAKE_OPTIONS = foreign 1.5
include admin/deps.am
include admin/Doxyfile.am
$(top_srcdir)/acinclude.m4: $(top_srcdir)/*/*.m4

@ -1,13 +1,14 @@
KIOSK Admin Tool is a graphical tool for system administrators to manage on
a system wide level KDE usage restrictions (KIOSK features) and default
settings.
Kiosktool - a graphical KIOSK Admin Tool for TDE.
Please report bugs via http://bugs.kde.org under "kiosktool" component.
For question you can use the kde-kiosk@kde.org mailinglist.
See https://mail.kde.org/mailman/listinfo/kde-kiosk for subscription info.
KIOSK Admin Tool is a graphical tool for system administrators to manage
on a system wide level TDE usage restrictions (KIOSK features) and
default settings.
Enjoy,
It offers system administrators an easy way to predefine desktop
configurations, lock down settings or otherwise restrict features of the
TDE desktop environment.
Waldo Bastian
bastian@kde.org
It is centered around "profiles", a profile is a collection of default
settings and restrictions that can be applied to users or groups of
users.

@ -1 +0,0 @@
kiosktool version 1.0

File diff suppressed because it is too large Load Diff

12223
aclocal.m4 vendored

File diff suppressed because it is too large Load Diff

@ -1 +0,0 @@
Subproject commit 68f23556e638353e46b444d3a4863a64936bd36a

@ -1,270 +0,0 @@
/* config.h.in. Generated from configure.in by autoheader. */
/* Define if you have the CoreAudio API */
#undef HAVE_COREAUDIO
/* Define to 1 if you have the <crt_externs.h> header file. */
#undef HAVE_CRT_EXTERNS_H
/* Defines if your system has the crypt function */
#undef HAVE_CRYPT
/* Define to 1 if you have the <dlfcn.h> header file. */
#undef HAVE_DLFCN_H
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
/* Define if you have libjpeg */
#undef HAVE_LIBJPEG
/* Define if you have libpng */
#undef HAVE_LIBPNG
/* Define if you have a working libpthread (will enable threaded code) */
#undef HAVE_LIBPTHREAD
/* Define if you have libz */
#undef HAVE_LIBZ
/* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H
/* Define if your system needs _NSGetEnviron to set up the environment */
#undef HAVE_NSGETENVIRON
/* Define if you have res_init */
#undef HAVE_RES_INIT
/* Define if you have the res_init prototype */
#undef HAVE_RES_INIT_PROTO
/* Define if you have setenv */
#undef HAVE_SETENV
/* Define if you have the setenv prototype */
#undef HAVE_SETENV_PROTO
/* Define if you have a STL implementation by SGI */
#undef HAVE_SGI_STL
/* Define to 1 if you have the `snprintf' function. */
#undef HAVE_SNPRINTF
/* Define to 1 if you have the <stdint.h> header file. */
#undef HAVE_STDINT_H
/* Define to 1 if you have the <stdlib.h> header file. */
#undef HAVE_STDLIB_H
/* Define to 1 if you have the <strings.h> header file. */
#undef HAVE_STRINGS_H
/* Define to 1 if you have the <string.h> header file. */
#undef HAVE_STRING_H
/* Define if you have strlcat */
#undef HAVE_STRLCAT
/* Define if you have the strlcat prototype */
#undef HAVE_STRLCAT_PROTO
/* Define if you have strlcpy */
#undef HAVE_STRLCPY
/* Define if you have the strlcpy prototype */
#undef HAVE_STRLCPY_PROTO
/* Define to 1 if you have the <sys/bitypes.h> header file. */
#undef HAVE_SYS_BITYPES_H
/* Define to 1 if you have the <sys/stat.h> header file. */
#undef HAVE_SYS_STAT_H
/* Define to 1 if you have the <sys/types.h> header file. */
#undef HAVE_SYS_TYPES_H
/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
/* Define if you have unsetenv */
#undef HAVE_UNSETENV
/* Define if you have the unsetenv prototype */
#undef HAVE_UNSETENV_PROTO
/* Define to 1 if you have the `vsnprintf' function. */
#undef HAVE_VSNPRINTF
/* Suffix for lib directories */
#undef KDELIBSUFF
/* Name of package */
#undef PACKAGE
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
/* Define to the full name of this package. */
#undef PACKAGE_NAME
/* Define to the full name and version of this package. */
#undef PACKAGE_STRING
/* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME
/* Define to the version of this package. */
#undef PACKAGE_VERSION
/* The size of `char *', as computed by sizeof. */
#undef SIZEOF_CHAR_P
/* The size of `int', as computed by sizeof. */
#undef SIZEOF_INT
/* The size of `long', as computed by sizeof. */
#undef SIZEOF_LONG
/* The size of `short', as computed by sizeof. */
#undef SIZEOF_SHORT
/* The size of `size_t', as computed by sizeof. */
#undef SIZEOF_SIZE_T
/* The size of `unsigned long', as computed by sizeof. */
#undef SIZEOF_UNSIGNED_LONG
/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS
/* Version number of package */
#undef VERSION
/* Defined if compiling without arts */
#undef WITHOUT_ARTS
/*
* jpeg.h needs HAVE_BOOLEAN, when the system uses boolean in system
* headers and I'm too lazy to write a configure test as long as only
* unixware is related
*/
#ifdef _UNIXWARE
#define HAVE_BOOLEAN
#endif
/*
* AIX defines FD_SET in terms of bzero, but fails to include <strings.h>
* that defines bzero.
*/
#if defined(_AIX)
#include <strings.h>
#endif
#if defined(HAVE_NSGETENVIRON) && defined(HAVE_CRT_EXTERNS_H)
# include <sys/time.h>
# include <crt_externs.h>
# define environ (*_NSGetEnviron())
#endif
#if !defined(HAVE_RES_INIT_PROTO)
#ifdef __cplusplus
extern "C" {
#endif
int res_init(void);
#ifdef __cplusplus
}
#endif
#endif
#if !defined(HAVE_SETENV_PROTO)
#ifdef __cplusplus
extern "C" {
#endif
int setenv (const char *, const char *, int);
#ifdef __cplusplus
}
#endif
#endif
#if !defined(HAVE_STRLCAT_PROTO)
#ifdef __cplusplus
extern "C" {
#endif
unsigned long strlcat(char*, const char*, unsigned long);
#ifdef __cplusplus
}
#endif
#endif
#if !defined(HAVE_STRLCPY_PROTO)
#ifdef __cplusplus
extern "C" {
#endif
unsigned long strlcpy(char*, const char*, unsigned long);
#ifdef __cplusplus
}
#endif
#endif
#if !defined(HAVE_UNSETENV_PROTO)
#ifdef __cplusplus
extern "C" {
#endif
void unsetenv (const char *);
#ifdef __cplusplus
}
#endif
#endif
/*
* On HP-UX, the declaration of vsnprintf() is needed every time !
*/
#if !defined(HAVE_VSNPRINTF) || defined(hpux)
#if __STDC__
#include <stdarg.h>
#include <stdlib.h>
#else
#include <varargs.h>
#endif
#ifdef __cplusplus
extern "C"
#endif
int vsnprintf(char *str, size_t n, char const *fmt, va_list ap);
#ifdef __cplusplus
extern "C"
#endif
int snprintf(char *str, size_t n, char const *fmt, ...);
#endif
#if defined(__SVR4) && !defined(__svr4__)
#define __svr4__ 1
#endif
/* type to use in place of socklen_t if not defined */
#undef kde_socklen_t
/* type to use in place of socklen_t if not defined (deprecated, use
kde_socklen_t) */
#undef ksize_t

@ -1,3 +0,0 @@
./admin/configure.in.min
configure.in.in
./kiosktool/configure.in.in

@ -1,149 +0,0 @@
dnl =======================================================
dnl FILE: ./admin/configure.in.min
dnl =======================================================
dnl This file is part of the KDE libraries/packages
dnl Copyright (C) 2001 Stephan Kulow (coolo@kde.org)
dnl This file is free software; you can redistribute it and/or
dnl modify it under the terms of the GNU Library General Public
dnl License as published by the Free Software Foundation; either
dnl version 2 of the License, or (at your option) any later version.
dnl This library is distributed in the hope that it will be useful,
dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
dnl Library General Public License for more details.
dnl You should have received a copy of the GNU Library General Public License
dnl along with this library; see the file COPYING.LIB. If not, write to
dnl the Free Software Foundation, Inc., 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(kiosktool-1.0, "3.3.0") 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
KDE_USE_TQT(3.2)
AC_PATH_KDE
dnl =======================================================
dnl FILE: configure.in.in
dnl =======================================================
#MIN_CONFIG(3.2)
KDE_INIT_DOXYGEN([The API Reference], [Version $VERSION])
dnl =======================================================
dnl FILE: ./kiosktool/configure.in.in
dnl =======================================================
AC_CHECK_SETENV
AC_CHECK_UNSETENV
KDE_CREATE_SUBDIRSLIST
AM_CONDITIONAL(doc_SUBDIR_included, test "x$doc_SUBDIR_included" = xyes)
AM_CONDITIONAL(kiosktool_SUBDIR_included, test "x$kiosktool_SUBDIR_included" = xyes)
AM_CONDITIONAL(po_SUBDIR_included, test "x$po_SUBDIR_included" = xyes)
AC_CONFIG_FILES([ Makefile ])
AC_CONFIG_FILES([ doc/Makefile ])
AC_CONFIG_FILES([ doc/da/Makefile ])
AC_CONFIG_FILES([ doc/it/Makefile ])
AC_CONFIG_FILES([ doc/kiosktool/Makefile ])
AC_CONFIG_FILES([ doc/nl/Makefile ])
AC_CONFIG_FILES([ doc/pt/Makefile ])
AC_CONFIG_FILES([ doc/sv/Makefile ])
AC_CONFIG_FILES([ kiosktool/Makefile ])
AC_CONFIG_FILES([ kiosktool/kcms/Makefile ])
AC_CONFIG_FILES([ kiosktool/kcms/autostart/Makefile ])
AC_CONFIG_FILES([ po/Makefile ])
AC_CONFIG_FILES([ po/bg/Makefile ])
AC_CONFIG_FILES([ po/br/Makefile ])
AC_CONFIG_FILES([ po/ca/Makefile ])
AC_CONFIG_FILES([ po/cs/Makefile ])
AC_CONFIG_FILES([ po/cy/Makefile ])
AC_CONFIG_FILES([ po/da/Makefile ])
AC_CONFIG_FILES([ po/de/Makefile ])
AC_CONFIG_FILES([ po/en_GB/Makefile ])
AC_CONFIG_FILES([ po/es/Makefile ])
AC_CONFIG_FILES([ po/et/Makefile ])
AC_CONFIG_FILES([ po/fr/Makefile ])
AC_CONFIG_FILES([ po/ga/Makefile ])
AC_CONFIG_FILES([ po/is/Makefile ])
AC_CONFIG_FILES([ po/it/Makefile ])
AC_CONFIG_FILES([ po/lt/Makefile ])
AC_CONFIG_FILES([ po/mt/Makefile ])
AC_CONFIG_FILES([ po/nl/Makefile ])
AC_CONFIG_FILES([ po/pt/Makefile ])
AC_CONFIG_FILES([ po/pt_BR/Makefile ])
AC_CONFIG_FILES([ po/ro/Makefile ])
AC_CONFIG_FILES([ po/ru/Makefile ])
AC_CONFIG_FILES([ po/sr/Makefile ])
AC_CONFIG_FILES([ po/sr@Latn/Makefile ])
AC_CONFIG_FILES([ po/sv/Makefile ])
AC_CONFIG_FILES([ po/ta/Makefile ])
AC_CONFIG_FILES([ po/tr/Makefile ])
AC_CONFIG_FILES([ po/xx/Makefile ])
AC_OUTPUT
# Check if KDE_SET_PREFIX was called, and --prefix was passed to configure
if test -n "$kde_libs_prefix" -a -n "$given_prefix"; then
# And if so, warn when they don't match
if test "$kde_libs_prefix" != "$given_prefix"; then
# And if kde doesn't know about the prefix yet
echo ":"`tde-config --path exe`":" | grep ":$given_prefix/bin/:" 2>&1 >/dev/null
if test $? -ne 0; then
echo ""
echo "Warning: you chose to install this package in $given_prefix,"
echo "but KDE was found in $kde_libs_prefix."
echo "For this to work, you will need to tell KDE about the new prefix, by ensuring"
echo "that TDEDIRS contains it, e.g. export TDEDIRS=$given_prefix:$kde_libs_prefix"
echo "Then restart KDE."
echo ""
fi
fi
fi
if test "$all_tests" = "bad"; then
if test ! "$cache_file" = "/dev/null"; then
echo ""
echo "Please remove the file $cache_file after changing your setup"
echo "so that configure will find the changes next time."
echo ""
fi
else
echo ""
echo "Good - your configure finished. Start make now"
echo ""
fi

@ -1,5 +0,0 @@
#MIN_CONFIG(3.2)
KDE_ENABLE_HIDDEN_VISIBILITY
KDE_INIT_DOXYGEN([The API Reference], [Version $VERSION])

@ -1,3 +0,0 @@
KDE_LANG = en
KDE_DOCS = AUTO
SUBDIRS = $(AUTODIRS)

@ -1,2 +0,0 @@
KDE_LANG = en
KDE_DOCS = kiosktool

@ -1,62 +0,0 @@
## Makefile.am for kiosktool
# this has all of the subdirectories that make will recurse into. if
# there are none, comment this out
SUBDIRS = . kcms
# this is the program that gets installed. it's name is used for all
# of the other Makefile.am variables
bin_PROGRAMS = kiosktool kiosktool-tdedirs
# set the include path for X, qt and KDE
INCLUDES = $(all_includes)
# the library search path.
kiosktool_LDFLAGS = $(KDE_RPATH) $(all_libraries) $(LIB_TQT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor
# the libraries to link against.
kiosktool_LDADD = $(LIB_TDEFILE) -ltdeprint
# which sources should be compiled for kiosktool
kiosktool_SOURCES = main.cpp kioskgui.cpp kioskdata.cpp kioskrun.cpp \
mainview.ui profileSelectionPage_ui.ui \
profilePropsPage.cpp profilePropsPage_ui.ui \
pageWidget.cpp component.cpp \
desktopComponent.cpp menueditComponent.cpp screensaverComponent.cpp \
panelComponent.cpp filetypeeditComponent.cpp \
componentSelectionPage.cpp componentSelectionPage_ui.ui \
componentPage.cpp componentPage_ui.ui \
userManagement.cpp userManagement_ui.ui userManagementGroup_ui.ui \
userManagementUser_ui.ui \
kioskConfigDialog.cpp kioskConfigDialog_ui.ui \
kiosksync.cpp
# the library search path.
kiosktool_tdedirs_LDFLAGS = $(KDE_RPATH) $(all_libraries) $(LIB_TQT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor
# the libraries to link against.
kiosktool_tdedirs_LDADD = $(LIB_TDECORE)
# which sources should be compiled for kiosktool
kiosktool_tdedirs_SOURCES = kiosktool-tdedirs.cpp
# these are the headers for your project
noinst_HEADERS = kioskgui.h
# let automoc handle all of the meta source files (moc)
METASOURCES = AUTO
messages: rc.cpp
./extractxml kiosk_data.xml > kiosk_data.cpp
$(XGETTEXT) *.cpp -o $(podir)/kiosktool.pot
rm kiosk_data.cpp
KDE_ICON = kiosktool
xdg_apps_DATA = kiosktool.desktop
# this is where the XML-GUI resource file goes
rcdir = $(kde_datadir)/kiosktool
rc_DATA = kiosktoolui.rc kiosk_data.xml caption.png background.png logo.png \
caption-da.png caption-empty.png caption-et.png caption-pt.png caption-pt_BR.png \
caption-sv.png

@ -1,2 +0,0 @@
AC_CHECK_SETENV
AC_CHECK_UNSETENV

@ -1,6 +0,0 @@
## Makefile.am for kiosktool's additional KCMs
# this has all of the subdirectories that make will recurse into. if
# there are none, comment this out
#SUBDIRS = autostart

@ -1,17 +0,0 @@
kde_module_LTLIBRARIES = kcm_autostart.la
kcm_autostart_la_SOURCES = kcmautostart.cpp
kcm_autostart_la_LDFLAGS = $(all_libraries) -module -avoid-version -no-undefined
kcm_autostart_la_LIBADD = $(LIB_TDEIO)
INCLUDES= $(all_includes)
kcm_autostart_la_METASOURCES = AUTO
KDE_ICON = autostart
messages: rc.cpp
$(XGETTEXT) *.cpp -o $(podir)/kcmautostart.pot
xdg_apps_DATA = kcmautostart.desktop

@ -1 +0,0 @@
SUBDIRS = $(AUTODIRS)

@ -1,3 +0,0 @@
KDE_LANG = bg
SUBDIRS = $(AUTODIRS)
POFILES = AUTO

@ -1,3 +0,0 @@
KDE_LANG = br
SUBDIRS = $(AUTODIRS)
POFILES = AUTO

@ -1,3 +0,0 @@
KDE_LANG = ca
SUBDIRS = $(AUTODIRS)
POFILES = AUTO

@ -1,3 +0,0 @@
KDE_LANG = cs
SUBDIRS = $(AUTODIRS)
POFILES = AUTO

@ -1,3 +0,0 @@
KDE_LANG = cy
SUBDIRS = $(AUTODIRS)
POFILES = AUTO

@ -1,3 +0,0 @@
KDE_LANG = da
SUBDIRS = $(AUTODIRS)
POFILES = AUTO

@ -1,3 +0,0 @@
KDE_LANG = de
SUBDIRS = $(AUTODIRS)
POFILES = AUTO

@ -1,3 +0,0 @@
KDE_LANG = en_GB
SUBDIRS = $(AUTODIRS)
POFILES = AUTO

@ -1,3 +0,0 @@
KDE_LANG = es
SUBDIRS = $(AUTODIRS)
POFILES = AUTO

@ -1,3 +0,0 @@
KDE_LANG = et
SUBDIRS = $(AUTODIRS)
POFILES = AUTO

@ -1,3 +0,0 @@
KDE_LANG = fr
SUBDIRS = $(AUTODIRS)
POFILES = AUTO

@ -1,3 +0,0 @@
KDE_LANG = ga
SUBDIRS = $(AUTODIRS)
POFILES = AUTO

@ -1,3 +0,0 @@
KDE_LANG = is
SUBDIRS = $(AUTODIRS)
POFILES = AUTO

@ -1,3 +0,0 @@
KDE_LANG = it
SUBDIRS = $(AUTODIRS)
POFILES = AUTO

@ -1,3 +0,0 @@
KDE_LANG = lt
SUBDIRS = $(AUTODIRS)
POFILES = AUTO

@ -1,3 +0,0 @@
KDE_LANG = mt
SUBDIRS = $(AUTODIRS)
POFILES = AUTO

@ -1,3 +0,0 @@
KDE_LANG = nl
SUBDIRS = $(AUTODIRS)
POFILES = AUTO

@ -1,3 +0,0 @@
KDE_LANG = pt
SUBDIRS = $(AUTODIRS)
POFILES = AUTO

@ -1,3 +0,0 @@
KDE_LANG = pt_BR
SUBDIRS = $(AUTODIRS)
POFILES = AUTO

@ -1,3 +0,0 @@
KDE_LANG = ro
SUBDIRS = $(AUTODIRS)
POFILES = AUTO

@ -1,3 +0,0 @@
KDE_LANG = ru
SUBDIRS = $(AUTODIRS)
POFILES = AUTO

@ -1,3 +0,0 @@
KDE_LANG = sr
SUBDIRS = $(AUTODIRS)
POFILES = AUTO

@ -1,3 +0,0 @@
KDE_LANG = sr@Latn
SUBDIRS = $(AUTODIRS)
POFILES = AUTO

@ -1,3 +0,0 @@
KDE_LANG = sv
SUBDIRS = $(AUTODIRS)
POFILES = AUTO

@ -1,3 +0,0 @@
KDE_LANG = ta
SUBDIRS = $(AUTODIRS)
POFILES = AUTO

@ -1,3 +0,0 @@
KDE_LANG = tr
SUBDIRS = $(AUTODIRS)
POFILES = AUTO

@ -1,3 +0,0 @@
doc
kiosktool
po
Loading…
Cancel
Save