diff options
author | Michael Weber <xmw@gentoo.org> | 2013-08-23 12:40:08 +0000 |
---|---|---|
committer | Michael Weber <xmw@gentoo.org> | 2013-08-23 12:40:08 +0000 |
commit | 3815fad4f0128c6becc717b752d9aedc6af26001 (patch) | |
tree | 208e87358e901d4663ee6461982738a9559de3aa /media-gfx/fim | |
parent | Initial import (bug 188217) (diff) | |
download | historical-3815fad4f0128c6becc717b752d9aedc6af26001.tar.gz historical-3815fad4f0128c6becc717b752d9aedc6af26001.tar.bz2 historical-3815fad4f0128c6becc717b752d9aedc6af26001.zip |
Initial import (bug 188217)
Package-Manager: portage-2.2.0/cvs/Linux x86_64
Manifest-Sign-Key: 0x62EEF090
Diffstat (limited to 'media-gfx/fim')
-rw-r--r-- | media-gfx/fim/Manifest | 13 | ||||
-rw-r--r-- | media-gfx/fim/files/fim-0.4_pre-automake-1.12.patch | 13 | ||||
-rw-r--r-- | media-gfx/fim/files/fim-0.4_pre-graphicsmagick.patch | 10 | ||||
-rw-r--r-- | media-gfx/fim/fim-0.4_pre.ebuild | 98 | ||||
-rw-r--r-- | media-gfx/fim/metadata.xml | 14 |
5 files changed, 147 insertions, 1 deletions
diff --git a/media-gfx/fim/Manifest b/media-gfx/fim/Manifest index 5e9f2682134c..2a2020851d4a 100644 --- a/media-gfx/fim/Manifest +++ b/media-gfx/fim/Manifest @@ -1,5 +1,16 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + AUX fim-0.4_pre-automake-1.12.patch 244 SHA256 645f0f43fca0f394b75f5dec691585f3387355a019588a6505efb2849e8e91de SHA512 7311bc0221615a1a9bbd6073be62826772fcba17bfb2aa1d6a8c4ff99f23cd96082b38d1b90c20db16d090ef78033751536a3d6e4cfccd2d9c18b58d146c1659 WHIRLPOOL fbb9f0787392bb12ec56dbc9aaaebb85d226e3302eebf6861ea73cca9d6924d8f36fd4dc5391475053c6a9810e7db4c84f5b1afdaf5fef02c7f1941c4b561037 AUX fim-0.4_pre-graphicsmagick.patch 475 SHA256 6b83f0b5cd4cfee5fb29363616364061e662174ec97244800365433ac09ab42c SHA512 2b31013638d946d6573d6031af41f1abd22b9ce8a92e8fe05db920457a123f48523810b447265a0190ad751ded21c28f17e136a647f48d4a76bb879e71ae201a WHIRLPOOL e7273f82333698106bda587cfdefb387040578fecffb4b04cabc106a823551da3a18bff16a82ecf1c0c1397cad254df7f3cd585916e00750265a975d0e35454d DIST fim-0.4-trunk.tar.bz2 514184 SHA256 a5d4ac8ea5bd84b9c9bd1b91c30c228365f996dc95c11b545e936837ce6d73b5 SHA512 1ea6acd30331fe73126dab19a5610cf041f26a93de08aa751aeb5a260d3bbdc0664b4788545f86f95ee230ac68d5c8d98ebd27ee2e83f8deeba60a5556219c95 WHIRLPOOL 5e2da330d9c409f8d268665a2595ca8924c3bd7f89e417aaadbdff985d871e05e568168784fd165473b7acb79a488481afd44e7d9e7770039cc7a7218426ab84 -EBUILD fim-0.4_pre.ebuild 2609 SHA256 07ba8eb2154125818a3baf43e4b4be096101ee2e208c3b5ae82874875a03afe7 SHA512 1a19fe0fce07e349e8c8c99ecd5ffd0547efa89809d1cb903a14c2bc30f262dd75958e0cdee2e5acdbab9d98fdea36b49f98e6d05095f9097f5b05657f58d5e8 WHIRLPOOL 34e767f4b5540df3d97d6b39e8e3466160b4fe68606234344927b83c78a98f82c4f78bc1cdbcff89f1ee3c5d7db7a1c4d6f60564778b74d50af2027ce4084fd6 +EBUILD fim-0.4_pre.ebuild 2700 SHA256 e73c171b3363a20e997d36e981b40c8ac9d955c6909f87286292a09ccd04701b SHA512 afafa619edb10b531fbcad57d77c5955763d58b674f19e86f8abd4b9a846b46b396c7b6fbedeed0ae53702aaac05395d83dc508d704e0afe6c5f4773248c0d18 WHIRLPOOL 4d378497c89cf042c38af5c173301143725e4ecad0a98a9d2b672690cabb9fd82759814afdb4ead8092bdd70ca7c78c53073fca2078f790b86842365a8972021 +MISC ChangeLog 421 SHA256 00867d8c654fe7ec0104c89b7b21367a498719aeeeb64ddcefaaea87727bf619 SHA512 6e924203fa80e4a234be4aa44b6c752f00863d5a9506cc869237a29e10fbb6752109b5d745001c0187a3dd562c51640ae6525f83c0ac9f6cefc818d57fec6967 WHIRLPOOL 90cf50e200a1832c62a5907ee0cfe19acaa1edc6bcc94b447074a10046c2e321343cc0c51632c925bc90db42914037e665a0eaa91f7cad7e507b07a535bbee18 MISC metadata.xml 555 SHA256 1c82a61f2a1bc82c6c86ac02d37909671eb8dbf8743cb461b4555ce3eb55b57f SHA512 95ed21c2732407cd487bc9b4b7be0ba7c7809f80e493ea96f14fb6c5392e2c3c17a02217887d55fe818a33df48e56ce580ccd865f401580ff1d906097e905984 WHIRLPOOL b3e47c13cbfb26c721328fd1d10f061e25489621ecedf5fba232e088800cac078bc092136c3fdcb6e1f69e2e18f39f7125a4cb6e1e026e36c13c9e859f51ae30 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.20 (GNU/Linux) + +iF4EAREIAAYFAlIXWCUACgkQknrdDGLu8JC5yQD8DYhWZ4X8XE+nv62Pk59va6b6 +O48k3BixGrkSL9x9ad4A+gIIclTywb+vcWD/B2GbD2YEWplqz6r+wZu83eO6tdLG +=MAfx +-----END PGP SIGNATURE----- diff --git a/media-gfx/fim/files/fim-0.4_pre-automake-1.12.patch b/media-gfx/fim/files/fim-0.4_pre-automake-1.12.patch new file mode 100644 index 000000000000..7629fd1ad566 --- /dev/null +++ b/media-gfx/fim/files/fim-0.4_pre-automake-1.12.patch @@ -0,0 +1,13 @@ +--- fim-0.3/configure.ac ++++ fim-0.3/configure.ac +@@ -86,10 +86,6 @@ + AC_MSG_RESULT($fim_cv_prefix) + + AC_ISC_POSIX +-AM_C_PROTOTYPES +-if test "x$U" != "x"; then +- AC_MSG_ERROR(Compiler not ANSI compliant) +-fi + #AC_PROG_CPP + AC_PROG_MAKE_SET + diff --git a/media-gfx/fim/files/fim-0.4_pre-graphicsmagick.patch b/media-gfx/fim/files/fim-0.4_pre-graphicsmagick.patch new file mode 100644 index 000000000000..952e800f149b --- /dev/null +++ b/media-gfx/fim/files/fim-0.4_pre-graphicsmagick.patch @@ -0,0 +1,10 @@ +--- fim-0.4-trunk/configure.ac ++++ fim-0.4-trunk/configure.ac +@@ -123,6 +123,7 @@ + FIM_LIB_OBJECTS="$FIM_LIB_OBJECTS FbiStuffMagick.o"; + LIBS="$LIBS `GraphicsMagick-config --cppflags --ldflags --libs|tr '\n' ' '` "; + CXXFLAGS="$CXXFLAGS `GraphicsMagick-config --cppflags |tr '\n' ' '` "; ++ CXXFLAGS="$CXXFLAGS -I`GraphicsMagick-config --prefix |tr -d '\n'`/include/GraphicsMagick "; + AC_DEFINE([HAVE_LIBGRAPHICSMAGICK],[1],[We have libGraphicsMagick]) + fi + ], []) diff --git a/media-gfx/fim/fim-0.4_pre.ebuild b/media-gfx/fim/fim-0.4_pre.ebuild new file mode 100644 index 000000000000..f9efbf512c7b --- /dev/null +++ b/media-gfx/fim/fim-0.4_pre.ebuild @@ -0,0 +1,98 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/fim/fim-0.4_pre.ebuild,v 1.1 2013/08/23 12:40:04 xmw Exp $ + +EAPI=5 + +inherit autotools eutils + +DESCRIPTION="Fbi-IMproved is a framebuffer image viewer based on Fbi and inspired from Vim" +HOMEPAGE="http://savannah.nongnu.org/projects/fbi-improved" +SRC_URI="http://download.savannah.gnu.org/releases/fbi-improved/${P/_pre/-trunk}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="aalib dia djvu exif fbcon gif graphicsmagick imagemagick jpeg pdf png postscript readline sdl static svg tiff xfig" + +RDEPEND="media-fonts/terminus-font + aalib? ( media-libs/aalib[slang] ) + dia? ( app-office/dia ) + djvu? ( app-text/djvu ) + exif? ( media-libs/libexif ) + gif? ( media-libs/giflib ) + graphicsmagick? ( media-gfx/graphicsmagick ) + imagemagick? ( || ( media-gfx/graphicsmagick[imagemagick] media-gfx/imagemagick ) ) + jpeg? ( virtual/jpeg ) + pdf? ( app-text/poppler ) + png? ( media-libs/libpng ) + postscript? ( app-text/libspectre ) + readline? ( sys-libs/readline ) + sdl? ( media-libs/libsdl ) + svg? ( media-gfx/inkscape ) + tiff? ( media-libs/tiff ) + xfig? ( media-gfx/xfig )" +DEPEND="${RDEPEND} + sys-devel/bison + sys-devel/flex" + +S=${WORKDIR}/${P/_pre/-trunk} + +src_prepare() { + epatch "${FILESDIR}"/${P}-automake-1.12.patch + if use graphicsmagick ; then + epatch "${FILESDIR}"/${P}-graphicsmagick.patch + fi + eautoreconf +} + +src_configure() { + econf \ + $(use_enable aalib aa) \ + $(use_enable dia) \ + $(use_enable djvu) \ + $(use_enable exif) \ + $(use_enable fbcon framebuffer) \ + $(use_enable gif) \ + $(use_enable graphicsmagick) \ + $(use_enable imagemagick convert) \ + $(use_enable pdf poppler) \ + $(use_enable png) \ + $(use_enable postscript ps) \ + $(use_enable readline) \ + $(use_enable sdl) \ + $(use_enable static) \ + $(use_enable svg inkscape) \ + $(use_enable tiff) \ + $(use_enable xfig) \ + --disable-hardcoded-font \ + --disable-imlib2 \ + --disable-matrices-rendering \ + --disable-xcftopnm \ + --enable-fimrc \ + --enable-history \ + --enable-loader-string-specification \ + --enable-mark-and-dump \ + --enable-output-console \ + --enable-raw-bits-rendering \ + --enable-read-dirs \ + --enable-recursive-dirs \ + --enable-resize-optimizations \ + --enable-scan-consolefonts \ + --enable-screen \ + --enable-scripting \ + --enable-seek-magic \ + --enable-stdin-image-reading \ + --enable-unicode \ + --enable-warnings \ + --enable-windows \ + --with-default-consolefont=/usr/share/consolefonts/ter-114n.psf.gz +} + +src_compile() { + emake -j1 +} + +src_install() { + emake DESTDIR="${D}" docdir=/usr/share/doc/${PF} install +} diff --git a/media-gfx/fim/metadata.xml b/media-gfx/fim/metadata.xml new file mode 100644 index 000000000000..e6a6ee384c2b --- /dev/null +++ b/media-gfx/fim/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer> +<email>xmw@gentoo.org</email> +<name>Michael Weber</name> +</maintainer> +<use> + <flag name="dia">Enable DIA file support via app-office/dia</flag> + <flag name="graphicsmagick">Enable GraphicsMagick library support</flag> + <flag name="imagemagick">Use convert from media-gfx/imagemagick as fallback file opener</flag> + <flag name="xfig">Enable FIG file support via media-gfx/xfig</flag> +</use> +</pkgmetadata> |