Github messages for voidlinux
 help / color / mirror / Atom feed
From: sgn <sgn@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [ISSUE] [CLOSED] cmake style removes subdir from git top tree, how to handle repo with CMakeLists.txt in the subdir of the git repo?
Date: Fri, 15 Dec 2023 04:17:18 +0100	[thread overview]
Message-ID: <20231215031718.mXSali_8BjNLejiK0OHhLOejpiF29k2N6npQP7dx1pk@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-47761@inbox.vuxu.org>

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

Closed 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?

  parent reply	other threads:[~2023-12-15  3:17 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-14 23:47 [ISSUE] " michalszmidt
2023-12-15  3:14 ` sgn
2023-12-15  3:17 ` [ISSUE] [CLOSED] " sgn
2023-12-15  3:17 ` sgn [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231215031718.mXSali_8BjNLejiK0OHhLOejpiF29k2N6npQP7dx1pk@z \
    --to=sgn@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).