Comment 130 for bug 1335492

Revision history for this message
In , Ap-z (ap-z) wrote :

(In reply to Gerold Schellstede from comment #91)

Gentoo only:

> PATCH COMMAND: patch -p0 -g0 -E --no-backup-if-mismatch --dry-run -f <
> '/etc/portage/patches//xfce-base/xfdesktop-4.12.3/xfdesktop-file-icon-
> manager.patch'

I've never used custom patches in /etc/portage/patches/..., you probably have to add a path fragment to the patch file in line 1 and 2.

> Any ideas to solve this?

I created a local ebuild at /usr/local/portage/xfce-base/xfdesktop/. Just copy the ebuild xfdesktop-4.12.3.ebuild and the files folder from /usr/portage/xfce-base/xfdesktop/. Create a copy of the ebuild as xfdesktop-4.12.3-r1.ebuild and add the following three lines:

post_src_prepare() {
      epatch "${FILESDIR}/xfdesktop-file-icon-manager.patch"
}

Of course add my patch to the files folder and create the checksums with
$ ebuild xfdesktop-4.12.3-r1.ebuild digest

Then you should be able to
$ emerge --update --ask xfce-base/xfdesktop