Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 41572
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Text-Markup Team <text-markup@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Pablo De Nápoli <pdenapo@gmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
latex2rtf-1.9.14.ebuild my ebuild for latex2rtf text/plain Pablo De Nápoli 2004-02-14 10:59 0000 859 bytes Details
Makefile my Makefile for latex2rtf text/x-makefile Pablo De Nápoli 2004-02-14 11:00 0000 9.33 KB Details
latex2rtf-1.9.14.ebuild modified ebuild text/plain Pablo De Nápoli 2004-02-24 12:01 0000 835 bytes Details
Makefile-1.9.14 a modified version of the Makefile text/plain Pablo De Nápoli 2004-02-24 12:04 0000 8.44 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 41572 depends on: Show dependency tree
Bug 41572 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-02-14 10:58 0000
LaTeX2rtf is a translator program which is intended to translate a LaTeX
document (precisely: the text and a limited subset of LaTeX tags) into the RTF
format which can be imported by several textprocessors (including Microsoft
Word for Windows and Word for Macintosh). 

I'm contributing an ebuild for Latex2rtf version 1.9.14

This application would be app-text/latex2rtf

Also I'm submiting my version of the Makefile (needed for my ebuild)
Please put it it on /usr/portage/latex2rtf-1.9.14/files/Makefile

(I prefer this to patching the Makefile, since it will make it easier
the upgrades, and there are many modifications)

The documentation goes in /usr/share/doc/latex2rtf-1.9.14 
(only the text version and the man page are installed by default; html, info
and pdf versions are also installed if doc flag is USEd)


The configuration files for different languages goes in /usr/share/latex2rtf/

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

------- Comment #1 From Pablo De Nápoli 2004-02-14 10:59:20 0000 -------
Created an attachment (id=25609) [details]
my ebuild for latex2rtf

------- Comment #2 From Pablo De Nápoli 2004-02-14 11:00:19 0000 -------
Created an attachment (id=25610) [details]
my Makefile for latex2rtf

put it in /usr/portage/latex2rtf-1.9.14/files/Makefile

------- Comment #3 From Mamoru KOMACHI (RETIRED) 2004-02-23 09:34:57 0000 -------
Hi, thanks for submitting the ebuild. However, there are several
things I should mention before taking it to Portage tree.
1) app-text/tetex should be virtual/tetex, otherwise app-text/ptex
   and app-text/cstetex users won't take benefit of the package ;)
2) Write ${P}.tar.gz instead of ${PN}-${PV}.tar.gz. ${P} is expaned
   to ${PN}-${PV} but it looks cleaner and matches our convention.
   Also, if it is hosted by sourceforge, we could write it as
   SRC_URI="mirror://sourceforge/latex2rtf/...". It will grab 
   files from one of sourceforge mirrors, which is better than
   specifying only one mirror.
3) Although there are many ways to write `use' command in if - then
   clause, it would be better to use
   if use doc ; then
     ...
   fi
   or
   if [ `use doc` ]; then
     ...
   fi
   or
   if [ -n "`use doc`" ]
   then
     ...
   fi
   or something similar. It is because  if (use doc); then invokes
   subshell to check whether use flag is set, but we don't actually
   need to run subshell for that purpose.

------- Comment #4 From Pablo De Nápoli 2004-02-24 12:01:18 0000 -------
Created an attachment (id=26274) [details]
modified ebuild

Ok, I'm sending to you a modified ebuild acording to your remarks.
(excuse me, I don't know well the details of the Gentoo standards)
Please note that I've renamed my Makefile to Makefile-1.9.14
in order to make easier future updates

------- Comment #5 From Pablo De Nápoli 2004-02-24 12:04:36 0000 -------
Created an attachment (id=26275) [details]
a modified version of the Makefile

I've renamed it to Makefile-1.9.14 to make it easier updates
(by identifying the package version)
Also I've deleted some non necesary lines with anoying messages

------- Comment #6 From Mamoru KOMACHI (RETIRED) 2004-02-26 11:10:00 0000 -------
I committed your ebuild(1.9.14) and the latest one (1.9.15) to Portage.
Despite your first comment about creating Makefile, I extracted a
diff from you Makefile-1.9.14 and applied it. This is because
it makes it easier to upgrade (Makefile for 1.9.14 doesn't work
for 1.9.15, but the patch for 1.9.15 works for 1.9.14 and vice versa).
Also, I modified your patch because man and info directories in Gentoo
are not /usr/man and /usr/info but /usr/share/man and /usr/share/info.

Thanks for contributing the ebuild and giving us informative
comments.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug