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

Context Navigation

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

Ticket #231 (closed WIP - file(s) attached: moved to bitbucket haikuports site)

Opened 6 years ago

Last modified 3 months ago

[Wesnoth] add

Reported by: scottmc Owned by: michaelvoliveira
Priority: normal Milestone: Unscheduled
Component: games-strategy/wesnoth Version: 1.0
Severity: normal Keywords:
Cc:

Description

Try building this and if it works ok then Haiku trac ticket 2859 can be closed. I suspect newer builds of SDL have taken care of this one.

Attachments

cairo-1.8.10.patch​ (8.8 KB) - added by michaelvoliveira 5 years ago.
replace the original patch, to include a boilerplate from 1.6.x version
libpng-config​ (2.3 KB) - added by michaelvoliveira 5 years ago.
this one could be integrated into Haiku trunk
libpng.pc​ (249 bytes) - added by michaelvoliveira 5 years ago.
this one could be integrated into Haiku trunk
wesnoth-1.9.1.bep​ (1.2 KB) - added by michaelvoliveira 5 years ago.
Using cmake for build. The patch will come later

Download all attachments as: .zip

Change History

comment:1 Changed 6 years ago by scottmc

  • Component changed from BePorter to games-strategy/wesnoth
  • Owner changed from brecht to scottmc

comment:2 Changed 6 years ago by scottmc

  • Owner changed from scottmc to michaelvoliveira

Michael,
Can you check this one on both gcc2 and gcc4, create .bep and .OptionalPackageDescription files if it works. And if so report that status on the haiku trac ticket listed above.

-scott

comment:3 Changed 6 years ago by michaelvoliveira

ok! I'll take care of it

Thanks!

comment:4 Changed 5 years ago by michaelvoliveira

I doubt that it builds with SDL gcc2 libs

it will need:

*pango
*cairo
*pangocairo (pango builded with cairo)
*glibc

comment:5 Changed 5 years ago by michaelvoliveira

  • Milestone set to Unscheduled
  • Status changed from new to assigned
  • Version set to 1.0

Changed 5 years ago by michaelvoliveira

  • attachment cairo-1.8.10.patch​ added

replace the original patch, to include a boilerplate from 1.6.x version

comment:6 Changed 5 years ago by michaelvoliveira

I think that could be created a conditional case for test folder.. But I don't know how do that

diff -Naur cairo-1.8.10/test/Makefile.am cairo-1.8.10-haiku/test/Makefile.am
--- cairo-1.8.10/test/Makefile.am	2010-02-19 18:38:04.038010880 +0000
+++ cairo-1.8.10-haiku/test/Makefile.am	2010-10-04 12:46:34.846987264 +0000
@@ -1132,8 +1132,10 @@
 	cd $(top_builddir)/test/pdiff && $(MAKE) $(AM_MAKEFLAGS) libpdiff.la
 
 if HAVE_PTHREAD
+if CAIRO_HAS_BEOS_SURFACE
 LDADD += -lpthread
 endif
+endif
 
 check_PROGRAMS += imagediff png-flatten

comment:7 Changed 5 years ago by michaelvoliveira

Need to take care of this two tickets before continue

Libboost
http://ports.haiku-files.org/ticket/375

libpixman
http://ports.haiku-files.org/ticket/398

and cmake
http://ports.haiku-files.org/ticket/399

comment:8 Changed 5 years ago by michaelvoliveira

In truth, was three :D

comment:9 Changed 5 years ago by michaelvoliveira

In the end, in order to do a clean build of pango and cairo, will need of these pkgconfig files be integrated into Haiku

freetype2.pc
 http://dev.haiku-os.org/ticket/2949

libpng.pc & libpng-config

Changed 5 years ago by michaelvoliveira

  • attachment libpng-config​ added

this one could be integrated into Haiku trunk

Changed 5 years ago by michaelvoliveira

  • attachment libpng.pc​ added

this one could be integrated into Haiku trunk

Changed 5 years ago by michaelvoliveira

  • attachment wesnoth-1.9.1.bep​ added

Using cmake for build. The patch will come later

comment:10 Changed 5 years ago by scottmc

The install section of your bep file should make use of finddir, instead of hardcoding the path.

comment:11 Changed 6 months ago by scottmc

  • Type changed from task to WIP - file(s) attached

comment:12 Changed 3 months ago by scottmc

  • Resolution set to moved to bitbucket haikuports site
  • Status changed from assigned to closed

 https://bitbucket.org/haikuports/haikuports/commits/d1075c4436a423f3b80516d020de175081560b57

 https://bitbucket.org/haikuports/haikuports/issue/221/wesnoth-not-yet-building

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/