aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-08-25 20:51:46 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-08-25 20:51:46 +0000
commit696244f89d3f5d5b419952c1ea3293c55f60c164 (patch)
treea4678f1df9a015a368f21286bc50c8acde22c179
parent07e5612f49c01d38e01421cc8491fbb1c0550be8 (diff)
downloadpaludis-696244f89d3f5d5b419952c1ea3293c55f60c164.tar.gz
paludis-696244f89d3f5d5b419952c1ea3293c55f60c164.tar.xz
Enable xterm titles in Qualudis
-rw-r--r--src/qualudis/Makefile.am4
-rw-r--r--src/qualudis/qualudis.cc7
2 files changed, 10 insertions, 1 deletions
diff --git a/src/qualudis/Makefile.am b/src/qualudis/Makefile.am
index 7a1970c..d2d8415 100644
--- a/src/qualudis/Makefile.am
+++ b/src/qualudis/Makefile.am
@@ -1,4 +1,4 @@
-AM_CXXFLAGS = -I$(top_srcdir) @PALUDIS_CXXFLAGS@
+AM_CXXFLAGS = -I$(top_srcdir) -I$(top_srcdir)/src @PALUDIS_CXXFLAGS@
DEFS= \
-DSYSCONFDIR=\"$(sysconfdir)\" \
-DLIBEXECDIR=\"$(libexecdir)\" \
@@ -22,6 +22,7 @@ qualudis_LDADD = \
$(top_builddir)/paludis/libpaludis.la \
$(top_builddir)/paludis/args/libpaludisargs.la \
$(top_builddir)/paludis/util/libpaludisutil.la \
+ $(top_builddir)/src/libcolour.a \
$(PCREPLUSPLUS_LIBS) \
$(DYNAMIC_LD_LIBS)
@@ -50,6 +51,7 @@ man_qualudis_SOURCES = \
man_qualudis_LDADD = \
$(top_builddir)/paludis/args/libpaludisargs.la \
$(top_builddir)/paludis/util/libpaludisutil.la \
+ $(top_builddir)/src/libcolour.a \
$(DYNAMIC_LD_LIBS)
CLEANFILES = *~ version_TEST gmon.out *.gcov *.gcno *.gcda
diff --git a/src/qualudis/qualudis.cc b/src/qualudis/qualudis.cc
index a5c5efb..b9cf812 100644
--- a/src/qualudis/qualudis.cc
+++ b/src/qualudis/qualudis.cc
@@ -30,6 +30,7 @@
#include <libwrapiter/libwrapiter.hh>
#include "qualudis_command_line.hh"
+#include "colour.hh"
#include "config.h"
using namespace paludis;
@@ -224,6 +225,8 @@ namespace
do_check_package_dir(const FSEntry & dir, const Environment & env)
{
Context context("When checking package '" + stringify(dir) + "':");
+ cerr << xterm_title("Checking " + dir.dirname().basename() + "/" +
+ dir.basename() + " - qualudis");
bool ok(true), fatal(false);
@@ -277,6 +280,8 @@ namespace
{
Context context("When checking category '" + stringify(dir) + "':");
+ cerr << xterm_title("Checking " + dir.basename() + " - qualudis");
+
cout << "QA checks for category directory " << dir << ":" << endl;
cout << endl;
@@ -313,6 +318,8 @@ namespace
{
Context context("When checking eclass directory '" + stringify(dir) + "':");
+ cerr << xterm_title("Checking " + dir.basename() + " - qualudis");
+
cout << "QA checks for eclass directory " << dir << ":" << endl;
cout << endl;