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 /app-i18n/imsettings | |
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 'app-i18n/imsettings')
-rw-r--r-- | app-i18n/imsettings/Manifest | 2 | ||||
-rw-r--r-- | app-i18n/imsettings/files/imsettings-1.5.0-gir-scanner.patch | 29 | ||||
-rw-r--r-- | app-i18n/imsettings/imsettings-1.5.0.ebuild | 78 | ||||
-rw-r--r-- | app-i18n/imsettings/imsettings-1.6.8.ebuild | 76 | ||||
-rw-r--r-- | app-i18n/imsettings/metadata.xml | 10 |
5 files changed, 195 insertions, 0 deletions
diff --git a/app-i18n/imsettings/Manifest b/app-i18n/imsettings/Manifest new file mode 100644 index 000000000000..684dc0aaa9e7 --- /dev/null +++ b/app-i18n/imsettings/Manifest @@ -0,0 +1,2 @@ +DIST imsettings-1.5.0.tar.bz2 567488 SHA256 06a9d82718104fb9b86ded11bc73afaf7dd858b138eb24d8264c6a4877db161e SHA512 0743264fc09c9998d93fd92195946936141f17a943783b40906d0e269db691c7559e05158217f7a3b46b18cd29004338b94ca9958d52185c630e26cd7dfca08d WHIRLPOOL 21e96e5b9aeb80189a9aa6650d86d0cf1a72287a246eb43c0e54af94d1d5dc37e47c5760e17b36c0c3f222367520f81a50150fc3e4a4449e3ed284d237e91d06 +DIST imsettings-1.6.8.tar.bz2 593942 SHA256 2620ffbf9a6dc842dbf994b4773d4fe355eb77076ccf33f726ba63f16c0d08ba SHA512 a15a4824529b16f61653fdf3e149656c7a2ca1384579c755cec6650414499c3d24ac15178971d961f327c5fd8acd7892b9b4f9c60608166c281c11ab3f2b25b0 WHIRLPOOL c39cb54b9be8424dc1d9eceae12f793847585638f29a52282427c3c07ee1bd3e5ed9d67ff73727b055499c3963e106024eb9f164b32ebcf553b2dfccf1114a6d diff --git a/app-i18n/imsettings/files/imsettings-1.5.0-gir-scanner.patch b/app-i18n/imsettings/files/imsettings-1.5.0-gir-scanner.patch new file mode 100644 index 000000000000..be7350f9401f --- /dev/null +++ b/app-i18n/imsettings/files/imsettings-1.5.0-gir-scanner.patch @@ -0,0 +1,29 @@ +From 75e1ec9cea4bb9f108c0637a4b62cabfa500ed61 Mon Sep 17 00:00:00 2001 +From: Akira TAGOH <akira@tagoh.org> +Date: Wed, 3 Apr 2013 19:37:15 +0900 +Subject: [PATCH] Fix a build issue with the latest gobject-introspection + +--- + imsettings/Makefile.am | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/imsettings/Makefile.am b/imsettings/Makefile.am +index 574480a..8e5999a 100644 +--- a/imsettings/Makefile.am ++++ b/imsettings/Makefile.am +@@ -117,9 +117,11 @@ IMSettings_1_3_gir_INCLUDES = \ + GObject-2.0 \ + Gio-2.0 \ + $(NULL) ++IMSettings_1_3_gir_SCANNERFLAGS = \ ++ --symbol-prefix=imsettings \ ++ $(NULL) + IMSettings_1_3_gir_CFLAGS = \ + $(INCLUDES) \ +- --symbol-prefix=imsettings \ + $(NULL) + IMSettings_1_3_gir_LIBS = libimsettings.la + IMSettings_1_3_gir_FILES = $(introspection_sources) +-- +1.8.5.2 + diff --git a/app-i18n/imsettings/imsettings-1.5.0.ebuild b/app-i18n/imsettings/imsettings-1.5.0.ebuild new file mode 100644 index 000000000000..b91eac4a64ac --- /dev/null +++ b/app-i18n/imsettings/imsettings-1.5.0.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils autotools + +DESCRIPTION="Delivery framework for general Input Method configuration" +HOMEPAGE="http://tagoh.github.com/imsettings/" +SRC_URI="https://bitbucket.org/tagoh/imsettings/downloads/${P}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc gconf gtk3 qt4 static-libs xfconf" + +# X11 connections are required for test. +RESTRICT="test" + +RDEPEND=">=dev-libs/check-0.9.4 + >=dev-libs/glib-2.26 + sys-apps/dbus + >=x11-libs/gtk+-2.12:2 + >=x11-libs/libgxim-0.4.0 + >=x11-libs/libnotify-0.7 + x11-libs/libX11 + gconf? ( gnome-base/gconf ) + gtk3? ( x11-libs/gtk+:3 ) + qt4? ( dev-qt/qtcore:4 ) + xfconf? ( xfce-base/xfconf )" +DEPEND="${RDEPEND} + virtual/pkgconfig + dev-util/intltool + doc? ( dev-util/gtk-doc )" + +MY_XINPUTSH="90-xinput" + +DOCS=( AUTHORS ChangeLog NEWS README ) + +src_prepare() { + # Prevent automagic linking to libxfconf-0. + if ! use gconf; then + sed -i -e 's:gconf-2.0:dIsAbLe&:' configure || die + fi + if ! use gtk3; then + sed -i -e 's:gtk+-3.0:dIsAbLe&:' configure || die + fi + if ! use qt4; then + sed -i -e 's:QtCore:dIsAbLe&:' configure || die + fi + if ! use xfconf; then + sed -i -e 's:libxfconf-0:dIsAbLe&:' configure || die + fi + epatch "${FILESDIR}"/${P}-gir-scanner.patch + eautoreconf +} + +src_configure() { + econf \ + $(use_enable static-libs static) \ + --with-xinputsh="${MY_XINPUTSH}" +} + +src_install() { + default + + find "${ED}" -name '*.la' -exec rm -f '{}' + + + fperms 0755 /usr/libexec/xinputinfo.sh + fperms 0755 "/etc/X11/xinit/xinitrc.d/${MY_XINPUTSH}" +} + +pkg_postinst() { + if [ ! -e "${EPREFIX}/etc/X11/xinit/xinputrc" ] ; then + ln -sf xinput.d/xcompose.conf "${EPREFIX}/etc/X11/xinit/xinputrc" + fi +} diff --git a/app-i18n/imsettings/imsettings-1.6.8.ebuild b/app-i18n/imsettings/imsettings-1.6.8.ebuild new file mode 100644 index 000000000000..1454eeaa1602 --- /dev/null +++ b/app-i18n/imsettings/imsettings-1.6.8.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils autotools + +DESCRIPTION="Delivery framework for general Input Method configuration" +HOMEPAGE="http://tagoh.bitbucket.org/imsettings/" +SRC_URI="https://bitbucket.org/tagoh/imsettings/downloads/${P}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc gconf gtk3 qt4 static-libs xfconf" + +# X11 connections are required for test. +RESTRICT="test" + +RDEPEND=">=dev-libs/check-0.9.4 + >=dev-libs/glib-2.32 + sys-apps/dbus + >=x11-libs/gtk+-2.12:2 + >=x11-libs/libgxim-0.5.0 + >=x11-libs/libnotify-0.7 + x11-libs/libX11 + gconf? ( gnome-base/gconf ) + gtk3? ( x11-libs/gtk+:3 ) + qt4? ( dev-qt/qtcore:4 ) + xfconf? ( xfce-base/xfconf )" +DEPEND="${RDEPEND} + virtual/pkgconfig + dev-util/intltool + doc? ( dev-util/gtk-doc )" + +MY_XINPUTSH="90-xinput" + +DOCS=( AUTHORS ChangeLog NEWS README ) + +src_prepare() { + # Prevent automagic linking to libxfconf-0. + if ! use gconf; then + sed -i -e 's:gconf-2.0:dIsAbLe&:' configure || die + fi + if ! use gtk3; then + sed -i -e 's:gtk+-3.0:dIsAbLe&:' configure || die + fi + if ! use qt4; then + sed -i -e 's:use_qt="yes":use_qt="no":' configure || die + fi + if ! use xfconf; then + sed -i -e 's:libxfconf-0:dIsAbLe&:' configure || die + fi +} + +src_configure() { + econf \ + $(use_enable static-libs static) \ + --with-xinputsh="${MY_XINPUTSH}" +} + +src_install() { + default + + find "${ED}" -name '*.la' -exec rm -f '{}' + + + fperms 0755 /usr/libexec/xinputinfo.sh + fperms 0755 "/etc/X11/xinit/xinitrc.d/${MY_XINPUTSH}" +} + +pkg_postinst() { + if [ ! -e "${EPREFIX}/etc/X11/xinit/xinputrc" ] ; then + ln -sf xinput.d/xcompose.conf "${EPREFIX}/etc/X11/xinit/xinputrc" + fi +} diff --git a/app-i18n/imsettings/metadata.xml b/app-i18n/imsettings/metadata.xml new file mode 100644 index 000000000000..6a110ec0e896 --- /dev/null +++ b/app-i18n/imsettings/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>cjk</herd> +<use> + <flag name='xfconf'>Enable integration in the Xfce desktop environment with <pkg>xfce-base/xfconf</pkg></flag> + <flag name='gconf'>Enable GConf support</flag> + <flag name='gtk3'>Enable support for <pkg>x11-libs/gtk+</pkg>:3</flag> +</use> +</pkgmetadata> |