Ticket #145 (closed task: fixed)
Opened 6 years ago
Last modified 5 years ago
[ftgl] add - files attached needs review
| Reported by: | scottmc | Owned by: | michaelvoliveira |
|---|---|---|---|
| Priority: | normal | Milestone: | Big App Dependencies |
| Component: | media-libs/ftgl | Version: | 2.0 |
| Severity: | normal | Keywords: | ftgl freetype opengl |
| Cc: |
Attachments
Change History
comment:1 Changed 6 years ago by michaelvoliveira
- Owner changed from scottmc to michaelvoliveira
comment:2 Changed 6 years ago by michaelvoliveira
- Resolution set to fixed
- Status changed from new to closed
comment:3 Changed 6 years ago by michaelvoliveira
- Resolution fixed deleted
- Status changed from closed to reopened
comment:4 Changed 6 years ago by michaelvoliveira
- Resolution set to worksforme
- Status changed from reopened to closed
after set the haiku hack
FTGL Compiles with the following commands
cp /boot/common/share/aclocal/libtool.m4 m4
cp /boot/common/share/aclocal/ltoptions.m4 m4
cp /boot/common/share/aclocal/ltversion.m4 m4
cp /boot/common/share/aclocal/ltsugar.m4 m4
cp /boot/common/share/aclocal/lt~obsolete.m4 m4
echo "AC_CONFIG_MACRO_DIR([m4]) >> configure.in"
libtoolize --copy --force --install
aclocal -I m4
./autogen.sh
./configure --prefix=/boot/common
make
on the configure list, the following command crashes (no worries)
fc-match -sv serif
the lib builds and installs, but it's necessary copy the .pc config file manually
cp ftgl.pc /boot/common/lib/pkg-config/
comment:5 Changed 6 years ago by scottmc
- Resolution worksforme deleted
- Status changed from closed to reopened
Mihael, can you attach your new .bep file to this ticket? as for copying the .pc file you can probably add that to the install section of the .bep file. Try it and test it out to see if it works, it so you should be able to run haikuporter -i ftgl-x.x.x and it should build without errors if you do everything correctly. I haven't tried it, waiting on you to work through it. If you haven't installed haikuporter yet, you can install it by checking out the whole tree to /boot/develop/haikuports, then go into the beporter/trunk folder and run the install.sh file, that will install everything where it needs to be, then running haikuporter -l should list the files for which .bep files exist. (doesn't mean they all work though, as our early ones we couldn't test as they were made before the haikuporter was as far along as it is now. Patches welcome to fix the broken ones)
comment:6 Changed 6 years ago by michaelvoliveira
Remember: in order to build FTGL you will need add the following line into
headers/posix/wchar.h
"extern wchar_t *wcsdup(const wchar_t *);"
(without quotes)
as you may read here:
http://dev.haiku-os.org/ticket/3232
comment:7 Changed 6 years ago by michaelvoliveira
The wcsdup part is done in Haiku r34171
comment:8 Changed 6 years ago by scottmc
Applied in r553. We still need a .OptionalPackageDescription file for this one before closing this ticket.
comment:9 Changed 5 years ago by michaelvoliveira
- Status changed from reopened to new
comment:10 Changed 5 years ago by scottmc
- Summary changed from [ftgl] add to [ftgl] add - files attached needs review
Changed 5 years ago by michaelvoliveira
- attachment ftgl.OptionalPackageDescription added
added copyright information.. changed license
comment:11 Changed 5 years ago by scottmc
you have "cp ftgl.pc /boot/common/lib/pkgconfig" in the install section, if you first install pkgconfig do you still need that part? maybe you can test it out and if it's then now needed remove that line and add pkgconfig as a depend. Also merge the .OptionalPackageDescription file into your .bep file, just needs the LICENSE and COPYRIGHT parts.
Changed 5 years ago by michaelvoliveira
- attachment ftgl-2.1.3.bep added
merged .opd file. added pkg config as dependency
Changed 5 years ago by michaelvoliveira
- attachment ftgl-2.1.3.patch added
Removed an unecessary informative summary... was breaking the build
comment:12 Changed 5 years ago by scottmc
- Resolution set to fixed
- Status changed from new to closed
added in r876.
comment:13 Changed 5 years ago by michaelvoliveira
- Keywords ftgl freetype opengl added
- Resolution fixed deleted
- Status changed from closed to reopened
- Version set to 2.0
This package is broken yet.
It's not installing correctly include file headers nor ftgl.pc
I think that is a general problem into ftgl make system.
Seems that SVN current version solves everything.
So I providing a new .bep file. Please delete the previous one.
Tested with GCC2 and GCC4 with no errors
Changed 5 years ago by michaelvoliveira
- attachment ftgl-2.1-svn.bep added
New .bep file, from SVN this time
comment:14 Changed 5 years ago by jrabbit
Going to be verifying this for GCI
comment:15 Changed 5 years ago by jrabbit
svn works as expected on gcc4
comment:16 Changed 5 years ago by jrabbit
gcc2 works as well. (svn)
comment:17 Changed 5 years ago by scottmc
ok, then commit these to svn, and then close out this ticket.
comment:18 Changed 5 years ago by jrabbit
- Resolution set to fixed
- Status changed from reopened to closed

fixed on rev#460