Ticket #409 (closed task: fixed)
Opened 5 years ago
Last modified 5 years ago
bep file needed for agg
| Reported by: | scottmc | Owned by: | scottmc |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | x11-libs/agg | Version: | |
| Severity: | normal | Keywords: | |
| Cc: |
Description
it builds, but needs a proper bep file.
Attachments
Change History
Changed 5 years ago by mbaluta
- attachment agg-2.5.bep added
comment:1 Changed 5 years ago by mbaluta
I'm not sure if test section is good. There are number of examples, but they are not automated unit tests, so i made it to build out, and open folder, so user have to run apps manually. If it's not ok, then you can delete TEST section.
comment:2 Changed 5 years ago by scottmc
try using autogen.sh followed by configure and see if you can get it to pick up and use the freetype lib that is included in Haiku, and to build both the shared and static libs.
comment:3 Changed 5 years ago by mbaluta
I had to install pkg-config, and add config file for freetype2. Then there was syntax error, because AM_PATH_SDL macro wasn't defined, so i removed it from configure.sh, then configure was done. "Make" built libagg.a and libagg.so.2.0.4, but in the end i have error:
/bin/sh ../libtool --tag=CXX --mode=link g++ -g -O2 ../src/platform/X11/libaggplatformX11.la ../src/libagg.la -o aa_demo aa_demo.o libtool: link: cannot find the library `../src/platform/X11/libaggplatformX11.la' or unhandled argument `../src/platform/X11/libaggplatformX11.la'
comment:4 Changed 5 years ago by scottmc
Ok, I tried this as well and ran into the same sort of issues. Attach your latest .bep file and we can call this one done for now and I will close out the task as completed.
comment:5 Changed 5 years ago by mbaluta
So, i should add autogen.sh to BUILD section, right? And can i ignore this error at the end of make?
Changed 5 years ago by scottmc
- attachment agg-2.5.patch added
here's a minor patch to remove examples from the makefile, put this in a patches directory
comment:6 Changed 5 years ago by scottmc
- Resolution set to fixed
- Status changed from new to closed
Applied in r1273.
I looked at the autogen.sh and just took and used the important parts in the .bep file. Update your haikuports and try building agg not to see how the extra steps helped out.

bep file for agg