Drop automake build support.

Add basic cmake build instructions.
Delete empty files ChangeLog, NEWS and TODO.
Rework of the README file.
Update some cmake files with latest macros.

Signed-off-by: gregory guy <gregory-tde@laposte.net>
pull/8/head
gregory guy 3 years ago
parent 316ef85427
commit 039945bdcc
No known key found for this signature in database
GPG Key ID: 2CC84A1CC6823AF8

3
.gitmodules vendored

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

@ -1,9 +0,0 @@
To see the Changes log, please visit
http://basket.kde.org/changelog.php
To see which features will be implanted in the future versions,
please visit the roadmap on
http://basket.kde.org/roadmap.php
See it also to know the project status and other informations about
it.

@ -1,195 +1,32 @@
/====================================\
| Quick Installation with the Wizard |
\====================================/
Quick Instructions
==================
The installation can easily be performed by launching the
./installer script in a terminal and by following the instructions.
Theire is nothing else to do.
More Information
================
In Konqueror, after having un-compressed the .tar.gz file containing
BasKet Note Pads, choose `Open a terminal' while in the un-compressed
folder (the same where you can read this file).
Then, type "./installer" (without the quotes) and press Enter.
You just have to follow the wizard.
The scrit is there just to simplify your life.
If it does not work or you if want more control (experienced users) on
the configure process, please read the following paragraphs.
/===================================\
| Standard UNIX Way of Installation |
\===================================/
Basic Installation
==================
These are generic installation instructions.
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 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.
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'.
The simplest way to compile this package is:
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
Alternatively, 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
==================
basket relies on cmake to build.
`configure' recognizes the following options to control how it
operates.
Here are suggested default options:
`--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'.
-DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-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"
`--help'
Print a summary of the options to `configure', and exit.
`--quiet'
`--silent'
`-q'
Do not print messages saying which checks are being made.
Requirements:
=============
`--srcdir=DIR'
Look for the package's source code in directory DIR. Usually
`configure' can determine that directory automatically.
- file command (http://www.darwinsys.com/file)
`--version'
Print the version of Autoconf used to generate the `configure'
script, and exit.
`configure' also accepts some other, not widely useful, options.
Optional:
=========
- gpgme
- aRts
- libart_lgpl
- kontact (tdepim)

@ -1,22 +0,0 @@
SUBDIRS = $(TOPSUBDIRS)
$(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
EXTRA_DIST = admin COPYING configure.in.in
dist-hook:
cd $(top_distdir) && perl admin/am_edit -padmin
cd $(top_distdir) && $(MAKE) -f admin/Makefile.common subdirs

@ -1,10 +0,0 @@
all:
@echo "This Makefile is only for the CVS repository"
@echo "This will be deleted before making the distribution"
@echo ""
$(MAKE) -f admin/Makefile.common cvs
dist:
$(MAKE) -f admin/Makefile.common dist
.SILENT:

@ -1 +0,0 @@

@ -1,42 +1,27 @@
********************
* BasKet Note Pads *
********************
Purpose:
************
This application provide as many baskets as you wish, and you
can drag and drop various objects (text, URLs, images, sounds...)
into its.
Objects can be edited, copied, dragged... So, you can arrange them as
you want !
It's a DropDrawers clone
(http://www.sigsoftware.com/dropdrawers/index.html) for KDE 3.
If you want to contact me, please mail me at slaout@linux62.org
(I'm a french guy, if you prefer to speak french to me).
Project Status:
*******************
Visit the BasKet Note Pads website at :
http://basket.kde.org/
You can find screenshots of it at :
http://basket.kde.org/screenshots.php
For project status, please see the TODO file of this project at :
http://basket.kde.org/todo.php
You also can see the project roadmap for near versions planned
features at :
http://basket.kde.org/roadmap.php
See changes log at :
http://basket.kde.org/changelog.php
And finaly, new versions will be announced here :
http://basket.kde.org/news.php
If you want to be noticed of new versions, subscribe to the RSS feed,
available with explanations here:
http://basket.kde.org/rss.php
Install:
************
Please see the INSTALL file.
basket - a multi-purpose note-taking application for TDE.
Basket is a DropDrawers clone. (http://www.sigsoftware.com/dropdrawers)
It provides as many baskets (drawers) as you wish, several kinds of
objects (texts, URLs, images,...) can be drag-n-drop'd into it.
Objects can be edited, copied, dragged, in short, they can be arranged
according to users' will. Moreover Basket allows you to keep all objects
you want in one place, keep data at hand, take notes...
CONTRIBUTING
==============
If you wish to contribute to basket, you might do so:
- TDE Gitea Workspace (TGW) collaboration tool.
https://mirror.git.trinitydesktop.org/gitea
- TDE Weblate Translation Workspace (TWTW) collaboration tool.
https://mirror.git.trinitydesktop.org/weblate

@ -1,9 +0,0 @@
To see the TODO List, please visit
http://basket.kde.org/todo.php
To see which features will be implanted in the future versions,
please visit the roadmap on
http://basket.kde.org/roadmap.php
See it also to know the project status and other informations about
it.

File diff suppressed because it is too large Load Diff

1266
aclocal.m4 vendored

File diff suppressed because it is too large Load Diff

@ -1 +0,0 @@
Subproject commit 65b6c5ac6f39c266c114d1fdc452d92442f776c7

@ -1,15 +0,0 @@
backgroundspreviewsdir = $(kde_datadir)/basket/backgrounds/previews
backgroundspreviews_DATA = \
abstract.png \
alien-artifact.png \
basket-title.png \
green-curves.png \
light.png \
painting.png \
pens.png \
pins.png \
rainbow-balls.png \
rounds-line.png \
strings.png \
todo.png \
working.png

@ -1,15 +0,0 @@
backgroundsdir = $(kde_datadir)/basket/backgrounds
backgrounds_DATA = \
abstract.png \
alien-artifact.png alien-artifact.png.config \
basket-title.png \
green-curves.png \
light.png \
painting.png \
pens.png \
pins.png \
rainbow-balls.png \
rounds-line.png \
strings.png \
todo.png \
working.png

@ -1,53 +0,0 @@
%define name basket
%define version 1.0.3.1
%define release mantic0
Summary: Taking care of your ideas.
Name: %{name}
Version: %{version}
Release: %{release}
License: GPL
Vendor: slaout@linux62.org
Url: http://basket.kde.org/
Packager: packages@mantic.org
Group: Utils
Source: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}
%description
Taking care of your ideas.
A note-taking application that makes it easy to write down ideas as you think, and quickly find them back later. Organizing your notes has never been so easy.
%prep
%setup
if [ "`tde-config --prefix`" ]; then
CONFIGURE_PREFIX="`tde-config --prefix`"
elif [ "${TDEDIR}" ]; then
CONFIGURE_PREFIX="${TDEDIR}"
elif [ -d "/opt/kde" ]; then
CONFIGURE_PREFIX="/opt/kde"
elif [ -d "/opt/trinity" ]; then
CONFIGURE_PREFIX="/opt/trinity"
else
CONFIGURE_PREFIX="/usr"
fi
./configure --prefix="${CONFIGURE_PREFIX}" --enable-final
%build
%configure
#%make
%install
make install DESTDIR=$RPM_BUILD_ROOT
cd $RPM_BUILD_ROOT
find . -type d | sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' > /var/tmp/file.list.%{name}
find . -type f | sed 's,^\.,\%attr(-\,root\,root) ,' >> /var/tmp/file.list.%{name}
find . -type l | sed 's,^\.,\%attr(-\,root\,root) ,' >> /var/tmp/file.list.%{name}
%clean
rm -rf $RPM_BUILD_ROOT/*
rm -rf $RPM_BUILD_DIR/%{name}-%{version}
rm -rf /var/tmp/file.list.%{name}
%files -f /var/tmp/file.list.%{name}

@ -1,256 +0,0 @@
/* config.h.in. Generated from configure.in by autoheader. */
/* Define to 1 if you have the <Carbon/Carbon.h> header file. */
#undef HAVE_CARBON_CARBON_H
/* Define if you have the CoreAudio API */
#undef HAVE_COREAUDIO
/* Define to 1 if you have the <crt_externs.h> header file. */
#undef HAVE_CRT_EXTERNS_H
/* Defines if your system has the crypt function */
#undef HAVE_CRYPT
/* Define to 1 if you have the <dlfcn.h> header file. */
#undef HAVE_DLFCN_H
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
/* Define if libgpgme is available */
#undef HAVE_LIBGPGME
/* Define if you have libjpeg */
#undef HAVE_LIBJPEG
/* Define if you have libpng */
#undef HAVE_LIBPNG
/* Define if you have a working libpthread (will enable threaded code) */
#undef HAVE_LIBPTHREAD
/* Define if you have libz */
#undef HAVE_LIBZ
/* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H
/* Define if your system needs _NSGetEnviron to set up the environment */
#undef HAVE_NSGETENVIRON
/* Define if you have res_init */
#undef HAVE_RES_INIT
/* Define if you have the res_init prototype */
#undef HAVE_RES_INIT_PROTO
/* Define if you have a STL implementation by SGI */
#undef HAVE_SGI_STL
/* Define to 1 if you have the `snprintf' function. */
#undef HAVE_SNPRINTF
/* Define to 1 if you have the <stdint.h> header file. */
#undef HAVE_STDINT_H
/* Define to 1 if you have the <stdlib.h> header file. */
#undef HAVE_STDLIB_H
/* Define to 1 if you have the <strings.h> header file. */
#undef HAVE_STRINGS_H
/* Define to 1 if you have the <string.h> header file. */
#undef HAVE_STRING_H
/* Define if you have strlcat */
#undef HAVE_STRLCAT
/* Define if you have the strlcat prototype */
#undef HAVE_STRLCAT_PROTO
/* Define if you have strlcpy */
#undef HAVE_STRLCPY
/* Define if you have the strlcpy prototype */
#undef HAVE_STRLCPY_PROTO
/* Define to 1 if you have the <sys/bitypes.h> header file. */
#undef HAVE_SYS_BITYPES_H
/* Define to 1 if you have the <sys/stat.h> header file. */
#undef HAVE_SYS_STAT_H
/* Define to 1 if you have the <sys/types.h> header file. */
#undef HAVE_SYS_TYPES_H
/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
/* Define to 1 if you have the `vsnprintf' function. */
#undef HAVE_VSNPRINTF
/* Suffix for lib directories */
#undef KDELIBSUFF
/* Define a safe value for MAXPATHLEN */
#undef KDEMAXPATHLEN
/* 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
/* Define a paired constant for WITHOUT_ARTS without a negative notation. */
#undef WITH_ARTS
/* Define to 1 if your processor stores words with the most significant byte
first (like Motorola and SPARC, unlike Intel and VAX). */
#undef WORDS_BIGENDIAN
/*
* 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
/* Number of bits in a file offset, on hosts where this is settable. */
#undef _FILE_OFFSET_BITS
#if !defined(HAVE_RES_INIT_PROTO)
#ifdef __cplusplus
extern "C" {
#endif
int res_init(void);
#ifdef __cplusplus
}
#endif
#endif
#if !defined(HAVE_STRLCAT_PROTO)
#ifdef __cplusplus
extern "C" {
#endif
unsigned long strlcat(char*, const char*, unsigned long);
#ifdef __cplusplus
}
#endif
#endif
#if !defined(HAVE_STRLCPY_PROTO)
#ifdef __cplusplus
extern "C" {
#endif
unsigned long strlcpy(char*, const char*, unsigned long);
#ifdef __cplusplus
}
#endif
#endif
/* Define for large files, on AIX-style hosts. */
#undef _LARGE_FILES
/*
* On HP-UX, the declaration of vsnprintf() is needed every time !
*/
#if !defined(HAVE_VSNPRINTF) || defined(hpux)
#if __STDC__
#include <stdarg.h>
#include <stdlib.h>
#else
#include <varargs.h>
#endif
#ifdef __cplusplus
extern "C"
#endif
int vsnprintf(char *str, size_t n, char const *fmt, va_list ap);
#ifdef __cplusplus
extern "C"
#endif
int snprintf(char *str, size_t n, char const *fmt, ...);
#endif
#if defined(__SVR4) && !defined(__svr4__)
#define __svr4__ 1
#endif
/* type to use in place of socklen_t if not defined */
#undef kde_socklen_t
/* type to use in place of socklen_t if not defined (deprecated, use
kde_socklen_t) */
#undef ksize_t

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

@ -1,217 +0,0 @@
dnl =======================================================
dnl FILE: ./admin/configure.in.min
dnl =======================================================
dnl This file is part of the KDE libraries/packages
dnl Copyright (C) 2001 Stephan Kulow (coolo@kde.org)
dnl This file is free software; you can redistribute it and/or
dnl modify it under the terms of the GNU Library General Public
dnl License as published by the Free Software Foundation; either
dnl version 2 of the License, or (at your option) any later version.
dnl This library is distributed in the hope that it will be useful,
dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
dnl Library General Public License for more details.
dnl You should have received a copy of the GNU Library General Public License
dnl along with this library; see the file COPYING.LIB. If not, write to
dnl the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
dnl Boston, MA 02110-1301, USA.
# Original Author was Kalle@kde.org
# I lifted it in some mater. (Stephan Kulow)
# I used much code from Janos Farkas
dnl Process this file with autoconf to produce a configure script.
AC_INIT(acinclude.m4) dnl a source file from your sub dir
dnl This is so we can use kde-common
AC_CONFIG_AUX_DIR(admin)
dnl This ksh/zsh feature conflicts with `cd blah ; pwd`
unset CDPATH
dnl Checking host/target/build systems, for make, install etc.
AC_CANONICAL_SYSTEM
dnl Perform program name transformation
AC_ARG_PROGRAM
dnl Automake doc recommends to do this only here. (Janos)
AM_INIT_AUTOMAKE(basket, '1.0.3.1') 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.0.0)
AC_PATH_KDE
dnl =======================================================
dnl FILE: configure.in.in
dnl =======================================================
#MIN_CONFIG(3.0.0)
dnl PACKAGE set before
AC_C_BIGENDIAN
AC_CHECK_KDEMAXPATHLEN
KDE_CHECK_LARGEFILE
dnl -----------------------------------------------------------------
dnl AC_LIB_GPGME([ACTION-IF-TRUE], [ACTION-IF-FALSE])
dnl -----------------------------------------------------------------
OPTION=" --with-encryption=yes/no compile with encryption support (gpgme)"
AC_DEFUN([AC_ENCRYPTION], [
AH_TEMPLATE([HAVE_LIBGPGME], [Define if libgpgme is available])
AC_ARG_WITH(encryption, [$OPTION], [
if test "$withval" = "no"; then
ac_gpg=
$2
elif test "$withval" = "yes"; then
ac_gpg=yes
else
ac_gpg=yes
fi
],[ac_gpg=yes])
if test "$ac_gpg" != ""; then
AM_PATH_GPGME(1.0.0, ac_libgpgme=yes, ac_libgpgme=no)
AM_PATH_GPG_ERROR(1.0, ac_libgpgerror=yes, ac_libgpgerror=no)
if test "$ac_libgpgme" != "no" -a "$ac_libgpgerror" != "no"; then
AC_DEFINE([HAVE_LIBGPGME])
ac_have_gpgme="yes"
$1
else
:
$2
fi
fi
AM_CONDITIONAL(HAVE_LIBGPGME, test "$ac_have_gpgme" = "yes")
])
AC_ENCRYPTION([], [basket_warning_gpgme=yes])
KDE_CHECK_HEADER(kontact/core.h, [KONTACT_SUBDIR="yes"], [KONTACT_SUBDIR="no"])
if test "$KONTACT_SUBDIR" = "no"; then
basket_warning_kontact=yes
DO_NOT_COMPILE="$DO_NOT_COMPILE kontact_plugin"
fi
KDE_CREATE_SUBDIRSLIST
AC_CONFIG_FILES([ Makefile ])
AC_CONFIG_FILES([ backgrounds/Makefile ])
AC_CONFIG_FILES([ backgrounds-previews/Makefile ])
AC_CONFIG_FILES([ doc/Makefile ])
AC_CONFIG_FILES([ doc/en/Makefile ])
AC_CONFIG_FILES([ file-integration/Makefile ])
AC_CONFIG_FILES([ images/Makefile ])
AC_CONFIG_FILES([ kontact_plugin/Makefile ])
AC_CONFIG_FILES([ po/Makefile ])
AC_CONFIG_FILES([ src/Makefile ])
AC_CONFIG_FILES([ tags/Makefile ])
AC_CONFIG_FILES([ welcome/Makefile ])
AC_OUTPUT
# configure.in.bot
# This file is used for printing important messages at the end of configure
echo ""
if test x$basket_warning_gpgme = xyes; then
echo " ===================================="
echo " === BasKet Note Pads - WARNING ==================================="
echo " ===================================="
echo " ="
echo " = BasKet Note Pads requires gpgme version 1.0 and"
echo " = libgpg-error version 1.0."
echo " = BasKet Note Pads will still be built, but there is no encryption."
echo " ="
echo " = Packages you need to install if you want encryption:"
echo " = Suse: gpgme-devel"
echo " = Kubuntu: libgpgme11-dev"
echo " = Fedora Core: gpgme-devel"
echo " = Mandriva: libgpgme11-devel"
echo " = Gentoo: app-crypt/gpgme"
echo " ="
fi
if test x$basket_warning_kontact = xyes; then
echo " ===================================="
echo " === BasKet Note Pads - WARNING ==================================="
echo " ===================================="
echo " ="
echo " = BasKet Note Pads requires tdepim."
echo " = BasKet Note Pads will still be built, but there is no"
echo " = Kontact integration."
echo " ="
echo " = Packages you need to install if you want Kontact integration:"
echo " = Suse: tdepim3-devel"
echo " = Kubuntu: tdepim-dev"
echo " = Fedora Core: tdepim-devel"
echo " = Mandriva: libtdepim2-common-devel & libtdepim2-kontact-devel"
echo " = Gentoo: kde-base/kontact"
echo " ="
fi
# Check if KDE_SET_PREFIX was called, and --prefix was passed to configure
if test -n "$kde_libs_prefix" -a -n "$given_prefix"; then
# And if so, warn when they don't match
if test "$kde_libs_prefix" != "$given_prefix"; then
# And if kde doesn't know about the prefix yet
echo ":"`tde-config --path exe`":" | grep ":$given_prefix/bin/:" 2>&1 >/dev/null
if test $? -ne 0; then
echo ""
echo "Warning: you chose to install this package in $given_prefix,"
echo "but KDE was found in $kde_libs_prefix."
echo "For this to work, you will need to tell KDE about the new prefix, by ensuring"
echo "that TDEDIRS contains it, e.g. export TDEDIRS=$given_prefix:$kde_libs_prefix"
echo "Then restart KDE."
echo ""
fi
fi
fi
if test x$GXX = "xyes" -a x$kde_have_gcc_visibility = "xyes" -a x$kde_cv_val_qt_gcc_visibility_patched = "xno"; then
echo ""
echo "Your GCC supports symbol visibility, but the patch for Qt supporting visibility"
echo "was not included. Therefore, GCC symbol visibility support remains disabled."
echo ""
echo "For better performance, consider including the Qt visibility supporting patch"
echo "located at:"
echo ""
echo "http://bugs.kde.org/show_bug.cgi?id=109386"
echo ""
echo "and recompile all of Qt and KDE. Note, this is entirely optional and"
echo "everything will continue to work just fine without it."
echo ""
fi
if test "$all_tests" = "bad"; then
if test ! "$cache_file" = "/dev/null"; then
echo ""
echo "Please remove the file $cache_file after changing your setup"
echo "so that configure will find the changes next time."
echo ""
fi
else
echo ""
echo "Good - your configure finished. Start make now"
echo ""
fi

@ -1,40 +0,0 @@
# configure.in.bot
# This file is used for printing important messages at the end of configure
echo ""
if test x$basket_warning_gpgme = xyes; then
echo " ===================================="
echo " === BasKet Note Pads - WARNING ==================================="
echo " ===================================="
echo " ="
echo " = BasKet Note Pads requires gpgme version 1.0 and"
echo " = libgpg-error version 1.0."
echo " = BasKet Note Pads will still be built, but there is no encryption."
echo " ="
echo " = Packages you need to install if you want encryption:"
echo " = Suse: gpgme-devel"
echo " = Kubuntu: libgpgme11-dev"
echo " = Fedora Core: gpgme-devel"
echo " = Mandriva: libgpgme11-devel"
echo " = Gentoo: app-crypt/gpgme"
echo " ="
fi
if test x$basket_warning_kontact = xyes; then
echo " ===================================="
echo " === BasKet Note Pads - WARNING ==================================="
echo " ===================================="
echo " ="
echo " = BasKet Note Pads requires tdepim."
echo " = BasKet Note Pads will still be built, but there is no"
echo " = Kontact integration."
echo " ="
echo " = Packages you need to install if you want Kontact integration:"
echo " = Suse: tdepim3-devel"
echo " = Kubuntu: tdepim-dev"
echo " = Fedora Core: tdepim-devel"
echo " = Mandriva: libtdepim2-common-devel & libtdepim2-kontact-devel"
echo " = Gentoo: kde-base/kontact"
echo " ="
fi

@ -1,58 +0,0 @@
#MIN_CONFIG(3.0.0)
KDE_ENABLE_HIDDEN_VISIBILITY
AM_INIT_AUTOMAKE(basket, '1.0.3.1')
AC_C_BIGENDIAN
AC_CHECK_KDEMAXPATHLEN
KDE_CHECK_LARGEFILE
dnl -----------------------------------------------------------------
dnl AC_LIB_GPGME([ACTION-IF-TRUE], [ACTION-IF-FALSE])
dnl -----------------------------------------------------------------
OPTION=" --with-encryption=yes/no compile with encryption support (gpgme)"
AC_DEFUN([AC_ENCRYPTION], [
AH_TEMPLATE([HAVE_LIBGPGME], [Define if libgpgme is available])
AC_ARG_WITH(encryption, [$OPTION], [
if test "$withval" = "no"; then
ac_gpg=
$2
elif test "$withval" = "yes"; then
ac_gpg=yes
else
ac_gpg=yes
fi
],[ac_gpg=yes])
if test "$ac_gpg" != ""; then
AM_PATH_GPGME(1.0.0, ac_libgpgme=yes, ac_libgpgme=no)
AM_PATH_GPG_ERROR(1.0, ac_libgpgerror=yes, ac_libgpgerror=no)
if test "$ac_libgpgme" != "no" -a "$ac_libgpgerror" != "no"; then
AC_DEFINE([HAVE_LIBGPGME])
ac_have_gpgme="yes"
$1
else
:
$2
fi
fi
AM_CONDITIONAL(HAVE_LIBGPGME, test "$ac_have_gpgme" = "yes")
])
AC_ENCRYPTION([], [basket_warning_gpgme=yes])
KDE_CHECK_HEADER(kontact/core.h, [KONTACT_SUBDIR="yes"], [KONTACT_SUBDIR="no"])
if test "$KONTACT_SUBDIR" = "no"; then
basket_warning_kontact=yes
DO_NOT_COMPILE="$DO_NOT_COMPILE kontact_plugin"
fi
if test "$build_arts" != "no"; then
AC_DEFINE(WITH_ARTS, 1, [Define a paired constant for WITHOUT_ARTS without a negative notation.])
fi

@ -1,14 +1,34 @@
file( GLOB _dirs RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} * )
list( REMOVE_ITEM _dirs html man )
string( REGEX REPLACE "[ \r\n\t]+" ";" _linguas "$ENV{LINGUAS}" )
foreach( _dir ${_dirs} )
if( IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/${_dir} AND
EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${_dir}/CMakeLists.txt )
if( "${_dir}" STREQUAL "en" OR
"${_dir}" STREQUAL "man" OR
"${_linguas}" MATCHES "^;*$" OR
";${_linguas};" MATCHES ";${_dir};" )
add_subdirectory( ${_dir} )
endif( )
foreach( _dir IN LISTS _dirs )
if( IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/${_dir}
AND ( "${_dir}" STREQUAL "en" OR
"${_linguas}" MATCHES "^;*$" OR
";${_linguas};" MATCHES ";${_dir};" ))
file( GLOB _doc_files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}/${_dir} ${_dir}/*.docbook )
if( _doc_files )
list( FIND _doc_files "index.docbook" _find_index )
if( -1 EQUAL _find_index )
set( _noindex "NOINDEX" )
else()
unset( _noindex )
endif()
tde_create_handbook(
SOURCE_BASEDIR ${_dir}
${_noindex}
LANG ${_dir}
DESTINATION ${PROJECT_NAME}
)
endif()
endif()
endforeach()
if( EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/html/CMakeLists.txt )
add_subdirectory( html )
endif()
if( EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/man/CMakeLists.txt )
add_subdirectory( man )
endif()

@ -1,6 +0,0 @@
# the SUBDIRS is filled automatically by am_edit. If files are
# in this directory they are installed into the english dir
KDE_LANG = en
KDE_DOCS = basket
SUBDIRS = $(AUTODIRS)

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

@ -51,12 +51,12 @@ install(
DESTINATION ${CONFIG_INSTALL_DIR}/magic
)
install(
FILES x-basket-archive.desktop x-basket-template.desktop
tde_create_translated_desktop(
SOURCE x-basket-archive.desktop x-basket-template.desktop
DESTINATION ${MIME_INSTALL_DIR}/application
)
install(
FILES basketthumbcreator.desktop
tde_create_translated_desktop(
SOURCE basketthumbcreator.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
)

@ -1,28 +0,0 @@
# MIME Types Information:
applicationmimedir = $(kde_mimedir)/application
applicationmime_DATA = x-basket-archive.desktop x-basket-template.desktop
# Magic MIME Types Discovery:
magicdir = $(kde_confdir)/magic
magic_DATA = basket.magic basket.magic.mgc
# Thumbnail Creator:
INCLUDES = $(all_includes)
kde_module_LTLIBRARIES = basketthumbcreator.la
basketthumbcreator_la_SOURCES = basketthumbcreator.cpp
basketthumbcreator_la_LIBADD = $(LIB_TDEIO)
basketthumbcreator_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -ltdecore -ltdeui $(LIB_TQT) -lkjs -ltdefx
kde_services_DATA = basketthumbcreator.desktop
# Icons:
KDE_ICON = AUTO
#kde_icon_KDEICON = \
# cr128-mimetype-baskets.png cr16-mimetype-baskets.png cr22-mimetype-baskets.png \
# cr32-mimetype-baskets.png cr48-mimetype-baskets.png cr64-mimetype-baskets.png \
# cr128-mimetype-baskett.png cr16-mimetype-baskett.png cr22-mimetype-baskett.png \
# cr32-mimetype-baskett.png cr48-mimetype-baskett.png cr64-mimetype-baskett.png
SUFFIXES = .magic .magic.mgc
.magic.magic.mgc:
(cd `dirname $@` && file -C -m $<)

@ -1,4 +0,0 @@
imagesdir = $(kde_datadir)/basket/images
images_DATA = insertion_help.png \
tag_export_help.png \
tag_export_on_every_lines_help.png

@ -1,233 +0,0 @@
#!/bin/bash
function error
{
echo ""
echo " ======================================================================== "
echo " (( An Error has Been Encountered ))"
echo " ======================================================================== "
echo ""
echo ""
echo " In the most cases, some libraries are missing or cannot be found."
echo " Think to install the *-dev or *-devel packages of your distribution."
echo " For example, if libmng cannot be found,"
echo " please check if libmng AND libmng-devel packages are installed on your system."
echo " See the reported errors to know which librarie need to be installed."
echo ""
echo $'\a' # Beep to avert user of the error
exit 1
}
##echo " (( An error has been encountered ))"
##echo " ((654321 987654321 987654321 98765432 23456789 123456789 123456789 123456))"
##echo" ((654321 987654321 987654321 98765432 23456789 123456789 123456789 123456))"
clear
echo ""
echo " ======================================================================== "
echo " (( BasKet Note Pads Quick Installer ))"
echo " ======================================================================== "
echo ""
echo ""
echo " Welcome to the BasKet Note Pads installer assistant."
echo " It will configure, build and install BasKet Note Pads."
echo ""
echo ""
echo " What do you want to do?"
echo ""
echo " 1/ Install BasKet Note Pads system wide (you will need the root password)"
echo " 2/ Install BasKet Note Pads in your user folder"
#echo " 3/ Uninstall BasKet Note Pads (you should not: it is so fantastic ;-) )"
echo ""
echo -n "Your choice (default is 1): "
read -n 1 WHAT_TO_DO
echo ""
if [ "_$WHAT_TO_DO" == "_2" ]; then
SYS_WIDE=0
WHAT_TO_DO=2 # To transform it from string to int
else
# if [ $WHAT_TO_DO == 3 ]; then
# SYS_WIDE=1
# else # [ WHAT_TO_DO == 1 ] or default
SYS_WIDE=1
WHAT_TO_DO=1 # If user entered another number than those he should
# fi
fi
if [ $SYS_WIDE == 0 ]; then
prefix=`tde-config --localprefix --expandvars`
else
prefix=`tde-config --prefix --expandvars`
fi
# Uninstall of BasKet:
if [ $WHAT_TO_DO == 3 ]; then
# Search installed basket:
prefix=`tde-config --localprefix --expandvars` # First loacally
if [ -f $prefix/bin/basket ]; then
SYS_WIDE=0
else
prefix=`tde-config --prefix --expandvars` # And then system wide
if [ -f $prefix/bin/basket ]; then
SYS_WIDE=1
else
echo "BasKet Note Pads does not seem to be installed."
exit 1
fi
fi
# TODO: Also definitively remove your baskets?
# At this stage, SYS_WIDE and prefix are set and uninstall can begin:
if [ $SYS_WIDE == 1 ]; then
su
make uninstall || ./configure --prefix=$prefix && make uninstall
logout
else
make uninstall || ./configure --prefix=$prefix && make uninstall
fi
exit 0
fi
appVersion=$(cat basket.spec | grep "%define version " | cut -d " " -f 3)
isDevel=$(echo "$appVersion" | grep -i -E "(alpha|beta|pre|rc|svn)")
clear
echo ""
echo " ======================================================================== "
echo " (( BasKet Note Pads Quick Installer ))"
echo " ======================================================================== "
echo ""
echo ""
echo ""
echo ""
echo " If you do not know what they are, you can ignore errors or warnings."
echo ""
echo " The process can take several minutes."
echo " A beep will notify you when it will be done."
echo " Press ENTER to start."
echo ""
echo ""
read -s -n 1 # read 1 character without echo, ended by ENTER
if [ ! -e configure ]; then
clear
echo ""
echo " ======================================================================== "
echo " (( Preparation from SVN ))"
echo " ======================================================================== "
echo ""
echo ""
echo "make -f Makefile.cvs"
make -f Makefile.cvs || error
fi
clear
echo ""
echo " ======================================================================== "
echo " (( Step 1 / 3 : Configuration ))"
echo " ======================================================================== "
echo ""
echo ""
if [ "_$isDevel" == "_" ]; then
echo "./configure --prefix=$prefix"
./configure --prefix=$prefix || error
else
echo "./configure --enable-debug=full --prefix=$prefix"
./configure --enable-debug=full --prefix=$prefix || error
fi
clear
echo ""
echo " ======================================================================== "
echo " (( Step 2 / 3 : Compilation ))"
echo " ======================================================================== "
echo ""
echo ""
echo "make"
make || error
clear
echo ""
echo " ======================================================================== "
echo " (( Step 3 / 3 : Installation ))"
echo " ======================================================================== "
echo ""
echo ""
echo " The application has successfuly been compiled."
echo ""
echo ""
echo $'\a' # Beep to avert user the configuration/compilation is ended and he must act to enter the password
if [ "_$SYS_WIDE" == "_n" ]; then
# First make the bin folder to not copy basket file to bin file if bin/ doesn't exist
mkdir $prefix/bin
make install
else
echo " Please now enter the root password in order to install "
echo " BasKet Note Pads on the system."
echo ""
sudo make install || exit 1
echo ""
echo ""
fi
clear
echo ""
echo " ======================================================================== "
echo " (( End of BasKet Note Pads Installation ))"
echo " ======================================================================== "
echo ""
echo ""
echo " Do you want to run BasKet Note Pads now?"
echo " If an older version is currently running it will be exited before."
echo ""
echo " Notice that you willn't have to exit BasKet : it will be restored each time"
echo " you log in to KDE."
echo ""
echo ""
echo -n "Start or restart BasKet Note Pads? [y/n] (default is y): "
read -n 1 RESTART
if [ "_$RESTART" != "_" ]; then # If pressed Enter, a new line was already print
echo ""
fi
if [ "_$RESTART" != "_n" ]; then
# Get the pid of the process basket, if currently running
pid=`ps aux | awk '$11 == "basket" { print $2 }'`
if [ "_$pid" == "_" ]; then
dummy=0
else
kill -s SIGTERM $pid
fi
if [ "_$SYS_WIDE" == "_n" ]; then
echo "$prefix/bin/basket"
$prefix/bin/basket
else
echo "basket"
basket
fi
fi
clear
echo ""
echo " ======================================================================== "
echo " (( Congratulation: BasKet Note Pads is now Installed onto your System ))"
echo " ======================================================================== "
echo ""
echo ""
echo " In the future, if you want to uninstall BasKet Note Pads, you will have to"
if [ "_$SYS_WIDE" == "_n" ]; then
echo " enter the command make uninstall in this folder."
else
echo " enter the command su -c 'make uninstall' in this folder."
fi
echo ""
echo ""

@ -1,18 +0,0 @@
INCLUDES = -I$(top_srcdir)/src -I$(top_builddir)/src -I$(top_srcdir) $(all_includes) -I$(kde_includes)/tde
kde_module_LTLIBRARIES = libkontact_basket.la
libkontact_basket_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
libkontact_basket_la_LIBADD = -lkpinterfaces $(LIB_TQT) -lDCOP -ltdecore -ltdeui
noinst_HEADERS = basket_plugin.h uniqueapphandler.h
libkontact_basket_la_SOURCES = basket_plugin.cpp uniqueapphandler.cpp basketdcopiface.stub
METASOURCES = AUTO
basketdcopiface_DIR = $(top_srcdir)/src
servicedir = $(kde_servicesdir)/kontact
service_DATA = basket.desktop basket_v4.desktop
basketsetdlgdir = $(kde_datadir)/kontact/ksettingsdialog
basketsetdlg_DATA = kontact_basketplugin.setdlg

@ -1,223 +0,0 @@
#!/bin/bash
TARGET=`pwd`
if [ -e $TARGET'/debug' ]; then
BUILD=$TARGET'/debug'
else
BUILD=$TARGET
fi
LINKS=`echo ~`'/kde-debug'
HOME=`echo ~`
dest_files=(
"$LINKS/share/apps/basket/backgrounds/abstract.png"
"$LINKS/share/apps/basket/backgrounds/alien-artifact.png"
"$LINKS/share/apps/basket/backgrounds/alien-artifact.png.config"
"$LINKS/share/apps/basket/backgrounds/basket-title.png"
"$LINKS/share/apps/basket/backgrounds/green-curves.png"
"$LINKS/share/apps/basket/backgrounds/light.png"
"$LINKS/share/apps/basket/backgrounds/painting.png"
"$LINKS/share/apps/basket/backgrounds/pens.png"
"$LINKS/share/apps/basket/backgrounds/pins.png"
"$LINKS/share/apps/basket/backgrounds/rainbow-balls.png"
"$LINKS/share/apps/basket/backgrounds/rounds-line.png"
"$LINKS/share/apps/basket/backgrounds/todo.png"
"$LINKS/share/apps/basket/backgrounds/working.png"
"$LINKS/share/apps/basket/backgrounds/previews/abstract.png"
"$LINKS/share/apps/basket/backgrounds/previews/alien-artifact.png"
"$LINKS/share/apps/basket/backgrounds/previews/basket-title.png"
"$LINKS/share/apps/basket/backgrounds/previews/green-curves.png"
"$LINKS/share/apps/basket/backgrounds/previews/light.png"
"$LINKS/share/apps/basket/backgrounds/previews/painting.png"
"$LINKS/share/apps/basket/backgrounds/previews/pens.png"
"$LINKS/share/apps/basket/backgrounds/previews/pins.png"
"$LINKS/share/apps/basket/backgrounds/previews/rainbow-balls.png"
"$LINKS/share/apps/basket/backgrounds/previews/rounds-line.png"
"$LINKS/share/apps/basket/backgrounds/previews/todo.png"
"$LINKS/share/apps/basket/backgrounds/previews/working.png"
"$LINKS/share/apps/basket/images/insertion_help.png"
"$LINKS/share/apps/basket/images/tag_export_help.png"
"$LINKS/share/apps/basket/basket_part.rc"
"$LINKS/share/apps/basket/basketui.rc"
"$LINKS/share/apps/basket/icons/crystalsvg/16x16/actions/tag_priority_high.png"
"$LINKS/share/apps/basket/icons/crystalsvg/16x16/actions/tag_important.png"
"$LINKS/share/apps/basket/icons/crystalsvg/16x16/actions/tag_for_later.png"
"$LINKS/share/apps/basket/icons/crystalsvg/16x16/actions/tag_preference_excelent.png"
"$LINKS/share/apps/basket/icons/crystalsvg/16x16/actions/tag_priority_medium.png"
"$LINKS/share/apps/basket/icons/crystalsvg/16x16/actions/tag_progress_000.png"
"$LINKS/share/apps/basket/icons/crystalsvg/16x16/actions/tag_progress_100.png"
"$LINKS/share/apps/basket/icons/crystalsvg/16x16/actions/tag_preference_bad.png"
"$LINKS/share/apps/basket/icons/crystalsvg/16x16/actions/tag_preference_good.png"
"$LINKS/share/apps/basket/icons/crystalsvg/16x16/actions/tag_checkbox.png"
"$LINKS/share/apps/basket/icons/crystalsvg/16x16/actions/tag_progress_050.png"
"$LINKS/share/apps/basket/icons/crystalsvg/16x16/actions/tag_fun.png"
"$LINKS/share/apps/basket/icons/crystalsvg/16x16/actions/tag_progress_025.png"
"$LINKS/share/apps/basket/icons/crystalsvg/16x16/actions/tag_checkbox_checked.png"
"$LINKS/share/apps/basket/icons/crystalsvg/16x16/actions/tag_progress_075.png"
"$LINKS/share/apps/basket/icons/crystalsvg/16x16/actions/tag_priority_low.png"
"$LINKS/share/apps/kontact/ksettingsdialog/kontact_basketplugin.setdlg"
"$LINKS/share/services/kontact/basket.desktop"
"$LINKS/share/services/basket_config_general.desktop"
"$LINKS/share/services/basket_config_baskets.desktop"
"$LINKS/share/services/basket_config_new_notes.desktop"
"$LINKS/share/services/basket_config_notes_appearance.desktop"
"$LINKS/share/services/basket_config_apps.desktop"
"$LINKS/share/services/basket_part.desktop"
"$LINKS/share/applnk/Utilities/basket.desktop"
"$LINKS/lib/trinity/libkontact_basket.so"
"$LINKS/lib/trinity/libkontact_basket.la"
"$LINKS/lib/trinity/kcm_basket.so"
"$LINKS/lib/trinity/kcm_basket.la"
"$LINKS/lib/trinity/libbasketpart.so"
"$LINKS/lib/trinity/libbasketpart.la"
"$LINKS/lib/libbasketcommon.so"
"$LINKS/lib/libbasketcommon.la"
"$LINKS/bin/basket"
"$LINKS/share/icons/crystalsvg/16x16/actions/likeback_dislike.png"
"$LINKS/share/icons/crystalsvg/16x16/actions/likeback_like.png"
"$LINKS/share/icons/crystalsvg/16x16/actions/likeback_configure.png"
"$LINKS/share/icons/crystalsvg/16x16/actions/tag_priority_high.png"
"$LINKS/share/icons/crystalsvg/16x16/actions/tag_important.png"
"$LINKS/share/icons/crystalsvg/16x16/actions/tag_for_later.png"
"$LINKS/share/icons/crystalsvg/16x16/actions/tag_preference_excelent.png"
"$LINKS/share/icons/crystalsvg/16x16/actions/tag_priority_medium.png"
"$LINKS/share/icons/crystalsvg/16x16/actions/tag_progress_000.png"
"$LINKS/share/icons/crystalsvg/16x16/actions/tag_progress_100.png"
"$LINKS/share/icons/crystalsvg/16x16/actions/tag_preference_bad.png"
"$LINKS/share/icons/crystalsvg/16x16/actions/tag_preference_good.png"
"$LINKS/share/icons/crystalsvg/16x16/actions/tag_checkbox.png"
"$LINKS/share/icons/crystalsvg/16x16/actions/tag_progress_050.png"
"$LINKS/share/icons/crystalsvg/16x16/actions/tag_fun.png"
"$LINKS/share/icons/crystalsvg/16x16/actions/tag_progress_025.png"
"$LINKS/share/icons/crystalsvg/16x16/actions/tag_checkbox_checked.png"
"$LINKS/share/icons/crystalsvg/16x16/actions/tag_progress_075.png"
"$LINKS/share/icons/crystalsvg/16x16/actions/tag_priority_low.png"
"$LINKS/share/icons/crystalsvg/16x16/apps/basket.png"
"$LINKS/share/icons/crystalsvg/128x128/apps/basket.png"
"$LINKS/share/icons/crystalsvg/64x64/apps/basket.png"
"$LINKS/share/icons/crystalsvg/48x48/apps/basket.png"
"$LINKS/share/icons/crystalsvg/22x22/apps/basket.png"
"$LINKS/share/icons/crystalsvg/32x32/apps/basket.png"
"$LINKS/share/icons/crystalsvg/scalable/apps/basket.svg"
)
source_files=(
"$TARGET/backgrounds/abstract.png"
"$TARGET/backgrounds/alien-artifact.png"
"$TARGET/backgrounds/alien-artifact.png.config"
"$TARGET/backgrounds/basket-title.png"
"$TARGET/backgrounds/green-curves.png"
"$TARGET/backgrounds/light.png"
"$TARGET/backgrounds/painting.png"
"$TARGET/backgrounds/pens.png"
"$TARGET/backgrounds/pins.png"
"$TARGET/backgrounds/rainbow-balls.png"
"$TARGET/backgrounds/rounds-line.png"
"$TARGET/backgrounds/todo.png"
"$TARGET/backgrounds/working.png"
"$TARGET/backgrounds-previews/abstract.png"
"$TARGET/backgrounds-previews/alien-artifact.png"
"$TARGET/backgrounds-previews/basket-title.png"
"$TARGET/backgrounds-previews/green-curves.png"
"$TARGET/backgrounds-previews/light.png"
"$TARGET/backgrounds-previews/painting.png"
"$TARGET/backgrounds-previews/pens.png"
"$TARGET/backgrounds-previews/pins.png"
"$TARGET/backgrounds-previews/rainbow-balls.png"
"$TARGET/backgrounds-previews/rounds-line.png"
"$TARGET/backgrounds-previews/todo.png"
"$TARGET/backgrounds-previews/working.png"
"$TARGET/images/insertion_help.png"
"$TARGET/images/tag_export_help.png"
"$TARGET/src/basket_part.rc"
"$TARGET/src/basketui.rc"
"$TARGET/tags/cr16-action-tag_priority_high.png"
"$TARGET/tags/cr16-action-tag_important.png"
"$TARGET/tags/cr16-action-tag_for_later.png"
"$TARGET/tags/cr16-action-tag_preference_excelent.png"
"$TARGET/tags/cr16-action-tag_priority_medium.png"
"$TARGET/tags/cr16-action-tag_progress_000.png"
"$TARGET/tags/cr16-action-tag_progress_100.png"
"$TARGET/tags/cr16-action-tag_preference_bad.png"
"$TARGET/tags/cr16-action-tag_preference_good.png"
"$TARGET/tags/cr16-action-tag_checkbox.png"
"$TARGET/tags/cr16-action-tag_progress_050.png"
"$TARGET/tags/cr16-action-tag_fun.png"
"$TARGET/tags/cr16-action-tag_progress_025.png"
"$TARGET/tags/cr16-action-tag_checkbox_checked.png"
"$TARGET/tags/cr16-action-tag_progress_075.png"
"$TARGET/tags/cr16-action-tag_priority_low.png"
"$TARGET/kontact_plugin/kontact_basketplugin.setdlg"
"$TARGET/kontact_plugin/basket.desktop"
"$TARGET/src/basket_config_general.desktop"
"$TARGET/src/basket_config_baskets.desktop"
"$TARGET/src/basket_config_new_notes.desktop"
"$TARGET/src/basket_config_notes_appearance.desktop"
"$TARGET/src/basket_config_apps.desktop"
"$TARGET/src/basket_part.desktop"
"$TARGET/src/basket.desktop"
"$BUILD/kontact_plugin/.libs/libkontact_basket.so"
"$BUILD/kontact_plugin/.libs/libkontact_basket.la"
"$BUILD/src/.libs/kcm_basket.so"
"$BUILD/src/.libs/kcm_basket.la"
"$BUILD/src/.libs/libbasketpart.so"
"$BUILD/src/.libs/libbasketpart.la"
"$BUILD/src/.libs/libbasketcommon.so"
"$BUILD/src/.libs/libbasketcommon.la"
"$BUILD/src/.libs/basket"
"$TARGET/src/cr16-action-likeback_dislike.png"
"$TARGET/src/cr16-action-likeback_like.png"
"$TARGET/src/cr16-action-likeback_configure.png"
"$TARGET/tags/cr16-action-tag_priority_high.png"
"$TARGET/tags/cr16-action-tag_important.png"
"$TARGET/tags/cr16-action-tag_for_later.png"
"$TARGET/tags/cr16-action-tag_preference_excelent.png"
"$TARGET/tags/cr16-action-tag_priority_medium.png"
"$TARGET/tags/cr16-action-tag_progress_000.png"
"$TARGET/tags/cr16-action-tag_progress_100.png"
"$TARGET/tags/cr16-action-tag_preference_bad.png"
"$TARGET/tags/cr16-action-tag_preference_good.png"
"$TARGET/tags/cr16-action-tag_checkbox.png"
"$TARGET/tags/cr16-action-tag_progress_050.png"
"$TARGET/tags/cr16-action-tag_fun.png"
"$TARGET/tags/cr16-action-tag_progress_025.png"
"$TARGET/tags/cr16-action-tag_checkbox_checked.png"
"$TARGET/tags/cr16-action-tag_progress_075.png"
"$TARGET/tags/cr16-action-tag_priority_low.png"
"$TARGET/src/cr16-app-basket.png"
"$TARGET/src/cr128-app-basket.png"
"$TARGET/src/cr64-app-basket.png"
"$TARGET/src/cr48-app-basket.png"
"$TARGET/src/cr22-app-/basket.png"
"$TARGET/src/cr32-app-/basket.png"
"$TARGET/src/crsc-app-basket.svg"
)
function makedir()
{
if [ ! -d $1 ]; then
echo "Making dir: $1"
mkdir -p $1
fi
}
function softlink()
{
if [ -L $2 ]; then
rm $2
fi
makedir `dirname $2`
echo "Linking: $2->$1"
ln -s $1 $2
}
index=0
element_count=${#source_files[@]}
while [ "$index" -lt "$element_count" ]; do
softlink "${source_files[$index]}" "${dest_files[$index]}"
let "index = $index + 1"
done
softlink "$LINKS/lib" "$LINKS/lib64"

@ -1,2 +0,0 @@
POFILES = AUTO
noinst_HEADERS = basket.pot fr.po nl.po de.po nn.po zh_TW.po zh_CN.po pl_PL.po es.po pt.po

@ -122,19 +122,11 @@ install(
DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}
)
install(
FILES
basket_part.desktop
basket_config_general.desktop
basket_config_baskets.desktop
basket_config_new_notes.desktop
basket_config_notes_appearance.desktop
basket_config_apps.desktop
tde_create_translated_desktop(
SOURCE basket_part.desktop basket_config_general.desktop
basket_config_baskets.desktop basket_config_new_notes.desktop
basket_config_notes_appearance.desktop basket_config_apps.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
)
install(
FILES ${PROJECT_NAME}.desktop
DESTINATION ${XDG_APPS_INSTALL_DIR}
)
tde_create_translated_desktop( ${PROJECT_NAME}.desktop )

@ -1,106 +0,0 @@
# set the include path for X, qt and KDE
INCLUDES = $(all_includes)
# let automoc handle all of the meta source files (moc)
METASOURCES = AUTO
messages: rc.cpp
$(XGETTEXT) *.cpp -o $(podir)/basket.pot
KDE_ICON = AUTO
# these are the headers for your project
noinst_HEADERS = basket.h basketproperties.h mainwindow.h basket_part.h \
debugwindow.h linklabel.h variouswidgets.h xmlwork.h keyboard.h global.h settings.h \
focusedwidgets.h popupmenu.h basketfactory.h exporterdialog.h tag.h kcolorcombo2.h \
newbasketdialog.h tagsedit.h note.h notecontent.h notedrag.h noteedit.h notefactory.h \
filter.h tools.h backgroundmanager.h regiongrabber.h softwareimporters.h \
kicondialog.h kiconcanvas.h kgpgme.h crashhandler.h password.h bnpview.h \
systemtray.h clickablelabel.h colorpicker.h basketlistview.h qeffects.h likeback.h \
formatimporter.h aboutdata.h basketstatusbar.h basketdcopiface.h basket_options.h \
likeback_private.h application.h archive.h htmlexporter.h backup.h
#########################################################################
# COMMON FILES SECTION
#########################################################################
lib_LTLIBRARIES = libbasketcommon.la
AM_CPPFLAGS = $(GPGME_CFLAGS)
libbasketcommon_la_LDFLAGS = -avoid-version -no-undefined $(all_libraries) -ltdecore -lDCOP -ltdeui $(LIB_TQT) -lkjs -ltdefx $(LIBDL) -lartsc -lartskde -lartskde
libbasketcommon_la_LIBADD = $(LIB_ARTSKDE) -ltdeio $(LIB_TDEUI) $(LIB_TDECORE) \
$(LIB_TQT) $(LIBSOCKET) $(GPGME_LIBS) $(LIB_TDEPARTS) -lDCOP -ltdefx -ltdeui -ltdecore $(LIB_TQT) -ltdefx $(LIBDL) -lartsc
libbasketcommon_la_SOURCES = \
archive.cpp bnpview.cpp settings.cpp basket.cpp basketproperties.cpp \
linklabel.cpp variouswidgets.cpp xmlwork.cpp keyboard.cpp \
global.cpp exporterdialog.cpp htmlexporter.cpp notefactory.cpp softwareimporters.cpp \
focusedwidgets.cpp popupmenu.cpp basketfactory.cpp \
tag.cpp qeffects.cpp kcolorcombo2.cpp newbasketdialog.cpp tagsedit.cpp \
formatimporter.cpp note.cpp notecontent.cpp notedrag.cpp noteedit.cpp \
filter.cpp tools.cpp backgroundmanager.cpp regiongrabber.cpp \
kicondialogui.ui kicondialog.cpp kiconcanvas.cpp kgpgme.cpp likeback.cpp \
crashhandler.cpp passwordlayout.ui password.cpp colorpicker.cpp \
basketlistview.cpp debugwindow.cpp systemtray.cpp aboutdata.cpp \
basketstatusbar.cpp clickablelabel.cpp basketdcopiface.skel backup.cpp
#########################################################################
# APPLICATION SECTION
#########################################################################
# this is the program that gets installed. it's name is used for all
# of the other Makefile.am variables
bin_PROGRAMS = basket
# the application source, library search path, and link libraries
basket_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_TDEUTILS) -ltdecore -lDCOP -ltdeui $(LIB_TQT) -lkjs -ltdefx $(LIBDL) -lartsc -lartskde -lartskde
basket_LDADD = libbasketcommon.la
# this is where the desktop file will go
shelldesktopdir = $(xdg_appsdir)
shelldesktop_DATA = basket.desktop
# this is where the shell's XML-GUI resource file goes
rcdir = $(kde_datadir)/basket
rc_DATA = basketui.rc
basket_SOURCES = main.cpp mainwindow.cpp application.cpp
basket_COMPILE_FIRST = passwordlayout.h
kde_icon_KDEICON = cr128-app-basket.png cr16-app-basket.png cr22-app-basket.png \
cr32-app-basket.png cr48-app-basket.png cr64-app-basket.png hi16-app-basket_old.png \
hi32-app-basket_old.png crsc-app-basket.svg \
cr16-action-likeback_like.png cr16-action-likeback_dislike.png \
cr16-action-likeback_bug.png cr16-action-likeback_feature.png
##################
# KPART SECTION
##################
kde_module_LTLIBRARIES = kcm_basket.la libbasketpart.la
libbasketpart_la_SOURCES = basket_part.cpp
libbasketpart_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) -module -avoid-version -no-undefined -ltdecore -ltdeui $(LIB_TQT) -lDCOP -lkjs -ltdefx $(LIBDL) -lartsc -lartskde -lartskde
libbasketpart_la_LIBADD = libbasketcommon.la -ltdeparts -ltdeui $(LIB_TDECORE) $(LIB_TQT) -lDCOP
kcm_basket_la_SOURCES = kcm_basket.cpp
kcm_basket_la_LDFLAGS = $(all_libraries) -module -avoid-version -no-undefined -ltdecore -ltdeui $(LIB_TQT) -lDCOP -lkjs -ltdefx $(LIBDL) -lartsc -lartskde
kcm_basket_la_LIBADD = libbasketcommon.la $(LIB_TDECORE) $(LIB_TQT) -ltdeui -lDCOP
# this is where the desktop file will go
partdesktopdir = $(kde_servicesdir)
partdesktop_DATA = basket_part.desktop
# this is where the part's XML-GUI resource file goes
partdir = $(kde_datadir)/basket
part_DATA = basket_part.rc
kde_services_DATA = \
basket_config_general.desktop \
basket_config_baskets.desktop \
basket_config_new_notes.desktop \
basket_config_notes_appearance.desktop \
basket_config_apps.desktop

@ -1,10 +0,0 @@
backgrounds
backgrounds-previews
doc
file-integration
images
kontact_plugin
po
src
tags
welcome

@ -1,3 +0,0 @@
tagsdir = $(kde_datadir)/basket/icons
tags_ICON = AUTO
KDE_ICON = AUTO

@ -1,10 +0,0 @@
welcomedir = $(kde_datadir)/basket/welcome
welcome_DATA = \
Welcome_de.baskets \
Welcome_en_US.baskets \
Welcome_fr.baskets \
Welcome_it.baskets \
Welcome_ja.baskets \
Welcome_nn.baskets \
Welcome_pt.baskets \
Welcome_ru.baskets
Loading…
Cancel
Save