Package Details: path-of-building-community-git 2.49.3.r8315.62.517-1

Git Clone URL: https://aur.archlinux.org/path-of-building-community-git.git (read-only, click to copy)
Package Base: path-of-building-community-git
Description: An offline build planner for Path of Exile using PoBFrontend, LocalIdentity's fork
Upstream URL: https://github.com/PathOfBuildingCommunity/PathOfBuilding
Licenses: MIT
Submitter: bcareil
Maintainer: matthewq337 (LordBlick)
Last Packager: LordBlick
Votes: 28
Popularity: 0.48
First Submitted: 2020-03-14 08:43 (UTC)
Last Updated: 2024-12-08 12:54 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 .. 9 Next › Last »

zaoo commented on 2024-04-28 16:13 (UTC) (edited on 2024-04-28 16:15 (UTC) by zaoo)

Hi! We at official PoB are working toward making string operations in Lua more UTF-8 aware when it comes to matching, reversing, caret movement, etc.

This is to make I/O and path operations support Unicode properly on Windows through filthy hacks to the LuaJIT runtime and changes to the SimpleGraphic implementation.

We're going to use the luautf8 compiled extension module to add new functionality to Lua as can be seen in the WIP PR for this to do this work in the main repository. You can test this with something like the following in one of the Lua scripts:

local utf8 = require('lua-utf8')

The build of the extension works pretty much the same as the previous dependencies on Lua-cURLv3 and LZip, see the CMakeLists.txt of the SimpleGraphic wide I/O branch to see how we build it.

You may also have to look into how pobfrontend deals with Unicode text and caret positioning these days, be prepared to start seeing UTF-8 in string functions and filesystem operations, but as Linux is UTF-8 by default these days it's probably not too bad.

DeGun commented on 2024-03-29 11:33 (UTC) (edited on 2024-03-29 11:37 (UTC) by DeGun)

Ошибка установки.


==> Получение исходных файлов...
  -> Клонирование репозитория 'PathOfBuilding' (git)...
Клонирование в голый репозиторий «/var/tmp/pamac-build-degun/path-of-building-community-git/PathOfBuilding»...
error: RPC failed; curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 0
error: 5529 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: неожиданный конец файла
fatal: fetch-pack: invalid index-pack output
==> ОШИБКА: Ошибка при загрузке репозитория 'PathOfBuilding' (git)
    Прерывание...
Не удалось собрать path-of-building-community-git

Tanghe commented on 2024-03-29 07:12 (UTC)

All those mirrors apear to be down.

heyimnyl commented on 2024-03-28 22:53 (UTC)

updated pkgbuild. maybe I forgot to update pkgrel to 2 in .SRCINFO but I'll leave that for the next temporary maintaner, lets call it a breadcrumb :)

building clean from source should work now. gl hf

siriusb commented on 2024-03-28 13:33 (UTC)

Well, after looking into it I think the disable devmode path is outdated since the line numbers seems to be out of sync. Removing this from prepare() function in PKGBUILD the package is created successfully. I'm not familiar with this stuff so I can't get where's the source of the file or how to get it corrected.

siriusb commented on 2024-03-28 12:16 (UTC)

I encountered the same problem. Does anyone have a solution?

Hunk #1 FAILED at 42.

I get a failure on the latest version, does anyone get this when trying to apply patches?

iliekturtles commented on 2024-03-27 22:32 (UTC) (edited on 2024-03-27 22:33 (UTC) by iliekturtles)

Here is @LordBlick's patch in gist form. I had issues copying from the browser because tabs were replaced with spaces.

https://gist.github.com/iliekturtles/0ce95587628389caeaf6679da772abd6

With paru I used the following steps to apply:

 > # Use --fm (file manager) to force paru to pause an allow for the patch to be applied.
 > paru --fm nvim -S path-of-building-community-git
 > # In a separate terminal apply the patch.
 > cd ~/.cache/paru/clone/path-of-building-community-git
 > patch -i pob.patch

LordBlick commented on 2024-03-27 08:48 (UTC) (edited on 2024-03-27 08:49 (UTC) by LordBlick)

I've got fix, which builds well, but have no idea how to put a merge request on AUR, so I just leave here git diff d15403fba12f255969d2d50a552e546f635bf3d2 output:

diff --git a/PKGBUILD b/PKGBUILD
index fb9abb8..d6e7f5d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,12 +1,12 @@
 # Maintainer: bcareil <baptiste.careil@gmail.com>

 pkgname='path-of-building-community-git'
-pkgrel=1
+pkgrel=2
 pkgdesc="An offline build planner for Path of Exile using PoBFrontend, LocalIdentity's fork"
 arch=('x86_64')
 url='https://github.com/PathOfBuildingCommunity/PathOfBuilding'
 license=('MIT')
-pkgver=2.41.0.1bed7eb
+pkgver=2.41.1.r7815.62.517

 depends=('zlib' 'qt6-base' 'luajit' 'libgl' 'curl' 'ttf-liberation' 'ttf-bitstream-vera')
 makedepends=('meson' 'ninja' 'unzip' 'rsync' 'git')
@@ -30,7 +30,7 @@ sha256sums=(
    '6d21872a2b2bdbfaebb20de5cac28ac402316e5314c97a89049320ff13c2f622'
    '30118e22623b645a5e2cc81240fcf36d5189613383a09d1225aa3a76f7eba245'
    '9dbc8802b74ceed78f1a6ba1d5b90251f5ae7f9a8cf5497426e4a35001112fcd'
-   'cd46475a1bc62240e03abb6b385b0c9b0b911ad828219fd31f98f7742807f935'
+   'cab009c706747d45f654a3afc2a3cde3a650eb84cd4230353b40df5a4ad1d68b'
    '2467d10c7b5e201e337ba334a829e293a07027251bcda2b1f39774a62e8ff194'
    'a64198061f60168ec07df33c37948e343eced7eeafe574cc20bdcf3a1d480cbc'
    '079eff1a5e74cb6d776723f7c3d36349e426edaa332a8177ff8f5e78af56cf64'
diff --git a/PathOfBuilding-force-disable-devmode.patch b/PathOfBuilding-force-disable-devmode.patch
index 6f697bb..d61c389 100644
--- a/PathOfBuilding-force-disable-devmode.patch
+++ b/PathOfBuilding-force-disable-devmode.patch
@@ -1,17 +1,17 @@
 diff --git a/src/Launch.lua b/src/Launch.lua
-index 0673314..39800ae 100644
+index 0775ec4dc..a5113655c 100644
 --- a/src/Launch.lua
 +++ b/src/Launch.lua
-@@ -51,7 +51,7 @@ function launch:OnInit()
+@@ -56,7 +56,7 @@ function launch:OnInit()
    if localManXML and not self.versionBranch and not self.versionPlatform then
        -- Looks like a remote manifest, so we're probably running from a repository
        -- Enable dev mode to disable updates and set user path to be the script path
 -      self.devMode = true
 +      self.devMode = false
    end
-   RenderInit()
-   ConPrintf("Loading main script...")
-@@ -286,6 +286,8 @@ function launch:ApplyUpdate(mode)
+   local installedFile = io.open("installed.cfg", "r")
+   if installedFile then
+@@ -324,6 +324,8 @@ function launch:ApplyUpdate(mode)
  end

  function launch:CheckForUpdate(inBackground)
@@ -20,7 +20,7 @@ index 0673314..39800ae 100644
    if self.updateCheckRunning then
        return
    end
-@@ -302,6 +304,7 @@ function launch:CheckForUpdate(inBackground)
+@@ -340,6 +342,7 @@ function launch:CheckForUpdate(inBackground)
        self.updateCheckRunning = true
    end
    update:close()
@@ -29,13 +29,13 @@ index 0673314..39800ae 100644

  function launch:ShowPrompt(r, g, b, str, func)
 diff --git a/src/Modules/Main.lua b/src/Modules/Main.lua
-index 1af88e0..683fc33 100644
+index 39385efab..144e072ef 100644
 --- a/src/Modules/Main.lua
 +++ b/src/Modules/Main.lua
-@@ -42,7 +42,7 @@ function main:Init()
-   self.modes["LIST"] = LoadModule("Modules/BuildList")
-   self.modes["BUILD"] = LoadModule("Modules/Build")
- 
+@@ -73,7 +73,7 @@ function main:Init()
+   if not ignoreBuild then
+       self:SetMode("BUILD", false, "Unnamed build")
+   end
 -  if launch.devMode or (GetScriptPath() == GetRuntimePath() and not launch.installedMode) then
 +  if launch.devMode and (GetScriptPath() == GetRuntimePath() and not launch.installedMode) then
        -- If running in dev mode or standalone mode, put user data in the script path

I've got it installed already, it runs and loads my stored builds as well:

 ~ pamac list --installed | grep path-of-building
path-of-building-community-git               2.41.1.r7815.62.517-2       AUR       315.7 MB

Have fun with incoming Necropolis league ;)