[Dev] [PATCH] Fix plymouth "replaces" issue

Luke Shumaker lukeshu at lukeshu.com
Wed Jul 11 18:44:32 GMT 2018


On Tue, 10 Jul 2018 21:48:37 -0400,
Christopher Davis wrote:
> Previously plymouth-nosystemd would bug users on systems using plymouth
> to replace plymotuh, even if the user was using systemd. This is because
> plymouth-nosystemd erroneously included the "replaces" key when it
> should have just set provides and conflicts.
> 
> This commit removes the replaces key and bumps the pkgrel,
> so that pacman will detect the change.
> ---
>  pcr/plymouth-nosystemd/PKGBUILD | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/pcr/plymouth-nosystemd/PKGBUILD b/pcr/plymouth-nosystemd/PKGBUILD
> index f4a3e679f..85c41e05a 100644
> --- a/pcr/plymouth-nosystemd/PKGBUILD
> +++ b/pcr/plymouth-nosystemd/PKGBUILD
> @@ -7,7 +7,7 @@
>  pkgname=plymouth-nosystemd
>  _pkgname=plymouth
>  pkgver=0.9.2
> -pkgrel=1
> +pkgrel=2
>  pkgdesc="A graphical boot splash screen with kernel mode-setting support for non systemd setups"
>  url="http://www.freedesktop.org/wiki/Software/Plymouth/"
>  
> @@ -22,7 +22,6 @@ options=('!libtool' '!emptydirs')
>  
>  provides=('plymouth')
>  conflicts=('plymouth' 'plymouth-git')
> -replaces=('plymouth' 'plymouth-git')
>  backup=('etc/plymouth/plymouthd.conf')
>  
>  source=("http://www.freedesktop.org/software/${_pkgname}/releases/${_pkgname}-${pkgver}.tar.bz2"

Thanks! LGTM.

However, I'm having trouble building the package because libremakepkg
can't install the build deps because of a file conflict with libeudev
and libudev that isn't declared.  I guess I'll fight with that on my
own.

-- 
happy hacking,
~ Luke Shumaker



More information about the Dev mailing list