public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/emacs-vcs/
Date: Sun, 31 Jan 2016 08:06:13 +0000 (UTC)	[thread overview]
Message-ID: <1454227541.4067c9065950574e5b31967f74c6d12c5aa16cd8.ulm@gentoo> (raw)

commit:     4067c9065950574e5b31967f74c6d12c5aa16cd8
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 31 08:05:41 2016 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sun Jan 31 08:05:41 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4067c906

app-editors/emacs-vcs: First pretest for Emacs 25.1.

Add new "xwidgets" USE flag. Drop hppa keyword because of the conditional dependency on net-libs/webkit-gtk. Update description of the "gtk3" flag.

Package-Manager: portage-2.2.27

 app-editors/emacs-vcs/Manifest                     |  1 +
 ...5.0.9999-r2.ebuild => emacs-vcs-25.0.90.ebuild} | 35 +++++++++++++++-------
 .../emacs-vcs/emacs-vcs-25.0.9999-r2.ebuild        | 33 +++++++++++++-------
 app-editors/emacs-vcs/metadata.xml                 |  6 ++--
 4 files changed, 52 insertions(+), 23 deletions(-)

diff --git a/app-editors/emacs-vcs/Manifest b/app-editors/emacs-vcs/Manifest
index 09e8fa8..e8314b9 100644
--- a/app-editors/emacs-vcs/Manifest
+++ b/app-editors/emacs-vcs/Manifest
@@ -1 +1,2 @@
 DIST emacs-25.0.50_pre20151113.tar.xz 26904832 SHA256 dcfd575afa3123bd63eba12b2ae2c7d1390c8fbccc911e9a4a70028feb207240 SHA512 cc8e871e9bb236ffd99ea93750aabc55401cdfad171f56df81c3127fba41b223196d31a64baf597268805b39015df773587e239192870f70671d131d9c6fc9b8 WHIRLPOOL 9571b10e49c028e4f8a10a54fce10bea16ff9b726e8a266650af180a57a370d225ac3bdffc12828c6d170680e514c9fb1179b3676dd4d4de3e6794147dc935ab
+DIST emacs-25.0.90.tar.xz 42218556 SHA256 325f275b64eee106ad9aaadb42243619822e5e59bee35645f15e015176adb626 SHA512 7fdc73bc62aa3d4456faaeedf5a121fbad3363dfb20d7564308012ffb49ea96af623ae291a245ab3228457942fea7f4a872695b57befc77bbaf8478a5124f577 WHIRLPOOL 4c566e40269aecf61ca1f3055d023fa4138f6a31436a7d7f2459b39818d33ae7d49e55719179239bd3d60936a85a83f062c2bc635fe8b3fa601749019bb17daa

diff --git a/app-editors/emacs-vcs/emacs-vcs-25.0.9999-r2.ebuild b/app-editors/emacs-vcs/emacs-vcs-25.0.90.ebuild
similarity index 93%
copy from app-editors/emacs-vcs/emacs-vcs-25.0.9999-r2.ebuild
copy to app-editors/emacs-vcs/emacs-vcs-25.0.90.ebuild
index 3db814a..59eed10 100644
--- a/app-editors/emacs-vcs/emacs-vcs-25.0.9999-r2.ebuild
+++ b/app-editors/emacs-vcs/emacs-vcs-25.0.90.ebuild
@@ -2,9 +2,9 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
+EAPI=6
 
-inherit autotools elisp-common eutils flag-o-matic multilib readme.gentoo
+inherit autotools elisp-common flag-o-matic multilib readme.gentoo-r1
 
 if [[ ${PV##*.} = 9999 ]]; then
 	inherit git-r3
@@ -15,13 +15,13 @@ if [[ ${PV##*.} = 9999 ]]; then
 else
 	SRC_URI="https://dev.gentoo.org/~ulm/distfiles/emacs-${PV}.tar.xz
 		mirror://gnu-alpha/emacs/pretest/emacs-${PV}.tar.xz"
-	KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+	KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
 	# FULL_VERSION keeps the full version number, which is needed in
 	# order to determine some path information correctly for copy/move
 	# operations later on
 	FULL_VERSION="${PV%%_*}"
-	#S="${WORKDIR}/emacs-${FULL_VERSION}"
-	S="${WORKDIR}/emacs"
+	S="${WORKDIR}/emacs-${FULL_VERSION}"
+	[[ ${FULL_VERSION} != ${PV} ]] && S="${WORKDIR}/emacs"
 fi
 
 DESCRIPTION="The extensible, customizable, self-documenting real-time display editor"
@@ -29,7 +29,7 @@ HOMEPAGE="https://www.gnu.org/software/emacs/"
 
 LICENSE="GPL-3+ FDL-1.3+ BSD HPND MIT W3C unicode PSF-2"
 SLOT="25"
-IUSE="acl alsa aqua athena cairo dbus games gconf gfile gif gnutls gpm gsettings gtk +gtk3 gzip-el hesiod imagemagick +inotify jpeg kerberos libxml2 livecd m17n-lib motif pax_kernel png selinux sound source svg tiff toolkit-scroll-bars wide-int X Xaw3d xft +xpm zlib"
+IUSE="acl alsa aqua athena cairo dbus games gconf gfile gif gnutls gpm gsettings gtk +gtk3 gzip-el hesiod imagemagick +inotify jpeg kerberos libxml2 livecd m17n-lib motif pax_kernel png selinux sound source svg tiff toolkit-scroll-bars wide-int X Xaw3d xft +xpm xwidgets zlib"
 REQUIRED_USE="?? ( aqua X )"
 
 RDEPEND="sys-libs/ncurses:0
@@ -71,8 +71,14 @@ RDEPEND="sys-libs/ncurses:0
 			)
 		)
 		gtk? (
-			gtk3? ( x11-libs/gtk+:3 )
-			!gtk3? ( x11-libs/gtk+:2 )
+			xwidgets? (
+				x11-libs/gtk+:3
+				net-libs/webkit-gtk:3=
+			)
+			!xwidgets? (
+				gtk3? ( x11-libs/gtk+:3 )
+				!gtk3? ( x11-libs/gtk+:2 )
+			)
 		)
 		!gtk? (
 			motif? ( >=x11-libs/motif-2.3:0 )
@@ -111,7 +117,7 @@ src_prepare() {
 			|| die "Upstream version number changed to ${FULL_VERSION}"
 	fi
 
-	epatch_user
+	eapply_user
 
 	# Fix filename reference in redirected man page
 	sed -i -e "/^\\.so/s/etags/&-${EMACS_SUFFIX}/" doc/man/ctags.1 \
@@ -182,7 +188,12 @@ src_configure() {
 				recommended that you compile Emacs with the Athena/Lucid or the
 				Motif toolkit instead.
 			EOF
-			myconf+=" --with-x-toolkit=$(usex gtk3 gtk3 gtk2)"
+			if use xwidgets; then
+				myconf+=" --with-x-toolkit=gtk3 --with-xwidgets"
+			else
+				myconf+=" --with-x-toolkit=$(usex gtk3 gtk3 gtk2)"
+				myconf+=" --without-xwidgets"
+			fi
 			for f in motif Xaw3d athena; do
 				use ${f} && ewarn \
 					"USE flag \"${f}\" has no effect if \"gtk\" is set."
@@ -201,6 +212,8 @@ src_configure() {
 			einfo "Configuring to build with no toolkit"
 			myconf+=" --with-x-toolkit=no"
 		fi
+		! use gtk && use xwidgets && ewarn \
+			"USE flag \"xwidgets\" has no effect if \"gtk\" is not set."
 	elif use aqua; then
 		einfo "Configuring to build with Nextstep (Cocoa) support"
 		myconf+=" --with-ns --disable-ns-self-contained"
@@ -305,7 +318,7 @@ src_install () {
 	EOF
 	elisp-site-file-install "${T}/${SITEFILE}" || die
 
-	dodoc README BUGS CONTRIBUTE
+	dodoc README BUGS #CONTRIBUTE
 
 	if use aqua; then
 		dodir /Applications/Gentoo

diff --git a/app-editors/emacs-vcs/emacs-vcs-25.0.9999-r2.ebuild b/app-editors/emacs-vcs/emacs-vcs-25.0.9999-r2.ebuild
index 3db814a..51815df 100644
--- a/app-editors/emacs-vcs/emacs-vcs-25.0.9999-r2.ebuild
+++ b/app-editors/emacs-vcs/emacs-vcs-25.0.9999-r2.ebuild
@@ -2,9 +2,9 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
+EAPI=6
 
-inherit autotools elisp-common eutils flag-o-matic multilib readme.gentoo
+inherit autotools elisp-common flag-o-matic multilib readme.gentoo-r1
 
 if [[ ${PV##*.} = 9999 ]]; then
 	inherit git-r3
@@ -15,13 +15,13 @@ if [[ ${PV##*.} = 9999 ]]; then
 else
 	SRC_URI="https://dev.gentoo.org/~ulm/distfiles/emacs-${PV}.tar.xz
 		mirror://gnu-alpha/emacs/pretest/emacs-${PV}.tar.xz"
-	KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+	KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
 	# FULL_VERSION keeps the full version number, which is needed in
 	# order to determine some path information correctly for copy/move
 	# operations later on
 	FULL_VERSION="${PV%%_*}"
-	#S="${WORKDIR}/emacs-${FULL_VERSION}"
-	S="${WORKDIR}/emacs"
+	S="${WORKDIR}/emacs-${FULL_VERSION}"
+	[[ ${FULL_VERSION} != ${PV} ]] && S="${WORKDIR}/emacs"
 fi
 
 DESCRIPTION="The extensible, customizable, self-documenting real-time display editor"
@@ -29,7 +29,7 @@ HOMEPAGE="https://www.gnu.org/software/emacs/"
 
 LICENSE="GPL-3+ FDL-1.3+ BSD HPND MIT W3C unicode PSF-2"
 SLOT="25"
-IUSE="acl alsa aqua athena cairo dbus games gconf gfile gif gnutls gpm gsettings gtk +gtk3 gzip-el hesiod imagemagick +inotify jpeg kerberos libxml2 livecd m17n-lib motif pax_kernel png selinux sound source svg tiff toolkit-scroll-bars wide-int X Xaw3d xft +xpm zlib"
+IUSE="acl alsa aqua athena cairo dbus games gconf gfile gif gnutls gpm gsettings gtk +gtk3 gzip-el hesiod imagemagick +inotify jpeg kerberos libxml2 livecd m17n-lib motif pax_kernel png selinux sound source svg tiff toolkit-scroll-bars wide-int X Xaw3d xft +xpm xwidgets zlib"
 REQUIRED_USE="?? ( aqua X )"
 
 RDEPEND="sys-libs/ncurses:0
@@ -71,8 +71,14 @@ RDEPEND="sys-libs/ncurses:0
 			)
 		)
 		gtk? (
-			gtk3? ( x11-libs/gtk+:3 )
-			!gtk3? ( x11-libs/gtk+:2 )
+			xwidgets? (
+				x11-libs/gtk+:3
+				net-libs/webkit-gtk:3=
+			)
+			!xwidgets? (
+				gtk3? ( x11-libs/gtk+:3 )
+				!gtk3? ( x11-libs/gtk+:2 )
+			)
 		)
 		!gtk? (
 			motif? ( >=x11-libs/motif-2.3:0 )
@@ -111,7 +117,7 @@ src_prepare() {
 			|| die "Upstream version number changed to ${FULL_VERSION}"
 	fi
 
-	epatch_user
+	eapply_user
 
 	# Fix filename reference in redirected man page
 	sed -i -e "/^\\.so/s/etags/&-${EMACS_SUFFIX}/" doc/man/ctags.1 \
@@ -182,7 +188,12 @@ src_configure() {
 				recommended that you compile Emacs with the Athena/Lucid or the
 				Motif toolkit instead.
 			EOF
-			myconf+=" --with-x-toolkit=$(usex gtk3 gtk3 gtk2)"
+			if use xwidgets; then
+				myconf+=" --with-x-toolkit=gtk3 --with-xwidgets"
+			else
+				myconf+=" --with-x-toolkit=$(usex gtk3 gtk3 gtk2)"
+				myconf+=" --without-xwidgets"
+			fi
 			for f in motif Xaw3d athena; do
 				use ${f} && ewarn \
 					"USE flag \"${f}\" has no effect if \"gtk\" is set."
@@ -201,6 +212,8 @@ src_configure() {
 			einfo "Configuring to build with no toolkit"
 			myconf+=" --with-x-toolkit=no"
 		fi
+		! use gtk && use xwidgets && ewarn \
+			"USE flag \"xwidgets\" has no effect if \"gtk\" is not set."
 	elif use aqua; then
 		einfo "Configuring to build with Nextstep (Cocoa) support"
 		myconf+=" --with-ns --disable-ns-self-contained"

diff --git a/app-editors/emacs-vcs/metadata.xml b/app-editors/emacs-vcs/metadata.xml
index 0f9232f..a42a18a 100644
--- a/app-editors/emacs-vcs/metadata.xml
+++ b/app-editors/emacs-vcs/metadata.xml
@@ -29,8 +29,8 @@
     notification</flag>
   <flag name="gsettings">Use gsettings (<pkg>dev-libs/glib</pkg>) to read the
     system font name</flag>
-  <flag name="gtk3">Link against version 3 of the GIMP Toolkit instead of
-    version 2 (<pkg>x11-libs/gtk+</pkg>)</flag>
+  <flag name="gtk3">Prefer version 3 of the GIMP Toolkit to version 2
+    (<pkg>x11-libs/gtk+</pkg>)</flag>
   <flag name="gzip-el">Compress bundled Emacs Lisp source</flag>
   <flag name="hesiod">Enable support for <pkg>net-dns/hesiod</pkg></flag>
   <flag name="imagemagick">Use <pkg>media-gfx/imagemagick</pkg> for image
@@ -45,5 +45,7 @@
   <flag name="wide-int">Prefer wide Emacs integers (typically 62-bit).
     This option has an effect only on architectures where "long" and
     "long long" types have different size.</flag>
+  <flag name='xwidgets'>Enable use of GTK widgets in Emacs buffers
+    (requires GTK3)</flag>
 </use>
 </pkgmetadata>


             reply	other threads:[~2016-01-31  8:06 UTC|newest]

Thread overview: 104+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-31  8:06 Ulrich Müller [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-01-17 17:38 [gentoo-commits] repo/gentoo:master commit in: app-editors/emacs-vcs/ Ulrich Müller
2019-12-23 19:46 Ulrich Müller
2019-12-21  9:54 Ulrich Müller
2019-11-23 22:25 Ulrich Müller
2019-11-18 15:38 Ulrich Müller
2019-11-18 12:09 Ulrich Müller
2019-09-25 12:18 Ulrich Müller
2019-09-22 16:16 Ulrich Müller
2019-09-22 16:16 Ulrich Müller
2019-09-22 16:16 Ulrich Müller
2019-08-10 11:16 Ulrich Müller
2019-08-10 11:16 Ulrich Müller
2019-07-06  9:28 Ulrich Müller
2019-06-25  7:46 Ulrich Müller
2019-06-15 15:19 Ulrich Müller
2019-06-15 15:19 Ulrich Müller
2019-06-15 15:19 Ulrich Müller
2019-04-12 17:30 Ulrich Müller
2019-04-12 17:30 Ulrich Müller
2019-02-23 20:58 Ulrich Müller
2019-02-23 20:58 Ulrich Müller
2019-01-07 18:54 Ulrich Müller
2018-11-25 14:06 Ulrich Müller
2018-11-25 14:06 Ulrich Müller
2018-11-25 14:06 Ulrich Müller
2018-09-02 13:38 Ulrich Müller
2018-09-02  6:40 Ulrich Müller
2018-08-24  5:26 Ulrich Müller
2018-08-23 17:08 Ulrich Müller
2018-08-16  7:40 Ulrich Müller
2018-08-07 17:40 Ulrich Müller
2018-08-06 20:07 Ulrich Müller
2018-08-06 20:07 Ulrich Müller
2018-07-09 16:25 Ulrich Müller
2018-05-28 17:27 Ulrich Müller
2018-05-28 17:27 Ulrich Müller
2018-05-28 17:27 Ulrich Müller
2018-04-17  7:40 Ulrich Müller
2018-04-15 17:10 Ulrich Müller
2018-04-15 17:10 Ulrich Müller
2018-04-15 17:10 Ulrich Müller
2018-04-15 17:10 Ulrich Müller
2018-03-28  1:55 Matt Turner
2018-03-19 18:01 Ulrich Müller
2018-03-19 18:01 Ulrich Müller
2018-03-18 16:55 Ulrich Müller
2018-03-01  9:58 Ulrich Müller
2018-02-22  8:07 Ulrich Müller
2018-02-20  7:48 Ulrich Müller
2018-02-19 22:27 Ulrich Müller
2018-02-11 16:35 Ulrich Müller
2018-02-11 15:43 Ulrich Müller
2018-02-11 11:23 Ulrich Müller
2018-02-10 20:32 Ulrich Müller
2018-01-22 17:16 Ulrich Müller
2017-10-23 19:53 Ulrich Müller
2017-10-15 10:54 Ulrich Müller
2017-09-19 12:09 Ulrich Müller
2017-09-19 12:09 Ulrich Müller
2017-05-25 11:00 Ulrich Müller
2017-04-21 21:55 Ulrich Müller
2017-03-26 12:59 Ulrich Müller
2017-03-18 13:17 Ulrich Müller
2017-03-18 11:56 Ulrich Müller
2017-03-15  8:15 Ulrich Müller
2017-03-12 22:17 Ulrich Müller
2017-03-12 22:17 Ulrich Müller
2017-02-25 11:38 Ulrich Müller
2017-02-09 23:15 Ulrich Müller
2017-02-09 23:15 Ulrich Müller
2017-02-09 23:15 Ulrich Müller
2017-02-04 18:38 Ulrich Müller
2017-02-04 16:33 Ulrich Müller
2017-02-04 16:33 Ulrich Müller
2017-02-04 12:57 Ulrich Müller
2017-02-04 12:57 Ulrich Müller
2017-01-31  6:24 Ulrich Müller
2017-01-29 10:20 Ulrich Müller
2017-01-29 10:20 Ulrich Müller
2017-01-29 10:20 Ulrich Müller
2016-12-22 19:53 Ulrich Müller
2016-10-15 11:45 Ulrich Müller
2016-10-15 11:45 Ulrich Müller
2016-10-15 10:27 Ulrich Müller
2016-09-17 20:29 Ulrich Müller
2016-07-24 23:00 Ulrich Müller
2016-06-12  7:13 Ulrich Müller
2016-06-12  7:13 Ulrich Müller
2016-05-22  7:40 Ulrich Müller
2016-05-22  7:40 Ulrich Müller
2016-04-23  9:50 Ulrich Müller
2016-03-05 19:12 Ulrich Müller
2016-03-02 19:25 Ulrich Müller
2016-02-11 11:49 Ulrich Müller
2016-01-31 19:40 Ulrich Müller
2016-01-31 19:40 Ulrich Müller
2016-01-31 10:50 Jeroen Roovers
2016-01-31 10:46 Jeroen Roovers
2016-01-17 12:32 Ulrich Müller
2016-01-17 12:32 Ulrich Müller
2015-11-17  9:21 Ulrich Müller
2015-11-17  7:06 Ulrich Müller
2015-11-17  7:06 Ulrich Müller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1454227541.4067c9065950574e5b31967f74c6d12c5aa16cd8.ulm@gentoo \
    --to=ulm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox