rev 17695 - in kde-extras: . skrooge skrooge/trunk skrooge/trunk/debian skrooge/trunk/debian/patches skrooge/trunk/debian/source
Fathi Boudra
fabo at alioth.debian.org
Tue Apr 20 09:16:12 UTC 2010
Author: fabo
Date: 2010-04-20 09:16:10 +0000 (Tue, 20 Apr 2010)
New Revision: 17695
Added:
kde-extras/skrooge/
kde-extras/skrooge/branches/
kde-extras/skrooge/tags/
kde-extras/skrooge/trunk/
kde-extras/skrooge/trunk/debian/
kde-extras/skrooge/trunk/debian/autofixtll
kde-extras/skrooge/trunk/debian/changelog
kde-extras/skrooge/trunk/debian/compat
kde-extras/skrooge/trunk/debian/control
kde-extras/skrooge/trunk/debian/copyright
kde-extras/skrooge/trunk/debian/docs
kde-extras/skrooge/trunk/debian/patches/
kde-extras/skrooge/trunk/debian/patches/97_fix_target_link_libraries.diff
kde-extras/skrooge/trunk/debian/patches/series
kde-extras/skrooge/trunk/debian/rules
kde-extras/skrooge/trunk/debian/skrooge-common.install
kde-extras/skrooge/trunk/debian/skrooge.install
kde-extras/skrooge/trunk/debian/skrooge.lintian-overrides
kde-extras/skrooge/trunk/debian/source/
kde-extras/skrooge/trunk/debian/source/format
Log:
Add skrooge package
Added: kde-extras/skrooge/trunk/debian/autofixtll
===================================================================
--- kde-extras/skrooge/trunk/debian/autofixtll (rev 0)
+++ kde-extras/skrooge/trunk/debian/autofixtll 2010-04-20 09:16:10 UTC (rev 17695)
@@ -0,0 +1,646 @@
+#!/usr/bin/perl -w
+
+=head1 NAME
+
+B<autofixtll> - auto-correct CMake TARGET_LINK_LIBRARIES directive according to
+the information provided by GNU ld linker S<I<'undefined references'>> errors.
+
+=head1 SYNOPSIS
+
+B<autofixtll> [B<--invoke-edit|-e>] [B<--build-dir|-b>=I<dir>] [B<--build-command|-c>=I<command>] [B<--patch-name|-p>=I<name>] [B<--do-backups>]
+
+=head1 DESCRIPTION
+
+B<autofixtll> is capable of correcting most linking failures caused by
+S<'undefined references'> linker errors. The script should be executed from the
+extracted debian source tree with all build dependences installed in the
+environment. This script is a wrapper around S<`debian/rules build'> or
+whatever command you specify with B<--build-command> option.
+
+By default B<autofixtll> uses B<quilt> to incrementally build up a patch of the
+changes it does. The script assumes that quilt patches are located in
+debian/patches. The default name of the patch is
+S<I<"97_fix_target_link_libraries.diff">> (it can be changed with the
+[B<--patch-name> option). This patch must have already pushed to the "quilt
+top" when this script is executed.
+
+First of all, the script loads dynamic symbol names of the libraries specified
+in the @LIBS array. Then it starts building process and keeps monitoring it
+while looking for the "undefined references" errors from the linker (only GNU
+ld syntax is supported). Then it tries to match undefined symbol names with the
+symbols loaded from the libraries in the @LIBS array. If matches are found, it
+tries to update TARGET_LINK_LIBRARIES command in the respective CMakeLists.txt
+file adding missing libraries. Finally, the build process is restarted.
+
+This loop continues until build completes successfully or the error which
+B<autofixtll> can't handle occurs. In latter case, a user will need to edit
+(e.g. with `quilt edit') the respective file manually or add more libs to the
+ at LIBS array. Then the script can be restarted again (or use --invoke-edit
+option to invoke I<quilt edit> and restart build for you automatically).
+
+CMake verbose output must be enabled for B<autofixtll> to work reliably.
+
+B<autofixtll> was written to help maintainer resolve build failures of KDE
+applications which were introduced by the clean up of KDELibs recursive library
+dependences.
+
+=head1 OPTIONS
+
+=over 4
+
+=item B<-b> I<dir>, B<--build-dir>=I<dir>
+
+Specify a custom build directory. It must be relative the current (source)
+directory. Default is as returned by S<I<"obj-`dpkg-architecture
+-qDEB_BUILD_GNU_TYPE`>">.
+
+=item B<-c> I<command>, B<--build-command>=I<command>
+
+The command which should be run to build the source. If the command is not
+specific, `debian/rules build' will be executed.
+
+=item B<-i>, B<--exec-in-build-dir>
+
+Run the build command in the build directory. Default is to run in the source
+directory.
+
+=item B<-p>, B<--patch-name>=I<name>
+
+The name of the quilt patch in which all changes made by the script will be
+stored. Default is I<97_fix_target_link_libraries.diff>. If quilt support is
+disabled, this option is ignored.
+
+=item B<--do-backups>, B<--backup>
+
+Whether to backup CMakeLists.txt as CMakeLists.txt.orig before auto-modifying
+it.
+
+=item B<--invoke-edit>, B<--edit>, B<-e>
+
+Invoke editor on the respective CMakeLists.txt when undefined references
+cannot be automatically resolved and restart build process immediately when the
+editor is closed. If quilt support is enabled, `quilt edit' is invoked. Otherwise
+`editor' command is invoked.
+
+=item B<--quilt>=I<command>, B<-q> I<command>
+
+Use the specified command to invoke quilt instead of default
+`QUILT_PATCHES=debian/patches quilt'. If you want to disable quilt support,
+pass empty string or "none" instead of the command.
+
+=back
+
+=head1 KNOWN ISSUES
+
+=over 2
+
+B<autofixtll> may loop forever if the link line it adds evalutes to the empty string
+when cmake processes it. This usually means that appropriate find_package() directive
+is missing in the appropriate cmake scope. Therefore in this case you will have to
+interrupt B<autofixtll> and add necessary find_package() directive(s) to the appropriate
+CMakeLists.txt
+
+=back
+
+=head1 EXAMPLE. Fixing Debianized sources (with quilt)
+
+=over 2
+
+B<autofixtll> was designed to be used with Debianized sources which use quilt for patch
+management and store patches in the F<debian/patches> directory. Therefore you just need
+to apply all patches, create a new 97_fix_target_link_libraries.diff patch or push it to
+the top and run B<autofixtll>. E.g.:
+
+
+ $ QUILT_PATCHES=debian/patches quilt push -a
+ $ QUILT_PATCHES=debian/patches quilt new 97_fix_target_link_libraries.diff
+ $ autofixtll
+ $ QUILT_PATCHES=debian/patches quilt refresh -p ab --no-timestamps --no-index
+
+The patch will be written to F<debian/patches/97_fix_target_link_libraries.diff>.
+
+=back
+
+=head1 EXAMPLE. Fixing non-Debianized sources (without quilt)
+
+=over 2
+
+B<autofixtll> is quite customizable and you use it to fix non-Debianized sources. Therefore
+you will have to do something like this (at least):
+
+ $ mkdir builddir
+ $ cd builddir
+ $ cmake .. -DCMAKE_VERBOSE_MAKEFILE=ON <other flags>
+ $ cd ..
+ $ autofixtll -i -c make -d builddir -q none
+
+=back
+
+=head1 LICENSE
+
+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 3 of the License, or (at your option) any later
+version.
+
+On B<Debian> systems, the complete text of the GNU GPL v3 can be found in the
+file F</usr/share/common-licenses/GPL-3>
+
+=head1 AUTHORS
+
+Written by Modestas Vainius <modestas at vainius.eu>
+
+=cut
+
+use strict;
+use Cwd qw(getcwd realpath);
+use File::Spec;
+use File::Copy;
+use Getopt::Long;
+use Pod::Usage;
+use FileHandle;
+use IPC::Open2;
+
+#### Please add predefined libraries to load dynamic symbol from here.
+# new Library(name, cmake_target, condition => 'condition', [path]). If path is not specified,
+# it's /usr/lib/$name.so. Use '' quotes to avoid escaping $.
+my @LIBS = (
+ new Library('QtDBus', '${QT_QTDBUS_LIBRARY}'),
+ new Library('QtNetwork', '${QT_QTNETWORK_LIBRARY}'),
+ new Library('QtXml', '${QT_QTXML_LIBRARY}'),
+ new Library('QtSvg', '${QT_QTSVG_LIBRARY}'),
+ new Library('QtGui', '${QT_QTGUI_LIBRARY}'),
+# new Library('pthread', '${CMAKE_THREAD_LIBS_INIT}', '/lib/libpthread.so.0'),
+ new Library('X11', '${X11_X11_LIB}', condition => 'X11_FOUND'),
+ new Library('Xext', '${X11_Xext_LIB}', condition => 'X11_Xext_FOUND'),
+ new Library('z', '${ZLIB_LIBRARY}'),
+ new Library('solid', '${KDE4_SOLID_LIBS}'),
+ new Library('kdecore', '${KDE4_KDECORE_LIBS}'),
+ new Library('kdeui', '${KDE4_KDEUI_LIBS}'),
+ new Library('kde3support', '${KDE4_KDE3SUPPORT_LIBRARY}'),
+);
+
+#### Some defaults
+my $MSG_PREFIX = "--=--";
+my $QUILT = "QUILT_PATCHES=debian/patches quilt";
+
+############### Implementation ###############################
+
+sub Library::new {
+ my ($cls, $name, $cmake_target, %other) = @_;
+ my $path = $other{path};
+ my $condition = (exists $other{condition}) ? $other{condition} : undef;
+ if (!defined $path) {
+ $path = "/usr/lib/lib$name.so";
+ }
+ return bless( { name => $name, path => $path, cmake_target => $cmake_target, condition => $condition }, $cls);
+}
+
+sub Library::load {
+ my $self = shift;
+ my @symbols;
+ my %symbhash;
+ my @cpp_symbols;
+ if (-r $self->{path}) {
+ open(OBJDUMP, "objdump -T '$self->{path}' |") or die "Unable to run objdump";
+ while(<OBJDUMP>) {
+ # 0000000000021e80 g DF .text 00000000000000f9 Base _XSendClientPrefix
+ if (m/^[0-9a-f]+\s+g\s+DF\s+\.text\s+[0-9a-f]+\s+Base\s+(.*)$/) {
+ my $symbol = $1;
+ if ($symbol =~ m/^_Z/) {
+ # It is C++ symbol. Needs demangling.
+ push @cpp_symbols, $symbol;
+ } else {
+ push @symbols, $symbol;
+ $symbhash{$symbol} = 1;
+ }
+ }
+ }
+ close(OBJDUMP);
+ }
+ if (@cpp_symbols) {
+ open2(*OUT, *IN, "c++filt") or die "Unable to run c++filt";
+ my $count = 0;
+ for (@cpp_symbols) {
+ print IN "$_\n";
+ $_ = <OUT>;
+ chomp;
+ # Don't care about anything after `('
+ s/\(.*$//;
+ s/^non-virtual thunk to\s+//;
+ push @symbols, $_;
+ $symbhash{$_} = 1;
+ $count++;
+ }
+ close(IN);
+ close(OUT);
+ print(STDERR "Lost a few C++ symbols (", (scalar(@cpp_symbols) - $count),
+ ") while demangling ", $self->to_string(), "\n") unless ($count == scalar(@cpp_symbols));
+ }
+ if (@symbols) {
+ $self->{symbols} = \@symbols;
+ $self->{symbhash} = \%symbhash;
+ return scalar(@symbols);
+ } else {
+ $self->{symbols} = [];
+ $self->{symbhash} = {};
+ return 0;
+ }
+}
+
+sub Library::has_symbol {
+ my ($self, $symbol) = @_;
+
+ for my $sym (@{$self->{symbols}}) {
+ if ($symbol =~ m/^\Q$sym\E/) {
+ return 1;
+ }
+ }
+ return 0;
+}
+
+sub Library::has_symbol_fast {
+ my ($self, $symbol) = @_;
+
+ # Don't care about anything after `('
+ $symbol =~ s/\(.*$//;
+
+ return (exists $self->{symbhash}{$symbol});
+}
+
+sub Library::to_string() {
+ my ($self) = @_;
+ return $self->{name} . " ( " . $self->{path} . " )";
+}
+
+sub IgnoreStack::new {
+ return bless( { stack => [] }, shift() );
+}
+
+sub IgnoreStack::process_line {
+ my ($self, $line) = @_;
+ my $stack = $self->{stack};
+
+ if ($line =~ m/^\s*((end)?(foreach|function|if|macro|while))\s*[(]/i) {
+ my $isend = defined $2;
+ my $cmd = uc($3);
+
+ if ($isend) {
+ if (@$stack) {
+ my $s = pop @$stack;
+ print STDERR "$MSG_PREFIX There is something wrong with IgnoreStack:\n",
+ "$MSG_PREFIX stack top ($s) does not match end command ($cmd)\n" if $s ne $cmd;
+ } else {
+ print STDERR "$MSG_PREFIX IgnoreStack is empty but got 'end$cmd'. A bug probably.\n";
+ }
+ } else {
+ push @$stack, $cmd;
+ }
+ return 1; # Processed
+ } else {
+ return 0;
+ }
+}
+
+sub IgnoreStack::is_empty {
+ return scalar(@{shift()->{stack}}) == 0;
+}
+
+sub IgnoreStack::dump_stack {
+ my $self = shift;
+ print "Ignore stack dump:\n";
+ for my $e (@{$self->{stack}}) {
+ print " $e\n";
+ }
+}
+
+sub determine_needed_libs {
+ my ($alllibs, $undefrefs) = @_;
+ my @_libs;
+ my @libs = ();
+ my @notfound;
+
+ # Try fast search first
+ nextfastref:
+ for my $ref (@$undefrefs) {
+ my $lib;
+ for my $lib (@$alllibs) {
+ if ($lib->has_symbol_fast($ref)) {
+ push @_libs, $lib;
+ next nextfastref;
+ }
+ }
+ push @notfound, $ref;
+ }
+
+ # Then try slow one
+ nextslowref:
+ for my $ref (@notfound) {
+ my $lib;
+ for my $lib (@$alllibs) {
+ if ($lib->has_symbol($ref)) {
+ push @_libs, $lib;
+ next nextslowref;
+ }
+ }
+ }
+
+ # Kill dupes
+ my $prev = "";
+ for (sort { $a->{cmake_target} cmp $b->{cmake_target} } @_libs) {
+ if ($_ ne $prev) {
+ push @libs, $_;
+ $prev = $_;
+ }
+ }
+
+ return \@libs;
+}
+
+sub write_target_link_libs {
+ my ($dir, $target, $libs, $do_backups) = @_;
+ my $cmakelists = File::Spec->catfile($dir, "CMakeLists.txt");
+
+
+ my $normlibs = ""; # Unconditional (normal) libs
+ my $condlibs = ""; # Conditional linking
+ my $strlibs = join(" ", map($_->{cmake_target}, @$libs)); # Both
+ for (@$libs) {
+ if (defined $_->{condition}) {
+ $condlibs .= sprintf("if (%s)\n target_link_libraries($target %s)\nendif (%s)\n",
+ $_->{condition}, $_->{cmake_target}, $_->{condition});
+ } else {
+ $normlibs .= " " if ($normlibs);
+ $normlibs .= $_->{cmake_target};
+ }
+ }
+
+ if (-r $cmakelists) {
+ my @contents;
+ my @ignored;
+ my $found = 0;
+ # Ignore directive inside if/endif, while/endwhile etc. blocks
+ my $ignstack = new IgnoreStack;
+
+ # Read and change
+ open(CMAKELISTS, "<$cmakelists");
+ while (<CMAKELISTS>) {
+ if (!$found && !$ignstack->process_line($_) &&
+ m/^\s*((?:target_link_libraries|kdepim4_link_unique_libraries)\s*\(\s*$target\s+)(.*?)(\s*\).*)?$/i) {
+
+ my $newline;
+ if ($normlibs) {
+ # Fix it
+ $newline = $1;
+ my $end = $3;
+ $newline .= $2 if ($2);
+ $newline .= " " if ($newline !~ m/\s+$/);
+ $newline .= $normlibs;
+ $newline .= $end if ($end);
+ $newline .= "\n";
+ } else {
+ $newline = $_;
+ }
+ $newline .= "\n" . $condlibs . "\n" if ($condlibs);
+
+ if ($ignstack->is_empty()) {
+ push @contents, $newline;
+ $found = $.;
+ } else {
+ # Save for later use
+ push @ignored, { found => $., newline => $newline };
+ push @contents, $_;
+ }
+ } else {
+ push @contents, $_;
+ }
+ }
+ close(CMAKELISTS);
+
+ if (!$ignstack->is_empty()) {
+ $ignstack->dump_stack();
+ print STDERR "$cmakelists has been processed but ignore stack is not empty. Probably a bug!\n";
+ }
+
+ if (!$found && @ignored == 1) {
+ # That's probably it as there were no other candidates. Replace
+ $found = ${ignored[0]}->{found};
+ my $newline = ${ignored[0]}->{newline};
+ $contents[$found-1] = $newline;
+ } elsif (!$found && @ignored > 1) {
+ print "$MSG_PREFIX More (", scalar(@ignored), ") than 1 target_link_libraries() found in the IF/WHILE etc. blocks\n";
+ }
+
+ if (!$found) {
+ print "$MSG_PREFIX $cmakelists could not be corrected (needed '$strlibs' for target '$target'). Respective target_link_libraries() was not found $MSG_PREFIX\n";
+ return 0;
+ } else {
+ # Write
+ system("$QUILT add '$cmakelists'") if (defined $QUILT);
+ open(CMAKELISTS, ">$cmakelists.tmp");
+ for (@contents) {
+ print CMAKELISTS $_;
+ }
+ close(CMAKELISTS);
+ if ($do_backups) {
+ File::Copy::move("$cmakelists", "$cmakelists.orig")
+ or die "Could not rename file '$cmakelists' -> '$cmakelists.org'";
+ }
+ File::Copy::move("$cmakelists.tmp", "$cmakelists")
+ or die "Could not rename file '$cmakelists.tmp' -> '$cmakelists'";
+ print "$MSG_PREFIX $cmakelists edited. Added libraries '$strlibs' for target $target\n";
+ return 1;
+ }
+ } else {
+ die "$cmakelists for target $target could not be found. Something is wrong";
+ }
+}
+
+sub invoke_edit {
+ my ($cmakelists, $do_invoke) = @_;
+ my $quilt_cmd = (defined $QUILT) ? "$QUILT edit '$cmakelists'" : "editor '$cmakelists'";
+
+ if ($do_invoke) {
+ print "$MSG_PREFIX Press ENTER to edit '$cmakelists' or ^C to cancel ...";
+ <>;
+ return (system($quilt_cmd) == 0) ? 0 : 2;
+ } else {
+ print "$MSG_PREFIX You probably want to run the command to correct the problem yourself: \n",
+ "$MSG_PREFIX \$ $quilt_cmd\n";
+ return 2;
+ }
+}
+
+sub build_and_fix {
+ my ($sourcedir, $builddir, $buildcmd, $exec_in_build_dir, $do_backups, $invoke_edit) = @_;
+
+ my $bdir;
+ my $btarget;
+ my $islderror = 0;
+ my @undefrefs;
+ my $link_cmd = 0;
+
+ if ($exec_in_build_dir) {
+ chdir $builddir;
+ } else {
+ chdir $sourcedir;
+ }
+
+ open(MAKE, "$buildcmd 2>&1 |") or die "Unable to run `$buildcmd' in $builddir";
+
+ while (<MAKE>) {
+ # [ 39%] Building CXX object kwin/kcmkwin/kwindecoration/CMakeFiles
+ print $_;
+ chomp;
+ if ($link_cmd) {
+ #cd /buildd/kdebase-workspace/obj-x86_64-linux-gnu/kwin/kcmkwin/kwindecoration && /usr/bin/cmake -E cmake_link_script CMakeFiles/kcm_kwindecoration.dir/link.txt $MSG_PREFIXverbose=1
+ if (m#^(?:cd ["']?(.*?)["']? && )?.*/cmake -E cmake_link_script CMakeFiles/(.*?)\.dir/#) {
+ $btarget = $2;
+ $bdir = ($1) ? File::Spec->abs2rel(Cwd::realpath($1), $builddir) : ".";
+ $link_cmd = 0;
+ } else {
+ die "Unrecognized link line";
+ }
+ } elsif (m/\[\s*\d+\%\] Building (.*) object ["']?(.*?)["']?\s*$/) {
+ $bdir = $2;
+ if ($bdir =~ m#CMakeFiles/(.*?)\.dir/#) {
+ $btarget = $1;
+ } else {
+ die "Could not extract target from $bdir";
+ }
+ $bdir =~ s#/CMakeFiles/.*##;
+ } elsif (m/^Linking (.*) (shared (module|library)|executable) /) {
+ $link_cmd = 1;
+ } elsif (m/undefined reference to `(.*)'$/) {
+ # undefined reference to `QDBusMessage::createSignal(QString const&, QString const&, QString const&)'
+ push @undefrefs, $1;
+ } elsif (m/collect\d+: ld returned \d+ exit status/) {
+ $islderror = 1;
+ }
+ }
+
+ close(MAKE);
+
+ chdir $sourcedir;
+
+ # Try to correct the error
+# print $MSG_PREFIX, $islderror, $bdir, $btarget, @undefrefs;
+ if ($islderror && $bdir && $btarget && @undefrefs) {
+ my $libs = determine_needed_libs(\@LIBS, \@undefrefs);
+ $bdir = File::Spec->rel2abs($bdir, $builddir);
+ if (@$libs) {
+ if (write_target_link_libs($bdir, $btarget, $libs, $do_backups)) {
+ return 0; # again
+ } else {
+ return invoke_edit("$bdir/CMakeLists.txt", $invoke_edit);
+ }
+ } else {
+ my $cmakelists = "$bdir/CMakeLists.txt";
+ print "$MSG_PREFIX Could not resolve linkage problem automatically. Undefined symbols have not been recognized\n";
+ print "$MSG_PREFIX Target: $btarget; CMakeLists.txt: $cmakelists", "\n";
+ return invoke_edit($cmakelists, $invoke_edit);
+ }
+ } else {
+ #print $islderror, ", ", $bdir, ", ", $btarget, ", ", @undefrefs, "\n";
+ print "$MSG_PREFIX Building completed successfully or unrecognized error\n";
+ return 1;
+ }
+}
+
+sub load_libraries {
+ my $LIBS = shift;
+
+ print "$MSG_PREFIX Reading dynamic symbol table of ", scalar(@$LIBS), " shared libraries... ", "\n";
+ my $count = 0;
+ for my $lib (@$LIBS) {
+ print "$MSG_PREFIX Loading ", $lib->to_string(), " ... ";
+ if ($lib->load()) {
+ print "success\n";
+ $count++;
+ } else {
+ print "failed (path is not readable or has no symbols)\n";
+ }
+ }
+ return $count;
+}
+
+sub check_environment {
+ my ($builddir, $buildcmd, $patchname) = @_;
+
+ print "$MSG_PREFIX Script Version v$main::VERSION $MSG_PREFIX", "\n";
+
+ if ($buildcmd =~ m/^debian/) {
+ system("dh_testdir") == 0 or die "$MSG_PREFIX Please run this script from the debianized source tree $MSG_PREFIX\n";
+ }
+
+ if (defined $QUILT) {
+ my $toppatch = `$QUILT top`;
+ chomp $toppatch;
+ if (!defined $toppatch || $toppatch ne $patchname) {
+ die "$MSG_PREFIX Quilt top patch must be named '$patchname' when this script is run. Please either:\n" .
+ "$MSG_PREFIX \$ $QUILT push $patchname\n" .
+ "$MSG_PREFIX \$ $QUILT new $patchname\n";
+ }
+ }
+}
+
+sub get_gnu_build_type {
+ my $buildtype = `dpkg-architecture -qDEB_BUILD_GNU_TYPE`;
+ chomp $buildtype;
+ return $buildtype;
+}
+
+############## Main loop ##############################
+
+$main::VERSION = "0.5.7";
+
+my $sourcedir = Cwd::getcwd();
+my $builddir = "obj-" . get_gnu_build_type();
+my $exec_in_build_dir = 0;
+my $buildcmd = "debian/rules build";
+my $patchname = "97_fix_target_link_libraries.diff";
+my $do_backups = 0;
+my $show_help = 0;
+my $invoke_edit = 0;
+
+if (GetOptions(
+ "help|h|?" => \$show_help,
+ "build-dir|b=s" => \$builddir,
+ "build-command|c=s" => \$buildcmd,
+ "invoke-edit|edit|e!" => \$invoke_edit,
+ "exec-in-build-dir|i!" => \$exec_in_build_dir,
+ "patch-name|p=s" => \$patchname,
+ "do-backups|backup!" => \$do_backups,
+ "quilt|q=s" => \$QUILT,
+ )) {
+
+ pod2usage(-exitval => 1, -verbose => 2, -noperldoc => 1) if ($show_help);
+
+ $QUILT = undef() if ($QUILT =~ m/^\s*$/ || $QUILT eq "none");
+
+ $builddir = Cwd::realpath(File::Spec->catdir($sourcedir, $builddir));
+ check_environment($builddir, $buildcmd, $patchname);
+
+ if (load_libraries(\@LIBS) == 0) {
+ die "Error: No dynamic symbols found in predefined libraries";
+ }
+
+ my $ret;
+ while (!($ret = build_and_fix($sourcedir, $builddir, $buildcmd, $exec_in_build_dir, $do_backups, $invoke_edit))) {
+ print "$MSG_PREFIX Linkage problem fixed, rebuilding again\n";
+ }
+
+ if ($ret == 1) {
+ print "$MSG_PREFIX If build process is complete, you may want to run the following command to build/refresh the patch\n";
+ print "$MSG_PREFIX \$ $QUILT refresh -p ab --no-timestamps --no-index\n" if (defined $QUILT);
+ if ($do_backups) {
+ print "$MSG_PREFIX Also run the following command to cleanup backup files:\n" .
+ "$MSG_PREFIX \$ find -name 'CMakeLists.txt.orig' -delete\n";
+ }
+ }
+
+ exit 0;
+} else {
+ podusage(-exitval => 2, -verbose => 1);
+}
+
Property changes on: kde-extras/skrooge/trunk/debian/autofixtll
___________________________________________________________________
Added: svn:executable
+ *
Added: kde-extras/skrooge/trunk/debian/changelog
===================================================================
--- kde-extras/skrooge/trunk/debian/changelog (rev 0)
+++ kde-extras/skrooge/trunk/debian/changelog 2010-04-20 09:16:10 UTC (rev 17695)
@@ -0,0 +1,5 @@
+skrooge (0.7.0-1) unstable; urgency=low
+
+ * Initial release. (Closes: #548219)
+
+ -- Fathi Boudra <fabo at debian.org> Sun, 18 Apr 2010 12:30:46 +0300
Added: kde-extras/skrooge/trunk/debian/compat
===================================================================
--- kde-extras/skrooge/trunk/debian/compat (rev 0)
+++ kde-extras/skrooge/trunk/debian/compat 2010-04-20 09:16:10 UTC (rev 17695)
@@ -0,0 +1 @@
+7
Added: kde-extras/skrooge/trunk/debian/control
===================================================================
--- kde-extras/skrooge/trunk/debian/control (rev 0)
+++ kde-extras/skrooge/trunk/debian/control 2010-04-20 09:16:10 UTC (rev 17695)
@@ -0,0 +1,47 @@
+Source: skrooge
+Section: kde
+Priority: optional
+Maintainer: Debian KDE Extras Team <pkg-kde-extras at lists.alioth.debian.org>
+Uploaders: Fathi Boudra <fabo at debian.org>
+Build-Depends: debhelper (>= 7.4.15), cmake (>= 2.8.0), pkg-kde-tools (>= 0.6.4),
+ kdelibs5-dev (>= 4:4.3.4), libofx-dev, libqca2-dev, libsqlite3-dev,
+ pkg-config, shared-mime-info
+Standards-Version: 3.8.4
+Homepage: http://skrooge.org/
+Vcs-Svn: svn://svn.debian.org/pkg-kde/kde-extras/skrooge/trunk
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-kde/kde-extras/skrooge/?op=log
+
+Package: skrooge
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, skrooge-common (>= ${source:Version})
+Description: personal finance manager for KDE
+ Skrooge allows you to manage your personal finances. It is intended to be used
+ by individuals who want to keep track of their incomes, expenses and
+ investments. Its philosophy is to stay simple and intuitive.
+ .
+ Here is the list of Skrooge main features:
+ * QIF, CSV, KMyMoney, Skrooge, import/export
+ * OFX, QFX, GnuCash, Grisbi, HomeBank import
+ * Advanced Graphical Reports
+ * Several tabs to help you organize your work
+ * Infinite undo/redo
+ * Instant filtering on operations and reports
+ * Infinite categories levels
+ * Mass update of operations
+ * Scheduled operations
+ * Track refund of your expenses
+ * Automatically process operations based on search conditions
+ * Multi currencies
+ * Dashboard
+
+Package: skrooge-common
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Skrooge architecture independent files
+ Skrooge allows you to manage your personal finances. It is intended to be used
+ by individuals who want to keep track of their incomes, expenses and
+ investments. Its philosophy is to stay simple and intuitive.
+ .
+ This package contains architecture independent files needed for Skrooge to run
+ properly. It also provides Skrooge documentation. Therefore, unless you
+ have 'skrooge' package installed, you will hardly find this package useful.
Added: kde-extras/skrooge/trunk/debian/copyright
===================================================================
--- kde-extras/skrooge/trunk/debian/copyright (rev 0)
+++ kde-extras/skrooge/trunk/debian/copyright 2010-04-20 09:16:10 UTC (rev 17695)
@@ -0,0 +1,68 @@
+This work was packaged for Debian by:
+
+ Fathi Boudra <fabo at debian.org> on Sun, 18 Apr 2010 12:30:46 +0300
+
+It was downloaded from:
+
+ http://skrooge.org/
+
+Upstream Authors:
+
+ Stephane Mankowski <stephane at mankowski.fr>
+ Guillaume De Bure <guillaume.debure at gmail.com>
+
+Copyright:
+
+ Copyright (C) 2007-2010 Stephane Mankowski <stephane at mankowski.fr>
+ Copyright (C) 2007-2010 Guillaume De Bure <guillaume.debure at gmail.com>
+
+Copyright for skgaccountsskroogoid.*, skgdashboard2skroogoids.* and
+skgieskroogoid.* files from skg_dashboard2:
+
+ Copyright (C) 2010 Siddharth Sharma <siddharth.kde at gmail.com>
+
+and is licensed under the terms of the GPL version 2 or 3, see below.
+
+Copyright for *_export.h files:
+
+ Copyright (C) 2007 David Faure <faure at kde.org>
+ Redistribution and use is allowed according to the terms of the LGPL
+ version 2 or any later version.
+
+On Debian systems, the complete text of the LGPL version 2 or 3 can be found in
+"/usr/share/common-licenses/LGPL-2" and "/usr/share/common-licenses/LGPL-3".
+
+Copyright for FindLibOfx.cmake file:
+
+ Copyright (C) 2006 Alexander Neundorf, <neundorf at kde.org>
+ Copyright (C) 2009 Guillaume De Bure <guillaume.debure at gmail.com>
+ Copied from FindLibXslt.cmake
+ Redistribution and use is allowed according to the terms of the BSD license.
+
+On Debian systems, the complete text of the BSD license can be found in
+"/usr/share/common-licenses/BSD".
+
+License:
+
+ This package 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 package 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, see <http://www.gnu.org/licenses/>
+
+On Debian systems, the complete text of the GNU General
+Public License version 2 or 3 can be found in
+"/usr/share/common-licenses/GPL-2" and "/usr/share/common-licenses/GPL-3".
+
+The Debian packaging is:
+
+ Copyright (C) 2010 Fathi Boudra <fabo at debian.org>
+
+and is licensed under the terms of the GPL version 2 or 3, see above.
Added: kde-extras/skrooge/trunk/debian/docs
===================================================================
--- kde-extras/skrooge/trunk/debian/docs (rev 0)
+++ kde-extras/skrooge/trunk/debian/docs 2010-04-20 09:16:10 UTC (rev 17695)
@@ -0,0 +1,2 @@
+README
+TODO
Added: kde-extras/skrooge/trunk/debian/patches/97_fix_target_link_libraries.diff
===================================================================
--- kde-extras/skrooge/trunk/debian/patches/97_fix_target_link_libraries.diff (rev 0)
+++ kde-extras/skrooge/trunk/debian/patches/97_fix_target_link_libraries.diff 2010-04-20 09:16:10 UTC (rev 17695)
@@ -0,0 +1,264 @@
+--- a/skgbankgui/CMakeLists.txt
++++ b/skgbankgui/CMakeLists.txt
+@@ -22,7 +22,7 @@ kde4_add_ui_files(skgbankgui_SRCS skgque
+
+ KDE4_ADD_LIBRARY(skgbankgui SHARED ${skgbankgui_SRCS})
+
+-TARGET_LINK_LIBRARIES(skgbankgui ${QT_QTSQL_LIBRARY} ${QT_QTDESIGNER_LIBRARY} ${KDE4_KDEUI_LIBS} ${KDE4_KPARTS_LIBS} ${KDE4_KFILE_LIBS} skgbankmodeler skgbasemodeler skgbasegui)
++TARGET_LINK_LIBRARIES(skgbankgui ${KDE4_KDEUI_LIBS} ${QT_QTXML_LIBRARY} skgbankmodeler skgbasemodeler skgbasegui)
+ SET_TARGET_PROPERTIES( skgbankgui PROPERTIES VERSION ${VERSION} SOVERSION ${SOVERSION} )
+
+ ########### install files ###############
+--- a/skgbasegui/CMakeLists.txt
++++ b/skgbasegui/CMakeLists.txt
+@@ -46,7 +46,7 @@ kde4_add_kcfg_files(skgbasegui_SRCS skgb
+
+ KDE4_ADD_LIBRARY(skgbasegui SHARED ${skgbasegui_SRCS})
+
+-TARGET_LINK_LIBRARIES(skgbasegui ${QT_QTDESIGNER_LIBRARY} ${QT_QTSCRIPT_LIBRARY} ${KDE4_KDEUI_LIBS} ${KDE4_KPARTS_LIBS} ${KDE4_KFILE_LIBS} skgbasemodeler)
++TARGET_LINK_LIBRARIES(skgbasegui ${KDE4_KPARTS_LIBS} ${QT_QTSCRIPT_LIBRARY} skgbasemodeler)
+ SET_TARGET_PROPERTIES( skgbasegui PROPERTIES VERSION ${VERSION} SOVERSION ${SOVERSION} )
+
+ ########### install files ###############
+--- a/skrooge/CMakeLists.txt
++++ b/skrooge/CMakeLists.txt
+@@ -14,7 +14,7 @@ SET(skrooge_SRCS
+ )
+ kde4_ADD_EXECUTABLE(skrooge ${skrooge_SRCS})
+
+-TARGET_LINK_LIBRARIES(skrooge ${KDE4_KDEUI_LIBS} ${KDE4_KPARTS_LIBS} ${KDE4_KFILE_LIBS} skgbasemodeler skgbasegui skgbankmodeler skgbankgui)
++TARGET_LINK_LIBRARIES(skrooge ${KDE4_KDEUI_LIBS} skgbasemodeler skgbasegui skgbankmodeler skgbankgui)
+
+
+ ########### install files ###############
+--- a/skgbasemodeler/CMakeLists.txt
++++ b/skgbasemodeler/CMakeLists.txt
+@@ -25,7 +25,7 @@ KDE4_ADD_LIBRARY(skgbasemodeler SHARED $
+
+ #need to link to some other libraries ? just add them here
+ SET_TARGET_PROPERTIES(skgbasemodeler PROPERTIES VERSION ${VERSION} SOVERSION ${SOVERSION} )
+-TARGET_LINK_LIBRARIES(skgbasemodeler ${KDE4_KDEUI_LIBS} ${QT_QTSQL_LIBRARY} ${QT_QTCORE_LIBRARY} ${QCA2_LIBRARIES} ${SQLITE_LIBRARIES})
++TARGET_LINK_LIBRARIES(skgbasemodeler ${KDE4_KDECORE_LIBS} ${QT_QTGUI_LIBRARY} ${QT_QTSQL_LIBRARY} ${QCA2_LIBRARIES} ${SQLITE_LIBRARIES})
+
+ ########### install files ###############
+ INSTALL(TARGETS skgbasemodeler ${INSTALL_TARGETS_DEFAULT_ARGS} )
+--- a/skgbankmodeler/CMakeLists.txt
++++ b/skgbankmodeler/CMakeLists.txt
+@@ -42,7 +42,7 @@ KDE4_ADD_LIBRARY(skgbankmodeler SHARED $
+
+ #need to link to some other libraries ? just add them here
+ #Correction bug 223848 vvvv
+-TARGET_LINK_LIBRARIES(skgbankmodeler ${KDE4_KDEUI_LIBS} ${QT_QTSQL_LIBRARY} ${QT_QTXML_LIBRARY} ${QT_QTCORE_LIBRARY} skgbasemodeler)
++TARGET_LINK_LIBRARIES(skgbankmodeler ${KDE4_KDEUI_LIBS} ${QT_QTXML_LIBRARY} skgbasemodeler)
+ IF(LIBOFX_FOUND)
+ MESSAGE( STATUS "OFX found. OFX support enabled")
+ TARGET_LINK_LIBRARIES(skgbankmodeler ${LIBOFX_LIBRARIES})
+--- a/skg_bookmark/CMakeLists.txt
++++ b/skg_bookmark/CMakeLists.txt
+@@ -15,7 +15,7 @@ SET(skg_bookmark_SRCS skgbookmarkplugin.
+ kde4_add_ui_files(skg_bookmark_SRCS skgbookmarkplugindockwidget_base.ui)
+
+ kde4_add_plugin(skg_bookmark ${skg_bookmark_SRCS})
+-TARGET_LINK_LIBRARIES(skg_bookmark ${KDE4_KDEUI_LIBS} ${KDE4_KPARTS_LIBS} skgbasemodeler skgbasegui )
++TARGET_LINK_LIBRARIES(skg_bookmark ${KDE4_KPARTS_LIBS} skgbasemodeler skgbasegui )
+
+ ########### install files ###############
+ INSTALL(TARGETS skg_bookmark DESTINATION ${PLUGIN_INSTALL_DIR})
+--- a/skg_dashboard/CMakeLists.txt
++++ b/skg_dashboard/CMakeLists.txt
+@@ -17,7 +17,7 @@ kde4_add_ui_files(skg_dashboard_SRCS skg
+ kde4_add_kcfg_files(skg_dashboard_SRCS skgdashboard_settings.kcfgc )
+
+ kde4_add_plugin(skg_dashboard ${skg_dashboard_SRCS})
+-TARGET_LINK_LIBRARIES(skg_dashboard ${KDE4_KDEUI_LIBS} ${KDE4_KPARTS_LIBS} skgbasemodeler skgbasegui)
++TARGET_LINK_LIBRARIES(skg_dashboard ${KDE4_KPARTS_LIBS} skgbasemodeler skgbasegui)
+
+ ########### install files ###############
+ INSTALL(TARGETS skg_dashboard DESTINATION ${PLUGIN_INSTALL_DIR})
+--- a/skg_dashboard2/CMakeLists.txt
++++ b/skg_dashboard2/CMakeLists.txt
+@@ -21,7 +21,7 @@ kde4_add_ui_files(skg_dashboard2_SRCS sk
+ kde4_add_kcfg_files(skg_dashboard2_SRCS skgdashboard2_settings.kcfgc )
+
+ kde4_add_plugin(skg_dashboard2 ${skg_dashboard2_SRCS})
+-TARGET_LINK_LIBRARIES(skg_dashboard2 ${KDE4_KDEUI_LIBS} ${KDE4_KPARTS_LIBS} ${KDE4_PLASMA_LIBS} skgbasemodeler skgbasegui)
++TARGET_LINK_LIBRARIES(skg_dashboard2 ${KDE4_KPARTS_LIBS} ${KDE4_PLASMA_LIBS} skgbasemodeler skgbasegui)
+
+ ########### install files ###############
+ INSTALL(TARGETS skg_dashboard2 DESTINATION ${PLUGIN_INSTALL_DIR})
+--- a/skg_debug/CMakeLists.txt
++++ b/skg_debug/CMakeLists.txt
+@@ -15,7 +15,7 @@ SET(skg_debug_SRCS skgdebugplugin.cpp sk
+ kde4_add_ui_files(skg_debug_SRCS skgdebugpluginwidget_base.ui)
+
+ kde4_add_plugin(skg_debug ${skg_debug_SRCS})
+-TARGET_LINK_LIBRARIES(skg_debug ${KDE4_KDEUI_LIBS} ${KDE4_KPARTS_LIBS} skgbasemodeler skgbasegui )
++TARGET_LINK_LIBRARIES(skg_debug ${KDE4_KPARTS_LIBS} skgbasemodeler skgbasegui )
+
+ ########### install files ###############
+ INSTALL(TARGETS skg_debug DESTINATION ${PLUGIN_INSTALL_DIR})
+--- a/skg_delete/CMakeLists.txt
++++ b/skg_delete/CMakeLists.txt
+@@ -13,7 +13,7 @@ LINK_DIRECTORIES (${LIBRARY_OUTPUT_PATH}
+ SET(skg_delete_SRCS skgdeleteplugin.cpp)
+
+ kde4_add_plugin(skg_delete ${skg_delete_SRCS})
+-TARGET_LINK_LIBRARIES(skg_delete ${KDE4_KDEUI_LIBS} ${KDE4_KPARTS_LIBS} skgbasemodeler skgbasegui)
++TARGET_LINK_LIBRARIES(skg_delete ${KDE4_KPARTS_LIBS} skgbasemodeler skgbasegui)
+
+ ########### install files ###############
+ INSTALL(TARGETS skg_delete DESTINATION ${PLUGIN_INSTALL_DIR})
+--- a/skg_file/CMakeLists.txt
++++ b/skg_file/CMakeLists.txt
+@@ -18,7 +18,7 @@ kde4_add_kcfg_files(skg_file_SRCS skgfil
+
+ kde4_add_plugin(skg_file ${skg_file_SRCS})
+
+-TARGET_LINK_LIBRARIES(skg_file ${KDE4_KDEUI_LIBS} ${KDE4_KPARTS_LIBS} skgbasemodeler skgbasegui)
++TARGET_LINK_LIBRARIES(skg_file ${KDE4_KPARTS_LIBS} skgbasemodeler skgbasegui)
+
+ ########### install files ###############
+ INSTALL(TARGETS skg_file DESTINATION ${PLUGIN_INSTALL_DIR})
+--- a/skg_print/CMakeLists.txt
++++ b/skg_print/CMakeLists.txt
+@@ -18,7 +18,7 @@ kde4_add_ui_files(skg_print_SRCS skgprin
+ kde4_add_kcfg_files(skg_print_SRCS skgprint_settings.kcfgc )
+
+ kde4_add_plugin(skg_print ${skg_print_SRCS})
+-TARGET_LINK_LIBRARIES(skg_print ${KDE4_KDEUI_LIBS} ${KDE4_KPARTS_LIBS} skgbasemodeler skgbasegui)
++TARGET_LINK_LIBRARIES(skg_print ${KDE4_KPARTS_LIBS} skgbasemodeler skgbasegui)
+
+ ########### install files ###############
+ INSTALL(TARGETS skg_print DESTINATION ${PLUGIN_INSTALL_DIR})
+--- a/skg_properties/CMakeLists.txt
++++ b/skg_properties/CMakeLists.txt
+@@ -17,7 +17,7 @@ SET(skg_properties_SRCS
+ kde4_add_ui_files(skg_properties_SRCS skgpropertiesplugindockwidget_base.ui)
+
+ kde4_add_plugin(skg_properties ${skg_properties_SRCS})
+-TARGET_LINK_LIBRARIES(skg_properties ${KDE4_KDEUI_LIBS} ${KDE4_KPARTS_LIBS} skgbasemodeler skgbasegui)
++TARGET_LINK_LIBRARIES(skg_properties ${KDE4_KPARTS_LIBS} skgbasemodeler skgbasegui)
+
+ ########### install files ###############
+ INSTALL(TARGETS skg_properties DESTINATION ${PLUGIN_INSTALL_DIR})
+--- a/skg_undoredo/CMakeLists.txt
++++ b/skg_undoredo/CMakeLists.txt
+@@ -17,7 +17,7 @@ kde4_add_ui_files(skg_undoredo_SRCS skgu
+ kde4_add_kcfg_files(skg_undoredo_SRCS skgundoredo_settings.kcfgc )
+
+ kde4_add_plugin(skg_undoredo ${skg_undoredo_SRCS})
+-TARGET_LINK_LIBRARIES(skg_undoredo ${KDE4_KDEUI_LIBS} ${KDE4_KPARTS_LIBS} skgbasemodeler skgbasegui)
++TARGET_LINK_LIBRARIES(skg_undoredo ${KDE4_KPARTS_LIBS} skgbasemodeler skgbasegui)
+
+ ########### install files ###############
+ INSTALL(TARGETS skg_undoredo DESTINATION ${PLUGIN_INSTALL_DIR})
+--- a/skrooge_bank/CMakeLists.txt
++++ b/skrooge_bank/CMakeLists.txt
+@@ -20,7 +20,7 @@ kde4_add_ui_files(skrooge_bank_SRCS skgb
+ kde4_add_kcfg_files(skrooge_bank_SRCS skgbank_settings.kcfgc )
+
+ kde4_add_plugin(skrooge_bank ${skrooge_bank_SRCS})
+-TARGET_LINK_LIBRARIES(skrooge_bank ${KDE4_KDEUI_LIBS} ${KDE4_KPARTS_LIBS} skgbasemodeler skgbasegui skgbankmodeler skgbankgui)
++TARGET_LINK_LIBRARIES(skrooge_bank ${KDE4_KPARTS_LIBS} skgbasemodeler skgbasegui skgbankmodeler skgbankgui)
+
+ ########### install files ###############
+ INSTALL(TARGETS skrooge_bank DESTINATION ${PLUGIN_INSTALL_DIR})
+--- a/skrooge_calculator/CMakeLists.txt
++++ b/skrooge_calculator/CMakeLists.txt
+@@ -18,7 +18,7 @@ kde4_add_ui_files(skrooge_calculator_SRC
+ kde4_add_kcfg_files(skrooge_calculator_SRCS skgcalculator_settings.kcfgc )
+
+ kde4_add_plugin(skrooge_calculator ${skrooge_calculator_SRCS})
+-TARGET_LINK_LIBRARIES(skrooge_calculator ${KDE4_KDEUI_LIBS} ${KDE4_KPARTS_LIBS} skgbasemodeler skgbasegui skgbankmodeler skgbankgui)
++TARGET_LINK_LIBRARIES(skrooge_calculator ${KDE4_KPARTS_LIBS} skgbasemodeler skgbasegui skgbankmodeler skgbankgui)
+
+ ########### install files ###############
+ INSTALL(TARGETS skrooge_calculator DESTINATION ${PLUGIN_INSTALL_DIR})
+--- a/skrooge_categories/CMakeLists.txt
++++ b/skrooge_categories/CMakeLists.txt
+@@ -16,7 +16,7 @@ SET(skrooge_categories_SRCS
+ kde4_add_ui_files(skrooge_categories_SRCS skgcategoriespluginwidget_base.ui)
+
+ kde4_add_plugin(skrooge_categories ${skrooge_categories_SRCS})
+-TARGET_LINK_LIBRARIES(skrooge_categories ${KDE4_KDEUI_LIBS} ${KDE4_KPARTS_LIBS} skgbasemodeler skgbasegui skgbankmodeler skgbankgui)
++TARGET_LINK_LIBRARIES(skrooge_categories ${KDE4_KPARTS_LIBS} skgbasemodeler skgbasegui skgbankmodeler skgbankgui)
+
+ ########### install files ###############
+ INSTALL(TARGETS skrooge_categories DESTINATION ${PLUGIN_INSTALL_DIR})
+--- a/skrooge_monthly/CMakeLists.txt
++++ b/skrooge_monthly/CMakeLists.txt
+@@ -17,7 +17,7 @@ kde4_add_ui_files(skrooge_monthly_SRCS s
+ kde4_add_kcfg_files(skrooge_monthly_SRCS skgmonthly_settings.kcfgc )
+
+ kde4_add_plugin(skrooge_monthly ${skrooge_monthly_SRCS})
+-TARGET_LINK_LIBRARIES(skrooge_monthly ${KDE4_KDEUI_LIBS} ${KDE4_KPARTS_LIBS} ${QT_QTWEBKIT_LIBRARY} skgbasemodeler skgbasegui skgbankmodeler)
++TARGET_LINK_LIBRARIES(skrooge_monthly ${KDE4_KPARTS_LIBS} ${QT_QTWEBKIT_LIBRARY} skgbasemodeler skgbasegui skgbankmodeler)
+
+ ########### install files ###############
+ INSTALL(TARGETS skrooge_monthly DESTINATION ${PLUGIN_INSTALL_DIR})
+--- a/skrooge_operation/CMakeLists.txt
++++ b/skrooge_operation/CMakeLists.txt
+@@ -22,7 +22,7 @@ kde4_add_ui_files(skrooge_operation_SRCS
+ kde4_add_kcfg_files(skrooge_operation_SRCS skgoperation_settings.kcfgc )
+
+ kde4_add_plugin(skrooge_operation ${skrooge_operation_SRCS})
+-TARGET_LINK_LIBRARIES(skrooge_operation ${KDE4_KDEUI_LIBS} ${KDE4_KPARTS_LIBS} skgbasemodeler skgbasegui skgbankmodeler skgbankgui)
++TARGET_LINK_LIBRARIES(skrooge_operation ${KDE4_KPARTS_LIBS} skgbasemodeler skgbasegui skgbankmodeler skgbankgui)
+
+ ########### install files ###############
+ INSTALL(TARGETS skrooge_operation DESTINATION ${PLUGIN_INSTALL_DIR})
+--- a/skrooge_report/CMakeLists.txt
++++ b/skrooge_report/CMakeLists.txt
+@@ -18,7 +18,7 @@ SET(skrooge_report_SRCS
+ kde4_add_ui_files(skrooge_report_SRCS skgreportpluginwidget_base.ui skgreportboardwidget_board.ui)
+
+ kde4_add_plugin(skrooge_report ${skrooge_report_SRCS})
+-TARGET_LINK_LIBRARIES(skrooge_report ${KDE4_KDEUI_LIBS} ${KDE4_KPARTS_LIBS} skgbasemodeler skgbasegui skgbankmodeler skgbankgui)
++TARGET_LINK_LIBRARIES(skrooge_report ${KDE4_KPARTS_LIBS} skgbasemodeler skgbasegui skgbankmodeler skgbankgui)
+
+ ########### install files ###############
+ INSTALL(TARGETS skrooge_report DESTINATION ${PLUGIN_INSTALL_DIR})
+--- a/skrooge_scheduled/CMakeLists.txt
++++ b/skrooge_scheduled/CMakeLists.txt
+@@ -20,7 +20,7 @@ kde4_add_ui_files(skrooge_scheduled_SRCS
+ kde4_add_kcfg_files(skrooge_scheduled_SRCS skgscheduled_settings.kcfgc )
+
+ kde4_add_plugin(skrooge_scheduled ${skrooge_scheduled_SRCS})
+-TARGET_LINK_LIBRARIES(skrooge_scheduled ${KDE4_KDEUI_LIBS} ${KDE4_KPARTS_LIBS} skgbasemodeler skgbasegui skgbankmodeler skgbankgui)
++TARGET_LINK_LIBRARIES(skrooge_scheduled ${KDE4_KPARTS_LIBS} skgbasemodeler skgbasegui skgbankmodeler skgbankgui)
+
+ ########### install files ###############
+ INSTALL(TARGETS skrooge_scheduled DESTINATION ${PLUGIN_INSTALL_DIR})
+--- a/skrooge_search/CMakeLists.txt
++++ b/skrooge_search/CMakeLists.txt
+@@ -18,7 +18,7 @@ kde4_add_ui_files(skrooge_search_SRCS sk
+ kde4_add_kcfg_files(skrooge_search_SRCS skgsearch_settings.kcfgc )
+
+ kde4_add_plugin(skrooge_search ${skrooge_search_SRCS})
+-TARGET_LINK_LIBRARIES(skrooge_search ${KDE4_KDEUI_LIBS} ${KDE4_KPARTS_LIBS} skgbasemodeler skgbasegui skgbankmodeler skgbankgui)
++TARGET_LINK_LIBRARIES(skrooge_search ${KDE4_KPARTS_LIBS} skgbasemodeler skgbasegui skgbankmodeler skgbankgui)
+
+ ########### install files ###############
+ INSTALL(TARGETS skrooge_search DESTINATION ${PLUGIN_INSTALL_DIR})
+--- a/skrooge_tracker/CMakeLists.txt
++++ b/skrooge_tracker/CMakeLists.txt
+@@ -17,7 +17,7 @@ kde4_add_ui_files(skrooge_tracker_SRCS s
+ kde4_add_kcfg_files(skrooge_tracker_SRCS skgtracker_settings.kcfgc )
+
+ kde4_add_plugin(skrooge_tracker ${skrooge_tracker_SRCS})
+-TARGET_LINK_LIBRARIES(skrooge_tracker ${KDE4_KDEUI_LIBS} ${KDE4_KPARTS_LIBS} skgbasemodeler skgbasegui skgbankmodeler skgbankgui)
++TARGET_LINK_LIBRARIES(skrooge_tracker ${KDE4_KPARTS_LIBS} skgbasemodeler skgbasegui skgbankmodeler skgbankgui)
+
+ ########### install files ###############
+ INSTALL(TARGETS skrooge_tracker DESTINATION ${PLUGIN_INSTALL_DIR})
+--- a/skrooge_unit/CMakeLists.txt
++++ b/skrooge_unit/CMakeLists.txt
+@@ -18,7 +18,7 @@ kde4_add_ui_files(skrooge_unit_SRCS skgu
+ kde4_add_kcfg_files(skrooge_unit_SRCS skgunit_settings.kcfgc )
+
+ kde4_add_plugin(skrooge_unit ${skrooge_unit_SRCS})
+-TARGET_LINK_LIBRARIES(skrooge_unit ${KDE4_KDEUI_LIBS} ${KDE4_KPARTS_LIBS} ${KDE4_KIO_LIBS} skgbasemodeler skgbasegui skgbankmodeler skgbankgui)
++TARGET_LINK_LIBRARIES(skrooge_unit ${KDE4_KPARTS_LIBS} ${KDE4_KIO_LIBS} skgbasemodeler skgbasegui skgbankmodeler skgbankgui)
+
+ ########### install files ###############
+ INSTALL(TARGETS skrooge_unit DESTINATION ${PLUGIN_INSTALL_DIR})
Added: kde-extras/skrooge/trunk/debian/patches/series
===================================================================
--- kde-extras/skrooge/trunk/debian/patches/series (rev 0)
+++ kde-extras/skrooge/trunk/debian/patches/series 2010-04-20 09:16:10 UTC (rev 17695)
@@ -0,0 +1 @@
+97_fix_target_link_libraries.diff
Added: kde-extras/skrooge/trunk/debian/rules
===================================================================
--- kde-extras/skrooge/trunk/debian/rules (rev 0)
+++ kde-extras/skrooge/trunk/debian/rules 2010-04-20 09:16:10 UTC (rev 17695)
@@ -0,0 +1,10 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+%:
+ dh $@ --parallel --list-missing --with kde
+
+override_dh_auto_configure:
+ dh_auto_configure --buildsystem=kde -- -DSKG_BUILD_TEST=false
Property changes on: kde-extras/skrooge/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
+ *
Added: kde-extras/skrooge/trunk/debian/skrooge-common.install
===================================================================
--- kde-extras/skrooge/trunk/debian/skrooge-common.install (rev 0)
+++ kde-extras/skrooge/trunk/debian/skrooge-common.install 2010-04-20 09:16:10 UTC (rev 17695)
@@ -0,0 +1,7 @@
+usr/share/doc/kde4/HTML/*
+usr/share/icons/oxygen/*
+usr/share/kde4/apps/skg/*
+usr/share/kde4/apps/skg_*/*
+usr/share/kde4/apps/skrooge/*
+usr/share/kde4/apps/skrooge_*/*
+usr/share/locale/*/LC_MESSAGES/skrooge.mo
Added: kde-extras/skrooge/trunk/debian/skrooge.install
===================================================================
--- kde-extras/skrooge/trunk/debian/skrooge.install (rev 0)
+++ kde-extras/skrooge/trunk/debian/skrooge.install 2010-04-20 09:16:10 UTC (rev 17695)
@@ -0,0 +1,14 @@
+usr/bin/skrooge
+usr/lib/kde4/plugins/designer/libskgbankgui.*
+usr/lib/kde4/plugins/designer/libskgbasegui.*
+usr/lib/kde4/skg_*.so
+usr/lib/kde4/skrooge_*.so
+usr/lib/libskgbankgui.so.*
+usr/lib/libskgbankmodeler.so.*
+usr/lib/libskgbasegui.so.*
+usr/lib/libskgbasemodeler.so.*
+usr/share/applications/kde4/skrooge.desktop
+usr/share/kde4/config.kcfg/*.kcfg
+usr/share/kde4/services/*.desktop
+usr/share/kde4/servicetypes/skg-plugin.desktop
+usr/share/mime/packages/x-skg.xml
Added: kde-extras/skrooge/trunk/debian/skrooge.lintian-overrides
===================================================================
--- kde-extras/skrooge/trunk/debian/skrooge.lintian-overrides (rev 0)
+++ kde-extras/skrooge/trunk/debian/skrooge.lintian-overrides 2010-04-20 09:16:10 UTC (rev 17695)
@@ -0,0 +1 @@
+skrooge: package-name-doesnt-match-sonames libskgbankgui0 libskgbankmodeler0 libskgbasegui0 libskgbasemodeler0
Added: kde-extras/skrooge/trunk/debian/source/format
===================================================================
--- kde-extras/skrooge/trunk/debian/source/format (rev 0)
+++ kde-extras/skrooge/trunk/debian/source/format 2010-04-20 09:16:10 UTC (rev 17695)
@@ -0,0 +1 @@
+3.0 (quilt)
More information about the pkg-kde-commits
mailing list