Skip to content

Commit

Permalink
Update REAMDE.md and Release version 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTumultuousUnicornOfDarkness committed Oct 12, 2014
1 parent 02c22cf commit 69dcf77
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 7 deletions.
10 changes: 10 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
v1.2.0 (10.12.2014):
* Add NCurses mode
* Add possibility to disable GTK/NCurses/Libcpuid/Libdmi before compiling
* Fixes:
** CPU multipliers calculation
** Relative path of file on error
** Segfault on unknown multiplier
** Unwanted characters


v1.1.0 (09.28.2014):
* Remove calls to external command 'dmidecode', use provided library instead of
* Remove calls to external command 'lscpu'
Expand Down
16 changes: 11 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# CPU-X

CPU-X is a Free software that gathers information on CPU & motherboard.
CPU-X is similar to CPU-Z (only available for Microsoft Windows, see http://www.cpuid.com/softwares/cpu-z.html for more informations), but CPU-X is designed for GNU/Linux.
CPU-X is a Free software that gathers information on CPU & motherboard.
CPU-X is similar to CPU-Z (only available for Microsoft Windows, see http://www.cpuid.com/softwares/cpu-z.html for more informations), but CPU-X is designed for GNU/Linux.
It is written in C, and GUI uses GTK3+ library, so it's working out-of-box on X11 or Wayland.


Expand All @@ -23,7 +23,12 @@ It is written in C, and GUI uses GTK3+ library, so it's working out-of-box on X1
## Build

First, you must to have CMake installed to continue (only needed for building).
GTK headers are needed to compile.
GTK headers are needed to compile with GTK support.
You can disable some functionalities by passing argument `-D<var>=0` when running CMake, like this:
`-DWITH_GTK=0` will disable support of GUI in GTK3+
`-DWITH_NCURSES=0` will disable support of NCurses mode (need to run from a shell)
`-DWITH_LIBCPUID=0` will avoid calls to Libcpuid (not recommended)
`-DWITH_LIBDMI=0` will not compile Libdmi and will avoid calls to Libdmi (not recommended)

* If you want to install CPU-X on your system, do:
```
Expand All @@ -45,8 +50,9 @@ Note: portable binary will be in directory "ebuild/bin".

## Usage

Start program with root privileges allow to use Dmidecode.
Simply run command `cpu-x` if it is installed on you system, or double-click on `cpu-x` is also possible.
Start program with **root privileges** allow to use **Dmidecode** (Libdmi).
Simply run command `cpu-x` if it is installed on you system, or double-click on `cpu-x` is also possible.
If GTK and NCurses are supported, you can start CPU-X in NCurses mode by taping in a shell `cpu-x --no-gui`.


## Download binairies
Expand Down
2 changes: 1 addition & 1 deletion data/cpu-x.ui
Original file line number Diff line number Diff line change
Expand Up @@ -1634,7 +1634,7 @@
<property name="label" translatable="yes">
Based on GTK3+ library

Version : 1.1.0
Version : 1.2.0
Author : X0rg
GitHub : https://github.com/X0rg

Expand Down
2 changes: 1 addition & 1 deletion src/cpu-x.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#define HAVE_STDINT_H /* Skip conflicts with <libcpuid/libcpuid_types.h> */
#define BASEFILE (strrchr(__FILE__, '/') ? strrchr(__FILE__, '/') + 1 : __FILE__) /* Don't show full path of file */
#define PRGNAME "CPU-X"
#define PRGVER "1.1.0"
#define PRGVER "1.2.0"
#define EXIT_FNO 2 /* Exit when File Not Open */

#define S 80 /* Big char* */
Expand Down

0 comments on commit 69dcf77

Please sign in to comment.