Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 87029 - trueprint-5.3.ebuild
Summary: trueprint-5.3.ebuild
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard: sunrise suggested
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2005-03-28 14:12 UTC by ibm
Modified: 2011-05-29 19:51 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Trueprint 5.3 ebuild (trueprint-5.3.ebuild,432 bytes, application/octet-stream)
2006-01-15 20:47 UTC, ibm
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ibm 2005-03-28 14:12:25 UTC
trueprint, by far the best code-printing application of all time, does not have an ebuild.

http://www.gnu.org/software/trueprint/trueprint.html

Here is the ebuild that I used:
trueprint-5.3.ebuild:

inherit eutils

DESCRIPTION="Code pretty-printer"
HOMEPAGE="http://www.gnu.org/software/trueprint/"
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"

LICENSE="GPL"
SLOT="0"
KEYWORDS="x86"

S=${WORKDIR}/trueprint-${PV}

src_unpack() {
        unpack ${A}
        cd ${S}
        epatch ${FILESDIR}/Makefile.in.diff
}

src_compile() {
        econf || die
        emake || die
}

src_install() {
        einstall || die
}

The patch to the .in file fixes some compilation problems -- I think that the person who created the package was not experienced with autotools. Of course, neither am I, but I think this fixes the problems that I was seeing:

files/Makefile.in.diff
--- Makefile.in.old     2005-02-28 23:29:36.217653592 -0500
+++ Makefile.in 2005-02-28 23:29:58.093327984 -0500
@@ -99,44 +99,6 @@ config.status: $(srcdir)/configure $(CON
 $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
        cd $(srcdir) && $(AUTOCONF)
 
-config.h: stamp-h1
-       @if test ! -f $@; then \
-               rm -f stamp-h1; \
-               $(MAKE) stamp-h1; \
-       else :; fi
-stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
-       cd $(top_builddir) \
-         && CONFIG_FILES= CONFIG_HEADERS=config.h \
-            $(SHELL) ./config.status
-       @echo timestamp > stamp-h1 2> /dev/null
-$(srcdir)/config.h.in: $(srcdir)/stamp-h1.in
-       @if test ! -f $@; then \
-               rm -f $(srcdir)/stamp-h1.in; \
-               $(MAKE) $(srcdir)/stamp-h1.in; \
-       else :; fi
-$(srcdir)/stamp-h1.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
-       cd $(top_srcdir) && $(AUTOHEADER)
-       @echo timestamp > $(srcdir)/stamp-h1.in 2> /dev/null
-
-config.h: stamp-h2
-       @if test ! -f $@; then \
-               rm -f stamp-h2; \
-               $(MAKE) stamp-h2; \
-       else :; fi
-stamp-h2: $(srcdir)/config.h.in $(top_builddir)/config.status
-       cd $(top_builddir) \
-         && CONFIG_FILES= CONFIG_HEADERS=config.h \
-            $(SHELL) ./config.status
-       @echo timestamp > stamp-h2 2> /dev/null
-$(srcdir)/config.h.in: $(srcdir)/stamp-h2.in
-       @if test ! -f $@; then \
-               rm -f $(srcdir)/stamp-h2.in; \
-               $(MAKE) $(srcdir)/stamp-h2.in; \
-       else :; fi
-$(srcdir)/stamp-h2.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
-       cd $(top_srcdir) && $(AUTOHEADER)
-       @echo timestamp > $(srcdir)/stamp-h2.in 2> /dev/null
-
 mostlyclean-hdr:
 
 clean-hdr:


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Luis Medinas (RETIRED) gentoo-dev 2005-08-03 20:03:21 UTC
Please watch bug #61311. 

Thanks

*** This bug has been marked as a duplicate of 61311 ***
Comment 2 James Le Cuirot gentoo-dev 2005-08-03 20:12:31 UTC
Errr... this is NOT a duplicate of bug #61311, this is about Trueprint, not 
Turboprint.

And while I'm here, don't post ebuilds in the comments box, include them as 
attachments please.
Comment 3 Luis Medinas (RETIRED) gentoo-dev 2005-08-03 20:22:19 UTC
Reopening the bug. Sorry my eyes are very heavy.
Comment 4 Stefan Schweizer (RETIRED) gentoo-dev 2006-01-14 11:50:11 UTC
please attach your trueprint ebuild
but a maintainer is misssing:
http://dev.gentoo.org/~ciaranm/docs/mw-faq/maintainer.txt
Comment 5 ibm 2006-01-15 20:47:32 UTC
Created attachment 77227 [details]
Trueprint 5.3 ebuild

Attached is the 5.3 ebuild. The hack I did before to try to get it to compile seems to no longer be needed, either due to a new version of portage, or something else.

I recommend that this go into app-text.
Comment 6 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-01-20 16:30:43 UTC
(this is an automated message based on filtering criteria that matched this bug)
'EBUILD' is in the KEYWORDS which should mean that there is a ebuild attached 
to this bug.
This bug is assigned to maintainer-wanted which means that it is not in the 
main tree.

Hello, The Gentoo Team would like to firstly thank you for your ebuild 
submission. We also apologize for not being able to accommodate you in a timely
manner. There are simply too many new packages.

Allow me to use this opportunity to introduce you to Gentoo Sunrise. The 
sunrise overlay[1] is a overlay for Gentoo which we allow trusted users to 
commit to and all users can have ebuilds reviewed by Gentoo devs for entry 
into the overlay. So, the sunrise team is suggesting that you look into this 
and submit your ebuild to the overlay where even *you* can commit to. =)

Because this is a mass message, we are also asking you to be patient with us. 
We anticipate a large number of requests in a short time. 

Thanks,
On behalf of the Gentoo Sunrise Team,
Jeremy.

[1]: http://www.gentoo.org/proj/en/sunrise/
[2]: http://overlays.gentoo.org/proj/sunrise/wiki/SunriseFaq
Comment 7 Andreas K. Hüttel archtester gentoo-dev 2011-05-29 19:51:24 UTC
Last release was 2001, and the package is even considered abandoned on its homepage.