Openembedded Core Discussions
 help / color / mirror / Atom feed
* [meta-oe][PATCH] minidlna: restore & fix recipe
@ 2018-09-09 19:11 Baptiste Durand
  2018-09-09 19:33 ` ✗ patchtest: failure for " Patchwork
  2018-09-09 22:42 ` [meta-oe][PATCH] " Khem Raj
  0 siblings, 2 replies; 3+ messages in thread
From: Baptiste Durand @ 2018-09-09 19:11 UTC (permalink / raw)
  To: openembedded-core

Restore minidlna recipe and bump it to v1.2.1

Signed-off-by: Baptiste Durand <baptiste.durand@gmail.com>
---
 .../recipes-multimedia/minidlna/minidlna.inc  | 41 +++++++++++++++++++
 .../0001-Update-Gettext-version.patch         | 32 +++++++++++++++
 .../minidlna/minidlna_1.2.1.bb                |  4 ++
 3 files changed, 77 insertions(+)
 create mode 100644 meta-oe/recipes-multimedia/minidlna/minidlna.inc
 create mode 100644 meta-oe/recipes-multimedia/minidlna/minidlna/0001-Update-Gettext-version.patch
 create mode 100644 meta-oe/recipes-multimedia/minidlna/minidlna_1.2.1.bb

diff --git a/meta-oe/recipes-multimedia/minidlna/minidlna.inc b/meta-oe/recipes-multimedia/minidlna/minidlna.inc
new file mode 100644
index 000000000..187ff536a
--- /dev/null
+++ b/meta-oe/recipes-multimedia/minidlna/minidlna.inc
@@ -0,0 +1,41 @@
+DESCRIPTION = "MiniDLNA (aka ReadyDLNA) is server software with the aim of \
+being fully compliant with DLNA/UPnP-AV clients."
+LICENSE = "GPL-2.0|BSD"
+DEPENDS = "ffmpeg flac libav jpeg sqlite3 libexif libogg libid3tag libvorbis"
+
+# because it depends on libav which has commercial flag
+LICENSE_FLAGS = "commercial"
+
+inherit gettext autotools-brokensep update-rc.d systemd
+
+SRC_URI = "git://git.code.sf.net/p/minidlna/git;branch=master;module=git \
+           file://minidlna-daemon.init.d \
+           file://minidlna.service \
+           file://0001-Update-Gettext-version.patch \
+           "
+
+S = "${WORKDIR}/git"
+
+# This remove "--exclude=autopoint" option from autoreconf argument to avoid
+# configure.ac:30: error: required file './ABOUT-NLS' not found
+EXTRA_AUTORECONF = ""
+
+do_install_append(){
+    install -d ${D}${sysconfdir}
+    install -m 0755 minidlna.conf ${D}${sysconfdir}
+
+# Systemd script
+    install -d ${D}${nonarch_base_libdir}/systemd/system
+    install -m 0755 ${WORKDIR}/minidlna.service ${D}${nonarch_base_libdir}/systemd/system
+
+# Sysvinit script
+    install -d ${D}${sysconfdir}/init.d
+    install -m 0755 ${WORKDIR}/minidlna-daemon.init.d ${D}${sysconfdir}/init.d/minidlna
+
+}
+
+SYSTEMD_SERVICE_${PN} = "minidlna.service"
+
+INITSCRIPT_NAME = "minidlna"
+INITSCRIPT_PARAMS = "defaults 90"
+
diff --git a/meta-oe/recipes-multimedia/minidlna/minidlna/0001-Update-Gettext-version.patch b/meta-oe/recipes-multimedia/minidlna/minidlna/0001-Update-Gettext-version.patch
new file mode 100644
index 000000000..d6de9f164
--- /dev/null
+++ b/meta-oe/recipes-multimedia/minidlna/minidlna/0001-Update-Gettext-version.patch
@@ -0,0 +1,32 @@
+From a4290bf1887f9203288858ca76bdd20b2edf337a Mon Sep 17 00:00:00 2001
+From: Baptiste Durand <baptiste.durand@gmail.com>
+Date: Sun, 9 Sep 2018 20:50:41 +0200
+Subject: [PATCH] Update Gettext version
+
+Signed-off-by: Baptiste Durand <baptiste.durand@gmail.com>
+---
+ configure.ac | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index f343d21..a556b33 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -14,7 +14,7 @@
+ # License along with MiniDLNA; if not, write to the Free Software
+ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ # USA.
+-AC_INIT(MiniDLNA,1.1.3,,minidlna)
++AC_INIT(MiniDLNA,1.2.1,,minidlna)
+ #LT_INIT
+ 
+ AC_CANONICAL_TARGET
+@@ -28,7 +28,7 @@ m4_ifdef([AC_USE_SYSTEM_EXTENSIONS], [AC_USE_SYSTEM_EXTENSIONS])
+ 
+ AM_ICONV
+ AM_GNU_GETTEXT([external])
+-AM_GNU_GETTEXT_VERSION(0.18)
++AM_GNU_GETTEXT_VERSION(0.19)
+ 
+ # Checks for programs.
+ AC_PROG_AWK
diff --git a/meta-oe/recipes-multimedia/minidlna/minidlna_1.2.1.bb b/meta-oe/recipes-multimedia/minidlna/minidlna_1.2.1.bb
new file mode 100644
index 000000000..fe6bebce2
--- /dev/null
+++ b/meta-oe/recipes-multimedia/minidlna/minidlna_1.2.1.bb
@@ -0,0 +1,4 @@
+require ${BPN}.inc
+
+SRCREV = "v1_2_1"
+LIC_FILES_CHKSUM = "file://LICENCE.miniupnpd;md5=b0dabf9d8e0f871554e309d62ead8d2b"
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* ✗ patchtest: failure for minidlna: restore & fix recipe
  2018-09-09 19:11 [meta-oe][PATCH] minidlna: restore & fix recipe Baptiste Durand
@ 2018-09-09 19:33 ` Patchwork
  2018-09-09 22:42 ` [meta-oe][PATCH] " Khem Raj
  1 sibling, 0 replies; 3+ messages in thread
From: Patchwork @ 2018-09-09 19:33 UTC (permalink / raw)
  To: Baptiste DURAND; +Cc: openembedded-core

== Series Details ==

Series: minidlna: restore & fix recipe
Revision: 1
URL   : https://patchwork.openembedded.org/series/13977/
State : failure

== Summary ==


Thank you for submitting this patch series to OpenEmbedded Core. This is
an automated response. Several tests have been executed on the proposed
series by patchtest resulting in the following failures:



* Issue             Added patch file is missing Upstream-Status in the header [test_upstream_status_presence_format] 
  Suggested fix    Add Upstream-Status: <Valid status> to the header of meta-oe/recipes-multimedia/minidlna/minidlna/0001-Update-Gettext-version.patch
  Standard format  Upstream-Status: <Valid status>
  Valid status     Pending, Accepted, Backport, Denied, Inappropriate [reason], Submitted [where]



If you believe any of these test results are incorrect, please reply to the
mailing list (openembedded-core@lists.openembedded.org) raising your concerns.
Otherwise we would appreciate you correcting the issues and submitting a new
version of the patchset if applicable. Please ensure you add/increment the
version number when sending the new version (i.e. [PATCH] -> [PATCH v2] ->
[PATCH v3] -> ...).

---
Guidelines:     https://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines
Test framework: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest
Test suite:     http://git.yoctoproject.org/cgit/cgit.cgi/patchtest-oe



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [meta-oe][PATCH] minidlna: restore & fix recipe
  2018-09-09 19:11 [meta-oe][PATCH] minidlna: restore & fix recipe Baptiste Durand
  2018-09-09 19:33 ` ✗ patchtest: failure for " Patchwork
@ 2018-09-09 22:42 ` Khem Raj
  1 sibling, 0 replies; 3+ messages in thread
From: Khem Raj @ 2018-09-09 22:42 UTC (permalink / raw)
  To: baptiste.durand; +Cc: Patches and discussions about the oe-core layer

please send patch for meta-oe to oe-devel ml.
On Sun, Sep 9, 2018 at 12:12 PM Baptiste Durand
<baptiste.durand@gmail.com> wrote:
>
> Restore minidlna recipe and bump it to v1.2.1
>
> Signed-off-by: Baptiste Durand <baptiste.durand@gmail.com>
> ---
>  .../recipes-multimedia/minidlna/minidlna.inc  | 41 +++++++++++++++++++
>  .../0001-Update-Gettext-version.patch         | 32 +++++++++++++++
>  .../minidlna/minidlna_1.2.1.bb                |  4 ++
>  3 files changed, 77 insertions(+)
>  create mode 100644 meta-oe/recipes-multimedia/minidlna/minidlna.inc
>  create mode 100644 meta-oe/recipes-multimedia/minidlna/minidlna/0001-Update-Gettext-version.patch
>  create mode 100644 meta-oe/recipes-multimedia/minidlna/minidlna_1.2.1.bb
>
> diff --git a/meta-oe/recipes-multimedia/minidlna/minidlna.inc b/meta-oe/recipes-multimedia/minidlna/minidlna.inc
> new file mode 100644
> index 000000000..187ff536a
> --- /dev/null
> +++ b/meta-oe/recipes-multimedia/minidlna/minidlna.inc
> @@ -0,0 +1,41 @@
> +DESCRIPTION = "MiniDLNA (aka ReadyDLNA) is server software with the aim of \
> +being fully compliant with DLNA/UPnP-AV clients."
> +LICENSE = "GPL-2.0|BSD"
> +DEPENDS = "ffmpeg flac libav jpeg sqlite3 libexif libogg libid3tag libvorbis"
> +
> +# because it depends on libav which has commercial flag
> +LICENSE_FLAGS = "commercial"
> +
> +inherit gettext autotools-brokensep update-rc.d systemd
> +
> +SRC_URI = "git://git.code.sf.net/p/minidlna/git;branch=master;module=git \
> +           file://minidlna-daemon.init.d \
> +           file://minidlna.service \
> +           file://0001-Update-Gettext-version.patch \
> +           "
> +
> +S = "${WORKDIR}/git"
> +
> +# This remove "--exclude=autopoint" option from autoreconf argument to avoid
> +# configure.ac:30: error: required file './ABOUT-NLS' not found
> +EXTRA_AUTORECONF = ""
> +
> +do_install_append(){
> +    install -d ${D}${sysconfdir}
> +    install -m 0755 minidlna.conf ${D}${sysconfdir}
> +
> +# Systemd script
> +    install -d ${D}${nonarch_base_libdir}/systemd/system
> +    install -m 0755 ${WORKDIR}/minidlna.service ${D}${nonarch_base_libdir}/systemd/system
> +
> +# Sysvinit script
> +    install -d ${D}${sysconfdir}/init.d
> +    install -m 0755 ${WORKDIR}/minidlna-daemon.init.d ${D}${sysconfdir}/init.d/minidlna
> +
> +}
> +
> +SYSTEMD_SERVICE_${PN} = "minidlna.service"
> +
> +INITSCRIPT_NAME = "minidlna"
> +INITSCRIPT_PARAMS = "defaults 90"
> +
> diff --git a/meta-oe/recipes-multimedia/minidlna/minidlna/0001-Update-Gettext-version.patch b/meta-oe/recipes-multimedia/minidlna/minidlna/0001-Update-Gettext-version.patch
> new file mode 100644
> index 000000000..d6de9f164
> --- /dev/null
> +++ b/meta-oe/recipes-multimedia/minidlna/minidlna/0001-Update-Gettext-version.patch
> @@ -0,0 +1,32 @@
> +From a4290bf1887f9203288858ca76bdd20b2edf337a Mon Sep 17 00:00:00 2001
> +From: Baptiste Durand <baptiste.durand@gmail.com>
> +Date: Sun, 9 Sep 2018 20:50:41 +0200
> +Subject: [PATCH] Update Gettext version
> +
> +Signed-off-by: Baptiste Durand <baptiste.durand@gmail.com>
> +---
> + configure.ac | 4 ++--
> + 1 file changed, 2 insertions(+), 2 deletions(-)
> +
> +diff --git a/configure.ac b/configure.ac
> +index f343d21..a556b33 100644
> +--- a/configure.ac
> ++++ b/configure.ac
> +@@ -14,7 +14,7 @@
> + # License along with MiniDLNA; if not, write to the Free Software
> + # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
> + # USA.
> +-AC_INIT(MiniDLNA,1.1.3,,minidlna)
> ++AC_INIT(MiniDLNA,1.2.1,,minidlna)
> + #LT_INIT
> +
> + AC_CANONICAL_TARGET
> +@@ -28,7 +28,7 @@ m4_ifdef([AC_USE_SYSTEM_EXTENSIONS], [AC_USE_SYSTEM_EXTENSIONS])
> +
> + AM_ICONV
> + AM_GNU_GETTEXT([external])
> +-AM_GNU_GETTEXT_VERSION(0.18)
> ++AM_GNU_GETTEXT_VERSION(0.19)
> +
> + # Checks for programs.
> + AC_PROG_AWK
> diff --git a/meta-oe/recipes-multimedia/minidlna/minidlna_1.2.1.bb b/meta-oe/recipes-multimedia/minidlna/minidlna_1.2.1.bb
> new file mode 100644
> index 000000000..fe6bebce2
> --- /dev/null
> +++ b/meta-oe/recipes-multimedia/minidlna/minidlna_1.2.1.bb
> @@ -0,0 +1,4 @@
> +require ${BPN}.inc
> +
> +SRCREV = "v1_2_1"
> +LIC_FILES_CHKSUM = "file://LICENCE.miniupnpd;md5=b0dabf9d8e0f871554e309d62ead8d2b"
> --
> 2.17.1
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-09-09 22:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-09 19:11 [meta-oe][PATCH] minidlna: restore & fix recipe Baptiste Durand
2018-09-09 19:33 ` ✗ patchtest: failure for " Patchwork
2018-09-09 22:42 ` [meta-oe][PATCH] " Khem Raj

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox