Created attachment 299055 [details, diff] Patch for emacs-vcs-24.0.92-r1.ebuild Following up to bug 268793 comment #40. The release of Emacs 24 is approaching and pretest versions are available. However, the emacs-vcs-24* ebuilds don't support the aqua USE flag yet. It would be nice if we had everything ready when 24.1 is released. As a starting point, I'm attaching a patch for the emacs-vcs-24.0.92-r1.ebuild and a patch for the package itself. Both forward ported from Emacs 23 and completely untested.
Created attachment 299057 [details, diff] files/emacs-24.0.92-ns-appdirs.patch This is based on the patch in the emacs-23 patchset: <http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo/src/patchsets/emacs /23.3/04_all_ns-appdirs.patch?revision=1.1> (The hunk for configure.in removed has been merged upstream: <http://bzr.savannah.gnu.org/lh/emacs/trunk/revision/106470>)
emerge: there are no ebuilds to satisfy ">=app-editors/emacs-24". where is the ebuild supposed to be? looks like we get everything straight from gx86, but I might have missed something
(In reply to comment #2) > where is the ebuild supposed to be? looks like we get everything straight > from gx86, but I might have missed something Sorry, seems that I wasn't clear enough. I haven't committed anything to the portage tree yet, because I cannot test it for prefix. You should take app-editors/emacs-vcs-24.0.92-r1 and apply the patch from the attachment to it. (Maybe it should be committed to an overlay for testing? Prefix, or Emacs overlay?)
Oh, sorry. I thought it was masked until I'd verify whether or not it would compile/work. I'll have to check when I have more time then.
Created attachment 301427 [details, diff] Patch for emacs-vcs-24.0.93.ebuild Updated patch for emacs-vcs-24.0.93.ebuild.
Created attachment 301483 [details] gnu emacs Cocoa app % wget "https://bugs.gentoo.org/attachment.cgi?id=301427" -O - | patch -p0 --2012-02-10 17:07:22-- https://bugs.gentoo.org/attachment.cgi?id=301427 Resolving bugs.gentoo.org... 94.100.119.170 Connecting to bugs.gentoo.org|94.100.119.170|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://399059.bugs.gentoo.org/attachment.cgi?id=301427 [following] --2012-02-10 17:07:23-- https://399059.bugs.gentoo.org/attachment.cgi?id=301427 Resolving 399059.bugs.gentoo.org... 94.100.119.170 Connecting to 399059.bugs.gentoo.org|94.100.119.170|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 1987 (1.9K) [text/plain] Saving to: `STDOUT' 100%[======================================>] 1,987 --.-K/s in 0s 2012-02-10 17:07:23 (31.6 MB/s) - written to stdout [1987/1987] patching file emacs-vcs-24.0.93.ebuild % mkdir files % wget "https://bugs.gentoo.org/attachment.cgi?id=299057" -O files/emacs-24.0.92-ns-appdirs.patch --2012-02-10 17:08:04-- https://bugs.gentoo.org/attachment.cgi?id=299057 Resolving bugs.gentoo.org... 94.100.119.170 Connecting to bugs.gentoo.org|94.100.119.170|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://399059.bugs.gentoo.org/attachment.cgi?id=299057 [following] --2012-02-10 17:08:05-- https://399059.bugs.gentoo.org/attachment.cgi?id=299057 Resolving 399059.bugs.gentoo.org... 94.100.119.170 Connecting to 399059.bugs.gentoo.org|94.100.119.170|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 1538 (1.5K) [text/plain] Saving to: `files/emacs-24.0.92-ns-appdirs.patch' 100%[======================================>] 1,538 --.-K/s in 0s 2012-02-10 17:08:05 (34.1 MB/s) - `files/emacs-24.0.92-ns-appdirs.patch' saved [1538/1538] % repoman manifest >>> Creating Manifest for /net/ra/export/gentoo/gentoo-x86/app-editors/emacs-vcs % emerge -av =emacs-vcs-24.0.93 These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N *] app-admin/eselect-emacs-1.13 0 kB [ebuild N *] net-libs/liblockfile-1.08::gentoo 0 kB [ebuild N *] app-emacs/emacs-common-gentoo-1.3-r1 USE="-X -emacs22icons" 0 kB [ebuild N *] app-editors/emacs-vcs-24.0.93::gentoo USE="aqua xpm -X -Xaw3d (-alsa) -athena -dbus -gconf -gif -gnutls (-gpm) -gsettings -gtk -gtk3 -gzip-el (-hesiod) -imagemagick -jpeg -kerberos -libxml2 (-m17n-lib) -motif -png (-selinux) -sound -source -svg -tiff -toolkit-scroll-bars -wide-int -xft" 50,056 kB [ebuild N *] virtual/emacs-23 0 kB Total: 5 packages (5 new), Size of downloads: 50,056 kB The following keyword changes are necessary to proceed: #required by app-emacs/emacs-common-gentoo-1.3-r1, required by app-editors/emacs-vcs-24.0.93, required by =emacs-vcs-24.0.93 (argument) =virtual/emacs-23 ** #required by app-editors/emacs-vcs-24.0.93, required by virtual/emacs-23, required by app-emacs/emacs-common-gentoo-1.3-r1 =app-admin/eselect-emacs-1.13 ** #required by app-editors/emacs-vcs-24.0.93, required by virtual/emacs-23 =app-emacs/emacs-common-gentoo-1.3-r1 ** #required by =emacs-vcs-24.0.93 (argument) =app-editors/emacs-vcs-24.0.93 ** #required by app-editors/emacs-vcs-24.0.93, required by virtual/emacs-23, required by app-emacs/emacs-common-gentoo-1.3-r1 =net-libs/liblockfile-1.08 ** NOTE: The --autounmask-keep-masks option will prevent emerge from creating package.unmask or ** keyword changes. Would you like to add these changes to your config files? [Yes/No] y Autounmask changes successfully written. Remember to run etc-update. % emerge -av =emacs-vcs-24.0.93 These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N *] app-admin/eselect-emacs-1.13 0 kB [ebuild N *] net-libs/liblockfile-1.08::gentoo 0 kB [ebuild N *] app-emacs/emacs-common-gentoo-1.3-r1 USE="-X -emacs22icons" 0 kB [ebuild N *] app-editors/emacs-vcs-24.0.93::gentoo USE="aqua xpm -X -Xaw3d (-alsa) -athena -dbus -gconf -gif -gnutls (-gpm) -gsettings -gtk -gtk3 -gzip-el (-hesiod) -imagemagick -jpeg -kerberos -libxml2 (-m17n-lib) -motif -png (-selinux) -sound -source -svg -tiff -toolkit-scroll-bars -wide-int -xft" 50,056 kB [ebuild N *] virtual/emacs-23 0 kB Total: 5 packages (5 new), Size of downloads: 50,056 kB Would you like to merge these packages? [Yes/No] y ... [snip] ... * Messages for package app-editors/emacs-vcs-24.0.93: * Emacs-24.app is in /Library/Gentoo/Applications/Gentoo. * You may want to copy or symlink it into /Applications by yourself. * You can set the version to be started by /usr/bin/emacs through * the Emacs eselect module, which also redirects man and info pages. * Therefore, several Emacs versions can be installed at the same time. * "man emacs.eselect" for details. * * If you upgrade from a previous major version of Emacs, then it is * strongly recommended that you use app-admin/emacs-updater to rebuild * all byte-compiled elisp files of the installed Emacs packages. >>> Auto-cleaning packages... >>> No outdated packages were found on your system. * GNU info directory index is up-to-date. % open /Library/Gentoo/Applications/Gentoo/Emacs-24.app (GNU emacs thing in high quality for as far as I can tell) % emacs (Shows the same app, not really what I expected) % emacs -nw File Edit Options Tools Buffers Services Help Welcome to GNU Emacs, a part of the GNU operating system. Get help C-h (Hold down CTRL and press h) Emacs manual C-h r Browse manuals C-h i Emacs tutorial C-h t Undo changes C-x u Buy manuals C-h RET Exit Emacs C-x C-c Activate menubar M-` (`C-' means use the CTRL key. `M-' means use the Meta (or Alt) key. If you have no Meta key, you may instead type ESC followed by the character.) Useful tasks: Visit New File Open Home Directory Customize Startup Open *scratch* buffer GNU Emacs 24.0.93.1 (x86_64-apple-darwin11, NS apple-appkit-1138.32) of 2012-02-10 on nut.cheops.ods.org Copyright (C) 2012 Free Software Foundation, Inc. GNU Emacs comes with ABSOLUTELY NO WARRANTY; type C-h C-w for full details. Emacs is Free Software--Free as in Freedom--so you can redistribute copies of Emacs and modify it; type C-h C-c to see the conditions. Type C-h C-o for information on getting the latest version. -UUU:%%--F1 *GNU Emacs* All L1 (Fundamental) --------------------------- For information about GNU Emacs and the GNU system, type C-h C-a. [switch to other window to kill emacs to get back to terminal] pkill emacs so, seems to work ok to me.
Thanks. Updated emacs-vcs-24.0.93.ebuild committed to Portage tree.