diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-03-28 15:50:58 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-03-28 15:50:58 +0100 |
commit | d41bd0acd3d0cd850cdd815b12e69ee2c89c5697 (patch) | |
tree | 0ea617df50a6f9fb89fc7e509e3d4ddf0d244b64 /media-gfx/scrot/files/scrot-1.7-fix-docdir.patch | |
parent | 115dcc7054f5934a2c8e26fd8a8eed5f3e29e9ce (diff) |
gentoo auto-resync : 28:03:2023 - 15:50:57
Diffstat (limited to 'media-gfx/scrot/files/scrot-1.7-fix-docdir.patch')
-rw-r--r-- | media-gfx/scrot/files/scrot-1.7-fix-docdir.patch | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/media-gfx/scrot/files/scrot-1.7-fix-docdir.patch b/media-gfx/scrot/files/scrot-1.7-fix-docdir.patch deleted file mode 100644 index 3e0fb09da85d..000000000000 --- a/media-gfx/scrot/files/scrot-1.7-fix-docdir.patch +++ /dev/null @@ -1,65 +0,0 @@ -https://github.com/resurrecting-open-source-projects/scrot/pull/175 - -From: Sam James <sam@gentoo.org> -Date: Sun, 19 Dec 2021 23:59:45 +0000 -Subject: [PATCH 1/2] build: respect docdir - -Before this patch with --docdir=/usr/share/doc/scrot-1.7-r1 (example downstream -versioning for patches): -``` ->>> /usr/share/doc/scrot-1.7-r1/ ->>> /usr/share/doc/scrot-1.7-r1/README.md.bz2 ->>> /usr/share/doc/scrot-1.7-r1/ChangeLog.bz2 ->>> /usr/share/doc/scrot-1.7-r1/AUTHORS.bz2 ->>> /usr/share/doc/scrot/ ->>> /usr/share/doc/scrot/scrot.png ->>> /usr/share/doc/scrot/README.md.bz2 ->>> /usr/share/doc/scrot/ChangeLog.bz2 ->>> /usr/share/doc/scrot/AUTHORS.bz2 -``` - -After: -``` ->>> /usr/share/doc/scrot-1.7-r1/scrot.png ->>> /usr/share/doc/scrot-1.7-r1/README.md.bz2 ->>> /usr/share/doc/scrot-1.7-r1/ChangeLog.bz2 ->>> /usr/share/doc/scrot-1.7-r1/AUTHORS.bz2 -``` - -This avoids installing duplicate files & installs them to the -same location but it's overridable by --docdir in ./configure which -helps downstreams. - -Bug: https://bugs.gentoo.org/828928 -Signed-off-by: Sam James <sam@gentoo.org> ---- a/Makefile.am -+++ b/Makefile.am -@@ -34,10 +34,9 @@ MAINTAINERCLEANFILES = Makefile.in - - man_MANS = man/scrot.1 - --docs_DATA = README.md AUTHORS ChangeLog doc/scrot.png --docsdir = $(prefix)/share/doc/scrot -+doc_DATA = README.md AUTHORS ChangeLog doc/scrot.png - --EXTRA_DIST = man/scrot.1 $(docs_DATA) -+EXTRA_DIST = man/scrot.1 - - SUBDIRS = src - -From: Sam James <sam@gentoo.org> -Date: Mon, 20 Dec 2021 00:03:35 +0000 -Subject: [PATCH 2/2] build: simplify man page installation - -Signed-off-by: Sam James <sam@gentoo.org> ---- a/Makefile.am -+++ b/Makefile.am -@@ -36,7 +36,7 @@ man_MANS = man/scrot.1 - - doc_DATA = README.md AUTHORS ChangeLog doc/scrot.png - --EXTRA_DIST = man/scrot.1 -+EXTRA_DIST = $(man_MANS) - - SUBDIRS = src - |