Skip to content
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.

Add section on making distributions #29

Open
hamishwillee opened this issue Oct 26, 2017 · 0 comments
Open

Add section on making distributions #29

hamishwillee opened this issue Oct 26, 2017 · 0 comments

Comments

@hamishwillee
Copy link
Collaborator

Content from old site probably completely useless to seed this, but reproduced below FYI:


This page describes how to back a compiled binary with all required libraries into a redistributable executable or installer.
Windows
We are using the Nullsoft Scriptable Install System (NSIS). To build the installer follow these instructions:
Install NSIS: http://nsis.sourceforge.net/Main_Page
cd to your top level qgroundcontrol directory
Use the following settings for your qmake call: CONFIG+=release CONFIG+=installer
Build QGroundControl as you normally would
When the build is complete there will be a qgroundcontrol-installer-win32.exe in your release directory
More information on NSIS:
http://nsis.sourceforge.net/Main_Page
Mac
To build the Mac installer follow these instructions:
Make sure that you have installed the SDL framework in /Library/Frameworks/SDL.Framework
Use the following settings for your qmake call: CONFIG+=release CONFIG+=installer
Build QGroundControl as you normally would
When complete there will qgroundcontrol.dmg disk image in your release directory
The qgroundcontrol.dmg will be found in your release directory.
Ubuntu / Debian
mkdir qgroundcontrol-version
cd qgroundcontrol-version/

#create package

have installed gpg key for mail address

dh_make -e "[email protected]" -c gpl --createorig

#edit files in newly appeared debian folder

#add all files to be installed into directory

create folders named usr/bin . put executable in there

should look like:

ls -R
./usr:
bin share

./usr/bin:
qgroundcontrol

./usr/share:
applications pixmaps

./usr/share/applications:
qgroundcontrol.desktop

./usr/share/pixmaps:
qgroundcontrol.png

create binary

debuild -b
It would be better if the package could be build from source directly…
Convert Icons
http://www.linuxinet.com/node/177

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant