[SCM] Debian Qt/KDE packaging tools branch, master, updated. debian/0.6.3

Modestas Vainius modax at alioth.debian.org
Sun Feb 14 19:51:00 UTC 2010


The following commit has been merged in the master branch:
commit af93c17b69dc24e03ee26f0299cd9abfefa4b198
Author: Modestas Vainius <modestas at vainius.eu>
Date:   Sun Feb 14 16:58:20 2010 +0200

    Remove dead code (previous patch subcommand).
---
 symbolshelper/pkgkde-symbolshelper |   46 ------------------------------------
 1 files changed, 0 insertions(+), 46 deletions(-)

diff --git a/symbolshelper/pkgkde-symbolshelper b/symbolshelper/pkgkde-symbolshelper
index befae60..a9b89b9 100755
--- a/symbolshelper/pkgkde-symbolshelper
+++ b/symbolshelper/pkgkde-symbolshelper
@@ -526,52 +526,6 @@ sub subcommand_patch {
     return 1;
 }
 
-#sub subcommand_patch {
-#    my $opt_diff;
-#    my %opts = (
-#	get_common_options("oipav"),
-#	"diff|d=s" => \$opt_diff,
-#    );
-#    if (GetOptions(%opts)) {
-#	check_mandatory_options("i", "when package (-p) is not specified") unless ($opt_package);
-#	unless ($opt_in) {
-#	    $opt_in = find_package_symbolfile_path($opt_package, $opt_arch);
-#	    error("symbol template file was not found for package '$opt_package'")
-#		unless (defined $opt_in && -r $opt_in);
-#	}
-#	$opt_out = $opt_in if (!$opt_out && -w $opt_in);
-#	$opt_diff = "-" unless ($opt_diff);
-#
-#	# Open patch
-#	open(DIFFINPUT, $opt_diff)
-#	    or error("unable to open patch '$opt_diff' for reading");
-#
-#	my $orig_symfile = Debian::PkgKde::SymbolsHelper::SymbolFile->new(
-#	    file => $opt_in, arch => $opt_arch);
-#	my $patched_symfile = patch_symbolfile($opt_in, *DIFFINPUT);
-#
-#	# Read remaning $patchfh stream
-#	if ($opt_diff eq "-") {
-#	    while (<DIFFINPUT>) {}
-#	}
-#	close(DIFFINPUT);
-#
-#	error("supplied patch does not apply to the symbols file '$opt_in'")
-#	    unless defined $patched_symfile;
-#
-#	foreach my $info ($patched_symfile->get_new_symbols($orig_symfile)) {
-#	    # Retrieve real symbol instance
-#	    my $sym = $patched_symfile->{objects}{$info->{soname}}{syms}{$info->get_symbolname()};
-#	    $sym->mark_cpp_templinst_as_optional();
-#	    tweak_symbol($sym);
-#
-#	    info("NEW symbol: " . $sym->get_symbolspec(1));
-#	}
-#	return out_symfile($patched_symfile);
-#    }
-#    return 1;
-#}
-
 sub subcommand_rewrite {
     my $opt_template = 1;
     my $opt_convert;

-- 
Debian Qt/KDE packaging tools



More information about the pkg-kde-commits mailing list