Package Details: openmw-git 0.48.0.r5496.g8471cfb576-1

Git Clone URL: https://aur.archlinux.org/openmw-git.git (read-only, click to copy)
Package Base: openmw-git
Description: An open-source engine reimplementation for the role-playing game Morrowind.
Upstream URL: http://www.openmw.org
Licenses: custom, MIT, GPL-3.0-or-later
Conflicts: openmw
Provides: openmw
Submitter: None
Maintainer: bwrsandman (Lone_Wolf)
Last Packager: Lone_Wolf
Votes: 30
Popularity: 0.000591
First Submitted: 2011-01-05 16:17 (UTC)
Last Updated: 2024-06-25 12:42 (UTC)

Pinned Comments

Lone_Wolf commented on 2022-06-17 10:07 (UTC)

openmw-git has been found to require a sizable amount of temporary space during building.

The available amount depends on system specifics so is different for all systems. In case build fails with "no space left on device" you may be bitten by this.

See https://bbs.archlinux.org/viewtopic.php?id=277304 for details and possible solutions.

bwrsandman commented on 2016-09-24 14:59 (UTC) (edited on 2018-11-22 17:28 (UTC) by bwrsandman)

Please refrain from flagging the git version as out date when a new release comes out. The git aur packages update their version on install time based on the tags of the git repo.

Keep in mind that this is a VCS package and it is meant to be in line with the latest master which might not always work. It is not meant to follow the release pattern in any particularly smart way and assumes that upstream maintains their tags consistently.

For the newest release, the correct page is https://www.archlinux.org/packages/?q=openmw

Latest Comments

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

Le_Limule commented on 2023-03-22 12:10 (UTC)

@Lone_Wolf: thanks, i go the right way now: it works.

Lone_Wolf commented on 2023-03-22 11:04 (UTC)

@Le_Limule : you went the wrong way, now repo packages build against boost 1.80 will fail. A better solution would be to rebuild openmw-git against the new boost version.

@txtsd: LGTM , but I haven't had time to check it thoroughly . I would also prefer it if bwrsandman made such decisions.

For now users can manually edit the PKGBUILD with the first (simpler) patch provided by txtsd.

Le_Limule commented on 2023-03-22 08:54 (UTC)

Since a system upgrade i get: openmw-launcher: error while loading shared libraries: libboost_program_options.so.1.79.0: cannot open shared object file: No such file or directory

I remove the boost package. Then i downgrade the boost-libs package from 1.80 to 1.79. It's ok now.

txtsd commented on 2023-03-21 13:56 (UTC) (edited on 2023-03-21 13:56 (UTC) by txtsd)

Alright I got it done. It is commented so it shouldn't be difficult to follow. Here's a patch, and if you add me as a co-maintainer, I can push it myself. I maintain several packages on the AUR.

From 6b9c0b882046055969a47aefbad26ea32f5c7d26 Mon Sep 17 00:00:00 2001
From: txtsd <code@ihavea.quest>
Date: Tue, 21 Mar 2023 19:23:43 +0530
Subject: [PATCH] Build $pkgver from CMakeLists.txt

Signed-off-by: txtsd <code@ihavea.quest>
---
 .SRCINFO |  2 +-
 PKGBUILD | 39 +++++++++++++++++++++++++++++++++++----
 2 files changed, 36 insertions(+), 5 deletions(-)

diff --git a/.SRCINFO b/.SRCINFO
index 3a33540..4e1bef8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
 pkgbase = openmw-git
    pkgdesc = An open-source engine reimplementation for the role-playing game Morrowind.
-   pkgver = 0.47.0.r4538.ga41cbfb349
+   pkgver = 0.49.0.r1543.g4b5de083d8
    pkgrel = 1
    url = http://www.openmw.org
    arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index ee076d6..1ed7270 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,9 @@
 # Maintainer : bwrsandman
 # Co-Maintainer: Lone_Wolf <lone_wolf@klaas-de-kat.nl>
+# Contributor: txtsd <aur.archlinux@ihavea.quest>

 pkgname=openmw-git
-pkgver=0.47.0.r4538.ga41cbfb349
+pkgver=0.49.0.r1543.g4b5de083d8
 pkgrel=1
 pkgdesc="An open-source engine reimplementation for the role-playing game Morrowind."
 arch=('i686' 'x86_64')
@@ -18,10 +19,40 @@ sha1sums=('SKIP')

 pkgver() {
   cd "${srcdir}/${pkgname%-git}"
-  _tag="$(git describe --tags --match 'openmw-[01]*' --abbrev=0 $(git rev-list --tags) | uniq | sed 's/openmw-//' | sort | tail -n1)"
-  _numcommits="$(git rev-list  openmw-$_tag..HEAD --count)"
+
+  # Find line numbers of semver segments
+  _ln_major=$(grep -Fn "set(OPENMW_VERSION_MAJOR " "${srcdir}/openmw/CMakeLists.txt"| cut -d : -f 1)
+  _ln_minor=$(grep -Fn "set(OPENMW_VERSION_MINOR " "${srcdir}/openmw/CMakeLists.txt"| cut -d : -f 1)
+  _ln_release=$(grep -Fn "set(OPENMW_VERSION_RELEASE " "${srcdir}/openmw/CMakeLists.txt"| cut -d : -f 1)
+
+  # Grab semver segments
+  _major=$(sed -En "s/set\(OPENMW_VERSION_MAJOR ([0-9])\)/\1/p" "${srcdir}/openmw/CMakeLists.txt")
+  _minor=$(sed -En "s/set\(OPENMW_VERSION_MINOR ([0-9]{1,2})\)/\1/p" "${srcdir}/openmw/CMakeLists.txt")
+  _release=$(sed -En "s/set\(OPENMW_VERSION_RELEASE ([0-9])\)/\1/p" "${srcdir}/openmw/CMakeLists.txt")
+
+  # Find commits when semver segment was last changed
+  _start_commit_major=$(git blame -L${_ln_major} CMakeLists.txt | head -n 1 | cut -d " " -f 1)
+  _start_commit_minor=$(git blame -L${_ln_minor} CMakeLists.txt | head -n 1 | cut -d " " -f 1)
+  _start_commit_release=$(git blame -L${_ln_release} CMakeLists.txt | head -n 1 | cut -d " " -f 1)
+
+  # Find number of commits since the semver segments were changed
+  _numcommits_since__major=$(git rev-list --count ${_start_commit_major}..HEAD)
+  _numcommits_since__minor=$(git rev-list --count ${_start_commit_minor}..HEAD)
+  _numcommits_since__release=$(git rev-list --count ${_start_commit_release}..HEAD)
+
+  # Find least number of commits since last semver segment change
+  _min=999999
+  for _num in ${_numcommits_since__major} ${_numcommits_since__minor} ${_numcommits_since__release}; do
+    if ((_num < _min)); then
+      _min=$_num
+    fi
+  done
+
+  # r and g parts of the $pkgver
+  _numcommits=$_min
   _hash="$(git rev-parse --short HEAD)"
-  printf "%s.r%s.g%s" "$_tag" "$_numcommits" "$_hash"
+
+  printf "%d.%d.%d.r%d.g%s" "$_major" "$_minor" "$_release" "$_numcommits" "$_hash"
 }

 build() {
-- 
2.40.0

Lone_Wolf commented on 2023-03-21 09:30 (UTC) (edited on 2023-03-21 09:31 (UTC) by Lone_Wolf)

That results in a 0.48something pkgver ?

The main CMakeLists.txt has the correct version (currently 0.49 ) in these 3 lines

set(OPENMW_VERSION_MAJOR 0)
set(OPENMW_VERSION_MINOR 49)
set(OPENMW_VERSION_RELEASE 0)

If someone can figure out how to use that for pkgver() it would be great.

txtsd commented on 2023-03-20 23:40 (UTC)

Here's a patch to make it work.

From 6a1b51972d66d954ab1066758b79306ad79d9da9 Mon Sep 17 00:00:00 2001
From: txtsd <code@ihavea.quest>
Date: Tue, 21 Mar 2023 04:49:34 +0530
Subject: [PATCH] Handle new openmw-48-rc* tag format

Signed-off-by: txtsd <code@ihavea.quest>
---
 .SRCINFO |  2 +-
 PKGBUILD | 12 +++++++++---
 2 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/.SRCINFO b/.SRCINFO
index 3a33540..df1f366 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
 pkgbase = openmw-git
    pkgdesc = An open-source engine reimplementation for the role-playing game Morrowind.
-   pkgver = 0.47.0.r4538.ga41cbfb349
+   pkgver = 0.48.0.rc8.r1554.gffe0e01dfc
    pkgrel = 1
    url = http://www.openmw.org
    arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index ee076d6..78c8961 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,9 @@
 # Maintainer : bwrsandman
 # Co-Maintainer: Lone_Wolf <lone_wolf@klaas-de-kat.nl>
+# Contributor: txtsd <aur.archlinux@ihavea.quest>

 pkgname=openmw-git
-pkgver=0.47.0.r4538.ga41cbfb349
+pkgver=0.48.0.rc8.r1554.gffe0e01dfc
 pkgrel=1
 pkgdesc="An open-source engine reimplementation for the role-playing game Morrowind."
 arch=('i686' 'x86_64')
@@ -18,8 +19,13 @@ sha1sums=('SKIP')

 pkgver() {
   cd "${srcdir}/${pkgname%-git}"
-  _tag="$(git describe --tags --match 'openmw-[01]*' --abbrev=0 $(git rev-list --tags) | uniq | sed 's/openmw-//' | sort | tail -n1)"
-  _numcommits="$(git rev-list  openmw-$_tag..HEAD --count)"
+  _pattern='^([0-9]{2})-rc([0-9]{1,2}$)'
+  _tag="$(git describe --tags $(git rev-list --tags --max-count=1) | sed 's/openmw-//')"
+  if [[ $_tag =~ $_pattern ]] ;
+  then
+    _tag=$(echo $_tag | sed -E 's/^([0-9]{2})-rc([0-9]{1,2}$)/0.\1.0.rc\2/')
+  fi
+  _numcommits="$(git rev-list  $(git rev-list --tags --no-walk --max-count=1)..HEAD --count)"
   _hash="$(git rev-parse --short HEAD)"
   printf "%s.r%s.g%s" "$_tag" "$_numcommits" "$_hash"
 }
-- 
2.40.0

txtsd commented on 2023-03-20 22:31 (UTC)

The tags follow a new format for the RC releases, which is why pkgver() breaks.

Rdolf561 commented on 2023-02-09 16:45 (UTC)

Latest pkgbuild is broken, produces pkgver "48-rc6.r1203.ga41cbfb349", but a pkgver with a hyphen in it is invalid and will not build. Renders latest update uninstallable for me

darkbasic commented on 2022-11-29 07:34 (UTC)

I've got it working on the Talos 2 (ppc64le) so Asahi shouldn't be an issue :)

calhix commented on 2022-11-28 23:38 (UTC) (edited on 2022-11-28 23:41 (UTC) by calhix)

Anyone able to get OpenMW working on Asahi Linux for the M1 Macbooks?