idella4     15/03/29 13:37:31

  Modified:             ChangeLog
  Added:                hp2xx-3.4.4-r1.ebuild
  Log:
  revbump; add patch and ebuild prepared by maintainer with assist from 
package's author, all found in bug #529800, fixes said bug
  
  (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 
0xB8072B0D)

Revision  Changes    Path
1.4                  media-gfx/hp2xx/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/hp2xx/ChangeLog?rev=1.4&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/hp2xx/ChangeLog?rev=1.4&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/hp2xx/ChangeLog?r1=1.3&r2=1.4

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-gfx/hp2xx/ChangeLog,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- ChangeLog   17 Mar 2013 15:51:41 -0000      1.3
+++ ChangeLog   29 Mar 2015 13:37:30 -0000      1.4
@@ -1,6 +1,13 @@
 # ChangeLog for media-gfx/hp2xx
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/hp2xx/ChangeLog,v 1.3 2013/03/17 
15:51:41 hwoarang Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/hp2xx/ChangeLog,v 1.4 2015/03/29 
13:37:30 idella4 Exp $
+
+*hp2xx-3.4.4-r1 (29 Mar 2015)
+
+  29 Mar 2015; Ian Delaney <[email protected]>
+  +files/hp2xx-3.4.4-docbuild.patch, +hp2xx-3.4.4-r1.ebuild:
+  revbump; add patch and ebuild prepared by maintainer with assist from
+  package's author, all found in bug #529800, fixes said bug
 
   17 Mar 2013; Markos Chandras <[email protected]> metadata.xml:
   Add proxy-maintainers to metadata.xml



1.1                  media-gfx/hp2xx/hp2xx-3.4.4-r1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/hp2xx/hp2xx-3.4.4-r1.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/hp2xx/hp2xx-3.4.4-r1.ebuild?rev=1.1&content-type=text/plain

Index: hp2xx-3.4.4-r1.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/hp2xx/hp2xx-3.4.4-r1.ebuild,v 1.1 
2015/03/29 13:37:30 idella4 Exp $

EAPI=4

inherit eutils base

DESCRIPTION="Versatile tool to convert Hewlett-Packard's HP-GL plotter language 
into other graphics formats"
HOMEPAGE="http://www.gnu.org/software/hp2xx/";
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="X jpeg png tiff"

RDEPEND="
        png? ( media-libs/libpng sys-libs/zlib )
        tiff? ( media-libs/tiff )
        jpeg? ( virtual/jpeg )
        X? ( x11-libs/libX11 )"
DEPEND="${RDEPEND}
        sys-apps/texinfo"

PATCHES=(  "${FILESDIR}"/${P}-r1.patch
        "${FILESDIR}"/${P}-docbuild.patch )

src_prepare() {
        base_src_prepare
        cp -v makes/generic.mak sources/Makefile || die
}

src_compile() {
        cd "${S}/sources" || die
        export PREVIEWER="no_prev"
        export EX_SRC=
        export EX_OBJ=
        export EX_DEFS=-DUNIX
        export ALL_LIBS=-lm
        use X && \
                PREVIEWER="to_x11" \
                EX_DEFS="-DHAS_UNIX_X11" \
                ALL_LIBS="${ALL_LIBS} -lX11"
        use jpeg && \
                EX_SRC="${EX_SRC} to_jpg.c" \
                EX_OBJ="${EX_OBJ} to_jpg.o" \
                EX_DEFS="${EX_DEFS} -DJPG" \
                ALL_LIBS="${ALL_LIBS} -ljpeg"
        use png && \
                EX_SRC="${EX_SRC} png.c to_png.c" \
                EX_OBJ="${EX_OBJ} png.o to_png.o" \
                EX_DEFS="${EX_DEFS} -DPNG" \
                ALL_LIBS="${ALL_LIBS} -lpng"
        use tiff && \
                EX_SRC="${EX_SRC} to_tif.c" \
                EX_OBJ="${EX_OBJ} to_tif.o" \
                EX_DEFS="${EX_DEFS} -DTIF" \
                ALL_LIBS="${ALL_LIBS} -ltiff"
        emake all
}

src_install() {
        dodir /usr/bin /usr/share/info /usr/share/man/man1

        make prefix="${D}/usr" \
                mandir="${D}/usr/share/man" \
                infodir="${D}/usr/share/info" \
                install || die
}




Reply via email to