commit 55a907452cedb2aed79903f9f6c1536cf197fc9b
parent afc682572537be1e58b072005baf4d32b4aa359e
Author: Nihal Jere <nihal@nihaljere.xyz>
Date: Sun, 3 Jan 2021 19:59:44 -0600
zathura: remove crap
Diffstat:
8 files changed, 75 insertions(+), 0 deletions(-)
diff --git a/zathura/build b/zathura/build
@@ -0,0 +1,24 @@
+#!/bin/sh -e
+
+patch -p1 < remove_gettext.patch
+
+# Fix build errors when appstream-glib or
+# desktop-file-utils are installed.
+sed -i 's/appstream-util//' data/meson.build
+sed -i 's/desktop-file-validate//' data/meson.build
+
+meson build \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --buildtype=release \
+ -Dsynctex=disabled
+
+DESTDIR="$1" ninja -C build install
+
+install -Dm 0644 zathura.1 "$1/usr/share/man/man1/zathura.1"
+install -Dm 0644 zathurarc.5 "$1/usr/share/man/man1/zathurarc.5"
+rm -rf "$1/usr/share/icons"
+rm -rf "$1/usr/share/zsh"
+rm -rf "$1/usr/share/fish"
+rm -rf "$1/usr/share/dbus-1"
+rm -rf "$1/usr/share/bash-completion"
diff --git a/zathura/checksums b/zathura/checksums
@@ -0,0 +1 @@
+/home/nihal/.local/community/community/zathura/checksums+
\ No newline at end of file
diff --git a/zathura/depends b/zathura/depends
@@ -0,0 +1 @@
+/home/nihal/.local/community/community/zathura/depends+
\ No newline at end of file
diff --git a/zathura/files/zathura.1 b/zathura/files/zathura.1
@@ -0,0 +1 @@
+/home/nihal/.local/community/community/zathura/files/zathura.1+
\ No newline at end of file
diff --git a/zathura/files/zathurarc.5 b/zathura/files/zathurarc.5
@@ -0,0 +1 @@
+/home/nihal/.local/community/community/zathura/files/zathurarc.5+
\ No newline at end of file
diff --git a/zathura/patches/remove_gettext.patch b/zathura/patches/remove_gettext.patch
@@ -0,0 +1,39 @@
+--- a/data/meson.build
++++ b/data/meson.build
+@@ -16,26 +16,6 @@
+ endforeach
+ endif
+
+-i18n = import('i18n')
+-podir = join_paths(meson.source_root(), 'po')
+-
+-desktop = i18n.merge_file('desktop',
+- input: 'org.pwmt.zathura.desktop.in',
+- output: 'org.pwmt.zathura.desktop',
+- install: true,
+- install_dir: desktopdir,
+- po_dir: podir,
+- type: 'desktop'
+-)
+-
+-appdata = i18n.merge_file('appdata',
+- input: 'org.pwmt.zathura.appdata.xml.in',
+- output: 'org.pwmt.zathura.appdata.xml',
+- install: true,
+- install_dir: metainfodir,
+- po_dir: podir,
+-)
+-
+ desktop_file_validate = find_program('desktop-file-validate', required: get_option('tests'), native: true)
+ if desktop_file_validate.found()
+ test('validate-desktop',
+--- a/meson.build
++++ b/meson.build
+@@ -109,7 +109,6 @@
+ ]
+
+ subdir('data')
+-subdir('po')
+
+ # source files
+ sources = files(
diff --git a/zathura/sources b/zathura/sources
@@ -0,0 +1 @@
+/home/nihal/.local/community/community/zathura/sources+
\ No newline at end of file
diff --git a/zathura/version b/zathura/version
@@ -0,0 +1 @@
+/home/nihal/.local/community/community/zathura/version+
\ No newline at end of file