Bug 251373 - New port: sysutils/brut: GUI for various admin tasks
Summary: New port: sysutils/brut: GUI for various admin tasks
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Nuno Teixeira
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-25 12:28 UTC by georg.lastname
Modified: 2021-07-18 14:30 UTC (History)
1 user (show)

See Also:


Attachments
shar file (1.34 KB, text/plain)
2020-11-25 12:28 UTC, georg.lastname
no flags Details
version 1.54 diff (1.89 KB, patch)
2021-07-08 12:00 UTC, Nuno Teixeira
no flags Details | Diff
shar file of version 1.55 (1.36 KB, text/plain)
2021-07-12 12:35 UTC, georg.lastname
no flags Details
new port sysutils/brut 1.55 rc1 (2.30 KB, patch)
2021-07-13 09:26 UTC, Nuno Teixeira
no flags Details | Diff
.shar file that includes pkg-message (1.87 KB, text/plain)
2021-07-14 08:42 UTC, georg.lastname
no flags Details
new port: sysutils/brut diff final (2.46 KB, patch)
2021-07-16 09:23 UTC, Nuno Teixeira
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description georg.lastname 2020-11-25 12:28:01 UTC
Created attachment 219957 [details]
shar file

Graphical user interface (GUI) for various administrative tasks:
- partition editor, disk editor
- user/group management
- date, time, timezone
- and more.

Some desktop users might find this port helpful.

It uses gtk3 for the GUI elements. It has a sudo backend.
Comment 1 Nuno Teixeira freebsd_committer freebsd_triage 2021-07-08 12:00:33 UTC
Created attachment 226297 [details]
version 1.54 diff

Just uploaded a diff to latest version 1.54 based on your shar archive
Comment 2 Nuno Teixeira freebsd_committer freebsd_triage 2021-07-08 12:03:55 UTC
Hello,

I'm trying commit your port but there is a compilation error:

---
1 error generated.
In file included from wireless.c:2:
In file included from ./disk.h:19:
In file included from /usr/local/include/gtk-3.0/gtk/gtk.h:30:
In file included from /usr/local/include/gtk-3.0/gdk/gdk.h:32:
In file included from /usr/local/include/gtk-3.0/gdk/gdkapplaunchcontext.h:30:
In file included from /usr/local/include/gtk-3.0/gdk/gdktypes.h:35:
In file included from /usr/local/include/pango-1.0/pango/pango.h:25:
In file included from /usr/local/include/pango-1.0/pango/pango-attributes.h:25:
In file included from /usr/local/include/pango-1.0/pango/pango-font.h:25:
/usr/local/include/pango-1.0/pango/pango-coverage.h:28:10: fatal error: 'hb.h' file not found
#include <hb.h>
         ^~~~~~
1 error generated.
*** [brut] Error code 1

make[1]: stopped in /wrkdirs/usr/ports/sysutils/brut/work/brut-1.54
1 error
---

full poudriere testport log: https://people.freebsd.org/~eduardo/brut-1.54.log

Any hints on how to fix this?
Comment 3 georg.lastname 2021-07-12 12:35:54 UTC
Created attachment 226388 [details]
shar file of version 1.55

Hey,

It seems that gtk3 nowadays needs harfbuzz, or rather pango needs it.
I fixed this and some other issues and updated the port to version 1.55.


Thanks for the hints.
Comment 4 Nuno Teixeira freebsd_committer freebsd_triage 2021-07-13 09:26:19 UTC
Created attachment 226419 [details]
new port sysutils/brut 1.55 rc1

- fixed some FreeBSD vars
- added DOCS (README.md)
- added EXAMPLES (screenshot/*.png)

Test plan:
- portlint, portclippy, portfmt: OK
- poudriere testport (14.0 and all supported versions): OK
(logs: https://people.freebsd.org/~eduardo/logs/brut-1.55/ )
Comment 5 Nuno Teixeira freebsd_committer freebsd_triage 2021-07-13 09:27:24 UTC
(In reply to Nuno Teixeira from comment #4)
and
-added LICENSE_FILE
Comment 6 Nuno Teixeira freebsd_committer freebsd_triage 2021-07-13 09:43:34 UTC
Hello!

pkg-descr should include only a small description of the port and not include any type of advisories or technical specs.

Why not put those advisories in pkg-message so it can be shown when user installs port?

pkg-message:
---
[
{ type: install
  message: <<EOM
It uses sudo as backend. ${PREFIX}/etc/sudoers file handles the permissions.
If dbus complains about a missing machine-id, run "dbus-uuidgen --ensure".
EOM
}
]
---

What do you think? Please rewrite the message as you like, this is just an example.
Comment 7 georg.lastname 2021-07-14 07:49:55 UTC
The screenshots and readme.md are useful for visitors of the github page. But I don't mind docs/examples.

Ok good. I'll add the two hints to a pkg-message file.
Comment 8 georg.lastname 2021-07-14 08:42:23 UTC
Created attachment 226450 [details]
.shar file that includes pkg-message
Comment 9 Nuno Teixeira freebsd_committer freebsd_triage 2021-07-16 09:23:47 UTC
Created attachment 226494 [details]
new port: sysutils/brut diff final

Please tell me if uploaded diff is ok to you so I can commit it.

- minor style corrections
Comment 10 georg.lastname 2021-07-16 16:59:39 UTC
Looks good. :-)
Comment 11 commit-hook freebsd_committer freebsd_triage 2021-07-18 14:23:21 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=35345a43885aea9d60ab0e65ee33274af382a689

commit 35345a43885aea9d60ab0e65ee33274af382a689
Author:     georg lastname <georg.lastname@web.de>
AuthorDate: 2021-07-18 14:19:11 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2021-07-18 14:22:35 +0000

    sysutils/brut: New port

    GUI for various admin tasks

    Graphical user interface (GUI) for various administrative tasks:
    - partition editor, disk editor
    - user/group management
    - date, time, timezone
    - and more.

    Some desktop users might find this port helpful.

    It uses gtk3 for the GUI elements. It has a sudo backend.

    WWW: https://github.com/random532/brut

    PR:             251373

 sysutils/Makefile               |  1 +
 sysutils/brut/Makefile (new)    | 39 +++++++++++++++++++++++++++++++++++++++
 sysutils/brut/distinfo (new)    |  3 +++
 sysutils/brut/pkg-descr (new)   |  8 ++++++++
 sysutils/brut/pkg-message (new) |  8 ++++++++
 5 files changed, 59 insertions(+)
Comment 12 Nuno Teixeira freebsd_committer freebsd_triage 2021-07-18 14:30:30 UTC
Committed thanks!