Add basic cmake build instructions. Deleted obsolete files: build-howto.html and kdirstat.spec . Change description in README. Signed-off-by: gregory guy <gregory-tde@laposte.net>pull/3/head
@ -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 |
@ -1,48 +0,0 @@ | |||
# Toplevel Makefile.am for KDirStat | |||
# | |||
# Originally generated by KDevelop, modified by sh@suse.de | |||
# | |||
SUBDIRS = kdirstat po doc | |||
EXTRA_DIST = \ | |||
AUTHORS \ | |||
COPYING \ | |||
COPYING.LIB \ | |||
CREDITS \ | |||
ChangeLog \ | |||
INSTALL \ | |||
README \ | |||
TODO \ | |||
admin \ | |||
build-howto.html \ | |||
kdirstat.kdevprj \ | |||
kdirstat.lsm | |||
# This is not a GNU package. You can remove this line | |||
# if have all needed files a GNU package needs. | |||
AUTOMAKE_OPTIONS = foreign | |||
CLEANFILES = $(wildcard autom4te.cache/*) | |||
$(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: |
@ -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: |
@ -1,20 +1,12 @@ | |||
This is a graphical "du" (disk usage) display. | |||
Kdirstat - a graphical disk usage display for TDE. | |||
What you see here is a 90% rewrite - GUI, engine, everything. The one thing it | |||
can do a whole lot better than the old version is stay on one file system - the | |||
single most most requested feature. Plus, it's way faster for large directory | |||
trees - scanning an entire Linux file system no longer takes 30+ | |||
minutes. Rather, it's about 2-3 minutes: The old version seemed to have | |||
problems with system buffer thrashing due to too many directories open for | |||
reading at one time - the new version uses an internal queue and keeps only one | |||
directory open. | |||
For more details, see the KDirStat home page at | |||
http://kdirstat.sourceforge.net/ | |||
Stefan Hundhammer <sh@suse.de> | |||
2002-05-10 | |||
KDirStat (TDE Directory Statistics) is a small utility program that sums | |||
up disk usage for directory trees, very much like the Unix 'du' command. | |||
It displays the disk space used up by a directory tree, both numerically | |||
and graphically. It is network transparent (i.e you can use it to sum up | |||
FTP servers) It comes with predefined and user configurable cleanup | |||
actions. You can directly open a directory branch in Konqueror or the | |||
shell of your choice then compress it to a .tar.bz2 archive or define | |||
your own cleanup actions. |
@ -1,191 +0,0 @@ | |||
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | |||
<html> | |||
<head> | |||
<title>Building KDirStat for KDE 3.x</title> | |||
</head> | |||
<body bgcolor=#F0F0F0> | |||
<table width=100%> | |||
<tr> | |||
<td width=50% align=left> | |||
Last modified: 23 Nov 2004 | |||
</td> | |||
<td width=50% align=right> | |||
Contact: <a href="mailto:sh@suse.de?subject=KDirStat build-howto">Stefan Hundhammer</a> | |||
</td> | |||
</tr> | |||
</table> | |||
<h1 align=center>Building KDirStat for KDE 3.x</h1> | |||
<table width=100% bgcolor=#B0B0F0> | |||
<tr><td><h2>Note:</h2></td></tr> | |||
<tr><td> | |||
If you are using the | |||
latest | |||
<a href="http://www.suse.com/">SuSE Linux</a> | |||
, you may not have to build it at all. | |||
There usually is an RPM package you can use at the | |||
<a href="http://kdirstat.sourceforge.net/download/">download area</a>. | |||
See also the <a href="http://kdirstat.sourceforge.net/">KDirStat home page</a>. | |||
</td></tr> | |||
</table> | |||
<ul> | |||
<li> | |||
Get the latest sources - either the | |||
<a href="http://kdirstat.sourceforge.net/download/">tarball from the download area</a> | |||
or via | |||
<a href="http://sourceforge.net/cvs/?group_id=30290">anonymous CVS from SourceForge.</a> | |||
<p><br></p> | |||
</li> | |||
<li> | |||
Make sure you have a development system up and running. | |||
<p> | |||
You'll need at least: | |||
<ul> | |||
<li>A C++ compiler | |||
<li>Header files for the system libs | |||
<li>X11 development environment (libs and header files) | |||
<li>Qt 3.0 (or later) development environment | |||
<li>KDE 3.x development environment | |||
</ul> | |||
<p> | |||
- maybe more. If you are unsure and you are running SuSE Linux, it might be | |||
a good idea to install the <em>development system</em> selection. | |||
</p> | |||
<p> | |||
Please understand that I cannot and will not fix everybody's broken development | |||
systems any more - this had taken me quite some time with KDirStat 0.8x. Please | |||
make sure you can compile simple KDE programs like <em>kless</em> or | |||
<em>kexample</em> before contacting me about build problems. | |||
</p> | |||
</li> | |||
<br> | |||
<li>Unpack the sources: | |||
<br> | |||
<pre> | |||
tar xjvf kdirstat-2.4.2.tar.bz2 | |||
</pre> | |||
<p> | |||
(or whatever version you downloaded) | |||
</p> | |||
<p><br></p> | |||
</li> | |||
<li> | |||
Go to this directory: | |||
<br> | |||
<pre> | |||
cd kdirstat-2.4.2 | |||
</pre> | |||
</li> | |||
<li> | |||
Make sure I didn't accidentially include a <em>config.cache</em> file in the | |||
tarball - remove it to make sure. This is a neverending cause of trouble. | |||
<br> | |||
<pre> | |||
rm -f config.cache | |||
</pre> | |||
</li> | |||
<li> | |||
Let the <em>configure</em> script figure out where everything required is on | |||
your system. | |||
<p> | |||
Watch out for error messages and <b>fix them</b> before reporting | |||
errors! | |||
</p> | |||
<p>On SuSE Linux systems, KDE 3.x is installed to <em>/opt/trinity</em> which is a | |||
good idea if you want to keep some KDE 1.x/2.x programs around. So use that | |||
<em>/opt/trinity</em> prefix for KDirStat, too - otherwise it will be installed to | |||
<em>/opt/kde</em> and clutter up a working KDE 1.x/2.x environment. | |||
<br> | |||
<pre> | |||
./configure --prefix=/opt/trinity | |||
</pre> | |||
<p> | |||
If you don't care about that or if you set up KDE 3.x in <em>/opt/kde</em> | |||
anyway, simply type | |||
</p> | |||
<pre> | |||
./configure | |||
</pre> | |||
</li> | |||
<li> | |||
Compile everything: | |||
<br> | |||
<pre> | |||
make | |||
</pre> | |||
<p> | |||
Again, watch out for error messages. | |||
</p> | |||
<p> | |||
<br> | |||
</p> | |||
</li> | |||
<li> | |||
If everything worked out allright, become <em>root</em> and install the program | |||
and everything it needs: | |||
<br> | |||
<pre> | |||
su | |||
make install | |||
</pre> | |||
<p> | |||
<b>Don't do this if the previous step reported errors!</b> | |||
</p> | |||
</li> | |||
</ul> | |||
<p> | |||
That's it. | |||
</p> | |||
</body> | |||
</html> | |||
<!-- --- Emacs Customization --- --> | |||
<!-- --> | |||
<!-- Local Variables: --> | |||
<!-- time-stamp-format: "%02d %3b %04y" --> | |||
<!-- time-stamp-start: "Last modified:[ \t]+" --> | |||
<!-- time-stamp-end: "$" --> | |||
<!-- End: --> | |||
@ -1,243 +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 if you have long long as datatype */ | |||
#undef HAVE_LONG_LONG | |||
/* Define to 1 if you have the <memory.h> header file. */ | |||
#undef HAVE_MEMORY_H | |||
/* Define if your system needs _NSGetEnviron to set up the environment */ | |||
#undef HAVE_NSGETENVIRON | |||
/* Define if you have res_init */ | |||
#undef HAVE_RES_INIT | |||
/* Define if you have the res_init prototype */ | |||
#undef HAVE_RES_INIT_PROTO | |||
/* Define if you have a STL implementation by SGI */ | |||
#undef HAVE_SGI_STL | |||
/* Define to 1 if you have the `snprintf' function. */ | |||
#undef HAVE_SNPRINTF | |||
/* Define to 1 if you have the <stdint.h> header file. */ | |||
#undef HAVE_STDINT_H | |||
/* Define to 1 if you have the <stdlib.h> header file. */ | |||
#undef HAVE_STDLIB_H | |||
/* Define to 1 if you have the <strings.h> header file. */ | |||
#undef HAVE_STRINGS_H | |||
/* Define to 1 if you have the <string.h> header file. */ | |||
#undef HAVE_STRING_H | |||
/* Define if you have strlcat */ | |||
#undef HAVE_STRLCAT | |||
/* Define if you have the strlcat prototype */ | |||
#undef HAVE_STRLCAT_PROTO | |||
/* Define if you have strlcpy */ | |||
#undef HAVE_STRLCPY | |||
/* Define if you have the strlcpy prototype */ | |||
#undef HAVE_STRLCPY_PROTO | |||
/* Define to 1 if you have the <sys/bitypes.h> header file. */ | |||
#undef HAVE_SYS_BITYPES_H | |||
/* Define to 1 if you have the <sys/stat.h> header file. */ | |||
#undef HAVE_SYS_STAT_H | |||
/* Define to 1 if you have the <sys/types.h> header file. */ | |||
#undef HAVE_SYS_TYPES_H | |||
/* Define to 1 if you have the <unistd.h> header file. */ | |||
#undef HAVE_UNISTD_H | |||
/* Define to 1 if you have the `vsnprintf' function. */ | |||
#undef HAVE_VSNPRINTF | |||
/* Suffix for lib directories */ | |||
#undef KDELIBSUFF | |||
/* Name of package */ | |||
#undef PACKAGE | |||
/* Define to the address where bug reports for this package should be sent. */ | |||
#undef PACKAGE_BUGREPORT | |||
/* Define to the full name of this package. */ | |||
#undef PACKAGE_NAME | |||
/* Define to the full name and version of this package. */ | |||
#undef PACKAGE_STRING | |||
/* Define to the one symbol short name of this package. */ | |||
#undef PACKAGE_TARNAME | |||
/* Define to the version of this package. */ | |||
#undef PACKAGE_VERSION | |||
/* The size of a `char *', as computed by sizeof. */ | |||
#undef SIZEOF_CHAR_P | |||
/* The size of a `int', as computed by sizeof. */ | |||
#undef SIZEOF_INT | |||
/* The size of a `long', as computed by sizeof. */ | |||
#undef SIZEOF_LONG | |||
/* The size of a `short', as computed by sizeof. */ | |||
#undef SIZEOF_SHORT | |||
/* The size of a `size_t', as computed by sizeof. */ | |||
#undef SIZEOF_SIZE_T | |||
/* The size of a `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 | |||
/* 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,2 +0,0 @@ | |||
./admin/configure.in.min | |||
configure.in.in |
@ -1,109 +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(kdirstat, 2.4.4) 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_TQT | |||
AC_PATH_KDE | |||
dnl ======================================================= | |||
dnl FILE: configure.in.in | |||
dnl ======================================================= | |||
#MIN_CONFIG | |||
dnl PACKAGE set before | |||
AC_SYS_LARGEFILE | |||
KDE_CHECK_LONG_LONG | |||
KDE_CREATE_SUBDIRSLIST | |||
AC_CONFIG_FILES([ Makefile ]) | |||
AC_CONFIG_FILES([ doc/Makefile ]) | |||
AC_CONFIG_FILES([ doc/en/Makefile ]) | |||
AC_CONFIG_FILES([ kdirstat/Makefile ]) | |||
AC_CONFIG_FILES([ kdirstat/pics/Makefile ]) | |||
AC_CONFIG_FILES([ po/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,7 +0,0 @@ | |||
#MIN_CONFIG | |||
KDE_ENABLE_HIDDEN_VISIBILITY | |||
AM_INIT_AUTOMAKE(kdirstat,2.4.4) | |||
AC_SYS_LARGEFILE | |||
KDE_CHECK_LONG_LONG |
@ -1,2 +0,0 @@ | |||
SUBDIRS = en | |||
@ -1,11 +0,0 @@ | |||
EXTRA_DIST = \ | |||
index.docbook \ | |||
kdirstat-main.png \ | |||
kdirstat-config-cleanups.png \ | |||
kdirstat-config-tree-colors.png \ | |||
feedback-mail.png | |||
KDE_LANG = en | |||
KDE_DOCS = kdirstat | |||
@ -1,70 +0,0 @@ | |||
# | |||
# spec file for package kdirstat (Version 2.4.4) | |||
# | |||
# Copyright (c) 2005 SUSE LINUX Products GmbH, Nuernberg, Germany. | |||
# This file and all modifications and additions to the pristine | |||
# package are under the same license as the package itself. | |||
# | |||
# Please submit bugfixes or comments via http://www.suse.de/feedback/ | |||
# | |||
# norootforbuild | |||
# neededforbuild trinity-devel-packages | |||
BuildRequires: aaa_base acl attr bash bind-utils bison bzip2 coreutils cpio cpp cracklib cvs cyrus-sasl db devs diffutils e2fsprogs file filesystem fillup findutils flex gawk gdbm-devel glibc glibc-devel glibc-locale gpm grep groff gzip info insserv klogd less libacl libattr libgcc libnscd libselinux libstdc++ libxcrypt libzio m4 make man mktemp module-init-tools ncurses ncurses-devel net-tools netcfg openldap2-client openssl pam pam-modules patch permissions popt procinfo procps psmisc pwdutils rcs readline sed strace syslogd sysvinit tar tcpd texinfo timezone unzip util-linux vim zlib zlib-devel arts arts-devel autoconf automake binutils expat fam fam-devel fontconfig fontconfig-devel freeglut freeglut-devel freetype2 freetype2-devel gcc gcc-c++ gdbm gettext glib2 glib2-devel gnome-filesystem jack jack-devel tdelibs3 tdelibs3-devel tdelibs3-doc libart_lgpl libart_lgpl-devel libgcrypt libgcrypt-devel libgpg-error libgpg-error-devel libidn libidn-devel libjpeg libjpeg-devel liblcms liblcms-devel libmng libmng-devel libpng libpng-devel libstdc++-devel libtiff libtiff-devel libtool libxml2 libxml2-devel libxslt libxslt-devel openssl-devel pcre pcre-devel perl python qt3 qt3-devel rpm unsermake update-desktop-files xorg-x11-Mesa xorg-x11-Mesa-devel xorg-x11-devel xorg-x11-libs | |||
Name: kdirstat | |||
URL: http://kdirstat.sourceforge.net | |||
License: GPL | |||
Group: Productivity/File utilities | |||
Summary: Graphical Directory Statistics for Used Disk Space | |||
Version: 2.4.4 | |||
Release: 0 | |||
BuildRoot: %{_tmppath}/%{name}-%{version}-build | |||
Source0: kdirstat-%{version}.tar.bz2 | |||
%description | |||
KDirStat (KDE Directory Statistics) is a utility program that sums up | |||
disk usage for directory trees - very much like the Unix 'du' command. | |||
It can also help you clean up used space. | |||
Authors: | |||
-------- | |||
Stefan Hundhammer <sh@suse.de> | |||
%prep | |||
%setup -q | |||
. /etc/opt/trinity/common_options | |||
update_admin --no-unsermake | |||
%build | |||
. /etc/opt/trinity/common_options | |||
./configure $configkde --disable-final | |||
make | |||
%install | |||
. /etc/opt/trinity/common_options | |||
make DESTDIR=$RPM_BUILD_ROOT $INSTALL_TARGET | |||
%suse_update_desktop_file %name Filesystem | |||
%find_lang %name | |||
%files -f %name.lang | |||
%defattr(-,root,root) | |||
%doc COPYING AUTHORS ChangeLog TODO README | |||
/opt/trinity/bin/kdirstat | |||
/opt/trinity/share/apps/kdirstat | |||
/opt/trinity/share/appl*/*/kdirstat* | |||
/opt/trinity/share/doc/tde/HTML/*/kdirstat/ | |||
%dir /opt/trinity/share/icons/hicolor/16x16 | |||
%dir /opt/trinity/share/icons/hicolor/16x16/apps | |||
%dir /opt/trinity/share/icons/hicolor/32x32 | |||
%dir /opt/trinity/share/icons/hicolor/32x32/apps | |||
%dir /opt/trinity/share/icons/locolor/16x16/apps | |||
%dir /opt/trinity/share/icons/locolor/32x32/apps | |||
/opt/trinity/share/icons/??color/??x??/*/kdirstat* | |||
%dir /opt/trinity/share/apps/tdeconf_update | |||
/opt/trinity/share/apps/tdeconf_update/kdirstat.upd | |||
/opt/trinity/share/apps/tdeconf_update/fix_move_to_trash_bin.pl | |||
@ -1,98 +0,0 @@ | |||
# Makefile.am for kdirstat/kdirstat | |||
# | |||
# Initially generated by KDevelop, cleaned up by <sh@suse.de> | |||
SUBDIRS = pics | |||
bin_PROGRAMS = kdirstat | |||
kdirstat_SOURCES = \ | |||
kdirstatmain.cpp \ | |||
kdirstatapp.cpp \ | |||
kdirstatfeedback.cpp \ | |||
kfeedback.cpp \ | |||
kdirtreeview.cpp \ | |||
kdirtreeiterators.cpp \ | |||
kdirtree.cpp \ | |||
ktreemapview.cpp \ | |||
ktreemaptile.cpp \ | |||
kcleanup.cpp \ | |||
kstdcleanup.cpp \ | |||
kcleanupcollection.cpp \ | |||
kdirstatsettings.cpp \ | |||
kdirsaver.cpp \ | |||
kactivitytracker.cpp \ | |||
kpacman.cpp | |||
noinst_HEADERS = \ | |||
kdirstatapp.h \ | |||
kfeedback.h \ | |||
kdirtreeview.h \ | |||
kdirtreeiterators.h \ | |||
kdirtree.h \ | |||
ktreemapview.h \ | |||
ktreemaptile.h \ | |||
kcleanup.h \ | |||
kstdcleanup.h \ | |||
kcleanupcollection.h \ | |||
kdirstatsettings.h \ | |||
kdirsaver.h \ | |||
kactivitytracker.h \ | |||
kpacman.h | |||
EXTRA_DIST = \ | |||
kdirstatui.rc \ | |||
kdirstat.desktop \ | |||
lo32-app-kdirstat.png \ | |||
lo16-app-kdirstat.png \ | |||
hi32-app-kdirstat.png \ | |||
hi16-app-kdirstat.png | |||
updatedir = $(kde_datadir)/tdeconf_update | |||
update_DATA = kdirstat.upd | |||
update_SCRIPTS = fix_move_to_trash_bin.pl | |||
kdirstat_LDADD = $(LIB_TDEFILE) | |||
KDE_ICON = kdirstat | |||
applnkdir = $(kde_appsdir)/Utilities | |||
applnk_DATA = kdirstat.desktop | |||
####### tdevelop will overwrite this part!!! (end)############ | |||
# this 10 paths are KDE specific. Use them: | |||
# kde_htmldir Where your docs should go to. (contains lang subdirs) | |||
# kde_appsdir Where your application file (.kdelnk) should go to. | |||
# kde_icondir Where your icon should go to. | |||
# kde_minidir Where your mini icon should go to. | |||
# kde_datadir Where you install application data. (Use a subdir) | |||
# kde_locale Where translation files should go to.(contains lang subdirs) | |||
# kde_cgidir Where cgi-bin executables should go to. | |||
# kde_confdir Where config files should go to. | |||
# kde_mimedir Where mimetypes should go to. | |||
# kde_toolbardir Where general toolbar icons should go to. | |||
# kde_wallpaperdir Where general wallpapers should go to. | |||
# set the include path for X, qt and KDE | |||
INCLUDES= $(all_includes) | |||
METASOURCES = AUTO | |||
# the library search path. | |||
kdirstat_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_TQT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor | |||
rcdir = $(kde_datadir)/kdirstat | |||
rc_DATA = kdirstatui.rc | |||
messages: rc.cpp | |||
LIST=`find . -name \*.h -o -name \*.hh -o -name \*.H -o -name \*.hxx -o -name \*.hpp -o -name \*.cpp -o -name \*.cc -o -name \*.cxx -o -name \*.ecpp -o -name \*.C`; \ | |||
if test -n "$$LIST"; then \ | |||
$(XGETTEXT) $$LIST -o $(podir)/kdirstat.pot; \ | |||
fi | |||
@ -1,2 +0,0 @@ | |||
iconsdir = $(kde_datadir)/kdirstat/icons | |||
icons_ICON = AUTO |
@ -1,6 +0,0 @@ | |||
####### tdevelop will overwrite this part!!! (begin)########## | |||
####### tdevelop will overwrite this part!!! (end)############ | |||
POFILES = AUTO | |||
@ -1 +0,0 @@ | |||
timestamp |
@ -1,3 +0,0 @@ | |||
doc | |||
kdirstat | |||
po |