Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] cmake style removes subdir from git top tree, how to handle repo with CMakeLists.txt in the subdir of the git repo?
@ 2023-12-14 23:47 michalszmidt
  2023-12-15  3:14 ` sgn
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: michalszmidt @ 2023-12-14 23:47 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1889 bytes --]

New issue by michalszmidt on void-packages repository

https://github.com/void-linux/void-packages/issues/47761

Description:
<!--
  if you are creating a bug report or package request, please fill out one of the forms here:
  https://github.com/void-linux/void-packages/issues/new/choose

  Don't request an update of a package, We have a script for that:
  https://repo-default.voidlinux.org/void-updates/void-updates.txt
  However, a quality pull request may help.
-->

```ini
# Templaet file for Koi

pkgname=Koi
version=0.2.4
revision=1
build_style=cmake
configure_args="-DCMAKE_INSTALL_PREFIX=/usr"
hostmakedepends="pkg-config"
makedepends="extra-cmake-modules kcoreaddons-devel qt5-core qt5-dbus qt5-test qt5-core qt5-network kwidgetsaddons-devel hicolor-icon-theme kpackage-devel kcoreaddons-devel kconfig-devel desktop-file-utils fdupes"
short_desc="Switch between light and dark themes on KDE Plasma"
maintainer="Michał Szmidt <michal.sz@disroot.org>"
license="LGPL-3.0"
homepage="https://github.com/baduhai/Koi"
distfiles="https://github.com/baduhai/Koi/archive/refs/tags/${version}.tar.gz"
checksum=e8c976f4f635bed614124fa6afb8853cc9669ec9132c16b140cc64fb4be0166b
```

[This cmake project](https://github.com/baduhai/Koi) has CMakeLists.txt in the src subdir of the git repo, I opened issue addressing it.

https://github.com/baduhai/Koi/issues/77

I could not find any way to make xbps-src handle it correctly

I have tried:
1. According to https://github.com/void-linux/void-packages/issues/20878 I've set up `build_wrksrc` var. It ended with error `could not enter build_wrksrc`. This is weird as when I did `ls -lah` in there `src/` has been deleted (dunno what phase it was).
2. Trying to `mv src/* .` with similar issue of `src/` subdir being deleted in some previous stage.

Does cmake build style delete subdirs from git top tree?

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-12-19 14:26 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-14 23:47 [ISSUE] cmake style removes subdir from git top tree, how to handle repo with CMakeLists.txt in the subdir of the git repo? michalszmidt
2023-12-15  3:14 ` sgn
2023-12-15  3:17 ` [ISSUE] [CLOSED] " sgn
2023-12-15  3:17 ` sgn
2023-12-15  3:19 ` sgn
2023-12-18 20:11 ` michalszmidt
2023-12-19  2:42 ` sgn
2023-12-19  4:42 ` classabbyamp
2023-12-19 14:26 ` michalszmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).