Skip to content

Comments

Create COMPILING.md#1446

Merged
gilgongo merged 32 commits intomasterfrom
gilgongo-compiling
May 29, 2021
Merged

Create COMPILING.md#1446
gilgongo merged 32 commits intomasterfrom
gilgongo-compiling

Conversation

@gilgongo
Copy link
Member

@gilgongo gilgongo commented Apr 4, 2021

Move all client and server source compilation instructions to COMPILING.md. From now on, we assume binary installs, and further assume that people who choose to compile don’t need hand holding.

This PR relies on the changes made to the Linux and Server install pages modified in jamulussoftware/jamuluswebsite#415

That PR is based on the following issues which will have to be manually closed when this PR closes because we have them in a separate repo.

See also jamulussoftware/jamuluswebsite#382 and jamulussoftware/jamuluswebsite#374

gilgongo added 2 commits April 4, 2021 16:59
Move all client and server source compilation instructions to COMPILING.md. From now on, we assume binary installs, and further assume that people who choose to compile don’t need hand holding.
Add link to install scripts.
@pljones

This comment has been minimized.

@pljones

This comment has been minimized.

Update link
@gilgongo

This comment has been minimized.

@pljones

This comment has been minimized.

Copy link
Member

@hoffie hoffie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for doing this, it reads very clearly. I added comments about some details.

ann0see and others added 2 commits April 5, 2021 13:59
Co-authored-by: Christian Hoffmann <[email protected]>
Co-authored-by: Christian Hoffmann <[email protected]>
@gilgongo

This comment has been minimized.

gilgongo added 3 commits April 5, 2021 13:11
Remove stuff more relevant to packagers,
Lower case all deps.
@ann0see

This comment has been minimized.

gilgongo and others added 3 commits April 5, 2021 13:44
Remove stuff that binary installs now cater for.
Remove unsafe reference to footnote on server install page.
Co-authored-by: ann0see <[email protected]>
@gilgongo

This comment has been minimized.

gilgongo added 4 commits April 5, 2021 16:30
Remove Qt4 line.
Add clarification re. build scripts. Fix code blocking,
Tidy up headless build reqs.
Damn code block formatting again.
gilgongo added 2 commits April 8, 2021 18:56
Remove make clean
Remove make clean note
add distclean + explanation. Remove redundant Jamulus.pro
Put headless flag explanation first
Update preamble.
gilgongo and others added 5 commits April 24, 2021 07:22
Remove repetition.

Co-authored-by: Christian Hoffmann <[email protected]>
Correct comment

Co-authored-by: Christian Hoffmann <[email protected]>
Correct comment

Co-authored-by: Christian Hoffmann <[email protected]>
Correct comment

Co-authored-by: Christian Hoffmann <[email protected]>
Remove Rpi para

## macOS
You will need XCode and Qt as follows:

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry to be a pain on this... :) If we're moving off brew for the automation, should we move off it here, too? @softins

(I was also thinking if we should recommend aqtinstall generally for installing Qt, so these instructions mirror the autobuild more closely.)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, probably. We ought also work out how the user can get the correct SDK for compatibility with Qt5, as mentioned in #1655. I'm not an expert in Mac compiling - just feeling my way.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Slightly out on a limb with this I realise, since I've moved all the compilation stuff into this file and out of the website, but the website links to this file - which isn't merged yet. What would happen if we merged this now? Would dat be a breaker?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No. I don't think so. We could leave it as is.

Replace qt5-qtbase with libQt5Concurrent5 as per jamulussoftware/jamuluswebsite#440
@gilgongo

This comment has been minimized.

Further Fedora dependency clarification
@gilgongo gilgongo added this to the Release 3.8.0 milestone Apr 29, 2021
Clarify RPi OS.
Copy link
Member

@jujudusud jujudusud left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Think it's actual like that.

Copy link
Member

@ann0see ann0see left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a small hacky way to do it, but I think it should work with the integrated GitHub suggestion button.

iOS instructions from @ngocdh

Co-authored-by: ann0see <[email protected]>
Copy link
Member

@ann0see ann0see left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one small comment, afterwards it can be merged.


## macOS
You will need XCode and Qt as follows:

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No. I don't think so. We could leave it as is.

Co-authored-by: ann0see <[email protected]>
@gilgongo gilgongo merged commit 8e700a0 into master May 29, 2021
Copy link
Contributor

@ngocdh ngocdh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While we're at it, here's the instructions for Android, based on #1425 (comment) from @j-santander

  • Install Qt, including the Android support from the Qt installer.
  • Configure the Android settings in the Qt Creator (Tools -> Options -> Devices -> Android). Solve all warnings/errors in that dialog (set up paths to SDKs and NDKs and select the target for android, etc.). Tick on the "Automatically create kits for Android Toolk chains").
  • Make sure the Android Kit is detected on Tools -> Options -> Kits -> Kits (example: Android Qt 5.15.2 Clang Multi-Abi). It should also show in the Qt Versions tab (example: Qt 5.15.2 for Android).
  • Clone Jamulus and its submodules:
    git clone https://github.com/jamulussoftware/jamulus.git
    cd jamulus
    git submodule update --init
  • Open Jamulus.pro in Qt Creator
  • In the Projects tab -> Build & Run It should appear the Android Qt, might be disabled. Enabled it if it is not enabled.
  • Then you can connect your device and build or run the project.

@ann0see ann0see deleted the gilgongo-compiling branch June 1, 2021 11:21
@ann0see
Copy link
Member

ann0see commented Jun 1, 2021

@ngocdh cound you please edit this file and open a Pull request?

@ngocdh
Copy link
Contributor

ngocdh commented Jun 1, 2021

Cool I didn't know I could do it. Thanks @ann0see!
Here goes #1805

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants