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

Rename fix and add pkgconfig files #377

Merged
merged 3 commits into from
Mar 13, 2024

Conversation

eaaltonen
Copy link
Contributor

Rename libteec pkgconfig file, add backwards compatiblity option and drop redundant flag.
Add pkgconfig file for libteeacl.

Note: The URL field in the generated pkgconfig-file is now empty for both teeacl.pc and teec.pc. I kept it for now, but it could be either be removed altogether or populated.

@jforissier
Copy link
Contributor

LGTM, only minor comments.

  • Could we perhaps do without "libteec, pkgconfig file: option for old name link"? It's extra baggage to maintain.
  • I would understand the commit subject better if "libteec, pkgconfig file: use plain namespec name" were instead "libteec: pkgconfig: rename libteec.pc as teec.pc"
  • " libteec, pkgconfig file: remove duplicate flag": make that "libteec: pkgconfig: remove duplicate flag in teec.pc"
  • Then "libteeacl: add pkgconfig file" could be "libteeacl: add pkgconfig file: teeacl.pc"

Anyways:
Acked-by: Jerome Forissier <[email protected]>

Thanks!

@eaaltonen
Copy link
Contributor Author

Missed the notification.

Could we perhaps do without "libteec, pkgconfig file: option for old name link"?

Fine by me. I don't need it myself. Removed.

  • I would understand the commit subject better if "libteec, pkgconfig file: use plain namespec name" were instead "libteec: pkgconfig: rename libteec.pc as teec.pc"
  • " libteec, pkgconfig file: remove duplicate flag": make that "libteec: pkgconfig: remove duplicate flag in teec.pc"
  • Then "libteeacl: add pkgconfig file" could be "libteeacl: add pkgconfig file: teeacl.pc"

Agree and reworded. Also Acked-by:, thanks!

Copy link
Contributor

@etienne-lms etienne-lms left a comment

Choose a reason for hiding this comment

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

In commit message for "libteeacl: add pkgconfig file: teeacl.pc": s/it's/its/

libteec/teec.pc.in Outdated Show resolved Hide resolved
@eaaltonen
Copy link
Contributor Author

In commit message for "libteeacl: add pkgconfig file: teeacl.pc": s/it's/its/

fixed, thanks.

Copy link
Contributor

@etienne-lms etienne-lms left a comment

Choose a reason for hiding this comment

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

Acked-by: Etienne Carriere <[email protected]> FWIW.

Switch naming convention of the pkgconfig metadata file use the plain
namespec without the lib prefix.

While both forms are permitted, the man page of pkg-config[1] has more
examples of metadata files without a lib prefix. Similarly the uuid
metadata file that teeacl uses to link is named simply `uuid.pc`.
Additionally the lib prefix does not provide extra information, and
long lists of pkgconfig metadata files are easier to read with just the
plain namespec.

[1]: https://linux.die.net/man/1/pkg-config

Signed-off-by: Eero Aaltonen <[email protected]>
Acked-by: Jerome Forissier <[email protected]>
Acked-by: Etienne Carriere <[email protected]>
pkg-config --static --libs includes the libraries specified in Libs, so
there's no need to repeat them in Libs.private.

Signed-off-by: Eero Aaltonen <[email protected]>
Acked-by: Jerome Forissier <[email protected]>
Acked-by: Etienne Carriere <[email protected]>
Add a pkgconfig file to libteeacl, so that the library and its headers
can be found from wherever they have been installed.

Signed-off-by: Eero Aaltonen <[email protected]>
Acked-by: Jerome Forissier <[email protected]>
Acked-by: Etienne Carriere <[email protected]>
@eaaltonen
Copy link
Contributor Author

Acked-by: Etienne Carriere [email protected]

acked-by, thanks.

@jforissier jforissier merged commit 7749688 into OP-TEE:master Mar 13, 2024
3 checks passed
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.

3 participants