23 Commits
Author SHA1 Message Date
Daniel Menelkir 95de11a526 Update README.rst 2024-06-09 14:57:20 +00:00
Daniel Menelkir c0ca57d355 Update README.rst 2022-08-05 19:13:31 +00:00
Daniel Menelkir c1a212eb1e Update email 2022-05-14 17:04:55 -03:00
Daniel Menelkir 025a5cd5ba modified: contrib/init/g15stats.66
modified:   contrib/init/g15stats.confd
	modified:   contrib/init/g15stats.in
	modified:   contrib/init/g15stats.initd
	modified:   contrib/init/g15stats.run
	modified:   contrib/init/g15stats.service
	modified:   contrib/init/rc.g15stats
	deleted:    dists/arch/g15stats-openrc/.SRCINFO
	deleted:    dists/arch/g15stats-openrc/PKGBUILD
	deleted:    dists/arch/g15stats-runit/.SRCINFO
	deleted:    dists/arch/g15stats-runit/PKGBUILD
	deleted:    dists/arch/g15stats-systemd/.SRCINFO
	deleted:    dists/arch/g15stats-systemd/PKGBUILD
	deleted:    dists/arch/g15stats/.SRCINFO
	deleted:    dists/arch/g15stats/PKGBUILD
	deleted:    dists/freebsd/Makefile
	deleted:    dists/freebsd/distinfo
	deleted:    dists/freebsd/files/g15stats.in
	deleted:    dists/freebsd/pkg-descr
	deleted:    dists/freebsd/pkg-plist
	deleted:    dists/gentoo/Manifest
	deleted:    dists/gentoo/g15stats-3.0.2.ebuild
	deleted:    dists/gentoo/g15stats-9999.ebuild
	deleted:    dists/gentoo/metadata.xml
	deleted:    dists/void/files/run
	deleted:    dists/void/template
2021-11-01 08:31:49 -03:00
Daniel Menelkir 7c7fd3b605 modified: config/ltmain.sh
modified:   contrib/init/g15stats.initd
	modified:   contrib/init/g15stats.run
	modified:   contrib/init/rc.g15stats
	modified:   dist/arch/g15stats-openrc/.SRCINFO
	modified:   dist/arch/g15stats-openrc/PKGBUILD
	modified:   dist/arch/g15stats-runit/.SRCINFO
	modified:   dist/arch/g15stats-runit/PKGBUILD
	modified:   dist/arch/g15stats-systemd/.SRCINFO
	modified:   dist/arch/g15stats-systemd/PKGBUILD
2021-11-01 08:30:48 -03:00
Daniel Menelkir e96d818469 Merge branch 'Marzal-master-patch-15671' into 'master'
g15stats.service wont start without g15daemon.service installed

See merge request menelkir/g15stats!1
2021-11-01 10:16:50 +00:00
David Marzal a906005a87 Update dist/arch/g15stats-systemd/PKGBUILD 2021-10-31 22:17:10 +00:00
David Marzal 05ca759c7b g15stats.service wont start without g15daemon.service installed 2021-10-31 22:10:57 +00:00
Daniel Menelkir b749ed8ad5 new file: contrib/init/rc.g15stats 2021-07-23 08:02:08 -03:00
Daniel Menelkir 9dda88635a Fixed openrc script 2021-06-13 04:55:52 -03:00
Daniel Menelkir 7ad83e1529 Updated distro files 2021-06-08 20:27:27 -03:00
Daniel Menelkir ee4adb969b modified: contrib/init/g15stats.run 2021-06-05 04:24:39 -03:00
Daniel Menelkir 2e4ba7177a Added void template 2021-05-22 11:11:47 -03:00
Daniel Menelkir cef3398d88 Merge branch 'master' of gitlab.com:menelkir/g15stats 2021-05-14 20:11:06 -03:00
Daniel Menelkir 9f0f01ed9e Update config files 2021-05-14 20:10:49 -03:00
Daniel Menelkir b12478b3b8 Added 66 service 2021-05-10 19:15:55 -03:00
Daniel Menelkir 1c3f49f905 renamed: dists/g15stats/Makefile -> dists/freebsd/Makefile
renamed:    dists/g15stats/distinfo -> dists/freebsd/distinfo
	renamed:    dists/g15stats/files/g15stats.in -> dists/freebsd/files/g15stats.in
	renamed:    dists/g15stats/pkg-descr -> dists/freebsd/pkg-descr
	renamed:    dists/g15stats/pkg-plist -> dists/freebsd/pkg-plist
2021-05-05 18:55:08 -03:00
Daniel Menelkir 2ba45c8e9a new file: contrib/init/g15stats.in
new file:   dists/g15stats/Makefile
	new file:   dists/g15stats/distinfo
	new file:   dists/g15stats/files/g15stats.in
	new file:   dists/g15stats/pkg-descr
	new file:   dists/g15stats/pkg-plist
2021-05-05 18:54:25 -03:00
Daniel Menelkir bd01f2ab24 Added support for distributions 2021-05-05 18:51:03 -03:00
Daniel Menelkir 3297bfbdf1 Adequate init files in contrib to reflect gentoo display-manager 2021-04-25 07:21:46 -03:00
Daniel Menelkir 0ec5241751 modified: configure.ac 2021-03-20 13:53:32 -03:00
Daniel Menelkir d947d80dcc modified: Makefile.in 2021-03-10 17:27:30 -03:00
Daniel Menelkir ea338d176a modified: ChangeLog
modified:   Makefile.am
	modified:   Makefile.in
	modified:   aclocal.m4
	deleted:    autogen.sh
	modified:   configure
	renamed:    configure.in -> configure.ac
2021-03-10 17:23:22 -03:00
35 changed files with 534 additions and 251 deletions

No files matched your search

+1 -1
View File
@@ -5,4 +5,4 @@ Antonio Bartolini <robynhub@gmail.com>
Piotr Czarnecki <czarnyckm@users.sf.net> Piotr Czarnecki <czarnyckm@users.sf.net>
Daniel Menelkir <menelkir@itroll.org> Daniel Menelkir <dmenelkir@gmail.com>
-84
View File
@@ -1,84 +0,0 @@
0.1 Initial release
1.0
- Change net scale from absolute to relative, with option to revert to
absolute (-nsa --net-scale-absolute).
SVN:
- Improve response time when switching screens.
- Battery status monitoring courtesy of Pieter De Wit
- Detect if Network interface is incorrect and disable netscreen. Resolves 100% cpu issue reported by Guy Dierx.
SVN 504:
- Bottom row information rotation switched with the L5 key
- 3 additional CPU graph variants switched with the L4 key (at this moment for multi core processors only)
- New default CPU Screen (at this moment for multi core processors only)
- Display unicore graphs only on the CPU screen with the option -u (--unicore)
SVN 505:
- Bugfix: Render bottom line on the Memory Screen once
SVN 509:
- Temperature sensors depends on the lmsensors sysfs filesystem
SVN 510:
- Temperature sensor's autodetect
- Force user sensor id with the option -s id (The id should point to sysfs path /sys/class/hwmon/hwmon[id]/device/temp1_input)
SVN 511:
- Improve sensor's autodetect
- Clean up
SVN 512:
- CPU Screens variants for uni core processors
- CPU frequency info (if available)
- Battery Screen is enabled if available
- Clean up
SVN 513:
- Improve bottom line and keywatch logic
SVN 514:
- Many fixes, clean up
- Changed version to 1.90
- CPU Frequency use proper sysfs variable
- New Summary Screen indicators
- Network current traffic info in the bottom line
- Refactor CPU variants into separates additional screens: Summary, CPU and CPU Freq.
- New Fan Speed Screen
- After change screen cycle the info bar content is set to the screen default one.
- Net Screen scaling is now controlled with the L4 key
- Force start temperature sensor id with the option -t id (The id should point to sysfs path /sys/class/hwmon/hwmon[id]/...)
- Force start fan speed sensor id with the option -f id (The id should point to sysfs path /sys/class/hwmon/hwmon[id]/...)
- Force to show temperature [id] in place of the maximal one on the Summary Screen with the option ie -gt 1
(the id should point to sysfs path /sys/class/hwmon/hwmon../device/temp[id]_input)
- On the Fan / Temp Screen Current sensor is controlled with the L4 key (on systems with more then one sensor only).
- Every Screen has his own mode now (except Swap, Memory and Battery Screen)
SVN 515 (1.90):
- Fixed temperature / fan sensor lost
- Fixed screen cycle
SVN 516:
- Refactored temperature and fan speed - share the logic
SVN 517:
- Improve Bat Screen deactivation logic (now is it similar to SVN 515: Fixed temperature / fan sensor lost)
SVN 518 (1.91):
- Fix Summary, Freq and CPU Screens for some variants of the cpu cores number
- Improve Summary Screen
SVN 519
- Change default mode for Freq and Summary Screen
- Improve Summary Screen for cpus with more then 7 cores
SVN 520 (1.9.2)
- Disable monitoring CPUs frequencies with the option -df
- Improve Summary Screen without CPUs frequencies
SVN 530 (1.9.3)
- Activate the bottom info bar content rotate with the option -ir
- Change bottom info bar content to the component default one
- Activate variable CPUs count with the option -vc
- Improve Fan bottom info
SVN 531 (1.9.4)
- Fix time info
- Improve Fan / Temperature Screens leading labels position
- Improve Fan / Temperature Screens height calculation
- Improve Summary Screen multi bar (temperature and network)
SVN 532 (1.9.5)
- Improve Summary Screen multi bar (temperature and network)
- Fix compilation with the newer version of the glibc
- Improve refresh interval causing -nan error with the newer kernel on very fast machines due to too often glibtop probing
- Fix possible -nan error on the fast screens switch
- Change refresh interval with the option -r seconds (The seconds must be between 1 and 300)
SVN 534 (1.9.6)
- Improve Summary Screen with 3 and 6 core CPU
SVN 538 (1.9.7)
- Improve Summary Screen Fan / Temperature sensors bar calculation
1.9.8
- Fork and some fixes, added scripts from gentoo.
+1 -1
View File
@@ -1,5 +1,5 @@
AM_CFLAGS = -O3 -Wall @CFLAGS@ -I$(top_builddir) -I$(top_srcdir) AM_CFLAGS = -Wall @CFLAGS@ -I$(top_builddir) -I$(top_srcdir)
METASOURCES = AUTO METASOURCES = AUTO
bin_PROGRAMS = g15stats bin_PROGRAMS = g15stats
noinst_HEADERS = g15stats.h noinst_HEADERS = g15stats.h
+6 -4
View File
@@ -1,4 +1,4 @@
# Makefile.in generated by automake 1.16.2 from Makefile.am. # Makefile.in generated by automake 1.16.3 from Makefile.am.
# @configure_input@ # @configure_input@
# Copyright (C) 1994-2020 Free Software Foundation, Inc. # Copyright (C) 1994-2020 Free Software Foundation, Inc.
@@ -93,7 +93,7 @@ host_triplet = @host@
bin_PROGRAMS = g15stats$(EXEEXT) bin_PROGRAMS = g15stats$(EXEEXT)
subdir = . subdir = .
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/configure.in am__aclocal_m4_deps = $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4) $(ACLOCAL_M4)
DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \ DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
@@ -230,6 +230,8 @@ am__post_remove_distdir = $(am__remove_distdir)
DIST_ARCHIVES = $(distdir).tar.gz DIST_ARCHIVES = $(distdir).tar.gz
GZIP_ENV = --best GZIP_ENV = --best
DIST_TARGETS = dist-gzip DIST_TARGETS = dist-gzip
# Exists only to be overridden by the user if desired.
AM_DISTCHECK_DVI_TARGET = dvi
distuninstallcheck_listfiles = find . -type f -print distuninstallcheck_listfiles = find . -type f -print
am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
| sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
@@ -354,7 +356,7 @@ target_alias = @target_alias@
top_build_prefix = @top_build_prefix@ top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@ top_builddir = @top_builddir@
top_srcdir = @top_srcdir@ top_srcdir = @top_srcdir@
AM_CFLAGS = -O3 -Wall @CFLAGS@ -I$(top_builddir) -I$(top_srcdir) AM_CFLAGS = -Wall @CFLAGS@ -I$(top_builddir) -I$(top_srcdir)
METASOURCES = AUTO METASOURCES = AUTO
noinst_HEADERS = g15stats.h noinst_HEADERS = g15stats.h
doc_DATA = README ChangeLog AUTHORS NEWS COPYING doc_DATA = README ChangeLog AUTHORS NEWS COPYING
@@ -713,7 +715,7 @@ distcheck: dist
$(DISTCHECK_CONFIGURE_FLAGS) \ $(DISTCHECK_CONFIGURE_FLAGS) \
--srcdir=../.. --prefix="$$dc_install_base" \ --srcdir=../.. --prefix="$$dc_install_base" \
&& $(MAKE) $(AM_MAKEFLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) \
&& $(MAKE) $(AM_MAKEFLAGS) dvi \ && $(MAKE) $(AM_MAKEFLAGS) $(AM_DISTCHECK_DVI_TARGET) \
&& $(MAKE) $(AM_MAKEFLAGS) check \ && $(MAKE) $(AM_MAKEFLAGS) check \
&& $(MAKE) $(AM_MAKEFLAGS) install \ && $(MAKE) $(AM_MAKEFLAGS) install \
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \ && $(MAKE) $(AM_MAKEFLAGS) installcheck \
+7 -11
View File
@@ -3,6 +3,13 @@ G15STATS
A CPU/Memory/Swap/Network/Battery/Temperature/Fan Speed/CPU Frequencies usage meter for G15Daemon. A CPU/Memory/Swap/Network/Battery/Temperature/Fan Speed/CPU Frequencies usage meter for G15Daemon.
=======
Warning
=======
I'm discontinuing this after someone made a fuzz about a feature he decided he want a decade later.
And as far I am concerned, Arch Linux's AUR administrators find this behavior just fine, so I'm not wasting my efforts on this anymore.
I can still fix issues as I always did and help via mail, but keep in mind Arch Linux is impossible to be supported.
======== ========
Features Features
======== ========
@@ -50,14 +57,3 @@ Once running, the separate screens can be switched to as follows:
| ``L3``: Next Screen | ``L3``: Next Screen
| ``L4``: Alternative Screen (Doesn't work on Swap, Memory and Battery Screen) | ``L4``: Alternative Screen (Doesn't work on Swap, Memory and Battery Screen)
| ``L5``: Bottom Info bar mode | ``L5``: Bottom Info bar mode
=============
How to donate
=============
If you find this repo useful (don't forget to pay a visit to the related
repos too), you can buy me a beer:
:BTC: 3ECzX5UhcFSRv6gBBYLNBc7zGP9UA5Ppmn
:ETH: 0x7E17Ac09Fa7e6F80284a75577B5c1cbaAD566C1c
Vendored
+6 -11
View File
@@ -1,4 +1,4 @@
# generated automatically by aclocal 1.16.2 -*- Autoconf -*- # generated automatically by aclocal 1.16.3 -*- Autoconf -*-
# Copyright (C) 1996-2020 Free Software Foundation, Inc. # Copyright (C) 1996-2020 Free Software Foundation, Inc.
@@ -14,8 +14,8 @@
m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])]) m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
m4_ifndef([AC_AUTOCONF_VERSION], m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.70],, m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.71],,
[m4_warning([this file was generated for autoconf 2.70. [m4_warning([this file was generated for autoconf 2.71.
You have another version of autoconf. It may work, but is not guaranteed to. You have another version of autoconf. It may work, but is not guaranteed to.
If you have problems, you may need to regenerate the build system entirely. If you have problems, you may need to regenerate the build system entirely.
To do so, use the procedure documented by the package, typically 'autoreconf'.])]) To do so, use the procedure documented by the package, typically 'autoreconf'.])])
@@ -9432,7 +9432,7 @@ AC_DEFUN([AM_AUTOMAKE_VERSION],
[am__api_version='1.16' [am__api_version='1.16'
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
dnl require some minimum version. Point them to the right macro. dnl require some minimum version. Point them to the right macro.
m4_if([$1], [1.16.2], [], m4_if([$1], [1.16.3], [],
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
]) ])
@@ -9448,7 +9448,7 @@ m4_define([_AM_AUTOCONF_VERSION], [])
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE. # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
[AM_AUTOMAKE_VERSION([1.16.2])dnl [AM_AUTOMAKE_VERSION([1.16.3])dnl
m4_ifndef([AC_AUTOCONF_VERSION], m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
@@ -10100,12 +10100,7 @@ AC_DEFUN([AM_MISSING_HAS_RUN],
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
AC_REQUIRE_AUX_FILE([missing])dnl AC_REQUIRE_AUX_FILE([missing])dnl
if test x"${MISSING+set}" != xset; then if test x"${MISSING+set}" != xset; then
case $am_aux_dir in MISSING="\${SHELL} '$am_aux_dir/missing'"
*\ * | *\ *)
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
*)
MISSING="\${SHELL} $am_aux_dir/missing" ;;
esac
fi fi
# Use eval to expand $SHELL # Use eval to expand $SHELL
if eval "$MISSING --is-lightweight"; then if eval "$MISSING --is-lightweight"; then
-8
View File
@@ -1,8 +0,0 @@
#! /bin/sh
[ -d config ] || mkdir config
set -x
aclocal -I config
libtoolize --force --copy
autoheader
automake --add-missing --copy
autoconf
+17 -10
View File
@@ -1,8 +1,8 @@
#! /bin/sh #! /bin/sh
# Attempt to guess a canonical system name. # Attempt to guess a canonical system name.
# Copyright 1992-2020 Free Software Foundation, Inc. # Copyright 1992-2021 Free Software Foundation, Inc.
timestamp='2020-11-19' timestamp='2021-04-21'
# This file is free software; you can redistribute it and/or modify it # This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by # under the terms of the GNU General Public License as published by
@@ -50,7 +50,7 @@ version="\
GNU config.guess ($timestamp) GNU config.guess ($timestamp)
Originally written by Per Bothner. Originally written by Per Bothner.
Copyright 1992-2020 Free Software Foundation, Inc. Copyright 1992-2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -188,10 +188,9 @@ case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in
# #
# Note: NetBSD doesn't particularly care about the vendor # Note: NetBSD doesn't particularly care about the vendor
# portion of the name. We always set it to "unknown". # portion of the name. We always set it to "unknown".
sysctl="sysctl -n hw.machine_arch"
UNAME_MACHINE_ARCH=$( (uname -p 2>/dev/null || \ UNAME_MACHINE_ARCH=$( (uname -p 2>/dev/null || \
"/sbin/$sysctl" 2>/dev/null || \ /sbin/sysctl -n hw.machine_arch 2>/dev/null || \
"/usr/sbin/$sysctl" 2>/dev/null || \ /usr/sbin/sysctl -n hw.machine_arch 2>/dev/null || \
echo unknown)) echo unknown))
case "$UNAME_MACHINE_ARCH" in case "$UNAME_MACHINE_ARCH" in
aarch64eb) machine=aarch64_be-unknown ;; aarch64eb) machine=aarch64_be-unknown ;;
@@ -262,6 +261,10 @@ case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in
UNAME_MACHINE_ARCH=$(arch | sed 's/OpenBSD.//') UNAME_MACHINE_ARCH=$(arch | sed 's/OpenBSD.//')
echo "$UNAME_MACHINE_ARCH"-unknown-openbsd"$UNAME_RELEASE" echo "$UNAME_MACHINE_ARCH"-unknown-openbsd"$UNAME_RELEASE"
exit ;; exit ;;
*:SecBSD:*:*)
UNAME_MACHINE_ARCH=$(arch | sed 's/SecBSD.//')
echo "$UNAME_MACHINE_ARCH"-unknown-secbsd"$UNAME_RELEASE"
exit ;;
*:LibertyBSD:*:*) *:LibertyBSD:*:*)
UNAME_MACHINE_ARCH=$(arch | sed 's/^.*BSD\.//') UNAME_MACHINE_ARCH=$(arch | sed 's/^.*BSD\.//')
echo "$UNAME_MACHINE_ARCH"-unknown-libertybsd"$UNAME_RELEASE" echo "$UNAME_MACHINE_ARCH"-unknown-libertybsd"$UNAME_RELEASE"
@@ -950,7 +953,7 @@ EOF
if test "$?" = 0 ; then LIBC=gnulibc1 ; fi if test "$?" = 0 ; then LIBC=gnulibc1 ; fi
echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
exit ;; exit ;;
arc:Linux:*:* | arceb:Linux:*:*) arc:Linux:*:* | arceb:Linux:*:* | arc64:Linux:*:*)
echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
exit ;; exit ;;
arm*:Linux:*:*) arm*:Linux:*:*)
@@ -996,6 +999,9 @@ EOF
k1om:Linux:*:*) k1om:Linux:*:*)
echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
exit ;; exit ;;
loongarch32:Linux:*:* | loongarch64:Linux:*:* | loongarchx32:Linux:*:*)
echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
exit ;;
m32r*:Linux:*:*) m32r*:Linux:*:*)
echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
exit ;; exit ;;
@@ -1084,7 +1090,7 @@ EOF
ppcle:Linux:*:*) ppcle:Linux:*:*)
echo powerpcle-unknown-linux-"$LIBC" echo powerpcle-unknown-linux-"$LIBC"
exit ;; exit ;;
riscv32:Linux:*:* | riscv64:Linux:*:*) riscv32:Linux:*:* | riscv32be:Linux:*:* | riscv64:Linux:*:* | riscv64be:Linux:*:*)
echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
exit ;; exit ;;
s390:Linux:*:* | s390x:Linux:*:*) s390:Linux:*:* | s390x:Linux:*:*)
@@ -1480,8 +1486,8 @@ EOF
i*86:rdos:*:*) i*86:rdos:*:*)
echo "$UNAME_MACHINE"-pc-rdos echo "$UNAME_MACHINE"-pc-rdos
exit ;; exit ;;
i*86:AROS:*:*) *:AROS:*:*)
echo "$UNAME_MACHINE"-pc-aros echo "$UNAME_MACHINE"-unknown-aros
exit ;; exit ;;
x86_64:VMkernel:*:*) x86_64:VMkernel:*:*)
echo "$UNAME_MACHINE"-unknown-esx echo "$UNAME_MACHINE"-unknown-esx
@@ -1696,3 +1702,4 @@ exit 1
# time-stamp-format: "%:y-%02m-%02d" # time-stamp-format: "%:y-%02m-%02d"
# time-stamp-end: "'" # time-stamp-end: "'"
# End: # End:
+21 -10
View File
@@ -1,8 +1,8 @@
#! /bin/sh #! /bin/sh
# Configuration validation subroutine script. # Configuration validation subroutine script.
# Copyright 1992-2020 Free Software Foundation, Inc. # Copyright 1992-2021 Free Software Foundation, Inc.
timestamp='2020-12-02' timestamp='2021-04-30'
# This file is free software; you can redistribute it and/or modify it # This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by # under the terms of the GNU General Public License as published by
@@ -67,7 +67,7 @@ Report bugs and patches to <config-patches@gnu.org>."
version="\ version="\
GNU config.sub ($timestamp) GNU config.sub ($timestamp)
Copyright 1992-2020 Free Software Foundation, Inc. Copyright 1992-2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -1165,7 +1165,7 @@ case $cpu-$vendor in
| alphapca5[67] | alpha64pca5[67] \ | alphapca5[67] | alpha64pca5[67] \
| am33_2.0 \ | am33_2.0 \
| amdgcn \ | amdgcn \
| arc | arceb \ | arc | arceb | arc64 \
| arm | arm[lb]e | arme[lb] | armv* \ | arm | arm[lb]e | arme[lb] | armv* \
| avr | avr32 \ | avr | avr32 \
| asmjs \ | asmjs \
@@ -1185,6 +1185,7 @@ case $cpu-$vendor in
| k1om \ | k1om \
| le32 | le64 \ | le32 | le64 \
| lm32 \ | lm32 \
| loongarch32 | loongarch64 | loongarchx32 \
| m32c | m32r | m32rle \ | m32c | m32r | m32rle \
| m5200 | m68000 | m680[012346]0 | m68360 | m683?2 | m68k \ | m5200 | m68000 | m680[012346]0 | m68360 | m683?2 | m68k \
| m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x \ | m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x \
@@ -1203,9 +1204,13 @@ case $cpu-$vendor in
| mips64vr5900 | mips64vr5900el \ | mips64vr5900 | mips64vr5900el \
| mipsisa32 | mipsisa32el \ | mipsisa32 | mipsisa32el \
| mipsisa32r2 | mipsisa32r2el \ | mipsisa32r2 | mipsisa32r2el \
| mipsisa32r3 | mipsisa32r3el \
| mipsisa32r5 | mipsisa32r5el \
| mipsisa32r6 | mipsisa32r6el \ | mipsisa32r6 | mipsisa32r6el \
| mipsisa64 | mipsisa64el \ | mipsisa64 | mipsisa64el \
| mipsisa64r2 | mipsisa64r2el \ | mipsisa64r2 | mipsisa64r2el \
| mipsisa64r3 | mipsisa64r3el \
| mipsisa64r5 | mipsisa64r5el \
| mipsisa64r6 | mipsisa64r6el \ | mipsisa64r6 | mipsisa64r6el \
| mipsisa64sb1 | mipsisa64sb1el \ | mipsisa64sb1 | mipsisa64sb1el \
| mipsisa64sr71k | mipsisa64sr71kel \ | mipsisa64sr71k | mipsisa64sr71kel \
@@ -1229,7 +1234,7 @@ case $cpu-$vendor in
| powerpc | powerpc64 | powerpc64le | powerpcle | powerpcspe \ | powerpc | powerpc64 | powerpc64le | powerpcle | powerpcspe \
| pru \ | pru \
| pyramid \ | pyramid \
| riscv | riscv32 | riscv64 \ | riscv | riscv32 | riscv32be | riscv64 | riscv64be \
| rl78 | romp | rs6000 | rx \ | rl78 | romp | rs6000 | rx \
| s390 | s390x \ | s390 | s390x \
| score \ | score \
@@ -1682,11 +1687,14 @@ fi
# Now, validate our (potentially fixed-up) OS. # Now, validate our (potentially fixed-up) OS.
case $os in case $os in
# Sometimes we do "kernel-abi", so those need to count as OSes. # Sometimes we do "kernel-libc", so those need to count as OSes.
musl* | newlib* | uclibc*) musl* | newlib* | uclibc*)
;; ;;
# Likewise for "kernel-libc" # Likewise for "kernel-abi"
eabi | eabihf | gnueabi | gnueabihf) eabi* | gnueabi*)
;;
# VxWorks passes extra cpu info in the 4th filed.
simlinux | simwindows | spe)
;; ;;
# Now accept the basic system types. # Now accept the basic system types.
# The portable systems comes first. # The portable systems comes first.
@@ -1703,12 +1711,12 @@ case $os in
| nindy* | vxsim* | vxworks* | ebmon* | hms* | mvs* \ | nindy* | vxsim* | vxworks* | ebmon* | hms* | mvs* \
| clix* | riscos* | uniplus* | iris* | isc* | rtu* | xenix* \ | clix* | riscos* | uniplus* | iris* | isc* | rtu* | xenix* \
| mirbsd* | netbsd* | dicos* | openedition* | ose* \ | mirbsd* | netbsd* | dicos* | openedition* | ose* \
| bitrig* | openbsd* | solidbsd* | libertybsd* | os108* \ | bitrig* | openbsd* | secbsd* | solidbsd* | libertybsd* | os108* \
| ekkobsd* | freebsd* | riscix* | lynxos* | os400* \ | ekkobsd* | freebsd* | riscix* | lynxos* | os400* \
| bosx* | nextstep* | cxux* | aout* | elf* | oabi* \ | bosx* | nextstep* | cxux* | aout* | elf* | oabi* \
| ptx* | coff* | ecoff* | winnt* | domain* | vsta* \ | ptx* | coff* | ecoff* | winnt* | domain* | vsta* \
| udi* | lites* | ieee* | go32* | aux* | hcos* \ | udi* | lites* | ieee* | go32* | aux* | hcos* \
| chorusrdb* | cegcc* | glidix* \ | chorusrdb* | cegcc* | glidix* | serenity* \
| cygwin* | msys* | pe* | moss* | proelf* | rtems* \ | cygwin* | msys* | pe* | moss* | proelf* | rtems* \
| midipix* | mingw32* | mingw64* | mint* \ | midipix* | mingw32* | mingw64* | mint* \
| uxpv* | beos* | mpeix* | udk* | moxiebox* \ | uxpv* | beos* | mpeix* | udk* | moxiebox* \
@@ -1750,6 +1758,8 @@ case $kernel-$os in
;; ;;
kfreebsd*-gnu* | kopensolaris*-gnu*) kfreebsd*-gnu* | kopensolaris*-gnu*)
;; ;;
vxworks-simlinux | vxworks-simwindows | vxworks-spe)
;;
nto-qnx*) nto-qnx*)
;; ;;
os2-emx) os2-emx)
@@ -1852,3 +1862,4 @@ exit
# time-stamp-format: "%:y-%02m-%02d" # time-stamp-format: "%:y-%02m-%02d"
# time-stamp-end: "'" # time-stamp-end: "'"
# End: # End:
Regular → Executable
View File
File mode changed.
Vendored
+83 -96
View File
@@ -1,11 +1,12 @@
#! /bin/sh #! /bin/sh
# Guess values for system-dependent variables and create Makefiles. # Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.70 for g15stats 1.9.8. # Generated by GNU Autoconf 2.71 for g15stats 3.0.
# #
# Report bugs to <menelkir@itroll.org>. # Report bugs to <dmenelkir@gmail.com>.
# #
# #
# Copyright (C) 1992-1996, 1998-2017, 2020 Free Software Foundation, Inc. # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
# Inc.
# #
# #
# This configure script is free software; the Free Software Foundation # This configure script is free software; the Free Software Foundation
@@ -275,7 +276,7 @@ then :
printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later." printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
else else
printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
$0: menelkir@itroll.org about your system, including any $0: dmenelkir@gmail.com about your system, including any
$0: error possibly output before this message. Then install $0: error possibly output before this message. Then install
$0: a modern shell, or manually run the script under such a $0: a modern shell, or manually run the script under such a
$0: shell if you do have one." $0: shell if you do have one."
@@ -620,9 +621,9 @@ MAKEFLAGS=
# Identity of this package. # Identity of this package.
PACKAGE_NAME='g15stats' PACKAGE_NAME='g15stats'
PACKAGE_TARNAME='g15stats' PACKAGE_TARNAME='g15stats'
PACKAGE_VERSION='1.9.8' PACKAGE_VERSION='3.0'
PACKAGE_STRING='g15stats 1.9.8' PACKAGE_STRING='g15stats 3.0'
PACKAGE_BUGREPORT='menelkir@itroll.org' PACKAGE_BUGREPORT='dmenelkir@gmail.com'
PACKAGE_URL='' PACKAGE_URL=''
ac_default_prefix=/usr ac_default_prefix=/usr
@@ -1358,7 +1359,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing. # Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh. # This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF cat <<_ACEOF
\`configure' configures g15stats 1.9.8 to adapt to many kinds of systems. \`configure' configures g15stats 3.0 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]... Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1429,7 +1430,7 @@ fi
if test -n "$ac_init_help"; then if test -n "$ac_init_help"; then
case $ac_init_help in case $ac_init_help in
short | recursive ) echo "Configuration of g15stats 1.9.8:";; short | recursive ) echo "Configuration of g15stats 3.0:";;
esac esac
cat <<\_ACEOF cat <<\_ACEOF
@@ -1484,7 +1485,7 @@ Some influential environment variables:
Use these variables to override the choices made by `configure' or to help Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations. it to find libraries and programs with nonstandard names/locations.
Report bugs to <menelkir@itroll.org>. Report bugs to <dmenelkir@gmail.com>.
_ACEOF _ACEOF
ac_status=$? ac_status=$?
fi fi
@@ -1548,10 +1549,10 @@ fi
test -n "$ac_init_help" && exit $ac_status test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then if $ac_init_version; then
cat <<\_ACEOF cat <<\_ACEOF
g15stats configure 1.9.8 g15stats configure 3.0
generated by GNU Autoconf 2.70 generated by GNU Autoconf 2.71
Copyright (C) 2020 Free Software Foundation, Inc. Copyright (C) 2021 Free Software Foundation, Inc.
This configure script is free software; the Free Software Foundation This configure script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it. gives unlimited permission to copy, distribute and modify it.
_ACEOF _ACEOF
@@ -1766,8 +1767,8 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake. running configure, to aid debugging if configure makes a mistake.
It was created by g15stats $as_me 1.9.8, which was It was created by g15stats $as_me 3.0, which was
generated by GNU Autoconf 2.70. Invocation command line was generated by GNU Autoconf 2.71. Invocation command line was
$ $0$ac_configure_args_raw $ $0$ac_configure_args_raw
@@ -2523,7 +2524,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
PACKAGE=g15stats PACKAGE=g15stats
VERSION=1.9.8 VERSION=3.0
am__api_version='1.16' am__api_version='1.16'
@@ -2711,12 +2712,7 @@ am_aux_dir=`cd "$ac_aux_dir" && pwd`
if test x"${MISSING+set}" != xset; then if test x"${MISSING+set}" != xset; then
case $am_aux_dir in MISSING="\${SHELL} '$am_aux_dir/missing'"
*\ * | *\ *)
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
*)
MISSING="\${SHELL} $am_aux_dir/missing" ;;
esac
fi fi
# Use eval to expand $SHELL # Use eval to expand $SHELL
if eval "$MISSING --is-lightweight"; then if eval "$MISSING --is-lightweight"; then
@@ -3987,7 +3983,10 @@ else
CFLAGS= CFLAGS=
fi fi
fi fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5 ac_prog_cc_stdc=no
if test x$ac_prog_cc_stdc = xno
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
printf %s "checking for $CC option to enable C11 features... " >&6; } printf %s "checking for $CC option to enable C11 features... " >&6; }
if test ${ac_cv_prog_cc_c11+y} if test ${ac_cv_prog_cc_c11+y}
then : then :
@@ -4011,28 +4010,28 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam
done done
rm -f conftest.$ac_ext rm -f conftest.$ac_ext
CC=$ac_save_CC CC=$ac_save_CC
fi fi
# AC_CACHE_VAL
ac_prog_cc_stdc_options= if test "x$ac_cv_prog_cc_c11" = xno
case "x$ac_cv_prog_cc_c11" in #(
x) :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
printf "%s\n" "none needed" >&6; } ;; #(
xno) :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
printf "%s\n" "unsupported" >&6; } ;; #(
*) :
ac_prog_cc_stdc_options=" $ac_cv_prog_cc_c11"
CC="$CC$ac_prog_cc_stdc_options"
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
printf "%s\n" "$ac_cv_prog_cc_c11" >&6; } ;;
esac
if test "x$ac_cv_prog_cc_c11" != xno
then : then :
ac_prog_cc_stdc=c11 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11 printf "%s\n" "unsupported" >&6; }
else $as_nop else $as_nop
if test "x$ac_cv_prog_cc_c11" = x
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
printf "%s\n" "none needed" >&6; }
else $as_nop
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
CC="$CC $ac_cv_prog_cc_c11"
fi
ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
ac_prog_cc_stdc=c11
fi
fi
if test x$ac_prog_cc_stdc = xno
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
printf %s "checking for $CC option to enable C99 features... " >&6; } printf %s "checking for $CC option to enable C99 features... " >&6; }
if test ${ac_cv_prog_cc_c99+y} if test ${ac_cv_prog_cc_c99+y}
@@ -4043,9 +4042,9 @@ else $as_nop
ac_save_CC=$CC ac_save_CC=$CC
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
$ac_c_conftest_c89_program $ac_c_conftest_c99_program
_ACEOF _ACEOF
for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc1x -qlanglvl=extc99 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
do do
CC="$ac_save_CC $ac_arg" CC="$ac_save_CC $ac_arg"
if ac_fn_c_try_compile "$LINENO" if ac_fn_c_try_compile "$LINENO"
@@ -4057,28 +4056,28 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam
done done
rm -f conftest.$ac_ext rm -f conftest.$ac_ext
CC=$ac_save_CC CC=$ac_save_CC
fi fi
# AC_CACHE_VAL
ac_prog_cc_stdc_options= if test "x$ac_cv_prog_cc_c99" = xno
case "x$ac_cv_prog_cc_c99" in #(
x) :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
printf "%s\n" "none needed" >&6; } ;; #(
xno) :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
printf "%s\n" "unsupported" >&6; } ;; #(
*) :
ac_prog_cc_stdc_options=" $ac_cv_prog_cc_c99"
CC="$CC$ac_prog_cc_stdc_options"
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
printf "%s\n" "$ac_cv_prog_cc_c99" >&6; } ;;
esac
if test "x$ac_cv_prog_cc_c99" != xno
then : then :
ac_prog_cc_stdc=c99 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 printf "%s\n" "unsupported" >&6; }
else $as_nop else $as_nop
if test "x$ac_cv_prog_cc_c99" = x
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
printf "%s\n" "none needed" >&6; }
else $as_nop
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
CC="$CC $ac_cv_prog_cc_c99"
fi
ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
ac_prog_cc_stdc=c99
fi
fi
if test x$ac_prog_cc_stdc = xno
then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
printf %s "checking for $CC option to enable C89 features... " >&6; } printf %s "checking for $CC option to enable C89 features... " >&6; }
if test ${ac_cv_prog_cc_c89+y} if test ${ac_cv_prog_cc_c89+y}
@@ -4091,8 +4090,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
$ac_c_conftest_c89_program $ac_c_conftest_c89_program
_ACEOF _ACEOF
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
do do
CC="$ac_save_CC $ac_arg" CC="$ac_save_CC $ac_arg"
if ac_fn_c_try_compile "$LINENO" if ac_fn_c_try_compile "$LINENO"
@@ -4104,34 +4102,25 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam
done done
rm -f conftest.$ac_ext rm -f conftest.$ac_ext
CC=$ac_save_CC CC=$ac_save_CC
fi fi
# AC_CACHE_VAL
ac_prog_cc_stdc_options= if test "x$ac_cv_prog_cc_c89" = xno
case "x$ac_cv_prog_cc_c89" in #(
x) :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
printf "%s\n" "none needed" >&6; } ;; #(
xno) :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
printf "%s\n" "unsupported" >&6; } ;; #(
*) :
ac_prog_cc_stdc_options=" $ac_cv_prog_cc_c89"
CC="$CC$ac_prog_cc_stdc_options"
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
printf "%s\n" "$ac_cv_prog_cc_c89" >&6; } ;;
esac
if test "x$ac_cv_prog_cc_c89" != xno
then : then :
ac_prog_cc_stdc=c89 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 printf "%s\n" "unsupported" >&6; }
else $as_nop else $as_nop
ac_prog_cc_stdc=no if test "x$ac_cv_prog_cc_c89" = x
ac_cv_prog_cc_stdc=no then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
printf "%s\n" "none needed" >&6; }
else $as_nop
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
CC="$CC $ac_cv_prog_cc_c89"
fi fi
ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
ac_prog_cc_stdc=c89
fi fi
fi fi
ac_ext=c ac_ext=c
@@ -12600,8 +12589,6 @@ else $as_nop
as_fn_error $? "\"libg15daemon_client (or its devel package) not found. please install it\"" "$LINENO" 5 as_fn_error $? "\"libg15daemon_client (or its devel package) not found. please install it\"" "$LINENO" 5
fi fi
# Autoupdate added the next two lines to ensure that your configure
# script's behavior did not change. They are probably safe to remove.
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
printf %s "checking for egrep... " >&6; } printf %s "checking for egrep... " >&6; }
@@ -13510,8 +13497,8 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their # report actual input values of CONFIG_FILES etc. instead of their
# values after options handling. # values after options handling.
ac_log=" ac_log="
This file was extended by g15stats $as_me 1.9.8, which was This file was extended by g15stats $as_me 3.0, which was
generated by GNU Autoconf 2.70. Invocation command line was generated by GNU Autoconf 2.71. Invocation command line was
CONFIG_FILES = $CONFIG_FILES CONFIG_FILES = $CONFIG_FILES
CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_HEADERS = $CONFIG_HEADERS
@@ -13570,7 +13557,7 @@ $config_headers
Configuration commands: Configuration commands:
$config_commands $config_commands
Report bugs to <menelkir@itroll.org>." Report bugs to <dmenelkir@gmail.com>."
_ACEOF _ACEOF
ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"` ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
@@ -13578,11 +13565,11 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config='$ac_cs_config_escaped' ac_cs_config='$ac_cs_config_escaped'
ac_cs_version="\\ ac_cs_version="\\
g15stats config.status 1.9.8 g15stats config.status 3.0
configured by $0, generated by GNU Autoconf 2.70, configured by $0, generated by GNU Autoconf 2.71,
with options \\"\$ac_cs_config\\" with options \\"\$ac_cs_config\\"
Copyright (C) 2020 Free Software Foundation, Inc. Copyright (C) 2021 Free Software Foundation, Inc.
This config.status script is free software; the Free Software Foundation This config.status script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it." gives unlimited permission to copy, distribute and modify it."
+11 -8
View File
@@ -1,28 +1,31 @@
AC_INIT(g15stats,[1.9.8], [menelkir@itroll.org]) AC_INIT([g15stats],[3.0],[dmenelkir@gmail.com])
PACKAGE=g15stats PACKAGE=g15stats
VERSION=1.9.8 VERSION=3.0.1
AC_PREFIX_DEFAULT(/usr) AC_PREFIX_DEFAULT(/usr)
AC_CONFIG_AUX_DIR(config) AC_CONFIG_AUX_DIR(config)
AM_INIT_AUTOMAKE($PACKAGE, $VERSION) AM_INIT_AUTOMAKE($PACKAGE, $VERSION)
AC_CONFIG_HEADER([config.h]) AC_CONFIG_HEADERS([config.h])
AC_PROG_CC AC_PROG_CC
AC_PROG_LIBTOOL LT_INIT
AC_PROG_RANLIB AC_PROG_RANLIB
AC_CHECK_LIB([g15daemon_client], [g15daemon_version],,AC_MSG_ERROR(["libg15daemon_client (or its devel package) not found. please install it"])) AC_CHECK_LIB([g15daemon_client], [g15daemon_version],,AC_MSG_ERROR(["libg15daemon_client (or its devel package) not found. please install it"]))
AC_HEADER_STDC AC_CHECK_INCLUDES_DEFAULT
AC_PROG_EGREP
AC_HEADER_SYS_WAIT AC_HEADER_SYS_WAIT
AC_CHECK_HEADERS(g15daemon_client.h,,AC_MSG_ERROR(["libg15daemon_client (or its devel package) could not be found. please install it"])) AC_CHECK_HEADERS(g15daemon_client.h,,AC_MSG_ERROR(["libg15daemon_client (or its devel package) could not be found. please install it"]))
AC_CHECK_HEADERS(libg15render.h,,AC_MSG_ERROR(["libg15render (or its devel package) could not be found. please install it"])) AC_CHECK_HEADERS(libg15render.h,,AC_MSG_ERROR(["libg15render (or its devel package) could not be found. please install it"]))
PKG_CHECK_MODULES(GTOP,libgtop-2.0,,) PKG_CHECK_MODULES(GTOP,libgtop-2.0,,)
AC_ARG_WITH(gtop-includes,AC_HELP_STRING([--with-gtop-includes],[Path to libgtop includes (Autodetect)]),GTOP_CFLAGS="-I$withval",) AC_ARG_WITH(gtop-includes,AS_HELP_STRING([--with-gtop-includes],[Path to libgtop includes (Autodetect)]),GTOP_CFLAGS="-I$withval",)
AC_ARG_WITH(gtop-libs,AC_HELP_STRING([--with-gtop-libs],[Path to libgtop libraries (Autodetect)]),GTOP_LIBS="-L$withval -lgtop-2.0 -lglib-2.0",) AC_ARG_WITH(gtop-libs,AS_HELP_STRING([--with-gtop-libs],[Path to libgtop libraries (Autodetect)]),GTOP_LIBS="-L$withval -lgtop-2.0 -lglib-2.0",)
CPPFLAGS="$CPPFLAGS $GTOP_CFLAGS" CPPFLAGS="$CPPFLAGS $GTOP_CFLAGS"
CFLAGS="$CPPFLAGS $GTOP_CFLAGS" CFLAGS="$CPPFLAGS $GTOP_CFLAGS"
LDFLAGS="$LDFLAGS $GTOP_LIBS" LDFLAGS="$LDFLAGS $GTOP_LIBS"
AC_OUTPUT(Makefile) AC_CONFIG_FILES([Makefile])
AC_OUTPUT
+14
View File
@@ -0,0 +1,14 @@
[main]
@type = classic, oneshot
@name = g15stats
@description = "g15stats"
@depends = ()
@options = ( log env )
[start]
@build = auto,custom
@execute = ( g15stats -d )
[stop]
@build = auto,custom
@execute = ( g15stats -k )
Regular → Executable
+3 -3
View File
@@ -5,9 +5,9 @@
IFACE="eth0" IFACE="eth0"
# Please see g15stats --help for meanings # Please see g15stats --help for meanings
#TEMP_INPUT=1 TEMP_INPUT=1
#GLOBAL_TEMP_INPUT=1 GLOBAL_TEMP_INPUT=1
#FAN_INPUT=1 FAN_INPUT=1
# please see g15stats --help for all options # please see g15stats --help for all options
# As of 1.9.7, the options where: # As of 1.9.7, the options where:
+26
View File
@@ -0,0 +1,26 @@
#!/bin/sh
# $FreeBSD$
#
# PROVIDE: g15stats
# REQUIRE: LOGIN g15daemon
# KEYWORD: shutdown
#
# Add these lines to /etc/rc.conf.local or /etc/rc.conf
# to enable this service:
#
# g15stats_enable (bool): Set to NO by default.
# Set it to YES to enable doormand.
. /etc/rc.subr
name=g15stats
rcvar="${name}_enable"
load_rc_config $name
: ${g15stats_enable:="NO"}
command=%%PREFIX%%/bin/${name}
command_args='-d -i re0'
run_rc_command "$1"
-1
View File
@@ -6,7 +6,6 @@ PIDFILE=/var/run/${SVCNAME}.pid
depend() { depend() {
need g15daemon need g15daemon
after xdm
} }
start() { start() {
-2
View File
@@ -1,4 +1,2 @@
#!/bin/sh #!/bin/sh
exec 2>&1
sv check g15daemon >/dev/null || exit 1
exec g15stats exec g15stats
Regular → Executable
+1 -1
View File
@@ -9,4 +9,4 @@ Restart=on-failure
RestartSec=5 RestartSec=5
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
+25
View File
@@ -0,0 +1,25 @@
#!/bin/sh
. /etc/rc.subr
case $1 in
start)
msg "Starting g15stats..."
start_daemon /usr/bin/g15stats -d
;;
stop)
msg "Stopping g15stats..."
stop_daemon /usr/bin/g15stats
;;
restart)
$0 stop
sleep 1
$0 start
;;
status)
status_daemon /usr/bin/g15stats
;;
*)
echo "usage: $0 [start|stop|restart|status]"
;;
esac
+15
View File
@@ -0,0 +1,15 @@
pkgbase = g15stats-openrc
pkgdesc = g15stats init script for OpenRC
pkgver = 20211101
pkgrel = 1
url = https://gitlab.com/menelkir/g15stats
arch = any
license = GPL2
depends = g15stats
depends = g15daemon-openrc
source = https://gitlab.com/menelkir/g15stats/-/raw/master/contrib/init/g15stats.initd
source = https://gitlab.com/menelkir/g15stats/-/raw/master/contrib/init/g15stats.confd
sha256sums = 136da674e6e7c993dd388e09b245dc43d25fefebb1e379092585cbf87bf55676
sha256sums = ca6520f9752ec526e284d4359aea57399949e0ea5e98ee5904524d186d898f01
pkgname = g15stats-openrc
+22
View File
@@ -0,0 +1,22 @@
# Maintainer: Daniel Menelkir <dmenelkir at gmail dot com>
pkgname=g15stats-openrc
pkgver=20211101
pkgrel=1
pkgdesc="g15stats init script for OpenRC"
arch=('any')
url="https://gitlab.com/menelkir/g15stats"
license=('GPL2')
depends=('g15stats' 'g15daemon-openrc')
_filename=('g15stats.initd' 'g15stats.confd')
source=("https://gitlab.com/menelkir/g15stats/-/raw/master/contrib/init/g15stats.initd"
"https://gitlab.com/menelkir/g15stats/-/raw/master/contrib/init/g15stats.confd")
sha256sums=('136da674e6e7c993dd388e09b245dc43d25fefebb1e379092585cbf87bf55676'
'ca6520f9752ec526e284d4359aea57399949e0ea5e98ee5904524d186d898f01')
package() {
install -dm755 "$pkgdir/etc/init.d"
install -dm755 "$pkgdir/etc/conf.d"
install -Dm755 "$srcdir/g15stats.initd" "$pkgdir/etc/init.d/g15stats"
install -Dm644 "$srcdir/g15stats.confd" "$pkgdir/etc/conf.d/g15stats"
}
+13
View File
@@ -0,0 +1,13 @@
pkgbase = g15stats-systemd
pkgdesc = g15stats init script for systemd
pkgver = 20211101
pkgrel = 1
url = https://gitlab.com/menelkir/g15stats
arch = any
license = GPL2
depends = g15stats
depends = g15daemon-systemd
source = https://gitlab.com/menelkir/g15stats/-/raw/master/contrib/init/g15stats.service
sha256sums = 2723465ba726a4675d442fdb3068353def37bc70ce84cdab6c65f1c450c1dc4a
pkgname = g15stats-systemd
+17
View File
@@ -0,0 +1,17 @@
# Maintainer: Daniel Menelkir <dmenelkir at gmail dot com>
pkgname=g15stats-systemd
pkgver=20211101
pkgrel=1
pkgdesc="g15stats init script for systemd"
arch=('any')
url="https://gitlab.com/menelkir/g15stats"
license=('GPL2')
depends=('g15stats' 'g15daemon-systemd')
_filename='g15stats.run'
source=("https://gitlab.com/menelkir/g15stats/-/raw/master/contrib/init/g15stats.service")
sha256sums=('2723465ba726a4675d442fdb3068353def37bc70ce84cdab6c65f1c450c1dc4a')
package() {
install -D -m 644 "g15stats.service" "${pkgdir}/usr/lib/systemd/system/g15stats.service"
}
+17
View File
@@ -0,0 +1,17 @@
pkgbase = g15stats
pkgdesc = A CPU/Mem/Swap/Network monitoring client for G15Daemon.
pkgver = 3.0.3
pkgrel = 2
url = https://gitlab.com/menelkir/g15stats
arch = i686
arch = x86_64
license = GPL
depends = g15daemon
depends = libgtop
depends = libg15
depends = libg15render
source = https://gitlab.com/menelkir/g15stats/-/archive/3.0.3/g15stats-3.0.3.tar.bz2
sha512sums = 6034fec8f2188182c6fd7587ec5f5ef8d06b617875573382385edc12f1aefb3b9bf52b437eafb7c9412676c5ceae42ae8c9c2099270908aea2b949d01df79047
pkgname = g15stats
+32
View File
@@ -0,0 +1,32 @@
# Maintainer: Daniel Menelkir <dmenelkir at gmail dot com>
# Contributor: Mathieu OTHACEHE <m.othacehe@gmail.com>
# Contributor: Brenton <brenton@taylorbyte.com>
pkgname=g15stats
pkgver=3.0.3
pkgrel=2
pkgdesc="A CPU/Mem/Swap/Network monitoring client for G15Daemon."
arch=('i686' 'x86_64')
url="https://gitlab.com/menelkir/g15stats"
license=('GPL')
depends=('g15daemon' 'libgtop' 'libg15' 'libg15render')
source=(https://gitlab.com/menelkir/$pkgname/-/archive/$pkgver/$pkgname-$pkgver.tar.bz2)
sha512sums=('6034fec8f2188182c6fd7587ec5f5ef8d06b617875573382385edc12f1aefb3b9bf52b437eafb7c9412676c5ceae42ae8c9c2099270908aea2b949d01df79047')
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var
make
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
echo ""
echo "This package doesn't come with an init, you should install one:"
echo "g15stats-runit"
echo "g15stats-openrc"
echo "g15stats-systemd"
}
+33
View File
@@ -0,0 +1,33 @@
PORTNAME= g15stats
PORTVERSION= 3.0.3
CATEGORIES= sysutils
MASTER_SITES= https://gitlab.com/menelkir/${PORTNAME}/-/archive/${PORTVERSION}/
MAINTAINER= dmenelkir@gmail.com
COMMENT= Resource monitor for G15daemon
LICENSE= GPLv2
LIB_DEPENDS+= libg15.so:sysutils/libg15 \
libg15render.so:sysutils/libg15render \
libgtop-2.0.so:devel/libgtop \
libg15daemon_client.so:sysutils/g15daemon
USES= gmake localbase libtool gnome pkgconfig
USE_LDCONFIG= yes
USE_GNOME+= glib20
GNU_CONFIGURE= yes
CFLAGS+= -std=c99 -fcommon
USE_RC_SUBR= g15stats
INSTALL_TARGET= install-strip
PLIST_FILES= bin/g15stats \
etc/rc.d/g15stats
.include <bsd.port.mk>
+3
View File
@@ -0,0 +1,3 @@
TIMESTAMP = 1621364357
SHA256 (g15stats-3.0.3.tar.gz) = 000ad7852fcf5b2d9524ea4fb0799654341b4ea23e076848e3b96dcb7d41d250
SIZE (g15stats-3.0.3.tar.gz) = 363805
+26
View File
@@ -0,0 +1,26 @@
#!/bin/sh
# $FreeBSD$
#
# PROVIDE: g15stats
# REQUIRE: LOGIN g15daemon
# KEYWORD: shutdown
#
# Add these lines to /etc/rc.conf.local or /etc/rc.conf
# to enable this service:
#
# g15stats_enable (bool): Set to NO by default.
# Set it to YES to enable doormand.
. /etc/rc.subr
name=g15stats
rcvar="${name}_enable"
load_rc_config $name
: ${g15stats_enable:="NO"}
command=%%PREFIX%%/bin/${name}
command_args='-d -i re0'
run_rc_command "$1"
+3
View File
@@ -0,0 +1,3 @@
Resource Monitor for G15Daemon.
WWW: https://gitlab.com/menelkir/g15stats
+1
View File
@@ -0,0 +1 @@
DIST g15stats-3.0.2.tar.bz2 295556 BLAKE2B d2e96e9d715f7dde5ec6227f5fe6d6d110bfd80d33a831ec1dffda754c4c606fce1134502cb44de691303e2f4f0d7960f806ef37c82002de896a12c90dc0b3b0 SHA512 d0b0aaca5cb551a77ce09e63bf903764cafc060636d0d19baae245e9b397926f15d776aa08076dc71aafaf2c5aa064fea77f589d10fec908c8543217ff3a3d69
+46
View File
@@ -0,0 +1,46 @@
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools
DESCRIPTION="CPU, memory, swap, network stats for G15 Keyboard"
HOMEPAGE="https://gitlab.com/menelkir/${PN}"
SRC_URI="https://gitlab.com/menelkir/${PN}/-/archive/${PV}/${PN}-${PV}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
IUSE=""
RDEPEND="app-misc/g15daemon
dev-libs/libg15
dev-libs/libg15render
sys-libs/zlib
gnome-base/libgtop"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
src_prepare() {
default
}
src_configure() {
export CPPFLAGS="${CFLAGS}"
econf
}
src_install() {
default
rm "${D}"/usr/share/doc/${PF}/{COPYING,NEWS} || die
newconfd "${S}/contrib/init/${PN}.confd" ${PN}
newinitd "${S}/contrib/init/${PN}.initd" ${PN}
}
pkg_postinst() {
elog "Remember to set the interface you want monitored in"
elog "/etc/conf.d/g15stats"
}
+48
View File
@@ -0,0 +1,48 @@
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools git-r3
DESCRIPTION="CPU, memory, swap, network stats for G15 Keyboard"
HOMEPAGE="https://gitlab.com/menelkir/${PN}"
EGIT_REPO_URI="https://gitlab.com/menelkir/${PN}.git"
LICENSE="GPL-2"
SLOT="0"
IUSE=""
KEYWORDS=""
RDEPEND="app-misc/g15daemon
dev-libs/libg15
dev-libs/libg15render
sys-libs/zlib
gnome-base/libgtop"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
src_prepare() {
default
mv configure.{in,ac} || die
eautoreconf
}
src_configure() {
export CPPFLAGS="${CFLAGS}"
econf
}
src_install() {
default
rm "${D}"/usr/share/doc/${PF}/{COPYING,NEWS} || die
newconfd "${S}/contrib/init/${PN}.confd" ${PN}
newinitd "${S}/contrib/init/${PN}.initd" ${PN}
}
pkg_postinst() {
elog "Remember to set the interface you want monitored in"
elog "/etc/conf.d/g15stats"
}
+14
View File
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>robbat2@gentoo.org</email>
</maintainer>
<maintainer type="person">
<email>polynomial-c@gentoo.org</email>
<name>Lars Wendler</name>
</maintainer>
<upstream>
<remote-id type="sourceforge">g15daemon</remote-id>
</upstream>
</pkgmetadata>
+4
View File
@@ -0,0 +1,4 @@
#!/bin/sh
exec 2>&1
sv check g15daemon >/dev/null || exit 1
exec g15stats
+18
View File
@@ -0,0 +1,18 @@
# Template file for 'g15stats'
pkgname=g15stats
version=3.0.3
revision=1
build_style=gnu-configure
CFLAGS=" -fcommon" # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
makedepends="libgtop-devel g15daemon pkg-config"
depends="libgtop g15daemon"
short_desc="An usage monitor for G15daemon"
maintainer="Daniel Menelkir <dmenelkir@gmail.com>"
license="GPL-2.0-or-later"
homepage="https://gitlab.com/menelkir/g15stats"
distfiles="${homepage}/-/archive/${version}/g15stats-${version}.tar.bz2"
checksum=f5bb77d4b8a1030d07efc22919446c4abf876ca3086ff7c50cfcae9d67b64647
post_install() {
vsv g15stats
}