Bug 208383 - [NEW PORT] devel/agar: Cross-platform GUI toolkit
Summary: [NEW PORT] devel/agar: Cross-platform GUI toolkit
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: Kurt Jaeger
URL:
Keywords: feature
Depends on:
Blocks:
 
Reported: 2016-03-29 13:58 UTC by Julien Nadeau
Modified: 2019-01-06 11:04 UTC (History)
2 users (show)

See Also:


Attachments
agar-1.5.0.shar (25.86 KB, text/plain)
2016-03-29 13:58 UTC, Julien Nadeau
no flags Details
Test suite for devel/agar (2.30 KB, text/plain)
2016-04-02 02:35 UTC, Julien Nadeau
no flags Details
agar-1.5.0_1.shar (25.60 KB, text/plain)
2018-01-16 12:06 UTC, Julien Nadeau
no flags Details
agar-1.5.0_2.shar (25.69 KB, text/plain)
2018-05-25 02:43 UTC, Julien Nadeau
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Julien Nadeau 2016-03-29 13:58:00 UTC
Created attachment 168759 [details]
agar-1.5.0.shar

Agar is a cross-platform GUI toolkit. Agar provides a base
framework and a collection of GUI widgets from which GUI
applications can be built. Agar can be styled and themed
using a CSS-style engine.

As of Agar-1.5, Agar applications work seamlessly under X11
(with OpenGL), Windows, MacOS X and SDL 1.2. Agar can also
attach to an OpenGL or SDL context and operate as window
manager for the application. Agar is compact, efficient, and
fully thread-safe.

Agar's functionality can be extended using simple C/C++ class
registration interfaces. Separate libraries which also extend
Agar's capabilities include FreeSG (http://FreeSG.org) and
Edacious (http://edacious.org).

WWW: http://libagar.org/
Comment 1 Dmitry Marakasov freebsd_committer freebsd_triage 2016-03-29 18:12:40 UTC
Shouldn't it be in x11-toolkits category instead of devel?
Comment 2 Julien Nadeau 2016-03-30 04:19:56 UTC
(In reply to Dmitry Marakasov from comment #1)

I think it belongs in devel since it can be compiled without X11 support (X11 option). It can use SDL exclusively (SDL option with X11 disabled), or be built
without the GUI components at all (GUI option disabled). Without GUI, the "core" and "math" interfaces remain available:

  http://libagar.org/mdoc.cgi?man=AG_Intro.3#AGAR-CORE
  http://libagar.org/mdoc.cgi?man=AG_Intro.3#AGAR-MATH
Comment 3 Julien Nadeau 2016-04-02 02:35:11 UTC
Created attachment 168887 [details]
Test suite for devel/agar

Graphical test suite / benchmark utility for Agar.
Comment 4 Yuri Victorovich freebsd_committer freebsd_triage 2017-11-16 17:17:33 UTC
There are warnings:
Warning: 'lib/libag_core.so.5.0.0' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD}
Warning: 'lib/libag_gui.so.5.0.0' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD}
Warning: 'lib/libag_vg.so.5.0.0' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD}
Warning: 'lib/libag_math.so.5.0.0' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD}
Warning: 'lib/libag_dev.so.5.0.0' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD}
Warning: 'lib/libag_au.so.5.0.0' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD}
Error: /usr/local/lib/libag_au.so.5.0.0 is linked to /usr/local/lib/libjpeg.so.8 from graphics/jpeg-turbo but it is not declared as a dependency
Warning: you need USES+=jpeg

Also, you can easily get rid of .include <bsd.port.options.mk> and use helpers, like ${opt}_CONFIGURE_ENABLE. It will become much shorter.
Comment 5 Walter Schwarzenfeld freebsd_triage 2018-01-16 05:27:37 UTC
Please, feedback from the submitter.
Comment 6 Julien Nadeau 2018-01-16 12:06:29 UTC
Created attachment 189790 [details]
agar-1.5.0_1.shar

Please find the revised port attached. Per Yuri's suggestion, it no longer uses <bsd.port.options.mk> so the Makefile is much shorter. The installed libraries are now stripped as well.
Comment 7 Walter Schwarzenfeld freebsd_triage 2018-01-16 12:11:26 UTC
Thanks, for reply.
Comment 8 Kurt Jaeger freebsd_committer freebsd_triage 2018-05-13 13:17:24 UTC
testbuilds@work
Comment 9 Kurt Jaeger freebsd_committer freebsd_triage 2018-05-13 14:33:09 UTC
testbuild on 11.1 fails, see:

http://people.freebsd.org/~pi/logs/devel__agar-111-1526220444.txt
Comment 10 Julien Nadeau 2018-05-25 02:43:55 UTC
Created attachment 193675 [details]
agar-1.5.0_2.shar

Thanks, Kurt. Here is a revised port with the needed perl5 build dependency, which should fix the problem. testport now completes successfully on 11.1 for me.
Comment 11 Kurt Jaeger freebsd_committer freebsd_triage 2019-01-05 23:12:20 UTC
Committed, thanks. Sorry for the very long delay!
Comment 12 commit-hook freebsd_committer freebsd_triage 2019-01-05 23:12:49 UTC
A commit references this bug:

Author: pi
Date: Sat Jan  5 23:11:55 UTC 2019
New revision: 489418
URL: https://svnweb.freebsd.org/changeset/ports/489418

Log:
  New port: devel/agar

  Agar is a cross-platform GUI toolkit. Agar provides a base
  framework and a collection of GUI widgets from which GUI
  applications can be built.

  Agar applications function seamlessly under X11 (with OpenGL),
  Windows, MacOS X and SDL 1.2. Agar can also attach an existing
  OpenGL or SDL context and operate as window manager for the
  application. Agar is compact, efficient, and fully thread-safe.

  Agar's functionality can be extended using simple C/C++ class
  registration interfaces. Separate libraries which also extend
  Agar's capabilities include FreeSG (http://FreeSG.org) and
  Edacious (http://edacious.org).

  WWW: http://libagar.org/

  PR:		208383
  Submitted by:	Julien Nadeau <vedge@hypertriton.com>
  Reported by:	amdmi3, yuri

Changes:
  head/devel/Makefile
  head/devel/agar/
  head/devel/agar/Makefile
  head/devel/agar/distinfo
  head/devel/agar/files/
  head/devel/agar/files/patch-core_net.c
  head/devel/agar/files/patch-math_m__math.c
  head/devel/agar/pkg-descr
  head/devel/agar/pkg-plist
Comment 13 commit-hook freebsd_committer freebsd_triage 2019-01-06 09:40:28 UTC
A commit references this bug:

Author: pi
Date: Sun Jan  6 09:40:07 UTC 2019
New revision: 489452
URL: https://svnweb.freebsd.org/changeset/ports/489452

Log:
  devel/agar: fix build on non-amd64

  PR:		208383

Changes:
  head/devel/agar/Makefile
  head/devel/agar/pkg-plist
Comment 14 commit-hook freebsd_committer freebsd_triage 2019-01-06 11:04:37 UTC
A commit references this bug:

Author: pi
Date: Sun Jan  6 11:04:09 UTC 2019
New revision: 489456
URL: https://svnweb.freebsd.org/changeset/ports/489456

Log:
  devel/agar: replace includes of bsd.port.pre.mk and .post.mk

  PR:		208383
  Submitted by:	mat

Changes:
  head/devel/agar/Makefile