Cruisers Forum
 


Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 29-06-2011, 02:57   #1
Registered User

Join Date: Jun 2011
Location: currently...Tanger
Boat: Neel 43
Posts: 42
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, 07: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, 07:18   #3
Registered User

Join Date: Mar 2010
Location: Normandy, France
Boat: Flush Poker, 8.25m (Point Barre)
Posts: 340
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, 47 views)
SethDart is offline   Reply With Quote
Old 06-07-2011, 01:59   #4
Registered User

Join Date: Jun 2011
Location: currently...Tanger
Boat: Neel 43
Posts: 42
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, 01: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 Search this Thread
Search this Thread:

Advanced Search
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 318 01-07-2020 05:43
How can I copy the Route Data file? James Baines OpenCPN 5 23-06-2011 14:20

Advertise Here


All times are GMT -7. The time now is 22:44.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.