Hi Derek,I had probs with an older auctex. When I tried using your files, fink complains about a mismatch of checksum for the patchfile.
under the assumption that you attached patch was the right one, i fixed the checksum in your info-file accordingly.
thanks. -sven
Thanks for getting this this far to work! I still could not install the .deb though because the info file names were not matching, so I figured out the mangle-info script apparently serves to point the entry in the “dir” file to the fink-modified path. It would not work in gzipped files; as I did not have the nerve to polish my perl skill to do that with "use IO::Zlib” and stuff, I fixed it the primitive way and also fixed the list of info files. I was able to install the package now, browse some info files and load various modes and auctex successfully. There is an apparently non-serious font error message when starting auctex, but that can be fixed by upgrading to auctex 11.87 (can submit that to the package tracker later). Cheers, Derek
Info2: << Package: emacs24%type_pkg[uitype] Version: 24.3 Revision: 2 Type: uitype (. -nox) Description: Flexible real-time text editor License: GPL Maintainer: None <fink-de...@lists.sourceforge.net> Provides: emacsen Depends: << dbus, dbus1.3-shlibs, dpkg-base-files, emacsen-common, fink (>= 0.34), libncurses5-shlibs (>= 5.4-20041023-1006), ncurses (>= 5.4-20041023-1006), passwd-games, (%type_raw[uitype] = .) atk1-shlibs (>= 1.28.0-1), (%type_raw[uitype] = .) cairo-shlibs (>= 1.12.8-1), (%type_raw[uitype] = .) fontconfig2-shlibs (>= 2.10.0-1), (%type_raw[uitype] = .) freetype219-shlibs (>= 2.4.11-1), (%type_raw[uitype] = .) giflib-shlibs, (%type_raw[uitype] = .) gconf2 (>= 2.28.0-1), (%type_raw[uitype] = .) gconf2-shlibs (>= 2.28.0-1), (%type_raw[uitype] = .) glib2-shlibs (>= 2.22.0-1), (%type_raw[uitype] = .) gtk+2-shlibs (>= 2.18.0-1), (%type_raw[uitype] = .) libjpeg9-shlibs, (%type_raw[uitype] = .) libotf-shlibs, (%type_raw[uitype] = .) libpng16-shlibs, (%type_raw[uitype] = .) librsvg2-shlibs (>= 2.26.0-3), (%type_raw[uitype] = .) libtiff5-shlibs, (%type_raw[uitype] = .) pango1-xft2-ft219 (>= 1.24.5-4), (%type_raw[uitype] = .) pango1-xft2-ft219-shlibs (>= 1.24.5-4), (%type_raw[uitype] = .) x11, (%type_raw[uitype] = .) xft2-shlibs (>= 2.2.0-1) << BuildDepends: << dbus1.3-dev, fink (>= 0.24.12-1), fink-package-precedence, libncurses5 (>= 5.4-20041023-1006), pkgconfig (>= 0.23-1), (%type_raw[uitype] = .) atk1 (>= 1.28.0-1), (%type_raw[uitype] = .) cairo (>= 1.12.8-1), (%type_raw[uitype] = .) fontconfig2-dev (>= 2.10.0-1), (%type_raw[uitype] = .) freetype219 (>= 2.4.11-1), (%type_raw[uitype] = .) gconf2-dev (>= 2.28.0-1), (%type_raw[uitype] = .) giflib, (%type_raw[uitype] = .) glib2-dev (>= 2.22.0-1), (%type_raw[uitype] = .) gtk+2-dev (>= 2.18.0-1), (%type_raw[uitype] = .) libjpeg9, (%type_raw[uitype] = .) libotf, (%type_raw[uitype] = .) libpng16, (%type_raw[uitype] = .) librsvg2 (>= 2.26.0-3), (%type_raw[uitype] = .) libtiff5, (%type_raw[uitype] = .) pango1-xft2-ft219-dev (>= 1.24.5-4), (%type_raw[uitype] = .) x11-dev, (%type_raw[uitype] = .) xft2-dev (>= 2.2.0-1) << Conflicts: << emacs23, emacs23-nox, emacs23-app, emacs24, emacs24-nox, emacs24-app << Replaces: << emacs23, emacs23-nox, emacs23-app, emacs24, emacs24-nox, emacs24-app << Source: mirror:gnu:emacs/emacs-%v.tar.xz Source-MD5: ea9ed000ca165280265aabb55b9afbd7 PatchFile: emacs24.patch PatchFile-MD5: 11c189f8f191c3b77673c49f9a6f07b6 PatchScript: << %{default_script} # see DescPackaging perl -pi -e 's/(xft >= 0.13.0)/\1 xrender/g' configure << # makefiles pass CPPFLAGS early: don't want to override local -I with global #NoSetCPPFLAGS: true SetLDFLAGS: -fno-pie SetCFLAGS: -Os -pipe -fno-pie ConfigureParams: << --enable-dependency-tracking \ --infodir='${prefix}/share/info' \ --mandir='${prefix}/share/man' \ --libexecdir='${prefix}/lib' \ --x-includes=/usr/X11R6/include \ --x-libraries=/usr/X11R6/lib \ --without-m17n-flt \ --without-gpm \ ( %type_raw[uitype] = . ) --with-x \ ( %type_raw[uitype] = . ) --with-x-toolkit=gtk \ ( %type_raw[uitype] = . ) --with-gconf \ ( %type_raw[uitype] = -nox ) --without-x \ ( %type_raw[uitype] = -nox ) --without-gconf \ ( %type_raw[uitype] = -nox ) --without-librsvg \ PKG_CONFIG_PATH="%p/lib/glib-2.0/pkgconfig-strict:$PKG_CONFIG_PATH" \ INSTALL_INFO=/usr/bin/true << UseMaxBuildJobs: false CompileScript: << #!/bin/bash -ev ./configure %c make -w # Sync .elc's with patched .el's (cd src && make -w bootstrap-emacs) || exit (cd lisp && make -w compile EMACS=../src/bootstrap-emacs) || exit # Compile emacs with new *.elc make -w fink-package-precedence . << InstallScript: << make install prefix=%i rm %i/bin/emacs mv %i/share/man/man1/emacs.1.gz %i/share/man/man1/emacs.1.emacs24.gz mv %i/bin/ctags %i/bin/ctags.emacs24 mv %i/share/man/man1/ctags.1.gz %i/share/man/man1/ctags.1.emacs24.gz mv %i/bin/emacsclient %i/bin/emacsclient.emacs24 mv %i/share/man/man1/emacsclient.1.gz %i/share/man/man1/emacsclient.1.emacs24.gz mv %i/bin/etags %i/bin/etags.emacs24 mv %i/share/man/man1/etags.1.gz %i/share/man/man1/etags.1.emacs24.gz mv %i/bin/ebrowse %i/bin/ebrowse.emacs24 mv %i/bin/grep-changelog %i/bin/grep-changelog.emacs24 mkdir -p %i/share/doc/%n install -m 644 README %i/share/doc/%n/ install -m 644 src/COPYING %i/share/doc/%n/COPYING mkdir -p %i/etc/emacs mkdir -p %i/etc/emacs24/site-start.d mkdir -p %i/share/emacs24 mv %i/share/emacs/%v/site-lisp %i/share/emacs24/ (cd %i/share/emacs/%v; ln -s ../../emacs24/site-lisp site-lisp) (cd %i/bin; chmod 755 emacs-%v; ln -s emacs-%v emacs24) mv %i/share/info %i/share/emacs-24.info mkdir -p %i/share/info mv %i/share/emacs-24.info %i/share/info/emacs-24 chmod 755 mangle-info chmod 755 fix-info ./fix-info %i/share/info/emacs-24 chmod 755 %i/share/emacs/%v/leim/ja-dic chmod 755 %i/share/emacs/%v/leim/quail rm %i/share/emacs/site-lisp/subdirs.el << # PostInstScript: << mkdir -p %p/etc/lisp/emacs/%v/site-lisp mkdir -p %p/etc/lisp/emacs/site-lisp update-alternatives --install %p/bin/emacs emacs %p/bin/emacs24 50 --slave %p/share/man/man1/emacs.1.gz emacs.1 %p/share/man/man1/emacs.1.emacs24.gz update-alternatives --install %p/bin/ctags ctags %p/bin/ctags.emacs24 50 --slave %p/share/man/man1/ctags.1.gz ctags.1 %p/share/man/man1/ctags.1.emacs24.gz update-alternatives --install %p/bin/etags etags %p/bin/etags.emacs24 70 --slave %p/share/man/man1/etags.1.gz etags.1 %p/share/man/man1/etags.1.emacs24.gz update-alternatives --install %p/bin/emacsclient emacsclient %p/bin/emacsclient.emacs24 50 update-alternatives --install %p/bin/ebrowse ebrowse %p/bin/ebrowse.emacs24 50 update-alternatives --install %p/bin/grep-changelog grep-changelog %p/bin/grep-changelog.emacs24 50 # redundant but apparently necessary since doing it in the build script # isn't actually making the change when the .deb is unpacked (why?) #chmod 755 %p/share/emacs/%v/leim/ja-dic #chmod 755 %p/share/emacs/%v/leim/quail # Register ourselves with emacsen-common %p/lib/emacsen-common/emacs-install emacs24 # Since we're placing our info files in a subdirectory of %p/share/info # we need to manually add each doc to the info dir-file for file in $(basename %p/share/info/emacs-24/*.info.gz) do install-info --infodir=%p/share/info --section Emacs Emacs %p/share/info/emacs-24/${file} done # this was removed from lib-src/Makefile so that package passes # --build-as-nobody chown games %p/lib/emacs/%v/*/update-game-score chmod u+s %p/lib/emacs/%v/*/update-game-score chown games %p/var/games/emacs24 chmod u=rwx,g=rwx,o=rx %p/var/games/emacs24 << PreRmScript: << # Manually remove all of our info docs from the dir-file for file in $(basename %p/share/info/emacs-24/*.info.gz) do install-info --infodir=%p/share/info --remove-exactly emacs-24/${file} done if [ $1 != "upgrade" ]; then update-alternatives --remove emacs %p/bin/emacs24 update-alternatives --remove emacsclient %p/bin/emacsclient.emacs24 update-alternatives --remove ctags %p/bin/ctags.emacs24 update-alternatives --remove etags %p/bin/etags.emacs24 update-alternatives --remove ebrowse %p/bin/ebrowse.emacs24 update-alternatives --remove grep-changelog %p/bin/grep-changelog.emacs24 %p/lib/emacsen-common/emacs-remove emacs24 fi << # DescDetail: << GNU Emacs is an extensible, customizable, self-documenting real-time display editor. Through its extensibility, it is actually much more than an editor. You can use it as a file manager, mail reader, web browser, and for many other tasks. Some people even use it to control their coffee machine. << DescPackaging: << update-alternatives is used for emacs, emacsclient, ctags, etags, ebrowse, and grep-changelog to allow parallel installation of emacs24 & xemacs. Its info files are installed into the emacs24 subdirectory of %p/share/info for the same reason. Original packages by Christoph Pfister and Christian Swinehart dmacks cleaned up to pass --build-as-nobody and for GNOME2.28 standards. Uses xrender directly but was relying on xft2.pc to propagate it, which fink's doesn't, so include it explicitly as part of xft2 flag detection. --enable-dependency-tracking doesn't seem to have an effect, so do -MD explicitly. Make sure to get proper fink-supplied masking of x11-supplied stuff, including buried things. << ConfFiles: %p/var/games/emacs24/tetris-scores %p/var/games/emacs24/snake-scores DescPort: << The patchfile modifies startup.el, and brings in the scripts fix-info and mangle-info, in order to implement our emacs packaging system. Implements patch from http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=4122 to fix the Buffers menu. Thanks to Ingo Theis for reporting this and finding the bug report thread. src/unexmacosx.c fixes: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8223 http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8395 (-fno-pie) 'alignof' is no longer defined in apple-clang's stdalign.h, so define for the sha C files. UTIME_NOW is a linuxism. Don't redefine getopt functions that come with the system. << Homepage: http://www.gnu.org/software/emacs/ <<
------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech
_______________________________________________ Fink-users mailing list Fink-users@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users