Re: [CFT] TexLive port

2012-08-21 Thread Dominic Fandrey

On 20/08/2012 10:16, Denny Lin wrote:

On Mon, Aug 20, 2012 at 09:51:02AM +0200, Dominic Fandrey wrote:

On 12/08/2012 10:12, Dominic Fandrey wrote:

On 31/07/2012 00:48, Dominic Fandrey wrote:

I have a well working TexLive 2012 port, intended to be a replacement
for teTex.

...

Because a lot of things depend on a working TeX install I'd like to
have some volunteers in a week.


Here we go:
http://www.home.hs-karlsruhe.de/~fado1011/texlive/


I'm about ready now. I just need to complete the CONFLICTS. Clearly
just anything with teTeX in the name isn't enough. I think I need
help figuring this out.

Or at least a recommendation. Should I go ahead with a PR and just
add ports as people report problems?


Sorry, I must have missed this part in my previous email. The CONFLICTS
you have should cover everything. I'm just speculating that the
transition would have been smoother if the teTeX ports were deleted in
one go before replacing them with portmaster.


Maybe I need to add texlive conflicts to teTeX and its ilk.

I also want to add a texlive-asymptote port. But only after texlive
is out there. I already tested the build, but there are some dependencies
I want to add OPTIONS for and that's nothing I want to inflict on the
texlive-base.

--
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: [CFT] TexLive port

2012-08-20 Thread Dominic Fandrey

On 12/08/2012 10:12, Dominic Fandrey wrote:

On 31/07/2012 00:48, Dominic Fandrey wrote:

I have a well working TexLive 2012 port, intended to be a replacement
for teTex.

...

Because a lot of things depend on a working TeX install I'd like to
have some volunteers in a week.


Here we go:
http://www.home.hs-karlsruhe.de/~fado1011/texlive/


I'm about ready now. I just need to complete the CONFLICTS. Clearly
just anything with teTeX in the name isn't enough. I think I need
help figuring this out.

Or at least a recommendation. Should I go ahead with a PR and just
add ports as people report problems?


--
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: [CFT] TexLive port

2012-08-20 Thread Denny Lin
On Mon, Aug 20, 2012 at 09:51:02AM +0200, Dominic Fandrey wrote:
 On 12/08/2012 10:12, Dominic Fandrey wrote:
 On 31/07/2012 00:48, Dominic Fandrey wrote:
 I have a well working TexLive 2012 port, intended to be a replacement
 for teTex.
 
 ...
 
 Because a lot of things depend on a working TeX install I'd like to
 have some volunteers in a week.
 
 Here we go:
 http://www.home.hs-karlsruhe.de/~fado1011/texlive/
 
 I'm about ready now. I just need to complete the CONFLICTS. Clearly
 just anything with teTeX in the name isn't enough. I think I need
 help figuring this out.
 
 Or at least a recommendation. Should I go ahead with a PR and just
 add ports as people report problems?

Sorry, I must have missed this part in my previous email. The CONFLICTS
you have should cover everything. I'm just speculating that the
transition would have been smoother if the teTeX ports were deleted in
one go before replacing them with portmaster.

-- 
Denny Lin
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: [CFT] TexLive port

2012-08-20 Thread Dominic Fandrey

On 20/08/2012 10:16, Denny Lin wrote:

On Mon, Aug 20, 2012 at 09:51:02AM +0200, Dominic Fandrey wrote:

On 12/08/2012 10:12, Dominic Fandrey wrote:

On 31/07/2012 00:48, Dominic Fandrey wrote:

I have a well working TexLive 2012 port, intended to be a replacement
for teTex.

...

Because a lot of things depend on a working TeX install I'd like to
have some volunteers in a week.


Here we go:
http://www.home.hs-karlsruhe.de/~fado1011/texlive/


I'm about ready now. I just need to complete the CONFLICTS. Clearly
just anything with teTeX in the name isn't enough. I think I need
help figuring this out.

Or at least a recommendation. Should I go ahead with a PR and just
add ports as people report problems?


Sorry, I must have missed this part in my previous email. The CONFLICTS
you have should cover everything. I'm just speculating that the
transition would have been smoother if the teTeX ports were deleted in
one go before replacing them with portmaster.



I have run into problems with portmaster. The problem is that it doesn't
check whether a dependency is satisfied. It just goes ahead and installs
them.

I think a dependency like:
latex:${PORTSDIR}/print/teTeX-base

shouldn't cause portmaster to install teTeX-base. Not if a latex
binary is already available.

--
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: [CFT] TexLive port

2012-08-20 Thread Doug Barton
On 08/20/2012 01:23, Dominic Fandrey wrote:
 I have run into problems with portmaster. The problem is that it doesn't
 check whether a dependency is satisfied. It just goes ahead and installs
 them.
 
 I think a dependency like:
 latex:${PORTSDIR}/print/teTeX-base
 
 shouldn't cause portmaster to install teTeX-base. Not if a latex
 binary is already available.

Portmaster doesn't handle dependencies that way, it relies on the port
authors to register CONFLICTS. If you have installed a port that
installs a latex binary it and teTeX-base should have CONFLICTS
registered against each other.

Doug

-- 

I am only one, but I am one.  I cannot do everything, but I can do
something.  And I will not let what I cannot do interfere with what
I can do.
-- Edward Everett Hale, (1822 - 1909)
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: [CFT] TexLive port

2012-08-20 Thread Dominic Fandrey

On 20/08/2012 10:40, Doug Barton wrote:

On 08/20/2012 01:23, Dominic Fandrey wrote:

I have run into problems with portmaster. The problem is that it doesn't
check whether a dependency is satisfied. It just goes ahead and installs
them.

I think a dependency like:
 latex:${PORTSDIR}/print/teTeX-base

shouldn't cause portmaster to install teTeX-base. Not if a latex
binary is already available.


Portmaster doesn't handle dependencies that way, it relies on the port
authors to register CONFLICTS. If you have installed a port that
installs a latex binary it and teTeX-base should have CONFLICTS
registered against each other.


So evidently my list of CONFLICTS is not complete.


--
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: [CFT] TexLive port

2012-08-14 Thread Dominic Fandrey

Hi,

On 14/08/2012 03:49, Denny Lin wrote:

On Mon, Aug 13, 2012 at 09:50:15AM +0200, Dominic Fandrey wrote:

On 13/08/2012 04:45, Denny Lin wrote:

On Sun, Aug 12, 2012 at 10:12:33AM +0200, Dominic Fandrey wrote:

On 31/07/2012 00:48, Dominic Fandrey wrote:
Here we go:
http://www.home.hs-karlsruhe.de/~fado1011/texlive/


Adding this line to print/texlive-base/Makefile should remove the need
to patch graphics/poppler:
CFLAGS+= -I${LOCALBASE}/include


I still think this is a proplem of poppler, so it should be fixed
there. However, I agree the way I go about fixing it is not optimal.

So I have updated the patch. Still not satisfactory, but maybe a
little better.


texlinks: config file `fmtutil.cnf' not found.


Something must have gone wrong with texlive-texmf. The file should be
in ${LOCALBASE}/share/texmf/web2c/fmtutil.cnf


I tried searching for fmtutil.cnf:
# find work/texlive-20120701-source/ -name fmtutil.cnf
work/texlive-20120701-source/texk/tetex/fmtutil.cnf

This error occurs even when I patched poppler, so it should be unrelated
to the workaround mentioned above.


Maybe just try to wipe all the teTeX stuff and make a clean start
with print/texlive. It works in my Tinderbox, so the installation
procedure should be fine.


Ok, it seems that a few files were accidentally deleted in the process
of replacing teTeX with Tex Live. I reinstalled the Tex Live ports, and
the error disappeared.


Do you by any chance remember all the tetex related things you needed
to remove? I'd like to add them to CONFLICTS.


However, I noticed a problem with the symlinks in print/texlive-base.
For instance, /usr/local/bin/mktexfmt pointed to fmtutil at first, but
this line in post-install:
link=${LOCALBASE}/share/texmf$${link##*/texmf};
changed it to /usr/local/share/texmffmtutil. Not all the symlinks need
to be modified.


Thanks for that one, it didn't cause problems with doxygen or any of the
tex docs I have lying around, so I suppose this one was difficult to find.


I've attached a fix although it's not very elegant (everything worked as
expected after the symlinks were fixed).


Doing it that way was a bad idea from the start. You'll like the way
I do it in the updated patch better.


I also reworked texlive-texmf
to build the plist and install the files at the same time to make it run
faster.


That shouldn't be working, because generate-plist is run before
do-install. Run:
# pkg_info -Lx texlive-texmf

And check whether it lists any files.


Thanks for all the time and effort you put into porting Tex Live! It
would be great to see TeX Live replace teTeX, regardless of whose port
is used.


Yes, definitely!


--
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: [CFT] TexLive port

2012-08-14 Thread Denny Lin
On Tue, Aug 14, 2012 at 03:47:21PM +0200, Dominic Fandrey wrote:
 Hi,
 
 On 14/08/2012 03:49, Denny Lin wrote:
 On Mon, Aug 13, 2012 at 09:50:15AM +0200, Dominic Fandrey wrote:
 On 13/08/2012 04:45, Denny Lin wrote:
 On Sun, Aug 12, 2012 at 10:12:33AM +0200, Dominic Fandrey wrote:
 On 31/07/2012 00:48, Dominic Fandrey wrote:
 Here we go:
 http://www.home.hs-karlsruhe.de/~fado1011/texlive/
 
 Adding this line to print/texlive-base/Makefile should remove the need
 to patch graphics/poppler:
 CFLAGS+= -I${LOCALBASE}/include
 
 I still think this is a proplem of poppler, so it should be fixed
 there. However, I agree the way I go about fixing it is not optimal.
 
 So I have updated the patch. Still not satisfactory, but maybe a
 little better.
 
 texlinks: config file `fmtutil.cnf' not found.
 
 Something must have gone wrong with texlive-texmf. The file should be
 in ${LOCALBASE}/share/texmf/web2c/fmtutil.cnf
 
 I tried searching for fmtutil.cnf:
 # find work/texlive-20120701-source/ -name fmtutil.cnf
 work/texlive-20120701-source/texk/tetex/fmtutil.cnf
 
 This error occurs even when I patched poppler, so it should be unrelated
 to the workaround mentioned above.
 
 Maybe just try to wipe all the teTeX stuff and make a clean start
 with print/texlive. It works in my Tinderbox, so the installation
 procedure should be fine.
 
 Ok, it seems that a few files were accidentally deleted in the process
 of replacing teTeX with Tex Live. I reinstalled the Tex Live ports, and
 the error disappeared.
 
 Do you by any chance remember all the tetex related things you needed
 to remove? I'd like to add them to CONFLICTS.
 
 However, I noticed a problem with the symlinks in print/texlive-base.
 For instance, /usr/local/bin/mktexfmt pointed to fmtutil at first, but
 this line in post-install:
  link=${LOCALBASE}/share/texmf$${link##*/texmf};
 changed it to /usr/local/share/texmffmtutil. Not all the symlinks need
 to be modified.
 
 Thanks for that one, it didn't cause problems with doxygen or any of the
 tex docs I have lying around, so I suppose this one was difficult to find.
 
 I've attached a fix although it's not very elegant (everything worked as
 expected after the symlinks were fixed).
 
 Doing it that way was a bad idea from the start. You'll like the way
 I do it in the updated patch better.
 
 I also reworked texlive-texmf
 to build the plist and install the files at the same time to make it run
 faster.
 
 That shouldn't be working, because generate-plist is run before
 do-install. Run:
 # pkg_info -Lx texlive-texmf
 
 And check whether it lists any files.

Yes, you are correct. The plist is empty. It looks like this method
won't work.

Do all the files in texlive-20120701-texmf.tar.xz really have to be
installed for Tex Live to work? Some of the packages for Linux are
nowhere near 2 GB. We might be able to just install commonly used files.

-- 
Denny Lin
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: [CFT] TexLive port

2012-08-13 Thread Dominic Fandrey

On 13/08/2012 04:45, Denny Lin wrote:

Hi,

On Sun, Aug 12, 2012 at 10:12:33AM +0200, Dominic Fandrey wrote:

On 31/07/2012 00:48, Dominic Fandrey wrote:
Here we go:
http://www.home.hs-karlsruhe.de/~fado1011/texlive/

# mkdir ~/texlive
# cd ~/texlive
# fetch 
http://www.home.hs-karlsruhe.de/~fado1011/texlive/patch-ports-graphics-poppler.txt
 http://www.home.hs-karlsruhe.de/~fado1011/texlive/shar-ports-print-texlive.txt
# cd /usr
# patch  ~/texlive/patch-ports-graphics-poppler.txt
# sh ~/texlive/shar-ports-print-texlive.txt
# portmaster graphics/poppler


Adding this line to print/texlive-base/Makefile should remove the need
to patch graphics/poppler:
CFLAGS+= -I${LOCALBASE}/include


If you don't have teTeX installed:
# portmaster print/texlive

If you have teTeX installed:
# portmaster -o print/texlive-texmf print/teTeX-texmf
# portmaster -o print/texlive-base print/teTeX-base
# portmaster -o print/texlive print/teTeX


This probably needs to be run before portmaster if teTeX is installed:
# pkg_delete -f 'dvipsk-tetex-*'
# pkg_delete -f 'xdvik-tetex-*'

print/texlive-base fails to build/install for some reason:
gmake[4]: Leaving directory 
`/usr/ports/print/texlive-base/work/texlive-20120701-source/texk/texlive'
gmake[3]: Leaving directory 
`/usr/ports/print/texlive-base/work/texlive-20120701-source/texk/texlive'
gmake[2]: Leaving directory 
`/usr/ports/print/texlive-base/work/texlive-20120701-source/texk/texlive'
gmake[1]: Leaving directory 
`/usr/ports/print/texlive-base/work/texlive-20120701-source/texk'
texlinks: config file `fmtutil.cnf' not found.


Something must have gone wrong with texlive-texmf. The file should be
in ${LOCALBASE}/share/texmf/web2c/fmtutil.cnf


I tried searching for fmtutil.cnf:
# find work/texlive-20120701-source/ -name fmtutil.cnf
work/texlive-20120701-source/texk/tetex/fmtutil.cnf

This error occurs even when I patched poppler, so it should be unrelated
to the workaround mentioned above.


Maybe just try to wipe all the teTeX stuff and make a clean start
with print/texlive. It works in my Tinderbox, so the installation
procedure should be fine.

--
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: [CFT] TexLive port

2012-08-13 Thread Denny Lin
Hi,

On Mon, Aug 13, 2012 at 09:50:15AM +0200, Dominic Fandrey wrote:
 On 13/08/2012 04:45, Denny Lin wrote:
 On Sun, Aug 12, 2012 at 10:12:33AM +0200, Dominic Fandrey wrote:
 On 31/07/2012 00:48, Dominic Fandrey wrote:
 Here we go:
 http://www.home.hs-karlsruhe.de/~fado1011/texlive/
 
 # mkdir ~/texlive
 # cd ~/texlive
 # fetch 
 http://www.home.hs-karlsruhe.de/~fado1011/texlive/patch-ports-graphics-poppler.txt
  
 http://www.home.hs-karlsruhe.de/~fado1011/texlive/shar-ports-print-texlive.txt
 # cd /usr
 # patch  ~/texlive/patch-ports-graphics-poppler.txt
 # sh ~/texlive/shar-ports-print-texlive.txt
 # portmaster graphics/poppler
 
 Adding this line to print/texlive-base/Makefile should remove the need
 to patch graphics/poppler:
 CFLAGS+= -I${LOCALBASE}/include
 
 If you don't have teTeX installed:
 # portmaster print/texlive
 
 If you have teTeX installed:
 # portmaster -o print/texlive-texmf print/teTeX-texmf
 # portmaster -o print/texlive-base print/teTeX-base
 # portmaster -o print/texlive print/teTeX
 
 This probably needs to be run before portmaster if teTeX is installed:
 # pkg_delete -f 'dvipsk-tetex-*'
 # pkg_delete -f 'xdvik-tetex-*'
 
 print/texlive-base fails to build/install for some reason:
 gmake[4]: Leaving directory 
 `/usr/ports/print/texlive-base/work/texlive-20120701-source/texk/texlive'
 gmake[3]: Leaving directory 
 `/usr/ports/print/texlive-base/work/texlive-20120701-source/texk/texlive'
 gmake[2]: Leaving directory 
 `/usr/ports/print/texlive-base/work/texlive-20120701-source/texk/texlive'
 gmake[1]: Leaving directory 
 `/usr/ports/print/texlive-base/work/texlive-20120701-source/texk'
 texlinks: config file `fmtutil.cnf' not found.
 
 Something must have gone wrong with texlive-texmf. The file should be
 in ${LOCALBASE}/share/texmf/web2c/fmtutil.cnf
 
 I tried searching for fmtutil.cnf:
 # find work/texlive-20120701-source/ -name fmtutil.cnf
 work/texlive-20120701-source/texk/tetex/fmtutil.cnf
 
 This error occurs even when I patched poppler, so it should be unrelated
 to the workaround mentioned above.
 
 Maybe just try to wipe all the teTeX stuff and make a clean start
 with print/texlive. It works in my Tinderbox, so the installation
 procedure should be fine.

Ok, it seems that a few files were accidentally deleted in the process
of replacing teTeX with Tex Live. I reinstalled the Tex Live ports, and
the error disappeared.

However, I noticed a problem with the symlinks in print/texlive-base.
For instance, /usr/local/bin/mktexfmt pointed to fmtutil at first, but
this line in post-install:
link=${LOCALBASE}/share/texmf$${link##*/texmf};
changed it to /usr/local/share/texmffmtutil. Not all the symlinks need
to be modified.

I've attached a fix although it's not very elegant (everything worked as
expected after the symlinks were fixed). I also reworked texlive-texmf
to build the plist and install the files at the same time to make it run
faster.

Thanks for all the time and effort you put into porting Tex Live! It
would be great to see TeX Live replace teTeX, regardless of whose port
is used.

-- 
Denny Lin
--- print/texlive-base/Makefile.orig	2012-08-14 00:21:52.0 +0800
+++ print/texlive-base/Makefile	2012-08-14 09:36:09.0 +0800
@@ -74,6 +74,8 @@
 		--with-system-libpng \
 		--with-system-zlib
 
+CFLAGS+=	-I${LOCALBASE}/include
+
 PLIST_TMP=	${WRKDIR}/plist_tmp/
 PLIST_REPL=	-e s|${PLIST_TMP}||1 \
 		-e /^man\//d \
@@ -87,7 +89,7 @@
 	@for bin in $$(${SED} -ne 's,^bin/,${PREFIX}/bin/,p' ${PLIST}); do \
 		${TEST} -h $$bin || continue; \
 		link=$$(${READLINK_CMD} $$bin); \
-		link=${LOCALBASE}/share/texmf$${link##*/texmf}; \
+		link=$$(${ECHO} $$link | ${SED} -e 's,.*/texmf,${LOCALBASE}/share/texmf,1'); \
 		${RM} $$bin; \
 		${LN} -s $$link $$bin; done
 	@${SETENV} PATH=${PREFIX}/bin:$$PATH ${PREFIX}/bin/texlinks -v \
--- print/texlive-texmf/Makefile.orig	2012-08-14 00:19:50.0 +0800
+++ print/texlive-texmf/Makefile	2012-08-14 00:20:04.0 +0800
@@ -25,23 +25,18 @@
 EXCLUDE_FILES+=	--exclude '*/doc/*'
 .endif
 
-PLIST_REPL+=	-e 's|^${DISTNAME}/|share/|1' \
+PLIST_REPL+=	-e 's|^x |share/|1' \
 		-e '/\/$$/{s,^,@dirrmtry ,${.newline}x${.newline}H${.newline}d${.newline}}' \
 		-e '$${p${.newline}x${.newline}}'
 
 do-extract:
 	@${MKDIR} ${WRKDIR}
-	@${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/${DISTFILES} \
-		 ${WRKDIR}/${DISTNAME}.tar
-
-do-build:
-	@${TAR} -tf ${WRKDIR}/${DISTNAME}.tar ${EXCLUDE_FILES} \
-		| ${SED} ${PLIST_REPL}  ${PLIST}
 
 do-install:
 	@${MKDIR} ${PREFIX}/share
-	@${TAR} -vxf ${WRKDIR}/${DISTNAME}.tar ${EXCLUDE_FILES} \
-		-C ${PREFIX}/share --strip-components 1
+	@${TAR} -vxf ${DISTDIR}/${DISTFILES} ${EXCLUDE_FILES} \
+		-C ${PREFIX}/share --strip-components 1 21 \
+		| ${SED} ${PLIST_REPL}  ${PLIST}
 	@${REINPLACE_CMD} \
 		's,^TEXMFROOT[[:space:]]*=.*,TEXMFROOT = ${PREFIX}/share,' \
 		${PREFIX}/share/texmf/web2c/texmf.cnf
___
freebsd-ports@freebsd.org mailing list

[CFT] TexLive port

2012-08-12 Thread Dominic Fandrey

On 31/07/2012 00:48, Dominic Fandrey wrote:

I have a well working TexLive 2012 port, intended to be a replacement
for teTex.

...

Because a lot of things depend on a working TeX install I'd like to
have some volunteers in a week.


Here we go:
http://www.home.hs-karlsruhe.de/~fado1011/texlive/

# mkdir ~/texlive
# cd ~/texlive
# fetch 
http://www.home.hs-karlsruhe.de/~fado1011/texlive/patch-ports-graphics-poppler.txt
 http://www.home.hs-karlsruhe.de/~fado1011/texlive/shar-ports-print-texlive.txt
# cd /usr
# patch  ~/texlive/patch-ports-graphics-poppler.txt
# sh ~/texlive/shar-ports-print-texlive.txt
# portmaster graphics/poppler

If you don't have teTeX installed:
# portmaster print/texlive

If you have teTeX installed:
# portmaster -o print/texlive-texmf print/teTeX-texmf
# portmaster -o print/texlive-base print/teTeX-base
# portmaster -o print/texlive print/teTeX


The texlive-texmf distfile is huge and ftp.tug.org is slow. If somebody
knows any mirrors, please let me know!

Regards

--
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: [CFT] TexLive port

2012-08-12 Thread Baptiste Daroussin
On Sun, Aug 12, 2012 at 10:12:33AM +0200, Dominic Fandrey wrote:
 On 31/07/2012 00:48, Dominic Fandrey wrote:
  I have a well working TexLive 2012 port, intended to be a replacement
  for teTex.
 
  ...
 
  Because a lot of things depend on a working TeX install I'd like to
  have some volunteers in a week.
 
 Here we go:
 http://www.home.hs-karlsruhe.de/~fado1011/texlive/
 
 # mkdir ~/texlive
 # cd ~/texlive
 # fetch 
 http://www.home.hs-karlsruhe.de/~fado1011/texlive/patch-ports-graphics-poppler.txt
  
 http://www.home.hs-karlsruhe.de/~fado1011/texlive/shar-ports-print-texlive.txt
 # cd /usr
 # patch  ~/texlive/patch-ports-graphics-poppler.txt
 # sh ~/texlive/shar-ports-print-texlive.txt
 # portmaster graphics/poppler
 
 If you don't have teTeX installed:
 # portmaster print/texlive
 
 If you have teTeX installed:
 # portmaster -o print/texlive-texmf print/teTeX-texmf
 # portmaster -o print/texlive-base print/teTeX-base
 # portmaster -o print/texlive print/teTeX
 
 
 The texlive-texmf distfile is huge and ftp.tug.org is slow. If somebody
 knows any mirrors, please let me know!
 
 Regards
 
 -- 
 A: Because it fouls the order in which people normally read text.
 Q: Why is top-posting such a bad thing?
 A: Top-posting.
 Q: What is the most annoying thing on usenet and in e-mail?
 ___
 freebsd-ports@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-ports
 To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org

Hi,

First thanks for this work.

Are you aware of: http://code.google.com/p/freebsd-texlive/ ? romain@ has been
working and maintaining those ports for a while and has plan to merge them into
the ports tree once he is back from vacations (in about a month iirc) did you
contact him? maybe both of your work can be merged? I know hrs@ also has/had?
plan about texlive, merging the effort and plan could be good.

regards,
Bapt


pgpxterGhWgOY.pgp
Description: PGP signature


Re: [CFT] TexLive port

2012-08-12 Thread Dominic Fandrey

Hello,

On 12/08/2012 10:50, Baptiste Daroussin wrote:

On Sun, Aug 12, 2012 at 10:12:33AM +0200, Dominic Fandrey wrote:

...
Here we go:


Are you aware of: http://code.google.com/p/freebsd-texlive/ ? romain@ has been
working and maintaining those ports for a while and has plan to merge them into
the ports tree once he is back from vacations (in about a month iirc) did you
contact him? maybe both of your work can be merged? I know hrs@ also has/had?
plan about texlive, merging the effort and plan could be good.


Yes, I became aware when I tried to find out why there is no TeX Live port.

I looked at it and dismissed it as more complicated than creating my own
port. Our approaches are quite orthogonal. Whereas he uses the CTAN
thingy to assemble all the parts that make up a TeX Live distribution,
I simply grab the release tarballs and slab them onto the system.

I expect both ports are pretty complete by now. I'd say I open the PR,
he can submit his port for review into the same or another PR and we let
the community discuss which is their preferred approach.

His is definitely more fine grained and customizable, mine is probably
easier to maintain.

I'd be content with either solution so long as a TeX Live port makes
it into the tree soon. It's always good to throw away stuff to make
space for something better. So don't hesitate to declare my port
inferior if that is your opinion.

--
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: [CFT] TexLive port

2012-08-12 Thread Denny Lin
Hi,

On Sun, Aug 12, 2012 at 10:12:33AM +0200, Dominic Fandrey wrote:
 On 31/07/2012 00:48, Dominic Fandrey wrote:
 Here we go:
 http://www.home.hs-karlsruhe.de/~fado1011/texlive/
 
 # mkdir ~/texlive
 # cd ~/texlive
 # fetch 
 http://www.home.hs-karlsruhe.de/~fado1011/texlive/patch-ports-graphics-poppler.txt
  
 http://www.home.hs-karlsruhe.de/~fado1011/texlive/shar-ports-print-texlive.txt
 # cd /usr
 # patch  ~/texlive/patch-ports-graphics-poppler.txt
 # sh ~/texlive/shar-ports-print-texlive.txt
 # portmaster graphics/poppler

Adding this line to print/texlive-base/Makefile should remove the need
to patch graphics/poppler:
CFLAGS+= -I${LOCALBASE}/include 

 If you don't have teTeX installed:
 # portmaster print/texlive
 
 If you have teTeX installed:
 # portmaster -o print/texlive-texmf print/teTeX-texmf
 # portmaster -o print/texlive-base print/teTeX-base
 # portmaster -o print/texlive print/teTeX

This probably needs to be run before portmaster if teTeX is installed:
# pkg_delete -f 'dvipsk-tetex-*'
# pkg_delete -f 'xdvik-tetex-*'

print/texlive-base fails to build/install for some reason:
gmake[4]: Leaving directory 
`/usr/ports/print/texlive-base/work/texlive-20120701-source/texk/texlive'
gmake[3]: Leaving directory 
`/usr/ports/print/texlive-base/work/texlive-20120701-source/texk/texlive'
gmake[2]: Leaving directory 
`/usr/ports/print/texlive-base/work/texlive-20120701-source/texk/texlive'
gmake[1]: Leaving directory 
`/usr/ports/print/texlive-base/work/texlive-20120701-source/texk'
texlinks: config file `fmtutil.cnf' not found.

I tried searching for fmtutil.cnf:
# find work/texlive-20120701-source/ -name fmtutil.cnf
work/texlive-20120701-source/texk/tetex/fmtutil.cnf

This error occurs even when I patched poppler, so it should be unrelated
to the workaround mentioned above.

-- 
Denny Lin
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org