HaikuPorts
  • Login
  • Preferences
  • Help/Guide
  • Wiki
  • Timeline
  • Roadmap
  • View Tickets
  • Search
  • Port Log
  • Blog

Context Navigation

  • ← Previous Ticket
  • Back to Query
  • Next Ticket →

Ticket #327 (closed task: fixed)

Opened 5 years ago

Last modified 5 years ago

[plib] add - files attached needs review

Reported by: michaelvoliveira Owned by: michaelvoliveira
Priority: normal Milestone: Unscheduled
Component: media-libs/plib Version: 1.0
Severity: normal Keywords: plib torcs
Cc: arasergus@…

Description

PLIB includes sound effects, music, a complete 3D engine, font rendering, a simple Windowing library, a game scripting language, a GUI, networking, 3D math library and a collection of handy utility functions. All are 100% portable across nearly all modern computing platforms. What's more, it's all available on line - and completely free. Each library component is fairly independent of the others - so if you want to use SDL, GTK, GLUT, or FLTK instead of PLIB's 'PW' windowing library, you can.

 http://plib.sourceforge.net/

Attachments

plib-1.8.5.bep​ (483 bytes) - added by michaelvoliveira 5 years ago.
initial .bep file
screenshot3.png​ (28.8 KB) - added by michaelvoliveira 5 years ago.
plib GUI elements
plib-1.8.5.patch​ (10.9 KB) - added by michaelvoliveira 5 years ago.
patch to correct old BeOS code and don't use GLX. Uses empty joystick, sound, and windows functions

Download all attachments as: .zip

Change History

comment:1 Changed 5 years ago by michaelvoliveira

  • Component changed from default to media-libs/plib
  • Owner set to michaelvoliveira

Changed 5 years ago by michaelvoliveira

  • attachment plib-1.8.5.bep​ added

initial .bep file

comment:2 Changed 5 years ago by michaelvoliveira

  • Summary changed from [plib] add to [plib] add - files attached needs review

comment:3 Changed 5 years ago by michaelvoliveira

Builds and installs ok

But plib is twelve static libs

TODO: create a patch to build an unified shared lib (.so)

comment:4 Changed 5 years ago by michaelvoliveira

Builds both GCC4 and GCC2

comment:5 Changed 5 years ago by michaelvoliveira

I'll provide a better patch, have a lot of functions missing here...

Changed 5 years ago by michaelvoliveira

  • attachment screenshot3.png​ added

plib GUI elements

Changed 5 years ago by michaelvoliveira

  • attachment plib-1.8.5.patch​ added

patch to correct old BeOS code and don't use GLX. Uses empty joystick, sound, and windows functions

comment:6 Changed 5 years ago by michaelvoliveira

It's ok now!

The library builds fine, with no undefined symbols with applications that use that

comment:7 Changed 5 years ago by aergus

  • Cc arasergus@… added

I have checked this port as instruced in my  Google Code-In Task.

I have run the commands "haikuport -c -d plib" and "haikuport -c -i plib" with gcc2 and gcc4. As it is mentioned before, it seems to work with both compilers.

You may have a look at  GCC2 shell log and  GCC4 shell log in pastebin.com .

comment:8 Changed 5 years ago by scottmc

looks ok for the most part, but I didn't see it create the zip file at the end which is what the -d should do. @michaelvolivera maybe this needs to have something added to get the DESTDIR working?

comment:9 Changed 5 years ago by aergus

On my machine it actually creates the .zip files. (Check line 1068 in GCC2 log and line 1070 in GCC4 log.)
However, the gcc2 archive is 11MB whereas gcc4 archive is only 2.9MB. May there be something missing?

comment:10 Changed 5 years ago by scottmc

Oh, I missed that, so yes this is working then. We'll have to check to figure out why there's such a difference in the filesize, but I think this one can be checked in. I'll do that later today.

comment:11 Changed 5 years ago by michaelvoliveira

hahaha! I already notice that! Now someone could implement sound functions. But I suggest concentrate the efforts in finnish OpenAL one...

comment:12 Changed 5 years ago by scottmc

  • Resolution set to fixed
  • Status changed from new to closed

fixed in r1227.

Note: See TracTickets for help on using tickets.

Download in other formats:

  • Comma-delimited Text
  • Tab-delimited Text
  • RSS Feed

Trac Powered

Powered by Trac 0.13dev-r10686
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/