git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kdpkg@1110433 283d02a7-25f6-0310-bc7c-ecb5cbfe19dav3.5.13-sru
@ -0,0 +1,283 @@
|
|||||||
|
# Doxyfile 1.5.1-KDevelop
|
||||||
|
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# Project related configuration options
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
PROJECT_NAME = kdpkg
|
||||||
|
PROJECT_NUMBER = 0.1
|
||||||
|
OUTPUT_DIRECTORY =
|
||||||
|
CREATE_SUBDIRS = NO
|
||||||
|
OUTPUT_LANGUAGE = English
|
||||||
|
USE_WINDOWS_ENCODING = NO
|
||||||
|
BRIEF_MEMBER_DESC = YES
|
||||||
|
REPEAT_BRIEF = YES
|
||||||
|
ABBREVIATE_BRIEF = "The $name class" \
|
||||||
|
"The $name widget" \
|
||||||
|
"The $name file" \
|
||||||
|
is \
|
||||||
|
provides \
|
||||||
|
specifies \
|
||||||
|
contains \
|
||||||
|
represents \
|
||||||
|
a \
|
||||||
|
an \
|
||||||
|
the
|
||||||
|
ALWAYS_DETAILED_SEC = NO
|
||||||
|
INLINE_INHERITED_MEMB = NO
|
||||||
|
FULL_PATH_NAMES = YES
|
||||||
|
STRIP_FROM_PATH = /home/wuertz/
|
||||||
|
STRIP_FROM_INC_PATH =
|
||||||
|
SHORT_NAMES = NO
|
||||||
|
JAVADOC_AUTOBRIEF = NO
|
||||||
|
MULTILINE_CPP_IS_BRIEF = NO
|
||||||
|
DETAILS_AT_TOP = NO
|
||||||
|
INHERIT_DOCS = YES
|
||||||
|
SEPARATE_MEMBER_PAGES = NO
|
||||||
|
TAB_SIZE = 8
|
||||||
|
ALIASES =
|
||||||
|
OPTIMIZE_OUTPUT_FOR_C = NO
|
||||||
|
OPTIMIZE_OUTPUT_JAVA = NO
|
||||||
|
BUILTIN_STL_SUPPORT = NO
|
||||||
|
DISTRIBUTE_GROUP_DOC = NO
|
||||||
|
SUBGROUPING = YES
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# Build related configuration options
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
EXTRACT_ALL = NO
|
||||||
|
EXTRACT_PRIVATE = NO
|
||||||
|
EXTRACT_STATIC = NO
|
||||||
|
EXTRACT_LOCAL_CLASSES = YES
|
||||||
|
EXTRACT_LOCAL_METHODS = NO
|
||||||
|
HIDE_UNDOC_MEMBERS = NO
|
||||||
|
HIDE_UNDOC_CLASSES = NO
|
||||||
|
HIDE_FRIEND_COMPOUNDS = NO
|
||||||
|
HIDE_IN_BODY_DOCS = NO
|
||||||
|
INTERNAL_DOCS = NO
|
||||||
|
CASE_SENSE_NAMES = YES
|
||||||
|
HIDE_SCOPE_NAMES = NO
|
||||||
|
SHOW_INCLUDE_FILES = YES
|
||||||
|
INLINE_INFO = YES
|
||||||
|
SORT_MEMBER_DOCS = YES
|
||||||
|
SORT_BRIEF_DOCS = NO
|
||||||
|
SORT_BY_SCOPE_NAME = NO
|
||||||
|
GENERATE_TODOLIST = YES
|
||||||
|
GENERATE_TESTLIST = YES
|
||||||
|
GENERATE_BUGLIST = YES
|
||||||
|
GENERATE_DEPRECATEDLIST= YES
|
||||||
|
ENABLED_SECTIONS =
|
||||||
|
MAX_INITIALIZER_LINES = 30
|
||||||
|
SHOW_USED_FILES = YES
|
||||||
|
SHOW_DIRECTORIES = NO
|
||||||
|
FILE_VERSION_FILTER =
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# configuration options related to warning and progress messages
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
QUIET = NO
|
||||||
|
WARNINGS = YES
|
||||||
|
WARN_IF_UNDOCUMENTED = YES
|
||||||
|
WARN_IF_DOC_ERROR = YES
|
||||||
|
WARN_NO_PARAMDOC = NO
|
||||||
|
WARN_FORMAT = "$file:$line: $text"
|
||||||
|
WARN_LOGFILE =
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# configuration options related to the input files
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
INPUT = /home/wuertz/dev/kdpkg
|
||||||
|
FILE_PATTERNS = *.c \
|
||||||
|
*.cc \
|
||||||
|
*.cxx \
|
||||||
|
*.cpp \
|
||||||
|
*.c++ \
|
||||||
|
*.d \
|
||||||
|
*.java \
|
||||||
|
*.ii \
|
||||||
|
*.ixx \
|
||||||
|
*.ipp \
|
||||||
|
*.i++ \
|
||||||
|
*.inl \
|
||||||
|
*.h \
|
||||||
|
*.hh \
|
||||||
|
*.hxx \
|
||||||
|
*.hpp \
|
||||||
|
*.h++ \
|
||||||
|
*.idl \
|
||||||
|
*.odl \
|
||||||
|
*.cs \
|
||||||
|
*.php \
|
||||||
|
*.php3 \
|
||||||
|
*.inc \
|
||||||
|
*.m \
|
||||||
|
*.mm \
|
||||||
|
*.dox \
|
||||||
|
*.py \
|
||||||
|
*.C \
|
||||||
|
*.CC \
|
||||||
|
*.C++ \
|
||||||
|
*.II \
|
||||||
|
*.I++ \
|
||||||
|
*.H \
|
||||||
|
*.HH \
|
||||||
|
*.H++ \
|
||||||
|
*.CS \
|
||||||
|
*.PHP \
|
||||||
|
*.PHP3 \
|
||||||
|
*.M \
|
||||||
|
*.MM \
|
||||||
|
*.PY \
|
||||||
|
*.C \
|
||||||
|
*.H \
|
||||||
|
*.tlh \
|
||||||
|
*.diff \
|
||||||
|
*.patch \
|
||||||
|
*.moc \
|
||||||
|
*.xpm \
|
||||||
|
*.dox
|
||||||
|
RECURSIVE = yes
|
||||||
|
EXCLUDE =
|
||||||
|
EXCLUDE_SYMLINKS = NO
|
||||||
|
EXCLUDE_PATTERNS =
|
||||||
|
EXAMPLE_PATH =
|
||||||
|
EXAMPLE_PATTERNS = *
|
||||||
|
EXAMPLE_RECURSIVE = NO
|
||||||
|
IMAGE_PATH =
|
||||||
|
INPUT_FILTER =
|
||||||
|
FILTER_PATTERNS =
|
||||||
|
FILTER_SOURCE_FILES = NO
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# configuration options related to source browsing
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
SOURCE_BROWSER = NO
|
||||||
|
INLINE_SOURCES = NO
|
||||||
|
STRIP_CODE_COMMENTS = YES
|
||||||
|
REFERENCED_BY_RELATION = YES
|
||||||
|
REFERENCES_RELATION = YES
|
||||||
|
REFERENCES_LINK_SOURCE = YES
|
||||||
|
USE_HTAGS = NO
|
||||||
|
VERBATIM_HEADERS = YES
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# configuration options related to the alphabetical class index
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
ALPHABETICAL_INDEX = NO
|
||||||
|
COLS_IN_ALPHA_INDEX = 5
|
||||||
|
IGNORE_PREFIX =
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# configuration options related to the HTML output
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
GENERATE_HTML = YES
|
||||||
|
HTML_OUTPUT = html
|
||||||
|
HTML_FILE_EXTENSION = .html
|
||||||
|
HTML_HEADER =
|
||||||
|
HTML_FOOTER =
|
||||||
|
HTML_STYLESHEET =
|
||||||
|
HTML_ALIGN_MEMBERS = YES
|
||||||
|
GENERATE_HTMLHELP = NO
|
||||||
|
CHM_FILE =
|
||||||
|
HHC_LOCATION =
|
||||||
|
GENERATE_CHI = NO
|
||||||
|
BINARY_TOC = NO
|
||||||
|
TOC_EXPAND = NO
|
||||||
|
DISABLE_INDEX = NO
|
||||||
|
ENUM_VALUES_PER_LINE = 4
|
||||||
|
GENERATE_TREEVIEW = NO
|
||||||
|
TREEVIEW_WIDTH = 250
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# configuration options related to the LaTeX output
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
GENERATE_LATEX = YES
|
||||||
|
LATEX_OUTPUT = latex
|
||||||
|
LATEX_CMD_NAME = latex
|
||||||
|
MAKEINDEX_CMD_NAME = makeindex
|
||||||
|
COMPACT_LATEX = NO
|
||||||
|
PAPER_TYPE = a4wide
|
||||||
|
EXTRA_PACKAGES =
|
||||||
|
LATEX_HEADER =
|
||||||
|
PDF_HYPERLINKS = NO
|
||||||
|
USE_PDFLATEX = NO
|
||||||
|
LATEX_BATCHMODE = NO
|
||||||
|
LATEX_HIDE_INDICES = NO
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# configuration options related to the RTF output
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
GENERATE_RTF = NO
|
||||||
|
RTF_OUTPUT = rtf
|
||||||
|
COMPACT_RTF = NO
|
||||||
|
RTF_HYPERLINKS = NO
|
||||||
|
RTF_STYLESHEET_FILE =
|
||||||
|
RTF_EXTENSIONS_FILE =
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# configuration options related to the man page output
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
GENERATE_MAN = NO
|
||||||
|
MAN_OUTPUT = man
|
||||||
|
MAN_EXTENSION = .3
|
||||||
|
MAN_LINKS = NO
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# configuration options related to the XML output
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
GENERATE_XML = yes
|
||||||
|
XML_OUTPUT = xml
|
||||||
|
XML_SCHEMA =
|
||||||
|
XML_DTD =
|
||||||
|
XML_PROGRAMLISTING = YES
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# configuration options for the AutoGen Definitions output
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
GENERATE_AUTOGEN_DEF = NO
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# configuration options related to the Perl module output
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
GENERATE_PERLMOD = NO
|
||||||
|
PERLMOD_LATEX = NO
|
||||||
|
PERLMOD_PRETTY = YES
|
||||||
|
PERLMOD_MAKEVAR_PREFIX =
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# Configuration options related to the preprocessor
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
ENABLE_PREPROCESSING = YES
|
||||||
|
MACRO_EXPANSION = NO
|
||||||
|
EXPAND_ONLY_PREDEF = NO
|
||||||
|
SEARCH_INCLUDES = YES
|
||||||
|
INCLUDE_PATH =
|
||||||
|
INCLUDE_FILE_PATTERNS =
|
||||||
|
PREDEFINED =
|
||||||
|
EXPAND_AS_DEFINED =
|
||||||
|
SKIP_FUNCTION_MACROS = YES
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# Configuration::additions related to external references
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
TAGFILES =
|
||||||
|
GENERATE_TAGFILE = kdpkg.tag
|
||||||
|
ALLEXTERNALS = NO
|
||||||
|
EXTERNAL_GROUPS = YES
|
||||||
|
PERL_PATH = /usr/bin/perl
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# Configuration options related to the dot tool
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
CLASS_DIAGRAMS = YES
|
||||||
|
HIDE_UNDOC_RELATIONS = YES
|
||||||
|
HAVE_DOT = NO
|
||||||
|
CLASS_GRAPH = YES
|
||||||
|
COLLABORATION_GRAPH = YES
|
||||||
|
GROUP_GRAPHS = YES
|
||||||
|
UML_LOOK = NO
|
||||||
|
TEMPLATE_RELATIONS = NO
|
||||||
|
INCLUDE_GRAPH = YES
|
||||||
|
INCLUDED_BY_GRAPH = YES
|
||||||
|
CALL_GRAPH = NO
|
||||||
|
CALLER_GRAPH = NO
|
||||||
|
GRAPHICAL_HIERARCHY = YES
|
||||||
|
DIRECTORY_GRAPH = YES
|
||||||
|
DOT_IMAGE_FORMAT = png
|
||||||
|
DOT_PATH =
|
||||||
|
DOTFILE_DIRS =
|
||||||
|
MAX_DOT_GRAPH_WIDTH = 1024
|
||||||
|
MAX_DOT_GRAPH_HEIGHT = 1024
|
||||||
|
MAX_DOT_GRAPH_DEPTH = 1000
|
||||||
|
DOT_TRANSPARENT = NO
|
||||||
|
DOT_MULTI_TARGETS = NO
|
||||||
|
GENERATE_LEGEND = YES
|
||||||
|
DOT_CLEANUP = YES
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# Configuration::additions related to the search engine
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
SEARCHENGINE = NO
|
@ -0,0 +1,234 @@
|
|||||||
|
Installation Instructions
|
||||||
|
*************************
|
||||||
|
|
||||||
|
Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,
|
||||||
|
2006 Free Software Foundation, Inc.
|
||||||
|
|
||||||
|
This file is free documentation; the Free Software Foundation gives
|
||||||
|
unlimited permission to copy, distribute and modify it.
|
||||||
|
|
||||||
|
Basic Installation
|
||||||
|
==================
|
||||||
|
|
||||||
|
Briefly, the shell commands `./configure; make; make install' should
|
||||||
|
configure, build, and install this package. The following
|
||||||
|
more-detailed instructions are generic; see the `README' file for
|
||||||
|
instructions specific to this package.
|
||||||
|
|
||||||
|
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, and a
|
||||||
|
file `config.log' containing compiler output (useful mainly for
|
||||||
|
debugging `configure').
|
||||||
|
|
||||||
|
It can also use an optional file (typically called `config.cache'
|
||||||
|
and enabled with `--cache-file=config.cache' or simply `-C') that saves
|
||||||
|
the results of its tests to speed up reconfiguring. Caching is
|
||||||
|
disabled by default to prevent problems with accidental use of stale
|
||||||
|
cache files.
|
||||||
|
|
||||||
|
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 you are using the cache, and at
|
||||||
|
some point `config.cache' contains results you don't want to keep, you
|
||||||
|
may remove or edit it.
|
||||||
|
|
||||||
|
The file `configure.ac' (or `configure.in') is used to create
|
||||||
|
`configure' by a program called `autoconf'. You need `configure.ac' 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.
|
||||||
|
|
||||||
|
Running `configure' might take a while. While running, it prints
|
||||||
|
some messages telling which features it is checking for.
|
||||||
|
|
||||||
|
2. Type `make' to compile the package.
|
||||||
|
|
||||||
|
3. Optionally, type `make check' to run any self-tests that come with
|
||||||
|
the package.
|
||||||
|
|
||||||
|
4. Type `make install' to install the programs and any data files and
|
||||||
|
documentation.
|
||||||
|
|
||||||
|
5. You can remove the program binaries and object files from the
|
||||||
|
source code directory by typing `make clean'. To also remove the
|
||||||
|
files that `configure' created (so you can compile the package for
|
||||||
|
a different kind of computer), type `make distclean'. There is
|
||||||
|
also a `make maintainer-clean' target, but that is intended mainly
|
||||||
|
for the package's developers. If you use it, you may have to get
|
||||||
|
all sorts of other programs in order to regenerate files that came
|
||||||
|
with the distribution.
|
||||||
|
|
||||||
|
Compilers and Options
|
||||||
|
=====================
|
||||||
|
|
||||||
|
Some systems require unusual options for compilation or linking that the
|
||||||
|
`configure' script does not know about. Run `./configure --help' for
|
||||||
|
details on some of the pertinent environment variables.
|
||||||
|
|
||||||
|
You can give `configure' initial values for configuration parameters
|
||||||
|
by setting variables in the command line or in the environment. Here
|
||||||
|
is an example:
|
||||||
|
|
||||||
|
./configure CC=c99 CFLAGS=-g LIBS=-lposix
|
||||||
|
|
||||||
|
*Note Defining Variables::, for more details.
|
||||||
|
|
||||||
|
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 can use 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 `..'.
|
||||||
|
|
||||||
|
With a non-GNU `make', it is safer 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' installs the package's commands under
|
||||||
|
`/usr/local/bin', include files under `/usr/local/include', etc. You
|
||||||
|
can specify an installation prefix other than `/usr/local' by giving
|
||||||
|
`configure' the option `--prefix=PREFIX'.
|
||||||
|
|
||||||
|
You can specify separate installation prefixes for
|
||||||
|
architecture-specific files and architecture-independent files. If you
|
||||||
|
pass the option `--exec-prefix=PREFIX' to `configure', the package uses
|
||||||
|
PREFIX as the prefix for installing programs and libraries.
|
||||||
|
Documentation and other data files still use the regular prefix.
|
||||||
|
|
||||||
|
In addition, if you use an unusual directory layout you can give
|
||||||
|
options like `--bindir=DIR' to specify different values for particular
|
||||||
|
kinds of files. Run `configure --help' for a list of the directories
|
||||||
|
you can set and what kinds of files go in them.
|
||||||
|
|
||||||
|
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' cannot figure out automatically,
|
||||||
|
but needs to determine by the type of machine the package will run on.
|
||||||
|
Usually, assuming the package is built to be run on the _same_
|
||||||
|
architectures, `configure' can figure that out, but if it prints a
|
||||||
|
message saying it cannot guess the machine type, give it the
|
||||||
|
`--build=TYPE' option. TYPE can either be a short name for the system
|
||||||
|
type, such as `sun4', or a canonical name which has the form:
|
||||||
|
|
||||||
|
CPU-COMPANY-SYSTEM
|
||||||
|
|
||||||
|
where SYSTEM can have one of these forms:
|
||||||
|
|
||||||
|
OS KERNEL-OS
|
||||||
|
|
||||||
|
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 machine type.
|
||||||
|
|
||||||
|
If you are _building_ compiler tools for cross-compiling, you should
|
||||||
|
use the option `--target=TYPE' to select the type of system they will
|
||||||
|
produce code for.
|
||||||
|
|
||||||
|
If you want to _use_ a cross compiler, that generates code for a
|
||||||
|
platform different from the build platform, you should specify the
|
||||||
|
"host" platform (i.e., that on which the generated programs will
|
||||||
|
eventually be run) with `--host=TYPE'.
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
Defining Variables
|
||||||
|
==================
|
||||||
|
|
||||||
|
Variables not defined in a site shell script can be set in the
|
||||||
|
environment passed to `configure'. However, some packages may run
|
||||||
|
configure again during the build, and the customized values of these
|
||||||
|
variables may be lost. In order to avoid this problem, you should set
|
||||||
|
them in the `configure' command line, using `VAR=value'. For example:
|
||||||
|
|
||||||
|
./configure CC=/usr/local2/bin/gcc
|
||||||
|
|
||||||
|
causes the specified `gcc' to be used as the C compiler (unless it is
|
||||||
|
overridden in the site shell script).
|
||||||
|
|
||||||
|
Unfortunately, this technique does not work for `CONFIG_SHELL' due to
|
||||||
|
an Autoconf bug. Until the bug is fixed you can use this workaround:
|
||||||
|
|
||||||
|
CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash
|
||||||
|
|
||||||
|
`configure' Invocation
|
||||||
|
======================
|
||||||
|
|
||||||
|
`configure' recognizes the following options to control how it operates.
|
||||||
|
|
||||||
|
`--help'
|
||||||
|
`-h'
|
||||||
|
Print a summary of the options to `configure', and exit.
|
||||||
|
|
||||||
|
`--version'
|
||||||
|
`-V'
|
||||||
|
Print the version of Autoconf used to generate the `configure'
|
||||||
|
script, and exit.
|
||||||
|
|
||||||
|
`--cache-file=FILE'
|
||||||
|
Enable the cache: use and save the results of the tests in FILE,
|
||||||
|
traditionally `config.cache'. FILE defaults to `/dev/null' to
|
||||||
|
disable caching.
|
||||||
|
|
||||||
|
`--config-cache'
|
||||||
|
`-C'
|
||||||
|
Alias for `--cache-file=config.cache'.
|
||||||
|
|
||||||
|
`--quiet'
|
||||||
|
`--silent'
|
||||||
|
`-q'
|
||||||
|
Do not print messages saying which checks are being made. To
|
||||||
|
suppress all normal output, redirect it to `/dev/null' (any error
|
||||||
|
messages will still be shown).
|
||||||
|
|
||||||
|
`--srcdir=DIR'
|
||||||
|
Look for the package's source code in directory DIR. Usually
|
||||||
|
`configure' can determine that directory automatically.
|
||||||
|
|
||||||
|
`configure' also accepts some other, not widely useful, options. Run
|
||||||
|
`configure --help' for more details.
|
||||||
|
|
@ -0,0 +1,22 @@
|
|||||||
|
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:
|
||||||
|
cd $(top_srcdir) && $(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
|
@ -0,0 +1,10 @@
|
|||||||
|
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:
|
@ -0,0 +1,863 @@
|
|||||||
|
# generated automatically by aclocal 1.9.6 -*- Autoconf -*-
|
||||||
|
|
||||||
|
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
|
||||||
|
# 2005 Free Software Foundation, Inc.
|
||||||
|
# This file is free software; the Free Software Foundation
|
||||||
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
|
# with or without modifications, as long as this notice is preserved.
|
||||||
|
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||||
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||||
|
# PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
# Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
|
||||||
|
#
|
||||||
|
# This file is free software; the Free Software Foundation
|
||||||
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
|
# with or without modifications, as long as this notice is preserved.
|
||||||
|
|
||||||
|
# AM_AUTOMAKE_VERSION(VERSION)
|
||||||
|
# ----------------------------
|
||||||
|
# Automake X.Y traces this macro to ensure aclocal.m4 has been
|
||||||
|
# generated from the m4 files accompanying Automake X.Y.
|
||||||
|
AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
|
||||||
|
|
||||||
|
# AM_SET_CURRENT_AUTOMAKE_VERSION
|
||||||
|
# -------------------------------
|
||||||
|
# Call AM_AUTOMAKE_VERSION so it can be traced.
|
||||||
|
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
|
||||||
|
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
|
||||||
|
[AM_AUTOMAKE_VERSION([1.9.6])])
|
||||||
|
|
||||||
|
# AM_AUX_DIR_EXPAND -*- Autoconf -*-
|
||||||
|
|
||||||
|
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
|
||||||
|
#
|
||||||
|
# This file is free software; the Free Software Foundation
|
||||||
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
|
# with or without modifications, as long as this notice is preserved.
|
||||||
|
|
||||||
|
# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
|
||||||
|
# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
|
||||||
|
# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
|
||||||
|
#
|
||||||
|
# Of course, Automake must honor this variable whenever it calls a
|
||||||
|
# tool from the auxiliary directory. The problem is that $srcdir (and
|
||||||
|
# therefore $ac_aux_dir as well) can be either absolute or relative,
|
||||||
|
# depending on how configure is run. This is pretty annoying, since
|
||||||
|
# it makes $ac_aux_dir quite unusable in subdirectories: in the top
|
||||||
|
# source directory, any form will work fine, but in subdirectories a
|
||||||
|
# relative path needs to be adjusted first.
|
||||||
|
#
|
||||||
|
# $ac_aux_dir/missing
|
||||||
|
# fails when called from a subdirectory if $ac_aux_dir is relative
|
||||||
|
# $top_srcdir/$ac_aux_dir/missing
|
||||||
|
# fails if $ac_aux_dir is absolute,
|
||||||
|
# fails when called from a subdirectory in a VPATH build with
|
||||||
|
# a relative $ac_aux_dir
|
||||||
|
#
|
||||||
|
# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
|
||||||
|
# are both prefixed by $srcdir. In an in-source build this is usually
|
||||||
|
# harmless because $srcdir is `.', but things will broke when you
|
||||||
|
# start a VPATH build or use an absolute $srcdir.
|
||||||
|
#
|
||||||
|
# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
|
||||||
|
# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
|
||||||
|
# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
|
||||||
|
# and then we would define $MISSING as
|
||||||
|
# MISSING="\${SHELL} $am_aux_dir/missing"
|
||||||
|
# This will work as long as MISSING is not called from configure, because
|
||||||
|
# unfortunately $(top_srcdir) has no meaning in configure.
|
||||||
|
# However there are other variables, like CC, which are often used in
|
||||||
|
# configure, and could therefore not use this "fixed" $ac_aux_dir.
|
||||||
|
#
|
||||||
|
# Another solution, used here, is to always expand $ac_aux_dir to an
|
||||||
|
# absolute PATH. The drawback is that using absolute paths prevent a
|
||||||
|
# configured tree to be moved without reconfiguration.
|
||||||
|
|
||||||
|
AC_DEFUN([AM_AUX_DIR_EXPAND],
|
||||||
|
[dnl Rely on autoconf to set up CDPATH properly.
|
||||||
|
AC_PREREQ([2.50])dnl
|
||||||
|
# expand $ac_aux_dir to an absolute path
|
||||||
|
am_aux_dir=`cd $ac_aux_dir && pwd`
|
||||||
|
])
|
||||||
|
|
||||||
|
# AM_CONDITIONAL -*- Autoconf -*-
|
||||||
|
|
||||||
|
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
|
||||||
|
# Free Software Foundation, Inc.
|
||||||
|
#
|
||||||
|
# This file is free software; the Free Software Foundation
|
||||||
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
|
# with or without modifications, as long as this notice is preserved.
|
||||||
|
|
||||||
|
# serial 7
|
||||||
|
|
||||||
|
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
|
||||||
|
# -------------------------------------
|
||||||
|
# Define a conditional.
|
||||||
|
AC_DEFUN([AM_CONDITIONAL],
|
||||||
|
[AC_PREREQ(2.52)dnl
|
||||||
|
ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
|
||||||
|
[$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
|
||||||
|
AC_SUBST([$1_TRUE])
|
||||||
|
AC_SUBST([$1_FALSE])
|
||||||
|
if $2; then
|
||||||
|
$1_TRUE=
|
||||||
|
$1_FALSE='#'
|
||||||
|
else
|
||||||
|
$1_TRUE='#'
|
||||||
|
$1_FALSE=
|
||||||
|
fi
|
||||||
|
AC_CONFIG_COMMANDS_PRE(
|
||||||
|
[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
|
||||||
|
AC_MSG_ERROR([[conditional "$1" was never defined.
|
||||||
|
Usually this means the macro was only invoked conditionally.]])
|
||||||
|
fi])])
|
||||||
|
|
||||||
|
|
||||||
|
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
|
||||||
|
# Free Software Foundation, Inc.
|
||||||
|
#
|
||||||
|
# This file is free software; the Free Software Foundation
|
||||||
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
|
# with or without modifications, as long as this notice is preserved.
|
||||||
|
|
||||||
|
# serial 8
|
||||||
|
|
||||||
|
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
|
||||||
|
# written in clear, in which case automake, when reading aclocal.m4,
|
||||||
|
# will think it sees a *use*, and therefore will trigger all it's
|
||||||
|
# C support machinery. Also note that it means that autoscan, seeing
|
||||||
|
# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
|
||||||
|
|
||||||
|
|
||||||
|
# _AM_DEPENDENCIES(NAME)
|
||||||
|
# ----------------------
|
||||||
|
# See how the compiler implements dependency checking.
|
||||||
|
# NAME is "CC", "CXX", "GCJ", or "OBJC".
|
||||||
|
# We try a few techniques and use that to set a single cache variable.
|
||||||
|
#
|
||||||
|
# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
|
||||||
|
# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
|
||||||
|
# dependency, and given that the user is not expected to run this macro,
|
||||||
|
# just rely on AC_PROG_CC.
|
||||||
|
AC_DEFUN([_AM_DEPENDENCIES],
|
||||||
|
[AC_REQUIRE([AM_SET_DEPDIR])dnl
|
||||||
|
AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
|
||||||
|
AC_REQUIRE([AM_MAKE_INCLUDE])dnl
|
||||||
|
AC_REQUIRE([AM_DEP_TRACK])dnl
|
||||||
|
|
||||||
|
ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
|
||||||
|
[$1], CXX, [depcc="$CXX" am_compiler_list=],
|
||||||
|
[$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
|
||||||
|
[$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
|
||||||
|
[depcc="$$1" am_compiler_list=])
|
||||||
|
|
||||||
|
AC_CACHE_CHECK([dependency style of $depcc],
|
||||||
|
[am_cv_$1_dependencies_compiler_type],
|
||||||
|
[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
|
||||||
|
# We make a subdir and do the tests there. Otherwise we can end up
|
||||||
|
# making bogus files that we don't know about and never remove. For
|
||||||
|
# instance it was reported that on HP-UX the gcc test will end up
|
||||||
|
# making a dummy file named `D' -- because `-MD' means `put the output
|
||||||
|
# in D'.
|
||||||
|
mkdir conftest.dir
|
||||||
|
# Copy depcomp to subdir because otherwise we won't find it if we're
|
||||||
|
# using a relative directory.
|
||||||
|
cp "$am_depcomp" conftest.dir
|
||||||
|
cd conftest.dir
|
||||||
|
# We will build objects and dependencies in a subdirectory because
|
||||||
|
# it helps to detect inapplicable dependency modes. For instance
|
||||||
|
# both Tru64's cc and ICC support -MD to output dependencies as a
|
||||||
|
# side effect of compilation, but ICC will put the dependencies in
|
||||||
|
# the current directory while Tru64 will put them in the object
|
||||||
|
# directory.
|
||||||
|
mkdir sub
|
||||||
|
|
||||||
|
am_cv_$1_dependencies_compiler_type=none
|
||||||
|
if test "$am_compiler_list" = ""; then
|
||||||
|
am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
|
||||||
|
fi
|
||||||
|
for depmode in $am_compiler_list; do
|
||||||
|
# Setup a source with many dependencies, because some compilers
|
||||||
|
# like to wrap large dependency lists on column 80 (with \), and
|
||||||
|
# we should not choose a depcomp mode which is confused by this.
|
||||||
|
#
|
||||||
|
# We need to recreate these files for each test, as the compiler may
|
||||||
|
# overwrite some of them when testing with obscure command lines.
|
||||||
|
# This happens at least with the AIX C compiler.
|
||||||
|
: > sub/conftest.c
|
||||||
|
for i in 1 2 3 4 5 6; do
|
||||||
|
echo '#include "conftst'$i'.h"' >> sub/conftest.c
|
||||||
|
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
|
||||||
|
# Solaris 8's {/usr,}/bin/sh.
|
||||||
|
touch sub/conftst$i.h
|
||||||
|
done
|
||||||
|
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
|
||||||
|
|
||||||
|
case $depmode in
|
||||||
|
nosideeffect)
|
||||||
|
# after this tag, mechanisms are not by side-effect, so they'll
|
||||||
|
# only be used when explicitly requested
|
||||||
|
if test "x$enable_dependency_tracking" = xyes; then
|
||||||
|
continue
|
||||||
|
else
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
none) break ;;
|
||||||
|
esac
|
||||||
|
# We check with `-c' and `-o' for the sake of the "dashmstdout"
|
||||||
|
# mode. It turns out that the SunPro C++ compiler does not properly
|
||||||
|
# handle `-M -o', and we need to detect this.
|
||||||
|
if depmode=$depmode \
|
||||||
|
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
|
||||||
|
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
|
||||||
|
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
|
||||||
|
>/dev/null 2>conftest.err &&
|
||||||
|
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
|
||||||
|
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
|
||||||
|
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
|
||||||
|
# icc doesn't choke on unknown options, it will just issue warnings
|
||||||
|
# or remarks (even with -Werror). So we grep stderr for any message
|
||||||
|
# that says an option was ignored or not supported.
|
||||||
|
# When given -MP, icc 7.0 and 7.1 complain thusly:
|
||||||
|
# icc: Command line warning: ignoring option '-M'; no argument required
|
||||||
|
# The diagnosis changed in icc 8.0:
|
||||||
|
# icc: Command line remark: option '-MP' not supported
|
||||||
|
if (grep 'ignoring option' conftest.err ||
|
||||||
|
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
|
||||||
|
am_cv_$1_dependencies_compiler_type=$depmode
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
cd ..
|
||||||
|
rm -rf conftest.dir
|
||||||
|
else
|
||||||
|
am_cv_$1_dependencies_compiler_type=none
|
||||||
|
fi
|
||||||
|
])
|
||||||
|
AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
|
||||||
|
AM_CONDITIONAL([am__fastdep$1], [
|
||||||
|
test "x$enable_dependency_tracking" != xno \
|
||||||
|
&& test "$am_cv_$1_dependencies_compiler_type" = gcc3])
|
||||||
|
])
|
||||||
|
|
||||||
|
|
||||||
|
# AM_SET_DEPDIR
|
||||||
|
# -------------
|
||||||
|
# Choose a directory name for dependency files.
|
||||||
|
# This macro is AC_REQUIREd in _AM_DEPENDENCIES
|
||||||
|
AC_DEFUN([AM_SET_DEPDIR],
|
||||||
|
[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
|
||||||
|
AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
|
||||||
|
])
|
||||||
|
|
||||||
|
|
||||||
|
# AM_DEP_TRACK
|
||||||
|
# ------------
|
||||||
|
AC_DEFUN([AM_DEP_TRACK],
|
||||||
|
[AC_ARG_ENABLE(dependency-tracking,
|
||||||
|
[ --disable-dependency-tracking speeds up one-time build
|
||||||
|
--enable-dependency-tracking do not reject slow dependency extractors])
|
||||||
|
if test "x$enable_dependency_tracking" != xno; then
|
||||||
|
am_depcomp="$ac_aux_dir/depcomp"
|
||||||
|
AMDEPBACKSLASH='\'
|
||||||
|
fi
|
||||||
|
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
|
||||||
|
AC_SUBST([AMDEPBACKSLASH])
|
||||||
|
])
|
||||||
|
|
||||||
|
# Generate code to set up dependency tracking. -*- Autoconf -*-
|
||||||
|
|
||||||
|
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
|
||||||
|
# Free Software Foundation, Inc.
|
||||||
|
#
|
||||||
|
# This file is free software; the Free Software Foundation
|
||||||
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
|
# with or without modifications, as long as this notice is preserved.
|
||||||
|
|
||||||
|
#serial 3
|
||||||
|
|
||||||
|
# _AM_OUTPUT_DEPENDENCY_COMMANDS
|
||||||
|
# ------------------------------
|
||||||
|
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
|
||||||
|
[for mf in $CONFIG_FILES; do
|
||||||
|
# Strip MF so we end up with the name of the file.
|
||||||
|
mf=`echo "$mf" | sed -e 's/:.*$//'`
|
||||||
|
# Check whether this is an Automake generated Makefile or not.
|
||||||
|
# We used to match only the files named `Makefile.in', but
|
||||||
|
# some people rename them; so instead we look at the file content.
|
||||||
|
# Grep'ing the first line is not enough: some people post-process
|
||||||
|
# each Makefile.in and add a new line on top of each file to say so.
|
||||||
|
# So let's grep whole file.
|
||||||
|
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
|
||||||
|
dirpart=`AS_DIRNAME("$mf")`
|
||||||
|
else
|
||||||
|
continue
|
||||||
|
fi
|
||||||
|
# Extract the definition of DEPDIR, am__include, and am__quote
|
||||||
|
# from the Makefile without running `make'.
|
||||||
|
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
|
||||||
|
test -z "$DEPDIR" && continue
|
||||||
|
am__include=`sed -n 's/^am__include = //p' < "$mf"`
|
||||||
|
test -z "am__include" && continue
|
||||||
|
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
|
||||||
|
# When using ansi2knr, U may be empty or an underscore; expand it
|
||||||
|
U=`sed -n 's/^U = //p' < "$mf"`
|
||||||
|
# Find all dependency output files, they are included files with
|
||||||
|
# $(DEPDIR) in their names. We invoke sed twice because it is the
|
||||||
|
# simplest approach to changing $(DEPDIR) to its actual value in the
|
||||||
|
# expansion.
|
||||||
|
for file in `sed -n "
|
||||||
|
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
|
||||||
|
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
|
||||||
|
# Make sure the directory exists.
|
||||||
|
test -f "$dirpart/$file" && continue
|
||||||
|
fdir=`AS_DIRNAME(["$file"])`
|
||||||
|
AS_MKDIR_P([$dirpart/$fdir])
|
||||||
|
# echo "creating $dirpart/$file"
|
||||||
|
echo '# dummy' > "$dirpart/$file"
|
||||||
|
done
|
||||||
|
done
|
||||||
|
])# _AM_OUTPUT_DEPENDENCY_COMMANDS
|
||||||
|
|
||||||
|
|
||||||
|
# AM_OUTPUT_DEPENDENCY_COMMANDS
|
||||||
|
# -----------------------------
|
||||||
|
# This macro should only be invoked once -- use via AC_REQUIRE.
|
||||||
|
#
|
||||||
|
# This code is only required when automatic dependency tracking
|
||||||
|
# is enabled. FIXME. This creates each `.P' file that we will
|
||||||
|
# need in order to bootstrap the dependency handling code.
|
||||||
|
AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
|
||||||
|
[AC_CONFIG_COMMANDS([depfiles],
|
||||||
|
[test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
|
||||||
|
[AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
|
||||||
|
])
|
||||||
|
|
||||||
|
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
|
||||||
|
# Free Software Foundation, Inc.
|
||||||
|
#
|
||||||
|
# This file is free software; the Free Software Foundation
|
||||||
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
|
# with or without modifications, as long as this notice is preserved.
|
||||||
|
|
||||||
|
# serial 8
|
||||||
|
|
||||||
|
# AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS.
|
||||||
|
AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
|
||||||
|
|
||||||
|
# Do all the work for Automake. -*- Autoconf -*-
|
||||||
|
|
||||||
|
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
|
||||||
|
# Free Software Foundation, Inc.
|
||||||
|
#
|
||||||
|
# This file is free software; the Free Software Foundation
|
||||||
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
|
# with or without modifications, as long as this notice is preserved.
|
||||||
|
|
||||||
|
# serial 12
|
||||||
|
|
||||||
|
# This macro actually does too much. Some checks are only needed if
|
||||||
|
# your package does certain things. But this isn't really a big deal.
|
||||||
|
|
||||||
|
# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
|
||||||
|
# AM_INIT_AUTOMAKE([OPTIONS])
|
||||||
|
# -----------------------------------------------
|
||||||
|
# The call with PACKAGE and VERSION arguments is the old style
|
||||||
|
# call (pre autoconf-2.50), which is being phased out. PACKAGE
|
||||||
|
# and VERSION should now be passed to AC_INIT and removed from
|
||||||
|
# the call to AM_INIT_AUTOMAKE.
|
||||||
|
# We support both call styles for the transition. After
|
||||||
|
# the next Automake release, Autoconf can make the AC_INIT
|
||||||
|
# arguments mandatory, and then we can depend on a new Autoconf
|
||||||
|
# release and drop the old call support.
|
||||||
|
AC_DEFUN([AM_INIT_AUTOMAKE],
|
||||||
|
[AC_PREREQ([2.58])dnl
|
||||||
|
dnl Autoconf wants to disallow AM_ names. We explicitly allow
|
||||||
|
dnl the ones we care about.
|
||||||
|
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
|
||||||
|
AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
|
||||||
|
AC_REQUIRE([AC_PROG_INSTALL])dnl
|
||||||
|
# test to see if srcdir already configured
|
||||||
|
if test "`cd $srcdir && pwd`" != "`pwd`" &&
|
||||||
|
test -f $srcdir/config.status; then
|
||||||
|
AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
|
||||||
|
fi
|
||||||
|
|
||||||
|
# test whether we have cygpath
|
||||||
|
if test -z "$CYGPATH_W"; then
|
||||||
|
if (cygpath --version) >/dev/null 2>/dev/null; then
|
||||||
|
CYGPATH_W='cygpath -w'
|
||||||
|
else
|
||||||
|
CYGPATH_W=echo
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
AC_SUBST([CYGPATH_W])
|
||||||
|
|
||||||
|
# Define the identity of the package.
|
||||||
|
dnl Distinguish between old-style and new-style calls.
|
||||||
|
m4_ifval([$2],
|
||||||
|
[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
|
||||||
|
AC_SUBST([PACKAGE], [$1])dnl
|
||||||
|
AC_SUBST([VERSION], [$2])],
|
||||||
|
[_AM_SET_OPTIONS([$1])dnl
|
||||||
|
AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
|
||||||
|
AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
|
||||||
|
|
||||||
|
_AM_IF_OPTION([no-define],,
|
||||||
|
[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
|
||||||
|
AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
|
||||||
|
|
||||||
|
# Some tools Automake needs.
|
||||||
|
AC_REQUIRE([AM_SANITY_CHECK])dnl
|
||||||
|
AC_REQUIRE([AC_ARG_PROGRAM])dnl
|
||||||
|
AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
|
||||||
|
AM_MISSING_PROG(AUTOCONF, autoconf)
|
||||||
|
AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
|
||||||
|
AM_MISSING_PROG(AUTOHEADER, autoheader)
|
||||||
|
AM_MISSING_PROG(MAKEINFO, makeinfo)
|
||||||
|
AM_PROG_INSTALL_SH
|
||||||
|
AM_PROG_INSTALL_STRIP
|
||||||
|
AC_REQUIRE([AM_PROG_MKDIR_P])dnl
|
||||||
|
# We need awk for the "check" target. The system "awk" is bad on
|
||||||
|
# some platforms.
|
||||||
|
AC_REQUIRE([AC_PROG_AWK])dnl
|
||||||
|
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
|
||||||
|
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
|
||||||
|
_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
|
||||||
|
[_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
|
||||||
|
[_AM_PROG_TAR([v7])])])
|
||||||
|
_AM_IF_OPTION([no-dependencies],,
|
||||||
|
[AC_PROVIDE_IFELSE([AC_PROG_CC],
|
||||||
|
[_AM_DEPENDENCIES(CC)],
|
||||||
|
[define([AC_PROG_CC],
|
||||||
|
defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
|
||||||
|
AC_PROVIDE_IFELSE([AC_PROG_CXX],
|
||||||
|
[_AM_DEPENDENCIES(CXX)],
|
||||||
|
[define([AC_PROG_CXX],
|
||||||
|
defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
|
||||||
|
])
|
||||||
|
])
|
||||||
|
|
||||||
|
|
||||||
|
# When config.status generates a header, we must update the stamp-h file.
|
||||||
|
# This file resides in the same directory as the config header
|
||||||
|
# that is generated. The stamp files are numbered to have different names.
|
||||||
|
|
||||||
|
# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
|
||||||
|
# loop where config.status creates the headers, so we can generate
|
||||||
|
# our stamp files there.
|
||||||
|
AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
|
||||||
|
[# Compute $1's index in $config_headers.
|
||||||
|
_am_stamp_count=1
|
||||||
|
for _am_header in $config_headers :; do
|
||||||
|
case $_am_header in
|
||||||
|
$1 | $1:* )
|
||||||
|
break ;;
|
||||||
|
* )
|
||||||
|
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
|
||||||
|
|
||||||
|
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
|
||||||
|
#
|
||||||
|
# This file is free software; the Free Software Foundation
|
||||||
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
|
# with or without modifications, as long as this notice is preserved.
|
||||||
|
|
||||||
|
# AM_PROG_INSTALL_SH
|
||||||
|
# ------------------
|
||||||
|
# Define $install_sh.
|
||||||
|
AC_DEFUN([AM_PROG_INSTALL_SH],
|
||||||
|
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
|
||||||
|
install_sh=${install_sh-"$am_aux_dir/install-sh"}
|
||||||
|
AC_SUBST(install_sh)])
|
||||||
|
|
||||||
|
# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
|
||||||
|
#
|
||||||
|
# This file is free software; the Free Software Foundation
|
||||||
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
|
# with or without modifications, as long as this notice is preserved.
|
||||||
|
|
||||||
|
# serial 2
|
||||||
|
|
||||||
|
# Check whether the underlying file-system supports filenames
|
||||||
|
# with a leading dot. For instance MS-DOS doesn't.
|
||||||
|
AC_DEFUN([AM_SET_LEADING_DOT],
|
||||||
|
[rm -rf .tst 2>/dev/null
|
||||||
|
mkdir .tst 2>/dev/null
|
||||||
|
if test -d .tst; then
|
||||||
|
am__leading_dot=.
|
||||||
|
else
|
||||||
|
am__leading_dot=_
|
||||||
|
fi
|
||||||
|
rmdir .tst 2>/dev/null
|
||||||
|
AC_SUBST([am__leading_dot])])
|
||||||
|
|
||||||
|
# Check to see how 'make' treats includes. -*- Autoconf -*-
|
||||||
|
|
||||||
|
# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
|
||||||
|
#
|
||||||
|
# This file is free software; the Free Software Foundation
|
||||||
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
|
# with or without modifications, as long as this notice is preserved.
|
||||||
|
|
||||||
|
# serial 3
|
||||||
|
|
||||||
|
# AM_MAKE_INCLUDE()
|
||||||
|
# -----------------
|
||||||
|
# Check to see how make treats includes.
|
||||||
|
AC_DEFUN([AM_MAKE_INCLUDE],
|
||||||
|
[am_make=${MAKE-make}
|
||||||
|
cat > confinc << 'END'
|
||||||
|
am__doit:
|
||||||
|
@echo done
|
||||||
|
.PHONY: am__doit
|
||||||
|
END
|
||||||
|
# If we don't find an include directive, just comment out the code.
|
||||||
|
AC_MSG_CHECKING([for style of include used by $am_make])
|
||||||
|
am__include="#"
|
||||||
|
am__quote=
|
||||||
|
_am_result=none
|
||||||
|
# First try GNU make style include.
|
||||||
|
echo "include confinc" > confmf
|
||||||
|
# We grep out `Entering directory' and `Leaving directory'
|
||||||
|
# messages which can occur if `w' ends up in MAKEFLAGS.
|
||||||
|
# In particular we don't look at `^make:' because GNU make might
|
||||||
|
# be invoked under some other name (usually "gmake"), in which
|
||||||
|
# case it prints its new name instead of `make'.
|
||||||
|
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
|
||||||
|
am__include=include
|
||||||
|
am__quote=
|
||||||
|
_am_result=GNU
|
||||||
|
fi
|
||||||
|
# Now try BSD make style include.
|
||||||
|
if test "$am__include" = "#"; then
|
||||||
|
echo '.include "confinc"' > confmf
|
||||||
|
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
|
||||||
|
am__include=.include
|
||||||
|
am__quote="\""
|
||||||
|
_am_result=BSD
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
AC_SUBST([am__include])
|
||||||
|
AC_SUBST([am__quote])
|
||||||
|
AC_MSG_RESULT([$_am_result])
|
||||||
|
rm -f confinc confmf
|
||||||
|
])
|
||||||
|
|
||||||
|
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
|
||||||
|
|
||||||
|
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005
|
||||||
|
# Free Software Foundation, Inc.
|
||||||
|
#
|
||||||
|
# This file is free software; the Free Software Foundation
|
||||||
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
|
# with or without modifications, as long as this notice is preserved.
|
||||||
|
|
||||||
|
# serial 4
|
||||||
|
|
||||||
|
# AM_MISSING_PROG(NAME, PROGRAM)
|
||||||
|
# ------------------------------
|
||||||
|
AC_DEFUN([AM_MISSING_PROG],
|
||||||
|
[AC_REQUIRE([AM_MISSING_HAS_RUN])
|
||||||
|
$1=${$1-"${am_missing_run}$2"}
|
||||||
|
AC_SUBST($1)])
|
||||||
|
|
||||||
|
|
||||||
|
# AM_MISSING_HAS_RUN
|
||||||
|
# ------------------
|
||||||
|
# Define MISSING if not defined so far and test if it supports --run.
|
||||||
|
# If it does, set am_missing_run to use it, otherwise, to nothing.
|
||||||
|
AC_DEFUN([AM_MISSING_HAS_RUN],
|
||||||
|
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
|
||||||
|
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
|
||||||
|
# Use eval to expand $SHELL
|
||||||
|
if eval "$MISSING --run true"; then
|
||||||
|
am_missing_run="$MISSING --run "
|
||||||
|
else
|
||||||
|
am_missing_run=
|
||||||
|
AC_MSG_WARN([`missing' script is too old or missing])
|
||||||
|
fi
|
||||||
|
])
|
||||||
|
|
||||||
|
# Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
|
||||||
|
#
|
||||||
|
# This file is free software; the Free Software Foundation
|
||||||
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
|
# with or without modifications, as long as this notice is preserved.
|
||||||
|
|
||||||
|
# AM_PROG_MKDIR_P
|
||||||
|
# ---------------
|
||||||
|
# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
|
||||||
|
#
|
||||||
|
# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
|
||||||
|
# created by `make install' are always world readable, even if the
|
||||||
|
# installer happens to have an overly restrictive umask (e.g. 077).
|
||||||
|
# This was a mistake. There are at least two reasons why we must not
|
||||||
|
# use `-m 0755':
|
||||||
|
# - it causes special bits like SGID to be ignored,
|
||||||
|
# - it may be too restrictive (some setups expect 775 directories).
|
||||||
|
#
|
||||||
|
# Do not use -m 0755 and let people choose whatever they expect by
|
||||||
|
# setting umask.
|
||||||
|
#
|
||||||
|
# We cannot accept any implementation of `mkdir' that recognizes `-p'.
|
||||||
|
# Some implementations (such as Solaris 8's) are not thread-safe: if a
|
||||||
|
# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
|
||||||
|
# concurrently, both version can detect that a/ is missing, but only
|
||||||
|
# one can create it and the other will error out. Consequently we
|
||||||
|
# restrict ourselves to GNU make (using the --version option ensures
|
||||||
|
# this.)
|
||||||
|
AC_DEFUN([AM_PROG_MKDIR_P],
|
||||||
|
[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
|
||||||
|
# We used to keeping the `.' as first argument, in order to
|
||||||
|
# allow $(mkdir_p) to be used without argument. As in
|
||||||
|
# $(mkdir_p) $(somedir)
|
||||||
|
# where $(somedir) is conditionally defined. However this is wrong
|
||||||
|
# for two reasons:
|
||||||
|
# 1. if the package is installed by a user who cannot write `.'
|
||||||
|
# make install will fail,
|
||||||
|
# 2. the above comment should most certainly read
|
||||||
|
# $(mkdir_p) $(DESTDIR)$(somedir)
|
||||||
|
# so it does not work when $(somedir) is undefined and
|
||||||
|
# $(DESTDIR) is not.
|
||||||
|
# To support the latter case, we have to write
|
||||||
|
# test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
|
||||||
|
# so the `.' trick is pointless.
|
||||||
|
mkdir_p='mkdir -p --'
|
||||||
|
else
|
||||||
|
# On NextStep and OpenStep, the `mkdir' command does not
|
||||||
|
# recognize any option. It will interpret all options as
|
||||||
|
# directories to create, and then abort because `.' already
|
||||||
|
# exists.
|
||||||
|
for d in ./-p ./--version;
|
||||||
|
do
|
||||||
|
test -d $d && rmdir $d
|
||||||
|
done
|
||||||
|
# $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
|
||||||
|
if test -f "$ac_aux_dir/mkinstalldirs"; then
|
||||||
|
mkdir_p='$(mkinstalldirs)'
|
||||||
|
else
|
||||||
|
mkdir_p='$(install_sh) -d'
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
AC_SUBST([mkdir_p])])
|
||||||
|
|
||||||
|
# Helper functions for option handling. -*- Autoconf -*-
|
||||||
|
|
||||||
|
# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
|
||||||
|
#
|
||||||
|
# This file is free software; the Free Software Foundation
|
||||||
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
|
# with or without modifications, as long as this notice is preserved.
|
||||||
|
|
||||||
|
# serial 3
|
||||||
|
|
||||||
|
# _AM_MANGLE_OPTION(NAME)
|
||||||
|
# -----------------------
|
||||||
|
AC_DEFUN([_AM_MANGLE_OPTION],
|
||||||
|
[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
|
||||||
|
|
||||||
|
# _AM_SET_OPTION(NAME)
|
||||||
|
# ------------------------------
|
||||||
|
# Set option NAME. Presently that only means defining a flag for this option.
|
||||||
|
AC_DEFUN([_AM_SET_OPTION],
|
||||||
|
[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
|
||||||
|
|
||||||
|
# _AM_SET_OPTIONS(OPTIONS)
|
||||||
|
# ----------------------------------
|
||||||
|
# OPTIONS is a space-separated list of Automake options.
|
||||||
|
AC_DEFUN([_AM_SET_OPTIONS],
|
||||||
|
[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
|
||||||
|
|
||||||
|
# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
|
||||||
|
# -------------------------------------------
|
||||||
|
# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
|
||||||
|
AC_DEFUN([_AM_IF_OPTION],
|
||||||
|
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
|
||||||
|
|
||||||
|
# Check to make sure that the build environment is sane. -*- Autoconf -*-
|
||||||
|
|
||||||
|
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
|
||||||
|
# Free Software Foundation, Inc.
|
||||||
|
#
|
||||||
|
# This file is free software; the Free Software Foundation
|
||||||
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
|
# with or without modifications, as long as this notice is preserved.
|
||||||
|
|
||||||
|
# serial 4
|
||||||
|
|
||||||
|
# AM_SANITY_CHECK
|
||||||
|
# ---------------
|
||||||
|
AC_DEFUN([AM_SANITY_CHECK],
|
||||||
|
[AC_MSG_CHECKING([whether build environment is sane])
|
||||||
|
# Just in case
|
||||||
|
sleep 1
|
||||||
|
echo timestamp > conftest.file
|
||||||
|
# Do `set' in a subshell so we don't clobber the current shell's
|
||||||
|
# arguments. Must try -L first in case configure is actually a
|
||||||
|
# symlink; some systems play weird games with the mod time of symlinks
|
||||||
|
# (eg FreeBSD returns the mod time of the symlink's containing
|
||||||
|
# directory).
|
||||||
|
if (
|
||||||
|
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
|
||||||
|
if test "$[*]" = "X"; then
|
||||||
|
# -L didn't work.
|
||||||
|
set X `ls -t $srcdir/configure conftest.file`
|
||||||
|
fi
|
||||||
|
rm -f conftest.file
|
||||||
|
if test "$[*]" != "X $srcdir/configure conftest.file" \
|
||||||
|
&& test "$[*]" != "X conftest.file $srcdir/configure"; then
|
||||||
|
|
||||||
|
# If neither matched, then we have a broken ls. This can happen
|
||||||
|
# if, for instance, CONFIG_SHELL is bash and it inherits a
|
||||||
|
# broken ls alias from the environment. This has actually
|
||||||
|
# happened. Such a system could not be considered "sane".
|
||||||
|
AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
|
||||||
|
alias in your environment])
|
||||||
|
fi
|
||||||
|
|
||||||
|
test "$[2]" = conftest.file
|
||||||
|
)
|
||||||
|
then
|
||||||
|
# Ok.
|
||||||
|
:
|
||||||
|
else
|
||||||
|
AC_MSG_ERROR([newly created file is older than distributed files!
|
||||||
|
Check your system clock])
|
||||||
|
fi
|
||||||
|
AC_MSG_RESULT(yes)])
|
||||||
|
|
||||||
|
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
|
||||||
|
#
|
||||||
|
# This file is free software; the Free Software Foundation
|
||||||
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
|
# with or without modifications, as long as this notice is preserved.
|
||||||
|
|
||||||
|
# AM_PROG_INSTALL_STRIP
|
||||||
|
# ---------------------
|
||||||
|
# One issue with vendor `install' (even GNU) is that you can't
|
||||||
|
# specify the program used to strip binaries. This is especially
|
||||||
|
# annoying in cross-compiling environments, where the build's strip
|
||||||
|
# is unlikely to handle the host's binaries.
|
||||||
|
# Fortunately install-sh will honor a STRIPPROG variable, so we
|
||||||
|
# always use install-sh in `make install-strip', and initialize
|
||||||
|
# STRIPPROG with the value of the STRIP variable (set by the user).
|
||||||
|
AC_DEFUN([AM_PROG_INSTALL_STRIP],
|
||||||
|
[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
|
||||||
|
# Installed binaries are usually stripped using `strip' when the user
|
||||||
|
# run `make install-strip'. However `strip' might not be the right
|
||||||
|
# tool to use in cross-compilation environments, therefore Automake
|
||||||
|
# will honor the `STRIP' environment variable to overrule this program.
|
||||||
|
dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
|
||||||
|
if test "$cross_compiling" != no; then
|
||||||
|
AC_CHECK_TOOL([STRIP], [strip], :)
|
||||||
|
fi
|
||||||
|
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
|
||||||
|
AC_SUBST([INSTALL_STRIP_PROGRAM])])
|
||||||
|
|
||||||
|
# Check how to create a tarball. -*- Autoconf -*-
|
||||||
|
|
||||||
|
# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
|
||||||
|
#
|
||||||
|
# This file is free software; the Free Software Foundation
|
||||||
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
|
# with or without modifications, as long as this notice is preserved.
|
||||||
|
|
||||||
|
# serial 2
|
||||||
|
|
||||||
|
# _AM_PROG_TAR(FORMAT)
|
||||||
|
# --------------------
|
||||||
|
# Check how to create a tarball in format FORMAT.
|
||||||
|
# FORMAT should be one of `v7', `ustar', or `pax'.
|
||||||
|
#
|
||||||
|
# Substitute a variable $(am__tar) that is a command
|
||||||
|
# writing to stdout a FORMAT-tarball containing the directory
|
||||||
|
# $tardir.
|
||||||
|
# tardir=directory && $(am__tar) > result.tar
|
||||||
|
#
|
||||||
|
# Substitute a variable $(am__untar) that extract such
|
||||||
|
# a tarball read from stdin.
|
||||||
|
# $(am__untar) < result.tar
|
||||||
|
AC_DEFUN([_AM_PROG_TAR],
|
||||||
|
[# Always define AMTAR for backward compatibility.
|
||||||
|
AM_MISSING_PROG([AMTAR], [tar])
|
||||||
|
m4_if([$1], [v7],
|
||||||
|
[am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
|
||||||
|
[m4_case([$1], [ustar],, [pax],,
|
||||||
|
[m4_fatal([Unknown tar format])])
|
||||||
|
AC_MSG_CHECKING([how to create a $1 tar archive])
|
||||||
|
# Loop over all known methods to create a tar archive until one works.
|
||||||
|
_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
|
||||||
|
_am_tools=${am_cv_prog_tar_$1-$_am_tools}
|
||||||
|
# Do not fold the above two line into one, because Tru64 sh and
|
||||||
|
# Solaris sh will not grok spaces in the rhs of `-'.
|
||||||
|
for _am_tool in $_am_tools
|
||||||
|
do
|
||||||
|
case $_am_tool in
|
||||||
|
gnutar)
|
||||||
|
for _am_tar in tar gnutar gtar;
|
||||||
|
do
|
||||||
|
AM_RUN_LOG([$_am_tar --version]) && break
|
||||||
|
done
|
||||||
|
am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
|
||||||
|
am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
|
||||||
|
am__untar="$_am_tar -xf -"
|
||||||
|
;;
|
||||||
|
plaintar)
|
||||||
|
# Must skip GNU tar: if it does not support --format= it doesn't create
|
||||||
|
# ustar tarball either.
|
||||||
|
(tar --version) >/dev/null 2>&1 && continue
|
||||||
|
am__tar='tar chf - "$$tardir"'
|
||||||
|
am__tar_='tar chf - "$tardir"'
|
||||||
|
am__untar='tar xf -'
|
||||||
|
;;
|
||||||
|
pax)
|
||||||
|
am__tar='pax -L -x $1 -w "$$tardir"'
|
||||||
|
am__tar_='pax -L -x $1 -w "$tardir"'
|
||||||
|
am__untar='pax -r'
|
||||||
|
;;
|
||||||
|
cpio)
|
||||||
|
am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
|
||||||
|
am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
|
||||||
|
am__untar='cpio -i -H $1 -d'
|
||||||
|
;;
|
||||||
|
none)
|
||||||
|
am__tar=false
|
||||||
|
am__tar_=false
|
||||||
|
am__untar=false
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
# If the value was cached, stop now. We just wanted to have am__tar
|
||||||
|
# and am__untar set.
|
||||||
|
test -n "${am_cv_prog_tar_$1}" && break
|
||||||
|
|
||||||
|
# tar/untar a dummy directory, and stop if the command works
|
||||||
|
rm -rf conftest.dir
|
||||||
|
mkdir conftest.dir
|
||||||
|
echo GrepMe > conftest.dir/file
|
||||||
|
AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
|
||||||
|
rm -rf conftest.dir
|
||||||
|
if test -s conftest.tar; then
|
||||||
|
AM_RUN_LOG([$am__untar <conftest.tar])
|
||||||
|
grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
rm -rf conftest.dir
|
||||||
|
|
||||||
|
AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
|
||||||
|
AC_MSG_RESULT([$am_cv_prog_tar_$1])])
|
||||||
|
AC_SUBST([am__tar])
|
||||||
|
AC_SUBST([am__untar])
|
||||||
|
]) # _AM_PROG_TAR
|
||||||
|
|
||||||
|
m4_include([acinclude.m4])
|
@ -0,0 +1,244 @@
|
|||||||
|
/* config.h.in. Generated from configure.in by autoheader. */
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <Carbon/Carbon.h> header file. */
|
||||||
|
#undef HAVE_CARBON_CARBON_H
|
||||||
|
|
||||||
|
/* Define if you have the CoreAudio API */
|
||||||
|
#undef HAVE_COREAUDIO
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <crt_externs.h> header file. */
|
||||||
|
#undef HAVE_CRT_EXTERNS_H
|
||||||
|
|
||||||
|
/* Defines if your system has the crypt function */
|
||||||
|
#undef HAVE_CRYPT
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <dlfcn.h> header file. */
|
||||||
|
#undef HAVE_DLFCN_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||||
|
#undef HAVE_INTTYPES_H
|
||||||
|
|
||||||
|
/* Define if you have libjpeg */
|
||||||
|
#undef HAVE_LIBJPEG
|
||||||
|
|
||||||
|
/* Define if you have libpng */
|
||||||
|
#undef HAVE_LIBPNG
|
||||||
|
|
||||||
|
/* Define if you have a working libpthread (will enable threaded code) */
|
||||||
|
#undef HAVE_LIBPTHREAD
|
||||||
|
|
||||||
|
/* Define if you have libz */
|
||||||
|
#undef HAVE_LIBZ
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <memory.h> header file. */
|
||||||
|
#undef HAVE_MEMORY_H
|
||||||
|
|
||||||
|
/* Define if your system needs _NSGetEnviron to set up the environment */
|
||||||
|
#undef HAVE_NSGETENVIRON
|
||||||
|
|
||||||
|
/* Define if you have res_init */
|
||||||
|
#undef HAVE_RES_INIT
|
||||||
|
|
||||||
|
/* Define if you have the res_init prototype */
|
||||||
|
#undef HAVE_RES_INIT_PROTO
|
||||||
|
|
||||||
|
/* Define if you have a STL implementation by SGI */
|
||||||
|
#undef HAVE_SGI_STL
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `snprintf' function. */
|
||||||
|
#undef HAVE_SNPRINTF
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <stdint.h> header file. */
|
||||||
|
#undef HAVE_STDINT_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||||
|
#undef HAVE_STDLIB_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <strings.h> header file. */
|
||||||
|
#undef HAVE_STRINGS_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <string.h> header file. */
|
||||||
|
#undef HAVE_STRING_H
|
||||||
|
|
||||||
|
/* Define if you have strlcat */
|
||||||
|
#undef HAVE_STRLCAT
|
||||||
|
|
||||||
|
/* Define if you have the strlcat prototype */
|
||||||
|
#undef HAVE_STRLCAT_PROTO
|
||||||
|
|
||||||
|
/* Define if you have strlcpy */
|
||||||
|
#undef HAVE_STRLCPY
|
||||||
|
|
||||||
|
/* Define if you have the strlcpy prototype */
|
||||||
|
#undef HAVE_STRLCPY_PROTO
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <sys/bitypes.h> header file. */
|
||||||
|
#undef HAVE_SYS_BITYPES_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||||
|
#undef HAVE_SYS_STAT_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <sys/types.h> header file. */
|
||||||
|
#undef HAVE_SYS_TYPES_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <unistd.h> header file. */
|
||||||
|
#undef HAVE_UNISTD_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `vsnprintf' function. */
|
||||||
|
#undef HAVE_VSNPRINTF
|
||||||
|
|
||||||
|
/* Suffix for lib directories */
|
||||||
|
#undef KDELIBSUFF
|
||||||
|
|
||||||
|
/* 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 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
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#if !defined(HAVE_RES_INIT_PROTO)
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
int res_init(void);
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#if !defined(HAVE_STRLCAT_PROTO)
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
unsigned long strlcat(char*, const char*, unsigned long);
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#if !defined(HAVE_STRLCPY_PROTO)
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
unsigned long strlcpy(char*, const char*, unsigned long);
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* On HP-UX, the declaration of vsnprintf() is needed every time !
|
||||||
|
*/
|
||||||
|
|
||||||
|
#if !defined(HAVE_VSNPRINTF) || defined(hpux)
|
||||||
|
#if __STDC__
|
||||||
|
#include <stdarg.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#else
|
||||||
|
#include <varargs.h>
|
||||||
|
#endif
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C"
|
||||||
|
#endif
|
||||||
|
int vsnprintf(char *str, size_t n, char const *fmt, va_list ap);
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C"
|
||||||
|
#endif
|
||||||
|
int snprintf(char *str, size_t n, char const *fmt, ...);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#if defined(__SVR4) && !defined(__svr4__)
|
||||||
|
#define __svr4__ 1
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
/* type to use in place of socklen_t if not defined */
|
||||||
|
#undef kde_socklen_t
|
||||||
|
|
||||||
|
/* type to use in place of socklen_t if not defined (deprecated, use
|
||||||
|
kde_socklen_t) */
|
||||||
|
#undef ksize_t
|
@ -0,0 +1,2 @@
|
|||||||
|
./admin/configure.in.min
|
||||||
|
configure.in.in
|
@ -0,0 +1,124 @@
|
|||||||
|
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(kdpkg, 0.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_QT(3.2.0)
|
||||||
|
AC_PATH_KDE
|
||||||
|
dnl =======================================================
|
||||||
|
dnl FILE: configure.in.in
|
||||||
|
dnl =======================================================
|
||||||
|
|
||||||
|
#MIN_CONFIG(3.2.0)
|
||||||
|
|
||||||
|
dnl PACKAGE set before
|
||||||
|
AC_C_BIGENDIAN
|
||||||
|
AC_CHECK_KDEMAXPATHLEN
|
||||||
|
|
||||||
|
KDE_CREATE_SUBDIRSLIST
|
||||||
|
AC_CONFIG_FILES([ Makefile ])
|
||||||
|
AC_CONFIG_FILES([ icon/Makefile ])
|
||||||
|
AC_CONFIG_FILES([ kdpkg/Makefile ])
|
||||||
|
AC_CONFIG_FILES([ kdpkg-install/Makefile ])
|
||||||
|
AC_CONFIG_FILES([ po/Makefile ])
|
||||||
|
AC_CONFIG_FILES([ po/de/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 ":"`kde-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 KDEDIRS contains it, e.g. export KDEDIRS=$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
|
@ -0,0 +1,6 @@
|
|||||||
|
#MIN_CONFIG(3.2.0)
|
||||||
|
|
||||||
|
AM_INIT_AUTOMAKE(kdpkg, 0.1)
|
||||||
|
AC_C_BIGENDIAN
|
||||||
|
AC_CHECK_KDEMAXPATHLEN
|
||||||
|
|
@ -0,0 +1,11 @@
|
|||||||
|
kdpkg-kde3 (0.1-0ubuntu2) lucid; urgency=low
|
||||||
|
|
||||||
|
* Initial Lucid build
|
||||||
|
|
||||||
|
-- Timothy Pearson <kb9vqf@pearsoncomputing.net> Fri, 02 Apr 2010 21:20:00 -0600
|
||||||
|
|
||||||
|
kdpkg (0.1-0ubuntu1) intrepid; urgency=low
|
||||||
|
|
||||||
|
* Initial release (LP: #201709)
|
||||||
|
|
||||||
|
-- Alexander Kopf <kopf-alexander@gmx.de> Thu, 03 Jul 2008 22:15:34 +0200
|
@ -0,0 +1 @@
|
|||||||
|
5
|
@ -0,0 +1,14 @@
|
|||||||
|
Source: kdpkg-kde3
|
||||||
|
Section: admin
|
||||||
|
Priority: optional
|
||||||
|
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
|
||||||
|
XSBC-Original-Maintainer: Alexander Kopf <kopf-alexander@gmx.de>
|
||||||
|
Build-Depends: cdbs, debhelper (>= 5), automake, kdelibs4-kde3-dev, gettext
|
||||||
|
Standards-Version: 3.8.3
|
||||||
|
|
||||||
|
Package: kdpkg-kde3
|
||||||
|
Architecture: any
|
||||||
|
Depends: ${shlibs:Depends}, ${misc:Depends}, apt, dpkg (>=1.14)
|
||||||
|
Description: KDE frontend for dpkg [KDE3]
|
||||||
|
kdpkg is a utility for installing .deb package files.
|
||||||
|
It is similar to gdebi, except that kdpkg is a KDE application
|
@ -0,0 +1,59 @@
|
|||||||
|
This package was debianized by Fabian Wuertz <xadras@sidux.com> on
|
||||||
|
Fri, 3 Sep 2007 19:52:51 +0100.
|
||||||
|
|
||||||
|
It was downloaded from http://www.wuertz.org/downloads
|
||||||
|
|
||||||
|
Upstream Author: Fabian Wuertz <xadras@sidux.com>
|
||||||
|
|
||||||
|
Copyright:
|
||||||
|
(C) 2008 Fabian Wuertz <xadras@sidux.com>
|
||||||
|
|
||||||
|
The following file are from knxcc
|
||||||
|
(C) 2006 Andreas Loibl <andreas@andreas-loibl.de>
|
||||||
|
process.cpp klamp/process.cpp
|
||||||
|
klamp-install/process.cpp
|
||||||
|
process.h klamp/process.h
|
||||||
|
klamp-install/process.h
|
||||||
|
|
||||||
|
--- icons ---
|
||||||
|
|
||||||
|
The following icons are from kde-icons-nuovext
|
||||||
|
(C) 2005 Alexandre Moore <alexandre.moore@gmail.com>
|
||||||
|
cancel.png in klamp/kdpkgdialog.ui
|
||||||
|
in klamp-install/installdialog.ui
|
||||||
|
info.png in klamp/kdpkgdialog.ui
|
||||||
|
|
||||||
|
The following icons are from kdelibs-data
|
||||||
|
(c) 2002 Kalle Dalheimer <kalle@kde.org> and many others
|
||||||
|
wizard.png in klamp/kdpkgdialog.ui
|
||||||
|
in klamp-install/installdialog.ui
|
||||||
|
messagebox_warning.png in klamp-install/installdialog.ui
|
||||||
|
|
||||||
|
The following icon is from kde-icons-crystalproject
|
||||||
|
(C) 2005 Everaldo Coelho <everaldo@everaldo.com>
|
||||||
|
help.png in klamp/kdpkgdialog.ui
|
||||||
|
in klamp-install/installdialog.ui
|
||||||
|
package.png in klamp/kdpkgdialog.ui
|
||||||
|
in klamp-install/installdialog.ui
|
||||||
|
|
||||||
|
License:
|
||||||
|
This program is free software; you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License version 2 as
|
||||||
|
published by the Free Software Foundation.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program; if not, write to the Free Software
|
||||||
|
Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
|
||||||
|
MA 02110-1301, USA.
|
||||||
|
|
||||||
|
|
||||||
|
On Debian systems, the complete text of the GNU General
|
||||||
|
Public License can be found in `/usr/share/common-licenses/GPL'.
|
||||||
|
|
||||||
|
The Debian packaging is (C) 2008, Alexander Kopf <kopf-alexander@gmx.de> and
|
||||||
|
is licensed under the GPL, see above.
|
@ -0,0 +1,34 @@
|
|||||||
|
'\" -*- coding: us-ascii -*-
|
||||||
|
.if \n(.g .ds T< \\FC
|
||||||
|
.if \n(.g .ds T> \\F[\n[.fam]]
|
||||||
|
.de URL
|
||||||
|
\\$2 \(la\\$1\(ra\\$3
|
||||||
|
..
|
||||||
|
.if \n(.g .mso www.tmac
|
||||||
|
.TH kdpkg 1 2008-07-03 "" ""
|
||||||
|
.SH NAME
|
||||||
|
kdpkg \- KDE frontend for dpkg
|
||||||
|
.SH SYNOPSIS
|
||||||
|
'nh
|
||||||
|
.fi
|
||||||
|
.ad l
|
||||||
|
\fBkdpkg\fR \kx
|
||||||
|
.if (\nx>(\n(.l/2)) .nr x (\n(.l/5)
|
||||||
|
'in \n(.iu+\nxu
|
||||||
|
'in \n(.iu-\nxu
|
||||||
|
.ad b
|
||||||
|
'hy
|
||||||
|
.SH DESCRIPTION
|
||||||
|
If you klick on a .deb file kdpkg starts automatically for installing it.
|
||||||
|
It works like gdebi with the difference that kdpkg is a KDE application
|
||||||
|
.SH COPYRIGHT
|
||||||
|
This manual page was written by Alexander Kopf
|
||||||
|
<\*(T<kopf\-alexander@gmx.de\*(T>> for the
|
||||||
|
Ubuntu system (but may be used by others).
|
||||||
|
Permission is granted to copy, distribute and/or modify this document
|
||||||
|
under the terms of the GNU General Public License,
|
||||||
|
Version 2 or any later version published by the Free Software Foundation.
|
||||||
|
.PP
|
||||||
|
On Debian systems, the complete text of the GNU General Public
|
||||||
|
License can be found in
|
||||||
|
\*(T<\fI/usr/share/common\-licenses/GPL\-2\fR\*(T>.
|
@ -0,0 +1,34 @@
|
|||||||
|
'\" -*- coding: us-ascii -*-
|
||||||
|
.if \n(.g .ds T< \\FC
|
||||||
|
.if \n(.g .ds T> \\F[\n[.fam]]
|
||||||
|
.de URL
|
||||||
|
\\$2 \(la\\$1\(ra\\$3
|
||||||
|
..
|
||||||
|
.if \n(.g .mso www.tmac
|
||||||
|
.TH kdpkg 1 2008-07-03 "" ""
|
||||||
|
.SH NAME
|
||||||
|
kdpkg \- KDE frontend for dpkg
|
||||||
|
.SH SYNOPSIS
|
||||||
|
'nh
|
||||||
|
.fi
|
||||||
|
.ad l
|
||||||
|
\fBkdpkg\fR \kx
|
||||||
|
.if (\nx>(\n(.l/2)) .nr x (\n(.l/5)
|
||||||
|
'in \n(.iu+\nxu
|
||||||
|
'in \n(.iu-\nxu
|
||||||
|
.ad b
|
||||||
|
'hy
|
||||||
|
.SH DESCRIPTION
|
||||||
|
If you klick on a .deb file kdpkg starts automatically for installing it.
|
||||||
|
It works like gdebi with the difference that kdpkg is a KDE application
|
||||||
|
.SH COPYRIGHT
|
||||||
|
This manual page was written by Alexander Kopf
|
||||||
|
<\*(T<kopf\-alexander@gmx.de\*(T>> for the
|
||||||
|
Ubuntu system (but may be used by others).
|
||||||
|
Permission is granted to copy, distribute and/or modify this document
|
||||||
|
under the terms of the GNU General Public License,
|
||||||
|
Version 2 or any later version published by the Free Software Foundation.
|
||||||
|
.PP
|
||||||
|
On Debian systems, the complete text of the GNU General Public
|
||||||
|
License can be found in
|
||||||
|
\*(T<\fI/usr/share/common\-licenses/GPL\-2\fR\*(T>.
|
@ -0,0 +1,2 @@
|
|||||||
|
debian/kdpkg.1
|
||||||
|
debian/kdpkg-install.1
|
@ -0,0 +1,5 @@
|
|||||||
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
|
include /usr/share/cdbs/1/rules/debhelper.mk
|
||||||
|
include /usr/share/cdbs/1/class/autotools.mk
|
||||||
|
include /usr/share/cdbs/1/rules/simple-patchsys.mk
|
@ -0,0 +1 @@
|
|||||||
|
KDE_ICON = AUTO
|
After Width: | Height: | Size: 877 B |
After Width: | Height: | Size: 4.0 KiB |
After Width: | Height: | Size: 2.3 KiB |
After Width: | Height: | Size: 3.6 KiB |
After Width: | Height: | Size: 5.4 KiB |
@ -0,0 +1,32 @@
|
|||||||
|
# set the include path for X, qt and KDE
|
||||||
|
AM_CPPFLAGS = $(all_includes)
|
||||||
|
|
||||||
|
# these are the headers for your project
|
||||||
|
noinst_HEADERS = install.h console.h
|
||||||
|
|
||||||
|
# let automoc handle all of the meta source files (moc)
|
||||||
|
METASOURCES = AUTO
|
||||||
|
|
||||||
|
# the application source, library search path, and link libraries
|
||||||
|
kdpkg_install_SOURCES = main.cpp install.cpp installdialog.ui process.cpp console.cpp consoledialog.ui
|
||||||
|
kdpkg_install_LDFLAGS = $(KDE_RPATH) $(all_libraries)
|
||||||
|
kdpkg_install_LDADD = $(LIB_KDEUI)
|
||||||
|
|
||||||
|
|
||||||
|
# application
|
||||||
|
xdg_apps_DATA = kdpkg-install.desktop
|
||||||
|
bin_PROGRAMS = kdpkg-install
|
||||||
|
|
||||||
|
sharedir = $(pkgdatadir)
|
||||||
|
install-data-local:
|
||||||
|
$(mkinstalldirs) $(DESTDIR)$(sharedir)
|
||||||
|
cp -aR $(srcdir)/icons $(DESTDIR)$(sharedir)/
|
||||||
|
cp -aR $(srcdir)/sh $(DESTDIR)$(sharedir)/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# translation
|
||||||
|
messages: rc.cpp
|
||||||
|
$(EXTRACTRC) `find . -name \*.ui -o -name \*.rc` > rc.cpp
|
||||||
|
$(XGETTEXT) *.cpp -o $(podir)/kdpkg-install.pot
|
||||||
|
|
@ -0,0 +1,88 @@
|
|||||||
|
/***************************************************************************
|
||||||
|
* Copyright (C) 2007 by Fabian Wuertz *
|
||||||
|
* xadras@sidux.com *
|
||||||
|
* *
|
||||||
|
* This program is free software; you can redistribute it and/or modify *
|
||||||
|
* it under the terms of the GNU General Public License as published by *
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or *
|
||||||
|
* (at your option) any later version. *
|
||||||
|
* *
|
||||||
|
* This program is distributed in the hope that it will be useful, *
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||||
|
* GNU General Public License for more details. *
|
||||||
|
* *
|
||||||
|
* You should have received a copy of the GNU General Public License *
|
||||||
|
* along with this program; if not, write to the *
|
||||||
|
* Free Software Foundation, Inc., *
|
||||||
|
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
|
||||||
|
***************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#include <kgenericfactory.h>
|
||||||
|
#include <kpushbutton.h>
|
||||||
|
#include <qlistbox.h>
|
||||||
|
#include <qlineedit.h>
|
||||||
|
#include <qcombobox.h>
|
||||||
|
#include <qwidgetstack.h>
|
||||||
|
#include <qlistview.h>
|
||||||
|
#include <qtextedit.h>
|
||||||
|
|
||||||
|
#include <qlabel.h>
|
||||||
|
#include <qpushbutton.h>
|
||||||
|
|
||||||
|
#include "console.h"
|
||||||
|
|
||||||
|
console::console(QWidget *parent, const QStrList &run, const char *name, const QStringList &)
|
||||||
|
: Widget(parent,name)
|
||||||
|
{
|
||||||
|
//label->setText( name );
|
||||||
|
loadKonsole();
|
||||||
|
konsoleFrame->installEventFilter( this );
|
||||||
|
|
||||||
|
// run command
|
||||||
|
terminal()->startProgram( "/usr/share/kdpkg/sh/kdpkg-sh", run );
|
||||||
|
connect( konsole, SIGNAL(destroyed()), this, SLOT( finish() ) );
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
//--- load console -------------------------------------------------------------
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
void console::loadKonsole()
|
||||||
|
{
|
||||||
|
KLibFactory* factory = KLibLoader::self()->factory( "libsanekonsolepart" );
|
||||||
|
if (!factory)
|
||||||
|
factory = KLibLoader::self()->factory( "libkonsolepart" );
|
||||||
|
konsole = static_cast<KParts::Part*>( factory->create( konsoleFrame, "konsolepart", "QObject", "KParts::ReadOnlyPart" ) );
|
||||||
|
terminal()->setAutoDestroy( true );
|
||||||
|
terminal()->setAutoStartShell( false );
|
||||||
|
konsole->widget()->setGeometry(0, 0, konsoleFrame->width(), konsoleFrame->height());
|
||||||
|
}
|
||||||
|
|
||||||
|
bool console::eventFilter( QObject *o, QEvent *e )
|
||||||
|
{
|
||||||
|
// This function makes the console emulator expanding
|
||||||
|
if ( e->type() == QEvent::Resize )
|
||||||
|
{
|
||||||
|
QResizeEvent *re = dynamic_cast< QResizeEvent * >( e );
|
||||||
|
if ( !re ) return false;
|
||||||
|
konsole->widget()->setGeometry( 0, 0, re->size().width(), re->size().height() );
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
};
|
||||||
|
|
||||||
|
void console::finish()
|
||||||
|
{
|
||||||
|
emit finished(true);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#include "console.moc"
|
||||||
|
|
@ -0,0 +1,56 @@
|
|||||||
|
/***************************************************************************
|
||||||
|
* Copyright (C) 2007 by Fabian Wuertz *
|
||||||
|
* xadras@sidux.com *
|
||||||
|
* *
|
||||||
|
* This program is free software; you can redistribute it and/or modify *
|
||||||
|
* it under the terms of the GNU General Public License as published by *
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or *
|
||||||
|
* (at your option) any later version. *
|
||||||
|
* *
|
||||||
|
* This program is distributed in the hope that it will be useful, *
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||||
|
* GNU General Public License for more details. *
|
||||||
|
* *
|
||||||
|
* You should have received a copy of the GNU General Public License *
|
||||||
|
* along with this program; if not, write to the *
|
||||||
|
* Free Software Foundation, Inc., *
|
||||||
|
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
|
||||||
|
***************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
|
#ifndef _CONSOLE_H_
|
||||||
|
#define _CONSOLE_H_
|
||||||
|
|
||||||
|
#include "consoledialog.h"
|
||||||
|
|
||||||
|
#include <kde_terminal_interface.h>
|
||||||
|
#include <kparts/part.h>
|
||||||
|
|
||||||
|
class console : public Widget
|
||||||
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
|
public:
|
||||||
|
console(QWidget *parent = 0L, const QStrList &run = QStrList(), const char *name = 0L, const QStringList &foo = QStringList());
|
||||||
|
// console
|
||||||
|
ExtTerminalInterface *terminal()
|
||||||
|
{
|
||||||
|
return static_cast<ExtTerminalInterface*>(konsole->qt_cast( "ExtTerminalInterface" ) );
|
||||||
|
}
|
||||||
|
virtual bool eventFilter( QObject *o, QEvent *e );
|
||||||
|
|
||||||
|
public slots:
|
||||||
|
virtual void finish();
|
||||||
|
|
||||||
|
protected slots:
|
||||||
|
void loadKonsole();
|
||||||
|
KParts::Part *konsole;
|
||||||
|
|
||||||
|
signals:
|
||||||
|
void finished(bool);
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
@ -0,0 +1,72 @@
|
|||||||
|
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
|
||||||
|
<class>Widget</class>
|
||||||
|
<widget class="QWidget">
|
||||||
|
<property name="name">
|
||||||
|
<cstring>Widget</cstring>
|
||||||
|
</property>
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>0</x>
|
||||||
|
<y>0</y>
|
||||||
|
<width>546</width>
|
||||||
|
<height>440</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="caption">
|
||||||
|
<string>Widget</string>
|
||||||
|
</property>
|
||||||
|
<grid>
|
||||||
|
<property name="name">
|
||||||
|
<cstring>unnamed</cstring>
|
||||||
|
</property>
|
||||||
|
<widget class="QFrame" row="0" column="0">
|
||||||
|
<property name="name">
|
||||||
|
<cstring>borderFrame</cstring>
|
||||||
|
</property>
|
||||||
|
<property name="frameShape">
|
||||||
|
<enum>GroupBoxPanel</enum>
|
||||||
|
</property>
|
||||||
|
<property name="frameShadow">
|
||||||
|
<enum>Plain</enum>
|
||||||
|
</property>
|
||||||
|
<property name="lineWidth">
|
||||||
|
<number>2</number>
|
||||||
|
</property>
|
||||||
|
<property name="margin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<grid>
|
||||||
|
<property name="name">
|
||||||
|
<cstring>unnamed</cstring>
|
||||||
|
</property>
|
||||||
|
<widget class="QFrame" row="0" column="0">
|
||||||
|
<property name="name">
|
||||||
|
<cstring>konsoleFrame</cstring>
|
||||||
|
</property>
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy>
|
||||||
|
<hsizetype>5</hsizetype>
|
||||||
|
<vsizetype>7</vsizetype>
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
|
<property name="frameShape">
|
||||||
|
<enum>NoFrame</enum>
|
||||||
|
</property>
|
||||||
|
<property name="frameShadow">
|
||||||
|
<enum>Raised</enum>
|
||||||
|
</property>
|
||||||
|
<property name="lineWidth">
|
||||||
|
<number>7</number>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</grid>
|
||||||
|
</widget>
|
||||||
|
</grid>
|
||||||
|
</widget>
|
||||||
|
<slots>
|
||||||
|
<slot>button_clicked()</slot>
|
||||||
|
</slots>
|
||||||
|
<layoutdefaults spacing="2" margin="2"/>
|
||||||
|
</UI>
|
After Width: | Height: | Size: 178 B |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 801 B |
After Width: | Height: | Size: 2.3 KiB |
@ -0,0 +1,392 @@
|
|||||||
|
/*
|
||||||
|
* install.cpp
|
||||||
|
*
|
||||||
|
* Copyright (c) 2007 Fabian Wuertz
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License version 2 as
|
||||||
|
* published by the Free Software Foundation.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#include <kgenericfactory.h>
|
||||||
|
#include <klocale.h>
|
||||||
|
#include <kurlrequester.h>
|
||||||
|
#include <kaboutapplication.h>
|
||||||
|
|
||||||
|
#include <qlistbox.h>
|
||||||
|
#include <qfile.h>
|
||||||
|
#include <qpushbutton.h>
|
||||||
|
#include <qwidgetstack.h>
|
||||||
|
#include <qlabel.h>
|
||||||
|
#include <qlistview.h>
|
||||||
|
#include <qregexp.h>
|
||||||
|
#include <qradiobutton.h>
|
||||||
|
#include <qfiledialog.h>
|
||||||
|
|
||||||
|
#include <console.h>
|
||||||
|
#include <install.h>
|
||||||
|
|
||||||
|
install::install( const QString &url, QWidget *parent, const char *name, const QStringList &)
|
||||||
|
:InstallDialog(parent, name)
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
if( !url )
|
||||||
|
path = QFileDialog::getOpenFileName( "", i18n("Debian Package (*.deb)"), this, i18n("open file dialog"), i18n("Choose a file to open") );
|
||||||
|
else
|
||||||
|
path = url;
|
||||||
|
|
||||||
|
this->shell = new Process();
|
||||||
|
|
||||||
|
this->shell->setCommand("dpkg -f "+path);
|
||||||
|
this->shell->start(true);
|
||||||
|
fields = QStringList::split( "\n", this->shell->getBuffer().stripWhiteSpace() );
|
||||||
|
|
||||||
|
installPushButton->hide();
|
||||||
|
nextPushButton1->hide();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
if( !checkArchitecture() )
|
||||||
|
page2x1();
|
||||||
|
else if( isLocked() )
|
||||||
|
page2x2();
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
//----------------------------------------------------------------------------//
|
||||||
|
//--- next -------------------------------------------------------------------//
|
||||||
|
//----------------------------------------------------------------------------//
|
||||||
|
|
||||||
|
void install::next1()
|
||||||
|
{
|
||||||
|
if( !isLocked() )
|
||||||
|
{
|
||||||
|
nextPushButton1->hide();
|
||||||
|
nextPushButton2->show();
|
||||||
|
widgetStack->raiseWidget(0);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void install::next2()
|
||||||
|
{
|
||||||
|
nextPushButton2->hide();
|
||||||
|
if( syncRadioButton->isChecked() )
|
||||||
|
page3();
|
||||||
|
else
|
||||||
|
page1();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
//----------------------------------------------------------------------------//
|
||||||
|
//--- pages ------------------------------------------------------------------//
|
||||||
|
//----------------------------------------------------------------------------//
|
||||||
|
|
||||||
|
|
||||||
|
// page 0: skip apt-get update?
|
||||||
|
// page 1: dependencies
|
||||||
|
// page 2: warnings
|
||||||
|
// page 3: apt-get update
|
||||||
|
// page 4: install package
|
||||||
|
|
||||||
|
|
||||||
|
void install::page1()
|
||||||
|
{
|
||||||
|
showDependencies();
|
||||||
|
|
||||||
|
widgetStack->raiseWidget(1);
|
||||||
|
installPushButton->show();
|
||||||
|
closePushButton->show();
|
||||||
|
titleTextLabel->setText( "<b>"+i18n( "The following packages will be installed, updated or removed:" )+"</b>" );
|
||||||
|
}
|
||||||
|
|
||||||
|
void install::page2x1()
|
||||||
|
{
|
||||||
|
errorTextLabel->setText("<b>"+i18n("The architecture of the package and the system doesn't match! You will not be able to install this package!")+"</b>");
|
||||||
|
nextPushButton2->hide();
|
||||||
|
widgetStack->raiseWidget(2);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void install::page2x2()
|
||||||
|
{
|
||||||
|
errorTextLabel->setText("<b>"+i18n("The package database is used by another process (E.g Synaptic)! Please terminate this process and press next.")+"</b>");
|
||||||
|
nextPushButton1->show();
|
||||||
|
nextPushButton2->hide();
|
||||||
|
widgetStack->raiseWidget(2);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void install::page3()
|
||||||
|
{
|
||||||
|
titleTextLabel->setText( "<b>"+i18n( "Resynchronization of the package index files.")+"</b>" );
|
||||||
|
closePushButton->hide();
|
||||||
|
|
||||||
|
QStrList run; run.append( "/usr/share/kdpkg/sh/kdpkg-sh" );
|
||||||
|
run.append( "update" );
|
||||||
|
|
||||||
|
QWidget *consoleWidget = new console(this, run );
|
||||||
|
widgetStack->addWidget(consoleWidget, 3);
|
||||||
|
widgetStack->raiseWidget(3);
|
||||||
|
|
||||||
|
connect( consoleWidget, SIGNAL( finished(bool) ), this, SLOT( page1() ));
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void install::page4()
|
||||||
|
{
|
||||||
|
installPushButton->hide();
|
||||||
|
closePushButton->hide();
|
||||||
|
titleTextLabel->setText( "<b>"+i18n( "Installation of the new package." )+"</b>" );
|
||||||
|
|
||||||
|
|
||||||
|
if( !installPkg )
|
||||||
|
installPkg = "none";
|
||||||
|
if( !removePkg )
|
||||||
|
removePkg = "none";
|
||||||
|
|
||||||
|
QStrList run; run.append( "/usr/share/kdpkg/sh/kdpkg-sh" );
|
||||||
|
run.append( "install" );
|
||||||
|
run.append( path );
|
||||||
|
run.append( installPkg );
|
||||||
|
run.append( removePkg );
|
||||||
|
|
||||||
|
QWidget *consoleWidget = new console(this, run );
|
||||||
|
widgetStack->addWidget(consoleWidget, 4);
|
||||||
|
widgetStack->raiseWidget(4);
|
||||||
|
|
||||||
|
connect( consoleWidget, SIGNAL( finished(bool) ), this, SLOT( close() ));
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//----------------------------------------------------------------------------//
|
||||||
|
//--- showDependencies -------------------------------------------------------//
|
||||||
|
//----------------------------------------------------------------------------//
|
||||||
|
|
||||||
|
void install::showDependencies()
|
||||||
|
{
|
||||||
|
|
||||||
|
// show packages which will be installed
|
||||||
|
|
||||||
|
QString tmpString = fields.grep( QRegExp("^Depends:") )[0].mid(9);
|
||||||
|
tmpString += ", "+fields.grep( "Pre-Depends:" )[0].mid(13);
|
||||||
|
|
||||||
|
|
||||||
|
QStringList allDepends = QStringList::split( ", ", tmpString );
|
||||||
|
|
||||||
|
QString missingDepends;
|
||||||
|
QStringList tmp;
|
||||||
|
|
||||||
|
for(uint i = 0; i < allDepends.count(); i++)
|
||||||
|
{
|
||||||
|
if( allDepends[i].contains("|") ) {
|
||||||
|
tmp = QStringList::split( " | ", allDepends[i] );
|
||||||
|
uint j = 0;
|
||||||
|
bool exit = FALSE;
|
||||||
|
while ( !exit && j < tmp.count() ) {
|
||||||
|
if( isInstalled(tmp[j]) )
|
||||||
|
exit = TRUE;
|
||||||
|
j++;
|
||||||
|
}
|
||||||
|
if( !exit )
|
||||||
|
missingDepends += tmp[0]+" ";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if( !isInstalled( allDepends[i] ) )
|
||||||
|
missingDepends += QStringList::split( " ", allDepends[i] )[0]+" ";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
this->shell->setCommand("apt-get -s install "+missingDepends);
|
||||||
|
this->shell->start(true);
|
||||||
|
QStringList installList = QStringList::split( "\n", this->shell->getBuffer().stripWhiteSpace() ).grep("Inst");
|
||||||
|
|
||||||
|
|
||||||
|
for(uint i = 0; i < installList.count(); i++)
|
||||||
|
{
|
||||||
|
QString name = QStringList::split( " ", installList[i] )[1];
|
||||||
|
QString pkgVersion;
|
||||||
|
QString sysVersion;
|
||||||
|
if( installList[i].contains("[") )
|
||||||
|
{
|
||||||
|
pkgVersion = QStringList::split( " ", installList[i] )[3].mid(1);
|
||||||
|
sysVersion = QStringList::split( " ", installList[i] )[2].mid(1).replace("]", "");
|
||||||
|
}
|
||||||
|
else
|
||||||
|
pkgVersion = QStringList::split( " ", installList[i] )[2].mid(1);
|
||||||
|
|
||||||
|
QListViewItem * item = new QListViewItem( dependenciesListView, 0 );
|
||||||
|
item->setPixmap( 0, QPixmap( "/usr/share/kdpkg/icons/install.png") );
|
||||||
|
item->setText( 1, name );
|
||||||
|
item->setText( 2, pkgVersion );
|
||||||
|
item->setText( 3, sysVersion );
|
||||||
|
|
||||||
|
installPkg += name+",";
|
||||||
|
}
|
||||||
|
|
||||||
|
// find rconflicts
|
||||||
|
|
||||||
|
QString pkgName = fields.grep("Package:")[0].mid(9);
|
||||||
|
QString pkgVersion = fields.grep("Version:")[0].mid(9);
|
||||||
|
|
||||||
|
QString rconflicts;
|
||||||
|
|
||||||
|
this->shell->setCommand("cat /var/lib/dpkg/status | grep "+pkgName+" -B 16| grep Conflicts -B 16");
|
||||||
|
this->shell->start(true);
|
||||||
|
QStringList input1 = QStringList::split( "\n\n", this->shell->getBuffer().stripWhiteSpace() );
|
||||||
|
|
||||||
|
for(uint i = 0; i < input1.count(); i++)
|
||||||
|
{
|
||||||
|
if( input1[i].contains(pkgName) )
|
||||||
|
{
|
||||||
|
QStringList input2 = QStringList::split( "\n", input1[i] );
|
||||||
|
QString name = QStringList::split( " ", input2.grep("Package:")[0] )[1];
|
||||||
|
QString cVersion = input2.grep("Conflicts:")[0].mid(11); // conflictVersion
|
||||||
|
cVersion = QStringList::split( ",", cVersion ).grep(pkgName)[0];
|
||||||
|
cVersion = QStringList::split( "(", cVersion )[1];
|
||||||
|
cVersion = cVersion.replace(")", "");
|
||||||
|
QString op = QStringList::split( " ", cVersion )[0];
|
||||||
|
cVersion = QStringList::split( " ", cVersion )[1];
|
||||||
|
|
||||||
|
if( cVersion == "")
|
||||||
|
{
|
||||||
|
rconflicts += name+" ";
|
||||||
|
printf("1");
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
printf("2");
|
||||||
|
this->shell->setCommand("if dpkg --compare-versions "+pkgVersion+" \""+op+"\" "+cVersion+"; then echo \"TRUE\"; fi");
|
||||||
|
this->shell->start(true);
|
||||||
|
if( this->shell->getBuffer().stripWhiteSpace() == "TRUE" )
|
||||||
|
rconflicts += name+" ";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// show packages which will be removed
|
||||||
|
|
||||||
|
QString conflicts = fields.grep( "Conflicts" )[0].mid(11);
|
||||||
|
conflicts = conflicts.replace( ",", "" );
|
||||||
|
conflicts = conflicts+" "+rconflicts;
|
||||||
|
|
||||||
|
this->shell->setCommand("apt-get -s remove "+conflicts);
|
||||||
|
this->shell->start(true);
|
||||||
|
QStringList removeList = QStringList::split( "\n", this->shell->getBuffer().stripWhiteSpace() ).grep("Remv");
|
||||||
|
|
||||||
|
|
||||||
|
for(uint i = 0; i < removeList.count(); i++)
|
||||||
|
{
|
||||||
|
QString name = QStringList::split( " ", removeList[i] )[1];
|
||||||
|
QString sysVersion = QStringList::split( " [", removeList[i] )[1].replace("]", "");
|
||||||
|
|
||||||
|
QListViewItem * item = new QListViewItem( dependenciesListView, 0 );
|
||||||
|
item->setPixmap( 0, QPixmap( "/usr/share/kdpkg/icons/remove.png") );
|
||||||
|
item->setText( 1, name );
|
||||||
|
item->setText( 3, sysVersion );
|
||||||
|
|
||||||
|
removePkg += name+",";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
//----------------------------------------------------------------------------//
|
||||||
|
//--- isInstalled ------------------------------------------------------------//
|
||||||
|
//----------------------------------------------------------------------------//
|
||||||
|
|
||||||
|
bool install::isInstalled(QString input)
|
||||||
|
{
|
||||||
|
QString package = QStringList::split( " ", input )[0];
|
||||||
|
QString version = QStringList::split( " (", input )[1].replace(")", "");
|
||||||
|
|
||||||
|
|
||||||
|
this->shell->setCommand("apt-cache policy "+package);
|
||||||
|
this->shell->start(true);
|
||||||
|
QString sysVersion = QStringList::split( "\n", this->shell->getBuffer().stripWhiteSpace() )[1];
|
||||||
|
sysVersion = QStringList::split( ":", sysVersion)[1].replace(" ","");
|
||||||
|
|
||||||
|
|
||||||
|
if( sysVersion.contains("(") || sysVersion == "" )
|
||||||
|
return FALSE;
|
||||||
|
else if( version != "" )
|
||||||
|
{
|
||||||
|
QString op = QStringList::split( " ", version )[0];
|
||||||
|
QString pkgVersion = QStringList::split( " ", version )[1];
|
||||||
|
|
||||||
|
this->shell->setCommand("if dpkg --compare-versions "+sysVersion+" \""+op+"\" "+pkgVersion+"; then echo \"TRUE\"; fi");
|
||||||
|
this->shell->start(true);
|
||||||
|
if( this->shell->getBuffer().stripWhiteSpace() == "TRUE" )
|
||||||
|
return TRUE;
|
||||||
|
else
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
return TRUE;
|
||||||
|
}
|
||||||
|
|
||||||
|
//----------------------------------------------------------------------------//
|
||||||
|
//--- about ------------------------------------------------------------------//
|
||||||
|
//----------------------------------------------------------------------------//
|
||||||
|
|
||||||
|
void install::showAbout()
|
||||||
|
{
|
||||||
|
KAboutApplication* about = new KAboutApplication ( this );
|
||||||
|
about->show();
|
||||||
|
}
|
||||||
|
|
||||||
|
//----------------------------------------------------------------------------//
|
||||||
|
//--- checks -----------------------------------------------------------------//
|
||||||
|
//----------------------------------------------------------------------------//
|
||||||
|
|
||||||
|
bool install::checkArchitecture()
|
||||||
|
{
|
||||||
|
QString arch = fields.grep("Architecture:")[0].mid(14);
|
||||||
|
|
||||||
|
if(arch == "all")
|
||||||
|
return TRUE;
|
||||||
|
|
||||||
|
// get architecture
|
||||||
|
this->shell->setCommand("dpkg --print-architecture");
|
||||||
|
this->shell->start(true);
|
||||||
|
|
||||||
|
if( arch == this->shell->getBuffer().stripWhiteSpace() )
|
||||||
|
return TRUE;
|
||||||
|
|
||||||
|
return FALSE;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
bool install::isLocked()
|
||||||
|
{
|
||||||
|
this->shell->setCommand("apt-get install -s" );
|
||||||
|
this->shell->start(true);
|
||||||
|
if( this->shell->getBuffer().stripWhiteSpace().contains("...") )
|
||||||
|
return FALSE;
|
||||||
|
else
|
||||||
|
return TRUE;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#include "install.moc"
|
@ -0,0 +1,66 @@
|
|||||||
|
/*
|
||||||
|
* kdpg.h
|
||||||
|
*
|
||||||
|
* Copyright (c) 2007 Fabian Wuertz
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License version 2 as
|
||||||
|
* published by the Free Software Foundation.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef INSTALL_H_
|
||||||
|
#define INSTALL_H_
|
||||||
|
|
||||||
|
#include <installdialog.h>
|
||||||
|
|
||||||
|
#include <kde_terminal_interface.h>
|
||||||
|
#include <kparts/part.h>
|
||||||
|
#include <process.h>
|
||||||
|
#include <qprocess.h>
|
||||||
|
|
||||||
|
class install : public InstallDialog
|
||||||
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
|
public:
|
||||||
|
install(const QString &url = QString(), QWidget *parent = 0L, const char *name = 0L, const QStringList &foo = QStringList());
|
||||||
|
QString installPkg;
|
||||||
|
QString removePkg;
|
||||||
|
QString path;
|
||||||
|
QStringList fields;
|
||||||
|
bool isInstalled(QString);
|
||||||
|
bool checkArchitecture();
|
||||||
|
bool isLocked();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
private:
|
||||||
|
Process* shell;
|
||||||
|
|
||||||
|
|
||||||
|
public slots:
|
||||||
|
virtual void showAbout();
|
||||||
|
virtual void page1();
|
||||||
|
virtual void page2x1();
|
||||||
|
virtual void page2x2();
|
||||||
|
virtual void page3();
|
||||||
|
virtual void page4();
|
||||||
|
virtual void showDependencies();
|
||||||
|
virtual void next1();
|
||||||
|
virtual void next2();
|
||||||
|
|
||||||
|
signals:
|
||||||
|
void exit(bool);
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif
|
@ -0,0 +1,449 @@
|
|||||||
|
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
|
||||||
|
<class>InstallDialog</class>
|
||||||
|
<author>Fabian Wuertz</author>
|
||||||
|
<widget class="QWidget">
|
||||||
|
<property name="name">
|
||||||
|
<cstring>InstallDialog</cstring>
|
||||||
|
</property>
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>0</x>
|
||||||
|
<y>0</y>
|
||||||
|
<width>649</width>
|
||||||
|
<height>400</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="caption">
|
||||||
|
<string>kdpkg-install</string>
|
||||||
|
</property>
|
||||||
|
<property name="icon">
|
||||||
|
<pixmap>image0</pixmap>
|
||||||
|
</property>
|
||||||
|
<grid>
|
||||||
|
<property name="name">
|
||||||
|
<cstring>unnamed</cstring>
|
||||||
|
</property>
|
||||||
|
<widget class="QPushButton" row="4" column="0">
|
||||||
|
<property name="name">
|
||||||
|
<cstring>aboutPushButton</cstring>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>a&bout</string>
|
||||||
|
</property>
|
||||||
|
<property name="accel">
|
||||||
|
<string>Alt+B</string>
|
||||||
|
</property>
|
||||||
|
<property name="iconSet">
|
||||||
|
<iconset>image1</iconset>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QPushButton" row="4" column="5">
|
||||||
|
<property name="name">
|
||||||
|
<cstring>closePushButton</cstring>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>cl&ose</string>
|
||||||
|
</property>
|
||||||
|
<property name="accel">
|
||||||
|
<string>Alt+O</string>
|
||||||
|
</property>
|
||||||
|
<property name="iconSet">
|
||||||
|
<iconset>image2</iconset>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QPushButton" row="4" column="4">
|
||||||
|
<property name="name">
|
||||||
|
<cstring>installPushButton</cstring>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>inst&all</string>
|
||||||
|
</property>
|
||||||
|
<property name="accel">
|
||||||
|
<string>Alt+A</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="Line" row="1" column="0" rowspan="1" colspan="6">
|
||||||
|
<property name="name">
|
||||||
|
<cstring>line1</cstring>
|
||||||
|
</property>
|
||||||
|
<property name="frameShape">
|
||||||
|
<enum>HLine</enum>
|
||||||
|
</property>
|
||||||
|
<property name="frameShadow">
|
||||||
|
<enum>Sunken</enum>
|
||||||
|
</property>
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Horizontal</enum>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QFrame" row="0" column="0" rowspan="1" colspan="6">
|
||||||
|
<property name="name">
|
||||||
|
<cstring>frame</cstring>
|
||||||
|
</property>
|
||||||
|
<property name="frameShape">
|
||||||
|
<enum>NoFrame</enum>
|
||||||
|
</property>
|
||||||
|
<property name="frameShadow">
|
||||||
|
<enum>Raised</enum>
|
||||||
|
</property>
|
||||||
|
<grid>
|
||||||
|
<property name="name">
|
||||||
|
<cstring>unnamed</cstring>
|
||||||
|
</property>
|
||||||
|
<widget class="QLabel" row="0" column="2">
|
||||||
|
<property name="name">
|
||||||
|
<cstring>titleTextLabel</cstring>
|
||||||
|
</property>
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy>
|
||||||
|
<hsizetype>7</hsizetype>
|
||||||
|
<vsizetype>5</vsizetype>
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string><b>Package installation</b></string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QLabel" row="0" column="0">
|
||||||
|
<property name="name">
|
||||||
|
<cstring>logoPixmapLabel</cstring>
|
||||||
|
</property>
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy>
|
||||||
|
<hsizetype>0</hsizetype>
|
||||||
|
<vsizetype>0</vsizetype>
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
|
<property name="pixmap">
|
||||||
|
<pixmap>image3</pixmap>
|
||||||
|
</property>
|
||||||
|
<property name="scaledContents">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<spacer row="0" column="1">
|
||||||
|
<property name="name">
|
||||||
|
<cstring>spacer3</cstring>
|
||||||
|
</property>
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Horizontal</enum>
|
||||||
|
</property>
|
||||||
|
<property name="sizeType">
|
||||||
|
<enum>Fixed</enum>
|
||||||
|
</property>
|
||||||
|
<property name="sizeHint">
|
||||||
|
<size>
|
||||||
|
<width>5</width>
|
||||||
|
<height>20</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
</spacer>
|
||||||
|
</grid>
|
||||||
|
</widget>
|
||||||
|
<spacer row="4" column="1">
|
||||||
|
<property name="name">
|
||||||
|
<cstring>spacer1</cstring>
|
||||||
|
</property>
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Horizontal</enum>
|
||||||
|
</property>
|
||||||
|
<property name="sizeType">
|
||||||
|
<enum>Expanding</enum>
|
||||||
|
</property>
|
||||||
|
<property name="sizeHint">
|
||||||
|
<size>
|
||||||
|
<width>160</width>
|
||||||
|
<height>20</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
</spacer>
|
||||||
|
<widget class="QWidgetStack" row="2" column="0" rowspan="1" colspan="6">
|
||||||
|
<property name="name">
|
||||||
|
<cstring>widgetStack</cstring>
|
||||||
|
</property>
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy>
|
||||||
|
<hsizetype>7</hsizetype>
|
||||||
|
<vsizetype>7</vsizetype>
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
|
<widget class="QWidget">
|
||||||
|
<property name="name">
|
||||||
|
<cstring>WStackPage</cstring>
|
||||||
|
</property>
|
||||||
|
<attribute name="id">
|
||||||
|
<number>0</number>
|
||||||
|
</attribute>
|
||||||
|
<widget class="QButtonGroup">
|
||||||
|
<property name="name">
|
||||||
|
<cstring>syncGroup</cstring>
|
||||||
|
</property>
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>60</x>
|
||||||
|
<y>110</y>
|
||||||
|
<width>400</width>
|
||||||
|
<height>70</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="frameShape">
|
||||||
|
<enum>NoFrame</enum>
|
||||||
|
</property>
|
||||||
|
<property name="title">
|
||||||
|
<string></string>
|
||||||
|
</property>
|
||||||
|
<grid>
|
||||||
|
<property name="name">
|
||||||
|
<cstring>unnamed</cstring>
|
||||||
|
</property>
|
||||||
|
<property name="margin">
|
||||||
|
<number>6</number>
|
||||||
|
</property>
|
||||||
|
<widget class="QRadioButton" row="0" column="0">
|
||||||
|
<property name="name">
|
||||||
|
<cstring>syncRadioButton</cstring>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Res&ynchronize the package index files (apt-get update)</string>
|
||||||
|
</property>
|
||||||
|
<property name="accel">
|
||||||
|
<string>Alt+Y</string>
|
||||||
|
</property>
|
||||||
|
<property name="checked">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QRadioButton" row="1" column="0">
|
||||||
|
<property name="name">
|
||||||
|
<cstring>skipRadioButton</cstring>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Skip Resynchroni&zation</string>
|
||||||
|
</property>
|
||||||
|
<property name="accel">
|
||||||
|
<string>Alt+Z</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</grid>
|
||||||
|
</widget>
|
||||||
|
</widget>
|
||||||
|
<widget class="QWidget">
|
||||||
|
<property name="name">
|
||||||
|
<cstring>WStackPage</cstring>
|
||||||
|
</property>
|
||||||
|
<attribute name="id">
|
||||||
|
<number>1</number>
|
||||||
|
</attribute>
|
||||||
|
<grid>
|
||||||
|
<property name="name">
|
||||||
|
<cstring>unnamed</cstring>
|
||||||
|
</property>
|
||||||
|
<widget class="QListView" row="0" column="0">
|
||||||
|
<column>
|
||||||
|
<property name="text">
|
||||||
|
<string>Status</string>
|
||||||
|
</property>
|
||||||
|
<property name="clickable">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
|
<property name="resizable">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
|
</column>
|
||||||
|
<column>
|
||||||
|
<property name="text">
|
||||||
|
<string>Name</string>
|
||||||
|
</property>
|
||||||
|
<property name="clickable">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
|
<property name="resizable">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
|
</column>
|
||||||
|
<column>
|
||||||
|
<property name="text">
|
||||||
|
<string>Version</string>
|
||||||
|
</property>
|
||||||
|
<property name="clickable">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
|
<property name="resizable">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
|
</column>
|
||||||
|
<column>
|
||||||
|
<property name="text">
|
||||||
|
<string>Version on System </string>
|
||||||
|
</property>
|
||||||
|
<property name="clickable">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
|
<property name="resizable">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
|
</column>
|
||||||
|
<property name="name">
|
||||||
|
<cstring>dependenciesListView</cstring>
|
||||||
|
</property>
|
||||||
|
<property name="allColumnsShowFocus">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
|
<property name="resizeMode">
|
||||||
|
<enum>LastColumn</enum>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</grid>
|
||||||
|
</widget>
|
||||||
|
<widget class="QWidget">
|
||||||
|
<property name="name">
|
||||||
|
<cstring>WStackPage</cstring>
|
||||||
|
</property>
|
||||||
|
<attribute name="id">
|
||||||
|
<number>2</number>
|
||||||
|
</attribute>
|
||||||
|
<widget class="QLabel">
|
||||||
|
<property name="name">
|
||||||
|
<cstring>errorPixmapLabel</cstring>
|
||||||
|
</property>
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>60</x>
|
||||||
|
<y>120</y>
|
||||||
|
<width>32</width>
|
||||||
|
<height>32</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="pixmap">
|
||||||
|
<pixmap>image4</pixmap>
|
||||||
|
</property>
|
||||||
|
<property name="scaledContents">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QLabel">
|
||||||
|
<property name="name">
|
||||||
|
<cstring>errorTextLabel</cstring>
|
||||||
|
</property>
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>110</x>
|
||||||
|
<y>110</y>
|
||||||
|
<width>440</width>
|
||||||
|
<height>50</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string></string>
|
||||||
|
</property>
|
||||||
|
<property name="alignment">
|
||||||
|
<set>WordBreak|AlignVCenter</set>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</widget>
|
||||||
|
</widget>
|
||||||
|
<widget class="Line" row="3" column="0" rowspan="1" colspan="6">
|
||||||
|
<property name="name">
|
||||||
|
<cstring>line2</cstring>
|
||||||
|
</property>
|
||||||
|
<property name="frameShape">
|
||||||
|
<enum>HLine</enum>
|
||||||
|
</property>
|
||||||
|
<property name="frameShadow">
|
||||||
|
<enum>Sunken</enum>
|
||||||
|
</property>
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Horizontal</enum>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QPushButton" row="4" column="2">
|
||||||
|
<property name="name">
|
||||||
|
<cstring>nextPushButton1</cstring>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>ne&xt ></string>
|
||||||
|
</property>
|
||||||
|
<property name="accel">
|
||||||
|
<string>Alt+X</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QPushButton" row="4" column="3">
|
||||||
|
<property name="name">
|
||||||
|
<cstring>nextPushButton2</cstring>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>ne&xt ></string>
|
||||||
|
</property>
|
||||||
|
<property name="accel">
|
||||||
|
<string>Alt+X</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</grid>
|
||||||
|
</widget>
|
||||||
|
<images>
|
||||||
|
<image name="image0">
|
||||||
|
<data format="PNG" length="518">89504e470d0a1a0a0000000d49484452000000100000001008060000001ff3ff61000001cd49444154388d95923f68d3411cc53f179bc6067569b0b5580413b425524141c8100527c5a910a471118b94424a409bc1213a1504271d1c0b2a01753110224aa216cd521429a81483cda4a58aa61a53ffe497e6f79c5a43fa370fde70df3bdebd7bf790443dabaf3d171692dd038df3b5b862b038d93f6e7f9bb28bc983578b6374540a7d57aab37df9991b9c04b66c28507dde735956512ae764cf5f97aa0ff57beed85ba01370349e775007eb91abd7b1f7e869f41d9c2e8c7b3f30c1d493dc356041924d2324615d627bed4df71d7b3167ab5690aaaf24ebb164f54b15a3b9178c03ced53268015019ab54f8f8ac561bb2b7751d38b2b5bda71725d19f77980a74ee6670f61e6563ccc5461746d2ff85310668b1def3c1b9833dd32f0f59b7eecfe4078fffbcebacd07678849b3fa42f2b9eb022c81ca95f134c4787cf8e452211793c9e5340ebd285ebfe8224fedee65c669413803b93c9cc07028149a07d533d58de80564944a3d1f3f1785c3e9fef0ce0dab4403dd3e9f4e770389c073cebf6602da452a911bfdfbf2f180c0e1863da360c7135261289422c16fb04ec6cda0140369b1d2a954a5da15068d818e36eda8124bc5eef83783cfe15d8b5dca16604005f2010780a742c09fc034ec20a696fe072cb0000000049454e44ae426082</data>
|
||||||
|
</image>
|
||||||
|
<image name="image1">
|
||||||
|
<data format="PNG" length="837">89504e470d0a1a0a0000000d49484452000000100000001008060000001ff3ff610000030c49444154388d75536b485301143ef7ee6e73d3e9dc74a29bade1ccd2a9a199b29569a541a1642c34a9e8fda4b22462503ffa6361694444f422821e28a596981ab64a5b4fcb9c216589545ad3b9e5dabc6e77bb3bfd3266da07e7dff77d9c73be7308448499509640e6302090f5c7e6457143c4429aa7bc66ac3d3e328d888853aa2c49bca36e7741bbe3de39fb50d375745a2dacd3f91b9f3c349af7e766183494800ae4538166d5d9aa4b67f6156d07d60bf0a903187e3408971793248f0f4bb234c93abd26b91a7f2700c0a6691d542e8cbc88952b1037cf42d7da5938b05289cdfa2578a7ae015f7ffe86ae1b27104b25885585787271dce5491d915f769bafea3c7de0d0fa5515d19d7739ecb01dda06c1d968e5747c75312d9e09c7a82c615ece16e9c4ba3ce9844828e6c0f8ec14ef8673a6cc3a8bb50b72d2f225f5b76a9f2322f6bd7d8717f585dea531ea53e912b92a70561d49143fca56d2be1205a26121de28d25e434420098745aad16a530000d81805b439b17ef4c71743a76d7020703fcf587fcdfd3edbcd719a05b00c8122c493974172f9144f9ec813b49c7743ba36d8f69d06ebfb37addd88be99a2edf790464b62eeb6d0300fa87d7c7170c4b092a27b1e3bb9dd7d14b45f06c98800821d7662c6c300007f949c726ead00502bc165eef1796a3ea692ed76cbb7eee1710b8485835444415a84b0e07f06aaacecd5d15132000070025780be091f0900f0f6fb58078844101ee483c284f0c2d2107e59a0303d2a4eb92b517376036d5e43375c01efaf1168be7aa9862b4e321188088bf83c59957e4e4f66182373fffc051f6273a121649eb1ff85a929c86a1166f0e882e5914c9a3a8ca14851103c152c183df660a0244857f2f26f4c7bd5c1e58e23cb183ca245dfd75eb48ebbb17fc48ebd958791de3817715732a24187b6a305de3df122c3a46eca1fec8c0f3d683c79680c03607d528fd85885d87a01dbca8b8777c4871e0cd410ff7e6396449e985f5a5c1e973ebf88e3676929b05edbbb87a3e6de1f0d4f4dafafbf6298c140fe34030080548220b842b1c28f2417dd63b62e3febf85f327f0068e5b17dc3fece020000000049454e44ae426082</data>
|
||||||
|
</image>
|
||||||
|
<image name="image2">
|
||||||
|
<data format="PNG" length="752">89504e470d0a1a0a0000000d49484452000000100000001008060000001ff3ff61000002b749444154388da592cd4b546114c69ff7dc199db91fe9bd2329def1fa45ab89460ac145216db536228ab87227e2aa5acc3ada69b9cc4d5121f807f4074408228841a3086590cd4c313adef952e7833bf73d6d52296bd5591d1e38bff370ce239819ff5381bf893bb3b322bbba7a0b525e070010ed744c4d6d5d5f5ebeb44dfce9e09d61dc3775fda93538784defe90188709a4ec3ddd8d82b94cb0fef1e1fbffd27604dd71fd8b1d862dbcc8c109af61b982b151cbd7ac5dfb7b71fdd39397976a6d359f3de3086af3ace82393d2d9819b25804b5b6825a5b218b45b09430a7a6c455c759786f18c397002af0d81c1d2585084d7d7dd0c6c6e0efedc1fff205dad8189afafba110c1bc778f54211eff065837cd36351abd1deee800b259046331046c1beae424d48909046c1bc1580c329b45b8bd1daae3dc5e37cdb60b078d46af66db4485021400a74b4bf03219046c1b01db8697c9a09c4840c966217239689d9d8446a3f7fc8d0a50a7d353885c0e00208900212e0ec80c797000b82ed830409e0705a89f039a2ceb53fdebd73214e54acd34a12f2f2368dba8673200339abbba60bc7881f2f838b4c343d45db7dc64599fcee9cc8c2d5d7f5e8846f9b8bb9b0b6fde702d95e2a3a1213e1a1ae26a2ac5f9d7aff9d871b8108df296ae3f3f9b3bcfc147cb6a979ef7a13b14ea0c11a11689e08aeb0200ca9685503e8f9a94f856abfd10c1e0cd817cfee05290922d2d37aabeff362c84131102ea2fbd02c065469539155694fb374aa5e4a51c249349accecd6d17356da00a3cd9f7fdcfbbbecfbbbecffbbeffb90a3c71356de0e5cccccedadada4594138984585959692e954a61cff3542965989943ccdc6c022a005100aa00ea445423a24a2010a8eaba5e191919a90966463a9dc6e2e2226d6e6e522e97a34aa5a2341a0df27d5f00001171301894a150484622113f1e8fcbf9f979198fc7f11306f33f74f0ffac1c0000000049454e44ae426082</data>
|
||||||
|
</image>
|
||||||
|
<image name="image3">
|
||||||
|
<data format="PNG" length="2322">89504e470d0a1a0a0000000d4948445200000020000000200806000000737a7af4000008d9494441545885c597cb935d5775c67f6b9f7deeabafbaafa4eec618193f4b18481cab1cc094143b3194ed5465901114c53fc004ff01649251c22424930c529925834ca8542038948bb862ac042c195b560bec58a80d92b125abbbd58ffb388fbdd75a19dc56cb7248d9b3acaa736ad73ea7ceface5edffaf6b7c5ddf9ff8c58bdf61d66ead4ed06599de0020e88802949959c85b21bd17a8247c70ddc1d2180402822d666667b63dabd845a0338ab9fba9f48c0cd9120040170b20cc8550302f11616619e793f398004c09058204581c40e2eb6188a709f7b7e048a2f8bf01652fca01c76d78a693b2518968c5006c40582cc3f7d5b8e8389f703983f337782c8c1bba6ac18fe15e01bb1d7bfbf80beba8117982a3965ac6dbf950c4c8b0d1139676affa1399fc6fd5587eab6041f2c81c84d600ef811e011737f2cc029444ef407dd2553a5498a25275ba2d72929e26172a34c6e5c234fb7c05aca7e6f65b8347cf2e89d479f2cfa1d020135bbe2ee67447841e025840b0209010982e82ffe86bd46bf1bca852792d7872dcdb05c03466e1a72ce5876b469994ec754930aad5a8a5e6471719962f10856089d5e41bf3fa08c86b813cc4896c18542040f05d9046d0d45deca4dfd1d11fe565ef8876fde79e2339f7c27ab43280945247423ad96e404cd6483e9f6bba4e936dd5e97de70406f61485ce8114470cbe4a62525a355a32c4a24f6984ca62c0c17500b54d3294d93c875c6bd2508ec8dab0b4590870458de3af3171bae4693121848084cb737a8db447f7195c5958f331c468a0e8865924ed1aa4255e9c4927e7f80c5925993d9dd9eb1b5b9cd3bef5ca35f76e99601114702143227f6d2a13efff2a30b2f16313c1e0b4110279ba1ba4f1255627f40374ed0f41ed38d29b3ad058a1808b14bd9efd3eb8e18ad1e62f3c62e97d637196fef30aba614aac4028e0c7b8063dee204dcc00041312d417001628ce059e78ccef9809d2146fadd25209255b1ac5893c85505931b0413b6b697583bb7465918837e870ec5fc374568537a1fd7edb6666f53c644f000b19080aad1aa925511209b31ecf5e90fba88383736c758de9785286005213a264219955e7f010f8e98803bf63e7515803027a21490936366f3aeb37d1d30553cb5f395f079a2a5d111a4239841d5dca0630e4540f6ffc7c4090ae699a42d6272203186d311a128228621029b3b35bbd3968faf0c512b000f0e842206b266da9c6934d3a4865633adc37079994ed961b2372661d49aa935d36aa6b14456c7b3216ab882ab616a8805dc84f52b5bfcfa9d1d30f8af736ff3f6d55d621054159f0721884826a35951cf184ed3b49c3dfd53aebfbb41b240339be222986674ffcaa638895a1b9a9c48b921b70d668a04a5ae1bceac5da69ed65cfcf5065593f8cc0387c9b9a56912ae869b118388e446493993b3ee6f01c2f29125cebdf432b153305818d0d60dbe2fa50e14064ddd6206aa8e88133be00af5aca2ec96f4fbc24edbb2f5ee9407ef19311a7699ce12650c98b828108b50a09ae63c50c501d339d786bd92f1aca6d3e9913453027a20eb81ac1529658a9831849e169cffe57bacfdf21abfffd9bbe8c51ed7ae8e3157868392eb5b13ca5890b3e0dee22e84580469db4cca992627da9cc83951a784230c073daadc9273a2da7fdeb6892ab768abb4e6e8cd3656e5e87297c1a0cbea4a8f2a29fd4e0084b58bd7b974799bac1935c7cd0a57233a82b99154d17cab5f3f2c8a1c688a969005e9808812ca1edd5073efb10546c382a6aab8fb63cb24552eae6fd38b32efe26ca0f352460929a4dcce39a0faa18901d4a08c81a2165aaf8839d0ef7678e3d235ceacbdc71f7eee18556354c9a952cb83f72cb3b953b37ca44f9b336514cc4d3021164521661937c55cf9a0437b9f4db97d6c81c612969d1c154b0d3b9386ee20b057d52c6b973b8e765919f5f8d9eb57f9c46a8f632b0bcc1aa549829909085184d0b6f3fae7f4d14ae0181a9560014b999639071e3a3ee2f8271779feec15c49d632b0b5cb9ba433d53aea6c468a18b999182e37870878848d1b489dc2a593f22000737c3dd500a626168824995b9f8d636d534b3b53b63fdf22e9fbeff309fffec0ad36424dddf6b4c50352104a28496ac86ea470770334c4035a179dfc8b642b7079ffbbd155646032655c368d861dcb4983a6ef302a602cc2ce046b4267572caa4ac98da6f716dbf2514e8386e017548eae04eca0daba305c4606fd2f0bb771fc180bacab77ca840a98aa9158e1347a3a321371362885466380173473e04896bc472263746f07cc0d09b9d24800a98cf1727c87c930bee9033d574bca4b9a5f8d69ffdf98def7fef9f8fe3e9c18ee42246a30882bbe3ee6473cced039722cce727d32952ecbf8fcf51cc2986bb83d8bebbaf68a77b5cbbbecd8537ae5d3df3faf6b77f7076ef6571777ef8dcf3bc71fee507de5e3fffc46cebcd3f19f5a68faf2ecae26834a0d3eb40e8923398cfcf09002104d4e0fac60665511cac8cecdf028a6acd6c326373a7657b12d7bd77ecb995bb1f7ef681071ffec9c93f786ce7c48987e67e203533da7a76e9afffee9f2efdea57effefd4b3f397ddfcfcffdf8d4c5f5f37f5ce6f79e58399c579697faf47b0b48d9c12ca26e7832cc8c1ce6c62278a26e678cf7666cef287bba74a173f8d3cf1d3f71f2477f7af2899f7dfed1476f1c3ad4e3afbefd97a47a06dc3424a6686e01a8a67bfeb5af7f759daf7f757d736bfa8fafbcfcd2b157ce9e7e74edcdb34fdbf8d29747fde95d771c2d595a1a421c80cea8c75376c73336c745aa8b8fbdb672ec0b3f7ce8b13f7afed12f3e7ee1e1877f67bb08f0afdffb3e5535e1d0a11e49136a760b0066075b6dde0702508d77eca9a7bf74e5a9a7bf74a54d7cf7fc85d7577ffa9ffffec87f9f7bf1c9e9e55f3cdd0f97efdbd8a91ae9de75f6d8f12ffcdb535f7cf28553a71e7bf3de7bef1c03bcf8e3d35475c570d0a74d0d6afb526f37b9f2c1a319f343e7cd68737330ae67639bee5ebff6cc33cf3c0bcf3c7b61ede2e89557cf7ee2d0e2627df2d4c9dfdcb17ab40178f5b535eef13b1181dc26eca6c730e77fe9fc2d00e1d6ccad73e36d9a90b292f69d6edbb454b3dd9d54edecb4254c263bb07a14004d2d292b9db2c0f18395fdbffafa7f00e3aac411f2cc9ef10000000049454e44ae426082</data>
|
||||||
|
</image>
|
||||||
|
<image name="image4">
|
||||||
|
<data format="PNG" length="1421">89504e470d0a1a0a0000000d4948445200000020000000200806000000737a7af400000554494441545885d5975d6c145514c77f776667f6b3ed6eb76cbb9b5d4a294a2d05317c2bd2184404da0a41242a51e189a0848444a306a244e39b823ef84222890f44239a182a1a1334f1a3044b7421e189ef60c1d0164adbfd9aeecef56166b74369a12d51e34dfe99b37b67cef9df73ffe7cc5c21a5e47f393a5ba8eb58c5744001c464fd28937928d9ca1eb7c2f980c6b98e55bc077826eb4b9de8039d2dd4690a5f856683b71acc1e9696697cf3eb357a80c244fd4d98b5ae7040f540f4710baa07d626f8082863120b9a1081642beb0434170317890434e67ff2084f035e26a88709111082bd9e6a082d99030b3b616127a12573f054c3ec10bb807240fb4708245bd923a036b6428169bb41895898b69bd80a05b742b47d396f02be89f81dd79e75b650e752385039074fd59a8d50fd22202de83174df1586ae9c46bb4e83cfc5f7c7bae9669c821c17819767b24ff3b228f14c19eaac0f39f6db55dadb3b3971e22cf9bc49e2fe87f1685f723369b8633ae14fcff11d90b359de1b813f5a794c15ec8d2c53285ffe2ad7f30b387a348910024551e8eaea21188e13991a42def805f9270d8d414e7ddbc559207f37ff77dd2b45b0570f4164f50ca85c47363b08809412d33401e8ebeb83ca754456d7a387606115bbb104e9ba2702c956360b7830da22a0e6155075745d22a52c11304d937058075587e856a22d02afcacc83cb7809ab2cef1863ccc9536d0415c107fe7a285fb20c02f3802c55551aaa2ac9e7f325c4e33e200d8179942f5a80bf1e1a2b78a32d4182bb94e598044cc9db4030febc0fa6bc00420259204b6d6d198661601806c1a086db3d0464401420b289f8733a8aa06c5b03af037eeea0b5510974b650a708765435833e6d25e80920650521432ca691cd66c9e572c4629a3d970206c01d45af7d94aa668879d9b4bd8126c0cd181d725402bac201d50b91b630543ce10890020649241432990ce9749a1933742b30fd360620d44ca43580ea8567eb781f088c9585db0894fafd06506b9683ab6cd83103c020a1508e5048924aa5a8af978ef97ee006b8bca8358b886eb8fb7be2b6321182bd9e04849a6bc03f1fb83e0a579378bc40a160027d584daf000c010690077f23a1659df4fcd8cf6c935dc0d758cdc970c6bb252dc956f62882a7a66e05bdee49705562ed7bd64606480359eaea04b366b9f0fbb3a5adb1ae69cb163950153ce1cb0c7450b6268ee7e0057eb609c8db089c6a2388e0b3caa578aad64c05df5cdb598ea2f8acdf192085ae674609eeb407c0e5460ff630d49d45bb4ac3e53487cef4731347872ce5d594ec73f9a888ac17e0bbcf4e7daf0da7ddcb91239758b9f2248b17ffcefefde7c7b8b7cf82af86c87ad0fc94ed6ce41d4694a50a8e7edf06e54ba2a08547a43eed408a2d5bfea2b7378b61187474dc64ed5a93f2f2e1f9e16ca5413151bd06d230906768680a72f24817e78a5970012882b7f429106ed1400f003d36b7d1aa54924e0f924a99140a054cd344ca82bdad05c0b4e1b0dd3ae116851b3f99cc1d6227f083ad852135d9ca6645b023be1dbcd303a00ac7ca8bc2730a3043286470f8b0413e9f67fdfa21366ecc95c4793b72200c144da2474c32c7883557d37be8124960489c6ce362a089dae9ef025480706195ab13d2be9aa52c0cc31c6163af5ede0a6965e4fc2eb87e8aab0bda59085c7309a855fd903a0d4229a64d8028f60c67efb0ab47ca922d4b2977fe3f32f8f0fdaa1fdc0a51acafe83e57b6c0c71c675bff71106a1614b5145c3889388e70d249a408216e0984fdcabee5a3c8362f0cf20596c01401785e6be2a12a370f18262e534efe98359e71ba8f2b9f5fe4127003e81636133756afd6b88773de3887c4ead91920e7dce822997f6394942bfeebe3f9dfdeac06dfae15d7560000000049454e44ae426082</data>
|
||||||
|
</image>
|
||||||
|
</images>
|
||||||
|
<connections>
|
||||||
|
<connection>
|
||||||
|
<sender>closePushButton</sender>
|
||||||
|
<signal>clicked()</signal>
|
||||||
|
<receiver>InstallDialog</receiver>
|
||||||
|
<slot>close()</slot>
|
||||||
|
</connection>
|
||||||
|
<connection>
|
||||||
|
<sender>aboutPushButton</sender>
|
||||||
|
<signal>clicked()</signal>
|
||||||
|
<receiver>InstallDialog</receiver>
|
||||||
|
<slot>showAbout()</slot>
|
||||||
|
</connection>
|
||||||
|
<connection>
|
||||||
|
<sender>installPushButton</sender>
|
||||||
|
<signal>clicked()</signal>
|
||||||
|
<receiver>InstallDialog</receiver>
|
||||||
|
<slot>page4()</slot>
|
||||||
|
</connection>
|
||||||
|
<connection>
|
||||||
|
<sender>nextPushButton1</sender>
|
||||||
|
<signal>clicked()</signal>
|
||||||
|
<receiver>InstallDialog</receiver>
|
||||||
|
<slot>next1()</slot>
|
||||||
|
</connection>
|
||||||
|
<connection>
|
||||||
|
<sender>nextPushButton2</sender>
|
||||||
|
<signal>clicked()</signal>
|
||||||
|
<receiver>InstallDialog</receiver>
|
||||||
|
<slot>next2()</slot>
|
||||||
|
</connection>
|
||||||
|
</connections>
|
||||||
|
<includes>
|
||||||
|
<include location="local" impldecl="in implementation">kdialog.h</include>
|
||||||
|
</includes>
|
||||||
|
<slots>
|
||||||
|
<slot>showDependencies(const QString&)</slot>
|
||||||
|
<slot>showAbout()</slot>
|
||||||
|
<slot>page4()</slot>
|
||||||
|
<slot>next1()</slot>
|
||||||
|
<slot>next2()</slot>
|
||||||
|
</slots>
|
||||||
|
<layoutdefaults spacing="6" margin="6"/>
|
||||||
|
</UI>
|
@ -0,0 +1,13 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Encoding=UTF-8
|
||||||
|
Icon=kdpkg
|
||||||
|
Type=Application
|
||||||
|
Exec=su-to-root -X -c "kdpkg-install %U"
|
||||||
|
|
||||||
|
Name=kdpkg-install
|
||||||
|
Comment=Information about sidux
|
||||||
|
Comment[de]=Informationen über sidux
|
||||||
|
|
||||||
|
MimeType=application/x-deb;application/x-debian-package;
|
||||||
|
|
||||||
|
Categories=Qt;KDE;Utility
|
@ -0,0 +1,83 @@
|
|||||||
|
/*
|
||||||
|
* main.cpp
|
||||||
|
*
|
||||||
|
* Copyright (c) 2007 Fabian Wuertz
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License version 2 as
|
||||||
|
* published by the Free Software Foundation.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
#include "install.h"
|
||||||
|
|
||||||
|
#include <kapplication.h>
|
||||||
|
#include <kaboutdata.h>
|
||||||
|
#include <kcmdlineargs.h>
|
||||||
|
#include <klocale.h>
|
||||||
|
|
||||||
|
|
||||||
|
static KCmdLineOptions options[] =
|
||||||
|
{
|
||||||
|
{ "+[URL]", I18N_NOOP("Location to open"), 0 },
|
||||||
|
KCmdLineLastOption
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
int main(int argc, char **argv)
|
||||||
|
{
|
||||||
|
// specify data for About dialog
|
||||||
|
KAboutData* about = new KAboutData("kdpkg-install", I18N_NOOP("kdpkg-install"), "");
|
||||||
|
|
||||||
|
about->setProgramLogo( QImage("/usr/share/icons/hicolor/32x32/apps/kdpkg.png") );
|
||||||
|
about->setShortDescription( I18N_NOOP("Frontend for dpkg.") );
|
||||||
|
about->setLicense(KAboutData::License_GPL_V2);
|
||||||
|
about->setHomepage("http://linux.wuertz.org");
|
||||||
|
about->setBugAddress("xadras@sidux.com");
|
||||||
|
about->setCopyrightStatement("(c) 2007 Fabian Würtz");
|
||||||
|
|
||||||
|
about->addAuthor("Fabian Würtz (xadras)", I18N_NOOP("Developer"), "xadras@sidux.com", "http://linux.wuertz.org/");
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
KCmdLineArgs::init(argc, argv, about);
|
||||||
|
KCmdLineArgs::addCmdLineOptions( options );
|
||||||
|
|
||||||
|
KApplication app;
|
||||||
|
install *mainWin = 0;
|
||||||
|
|
||||||
|
if (!app.isRestored())
|
||||||
|
{
|
||||||
|
// no session.. just start up normally
|
||||||
|
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
|
||||||
|
|
||||||
|
QString url;
|
||||||
|
|
||||||
|
for(int i = 0; i < args->count(); i++) // Counting start at 0!
|
||||||
|
url = QString::fromLocal8Bit(args->arg(i));
|
||||||
|
|
||||||
|
//printf(url);
|
||||||
|
|
||||||
|
mainWin = new install( url );
|
||||||
|
app.setMainWidget( mainWin );
|
||||||
|
//mainWin->getFile(url);
|
||||||
|
mainWin->show();
|
||||||
|
|
||||||
|
args->clear();
|
||||||
|
}
|
||||||
|
|
||||||
|
// mainWin has WDestructiveClose flag by default, so it will delete itself.
|
||||||
|
return app.exec();
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,63 @@
|
|||||||
|
#include "process.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Process::Process()
|
||||||
|
{
|
||||||
|
_buffer = QString::null;
|
||||||
|
_process = new KProcess();
|
||||||
|
|
||||||
|
connect(_process, SIGNAL(receivedStdout(KProcess*, char*, int)),
|
||||||
|
this, SLOT(slotProcessOutput(KProcess*, char*, int)));
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
Process::~Process()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
void Process::setCommand(QString command)
|
||||||
|
{
|
||||||
|
// make clean
|
||||||
|
_process->clearArguments();
|
||||||
|
_buffer = QString::null;
|
||||||
|
|
||||||
|
*_process << "/bin/sh";
|
||||||
|
*_process << "-c";
|
||||||
|
*_process << command;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void Process::start(bool block)
|
||||||
|
{
|
||||||
|
if( block )
|
||||||
|
_process->start(KProcess::Block, KProcess::Stdout);
|
||||||
|
else
|
||||||
|
_process->start(KProcess::DontCare, KProcess::Stdout);
|
||||||
|
}
|
||||||
|
|
||||||
|
QString Process::getBuffer()
|
||||||
|
{
|
||||||
|
return _buffer;
|
||||||
|
}
|
||||||
|
|
||||||
|
int Process::exitStatus()
|
||||||
|
{
|
||||||
|
return _process->exitStatus();
|
||||||
|
}
|
||||||
|
|
||||||
|
bool Process::normalExit()
|
||||||
|
{
|
||||||
|
return _process->normalExit();
|
||||||
|
}
|
||||||
|
|
||||||
|
void Process::slotProcessOutput(KProcess* process, char* buffer, int len)
|
||||||
|
{
|
||||||
|
if (process != _process) return;
|
||||||
|
|
||||||
|
_buffer.append(QString::fromLocal8Bit(buffer, len));
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,37 @@
|
|||||||
|
#ifndef PROCESS_H
|
||||||
|
#define PROCESS_H
|
||||||
|
|
||||||
|
#include <kprocess.h>
|
||||||
|
#include <iostream>
|
||||||
|
#include <fstream>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
class Process;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
class Process : public QObject {
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
|
public:
|
||||||
|
Process();
|
||||||
|
~Process();
|
||||||
|
|
||||||
|
QString getBuffer();
|
||||||
|
int exitStatus();
|
||||||
|
bool normalExit();
|
||||||
|
void setCommand(QString command);
|
||||||
|
void start(bool block=true);
|
||||||
|
|
||||||
|
protected:
|
||||||
|
KProcess* _process;
|
||||||
|
QString _buffer;
|
||||||
|
|
||||||
|
protected slots:
|
||||||
|
void slotProcessOutput(KProcess* process, char* buffer, int buflen);
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#endif
|
@ -0,0 +1,28 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
# (C) Fabian Wuertz Feb 2008
|
||||||
|
|
||||||
|
|
||||||
|
if [ "$1" == "update" ]; then
|
||||||
|
apt-get update
|
||||||
|
echo ""
|
||||||
|
echo "Done! Press enter to continuo."
|
||||||
|
read
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ "$1" == "install" ]; then
|
||||||
|
if [ "$3" != "none" ]; then
|
||||||
|
installPackage=$(echo ${3//","/" "})
|
||||||
|
apt-get install $installPackage
|
||||||
|
fi
|
||||||
|
if [ "$4" != "none" ]; then
|
||||||
|
removePackage=$(echo ${4//","/" "})
|
||||||
|
apt-get remove $removePackage
|
||||||
|
fi
|
||||||
|
dpkg -i $2
|
||||||
|
apt-get install -f
|
||||||
|
echo ""
|
||||||
|
echo "Done! Press enter to continuo."
|
||||||
|
read
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
@ -0,0 +1,128 @@
|
|||||||
|
<?xml version = '1.0'?>
|
||||||
|
<kdevelop>
|
||||||
|
<general>
|
||||||
|
<author>Fabian Wuertz</author>
|
||||||
|
<email>xadras@sidux.com</email>
|
||||||
|
<version>0.1</version>
|
||||||
|
<projectmanagement>KDevKDEAutoProject</projectmanagement>
|
||||||
|
<primarylanguage>C++</primarylanguage>
|
||||||
|
<keywords>
|
||||||
|
<keyword>Qt</keyword>
|
||||||
|
<keyword>KDE</keyword>
|
||||||
|
</keywords>
|
||||||
|
<projectname>kdpkg</projectname>
|
||||||
|
<ignoreparts/>
|
||||||
|
</general>
|
||||||
|
<kdevfileview>
|
||||||
|
<groups>
|
||||||
|
<group pattern="*.cpp;*.cxx;*.h" name="Sources" />
|
||||||
|
<group pattern="*.ui" name="User Interface" />
|
||||||
|
<group pattern="*.png" name="Icons" />
|
||||||
|
<group pattern="*.po;*.ts" name="Translations" />
|
||||||
|
<group pattern="*" name="Others" />
|
||||||
|
<hidenonprojectfiles>false</hidenonprojectfiles>
|
||||||
|
<hidenonlocation>false</hidenonlocation>
|
||||||
|
</groups>
|
||||||
|
<tree>
|
||||||
|
<hidepatterns>*.o,*.lo,CVS</hidepatterns>
|
||||||
|
<hidenonprojectfiles>false</hidenonprojectfiles>
|
||||||
|
</tree>
|
||||||
|
</kdevfileview>
|
||||||
|
<kdevdoctreeview>
|
||||||
|
<ignoretocs>
|
||||||
|
<toc>ada</toc>
|
||||||
|
<toc>ada_bugs_gcc</toc>
|
||||||
|
<toc>bash</toc>
|
||||||
|
<toc>bash_bugs</toc>
|
||||||
|
<toc>clanlib</toc>
|
||||||
|
<toc>fortran_bugs_gcc</toc>
|
||||||
|
<toc>gnome1</toc>
|
||||||
|
<toc>gnustep</toc>
|
||||||
|
<toc>gtk</toc>
|
||||||
|
<toc>gtk_bugs</toc>
|
||||||
|
<toc>haskell</toc>
|
||||||
|
<toc>haskell_bugs_ghc</toc>
|
||||||
|
<toc>java_bugs_gcc</toc>
|
||||||
|
<toc>java_bugs_sun</toc>
|
||||||
|
<toc>opengl</toc>
|
||||||
|
<toc>pascal_bugs_fp</toc>
|
||||||
|
<toc>php</toc>
|
||||||
|
<toc>php_bugs</toc>
|
||||||
|
<toc>perl</toc>
|
||||||
|
<toc>perl_bugs</toc>
|
||||||
|
<toc>python</toc>
|
||||||
|
<toc>python_bugs</toc>
|
||||||
|
<toc>ruby</toc>
|
||||||
|
<toc>ruby_bugs</toc>
|
||||||
|
<toc>sdl</toc>
|
||||||
|
<toc>stl</toc>
|
||||||
|
<toc>sw</toc>
|
||||||
|
<toc>w3c-dom-level2-html</toc>
|
||||||
|
<toc>w3c-svg</toc>
|
||||||
|
<toc>w3c-uaag10</toc>
|
||||||
|
<toc>wxwidgets_bugs</toc>
|
||||||
|
</ignoretocs>
|
||||||
|
<ignoreqt_xml>
|
||||||
|
<toc>qmake User Guide</toc>
|
||||||
|
</ignoreqt_xml>
|
||||||
|
</kdevdoctreeview>
|
||||||
|
<kdevdebugger>
|
||||||
|
<general>
|
||||||
|
<dbgshell>libtool</dbgshell>
|
||||||
|
</general>
|
||||||
|
</kdevdebugger>
|
||||||
|
<kdevfilecreate>
|
||||||
|
<useglobaltypes>
|
||||||
|
<type ext="ui" />
|
||||||
|
<type ext="cpp" />
|
||||||
|
<type ext="h" />
|
||||||
|
</useglobaltypes>
|
||||||
|
</kdevfilecreate>
|
||||||
|
<kdevcppsupport>
|
||||||
|
<qt>
|
||||||
|
<used>false</used>
|
||||||
|
<version>3</version>
|
||||||
|
<includestyle>3</includestyle>
|
||||||
|
<root>/usr/share/qt3</root>
|
||||||
|
<designerintegration>EmbeddedKDevDesigner</designerintegration>
|
||||||
|
<qmake>/usr/bin/qmake-qt3</qmake>
|
||||||
|
<designer>/usr/bin/designer-qt3</designer>
|
||||||
|
<designerpluginpaths/>
|
||||||
|
</qt>
|
||||||
|
<references/>
|
||||||
|
<designerintegration>
|
||||||
|
<qtdesigner/>
|
||||||
|
</designerintegration>
|
||||||
|
<codecompletion>
|
||||||
|
<automaticCodeCompletion>false</automaticCodeCompletion>
|
||||||
|
<automaticArgumentsHint>true</automaticArgumentsHint>
|
||||||
|
<automaticHeaderCompletion>true</automaticHeaderCompletion>
|
||||||
|
<codeCompletionDelay>250</codeCompletionDelay>
|
||||||
|
<argumentsHintDelay>400</argumentsHintDelay>
|
||||||
|
<headerCompletionDelay>250</headerCompletionDelay>
|
||||||
|
<showOnlyAccessibleItems>false</showOnlyAccessibleItems>
|
||||||
|
<completionBoxItemOrder>0</completionBoxItemOrder>
|
||||||
|
<howEvaluationContextMenu>true</howEvaluationContextMenu>
|
||||||
|
<showCommentWithArgumentHint>true</showCommentWithArgumentHint>
|
||||||
|
<statusBarTypeEvaluation>false</statusBarTypeEvaluation>
|
||||||
|
<namespaceAliases>std=_GLIBCXX_STD;__gnu_cxx=std</namespaceAliases>
|
||||||
|
<processPrimaryTypes>true</processPrimaryTypes>
|
||||||
|
<processFunctionArguments>false</processFunctionArguments>
|
||||||
|
<preProcessAllHeaders>false</preProcessAllHeaders>
|
||||||
|
<parseMissingHeadersExperimental>false</parseMissingHeadersExperimental>
|
||||||
|
<resolveIncludePathsUsingMakeExperimental>false</resolveIncludePathsUsingMakeExperimental>
|
||||||
|
<alwaysParseInBackground>true</alwaysParseInBackground>
|
||||||
|
<usePermanentCaching>true</usePermanentCaching>
|
||||||
|
<alwaysIncludeNamespaces>false</alwaysIncludeNamespaces>
|
||||||
|
<includePaths>.;</includePaths>
|
||||||
|
</codecompletion>
|
||||||
|
</kdevcppsupport>
|
||||||
|
<kdevautoproject>
|
||||||
|
<make>
|
||||||
|
<envvars>
|
||||||
|
<envvar value="1" name="WANT_AUTOCONF_2_5" />
|
||||||
|
<envvar value="1" name="WANT_AUTOMAKE_1_6" />
|
||||||
|
</envvars>
|
||||||
|
</make>
|
||||||
|
</kdevautoproject>
|
||||||
|
</kdevelop>
|
@ -0,0 +1,28 @@
|
|||||||
|
<?xml version = '1.0' encoding = 'UTF-8'?>
|
||||||
|
<!DOCTYPE KDevPrjSession>
|
||||||
|
<KDevPrjSession>
|
||||||
|
<DocsAndViews NumberOfDocuments="1" >
|
||||||
|
<Doc0 NumberOfViews="1" URL="file:///home/wuertz/dev/kdpkg/kdpkg-install/install.cpp" >
|
||||||
|
<View0 Encoding="" line="126" Type="Source" />
|
||||||
|
</Doc0>
|
||||||
|
</DocsAndViews>
|
||||||
|
<pluginList>
|
||||||
|
<kdevdebugger>
|
||||||
|
<breakpointList/>
|
||||||
|
<showInternalCommands value="0" />
|
||||||
|
</kdevdebugger>
|
||||||
|
<kdevastyle>
|
||||||
|
<Extensions ext="*.cpp *.h,*.c *.h,*.cxx *.hxx,*.c++ *.h++,*.cc *.hh,*.C *.H,*.diff,*.inl,*.java,*.moc,*.patch,*.tlh,*.xpm" />
|
||||||
|
<AStyle IndentPreprocessors="0" FillCount="4" PadParenthesesOut="1" IndentNamespaces="1" IndentLabels="1" Fill="Tabs" MaxStatement="40" Brackets="Break" MinConditional="-1" IndentBrackets="0" PadParenthesesUn="1" BlockBreak="0" KeepStatements="1" KeepBlocks="1" BlockIfElse="0" IndentSwitches="1" PadOperators="0" FStyle="UserDefined" IndentCases="0" FillEmptyLines="0" BracketsCloseHeaders="0" BlockBreakAll="0" PadParenthesesIn="1" IndentClasses="1" IndentBlocks="0" FillForce="0" />
|
||||||
|
</kdevastyle>
|
||||||
|
<kdevbookmarks>
|
||||||
|
<bookmarks/>
|
||||||
|
</kdevbookmarks>
|
||||||
|
<kdevvalgrind>
|
||||||
|
<executable path="" params="" />
|
||||||
|
<valgrind path="" params="" />
|
||||||
|
<calltree path="" params="" />
|
||||||
|
<kcachegrind path="" />
|
||||||
|
</kdevvalgrind>
|
||||||
|
</pluginList>
|
||||||
|
</KDevPrjSession>
|
@ -0,0 +1,26 @@
|
|||||||
|
# set the include path for X, qt and KDE
|
||||||
|
AM_CPPFLAGS = $(all_includes)
|
||||||
|
|
||||||
|
# these are the headers for your project
|
||||||
|
noinst_HEADERS = kdpkg.h
|
||||||
|
|
||||||
|
# let automoc handle all of the meta source files (moc)
|
||||||
|
METASOURCES = AUTO
|
||||||
|
|
||||||
|
# the application source, library search path, and link libraries
|
||||||
|
kdpkg_SOURCES = main.cpp kdpkg.cpp kdpkgdialog.ui process.cpp
|
||||||
|
kdpkg_LDFLAGS = $(KDE_RPATH) $(all_libraries)
|
||||||
|
kdpkg_LDADD = $(LIB_KDEUI)
|
||||||
|
|
||||||
|
|
||||||
|
# application
|
||||||
|
xdg_apps_DATA = kdpkg.desktop
|
||||||
|
bin_PROGRAMS = kdpkg
|
||||||
|
|
||||||
|
sharedir = $(pkgdatadir)
|
||||||
|
|
||||||
|
|
||||||
|
# translation
|
||||||
|
messages: rc.cpp
|
||||||
|
$(EXTRACTRC) `find . -name \*.ui -o -name \*.rc` > rc.cpp
|
||||||
|
$(XGETTEXT) *.cpp -o $(podir)/kdpkg.pot
|
@ -0,0 +1,246 @@
|
|||||||
|
/*
|
||||||
|
* kdpkg.cpp
|
||||||
|
*
|
||||||
|
* Copyright (c) 2007 Fabian Wuertz
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License version 2 as
|
||||||
|
* published by the Free Software Foundation.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
#include <kmessagebox.h>
|
||||||
|
#include <kgenericfactory.h>
|
||||||
|
#include <kaboutapplication.h>
|
||||||
|
#include <kurlrequester.h>
|
||||||
|
|
||||||
|
#include <qlabel.h>
|
||||||
|
#include <qlineedit.h>
|
||||||
|
#include <qlistview.h>
|
||||||
|
#include <qlistbox.h>
|
||||||
|
#include <qtextbrowser.h>
|
||||||
|
#include <qwidgetstack.h>
|
||||||
|
#include <qprocess.h>
|
||||||
|
#include <qregexp.h>
|
||||||
|
#include <qfiledialog.h>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#include "kdpkg.h"
|
||||||
|
|
||||||
|
|
||||||
|
kdpkg::kdpkg( const QString &url, QWidget *parent, const char *name, const QStringList &)
|
||||||
|
:KdpkgDialog(parent, name)
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
if( !url )
|
||||||
|
path = QFileDialog::getOpenFileName( "", i18n("Debian Package (*.deb)"), this, i18n("open file dialog"), i18n("Choose a file to open") );
|
||||||
|
else
|
||||||
|
path = url;
|
||||||
|
|
||||||
|
this->shell = new Process();
|
||||||
|
|
||||||
|
|
||||||
|
// show fields
|
||||||
|
this->shell->setCommand("dpkg -f "+path);
|
||||||
|
this->shell->start(true);
|
||||||
|
fields = QStringList::split( "\n", this->shell->getBuffer().stripWhiteSpace() );
|
||||||
|
showFields();
|
||||||
|
|
||||||
|
|
||||||
|
// show files
|
||||||
|
this->shell->setCommand("dpkg -c "+url);
|
||||||
|
this->shell->start(true);
|
||||||
|
QStringList files = QStringList::split( "\n", this->shell->getBuffer().stripWhiteSpace() );
|
||||||
|
QString tmp;
|
||||||
|
for(uint i = 0; i < files.count(); i++)
|
||||||
|
tmp += QStringList::split( ".", files[i])[1]+"<br>";
|
||||||
|
filesTextBrowser->setText( tmp ) ;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//----------------------------------------------------------------------------//
|
||||||
|
//--- show info --------------------------------------------------------------//
|
||||||
|
//----------------------------------------------------------------------------//
|
||||||
|
|
||||||
|
|
||||||
|
void kdpkg::showFields()
|
||||||
|
{
|
||||||
|
|
||||||
|
// checkArchitecture
|
||||||
|
//-------------------
|
||||||
|
checkArchitecture( fields.grep("Architecture:")[0].mid(14) );
|
||||||
|
|
||||||
|
|
||||||
|
// common
|
||||||
|
//--------
|
||||||
|
QString pkgName = fields.grep("Package:")[0].mid(9);
|
||||||
|
QString pkgVersion = fields.grep("Version:")[0].mid(9);
|
||||||
|
QStringList versions = getVersions(fields.grep("Package:")[0].mid(9));
|
||||||
|
QString sysVersion = versions[0];
|
||||||
|
QString repVersion = versions[1];
|
||||||
|
|
||||||
|
package2TextLabel->setText( pkgName );
|
||||||
|
version2TextLabel->setText( pkgVersion+" (Package)<br>"+sysVersion+" (System)<br>"+repVersion+" (Repository)");
|
||||||
|
maintainer2TextLabel->setText( fields.grep("Maintainer:")[0].mid(12) );
|
||||||
|
section2TextLabel->setText( fields.grep("Section:")[0].mid(9)+" ("+fields.grep("Priority:")[0].mid(10)+")" );
|
||||||
|
size2TextLabel->setText( fields.grep("Installed-Size:")[0].mid(16)+" kb" );
|
||||||
|
|
||||||
|
|
||||||
|
// description
|
||||||
|
//-------------
|
||||||
|
QStringList tmp = fields.grep( QRegExp("^ ") );
|
||||||
|
QString description = "<b>"+fields.grep("Description:")[0].mid(13)+"</b><br><br>";
|
||||||
|
for(uint i = 0; i < tmp.count(); i++)
|
||||||
|
{
|
||||||
|
if( tmp[i] == " ." )
|
||||||
|
description += "<br>";
|
||||||
|
else
|
||||||
|
description += tmp[i].mid(1)+"<br>";
|
||||||
|
}
|
||||||
|
descriptionTextBrowser->setText(description );
|
||||||
|
|
||||||
|
|
||||||
|
// dependencies
|
||||||
|
//--------------
|
||||||
|
types.append("Depends");
|
||||||
|
types.append("Recommends");
|
||||||
|
types.append("Suggests");
|
||||||
|
types.append("Enhances");
|
||||||
|
types.append("Pre-Depends");
|
||||||
|
types.append("Provides");
|
||||||
|
types.append("Conflicts");
|
||||||
|
types.append("Replaces");
|
||||||
|
|
||||||
|
for( QStringList::Iterator it = types.begin(); it != types.end(); ++it )
|
||||||
|
dependencies.append(fields.grep(*it+":")[0]);
|
||||||
|
showDependencies(0);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//----------------------------------------------------------------------------//
|
||||||
|
//--- show dependencies ------------------------------------------------------//
|
||||||
|
//----------------------------------------------------------------------------//
|
||||||
|
|
||||||
|
|
||||||
|
void kdpkg::showDependencies(int i)
|
||||||
|
{
|
||||||
|
|
||||||
|
dependenciesListBox->clear();
|
||||||
|
|
||||||
|
|
||||||
|
if(i == 0) // all
|
||||||
|
{
|
||||||
|
|
||||||
|
for( QStringList::Iterator it = dependencies.begin(); it != dependencies.end(); ++it )
|
||||||
|
{
|
||||||
|
QStringList tmp = QStringList::split( ", ", *it );
|
||||||
|
QString type = QStringList::split( ":", tmp[0])[0];
|
||||||
|
tmp[0] = QStringList::split( ": ", tmp[0] )[1];
|
||||||
|
for(uint i = 0; i < tmp.count(); i++)
|
||||||
|
dependenciesListBox->insertItem( type+": "+tmp[i] );
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
QString choice = types[i-1];
|
||||||
|
dependenciesListBox->insertStringList( QStringList::split( ", ", dependencies.grep(choice+":")[0].mid(choice.length()+2) ) );
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//----------------------------------------------------------------------------//
|
||||||
|
//--- get --------------------------------------------------------------------//
|
||||||
|
//----------------------------------------------------------------------------//
|
||||||
|
|
||||||
|
QStringList kdpkg::getVersions(QString package)
|
||||||
|
{
|
||||||
|
this->shell->setCommand("apt-cache policy "+package);
|
||||||
|
this->shell->start(true);
|
||||||
|
QStringList input = QStringList::split( "\n", this->shell->getBuffer().stripWhiteSpace() );
|
||||||
|
|
||||||
|
QString sysVersion = input[1];
|
||||||
|
sysVersion = QStringList::split( ":", sysVersion)[1].replace(" ","");
|
||||||
|
|
||||||
|
if( sysVersion.contains("(") || sysVersion == "" )
|
||||||
|
sysVersion = i18n("not installed");
|
||||||
|
|
||||||
|
|
||||||
|
QString repVersion = input[2];
|
||||||
|
repVersion = QStringList::split( ":", repVersion)[1].replace(" ","");
|
||||||
|
|
||||||
|
if( repVersion.contains("(") || repVersion == "" )
|
||||||
|
repVersion = i18n("not available");
|
||||||
|
|
||||||
|
|
||||||
|
QStringList versions;
|
||||||
|
versions.append(sysVersion);
|
||||||
|
versions.append(repVersion);
|
||||||
|
|
||||||
|
return versions;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//----------------------------------------------------------------------------//
|
||||||
|
//--- architecture -----------------------------------------------------------//
|
||||||
|
//----------------------------------------------------------------------------//
|
||||||
|
|
||||||
|
|
||||||
|
void kdpkg::checkArchitecture(QString arch)
|
||||||
|
{
|
||||||
|
if(arch == "all")
|
||||||
|
return;
|
||||||
|
|
||||||
|
// get architecture
|
||||||
|
this->shell->setCommand("dpkg --print-architecture");
|
||||||
|
this->shell->start(true);
|
||||||
|
|
||||||
|
if( arch == this->shell->getBuffer().stripWhiteSpace() )
|
||||||
|
return;
|
||||||
|
|
||||||
|
KMessageBox::information(this, i18n("The architecture of the package and the system doesn't match! You will not be able to install this package!"));
|
||||||
|
|
||||||
|
installPushButton->setEnabled(FALSE);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//----------------------------------------------------------------------------//
|
||||||
|
//--- about ------------------------------------------------------------------//
|
||||||
|
//----------------------------------------------------------------------------//
|
||||||
|
|
||||||
|
|
||||||
|
void kdpkg::about()
|
||||||
|
{
|
||||||
|
|
||||||
|
KAboutApplication* about = new KAboutApplication ( this );
|
||||||
|
about->show();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
//--- install ------------------------------------------------------------------
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
void kdpkg::install()
|
||||||
|
{
|
||||||
|
this->shell->setCommand("su-to-root -X -c \"kdpkg-install "+path+"\"&");
|
||||||
|
this->shell->start(true);
|
||||||
|
close();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#include "kdpkg.moc"
|
@ -0,0 +1,13 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Encoding=UTF-8
|
||||||
|
Icon=kdpkg
|
||||||
|
Type=Application
|
||||||
|
Exec=kdpkg %U
|
||||||
|
|
||||||
|
Name=kdpkg
|
||||||
|
Comment=Information about sidux
|
||||||
|
Comment[de]=Informationen über sidux
|
||||||
|
|
||||||
|
MimeType=application/x-deb;application/x-debian-package;
|
||||||
|
|
||||||
|
Categories=Qt;KDE;Utility
|
@ -0,0 +1,60 @@
|
|||||||
|
/*
|
||||||
|
* kdpg.h
|
||||||
|
*
|
||||||
|
* Copyright (c) 2007 Fabian Wuertz
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License version 2 as
|
||||||
|
* published by the Free Software Foundation.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef KDPKG_H_
|
||||||
|
#define KDPKG_H_
|
||||||
|
|
||||||
|
#include <kdpkgdialog.h>
|
||||||
|
|
||||||
|
#include <kde_terminal_interface.h>
|
||||||
|
#include <kparts/part.h>
|
||||||
|
#include <process.h>
|
||||||
|
#include <qprocess.h>
|
||||||
|
|
||||||
|
class kdpkg : public KdpkgDialog
|
||||||
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
|
public:
|
||||||
|
kdpkg(const QString &url = QString(), QWidget *parent = 0L, const char *name = 0L, const QStringList &foo = QStringList());
|
||||||
|
|
||||||
|
void checkArchitecture(QString);
|
||||||
|
|
||||||
|
QStringList getVersions(QString);
|
||||||
|
|
||||||
|
QStringList fields;
|
||||||
|
QStringList types;
|
||||||
|
QStringList dependencies;
|
||||||
|
QString path;
|
||||||
|
|
||||||
|
private:
|
||||||
|
Process* shell;
|
||||||
|
|
||||||
|
|
||||||
|
public slots:
|
||||||
|
virtual void showFields();
|
||||||
|
virtual void showDependencies(int);
|
||||||
|
virtual void about();
|
||||||
|
virtual void install();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif
|
@ -0,0 +1,498 @@
|
|||||||
|
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
|
||||||
|
<class>KdpkgDialog</class>
|
||||||
|
<author>Fabian Wuertz</author>
|
||||||
|
<widget class="QWidget">
|
||||||
|
<property name="name">
|
||||||
|
<cstring>KdpkgDialog</cstring>
|
||||||
|
</property>
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>0</x>
|
||||||
|
<y>0</y>
|
||||||
|
<width>650</width>
|
||||||
|
<height>397</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="caption">
|
||||||
|
<string>kdpkg</string>
|
||||||
|
</property>
|
||||||
|
<property name="icon">
|
||||||
|
<pixmap>image0</pixmap>
|
||||||
|
</property>
|
||||||
|
<grid>
|
||||||
|
<property name="name">
|
||||||
|
<cstring>unnamed</cstring>
|
||||||
|
</property>
|
||||||
|
<widget class="QTabWidget" row="2" column="0" rowspan="1" colspan="4">
|
||||||
|
<property name="name">
|
||||||
|
<cstring>tabWidget</cstring>
|
||||||
|
</property>
|
||||||
|
<widget class="QWidget">
|
||||||
|
<property name="name">
|
||||||
|
<cstring>tab</cstring>
|
||||||
|
</property>
|
||||||
|
<attribute name="title">
|
||||||
|
<string>Co&mmon</string>
|
||||||
|
</attribute>
|
||||||
|
<widget class="QLabel">
|
||||||
|
<property name="name">
|
||||||
|
<cstring>package2TextLabel</cstring>
|
||||||
|
</property>
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>140</x>
|
||||||
|
<y>20</y>
|
||||||
|
<width>400</width>
|
||||||
|
<height>30</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string></string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QLabel">
|
||||||
|
<property name="name">
|
||||||
|
<cstring>version1TextLabel</cstring>
|
||||||
|
</property>
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>40</x>
|
||||||
|
<y>60</y>
|
||||||
|
<width>80</width>
|
||||||
|
<height>30</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string><b>Version:</b></string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QLabel">
|
||||||
|
<property name="name">
|
||||||
|
<cstring>version2TextLabel</cstring>
|
||||||
|
</property>
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>140</x>
|
||||||
|
<y>60</y>
|
||||||
|
<width>400</width>
|
||||||
|
<height>60</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string></string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QLabel">
|
||||||
|
<property name="name">
|
||||||
|
<cstring>maintainer1TextLabel</cstring>
|
||||||
|
</property>
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>40</x>
|
||||||
|
<y>130</y>
|
||||||
|
<width>92</width>
|
||||||
|
<height>30</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string><b>Maintainer:</b></string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QLabel">
|
||||||
|
<property name="name">
|
||||||
|
<cstring>maintainer2TextLabel</cstring>
|
||||||
|
</property>
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>140</x>
|
||||||
|
<y>130</y>
|
||||||
|
<width>400</width>
|
||||||
|
<height>30</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string></string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QLabel">
|
||||||
|
<property name="name">
|
||||||
|
<cstring>section1TextLabel</cstring>
|
||||||
|
</property>
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>40</x>
|
||||||
|
<y>170</y>
|
||||||
|
<width>92</width>
|
||||||
|
<height>30</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string><b>Section:</b></string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QLabel">
|
||||||
|
<property name="name">
|
||||||
|
<cstring>section2TextLabel</cstring>
|
||||||
|
</property>
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>140</x>
|
||||||
|
<y>170</y>
|
||||||
|
<width>400</width>
|
||||||
|
<height>30</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string></string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QLabel">
|
||||||
|
<property name="name">
|
||||||
|
<cstring>size1TextLabel</cstring>
|
||||||
|
</property>
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>40</x>
|
||||||
|
<y>210</y>
|
||||||
|
<width>92</width>
|
||||||
|
<height>30</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string><b>Size:</b></string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QLabel">
|
||||||
|
<property name="name">
|
||||||
|
<cstring>size2TextLabel</cstring>
|
||||||
|
</property>
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>140</x>
|
||||||
|
<y>210</y>
|
||||||
|
<width>400</width>
|
||||||
|
<height>30</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string></string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QLabel">
|
||||||
|
<property name="name">
|
||||||
|
<cstring>package1TextLabel</cstring>
|
||||||
|
</property>
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>40</x>
|
||||||
|
<y>20</y>
|
||||||
|
<width>80</width>
|
||||||
|
<height>30</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string><b>Name:</b></string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</widget>
|
||||||
|
<widget class="QWidget">
|
||||||
|
<property name="name">
|
||||||
|
<cstring>TabPage</cstring>
|
||||||
|
</property>
|
||||||
|
<attribute name="title">
|
||||||
|
<string>Descripti&on</string>
|
||||||
|
</attribute>
|
||||||
|
<grid>
|
||||||
|
<property name="name">
|
||||||
|
<cstring>unnamed</cstring>
|
||||||
|
</property>
|
||||||
|
<widget class="QTextBrowser" row="0" column="0">
|
||||||
|
<property name="name">
|
||||||
|
<cstring>descriptionTextBrowser</cstring>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</grid>
|
||||||
|
</widget>
|
||||||
|
<widget class="QWidget">
|
||||||
|
<property name="name">
|
||||||
|
<cstring>TabPage</cstring>
|
||||||
|
</property>
|
||||||
|
<attribute name="title">
|
||||||
|
<string>Dependencies</string>
|
||||||
|
</attribute>
|
||||||
|
<grid>
|
||||||
|
<property name="name">
|
||||||
|
<cstring>unnamed</cstring>
|
||||||
|
</property>
|
||||||
|
<widget class="QListBox" row="1" column="0">
|
||||||
|
<property name="name">
|
||||||
|
<cstring>dependenciesListBox</cstring>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QComboBox" row="0" column="0">
|
||||||
|
<item>
|
||||||
|
<property name="text">
|
||||||
|
<string>All</string>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<property name="text">
|
||||||
|
<string>Depends</string>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<property name="text">
|
||||||
|
<string>Recommends</string>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<property name="text">
|
||||||
|
<string>Suggests</string>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<property name="text">
|
||||||
|
<string>Enhances</string>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<property name="text">
|
||||||
|
<string>Pre-Depends</string>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<property name="text">
|
||||||
|
<string>Provides</string>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<property name="text">
|
||||||
|
<string>Conflicts</string>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<property name="text">
|
||||||
|
<string>Replaces</string>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
|
<property name="name">
|
||||||
|
<cstring>dependenciesComboBox</cstring>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</grid>
|
||||||
|
</widget>
|
||||||
|
<widget class="QWidget">
|
||||||
|
<property name="name">
|
||||||
|
<cstring>TabPage</cstring>
|
||||||
|
</property>
|
||||||
|
<attribute name="title">
|
||||||
|
<string>I&ncluded Files</string>
|
||||||
|
</attribute>
|
||||||
|
<grid>
|
||||||
|
<property name="name">
|
||||||
|
<cstring>unnamed</cstring>
|
||||||
|
</property>
|
||||||
|
<widget class="QTextBrowser" row="0" column="0">
|
||||||
|
<property name="name">
|
||||||
|
<cstring>filesTextBrowser</cstring>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</grid>
|
||||||
|
</widget>
|
||||||
|
</widget>
|
||||||
|
<widget class="QPushButton" row="3" column="0">
|
||||||
|
<property name="name">
|
||||||
|
<cstring>aboutPushButton</cstring>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>&about</string>
|
||||||
|
</property>
|
||||||
|
<property name="accel">
|
||||||
|
<string>Alt+A</string>
|
||||||
|
</property>
|
||||||
|
<property name="iconSet">
|
||||||
|
<iconset>image1</iconset>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<spacer row="3" column="1">
|
||||||
|
<property name="name">
|
||||||
|
<cstring>spacer1</cstring>
|
||||||
|
</property>
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Horizontal</enum>
|
||||||
|
</property>
|
||||||
|
<property name="sizeType">
|
||||||
|
<enum>Expanding</enum>
|
||||||
|
</property>
|
||||||
|
<property name="sizeHint">
|
||||||
|
<size>
|
||||||
|
<width>270</width>
|
||||||
|
<height>20</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
</spacer>
|
||||||
|
<widget class="QPushButton" row="3" column="2">
|
||||||
|
<property name="name">
|
||||||
|
<cstring>installPushButton</cstring>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>start installation wi&zard</string>
|
||||||
|
</property>
|
||||||
|
<property name="accel">
|
||||||
|
<string>Alt+Z</string>
|
||||||
|
</property>
|
||||||
|
<property name="iconSet">
|
||||||
|
<iconset>image2</iconset>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QPushButton" row="3" column="3">
|
||||||
|
<property name="name">
|
||||||
|
<cstring>closePushButton</cstring>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>cl&ose</string>
|
||||||
|
</property>
|
||||||
|
<property name="accel">
|
||||||
|
<string>Alt+O</string>
|
||||||
|
</property>
|
||||||
|
<property name="iconSet">
|
||||||
|
<iconset>image3</iconset>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="Line" row="1" column="0" rowspan="1" colspan="4">
|
||||||
|
<property name="name">
|
||||||
|
<cstring>line1</cstring>
|
||||||
|
</property>
|
||||||
|
<property name="frameShape">
|
||||||
|
<enum>HLine</enum>
|
||||||
|
</property>
|
||||||
|
<property name="frameShadow">
|
||||||
|
<enum>Sunken</enum>
|
||||||
|
</property>
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Horizontal</enum>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QFrame" row="0" column="0" rowspan="1" colspan="4">
|
||||||
|
<property name="name">
|
||||||
|
<cstring>frame</cstring>
|
||||||
|
</property>
|
||||||
|
<property name="frameShape">
|
||||||
|
<enum>NoFrame</enum>
|
||||||
|
</property>
|
||||||
|
<property name="frameShadow">
|
||||||
|
<enum>Raised</enum>
|
||||||
|
</property>
|
||||||
|
<grid>
|
||||||
|
<property name="name">
|
||||||
|
<cstring>unnamed</cstring>
|
||||||
|
</property>
|
||||||
|
<widget class="QLabel" row="0" column="2">
|
||||||
|
<property name="name">
|
||||||
|
<cstring>titleTextLabel</cstring>
|
||||||
|
</property>
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy>
|
||||||
|
<hsizetype>7</hsizetype>
|
||||||
|
<vsizetype>5</vsizetype>
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string><b>Package informations</b></string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QLabel" row="0" column="0">
|
||||||
|
<property name="name">
|
||||||
|
<cstring>pixmapLabel1</cstring>
|
||||||
|
</property>
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy>
|
||||||
|
<hsizetype>0</hsizetype>
|
||||||
|
<vsizetype>0</vsizetype>
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
|
<property name="pixmap">
|
||||||
|
<pixmap>image4</pixmap>
|
||||||
|
</property>
|
||||||
|
<property name="scaledContents">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<spacer row="0" column="1">
|
||||||
|
<property name="name">
|
||||||
|
<cstring>spacer3</cstring>
|
||||||
|
</property>
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Horizontal</enum>
|
||||||
|
</property>
|
||||||
|
<property name="sizeType">
|
||||||
|
<enum>Fixed</enum>
|
||||||
|
</property>
|
||||||
|
<property name="sizeHint">
|
||||||
|
<size>
|
||||||
|
<width>5</width>
|
||||||
|
<height>20</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
</spacer>
|
||||||
|
</grid>
|
||||||
|
</widget>
|
||||||
|
</grid>
|
||||||
|
</widget>
|
||||||
|
<images>
|
||||||
|
<image name="image0">
|
||||||
|
<data format="PNG" length="719">89504e470d0a1a0a0000000d49484452000000100000001008060000001ff3ff610000029649444154388da592df4b536118c7bfef7bce3c67e76ca8ebf82bad045d94e1599448825390609423985dd44d74d98d575e24f507148474d15f108188444491c16e064e2151933c15465330e79c4d9d4eb69dfd3ae7ed62b295b5ab5e782edee77ddecff37c9fe7218c31fccfa1951e02731a1475a84651876a02735a4500395e817cd6db4214f5415bc7a59b82bdae0100b2c99d9f6b5f975eb15ded71eafbbbcd8a00f1fc6d4f63f79dc92bfd9eea530e1e0e1920007693c046bc80f9a03fb13dffe2566665d2ff17406cbbaed6f6ddffd0dbdb27759ea49005a0a7f5488eb60b4350b0b2cd301d9c4eef079ff464d6de6b00c0979ad1ea79daeeea976c22c14106c81940341c02330d6c6ee521352970c8044ed52d2d6e2c3f0570b5d444ab73b0596ce91e102d045b09607d0f882501a9ce09b9e11cf6d1882f5b40240158050ab1a57bc0ea1c6c2e010cc354e5fa764229c000247340b6005ceb285a36be061040cf032004727d3b310c53fd4382c90091072829dead9672a7050e2055e538f3b7c15100e038aaa562ab8c02b0094593abca41a2a5eca70052b155c671542b01f4d0542417990f840f8a1fe5aa6315f0657ff800c845e6037a682a52020080b9ee1f092dcfa4a387c54c1c05dece86f026f80dbc20c12600d14320b43c9336d7fd231517c9d27977b2abd753dd7586423a9291ce018b3f4c2ccefa13f9cfcfffbd489aa6616262823c7bb974da3871f121df74d957eba8af0318f6e33b3b85e8c7d7dcdea747f76e5c08fb7c3ed3ed761701a3a3a3647c7c5c482412d67c3e2f99a669658c898c3191596c0e30464821150790a594ea94529de779dd6eb7a7bd5e6f8630c6100e8731363646171616682c16a3baae738542811a86418a53e218cff3a6288aa6a22886cbe5328787874d5555f10b343919bcd4ac4bed0000000049454e44ae426082</data>
|
||||||
|
</image>
|
||||||
|
<image name="image1">
|
||||||
|
<data format="PNG" length="837">89504e470d0a1a0a0000000d49484452000000100000001008060000001ff3ff610000030c49444154388d75536b485301143ef7ee6e73d3e9dc74a29bade1ccd2a9a199b29569a541a1642c34a9e8fda4b22462503ffa6361694444f422821e28a596981ab64a5b4fcb9c216589545ad3b9e5dabc6e77bb3bfd3266da07e7dff77d9c73be7308448499509640e6302090f5c7e6457143c4429aa7bc66ac3d3e328d888853aa2c49bca36e7741bbe3de39fb50d375745a2dacd3f91b9f3c349af7e766183494800ae4538166d5d9aa4b67f6156d07d60bf0a903187e3408971793248f0f4bb234c93abd26b91a7f2700c0a6691d542e8cbc88952b1037cf42d7da5938b05289cdfa2578a7ae015f7ffe86ae1b27104b25885585787271dce5491d915f769bafea3c7de0d0fa5515d19d7739ecb01dda06c1d968e5747c75312d9e09c7a82c615ece16e9c4ba3ce9844828e6c0f8ec14ef8673a6cc3a8bb50b72d2f225f5b76a9f2322f6bd7d8717f585dea531ea53e912b92a70561d49143fca56d2be1205a26121de28d25e434420098745aad16a530000d81805b439b17ef4c71743a76d7020703fcf587fcdfd3edbcd719a05b00c8122c493974172f9144f9ec813b49c7743ba36d8f69d06ebfb37addd88be99a2edf790464b62eeb6d0300fa87d7c7170c4b092a27b1e3bb9dd7d14b45f06c98800821d7662c6c300007f949c726ead00502bc165eef1796a3ea692ed76cbb7eee1710b8485835444415a84b0e07f06aaacecd5d15132000070025780be091f0900f0f6fb58078844101ee483c284f0c2d2107e59a0303d2a4eb92b517376036d5e43375c01efaf1168be7aa9862b4e321188088bf83c59957e4e4f66182373fffc051f6273a121649eb1ff85a929c86a1166f0e882e5914c9a3a8ca14851103c152c183df660a0244857f2f26f4c7bd5c1e58e23cb183ca245dfd75eb48ebbb17fc48ebd958791de3817715732a24187b6a305de3df122c3a46eca1fec8c0f3d683c79680c03607d528fd85885d87a01dbca8b8777c4871e0cd410ff7e6396449e985f5a5c1e973ebf88e3676929b05edbbb87a3e6de1f0d4f4dafafbf6298c140fe34030080548220b842b1c28f2417dd63b62e3febf85f327f0068e5b17dc3fece020000000049454e44ae426082</data>
|
||||||
|
</image>
|
||||||
|
<image name="image2">
|
||||||
|
<data format="PNG" length="518">89504e470d0a1a0a0000000d49484452000000100000001008060000001ff3ff61000001cd49444154388d95923f68d3411cc53f179bc6067569b0b5580413b425524141c8100527c5a910a471118b94424a409bc1213a1504271d1c0b2a01753110224aa216cd521429a81483cda4a58aa61a53ffe497e6f79c5a43fa370fde70df3bdebd7bf790443dabaf3d171692dd038df3b5b862b038d93f6e7f9bb28bc983578b6374540a7d57aab37df9991b9c04b66c28507dde735956512ae764cf5f97aa0ff57beed85ba01370349e775007eb91abd7b1f7e869f41d9c2e8c7b3f30c1d493dc356041924d2324615d627bed4df71d7b3167ab5690aaaf24ebb164f54b15a3b9178c03ced53268015019ab54f8f8ac561bb2b7751d38b2b5bda71725d19f77980a74ee6670f61e6563ccc5461746d2ff85310668b1def3c1b9833dd32f0f59b7eecfe4078fffbcebacd07678849b3fa42f2b9eb022c81ca95f134c4787cf8e452211793c9e5340ebd285ebfe8224fedee65c669413803b93c9cc07028149a07d533d58de80564944a3d1f3f1785c3e9fef0ce0dab4403dd3e9f4e770389c073cebf6602da452a911bfdfbf2f180c0e1863da360c7135261289422c16fb04ec6cda0140369b1d2a954a5da15068d818e36eda8124bc5eef83783cfe15d8b5dca16604005f2010780a742c09fc034ec20a696fe072cb0000000049454e44ae426082</data>
|
||||||
|
</image>
|
||||||
|
<image name="image3">
|
||||||
|
<data format="PNG" length="752">89504e470d0a1a0a0000000d49484452000000100000001008060000001ff3ff61000002b749444154388da592cd4b546114c69ff7dc199db91fe9bd2329def1fa45ab89460ac145216db536228ab87227e2aa5acc3ada69b9cc4d5121f807f4074408228841a3086590cd4c313adef952e7833bf73d6d52296bd5591d1e38bff370ce239819ff5381bf893bb3b322bbba7a0b525e070010ed744c4d6d5d5f5ebeb44dfce9e09d61dc3775fda93538784defe90188709a4ec3ddd8d82b94cb0fef1e1fbffd27604dd71fd8b1d862dbcc8c109af61b982b151cbd7ac5dfb7b71fdd39397976a6d359f3de3086af3ace82393d2d9819b25804b5b6825a5b218b45b09430a7a6c455c759786f18c397002af0d81c1d2585084d7d7dd0c6c6e0efedc1fff205dad8189afafba110c1bc778f54211eff065837cd36351abd1deee800b259046331046c1beae424d48909046c1bc1580c329b45b8bd1daae3dc5e37cdb60b078d46af66db4485021400a74b4bf03219046c1b01db8697c9a09c4840c966217239689d9d8446a3f7fc8d0a50a7d353885c0e00208900212e0ec80c797000b82ed830409e0705a89f039a2ceb53fdebd73214e54acd34a12f2f2368dba8673200339abbba60bc7881f2f838b4c343d45db7dc64599fcee9cc8c2d5d7f5e8846f9b8bb9b0b6fde702d95e2a3a1213e1a1ae26a2ac5f9d7aff9d871b8108df296ae3f3f9b3bcfc147cb6a979ef7a13b14ea0c11a11689e08aeb0200ca9685503e8f9a94f856abfd10c1e0cd817cfee05290922d2d37aabeff362c84131102ea2fbd02c065469539155694fb374aa5e4a51c249349accecd6d17356da00a3cd9f7fdcfbbbecfbbbecffbbeffb90a3c71356de0e5cccccedadada4594138984585959692e954a61cff3542965989943ccdc6c022a005100aa00ea445423a24a2010a8eaba5e191919a90966463a9dc6e2e2226d6e6e522e97a34aa5a2341a0df27d5f00001171301894a150484622113f1e8fcbf9f979198fc7f11306f33f74f0ffac1c0000000049454e44ae426082</data>
|
||||||
|
</image>
|
||||||
|
<image name="image4">
|
||||||
|
<data format="PNG" length="2322">89504e470d0a1a0a0000000d4948445200000020000000200806000000737a7af4000008d9494441545885c597cb935d5775c67f6b9f7deeabafbaafa4eec618193f4b18481cab1cc094143b3194ed5465901114c53fc004ff01649251c22424930c529925834ca8542038948bb862ac042c195b560bec58a80d92b125abbbd58ffb388fbdd75a19dc56cb7248d9b3acaa736ad73ea7ceface5edffaf6b7c5ddf9ff8c58bdf61d66ead4ed06599de0020e88802949959c85b21bd17a8247c70ddc1d2180402822d666667b63dabd845a0338ab9fba9f48c0cd9120040170b20cc8550302f11616619e793f398004c09058204581c40e2eb6188a709f7b7e048a2f8bf01652fca01c76d78a693b2518968c5006c40582cc3f7d5b8e8389f703983f337782c8c1bba6ac18fe15e01bb1d7bfbf80beba8117982a3965ac6dbf950c4c8b0d1139676affa1399fc6fd5587eab6041f2c81c84d600ef811e011737f2cc029444ef407dd2553a5498a25275ba2d72929e26172a34c6e5c234fb7c05aca7e6f65b8347cf2e89d479f2cfa1d020135bbe2ee67447841e025840b0209010982e82ffe86bd46bf1bca852792d7872dcdb05c03466e1a72ce5876b469994ec754930aad5a8a5e6471719962f10856089d5e41bf3fa08c86b813cc4896c18542040f05d9046d0d45deca4dfd1d11fe565ef8876fde79e2339f7c27ab43280945247423ad96e404cd6483e9f6bba4e936dd5e97de70406f61485ce8114470cbe4a62525a355a32c4a24f6984ca62c0c17500b54d3294d93c875c6bd2508ec8dab0b4590870458de3af3171bae4693121848084cb737a8db447f7195c5958f331c468a0e8865924ed1aa4255e9c4927e7f80c5925993d9dd9eb1b5b9cd3bef5ca35f76e99601114702143227f6d2a13efff2a30b2f16313c1e0b4110279ba1ba4f1255627f40374ed0f41ed38d29b3ad058a1808b14bd9efd3eb8e18ad1e62f3c62e97d637196fef30aba614aac4028e0c7b8063dee204dcc00041312d417001628ce059e78ccef9809d2146fadd25209255b1ac5893c85505931b0413b6b697583bb7465918837e870ec5fc374568537a1fd7edb6666f53c644f000b19080aad1aa925511209b31ecf5e90fba88383736c758de9785286005213a264219955e7f010f8e98803bf63e7515803027a21490936366f3aeb37d1d30553cb5f395f079a2a5d111a4239841d5dca0630e4540f6ffc7c4090ae699a42d6272203186d311a128228621029b3b35bbd3968faf0c512b000f0e842206b266da9c6934d3a4865633adc37079994ed961b2372661d49aa935d36aa6b14456c7b3216ab882ab616a8805dc84f52b5bfcfa9d1d30f8af736ff3f6d55d621054159f0721884826a35951cf184ed3b49c3dfd53aebfbb41b240339be222986674ffcaa638895a1b9a9c48b921b70d668a04a5ae1bceac5da69ed65cfcf5065593f8cc0387c9b9a56912ae869b118388e446493993b3ee6f01c2f29125cebdf432b153305818d0d60dbe2fa50e14064ddd6206aa8e88133be00af5aca2ec96f4fbc24edbb2f5ee9407ef19311a7699ce12650c98b828108b50a09ae63c50c501d339d786bd92f1aca6d3e9913453027a20eb81ac1529658a9831849e169cffe57bacfdf21abfffd9bbe8c51ed7ae8e3157868392eb5b13ca5890b3e0dee22e84580469db4cca992627da9cc83951a784230c073daadc9273a2da7fdeb6892ab768abb4e6e8cd3656e5e87297c1a0cbea4a8f2a29fd4e0084b58bd7b974799bac1935c7cd0a57233a82b99154d17cab5f3f2c8a1c688a969005e9808812ca1edd5073efb10546c382a6aab8fb63cb24552eae6fd38b32efe26ca0f352460929a4dcce39a0faa18901d4a08c81a2165aaf8839d0ef7678e3d235ceacbdc71f7eee18556354c9a952cb83f72cb3b953b37ca44f9b336514cc4d3021164521661937c55cf9a0437b9f4db97d6c81c612969d1c154b0d3b9386ee20b057d52c6b973b8e765919f5f8d9eb57f9c46a8f632b0bcc1aa549829909085184d0b6f3fae7f4d14ae0181a9560014b999639071e3a3ee2f8271779feec15c49d632b0b5cb9ba433d53aea6c468a18b999182e37870878848d1b489dc2a593f22000737c3dd500a626168824995b9f8d636d534b3b53b63fdf22e9fbeff309fffec0ad36424dddf6b4c50352104a28496ac86ea470770334c4035a179dfc8b642b7079ffbbd155646032655c368d861dcb4983a6ef302a602cc2ce046b4267572caa4ac98da6f716dbf2514e8386e017548eae04eca0daba305c4606fd2f0bb771fc180bacab77ca840a98aa9158e1347a3a321371362885466380173473e04896bc472263746f07cc0d09b9d24800a98cf1727c87c930bee9033d574bca4b9a5f8d69ffdf98def7fef9f8fe3e9c18ee42246a30882bbe3ee6473cced039722cce727d32952ecbf8fcf51cc2986bb83d8bebbaf68a77b5cbbbecd8537ae5d3df3faf6b77f7076ef6571777ef8dcf3bc71fee507de5e3fffc46cebcd3f19f5a68faf2ecae26834a0d3eb40e8923398cfcf09002104d4e0fac60665511cac8cecdf028a6acd6c326373a7657b12d7bd77ecb995bb1f7ef681071ffec9c93f786ce7c48987e67e203533da7a76e9afffee9f2efdea57effefd4b3f397ddfcfcffdf8d4c5f5f37f5ce6f79e58399c579697faf47b0b48d9c12ca26e7832cc8c1ce6c62278a26e678cf7666cef287bba74a173f8d3cf1d3f71f2477f7af2899f7dfed1476f1c3ad4e3afbefd97a47a06dc3424a6686e01a8a67bfeb5af7f759daf7f757d736bfa8fafbcfcd2b157ce9e7e74edcdb34fdbf8d29747fde95d771c2d595a1a421c80cea8c75376c73336c745aa8b8fbdb672ec0b3f7ce8b13f7afed12f3e7ee1e1877f67bb08f0afdffb3e5535e1d0a11e49136a760b0066075b6dde0702508d77eca9a7bf74e5a9a7bf74a54d7cf7fc85d7577ffa9ffffec87f9f7bf1c9e9e55f3cdd0f97efdbd8a91ae9de75f6d8f12ffcdb535f7cf28553a71e7bf3de7bef1c03bcf8e3d35475c570d0a74d0d6afb526f37b9f2c1a319f343e7cd68737330ae67639bee5ebff6cc33cf3c0bcf3c7b61ede2e89557cf7ee2d0e2627df2d4c9dfdcb17ab40178f5b535eef13b1181dc26eca6c730e77fe9fc2d00e1d6ccad73e36d9a90b292f69d6edbb454b3dd9d54edecb4254c263bb07a14004d2d292b9db2c0f18395fdbffafa7f00e3aac411f2cc9ef10000000049454e44ae426082</data>
|
||||||
|
</image>
|
||||||
|
</images>
|
||||||
|
<connections>
|
||||||
|
<connection>
|
||||||
|
<sender>aboutPushButton</sender>
|
||||||
|
<signal>clicked()</signal>
|
||||||
|
<receiver>KdpkgDialog</receiver>
|
||||||
|
<slot>about()</slot>
|
||||||
|
</connection>
|
||||||
|
<connection>
|
||||||
|
<sender>closePushButton</sender>
|
||||||
|
<signal>clicked()</signal>
|
||||||
|
<receiver>KdpkgDialog</receiver>
|
||||||
|
<slot>close()</slot>
|
||||||
|
</connection>
|
||||||
|
<connection>
|
||||||
|
<sender>installPushButton</sender>
|
||||||
|
<signal>clicked()</signal>
|
||||||
|
<receiver>KdpkgDialog</receiver>
|
||||||
|
<slot>install()</slot>
|
||||||
|
</connection>
|
||||||
|
<connection>
|
||||||
|
<sender>dependenciesComboBox</sender>
|
||||||
|
<signal>activated(int)</signal>
|
||||||
|
<receiver>KdpkgDialog</receiver>
|
||||||
|
<slot>showDependencies(int)</slot>
|
||||||
|
</connection>
|
||||||
|
</connections>
|
||||||
|
<includes>
|
||||||
|
<include location="local" impldecl="in implementation">kdialog.h</include>
|
||||||
|
</includes>
|
||||||
|
<slots>
|
||||||
|
<slot>showDependencies(int)</slot>
|
||||||
|
<slot>about()</slot>
|
||||||
|
<slot>install()</slot>
|
||||||
|
</slots>
|
||||||
|
<layoutdefaults spacing="6" margin="6"/>
|
||||||
|
</UI>
|
@ -0,0 +1,86 @@
|
|||||||
|
/*
|
||||||
|
* main.cpp
|
||||||
|
*
|
||||||
|
* Copyright (c) 2007 Fabian Wuertz
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License version 2 as
|
||||||
|
* published by the Free Software Foundation.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
#include "kdpkg.h"
|
||||||
|
|
||||||
|
#include <kapplication.h>
|
||||||
|
#include <kaboutdata.h>
|
||||||
|
#include <kcmdlineargs.h>
|
||||||
|
#include <klocale.h>
|
||||||
|
|
||||||
|
|
||||||
|
static KCmdLineOptions options[] =
|
||||||
|
{
|
||||||
|
{ "+[URL]", I18N_NOOP("Location to open"), 0 },
|
||||||
|
KCmdLineLastOption
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
int main(int argc, char **argv)
|
||||||
|
{
|
||||||
|
// specify data for About dialog
|
||||||
|
KAboutData* about = new KAboutData("kdpkg", I18N_NOOP("kdpkg"), "");
|
||||||
|
|
||||||
|
about->setProgramLogo( QImage("/usr/share/icons/hicolor/32x32/apps/kdpkg.png") );
|
||||||
|
about->setShortDescription( I18N_NOOP("Frontend for dpkg.") );
|
||||||
|
about->setLicense(KAboutData::License_GPL_V2);
|
||||||
|
about->setHomepage("http://linux.wuertz.org");
|
||||||
|
about->setBugAddress("xadras@sidux.com");
|
||||||
|
about->setCopyrightStatement("(c) 2007 Fabian Würtz");
|
||||||
|
|
||||||
|
about->addAuthor("Fabian Würtz (xadras)", I18N_NOOP("Developer"), "xadras@sidux.com", "http://xadras.wordpress.com/");
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
KCmdLineArgs::init(argc, argv, about);
|
||||||
|
KCmdLineArgs::addCmdLineOptions( options );
|
||||||
|
|
||||||
|
KApplication app;
|
||||||
|
kdpkg *mainWin = 0;
|
||||||
|
|
||||||
|
if (!app.isRestored())
|
||||||
|
{
|
||||||
|
// no session.. just start up normally
|
||||||
|
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
|
||||||
|
|
||||||
|
QString url;
|
||||||
|
|
||||||
|
for(int i = 0; i < args->count(); i++) // Counting start at 0!
|
||||||
|
url = QString::fromLocal8Bit(args->arg(i));
|
||||||
|
|
||||||
|
//printf(url);
|
||||||
|
|
||||||
|
mainWin = new kdpkg( url );
|
||||||
|
app.setMainWidget( mainWin );
|
||||||
|
//mainWin->getFile(url);
|
||||||
|
mainWin->show();
|
||||||
|
|
||||||
|
args->clear();
|
||||||
|
}
|
||||||
|
|
||||||
|
// mainWin has WDestructiveClose flag by default, so it will delete itself.
|
||||||
|
return app.exec();
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,63 @@
|
|||||||
|
#include "process.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Process::Process()
|
||||||
|
{
|
||||||
|
_buffer = QString::null;
|
||||||
|
_process = new KProcess();
|
||||||
|
|
||||||
|
connect(_process, SIGNAL(receivedStdout(KProcess*, char*, int)),
|
||||||
|
this, SLOT(slotProcessOutput(KProcess*, char*, int)));
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
Process::~Process()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
void Process::setCommand(QString command)
|
||||||
|
{
|
||||||
|
// make clean
|
||||||
|
_process->clearArguments();
|
||||||
|
_buffer = QString::null;
|
||||||
|
|
||||||
|
*_process << "/bin/sh";
|
||||||
|
*_process << "-c";
|
||||||
|
*_process << command;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void Process::start(bool block)
|
||||||
|
{
|
||||||
|
if( block )
|
||||||
|
_process->start(KProcess::Block, KProcess::Stdout);
|
||||||
|
else
|
||||||
|
_process->start(KProcess::DontCare, KProcess::Stdout);
|
||||||
|
}
|
||||||
|
|
||||||
|
QString Process::getBuffer()
|
||||||
|
{
|
||||||
|
return _buffer;
|
||||||
|
}
|
||||||
|
|
||||||
|
int Process::exitStatus()
|
||||||
|
{
|
||||||
|
return _process->exitStatus();
|
||||||
|
}
|
||||||
|
|
||||||
|
bool Process::normalExit()
|
||||||
|
{
|
||||||
|
return _process->normalExit();
|
||||||
|
}
|
||||||
|
|
||||||
|
void Process::slotProcessOutput(KProcess* process, char* buffer, int len)
|
||||||
|
{
|
||||||
|
if (process != _process) return;
|
||||||
|
|
||||||
|
_buffer.append(QString::fromLocal8Bit(buffer, len));
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,37 @@
|
|||||||
|
#ifndef PROCESS_H
|
||||||
|
#define PROCESS_H
|
||||||
|
|
||||||
|
#include <kprocess.h>
|
||||||
|
#include <iostream>
|
||||||
|
#include <fstream>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
class Process;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
class Process : public QObject {
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
|
public:
|
||||||
|
Process();
|
||||||
|
~Process();
|
||||||
|
|
||||||
|
QString getBuffer();
|
||||||
|
int exitStatus();
|
||||||
|
bool normalExit();
|
||||||
|
void setCommand(QString command);
|
||||||
|
void start(bool block=true);
|
||||||
|
|
||||||
|
protected:
|
||||||
|
KProcess* _process;
|
||||||
|
QString _buffer;
|
||||||
|
|
||||||
|
protected slots:
|
||||||
|
void slotProcessOutput(KProcess* process, char* buffer, int buflen);
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#endif
|
@ -0,0 +1,14 @@
|
|||||||
|
POFILES = AUTO
|
||||||
|
SUBDIRS = de
|
||||||
|
SHELL = /bin/sh
|
||||||
|
|
||||||
|
merge:
|
||||||
|
cd $(top_srcdir)/po; \
|
||||||
|
for subdir in $(SUBDIRS); do \
|
||||||
|
for potfile in *.pot; do \
|
||||||
|
if test "$$subdir" = "."; then :; else \
|
||||||
|
subname=$$(basename $$potfile .pot); \
|
||||||
|
$(MAKE) -f $(top_srcdir)/admin/Makefile.common package-merge POFILES="$$subdir/$$subname.po" PACKAGE="$$subname"; \
|
||||||
|
fi; \
|
||||||
|
done; \
|
||||||
|
done;
|
@ -0,0 +1,5 @@
|
|||||||
|
KDE_LANG = de
|
||||||
|
POFILES = AUTO
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f *.gmo
|
@ -0,0 +1,196 @@
|
|||||||
|
# translation of kdpkg-install.po to
|
||||||
|
# This file is put in the public domain.
|
||||||
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||||
|
#
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: kdpkg-install\n"
|
||||||
|
"Report-Msgid-Bugs-To: \n"
|
||||||
|
"POT-Creation-Date: 2008-02-08 15:23+0100\n"
|
||||||
|
"PO-Revision-Date: 2008-02-08 14:54+0100\n"
|
||||||
|
"Last-Translator: Fabian Wuertz\n"
|
||||||
|
"Language-Team: \n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
"X-Generator: KBabel 1.11.4\n"
|
||||||
|
|
||||||
|
#: _translatorinfo.cpp:1
|
||||||
|
msgid ""
|
||||||
|
"_: NAME OF TRANSLATORS\n"
|
||||||
|
"Your names"
|
||||||
|
msgstr "Fabian Würtz"
|
||||||
|
|
||||||
|
#: _translatorinfo.cpp:3
|
||||||
|
msgid ""
|
||||||
|
"_: EMAIL OF TRANSLATORS\n"
|
||||||
|
"Your emails"
|
||||||
|
msgstr "xadras@sidux.com"
|
||||||
|
|
||||||
|
#: install.cpp:46
|
||||||
|
msgid "Debian Package (*.deb)"
|
||||||
|
msgstr "Debian-Packet (*.deb)"
|
||||||
|
|
||||||
|
#: install.cpp:46
|
||||||
|
msgid "open file dialog"
|
||||||
|
msgstr "Öffen-Dateidialog"
|
||||||
|
|
||||||
|
#: install.cpp:46
|
||||||
|
msgid "Choose a file to open"
|
||||||
|
msgstr "Wählen Sie eine Datei die geöffnet werden soll"
|
||||||
|
|
||||||
|
#: install.cpp:114
|
||||||
|
msgid "The following packages will be installed, updated or removed:"
|
||||||
|
msgstr "Die folgenden Pakete werden installiert, aktualisiert oder entfernt."
|
||||||
|
|
||||||
|
#: install.cpp:119
|
||||||
|
msgid ""
|
||||||
|
"The architecture of the package and the system doesn't match! You will not "
|
||||||
|
"be able to install this package!"
|
||||||
|
msgstr ""
|
||||||
|
"Die Systemarchitektur des Paketes und des Systems stimmen nicht übereien! "
|
||||||
|
"Das Paekt kann deswegen nicht installiert werden!"
|
||||||
|
|
||||||
|
#: install.cpp:127
|
||||||
|
msgid ""
|
||||||
|
"The package database is used by another process (E.g Synaptic)! Please "
|
||||||
|
"terminate this process and press next."
|
||||||
|
msgstr ""
|
||||||
|
"Die Paketdatenbank wird von einem anderen Programm verwenden (z.B. "
|
||||||
|
"Synaptic). Bitte schliessen Sie dieses Programm und drücken Sie weiter."
|
||||||
|
|
||||||
|
#: install.cpp:136
|
||||||
|
msgid "Resynchronization of the package index files."
|
||||||
|
msgstr "Synchronisation des Paketindexes."
|
||||||
|
|
||||||
|
#: install.cpp:154
|
||||||
|
msgid "Installation of the new package."
|
||||||
|
msgstr "Installation des neuen Paketes."
|
||||||
|
|
||||||
|
#: main.cpp:31
|
||||||
|
msgid "Location to open"
|
||||||
|
msgstr "Ort zum öffnen"
|
||||||
|
|
||||||
|
#. i18n: file ./installdialog.ui line 17
|
||||||
|
#: main.cpp:41 rc.cpp:3
|
||||||
|
#, no-c-format
|
||||||
|
msgid "kdpkg-install"
|
||||||
|
msgstr "kdpkg-install"
|
||||||
|
|
||||||
|
#: main.cpp:44
|
||||||
|
msgid "Frontend for dpkg."
|
||||||
|
msgstr "Graphische Benutzeroberfläche für dpkg."
|
||||||
|
|
||||||
|
#: main.cpp:50
|
||||||
|
msgid "Developer"
|
||||||
|
msgstr "Entwickler"
|
||||||
|
|
||||||
|
#. i18n: file ./installdialog.ui line 31
|
||||||
|
#: rc.cpp:6
|
||||||
|
#, no-c-format
|
||||||
|
msgid "a&bout"
|
||||||
|
msgstr "über KDPKG"
|
||||||
|
|
||||||
|
#. i18n: file ./installdialog.ui line 34
|
||||||
|
#: rc.cpp:9
|
||||||
|
#, no-c-format
|
||||||
|
msgid "Alt+B"
|
||||||
|
msgstr "Alt+B"
|
||||||
|
|
||||||
|
#. i18n: file ./installdialog.ui line 45
|
||||||
|
#: rc.cpp:12
|
||||||
|
#, no-c-format
|
||||||
|
msgid "cl&ose"
|
||||||
|
msgstr "schliessen"
|
||||||
|
|
||||||
|
#. i18n: file ./installdialog.ui line 48
|
||||||
|
#: rc.cpp:15
|
||||||
|
#, no-c-format
|
||||||
|
msgid "Alt+O"
|
||||||
|
msgstr "Alt+O"
|
||||||
|
|
||||||
|
#. i18n: file ./installdialog.ui line 59
|
||||||
|
#: rc.cpp:18
|
||||||
|
#, no-c-format
|
||||||
|
msgid "inst&all"
|
||||||
|
msgstr "installieren"
|
||||||
|
|
||||||
|
#. i18n: file ./installdialog.ui line 62
|
||||||
|
#: rc.cpp:21
|
||||||
|
#, no-c-format
|
||||||
|
msgid "Alt+A"
|
||||||
|
msgstr "Alt+A"
|
||||||
|
|
||||||
|
#. i18n: file ./installdialog.ui line 106
|
||||||
|
#: rc.cpp:24
|
||||||
|
#, no-c-format
|
||||||
|
msgid "<b>Package installation</b>"
|
||||||
|
msgstr "<b>Paket-Installation</b>"
|
||||||
|
|
||||||
|
#. i18n: file ./installdialog.ui line 213
|
||||||
|
#: rc.cpp:28
|
||||||
|
#, no-c-format
|
||||||
|
msgid "Res&ynchronize the package index files (apt-get update)"
|
||||||
|
msgstr "Den Paketindex synchronisieren (apt-get update)."
|
||||||
|
|
||||||
|
#. i18n: file ./installdialog.ui line 216
|
||||||
|
#: rc.cpp:31
|
||||||
|
#, no-c-format
|
||||||
|
msgid "Alt+Y"
|
||||||
|
msgstr "Alt+Y"
|
||||||
|
|
||||||
|
#. i18n: file ./installdialog.ui line 227
|
||||||
|
#: rc.cpp:34
|
||||||
|
#, no-c-format
|
||||||
|
msgid "Skip Resynchroni&zation"
|
||||||
|
msgstr "Synchronisieren überspringen"
|
||||||
|
|
||||||
|
#. i18n: file ./installdialog.ui line 230
|
||||||
|
#: rc.cpp:37
|
||||||
|
#, no-c-format
|
||||||
|
msgid "Alt+Z"
|
||||||
|
msgstr "Alt+Z"
|
||||||
|
|
||||||
|
#. i18n: file ./installdialog.ui line 250
|
||||||
|
#: rc.cpp:40
|
||||||
|
#, no-c-format
|
||||||
|
msgid "Status"
|
||||||
|
msgstr "Status"
|
||||||
|
|
||||||
|
#. i18n: file ./installdialog.ui line 261
|
||||||
|
#: rc.cpp:43
|
||||||
|
#, no-c-format
|
||||||
|
msgid "Name"
|
||||||
|
msgstr "Name"
|
||||||
|
|
||||||
|
#. i18n: file ./installdialog.ui line 272
|
||||||
|
#: rc.cpp:46
|
||||||
|
#, no-c-format
|
||||||
|
msgid "Version"
|
||||||
|
msgstr "Version"
|
||||||
|
|
||||||
|
#. i18n: file ./installdialog.ui line 283
|
||||||
|
#: rc.cpp:49
|
||||||
|
#, no-c-format
|
||||||
|
msgid "Version on System "
|
||||||
|
msgstr "Vorhandene Version"
|
||||||
|
|
||||||
|
#. i18n: file ./installdialog.ui line 370
|
||||||
|
#. i18n: file ./installdialog.ui line 381
|
||||||
|
#: rc.cpp:53 rc.cpp:59
|
||||||
|
#, no-c-format
|
||||||
|
msgid "ne&xt >"
|
||||||
|
msgstr "weiter >"
|
||||||
|
|
||||||
|
#. i18n: file ./installdialog.ui line 373
|
||||||
|
#. i18n: file ./installdialog.ui line 384
|
||||||
|
#: rc.cpp:56 rc.cpp:62
|
||||||
|
#, no-c-format
|
||||||
|
msgid "Alt+X"
|
||||||
|
msgstr "Alt+X"
|
||||||
|
|
||||||
|
#. i18n: file ./consoledialog.ui line 16
|
||||||
|
#: rc.cpp:65
|
||||||
|
#, no-c-format
|
||||||
|
msgid "Widget"
|
||||||
|
msgstr "Widget"
|
@ -0,0 +1,224 @@
|
|||||||
|
# translation of kdpkg.po to
|
||||||
|
# This file is put in the public domain.
|
||||||
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||||
|
#
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: kdpkg\n"
|
||||||
|
"Report-Msgid-Bugs-To: \n"
|
||||||
|
"POT-Creation-Date: 2008-02-08 15:23+0100\n"
|
||||||
|
"PO-Revision-Date: 2008-02-08 15:23+0100\n"
|
||||||
|
"Last-Translator: Fabian Wuertz\n"
|
||||||
|
"Language-Team: \n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
"X-Generator: KBabel 1.11.4\n"
|
||||||
|
|
||||||
|
#: _translatorinfo.cpp:1
|
||||||
|
msgid ""
|
||||||
|
"_: NAME OF TRANSLATORS\n"
|
||||||
|
"Your names"
|
||||||
|
msgstr "Fabian Würtz"
|
||||||
|
|
||||||
|
#: _translatorinfo.cpp:3
|
||||||
|
msgid ""
|
||||||
|
"_: EMAIL OF TRANSLATORS\n"
|
||||||
|
"Your emails"
|
||||||
|
msgstr "xadras@sidux.com"
|
||||||
|
|
||||||
|
#: kdpkg.cpp:47
|
||||||
|
msgid "Debian Package (*.deb)"
|
||||||
|
msgstr "Debian-Paket (*.deb)"
|
||||||
|
|
||||||
|
#: kdpkg.cpp:47
|
||||||
|
msgid "open file dialog"
|
||||||
|
msgstr "Öffen-Dateidialog"
|
||||||
|
|
||||||
|
#: kdpkg.cpp:47
|
||||||
|
msgid "Choose a file to open"
|
||||||
|
msgstr "Wählen Sie eine Datei, die geöffnet werden soll"
|
||||||
|
|
||||||
|
#: kdpkg.cpp:178
|
||||||
|
msgid "not installed"
|
||||||
|
msgstr "nicht installiert"
|
||||||
|
|
||||||
|
#: kdpkg.cpp:185
|
||||||
|
msgid "not available"
|
||||||
|
msgstr "nicht vorhanden"
|
||||||
|
|
||||||
|
#: kdpkg.cpp:213
|
||||||
|
msgid ""
|
||||||
|
"The architecture of the package and the system doesn't match! You will not "
|
||||||
|
"be able to install this package!"
|
||||||
|
msgstr ""
|
||||||
|
"<b>Die Systemarchitektur des Paketes und des Systems stimmen nicht überein! "
|
||||||
|
"Das Paket kann deswegen nicht installiert werden!</b>"
|
||||||
|
|
||||||
|
#: main.cpp:31
|
||||||
|
msgid "Location to open"
|
||||||
|
msgstr "Ort zum öffnen"
|
||||||
|
|
||||||
|
#. i18n: file ./kdpkgdialog.ui line 17
|
||||||
|
#: main.cpp:41 rc.cpp:3
|
||||||
|
#, no-c-format
|
||||||
|
msgid "kdpkg"
|
||||||
|
msgstr "kdpkg"
|
||||||
|
|
||||||
|
#: main.cpp:44
|
||||||
|
msgid "Frontend for dpkg."
|
||||||
|
msgstr "Graphische Benutzeroberfläche für dpkg."
|
||||||
|
|
||||||
|
#: main.cpp:50
|
||||||
|
msgid "Developer"
|
||||||
|
msgstr "Entwickler"
|
||||||
|
|
||||||
|
#. i18n: file ./kdpkgdialog.ui line 35
|
||||||
|
#: rc.cpp:6
|
||||||
|
#, no-c-format
|
||||||
|
msgid "Co&mmon"
|
||||||
|
msgstr "Allgemein"
|
||||||
|
|
||||||
|
#. i18n: file ./kdpkgdialog.ui line 66
|
||||||
|
#: rc.cpp:10
|
||||||
|
#, no-c-format
|
||||||
|
msgid "<b>Version:</b>"
|
||||||
|
msgstr "<b>Version:</b>"
|
||||||
|
|
||||||
|
#. i18n: file ./kdpkgdialog.ui line 98
|
||||||
|
#: rc.cpp:14
|
||||||
|
#, no-c-format
|
||||||
|
msgid "<b>Maintainer:</b>"
|
||||||
|
msgstr "<b>Verantwortlicher:</b>"
|
||||||
|
|
||||||
|
#. i18n: file ./kdpkgdialog.ui line 130
|
||||||
|
#: rc.cpp:18
|
||||||
|
#, no-c-format
|
||||||
|
msgid "<b>Section:</b>"
|
||||||
|
msgstr "<b>Sektion:</b>"
|
||||||
|
|
||||||
|
#. i18n: file ./kdpkgdialog.ui line 162
|
||||||
|
#: rc.cpp:22
|
||||||
|
#, no-c-format
|
||||||
|
msgid "<b>Size:</b>"
|
||||||
|
msgstr "<b>Grösse:</b>"
|
||||||
|
|
||||||
|
#. i18n: file ./kdpkgdialog.ui line 194
|
||||||
|
#: rc.cpp:26
|
||||||
|
#, no-c-format
|
||||||
|
msgid "<b>Name:</b>"
|
||||||
|
msgstr "<b>Name:</b>"
|
||||||
|
|
||||||
|
#. i18n: file ./kdpkgdialog.ui line 203
|
||||||
|
#: rc.cpp:29
|
||||||
|
#, no-c-format
|
||||||
|
msgid "Descripti&on"
|
||||||
|
msgstr "Beschreibung"
|
||||||
|
|
||||||
|
#. i18n: file ./kdpkgdialog.ui line 221
|
||||||
|
#: rc.cpp:32
|
||||||
|
#, no-c-format
|
||||||
|
msgid "Dependencies"
|
||||||
|
msgstr "Abhänigkeiten"
|
||||||
|
|
||||||
|
#. i18n: file ./kdpkgdialog.ui line 235
|
||||||
|
#: rc.cpp:35
|
||||||
|
#, no-c-format
|
||||||
|
msgid "All"
|
||||||
|
msgstr "alle"
|
||||||
|
|
||||||
|
#. i18n: file ./kdpkgdialog.ui line 240
|
||||||
|
#: rc.cpp:38
|
||||||
|
#, no-c-format
|
||||||
|
msgid "Depends"
|
||||||
|
msgstr "hängt ab von"
|
||||||
|
|
||||||
|
#. i18n: file ./kdpkgdialog.ui line 245
|
||||||
|
#: rc.cpp:41
|
||||||
|
#, no-c-format
|
||||||
|
msgid "Recommends"
|
||||||
|
msgstr "empfiehlt"
|
||||||
|
|
||||||
|
#. i18n: file ./kdpkgdialog.ui line 250
|
||||||
|
#: rc.cpp:44
|
||||||
|
#, no-c-format
|
||||||
|
msgid "Suggests"
|
||||||
|
msgstr "schlägt vor"
|
||||||
|
|
||||||
|
#. i18n: file ./kdpkgdialog.ui line 255
|
||||||
|
#: rc.cpp:47
|
||||||
|
#, no-c-format
|
||||||
|
msgid "Enhances"
|
||||||
|
msgstr "verstärkt"
|
||||||
|
|
||||||
|
#. i18n: file ./kdpkgdialog.ui line 260
|
||||||
|
#: rc.cpp:50
|
||||||
|
#, no-c-format
|
||||||
|
msgid "Pre-Depends"
|
||||||
|
msgstr "hängt ab von (vorher)"
|
||||||
|
|
||||||
|
#. i18n: file ./kdpkgdialog.ui line 265
|
||||||
|
#: rc.cpp:53
|
||||||
|
#, no-c-format
|
||||||
|
msgid "Provides"
|
||||||
|
msgstr "enthält"
|
||||||
|
|
||||||
|
#. i18n: file ./kdpkgdialog.ui line 270
|
||||||
|
#: rc.cpp:56
|
||||||
|
#, no-c-format
|
||||||
|
msgid "Conflicts"
|
||||||
|
msgstr "kollidiert mit"
|
||||||
|
|
||||||
|
#. i18n: file ./kdpkgdialog.ui line 275
|
||||||
|
#: rc.cpp:59
|
||||||
|
#, no-c-format
|
||||||
|
msgid "Replaces"
|
||||||
|
msgstr "ersetzt"
|
||||||
|
|
||||||
|
#. i18n: file ./kdpkgdialog.ui line 289
|
||||||
|
#: rc.cpp:62
|
||||||
|
#, no-c-format
|
||||||
|
msgid "I&ncluded Files"
|
||||||
|
msgstr "Enthaltende Dateien"
|
||||||
|
|
||||||
|
#. i18n: file ./kdpkgdialog.ui line 308
|
||||||
|
#: rc.cpp:65
|
||||||
|
#, no-c-format
|
||||||
|
msgid "&about"
|
||||||
|
msgstr "über KDPKG"
|
||||||
|
|
||||||
|
#. i18n: file ./kdpkgdialog.ui line 311
|
||||||
|
#: rc.cpp:68
|
||||||
|
#, no-c-format
|
||||||
|
msgid "Alt+A"
|
||||||
|
msgstr "Alt+A"
|
||||||
|
|
||||||
|
#. i18n: file ./kdpkgdialog.ui line 339
|
||||||
|
#: rc.cpp:71
|
||||||
|
#, no-c-format
|
||||||
|
msgid "start installation wi&zard"
|
||||||
|
msgstr "Installation starten"
|
||||||
|
|
||||||
|
#. i18n: file ./kdpkgdialog.ui line 342
|
||||||
|
#: rc.cpp:74
|
||||||
|
#, no-c-format
|
||||||
|
msgid "Alt+Z"
|
||||||
|
msgstr "Alt+Z"
|
||||||
|
|
||||||
|
#. i18n: file ./kdpkgdialog.ui line 353
|
||||||
|
#: rc.cpp:77
|
||||||
|
#, no-c-format
|
||||||
|
msgid "cl&ose"
|
||||||
|
msgstr "schliessen"
|
||||||
|
|
||||||
|
#. i18n: file ./kdpkgdialog.ui line 356
|
||||||
|
#: rc.cpp:80
|
||||||
|
#, no-c-format
|
||||||
|
msgid "Alt+O"
|
||||||
|
msgstr "Alt+O"
|
||||||
|
|
||||||
|
#. i18n: file ./kdpkgdialog.ui line 403
|
||||||
|
#: rc.cpp:83
|
||||||
|
#, no-c-format
|
||||||
|
msgid "<b>Package informations</b>"
|
||||||
|
msgstr "<b>Paket-Informationen:</b>"
|
@ -0,0 +1,192 @@
|
|||||||
|
# SOME DESCRIPTIVE TITLE.
|
||||||
|
# This file is put in the public domain.
|
||||||
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||||
|
#
|
||||||
|
#, fuzzy
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
|
"Report-Msgid-Bugs-To: \n"
|
||||||
|
"POT-Creation-Date: 2008-02-08 15:23+0100\n"
|
||||||
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
|
||||||
|
#: _translatorinfo.cpp:1
|
||||||
|
msgid ""
|
||||||
|
"_: NAME OF TRANSLATORS\n"
|
||||||
|
"Your names"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: _translatorinfo.cpp:3
|
||||||
|
msgid ""
|
||||||
|
"_: EMAIL OF TRANSLATORS\n"
|
||||||
|
"Your emails"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: install.cpp:46
|
||||||
|
msgid "Debian Package (*.deb)"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: install.cpp:46
|
||||||
|
msgid "open file dialog"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: install.cpp:46
|
||||||
|
msgid "Choose a file to open"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: install.cpp:114
|
||||||
|
msgid "The following packages will be installed, updated or removed:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: install.cpp:119
|
||||||
|
msgid ""
|
||||||
|
"The architecture of the package and the system doesn't match! You will not "
|
||||||
|
"be able to install this package!"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: install.cpp:127
|
||||||
|
msgid ""
|
||||||
|
"The package database is used by another process (E.g Synaptic)! Please "
|
||||||
|
"terminate this process and press next."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: install.cpp:136
|
||||||
|
msgid "Resynchronization of the package index files."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: install.cpp:154
|
||||||
|
msgid "Installation of the new package."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: main.cpp:31
|
||||||
|
msgid "Location to open"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. i18n: file ./installdialog.ui line 17
|
||||||
|
#: main.cpp:41 rc.cpp:3
|
||||||
|
#, no-c-format
|
||||||
|
msgid "kdpkg-install"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: main.cpp:44
|
||||||
|
msgid "Frontend for dpkg."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: main.cpp:50
|
||||||
|
msgid "Developer"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. i18n: file ./installdialog.ui line 31
|
||||||
|
#: rc.cpp:6
|
||||||
|
#, no-c-format
|
||||||
|
msgid "a&bout"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. i18n: file ./installdialog.ui line 34
|
||||||
|
#: rc.cpp:9
|
||||||
|
#, no-c-format
|
||||||
|
msgid "Alt+B"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. i18n: file ./installdialog.ui line 45
|
||||||
|
#: rc.cpp:12
|
||||||
|
#, no-c-format
|
||||||
|
msgid "cl&ose"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. i18n: file ./installdialog.ui line 48
|
||||||
|
#: rc.cpp:15
|
||||||
|
#, no-c-format
|
||||||
|
msgid "Alt+O"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. i18n: file ./installdialog.ui line 59
|
||||||
|
#: rc.cpp:18
|
||||||
|
#, no-c-format
|
||||||
|
msgid "inst&all"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. i18n: file ./installdialog.ui line 62
|
||||||
|
#: rc.cpp:21
|
||||||
|
#, no-c-format
|
||||||
|
msgid "Alt+A"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. i18n: file ./installdialog.ui line 106
|
||||||
|
#: rc.cpp:24
|
||||||
|
#, no-c-format
|
||||||
|
msgid "<b>Package installation</b>"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. i18n: file ./installdialog.ui line 213
|
||||||
|
#: rc.cpp:28
|
||||||
|
#, no-c-format
|
||||||
|
msgid "Res&ynchronize the package index files (apt-get update)"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. i18n: file ./installdialog.ui line 216
|
||||||
|
#: rc.cpp:31
|
||||||
|
#, no-c-format
|
||||||
|
msgid "Alt+Y"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. i18n: file ./installdialog.ui line 227
|
||||||
|
#: rc.cpp:34
|
||||||
|
#, no-c-format
|
||||||
|
msgid "Skip Resynchroni&zation"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. i18n: file ./installdialog.ui line 230
|
||||||
|
#: rc.cpp:37
|
||||||
|
#, no-c-format
|
||||||
|
msgid "Alt+Z"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. i18n: file ./installdialog.ui line 250
|
||||||
|
#: rc.cpp:40
|
||||||
|
#, no-c-format
|
||||||
|
msgid "Status"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. i18n: file ./installdialog.ui line 261
|
||||||
|
#: rc.cpp:43
|
||||||
|
#, no-c-format
|
||||||
|
msgid "Name"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. i18n: file ./installdialog.ui line 272
|
||||||
|
#: rc.cpp:46
|
||||||
|
#, no-c-format
|
||||||
|
msgid "Version"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. i18n: file ./installdialog.ui line 283
|
||||||
|
#: rc.cpp:49
|
||||||
|
#, no-c-format
|
||||||
|
msgid "Version on System "
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. i18n: file ./installdialog.ui line 370
|
||||||
|
#. i18n: file ./installdialog.ui line 381
|
||||||
|
#: rc.cpp:53 rc.cpp:59
|
||||||
|
#, no-c-format
|
||||||
|
msgid "ne&xt >"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. i18n: file ./installdialog.ui line 373
|
||||||
|
#. i18n: file ./installdialog.ui line 384
|
||||||
|
#: rc.cpp:56 rc.cpp:62
|
||||||
|
#, no-c-format
|
||||||
|
msgid "Alt+X"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. i18n: file ./consoledialog.ui line 16
|
||||||
|
#: rc.cpp:65
|
||||||
|
#, no-c-format
|
||||||
|
msgid "Widget"
|
||||||
|
msgstr ""
|
@ -0,0 +1,222 @@
|
|||||||
|
# SOME DESCRIPTIVE TITLE.
|
||||||
|
# This file is put in the public domain.
|
||||||
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||||
|
#
|
||||||
|
#, fuzzy
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
|
"Report-Msgid-Bugs-To: \n"
|
||||||
|
"POT-Creation-Date: 2008-02-08 15:23+0100\n"
|
||||||
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
|
||||||
|
#: _translatorinfo.cpp:1
|
||||||
|
msgid ""
|
||||||
|
"_: NAME OF TRANSLATORS\n"
|
||||||
|
"Your names"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: _translatorinfo.cpp:3
|
||||||
|
msgid ""
|
||||||
|
"_: EMAIL OF TRANSLATORS\n"
|
||||||
|
"Your emails"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: kdpkg.cpp:47
|
||||||
|
msgid "Debian Package (*.deb)"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: kdpkg.cpp:47
|
||||||
|
msgid "open file dialog"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: kdpkg.cpp:47
|
||||||
|
msgid "Choose a file to open"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: kdpkg.cpp:178
|
||||||
|
msgid "not installed"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: kdpkg.cpp:185
|
||||||
|
msgid "not available"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: kdpkg.cpp:213
|
||||||
|
msgid ""
|
||||||
|
"The architecture of the package and the system doesn't match! You will not "
|
||||||
|
"be able to install this package!"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: main.cpp:31
|
||||||
|
msgid "Location to open"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. i18n: file ./kdpkgdialog.ui line 17
|
||||||
|
#: main.cpp:41 rc.cpp:3
|
||||||
|
#, no-c-format
|
||||||
|
msgid "kdpkg"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: main.cpp:44
|
||||||
|
msgid "Frontend for dpkg."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: main.cpp:50
|
||||||
|
msgid "Developer"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. i18n: file ./kdpkgdialog.ui line 35
|
||||||
|
#: rc.cpp:6
|
||||||
|
#, no-c-format
|
||||||
|
msgid "Co&mmon"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. i18n: file ./kdpkgdialog.ui line 66
|
||||||
|
#: rc.cpp:10
|
||||||
|
#, no-c-format
|
||||||
|
msgid "<b>Version:</b>"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. i18n: file ./kdpkgdialog.ui line 98
|
||||||
|
#: rc.cpp:14
|
||||||
|
#, no-c-format
|
||||||
|
msgid "<b>Maintainer:</b>"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. i18n: file ./kdpkgdialog.ui line 130
|
||||||
|
#: rc.cpp:18
|
||||||
|
#, no-c-format
|
||||||
|
msgid "<b>Section:</b>"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. i18n: file ./kdpkgdialog.ui line 162
|
||||||
|
#: rc.cpp:22
|
||||||
|
#, no-c-format
|
||||||
|
msgid "<b>Size:</b>"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. i18n: file ./kdpkgdialog.ui line 194
|
||||||
|
#: rc.cpp:26
|
||||||
|
#, no-c-format
|
||||||
|
msgid "<b>Name:</b>"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. i18n: file ./kdpkgdialog.ui line 203
|
||||||
|
#: rc.cpp:29
|
||||||
|
#, no-c-format
|
||||||
|
msgid "Descripti&on"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. i18n: file ./kdpkgdialog.ui line 221
|
||||||
|
#: rc.cpp:32
|
||||||
|
#, no-c-format
|
||||||
|
msgid "Dependencies"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. i18n: file ./kdpkgdialog.ui line 235
|
||||||
|
#: rc.cpp:35
|
||||||
|
#, no-c-format
|
||||||
|
msgid "All"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. i18n: file ./kdpkgdialog.ui line 240
|
||||||
|
#: rc.cpp:38
|
||||||
|
#, no-c-format
|
||||||
|
msgid "Depends"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. i18n: file ./kdpkgdialog.ui line 245
|
||||||
|
#: rc.cpp:41
|
||||||
|
#, no-c-format
|
||||||
|
msgid "Recommends"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. i18n: file ./kdpkgdialog.ui line 250
|
||||||
|
#: rc.cpp:44
|
||||||
|
#, no-c-format
|
||||||
|
msgid "Suggests"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. i18n: file ./kdpkgdialog.ui line 255
|
||||||
|
#: rc.cpp:47
|
||||||
|
#, no-c-format
|
||||||
|
msgid "Enhances"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. i18n: file ./kdpkgdialog.ui line 260
|
||||||
|
#: rc.cpp:50
|
||||||
|
#, no-c-format
|
||||||
|
msgid "Pre-Depends"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. i18n: file ./kdpkgdialog.ui line 265
|
||||||
|
#: rc.cpp:53
|
||||||
|
#, no-c-format
|
||||||
|
msgid "Provides"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. i18n: file ./kdpkgdialog.ui line 270
|
||||||
|
#: rc.cpp:56
|
||||||
|
#, no-c-format
|
||||||
|
msgid "Conflicts"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. i18n: file ./kdpkgdialog.ui line 275
|
||||||
|
#: rc.cpp:59
|
||||||
|
#, no-c-format
|
||||||
|
msgid "Replaces"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. i18n: file ./kdpkgdialog.ui line 289
|
||||||
|
#: rc.cpp:62
|
||||||
|
#, no-c-format
|
||||||
|
msgid "I&ncluded Files"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. i18n: file ./kdpkgdialog.ui line 308
|
||||||
|
#: rc.cpp:65
|
||||||
|
#, no-c-format
|
||||||
|
msgid "&about"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. i18n: file ./kdpkgdialog.ui line 311
|
||||||
|
#: rc.cpp:68
|
||||||
|
#, no-c-format
|
||||||
|
msgid "Alt+A"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. i18n: file ./kdpkgdialog.ui line 339
|
||||||
|
#: rc.cpp:71
|
||||||
|
#, no-c-format
|
||||||
|
msgid "start installation wi&zard"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. i18n: file ./kdpkgdialog.ui line 342
|
||||||
|
#: rc.cpp:74
|
||||||
|
#, no-c-format
|
||||||
|
msgid "Alt+Z"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. i18n: file ./kdpkgdialog.ui line 353
|
||||||
|
#: rc.cpp:77
|
||||||
|
#, no-c-format
|
||||||
|
msgid "cl&ose"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. i18n: file ./kdpkgdialog.ui line 356
|
||||||
|
#: rc.cpp:80
|
||||||
|
#, no-c-format
|
||||||
|
msgid "Alt+O"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. i18n: file ./kdpkgdialog.ui line 403
|
||||||
|
#: rc.cpp:83
|
||||||
|
#, no-c-format
|
||||||
|
msgid "<b>Package informations</b>"
|
||||||
|
msgstr ""
|