poetaster | rinigus, piggz[m] if I want to build kf5 stuff I need to get it into chum first, correct? | 09:47 |
---|---|---|
rinigus | poetaster: not really. I would suggest the following: make a repo for packaging at github and make sure it works at your obs. then transfer the repo to github/chum and submit to chum obs. we will make you maintainer at github for that repo and the one at obs | 09:51 |
rinigus | repeat for the next lib | 09:51 |
piggz[m] | You can create a sub project in your home, and add chum as a dependency | 09:51 |
piggz[m] | Or, what rinigus said :) | 09:51 |
rinigus | if we do that way, we will be able to auto-update then all those kf5 libs in one go, which is probably what you want as well | 09:51 |
rinigus | as piggz said, you would need to add obs dependency on chum as well for testing. that way we compile on our obs projects too | 09:52 |
piggz[m] | Look in my subproject optqt for example | 09:56 |
poetaster | piggz[m], ok. will do. | 10:14 |
poetaster | first one: https://build.sailfishos.org/package/show/home:poetaster:qt5.15/opt-kf5-kcompletion | 10:14 |
poetaster | piggz[m], did you mean optqtbuilds ? I'll try to add chum by trial and error | 10:17 |
poetaster | ok. got it. building. | 10:20 |
piggz[m] | Ah, yes that one | 10:22 |
piggz[m] | Working from memory here :) | 10:22 |
poetaster | Hej, I'm the old frail guy :) | 10:23 |
poetaster | kcompletion is kinda elementary, I thought. | 10:23 |
poetaster | rinigus, adopt convention '5.105.0' release where appropriate? | 10:33 |
rinigus | poetaster: yes, we are on 5.105.0. note that you have to checkout that version in `upstream` | 10:43 |
poetaster | I think I did that wrong :) when you add the submodule, you specify ver I would guess | 10:44 |
rinigus | poetaster: it also fails to build | 10:45 |
rinigus | poetaster: in chum:testingf not compiling though | 10:49 |
poetaster | yes, because I have the module name and not the kcompletion in the name | 10:49 |
poetaster | hmmm. v5.99.0-rc1 is the last version of kcompletion. | 10:50 |
poetaster | hmmm. ECM (required version >= 5.240.0), Extra CMake Modules., <https://commits.kde.org/extra-cmake-modules> | 10:54 |
rinigus | use opt-extra-... | 10:55 |
rinigus | poetaster: ^ | 10:55 |
poetaster | I have it already, but the CMake asks for 5.2XX which is not going to work. So I think I find the correct version. | 11:02 |
poetaster | I need majmin_ver_kf5 http://download.kde.org/%{stable}/frameworks/%{majmin}/%{framework}-%{version}.tar.xz | 11:02 |
*** amccarthy is now known as Guest11551 | 11:04 | |
*** amccarthy_ is now known as amccarthy | 11:04 | |
poetaster | rinigus: | 11:33 |
poetaster | %find_lang_kf5 kitemviews5_qt means? | 11:33 |
poetaster | rinigus, almost got it: Directory not found: /home/abuild/rpmbuild/BUILDROOT/opt-kf5-kcompletion-5.105.0-1.7.1.jolla.aarch64/opt/qt5/include/KF5/KCompletion | 11:47 |
rinigus | poetaster: we usually have to add extra KF5 there... probably macros are mixed up a bit | 12:21 |
poetaster | rinigus, so add something like: %{_opt_kf5_includedir}/KF5/KCompletion/ to %files devel? | 12:27 |
poetaster | rinigus, ok, just locale files remain. | 12:36 |
rinigus | poetaster: we drop locale part next to %files and just add https://github.com/sailfishos-chum/kwidgetsaddons/blob/main/rpm/kf5-kwidgetsaddons.spec#L68 | 12:38 |
poetaster | rinigus, that should work. | 12:46 |
poetaster | %{_opt_kf5_datadir}/locale/*/LC_MESSAGES/kcompletion5_qt.qm might too ;) | 12:46 |
poetaster | rinigus, success. | 12:49 |
poetaster | rinigus, one last question. what's your process for adding the submodule? git submodule add & init? | 12:50 |
poetaster | rinigus, I just noticd that my path /upstream was not working after init and that checkout pulled the kcompletion root folder. I modified that in spec which works, but it's not like yours. | 12:51 |
rinigus | poetaster: I start with empty repository. then I run | 13:09 |
rinigus | git submodule add https://invent.kde.org/libraries/kpublictransport.git upstream | 13:09 |
rinigus | in that repository. then change to upstream subfolder and checkout the version: git checkout v5.105.0 | 13:10 |
rinigus | then back to packaging repo and "git add upstream". after that commit, get SPEC from fedora and modify that | 13:10 |
rinigus | one of the modifications is to make sure it unpacks taking into account "upstream" | 13:11 |
rinigus | poetaster: ^ | 13:11 |
rinigus | poetaster: its actually important that upstream is in folder "upstream". otherwise my scripts will not work for automatic update. please use those | 13:13 |
poetaster | hmmm. I did more or less that. I'll try again. | 13:17 |
poetaster | git submodule add --name upstream https://invent.kde.org/frameworks/kcompletion.git was my error. | 13:20 |
poetaster | rinigus, ok, upstream it is. | 13:33 |
poetaster | succeeds. | 13:33 |
poetaster | ergg. libX11-devel hmmm. | 13:52 |
poetaster | ah, kde, re-inventing qt, one library at a time. | 13:53 |
rinigus | poetaster: usually, you can drop all x11 requires | 14:02 |
poetaster | ok, I'll kick the tires. | 14:13 |
poetaster | rinigus, ] Could NOT find X11 (missing: X11_X11_INCLUDE_PATH X11_X11_LIB) | 14:24 |
poetaster | rinigus, looks like find low hanging fruit first. | 14:25 |
rinigus | poetaster: which lib is that? See if you can disable it in cmake | 15:20 |
poetaster | https://github.com/poetaster/kcrash | 15:24 |
rinigus | poetaster: use this: https://invent.kde.org/frameworks/kcrash/-/blob/master/CMakeLists.txt#L24 | 15:30 |
poetaster | thanks | 15:31 |
poetaster | rinigus, you had one or the other with a cmake patch. can you remember which? | 15:55 |
rinigus | poetaster: angelfish | 16:03 |
poetaster | thanks. don't know what's worse. climbiing on the roof to afix a new solar panel or writing kde cmake files. beer. | 16:12 |
poetaster | rinigus, btw, angelfish is great. it just is. | 16:13 |
rinigus | poetaster: I like it too :). but same for SFOS browser - in many aspects nice design. if you find something wrong with angelfish, feel free to send bug reports to https://bugs.kde.org and fixes to their gitlab instance | 17:24 |
poetaster | rinigus, so far, angelfish has been the best browser on SFOS since, errr, 2016. or earlier. | 20:00 |
poetaster | I'd say the qt 5.1X effort has been worth it for that reason alone. but we have a modern trip planner too :) | 20:01 |
piggz[m] | rinigus: poetaster not had much time tonight, have i missed any interesting updates? | 20:11 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!