Bug 118100 - [ebuild] auctex-11.82 (patches from bug #118091 included)
Bug#: 118100 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: enhancement Priority: P2
Resolution: FIXED Assigned To: emacs@gentoo.org Reported By: fauli@gentoo.org
Component: Ebuilds
URL: 
Summary: [ebuild] auctex-11.82 (patches from bug #118091 included)
Keywords:  EBUILD
Status Whiteboard: 
Opened: 2006-01-06 14:07 0000
Description:   Opened: 2006-01-06 14:07 0000
AUCTeX 11.82 ebuild

------- Comment #1 From Christian Faulhammer 2006-01-06 14:08:07 0000 -------
Created an attachment (id=76397) [details]
auctex-11.82.ebuild

------- Comment #2 From Christian Faulhammer 2006-01-06 14:09:12 0000 -------
Created an attachment (id=76398) [details]
auctex-11.82-configure.diff

Removes XEmacs detection from configure script, same content as for version
11.81

------- Comment #3 From Christian Faulhammer 2006-01-06 14:09:52 0000 -------
Created an attachment (id=76399) [details]
50auctex-gentoo.el

Activates AUCTeX in site-gentoo.el

------- Comment #4 From Christian Faulhammer 2006-01-06 14:10:21 0000 -------
Created an attachment (id=76400) [details]
60auctex-gentoo.el

Activates preview-latex if USE=preview-latex is set

------- Comment #5 From Christian Faulhammer 2006-01-06 14:34:06 0000 -------
Oh me, I go to bed now, my first impression that it worked was totally wrong...

------- Comment #6 From Christian Faulhammer 2006-01-06 14:56:34 0000 -------
Stupidity on my side, sorry for the noise

------- Comment #7 From Sebastian Schubert 2006-01-13 09:58:14 0000 -------
Works here with preview-latex useflag. Thanks again for one of your ebuilds. :)

CFLAGS="-march=pentium-m -O2 -fomit-frame-pointer -momit-leaf-frame-pointer
-fno-iden
CXXFLAGS="-march=pentium-m -O2 -fomit-frame-pointer -momit-leaf-frame-pointer
-fno-ident -pipe -fvisibility-inlines-hidden"

------- Comment #8 From Jakub Moc (RETIRED) 2006-01-16 00:43:17 0000 -------
*** Bug 119162 has been marked as a duplicate of this bug. ***

------- Comment #9 From Christian Schlotter 2006-01-16 11:51:25 0000 -------
Created an attachment (id=77287) [details]
auctex-11.82.ebuild

Hello Christian!

Thanks for you ebuild.  It worked fine here, with the exception that I manually
had to run `texhash'.  Please find attached an ebuild which does this in
pkg_postinst().

Best regards
Christian

------- Comment #10 From Christian Faulhammer 2006-01-17 03:23:59 0000 -------
Please mark "old" ebuils as overriden!  texhash must only be called when you
use the preview-latex flag and during my tests texhash ran.  So, there are two
options: 1.) define texhash run in dependency to the preview-latex USE flag or
2.) remove it.

------- Comment #11 From Christian Schlotter 2006-01-17 05:04:28 0000 -------
Created an attachment (id=77341) [details]
auctex-11.82.ebuild

Hello Christian!

(In reply to comment #10)
> Please mark "old" ebuils as overriden!

I can only mark attachments as obsolete which I have created.

> So, there are two
> options: 1.) define texhash run in dependency to the preview-latex USE flag

Please find attached an updated ebuild which does so.

Best regards
Christian

------- Comment #12 From Christian Faulhammer 2006-01-17 06:33:19 0000 -------
Created an attachment (id=77351) [details]
auctex-11.82.ebuild

implemented texhash the Gentoo way and added elisp functions from eclasses

------- Comment #13 From MATSUI Tetsushi 2006-01-30 09:41:50 0000 -------
app-emacs/auctex-11.81 and 11.82 here doesn't activate tex-jp.

It is caused by the patch applied to configure, which was introduced for
11.54/11.55 to "skip XEmacs detection".  It removes mule detection that is
essential for tex-jp activation.  I hope the removal was accidental.

I point out some more.

One point is about treatment of tex-jp and bib-cite.  I once reported
in bug #72637 that they are not installed by default.  It seems, however,
AUCTeX developers have changed their minds.  Thus, we can eliminate a few
redundant lines from the ebuild file.

Another point is auctex activation itself.  CHANGES says:
  Already in version 11.81 the way to activate AUCTeX changed substantially.
  This should now be done with `(load "auctex.el" nil t t)' instead of the 
  former `(require 'tex-site)'. 
The 50auctex-gentoo.el in files sub-dir is in the "require" style, and it 
should be changed.  A problem is that 50auctex-gentoo.el file is commonly
used by both 11.8x and 11.5x, and "load" style is for 11.8x only.  I suggest
to use a different file for 11.8x, 51auctex-gentoo.el, say.

Attatchment files will follow.

------- Comment #14 From MATSUI Tetsushi 2006-01-30 09:43:59 0000 -------
Created an attachment (id=78506) [details]
new auctex-11.82.ebuild

------- Comment #15 From MATSUI Tetsushi 2006-01-30 09:46:38 0000 -------
Created an attachment (id=78507) [details]
new auctex-11.82-configure.diff

------- Comment #16 From MATSUI Tetsushi 2006-01-30 09:47:29 0000 -------
Created an attachment (id=78508) [details]
51auctex-gentoo.el

------- Comment #17 From Christian Faulhammer 2006-01-30 14:53:54 0000 -------
So is the configure patch really needed?  What it is good for anyway?

------- Comment #18 From Mamoru KOMACHI (RETIRED) 2006-02-01 06:23:18 0000 -------
Yeah, I accidentally removed mule detection part from configure script.
XEmacs detection is necessary for this ebuild to compile elisp code
for emacs-23, but I shouldn't have disabled mule detection. I'll fix
it asap.

------- Comment #19 From Mamoru KOMACHI (RETIRED) 2006-02-01 08:06:32 0000 -------
Fixed in CVS. Thanks Christian and Tetsushi.

------- Comment #20 From Sebastian Schubert 2006-02-02 04:15:06 0000 -------
New ebuild in official portage tree does not compile here.

Part of configure process that seems strange (newest tetex testing installed):

checking for prefix from kpsepath... "/usr"
checking for TDS-compliant directory... no
checking for TeX directory hierarchy... no
checking for TeX input directory... /usr/lib/ocaml/ocamldoc
Preview will be placed in /usr/lib/ocaml/ocamldoc


The error:

Wrote /var/tmp/portage/auctex-11.82/work/auctex-11.82/tex-jp.elc
test -z "preview" || (OLDPWD="`pwd`";for i in ""preview;do cd $i;echo
"Descending into `pwd`";make 'DESTDIR=' PACKAGE=auctex all || exit $?;cd
"$OLDPWD";echo "Ascending into $OLDPWD";done)
Descending into /var/tmp/portage/auctex-11.82/work/auctex-11.82/preview
make[1]: Entering directory
`/var/tmp/portage/auctex-11.82/work/auctex-11.82/preview'
make[1]: Warnung: Kein Jobserver verf

------- Comment #21 From Sebastian Schubert 2006-02-02 04:15:06 0000 -------
New ebuild in official portage tree does not compile here.

Part of configure process that seems strange (newest tetex testing installed):

checking for prefix from kpsepath... "/usr"
checking for TDS-compliant directory... no
checking for TeX directory hierarchy... no
checking for TeX input directory... /usr/lib/ocaml/ocamldoc
Preview will be placed in /usr/lib/ocaml/ocamldoc


The error:

Wrote /var/tmp/portage/auctex-11.82/work/auctex-11.82/tex-jp.elc
test -z "preview" || (OLDPWD="`pwd`";for i in ""preview;do cd $i;echo
"Descending into `pwd`";make 'DESTDIR=' PACKAGE=auctex all || exit $?;cd
"$OLDPWD";echo "Ascending into $OLDPWD";done)
Descending into /var/tmp/portage/auctex-11.82/work/auctex-11.82/preview
make[1]: Entering directory
`/var/tmp/portage/auctex-11.82/work/auctex-11.82/preview'
make[1]: Warnung: Kein Jobserver verfügbar: setzen -j1. Fügen »+« zur
Ursprungsregel hinzu.
(cd latex ; make all)
make[2]: Entering directory
`/var/tmp/portage/auctex-11.82/work/auctex-11.82/preview/latex'
/usr/bin/tex '\nonstopmode \input bootstrap.ins'
This is TeX, Version 3.141592 (Web2C 7.5.5)

(./bootstrap.ins
! I can't find file `docstrip'.
l.1 \input docstrip

Please type another input file name
! Emergency stop.
l.1 \input docstrip

No pages of output.
Transcript written on bootstrap.log.
make[2]: *** [preview-mk.ins] Fehler 1
make[2]: Leaving directory
`/var/tmp/portage/auctex-11.82/work/auctex-11.82/preview/latex'
make[1]: *** [texmf] Fehler 2
make[1]: Leaving directory
`/var/tmp/portage/auctex-11.82/work/auctex-11.82/preview'
make: *** [all] Fehler 2


Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2,
2.6.14-suspend2-r7 i686)
=================================================================
System uname: 2.6.14-suspend2-r7 i686 Intel(R) Pentium(R) M processor 1.60GHz
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -O2 -fomit-frame-pointer -momit-leaf-frame-pointer
-fno-ident -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/bin/texdoc /usr/kde/2/share/config /usr/kde/3.5/env
/usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c
/etc/env.d"
CXXFLAGS="-march=pentium-m -O2 -fomit-frame-pointer -momit-leaf-frame-pointer
-fno-ident -pipe -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo"
LANG="de_DE.UTF-8"
LC_ALL="de_DE.UTF-8"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acpi alsa apm auctex audiofile avi bash-completion berkdb
bitmap-fonts bzip2 cdparanoia cdr cjk crypt cups curl doc dvd dvdr dvdread
emacs emboss encode exif expat fam ffmpeg flac foomaticdb fortran gd gdbm gif
glut gmp gphoto2 gpm gstreamer gtk gtk2 icq idn imagemagick imlib ipv6 ithreads
jack java javascript jpeg kde kdeenablefinal lcms libg++ libwww lm_sensors lua
mad mikmod mime mmx mng motif mp3 mpeg mplayer ncurses nls nocd nptl nsplugin
ogg oggvorbis openal opengl oss pam pcre pdflib perl pic plotutils png python
qt quicktime readline recode samba sdl spell sse sse2 ssl svg svga tcltk tcpd
tetex threads tiff truetype truetype-fonts type1-fonts udev unicode usb
userlocales vcd visualization vorbis win32codecs wmf xine xml2 xmms xv xvid
zlib linguas_de userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS

------- Comment #22 From Christian Faulhammer 2006-02-02 05:41:27 0000 -------
(In reply to comment #20)
Please open a new bug.  ./configure runs fine here, but I use TeXLive, so maybe
you could test a downgrade which part is responsible for the error.