Github messages for voidlinux
 help / color / mirror / Atom feed
From: jaminW55 <jaminW55@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: Package request: Gazou
Date: Wed, 10 Jan 2024 19:32:44 +0100	[thread overview]
Message-ID: <20240110183244.Zuj_URz4X4Tm7lsCHaRLuJtGZg2QxG5t_GK7BaQX_fM@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-48156@inbox.vuxu.org>

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

New comment by jaminW55 on void-packages repository

https://github.com/void-linux/void-packages/issues/48156#issuecomment-1885404699

Comment:
```
# Template file for 'gazou'
pkgname=gazou
version=0.3.3
revision=1
build_style=cmake
configure_args="-DGUI=ON"
makedepends="qt5-devel tesseract-ocr-devel leptonica-devel qt5-x11extras-devel"
hostmakedepends="pkg-config"
short_desc="Japanese and Chinese OCR application"
maintainer="jaminW <jaminW55@gmail.com>"
license="GPL-3.0"
homepage="https://github.com/kamui-fin/gazou"
distfiles="https://github.com/kamui-fin/gazou/archive/refs/tags/v${version}.tar.gz"
checksum=b939ebfaca7fa5703025328c5cb670e8718aaeace11eaadcbde506b0eb6c04e2


#if [ "$build_option_gui" ]; then
#    makedepends+=" qhotkey-devel"
#fi

do_fetch() {
    # Clone the repository with submodules
    git clone --recursive https://github.com/kamui-fin/gazou.git ${wrksrc}
    cd ${wrksrc}
    git submodule init
    git submodule update
}

do_configure() {
    cmake ${wrksrc} ${configure_args} -DBUILD_TESTING=OFF
}

do_build() {
    make
}

do_install() {
    make DESTDIR=${DESTDIR} install
}
```
I've started this one myself, but have had some issues building. I used the Nixpkg as my guide, which was built by me, but couldn't seem to fix the build issues. I referred to some other templates as reference and had it cross checked by a friend for some build specifics (I'm not entirely certain on the submodule part).

Primarily it seems to be failing on the qhotkey program, which is a separate program used by Gazou. I tried doing some things with it, but the template became very confusing and nothing was gained, so I've just kept a single, commented out line as reference.

Hopefully this template could help expedite the process?

  reply	other threads:[~2024-01-10 18:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-10 18:07 [ISSUE] " jaminW55
2024-01-10 18:32 ` jaminW55 [this message]
2024-02-05 23:18 ` [ISSUE] [CLOSED] " Piraty

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=20240110183244.Zuj_URz4X4Tm7lsCHaRLuJtGZg2QxG5t_GK7BaQX_fM@z \
    --to=jaminw55@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).