Skip to contentSkip to conversation

package/gerbera: bump to version 1.8.0

PATCH New Jörg Krause 2 participants 2 messages Apr 13, 2021 – Apr 19, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/gerbera: bump to version 1.8.0

Also recreate config.xml by building and running Gerbera using:

```
~/buildroot/output/target/usr/bin/gerbera --create-config > package/gerbera/config.xml

```

Note, that Gerbera sets the <home> parameter now to the runtime user's home by default when generating the script. This is not appropriate when running Gerbera on an embedded Linux system as we usually do not have multiple users or even users at all. Therefore, we set the home directory to /var/lib/gerbera`.

As this directory is not created when installing Gerbera to the target, it is created by the start script.

---
 package/gerbera/S99gerbera   |   3 +
 package/gerbera/config.xml   | 144 +++++++++++++++++------------------
 package/gerbera/gerbera.hash |   2 +-
 package/gerbera/gerbera.mk   |   2 +-
 4 files changed, 73 insertions(+), 78 deletions(-)
package/gerbera/S99gerbera +3 -0
index d1c74c887c..e5a70e78a8 100644
@@ -8,6 +8,9 @@ GERBERA_ARGS="-c /etc/gerbera/config.xml -l /var/log/gerbera.log"
 # shellcheck source=/dev/null
 [ -r "/etc/default/$DAEMON" ] && . "/etc/default/$DAEMON"
 
+# (Re)create home directory
+mkdir -p /var/lib/$DAEMON
+
 start() {
 	printf 'Starting %s: ' "$DAEMON"
 	# shellcheck disable=SC2086 # we need the word splitting
package/gerbera/config.xml +68 -76

191 lines not on this page · raw message

package/gerbera/gerbera.hash +1 -1
index e584db1354..cdd1fbff60 100644
@@ -1,3 +1,3 @@
 # Locally computed:
-sha256  cbe7ea78977db8c02fcca1759ed149f199a590afaf4a6d21ffcca8623d1a0cc5  gerbera-1.6.4.tar.gz
+sha256  02044abd1363c5f5604c5830e560b102ac456179afbf3be60e65847f47f4c599  gerbera-1.8.0.tar.gz
 sha256  cae4138373be41fd2be75faf41ce7efbcf49fb17d0e05ad1c51cc01ac335b9b6  LICENSE.md
package/gerbera/gerbera.mk +1 -1
index ccb3b2eeb5..69d52e2677 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-GERBERA_VERSION = 1.6.4
+GERBERA_VERSION = 1.8.0
 GERBERA_SITE = $(call github,gerbera,gerbera,v$(GERBERA_VERSION))
 GERBERA_LICENSE = GPL-2.0
 GERBERA_LICENSE_FILES = LICENSE.md
Signature · 1 line
2.31.1
#1 lore raw

PATCH 1/1 package/gerbera: bump to version 1.8.0

Quoted 15 lines · On Tue, 13 Apr 2021 10:23:54 +0200 J?rg Krause <[email protected]>…

Also recreate config.xml by building and running Gerbera using:

```
~/buildroot/output/target/usr/bin/gerbera --create-config > package/gerbera/config.xml

```

Note, that Gerbera sets the <home> parameter now to the runtime user's home by default when generating the script. This is not appropriate when running Gerbera on an embedded Linux system as we usually do not have multiple users or even users at all. Therefore, we set the home directory to /var/lib/gerbera`.

As this directory is not created when installing Gerbera to the target, it is created by the start script.

Quoted 7 lines
---
 package/gerbera/S99gerbera   |   3 +
 package/gerbera/config.xml   | 144 +++++++++++++++++------------------
 package/gerbera/gerbera.hash |   2 +-
 package/gerbera/gerbera.mk   |   2 +-
 4 files changed, 73 insertions(+), 78 deletions(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com