Skip to content

Add GConf2 dependency in rpm spec template - #16016

Merged
Daniel Imms (Tyriar) merged 1 commit into
microsoft:masterfrom
xadhoom:GConf2
Dec 14, 2016
Merged

Daniel Imms (Tyriar) merged 1 commit into
microsoft:masterfrom
xadhoom:GConf2

Conversation

@xadhoom

Copy link
Copy Markdown
Contributor

Fixes #16015

@mention-bot

Copy link
Copy Markdown

Matteo (@xadhoom), thanks for your PR! By analyzing the history of the files in this pull request, we identified Daniel Imms (@Tyriar), polygotdev and Andrew Stitcher (@astitcher) to be potential reviewers.

@msftclas

Hi Matteo (@xadhoom), I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, MSBOT;

URL: https://code.visualstudio.com/
Icon: @@NAME@@.xpm
Requires: glibc >= 2.15
Requires: GConf2

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for the PR! Will this work for both 32 and 64 bit across most distributions? We had some issues with libXss.so.1 where installation failed because the package was not found in the local package manager..

@xadhoom Matteo (xadhoom) Nov 29, 2016 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yes, because I'm mentioning a package name and not a library name.
When you mention a package name, if you omit the arch, the current system arch will be used.
(is also possible to force the arch on a package dep but I'm not doing it on purpose).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The problem with libXss though was that the package name differed depending on the OS, some were libXss, some were libXScrnSaver I believe.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think we actually want to do what we do for libXss.so.1 here and have a separate one for 64-bit and 32-bit:

libgconf-2.so.4

libgconf-2.so.4()(64bit)

Chromium seems to do it this way in https://cs.chromium.org/chromium/src/chrome/installer/linux/rpm/expected_deps_x86_64?dr=C&sq=package:chromium

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I'll follow up with this, thanks for the contribution 😄

@Tyriar
Daniel Imms (Tyriar) merged commit d9f50bd into microsoft:master Dec 14, 2016
@github-actions github-actions Bot locked and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory

4 participants