Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 8736 - Cpp2LaTeX-2.1.ebuild (New Package)
Summary: Cpp2LaTeX-2.1.ebuild (New Package)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Matthew Turk (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-04 00:15 UTC by Richard Garand
Modified: 2003-04-04 01:24 UTC (History)
0 users

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


Attachments
The ebuild files (cpp2latex-2.1.tar.gz,862 bytes, application/x-tgz)
2002-10-04 00:16 UTC, Richard Garand
Details
cpp2latex-2.1-r1 (cpp2latex.ebuild.tar.gz,2.68 KB, application/x-tgz)
2002-10-25 18:13 UTC, Richard Garand
Details
error log for -r1 (toattach.txt,17.25 KB, text/plain)
2002-10-26 13:39 UTC, Matthew Turk (RETIRED)
Details
cpp2latex 2.2 ebuild (cpp2latex.ebuild.tar.gz,3.75 KB, application/x-tgz)
2002-12-31 12:06 UTC, Richard Garand
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Garand 2002-10-04 00:15:40 UTC
C++2LaTeX is a small program that produces configurable LaTeX output from a C++ 
file.
Comment 1 Richard Garand 2002-10-04 00:16:25 UTC
Created attachment 4397 [details]
The ebuild files
Comment 2 Richard Garand 2002-10-04 00:19:24 UTC
I put this ebuild under app-text, since tetex is there. It depends on 
virtual/glibc and app-text/tetex.  
Comment 3 Matthew Turk (RETIRED) gentoo-dev 2002-10-25 15:31:27 UTC
Hi there!  This ebuild doesn't seem to work under GCC 3.2.  Could you make sure that the parameters to configure are correct?  I suspect there are includes or dependencies missing.
Comment 4 Richard Garand 2002-10-25 15:46:32 UTC
From main.cpp:      
      
#include <iostream>      
#include <stdlib.h>      
#include <string>      
#include <fstream>      
#include <vector>      
#include <stdio.h>      
      
It shouldn't have any library dependencies, but when 1.4 is released I'll fix     
any problems that may remain. Could you give me a more complete problem report?    
    
Actually, the src_unpack and src_compile functions shouldn't do  
anything non-standard. You could try removing them and see how that goes.      
Comment 5 Richard Garand 2002-10-25 18:13:16 UTC
Created attachment 5024 [details]
cpp2latex-2.1-r1

This is a new revision that includes a patch to fix several problems.
Comment 6 Matthew Turk (RETIRED) gentoo-dev 2002-10-26 13:39:58 UTC
Created attachment 5047 [details]
error log for -r1

Here is the error log I get with GCC 3.2 with -r1.  GCC 3.0+ is more strict
with includes and declarations...  I think this might be a factor.  Is this
project big enough to send a request upstream?
Comment 7 Richard Garand 2002-10-26 16:50:56 UTC
See if a using namespace std; right after the headers in main.cpp helps; if 
not, you'll probably have to contact the author. 
Comment 8 Matthew Turk (RETIRED) gentoo-dev 2002-11-22 00:00:23 UTC
Ok, we'll hold off on this.  I'm not closing the bug; just putting it under LATER until the maintainer makes it compile.  Seems to be a bit more than a simple patch would fix... 
Comment 9 Richard Garand 2002-12-31 12:06:20 UTC
Created attachment 6869 [details]
cpp2latex 2.2 ebuild

I've fixed the problems with gcc 3.2 and changed to version 2.2 (all previous
versions are removed).
Comment 10 Matthew Turk (RETIRED) gentoo-dev 2003-01-02 23:29:18 UTC
Had to make a few basic changes to the ebuild, like adding src_compile.  
Anyway, it's committed.  Thanks for the hard work on getting to compile with 
GCC 3! 
Comment 11 John Davis (zhen) (RETIRED) gentoo-dev 2003-04-04 01:19:31 UTC
db fix
Comment 12 John Davis (zhen) (RETIRED) gentoo-dev 2003-04-04 01:24:32 UTC
db fix