Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 29-06-2011, 03:57   #1
Registered User

Join Date: Jun 2011
Location: Germany
Boat: Benetau First 31.7
Posts: 5
Spec File Available ?

Hi all,

I'm quite new to openCPN, he project looks very interesting to me.
I would like to build the openSUSE Version on the buildservice and publish it here (similar as for zyGrib, see Index of /repositories/home:/DocB)
Can one send me the spec file from teh Fedora/CentOS build, just to save some effort?

Thanks!
__________________

__________________
COOGOR is offline   Reply With Quote
Old 29-06-2011, 08:07   #2
Registered User
 
Unicorn Dreams's Avatar

Join Date: Aug 2007
Location: Clear Lake Marine Services - Seabrook, Texas
Boat: Gulfstar, Mark II Ketch, 43'
Posts: 2,359
Re: spec file available?

Welcome Aboard Cruisers Forum COOGOR
__________________

__________________
Formerly Santana
The winds blow true,The skies stay blue,
Everyday is a good day for SAILING!!!!
Unicorn Dreams is offline   Reply With Quote
Old 30-06-2011, 08:18   #3
Registered User

Join Date: Mar 2010
Location: Normandy, France
Boat: Flush Poker, 8.25m (Point Barre)
Posts: 335
Re: Spec File Available ?

Quote:
Originally Posted by COOGOR View Post
Can one send me the spec file from teh Fedora/CentOS build, just to save some effort?
There's no spec file, it's built automatically by cmake.

Here's a patch to enable automatic detection of distro and arch in cmake. It also include appropriate dependency for openSUSE rpm.

Please refer to this for building process:
Compiling - Linux | Official OpenCPN Homepage

Install required packages (as root):
Code:
# zypper install git cmake gcc-c++ libstdc++-devel gtk2-devel wxWidgets-wxcontainer-devel MesaGLw-devel gettext-runtime libbz2-devel gpsd-devel libgps19-devel
Build OpenCPN:
Code:
$ git clone git://opencpn.git.sourceforge.net/gitroot/opencpn/opencpn
$ cd opencpn 
$ git apply $pathto/0001-cmake-auto-detect-distro-arch.patch
$ mkdir build 
$ cd build 
$ cmake -DPREFIX=/usr ../ 
$ make package
Attached Files
File Type: doc 0001-cmake-auto-detect-distro-arch.patch.doc (7.1 KB, 28 views)
__________________
SethDart is offline   Reply With Quote
Old 06-07-2011, 02:59   #4
Registered User

Join Date: Jun 2011
Location: Germany
Boat: Benetau First 31.7
Posts: 5
Re: Spec File Available ?

Thanks for the welcome :-)

Regarding the build process, I will give the cmake a try, although I dont like building locally anymore. Have a look at https://build.opensuse.org/ and you know why
BTW, it can build for Fedora/Ubuntu/Debian as well
__________________
COOGOR is offline   Reply With Quote
Old 13-07-2011, 02:13   #5
Registered User

Join Date: Jul 2011
Location: Germany
Boat: C&C 25
Posts: 17
Re: Spec File Available ?

Hello

I have build the actual betaversion in my home project at OBS

Index of /repositories/home:/steffenp

I have included the logbook and vdr plugin with al little change. They use the wrong plugin path.

The tools, useful for converting charts (libbsb and mc2bsbh) are also there.

The grib plugin didnt work yet (undefined symbol: BZ2_bzReadClose)

Hope it will be useful.






__________________
steffenp is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Imgkap - kap File Converter Tool MdJ OpenCPN 222 12-11-2015 17:15
How can I copy the Route Data file? James Baines OpenCPN 5 23-06-2011 15:20



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 18:57.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.