hardinfo: version bump to 0.6_pre20201223 #42

Merged
kapsh merged 1 commits from kapsh/hasufell-repository:hardinfo into master 2020-12-30 14:44:02 +00:00
2 changed files with 41 additions and 34 deletions

View File

@ -1,34 +0,0 @@
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
Outdated
Review

Falls under git's threshold? Diff view works in git show -M.4.

Falls under git's threshold? Diff view works in `git show -M.4`.
# Distributed under the terms of the GNU General Public License v2
require cmake [ api=2 ]
SUMMARY="A system information and benchmark tool for Linux systems"
HOMEPAGE="http://hardinfo.org/"
DOWNLOADS="https://dev.gentoo.org/~hasufell/distfiles/${PNV}.tar.xz"
LICENCES="GPL-2"
SLOT="0"
PLATFORMS="~amd64 ~x86"
MYOPTIONS=""
DEPENDENCIES="
build:
virtual/pkg-config
build+run:
dev-libs/glib:2
gnome-desktop/libsoup
x11-libs/gdk-pixbuf
x11-libs/gtk+:2
x11-libs/pango
"
REMOTE_IDS="github:lpereira/${PN}"
Outdated
Review

Provided by github.exlib.

Provided by github.exlib.
src_prepare() {
edo sed -i \
-e '/PREFIX/s:@CMAKE_INSTALL_PREFIX@/share:@CMAKE_INSTALL_DATAROOTDIR@:' \
Outdated
Review

This and more went into patch merged while I was writing previous comments.

This and more went into patch merged while I was writing previous comments.
"${CMAKE_SOURCE}"/config.h.cmake
cmake_src_prepare
}

View File

@ -0,0 +1,41 @@
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
# Snapshot until release work in progress: https://github.com/lpereira/hardinfo/issues/530
kapsh marked this conversation as resolved Outdated

This is unreliable. It would be better to have a static tarball. But you can't have everything in life, I guess.

This is unreliable. It would be better to have a static tarball. But you can't have everything in life, I guess.

Also add the link to the upstream release discussion here.

Also add the link to the upstream release discussion here.
Outdated
Review

I believe this is reliable until relevant commit exists, any other caveats?

Note with link added.

I believe this is reliable until relevant commit exists, any other caveats? Note with link added.
Review

it's scm, so the tarball cannot be cached

it's scm, so the tarball cannot be cached
Review

It is cached with rev exparam (until force_git_clone given):

-rw-r--r-- 1 paludisbuild paludisbuild 1.3M Dec 29 21:38 /var/cache/paludis/distfiles/hardinfo-f6a4f52868c2404f3ad58ef04e513ffe5fa090c7.tar.gz

It is cached with `rev` exparam (until `force_git_clone` given): `-rw-r--r-- 1 paludisbuild paludisbuild 1.3M Dec 29 21:38 /var/cache/paludis/distfiles/hardinfo-f6a4f52868c2404f3ad58ef04e513ffe5fa090c7.tar.gz`
GITHUB_REVISION=f6a4f52868c2404f3ad58ef04e513ffe5fa090c7
require github [ user=lpereira ]
require cmake
require gtk-icon-cache
SUMMARY="A system information and benchmark tool for Linux systems"
HOMEPAGE="http://hardinfo.org/"
LICENCES="GPL-2"
SLOT="0"
PLATFORMS="~amd64 ~x86"
kapsh marked this conversation as resolved Outdated

Gtk2 is old, let's remove this flag and force gtk3.

Gtk2 is old, let's remove this flag and force gtk3.
Outdated
Review

Sure, should be fine judging by https://github.com/lpereira/hardinfo/issues/112

Deprecation warnings triggered for both builds and I personally couldn't find guibench in gtk2 interface anyway.

Sure, should be fine judging by https://github.com/lpereira/hardinfo/issues/112 Deprecation warnings triggered for both builds and I personally couldn't find guibench in gtk2 interface anyway.
MYOPTIONS=""
DEPENDENCIES="
build:
sys-devel/gettext
virtual/pkg-config
build+run:
core/json-glib
dev-libs/glib:2
gnome-desktop/libsoup
x11-libs/cairo
x11-libs/gdk-pixbuf
x11-libs/gtk+:3
x11-libs/libX11
x11-libs/pango
suggestion:
Review

Source: https://github.com/lpereira/hardinfo/issues/243

Intentionally ommited from that list:

  • lsmod, lspci, locale — usually present on sane exherbo install
  • dmidecode — currently requires running gui as root
  • net-tools — considered deprecated and iproute2 is unsupported
  • xrandr, xdpyinfo — doesn't make much difference for display info
  • lsb_release — didn't change Operating system page after installing

Also I have nothing to test ups and samba rn, and fwupd could use openrc service to run.

Source: https://github.com/lpereira/hardinfo/issues/243 Intentionally ommited from that list: * lsmod, lspci, locale — usually present on sane exherbo install * dmidecode — currently requires running gui as root * net-tools — considered deprecated and iproute2 is unsupported * xrandr, xdpyinfo — doesn't make much difference for display info * lsb_release — didn't change Operating system page after installing Also I have nothing to test ups and samba rn, and fwupd could use openrc service to run.
app-benchmarks/sysbench [[ description = [ additional cpu/memory benchmarks ] ]]
sys-apps/fwupd [[ description = [ read firmware details ] ]]
sys-apps/udisks [[ description = [ read nvme storage information ] ]]
x11-dri/mesa-demos [[ description = [ show GLX info ] ]]
"
CMAKE_SRC_CONFIGURE_PARAMS=(
-DHARDINFO_GTK3:BOOL=TRUE
)