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-libs/guile-gtk | |
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-libs/guile-gtk')
-rw-r--r-- | x11-libs/guile-gtk/Manifest | 1 | ||||
-rw-r--r-- | x11-libs/guile-gtk/files/2.1-brokentest.patch | 33 | ||||
-rw-r--r-- | x11-libs/guile-gtk/files/2.1-prll-install.patch | 13 | ||||
-rw-r--r-- | x11-libs/guile-gtk/files/guile-gtk-2.0-g-object-ref.diff | 45 | ||||
-rw-r--r-- | x11-libs/guile-gtk/guile-gtk-2.1-r1.ebuild | 42 | ||||
-rw-r--r-- | x11-libs/guile-gtk/guile-gtk-2.1-r2.ebuild | 47 | ||||
-rw-r--r-- | x11-libs/guile-gtk/metadata.xml | 12 |
7 files changed, 193 insertions, 0 deletions
diff --git a/x11-libs/guile-gtk/Manifest b/x11-libs/guile-gtk/Manifest new file mode 100644 index 000000000000..41f5549d1b59 --- /dev/null +++ b/x11-libs/guile-gtk/Manifest @@ -0,0 +1 @@ +DIST guile-gtk-2.1.tar.gz 781985 SHA256 9ad30cdfcae688837785774b2149f0ec82f464412017aeeb045b4336ef2416cc SHA512 ab9bc66c97099d6958c401e16db57ceedaf23f1944cb7cf1e6899547c77cafff67455f228edd156a5a7ee0b62264e6af0ff82fa3ec31bcb499710bc5cb2070a7 WHIRLPOOL 6e14158951fa307fedc20f8956ecb1eefc7e1b2c3f5d0b3505060ceb709efd51a40e5931c4e05877b7ce35498ebe1fa06526859efc00b09e9c46bb7b8661a4c5 diff --git a/x11-libs/guile-gtk/files/2.1-brokentest.patch b/x11-libs/guile-gtk/files/2.1-brokentest.patch new file mode 100644 index 000000000000..ecba95174e0c --- /dev/null +++ b/x11-libs/guile-gtk/files/2.1-brokentest.patch @@ -0,0 +1,33 @@ +diff --git a/tests/gdk.scm b/tests/gdk.scm +index 6e08f9f..6b01e83 100644 +--- a/tests/gdk.scm ++++ b/tests/gdk.scm +@@ -1102,28 +1102,6 @@ + (got (exact-positive-integer? (gdk-screen-height-mm)))) + (test "gdk-screen-height-mm" #f want got)))) + +-;; +-;; gdk-selection-property-get +-;; +- +-(malloced-steady ;; with nothing ever requested +- (lambda () +- (let* ((win sample-win) +- (want '(#f NONE 0)) +- (got (gdk-selection-property-get win))) +- (test "gdk-selection-property-get" sample-win want got)))) +- +-(malloced-steady ;; on a destroyed window +- (lambda () +- (let* ((win (gdk-window-new #f 100 100 '() 'input-output 'toplevel)) +- (want '(#f NONE 0)) +- (got (begin +- (gdk-window-destroy win) +- (gdk-selection-property-get win)))) +- ;; final free()s only take place under the main loop, so need this to +- ;; satisfy `malloced-steady +- (gtk-main-iteration-do #f) +- (test "gdk-selection-property-get" (list "destroyed win" win) want got)))) + + ;; + ;; gdk-text-extents diff --git a/x11-libs/guile-gtk/files/2.1-prll-install.patch b/x11-libs/guile-gtk/files/2.1-prll-install.patch new file mode 100644 index 000000000000..b00fc29ca34a --- /dev/null +++ b/x11-libs/guile-gtk/files/2.1-prll-install.patch @@ -0,0 +1,13 @@ +diff --git a/Makefile.am b/Makefile.am +index 822a170..37f43b5 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -72,7 +72,7 @@ gdkdefs = gdk-2.0.defs + defsdir = $(datadir)/guile-gtk/ + defs_DATA = $(gtkdefs) $(gdkdefs) + +-install-exec-local: ++install-exec-hook: + rm -f $(DESTDIR)$(bindir)/build-guile-gtk + rm -f $(DESTDIR)$(bindir)/guile-gtk + ln $(DESTDIR)$(bindir)/build-guile-gtk-2.0 $(DESTDIR)$(bindir)/build-guile-gtk diff --git a/x11-libs/guile-gtk/files/guile-gtk-2.0-g-object-ref.diff b/x11-libs/guile-gtk/files/guile-gtk-2.0-g-object-ref.diff new file mode 100644 index 000000000000..bd582117f621 --- /dev/null +++ b/x11-libs/guile-gtk/files/guile-gtk-2.0-g-object-ref.diff @@ -0,0 +1,45 @@ +--- guile-gtk-2.0.orig/gtk-gl/gdk-gl.defs ++++ guile-gtk-2.0/gtk-gl/gdk-gl.defs +@@ -22,14 +22,14 @@ + ;--- Types ... -------------------------------------------------------- + + (define-struct GdkGLContext +- (copy gdk_gl_context_ref) +- (free gdk_gl_context_unref) ++ (copy g_object_ref) ++ (free g_object_unref) + (size "0") + (canonical-name "Gdk" "GL" "Context")) + + (define-struct GdkGLPixmap +- (copy gdk_gl_pixmap_ref) +- (free gdk_gl_pixmap_unref) ++ (copy g_object_ref) ++ (free g_object_unref) + (size "0") + (canonical-name "Gdk" "GL" "Pixmap")) + +--- guile-gtk-2.0.orig/gtk-gl/gdk-gl-glue.c ++++ guile-gtk-2.0/gtk-gl/gdk-gl-glue.c +@@ -83,8 +83,8 @@ + + sgtk_boxed_info sgtk_gdk_gl_context_info = { + { "GdkGLContext", GTK_TYPE_BOXED, NULL }, +- (void *(*)(void*))gdk_gl_context_ref, +- (void (*)(void*))gdk_gl_context_unref, ++ (void *(*)(void*))g_object_ref, ++ (void (*)(void*))g_object_unref, + (void (*)(SCM)) NULL, + 0 + }; +@@ -100,8 +100,8 @@ + + sgtk_boxed_info sgtk_gdk_gl_pixmap_info = { + { "GdkGLPixmap", GTK_TYPE_BOXED, NULL }, +- (void *(*)(void*))gdk_gl_pixmap_ref, +- (void (*)(void*))gdk_gl_pixmap_unref, ++ (void *(*)(void*))g_object_ref, ++ (void (*)(void*))g_object_unref, + (void (*)(SCM)) NULL, + 0 + }; diff --git a/x11-libs/guile-gtk/guile-gtk-2.1-r1.ebuild b/x11-libs/guile-gtk/guile-gtk-2.1-r1.ebuild new file mode 100644 index 000000000000..f2ccded7725b --- /dev/null +++ b/x11-libs/guile-gtk/guile-gtk-2.1-r1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit autotools eutils virtualx + +DESCRIPTION="GTK+ bindings for guile" +HOMEPAGE="http://www.gnu.org/software/guile-gtk/" +SRC_URI="mirror://gnu/guile-gtk/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux" +IUSE="" + +RDEPEND=" + dev-scheme/guile[deprecated(+)] + x11-libs/gtk+:2 + gnome-base/libglade:2.0 + >=x11-libs/gtkglarea-1.90:2" +DEPEND="${RDEPEND}" + +src_prepare() { + epatch "${FILESDIR}/${PN}-2.0-g-object-ref.diff" + epatch "${FILESDIR}"/${PV}-prll-install.patch + epatch "${FILESDIR}"/${PV}-brokentest.patch + eautoreconf +} + +src_test() { + Xemake check +} + +src_install() { + # bug #298803 + emake DESTDIR="${D}" install + dodoc README AUTHORS ChangeLog NEWS TODO + insinto /usr/share/doc/${PF}/ + doins -r examples +} diff --git a/x11-libs/guile-gtk/guile-gtk-2.1-r2.ebuild b/x11-libs/guile-gtk/guile-gtk-2.1-r2.ebuild new file mode 100644 index 000000000000..8894979410f5 --- /dev/null +++ b/x11-libs/guile-gtk/guile-gtk-2.1-r2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +AUTOTOOLS_AUTORECONF=true + +inherit autotools-utils virtualx + +DESCRIPTION="GTK+ bindings for guile" +HOMEPAGE="http://www.gnu.org/software/guile-gtk/" +SRC_URI="mirror://gnu/guile-gtk/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" +IUSE="" + +RDEPEND=" + dev-scheme/guile[deprecated(+)] + x11-libs/gtk+:2 + gnome-base/libglade:2.0 + >=x11-libs/gtkglarea-1.90:2" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-2.0-g-object-ref.diff + "${FILESDIR}"/${PV}-prll-install.patch + "${FILESDIR}"/${PV}-brokentest.patch +) + +src_prepare() { + sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.ac || die + autotools-utils_src_prepare +} + +src_test() { + cd "${BUILD_DIR}" || die + Xemake check +} + +src_install() { + autotools-utils_src_install + insinto /usr/share/doc/${PF}/ + doins -r examples +} diff --git a/x11-libs/guile-gtk/metadata.xml b/x11-libs/guile-gtk/metadata.xml new file mode 100644 index 000000000000..344196c171d9 --- /dev/null +++ b/x11-libs/guile-gtk/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>scheme</herd> + <maintainer> + <email>hkBst@gentoo.org</email> + <name>Marijn Schouten</name> + </maintainer> + <longdescription lang="en"> +The guile-gtk project brings the power of Scheme to your graphical application. + </longdescription> +</pkgmetadata> |