From patchwork Tue Apr 13 08:23:54 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?J=C3=B6rg_Krause?= X-Patchwork-Id: 1465630 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=smtp4.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="key not found in DNS" header.d=embedded.rocks header.i=@embedded.rocks header.a=rsa-sha256 header.s=default header.b=chS4oLIy; dkim-atps=neutral Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FKJYN2jKsz9sVw for ; Tue, 13 Apr 2021 18:24:23 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 7A7864065C; Tue, 13 Apr 2021 08:24:21 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nSeqv8dZG7S2; Tue, 13 Apr 2021 08:24:20 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id 25FDC4065F; Tue, 13 Apr 2021 08:24:19 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 5F9631BF2B8 for ; Tue, 13 Apr 2021 08:24:17 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 4DCB78343B for ; Tue, 13 Apr 2021 08:24:17 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp1.osuosl.org (amavisd-new); dkim=neutral reason="invalid (public key: not available)" header.d=embedded.rocks Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SRdTVQOdKu6v for ; Tue, 13 Apr 2021 08:24:11 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0 Received: from mout01.posteo.de (mout01.posteo.de [185.67.36.141]) by smtp1.osuosl.org (Postfix) with ESMTPS id CD3C382DF3 for ; Tue, 13 Apr 2021 08:24:10 +0000 (UTC) Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id D3F081A022D for ; Tue, 13 Apr 2021 10:24:07 +0200 (CEST) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4FKJY23mYFz9rxV for ; Tue, 13 Apr 2021 10:24:06 +0200 (CEST) Authentication-Results: mail.embedded.rocks (amavisd-new); dkim=pass reason="pass (just generated, assumed good)" header.d=embedded.rocks DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=embedded.rocks; h=content-transfer-encoding:content-type:content-type :mime-version:x-mailer:message-id:date:date:subject:subject:from :from:received:received; s=default; t=1618302237; x=1618907038; bh=DuEaS+eNOaUQG9eWUhbOh8r6TT3eTK+oHMik9smjTSo=; b=chS4oLIyvfTE ypmSY7qQUlt0Bp5y1CDsLKRPCBltB2VGYI8f5Xx1929xa4yvy7r40PNkeh9+unvI k/F14JR9W8uMH9XFfXtIPVZu5ZRWh4IJi1/OAp5caYF7QtapdBa9O2imoRMt0BKx Oek5oKXmvhXlVxxk6OVfqscVfVaV/76LAvVYIUq0zuSPS5YmFB6DXE6O/dkXAQ1A GuKX1KdFTr53bsV3J6Wg8qfMz2VMHvW7CvOVc8ZhmfKk/mwkjakHIhfBn5pVsMRa 9kQsX9Bo9DRyeMrKOihONnT0bTJUkw8pFx/SxfwAAxtH3urXoY8ehopDWFlcid0s KV1A5ravhQ== Received: from mail.embedded.rocks ([127.0.0.1]) by localhost (mail.embedded.rocks [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id 290N52JIqVfK; Tue, 13 Apr 2021 10:23:57 +0200 (CEST) Received: from nzxt.fritz.box (port-92-193-215-58.dynamic.as20676.net [92.193.215.58]) (Authenticated sender: joerg.krause@embedded.rocks) by mail.embedded.rocks (Postfix) with ESMTPSA; Tue, 13 Apr 2021 10:23:57 +0200 (CEST) From: =?utf-8?q?J=C3=B6rg_Krause?= To: buildroot@buildroot.org Date: Tue, 13 Apr 2021 10:23:54 +0200 Message-Id: <20210413082354.1470458-1-joerg.krause@embedded.rocks> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] package/gerbera: bump to version 1.8.0 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" 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 `` 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. Signed-off-by: Jörg Krause --- 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(-) diff --git a/package/gerbera/S99gerbera b/package/gerbera/S99gerbera index d1c74c887c..e5a70e78a8 100644 --- a/package/gerbera/S99gerbera +++ b/package/gerbera/S99gerbera @@ -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 diff --git a/package/gerbera/config.xml b/package/gerbera/config.xml index ddaaa7f18f..30d70e21f7 100644 --- a/package/gerbera/config.xml +++ b/package/gerbera/config.xml @@ -1,12 +1,13 @@ + - + Gerbera @@ -28,23 +29,6 @@ gerbera.db - - - - - * @@ -55,88 +39,96 @@ - - + + - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - - - - + + + + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - - - + + + - - audio/L16 + + audio/mpeg no yes no - - + + video/mpeg yes yes yes - - + + diff --git a/package/gerbera/gerbera.hash b/package/gerbera/gerbera.hash index e584db1354..cdd1fbff60 100644 --- a/package/gerbera/gerbera.hash +++ b/package/gerbera/gerbera.hash @@ -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 diff --git a/package/gerbera/gerbera.mk b/package/gerbera/gerbera.mk index ccb3b2eeb5..69d52e2677 100644 --- a/package/gerbera/gerbera.mk +++ b/package/gerbera/gerbera.mk @@ -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