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-plugins/matchbox-desktop-image-browser | |
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-plugins/matchbox-desktop-image-browser')
6 files changed, 121 insertions, 0 deletions
diff --git a/x11-plugins/matchbox-desktop-image-browser/Manifest b/x11-plugins/matchbox-desktop-image-browser/Manifest new file mode 100644 index 000000000000..b4feca2eb1d7 --- /dev/null +++ b/x11-plugins/matchbox-desktop-image-browser/Manifest @@ -0,0 +1 @@ +DIST mb-desktop-image-browser-0.2.tar.bz2 209777 SHA256 48c2721048d3fa0bde425df1b40b1baa4ae67f6e42be78761ae81deb39ec746e diff --git a/x11-plugins/matchbox-desktop-image-browser/files/matchbox-desktop-image-browser-0.2-include_fix.patch b/x11-plugins/matchbox-desktop-image-browser/files/matchbox-desktop-image-browser-0.2-include_fix.patch new file mode 100644 index 000000000000..654ff32947bc --- /dev/null +++ b/x11-plugins/matchbox-desktop-image-browser/files/matchbox-desktop-image-browser-0.2-include_fix.patch @@ -0,0 +1,12 @@ +diff -Naur mb-desktop-image-browser-0.2.orig/imgbrowser.c mb-desktop-image-browser-0.2/imgbrowser.c +--- mb-desktop-image-browser-0.2.orig/imgbrowser.c 2004-01-28 16:05:09 +0000 ++++ mb-desktop-image-browser-0.2/imgbrowser.c 2006-04-16 19:44:34 +0000 +@@ -4,7 +4,7 @@ + #include <regex.h> + + #include <libmb/mb.h> +-#include <mbdesktop_module.h> ++#include <matchbox-desktop/mbdesktop_module.h> + + /* + XXX Todo . diff --git a/x11-plugins/matchbox-desktop-image-browser/files/matchbox-desktop-image-browser-0.2-noexec-matchbox-desktop.patch b/x11-plugins/matchbox-desktop-image-browser/files/matchbox-desktop-image-browser-0.2-noexec-matchbox-desktop.patch new file mode 100644 index 000000000000..b8dd76484cb7 --- /dev/null +++ b/x11-plugins/matchbox-desktop-image-browser/files/matchbox-desktop-image-browser-0.2-noexec-matchbox-desktop.patch @@ -0,0 +1,12 @@ +diff -Naurp mb-desktop-image-browser-0.2.orig/configure.ac mb-desktop-image-browser-0.2/configure.ac +--- mb-desktop-image-browser-0.2.orig/configure.ac 2004-02-06 18:10:21.000000000 +0000 ++++ mb-desktop-image-browser-0.2/configure.ac 2010-01-06 00:09:09.000000000 +0000 +@@ -24,7 +24,7 @@ AC_FUNC_MALLOC + AC_TYPE_SIGNAL + AC_CHECK_FUNCS([strchr strdup]) + +-PKG_CHECK_MODULES(MB, libmb >= 1.1, matchbox-desktop, ++PKG_CHECK_MODULES(MB, libmb >= 1.1, , + AC_MSG_ERROR([*** Matchbox depencies not found***])) + + dnl check for debug build diff --git a/x11-plugins/matchbox-desktop-image-browser/files/matchbox-desktop-image-browser-0.2-plugin-location-fix.patch b/x11-plugins/matchbox-desktop-image-browser/files/matchbox-desktop-image-browser-0.2-plugin-location-fix.patch new file mode 100644 index 000000000000..9026e3c95142 --- /dev/null +++ b/x11-plugins/matchbox-desktop-image-browser/files/matchbox-desktop-image-browser-0.2-plugin-location-fix.patch @@ -0,0 +1,36 @@ +diff -Naurp mb-desktop-image-browser-0.2.orig/configure.ac mb-desktop-image-browser-0.2/configure.ac +--- mb-desktop-image-browser-0.2.orig/configure.ac 2010-01-06 01:05:40.000000000 +0000 ++++ mb-desktop-image-browser-0.2/configure.ac 2010-01-06 01:07:24.000000000 +0000 +@@ -34,6 +34,20 @@ AC_ARG_ENABLE(debug, + MB_CFLAGS="$MB_CFLAGS -DDEBUG" + fi]) + ++ ++dnl ------ Substitute in found libs, clags to Makefiles etc ----------------- ++ ++if test "x$prefix" = xNONE; then ++ prefix="${ac_default_prefix}" ++fi ++if test "x$exec_prefix" = xNONE; then ++ exec_prefix='${prefix}' ++fi ++ ++MBDESKTOP_PLUGIN_DIR=$libdir/matchbox/desktop ++eval MBDESKTOP_PLUGIN_DIR=`eval echo "$MBDESKTOP_PLUGIN_DIR"` ++ ++AC_SUBST(MBDESKTOP_PLUGIN_DIR) + AC_SUBST(MB_LIBS) + AC_SUBST(MB_CFLAGS) + +diff -Naurp mb-desktop-image-browser-0.2.orig/Makefile.am mb-desktop-image-browser-0.2/Makefile.am +--- mb-desktop-image-browser-0.2.orig/Makefile.am 2010-01-06 01:05:40.000000000 +0000 ++++ mb-desktop-image-browser-0.2/Makefile.am 2010-01-06 01:07:01.000000000 +0000 +@@ -4,7 +4,7 @@ LDADD = $(MB_LIBS) + AM_CFLAGS = $(MB_CFLAGS) -g -DDATADIR=\"$(datadir)\" + + lib_LTLIBRARIES = imgbrowser.la +-libdir = $(datadir)/matchbox/desktop/modules ++libdir = $(MBDESKTOP_PLUGIN_DIR) + + imgbrowser_la_SOURCES = imgbrowser.c + imgbrowser_la_LIBADD = $(LDADD) diff --git a/x11-plugins/matchbox-desktop-image-browser/matchbox-desktop-image-browser-0.2-r1.ebuild b/x11-plugins/matchbox-desktop-image-browser/matchbox-desktop-image-browser-0.2-r1.ebuild new file mode 100644 index 000000000000..7a48c03f3f12 --- /dev/null +++ b/x11-plugins/matchbox-desktop-image-browser/matchbox-desktop-image-browser-0.2-r1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit versionator eutils autotools + +MY_PN=${PN/matchbox/mb} +MY_P=${MY_PN}-${PV} + +DESCRIPTION="An alpha-ish image browser plug in for matchbox-desktop" +HOMEPAGE="http://matchbox-project.org/" +SRC_URI="http://matchbox-project.org/sources/${MY_PN}/$(get_version_component_range 1-2)/${MY_P}.tar.bz2" +LICENSE="GPL-2" +SLOT="0" + +KEYWORDS="amd64 ~arm x86" +IUSE="debug" + +RDEPEND=">=x11-libs/libmatchbox-1.1" +DEPEND="${RDEPEND} x11-wm/matchbox-desktop" + +S="${WORKDIR}/${MY_P}" + +src_unpack () { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}"/$P-include_fix.patch + epatch "${FILESDIR}"/$P-noexec-matchbox-desktop.patch + epatch "${FILESDIR}"/$P-plugin-location-fix.patch + + eautoreconf +} + +src_compile () { + econf $(use_enable debug) || die "Configuration failed" + + emake || die "Compilation failed" +} + +src_install() { + make DESTDIR="${D}" install || die "Installation failed" + + dodoc AUTHORS ChangeLog INSTALL NEWS README +} + +pkg_postinst() { + einfo "To use this matchbox-desktop module:" + einfo + einfo "Add an entry to you mbdesktop_modules file specifying the module and" + einfo "where your browsed images live." + einfo + einfo 'Ej: $ echo "/usr/lib/matchbox/desktop/imgbrowser.so ${HOME}/Pictures" >> \\' + einfo ' ~/.matchbox/mbdesktop_modules' +} diff --git a/x11-plugins/matchbox-desktop-image-browser/metadata.xml b/x11-plugins/matchbox-desktop-image-browser/metadata.xml new file mode 100644 index 000000000000..6a17403e0ad0 --- /dev/null +++ b/x11-plugins/matchbox-desktop-image-browser/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>gpe</herd> +</pkgmetadata> |