public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
From: Achim Gratz <Stromeko@nexgo.de>
To: cygwin-apps@cygwin.com
Subject: Re: [PATCH 3/4 setup] package re-/de-installation from CLI
Date: Wed, 24 Jul 2013 20:54:00 -0000	[thread overview]
Message-ID: <87vc3z8yrv.fsf_-_@Rainer.invalid> (raw)
In-Reply-To: <874nbjbsbw.fsf@Rainer.invalid> (Achim Gratz's message of "Wed,	24 Jul 2013 22:41:01 +0200")

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: 0003-Remove-unused-method-packagedb-addCommandLinePackage.patch --]
[-- Type: text/x-patch, Size: 1440 bytes --]

From 54eeaaa766876613b39353271c91502c9cd76d52 Mon Sep 17 00:00:00 2001
From: Achim Gratz <Stromeko@Stromeko.DE>
Date: Wed, 24 Jul 2013 22:04:30 +0200
Subject: [PATCH 3/4] Remove unused method packagedb::addCommandLinePackages

	* package_db.h (packagedb::addCommandLinePackages): Remove declaration.
	* package_db.cc (packagedb::addCommandLinePackages): Remove unused method.
---
 package_db.cc | 17 -----------------
 package_db.h  |  1 -
 2 files changed, 18 deletions(-)

diff --git a/package_db.cc b/package_db.cc
index 1da931c..3578033 100644
--- a/package_db.cc
+++ b/package_db.cc
@@ -422,23 +422,6 @@ packagedb::fillMissingCategory ()
     }
 }
 
-bool
-packagedb::addCommandLinePackages ()
-{
-  bool bReturn = false;
-
-  for (packagedb::packagecollection::iterator i = packages.begin(); i != packages.end(); i++)
-    {
-      if (i->second->isManuallyWanted())
-        {
-          i->second->addToCategoryBase();
-          bReturn = true;
-        }
-    }
-
-  return bReturn;
-}
-
 void
 packagedb::defaultTrust (trusts trust)
 {
diff --git a/package_db.h b/package_db.h
index 63753aa..bc828a1 100644
--- a/package_db.h
+++ b/package_db.h
@@ -70,7 +70,6 @@ public:
   PackageDBConnectedIterator connectedBegin();
   PackageDBConnectedIterator connectedEnd();
   void fillMissingCategory();
-  bool addCommandLinePackages();
   void defaultTrust (trusts trust);
   void markUnVisited();
   void setExistence();
-- 
1.8.3.1


[-- Attachment #2: Type: text/plain, Size: 191 bytes --]


Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Waldorf MIDI Implementation & additional documentation:
http://Synth.Stromeko.net/Downloads.html#WaldorfDocs

  parent reply	other threads:[~2013-07-24 20:54 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-22 18:03 [setup] " Achim Gratz
2013-07-24 11:51 ` Corinna Vinschen
2013-07-24 20:45   ` [PATCH 0/4 setup] " Achim Gratz
2013-07-24 20:53     ` [PATCH 2/4 " Achim Gratz
2013-07-25 12:04       ` Corinna Vinschen
2013-07-24 20:53     ` [PATCH 1/4 " Achim Gratz
2013-07-25  9:48       ` Corinna Vinschen
2013-10-07 15:03       ` Jon TURNEY
2013-10-07 16:21         ` Christopher Faylor
2013-10-07 18:08           ` Jon TURNEY
2013-10-10 20:05             ` Achim Gratz
2013-10-07 18:00         ` Achim Gratz
2013-07-24 20:54     ` Achim Gratz [this message]
2013-07-25 12:06       ` [PATCH 3/4 " Corinna Vinschen
2013-07-25 19:52         ` Achim Gratz
2013-07-24 20:54     ` [PATCH 4/4 " Achim Gratz
2013-07-26 12:04       ` Corinna Vinschen
2013-07-24 20:58     ` [PATCH 0/4 " Achim Gratz
2013-07-25  0:03     ` Christopher Faylor
2013-07-25  5:29       ` Achim Gratz
2013-07-25 15:18         ` Christopher Faylor
2013-07-25 19:44           ` Achim Gratz
2013-07-24 20:51   ` [PATCH 2/4 " Achim Gratz
2013-07-24 20:51   ` [PATCH 3/4 " Achim Gratz
2013-07-24 20:51   ` [PATCH 4/4 " Achim Gratz
2013-07-24 20:51   ` [PATCH 1/4 " Achim Gratz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87vc3z8yrv.fsf_-_@Rainer.invalid \
    --to=stromeko@nexgo.de \
    --cc=cygwin-apps@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).