From 72db3b20c0a075b932131c792cf5ce528eeda503 Mon Sep 17 00:00:00 2001 From: rofl0r Date: Sat, 18 Dec 2010 22:44:30 +0100 Subject: [PATCH] updated README for debian --- README | 29 +++++++++----- testt/ConsoleWindow.d | 6 ++- testt/conpix.d | 107 ++++++++++---------------------------------------- 3 files changed, 44 insertions(+), 98 deletions(-) rewrite testt/conpix.d (94%) diff --git a/README b/README index 82e46ba..2174f6a 100644 --- a/README +++ b/README @@ -1,25 +1,34 @@ c0npix by rofl0r -=============== +================ display your images in a 256 color xterm! export TERM=xterm-256color before usage needs the following libraries -ncurses -lepton (sometimes called liblept or even leptonica) -tiff -png +- ncurses +- lepton (aka liblept aka leptonica) +- tiff +- png -how to get the libraries on osx: get macports and run: sudo port install leptonica tiff libpng ncurses +AUTOMATED LIB INSTALL +--------------------- +OS X: get macports and run: sudo port install leptonica tiff libpng ncurses -how to compile: run ./build.sh +debian/ubuntu: sudo apt-get install libleptonica-dev libncurses5-dev libpng12-dev libtiff4-dev -(the Makefile is auto-maintained by eclipse and somehow misconfigured -atm) +COMPILATION +----------- +run ./build.sh -LICENSE: GNU GPL v3 +(the Makefile is auto-maintained by eclipse and somehow misconfigured atm) +LICENSE +------- +GNU GPL v3 + +MISC +---- made with eclipse CDT (managed build) the flickering at the end is caused by restoring the original colors, so you can keep on working with your xterm. diff --git a/testt/ConsoleWindow.d b/testt/ConsoleWindow.d index 1d0d64b..241785f 100644 --- a/testt/ConsoleWindow.d +++ b/testt/ConsoleWindow.d @@ -1,6 +1,6 @@ ConsoleWindow.d ConsoleWindow.o: ../ConsoleWindow.cpp ../ConsoleWindow.h \ - ../Rgb.h ../Endianness.h ../Logger.h ../Interfaces.h ../NsNcurses.h \ - ../Format.h + ../Rgb.h ../Endianness.h ../Logger.h ../Interfaces.h ../NsNcurses.h \ + /usr/include/ncurses/ncurses.h ../Format.h ../ConsoleWindow.h: @@ -14,4 +14,6 @@ ConsoleWindow.d ConsoleWindow.o: ../ConsoleWindow.cpp ../ConsoleWindow.h \ ../NsNcurses.h: +/usr/include/ncurses/ncurses.h: + ../Format.h: diff --git a/testt/conpix.d b/testt/conpix.d dissimilarity index 94% index 605082d..6743e27 100644 --- a/testt/conpix.d +++ b/testt/conpix.d @@ -1,86 +1,21 @@ -conpix.d conpix.o: ../conpix.cpp ../Lepton.h \ - /opt/local/include/leptonica/allheaders.h \ - /opt/local/include/leptonica/alltypes.h \ - /opt/local/include/leptonica/environ.h \ - /opt/local/include/leptonica/array.h \ - /opt/local/include/leptonica/arrayaccess.h \ - /opt/local/include/leptonica/bbuffer.h \ - /opt/local/include/leptonica/bmf.h \ - /opt/local/include/leptonica/ccbord.h \ - /opt/local/include/leptonica/dewarp.h \ - /opt/local/include/leptonica/gplot.h \ - /opt/local/include/leptonica/heap.h \ - /opt/local/include/leptonica/imageio.h \ - /opt/local/include/leptonica/jbclass.h \ - /opt/local/include/leptonica/list.h \ - /opt/local/include/leptonica/morph.h /opt/local/include/leptonica/pix.h \ - /opt/local/include/leptonica/ptra.h \ - /opt/local/include/leptonica/queue.h \ - /opt/local/include/leptonica/regutils.h \ - /opt/local/include/leptonica/sudoku.h \ - /opt/local/include/leptonica/stack.h \ - /opt/local/include/leptonica/watershed.h \ - /opt/local/include/leptonica/leptprotos.h ../Logger.h ../Interfaces.h \ - ../Format.h ../ConsoleWindow.h ../Rgb.h ../Endianness.h ../NsNcurses.h - -../Lepton.h: - -/opt/local/include/leptonica/allheaders.h: - -/opt/local/include/leptonica/alltypes.h: - -/opt/local/include/leptonica/environ.h: - -/opt/local/include/leptonica/array.h: - -/opt/local/include/leptonica/arrayaccess.h: - -/opt/local/include/leptonica/bbuffer.h: - -/opt/local/include/leptonica/bmf.h: - -/opt/local/include/leptonica/ccbord.h: - -/opt/local/include/leptonica/dewarp.h: - -/opt/local/include/leptonica/gplot.h: - -/opt/local/include/leptonica/heap.h: - -/opt/local/include/leptonica/imageio.h: - -/opt/local/include/leptonica/jbclass.h: - -/opt/local/include/leptonica/list.h: - -/opt/local/include/leptonica/morph.h: - -/opt/local/include/leptonica/pix.h: - -/opt/local/include/leptonica/ptra.h: - -/opt/local/include/leptonica/queue.h: - -/opt/local/include/leptonica/regutils.h: - -/opt/local/include/leptonica/sudoku.h: - -/opt/local/include/leptonica/stack.h: - -/opt/local/include/leptonica/watershed.h: - -/opt/local/include/leptonica/leptprotos.h: - -../Logger.h: - -../Interfaces.h: - -../Format.h: - -../ConsoleWindow.h: - -../Rgb.h: - -../Endianness.h: - -../NsNcurses.h: +conpix.d conpix.o: ../conpix.cpp ../Lepton.h ../Logger.h ../Interfaces.h \ + ../Format.h ../ConsoleWindow.h ../Rgb.h ../Endianness.h ../NsNcurses.h \ + /usr/include/ncurses/ncurses.h + +../Lepton.h: + +../Logger.h: + +../Interfaces.h: + +../Format.h: + +../ConsoleWindow.h: + +../Rgb.h: + +../Endianness.h: + +../NsNcurses.h: + +/usr/include/ncurses/ncurses.h: -- 2.11.4.GIT