Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
Fix Menu
Add manpages
Change copyright
Add imagemagick to control build-depends
  • Loading branch information
eloaders committed Dec 27, 2013
1 parent b9e2506 commit a3dcfeb
Show file tree
Hide file tree
Showing 22 changed files with 2,165 additions and 211 deletions.
27 changes: 13 additions & 14 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
#!/usr/bin/make -f
BUILD_PACKAGE = ./build-deb

BUILD_PACKAGE = $(shell ./build-deb)
PKG_INSTALL = apt-get install
AS_ROOT = sudo
CFLAGS = -g -Wall
GBC = /usr/bin/gbc3
GBCOPTS = -e -a -g -t -p -m
GBA = gba3
CC = gcc
ARCH=`uname -m`
ARCH=$(shell uname -m)
bindir ?= /usr/bin
INSTALL = install -m
bzr_revision =
Expand All @@ -20,6 +21,9 @@ MAKESELF = ./makeself.sh
MAKESELF_OPT = --nowait
APP_NAME= I-Nex
INSTALL_SELF_SCRIPT = ./install-self
ifeq ($(ARCH),x86)
additional_confflags := --disable-sse2
endif
dependency_build ?= bzr \
devscripts \
pkg-config \
Expand Down Expand Up @@ -48,17 +52,17 @@ dependency_build ?= bzr \

make:
@printf "\033[1;31mCompile edid-decode as inex-decode \033[0m$1\n"
$(CC) edid-decode.c $(CFLAGS) -o inex-edid
$(CC) edid-decode.c $(CFLAGS) $(additional_confflags) -o inex-edid
@printf "\033[1;31mCompile src/i-nex stage 1 \033[0m$1\n"
$(GBC) $(GBCOPTS) src/i-nex
@printf "\033[1;31mCompile src/i-nex stage 2 \033[0m$1\n"
$(GBA) src/i-nex

cd pixmaps; make
deb:

$(AS_ROOT) $(PKG_INSTALL) $(dependency_build)
$(BUILD_PACKAGE)

cd pixmaps; make
self:
$(BUILD_SELF_EXECUTABLE)
mkdir -p inex
Expand All @@ -69,15 +73,14 @@ self:
mkdir -p inex/usr/share/doc/i-nex/
mkdir -p inex/usr/share/i-nex/pastebinit/
mkdir -p inex/usr/share/i-nex/pastebinit/pastebin.d/
mkdir -p inex/usr/share/i-nex/pastebinit/utils/
chmod +x i-nex
chmod +x inex-edid
chmod +x debian/check_kernel
chmod +x debian/i-nex-lspci
$(INSTALL) 0755 i-nex inex$(bindir)
$(INSTALL) 0755 inex-edid inex$(bindir)
$(INSTALL) 0755 src/i-nex/i-nex.gambas inex$(bindir)
$(INSTALL) 0755 src/i-nex/logo/i-nex.0.4.x.png inex/usr/share/pixmaps/
$(INSTALL) 0755 debian/i-nex.xpm inex/usr/share/pixmaps/
$(INSTALL) 0755 debian/i-nex.desktop inex/usr/share/applications/
$(INSTALL) 0755 debian/check_kernel inex/usr/bin/
$(INSTALL) 0755 debian/i-nex-lspci inex/usr/bin/
Expand All @@ -88,8 +91,6 @@ self:
$(INSTALL) 0755 pastebinit.xml inex/usr/share/i-nex/pastebinit/
$(INSTALL) 0755 README inex/usr/share/i-nex/pastebinit/
$(INSTALL) 0755 release.conf inex/usr/share/i-nex/pastebinit/
$(INSTALL) 0755 test.sh inex/usr/share/i-nex/pastebinit/
$(INSTALL) 0755 utils/* inex/usr/share/i-nex/pastebinit/utils/
$(INSTALL) 0775 usr/bin/gbx3 inex/usr/bin/gbx3
$(INSTALL) 0775 usr/bin/gbr3 inex/usr/bin/gbr3
$(INSTALL) 0775 usr/lib/gambas3/gb.debug.so inex/usr/lib/gambas3/
Expand Down Expand Up @@ -154,7 +155,7 @@ clean:
$(RM_COM) $(RMDIR_OPT) debian/changelog1
$(RM_COM) $(RMDIR_OPT) inex
$(RM_COM) $(RMDIR_OPT) usr

cd pixmaps; make clean

install:
mkdir -p $(DESTDIR)$(bindir)
Expand All @@ -163,15 +164,14 @@ install:
mkdir -p $(DESTDIR)/usr/share/doc/i-nex/
mkdir -p $(DESTDIR)/usr/share/i-nex/pastebinit/
mkdir -p $(DESTDIR)/usr/share/i-nex/pastebinit/pastebin.d/
mkdir -p $(DESTDIR)/usr/share/i-nex/pastebinit/utils/
chmod +x i-nex
chmod +x inex-edid
chmod +x debian/check_kernel
chmod +x debian/i-nex-lspci
$(INSTALL) 0755 i-nex $(DESTDIR)$(bindir)
$(INSTALL) 0755 inex-edid $(DESTDIR)$(bindir)
$(INSTALL) 0755 src/i-nex/i-nex.gambas $(DESTDIR)$(bindir)
$(INSTALL) 0755 src/i-nex/logo/i-nex.0.4.x.png $(DESTDIR)/usr/share/pixmaps/
$(INSTALL) 0755 debian/i-nex.xpm $(DESTDIR)/usr/share/pixmaps/
$(INSTALL) 0755 debian/i-nex.desktop $(DESTDIR)/usr/share/applications/
$(INSTALL) 0755 debian/check_kernel $(DESTDIR)/usr/bin/
$(INSTALL) 0755 debian/i-nex-lspci $(DESTDIR)/usr/bin/
Expand All @@ -191,8 +191,7 @@ install:
$(INSTALL) 0755 pastebinit.xml $(DESTDIR)/usr/share/i-nex/pastebinit/
$(INSTALL) 0755 README $(DESTDIR)/usr/share/i-nex/pastebinit/
$(INSTALL) 0755 release.conf $(DESTDIR)/usr/share/i-nex/pastebinit/
$(INSTALL) 0755 test.sh $(DESTDIR)/usr/share/i-nex/pastebinit/
$(INSTALL) 0755 utils/* $(DESTDIR)/usr/share/i-nex/pastebinit/utils/
cd pixmaps; make install

uninstall:

Expand Down
11 changes: 2 additions & 9 deletions build-selfexecutable
Original file line number Diff line number Diff line change
Expand Up @@ -66,21 +66,14 @@ rm data.tar.gz control.tar.gz debian-binary
ar x $GB3_GB_DESKTOP
tar -zxvf data.tar.gz -C ./
rm data.tar.gz control.tar.gz debian-binary
#ar x $GB3_GB_FORM_DIALOG
#tar -zxvf data.tar.gz -C ./
#rm data.tar.gz control.tar.gz debian-binary
#ar x $GB3_GB_SETTINGS
#tar -zxvf data.tar.gz -C ./
#rm data.tar.gz control.tar.gz debian-binary

ar x $GB3_GB_FORM_STOCK
tar -zxvf data.tar.gz -C ./
rm data.tar.gz control.tar.gz debian-binary
ar x $GB3_RUNTIME
tar -zxvf data.tar.gz -C ./
rm data.tar.gz control.tar.gz debian-binary
#ar x $GB3_GB_WEB
#tar -zxvf data.tar.gz -C ./
#rm data.tar.gz control.tar.gz debian-binary

ar x $GB3_GB_QT4
tar -zxvf data.tar.gz -C ./
rm data.tar.gz control.tar.gz debian-binary
Expand Down
22 changes: 11 additions & 11 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,17 @@ Build-Depends: debhelper (>= 7),
sed (>= 4.2),
pciutils,
x11-utils (>= 7.5),
mesa-utils (>= 7.6)
mesa-utils (>= 7.6),
imagemagick
Standards-Version: 3.9.4
Homepage: http://tuxportal.pl
Homepage: http://i-nex.linux.pl
Vcs-Git: https://github.com/eloaders/I-Nex.git

Package: i-nex
Architecture: any
Depends: ${shlibs:Depends},
${python:Depends},
${misc:Depends},
gambas3-runtime (>= 3.4.0),
gambas3-gb-image (>= 3.0.90),
gambas3-gb-image (<< 3.99.0),
Expand All @@ -57,12 +59,10 @@ Depends: ${shlibs:Depends},
x11-utils (>= 7.5),
mesa-utils (>= 7.6),
python-configobj
Description: A CPU-Z Alternative for Linux. For Viewing System Device Information
I-Nex is an application that gathers information for hardware components available on your system and displays it using an user interface similar to the popular Windows tool CPU-Z.
I-Nex can display information for the following components:
CPU, GPU, Motherboard, Sound, Hard disks, RAM, Network and USB as well as some system info like the hostname, Linux distribution and version, Xorg, GCC, GLX versions and Linux Kernel info.
Besides being able to display hardware information,
I-Nex can also generate an advanced report for which you can select what to include and optionally send the report to a service such as Pastebin (and others).
It also features an option to take a screenshot of the I-Nex window directly from the application.
The difference between I-Nex and the other hardware information GUI tools available for Linux is that the information is better organized and is displayed faster (than lshw-gtk for instance).
Also, the hardware information is presented in a way that’s easier to understand than other such tools.
Description: CPU-Z Alternative for Linux. For Viewing System Device Information.
I-Nex is an application that gathers information for hardware components.
Available on your system and displays it using an user interface similar to the popular Windows tool CPU-Z.
CPU, GPU, Motherboard, Sound, Hard disks, RAM, Network, USB, hostname, Linux distribution and version, Xorg, GCC, GLX versions and Linux Kernel info.
I-Nex can also generate an advanced report for which.
You can select what to include and optionally send the report to a service such as Pastebin.
It also features an option to take a screenshot of the I-Nex window directly from the application.

0 comments on commit a3dcfeb

Please sign in to comment.