summaryrefslogtreecommitdiff
path: root/app-text/gv
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-text/gv
reinit the tree, so we can have metadata
Diffstat (limited to 'app-text/gv')
-rw-r--r--app-text/gv/Manifest9
-rw-r--r--app-text/gv/files/gv-3.7.3-libXaw3d-1.6.patch15
-rw-r--r--app-text/gv/files/gv_icon.xpm58
-rw-r--r--app-text/gv/gv-3.7.3-r1.ebuild48
-rw-r--r--app-text/gv/gv-3.7.3.90.ebuild42
-rw-r--r--app-text/gv/metadata.xml8
6 files changed, 180 insertions, 0 deletions
diff --git a/app-text/gv/Manifest b/app-text/gv/Manifest
new file mode 100644
index 000000000000..30137bda7560
--- /dev/null
+++ b/app-text/gv/Manifest
@@ -0,0 +1,9 @@
+AUX gv-3.7.3-libXaw3d-1.6.patch 404 SHA256 9cf35551ab6e386d9358ac8ed0ab21ed5d14eaa031e27ad0a4de00780c68b2af SHA512 3b047d34b03efeefe5f764ac02f32b9e1b7fe43f8a08eb49e54313ce42d2c6323573dfb90fd46d77eb81c3acc9dfbd98a5551f5cf49b48240a519eb57c4e1b19 WHIRLPOOL 53fdb6cd8d2e87c3430e41840eae8c603fd4fdebe2c170e21e7d5d7216dc3fc53bad441d454d8ffd4102d9876d1e44bcab9dec1f3561ac0e8034b78887559b88
+AUX gv_icon.xpm 2837 SHA256 b1d29d7b1eaf618143334f3048bfbfed08e5bc399d2c1f9b785b04b2736bfc15 SHA512 6aae3a463fbf3484028f7ca8f50cb7a332f5566f3bb84dd5c17843b581e1b6013b4f99a1de8600e9d4a0ba5b9b7ce131ee37b0fd80b97e32ef018d272f756076 WHIRLPOOL 3c98da885cafaba66c4e2e343c9b9e055912169135287bdb3cbb4640eef0623a5f988a903e7db6d5411b91bceb43163dc3862ebb42812618c5799b8c0977c938
+DIST gv-3.7.3.90.tar.gz 757506 SHA256 2824aefb0cbced31def7a815e1d6f00e17f47a4cb5ed1be93e4d259c7b64b63f SHA512 a80ff303fda1d6f13d66847f4b20aee4b364a05ec750bdb08267aa46470b201edf9762e16ad39dfe9da03118658598697f411dc8c32ab8bbad05a1161e816c50 WHIRLPOOL b9f3465f15ed7a6696e32a49f55942f0b18fe7b61c4dbec39a4fd97e4ff926bb4a8891b49010563b5959adda8f72e5cb1b802392086fb8dc44fb7f8b482f1334
+DIST gv-3.7.3.tar.gz 754282 SHA256 ee01ba96e3a5c319eb4658357372a118dbb0e231891b360edecbdebd449d1c2b SHA512 0c0339f023896016212bb1b8ef0185689dd669855c060d0491e1ac59c76ca19f3006b1b00b421cb40bb0beba8e2d35dad1da7d856ac9d33440cfbb07ff1e33c3 WHIRLPOOL 78e3e99a8065d42a84ba699256b8f1a366c74bc5c36eb5c79e0c7e0b6462e38711cd8eea6f474d9861feff92b4c84f38c5bf39b5df55f926443f3ce722cfb316
+EBUILD gv-3.7.3-r1.ebuild 1180 SHA256 917b8f59370b420b4530aa1b6b44357d6aedaa76f65ef7f441f9566f26cf5aba SHA512 8f7d9af7d1876a7cb3ccb1a68166936122658c42b3e598c4b5d7249c0b0f703331668cdc97518443cae40e2085c55a36a6af9407e58b0d58a548611467633ffa WHIRLPOOL 110f9d2b4b452c4acd17d1cefcad753eddaebe39b610c1b6407cd4b4ce5061184196ef9d0db50b362f950b7fe253837b4add73ccb8aad34adf53ec2b3bcb5157
+EBUILD gv-3.7.3.90.ebuild 1049 SHA256 e11b5c8b636f330b8bdf5dfeaf3a4013ebaaa1705369f4e344e186dfa60b8a13 SHA512 46303129c72fc3e28f5f54f16a7f8f20366b35bc8e45a9534feaeb6aafdf68b0338d2440ccfec3332f64206a915f1fd3b5a9d6a4e4ec13a55906989a05d4bcf3 WHIRLPOOL acded2fcc7dcadcf98048225c6eb909958a4acc81394480f2f3899aafac092bd51bb44af6b7f2c54b58a70341c86a8fbe8e2bb021dd699743594f1d4c22b35d4
+MISC ChangeLog 2698 SHA256 1dd3a86a6c778bb41d54ab0ced42b1006fa81e2caa45abc4c15c810cb9b107a7 SHA512 2809fbb6c3aa244210094edc40a290a9fd2a301afaf52089fc96031bd3a5aa8d327da655204a5078893a96692ae40f8095167b7742a2c80c9140858092f06aba WHIRLPOOL 625abe3e791b8bfbc4db53cf3e37c4b5875921156e42020dbfbd0de58a368323612db05ebe02f6e5c520e876f92eee5ce25625a70902e9b29818cab5d4c6f963
+MISC ChangeLog-2015 14571 SHA256 3266137715c2c79aac72675b87ec0259ea458be68365c043589bfb9a1c40e8dc SHA512 35de8f97a6defbb06d8cf486c30e4084a4d4e801cf194ddf23a4f8d6738a113ef81af43198f1a73736e7053684abda8fbe7e04b803cb70cea8866e55c9d9a9c8 WHIRLPOOL a4de016edea562da4e903b4348d2c4384913c92b47e5658428adda98e709dbf8991878e3b86fab40be4c1c1051617379ac2b188a7d730cfa057b7d48a97cdcb9
+MISC metadata.xml 255 SHA256 369a8c8c92b41e8d46a7225354bd493797b21f0b8b5c3f9ad4ac0a7e14322ebc SHA512 c6c5f966cfbe396fde1b15334442de9e0004b44c4b48775588b0b25a058ad1751252761370c9c254280e97561fa6306f5aa0cc7959c675d4ee11f7f95d777a36 WHIRLPOOL a6043f3549b633ddc8017207016e272af3ca85d175e603a0bfffcad7c5fef4457a01bfe76ceeec5ca09e957dafb78459db4d9cadc6ec99874d5be44ca85e27c0
diff --git a/app-text/gv/files/gv-3.7.3-libXaw3d-1.6.patch b/app-text/gv/files/gv-3.7.3-libXaw3d-1.6.patch
new file mode 100644
index 000000000000..76c88b158b27
--- /dev/null
+++ b/app-text/gv/files/gv-3.7.3-libXaw3d-1.6.patch
@@ -0,0 +1,15 @@
+This piece of code is from libXaw3d-1.6/src/Scrollbar.c (Line 644)
+
+http://bugs.gentoo.org/399753
+
+--- src/Scrollbar.c
++++ src/Scrollbar.c
+@@ -1006,7 +1006,7 @@
+ TOPLOC = newtop;
+ SHOWNLENGTH = newbot-newtop+1;
+
+- (*swclass->threeD_class.shadowdraw) (w, event, region, FALSE);
++ (*swclass->threeD_class.shadowdraw) (w, event, region, sbw->threeD.relief, FALSE);
+
+ ENDMESSAGE(Redisplay)
+ }
diff --git a/app-text/gv/files/gv_icon.xpm b/app-text/gv/files/gv_icon.xpm
new file mode 100644
index 000000000000..a4a8fb4693be
--- /dev/null
+++ b/app-text/gv/files/gv_icon.xpm
@@ -0,0 +1,58 @@
+/* XPM */
+static char *gv_icon[] = {
+/* columns rows colors chars-per-pixel */
+"50 50 2 1",
+" c #FFFFFF",
+". c #000000",
+/* pixels */
+" . . . . . . . . . . . . . . . . . . . . . . . . .",
+". . . . . . . . . . . . . . . . . . . . . . . . . ",
+" . . . . . . . . . . . . . . . . . . . . . . . . .",
+". . . . . . . . . . . . . . . . . . . . . . . . . ",
+" . . . . . . . . . . . . . . . . . . .",
+". . . . . . . . . . . . . . . . . . ",
+" . . . . . . . . . . . .",
+". . . . . . . . . . . . . . . . . ",
+" . . . . . . . . . . .",
+". . . . . . ...... . . . . . . ",
+" . . . . . .. ... . . . . . .",
+". . . . . .. .. . . . . . ",
+" . . . . . .. . . . . . . . . .",
+". . . . . .. . . . . ",
+" . . . . . .. . . . . . . .",
+". . . . . .. .. . . . . ",
+" . . . ... .. . . . . . .",
+". . . . .... .. .. . . . . ",
+" . . . .. .. ... . .... . . . .",
+". . . . ... . .. . .. .. . . . . ",
+" . . . ... ... . . .. . . . . . .",
+". . . ... ..... .. .. ... . . . . ",
+" . . . ... .... .. . . . . .",
+". . . . .... .. . . . . ",
+" . . . ... .. . . . . .",
+". . . . .. . ... .. . . . . ",
+" . . . ... .. . . . .",
+". . . . .. .. . . . . . ",
+" . . . . . . ... .. . . . .",
+". . . . . ... .. . . . . . ",
+" . . . . .. . . . . .",
+". . . . . ... .. . . . . . ",
+" . . . . . ... . . . . . . .",
+". . . . . .. .. . . . . . ",
+" . . . . . ... .. . . . . . .",
+". . . ... . . . . . ",
+" . . . . . . ... .. .. . . . . . .",
+". . . . . ... ....... . . . . ",
+" . . . . . . ... .... . . . . . .",
+". . . . . ... .. . . . . . ",
+" . . . . . . . .... .. . . . .",
+". . . . . . .......... . . . . . . ",
+" . . . . . . . ....... . . . .",
+". . . . . . . . . . . . . . ",
+" . . . . . . . . . . . . . . . . . .",
+". . . . . . . . . . . . . . . . . . . . . . . . ",
+" . . . . . . . . . . . . . . . . . . . . . . . . .",
+". . . . . . . . . . . . . . . . . . . . . . . . . ",
+" . . . . . . . . . . . . . . . . . . . . . . . . .",
+". . . . . . . . . . . . . . . . . . . . . . . . . "
+};
diff --git a/app-text/gv/gv-3.7.3-r1.ebuild b/app-text/gv/gv-3.7.3-r1.ebuild
new file mode 100644
index 000000000000..35a80d634e16
--- /dev/null
+++ b/app-text/gv/gv-3.7.3-r1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+inherit eutils flag-o-matic toolchain-funcs
+
+DESCRIPTION="Viewer for PostScript and PDF documents using Ghostscript"
+HOMEPAGE="https://www.gnu.org/software/gv/"
+SRC_URI="mirror://gnu/gv/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="alpha amd64 ~arm hppa ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE="xinerama"
+
+RDEPEND="app-text/ghostscript-gpl
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ >=x11-libs/libXaw3d-1.6-r1[unicode]
+ x11-libs/libXext
+ x11-libs/libXmu
+ x11-libs/libXpm
+ x11-libs/libXt
+ xinerama? ( x11-libs/libXinerama )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ x11-proto/xproto"
+
+DOCS="AUTHORS ChangeLog NEWS README"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-3.7.3-libXaw3d-1.6.patch
+}
+
+src_configure() {
+ # Grab -DXAW_INTERNATIONALIZATION if needed
+ append-cppflags "$($(tc-getPKG_CONFIG) --cflags xaw3d)"
+
+ export ac_cv_lib_Xinerama_main=$(usex xinerama)
+ econf --enable-scrollbar-code
+}
+
+src_install() {
+ default
+ doicon "${FILESDIR}"/gv_icon.xpm
+ make_desktop_entry gv GhostView gv_icon 'Graphics;Viewer'
+}
diff --git a/app-text/gv/gv-3.7.3.90.ebuild b/app-text/gv/gv-3.7.3.90.ebuild
new file mode 100644
index 000000000000..db63c43154e6
--- /dev/null
+++ b/app-text/gv/gv-3.7.3.90.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils
+
+DESCRIPTION="Viewer for PostScript and PDF documents using Ghostscript"
+HOMEPAGE="https://www.gnu.org/software/gv/"
+# Change 'gnu-alpha' to 'gnu' for final release, like 3.7.4
+SRC_URI="mirror://gnu-alpha/gv/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE="xinerama"
+
+RDEPEND="app-text/ghostscript-gpl
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ >=x11-libs/libXaw3d-1.6-r1[unicode]
+ x11-libs/libXext
+ x11-libs/libXmu
+ x11-libs/libXpm
+ x11-libs/libXt
+ xinerama? ( x11-libs/libXinerama )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ x11-proto/xproto"
+
+DOCS="AUTHORS ChangeLog NEWS README"
+
+src_configure() {
+ export ac_cv_lib_Xinerama_main=$(usex xinerama)
+ econf --enable-scrollbar-code
+}
+
+src_install() {
+ default
+ doicon "${FILESDIR}"/gv_icon.xpm
+ make_desktop_entry gv GhostView gv_icon 'Graphics;Viewer'
+}
diff --git a/app-text/gv/metadata.xml b/app-text/gv/metadata.xml
new file mode 100644
index 000000000000..c439b06d8c84
--- /dev/null
+++ b/app-text/gv/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>printing@gentoo.org</email>
+ <name>Gentoo Printing Project</name>
+</maintainer>
+</pkgmetadata>