[pacman-dev] [PATCH 00/11] [RFC] Pacman Color

Daniel Wallace daniel.wallace at gatech.edu
Sun Aug 5 05:46:36 EDT 2012


I wanted to fix up the pacman-color patch from the aur, as suggested by Allan. And I decided to put all of the
seperate color commands into color.c .  Not being very experienced in C, please feel free to be as nitpicky as
you want, I did this mostly for the learning experience, as well as to start cleaning up the patch.

Thanks

Daniel Wallace (11):
  load color into config
  Add color commands for stuff in util
  Load color configs
  add color to callback
  add color to package.c
  Add color to pacman.c
  add color to query.c
  Add color to remove.c
  Add color to sync.c
  Add empty config file
  Document color

 contrib/bash_completion.in |   2 +-
 contrib/zsh_completion.in  |   1 +
 doc/pacman.8.txt           |   3 +
 etc/Makefile.am            |   5 +-
 etc/color.conf.in          |  46 +++
 etc/pacman.conf.in         |   1 +
 src/pacman/Makefile.am     |   3 +
 src/pacman/callback.c      | 164 ++++++++--
 src/pacman/color.c         | 796 +++++++++++++++++++++++++++++++++++++++++++++
 src/pacman/color.h         |  77 +++++
 src/pacman/conf.c          |   5 +
 src/pacman/conf.h          |   6 +-
 src/pacman/package.c       | 190 ++++++++---
 src/pacman/pacman.c        |  85 +++--
 src/pacman/query.c         |  57 +++-
 src/pacman/remove.c        |   7 +-
 src/pacman/sync.c          | 151 +++++++--
 src/pacman/util.c          |  35 +-
 src/pacman/util.h          |   6 +
 19 files changed, 1467 insertions(+), 173 deletions(-)
 create mode 100644 etc/color.conf.in
 create mode 100644 src/pacman/color.c
 create mode 100644 src/pacman/color.h

-- 
1.7.11.4



More information about the pacman-dev mailing list