diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /x11-misc/xdialog | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'x11-misc/xdialog')
-rw-r--r-- | x11-misc/xdialog/Manifest | 1 | ||||
-rw-r--r-- | x11-misc/xdialog/files/xdialog-2.3.1-install.patch | 13 | ||||
-rw-r--r-- | x11-misc/xdialog/files/xdialog-2.3.1-no-strip.patch | 48 | ||||
-rw-r--r-- | x11-misc/xdialog/metadata.xml | 6 | ||||
-rw-r--r-- | x11-misc/xdialog/xdialog-2.3.1.ebuild | 52 |
5 files changed, 120 insertions, 0 deletions
diff --git a/x11-misc/xdialog/Manifest b/x11-misc/xdialog/Manifest new file mode 100644 index 000000000000..0638e520e51f --- /dev/null +++ b/x11-misc/xdialog/Manifest @@ -0,0 +1 @@ +DIST Xdialog-2.3.1.tar.bz2 457938 SHA256 1d446899697145fc36623d8afdd274066177da9383a6b619c18e8eb1b2ba589a SHA512 2a0f6e15297ae3ef54a41da1b1fe2ef376d28757d47433df2b8e9918cd4f95871a630b94ec544bd848e518df7f86934030a71bf0371a1466286bf7d912335525 WHIRLPOOL 27a2a25bf2eea348a9dbdf04aed334fa70e35f8d84d56e8ee561ebb345e8c457c6b9cff83a99c9df07686dc20e25d3bb980fae6b9d774d601ddbff2a04f49010 diff --git a/x11-misc/xdialog/files/xdialog-2.3.1-install.patch b/x11-misc/xdialog/files/xdialog-2.3.1-install.patch new file mode 100644 index 000000000000..f5a02b099d92 --- /dev/null +++ b/x11-misc/xdialog/files/xdialog-2.3.1-install.patch @@ -0,0 +1,13 @@ +http://bugs.gentoo.org/327353 + +--- doc/Makefile.am ++++ doc/Makefile.am +@@ -6,7 +6,7 @@ + + CLEANFILES = index.html compatibility.html changelog.html license.html Xdialog.1 + +-doc_DATA = index.html compatibility.html changelog.html license.html $(srcdir)/*.html $(srcdir)/*.png ++doc_DATA = $(srcdir)/*.html $(srcdir)/*.png + + man_MANS = Xdialog.1 + diff --git a/x11-misc/xdialog/files/xdialog-2.3.1-no-strip.patch b/x11-misc/xdialog/files/xdialog-2.3.1-no-strip.patch new file mode 100644 index 000000000000..a507f3f0cfbb --- /dev/null +++ b/x11-misc/xdialog/files/xdialog-2.3.1-no-strip.patch @@ -0,0 +1,48 @@ +diff -Nru Xdialog-2.3.1.vanilla/configure.in Xdialog-2.3.1/configure.in +--- Xdialog-2.3.1.vanilla/configure.in 2009-02-11 09:54:10.000000000 +0000 ++++ Xdialog-2.3.1/configure.in 2009-02-11 09:59:28.000000000 +0000 +@@ -36,13 +36,8 @@ + CPPFLAGS="$CPPFLAGS -DUSE_GTK2" + AC_MSG_RESULT(Compiling for GTK2) + ]) +-if test "$compile_for" = "gtk2" ; then +- AM_PATH_GTK_2_0(2.2.0, , +- AC_MSG_ERROR(Cannot find GTK2.)) +-else +- AM_PATH_GTK(1.2.0, , +- AC_MSG_ERROR(Cannot find GTK: Is gtk-config in path?)) +-fi ++AM_PATH_GTK_2_0(2.2.0, , ++ AC_MSG_ERROR(Cannot find GTK2.)) + + dnl Set PACKAGE_DATA_DIR in config.h. + if test "x${datadir}" = 'x${prefix}/share'; then +@@ -59,28 +54,6 @@ + packagesrcdir=`cd $srcdir && pwd` + AC_DEFINE_UNQUOTED(PACKAGE_SOURCE_DIR, "${packagesrcdir}", [ ]) + +-dnl Use -Wall if we have gcc. +-if test "x$GCC" = "xyes"; then +- case " $CFLAGS " in +- *[[\ \ ]-Wall[\ \ ]]*) ;; +- *) CFLAGS="$CFLAGS -Wall" ;; +- esac +- case " $CFLAGS " in +- *[[\ \ ]-s[\ \ ]]*) ;; +- *) CFLAGS="$CFLAGS -s" ;; +- esac +- case `gcc --version` in +- 2.95*|2.96*|2.97*) +- case " $CFLAGS " in +- *[[\ \ ]-fno-omit-frame-pointer[\ \ ]]*) ;; +- *) CFLAGS="$CFLAGS -fno-omit-frame-pointer" ;; +- esac +- AC_MSG_RESULT(Buggy GCC version: compiling with -fno-omit-frame-pointer) +- ;; +- *) ;; +- esac +-fi +- + AC_ARG_WITH(french-labels, + [ --with-french-labels Enables french labels in menus],[ + CPPFLAGS="$CPPFLAGS -DFRENCH" diff --git a/x11-misc/xdialog/metadata.xml b/x11-misc/xdialog/metadata.xml new file mode 100644 index 000000000000..91ed7416b725 --- /dev/null +++ b/x11-misc/xdialog/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>desktop-misc</herd> +</pkgmetadata> + diff --git a/x11-misc/xdialog/xdialog-2.3.1.ebuild b/x11-misc/xdialog/xdialog-2.3.1.ebuild new file mode 100644 index 000000000000..967790e2b315 --- /dev/null +++ b/x11-misc/xdialog/xdialog-2.3.1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit autotools eutils + +DESCRIPTION="drop-in replacement for cdialog using GTK" +HOMEPAGE="http://xdialog.free.fr/" +SRC_URI="http://${PN}.free.fr/Xdialog-${PV}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 ~hppa ppc x86" +IUSE="doc examples nls" + +RDEPEND=" + dev-libs/glib:2 + >=x11-libs/gtk+-2.2:2 +" +DEPEND=" + ${RDEPEND} + virtual/pkgconfig + nls? ( sys-devel/gettext ) +" + +S=${WORKDIR}/${P/x/X} + +src_prepare() { + epatch "${FILESDIR}"/${P}-{no-strip,install}.patch + eautoreconf +} + +src_configure() { + econf \ + $(use_enable nls) \ + --with-gtk2 +} + +src_install() { + default + rm -rf "${D}"/usr/share/doc + + dodoc AUTHORS BUGS ChangeLog README + + use doc && dohtml -r doc/ + + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins samples/* + fi +} |