diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /x11-misc/xrootconsole/files/xrootconsole-0.6.noversion.patch | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'x11-misc/xrootconsole/files/xrootconsole-0.6.noversion.patch')
-rw-r--r-- | x11-misc/xrootconsole/files/xrootconsole-0.6.noversion.patch | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/x11-misc/xrootconsole/files/xrootconsole-0.6.noversion.patch b/x11-misc/xrootconsole/files/xrootconsole-0.6.noversion.patch new file mode 100644 index 000000000000..b1ede4023113 --- /dev/null +++ b/x11-misc/xrootconsole/files/xrootconsole-0.6.noversion.patch @@ -0,0 +1,52 @@ +--- main.c.orig 2004-02-21 07:31:53.000000000 +0900 ++++ main.c 2005-03-06 16:34:27.949346504 +0900 +@@ -68,6 +68,7 @@ + " --solid make background a solid color, not shaded-transparent\n" \ + " --topdown insert lines at the top and scroll the rest down\n" \ + " --wrap wrap long lines, instead of cutting them off\n" \ ++" --noversion do not display xrootwindow version in output\n" \ + " -h or --help a familiar-looking help screen\n" \ + " -v or --version displays the version number\n" \ + " [console] filename to read (defaults to standard input)\n" \ +@@ -102,6 +103,7 @@ + int wrap; + int topdown; + int solid; ++ int show_version; + } InitOptions; + + typedef struct { +@@ -219,6 +221,7 @@ + io->wrap = DEFAULT_WRAP; + io->topdown = DEFAULT_TOPDOWN; + io->solid = DEFAULT_SOLID; ++ io->show_version = 1; + + /* Process command-line arguments */ + while (*++argv != NULL) { +@@ -236,6 +239,8 @@ + io->bw = atoi(*++argv); + else if (!strcmp(*argv, "-columns") || !strcmp(*argv, "-c")) + io->tc = atoi(*++argv); ++ else if (!strcmp(*argv, "--noversion")) ++ io->show_version = 0; + else if (!strcmp(*argv, "--solid")) + io->solid = True; + else if (!strcmp(*argv, "--wrap")) +@@ -560,10 +565,12 @@ + init_console(io.console_name, ws.colwidth, ws.nlines, &cs); + + /* Display a message */ +- put("xrootconsole ",&io,&ws,&cs); +- put(XROOTCONSOLE_VERSION,&io,&ws,&cs); +- put("\n",&io,&ws,&cs); +- ++ if (io.show_version) { ++ put("xrootconsole ",&io,&ws,&cs); ++ put(XROOTCONSOLE_VERSION,&io,&ws,&cs); ++ put("\n",&io,&ws,&cs); ++ } ++ + draw_pixmap(&io,&ws,&cs); + + event_loop(&io,&ws,&cs); |