Comments (14)
I use this rules file for making a deb package that contains both plugins for Debian: https://dl.dropboxusercontent.com/u/7793460/rules
By contrast, most package maintainers (deb, rpm, arch) prefer separate packages for Qt4 and Qt5.
from kvantum.
Oh, you mean something like cmake. It occurred to me but I've always preferred qmake over cmake. However, I'll think about it.
from kvantum.
Let me explain why i put this issue :)
rpm cannot have two build sections in spec file (macros for build and packaging), so i have to prepare two different package build sets, that's not critical, but inconvenient a bit
from kvantum.
but, in single spec very possible to separate compiled and installed files with dependencies in different packages
from kvantum.
rpm cannot have two build sections in spec file...
Are you sure about that? I thought the same thing about deb but it turned out to be wrong after I experimented with the rules file (the counterpart of spec file). That was the reason I added a link above.
For now I have no rpm based system to test but I may install one on VirtualBox when I have free time.
from kvantum.
To be more specific, I added the Qt5 build/installation AFTER the Qt4 one and apparently in the installation section of the rules file. And that worked. distclean was an asset.
from kvantum.
I did a dirty hack to workaround. Put make install (qmake, make, make install, make distclean, qmake-qt5, make, make install) in %build section and leave %install section empty. On local machine that's worked:)
Will try on build server later. But, I still think it's not nice way :)
from kvantum.
I'd call that an elegant innovation instead of a "dirty hack" ;)
However, I'll try to add a cmake file as I don't think cmake and qmake are mutually exclusive.
from kvantum.
I'm working on CMakeLists files but that alone would make no difference for packaging unless Kvantum is divided into two separate directories, one for Qt4 and the other for Qt5 (like in QtCurve). That division is something I've avoided from start.
As far as I see, the distclean trick in the rules/spec file is the best approach but if you know of a better one (without separate Qt4 and Qt5 branches), please tell me.
from kvantum.
Well. I think, no one will kill me, if i use such trick in build service. So, there the packages for openSUSE: http://software.opensuse.org/package/kvantum
from kvantum.
OK. Just a suggestion: The doc folder in the source (containing documentation on theme config and theme making) could go to the doc installation folder.
After reading the spec file decription section, I realized that I shouldn't have referred to QuantumStyle when describing Kvanum in README. I'll change that later. This is the description I use in the deb package:
Kvantum is an SVG-based theme engine for Qt4/Qt5 and KDE. It has a default dark theme but goes far beyond it: you could make themes with very different looks and feels for it and Kvantum will let you control almost every aspect of Qt widgets.
from kvantum.
I added extra documentation to -doc package and changed description
from kvantum.
Excellent!
from kvantum.
CMake support is added (mainly for Fedora, that has problem with qmake). Closing this.
from kvantum.
Related Issues (20)
- Label left/right specification swapped when layout direction is changed! HOT 5
- When will QT6 be available on Flatpak? HOT 4
- Feature request: Add disabled state to all items that can be disabled HOT 1
- indeterminate progressbar is broken on every kvantum theme HOT 6
- segmentation fault in kvantum 1.0.8-1 HOT 7
- Question: Column Sizing Issue (Demonstrated with transmission-qt) HOT 3
- Will there be Kvantum for Flatpak apps using Qt6? HOT 3
- no instant update of windows HOT 2
- transparency not working with pcmanfm-qt HOT 27
- Please add Qt6 support to Kvantum HOT 1
- [qt6] Kvantum is not installed on your system (Kvantum style) HOT 14
- impossible to compile preview/manager as qt6 HOT 2
- Qt6 doesn't seem to respect Xft.dpi HOT 7
- Allow building only for Qt6 HOT 3
- Option to always show keyboard accelerators (ie: without needing to press Alt key) HOT 1
- YaST modules are not transparent HOT 12
- Some of the redesigned KDE apps. are not displaying properly HOT 7
- Insufficient text contrast in Audiotube (Kirigami Application) HOT 4
- Scribus font selection drop down menus are garbled when using Kvantum themes HOT 1
- Toolbar transparency HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kvantum.