Commit graph

40 commits

Author SHA1 Message Date
pooka
47f1024dc0 Make charging detection use discharge rate instead of charge rate,
since a fully charged battery would sometimes drop the charge rate
to 0.  This happens at least on the submitter's and my laptops.

patch from ymous anonimo
2008-01-04 01:43:58 +00:00
jnemeth
16b2474bb0 PR/37442 - Jared D. McNeill -- xbattbar does not work on machines that have APM 2007-11-28 22:33:17 +00:00
xtraeme
fa43e6186a Look for the indicator "charging" to know when the AC Adapter is plugged
in/off, so that it works fine with -current where the 'discharging'
sensor was removed.

Found by pooka@... bump PKGREVISION.
2007-07-25 15:09:32 +00:00
abs
ebfbbff66c Add libX11 & libXext buildlinks 2007-01-22 23:42:38 +00:00
jlam
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
rillig
5946936ffc Replaced "# defined" with "yes" in Makefile variables like GNU_CONFIGURE,
NO_BUILD, USE_LIBTOOL.
2005-09-28 20:52:18 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
d81d19f8e0 Add RMD160 digests. 2005-02-24 12:51:41 +00:00
lukem
64c295b064 some manual page improvements 2004-04-20 10:31:13 +00:00
snj
fa0207e43e Convert to buildlink3 and remove superfluous USE_X11BASE. 2004-04-18 23:05:58 +00:00
agc
3ad1bdbf06 Move WRKSRC definition away from the first paragraph in a Makefile. 2004-01-20 12:18:15 +00:00
mrg
02d38aa6ec rework the previous to not try to use _PATH_SYSMON if it isn't defined.
fixes PR#23355 finally.
2003-11-10 23:53:32 +00:00
mrg
aa67f26554 bump PKGREVISION as requested by agc@. 2003-11-05 07:31:57 +00:00
mrg
a0b2e7b826 revert part of the previous set of changes: acpiacad is broken on some
machines so we can't use that to detect ac-power.  for now, revert to what
we were doing before.

XXX perhaps acpiacad should be used if it exists, and if it doesn't fall
XXX back to using "acpibat.*discharging".  then people with broken acpiacad
XXX can simply not include that driver in their kernel, but worry about
XXX that again after pkgsrc freeze.

also, check __NetBSD_Version__ to see when various envsys(4) API changes
occured, and avoid using new methods on old systems. this should fix PR#23355.
2003-11-05 07:26:04 +00:00
mycroft
21129e534b More ACPI-related changes:
* Recognize "charge" in addition to "energy".
* Test ENVSYS_FCURVALID.
2003-11-01 09:25:31 +00:00
mrg
89a0711390 make xbattbar work in the presense of multiple acpibat's. also, note
that we're not on AC power via the acpiacad's 'disconnected' entry, not
one of the battery's "discharging" entries, as the latter may be true
even while on AC power.
2003-11-01 04:03:18 +00:00
agc
ab4f8839a0 Update xbattbar to 1.4.2nb3 by adding support for ACPI - if APM
doesn't work, try to use ACPI to get the battery charge value, and AC
charging switch.

Known to work on my Sony VAIO (PCG-GRX315MP) with ACPI, and with thanks to:
	Lubomir Sedlacik for testing on an IBM T22 with ACPI
	Manuel Bouyer for testing on an IBM Thinkpad 600e with APM, and
	Brian A. Seklecki for testing on a Sony PCG-R505
2003-10-19 09:25:02 +00:00
grant
ca3be631f2 s/netbsd.org/NetBSD.org/ 2003-07-17 22:50:55 +00:00
seb
dc1c64f2a7 Update MASTER_SITES and HOMEPAGE. 2003-06-18 22:41:38 +00:00
jschauma
e366d0c694 Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.
2003-06-02 01:15:31 +00:00
jschauma
5be4aecf95 Use new IMAKE_MAN_PATH variables in PLISTs to make these packages more
portable.  Bump PKGREVISION accordingly.
2003-03-03 02:59:29 +00:00
cjep
a3defbee44 Actually PKG_SKIP_REASON would be better -- suggested by wiz 2003-01-11 15:21:48 +00:00
cjep
49822a4c21 Use PKG_FAIL_REASON 2003-01-11 14:21:16 +00:00
jlam
a020ed9056 Merge packages from the buildlink2 branch back into the main trunk that
have been converted to USE_BUILDLINK2.
2002-08-25 21:50:52 +00:00
wiz
5432a22787 Correct DISTNAME and WRKSRC. Fixes bulk build problem. 2001-12-19 20:21:30 +00:00
hubertf
5542206cba Get rid of manually adding "nbX" to PKGNAME when a pkg was changed in
pkgsrc. Instead, a new variable PKGREVISION is invented that can get
bumped independent of DISTNAME and PKGNAME.

Example #1:
        DISTNAME=       foo-X.Y
        PKGREVISION=    Z
     => PKGNAME=        foo-X.YnbZ

Example #2:
        DISTNAME=       barthing-X.Y
        PKGNAME=        bar-X.Y
        PKGREVISION=    Z
     => PKGNAME=        bar=X.YnbZ (!)

On subsequent changes, only PKGREVISION needs to be bumped, no more risk
of getting DISTNAME changed accidentally.
2001-11-29 01:12:24 +00:00
wiz
4353c85a3c Add 'new' NetBSD-apm support, based on patch from Love in pkg/14554.
Bump version to 1.4.2nb1.
2001-11-26 20:07:34 +00:00
zuntum
d038a73ebd Move pkg/ files into package's toplevel directory 2001-10-31 22:52:58 +00:00
jlam
73d2f0ca37 Packages that USE_IMAKE shouldn't set USE_BUILDLINK_ONLY, as they don't
satisfy the condition of being "strongly-buildlinked" (see
http://mail-index.netbsd.org/tech-pkg/2001/08/20/0005.html for the
definition).  This is in response to the recent change to bsd.pkg.mk to
not use buildlink-x11.
2001-08-22 17:38:56 +00:00
jlam
1c5eb0c40b Mark as USE_BUILDLINK_ONLY. 2001-07-14 02:41:43 +00:00
jlam
2daf4c6d99 Update xbattbar to 1.4.2. Changes included adding time remaining display. 2001-06-18 10:57:03 +00:00
agc
027c166bf7 Move to sha1 digests, and add distfile sizes. 2001-04-19 11:28:57 +00:00
agc
2d6b6a009c + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 11:43:32 +00:00
wiz
a87738b456 Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-17 17:42:09 +00:00
jlam
9f86496eea Update xbattbar to 1.4.1. No list of changes from version 1.4. Improve
description somewhat to explain why xbattbar is cooler than the other
X11 battery status indicators.
2001-01-26 01:28:26 +00:00
dmcmahill
301bf607b1 add check for apm capability (like in xbatt) 2000-12-29 16:30:05 +00:00
itojun
05aa513508 add sysutils to CATEGORIES 2000-12-14 22:21:58 +00:00
itojun
68cd3a904b xbattbar, X11 battery graph 2000-12-14 22:20:25 +00:00