diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-05-04 22:28:33 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-05-04 22:28:33 +0100 |
commit | a978c074e4272bb901fbe4a10de0a7b2af574f17 (patch) | |
tree | 8c764c1cc0576389ce22abd317bceba71ea5732d /x11-misc/arandr/files/arandr-0.1.10-manpages.patch | |
parent | 40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (diff) |
gentoo resync : 04.05.2021
Diffstat (limited to 'x11-misc/arandr/files/arandr-0.1.10-manpages.patch')
-rw-r--r-- | x11-misc/arandr/files/arandr-0.1.10-manpages.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/x11-misc/arandr/files/arandr-0.1.10-manpages.patch b/x11-misc/arandr/files/arandr-0.1.10-manpages.patch new file mode 100644 index 000000000000..8e02c4928f36 --- /dev/null +++ b/x11-misc/arandr/files/arandr-0.1.10-manpages.patch @@ -0,0 +1,31 @@ +--- a/setup.py ++++ b/setup.py +@@ -101,8 +101,8 @@ + self.mkpath('build') + + for (sourcefile, gzfile) in [ +- ('data/arandr.1.txt', os.path.join('build', 'arandr.1.gz')), +- ('data/unxrandr.1.txt', os.path.join('build', 'unxrandr.1.gz')), ++ ('data/arandr.1.txt', os.path.join('build', 'arandr.1')), ++ ('data/unxrandr.1.txt', os.path.join('build', 'unxrandr.1')), + ]: + + if newer(sourcefile, gzfile): +@@ -111,7 +111,7 @@ + info('compressing man page to %s', gzfile) + + if not self.dry_run: +- compressed = gzip.open(gzfile, 'w', 9) ++ compressed = open(gzfile, 'wb') + compressed.write(manpage) + compressed.close() + +@@ -259,7 +259,7 @@ + }, + data_files = [ + ('share/applications', ['data/arandr.desktop']), # FIXME: use desktop-file-install? +- ('share/man/man1', ['build/arandr.1.gz', 'build/unxrandr.1.gz']), ++ ('share/man/man1', ['build/arandr.1', 'build/unxrandr.1']), + ], + scripts = ['arandr', 'unxrandr'], + ) |