Port details |
- battray Display notebook battery status in tray
- 2.3_3 sysutils
=4 2.3_2Version of this port present on the latest quarterly branch. - There is no maintainer for this port.
- Any concerns regarding this port should be directed to the FreeBSD Ports mailing list via ports@FreeBSD.org
 - Port Added: 2011-08-30 17:27:53
- Last Update: 2025-03-08 04:05:21
- Commit Hash: 06a08e6
- People watching this port, also watch:: nginx, qemu, codespell, xgalaga, libmicrohttpd
- Also Listed In: python
- License: MIT
- WWW:
- https://github.com/arp242/battray
- Description:
- Battray is a python program that displays a tray icon to inform you of the
battery status of your notebook.
It is also able to take certain actions depending on battery status.
It's simple, easy, fairly environment-independent, and "just works" without
tons of (Gnome|KDE|..) dependencies.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- battray>0:sysutils/battray
- To install the port:
- cd /usr/ports/sysutils/battray/ && make install clean
- To add the package, run one of these commands:
- pkg install sysutils/battray
- pkg install battray
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: battray
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1511432618
SHA256 (arp242-battray-version-2.3_GH0.tar.gz) = ec0517d389d74ceb6471390051079e80ae53fa287090b9f90813575b593ba56d
SIZE (arp242-battray-version-2.3_GH0.tar.gz) = 68972
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py311-pygobject>=0 : devel/py-pygobject@py311
- py311-setuptools>=63.1.0 : devel/py-setuptools@py311
- python3.11 : lang/python311
- Test dependencies:
-
- python3.11 : lang/python311
- Runtime dependencies:
-
- py311-pygobject>=0 : devel/py-pygobject@py311
- python3.11 : lang/python311
- Library dependencies:
-
- libglib-2.0.so : devel/glib20
- libintl.so : devel/gettext-runtime
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- sysutils_battray
- USES:
- gnome python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
2.3_3 08 Mar 2025 04:05:21
    |
Charlie Li (vishwin)  |
python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal
Any missed ports, feel free to bump.
Any ports that need setuptools at runtime can have the devel/py-setuptools
manually added back to RUN_DEPENDS, but understand that this practice
is deprecated; see CHANGES for details. |
2.3_2 22 Nov 2024 22:31:54
    |
Charlie Li (vishwin)  |
devel/py-pygobject: bump consumer PORTREVISIONs after port rename
With hat: gnome
PR: 273722 |
2.3_1 27 Jun 2023 19:34:34
    |
Rene Ladan (rene)  |
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568> |
07 Sep 2022 21:58:51
    |
Stefan Eßer (se)  |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
2.3_1 07 Sep 2022 21:10:59
    |
Stefan Eßer (se)  |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
2.3_1 20 Jul 2022 14:23:05
    |
Tobias C. Berner (tcberner)  |
sysutils: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* <jsmith@resonatingmedia.com>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Landwehr <aaron@snaphat.com>
* Adam Weinberger <adamw@FreeBSD.org>
* Adrian Chadd
* Adrian Chadd <adrian@FreeBSD.org>
* Akinori MUSHA aka knu <knu@idaemons.org>
* Alan Eldridge <alane@FreeBSD.org>
* Alan Eldridge <alane@geeksrus.net>
* Aldis Berjoza <aldis@bsdroot.lv>
* Alex Deiter <alex.deiter@gmail.com> (Only the first 15 lines of the commit message are shown above ) |
2.3_1 06 Apr 2021 14:31:07
    |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
2.3_1 08 Nov 2019 13:11:05
  |
tobik  |
sysutils: Add missing USES={gnome,mate,php} |
2.3_1 17 Aug 2019 09:02:38
  |
amdmi3  |
- Pet portlint
- Add LICENSE_FILE
- Update WWW and chase moved GitHub account (old account explicitly points to
the new one)
- Checksum unchanged |
2.3_1 17 May 2018 09:56:55
  |
tz  |
Drop MAINTAINERship for these ports:
- databases/postgresql-plproxy
- devel/fpp
- devel/gnu-efi
- games/nlarn
- games/wesnoth
- mail/phpmailer
- mail/tlb
- ports-mgmt/pkg-plist
- sysutils/battray
- textproc/xml-parse.el |
2.3_1 03 Jan 2018 13:22:32
  |
mat  |
Cleanup Mk/Uses/gnome.mk.
- Remove the use of comp_DETECT.
- Remove all comp_DETECT variables.
- Remove a use of comp_DETECT outside of gnome.mk
- Remove py3gobject3.
- Have ports depending directly on devel/py-gobject3 use gnome to do it.
PR: 224618
Submitted by: mat
Exp-run by: antoine
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D13550 |
2.3_1 30 Nov 2017 15:50:34
  |
mat  |
Convert Python ports to FLAVORS.
Ports using USE_PYTHON=distutils are now flavored. They will
automatically get flavors (py27, py34, py35, py36) depending on what
versions they support.
There is also a USE_PYTHON=flavors for ports that do not use distutils
but need FLAVORS to be set. A USE_PYTHON=noflavors can be set if
using distutils but flavors are not wanted.
A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
added to cope with Python ports that did not have the Python
PKGNAMEPREFIX but are flavored.
USES=python now also exports a PY_FLAVOR variable that contains the (Only the first 15 lines of the commit message are shown above ) |
2.3_1 23 Nov 2017 10:35:16
  |
tz  |
sysutils/battray: Fix distinfo after switch to DISTVERSIONPREFIX
Switch resulted in change of name in distinfo |
2.3_1 22 Nov 2017 14:50:22
  |
tz  |
sysutils/battray: Replace GH_TAGNAME with DISTVERSIONPREFIX
Reported by: mat |
2.3_1 21 Nov 2017 11:05:14
  |
tz  |
sysutils/battray: Update to 2.3
The last update was a no-op. Pointy hat to myself.
Switch to GitHub and mitigate the need of a manual commit-adjustment
for an update.
PR: 223624
Reported by: mat, bsd@mkfs.nl
Reviewed by: bsd@mkfs.nl
MFH: 2017Q4 |
2.3 09 Nov 2017 14:01:32
  |
tz  |
sysutils/battray: Update from 2.1 to 2.3
Fixes this Python 3 issue on FreeBSD 11.1:
battray error: a bytes-like object is required, not 'str'
File "/usr/local/lib/python3.6/site-packages/battray/__init__.py", line 135,
in update_status
self.data['lifetime']) = self.platform()
File "/usr/local/lib/python3.6/site-packages/battray/platforms.py", line 38,
in freebsd
for line in o.split('\n'):
PR: 222980
Reported by: bsd@mkfs.nl
MFH: 2017Q4 |
2.1 10 Jun 2016 09:08:02
  |
tz  |
Change MAINTAINER from ports@toco-domains.de to tz@FreeBSD.org
Approved by: junovitch (mentor) |
2.1 19 May 2016 10:53:06
  |
amdmi3  |
- Fix trailing whitespace in pkg-descrs, categories [p-x]*
Approved by: portmgr blanket |
2.1 02 Feb 2016 20:01:44
  |
rm  |
Bump minimal python3 version to 3.3 in USES
Because we are going to remove python 3.2 from the ports tree
With hat: python |
2.1 22 Dec 2015 02:00:48
  |
miwi  |
- Update to 2.1
- Switch to autoplist
- Pass maintainership to submitter
PR: 204523
Submitted by: Torsten Zuehlsdorff
Approved by: mat (mentor), maintainer timeout
Differential Revision: D4654 |
1.5 14 May 2015 10:15:09
  |
mat  |
MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.
While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.
Also, replace some EXTRACT_SUFX occurences with USES=tar:*.
Checked by: make fetch-urlall-list
With hat: portmgr
Sponsored by: Absolight |
1.5 11 Dec 2014 00:40:17
  |
feld  |
Update "BSD" license in sysutils category |
1.5 22 Nov 2014 09:13:36
  |
antoine  |
Cleanup plist |
1.5 24 Oct 2014 16:56:10
  |
mva  |
- Convert ports of sysutils/ to new USES=python
Approved by: portmgr (implicit) |
1.5 26 Jun 2014 15:35:24
  |
vanilla  |
Stagify.
Approved by: portmgr@ (blanket approval) |
1.5 20 Sep 2013 23:06:00
  |
bapt  |
Add NO_STAGE all over the place in preparation for the staging support (cat:
sysutils) |
1.5 12 Jul 2012 13:05:40
 |
culot  |
- Update to 1.5
PR: ports/169793
Submitted by: Martin Tournoij <martin@arp242.net> (maintainer) |
1.4_1 01 Jun 2012 05:26:28
 |
dinoex  |
- update png to 1.5.10 |
1.4 28 Sep 2011 19:25:51
 |
pawel  |
Update to version 1.4
PR: ports/161024
Submitted by: Martin Tournoij <martin@arp242.net> (maintainer)
Approved by: miwi, wen (mentors implicit) |
1.3 30 Aug 2011 17:27:36
 |
eadler  |
Battray is a python program that displays a tray icon to inform you of the
battery status of your notebook.
It is also able to take certain actions depending on battery status.
It's simple, easy, fairly environment-independent, and "just works" without
tons of (Gnome|KDE|..) dependencies.
WWW: http://code.google.com/p/battray/
PR: ports/159152
Submitted by: Martin Tournoij <carpetsmoker@daemonforums.org>
Approved by: bapt (mentor) |