Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v8 15/20] package/kodi-screensaver-rsxs: bump version
Date: Sat, 18 Jan 2020 23:14:42 +0100	[thread overview]
Message-ID: <20200118221442.GJ32369@scaer> (raw)
In-Reply-To: <20200118200620.3967240-16-bernd.kuhls@t-online.de>

Bernd, All,

On 2020-01-18 21:06 +0100, Bernd Kuhls spake thusly:
> Updated dependencies after upstream commit
> https://github.com/xbmc/screensavers.rsxs/commit/dbb88536964dc0ca4144016eb12f7307b60cb1fa
> Also removed patch 0002 because this package has no direct dependency
> for X libraries anymore.
> 
> Removed patch 0001 which was applied upstream
> https://github.com/xbmc/screensavers.rsxs/commit/b9dda499db62944d9a95f4690d67101eca539ca7
> 
> Added patch to disable building the drempels screensaver which depends
> on imagemagick6.
> 
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
[--SNIP--]
> +diff --git a/CMakeLists.txt b/CMakeLists.txt
> +index a86ccd0..b5ca03f 100644
> +--- a/CMakeLists.txt
> ++++ b/CMakeLists.txt
> +@@ -40,8 +40,7 @@ include_directories(${KODI_INCLUDE_DIR}/.. # Hack way with "/..", need bigger Ko
> + if(ImageMagick_FOUND AND NOT ${OWN_IMAGE_MAGICK})
> +   message(STATUS "ImageMagick found in the system and is used")

Ideally, upstream should also add a check for the ImageMagick version
that was found.

> + else()
> +-  message(STATUS "ImageMagick not found or forced and add custom created")
> +-  add_subdirectory(lib/ImageMagick)
> ++  message(STATUS "ImageMagick not found")

Why can't we use the bundled minimal ImageMagick?

Note: I am fine with disabling entirely, but I'd prefer this is
explictly stated, like:

    Even though rsxs has a minimal bundled imagemagick, we simply
    disable drempels to avoidusing a bundled library.

[--SNIP--]
> diff --git a/package/kodi-screensaver-rsxs/Config.in b/package/kodi-screensaver-rsxs/Config.in
> index c523ce5a1c..076c7effa0 100644
> --- a/package/kodi-screensaver-rsxs/Config.in
> +++ b/package/kodi-screensaver-rsxs/Config.in
> @@ -1,13 +1,17 @@
>  config BR2_PACKAGE_KODI_SCREENSAVER_RSXS
>  	bool "kodi-screensaver-rsxs"
>  	depends on BR2_PACKAGE_HAS_LIBGL # libglu
> -	depends on BR2_PACKAGE_XORG7 # xlib_libXmu
> +	select BR2_PACKAGE_BZIP2
> +	select BR2_PACKAGE_GLI
> +	select BR2_PACKAGE_GLM
> +	select BR2_PACKAGE_JPEG
>  	select BR2_PACKAGE_LIBPNG
> -	select BR2_PACKAGE_XLIB_LIBXMU
> +	select BR2_PACKAGE_LIBTOOL
> +	select BR2_PACKAGE_TIFF

You're adding a few dependencies, some of whihch are not ovious, like
libtool.

Additionally, you're not propagating the dependency of glm (needs
libstdc++). That's OK because Kodi does need C++, and thus rsxs already
implicitly has that dependency, but I don;t like it much, though...

Your commit logs are more about 'what' is done, which is OK to recap a
big patch, but the really interesting part in a commit log is the 'why'.

Again, if all it takes are a few sentences or bullet points to be added
to the commit log, no need to respin: I can add them locally before
applying.

Regards,
Yann E. MORIN.

>  	help
>  	  RSXS screensaver add-ons for Kodi
>  
> -	  https://github.com/notspiff/screensavers.rsxs
> +	  https://github.com/xbmc/screensavers.rsxs
>  
> -comment "kodi-screensaver-rsxs depends on X.org and needs OpenGL"
> -	depends on !BR2_PACKAGE_XORG7 || !BR2_PACKAGE_HAS_LIBGL
> +comment "kodi-screensaver-rsxs needs an OpenGL backend"
> +	depends on !BR2_PACKAGE_HAS_LIBGL
> diff --git a/package/kodi-screensaver-rsxs/kodi-screensaver-rsxs.hash b/package/kodi-screensaver-rsxs/kodi-screensaver-rsxs.hash
> index e80c972ebb..b2d9e33a57 100644
> --- a/package/kodi-screensaver-rsxs/kodi-screensaver-rsxs.hash
> +++ b/package/kodi-screensaver-rsxs/kodi-screensaver-rsxs.hash
> @@ -1,2 +1,2 @@
>  # Locally computed
> -sha256 8436c29d2f42bc65ff6f1abc2f1d05a613cc2ebb16d793e02b1f2bee296952a6  kodi-screensaver-rsxs-1.3.0.tar.gz
> +sha256 22ff3f0ca9679c59ce1a90b98d918dd10a8012b789729b2e44c04d4ce8c86ad8  kodi-screensaver-rsxs-7cb648507440d87948dec10d5bfdab3b722d37fe.tar.gz
> diff --git a/package/kodi-screensaver-rsxs/kodi-screensaver-rsxs.mk b/package/kodi-screensaver-rsxs/kodi-screensaver-rsxs.mk
> index 64ffb4fba6..e208698797 100644
> --- a/package/kodi-screensaver-rsxs/kodi-screensaver-rsxs.mk
> +++ b/package/kodi-screensaver-rsxs/kodi-screensaver-rsxs.mk
> @@ -4,10 +4,9 @@
>  #
>  ################################################################################
>  
> -KODI_SCREENSAVER_RSXS_VERSION = 1.3.0
> -KODI_SCREENSAVER_RSXS_SITE = $(call github,notspiff,screensavers.rsxs,v$(KODI_SCREENSAVER_RSXS_VERSION))
> +KODI_SCREENSAVER_RSXS_VERSION = 7cb648507440d87948dec10d5bfdab3b722d37fe
> +KODI_SCREENSAVER_RSXS_SITE = $(call github,xbmc,screensavers.rsxs,$(KODI_SCREENSAVER_RSXS_VERSION))
>  KODI_SCREENSAVER_RSXS_LICENSE = GPL-3.0
> -KODI_SCREENSAVER_RSXS_LICENSE_FILES = lib/rsxs-1.0/COPYING
> -KODI_SCREENSAVER_RSXS_DEPENDENCIES = kodi libpng xlib_libXmu
> +KODI_SCREENSAVER_RSXS_DEPENDENCIES = bzip2 gli glm jpeg kodi libpng libtool tiff
>  
>  $(eval $(cmake-package))
> -- 
> 2.20.1
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

  reply	other threads:[~2020-01-18 22:14 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-18 20:06 [Buildroot] [PATCH v8 00/20] package/kodi: bump to version 18.5-Leia Bernd Kuhls
2020-01-18 20:06 ` [Buildroot] [PATCH v8 01/20] package/kodi-platform: bump version Bernd Kuhls
2020-01-18 20:06 ` [Buildroot] [PATCH v8 02/20] package/kodi: bump to version 18.5-Leia Bernd Kuhls
2020-01-18 20:06 ` [Buildroot] [PATCH v8 03/20] package/kodi-audiodecoder-*: mass version bump Bernd Kuhls
2020-01-18 20:06 ` [Buildroot] [PATCH v8 04/20] package/kodi-audioencoder-*: " Bernd Kuhls
2020-01-18 20:06 ` [Buildroot] [PATCH v8 05/20] package/kodi-inputstream-adaptive: bump version Bernd Kuhls
2020-01-18 20:06 ` [Buildroot] [PATCH v8 06/20] package/kodi-inputstream-rtmp: " Bernd Kuhls
2020-01-18 20:06 ` [Buildroot] [PATCH v8 07/20] package/kodi-peripheral-joystick: " Bernd Kuhls
2020-01-18 20:06 ` [Buildroot] [PATCH v8 08/20] package/kodi-peripheral-*: mass version bump Bernd Kuhls
2020-01-18 20:06 ` [Buildroot] [PATCH v8 09/20] package/kodi-pvr-iptvsimple: bump version Bernd Kuhls
2020-01-18 20:06 ` [Buildroot] [PATCH v8 10/20] package/kodi-pvr-mediaportal-tvserver: " Bernd Kuhls
2020-01-18 20:06 ` [Buildroot] [PATCH v8 11/20] package/kodi-pvr-stalker: " Bernd Kuhls
2020-01-18 20:06 ` [Buildroot] [PATCH v8 12/20] package/kodi-pvr-vuplus: " Bernd Kuhls
2020-01-18 20:06 ` [Buildroot] [PATCH v8 13/20] package/kodi-pvr-*: mass version bump Bernd Kuhls
2020-01-18 20:06 ` [Buildroot] [PATCH v8 14/20] package/kodi-screensaver-asteroids: bump version Bernd Kuhls
2020-01-18 20:06 ` [Buildroot] [PATCH v8 15/20] package/kodi-screensaver-rsxs: " Bernd Kuhls
2020-01-18 22:14   ` Yann E. MORIN [this message]
2020-01-18 22:42     ` Bernd Kuhls
2020-01-19  8:53       ` Yann E. MORIN
2020-01-18 20:06 ` [Buildroot] [PATCH v8 16/20] package/kodi-screensaver-*: mass version bump Bernd Kuhls
2020-01-18 20:06 ` [Buildroot] [PATCH v8 17/20] package/kodi-skin-confluence: bump version Bernd Kuhls
2020-01-18 20:06 ` [Buildroot] [PATCH v8 18/20] package/kodi-visualisation-goom: " Bernd Kuhls
2020-01-18 20:06 ` [Buildroot] [PATCH v8 19/20] package/kodi-visualisation-*: mass version bump Bernd Kuhls
2020-01-18 22:03   ` Yann E. MORIN
2020-01-18 22:35     ` Bernd Kuhls
2020-01-19  8:44       ` Yann E. MORIN
2020-01-19  9:02         ` Bernd Kuhls
2020-01-18 20:06 ` [Buildroot] [PATCH v8 20/20] package/kodi-vfs-sftp: bump version Bernd Kuhls
2020-01-18 22:02 ` [Buildroot] [PATCH v8 00/20] package/kodi: bump to version 18.5-Leia Yann E. MORIN

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200118221442.GJ32369@scaer \
    --to=yann.morin.1998@free.fr \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox