TEX_DEFAULT problem

2013-05-10 Thread Hiroto Kagotani
I am using ports tree of r317759.

Without setting TEX_DEFAULT, tex-kpathsea depends on teTeX-base.
So, when I make print/texlive-full, installation stops by conflict with
teTeX-*.

By setting TEX_DEFAULT=texlive in /etc/make.conf, there are cyclic
dependencies.
Here is the result of make in print/texlive-full.
...
===   Returning to build of tex-web2c-20120701_2
===   tex-web2c-20120701_2 depends on shared library: kpathsea - not found
===Verifying install for kpathsea in /usr/ports/devel/tex-kpathsea
=== Fetching all distfiles required by tex-kpathsea-6.1.0 for building
===  Extracting for tex-kpathsea-6.1.0
= SHA256 Checksum OK for TeX/texlive-20120701-source.tar.xz.
===  Patching for tex-kpathsea-6.1.0
===  Applying FreeBSD patches for tex-kpathsea-6.1.0
===   tex-kpathsea-6.1.0 depends on executable: tlmgr - not found
===Verifying install for tlmgr in /usr/ports/print/texlive-base
===   texlive-base-20120701_2 depends on executable: weave - not found
===Verifying install for weave in /usr/ports/devel/tex-web2c
===   tex-web2c-20120701_2 depends on executable: pkgconf - found
===   tex-web2c-20120701_2 depends on executable: gmake - found
===   tex-web2c-20120701_2 depends on shared library: openjpeg - found
===   tex-web2c-20120701_2 depends on shared library: png15 - found
===   tex-web2c-20120701_2 depends on shared library: zzip - found
===   tex-web2c-20120701_2 depends on shared library: kpathsea - not found
===Verifying install for kpathsea in /usr/ports/devel/tex-kpathsea
===   tex-kpathsea-6.1.0 depends on executable: tlmgr - not found
===Verifying install for tlmgr in /usr/ports/print/texlive-base
===   texlive-base-20120701_2 depends on executable: weave - not found
===Verifying install for weave in /usr/ports/devel/tex-web2c
===   tex-web2c-20120701_2 depends on executable: pkgconf - found
...

Regards,
-- 
Hiroto Kagotani
hiroto.kagot...@gmail.com
___
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: Problem with japanese/tex-ptex going very slowly

2013-05-09 Thread Hiroto Kagotani
2013/5/7 Hiroki Sato h...@freebsd.org

 Stephen Montgomery-Smith step...@missouri.edu wrote
   in 5187c454.2050...@missouri.edu:

 st Many thanks for creating the texlive port!
 st
 st I am trying to install the recent japanese/tex-ptex port.  It seems to
 st spend several hours doing:
 st
 st fmtutil: running `ptex -ini   -jobname=ptex -progname=ptex ptex.ini
 st #ptex' ...


I have exactly the same problem, ptex won't finish.
I am using a newly installed FreeBSD 9.1 virtual machine.


  No, it is odd.

  Can you send me the result of the following two commands?

  % grep -A2 lastarg /usr/local/bin/fmtutil
  % find /usr/local/share/texmf* $HOME/.tex*


The first one is:

  eval lastarg=\$$#
  case $lastarg in
  \#*)  eval lastarg=\$$(($# - 1)) ;;
  esac
  inifile=`echo $lastarg | sed 's%^\*%%'`

  # See if we can find $inifile for return code:


And the result of % tail -3 /usr/local/share/texmf-config/web2c/fmtutil.cnf
---
ptex ptex - ptex.ini#ptex
ptex eptex language.def *eptex.ini#ptex
platex eptex language.dat *platex.ini#ptex
---

I'm not sure why there are 2 ptex lines.

The result of % find /usr/local/share/texmf* $HOME/.tex* is very huge.
Do you really need it?

Regards,
-- 
Hiroto Kagotani
hiroto.kagot...@gmail.com
___
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: Problem with japanese/tex-ptex going very slowly

2013-05-09 Thread Hiroto Kagotani
I've identified the bug.

When I set LANG environment variable, ptex works.
If LANG is not set, fnmatch() called in default_kanji_enc() in ptexenc.c
does not return.

Although this might be a bug of fnmatch library, ptexenc.c should also
treat the case.

Regards,
-- 
Hiroto Kagotani
hiroto.kagot...@gmail.com
___
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 ports

2013-02-28 Thread Hiroto Kagotani
2013/2/28 Hiroki Sato h...@freebsd.org


   http://people.allbsd.org/~hrs/FreeBSD/texlive-20130228-1.tar.gz

  Please try this instead.


I tried this version and succeeded to install on 9.1R.
But I miss symlinks etex and lualatex in /usr/local/bin,
which was installed by the portshaker version.
-- 
Hiroto Kagotani
hiroto.kagot...@gmail.com
___
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: libreoffice, Makefile fix proposal...

2012-06-07 Thread Hiroto Kagotani
2012/6/7 Sergio de Almeida Lenzi lenzi.ser...@gmail.com:
 Well, now that libreoffice build is
 solved, than  what about insert
 a line:
 CONFLICTS_BUILD=    boost*
 near line 63 of Makefile???

libreoffice does not conflict with boost;
just Makefile has a problem.

Attached is the patch.
-- 
Hiroto Kagotani
hiroto.kagot...@gmail.com


Makefile.diff
Description: Binary data
___
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: make failed for editors/libreoffice SOLVED

2012-06-06 Thread Hiroto Kagotani
Hi

2012/6/6 Sergio de Almeida Lenzi lenzi.ser...@gmail.com:
 You MUST use the boost that comes with libreoffice,
 but somehow the makefiles searches /usr/local/include/*

Thank you for pointing out the problem.

To make the priority of /usr/local/include lower than those from libreoffice,
remove CPPFLAGS and LDFLAGS lines from Makefile,
and instead, add a line:
CONFIGURE_ARGS+=CPPFLAGS=-I${LOCALBASE}/include
LDFLAGS=-L${LOCALBASE}/lib

This should work with boost-* installed.
-- 
Hiroto Kagotani
hiroto.kagot...@gmail.com
___
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: www/firefox and mail/thunderbird localization

2012-02-21 Thread Hiroto Kagotani
Hi

 To resume, the www/firefox-i18n port does not work any more, at least
 for the fr-FR locale, at least on two different computers I own, and
 at least one some other computers owned by others individuals who seem
 to be using other locales. While it's broken, a workaround is to
 manually install the french localization from the mozilla website. But
 what can be done to repair the port or help debug this ?

For Linux, someone seems to have solved the problem.
http://www.pclinuxos.com/forum/index.php/topic,102212.msg871107.html#msg871107
But I don't know what he actually did.

-- 
Hiroto Kagotani
hiroto.kagot...@gmail.com
___
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: portupgrade/ruby issue? (Stale lock file was found. Removed.)

2009-06-17 Thread Hiroto Kagotani
2009/6/17 Andriy Gapon a...@icyb.net.ua:

 After recent massive ports update (I think ruby was touch and probably 
 portupgrade
 too) I started getting seemingly sporadic Stale lock file was found. 
 Removed.
 messages.

It is probably caused by ruby-1.8.7's bug fogetting to call finalizers.
This is filed as Bug #1556 (http://redmine.ruby-lang.org/issues/show/1556
... japanese page; please translate it ;)

Workaround for the case may be using at_exit instead of finalizers.
My sample fix is:

--- pkgdb.rb.orig   2009-04-14 16:56:38.0 +0900
+++ pkgdb.rb2009-06-18 01:49:19.0 +0900
@@ -103,8 +103,8 @@
 #end
   end

-  def PkgDB.finalizer
-Proc.new {
+  def PkgDB.define_at_exit
+at_exit {
   PkgDBTools.remove_lock(LOCK_FILE)
 }
   end
@@ -113,7 +113,7 @@
 @db = nil
 @lock_file = Process.euid == 0 ? LOCK_FILE : nil
 @db_version = DB_VERSION
-ObjectSpace.define_finalizer(self, PkgDB.finalizer)
+PkgDB.define_at_exit
 setup(*args)
   end

--- portsdb.rb.orig 2009-04-14 16:56:38.0 +0900
+++ portsdb.rb  2009-06-18 01:49:04.0 +0900
@@ -153,8 +153,8 @@
 end
   end

-  def PortsDB.finalizer
-Proc.new {
+  def PortsDB.define_at_exit
+at_exit {
   PkgDBTools.remove_lock(LOCK_FILE)
 }
   end
@@ -163,7 +163,7 @@
 @db = nil
 @lock_file = Process.euid == 0 ? LOCK_FILE : nil
 @db_version = DB_VERSION
-ObjectSpace.define_finalizer(self, PortsDB.finalizer)
+PortsDB.define_at_exit
 set_ports_dir(alt_ports_dir)
 set_db_dir(alt_db_dir)
 set_db_driver(alt_db_driver)


-- 
Hiroto Kagotani
hiroto.kagot...@gmail.com
___
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: [maintainer] ghostscript-gpl - jasper

2008-06-14 Thread Hiroto Kagotani
Hi,

 Running jasper configure script...
 checking build system type... configure: error: cannot guess build type; you 
 must specify one
 configure: error: jasper configure script failed

This seems your configure program failed to guess your system type.
Please send the result of work/ghostscript-8.62/jasper/acaux/config.guess
script as well as the contents of work/ghostscript-8.62/jasper/config.log file.

-- 
Hiroto Kagotani
[EMAIL PROTECTED]
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD-games/Larn is broken in FreeBSD7.0 Release

2008-03-04 Thread Hiroto Kagotani
Hi,

2008/3/5, tigner [EMAIL PROTECTED]:
  When you run Larn, and chose to read/eat/drink anything the games exits
  with a signal 11 ,segfaults and does a coredump.

  You have found a magic potion
  Do you (d) drink it, (t) take it, or (i) ignore it?
  Segmentation fault (core dumped) [SIGSEGV]drink

  I would like to use Larn on 7.0, what do I suggest I do to fix this ?

This is caused by the same problem as freebsd-games/hack.
Please refer to the thread beginning with
http://lists.freebsd.org/pipermail/freebsd-ports/2008-January/046245.html

For the temporary solution,
edit freebsd-games/files/patch-larn_Makefile to add -fwritable-strings
to CFLAGS and do not forget to use gcc34 or earlier instead of gcc in 7.0.

Hope this helps.

-- 
Hiroto Kagotani
[EMAIL PROTECTED]
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]