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

Debian-12: building and installing #16

Open
kolAflash opened this issue Jun 22, 2023 · 1 comment
Open

Debian-12: building and installing #16

kolAflash opened this issue Jun 22, 2023 · 1 comment

Comments

@kolAflash
Copy link

kolAflash commented Jun 22, 2023

Base instructions: https://github.com/zzag/kwin-effects-cube#building-from-git

There are additional dependencies needed for qtquick3d.

And I don't like to do sudo make install "wildly" putting files into /usr.
This will build DEB packages which can be installed using dpkg -i ....

mkdir -p kwin-effects-cube_2.0.0-1_amd64/DEBIAN
mv -i usr/ kwin-effects-cube_2.0.0-1_amd64/
vi kwin-effects-cube_2.0.0-1_amd64/DEBIAN/control
----------
Maintainer: Alice <[email protected]>
Homepage: https://github.com/zzag/kwin-effects-cube
Section: kde
Priority: optional
Version: 2.0.0
Package: kwin-effects-cube
Architecture: amd64
Depends: kwin
Description: 3D cube effect for KDE Plasma desktop.
 This is a basic desktop cube effect for KWin.
 It's primarily intended to help you impress your friends with what one can do on "Linux."
 This package is a rewrite of the original effects which got deprecated.
----------
dpkg-deb --build --root-owner-group kwin-effects-cube_2.0.0-1_amd64
sudo apt install qtbase5-private-dev qtdeclarative5-private-dev
wget 'https://download.qt.io/official_releases/qt/5.15/5.15.10/submodules/qtquick3d-everywhere-opensource-src-5.15.10.tar.xz'
tar -xf qtquick3d-everywhere-opensource-src-5.15.10.tar.xz
cd qtquick3d-everywhere-src-5.15.10
qmake qtquick3d.pro
make -j$(nproc)
INSTALL_ROOT=/without/root/writeable/path make install
mkdir -p qtquick3d_5.15.10-1_amd64/DEBIAN
mv -i usr/ qtquick3d_5.15.10-1_amd64/
vi qtquick3d_5.15.10-1_amd64/DEBIAN/control
----------
Maintainer: Alice <[email protected]>
Version: 5.15.10
Package: qtquick3d
Architecture: amd64
Description: qtquick3d
----------
dpkg-deb --build --root-owner-group qtquick3d_5.15.10-1_amd64

See also: https://bugs.kde.org/show_bug.cgi?id=438883#c68

 

P.S.
Thanks @zzag
Wishing peace, democracy and freedom for the people of your country!

@slynobody
Copy link

Thank you!

any idea how to solve this? qtopengl-dev is installed as well as all other deps.

Some of the required modules (qtHaveModule(quick) qtHaveModule(openglextensions)) are not available.

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

No branches or pull requests

2 participants