AUCTeX 11.82 ebuild
Created attachment 76397 [details] auctex-11.82.ebuild
Created attachment 76398 [details] auctex-11.82-configure.diff Removes XEmacs detection from configure script, same content as for version 11.81
Created attachment 76399 [details] 50auctex-gentoo.el Activates AUCTeX in site-gentoo.el
Created attachment 76400 [details] 60auctex-gentoo.el Activates preview-latex if USE=preview-latex is set
Oh me, I go to bed now, my first impression that it worked was totally wrong...
Stupidity on my side, sorry for the noise
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"
*** Bug 119162 has been marked as a duplicate of this bug. ***
Created attachment 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
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.
Created attachment 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
Created attachment 77351 [details] auctex-11.82.ebuild implemented texhash the Gentoo way and added elisp functions from eclasses
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.
Created attachment 78506 [details] new auctex-11.82.ebuild
Created attachment 78507 [details, diff] new auctex-11.82-configure.diff
Created attachment 78508 [details] 51auctex-gentoo.el
So is the configure patch really needed? What it is good for anyway?
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.
Fixed in CVS. Thanks Christian and Tetsushi.
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
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
(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.