Package Details: translatelocally-git r508.a210037-2

Git Clone URL: https://aur.archlinux.org/translatelocally-git.git (read-only, click to copy)
Package Base: translatelocally-git
Description: Fast and secure translation on your local machine, powered by marian and Bergamot.
Upstream URL: https://translatelocally.com
Licenses: MIT
Submitter: Dheart
Maintainer: Dheart
Last Packager: Dheart
Votes: 3
Popularity: 0.51
First Submitted: 2021-05-03 15:36 (UTC)
Last Updated: 2024-05-12 14:33 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

Dheart commented on 2023-12-07 01:42 (UTC)

@yochananmarqos any reason CMAKE_BUILD_TYPE is set to None? We set release so we can set the proper optimisation flags. Does this interfere with the CFLAGS and CXXFLAGS set in makepkg.conf. I've seen other PKGBUILDs do unset CFLAGS && unset CXXFLAGS. Would that be a preferred approach?

yochananmarqos commented on 2023-12-07 01:33 (UTC)

@Dheart: The goal is to not have anything downloaded during build. Sources should be in the source() array and anything else like submodules should be done in the prepare() function.

Since there are a lot of submodules and it would be more work to keep track of them all, I've updated my PKGBUILD to just fetch them recursively.

Dheart commented on 2023-12-07 01:09 (UTC)

@yochananmarqos thanks for the improved PKGBUILD. Before I update it, just a quick question: Why put the submodules inside the PKGBUILD? We use a cmake hook to fetch them precisely because we have many and we might add new ones at some point. THE VCS package guidelines do not explain well why the way you have done it is the preferred way of handling.

clang was a thing because compilation was broken with GCC for a while, haven't checked if it's fixed.

yochananmarqos commented on 2023-12-06 22:13 (UTC)

  • Members of base-devel are not required in makedepends(), it's assumed they're already installed
  • This does not depend on intel-oneapi-mkl, it's only required to build
  • Using clang is not necessary
  • There are many submodules, please see VCS package guidelines

Improved PKGBUILD

Dheart commented on 2022-08-16 09:23 (UTC)

@rezad, I don't think I can reproduce this? Could you open an issue on github, where we can more easily interact: https://github.com/XapaJIaMnu/translateLocally/issues

Is it the popup titled First run that creates the issue?

rezad commented on 2022-08-16 01:42 (UTC)

@Dheart thanks but it now has a bug that it creates infinite popup boxes asking to download models from internet.

Dheart commented on 2022-08-15 14:05 (UTC)

@rezad, arch has recently switched to qt6 builds so the package defaults to building for qt6. I have changed the PKGBUILD to reflect that.

rezad commented on 2022-08-15 00:42 (UTC) (edited on 2022-08-15 00:42 (UTC) by rezad)

I get this error

Building translateLocally-v0.0.2+4b965cd
Linking to libarchive /usr/lib/libarchive.so
-- Could NOT find Qt6LinguistTools (missing: Qt6LinguistTools_DIR)
CMake Error at CMakeLists.txt:97 (find_package):
  Found package configuration file:

    /usr/lib64/cmake/Qt6/Qt6Config.cmake

  but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT
  FOUND.  Reason given by package:

  Failed to find Qt component "LinguistTools".

  Expected Config file at
  "/usr/lib64/cmake/Qt6LinguistTools/Qt6LinguistToolsConfig.cmake" does NOT
  exist

somini commented on 2022-06-16 02:28 (UTC)

@Dheart Thanks. Can confirm it works now.