Skip to content

Commit

Permalink
Merge remote-tracking branch 'refs/remotes/origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
eloaders committed Dec 8, 2015
2 parents b70bf18 + ecee67c commit 848b023
Show file tree
Hide file tree
Showing 4 changed files with 97 additions and 53 deletions.
8 changes: 4 additions & 4 deletions I-Nex/i-nex/.src/Finfosys.class
Original file line number Diff line number Diff line change
Expand Up @@ -425,12 +425,12 @@ Public Sub grafika()
If IsNull(Kernel_driver_in_use) Or IsSpace(Kernel_driver_in_use) = True Then
Try Exec [ChkPrm.ChkExecDir("xdriinfo")] Wait To Kernel_driver_in_use
Endif
Exec ["/bin/bash", "/usr/bin/i-nex-lspci", "nonprefetchable"] Wait To memory_non_prefetchable
Exec ["/bin/bash", "/usr/bin/i-nex-lspci", "prefetchable"] Wait To memory_prefetchable
Try Exec ["/bin/bash", "/usr/bin/i-nex-lspci", "nonprefetchable"] Wait To memory_non_prefetchable
Try Exec ["/bin/bash", "/usr/bin/i-nex-lspci", "prefetchable"] Wait To memory_prefetchable

Label136.Text = "Kernel driver in use: " & Replace(Kernel_driver_in_use, "\n", "")
Label64.Text = "Total Memory prefetchable: " & Replace(memory_prefetchable, "\n", " - ")
Label146.Text = "Total Memory non-prefetchable: " & Replace(memory_non_prefetchable, "\n", " - ")
Try Label64.Text = "Total Memory prefetchable: " & Replace(memory_prefetchable, "\n", " - ")
Try Label146.Text = "Total Memory non-prefetchable: " & Replace(memory_non_prefetchable, "\n", " - ")
Label108.Text = "Present resolution: " & Replace(rozdzielczosc, "\n", "")
TextBox1.Text = RTrim(Replace(gpu, "\n", ""))
Label109.Text = Replace(available_resolutions, "\n", "")
Expand Down
7 changes: 7 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
i-nex (7.4.0.1) stable; urgency=medium

* Update for version 7.4.0.1
* Chengelog for version 7.4.0 see file /usr/share/doc/i-nex/changelog-7.4.0

-- eloaders <eloaders@linux.pl> Sun, 06 Dec 2015 19:36:43 +0100

i-nex (7.4.0) stable; urgency=medium

* Chengelog for version 7.4.0 see file /usr/share/doc/i-nex/changelog-7.4.0
Expand Down
24 changes: 12 additions & 12 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ Build-Depends: debhelper (>= 7),
libxext-dev,
libgl1-mesa-dev,
libglu1-mesa-dev,
gambas3-dev (>= 3.6.0),
gambas3-gb-image (>= 3.6.0),
gambas3-gb-qt4 (>= 3.6.0),
gambas3-gb-form (>= 3.6.0),
gambas3-gb-desktop (>= 3.6.0),
gambas3-gb-desktop-x11 (>= 3.6.0),
gambas3-dev (>= 3.8.0),
gambas3-gb-image (>= 3.8.0),
gambas3-gb-qt4 (>= 3.8.0),
gambas3-gb-form (>= 3.8.0),
gambas3-gb-desktop (>= 3.8.0),
gambas3-gb-desktop-x11 (>= 3.8.0),
imagemagick
Standards-Version: 3.9.4
Vcs-Browser: https://github.com/eloaders/I-Nex
Expand All @@ -29,11 +29,11 @@ Vcs-Git: https://github.com/eloaders/I-Nex.git
Package: i-nex
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends},
gambas3-runtime (>= 3.6.0),
gambas3-gb-image (>= 3.6.0),
gambas3-gb-qt4 (>= 3.6.0),
gambas3-gb-form (>= 3.6.0),
gambas3-gb-desktop (>= 3.6.0),
gambas3-runtime (>= 3.8.0),
gambas3-gb-image (>= 3.8.0),
gambas3-gb-qt4 (>= 3.8.0),
gambas3-gb-form (>= 3.8.0),
gambas3-gb-desktop (>= 3.8.0),
grep (>= 2.5),
bash (>= 4.1),
coreutils (>= 7.4),
Expand All @@ -55,4 +55,4 @@ Description: CPU-Z Alternative for Linux. For Viewing System Device Information.
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.
It also features an option to take a screenshot of the I-Nex window directly from the application.
111 changes: 74 additions & 37 deletions dists/i-nex.spec
Original file line number Diff line number Diff line change
Expand Up @@ -15,35 +15,41 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# The gittag version below ensures that the source tag points to the correct commit in GitHub and that it is reflected in the RPM versions (and names).

%define gittag 5813d16

Name: i-nex
Version: 7.0.0
Release: 1
Version: 7.4.0
Release: 5.20151205git%{?gittag}%{?dist}
Summary: System information tool

License: GPL-3.0+
Url: http://i-nex.linux.pl
Group: System/X11/Utilities
Source0: https://github.com/eloaders/I-Nex/archive/%{version}.tar.gz
Source0: https://github.com/eloaders/I-Nex/archive/%{gittag}.zip#/I-Nex-master.zip


BuildRequires: ImageMagick
BuildRequires: autoconf
BuildRequires: automake
%if 0%{?suse_version} <= 1210
BuildRequires: freeglut
%else
BuildRequires: Mesa-demo-x
%endif
BuildRequires: fdupes
BuildRequires: gambas3-devel >= 3.5.0
BuildRequires: gambas3-gb-desktop >= 3.5.0
BuildRequires: gambas3-gb-form >= 3.5.0
BuildRequires: gambas3-gb-form-dialog >= 3.5.0
BuildRequires: gambas3-gb-form-stock >= 3.5.0
BuildRequires: gambas3-gb-gtk >= 3.5.0
BuildRequires: gambas3-gb-gui >= 3.5.0
BuildRequires: gambas3-gb-image >= 3.5.0
BuildRequires: gambas3-gb-qt4 >= 3.5.0
BuildRequires: gambas3-gb-qt4-ext >= 3.5.0
BuildRequires: gambas3-gb-settings >= 3.5.0
BuildRequires: gambas3-devel >= 3.8.0
BuildRequires: gambas3-gb-desktop >= 3.8.0
BuildRequires: gambas3-gb-form >= 3.8.0
BuildRequires: gambas3-gb-form-dialog >= 3.8.0
BuildRequires: gambas3-gb-form-stock >= 3.8.0
BuildRequires: gambas3-gb-gtk >= 3.8.0
BuildRequires: gambas3-gb-gui >= 3.8.0
BuildRequires: gambas3-gb-image >= 3.8.0
BuildRequires: gambas3-gb-qt4 >= 3.8.0
BuildRequires: gambas3-gb-qt4-ext >= 3.8.0
BuildRequires: gambas3-gb-settings >= 3.8.0
BuildRequires: hicolor-icon-theme
%if 0%{?suse_version}
BuildRequires: lsb-release
Expand All @@ -53,31 +59,37 @@ BuildRequires: net-tools
BuildRequires: openSUSE-release
%endif
BuildRequires: pkgconfig
BuildRequires: pkgconfig(libcpuid)
BuildRequires: pkgconfig(libcpuid) >= 0.2.1
BuildRequires: pkgconfig(libprocps)
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(gl)
BuildRequires: pkgconfig(xext)
BuildRequires: pciutils
BuildRequires: procps
BuildRequires: update-desktop-files
BuildRequires: procps-ng
BuildRequires: procps-ng-devel
#BuildRequires: update-desktop-files
%if 0%{?suse_version}
BuildRequires: xorg-x11 >= 7.5
%endif
BuildRequires: xz
Requires: %{name}-data = %{version}
Requires: gambas3-gb-desktop >= 3.5.0
Requires: gambas3-gb-form >= 3.5.0
Requires: gambas3-gb-form-dialog >= 3.5.0
Requires: gambas3-gb-form-stock >= 3.5.0
Requires: gambas3-gb-geom >= 3.4.0
Requires: gambas3-gb-gtk >= 3.5.0
Requires: gambas3-gb-gui >= 3.5.0
Requires: gambas3-gb-image >= 3.5.0
Requires: gambas3-gb-qt4 >= 3.5.0
Requires: gambas3-gb-qt4-ext >= 3.5.0
Requires: gambas3-gb-settings >= 3.5.0
Requires: gambas3-runtime >= 3.5.0
Requires: gambas3-gb-desktop >= 3.8.0
Requires: gambas3-gb-form >= 3.8.0
Requires: gambas3-gb-form-dialog >= 3.8.0
Requires: gambas3-gb-form-stock >= 3.8.0
#Requires: gambas3-gb-geom >= 3.8.0
Requires: gambas3-gb-gtk >= 3.8.0
Requires: gambas3-gb-gui >= 3.8.0
Requires: gambas3-gb-image >= 3.8.0
Requires: gambas3-gb-qt4 >= 3.8.0
Requires: gambas3-gb-qt4-ext >= 3.8.0
Requires: gambas3-gb-settings >= 3.8.0
Requires: gambas3-runtime >= 3.8.0
%if 0%{?rhel}%{?fedora}
#BuildRequires: desktop-file-utils
Requires: i2c-tools
%endif
%if 0%{?suse_version}
%if 0%{?suse_version} <= 1210
Recommends: freeglut
Expand Down Expand Up @@ -110,7 +122,7 @@ Requires: %{name} = %{version}
I-Nex arch independent data.

%prep
%setup -q -n I-Nex-%{version}
%setup -q -n I-Nex-master
# A hack to be able to run the program via the name execution.
#+ some info tools are under *sbin
cat > %{name}.sh <<HERE
Expand All @@ -123,13 +135,14 @@ HERE
#using system's pastebinit
%__sed -i \
'\|/usr/share/i-nex/pastebinit/|s|/usr/share/i-nex/pastebinit/||' \
src/i-nex/.src/Reports/MPastebinit.module
%__cp src/i-nex/logo/i-nex.0.4.x.png $RPM_SOURCE_DIR/%{name}.png
I-Nex/i-nex/.src/Reports/MPastebinit.module
%__cp I-Nex/i-nex/logo/i-nex.0.4.x.png $RPM_SOURCE_DIR/%{name}.png
%{__sed} -e 's|env LIBOVERLAY_SCROLLBAR=0 /usr/bin/i-nex.gambas|i-nex|' \
-e '/^Icon=/s|=.*|=%{name}|' debian/%{name}.desktop > %{name}.desktop

%build
cd src
cd I-Nex
autoreconf -fiv
%configure
cd ..
make \
Expand All @@ -152,21 +165,24 @@ rm -rf %{buildroot}%{_datadir}/%{name}/pastebinit

%if 0%{?suse_version}
%suse_update_desktop_file -r %{name} 'System;HardwareSettings;'
%suse_update_desktop_file -r %{name}-library 'System;HardwareSettings;'
%endif

%fdupes -s %{buildroot}%{_datadir}


%if 0%{?suse_version} >= 1140
%post data
%desktop_database_post
%endif

%if 0%{?suse_version} >= 1140
%postun data
%desktop_database_postun

%endif

%files
%defattr(-,root,root,-)
%doc docs/copyright docs/I-Nex.LICENSE src/COPYING
%doc docs/copyright docs/I-Nex.LICENSE I-Nex/COPYING
%{_bindir}/%{name}-*
%doc %{_mandir}/man*/%{name}*

Expand All @@ -175,9 +191,30 @@ rm -rf %{buildroot}%{_datadir}/%{name}/pastebinit
%defattr(-,root,root,-)
%{_bindir}/%{name}
%{_bindir}/%{name}.gambas
%{_datadir}/applications/%{name}.desktop
%{_datadir}/applications/%{name}*.desktop
%{_datadir}/pixmaps/%{name}*
%doc debian/changelog* changelogs/changelog*
%doc src/AUTHORS src/ChangeLog src/README
%doc I-Nex/AUTHORS I-Nex/ChangeLog I-Nex/README
/etc/i-nex
/etc/udev/rules.d/i2c_smbus.rules

%changelog
* Sun Dec 6 2015 <GitHub/eloarders/I-Nex/alphastar868>
- Updated version to I-Nex 7.4.0 commit 5813d16
- Modified specfile to match RPM versions from Rawhide -
https://fedoraproject.org/wiki/Packaging:NamingGuidelines

* Sat Oct 3 2015 <GitHub/eloarders/I-Nex/alphastar868>
- Modified specfile to reflect commit date and short GitTag in
RPM versions.

* Fri Oct 2 2015 <GitHub/eloarders/I-Nex/alphastar868>
- Patched SPD labelnames and blank RPM Package count
(GitHub Issue # 12 and 14).

* Thu Oct 1 2015 <GitHub/eloarders/I-Nex/alphastar868>
- Patched specfile for x86_64 lib64 detection and JSON
O/S distro double quotes fixes (GitHub Issue # 10, 11).
- Added i2c_tools requirement to specfile.
- Removed %post and %postun requirements for CentOS.
- Updated version to I-Nex 7.4.0 commit 3455715bbc

0 comments on commit 848b023

Please sign in to comment.