Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 118100 - [ebuild] auctex-11.82 (patches from bug #118091 included)
Summary: [ebuild] auctex-11.82 (patches from bug #118091 included)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Emacs project
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2006-01-06 14:07 UTC by Christian Faulhammer (RETIRED)
Modified: 2006-02-02 05:41 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
auctex-11.82.ebuild (auctex-11.82.ebuild,1.19 KB, text/plain)
2006-01-06 14:08 UTC, Christian Faulhammer (RETIRED)
Details
auctex-11.82-configure.diff (auctex-11.82-configure.diff,5.86 KB, text/plain)
2006-01-06 14:09 UTC, Christian Faulhammer (RETIRED)
Details
50auctex-gentoo.el (50auctex-gentoo.el,57 bytes, text/plain)
2006-01-06 14:09 UTC, Christian Faulhammer (RETIRED)
Details
60auctex-gentoo.el (60auctex-gentoo.el,97 bytes, text/plain)
2006-01-06 14:10 UTC, Christian Faulhammer (RETIRED)
Details
auctex-11.82.ebuild (auctex-11.82.ebuild,1.25 KB, text/plain)
2006-01-16 11:51 UTC, Christian Schlotter
Details
auctex-11.82.ebuild (auctex-11.82.ebuild,1.27 KB, text/plain)
2006-01-17 05:04 UTC, Christian Schlotter
Details
auctex-11.82.ebuild (auctex-11.82.ebuild,1.39 KB, text/plain)
2006-01-17 06:33 UTC, Christian Faulhammer (RETIRED)
Details
new auctex-11.82.ebuild (auctex-11.82.ebuild,1.30 KB, text/plain)
2006-01-30 09:43 UTC, MATSUI Tetsushi
Details
new auctex-11.82-configure.diff (auctex-11.82-configure.diff,2.72 KB, patch)
2006-01-30 09:46 UTC, MATSUI Tetsushi
Details | Diff
51auctex-gentoo.el (51auctex-gentoo.el,64 bytes, text/plain)
2006-01-30 09:47 UTC, MATSUI Tetsushi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Faulhammer (RETIRED) gentoo-dev 2006-01-06 14:07:28 UTC
AUCTeX 11.82 ebuild
Comment 1 Christian Faulhammer (RETIRED) gentoo-dev 2006-01-06 14:08:07 UTC
Created attachment 76397 [details]
auctex-11.82.ebuild
Comment 2 Christian Faulhammer (RETIRED) gentoo-dev 2006-01-06 14:09:12 UTC
Created attachment 76398 [details]
auctex-11.82-configure.diff

Removes XEmacs detection from configure script, same content as for version 11.81
Comment 3 Christian Faulhammer (RETIRED) gentoo-dev 2006-01-06 14:09:52 UTC
Created attachment 76399 [details]
50auctex-gentoo.el

Activates AUCTeX in site-gentoo.el
Comment 4 Christian Faulhammer (RETIRED) gentoo-dev 2006-01-06 14:10:21 UTC
Created attachment 76400 [details]
60auctex-gentoo.el

Activates preview-latex if USE=preview-latex is set
Comment 5 Christian Faulhammer (RETIRED) gentoo-dev 2006-01-06 14:34:06 UTC
Oh me, I go to bed now, my first impression that it worked was totally wrong...
Comment 6 Christian Faulhammer (RETIRED) gentoo-dev 2006-01-06 14:56:34 UTC
Stupidity on my side, sorry for the noise
Comment 7 Sebastian Schubert 2006-01-13 09:58:14 UTC
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 Jakub Moc (RETIRED) gentoo-dev 2006-01-16 00:43:17 UTC
*** Bug 119162 has been marked as a duplicate of this bug. ***
Comment 9 Christian Schlotter 2006-01-16 11:51:25 UTC
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
Comment 10 Christian Faulhammer (RETIRED) gentoo-dev 2006-01-17 03:23:59 UTC
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 Christian Schlotter 2006-01-17 05:04:28 UTC
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
Comment 12 Christian Faulhammer (RETIRED) gentoo-dev 2006-01-17 06:33:19 UTC
Created attachment 77351 [details]
auctex-11.82.ebuild

implemented texhash the Gentoo way and added elisp functions from eclasses
Comment 13 MATSUI Tetsushi 2006-01-30 09:41:50 UTC
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 MATSUI Tetsushi 2006-01-30 09:43:59 UTC
Created attachment 78506 [details]
new auctex-11.82.ebuild
Comment 15 MATSUI Tetsushi 2006-01-30 09:46:38 UTC
Created attachment 78507 [details, diff]
new auctex-11.82-configure.diff
Comment 16 MATSUI Tetsushi 2006-01-30 09:47:29 UTC
Created attachment 78508 [details]
51auctex-gentoo.el
Comment 17 Christian Faulhammer (RETIRED) gentoo-dev 2006-01-30 14:53:54 UTC
So is the configure patch really needed?  What it is good for anyway?
Comment 18 Mamoru KOMACHI (RETIRED) gentoo-dev 2006-02-01 06:23:18 UTC
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 Mamoru KOMACHI (RETIRED) gentoo-dev 2006-02-01 08:06:32 UTC
Fixed in CVS. Thanks Christian and Tetsushi.
Comment 20 Sebastian Schubert 2006-02-02 04:15:06 UTC
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 Sebastian Schubert 2006-02-02 04:15:06 UTC
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 Christian Faulhammer (RETIRED) gentoo-dev 2006-02-02 05:41:27 UTC
(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.