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

Manjaro WIP #39

Merged
merged 38 commits into from
Nov 12, 2021
Merged

Manjaro WIP #39

merged 38 commits into from
Nov 12, 2021

Conversation

Invertisment
Copy link
Contributor

@Invertisment Invertisment commented Nov 11, 2021

This is my try to port it. I didn't try to make it pretty but this is what I have. And it doesn't work.

wheel is not needed but I wanted to compile PyGObject so I added it (somebody suggested it).

It fails when it tries to build PyGObject.

This OS package:
gobject-introspection-1.70.0-2-x86_64 fails to install because every mirror responds with 404.
(sudo pacman -S gobject-introspection)

And if I don't install it then I get this error (from pip):

  running build_ext
  Package gobject-introspection-1.0 was not found in the pkg-config search path.
  Perhaps you should add the directory containing `gobject-introspection-1.0.pc'
  to the PKG_CONFIG_PATH environment variable
  Package 'gobject-introspection-1.0', required by 'virtual:world', not found
  Command '('pkg-config', '--print-errors', '--exists', 'gobject-introspection-1.0 >= 1.56.0')' returned non-zero exit status 1.
  ----------------------------------------
  ERROR: Failed building wheel for PyGObject
Failed to build PyGObject
ERROR: Could not build wheels for PyGObject, which is required to install pyproject.toml-based projects

More details:
#38 (comment)

salihmarangoz and others added 30 commits October 3, 2021 09:20
solved turn off problem. moved into monocolor section.
changed to signal-slot method instead of directly calling show/hide s…
# Source: https://github.com/gfduszynski/cm-rgb/issues/45#issuecomment-920936950
sudo pacman -S \
cairo \
gobject-introspection \
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This fails with 404

Copy link
Owner

Choose a reason for hiding this comment

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

I have tested with Manjaro 21.1.6 live boot environment and it as working. Is it still a problem for you?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have Manjaro 21.2.0 and for some reason the package didn't install.
I'll try again.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I found my bug.
I had switched Manjaro branches from stable to unstable. Then back. And I didn't update the repository links.
Turns out that my scripts were working 🎉 👍

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Confirmed. Works.

scipy
wheel
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added because I tried to build PyGObject


####################################################
echo "2. Create new virtual environment"
sudo pacman -S python-virtualenv
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is not python3.8-virtualenv but I think it should work

@salihmarangoz salihmarangoz changed the base branch from main to dev November 12, 2021 00:40
@salihmarangoz salihmarangoz merged commit 8b79d3f into salihmarangoz:dev Nov 12, 2021
@salihmarangoz
Copy link
Owner

salihmarangoz commented Nov 12, 2021

I got it working with a live Manjaro USB! Will be updating the installation. Thank you for your contribution.

salihmarangoz added a commit that referenced this pull request Nov 12, 2021
* Manjaro WIP (#39)

* testing

* testing

* testing update again

* testing

* working update checks

* removed test files

* Manjaro WIP

Co-authored-by: salihmarangoz <12991962+salihmarangoz@users.noreply.github.com>
Co-authored-by: salihmarangoz <salih285@gmail.com>

* updated files for manjaro adaptation. still needs more work

* fixed installation for manjaro

Co-authored-by: Martynas M <invertisment+gh@pm.me>
@salihmarangoz
Copy link
Owner

@Invertisment I have updated the installation. Read the Installation section in the README.md again. In general, base-devel meta package solved the issue on Manjaro. I think it is related to development tools, etc.

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.

2 participants