Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

resources to build SDL libs on ARM Ubuntu touch #1708

Closed
SDLBugzilla opened this issue Feb 10, 2021 · 0 comments
Closed

resources to build SDL libs on ARM Ubuntu touch #1708

SDLBugzilla opened this issue Feb 10, 2021 · 0 comments
Labels
abandoned Bug has been abandoned for various reasons

Comments

@SDLBugzilla
Copy link
Collaborator

This bug report was migrated from our old Bugzilla tracker.

These attachments are available in the static archive:

Reported in version: 2.0.3
Reported for operating system, platform: Linux, ARM

Comments on the original bug report:

On 2014-12-06 11:17:18 +0000, Sylvain wrote:

Here are a few files to help creating a cross compilation environment to build SDL libs for ubuntu-touch.

See more information in the tutorial.

On 2014-12-06 11:18:17 +0000, Sylvain wrote:

Created attachment 1956
Tutorial to build SDL for ARM Ubuntu Touch

On 2014-12-06 11:19:53 +0000, Sylvain wrote:

Created attachment 1957
Main script to build the chroot

On 2014-12-06 11:20:36 +0000, Sylvain wrote:

Created attachment 1958
file ./debian/control

On 2014-12-06 11:21:13 +0000, Sylvain wrote:

Created attachment 1959
file ./tools/setup-partial-armhf-chroot.sh

On 2015-03-15 01:48:25 +0000, Louis M wrote:

Please note that to make it compile, I had to add ":${MIR_NDK_PATH}/usr/share/pkgconfig" to the "PKG_CONFIG_PATH" variable at line 116 or the "cross-compile-chroot.sh". Also, I had to run the "setup-partial-armhf-chroot.sh" directly (the "cross-compile-chroot.sh" didn't create the partial chroot automatically).

On 2015-03-15 14:04:36 +0000, Sylvain wrote:

Thanks for the feedback!

Just for information, here's the initial script "cross-compile-chroot.sh" :
http://bazaar.launchpad.net/~mir-team/mir/development-branch/view/head:/cross-compile-chroot.sh

It does not contain the "${MIR_NDK_PATH}/usr/share/pkconfig" directory, but you may be right!

On the other hand, "/usr/share/pkconfig" is said to be a default directory (according to the man page).
And the variable PKG_CONFIG_SYSROOT_DIR=$MIR_NDK_PATH should then make "${MIR_NDK_PATH}/usr/share/pkconfig" be the default directory for the chroot.

About the second point. There should be no need to call "setup-partial-armhf-chroot.sh" manually. See the "cross-compile-chroot.sh" script. It uses it when called with option "-u" (update), or if the directory does not exist.

On 2015-03-15 15:13:48 +0000, Louis M wrote:

Well, of course, I debugged it to make it compile. I did not investigate it more than that. But if you want, I can look at it on my pc.

On 2015-03-15 19:09:05 +0000, Sylvain wrote:

Don't worry. I just say it is working out of the box on my system.
Just give a try with "-u" next time you use it. thanks.

On 2016-03-30 12:55:52 +0000, Sylvain wrote:

Created attachment 2399
Main script to build the chroot

Main script to build the chroot

On 2016-03-30 12:56:41 +0000, Sylvain wrote:

Created attachment 2400
file ./tools/setup-partial-armhf-chroot.sh

update of file "./tools/setup-partial-armhf-chroot.sh"

On 2016-03-30 12:58:06 +0000, Sylvain wrote:

Created attachment 2401
file ./debian/control

update of file ./debian/control

On 2016-03-31 20:05:18 +0000, Sylvain wrote:

Created attachment 2403
file ./debian/control

update of file ./debian/control

On 2018-08-07 22:30:45 +0000, Ryan C. Gordon wrote:

This has been sitting here a long time; is this still reasonable to apply, Sylvain?

--ryan.

On 2018-08-08 13:19:24 +0000, Sylvain wrote:

Hey Ryan,
Nothing to apply.
That was to provide help and documentation to build SDL2 based application for Ubuntu Touch. That worked a few years, now, it's somehow abandoned.

@SDLBugzilla SDLBugzilla added abandoned Bug has been abandoned for various reasons bug labels Feb 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
abandoned Bug has been abandoned for various reasons
Projects
None yet
Development

No branches or pull requests

1 participant