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

[WIP] build-style/meson: fix building rust apps #7341

Closed
wants to merge 3 commits into from

Conversation

Cogitri
Copy link
Contributor

@Cogitri Cogitri commented Jan 17, 2019

No description provided.

@Cogitri
Copy link
Contributor Author

Cogitri commented Jan 17, 2019

Will test gnome-podcasts tomorrow.

@@ -64,6 +65,17 @@ endian = '${_MESON_TARGET_ENDIAN}'
EOF
configure_args+=" --cross-file=${meson_crossfile}"

# Fix building Rust apps
mkdir .cargo
Copy link
Contributor

Choose a reason for hiding this comment

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

better use mkdir -p .cargo here

Copy link
Contributor Author

Choose a reason for hiding this comment

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

How could ${wrksrc} not exist here?

Copy link
Contributor

Choose a reason for hiding this comment

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

.cargo could exist already

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh, right, -p also deals with that

export GETTEXT_BIN_DIR=/usr/bin
export GETTEXT_LIB_DIR="${XBPS_CROSS_BASE}/usr/lib/gettext"
export GETTEXT_INCLUDE_DIR="${XBPS_CROSS_BASE}/usr/include"
export LIBSSH2_SYS_USE_PKG_CONFIG=1
Copy link
Contributor

Choose a reason for hiding this comment

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

missing newline here

Copy link
Contributor

Choose a reason for hiding this comment

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

I would prefer a solution which doesn't involve maintaining two copies of this list

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hm, can we share envs between build styles? Adding it to the global env seems meh to me

Copy link
Contributor

Choose a reason for hiding this comment

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

@maxice8
Copy link
Contributor

maxice8 commented Jan 18, 2019 via email

@maxice8
Copy link
Contributor

maxice8 commented Jan 22, 2019

This will be fixed by build_helper #7505

@maxice8 maxice8 closed this Jan 22, 2019
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.

None yet

3 participants