Bug 265485 - audio/headsetcontrol: show pkg-message on install only
Summary: audio/headsetcontrol: show pkg-message on install only
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Fernando Apesteguía
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-28 18:35 UTC by Graham Perrin
Modified: 2022-08-17 16:16 UTC (History)
2 users (show)

See Also:
Alexander88207: maintainer-feedback+


Attachments
[PATCH] audio/headsetcontrol: Show pkg-message only on install (656 bytes, patch)
2022-07-28 18:52 UTC, Alexander Vereeken
Alexander88207: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Graham Perrin freebsd_committer freebsd_triage 2022-07-28 18:35:15 UTC
A minor issue, the help text is: 

* relatively useful when adding/installing the package

* overkill when simply upgrading (what's below is not upgrade-specific, 
  as far as I can tell). 

Thanks


----

root@mowa219-gjp4-8570p-freebsd:~ # pkg -r /tmp/up upgrade
…
[25/25] Extracting grafana8-8.5.9: 100%
=====
Message from headsetcontrol-2.6.1:

--
Type headsetcontrol -h to get all available options.

Type headsetcontrol -? to get a list of supported capabilities for the currently detected headset.

headsetcontrol -s 128 sets the sidetone to 128 (REAL loud). You can silence it with 0. I recommend a loudness of 16.

The following options don't work on all devices yet:

headsetcontrol -b check battery level. Returns a value from 0 to 100 or loading.

headsetcontrol -n 0|1 sends a notification sound, made by the headset. 0 or 1 are currently supported as values.

headsetcontrol -l 0|1 switches LED off/on (off almost doubles battery lifetime!).

headsetcontrol --short-output cut unnecessary output, for reading by other scripts or applications.

headsetcontrol -i 0-90 sets inactive time in minutes, time must be between 0 and 90, 0 disables the feature.

headsetcontrol -m retrieves the current chat-mix-dial level setting between 0 and 128. Below 64 is the game side and above is the chat side.

headsetcontrol -v 0|1 turn voice prompts on or off.

headsetcontrol -r 0|1 turn rotate to mute feature on or off.

headsetcontrol --dev Advanced menu for developers, to send and/or receive custom data

headsetcontrol -p 0-3 sets equalizer preset, must be between 0 and 3, 0 is the default preset.
root@mowa219-gjp4-8570p-freebsd:~ #
Comment 1 Alexander Vereeken 2022-07-28 18:52:36 UTC
Created attachment 235532 [details]
[PATCH] audio/headsetcontrol: Show pkg-message only on install

Hello Graham,

you are right, patch have been attached, thanks for reporting!
Comment 2 commit-hook freebsd_committer freebsd_triage 2022-08-17 16:16:20 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=67557fba52fa83ee39b81aa9ac3dde8372f6df85

commit 67557fba52fa83ee39b81aa9ac3dde8372f6df85
Author:     Graham Perrin <grahamperrin@gmail.com>
AuthorDate: 2022-08-17 05:54:05 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2022-08-17 16:12:39 +0000

    audio/headsetcontrol: show pkg-message on install only

    PR:             265485
    Reported by:    grahamperrin@gmail.com
    Approved by:    Alexander88207@protonmail.com (maintainer)

 audio/headsetcontrol/pkg-message | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 3 Fernando Apesteguía freebsd_committer freebsd_triage 2022-08-17 16:16:29 UTC
Committed,

Thanks!