Sync with portage [Thu Nov 13 18:09:36 MSK 2014].

mhiretskiy
root 10 years ago
parent 2548dbcc0b
commit 6e40f385d8

@ -1 +0,0 @@
DIST dasher-4.11.tar.bz2 8416734 SHA256 fb21cc4ef606e10a8e5deffebe8695a376eabb0766d7d1bdf80abc5f03f4fed2 SHA512 df17b7f5b30d7c9fd4cb814b3f86485d9e9411433177194ba9c772299e501cd5a5a89fab75f97743223b88aa1084d525706b96028a5562b25f1ccbe2a10a4d7c WHIRLPOOL 7b9084b3fe0d6e79f681db0cc39e35056c766191a6fda1b1dcc3cc849244ab053cd8ab214494b51a2ccde130ad7d7eb6c5efafadacf12b29f5193bc200ab8e40

@ -1,73 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/dasher/dasher-4.11.ebuild,v 1.13 2012/05/03 01:48:59 jdhore Exp $
EAPI="2"
inherit gnome2
DESCRIPTION="A text entry interface, driven by continuous pointing gestures"
HOMEPAGE="http://www.inference.phy.cam.ac.uk/dasher/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86"
IUSE="accessibility cairo gnome nls"
# The package claims to support 'qte', but it hasn't been tested.
# Any patches from someone who can test it are welcome.
# <leonardop@gentoo.org>
RDEPEND=">=dev-libs/glib-2.16:2
dev-libs/expat
>=x11-libs/gtk+-2.6:2
>=gnome-base/gconf-2:2
x11-libs/libX11
x11-libs/libXtst
accessibility? (
app-accessibility/gnome-speech
>=gnome-base/libbonobo-2
>=gnome-base/orbit-2
>=gnome-base/libgnomeui-2
gnome-extra/at-spi:1
dev-libs/atk )
cairo? ( >=x11-libs/gtk+-2.8:2 )
gnome? (
>=gnome-base/libgnome-2
>=gnome-base/libgnomeui-2 )"
DEPEND="${RDEPEND}
virtual/pkgconfig
x11-proto/xextproto
x11-proto/xproto
gnome? (
>=app-text/gnome-doc-utils-0.3.2
app-text/scrollkeeper )
nls? ( >=dev-util/intltool-0.41 )"
DOCS="AUTHORS ChangeLog MAINTAINERS NEWS README"
pkg_setup() {
# we might want to support japanese and chinese input at some point
# --enable-japanese
# --enable-chinese
# --enable-tilt (tilt sensor support)
G2CONF="${G2CONF}
--disable-scrollkeeper
--with-gvfs
$(use_enable accessibility a11y)
$(use_enable accessibility speech)
$(use_with cairo)
$(use_with gnome)
$(use_enable nls)"
}
src_prepare() {
# configure.ac has a typo for AM_GCONF_SOURCE2
# beware if adding src_prepare + eautoreconf
gnome2_src_prepare
# Fix intltoolize broken file, see upstream #577133
sed "s:'\^\$\$lang\$\$':\^\$\$lang\$\$:g" -i po/Makefile.in.in \
|| die "sed 1 failed"
}

@ -1,15 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>gnome-accessibility</herd>
<longdescription lang="en">
Dasher is an information-efficient text-entry interface, driven by
natural continuous pointing gestures. Dasher is a competitive
text-entry system wherever a full-size keyboard cannot be used.
</longdescription>
<longdescription lang="ja">
Dasherは天為と継続的なポインティングカーソルで使う
テキストエントリインタフェースです。Dasherは普通な
キーボードが使えない競争なテキストエントリシステムです。
</longdescription>
</pkgmetadata>

@ -1 +0,0 @@
DIST java-access-bridge-1.26.2.tar.bz2 311663 SHA256 a0ede71f282c8dab9fecf60abdf6a45ffa3552a9dfe6533a55011cbc34f653d8 SHA512 a41856f39953da926d09bdf92acb5dc0917c2241075e81758a2c08ffe291df57a01e143b69b1874242c3dc12fe826ecc06b4eff3383eb271a066c245ff770d08 WHIRLPOOL 7c57694f70de3e5ba715d10046de7885962374bec90309e3568b75ec12dd8f8cc552d2c97f5cdd1b329131e5df62d79bb0825ed03721641604a946933bf12a50

@ -1,48 +0,0 @@
diff -Nur java-access-bridge-1.6.0/at-client/Makefile.am java-access-bridge-1.6.0_patched/at-client/Makefile.am
--- java-access-bridge-1.6.0/at-client/Makefile.am 2003-08-25 12:17:11.000000000 +0300
+++ java-access-bridge-1.6.0_patched/at-client/Makefile.am 2009-01-28 21:05:46.000000000 +0200
@@ -9,7 +9,7 @@
../gnome-java-bridge.jar : jar-stamp $(JAVA_FILES) $(DEP_CLASSES)
touch ../jar-stamp
- $(JAR) uf ../gnome-java-bridge.jar org/GNOME/Accessibility/*.class
+ $(JAR) uf ../gnome-java-bridge.jar org/GNOME/Accessibility/
$(DEP_CLASSES) :
@(cd `dirname $@`; $(MAKE) )
diff -Nur java-access-bridge-1.6.0/bridge/Makefile.am java-access-bridge-1.6.0_patched/bridge/Makefile.am
--- java-access-bridge-1.6.0/bridge/Makefile.am 2003-08-25 12:17:11.000000000 +0300
+++ java-access-bridge-1.6.0_patched/bridge/Makefile.am 2009-01-28 21:05:57.000000000 +0200
@@ -15,7 +15,7 @@
../gnome-java-bridge.jar : jar-stamp $(JAVA_FILES) $(DEP_CLASSES)
touch ../jar-stamp
- $(JAR) uf ../gnome-java-bridge.jar org/GNOME/Accessibility/*.class
+ $(JAR) uf ../gnome-java-bridge.jar org/GNOME/Accessibility/
$(DEP_CLASSES) :
@(cd `dirname $@`; $(MAKE) )
diff -Nur java-access-bridge-1.6.0/idlgen/Makefile.am java-access-bridge-1.6.0_patched/idlgen/Makefile.am
--- java-access-bridge-1.6.0/idlgen/Makefile.am 2003-05-06 11:51:38.000000000 +0300
+++ java-access-bridge-1.6.0_patched/idlgen/Makefile.am 2009-01-28 21:07:12.000000000 +0200
@@ -16,7 +16,7 @@
../gnome-java-bridge.jar : org/GNOME/Accessibility/Accessible.class $(CLASSES) ../jar-stamp
touch ../jar-stamp
- $(JAR) cf ../gnome-java-bridge.jar org/GNOME/Bonobo/*.class org/GNOME/Accessibility/*.class
+ $(JAR) cf ../gnome-java-bridge.jar org/GNOME/Bonobo/ org/GNOME/Accessibility/
all-local: org/GNOME/Accessibility/Accessible.class $(JARFILES)
diff -Nur java-access-bridge-1.6.0/util/Makefile.am java-access-bridge-1.6.0_patched/util/Makefile.am
--- java-access-bridge-1.6.0/util/Makefile.am 2003-08-25 12:17:14.000000000 +0300
+++ java-access-bridge-1.6.0_patched/util/Makefile.am 2009-01-28 21:08:22.000000000 +0200
@@ -9,7 +9,7 @@
../gnome-java-bridge.jar : jar-stamp $(JAVA_FILES) $(DEP_CLASSES)
touch ../jar-stamp
- $(JAR) uf ../gnome-java-bridge.jar org/GNOME/Accessibility/*.class
+ $(JAR) uf ../gnome-java-bridge.jar org/GNOME/Accessibility/
$(DEP_CLASSES) :
@(cd `dirname $@`; $(MAKE) )

@ -1,76 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/java-access-bridge/java-access-bridge-1.26.2.ebuild,v 1.5 2012/12/08 21:40:27 ago Exp $
EAPI=4
GNOME_TARBALL_SUFFIX="bz2"
GNOME2_LA_PUNT="yes"
inherit java-pkg-2 gnome2 eutils autotools
DESCRIPTION="Gnome Java Accessibility Bridge"
HOMEPAGE="https://live.gnome.org/Java%20Access%20Bridge/"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="amd64 ppc ppc64 x86"
IUSE=""
COMMON_DEPEND=">=gnome-base/libbonobo-2
>=gnome-extra/at-spi-1.7.10:1
x11-apps/xprop"
RDEPEND="$COMMON_DEPEND
>=virtual/jre-1.4"
DEPEND="$COMMON_DEPEND
>=virtual/jdk-1.4
virtual/pkgconfig"
DOCS="AUTHORS ChangeLog NEWS README"
src_prepare() {
java-pkg-2_src_prepare
epatch "${FILESDIR}"/${PN}-1.6.0-missingclasses.patch
eautoreconf
}
pkg_setup() {
java-pkg-2_pkg_setup
G2CONF+="--disable-static
--with-java-home=${JDK_HOME}"
}
src_configure() {
gnome2_src_configure
}
src_compile() {
emake JAVAC="${JAVAC} ${JAVACFLAGS}"
}
src_install() {
gnome2_src_install
java-pkg_dojar "${D}"/usr/share/jar/*.jar
insinto /usr/share/${PN}
doins "${D}"/usr/share/jar/*.properties
rm -rf "${D}"/usr/share/jar
}
pkg_preinst() {
java-pkg-2_pkg_preinst
gnome2_pkg_preinst
}
pkg_postinst() {
elog
elog "To enable accessibility support with your java applications, you"
elog "have to enable CORBA traffic over IP. To do this, you may add the"
elog "following line to your /etc/orbitrc or ~/.orbitrc file:"
elog
elog " ORBIIOPIPv4=1"
elog
}

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>gnome-accessibility</herd>
<herd>java</herd>
</pkgmetadata>

@ -1 +0,0 @@
DIST morseall-0.5.0.tar.gz 968063 SHA256 b60307679deb3c992ca7c8395ba59026be75bcca777a862590fec5d5b25f29a7 SHA512 4b5f413d6d726dadb9d1eafec504db473a6acff1d8f3845e0e70ccc25cd43b238e10026a987b3a0cdc8318c5259bf707764aa3a78e6f53bb2bffd713bf84aece WHIRLPOOL e58de8c23b11af65eaa507b7a8329178cf6251c0262b849106d987e252aca30a8a8604421401bd51ab96139959c1bf8f7234ac30cd5fcb89aad563bd52129b78

@ -1,5 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>accessibility</herd>
</pkgmetadata>

@ -1,22 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/morseall/morseall-0.5.0.ebuild,v 1.1 2011/09/01 21:07:23 neurogeek Exp $
EAPI="3"
DESCRIPTION="Allows people who have limited mobility to control their computer using morse code"
HOMEPAGE="http://www.morseall.org/"
SRC_URI="http://pehr.net/software/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="-amd64 ~x86"
IUSE=""
DEPEND="gnome-extra/at-spi:1"
RDEPEND="${DEPEND}"
src_install() {
emake DESTDIR="${D}" install || die "install failed"
dodoc README ChangeLog NEWS TODO
}

@ -1,3 +1 @@
DIST system-config-printer-1.3.12.tar.xz 949008 SHA256 1905bd9fd382730a8eab80fa196b1c43bd19ce79c2169142de899697cbb1e9b1 SHA512 4e6c15b52287f2a69fabb6dafe6548874b8608f2f7a2e14534b100fbb46ad0f146b1e03a6aa4c2c9fe66dad96789454bd066616db0dd73b962bffeb478a7c6c5 WHIRLPOOL 0b8afe05a87103ef99dac50ab7db5f3fc6137de9b84e483ee3a481172e4c894e206b6d022303f1f11496a63b5698351a67070fb936f35293e83f5a20c5e21599
DIST system-config-printer-1.3.13.tar.xz 955636 SHA256 9a6a4fbf61b1aafa061674719321846665ee7a4e7ab96dd4747069b0927d12a6 SHA512 046501d17c33a2ff72020b3d20210c5544c6310469cba1ca21cfaee7bb153915f850c102fbd5661e8f5ff6872c8400103346e71d258113405c5c0f752c5dffc1 WHIRLPOOL 9e44a26543de5375e45fdfb576511115f8e63f8e6a7865c7d1183660672e60b4f3f1f2027fe2677f71ca256997c89ad1281799256f102bf5aa56f57844f6f055
DIST system-config-printer-1.4.3.tar.xz 892132 SHA256 c14bb1b75929ccf31267da8cf774bed923c4ea3eb0deddcc255221c0b8844c0f SHA512 36584b7caa26765160beaf3cddc9b4e7bad05d93e3a7960911f2e6a129e7c811fabcd25cc728c2eb0c7aa14f0f1dd66425f2d767adc8ee6eaaa4a3a0b77d280f WHIRLPOOL cc955dd3c979b75bbb40a98c1ad13276f7775807c098ac97bf9c5cf37109f24073d2d886695e357f8a417ab34ce5aa8fea5cc7add4dddf4f67fb00c3fb529e45

@ -1,177 +0,0 @@
diff -ruN system-config-printer-1.3.12/Makefile.am my/Makefile.am
--- system-config-printer-1.3.12/Makefile.am 2012-10-04 15:51:04.000000000 +0200
+++ my/Makefile.am 2012-11-19 00:45:25.702660438 +0100
@@ -1,5 +1,3 @@
-CFLAGS=-g -O2 -Wall
-
SUBDIRS=po
EXPORT_MODULES= \
@@ -84,88 +82,21 @@
rm -f .stamp-distutils-in-builddir
nobase_pkgdata_SCRIPTS= \
- check-device-ids.py \
- pysmb.py \
- scp-dbus-service.py \
- system-config-printer.py \
- troubleshoot/__init__.py \
- applet.py
+ check-device-ids.py
nobase_pkgdata_DATA= \
- asyncconn.py \
- asyncipp.py \
- asyncpk1.py \
- authconn.py \
config.py \
- cupspk.py \
debug.py \
dnssdresolve.py \
- errordialogs.py \
- HIG.py \
firewall.py \
- gui.py \
- gtkinklevel.py \
- gtkspinner.py \
installpackage.py \
- jobviewer.py \
monitor.py \
- newprinter.py \
- options.py \
- optionwidgets.py \
PhysicalDevice.py \
- ppdcache.py \
ppdippstr.py \
- ppdsloader.py \
- printerproperties.py \
probe_printer.py \
- gtk_label_autowrap.py \
SearchCriterion.py \
- serversettings.py \
smburi.py \
statereason.py \
- timedops.py \
- ToolbarSearchEntry.py \
- userdefault.py \
- ui/AboutDialog.ui \
- ui/ConnectDialog.ui \
- ui/ConnectingDialog.ui \
- ui/InstallDialog.ui \
- ui/JobsWindow.ui \
- ui/NewPrinterName.ui \
- ui/NewPrinterWindow.ui \
- ui/PrinterPropertiesDialog.ui \
- ui/PrintersWindow.ui \
- ui/ServerSettingsDialog.ui \
- ui/SMBBrowseDialog.ui \
- ui/statusicon_popupmenu.ui \
- ui/WaitWindow.ui \
- icons/i-network-printer.png \
- troubleshoot/base.py \
- troubleshoot/CheckLocalServerPublishing.py \
- troubleshoot/CheckNetworkServerSanity.py \
- troubleshoot/CheckPPDSanity.py \
- troubleshoot/CheckPrinterSanity.py \
- troubleshoot/CheckSELinux.py \
- troubleshoot/CheckUSBPermissions.py \
- troubleshoot/ChooseNetworkPrinter.py \
- troubleshoot/ChoosePrinter.py \
- troubleshoot/DeviceListed.py \
- troubleshoot/ErrorLogCheckpoint.py \
- troubleshoot/ErrorLogFetch.py \
- troubleshoot/ErrorLogParse.py \
- troubleshoot/Locale.py \
- troubleshoot/LocalOrRemote.py \
- troubleshoot/NetworkCUPSPrinterShared.py \
- troubleshoot/PrinterStateReasons.py \
- troubleshoot/PrintTestPage.py \
- troubleshoot/QueueNotEnabled.py \
- troubleshoot/QueueRejectingJobs.py \
- troubleshoot/RemoteAddress.py \
- troubleshoot/SchedulerNotRunning.py \
- troubleshoot/ServerFirewalled.py \
- troubleshoot/Shrug.py \
- troubleshoot/VerifyPackages.py \
- troubleshoot/Welcome.py \
xml/preferreddrivers.rng \
xml/validate.py
@@ -173,18 +104,13 @@
cupshelpers_DATA=\
xml/preferreddrivers.xml
-bin_SCRIPTS= \
- system-config-printer \
- system-config-printer-applet \
- dbus/scp-dbus-service
-
if UDEV_RULES
udevrulesdir=$(sysconfdir)/udev/rules.d
udevrules_DATA=udev/70-printers.rules
udev_udev_configure_printer_SOURCES=\
udev/udev-configure-printer.c
-udev_udev_configure_printer_LDADD= -lcups -ludev $(libusb_LIBS) $(GLIB_LIBS)
-udev_udev_configure_printer_CFLAGS= $(AM_CFLAGS) $(libusb_CFLAGS) $(GLIB_CFLAGS)
+udev_udev_configure_printer_LDADD= -lcups $(libudev_LIBS) $(libusb_LIBS) $(GLIB_LIBS)
+udev_udev_configure_printer_CFLAGS= $(AM_CFLAGS) $(libudev_CFLAGS) $(libusb_CFLAGS) $(GLIB_CFLAGS)
udevhelperdir=$(sysconfdir)/udev
udevhelper_PROGRAMS=\
udev/udev-configure-printer
@@ -202,56 +128,17 @@
endif
-man_MANS= \
- man/system-config-printer.1 \
- man/system-config-printer-applet.1
-
dbus_DATA = \
dbus/com.redhat.NewPrinterNotification.conf \
dbus/com.redhat.PrinterDriversInstaller.conf
dbusdir = $(sysconfdir)/dbus-1/system.d/
-dbusinterfaces_DATA = \
- dbus/org.fedoraproject.Config.Printing.xml
-dbusinterfacesdir = $(datadir)/dbus-1/interfaces/
-
-dbusservices_DATA = \
- dbus/org.fedoraproject.Config.Printing.service
-dbusservicesdir = $(datadir)/dbus-1/services/
-
-desktop_DATA =\
- system-config-printer.desktop \
- print-applet.desktop
desktopdir = $(datadir)/applications/
autostartdir = $(sysconfdir)/xdg/autostart/
DESKTOP_VENDOR=@DESKTOPVENDOR@
DESKTOP_PREFIX=@DESKTOPPREFIX@
-install-desktopDATA: $(desktop_DATA)
- mkdir -p $(DESTDIR)$(desktopdir)
- mkdir -p $(DESTDIR)$(desktopdir)
- desktop-file-install $(DESKTOP_VENDOR) \
- --dir $(DESTDIR)$(desktopdir) \
- --add-category System \
- --add-category Settings \
- --add-category HardwareSettings \
- --add-category Printing \
- --add-category GTK \
- system-config-printer.desktop
- desktop-file-install $(DESKTOP_VENDOR) \
- --dir $(DESTDIR)$(autostartdir) \
- --add-category System \
- --add-category Monitor \
- --add-category GTK \
- print-applet.desktop
-
-uninstall-desktopDATA:
- rm -f $(DESTDIR)$(desktopdir)/$(DESKTOP_PREFIX)system-config-printer.desktop
- rm -f $(DESTDIR)$(autostartdir)/$(DESKTOP_PREFIX)print-applet.desktop
-
-desktop_in_files = $(desktop_DATA:.desktop=.desktop.in)
-
EXTRA_DIST=\
$(nobase_pkgdata_SCRIPTS) \
$(nobase_pkgdata_DATA) \

@ -1,178 +0,0 @@
--- system-config-printer-1.3.13/Makefile.am.org 2013-10-27 22:22:54.057495728 +0100
+++ system-config-printer-1.3.13/Makefile.am 2013-10-27 22:29:26.054299236 +0100
@@ -1,5 +1,3 @@
-CFLAGS=-g -O2 -Wall
-
SUBDIRS=po
EXPORT_MODULES= \
@@ -84,89 +82,21 @@
rm -f .stamp-distutils-in-builddir
nobase_pkgdata_SCRIPTS= \
- check-device-ids.py \
- pysmb.py \
- scp-dbus-service.py \
- system-config-printer.py \
- install-printerdriver.py \
- troubleshoot/__init__.py \
- applet.py
+ check-device-ids.py
nobase_pkgdata_DATA= \
- asyncconn.py \
- asyncipp.py \
- asyncpk1.py \
- authconn.py \
config.py \
- cupspk.py \
debug.py \
dnssdresolve.py \
- errordialogs.py \
- HIG.py \
firewall.py \
- gui.py \
- gtkinklevel.py \
- gtkspinner.py \
installpackage.py \
- jobviewer.py \
monitor.py \
- newprinter.py \
- options.py \
- optionwidgets.py \
PhysicalDevice.py \
- ppdcache.py \
ppdippstr.py \
- ppdsloader.py \
- printerproperties.py \
probe_printer.py \
- gtk_label_autowrap.py \
SearchCriterion.py \
- serversettings.py \
smburi.py \
statereason.py \
- timedops.py \
- ToolbarSearchEntry.py \
- userdefault.py \
- ui/AboutDialog.ui \
- ui/ConnectDialog.ui \
- ui/ConnectingDialog.ui \
- ui/InstallDialog.ui \
- ui/JobsWindow.ui \
- ui/NewPrinterName.ui \
- ui/NewPrinterWindow.ui \
- ui/PrinterPropertiesDialog.ui \
- ui/PrintersWindow.ui \
- ui/ServerSettingsDialog.ui \
- ui/SMBBrowseDialog.ui \
- ui/statusicon_popupmenu.ui \
- ui/WaitWindow.ui \
- icons/i-network-printer.png \
- troubleshoot/base.py \
- troubleshoot/CheckLocalServerPublishing.py \
- troubleshoot/CheckNetworkServerSanity.py \
- troubleshoot/CheckPPDSanity.py \
- troubleshoot/CheckPrinterSanity.py \
- troubleshoot/CheckSELinux.py \
- troubleshoot/CheckUSBPermissions.py \
- troubleshoot/ChooseNetworkPrinter.py \
- troubleshoot/ChoosePrinter.py \
- troubleshoot/DeviceListed.py \
- troubleshoot/ErrorLogCheckpoint.py \
- troubleshoot/ErrorLogFetch.py \
- troubleshoot/ErrorLogParse.py \
- troubleshoot/Locale.py \
- troubleshoot/LocalOrRemote.py \
- troubleshoot/NetworkCUPSPrinterShared.py \
- troubleshoot/PrinterStateReasons.py \
- troubleshoot/PrintTestPage.py \
- troubleshoot/QueueNotEnabled.py \
- troubleshoot/QueueRejectingJobs.py \
- troubleshoot/RemoteAddress.py \
- troubleshoot/SchedulerNotRunning.py \
- troubleshoot/ServerFirewalled.py \
- troubleshoot/Shrug.py \
- troubleshoot/VerifyPackages.py \
- troubleshoot/Welcome.py \
xml/preferreddrivers.rng \
xml/validate.py
@@ -174,19 +104,13 @@
cupshelpers_DATA=\
xml/preferreddrivers.xml
-bin_SCRIPTS= \
- system-config-printer \
- install-printerdriver \
- system-config-printer-applet \
- dbus/scp-dbus-service
-
if UDEV_RULES
udevrulesdir=$(sysconfdir)/udev/rules.d
udevrules_DATA=udev/70-printers.rules
udev_udev_configure_printer_SOURCES=\
udev/udev-configure-printer.c
-udev_udev_configure_printer_LDADD= -lcups -ludev $(libusb_LIBS) $(GLIB_LIBS)
-udev_udev_configure_printer_CFLAGS= $(AM_CFLAGS) $(libusb_CFLAGS) $(GLIB_CFLAGS)
+udev_udev_configure_printer_LDADD= -lcups $(libudev_LIBS) $(libusb_LIBS) $(GLIB_LIBS)
+udev_udev_configure_printer_CFLAGS= $(AM_CFLAGS) $(libudev_CFLAGS) $(libusb_CFLAGS) $(GLIB_CFLAGS)
udevhelperdir=$(sysconfdir)/udev
udevhelper_PROGRAMS=\
udev/udev-configure-printer
@@ -204,56 +128,17 @@
endif
-man_MANS= \
- man/system-config-printer.1 \
- man/system-config-printer-applet.1
-
dbus_DATA = \
dbus/com.redhat.NewPrinterNotification.conf \
dbus/com.redhat.PrinterDriversInstaller.conf
dbusdir = $(sysconfdir)/dbus-1/system.d/
-dbusinterfaces_DATA = \
- dbus/org.fedoraproject.Config.Printing.xml
-dbusinterfacesdir = $(datadir)/dbus-1/interfaces/
-
-dbusservices_DATA = \
- dbus/org.fedoraproject.Config.Printing.service
-dbusservicesdir = $(datadir)/dbus-1/services/
-
-desktop_DATA =\
- system-config-printer.desktop \
- print-applet.desktop
desktopdir = $(datadir)/applications/
autostartdir = $(sysconfdir)/xdg/autostart/
DESKTOP_VENDOR=@DESKTOPVENDOR@
DESKTOP_PREFIX=@DESKTOPPREFIX@
-install-desktopDATA: $(desktop_DATA)
- mkdir -p $(DESTDIR)$(desktopdir)
- mkdir -p $(DESTDIR)$(desktopdir)
- desktop-file-install $(DESKTOP_VENDOR) \
- --dir $(DESTDIR)$(desktopdir) \
- --add-category System \
- --add-category Settings \
- --add-category HardwareSettings \
- --add-category Printing \
- --add-category GTK \
- system-config-printer.desktop
- desktop-file-install $(DESKTOP_VENDOR) \
- --dir $(DESTDIR)$(autostartdir) \
- --add-category System \
- --add-category Monitor \
- --add-category GTK \
- print-applet.desktop
-
-uninstall-desktopDATA:
- rm -f $(DESTDIR)$(desktopdir)/$(DESKTOP_PREFIX)system-config-printer.desktop
- rm -f $(DESTDIR)$(autostartdir)/$(DESKTOP_PREFIX)print-applet.desktop
-
-desktop_in_files = $(desktop_DATA:.desktop=.desktop.in)
-
EXTRA_DIST=\
$(nobase_pkgdata_SCRIPTS) \
$(nobase_pkgdata_DATA) \

@ -1,91 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/system-config-printer-common/system-config-printer-common-1.3.12.ebuild,v 1.13 2014/07/30 19:17:42 ssuominen Exp $
EAPI=4
PYTHON_DEPEND="2:2.6"
WANT_AUTOMAKE="1.11"
inherit autotools eutils python toolchain-funcs udev
MY_P=${PN%-common}-${PV}
DESCRIPTION="Common modules of Red Hat's printer administration tool"
HOMEPAGE="http://cyberelk.net/tim/software/system-config-printer/"
SRC_URI="http://cyberelk.net/tim/data/${PN/-common}/${PV%.*}/${MY_P}.tar.xz"
LICENSE="GPL-2"
KEYWORDS="alpha amd64 arm ~hppa ia64 ppc ppc64 sh sparc x86"
SLOT="0"
IUSE="doc policykit"
# Needs cups running, bug 284005
RESTRICT="test"
# system-config-printer split since 1.1.3
COMMON_DEPEND="
>=dev-libs/glib-2
dev-libs/libxml2[python]
dev-python/dbus-python
>=dev-python/pycups-1.9.60
dev-python/pycurl
>=dev-python/pygobject-2.21.5:2
net-print/cups[dbus]
>=virtual/udev-172
virtual/libusb:1
"
DEPEND="${COMMON_DEPEND}
dev-util/intltool
virtual/pkgconfig
doc? ( dev-python/epydoc )
"
RDEPEND="${COMMON_DEPEND}
!<app-admin/system-config-printer-gnome-${PV}
policykit? ( >=sys-auth/polkit-0.104-r1 )
"
S=${WORKDIR}/${MY_P}
pkg_setup() {
python_set_active_version 2
python_pkg_setup
}
src_prepare() {
epatch \
"${FILESDIR}"/${PN}-1.3.12-split.patch
eautoreconf
}
src_configure() {
econf \
--disable-nls \
--with-udev-rules
}
src_compile() {
emake
use doc && emake html
}
src_install() {
emake \
DESTDIR="${D}" \
udevhelperdir="$(get_udevdir)" \
udevrulesdir="$(get_udevdir)/rules.d" \
install
dodoc AUTHORS ChangeLog README
use doc && dohtml -r html/
python_convert_shebangs -q -r $(python_get_version) "${ED}"
}
pkg_postinst() {
python_mod_optimize cupshelpers
}
pkg_postrm() {
python_mod_cleanup cupshelpers /usr/share/system-config-printer
}

@ -1,87 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/system-config-printer-common/system-config-printer-common-1.3.13.ebuild,v 1.2 2014/07/30 19:17:42 ssuominen Exp $
EAPI="5"
PYTHON_COMPAT=( python2_{6,7} )
PYTHON_REQ_USE="xml"
inherit autotools eutils python-single-r1 udev systemd
MY_P=${PN%-common}-${PV}
DESCRIPTION="Common modules of Red Hat's printer administration tool"
HOMEPAGE="http://cyberelk.net/tim/software/system-config-printer/"
SRC_URI="http://cyberelk.net/tim/data/${PN/-common}/${PV%.*}/${MY_P}.tar.xz"
LICENSE="GPL-2"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
SLOT="0"
IUSE="doc policykit"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
# Needs cups running, bug 284005
RESTRICT="test"
# system-config-printer split since 1.1.3
#
# Additional unhandled dependencies:
# net-firewall/firewalld[${PYTHON_USEDEP}]
# gnome-extra/gnome-packagekit[${PYTHON_USEDEP}] with pygobject:2 ?
COMMON_DEPEND="
${PYTHON_DEPS}
>=dev-libs/glib-2
dev-libs/libxml2[python,${PYTHON_USEDEP}]
dev-python/dbus-python[${PYTHON_USEDEP}]
>=dev-python/pycups-1.9.60[${PYTHON_USEDEP}]
dev-python/pycurl[${PYTHON_USEDEP}]
>=dev-python/pygobject-2.21.5:2[${PYTHON_USEDEP}]
net-print/cups[dbus]
virtual/libusb:1
>=virtual/udev-172
"
DEPEND="${COMMON_DEPEND}
dev-util/intltool
virtual/pkgconfig
doc? ( dev-python/epydoc[${PYTHON_USEDEP}] )
"
RDEPEND="${COMMON_DEPEND}
!<app-admin/system-config-printer-gnome-${PV}
policykit? ( >=sys-auth/polkit-0.104-r1 )
"
S=${WORKDIR}/${MY_P}
pkg_setup() {
python-single-r1_pkg_setup
}
src_prepare() {
epatch "${FILESDIR}"/${PN}-1.3.13-split.patch
eautoreconf
}
src_configure() {
econf \
--disable-nls \
--with-udev-rules \
$(systemd_with_unitdir)
}
src_compile() {
emake
use doc && emake html
}
src_install() {
emake \
DESTDIR="${D}" \
udevhelperdir="$(get_udevdir)" \
udevrulesdir="$(get_udevdir)/rules.d" \
install
dodoc AUTHORS ChangeLog README
use doc && dohtml -r html/
python_fix_shebang "${ED}"
}

@ -1,3 +1 @@
DIST system-config-printer-1.3.12.tar.xz 949008 SHA256 1905bd9fd382730a8eab80fa196b1c43bd19ce79c2169142de899697cbb1e9b1 SHA512 4e6c15b52287f2a69fabb6dafe6548874b8608f2f7a2e14534b100fbb46ad0f146b1e03a6aa4c2c9fe66dad96789454bd066616db0dd73b962bffeb478a7c6c5 WHIRLPOOL 0b8afe05a87103ef99dac50ab7db5f3fc6137de9b84e483ee3a481172e4c894e206b6d022303f1f11496a63b5698351a67070fb936f35293e83f5a20c5e21599
DIST system-config-printer-1.3.13.tar.xz 955636 SHA256 9a6a4fbf61b1aafa061674719321846665ee7a4e7ab96dd4747069b0927d12a6 SHA512 046501d17c33a2ff72020b3d20210c5544c6310469cba1ca21cfaee7bb153915f850c102fbd5661e8f5ff6872c8400103346e71d258113405c5c0f752c5dffc1 WHIRLPOOL 9e44a26543de5375e45fdfb576511115f8e63f8e6a7865c7d1183660672e60b4f3f1f2027fe2677f71ca256997c89ad1281799256f102bf5aa56f57844f6f055
DIST system-config-printer-1.4.3.tar.xz 892132 SHA256 c14bb1b75929ccf31267da8cf774bed923c4ea3eb0deddcc255221c0b8844c0f SHA512 36584b7caa26765160beaf3cddc9b4e7bad05d93e3a7960911f2e6a129e7c811fabcd25cc728c2eb0c7aa14f0f1dd66425f2d767adc8ee6eaaa4a3a0b77d280f WHIRLPOOL cc955dd3c979b75bbb40a98c1ad13276f7775807c098ac97bf9c5cf37109f24073d2d886695e357f8a417ab34ce5aa8fea5cc7add4dddf4f67fb00c3fb529e45

@ -1,183 +0,0 @@
diff -ruN system-config-printer-1.3.12/Makefile.am my/Makefile.am
--- system-config-printer-1.3.12/Makefile.am 2012-10-04 15:51:04.000000000 +0200
+++ my/Makefile.am 2012-11-06 04:05:52.745405001 +0100
@@ -1,90 +1,8 @@
-CFLAGS=-g -O2 -Wall
+CFLAGS=-Wall
SUBDIRS=po
-EXPORT_MODULES= \
- cupshelpers/__init__.py \
- cupshelpers/cupshelpers.py \
- cupshelpers/installdriver.py \
- cupshelpers/ppds.py \
- cupshelpers/openprinting.py \
- cupshelpers/xmldriverprefs.py
-
-EXPORT_MODULES_GEN= \
- cupshelpers/config.py
-
-### Automake hooks for Distutils.
-# The distutils module doesn't understand srcdir != builddir,
-# so we copy in, along with the cupshelpers modules, into
-# the builddir for 'all', 'install-exec', and 'clean' hooks.
-.stamp-distutils-in-builddir: setup.py $(EXPORT_MODULES)
- if [ "$(top_srcdir)" != "$(top_builddir)" ]; then \
- cp $(top_srcdir)/setup.py .; \
- $(mkdir_p) cupshelpers; \
- for file in $(EXPORT_MODULES); do \
- cp $(top_srcdir)/$$file $$file; \
- done; \
- fi
- touch .stamp-distutils-in-builddir
-
-dist-hook: mk-ChangeLog
-.PHONE: mk-ChangeLog
-mk-ChangeLog:
- if test -d .git; then \
- $(top_srcdir)/gitlog-to-changelog \
- --since=2009-05-01 -- --no-merges \
- > $(distdir)/cl ; \
- mv -f $(distdir)/cl $(distdir)/ChangeLog ; \
- fi
-
-config.py: config.py.in Makefile
- sed \
- -e "s|\@prefix\@|$(prefix)|" \
- -e "s|\@datadir\@|$(datadir)|" \
- -e "s|\@localedir\@|$(localedir)|" \
- -e "s|\@VERSION\@|$(VERSION)|" \
- -e "s|\@PACKAGE\@|$(PACKAGE)|" \
- $< > $@
-
-cupshelpers/config.py: cupshelpers/config.py.in Makefile
- $(mkdir_p) cupshelpers
- sed \
- -e "s|\@prefix\@|$(prefix)|" \
- -e "s|\@sysconfdir\@|$(sysconfdir)|" \
- -e "s|\@cupsserverbindir\@|$(cupsserverbindir)|" \
- $< > $@
-
-# Use distutils to build the module.
-all-local: .stamp-distutils-in-builddir config.py cupshelpers/config.py
- $(PYTHON) setup.py build
-
-# Use distutils to install the module.
-install-exec-local: .stamp-distutils-in-builddir
- $(PYTHON) setup.py install --prefix=$(DESTDIR)$(prefix)
-
-# Uninstall the module, crossing our fingers that we know enough
-# about how distutils works to do this. Unfortunately, distutils
-# doesn't provide a way to do this itself.
-uninstall-local:
- rm -f $(DESTDIR)/$(pythondir)/cupshelpers*.egg-info
- for file in $(EXPORT_MODULES) $(EXPORT_MODULES_GEN); do \
- rm -f $(DESTDIR)/$(pythondir)/$$file*; \
- done
-
-# Tell distutils to clean up.
-clean-local:
- -$(PYTHON) setup.py clean --all
- if [ "$(top_srcdir)" != "$(top_builddir)" ]; then \
- rm -f setup.py; \
- for file in $(EXPORT_MODULES) \
- $(EXPORT_MODULES_GEN); do \
- rm -f $$file*; \
- done; \
- fi
- rm -f .stamp-distutils-in-builddir
-
nobase_pkgdata_SCRIPTS= \
- check-device-ids.py \
pysmb.py \
scp-dbus-service.py \
system-config-printer.py \
@@ -96,33 +14,21 @@
asyncipp.py \
asyncpk1.py \
authconn.py \
- config.py \
cupspk.py \
- debug.py \
- dnssdresolve.py \
errordialogs.py \
HIG.py \
- firewall.py \
gui.py \
gtkinklevel.py \
gtkspinner.py \
- installpackage.py \
jobviewer.py \
- monitor.py \
newprinter.py \
options.py \
optionwidgets.py \
- PhysicalDevice.py \
ppdcache.py \
- ppdippstr.py \
ppdsloader.py \
printerproperties.py \
- probe_printer.py \
gtk_label_autowrap.py \
- SearchCriterion.py \
serversettings.py \
- smburi.py \
- statereason.py \
timedops.py \
ToolbarSearchEntry.py \
userdefault.py \
@@ -165,52 +71,17 @@
troubleshoot/ServerFirewalled.py \
troubleshoot/Shrug.py \
troubleshoot/VerifyPackages.py \
- troubleshoot/Welcome.py \
- xml/preferreddrivers.rng \
- xml/validate.py
-
-cupshelpersdir=$(sysconfdir)/cupshelpers
-cupshelpers_DATA=\
- xml/preferreddrivers.xml
+ troubleshoot/Welcome.py
bin_SCRIPTS= \
system-config-printer \
system-config-printer-applet \
dbus/scp-dbus-service
-if UDEV_RULES
-udevrulesdir=$(sysconfdir)/udev/rules.d
-udevrules_DATA=udev/70-printers.rules
-udev_udev_configure_printer_SOURCES=\
- udev/udev-configure-printer.c
-udev_udev_configure_printer_LDADD= -lcups -ludev $(libusb_LIBS) $(GLIB_LIBS)
-udev_udev_configure_printer_CFLAGS= $(AM_CFLAGS) $(libusb_CFLAGS) $(GLIB_CFLAGS)
-udevhelperdir=$(sysconfdir)/udev
-udevhelper_PROGRAMS=\
- udev/udev-configure-printer
-udevhelper_SCRIPTS=\
- udev/udev-add-printer
-
-if HAVE_SYSTEMD
-%.service: %.service.in
- $(AM_V_GEN)sed -e 's,@udevhelperdir\@,$(udevhelperdir),g' $< > $@
-systemdsystemunit_DATA = \
- udev/configure-printer@.service
-CLEANFILES = \
- $(systemdsystemunit_DATA)
-endif
-
-endif
-
man_MANS= \
man/system-config-printer.1 \
man/system-config-printer-applet.1
-dbus_DATA = \
- dbus/com.redhat.NewPrinterNotification.conf \
- dbus/com.redhat.PrinterDriversInstaller.conf
-dbusdir = $(sysconfdir)/dbus-1/system.d/
-
dbusinterfaces_DATA = \
dbus/org.fedoraproject.Config.Printing.xml
dbusinterfacesdir = $(datadir)/dbus-1/interfaces/

@ -1,182 +0,0 @@
--- system-config-printer-1.3.13/Makefile.am.org 2013-10-27 22:22:54.057495728 +0100
+++ system-config-printer-1.3.13/Makefile.am 2013-10-27 22:36:30.230851350 +0100
@@ -1,90 +1,6 @@
-CFLAGS=-g -O2 -Wall
-
SUBDIRS=po
-EXPORT_MODULES= \
- cupshelpers/__init__.py \
- cupshelpers/cupshelpers.py \
- cupshelpers/installdriver.py \
- cupshelpers/ppds.py \
- cupshelpers/openprinting.py \
- cupshelpers/xmldriverprefs.py
-
-EXPORT_MODULES_GEN= \
- cupshelpers/config.py
-
-### Automake hooks for Distutils.
-# The distutils module doesn't understand srcdir != builddir,
-# so we copy in, along with the cupshelpers modules, into
-# the builddir for 'all', 'install-exec', and 'clean' hooks.
-.stamp-distutils-in-builddir: setup.py $(EXPORT_MODULES)
- if [ "$(top_srcdir)" != "$(top_builddir)" ]; then \
- cp $(top_srcdir)/setup.py .; \
- $(mkdir_p) cupshelpers; \
- for file in $(EXPORT_MODULES); do \
- cp $(top_srcdir)/$$file $$file; \
- done; \
- fi
- touch .stamp-distutils-in-builddir
-
-dist-hook: mk-ChangeLog
-.PHONE: mk-ChangeLog
-mk-ChangeLog:
- if test -d .git; then \
- $(top_srcdir)/gitlog-to-changelog \
- --since=2009-05-01 -- --no-merges \
- > $(distdir)/cl ; \
- mv -f $(distdir)/cl $(distdir)/ChangeLog ; \
- fi
-
-config.py: config.py.in Makefile
- sed \
- -e "s|\@prefix\@|$(prefix)|" \
- -e "s|\@datadir\@|$(datadir)|" \
- -e "s|\@localedir\@|$(localedir)|" \
- -e "s|\@VERSION\@|$(VERSION)|" \
- -e "s|\@PACKAGE\@|$(PACKAGE)|" \
- $< > $@
-
-cupshelpers/config.py: cupshelpers/config.py.in Makefile
- $(mkdir_p) cupshelpers
- sed \
- -e "s|\@prefix\@|$(prefix)|" \
- -e "s|\@sysconfdir\@|$(sysconfdir)|" \
- -e "s|\@cupsserverbindir\@|$(cupsserverbindir)|" \
- $< > $@
-
-# Use distutils to build the module.
-all-local: .stamp-distutils-in-builddir config.py cupshelpers/config.py
- $(PYTHON) setup.py build
-
-# Use distutils to install the module.
-install-exec-local: .stamp-distutils-in-builddir
- $(PYTHON) setup.py install --prefix=$(DESTDIR)$(prefix)
-
-# Uninstall the module, crossing our fingers that we know enough
-# about how distutils works to do this. Unfortunately, distutils
-# doesn't provide a way to do this itself.
-uninstall-local:
- rm -f $(DESTDIR)/$(pythondir)/cupshelpers*.egg-info
- for file in $(EXPORT_MODULES) $(EXPORT_MODULES_GEN); do \
- rm -f $(DESTDIR)/$(pythondir)/$$file*; \
- done
-
-# Tell distutils to clean up.
-clean-local:
- -$(PYTHON) setup.py clean --all
- if [ "$(top_srcdir)" != "$(top_builddir)" ]; then \
- rm -f setup.py; \
- for file in $(EXPORT_MODULES) \
- $(EXPORT_MODULES_GEN); do \
- rm -f $$file*; \
- done; \
- fi
- rm -f .stamp-distutils-in-builddir
-
nobase_pkgdata_SCRIPTS= \
- check-device-ids.py \
pysmb.py \
scp-dbus-service.py \
system-config-printer.py \
@@ -97,33 +13,21 @@
asyncipp.py \
asyncpk1.py \
authconn.py \
- config.py \
cupspk.py \
- debug.py \
- dnssdresolve.py \
errordialogs.py \
HIG.py \
- firewall.py \
gui.py \
gtkinklevel.py \
gtkspinner.py \
- installpackage.py \
jobviewer.py \
- monitor.py \
newprinter.py \
options.py \
optionwidgets.py \
- PhysicalDevice.py \
ppdcache.py \
- ppdippstr.py \
ppdsloader.py \
printerproperties.py \
- probe_printer.py \
gtk_label_autowrap.py \
- SearchCriterion.py \
serversettings.py \
- smburi.py \
- statereason.py \
timedops.py \
ToolbarSearchEntry.py \
userdefault.py \
@@ -166,13 +70,7 @@
troubleshoot/ServerFirewalled.py \
troubleshoot/Shrug.py \
troubleshoot/VerifyPackages.py \
- troubleshoot/Welcome.py \
- xml/preferreddrivers.rng \
- xml/validate.py
-
-cupshelpersdir=$(sysconfdir)/cupshelpers
-cupshelpers_DATA=\
- xml/preferreddrivers.xml
+ troubleshoot/Welcome.py
bin_SCRIPTS= \
system-config-printer \
@@ -180,39 +78,10 @@
system-config-printer-applet \
dbus/scp-dbus-service
-if UDEV_RULES
-udevrulesdir=$(sysconfdir)/udev/rules.d
-udevrules_DATA=udev/70-printers.rules
-udev_udev_configure_printer_SOURCES=\
- udev/udev-configure-printer.c
-udev_udev_configure_printer_LDADD= -lcups -ludev $(libusb_LIBS) $(GLIB_LIBS)
-udev_udev_configure_printer_CFLAGS= $(AM_CFLAGS) $(libusb_CFLAGS) $(GLIB_CFLAGS)
-udevhelperdir=$(sysconfdir)/udev
-udevhelper_PROGRAMS=\
- udev/udev-configure-printer
-udevhelper_SCRIPTS=\
- udev/udev-add-printer
-
-if HAVE_SYSTEMD
-%.service: %.service.in
- $(AM_V_GEN)sed -e 's,@udevhelperdir\@,$(udevhelperdir),g' $< > $@
-systemdsystemunit_DATA = \
- udev/configure-printer@.service
-CLEANFILES = \
- $(systemdsystemunit_DATA)
-endif
-
-endif
-
man_MANS= \
man/system-config-printer.1 \
man/system-config-printer-applet.1
-dbus_DATA = \
- dbus/com.redhat.NewPrinterNotification.conf \
- dbus/com.redhat.PrinterDriversInstaller.conf
-dbusdir = $(sysconfdir)/dbus-1/system.d/
-
dbusinterfaces_DATA = \
dbus/org.fedoraproject.Config.Printing.xml
dbusinterfacesdir = $(datadir)/dbus-1/interfaces/

@ -1,89 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/system-config-printer-gnome/system-config-printer-gnome-1.3.12.ebuild,v 1.12 2013/05/28 19:13:30 reavertm Exp $
EAPI="3"
PYTHON_DEPEND="2"
PYTHON_USE_WITH="xml"
WANT_AUTOMAKE="1.11"
inherit eutils python autotools
MY_P="${PN%-gnome}-${PV}"
DESCRIPTION="GNOME frontend for a Red Hat's printer administration tool"
HOMEPAGE="http://cyberelk.net/tim/software/system-config-printer/"
SRC_URI="http://cyberelk.net/tim/data/system-config-printer/1.3/${MY_P}.tar.xz"
LICENSE="GPL-2"
KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sh sparc x86"
SLOT="0"
IUSE="gnome-keyring"
# Needs cups running, bug 284005
RESTRICT="test"
RDEPEND="
~app-admin/system-config-printer-common-${PV}
dev-python/notify-python
>=dev-python/pycups-1.9.60
>=dev-python/pygtk-2.4
gnome-keyring? ( dev-python/gnome-keyring-python )
"
DEPEND="${RDEPEND}
app-text/docbook-xml-dtd:4.1.2
>=app-text/xmlto-0.0.22
dev-util/desktop-file-utils
dev-util/intltool
virtual/pkgconfig
sys-devel/gettext
"
APP_LINGUAS="ar as bg bn_IN bn br bs ca cs cy da de el en_GB es et fa fi fr gu
he hi hr hu hy id is it ja ka kn ko lo lv mai mk ml mr ms nb nl nn or pa pl
pt_BR pt ro ru si sk sl sr@latin sr sv ta te th tr uk vi zh_CN zh_TW"
for X in ${APP_LINGUAS}; do
IUSE="${IUSE} linguas_${X}"
done
S="${WORKDIR}/${MY_P}"
# Bug 471472
MAKEOPTS+=" -j1"
pkg_setup() {
python_set_active_version 2
}
src_prepare() {
epatch "${FILESDIR}/${PN}-1.3.12-split.patch"
eautoreconf
}
src_configure() {
local myconf
# Disable installation of translations when LINGUAS not chosen
if [[ -z "${LINGUAS}" ]]; then
myconf="${myconf} --disable-nls"
else
myconf="${myconf} --enable-nls"
fi
econf \
--with-desktop-vendor=Gentoo \
--without-udev-rules \
${myconf}
}
src_install() {
dodoc AUTHORS ChangeLog README || die "dodoc failed"
emake DESTDIR="${ED}" install || die "emake install failed"
python_convert_shebangs -q -r $(python_get_version) "${ED}"
}
pkg_postrm() {
python_mod_cleanup /usr/share/system-config-printer
}

@ -1,90 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/system-config-printer-gnome/system-config-printer-gnome-1.3.13.ebuild,v 1.1 2013/10/30 18:05:19 pacho Exp $
EAPI="5"
GCONF_DEBUG="no"
PYTHON_COMPAT=( python2_{6,7} )
PYTHON_REQ_USE="xml"
inherit autotools gnome2 eutils python-single-r1 versionator
MY_P="${PN%-gnome}-${PV}"
MY_V="$(get_version_component_range 1-2)"
DESCRIPTION="GNOME frontend for a Red Hat's printer administration tool"
HOMEPAGE="http://cyberelk.net/tim/software/system-config-printer/"
SRC_URI="http://cyberelk.net/tim/data/system-config-printer/${MY_V}/${MY_P}.tar.xz"
LICENSE="GPL-2"
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
SLOT="0"
IUSE="gnome-keyring"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
# Needs cups running, bug 284005
RESTRICT="test"
# Additional unhandled dependencies
# gnome-extra/gnome-packagekit[${PYTHON_USEDEP}] with pygobject:2 ?
# python samba client: smbc
# selinux: needed for troubleshooting
RDEPEND="
${PYTHON_DEPS}
~app-admin/system-config-printer-common-${PV}
dev-python/notify-python
>=dev-python/pycups-1.9.60[${PYTHON_USEDEP}]
>=dev-python/pygtk-2.4
gnome-keyring? ( gnome-base/libgnome-keyring )
"
DEPEND="${RDEPEND}
app-text/docbook-xml-dtd:4.1.2
>=app-text/xmlto-0.0.22
dev-util/desktop-file-utils
dev-util/intltool
sys-devel/gettext
virtual/pkgconfig
"
APP_LINGUAS="ar as bg bn_IN bn br bs ca cs cy da de el en_GB es et fa fi fr gu
he hi hr hu hy id is it ja ka kn ko lo lv mai mk ml mr ms nb nl nn or pa pl
pt_BR pt ro ru si sk sl sr@latin sr sv ta te th tr uk vi zh_CN zh_TW"
for X in ${APP_LINGUAS}; do
IUSE="${IUSE} linguas_${X}"
done
S="${WORKDIR}/${MY_P}"
# Bug 471472
MAKEOPTS+=" -j1"
pkg_setup() {
python-single-r1_pkg_setup
}
src_prepare() {
epatch "${FILESDIR}"/${PN}-1.3.13-split.patch
eautoreconf
gnome2_src_prepare
}
src_configure() {
local myconf
# Disable installation of translations when LINGUAS not chosen
if [[ -z "${LINGUAS}" ]]; then
myconf="${myconf} --disable-nls"
else
myconf="${myconf} --enable-nls"
fi
gnome2_src_configure \
--with-desktop-vendor=Gentoo \
--without-udev-rules \
${myconf}
}
src_install() {
gnome2_src_install
python_fix_shebang "${ED}"
}

@ -1,72 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-dicts/verbiste/verbiste-0.1.38.ebuild,v 1.4 2014/02/22 08:04:10 ago Exp $
EAPI="5"
inherit eutils gnome2-utils fdo-mime
DESCRIPTION="French conjugation system"
HOMEPAGE="http://sarrazip.com/dev/verbiste.html"
SRC_URI="http://sarrazip.com/dev/${P}.tar.gz"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="amd64 ppc x86"
IUSE="gnome gtk"
RDEPEND="
>=dev-libs/libxml2-2.4.0:2
gtk? ( >=x11-libs/gtk+-2.6:2 )
gnome? (
gnome-base/gnome-panel[bonobo]
>=gnome-base/libgnomeui-2.0 )
"
DEPEND="${RDEPEND}
sys-devel/gettext
virtual/pkgconfig
"
src_configure() {
econf \
--with-console-app \
$(use_with gtk gtk-app) \
$(use_with gnome gnome-app) \
$(use_with gnome gnome-applet)
}
src_install() {
default
prune_libtool_files
dodoc HACKING LISEZMOI
# file is only installed with USE=gnome
if use gtk && ! use gnome ; then
sed -e 's/Exec=.*/Exec=verbiste-gtk/' \
-i src/gnome/verbiste.desktop || die
insinto usr/share/applications
doins src/gnome/verbiste.desktop
fi
}
pkg_preinst() {
if use gtk || use gnome ; then
gnome2_icon_savelist
fi
}
pkg_postinst() {
if use gtk || use gnome ; then
fdo-mime_desktop_database_update
fdo-mime_mime_database_update
gnome2_icon_cache_update
fi
}
pkg_postrm() {
if use gtk || use gnome ; then
fdo-mime_desktop_database_update
fdo-mime_mime_database_update
gnome2_icon_cache_update
fi
}

@ -1,367 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-vcs/emacs-vcs-24.4.9999-r1.ebuild,v 1.6 2014/11/10 18:09:48 ulm Exp $
EAPI=5
inherit autotools elisp-common eutils flag-o-matic multilib readme.gentoo
if [[ ${PV##*.} = 9999 ]]; then
EBZR_PROJECT="emacs"
EBZR_BRANCH="emacs-24"
EBZR_REPO_URI="bzr://bzr.savannah.gnu.org/emacs/${EBZR_BRANCH}/"
# "Nosmart" is much faster for initial branching.
EBZR_INITIAL_URI="nosmart+${EBZR_REPO_URI}"
EBZR_UNPACK_DIR="${WORKDIR}/emacs"
EBZR_WORKDIR_CHECKOUT="t" #434746
inherit bzr
S="${EBZR_UNPACK_DIR}"
else
SRC_URI="http://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"
# 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"
fi
DESCRIPTION="The extensible, customizable, self-documenting real-time display editor"
HOMEPAGE="http://www.gnu.org/software/emacs/"
LICENSE="GPL-3+ FDL-1.3+ BSD HPND MIT W3C unicode PSF-2"
SLOT="24"
IUSE="acl alsa aqua athena 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"
REQUIRED_USE="?? ( aqua X )"
RDEPEND="sys-libs/ncurses
>=app-admin/eselect-emacs-1.16
>=app-emacs/emacs-common-gentoo-1.4-r1[games?,X?]
net-libs/liblockfile
acl? ( virtual/acl )
alsa? ( media-libs/alsa-lib )
dbus? ( sys-apps/dbus )
gfile? ( >=dev-libs/glib-2.28.6 )
gnutls? ( net-libs/gnutls )
gpm? ( sys-libs/gpm )
hesiod? ( net-dns/hesiod )
kerberos? ( virtual/krb5 )
libxml2? ( >=dev-libs/libxml2-2.2.0 )
selinux? ( sys-libs/libselinux )
zlib? ( sys-libs/zlib )
X? (
x11-libs/libXmu
x11-libs/libXt
x11-misc/xbitmaps
gconf? ( >=gnome-base/gconf-2.26.2 )
gsettings? ( >=dev-libs/glib-2.28.6 )
gif? ( media-libs/giflib )
jpeg? ( virtual/jpeg:0= )
png? ( >=media-libs/libpng-1.4:0= )
svg? ( >=gnome-base/librsvg-2.0 )
tiff? ( media-libs/tiff )
xpm? ( x11-libs/libXpm )
imagemagick? ( >=media-gfx/imagemagick-6.6.2 )
xft? (
media-libs/fontconfig
media-libs/freetype
x11-libs/libXft
m17n-lib? (
>=dev-libs/libotf-0.9.4
>=dev-libs/m17n-lib-1.5.1
)
)
gtk? (
gtk3? ( x11-libs/gtk+:3 )
!gtk3? ( x11-libs/gtk+:2 )
)
!gtk? (
motif? ( >=x11-libs/motif-2.3:0 )
!motif? (
Xaw3d? ( x11-libs/libXaw3d )
!Xaw3d? ( athena? ( x11-libs/libXaw ) )
)
)
)"
DEPEND="${RDEPEND}
virtual/pkgconfig
gzip-el? ( app-arch/gzip )
pax_kernel? (
sys-apps/attr
sys-apps/paxctl
)"
if [[ ${PV##*.} = 9999 ]]; then
DEPEND="${DEPEND}
sys-apps/texinfo"
fi
EMACS_SUFFIX="${PN/emacs/emacs-${SLOT}}"
SITEFILE="20${PN}-${SLOT}-gentoo.el"
src_prepare() {
if [[ ${PV##*.} = 9999 ]]; then
FULL_VERSION=$(sed -n 's/^AC_INIT(emacs,[ \t]*\([^ \t,)]*\).*/\1/p' \
configure.ac)
[[ ${FULL_VERSION} ]] || die "Cannot determine current Emacs version"
einfo "Emacs branch: ${EBZR_BRANCH}"
einfo "Revision: ${EBZR_REVISION:-${EBZR_REVNO}}"
einfo "Emacs version number: ${FULL_VERSION}"
[[ ${FULL_VERSION} =~ ^${PV%.*}(\..*)?$ ]] \
|| die "Upstream version number changed to ${FULL_VERSION}"
fi
epatch_user
# Fix filename reference in redirected man page
sed -i -e "/^\\.so/s/etags/&-${EMACS_SUFFIX}/" doc/man/ctags.1 \
|| die "unable to sed ctags.1"
AT_M4DIR=m4 eautoreconf
}
src_configure() {
strip-flags
filter-flags -pie #526948
if use sh; then
replace-flags "-O[1-9]" -O0 #262359
elif use ia64; then
replace-flags "-O[2-9]" -O1 #325373
else
replace-flags "-O[3-9]" -O2
fi
local myconf
if use alsa; then
use sound || ewarn \
"USE flag \"alsa\" overrides \"-sound\"; enabling sound support."
myconf+=" --with-sound=alsa"
else
myconf+=" --with-sound=$(usex sound oss)"
fi
if use X; then
myconf+=" --with-x --without-ns"
myconf+=" $(use_with gconf)"
myconf+=" $(use_with gsettings)"
myconf+=" $(use_with toolkit-scroll-bars)"
myconf+=" $(use_with gif)"
myconf+=" $(use_with jpeg)"
myconf+=" $(use_with png)"
myconf+=" $(use_with svg rsvg)"
myconf+=" $(use_with tiff)"
myconf+=" $(use_with xpm)"
myconf+=" $(use_with imagemagick)"
if use xft; then
myconf+=" --with-xft"
myconf+=" $(use_with m17n-lib libotf)"
myconf+=" $(use_with m17n-lib m17n-flt)"
else
myconf+=" --without-xft"
myconf+=" --without-libotf --without-m17n-flt"
use m17n-lib && ewarn \
"USE flag \"m17n-lib\" has no effect if \"xft\" is not set."
fi
local f
if use gtk; then
einfo "Configuring to build with GIMP Toolkit (GTK+)"
myconf+=" --with-x-toolkit=$(usex gtk3 gtk3 gtk2)"
for f in motif Xaw3d athena; do
use ${f} && ewarn \
"USE flag \"${f}\" has no effect if \"gtk\" is set."
done
elif use motif; then
einfo "Configuring to build with Motif toolkit"
myconf+=" --with-x-toolkit=motif"
for f in Xaw3d athena; do
use ${f} && ewarn \
"USE flag \"${f}\" has no effect if \"motif\" is set."
done
elif use athena || use Xaw3d; then
einfo "Configuring to build with Athena/Lucid toolkit"
myconf+=" --with-x-toolkit=lucid $(use_with Xaw3d xaw3d)"
else
einfo "Configuring to build with no toolkit"
myconf+=" --with-x-toolkit=no"
fi
elif use aqua; then
einfo "Configuring to build with Nextstep (Cocoa) support"
myconf+=" --with-ns --disable-ns-self-contained"
myconf+=" --without-x"
else
myconf+=" --without-x --without-ns"
fi
# Save version information in the Emacs binary. It will be available
# in variable "system-configuration-options".
myconf+=" GENTOO_PACKAGE=${CATEGORY}/${PF}"
if [[ ${PV##*.} = 9999 ]]; then
myconf+=" EBZR_BRANCH=${EBZR_BRANCH} EBZR_REVNO=${EBZR_REVNO}"
fi
econf \
--program-suffix="-${EMACS_SUFFIX}" \
--infodir="${EPREFIX}"/usr/share/info/${EMACS_SUFFIX} \
--localstatedir="${EPREFIX}"/var \
--enable-locallisppath="${EPREFIX}/etc/emacs:${EPREFIX}${SITELISP}" \
--with-gameuser="${GAMES_USER_DED:-games}" \
--without-compress-install \
--with-file-notification=$(usev gfile || usev inotify || echo no) \
$(use_enable acl) \
$(use_with dbus) \
$(use_with gnutls) \
$(use_with gpm) \
$(use_with hesiod) \
$(use_with kerberos) $(use_with kerberos kerberos5) \
$(use_with libxml2 xml2) \
$(use_with selinux) \
$(use_with wide-int) \
$(use_with zlib) \
${myconf}
}
src_compile() {
export SANDBOX_ON=0 # for the unbelievers, see Bug #131505
emake
}
src_install () {
emake DESTDIR="${D}" NO_BIN_LINK=t install
mv "${ED}"/usr/bin/{emacs-${FULL_VERSION}-,}${EMACS_SUFFIX} \
|| die "moving emacs executable failed"
mv "${ED}"/usr/share/man/man1/{emacs-,}${EMACS_SUFFIX}.1 \
|| die "moving emacs man page failed"
# move info dir to avoid collisions with the dir file generated by portage
mv "${ED}"/usr/share/info/${EMACS_SUFFIX}/dir{,.orig} \
|| die "moving info dir failed"
touch "${ED}"/usr/share/info/${EMACS_SUFFIX}/.keepinfodir
docompress -x /usr/share/info/${EMACS_SUFFIX}/dir.orig
# avoid collision between slots, see bug #169033 e.g.
rm "${ED}"/usr/share/emacs/site-lisp/subdirs.el
rm -rf "${ED}"/usr/share/{applications,icons}
rm -rf "${ED}"/var
# remove unused <version>/site-lisp dir
rm -rf "${ED}"/usr/share/emacs/${FULL_VERSION}/site-lisp
# remove COPYING file (except for etc/COPYING used by describe-copying)
rm "${ED}"/usr/share/emacs/${FULL_VERSION}/lisp/COPYING
if use gzip-el; then
# compress .el files when a corresponding .elc exists
find "${ED}"/usr/share/emacs/${FULL_VERSION}/lisp -type f \
-name "*.elc" -print | sed 's/\.elc$/.el/' | xargs gzip -9n
assert "gzip .el failed"
fi
local cdir
if use source; then
cdir="/usr/share/emacs/${FULL_VERSION}/src"
insinto "${cdir}"
# This is not meant to install all the source -- just the
# C source you might find via find-function
doins src/*.{c,h,m}
elif has installsources ${FEATURES}; then
cdir="/usr/src/debug/${CATEGORY}/${PF}/${S#"${WORKDIR}/"}/src"
fi
sed -e "${cdir:+#}/^Y/d" -e "s/^[XY]//" >"${T}/${SITEFILE}" <<-EOF
X
;;; ${PN}-${SLOT} site-lisp configuration
X
(when (string-match "\\\\\`${FULL_VERSION//./\\\\.}\\\\>" emacs-version)
Y (setq find-function-C-source-directory
Y "${EPREFIX}${cdir}")
X (let ((path (getenv "INFOPATH"))
X (dir "${EPREFIX}/usr/share/info/${EMACS_SUFFIX}")
X (re "\\\\\`${EPREFIX}/usr/share/info\\\\>"))
X (and path
X ;; move Emacs Info dir before anything else in /usr/share/info
X (let* ((p (cons nil (split-string path ":" t))) (q p))
X (while (and (cdr q) (not (string-match re (cadr q))))
X (setq q (cdr q)))
X (setcdr q (cons dir (delete dir (cdr q))))
X (setq Info-directory-list (prune-directory-list (cdr p)))))))
EOF
elisp-site-file-install "${T}/${SITEFILE}" || die
dodoc README BUGS
if use aqua; then
dodir /Applications/Gentoo
rm -rf "${ED}"/Applications/Gentoo/Emacs${EMACS_SUFFIX#emacs}.app
mv nextstep/Emacs.app \
"${ED}"/Applications/Gentoo/Emacs${EMACS_SUFFIX#emacs}.app || die
fi
DOC_CONTENTS="You can set the version to be started by /usr/bin/emacs
through the Emacs eselect module, which also redirects man and info
pages. Therefore, several Emacs versions can be installed at the
same time. \"man emacs.eselect\" for details.
\\n\\nIf you upgrade from Emacs version 24.2 or earlier, then it is
strongly recommended that you use app-admin/emacs-updater to rebuild
all byte-compiled elisp files of the installed Emacs packages."
use X && DOC_CONTENTS+="\\n\\nYou need to install some fonts for Emacs.
Installing media-fonts/font-adobe-{75,100}dpi on the X server's
machine would satisfy basic Emacs requirements under X11.
See also https://wiki.gentoo.org/wiki/Xft_support_for_GNU_Emacs
for how to enable anti-aliased fonts."
use aqua && DOC_CONTENTS+="\\n\\nEmacs${EMACS_SUFFIX#emacs}.app is in
\"${EPREFIX}/Applications/Gentoo\". You may want to copy or symlink
it into /Applications by yourself."
readme.gentoo_create_doc
}
pkg_preinst() {
# move Info dir file to correct name
local infodir=/usr/share/info/${EMACS_SUFFIX} f
if [[ -f ${ED}${infodir}/dir.orig ]]; then
mv "${ED}"${infodir}/dir{.orig,} || die "moving info dir failed"
elif [[ -d "${ED}"${infodir} ]]; then
# this should not happen in EAPI 4
ewarn "Regenerating Info directory index in ${infodir} ..."
rm -f "${ED}"${infodir}/dir{,.*}
for f in "${ED}"${infodir}/*; do
if [[ ${f##*/} != *-[0-9]* && -e ${f} ]]; then
install-info --info-dir="${ED}"${infodir} "${f}" \
|| die "install-info failed"
fi
done
fi
}
pkg_postinst() {
elisp-site-regen
local pvr
for pvr in ${REPLACING_VERSIONS}; do
[[ ${pvr%%[-_]*} = 24.[12] ]] && FORCE_PRINT_ELOG=1
done
readme.gentoo_print_elog
if use livecd; then
# force an update of the emacs symlink for the livecd/dvd,
# because some microemacs packages set it with USE=livecd
eselect emacs update
elif [[ $(readlink "${EROOT}"/usr/bin/emacs) = ${EMACS_SUFFIX} ]]; then
# refresh symlinks in case any installed files have changed
eselect emacs set ${EMACS_SUFFIX}
else
eselect emacs update ifunset
fi
}
pkg_postrm() {
elisp-site-regen
eselect emacs update ifunset
}

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-vcs/emacs-vcs-25.0.50_pre20141031.ebuild,v 1.2 2014/11/10 18:09:48 ulm Exp $
# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-vcs/emacs-vcs-25.0.50_pre20141031.ebuild,v 1.3 2014/11/13 12:55:24 ulm Exp $
EAPI=5
@ -248,7 +248,7 @@ src_install () {
# avoid collision between slots, see bug #169033 e.g.
rm "${ED}"/usr/share/emacs/site-lisp/subdirs.el
rm -rf "${ED}"/usr/share/{applications,icons}
rm -rf "${ED}"/usr/share/{appdata,applications,icons}
rm -rf "${ED}"/var
# remove unused <version>/site-lisp dir

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-vcs/emacs-vcs-25.0.50_pre20141110.ebuild,v 1.1 2014/11/11 18:31:55 ulm Exp $
# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-vcs/emacs-vcs-25.0.50_pre20141110.ebuild,v 1.2 2014/11/13 12:55:24 ulm Exp $
EAPI=5
@ -248,7 +248,7 @@ src_install () {
# avoid collision between slots, see bug #169033 e.g.
rm "${ED}"/usr/share/emacs/site-lisp/subdirs.el
rm -rf "${ED}"/usr/share/{applications,icons}
rm -rf "${ED}"/usr/share/{appdata,applications,icons}
rm -rf "${ED}"/var
# remove unused <version>/site-lisp dir

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-vcs/emacs-vcs-25.0.9999-r1.ebuild,v 1.1 2014/11/12 08:45:37 ulm Exp $
# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-vcs/emacs-vcs-25.0.9999-r1.ebuild,v 1.2 2014/11/13 12:55:24 ulm Exp $
EAPI=5
@ -244,7 +244,7 @@ src_install () {
# avoid collision between slots, see bug #169033 e.g.
rm "${ED}"/usr/share/emacs/site-lisp/subdirs.el
rm -rf "${ED}"/usr/share/{applications,icons}
rm -rf "${ED}"/usr/share/{appdata,applications,icons}
rm -rf "${ED}"/var
# remove unused <version>/site-lisp dir

@ -1,367 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-vcs/emacs-vcs-25.0.9999.ebuild,v 1.4 2014/11/10 18:09:48 ulm Exp $
EAPI=5
inherit autotools elisp-common eutils flag-o-matic multilib readme.gentoo
if [[ ${PV##*.} = 9999 ]]; then
EBZR_PROJECT="emacs"
EBZR_BRANCH="trunk"
EBZR_REPO_URI="bzr://bzr.savannah.gnu.org/emacs/${EBZR_BRANCH}/"
# "Nosmart" is much faster for initial branching.
EBZR_INITIAL_URI="nosmart+${EBZR_REPO_URI}"
EBZR_UNPACK_DIR="${WORKDIR}/emacs"
EBZR_WORKDIR_CHECKOUT="t" #434746
inherit bzr
S="${EBZR_UNPACK_DIR}"
else
SRC_URI="http://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"
# 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"
fi
DESCRIPTION="The extensible, customizable, self-documenting real-time display editor"
HOMEPAGE="http://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 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"
REQUIRED_USE="?? ( aqua X )"
RDEPEND="sys-libs/ncurses
>=app-admin/eselect-emacs-1.16
>=app-emacs/emacs-common-gentoo-1.4-r1[games?,X?]
net-libs/liblockfile
acl? ( virtual/acl )
alsa? ( media-libs/alsa-lib )
dbus? ( sys-apps/dbus )
gfile? ( >=dev-libs/glib-2.28.6 )
gnutls? ( net-libs/gnutls )
gpm? ( sys-libs/gpm )
hesiod? ( net-dns/hesiod )
kerberos? ( virtual/krb5 )
libxml2? ( >=dev-libs/libxml2-2.2.0 )
selinux? ( sys-libs/libselinux )
zlib? ( sys-libs/zlib )
X? (
x11-libs/libXmu
x11-libs/libXt
x11-misc/xbitmaps
gconf? ( >=gnome-base/gconf-2.26.2 )
gsettings? ( >=dev-libs/glib-2.28.6 )
gif? ( media-libs/giflib )
jpeg? ( virtual/jpeg:0= )
png? ( >=media-libs/libpng-1.4:0= )
svg? ( >=gnome-base/librsvg-2.0 )
tiff? ( media-libs/tiff )
xpm? ( x11-libs/libXpm )
imagemagick? ( >=media-gfx/imagemagick-6.6.2 )
xft? (
media-libs/fontconfig
media-libs/freetype
x11-libs/libXft
m17n-lib? (
>=dev-libs/libotf-0.9.4
>=dev-libs/m17n-lib-1.5.1
)
)
gtk? (
gtk3? ( x11-libs/gtk+:3 )
!gtk3? ( x11-libs/gtk+:2 )
)
!gtk? (
motif? ( >=x11-libs/motif-2.3:0 )
!motif? (
Xaw3d? ( x11-libs/libXaw3d )
!Xaw3d? ( athena? ( x11-libs/libXaw ) )
)
)
)"
DEPEND="${RDEPEND}
virtual/pkgconfig
gzip-el? ( app-arch/gzip )
pax_kernel? (
sys-apps/attr
sys-apps/paxctl
)"
if [[ ${PV##*.} = 9999 ]]; then
DEPEND="${DEPEND}
sys-apps/texinfo"
fi
EMACS_SUFFIX="${PN/emacs/emacs-${SLOT}}"
SITEFILE="20${PN}-${SLOT}-gentoo.el"
src_prepare() {
if [[ ${PV##*.} = 9999 ]]; then
FULL_VERSION=$(sed -n 's/^AC_INIT([^,]*,[ \t]*\([^ \t,)]*\).*/\1/p' \
configure.ac)
[[ ${FULL_VERSION} ]] || die "Cannot determine current Emacs version"
einfo "Emacs branch: ${EBZR_BRANCH}"
einfo "Revision: ${EBZR_REVISION:-${EBZR_REVNO}}"
einfo "Emacs version number: ${FULL_VERSION}"
[[ ${FULL_VERSION} =~ ^${PV%.*}(\..*)?$ ]] \
|| die "Upstream version number changed to ${FULL_VERSION}"
fi
epatch_user
# Fix filename reference in redirected man page
sed -i -e "/^\\.so/s/etags/&-${EMACS_SUFFIX}/" doc/man/ctags.1 \
|| die "unable to sed ctags.1"
AT_M4DIR=m4 eautoreconf
}
src_configure() {
strip-flags
filter-flags -pie #526948
if use sh; then
replace-flags "-O[1-9]" -O0 #262359
elif use ia64; then
replace-flags "-O[2-9]" -O1 #325373
else
replace-flags "-O[3-9]" -O2
fi
local myconf
if use alsa; then
use sound || ewarn \
"USE flag \"alsa\" overrides \"-sound\"; enabling sound support."
myconf+=" --with-sound=alsa"
else
myconf+=" --with-sound=$(usex sound oss)"
fi
if use X; then
myconf+=" --with-x --without-ns"
myconf+=" $(use_with gconf)"
myconf+=" $(use_with gsettings)"
myconf+=" $(use_with toolkit-scroll-bars)"
myconf+=" $(use_with gif)"
myconf+=" $(use_with jpeg)"
myconf+=" $(use_with png)"
myconf+=" $(use_with svg rsvg)"
myconf+=" $(use_with tiff)"
myconf+=" $(use_with xpm)"
myconf+=" $(use_with imagemagick)"
if use xft; then
myconf+=" --with-xft"
myconf+=" $(use_with m17n-lib libotf)"
myconf+=" $(use_with m17n-lib m17n-flt)"
else
myconf+=" --without-xft"
myconf+=" --without-libotf --without-m17n-flt"
use m17n-lib && ewarn \
"USE flag \"m17n-lib\" has no effect if \"xft\" is not set."
fi
local f
if use gtk; then
einfo "Configuring to build with GIMP Toolkit (GTK+)"
myconf+=" --with-x-toolkit=$(usex gtk3 gtk3 gtk2)"
for f in motif Xaw3d athena; do
use ${f} && ewarn \
"USE flag \"${f}\" has no effect if \"gtk\" is set."
done
elif use motif; then
einfo "Configuring to build with Motif toolkit"
myconf+=" --with-x-toolkit=motif"
for f in Xaw3d athena; do
use ${f} && ewarn \
"USE flag \"${f}\" has no effect if \"motif\" is set."
done
elif use athena || use Xaw3d; then
einfo "Configuring to build with Athena/Lucid toolkit"
myconf+=" --with-x-toolkit=lucid $(use_with Xaw3d xaw3d)"
else
einfo "Configuring to build with no toolkit"
myconf+=" --with-x-toolkit=no"
fi
elif use aqua; then
einfo "Configuring to build with Nextstep (Cocoa) support"
myconf+=" --with-ns --disable-ns-self-contained"
myconf+=" --without-x"
else
myconf+=" --without-x --without-ns"
fi
# Save version information in the Emacs binary. It will be available
# in variable "system-configuration-options".
myconf+=" GENTOO_PACKAGE=${CATEGORY}/${PF}"
if [[ ${PV##*.} = 9999 ]]; then
myconf+=" EBZR_BRANCH=${EBZR_BRANCH} EBZR_REVNO=${EBZR_REVNO}"
fi
econf \
--program-suffix="-${EMACS_SUFFIX}" \
--infodir="${EPREFIX}"/usr/share/info/${EMACS_SUFFIX} \
--localstatedir="${EPREFIX}"/var \
--enable-locallisppath="${EPREFIX}/etc/emacs:${EPREFIX}${SITELISP}" \
--with-gameuser="${GAMES_USER_DED:-games}" \
--without-compress-install \
--with-file-notification=$(usev gfile || usev inotify || echo no) \
$(use_enable acl) \
$(use_with dbus) \
$(use_with gnutls) \
$(use_with gpm) \
$(use_with hesiod) \
$(use_with kerberos) $(use_with kerberos kerberos5) \
$(use_with libxml2 xml2) \
$(use_with selinux) \
$(use_with wide-int) \
$(use_with zlib) \
${myconf}
}
src_compile() {
export SANDBOX_ON=0 # for the unbelievers, see Bug #131505
emake
}
src_install () {
emake DESTDIR="${D}" NO_BIN_LINK=t install
mv "${ED}"/usr/bin/{emacs-${FULL_VERSION}-,}${EMACS_SUFFIX} \
|| die "moving emacs executable failed"
mv "${ED}"/usr/share/man/man1/{emacs-,}${EMACS_SUFFIX}.1 \
|| die "moving emacs man page failed"
# move info dir to avoid collisions with the dir file generated by portage
mv "${ED}"/usr/share/info/${EMACS_SUFFIX}/dir{,.orig} \
|| die "moving info dir failed"
touch "${ED}"/usr/share/info/${EMACS_SUFFIX}/.keepinfodir
docompress -x /usr/share/info/${EMACS_SUFFIX}/dir.orig
# avoid collision between slots, see bug #169033 e.g.
rm "${ED}"/usr/share/emacs/site-lisp/subdirs.el
rm -rf "${ED}"/usr/share/{applications,icons}
rm -rf "${ED}"/var
# remove unused <version>/site-lisp dir
rm -rf "${ED}"/usr/share/emacs/${FULL_VERSION}/site-lisp
# remove COPYING file (except for etc/COPYING used by describe-copying)
rm "${ED}"/usr/share/emacs/${FULL_VERSION}/lisp/COPYING
if use gzip-el; then
# compress .el files when a corresponding .elc exists
find "${ED}"/usr/share/emacs/${FULL_VERSION}/lisp -type f \
-name "*.elc" -print | sed 's/\.elc$/.el/' | xargs gzip -9n
assert "gzip .el failed"
fi
local cdir
if use source; then
cdir="/usr/share/emacs/${FULL_VERSION}/src"
insinto "${cdir}"
# This is not meant to install all the source -- just the
# C source you might find via find-function
doins src/*.{c,h,m}
elif has installsources ${FEATURES}; then
cdir="/usr/src/debug/${CATEGORY}/${PF}/${S#"${WORKDIR}/"}/src"
fi
sed -e "${cdir:+#}/^Y/d" -e "s/^[XY]//" >"${T}/${SITEFILE}" <<-EOF
X
;;; ${PN}-${SLOT} site-lisp configuration
X
(when (string-match "\\\\\`${FULL_VERSION//./\\\\.}\\\\>" emacs-version)
Y (setq find-function-C-source-directory
Y "${EPREFIX}${cdir}")
X (let ((path (getenv "INFOPATH"))
X (dir "${EPREFIX}/usr/share/info/${EMACS_SUFFIX}")
X (re "\\\\\`${EPREFIX}/usr/share/info\\\\>"))
X (and path
X ;; move Emacs Info dir before anything else in /usr/share/info
X (let* ((p (cons nil (split-string path ":" t))) (q p))
X (while (and (cdr q) (not (string-match re (cadr q))))
X (setq q (cdr q)))
X (setcdr q (cons dir (delete dir (cdr q))))
X (setq Info-directory-list (prune-directory-list (cdr p)))))))
EOF
elisp-site-file-install "${T}/${SITEFILE}" || die
dodoc README BUGS
if use aqua; then
dodir /Applications/Gentoo
rm -rf "${ED}"/Applications/Gentoo/Emacs${EMACS_SUFFIX#emacs}.app
mv nextstep/Emacs.app \
"${ED}"/Applications/Gentoo/Emacs${EMACS_SUFFIX#emacs}.app || die
fi
DOC_CONTENTS="You can set the version to be started by /usr/bin/emacs
through the Emacs eselect module, which also redirects man and info
pages. Therefore, several Emacs versions can be installed at the
same time. \"man emacs.eselect\" for details.
\\n\\nIf you upgrade from Emacs version 24.2 or earlier, then it is
strongly recommended that you use app-admin/emacs-updater to rebuild
all byte-compiled elisp files of the installed Emacs packages."
use X && DOC_CONTENTS+="\\n\\nYou need to install some fonts for Emacs.
Installing media-fonts/font-adobe-{75,100}dpi on the X server's
machine would satisfy basic Emacs requirements under X11.
See also https://wiki.gentoo.org/wiki/Xft_support_for_GNU_Emacs
for how to enable anti-aliased fonts."
use aqua && DOC_CONTENTS+="\\n\\nEmacs${EMACS_SUFFIX#emacs}.app is in
\"${EPREFIX}/Applications/Gentoo\". You may want to copy or symlink
it into /Applications by yourself."
readme.gentoo_create_doc
}
pkg_preinst() {
# move Info dir file to correct name
local infodir=/usr/share/info/${EMACS_SUFFIX} f
if [[ -f ${ED}${infodir}/dir.orig ]]; then
mv "${ED}"${infodir}/dir{.orig,} || die "moving info dir failed"
elif [[ -d "${ED}"${infodir} ]]; then
# this should not happen in EAPI 4
ewarn "Regenerating Info directory index in ${infodir} ..."
rm -f "${ED}"${infodir}/dir{,.*}
for f in "${ED}"${infodir}/*; do
if [[ ${f##*/} != *-[0-9]* && -e ${f} ]]; then
install-info --info-dir="${ED}"${infodir} "${f}" \
|| die "install-info failed"
fi
done
fi
}
pkg_postinst() {
elisp-site-regen
local pvr
for pvr in ${REPLACING_VERSIONS}; do
[[ ${pvr%%[-_]*} = 24.[12] ]] && FORCE_PRINT_ELOG=1
done
readme.gentoo_print_elog
if use livecd; then
# force an update of the emacs symlink for the livecd/dvd,
# because some microemacs packages set it with USE=livecd
eselect emacs update
elif [[ $(readlink "${EROOT}"/usr/bin/emacs) = ${EMACS_SUFFIX} ]]; then
# refresh symlinks in case any installed files have changed
eselect emacs set ${EMACS_SUFFIX}
else
eselect emacs update ifunset
fi
}
pkg_postrm() {
elisp-site-regen
eselect emacs update ifunset
}

@ -1,92 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-i18n/im-ja/im-ja-1.5-r2.ebuild,v 1.10 2013/10/09 02:04:16 naota Exp $
EAPI="3"
inherit autotools gnome2 gnome2-utils eutils multilib
DESCRIPTION="A Japanese input module for GTK2 and XIM"
HOMEPAGE="http://im-ja.sourceforge.net/"
SRC_URI="http://im-ja.sourceforge.net/${P}.tar.gz
http://im-ja.sourceforge.net/old/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE="gnome canna freewnn skk anthy"
# --enable-debug causes build failure with gtk+-2.4
#IUSE="${IUSE} debug"
RDEPEND=">=dev-libs/glib-2.4:2
>=dev-libs/atk-1.6
>=x11-libs/gtk+-2.4:2
>=x11-libs/pango-1.2.1
>=gnome-base/gconf-2.4:2
>=gnome-base/libglade-2.4:2.0
>=gnome-base/libgnomeui-2.4
gnome? (
|| (
gnome-base/gnome-panel[bonobo]
<gnome-base/gnome-panel-2.32
)
)
freewnn? ( app-i18n/freewnn )
canna? ( app-i18n/canna )
skk? ( virtual/skkserv )
anthy? ( app-i18n/anthy )"
DEPEND="${RDEPEND}
dev-lang/perl
dev-util/intltool
dev-perl/URI
virtual/pkgconfig"
DOCS="AUTHORS README ChangeLog TODO"
src_prepare() {
epatch "${FILESDIR}/${P}-gentoo.patch" \
"${FILESDIR}"/${P}-pofiles.patch
sed -ie 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' configure.in || die
eautoreconf
}
src_configure() {
local myconf
# You cannot use `use_enable ...` here. im-ja's configure script
# doesn't distinguish --enable-canna from --disable-canna, so
# --enable-canna stands for --disable-canna in the script ;-(
use gnome || myconf="$myconf --disable-gnome"
use canna || myconf="$myconf --disable-canna"
use freewnn || myconf="$myconf --disable-wnn"
use anthy || myconf="$myconf --disable-anthy"
use skk || myconf="$myconf --disable-skk"
#use debug && myconf="$myconf --enable-debug"
# gnome2_src_compile automatically sets debug IUSE flag
econf $myconf || die "econf im-ja failed"
}
src_install() {
gnome2_src_install
sed -e "s:@EPREFIX@:${EPREFIX}:" "${FILESDIR}/xinput-${PN}" > "${T}/${PN}.conf" || die
insinto /etc/X11/xinit/xinput.d
doins "${T}/${PN}.conf" || die
}
pkg_postinst() {
gnome2_query_immodules_gtk2
gnome2_pkg_postinst
elog
elog "This version of im-ja comes with experimental XIM support."
elog "If you'd like to try it out, run im-ja-xim-server and set"
elog "environment variable XMODIFIERS to @im=im-ja-xim-server"
elog "e.g.)"
elog "\t$ export XMODIFIERS=@im=im-ja-xim-server (sh)"
elog "\t> setenv XMODIFIERS @im=im-ja-xim-server (csh)"
elog
}
pkg_postrm() {
gnome2_query_immodules_gtk2
gnome2_pkg_postrm
}

@ -1,6 +1 @@
DIST uim-1.7.3.tar.bz2 6380469 SHA256 d2909d2d624a92677935461ce03413f33b7e5af6e19796410406628e59bd561c SHA512 4879595417c77c3c14e579b2fa6e393f87a056910f9eb126262eedfc39c8b45192e8647c45dfbcd57e0a8bc074694b9988c5d5bafdd99942d9d89e90a66fc14c WHIRLPOOL 27e0865ad63d5daa0047927b7dee89097e39efc6dc4d82915768b5cb3deabc93464cc7f9836d22a620d530834dc03af2fe0bd5ae4e1390e8164520579f26d6aa
DIST uim-1.8.0.tar.bz2 6453678 SHA256 bf760f51b37e4d3a2c960357faea2ef52d1bb7ee06252284c47e431cde88ecc6 SHA512 4ec5897436fde50c1b79ea235c89d512cba0e88affcd340188341e7f7335c443dcd132c794e9711d4c8fe329c47dd3502cc9e9772f4f43f49d3864469ba69048 WHIRLPOOL 8aa5b1385e71b9b0d0570e052adcd091601a0f80f0698ef374f29b0337d569804678c9635a29d95e92a1a4f3eacb5ae6d895df85bac6a0e491815da212e94100
DIST uim-1.8.2.tar.bz2 6480613 SHA256 44c2003179291b3279dae7f911d638418a54910f2b99e58418acc88e10067835 SHA512 4433db6913611c753c896e89c79880b87bc55cf0888eefbc76f04e72f8b4d0bf3a97e355e9beeeb51f6dabdbeafaf575399562585b44717a660b8efac9ae80ab WHIRLPOOL 0b089785a5e0b12abbeb6edf7cb5dce162e15e1fef8ea17475511d0a95f733be616bf00dc2cebc6833dc611c31655d1ef5c5c584325ecf0160cbaf4f48a871cc
DIST uim-1.8.3.tar.bz2 6493892 SHA256 e701e01c3b75512de9ae5b451bdb0a5f49bb444186c31cd5a1ab4fbaed4b3b6e SHA512 28e7207ada6b12ee56017a620b6ebf03ce3eb02ebceec79f43236caf0bce4c3b6508c4d4c2cc3d1705b77d1033a3b47a0c9d0d0d78005217acb4b6ce8ee6bb99 WHIRLPOOL 33acf600f7f6126a04ac2cb1139e28cf1b3e47bc409822016b20f5dce8aa5ca04c8d44ac5985bf864f0fb451748df049077e221dd2d3456f520dbd4e4352a11a
DIST uim-1.8.4.tar.bz2 6494902 SHA256 16541b9dfe7e5b0f6c06d9b07a19e6b03de2d1dcee4669f8525e48dc552d683f SHA512 b804757f07f44212c0fbb494c2591536cdafd223fd12cce21da68c1273d14eb7156d4186eb96a3969edfc76cfb448d96cf45a9f7d59bd1dbf4c5faac754d95b7 WHIRLPOOL 5bc6a5ed58a140585089c697a54d8bdb5be52888f5c54fe46314e039094d7706814c4e43f64ce373b280e7790c8d851e5b0946ba5dcbb255c248dbd5ec28e060
DIST uim-1.8.6.tar.bz2 6500739 SHA256 7b1ea803c73f3478917166f04f67cce6e45ad7ea5ab6df99b948c17eb1cb235f SHA512 26a95d3b51ef7a99108234b9af30ee7b74141cb3af13d092d4cdbf0749f630934cfd67f74b09dacc3adcdce4a390104489d68a4e2419ec07418645a9b4e5715b WHIRLPOOL 77362b5ac6bea217b4373184eb19d79c0b19a8c3f9c27945abccfd414d0409a33438a3cd1d1d2370b6b2f7154a6c35688ae4b2e57f50dc29524bf71938a38a28

@ -1,4 +0,0 @@
;;; app-i18n/uim site-lisp configuration
(add-to-list 'load-path "@SITELISP@")
(autoload 'uim-mode "uim" nil t)

@ -1,21 +0,0 @@
commit d9c316e49a03dcd5736eb04396657cc369eb6215
Author: Muneyuki Noguchi <nogu.dev@gmail.com>
Date: Sat Apr 21 14:49:18 2012 +0900
Fix compile error with glib 2.32.
* notify/uim-libnotify.c
- Don't include glib/gconvert.h directly.
diff --git a/notify/uim-libnotify.c b/notify/uim-libnotify.c
index 414e74c..a6578a1 100644
--- a/notify/uim-libnotify.c
+++ b/notify/uim-libnotify.c
@@ -37,7 +37,6 @@
#include <stdarg.h>
#include <string.h>
#include <glib.h>
-#include <glib/gconvert.h>
#include <libnotify/notify.h>
#include "uim.h" /* for uim_bool */

@ -1,9 +0,0 @@
diff --git a/po/LINGUAS b/po/LINGUAS
index 4eb4f64..f85c7c7 100644
--- a/po/LINGUAS
+++ b/po/LINGUAS
@@ -1 +1,3 @@
-fr ja ko
+fr
+ja
+ko

@ -1,12 +0,0 @@
Index: uim-1.8.0/notify/uim-libnotify.c
===================================================================
--- uim-1.8.0.orig/notify/uim-libnotify.c
+++ uim-1.8.0/notify/uim-libnotify.c
@@ -37,7 +37,6 @@
#include <stdarg.h>
#include <string.h>
#include <glib.h>
-#include <glib/gconvert.h>
#include <libnotify/notify.h>
#include "uim.h" /* for uim_bool */

@ -1,251 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim/uim-1.7.3-r1.ebuild,v 1.3 2014/01/29 01:47:37 naota Exp $
EAPI="4"
inherit autotools eutils multilib elisp-common flag-o-matic gnome2-utils
DESCRIPTION="Simple, secure and flexible input method library"
HOMEPAGE="http://code.google.com/p/uim/"
SRC_URI="http://uim.googlecode.com/files/${P}.tar.bz2"
LICENSE="BSD GPL-2 LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
IUSE="+anthy canna curl eb emacs libffi gnome gtk gtk3 kde libedit libnotify m17n-lib ncurses nls qt4 skk sqlite ssl static-libs test unicode X xft linguas_zh_CN linguas_zh_TW linguas_ja linguas_ko"
RESTRICT="test"
REQUIRED_USE="gtk? ( X ) qt4? ( X )"
RDEPEND="X? (
x11-libs/libX11
x11-libs/libXft
x11-libs/libXt
x11-libs/libICE
x11-libs/libSM
x11-libs/libXext
x11-libs/libXrender
)
anthy? (
unicode? ( >=app-i18n/anthy-8622 )
!unicode? ( app-i18n/anthy )
)
canna? ( app-i18n/canna )
curl? ( >=net-misc/curl-7.16.4 )
eb? ( dev-libs/eb )
emacs? ( virtual/emacs )
libffi? ( virtual/libffi )
gnome? ( >=gnome-base/gnome-panel-2.14 )
gtk? ( >=x11-libs/gtk+-2.4:2 )
gtk3? ( x11-libs/gtk+:3 )
kde? ( >=kde-base/kdelibs-4 )
libedit? ( dev-libs/libedit )
libnotify? ( >=x11-libs/libnotify-0.4 )
m17n-lib? ( >=dev-libs/m17n-lib-1.3.1 )
ncurses? ( sys-libs/ncurses )
nls? ( virtual/libintl )
qt4? ( dev-qt/qtgui:4[qt3support] )
skk? ( app-i18n/skk-jisyo )
sqlite? ( dev-db/sqlite:3 )
ssl? ( dev-libs/openssl )
!dev-scheme/sigscheme
!app-i18n/uim-svn"
# >=dev-scheme/sigscheme-0.8.5
# mana? ( app-i18n/mana )
# scim? ( >=app-i18n/scim-1.3.0 ) # broken
# sj3? ( >=app-i18n/sj3-2.0.1.21 )
# wnn? ( app-i18n/wnn )
# gnome? (
# gtk? ( >=gnome-base/gnome-panel-2.14 )
# gtk3? ( >=gnome-base/gnome-panel-3 )
# )
DEPEND="${RDEPEND}
dev-util/intltool
virtual/pkgconfig
>=sys-devel/gettext-0.15
kde? ( dev-util/cmake )
X? (
x11-proto/xextproto
x11-proto/xproto
)"
RDEPEND="${RDEPEND}
X? (
media-fonts/font-sony-misc
linguas_zh_CN? (
|| ( media-fonts/font-isas-misc media-fonts/intlfonts )
)
linguas_zh_TW? (
media-fonts/intlfonts
)
linguas_ja? (
|| ( media-fonts/font-jis-misc media-fonts/intlfonts )
)
linguas_ko? (
|| ( media-fonts/font-daewoo-misc media-fonts/intlfonts )
)
)"
# test? ( dev-scheme/gauche )
SITEFILE=50${PN}-gentoo.el
pkg_setup() {
strip-linguas fr ja ko
if [[ -z "${LINGUAS}" ]]; then
# no linguas set, using the default one
LINGUAS=" "
fi
}
src_prepare() {
epatch \
"${FILESDIR}"/${PN}-1.6.0-gentoo.patch \
"${FILESDIR}"/${PN}-1.5.4-zhTW.patch \
"${FILESDIR}"/${PN}-1.7.3-linguas.patch
if has_version ">=dev-libs/glib-2.32"; then
epatch "${FILESDIR}"/${P}-glib-2.32.patch
fi
# bug 275420
sed -i -e "s:\$libedit_path/lib:/$(get_libdir):g" configure.ac || die
echo "QMAKE_LFLAGS = ${LDFLAGS}" >> qt4/common.pro.in || die
#./autogen.sh
AT_NO_RECURSIVE=1 eautoreconf
cp po/Makefile.in.in qt/chardict/po || die
cp po/Makefile.in.in qt4/chardict/po || die
}
src_configure() {
local myconf
if (use gtk || use gtk3) && (use anthy || use canna) ; then
myconf="${myconf} --enable-dict"
else
myconf="${myconf} --disable-dict"
fi
if use gtk || use gtk3 || use qt4 ; then
myconf="${myconf} --enable-pref"
else
myconf="${myconf} --disable-pref"
fi
if use anthy ; then
if use unicode ; then
myconf="${myconf} --with-anthy-utf8"
else
myconf="${myconf} --with-anthy"
fi
else
myconf="${myconf} --without-anthy"
fi
if use libnotify ; then
myconf="${myconf} --enable-notify=libnotify"
fi
#if use gnome ; then
# myconf="${myconf} $(use_enable gtk gnome-applet)"
# myconf="${myconf} $(use_enable gtk3 gnome3-applet)"
#fi
econf $(use_with X x) \
$(use_with canna) \
$(use_with curl) \
$(use_with eb) \
$(use_enable emacs) \
$(use_with emacs lispdir "${SITELISP}") \
$(use_with libffi ffi) \
$(use_enable gnome gnome-applet) \
$(use_with gtk gtk2) \
$(use_with gtk3) \
$(use_with libedit) \
--disable-kde-applet \
$(use_enable kde kde4-applet) \
$(use_with m17n-lib m17nlib) \
$(use_enable ncurses fep) \
$(use_enable nls) \
--without-qt \
--without-qt-immodule \
$(use_with qt4 qt4) \
$(use_with qt4 qt4-immodule) \
$(use_enable qt4 qt4-qt3support) \
$(use_with skk) \
$(use_with sqlite sqlite3) \
$(use_enable ssl openssl) \
$(use_enable static-libs static) \
$(use_with xft) \
${myconf}
}
src_compile() {
emake || die "emake failed"
if use emacs; then
cd emacs
elisp-compile *.el || die "elisp-compile failed"
fi
}
src_install() {
# parallel make install b0rked, bug #222677
emake -j1 INSTALL_ROOT="${D}" DESTDIR="${D}" install || die "make install failed"
dodoc AUTHORS ChangeLog* NEWS README RELNOTE || die
if use emacs; then
elisp-install uim-el emacs/*.elc || die "elisp-install failed"
elisp-site-file-install "${FILESDIR}/${SITEFILE}" uim-el \
|| die "elisp-site-file-install failed"
fi
find "${ED}/usr/$(get_libdir)/uim" -name '*.la' -exec rm {} +
use static-libs || find "${ED}" -name '*.la' -exec rm {} +
sed -e "s:@EPREFIX@:${EPREFIX}:" "${FILESDIR}/xinput-uim" > "${T}/uim.conf" || die
insinto /etc/X11/xinit/xinput.d
doins "${T}/uim.conf" || die
# collision with dev-scheme/sigscheme, bug #330975
# find "${ED}" -name '*gcroots*' -delete || die
}
pkg_postinst() {
elog
elog "New input method switcher has been introduced. You need to set"
elog
elog "% GTK_IM_MODULE=uim ; export GTK_IM_MODULE"
elog "% QT_IM_MODULE=uim ; export QT_IM_MODULE"
elog "% XMODIFIERS=@im=uim ; export XMODIFIERS"
elog
elog "If you would like to use uim-anthy as default input method, put"
elog "(define default-im-name 'anthy)"
elog "to your ~/.uim."
elog
elog "All input methods can be found by running uim-im-switcher-gtk, "
elog "uim-im-switcher-gtk3 or uim-im-switcher-qt4."
elog
elog "If you upgrade from a version of uim older than 1.4.0,"
elog "you should run revdep-rebuild."
use gtk && gnome2_query_immodules_gtk2
use gtk3 && gnome2_query_immodules_gtk3
if use emacs; then
elisp-site-regen
echo
elog "uim is autoloaded with Emacs with a minimal set of features:"
elog "There is no keybinding defined to call it directly, so please"
elog "create one yourself and choose an input method."
elog "Integration with LEIM is not done with this ebuild, please have"
elog "a look at the documentation how to achieve this."
fi
}
pkg_postrm() {
use gtk && gnome2_query_immodules_gtk2
use gtk3 && gnome2_query_immodules_gtk3
use emacs && elisp-site-regen
}

@ -1,242 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim/uim-1.7.3.ebuild,v 1.13 2014/01/29 01:47:37 naota Exp $
EAPI="4"
inherit autotools eutils multilib elisp-common flag-o-matic gnome2-utils
DESCRIPTION="Simple, secure and flexible input method library"
HOMEPAGE="http://code.google.com/p/uim/"
SRC_URI="http://uim.googlecode.com/files/${P}.tar.bz2"
LICENSE="BSD GPL-2 LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 hppa ppc ppc64 x86"
IUSE="+anthy canna curl eb emacs libffi gnome gtk gtk3 kde libedit libnotify m17n-lib ncurses nls qt4 skk sqlite ssl static-libs test unicode X xft linguas_zh_CN linguas_zh_TW linguas_ja linguas_ko"
RESTRICT="test"
REQUIRED_USE="gtk? ( X ) qt4? ( X )"
RDEPEND="X? (
x11-libs/libX11
x11-libs/libXft
x11-libs/libXt
x11-libs/libICE
x11-libs/libSM
x11-libs/libXext
x11-libs/libXrender
)
anthy? (
unicode? ( >=app-i18n/anthy-8622 )
!unicode? ( app-i18n/anthy )
)
canna? ( app-i18n/canna )
curl? ( >=net-misc/curl-7.16.4 )
eb? ( dev-libs/eb )
emacs? ( virtual/emacs )
libffi? ( virtual/libffi )
gnome? ( >=gnome-base/gnome-panel-2.14 )
gtk? ( >=x11-libs/gtk+-2.4:2 )
gtk3? ( x11-libs/gtk+:3 )
kde? ( >=kde-base/kdelibs-4 )
libedit? ( dev-libs/libedit )
libnotify? ( >=x11-libs/libnotify-0.4 )
m17n-lib? ( >=dev-libs/m17n-lib-1.3.1 )
ncurses? ( sys-libs/ncurses )
nls? ( virtual/libintl )
qt4? ( dev-qt/qtgui:4[qt3support] )
skk? ( app-i18n/skk-jisyo )
sqlite? ( dev-db/sqlite:3 )
ssl? ( dev-libs/openssl )
!dev-scheme/sigscheme
!app-i18n/uim-svn"
# >=dev-scheme/sigscheme-0.8.5
# mana? ( app-i18n/mana )
# scim? ( >=app-i18n/scim-1.3.0 ) # broken
# sj3? ( >=app-i18n/sj3-2.0.1.21 )
# wnn? ( app-i18n/wnn )
# gnome? (
# gtk? ( >=gnome-base/gnome-panel-2.14 )
# gtk3? ( >=gnome-base/gnome-panel-3 )
# )
DEPEND="${RDEPEND}
dev-util/intltool
virtual/pkgconfig
>=sys-devel/gettext-0.15
kde? ( dev-util/cmake )
X? (
x11-proto/xextproto
x11-proto/xproto
)"
RDEPEND="${RDEPEND}
X? (
media-fonts/font-sony-misc
linguas_zh_CN? (
|| ( media-fonts/font-isas-misc media-fonts/intlfonts )
)
linguas_zh_TW? (
media-fonts/intlfonts
)
linguas_ja? (
|| ( media-fonts/font-jis-misc media-fonts/intlfonts )
)
linguas_ko? (
|| ( media-fonts/font-daewoo-misc media-fonts/intlfonts )
)
)"
# test? ( dev-scheme/gauche )
SITEFILE=50${PN}-gentoo.el
src_prepare() {
epatch \
"${FILESDIR}"/${PN}-1.6.0-gentoo.patch \
"${FILESDIR}"/${PN}-1.5.4-zhTW.patch
if has_version ">=dev-libs/glib-2.32"; then
epatch "${FILESDIR}"/${P}-glib-2.32.patch
fi
# bug 275420
sed -i -e "s:\$libedit_path/lib:/$(get_libdir):g" configure.ac || die
echo "QMAKE_LFLAGS = ${LDFLAGS}" >> qt4/common.pro.in || die
#./autogen.sh
AT_NO_RECURSIVE=1 eautoreconf
cp po/Makefile.in.in qt/chardict/po || die
cp po/Makefile.in.in qt4/chardict/po || die
}
src_configure() {
local myconf
if (use gtk || use gtk3) && (use anthy || use canna) ; then
myconf="${myconf} --enable-dict"
else
myconf="${myconf} --disable-dict"
fi
if use gtk || use gtk3 || use qt4 ; then
myconf="${myconf} --enable-pref"
else
myconf="${myconf} --disable-pref"
fi
if use anthy ; then
if use unicode ; then
myconf="${myconf} --with-anthy-utf8"
else
myconf="${myconf} --with-anthy"
fi
else
myconf="${myconf} --without-anthy"
fi
if use libnotify ; then
myconf="${myconf} --enable-notify=libnotify"
fi
#if use gnome ; then
# myconf="${myconf} $(use_enable gtk gnome-applet)"
# myconf="${myconf} $(use_enable gtk3 gnome3-applet)"
#fi
econf $(use_with X x) \
$(use_with canna) \
$(use_with curl) \
$(use_with eb) \
$(use_enable emacs) \
$(use_with emacs lispdir "${SITELISP}") \
$(use_with libffi ffi) \
$(use_enable gnome gnome-applet) \
$(use_with gtk gtk2) \
$(use_with gtk3) \
$(use_with libedit) \
--disable-kde-applet \
$(use_enable kde kde4-applet) \
$(use_with m17n-lib m17nlib) \
$(use_enable ncurses fep) \
$(use_enable nls) \
--without-qt \
--without-qt-immodule \
$(use_with qt4 qt4) \
$(use_with qt4 qt4-immodule) \
$(use_enable qt4 qt4-qt3support) \
$(use_with skk) \
$(use_with sqlite sqlite3) \
$(use_enable ssl openssl) \
$(use_enable static-libs static) \
$(use_with xft) \
${myconf}
}
src_compile() {
emake || die "emake failed"
if use emacs; then
cd emacs
elisp-compile *.el || die "elisp-compile failed"
fi
}
src_install() {
# parallel make install b0rked, bug #222677
emake -j1 INSTALL_ROOT="${D}" DESTDIR="${D}" install || die "make install failed"
dodoc AUTHORS ChangeLog* NEWS README RELNOTE || die
if use emacs; then
elisp-install uim-el emacs/*.elc || die "elisp-install failed"
elisp-site-file-install "${FILESDIR}/${SITEFILE}" uim-el \
|| die "elisp-site-file-install failed"
fi
find "${ED}/usr/$(get_libdir)/uim" -name '*.la' -exec rm {} +
use static-libs || find "${ED}" -name '*.la' -exec rm {} +
sed -e "s:@EPREFIX@:${EPREFIX}:" "${FILESDIR}/xinput-uim" > "${T}/uim.conf" || die
insinto /etc/X11/xinit/xinput.d
doins "${T}/uim.conf" || die
# collision with dev-scheme/sigscheme, bug #330975
# find "${ED}" -name '*gcroots*' -delete || die
}
pkg_postinst() {
elog
elog "New input method switcher has been introduced. You need to set"
elog
elog "% GTK_IM_MODULE=uim ; export GTK_IM_MODULE"
elog "% QT_IM_MODULE=uim ; export QT_IM_MODULE"
elog "% XMODIFIERS=@im=uim ; export XMODIFIERS"
elog
elog "If you would like to use uim-anthy as default input method, put"
elog "(define default-im-name 'anthy)"
elog "to your ~/.uim."
elog
elog "All input methods can be found by running uim-im-switcher-gtk, "
elog "uim-im-switcher-gtk3 or uim-im-switcher-qt4."
elog
elog "If you upgrade from a version of uim older than 1.4.0,"
elog "you should run revdep-rebuild."
use gtk && gnome2_query_immodules_gtk2
use gtk3 && gnome2_query_immodules_gtk2
if use emacs; then
elisp-site-regen
echo
elog "uim is autoloaded with Emacs with a minimal set of features:"
elog "There is no keybinding defined to call it directly, so please"
elog "create one yourself and choose an input method."
elog "Integration with LEIM is not done with this ebuild, please have"
elog "a look at the documentation how to achieve this."
fi
}
pkg_postrm() {
use gtk && gnome2_query_immodules_gtk2
use gtk3 && gnome2_query_immodules_gtk3
use emacs && elisp-site-regen
}

@ -1,248 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim/uim-1.8.0-r1.ebuild,v 1.3 2014/01/29 01:47:36 naota Exp $
EAPI="4"
inherit autotools eutils multilib elisp-common flag-o-matic gnome2-utils
DESCRIPTION="Simple, secure and flexible input method library"
HOMEPAGE="http://code.google.com/p/uim/"
SRC_URI="http://uim.googlecode.com/files/${P}.tar.bz2"
LICENSE="BSD GPL-2 LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
IUSE="+anthy canna curl eb emacs libffi gnome gtk gtk3 kde libedit libnotify m17n-lib ncurses nls qt4 skk sqlite ssl static-libs test unicode X xft linguas_zh_CN linguas_zh_TW linguas_ja linguas_ko"
RESTRICT="test"
REQUIRED_USE="gtk? ( X ) qt4? ( X )"
RDEPEND="X? (
x11-libs/libX11
x11-libs/libXft
x11-libs/libXt
x11-libs/libICE
x11-libs/libSM
x11-libs/libXext
x11-libs/libXrender
)
anthy? (
unicode? ( >=app-i18n/anthy-8622 )
!unicode? ( app-i18n/anthy )
)
canna? ( app-i18n/canna )
curl? ( >=net-misc/curl-7.16.4 )
eb? ( dev-libs/eb )
emacs? ( virtual/emacs )
libffi? ( virtual/libffi )
gnome? ( >=gnome-base/gnome-panel-2.14 )
gtk? ( >=x11-libs/gtk+-2.4:2 )
gtk3? ( x11-libs/gtk+:3 )
kde? ( >=kde-base/kdelibs-4 )
libedit? ( dev-libs/libedit )
libnotify? ( >=x11-libs/libnotify-0.4 )
m17n-lib? ( >=dev-libs/m17n-lib-1.3.1 )
ncurses? ( sys-libs/ncurses )
nls? ( virtual/libintl )
qt4? ( dev-qt/qtgui:4[qt3support] )
skk? ( app-i18n/skk-jisyo )
sqlite? ( dev-db/sqlite:3 )
ssl? ( dev-libs/openssl )
!dev-scheme/sigscheme
!app-i18n/uim-svn"
# >=dev-scheme/sigscheme-0.8.5
# mana? ( app-i18n/mana )
# scim? ( >=app-i18n/scim-1.3.0 ) # broken
# sj3? ( >=app-i18n/sj3-2.0.1.21 )
# wnn? ( app-i18n/wnn )
# gnome? (
# gtk? ( >=gnome-base/gnome-panel-2.14 )
# gtk3? ( >=gnome-base/gnome-panel-3 )
# )
DEPEND="${RDEPEND}
dev-util/intltool
virtual/pkgconfig
>=sys-devel/gettext-0.15
kde? ( dev-util/cmake )
X? (
x11-proto/xextproto
x11-proto/xproto
)"
RDEPEND="${RDEPEND}
X? (
media-fonts/font-sony-misc
linguas_zh_CN? (
|| ( media-fonts/font-isas-misc media-fonts/intlfonts )
)
linguas_zh_TW? (
media-fonts/intlfonts
)
linguas_ja? (
|| ( media-fonts/font-jis-misc media-fonts/intlfonts )
)
linguas_ko? (
|| ( media-fonts/font-daewoo-misc media-fonts/intlfonts )
)
)"
# test? ( dev-scheme/gauche )
SITEFILE=50${PN}-gentoo.el
pkg_setup() {
strip-linguas fr ja ko
if [[ -z "${LINGUAS}" ]]; then
# no linguas set, using the default one
LINGUAS=" "
fi
}
src_prepare() {
epatch \
"${FILESDIR}"/${PN}-1.6.0-gentoo.patch \
"${FILESDIR}"/${PN}-1.5.4-zhTW.patch \
"${FILESDIR}"/${PN}-1.8.0-glib2.32.patch \
"${FILESDIR}"/${PN}-1.7.3-linguas.patch
# bug 275420
sed -i -e "s:\$libedit_path/lib:/$(get_libdir):g" configure.ac || die
echo "QMAKE_LFLAGS = ${LDFLAGS}" >> qt4/common.pro.in || die
#./autogen.sh
AT_NO_RECURSIVE=1 eautoreconf
}
src_configure() {
local myconf
if (use gtk || use gtk3) && (use anthy || use canna) ; then
myconf="${myconf} --enable-dict"
else
myconf="${myconf} --disable-dict"
fi
if use gtk || use gtk3 || use qt4 ; then
myconf="${myconf} --enable-pref"
else
myconf="${myconf} --disable-pref"
fi
if use anthy ; then
if use unicode ; then
myconf="${myconf} --with-anthy-utf8"
else
myconf="${myconf} --with-anthy"
fi
else
myconf="${myconf} --without-anthy"
fi
if use libnotify ; then
myconf="${myconf} --enable-notify=libnotify"
fi
#if use gnome ; then
# myconf="${myconf} $(use_enable gtk gnome-applet)"
# myconf="${myconf} $(use_enable gtk3 gnome3-applet)"
#fi
econf $(use_with X x) \
$(use_with canna) \
$(use_with curl) \
$(use_with eb) \
$(use_enable emacs) \
$(use_with emacs lispdir "${SITELISP}") \
$(use_with libffi ffi) \
$(use_enable gnome gnome-applet) \
$(use_with gtk gtk2) \
$(use_with gtk3) \
$(use_with libedit) \
--disable-kde-applet \
$(use_enable kde kde4-applet) \
$(use_with m17n-lib m17nlib) \
$(use_enable ncurses fep) \
$(use_enable nls) \
--without-qt \
--without-qt-immodule \
$(use_with qt4 qt4) \
$(use_with qt4 qt4-immodule) \
$(use_enable qt4 qt4-qt3support) \
$(use_with skk) \
$(use_with sqlite sqlite3) \
$(use_enable ssl openssl) \
$(use_enable static-libs static) \
$(use_with xft) \
${myconf}
}
src_compile() {
emake || die "emake failed"
if use emacs; then
cd emacs
elisp-compile *.el || die "elisp-compile failed"
fi
}
src_install() {
# parallel make install b0rked, bug #222677
emake -j1 INSTALL_ROOT="${D}" DESTDIR="${D}" install || die "make install failed"
dodoc AUTHORS ChangeLog* NEWS README RELNOTE || die
if use emacs; then
elisp-install uim-el emacs/*.elc || die "elisp-install failed"
elisp-site-file-install "${FILESDIR}/${SITEFILE}" uim-el \
|| die "elisp-site-file-install failed"
fi
find "${ED}/usr/$(get_libdir)/uim" -name '*.la' -exec rm {} +
use static-libs || find "${ED}" -name '*.la' -exec rm {} +
sed -e "s:@EPREFIX@:${EPREFIX}:" "${FILESDIR}/xinput-uim" > "${T}/uim.conf" || die
insinto /etc/X11/xinit/xinput.d
doins "${T}/uim.conf" || die
# collision with dev-scheme/sigscheme, bug #330975
# find "${ED}" -name '*gcroots*' -delete || die
rmdir "${ED}"/usr/share/doc/sigscheme || die
}
pkg_postinst() {
elog
elog "New input method switcher has been introduced. You need to set"
elog
elog "% GTK_IM_MODULE=uim ; export GTK_IM_MODULE"
elog "% QT_IM_MODULE=uim ; export QT_IM_MODULE"
elog "% XMODIFIERS=@im=uim ; export XMODIFIERS"
elog
elog "If you would like to use uim-anthy as default input method, put"
elog "(define default-im-name 'anthy)"
elog "to your ~/.uim."
elog
elog "All input methods can be found by running uim-im-switcher-gtk, "
elog "uim-im-switcher-gtk3 or uim-im-switcher-qt4."
elog
elog "If you upgrade from a version of uim older than 1.4.0,"
elog "you should run revdep-rebuild."
use gtk && gnome2_query_immodules_gtk2
use gtk3 && gnome2_query_immodules_gtk3
if use emacs; then
elisp-site-regen
echo
elog "uim is autoloaded with Emacs with a minimal set of features:"
elog "There is no keybinding defined to call it directly, so please"
elog "create one yourself and choose an input method."
elog "Integration with LEIM is not done with this ebuild, please have"
elog "a look at the documentation how to achieve this."
fi
}
pkg_postrm() {
use gtk && gnome2_query_immodules_gtk2
use gtk3 && gnome2_query_immodules_gtk3
use emacs && elisp-site-regen
}

@ -1,239 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim/uim-1.8.0.ebuild,v 1.12 2014/01/29 01:47:37 naota Exp $
EAPI="4"
inherit autotools eutils multilib elisp-common flag-o-matic gnome2-utils
DESCRIPTION="Simple, secure and flexible input method library"
HOMEPAGE="http://code.google.com/p/uim/"
SRC_URI="http://uim.googlecode.com/files/${P}.tar.bz2"
LICENSE="BSD GPL-2 LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 hppa ppc ppc64 x86"
IUSE="+anthy canna curl eb emacs libffi gnome gtk gtk3 kde libedit libnotify m17n-lib ncurses nls qt4 skk sqlite ssl static-libs test unicode X xft linguas_zh_CN linguas_zh_TW linguas_ja linguas_ko"
RESTRICT="test"
REQUIRED_USE="gtk? ( X ) qt4? ( X )"
RDEPEND="X? (
x11-libs/libX11
x11-libs/libXft
x11-libs/libXt
x11-libs/libICE
x11-libs/libSM
x11-libs/libXext
x11-libs/libXrender
)
anthy? (
unicode? ( >=app-i18n/anthy-8622 )
!unicode? ( app-i18n/anthy )
)
canna? ( app-i18n/canna )
curl? ( >=net-misc/curl-7.16.4 )
eb? ( dev-libs/eb )
emacs? ( virtual/emacs )
libffi? ( virtual/libffi )
gnome? ( >=gnome-base/gnome-panel-2.14 )
gtk? ( >=x11-libs/gtk+-2.4:2 )
gtk3? ( x11-libs/gtk+:3 )
kde? ( >=kde-base/kdelibs-4 )
libedit? ( dev-libs/libedit )
libnotify? ( >=x11-libs/libnotify-0.4 )
m17n-lib? ( >=dev-libs/m17n-lib-1.3.1 )
ncurses? ( sys-libs/ncurses )
nls? ( virtual/libintl )
qt4? ( dev-qt/qtgui:4[qt3support] )
skk? ( app-i18n/skk-jisyo )
sqlite? ( dev-db/sqlite:3 )
ssl? ( dev-libs/openssl )
!dev-scheme/sigscheme
!app-i18n/uim-svn"
# >=dev-scheme/sigscheme-0.8.5
# mana? ( app-i18n/mana )
# scim? ( >=app-i18n/scim-1.3.0 ) # broken
# sj3? ( >=app-i18n/sj3-2.0.1.21 )
# wnn? ( app-i18n/wnn )
# gnome? (
# gtk? ( >=gnome-base/gnome-panel-2.14 )
# gtk3? ( >=gnome-base/gnome-panel-3 )
# )
DEPEND="${RDEPEND}
dev-util/intltool
virtual/pkgconfig
>=sys-devel/gettext-0.15
kde? ( dev-util/cmake )
X? (
x11-proto/xextproto
x11-proto/xproto
)"
RDEPEND="${RDEPEND}
X? (
media-fonts/font-sony-misc
linguas_zh_CN? (
|| ( media-fonts/font-isas-misc media-fonts/intlfonts )
)
linguas_zh_TW? (
media-fonts/intlfonts
)
linguas_ja? (
|| ( media-fonts/font-jis-misc media-fonts/intlfonts )
)
linguas_ko? (
|| ( media-fonts/font-daewoo-misc media-fonts/intlfonts )
)
)"
# test? ( dev-scheme/gauche )
SITEFILE=50${PN}-gentoo.el
src_prepare() {
epatch \
"${FILESDIR}"/${PN}-1.6.0-gentoo.patch \
"${FILESDIR}"/${PN}-1.5.4-zhTW.patch \
"${FILESDIR}"/${PN}-1.8.0-glib2.32.patch
# bug 275420
sed -i -e "s:\$libedit_path/lib:/$(get_libdir):g" configure.ac || die
echo "QMAKE_LFLAGS = ${LDFLAGS}" >> qt4/common.pro.in || die
#./autogen.sh
AT_NO_RECURSIVE=1 eautoreconf
}
src_configure() {
local myconf
if (use gtk || use gtk3) && (use anthy || use canna) ; then
myconf="${myconf} --enable-dict"
else
myconf="${myconf} --disable-dict"
fi
if use gtk || use gtk3 || use qt4 ; then
myconf="${myconf} --enable-pref"
else
myconf="${myconf} --disable-pref"
fi
if use anthy ; then
if use unicode ; then
myconf="${myconf} --with-anthy-utf8"
else
myconf="${myconf} --with-anthy"
fi
else
myconf="${myconf} --without-anthy"
fi
if use libnotify ; then
myconf="${myconf} --enable-notify=libnotify"
fi
#if use gnome ; then
# myconf="${myconf} $(use_enable gtk gnome-applet)"
# myconf="${myconf} $(use_enable gtk3 gnome3-applet)"
#fi
econf $(use_with X x) \
$(use_with canna) \
$(use_with curl) \
$(use_with eb) \
$(use_enable emacs) \
$(use_with emacs lispdir "${SITELISP}") \
$(use_with libffi ffi) \
$(use_enable gnome gnome-applet) \
$(use_with gtk gtk2) \
$(use_with gtk3) \
$(use_with libedit) \
--disable-kde-applet \
$(use_enable kde kde4-applet) \
$(use_with m17n-lib m17nlib) \
$(use_enable ncurses fep) \
$(use_enable nls) \
--without-qt \
--without-qt-immodule \
$(use_with qt4 qt4) \
$(use_with qt4 qt4-immodule) \
$(use_enable qt4 qt4-qt3support) \
$(use_with skk) \
$(use_with sqlite sqlite3) \
$(use_enable ssl openssl) \
$(use_enable static-libs static) \
$(use_with xft) \
${myconf}
}
src_compile() {
emake || die "emake failed"
if use emacs; then
cd emacs
elisp-compile *.el || die "elisp-compile failed"
fi
}
src_install() {
# parallel make install b0rked, bug #222677
emake -j1 INSTALL_ROOT="${D}" DESTDIR="${D}" install || die "make install failed"
dodoc AUTHORS ChangeLog* NEWS README RELNOTE || die
if use emacs; then
elisp-install uim-el emacs/*.elc || die "elisp-install failed"
elisp-site-file-install "${FILESDIR}/${SITEFILE}" uim-el \
|| die "elisp-site-file-install failed"
fi
find "${ED}/usr/$(get_libdir)/uim" -name '*.la' -exec rm {} +
use static-libs || find "${ED}" -name '*.la' -exec rm {} +
sed -e "s:@EPREFIX@:${EPREFIX}:" "${FILESDIR}/xinput-uim" > "${T}/uim.conf" || die
insinto /etc/X11/xinit/xinput.d
doins "${T}/uim.conf" || die
# collision with dev-scheme/sigscheme, bug #330975
# find "${ED}" -name '*gcroots*' -delete || die
rmdir "${ED}"/usr/share/doc/sigscheme || die
}
pkg_postinst() {
elog
elog "New input method switcher has been introduced. You need to set"
elog
elog "% GTK_IM_MODULE=uim ; export GTK_IM_MODULE"
elog "% QT_IM_MODULE=uim ; export QT_IM_MODULE"
elog "% XMODIFIERS=@im=uim ; export XMODIFIERS"
elog
elog "If you would like to use uim-anthy as default input method, put"
elog "(define default-im-name 'anthy)"
elog "to your ~/.uim."
elog
elog "All input methods can be found by running uim-im-switcher-gtk, "
elog "uim-im-switcher-gtk3 or uim-im-switcher-qt4."
elog
elog "If you upgrade from a version of uim older than 1.4.0,"
elog "you should run revdep-rebuild."
use gtk && gnome2_query_immodules_gtk2
use gtk3 && gnome2_query_immodules_gtk3
if use emacs; then
elisp-site-regen
echo
elog "uim is autoloaded with Emacs with a minimal set of features:"
elog "There is no keybinding defined to call it directly, so please"
elog "create one yourself and choose an input method."
elog "Integration with LEIM is not done with this ebuild, please have"
elog "a look at the documentation how to achieve this."
fi
}
pkg_postrm() {
use gtk && gnome2_query_immodules_gtk2
use gtk3 && gnome2_query_immodules_gtk3
use emacs && elisp-site-regen
}

@ -1,247 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim/uim-1.8.2-r1.ebuild,v 1.3 2014/01/29 01:47:37 naota Exp $
EAPI="4"
inherit autotools eutils multilib elisp-common flag-o-matic gnome2-utils
DESCRIPTION="Simple, secure and flexible input method library"
HOMEPAGE="http://code.google.com/p/uim/"
SRC_URI="http://uim.googlecode.com/files/${P}.tar.bz2"
LICENSE="BSD GPL-2 LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
IUSE="+anthy canna curl eb emacs libffi gnome gtk gtk3 kde libedit libnotify m17n-lib ncurses nls qt4 skk sqlite ssl static-libs test unicode X xft linguas_zh_CN linguas_zh_TW linguas_ja linguas_ko"
RESTRICT="test"
REQUIRED_USE="gtk? ( X ) qt4? ( X )"
RDEPEND="X? (
x11-libs/libX11
x11-libs/libXft
x11-libs/libXt
x11-libs/libICE
x11-libs/libSM
x11-libs/libXext
x11-libs/libXrender
)
anthy? (
unicode? ( >=app-i18n/anthy-8622 )
!unicode? ( app-i18n/anthy )
)
canna? ( app-i18n/canna )
curl? ( >=net-misc/curl-7.16.4 )
eb? ( dev-libs/eb )
emacs? ( virtual/emacs )
libffi? ( virtual/libffi )
gnome? ( >=gnome-base/gnome-panel-2.14 )
gtk? ( >=x11-libs/gtk+-2.4:2 )
gtk3? ( x11-libs/gtk+:3 )
kde? ( >=kde-base/kdelibs-4 )
libedit? ( dev-libs/libedit )
libnotify? ( >=x11-libs/libnotify-0.4 )
m17n-lib? ( >=dev-libs/m17n-lib-1.3.1 )
ncurses? ( sys-libs/ncurses )
nls? ( virtual/libintl )
qt4? ( dev-qt/qtgui:4[qt3support] )
skk? ( app-i18n/skk-jisyo )
sqlite? ( dev-db/sqlite:3 )
ssl? ( dev-libs/openssl )
!dev-scheme/sigscheme
!app-i18n/uim-svn"
# >=dev-scheme/sigscheme-0.8.5
# mana? ( app-i18n/mana )
# scim? ( >=app-i18n/scim-1.3.0 ) # broken
# sj3? ( >=app-i18n/sj3-2.0.1.21 )
# wnn? ( app-i18n/wnn )
# gnome? (
# gtk? ( >=gnome-base/gnome-panel-2.14 )
# gtk3? ( >=gnome-base/gnome-panel-3 )
# )
DEPEND="${RDEPEND}
dev-util/intltool
virtual/pkgconfig
>=sys-devel/gettext-0.15
kde? ( dev-util/cmake )
X? (
x11-proto/xextproto
x11-proto/xproto
)"
RDEPEND="${RDEPEND}
X? (
media-fonts/font-sony-misc
linguas_zh_CN? (
|| ( media-fonts/font-isas-misc media-fonts/intlfonts )
)
linguas_zh_TW? (
media-fonts/intlfonts
)
linguas_ja? (
|| ( media-fonts/font-jis-misc media-fonts/intlfonts )
)
linguas_ko? (
|| ( media-fonts/font-daewoo-misc media-fonts/intlfonts )
)
)"
# test? ( dev-scheme/gauche )
SITEFILE=50${PN}-gentoo.el
pkg_setup() {
strip-linguas fr ja ko
if [[ -z "${LINGUAS}" ]]; then
# no linguas set, using the default one
LINGUAS=" "
fi
}
src_prepare() {
epatch \
"${FILESDIR}"/${PN}-1.6.0-gentoo.patch \
"${FILESDIR}"/${PN}-1.5.4-zhTW.patch \
"${FILESDIR}"/${PN}-1.7.3-linguas.patch
# bug 275420
sed -i -e "s:\$libedit_path/lib:/$(get_libdir):g" configure.ac || die
echo "QMAKE_LFLAGS = ${LDFLAGS}" >> qt4/common.pro.in || die
#./autogen.sh
AT_NO_RECURSIVE=1 eautoreconf
}
src_configure() {
local myconf
if (use gtk || use gtk3) && (use anthy || use canna) ; then
myconf="${myconf} --enable-dict"
else
myconf="${myconf} --disable-dict"
fi
if use gtk || use gtk3 || use qt4 ; then
myconf="${myconf} --enable-pref"
else
myconf="${myconf} --disable-pref"
fi
if use anthy ; then
if use unicode ; then
myconf="${myconf} --with-anthy-utf8"
else
myconf="${myconf} --with-anthy"
fi
else
myconf="${myconf} --without-anthy"
fi
if use libnotify ; then
myconf="${myconf} --enable-notify=libnotify"
fi
#if use gnome ; then
# myconf="${myconf} $(use_enable gtk gnome-applet)"
# myconf="${myconf} $(use_enable gtk3 gnome3-applet)"
#fi
econf $(use_with X x) \
$(use_with canna) \
$(use_with curl) \
$(use_with eb) \
$(use_enable emacs) \
$(use_with emacs lispdir "${SITELISP}") \
$(use_with libffi ffi) \
$(use_enable gnome gnome-applet) \
$(use_with gtk gtk2) \
$(use_with gtk3) \
$(use_with libedit) \
--disable-kde-applet \
$(use_enable kde kde4-applet) \
$(use_with m17n-lib m17nlib) \
$(use_enable ncurses fep) \
$(use_enable nls) \
--without-qt \
--without-qt-immodule \
$(use_with qt4 qt4) \
$(use_with qt4 qt4-immodule) \
$(use_enable qt4 qt4-qt3support) \
$(use_with skk) \
$(use_with sqlite sqlite3) \
$(use_enable ssl openssl) \
$(use_enable static-libs static) \
$(use_with xft) \
${myconf}
}
src_compile() {
emake || die "emake failed"
if use emacs; then
cd emacs
elisp-compile *.el || die "elisp-compile failed"
fi
}
src_install() {
# parallel make install b0rked, bug #222677
emake -j1 INSTALL_ROOT="${D}" DESTDIR="${D}" install || die "make install failed"
dodoc AUTHORS ChangeLog* NEWS README RELNOTE || die
if use emacs; then
elisp-install uim-el emacs/*.elc || die "elisp-install failed"
elisp-site-file-install "${FILESDIR}/${SITEFILE}" uim-el \
|| die "elisp-site-file-install failed"
fi
find "${ED}/usr/$(get_libdir)/uim" -name '*.la' -exec rm {} +
use static-libs || find "${ED}" -name '*.la' -exec rm {} +
sed -e "s:@EPREFIX@:${EPREFIX}:" "${FILESDIR}/xinput-uim" > "${T}/uim.conf" || die
insinto /etc/X11/xinit/xinput.d
doins "${T}/uim.conf" || die
# collision with dev-scheme/sigscheme, bug #330975
# find "${ED}" -name '*gcroots*' -delete || die
rmdir "${ED}"/usr/share/doc/sigscheme || die
}
pkg_postinst() {
elog
elog "New input method switcher has been introduced. You need to set"
elog
elog "% GTK_IM_MODULE=uim ; export GTK_IM_MODULE"
elog "% QT_IM_MODULE=uim ; export QT_IM_MODULE"
elog "% XMODIFIERS=@im=uim ; export XMODIFIERS"
elog
elog "If you would like to use uim-anthy as default input method, put"
elog "(define default-im-name 'anthy)"
elog "to your ~/.uim."
elog
elog "All input methods can be found by running uim-im-switcher-gtk, "
elog "uim-im-switcher-gtk3 or uim-im-switcher-qt4."
elog
elog "If you upgrade from a version of uim older than 1.4.0,"
elog "you should run revdep-rebuild."
use gtk && gnome2_query_immodules_gtk2
use gtk3 && gnome2_query_immodules_gtk3
if use emacs; then
elisp-site-regen
echo
elog "uim is autoloaded with Emacs with a minimal set of features:"
elog "There is no keybinding defined to call it directly, so please"
elog "create one yourself and choose an input method."
elog "Integration with LEIM is not done with this ebuild, please have"
elog "a look at the documentation how to achieve this."
fi
}
pkg_postrm() {
use gtk && gnome2_query_immodules_gtk2
use gtk3 && gnome2_query_immodules_gtk3
use emacs && elisp-site-regen
}

@ -1,238 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim/uim-1.8.2.ebuild,v 1.4 2014/01/29 01:47:37 naota Exp $
EAPI="4"
inherit autotools eutils multilib elisp-common flag-o-matic gnome2-utils
DESCRIPTION="Simple, secure and flexible input method library"
HOMEPAGE="http://code.google.com/p/uim/"
SRC_URI="http://uim.googlecode.com/files/${P}.tar.bz2"
LICENSE="BSD GPL-2 LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
IUSE="+anthy canna curl eb emacs libffi gnome gtk gtk3 kde libedit libnotify m17n-lib ncurses nls qt4 skk sqlite ssl static-libs test unicode X xft linguas_zh_CN linguas_zh_TW linguas_ja linguas_ko"
RESTRICT="test"
REQUIRED_USE="gtk? ( X ) qt4? ( X )"
RDEPEND="X? (
x11-libs/libX11
x11-libs/libXft
x11-libs/libXt
x11-libs/libICE
x11-libs/libSM
x11-libs/libXext
x11-libs/libXrender
)
anthy? (
unicode? ( >=app-i18n/anthy-8622 )
!unicode? ( app-i18n/anthy )
)
canna? ( app-i18n/canna )
curl? ( >=net-misc/curl-7.16.4 )
eb? ( dev-libs/eb )
emacs? ( virtual/emacs )
libffi? ( virtual/libffi )
gnome? ( >=gnome-base/gnome-panel-2.14 )
gtk? ( >=x11-libs/gtk+-2.4:2 )
gtk3? ( x11-libs/gtk+:3 )
kde? ( >=kde-base/kdelibs-4 )
libedit? ( dev-libs/libedit )
libnotify? ( >=x11-libs/libnotify-0.4 )
m17n-lib? ( >=dev-libs/m17n-lib-1.3.1 )
ncurses? ( sys-libs/ncurses )
nls? ( virtual/libintl )
qt4? ( dev-qt/qtgui:4[qt3support] )
skk? ( app-i18n/skk-jisyo )
sqlite? ( dev-db/sqlite:3 )
ssl? ( dev-libs/openssl )
!dev-scheme/sigscheme
!app-i18n/uim-svn"
# >=dev-scheme/sigscheme-0.8.5
# mana? ( app-i18n/mana )
# scim? ( >=app-i18n/scim-1.3.0 ) # broken
# sj3? ( >=app-i18n/sj3-2.0.1.21 )
# wnn? ( app-i18n/wnn )
# gnome? (
# gtk? ( >=gnome-base/gnome-panel-2.14 )
# gtk3? ( >=gnome-base/gnome-panel-3 )
# )
DEPEND="${RDEPEND}
dev-util/intltool
virtual/pkgconfig
>=sys-devel/gettext-0.15
kde? ( dev-util/cmake )
X? (
x11-proto/xextproto
x11-proto/xproto
)"
RDEPEND="${RDEPEND}
X? (
media-fonts/font-sony-misc
linguas_zh_CN? (
|| ( media-fonts/font-isas-misc media-fonts/intlfonts )
)
linguas_zh_TW? (
media-fonts/intlfonts
)
linguas_ja? (
|| ( media-fonts/font-jis-misc media-fonts/intlfonts )
)
linguas_ko? (
|| ( media-fonts/font-daewoo-misc media-fonts/intlfonts )
)
)"
# test? ( dev-scheme/gauche )
SITEFILE=50${PN}-gentoo.el
src_prepare() {
epatch \
"${FILESDIR}"/${PN}-1.6.0-gentoo.patch \
"${FILESDIR}"/${PN}-1.5.4-zhTW.patch
# bug 275420
sed -i -e "s:\$libedit_path/lib:/$(get_libdir):g" configure.ac || die
echo "QMAKE_LFLAGS = ${LDFLAGS}" >> qt4/common.pro.in || die
#./autogen.sh
AT_NO_RECURSIVE=1 eautoreconf
}
src_configure() {
local myconf
if (use gtk || use gtk3) && (use anthy || use canna) ; then
myconf="${myconf} --enable-dict"
else
myconf="${myconf} --disable-dict"
fi
if use gtk || use gtk3 || use qt4 ; then
myconf="${myconf} --enable-pref"
else
myconf="${myconf} --disable-pref"
fi
if use anthy ; then
if use unicode ; then
myconf="${myconf} --with-anthy-utf8"
else
myconf="${myconf} --with-anthy"
fi
else
myconf="${myconf} --without-anthy"
fi
if use libnotify ; then
myconf="${myconf} --enable-notify=libnotify"
fi
#if use gnome ; then
# myconf="${myconf} $(use_enable gtk gnome-applet)"
# myconf="${myconf} $(use_enable gtk3 gnome3-applet)"
#fi
econf $(use_with X x) \
$(use_with canna) \
$(use_with curl) \
$(use_with eb) \
$(use_enable emacs) \
$(use_with emacs lispdir "${SITELISP}") \
$(use_with libffi ffi) \
$(use_enable gnome gnome-applet) \
$(use_with gtk gtk2) \
$(use_with gtk3) \
$(use_with libedit) \
--disable-kde-applet \
$(use_enable kde kde4-applet) \
$(use_with m17n-lib m17nlib) \
$(use_enable ncurses fep) \
$(use_enable nls) \
--without-qt \
--without-qt-immodule \
$(use_with qt4 qt4) \
$(use_with qt4 qt4-immodule) \
$(use_enable qt4 qt4-qt3support) \
$(use_with skk) \
$(use_with sqlite sqlite3) \
$(use_enable ssl openssl) \
$(use_enable static-libs static) \
$(use_with xft) \
${myconf}
}
src_compile() {
emake || die "emake failed"
if use emacs; then
cd emacs
elisp-compile *.el || die "elisp-compile failed"
fi
}
src_install() {
# parallel make install b0rked, bug #222677
emake -j1 INSTALL_ROOT="${D}" DESTDIR="${D}" install || die "make install failed"
dodoc AUTHORS ChangeLog* NEWS README RELNOTE || die
if use emacs; then
elisp-install uim-el emacs/*.elc || die "elisp-install failed"
elisp-site-file-install "${FILESDIR}/${SITEFILE}" uim-el \
|| die "elisp-site-file-install failed"
fi
find "${ED}/usr/$(get_libdir)/uim" -name '*.la' -exec rm {} +
use static-libs || find "${ED}" -name '*.la' -exec rm {} +
sed -e "s:@EPREFIX@:${EPREFIX}:" "${FILESDIR}/xinput-uim" > "${T}/uim.conf" || die
insinto /etc/X11/xinit/xinput.d
doins "${T}/uim.conf" || die
# collision with dev-scheme/sigscheme, bug #330975
# find "${ED}" -name '*gcroots*' -delete || die
rmdir "${ED}"/usr/share/doc/sigscheme || die
}
pkg_postinst() {
elog
elog "New input method switcher has been introduced. You need to set"
elog
elog "% GTK_IM_MODULE=uim ; export GTK_IM_MODULE"
elog "% QT_IM_MODULE=uim ; export QT_IM_MODULE"
elog "% XMODIFIERS=@im=uim ; export XMODIFIERS"
elog
elog "If you would like to use uim-anthy as default input method, put"
elog "(define default-im-name 'anthy)"
elog "to your ~/.uim."
elog
elog "All input methods can be found by running uim-im-switcher-gtk, "
elog "uim-im-switcher-gtk3 or uim-im-switcher-qt4."
elog
elog "If you upgrade from a version of uim older than 1.4.0,"
elog "you should run revdep-rebuild."
use gtk && gnome2_query_immodules_gtk2
use gtk3 && gnome2_query_immodules_gtk3
if use emacs; then
elisp-site-regen
echo
elog "uim is autoloaded with Emacs with a minimal set of features:"
elog "There is no keybinding defined to call it directly, so please"
elog "create one yourself and choose an input method."
elog "Integration with LEIM is not done with this ebuild, please have"
elog "a look at the documentation how to achieve this."
fi
}
pkg_postrm() {
use gtk && gnome2_query_immodules_gtk2
use gtk3 && gnome2_query_immodules_gtk3
use emacs && elisp-site-regen
}

@ -1,247 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim/uim-1.8.3-r1.ebuild,v 1.3 2014/01/29 01:47:36 naota Exp $
EAPI="4"
inherit autotools eutils multilib elisp-common flag-o-matic gnome2-utils
DESCRIPTION="Simple, secure and flexible input method library"
HOMEPAGE="http://code.google.com/p/uim/"
SRC_URI="http://uim.googlecode.com/files/${P}.tar.bz2"
LICENSE="BSD GPL-2 LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
IUSE="+anthy canna curl eb emacs libffi gnome gtk gtk3 kde libedit libnotify m17n-lib ncurses nls qt4 skk sqlite ssl static-libs test unicode X xft linguas_zh_CN linguas_zh_TW linguas_ja linguas_ko"
RESTRICT="test"
REQUIRED_USE="gtk? ( X ) qt4? ( X )"
RDEPEND="X? (
x11-libs/libX11
x11-libs/libXft
x11-libs/libXt
x11-libs/libICE
x11-libs/libSM
x11-libs/libXext
x11-libs/libXrender
)
anthy? (
unicode? ( >=app-i18n/anthy-8622 )
!unicode? ( app-i18n/anthy )
)
canna? ( app-i18n/canna )
curl? ( >=net-misc/curl-7.16.4 )
eb? ( dev-libs/eb )
emacs? ( virtual/emacs )
libffi? ( virtual/libffi )
gnome? ( >=gnome-base/gnome-panel-2.14 )
gtk? ( >=x11-libs/gtk+-2.4:2 )
gtk3? ( x11-libs/gtk+:3 )
kde? ( >=kde-base/kdelibs-4 )
libedit? ( dev-libs/libedit )
libnotify? ( >=x11-libs/libnotify-0.4 )
m17n-lib? ( >=dev-libs/m17n-lib-1.3.1 )
ncurses? ( sys-libs/ncurses )
nls? ( virtual/libintl )
qt4? ( dev-qt/qtgui:4[qt3support] )
skk? ( app-i18n/skk-jisyo )
sqlite? ( dev-db/sqlite:3 )
ssl? ( dev-libs/openssl )
!dev-scheme/sigscheme
!app-i18n/uim-svn"
# >=dev-scheme/sigscheme-0.8.5
# mana? ( app-i18n/mana )
# scim? ( >=app-i18n/scim-1.3.0 ) # broken
# sj3? ( >=app-i18n/sj3-2.0.1.21 )
# wnn? ( app-i18n/wnn )
# gnome? (
# gtk? ( >=gnome-base/gnome-panel-2.14 )
# gtk3? ( >=gnome-base/gnome-panel-3 )
# )
DEPEND="${RDEPEND}
dev-util/intltool
virtual/pkgconfig
>=sys-devel/gettext-0.15
kde? ( dev-util/cmake )
X? (
x11-proto/xextproto
x11-proto/xproto
)"
RDEPEND="${RDEPEND}
X? (
media-fonts/font-sony-misc
linguas_zh_CN? (
|| ( media-fonts/font-isas-misc media-fonts/intlfonts )
)
linguas_zh_TW? (
media-fonts/intlfonts
)
linguas_ja? (
|| ( media-fonts/font-jis-misc media-fonts/intlfonts )
)
linguas_ko? (
|| ( media-fonts/font-daewoo-misc media-fonts/intlfonts )
)
)"
# test? ( dev-scheme/gauche )
SITEFILE=50${PN}-gentoo.el
pkg_setup() {
strip-linguas fr ja ko
if [[ -z "${LINGUAS}" ]]; then
# no linguas set, using the default one
LINGUAS=" "
fi
}
src_prepare() {
epatch \
"${FILESDIR}"/${PN}-1.6.0-gentoo.patch \
"${FILESDIR}"/${PN}-1.5.4-zhTW.patch \
"${FILESDIR}"/${PN}-1.7.3-linguas.patch
# bug 275420
sed -i -e "s:\$libedit_path/lib:/$(get_libdir):g" configure.ac || die
echo "QMAKE_LFLAGS = ${LDFLAGS}" >> qt4/common.pro.in || die
#./autogen.sh
AT_NO_RECURSIVE=1 eautoreconf
}
src_configure() {
local myconf
if (use gtk || use gtk3) && (use anthy || use canna) ; then
myconf="${myconf} --enable-dict"
else
myconf="${myconf} --disable-dict"
fi
if use gtk || use gtk3 || use qt4 ; then
myconf="${myconf} --enable-pref"
else
myconf="${myconf} --disable-pref"
fi
if use anthy ; then
if use unicode ; then
myconf="${myconf} --with-anthy-utf8"
else
myconf="${myconf} --with-anthy"
fi
else
myconf="${myconf} --without-anthy"
fi
if use libnotify ; then
myconf="${myconf} --enable-notify=libnotify"
fi
#if use gnome ; then
# myconf="${myconf} $(use_enable gtk gnome-applet)"
# myconf="${myconf} $(use_enable gtk3 gnome3-applet)"
#fi
econf $(use_with X x) \
$(use_with canna) \
$(use_with curl) \
$(use_with eb) \
$(use_enable emacs) \
$(use_with emacs lispdir "${SITELISP}") \
$(use_with libffi ffi) \
$(use_enable gnome gnome-applet) \
$(use_with gtk gtk2) \
$(use_with gtk3) \
$(use_with libedit) \
--disable-kde-applet \
$(use_enable kde kde4-applet) \
$(use_with m17n-lib m17nlib) \
$(use_enable ncurses fep) \
$(use_enable nls) \
--without-qt \
--without-qt-immodule \
$(use_with qt4 qt4) \
$(use_with qt4 qt4-immodule) \
$(use_enable qt4 qt4-qt3support) \
$(use_with skk) \
$(use_with sqlite sqlite3) \
$(use_enable ssl openssl) \
$(use_enable static-libs static) \
$(use_with xft) \
${myconf}
}
src_compile() {
emake || die "emake failed"
if use emacs; then
cd emacs
elisp-compile *.el || die "elisp-compile failed"
fi
}
src_install() {
# parallel make install b0rked, bug #222677
emake -j1 INSTALL_ROOT="${D}" DESTDIR="${D}" install || die "make install failed"
dodoc AUTHORS ChangeLog* NEWS README RELNOTE || die
if use emacs; then
elisp-install uim-el emacs/*.elc || die "elisp-install failed"
elisp-site-file-install "${FILESDIR}/${SITEFILE}" uim-el \
|| die "elisp-site-file-install failed"
fi
find "${ED}/usr/$(get_libdir)/uim" -name '*.la' -exec rm {} +
use static-libs || find "${ED}" -name '*.la' -exec rm {} +
sed -e "s:@EPREFIX@:${EPREFIX}:" "${FILESDIR}/xinput-uim" > "${T}/uim.conf" || die
insinto /etc/X11/xinit/xinput.d
doins "${T}/uim.conf" || die
# collision with dev-scheme/sigscheme, bug #330975
# find "${ED}" -name '*gcroots*' -delete || die
#rmdir "${ED}"/usr/share/doc/sigscheme || die
}
pkg_postinst() {
elog
elog "New input method switcher has been introduced. You need to set"
elog
elog "% GTK_IM_MODULE=uim ; export GTK_IM_MODULE"
elog "% QT_IM_MODULE=uim ; export QT_IM_MODULE"
elog "% XMODIFIERS=@im=uim ; export XMODIFIERS"
elog
elog "If you would like to use uim-anthy as default input method, put"
elog "(define default-im-name 'anthy)"
elog "to your ~/.uim."
elog
elog "All input methods can be found by running uim-im-switcher-gtk, "
elog "uim-im-switcher-gtk3 or uim-im-switcher-qt4."
elog
elog "If you upgrade from a version of uim older than 1.4.0,"
elog "you should run revdep-rebuild."
use gtk && gnome2_query_immodules_gtk2
use gtk3 && gnome2_query_immodules_gtk3
if use emacs; then
elisp-site-regen
echo
elog "uim is autoloaded with Emacs with a minimal set of features:"
elog "There is no keybinding defined to call it directly, so please"
elog "create one yourself and choose an input method."
elog "Integration with LEIM is not done with this ebuild, please have"
elog "a look at the documentation how to achieve this."
fi
}
pkg_postrm() {
use gtk && gnome2_query_immodules_gtk2
use gtk3 && gnome2_query_immodules_gtk3
use emacs && elisp-site-regen
}

@ -1,238 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim/uim-1.8.3.ebuild,v 1.4 2014/01/29 01:47:37 naota Exp $
EAPI="4"
inherit autotools eutils multilib elisp-common flag-o-matic
DESCRIPTION="Simple, secure and flexible input method library"
HOMEPAGE="http://code.google.com/p/uim/"
SRC_URI="http://uim.googlecode.com/files/${P}.tar.bz2"
LICENSE="BSD GPL-2 LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
IUSE="+anthy canna curl eb emacs libffi gnome gtk gtk3 kde libedit libnotify m17n-lib ncurses nls qt4 skk sqlite ssl static-libs test unicode X xft linguas_zh_CN linguas_zh_TW linguas_ja linguas_ko"
RESTRICT="test"
REQUIRED_USE="gtk? ( X ) qt4? ( X )"
RDEPEND="X? (
x11-libs/libX11
x11-libs/libXft
x11-libs/libXt
x11-libs/libICE
x11-libs/libSM
x11-libs/libXext
x11-libs/libXrender
)
anthy? (
unicode? ( >=app-i18n/anthy-8622 )
!unicode? ( app-i18n/anthy )
)
canna? ( app-i18n/canna )
curl? ( >=net-misc/curl-7.16.4 )
eb? ( dev-libs/eb )
emacs? ( virtual/emacs )
libffi? ( virtual/libffi )
gnome? ( >=gnome-base/gnome-panel-2.14 )
gtk? ( >=x11-libs/gtk+-2.4:2 )
gtk3? ( x11-libs/gtk+:3 )
kde? ( >=kde-base/kdelibs-4 )
libedit? ( dev-libs/libedit )
libnotify? ( >=x11-libs/libnotify-0.4 )
m17n-lib? ( >=dev-libs/m17n-lib-1.3.1 )
ncurses? ( sys-libs/ncurses )
nls? ( virtual/libintl )
qt4? ( dev-qt/qtgui:4[qt3support] )
skk? ( app-i18n/skk-jisyo )
sqlite? ( dev-db/sqlite:3 )
ssl? ( dev-libs/openssl )
!dev-scheme/sigscheme
!app-i18n/uim-svn"
# >=dev-scheme/sigscheme-0.8.5
# mana? ( app-i18n/mana )
# scim? ( >=app-i18n/scim-1.3.0 ) # broken
# sj3? ( >=app-i18n/sj3-2.0.1.21 )
# wnn? ( app-i18n/wnn )
# gnome? (
# gtk? ( >=gnome-base/gnome-panel-2.14 )
# gtk3? ( >=gnome-base/gnome-panel-3 )
# )
DEPEND="${RDEPEND}
dev-util/intltool
virtual/pkgconfig
>=sys-devel/gettext-0.15
kde? ( dev-util/cmake )
X? (
x11-proto/xextproto
x11-proto/xproto
)"
RDEPEND="${RDEPEND}
X? (
media-fonts/font-sony-misc
linguas_zh_CN? (
|| ( media-fonts/font-isas-misc media-fonts/intlfonts )
)
linguas_zh_TW? (
media-fonts/intlfonts
)
linguas_ja? (
|| ( media-fonts/font-jis-misc media-fonts/intlfonts )
)
linguas_ko? (
|| ( media-fonts/font-daewoo-misc media-fonts/intlfonts )
)
)"
# test? ( dev-scheme/gauche )
SITEFILE=50${PN}-gentoo.el
src_prepare() {
epatch \
"${FILESDIR}"/${PN}-1.6.0-gentoo.patch \
"${FILESDIR}"/${PN}-1.5.4-zhTW.patch
# bug 275420
sed -i -e "s:\$libedit_path/lib:/$(get_libdir):g" configure.ac || die
echo "QMAKE_LFLAGS = ${LDFLAGS}" >> qt4/common.pro.in || die
#./autogen.sh
AT_NO_RECURSIVE=1 eautoreconf
}
src_configure() {
local myconf
if (use gtk || use gtk3) && (use anthy || use canna) ; then
myconf="${myconf} --enable-dict"
else
myconf="${myconf} --disable-dict"
fi
if use gtk || use gtk3 || use qt4 ; then
myconf="${myconf} --enable-pref"
else
myconf="${myconf} --disable-pref"
fi
if use anthy ; then
if use unicode ; then
myconf="${myconf} --with-anthy-utf8"
else
myconf="${myconf} --with-anthy"
fi
else
myconf="${myconf} --without-anthy"
fi
if use libnotify ; then
myconf="${myconf} --enable-notify=libnotify"
fi
#if use gnome ; then
# myconf="${myconf} $(use_enable gtk gnome-applet)"
# myconf="${myconf} $(use_enable gtk3 gnome3-applet)"
#fi
econf $(use_with X x) \
$(use_with canna) \
$(use_with curl) \
$(use_with eb) \
$(use_enable emacs) \
$(use_with emacs lispdir "${SITELISP}") \
$(use_with libffi ffi) \
$(use_enable gnome gnome-applet) \
$(use_with gtk gtk2) \
$(use_with gtk3) \
$(use_with libedit) \
--disable-kde-applet \
$(use_enable kde kde4-applet) \
$(use_with m17n-lib m17nlib) \
$(use_enable ncurses fep) \
$(use_enable nls) \
--without-qt \
--without-qt-immodule \
$(use_with qt4 qt4) \
$(use_with qt4 qt4-immodule) \
$(use_enable qt4 qt4-qt3support) \
$(use_with skk) \
$(use_with sqlite sqlite3) \
$(use_enable ssl openssl) \
$(use_enable static-libs static) \
$(use_with xft) \
${myconf}
}
src_compile() {
emake || die "emake failed"
if use emacs; then
cd emacs
elisp-compile *.el || die "elisp-compile failed"
fi
}
src_install() {
# parallel make install b0rked, bug #222677
emake -j1 INSTALL_ROOT="${D}" DESTDIR="${D}" install || die "make install failed"
dodoc AUTHORS ChangeLog* NEWS README RELNOTE || die
if use emacs; then
elisp-install uim-el emacs/*.elc || die "elisp-install failed"
elisp-site-file-install "${FILESDIR}/${SITEFILE}" uim-el \
|| die "elisp-site-file-install failed"
fi
find "${ED}/usr/$(get_libdir)/uim" -name '*.la' -exec rm {} +
use static-libs || find "${ED}" -name '*.la' -exec rm {} +
sed -e "s:@EPREFIX@:${EPREFIX}:" "${FILESDIR}/xinput-uim" > "${T}/uim.conf" || die
insinto /etc/X11/xinit/xinput.d
doins "${T}/uim.conf" || die
# collision with dev-scheme/sigscheme, bug #330975
# find "${ED}" -name '*gcroots*' -delete || die
#rmdir "${ED}"/usr/share/doc/sigscheme || die
}
pkg_postinst() {
elog
elog "New input method switcher has been introduced. You need to set"
elog
elog "% GTK_IM_MODULE=uim ; export GTK_IM_MODULE"
elog "% QT_IM_MODULE=uim ; export QT_IM_MODULE"
elog "% XMODIFIERS=@im=uim ; export XMODIFIERS"
elog
elog "If you would like to use uim-anthy as default input method, put"
elog "(define default-im-name 'anthy)"
elog "to your ~/.uim."
elog
elog "All input methods can be found by running uim-im-switcher-gtk, "
elog "uim-im-switcher-gtk3 or uim-im-switcher-qt4."
elog
elog "If you upgrade from a version of uim older than 1.4.0,"
elog "you should run revdep-rebuild."
use gtk && gnome2_query_immodules_gtk2
use gtk3 && gnome2_query_immodules_gtk3
if use emacs; then
elisp-site-regen
echo
elog "uim is autoloaded with Emacs with a minimal set of features:"
elog "There is no keybinding defined to call it directly, so please"
elog "create one yourself and choose an input method."
elog "Integration with LEIM is not done with this ebuild, please have"
elog "a look at the documentation how to achieve this."
fi
}
pkg_postrm() {
use gtk && gnome2_query_immodules_gtk2
use gtk3 && gnome2_query_immodules_gtk3
use emacs && elisp-site-regen
}

@ -1,247 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim/uim-1.8.4-r1.ebuild,v 1.3 2014/01/29 01:47:37 naota Exp $
EAPI="4"
inherit autotools eutils multilib elisp-common flag-o-matic gnome2-utils
DESCRIPTION="Simple, secure and flexible input method library"
HOMEPAGE="http://code.google.com/p/uim/"
SRC_URI="http://uim.googlecode.com/files/${P}.tar.bz2"
LICENSE="BSD GPL-2 LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
IUSE="+anthy canna curl eb emacs libffi gnome gtk gtk3 kde libedit libnotify m17n-lib ncurses nls qt4 skk sqlite ssl static-libs test unicode X xft linguas_zh_CN linguas_zh_TW linguas_ja linguas_ko"
RESTRICT="test"
REQUIRED_USE="gtk? ( X ) qt4? ( X )"
RDEPEND="X? (
x11-libs/libX11
x11-libs/libXft
x11-libs/libXt
x11-libs/libICE
x11-libs/libSM
x11-libs/libXext
x11-libs/libXrender
)
anthy? (
unicode? ( >=app-i18n/anthy-8622 )
!unicode? ( app-i18n/anthy )
)
canna? ( app-i18n/canna )
curl? ( >=net-misc/curl-7.16.4 )
eb? ( dev-libs/eb )
emacs? ( virtual/emacs )
libffi? ( virtual/libffi )
gnome? ( >=gnome-base/gnome-panel-2.14 )
gtk? ( >=x11-libs/gtk+-2.4:2 )
gtk3? ( x11-libs/gtk+:3 )
kde? ( >=kde-base/kdelibs-4 )
libedit? ( dev-libs/libedit )
libnotify? ( >=x11-libs/libnotify-0.4 )
m17n-lib? ( >=dev-libs/m17n-lib-1.3.1 )
ncurses? ( sys-libs/ncurses )
nls? ( virtual/libintl )
qt4? ( dev-qt/qtgui:4[qt3support] )
skk? ( app-i18n/skk-jisyo )
sqlite? ( dev-db/sqlite:3 )
ssl? ( dev-libs/openssl )
!dev-scheme/sigscheme
!app-i18n/uim-svn"
# >=dev-scheme/sigscheme-0.8.5
# mana? ( app-i18n/mana )
# scim? ( >=app-i18n/scim-1.3.0 ) # broken
# sj3? ( >=app-i18n/sj3-2.0.1.21 )
# wnn? ( app-i18n/wnn )
# gnome? (
# gtk? ( >=gnome-base/gnome-panel-2.14 )
# gtk3? ( >=gnome-base/gnome-panel-3 )
# )
DEPEND="${RDEPEND}
dev-util/intltool
virtual/pkgconfig
>=sys-devel/gettext-0.15
kde? ( dev-util/cmake )
X? (
x11-proto/xextproto
x11-proto/xproto
)"
RDEPEND="${RDEPEND}
X? (
media-fonts/font-sony-misc
linguas_zh_CN? (
|| ( media-fonts/font-isas-misc media-fonts/intlfonts )
)
linguas_zh_TW? (
media-fonts/intlfonts
)
linguas_ja? (
|| ( media-fonts/font-jis-misc media-fonts/intlfonts )
)
linguas_ko? (
|| ( media-fonts/font-daewoo-misc media-fonts/intlfonts )
)
)"
# test? ( dev-scheme/gauche )
SITEFILE=50${PN}-gentoo.el
pkg_setup() {
strip-linguas fr ja ko
if [[ -z "${LINGUAS}" ]]; then
# no linguas set, using the default one
LINGUAS=" "
fi
}
src_prepare() {
epatch \
"${FILESDIR}"/${PN}-1.6.0-gentoo.patch \
"${FILESDIR}"/${PN}-1.5.4-zhTW.patch \
"${FILESDIR}"/${PN}-1.7.3-linguas.patch
# bug 275420
sed -i -e "s:\$libedit_path/lib:/$(get_libdir):g" configure.ac || die
echo "QMAKE_LFLAGS = ${LDFLAGS}" >> qt4/common.pro.in || die
#./autogen.sh
AT_NO_RECURSIVE=1 eautoreconf
}
src_configure() {
local myconf
if (use gtk || use gtk3) && (use anthy || use canna) ; then
myconf="${myconf} --enable-dict"
else
myconf="${myconf} --disable-dict"
fi
if use gtk || use gtk3 || use qt4 ; then
myconf="${myconf} --enable-pref"
else
myconf="${myconf} --disable-pref"
fi
if use anthy ; then
if use unicode ; then
myconf="${myconf} --with-anthy-utf8"
else
myconf="${myconf} --with-anthy"
fi
else
myconf="${myconf} --without-anthy"
fi
if use libnotify ; then
myconf="${myconf} --enable-notify=libnotify"
fi
#if use gnome ; then
# myconf="${myconf} $(use_enable gtk gnome-applet)"
# myconf="${myconf} $(use_enable gtk3 gnome3-applet)"
#fi
econf $(use_with X x) \
$(use_with canna) \
$(use_with curl) \
$(use_with eb) \
$(use_enable emacs) \
$(use_with emacs lispdir "${SITELISP}") \
$(use_with libffi ffi) \
$(use_enable gnome gnome-applet) \
$(use_with gtk gtk2) \
$(use_with gtk3) \
$(use_with libedit) \
--disable-kde-applet \
$(use_enable kde kde4-applet) \
$(use_with m17n-lib m17nlib) \
$(use_enable ncurses fep) \
$(use_enable nls) \
--without-qt \
--without-qt-immodule \
$(use_with qt4 qt4) \
$(use_with qt4 qt4-immodule) \
$(use_enable qt4 qt4-qt3support) \
$(use_with skk) \
$(use_with sqlite sqlite3) \
$(use_enable ssl openssl) \
$(use_enable static-libs static) \
$(use_with xft) \
${myconf}
}
src_compile() {
emake || die "emake failed"
if use emacs; then
cd emacs
elisp-compile *.el || die "elisp-compile failed"
fi
}
src_install() {
# parallel make install b0rked, bug #222677
emake -j1 INSTALL_ROOT="${D}" DESTDIR="${D}" install || die "make install failed"
dodoc AUTHORS ChangeLog* NEWS README RELNOTE || die
if use emacs; then
elisp-install uim-el emacs/*.elc || die "elisp-install failed"
elisp-site-file-install "${FILESDIR}/${SITEFILE}" uim-el \
|| die "elisp-site-file-install failed"
fi
find "${ED}/usr/$(get_libdir)/uim" -name '*.la' -exec rm {} +
use static-libs || find "${ED}" -name '*.la' -exec rm {} +
sed -e "s:@EPREFIX@:${EPREFIX}:" "${FILESDIR}/xinput-uim" > "${T}/uim.conf" || die
insinto /etc/X11/xinit/xinput.d
doins "${T}/uim.conf" || die
# collision with dev-scheme/sigscheme, bug #330975
# find "${ED}" -name '*gcroots*' -delete || die
#rmdir "${ED}"/usr/share/doc/sigscheme || die
}
pkg_postinst() {
elog
elog "New input method switcher has been introduced. You need to set"
elog
elog "% GTK_IM_MODULE=uim ; export GTK_IM_MODULE"
elog "% QT_IM_MODULE=uim ; export QT_IM_MODULE"
elog "% XMODIFIERS=@im=uim ; export XMODIFIERS"
elog
elog "If you would like to use uim-anthy as default input method, put"
elog "(define default-im-name 'anthy)"
elog "to your ~/.uim."
elog
elog "All input methods can be found by running uim-im-switcher-gtk, "
elog "uim-im-switcher-gtk3 or uim-im-switcher-qt4."
elog
elog "If you upgrade from a version of uim older than 1.4.0,"
elog "you should run revdep-rebuild."
use gtk && gnome2_query_immodules_gtk2
use gtk3 && gnome2_query_immodules_gtk3
if use emacs; then
elisp-site-regen
echo
elog "uim is autoloaded with Emacs with a minimal set of features:"
elog "There is no keybinding defined to call it directly, so please"
elog "create one yourself and choose an input method."
elog "Integration with LEIM is not done with this ebuild, please have"
elog "a look at the documentation how to achieve this."
fi
}
pkg_postrm() {
use gtk && gnome2_query_immodules_gtk2
use gtk3 && gnome2_query_immodules_gtk3
use emacs && elisp-site-regen
}

@ -1,238 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim/uim-1.8.4.ebuild,v 1.4 2014/01/29 01:47:37 naota Exp $
EAPI="4"
inherit autotools eutils multilib elisp-common flag-o-matic gnome2-utils
DESCRIPTION="Simple, secure and flexible input method library"
HOMEPAGE="http://code.google.com/p/uim/"
SRC_URI="http://uim.googlecode.com/files/${P}.tar.bz2"
LICENSE="BSD GPL-2 LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
IUSE="+anthy canna curl eb emacs libffi gnome gtk gtk3 kde libedit libnotify m17n-lib ncurses nls qt4 skk sqlite ssl static-libs test unicode X xft linguas_zh_CN linguas_zh_TW linguas_ja linguas_ko"
RESTRICT="test"
REQUIRED_USE="gtk? ( X ) qt4? ( X )"
RDEPEND="X? (
x11-libs/libX11
x11-libs/libXft
x11-libs/libXt
x11-libs/libICE
x11-libs/libSM
x11-libs/libXext
x11-libs/libXrender
)
anthy? (
unicode? ( >=app-i18n/anthy-8622 )
!unicode? ( app-i18n/anthy )
)
canna? ( app-i18n/canna )
curl? ( >=net-misc/curl-7.16.4 )
eb? ( dev-libs/eb )
emacs? ( virtual/emacs )
libffi? ( virtual/libffi )
gnome? ( >=gnome-base/gnome-panel-2.14 )
gtk? ( >=x11-libs/gtk+-2.4:2 )
gtk3? ( x11-libs/gtk+:3 )
kde? ( >=kde-base/kdelibs-4 )
libedit? ( dev-libs/libedit )
libnotify? ( >=x11-libs/libnotify-0.4 )
m17n-lib? ( >=dev-libs/m17n-lib-1.3.1 )
ncurses? ( sys-libs/ncurses )
nls? ( virtual/libintl )
qt4? ( dev-qt/qtgui:4[qt3support] )
skk? ( app-i18n/skk-jisyo )
sqlite? ( dev-db/sqlite:3 )
ssl? ( dev-libs/openssl )
!dev-scheme/sigscheme
!app-i18n/uim-svn"
# >=dev-scheme/sigscheme-0.8.5
# mana? ( app-i18n/mana )
# scim? ( >=app-i18n/scim-1.3.0 ) # broken
# sj3? ( >=app-i18n/sj3-2.0.1.21 )
# wnn? ( app-i18n/wnn )
# gnome? (
# gtk? ( >=gnome-base/gnome-panel-2.14 )
# gtk3? ( >=gnome-base/gnome-panel-3 )
# )
DEPEND="${RDEPEND}
dev-util/intltool
virtual/pkgconfig
>=sys-devel/gettext-0.15
kde? ( dev-util/cmake )
X? (
x11-proto/xextproto
x11-proto/xproto
)"
RDEPEND="${RDEPEND}
X? (
media-fonts/font-sony-misc
linguas_zh_CN? (
|| ( media-fonts/font-isas-misc media-fonts/intlfonts )
)
linguas_zh_TW? (
media-fonts/intlfonts
)
linguas_ja? (
|| ( media-fonts/font-jis-misc media-fonts/intlfonts )
)
linguas_ko? (
|| ( media-fonts/font-daewoo-misc media-fonts/intlfonts )
)
)"
# test? ( dev-scheme/gauche )
SITEFILE=50${PN}-gentoo.el
src_prepare() {
epatch \
"${FILESDIR}"/${PN}-1.6.0-gentoo.patch \
"${FILESDIR}"/${PN}-1.5.4-zhTW.patch
# bug 275420
sed -i -e "s:\$libedit_path/lib:/$(get_libdir):g" configure.ac || die
echo "QMAKE_LFLAGS = ${LDFLAGS}" >> qt4/common.pro.in || die
#./autogen.sh
AT_NO_RECURSIVE=1 eautoreconf
}
src_configure() {
local myconf
if (use gtk || use gtk3) && (use anthy || use canna) ; then
myconf="${myconf} --enable-dict"
else
myconf="${myconf} --disable-dict"
fi
if use gtk || use gtk3 || use qt4 ; then
myconf="${myconf} --enable-pref"
else
myconf="${myconf} --disable-pref"
fi
if use anthy ; then
if use unicode ; then
myconf="${myconf} --with-anthy-utf8"
else
myconf="${myconf} --with-anthy"
fi
else
myconf="${myconf} --without-anthy"
fi
if use libnotify ; then
myconf="${myconf} --enable-notify=libnotify"
fi
#if use gnome ; then
# myconf="${myconf} $(use_enable gtk gnome-applet)"
# myconf="${myconf} $(use_enable gtk3 gnome3-applet)"
#fi
econf $(use_with X x) \
$(use_with canna) \
$(use_with curl) \
$(use_with eb) \
$(use_enable emacs) \
$(use_with emacs lispdir "${SITELISP}") \
$(use_with libffi ffi) \
$(use_enable gnome gnome-applet) \
$(use_with gtk gtk2) \
$(use_with gtk3) \
$(use_with libedit) \
--disable-kde-applet \
$(use_enable kde kde4-applet) \
$(use_with m17n-lib m17nlib) \
$(use_enable ncurses fep) \
$(use_enable nls) \
--without-qt \
--without-qt-immodule \
$(use_with qt4 qt4) \
$(use_with qt4 qt4-immodule) \
$(use_enable qt4 qt4-qt3support) \
$(use_with skk) \
$(use_with sqlite sqlite3) \
$(use_enable ssl openssl) \
$(use_enable static-libs static) \
$(use_with xft) \
${myconf}
}
src_compile() {
emake || die "emake failed"
if use emacs; then
cd emacs
elisp-compile *.el || die "elisp-compile failed"
fi
}
src_install() {
# parallel make install b0rked, bug #222677
emake -j1 INSTALL_ROOT="${D}" DESTDIR="${D}" install || die "make install failed"
dodoc AUTHORS ChangeLog* NEWS README RELNOTE || die
if use emacs; then
elisp-install uim-el emacs/*.elc || die "elisp-install failed"
elisp-site-file-install "${FILESDIR}/${SITEFILE}" uim-el \
|| die "elisp-site-file-install failed"
fi
find "${ED}/usr/$(get_libdir)/uim" -name '*.la' -exec rm {} +
use static-libs || find "${ED}" -name '*.la' -exec rm {} +
sed -e "s:@EPREFIX@:${EPREFIX}:" "${FILESDIR}/xinput-uim" > "${T}/uim.conf" || die
insinto /etc/X11/xinit/xinput.d
doins "${T}/uim.conf" || die
# collision with dev-scheme/sigscheme, bug #330975
# find "${ED}" -name '*gcroots*' -delete || die
#rmdir "${ED}"/usr/share/doc/sigscheme || die
}
pkg_postinst() {
elog
elog "New input method switcher has been introduced. You need to set"
elog
elog "% GTK_IM_MODULE=uim ; export GTK_IM_MODULE"
elog "% QT_IM_MODULE=uim ; export QT_IM_MODULE"
elog "% XMODIFIERS=@im=uim ; export XMODIFIERS"
elog
elog "If you would like to use uim-anthy as default input method, put"
elog "(define default-im-name 'anthy)"
elog "to your ~/.uim."
elog
elog "All input methods can be found by running uim-im-switcher-gtk, "
elog "uim-im-switcher-gtk3 or uim-im-switcher-qt4."
elog
elog "If you upgrade from a version of uim older than 1.4.0,"
elog "you should run revdep-rebuild."
use gtk && gnome2_query_immodules_gtk2
use gtk3 && gnome2_query_immodules_gtk3
if use emacs; then
elisp-site-regen
echo
elog "uim is autoloaded with Emacs with a minimal set of features:"
elog "There is no keybinding defined to call it directly, so please"
elog "create one yourself and choose an input method."
elog "Integration with LEIM is not done with this ebuild, please have"
elog "a look at the documentation how to achieve this."
fi
}
pkg_postrm() {
use gtk && gnome2_query_immodules_gtk2
use gtk3 && gnome2_query_immodules_gtk3
use emacs && elisp-site-regen
}

@ -1,242 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim/uim-1.8.6.ebuild,v 1.2 2014/04/14 14:27:44 jer Exp $
EAPI="5"
inherit autotools eutils multilib elisp-common gnome2-utils
DESCRIPTION="Simple, secure and flexible input method library"
HOMEPAGE="http://code.google.com/p/uim/"
SRC_URI="http://uim.googlecode.com/files/${P}.tar.bz2"
LICENSE="BSD GPL-2 LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 hppa ~ppc ~ppc64 ~x86"
IUSE="+anthy canna curl eb emacs expat libffi gnome gtk gtk3 kde libedit libnotify m17n-lib ncurses nls qt4 skk sqlite ssl static-libs test unicode X xft linguas_zh_CN linguas_zh_TW linguas_ja linguas_ko"
RESTRICT="test"
REQUIRED_USE="gtk? ( X ) qt4? ( X )"
RDEPEND="X? (
x11-libs/libX11
x11-libs/libXft
x11-libs/libXt
x11-libs/libICE
x11-libs/libSM
x11-libs/libXext
x11-libs/libXrender
)
anthy? (
unicode? ( >=app-i18n/anthy-8622 )
!unicode? ( app-i18n/anthy )
)
canna? ( app-i18n/canna )
curl? ( >=net-misc/curl-7.16.4 )
eb? ( dev-libs/eb )
emacs? ( virtual/emacs )
expat? ( dev-libs/expat )
libffi? ( virtual/libffi )
gnome? ( >=gnome-base/gnome-panel-2.14 )
gtk? ( >=x11-libs/gtk+-2.4:2 )
gtk3? ( x11-libs/gtk+:3 )
kde? ( >=kde-base/kdelibs-4 )
libedit? ( dev-libs/libedit )
libnotify? ( >=x11-libs/libnotify-0.4 )
m17n-lib? ( >=dev-libs/m17n-lib-1.3.1 )
ncurses? ( sys-libs/ncurses )
nls? ( virtual/libintl )
qt4? ( dev-qt/qtgui:4[qt3support] )
skk? ( app-i18n/skk-jisyo )
sqlite? ( dev-db/sqlite:3 )
ssl? ( dev-libs/openssl )
!dev-scheme/sigscheme"
# scim? ( >=app-i18n/scim-1.3.0 ) # broken
# wnn? ( app-i18n/wnn )
# gnome? (
# gtk? ( >=gnome-base/gnome-panel-2.14 )
# gtk3? ( >=gnome-base/gnome-panel-3 )
# )
DEPEND="${RDEPEND}
dev-util/intltool
virtual/pkgconfig
>=sys-devel/gettext-0.15
kde? ( dev-util/cmake )
X? (
x11-proto/xextproto
x11-proto/xproto
)"
RDEPEND="${RDEPEND}
X? (
media-fonts/font-sony-misc
linguas_zh_CN? (
|| ( media-fonts/font-isas-misc media-fonts/intlfonts )
)
linguas_zh_TW? (
media-fonts/intlfonts
)
linguas_ja? (
|| ( media-fonts/font-jis-misc media-fonts/intlfonts )
)
linguas_ko? (
|| ( media-fonts/font-daewoo-misc media-fonts/intlfonts )
)
)"
# test? ( dev-scheme/gauche )
SITEFILE=50${PN}-gentoo.el
pkg_setup() {
strip-linguas fr ja ko
if [[ -z "${LINGUAS}" ]]; then
# no linguas set, using the default one
LINGUAS=" "
fi
}
src_prepare() {
epatch \
"${FILESDIR}"/${PN}-1.6.0-gentoo.patch \
"${FILESDIR}"/${PN}-1.5.4-zhTW.patch
# bug 275420
sed -i -e "s:\$libedit_path/lib:/$(get_libdir):g" configure.ac || die "sed failed!"
AT_NO_RECURSIVE=1 eautoreconf
}
src_configure() {
local myconf
if (use gtk || use gtk3) && (use anthy || use canna) ; then
myconf="${myconf} --enable-dict"
else
myconf="${myconf} --disable-dict"
fi
if use gtk || use gtk3 || use qt4 ; then
myconf="${myconf} --enable-pref"
else
myconf="${myconf} --disable-pref"
fi
if use anthy ; then
if use unicode ; then
myconf="${myconf} --with-anthy-utf8"
else
myconf="${myconf} --with-anthy"
fi
else
myconf="${myconf} --without-anthy"
fi
if use libnotify ; then
myconf="${myconf} --enable-notify=libnotify"
fi
#if use gnome ; then
# myconf="${myconf} $(use_enable gtk gnome-applet)"
# myconf="${myconf} $(use_enable gtk3 gnome3-applet)"
#fi
econf $(use_with X x) \
$(use_with canna) \
$(use_with curl) \
$(use_with eb) \
$(use_enable emacs) \
$(use_with emacs lispdir "${SITELISP}") \
$(use_with expat) \
$(use_with libffi ffi) \
$(use_enable gnome gnome-applet) \
$(use_with gtk gtk2) \
$(use_with gtk3) \
$(use_with libedit) \
--disable-kde-applet \
$(use_enable kde kde4-applet) \
$(use_with m17n-lib m17nlib) \
$(use_enable ncurses fep) \
$(use_enable nls) \
--without-qt \
--without-qt-immodule \
$(use_with qt4 qt4) \
$(use_with qt4 qt4-immodule) \
$(use_enable qt4 qt4-qt3support) \
$(use_with skk) \
$(use_with sqlite sqlite3) \
$(use_enable ssl openssl) \
$(use_enable static-libs static) \
$(use_with xft) \
${myconf}
}
src_compile() {
default
if use emacs; then
cd emacs
elisp-compile *.el || die "elisp-compile failed!"
fi
}
src_install() {
# parallel make install b0rked, bug #222677
emake -j1 INSTALL_ROOT="${D}" DESTDIR="${D}" install
dodoc AUTHORS ChangeLog* NEWS README RELNOTE
if use emacs; then
elisp-install uim-el emacs/*.elc || die "elisp-install failed!"
elisp-site-file-install "${FILESDIR}/${SITEFILE}" uim-el \
|| die "elisp-site-file-install failed!"
fi
find "${ED}/usr/$(get_libdir)/uim" -name '*.la' -exec rm {} +
use static-libs || find "${ED}" -name '*.la' -exec rm {} +
sed -e "s:@EPREFIX@:${EPREFIX}:" "${FILESDIR}/xinput-uim" > "${T}/uim.conf" || die "sed failed!"
insinto /etc/X11/xinit/xinput.d
doins "${T}/uim.conf"
# collision with dev-scheme/sigscheme, bug #330975
# find "${ED}" -name '*gcroots*' -delete || die
#rmdir "${ED}"/usr/share/doc/sigscheme || die
}
pkg_postinst() {
elog
elog "New input method switcher has been introduced. You need to set"
elog
elog "% GTK_IM_MODULE=uim ; export GTK_IM_MODULE"
elog "% QT_IM_MODULE=uim ; export QT_IM_MODULE"
elog "% XMODIFIERS=@im=uim ; export XMODIFIERS"
elog
elog "If you would like to use uim-anthy as default input method, put"
elog "(define default-im-name 'anthy)"
elog "to your ~/.uim."
elog
elog "All input methods can be found by running uim-im-switcher-gtk, "
elog "uim-im-switcher-gtk3 or uim-im-switcher-qt4."
elog
elog "If you upgrade from a version of uim older than 1.4.0,"
elog "you should run revdep-rebuild."
use gtk && gnome2_query_immodules_gtk2
use gtk3 && gnome2_query_immodules_gtk3
if use emacs; then
elisp-site-regen
echo
elog "uim is autoloaded with Emacs with a minimal set of features:"
elog "There is no keybinding defined to call it directly, so please"
elog "create one yourself and choose an input method."
elog "Integration with LEIM is not done with this ebuild, please have"
elog "a look at the documentation how to achieve this."
fi
}
pkg_postrm() {
use gtk && gnome2_query_immodules_gtk2
use gtk3 && gnome2_query_immodules_gtk3
use emacs && elisp-site-regen
}

@ -1 +0,0 @@
DIST gnome-desktop-sharp-2.26.0.tar.bz2 313134 SHA256 577148d0937d91997341e8b2d2e8aadb0a5f1d898ca9bf579b114097c509aa67 SHA512 e7c220b16fd51512c87bc3c6f96604af47d95fa5560c5e7b264619fa65c8bce5b4fc89978c23b7dfd18b4fa090ee5e7f4696932f36bcb0e7782776505fe5f64e WHIRLPOOL 6d3ca3b2537644629ed20b8d17c6364ffb14e4472d2d316f19c81e4a655307ffc49659de60ce8ecc943cd3f115e5e673ef86ccaa8d5cf81fd644121c58df6c21

@ -1,15 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/gtkhtml-sharp/gtkhtml-sharp-2.26.0.ebuild,v 1.4 2011/11/10 19:15:32 xarthisius Exp $
EAPI=2
GTK_SHARP_REQUIRED_VERSION="2.12"
inherit versionator gtk-sharp-module
SLOT="2"
KEYWORDS="amd64 ppc x86"
IUSE=""
RESTRICT="test"

@ -1,5 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>dotnet</herd>
</pkgmetadata>

@ -1,4 +1,2 @@
DIST libgdata-0.14.3.tar.xz 1476520 SHA256 c044f2af34c1e5eba7b74d5809f6f0bc4acc7007f23c4cb7ebccf94d5058ad8a SHA512 8c4cdac5f4cb591b979d3f1585b67d5e683772440a2920d5f1e9733a21435e1dc8d86d98c70694c92219b489ef640805cd38c45b3f1823026d21229eded36ea0 WHIRLPOOL d29920886f81396311949813a469972380b23932e1aec4bcadc29655203e53b4ddb074b901da313b356c5c4be124ac6008317696252c4fb87eb40c37dd6a33f0
DIST libgdata-0.16.0.tar.xz 1552500 SHA256 66bc279ff8fbebb8eb2602d33e37e3140747ba1e4dc1f1b944c0f312f00ab479 SHA512 cca81a2400d637d017e90f22de80dd065f8568d3faafa17f6684e1f4c326ba162adb45aaea0558aa64068bf9545e51fb455d0f25f502a46b3ee2f0533ff95d65 WHIRLPOOL 2916bbd9d50ff636c6649f7b51b715489c86f77e154c3480549b0c90905e42ae80a8b8a30003a032655e7f18ae0eb405e32a2846c69686b1a7f2b980d04b7356
DIST libgdata-0.16.1.tar.xz 1551960 SHA256 8740e071ecb2ae0d2a4b9f180d2ae5fdf9dc4c41e7ff9dc7e057f62442800827 SHA512 81fd252e24ba0068b401e3de61b4a23575dae0790f4caf646e56a57aab815a70a207b2492efa4213f51ac1d7c752d4ec0c1c9a35d7109f6a63668af05e142039 WHIRLPOOL 892a7823a85bc771b502f7b564156eaede676c3e2cf7406e9b808a3f4fbfa6e9be1ad1ec1cb79ca1b42dc0bf54f6d46560e2a863e8861f186802a91f91de2d4d
DIST libgdata-0.8.1.tar.bz2 1201616 SHA256 080be3e677e6098d0f1bbcbaf8e474b4b94fad8a0d07b5a2969c3ab95b68d0b9 SHA512 61d65ceae7b82a497ba4c2c70a0486a108ae8dec9f0d7885fac8d33dd6a4f4d1eff068e39fb2ec5fed69f349de4d393adceca0ee242f2b4cb6045dbd48743643 WHIRLPOOL 0551ddcb3d9abb3e3633ffcb98e67036d5bdb914d3e95405b7c5568b471784548d02d3f4b0c4df4f76d2396a2be6400d564afc10527c2aa5ada9f812609ab8b0

@ -1,102 +0,0 @@
From 400a4e74f5a506ddff07605a93aa7412262fea38 Mon Sep 17 00:00:00 2001
From: Philip Withnall <philip@tecnocode.co.uk>
Date: Tue, 19 Apr 2011 08:13:01 +0000
Subject: Bug 648058 — Doesn't allow empty names for user defined fields
Allow Google Contacts' user defined fields to have empty names. Test cases
updated. Closes: bgo#648058
---
diff --git a/gdata/services/contacts/gdata-contacts-contact.c b/gdata/services/contacts/gdata-contacts-contact.c
index bedb2c8..33b20c6 100644
--- a/gdata/services/contacts/gdata-contacts-contact.c
+++ b/gdata/services/contacts/gdata-contacts-contact.c
@@ -896,8 +896,9 @@ parse_xml (GDataParsable *parsable, xmlDoc *doc, xmlNode *node, gpointer user_da
/* gContact:userDefinedField */
xmlChar *name, *value;
+ /* Note that while we require the property to be present, we don't require it to be non-empty. See bgo#648058 */
name = xmlGetProp (node, (xmlChar*) "key");
- if (name == NULL || *name == '\0') {
+ if (name == NULL) {
xmlFree (name);
return gdata_parser_error_required_property_missing (node, "key", error);
}
@@ -2843,6 +2844,8 @@ gdata_contacts_contact_set_extended_property (GDataContactsContact *self, const
* Gets the value of a user-defined field of the contact. User-defined fields are settable by the user through the Google Contacts web interface,
* in contrast to extended properties, which are visible and settable only through the GData interface.
*
+ * The @name of the field may not be %NULL, but may be an empty string.
+ *
* Return value: the field's value, or %NULL
*
* Since: 0.7.0
@@ -2851,7 +2854,7 @@ const gchar *
gdata_contacts_contact_get_user_defined_field (GDataContactsContact *self, const gchar *name)
{
g_return_val_if_fail (GDATA_IS_CONTACTS_CONTACT (self), NULL);
- g_return_val_if_fail (name != NULL && *name != '\0', NULL);
+ g_return_val_if_fail (name != NULL, NULL);
return g_hash_table_lookup (self->priv->user_defined_fields, name);
}
@@ -2881,6 +2884,8 @@ gdata_contacts_contact_get_user_defined_fields (GDataContactsContact *self)
* Sets the value of a contact's user-defined field. User-defined field names are unique (but of the client's choosing),
* and reusing the same field name will result in the old value of that field being overwritten.
*
+ * The @name of the field may not be %NULL, but may be an empty string.
+ *
* To unset a field, set @value to %NULL.
*
* Since: 0.7.0
@@ -2889,7 +2894,7 @@ void
gdata_contacts_contact_set_user_defined_field (GDataContactsContact *self, const gchar *name, const gchar *value)
{
g_return_if_fail (GDATA_IS_CONTACTS_CONTACT (self));
- g_return_if_fail (name != NULL && *name != '\0');
+ g_return_if_fail (name != NULL);
if (value == NULL) {
/* Removing a field */
diff --git a/gdata/tests/contacts.c b/gdata/tests/contacts.c
index e22184f..37c0a68 100644
--- a/gdata/tests/contacts.c
+++ b/gdata/tests/contacts.c
@@ -276,6 +276,7 @@ test_insert_simple (gconstpointer service)
gdata_contacts_contact_set_user_defined_field (contact, "Favourite colour", "Blue");
gdata_contacts_contact_set_user_defined_field (contact, "Owes me", "£10");
gdata_contacts_contact_set_user_defined_field (contact, "My notes", "");
+ gdata_contacts_contact_set_user_defined_field (contact, "", "Foo"); /* bgo#648058 */
/* Check the properties of the object */
g_object_get (G_OBJECT (contact),
@@ -374,6 +375,7 @@ test_insert_simple (gconstpointer service)
"<gContact:userDefinedField key='Favourite colour' value='Blue'/>"
"<gContact:userDefinedField key='Owes me' value='£10'/>"
"<gContact:userDefinedField key='My notes' value=''/>"
+ "<gContact:userDefinedField key='' value='Foo'/>" /* bgo#648058 */
"<gContact:hobby>Rowing</gContact:hobby>"
"<gContact:nickname>Big J</gContact:nickname>"
"<gContact:birthday when='--01-01'/>"
@@ -510,10 +512,11 @@ test_insert_simple (gconstpointer service)
g_assert_cmpstr (gdata_contacts_contact_get_user_defined_field (new_contact, "Favourite colour"), ==, "Blue");
g_assert_cmpstr (gdata_contacts_contact_get_user_defined_field (new_contact, "Owes me"), ==, "£10");
g_assert_cmpstr (gdata_contacts_contact_get_user_defined_field (new_contact, "My notes"), ==, "");
+ g_assert_cmpstr (gdata_contacts_contact_get_user_defined_field (new_contact, ""), ==, "Foo");
properties = gdata_contacts_contact_get_user_defined_fields (new_contact);
g_assert (properties != NULL);
- g_assert_cmpuint (g_hash_table_size (properties), ==, 3);
+ g_assert_cmpuint (g_hash_table_size (properties), ==, 4);
/* Groups */
list = gdata_contacts_contact_get_groups (new_contact);
@@ -1298,7 +1301,6 @@ test_parser_error_handling (void)
TEST_XML_ERROR_HANDLING ("<gContact:userDefinedField/>"); /* no key or value */
TEST_XML_ERROR_HANDLING ("<gContact:userDefinedField key='foo'/>"); /* no value */
TEST_XML_ERROR_HANDLING ("<gContact:userDefinedField value='bar'/>"); /* no key */
- TEST_XML_ERROR_HANDLING ("<gContact:userDefinedField key='' value='bar'/>"); /* empty key */
/* gContact:groupMembershipInfo */
TEST_XML_ERROR_HANDLING ("<gContact:groupMembershipInfo/>");
--
cgit v0.9

@ -1,33 +0,0 @@
From 60330e8a42e80c4dd647c55a4b99c44d67cedfc0 Mon Sep 17 00:00:00 2001
From: Philip Withnall <philip@tecnocode.co.uk>
Date: Mon, 15 Aug 2011 22:15:57 +0100
Subject: [PATCH] core: Add missing symbols to symbols file
Closes: bgo#656529
---
gdata/gdata.symbols | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/gdata/gdata.symbols b/gdata/gdata.symbols
index 1220ce9..a2d0590 100644
--- a/gdata/gdata.symbols
+++ b/gdata/gdata.symbols
@@ -94,6 +94,7 @@ gdata_query_get_etag
gdata_query_set_etag
gdata_youtube_standard_feed_type_get_type
gdata_youtube_service_error_get_type
+gdata_youtube_service_error_quark
gdata_youtube_service_get_type
gdata_youtube_service_new
gdata_youtube_service_query_standard_feed
@@ -646,6 +647,7 @@ gdata_documents_query_get_reader_addresses
gdata_documents_query_add_reader
gdata_documents_query_add_collaborator
gdata_documents_service_error_get_type
+gdata_documents_service_error_quark
gdata_download_stream_get_type
gdata_download_stream_new
gdata_download_stream_get_service
--
1.7.8.rc1

@ -1,53 +0,0 @@
From 25a2824203ad199d69432940d2f1edda5b226e9e Mon Sep 17 00:00:00 2001
From: Philip Withnall <philip@tecnocode.co.uk>
Date: Thu, 8 Mar 2012 00:09:08 +0000
Subject: [PATCH] core: Validate SSL certificates for all connections
This prevents MitM attacks which use spoofed SSL certificates.
Closes: https://bugzilla.gnome.org/show_bug.cgi?id=671535
[Alexandre Rostovtsev <tetromino@gentoo.org>: backport to 0.8.1]
Conflicts:
gdata/gdata-service.c
---
configure.ac | 7 +++++++
gdata/gdata-service.c | 2 +-
2 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/configure.ac b/configure.ac
index 449383d..ad23761 100644
--- a/configure.ac
+++ b/configure.ac
@@ -92,6 +92,13 @@ AC_CHECK_FUNCS([strtol])
AC_CHECK_FUNCS([strtoul])
AC_CHECK_HEADERS([sys/time.h])
+# System SSL CA certificates
+AC_ARG_WITH(ca-certs,
+ AS_HELP_STRING([--with-ca-certs=PATH],[location of SSL CA certificates (default: /etc/ssl/certs/ca-certificates.crt)]),
+ ca_certs="$withval",
+ ca_certs="/etc/ssl/certs/ca-certificates.crt")
+AC_DEFINE_UNQUOTED(CA_CERTS, "$ca_certs", [Where to look for SSL CA certificates])
+
# Internationalisation support
GETTEXT_PACKAGE=gdata
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, ["$GETTEXT_PACKAGE"], [Define to the Gettext package name])
diff --git a/gdata/gdata-service.c b/gdata/gdata-service.c
index 420eec2..8d8d21c 100644
--- a/gdata/gdata-service.c
+++ b/gdata/gdata-service.c
@@ -273,7 +273,7 @@ static void
gdata_service_init (GDataService *self)
{
self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self, GDATA_TYPE_SERVICE, GDataServicePrivate);
- self->priv->session = soup_session_sync_new ();
+ self->priv->session = soup_session_sync_new_with_options (SOUP_SESSION_SSL_CA_FILE, CA_CERTS, NULL);
#ifdef HAVE_GNOME
soup_session_add_feature_by_type (self->priv->session, SOUP_TYPE_GNOME_FEATURES_2_26);
--
1.7.8.5

@ -1,68 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgdata/libgdata-0.16.0.ebuild,v 1.4 2014/10/24 14:19:00 blueness Exp $
EAPI="5"
GCONF_DEBUG="yes"
VALA_MIN_API_VERSION="0.20"
VALA_USE_DEPEND="vapigen"
inherit gnome2 vala
DESCRIPTION="GLib-based library for accessing online service APIs using the GData protocol"
HOMEPAGE="https://wiki.gnome.org/Projects/libgdata"
LICENSE="LGPL-2.1+"
SLOT="0/19" # subslot = libgdata soname version
IUSE="gnome +introspection static-libs vala"
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86"
REQUIRED_IUSE="vala? ( introspection )"
# gtk+ is needed for gdk
# configure checks for gtk:3, but only uses it for demos which are not installed
RDEPEND="
>=dev-libs/glib-2.32:2
>=dev-libs/json-glib-0.15
>=dev-libs/libxml2-2:2
>=net-libs/liboauth-0.9.4
>=net-libs/libsoup-2.42.0:2.4[introspection?]
net-libs/uhttpmock
>=x11-libs/gdk-pixbuf-2.14:2
gnome? (
app-crypt/gcr:=
>=net-libs/gnome-online-accounts-3.8 )
introspection? ( >=dev-libs/gobject-introspection-0.9.7 )
"
DEPEND="${RDEPEND}
>=dev-util/gtk-doc-am-1.14
>=dev-util/intltool-0.40
>=gnome-base/gnome-common-3.6
virtual/pkgconfig
vala? ( $(vala_depend) )
"
src_prepare() {
# Disable tests requiring network access, bug #307725
sed -e '/^TEST_PROGS = / s:\(.*\):TEST_PROGS = general perf calendar client-login-authorizer contacts documents oauth1-authorizer picasaweb youtube \nOLD_\1:' \
-i gdata/tests/Makefile.in || die "network test disable failed"
vala_src_prepare
gnome2_src_prepare
}
src_configure() {
DOCS="AUTHORS ChangeLog HACKING NEWS README"
gnome2_src_configure \
$(use_enable gnome) \
$(use_enable gnome goa) \
$(use_enable introspection) \
$(use_enable vala) \
$(use_enable static-libs static)
}
src_test() {
unset ORBIT_SOCKETDIR
unset DBUS_SESSION_BUS_ADDRESS
export GSETTINGS_BACKEND="memory" #486412
dbus-launch emake check
}

@ -1,75 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgdata/libgdata-0.8.1-r2.ebuild,v 1.9 2012/12/19 04:08:55 tetromino Exp $
EAPI="3"
GCONF_DEBUG="yes"
inherit autotools eutils gnome2
DESCRIPTION="GLib-based library for accessing online service APIs using the GData protocol"
HOMEPAGE="http://live.gnome.org/libgdata"
LICENSE="LGPL-2.1+"
SLOT="0"
KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sparc x86"
IUSE="gnome +introspection"
# gtk+ is needed for gdk
RDEPEND=">=dev-libs/glib-2.19:2
|| (
>=x11-libs/gdk-pixbuf-2.14:2
>=x11-libs/gtk+-2.14:2 )
app-misc/ca-certificates
>=dev-libs/libxml2-2:2
>=net-libs/libsoup-2.26.1:2.4[introspection?]
gnome? ( >=net-libs/libsoup-gnome-2.26.1:2.4[introspection?] )
introspection? ( >=dev-libs/gobject-introspection-0.9.7 )"
DEPEND="${RDEPEND}
>=dev-util/gtk-doc-am-1.14
>=dev-util/intltool-0.40
gnome-base/gnome-common"
# eautoreconf requires gnome-base/gnome-common
pkg_setup() {
DOCS="AUTHORS ChangeLog HACKING NEWS README"
G2CONF="${G2CONF}
--disable-static
--with-ca-certs=${EPREFIX}/etc/ssl/certs/ca-certificates.crt
$(use_enable gnome)
$(use_enable introspection)"
}
src_prepare() {
# Allow Google Contacts' user defined fields to have empty names, upstream bug #648058
epatch "${FILESDIR}/${P}-empty-names.patch"
# Fix building with gobject-introspection-1.30; fixed in 0.10.x
epatch "${FILESDIR}/${P}-gdata-symbols.patch"
# Fix MITM attack, bug #408245
epatch "${FILESDIR}/${P}-validate-ssl.patch"
AT_M4DIR=. eautoreconf
gnome2_src_prepare
# Disable tests requiring network access, bug #307725
sed -e '/^TEST_PROGS = / s:\(.*\):TEST_PROGS = general perf\nOLD_\1:' \
-i gdata/tests/Makefile.in || die "network test disable failed"
}
src_test() {
unset ORBIT_SOCKETDIR
unset DBUS_SESSION_BUS_ADDRESS
dbus-launch emake check || die "emake check failed"
}
pkg_preinst() {
gnome2_pkg_preinst
preserve_old_lib /usr/$(get_libdir)/libgdata.so.7
}
pkg_postinst() {
gnome2_pkg_postinst
preserve_old_lib_notify /usr/$(get_libdir)/libgdata.so.7
}

@ -1,3 +1,2 @@
DIST libgweather-2.30.3.tar.bz2 7449487 SHA256 b835374661423f37c46aa8e37368ae24a68856f117b7c21e475a21efdba5264c SHA512 4cbed97a65d02dfdb015fced22cc58d681cd508473add0fc9060206e2736e2c97aa80d3a70923a6e46e0f8de566baffbd56bb86faa875fa565ae52630a05a071 WHIRLPOOL fc000d21f5772f3852f1de5eaf7ebab42f3deabc30ac1a96f12b40a2ba9c864afdf9d0fe01809cdbcd0749b9bd5e37a5c177df199bf5847b2c5ec6cf1cd9cdb0
DIST libgweather-3.12.2.tar.xz 3985056 SHA256 54ef096350d7774ab1b3f23ed768246301cdcedfaa762a2c46920bf87fcc1c37 SHA512 04e3e7be923813e1dedca90931a12270b6e6d9b0329c35f8dbc0398f0a413e0511dcaa7aab7191b8e72c66b929f381c9cd810702cefb35ea0d79c3af0a6db5d2 WHIRLPOOL 384dada98adc101414063e3d6301e821abf79261d00e9532e2287643963d0556da254e9bcbfbb183eb36b8acde1278c31904dd75bb2eaf92d16fa6926ebb8846
DIST libgweather-3.12.3.tar.xz 3982352 SHA256 89f65b1ffb84775c2d73e8daa67dd97f930afe73bae57985ade1e9e37019b435 SHA512 30b0bf57a3ddc090156f3abacd19168f1a3e4eb661e4113eac15f5acb231eb369187806ec6b61518e330b5185d4d9269f5421be056d7502fa700a4379bd9294f WHIRLPOOL 181f51c2a4cafb69ccc7ace69ecff8c61dd9c98de4c1acddc3c460c561f3ee6289dbd9f13f51da7eb3e57bc9122723bdec14cd5acfea0cf1df6ead4bf7a84a95

@ -1,24 +0,0 @@
From 03626e45436b0b9c345e0c07e4f488375639877a Mon Sep 17 00:00:00 2001
From: Romain Perier <mrpouet@gentoo.org>
Date: Sat, 19 Sep 2009 20:54:32 +0200
Subject: [PATCH] Fix automagic python support when --disable-python is given on the command line
---
configure.in | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/configure.in b/configure.in
index f363571..743fe9d 100644
--- a/configure.in
+++ b/configure.in
@@ -215,7 +215,7 @@ dnl ***************************************************************************
AC_ARG_ENABLE(python,
[AC_HELP_STRING([--enable-python],
[Build libgweather python bindings])],
- [enable_python=yes],
+ [enable_python=$enableval],
[enable_python=no])
if test "$enable_python" = "yes"; then
AM_PATH_PYTHON()
--
1.6.5.rc1

@ -1,65 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgweather/libgweather-2.30.3.ebuild,v 1.16 2012/12/19 01:53:47 tetromino Exp $
EAPI="4"
GCONF_DEBUG="no"
GNOME_TARBALL_SUFFIX="bz2"
PYTHON_DEPEND="python? 2"
inherit autotools eutils gnome2 python
DESCRIPTION="Library to access weather information from online services"
HOMEPAGE="https://live.gnome.org/LibGWeather"
LICENSE="GPL-2+"
SLOT="2"
KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sh sparc x86 ~x86-fbsd"
IUSE="python"
# libsoup-gnome is to be used because libsoup[gnome] might not
# get libsoup-gnome installed by the time ${P} is built
RDEPEND=">=x11-libs/gtk+-2.11:2
>=dev-libs/glib-2.13:2
>=gnome-base/gconf-2.8:2
>=net-libs/libsoup-gnome-2.25.1:2.4
>=dev-libs/libxml2-2.6.0:2
>=sys-libs/timezone-data-2010k
python? (
>=dev-python/pygobject-2:2
>=dev-python/pygtk-2 )
!<gnome-base/gnome-applets-2.22.0"
DEPEND="${RDEPEND}
sys-devel/gettext
>=dev-util/intltool-0.40.3
virtual/pkgconfig
>=dev-util/gtk-doc-am-1.9"
pkg_setup() {
if use python; then
python_set_active_version 2
python_pkg_setup
fi
}
src_prepare() {
DOCS="AUTHORS ChangeLog MAINTAINERS NEWS"
G2CONF="${G2CONF}
--enable-locations-compression
--disable-all-translations-in-one-xml
--disable-static
$(use_enable python)"
# Fix building -python, Gnome bug #596660.
epatch "${FILESDIR}/${PN}-2.30.0-fix-automagic-python-support.patch"
eautoreconf
gnome2_src_prepare
}
src_install() {
gnome2_src_install
use python && python_clean_installation_image
find "${D}" -name '*.la' -exec rm -f {} +
}

@ -1 +0,0 @@
DIST gnome-python-desktop-2.32.0.tar.bz2 621277 SHA256 09dbd580bf3b0ef60f91b090eafe6d08ddcc50a609e2b425a7f8eca46d4e0ee9 SHA512 51beefd21fa3aa6242ba4c66e57d940372fbf4a84ffe34063339f6e7e7c22e76d281b25d5f113de3780a0dbf733c7e07142f05a285056cda26736323b4185d18 WHIRLPOOL 5713353291a34e0a03152ad76c46391e3ab246efc17b63193fc0b26b02176eb78ce134c8d0cabcb3480bd2dbb3446b7b6b301cffbfac3ce915e21a974947e37e

@ -1,24 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/brasero-python/brasero-python-2.32.0-r1.ebuild,v 1.1 2014/05/26 18:43:41 mgorny Exp $
EAPI="5"
GNOME_ORG_MODULE="gnome-python-desktop"
G_PY_BINDINGS=( braseroburn braseromedia )
PYTHON_COMPAT=( python2_7 )
inherit gnome-python-common-r1
DESCRIPTION="Python bindings for Brasero CD/DVD burning"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
IUSE="examples"
RDEPEND="<app-cdr/brasero-3
>=app-cdr/brasero-2.29
!<dev-python/gnome-python-desktop-2.22.0-r10"
DEPEND="${RDEPEND}"
EXAMPLES=( examples/braseroburn/. examples/braseromedia/. )

@ -1,26 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/brasero-python/brasero-python-2.32.0.ebuild,v 1.7 2011/03/22 18:54:40 ranger Exp $
EAPI="3"
GCONF_DEBUG="no"
G_PY_PN="gnome-python-desktop"
G_PY_BINDINGS="braseroburn braseromedia"
SUPPORT_PYTHON_ABIS="1"
PYTHON_DEPEND="2"
RESTRICT_PYTHON_ABIS="3.*"
inherit gnome-python-common
DESCRIPTION="Python bindings for Brasero CD/DVD burning"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm ia64 ppc ppc64 ~sh sparc x86 ~x86-fbsd"
IUSE="examples"
RDEPEND=">=app-cdr/brasero-2.29
!<dev-python/gnome-python-desktop-2.22.0-r10"
DEPEND="${RDEPEND}"
EXAMPLES="examples/braseroburn/*
examples/braseromedia/*"

@ -1,5 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>gnome</herd>
</pkgmetadata>

@ -1 +0,0 @@
DIST gnome-python-desktop-2.32.0.tar.bz2 621277 SHA256 09dbd580bf3b0ef60f91b090eafe6d08ddcc50a609e2b425a7f8eca46d4e0ee9 SHA512 51beefd21fa3aa6242ba4c66e57d940372fbf4a84ffe34063339f6e7e7c22e76d281b25d5f113de3780a0dbf733c7e07142f05a285056cda26736323b4185d18 WHIRLPOOL 5713353291a34e0a03152ad76c46391e3ab246efc17b63193fc0b26b02176eb78ce134c8d0cabcb3480bd2dbb3446b7b6b301cffbfac3ce915e21a974947e37e

@ -1,21 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/bug-buddy-python/bug-buddy-python-2.32.0-r1.ebuild,v 1.1 2014/05/26 18:21:10 mgorny Exp $
EAPI="5"
GNOME_ORG_MODULE="gnome-python-desktop"
G_PY_BINDINGS="bugbuddy"
PYTHON_COMPAT=( python2_7 )
inherit gnome-python-common-r1
DESCRIPTION="Python bindings for Bug Buddy"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE=""
RDEPEND=">=gnome-extra/bug-buddy-2.16:2
!<dev-python/gnome-python-desktop-2.22.0-r10"
DEPEND="${RDEPEND}"

@ -1,22 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/bug-buddy-python/bug-buddy-python-2.32.0.ebuild,v 1.9 2012/02/24 09:05:41 patrick Exp $
EAPI="3"
GCONF_DEBUG="no"
G_PY_PN="gnome-python-desktop"
G_PY_BINDINGS="bugbuddy"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.* *-jython 2.7-pypy-*"
inherit gnome-python-common
DESCRIPTION="Python bindings for Bug Buddy"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sparc x86 ~x86-fbsd"
IUSE=""
RDEPEND=">=gnome-extra/bug-buddy-2.16:2
!<dev-python/gnome-python-desktop-2.22.0-r10"
DEPEND="${RDEPEND}"

@ -1,5 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>gnome</herd>
</pkgmetadata>

@ -1 +0,0 @@
DIST gnome-python-desktop-2.32.0.tar.bz2 621277 SHA256 09dbd580bf3b0ef60f91b090eafe6d08ddcc50a609e2b425a7f8eca46d4e0ee9 SHA512 51beefd21fa3aa6242ba4c66e57d940372fbf4a84ffe34063339f6e7e7c22e76d281b25d5f113de3780a0dbf733c7e07142f05a285056cda26736323b4185d18 WHIRLPOOL 5713353291a34e0a03152ad76c46391e3ab246efc17b63193fc0b26b02176eb78ce134c8d0cabcb3480bd2dbb3446b7b6b301cffbfac3ce915e21a974947e37e

@ -1,21 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/evince-python/evince-python-2.32.0-r1.ebuild,v 1.1 2014/05/26 18:47:31 mgorny Exp $
EAPI="5"
GNOME_ORG_MODULE="gnome-python-desktop"
PYTHON_COMPAT=( python2_7 )
inherit gnome-python-common-r1
DESCRIPTION="Python bindings for Evince"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE=""
RDEPEND="<app-text/evince-3
>=app-text/evince-2.32
!<dev-python/gnome-python-desktop-2.22.0-r10"
DEPEND="${RDEPEND}"

@ -1,22 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/evince-python/evince-python-2.32.0.ebuild,v 1.8 2012/03/14 03:14:49 tetromino Exp $
EAPI="3"
GCONF_DEBUG="no"
G_PY_PN="gnome-python-desktop"
SUPPORT_PYTHON_ABIS="1"
PYTHON_DEPEND="2"
RESTRICT_PYTHON_ABIS="3.*"
inherit gnome-python-common
DESCRIPTION="Python bindings for Evince"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sparc x86"
IUSE=""
RDEPEND=">=app-text/evince-2.32
!<dev-python/gnome-python-desktop-2.22.0-r10"
DEPEND="${RDEPEND}"

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>gnome</herd>
<longdescription lang="en">
</longdescription>
</pkgmetadata>

@ -1 +0,0 @@
DIST gnome-python-desktop-2.32.0.tar.bz2 621277 SHA256 09dbd580bf3b0ef60f91b090eafe6d08ddcc50a609e2b425a7f8eca46d4e0ee9 SHA512 51beefd21fa3aa6242ba4c66e57d940372fbf4a84ffe34063339f6e7e7c22e76d281b25d5f113de3780a0dbf733c7e07142f05a285056cda26736323b4185d18 WHIRLPOOL 5713353291a34e0a03152ad76c46391e3ab246efc17b63193fc0b26b02176eb78ce134c8d0cabcb3480bd2dbb3446b7b6b301cffbfac3ce915e21a974947e37e

@ -1,22 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/evolution-python/evolution-python-2.32.0-r1.ebuild,v 1.1 2014/05/26 18:51:42 mgorny Exp $
EAPI="5"
GNOME_ORG_MODULE="gnome-python-desktop"
G_PY_BINDINGS=( evolution evolution_ecal )
PYTHON_COMPAT=( python2_7 )
inherit gnome-python-common-r1
DESCRIPTION="Python bindings for Evolution and Evolution Data Server"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE=""
RDEPEND="dev-python/libbonobo-python:2[${PYTHON_USEDEP}]
<gnome-extra/evolution-data-server-3.6
!<dev-python/gnome-python-desktop-2.22.0-r10"
DEPEND="${RDEPEND}"

@ -1,24 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/evolution-python/evolution-python-2.32.0.ebuild,v 1.10 2013/04/02 20:10:40 pacho Exp $
EAPI="4"
GCONF_DEBUG="no"
G_PY_PN="gnome-python-desktop"
G_PY_BINDINGS="evolution evolution_ecal"
SUPPORT_PYTHON_ABIS="1"
PYTHON_DEPEND="2"
RESTRICT_PYTHON_ABIS="3.*"
inherit gnome-python-common
DESCRIPTION="Python bindings for Evolution and Evolution Data Server"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sparc x86 ~x86-fbsd"
IUSE=""
RDEPEND="dev-python/libbonobo-python:2
<gnome-extra/evolution-data-server-3.6
!<dev-python/gnome-python-desktop-2.22.0-r10"
DEPEND="${RDEPEND}"

@ -1,5 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>gnome</herd>
</pkgmetadata>

@ -1 +0,0 @@
DIST gnome-python-desktop-2.32.0.tar.bz2 621277 SHA256 09dbd580bf3b0ef60f91b090eafe6d08ddcc50a609e2b425a7f8eca46d4e0ee9 SHA512 51beefd21fa3aa6242ba4c66e57d940372fbf4a84ffe34063339f6e7e7c22e76d281b25d5f113de3780a0dbf733c7e07142f05a285056cda26736323b4185d18 WHIRLPOOL 5713353291a34e0a03152ad76c46391e3ab246efc17b63193fc0b26b02176eb78ce134c8d0cabcb3480bd2dbb3446b7b6b301cffbfac3ce915e21a974947e37e

@ -1,28 +0,0 @@
---
Add missing GNOME_CLIENT_PARAM_SM_CONNECT, FALSE in gnomeapplet module. Closes #579390.
gnomeapplet/applet.override | 1 +
gnomeapplet/applet.override | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/gnomeapplet/applet.override b/gnomeapplet/applet.override
index 809da77..a203097 100644
--- a/gnomeapplet/applet.override
+++ b/gnomeapplet/applet.override
@@ -5,7 +5,7 @@ headers
#include <panel-applet.h>
#include <bonobo/bonobo-ui-util.h>
#include <libgnome/gnome-program.h>
-#include <libgnomeui/gnome-ui-init.h>
+#include <libgnomeui/libgnomeui.h>
#define NO_IMPORT_PYGOBJECT
#include "pygobject.h"
@@ -102,6 +102,7 @@ _wrap_panel__applet_bonobo_factory (PyGObject * self,
LIBGNOMEUI_MODULE,
argc, argv,
GNOME_PARAM_NONE,
+ GNOME_CLIENT_PARAM_SM_CONNECT, FALSE,
NULL);
pyg_begin_allow_threads;

@ -1,26 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/gnome-applets-python/gnome-applets-python-2.32.0-r1.ebuild,v 1.1 2014/05/26 18:05:06 mgorny Exp $
EAPI="5"
GNOME_ORG_MODULE="gnome-python-desktop"
G_PY_BINDINGS="applet"
PYTHON_COMPAT=( python2_7 )
inherit gnome-python-common-r1
DESCRIPTION="Python bindings for writing GNOME applets"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
IUSE="examples"
RDEPEND=">=gnome-base/gnome-panel-2.13.4
>=dev-python/libbonobo-python-2.22.0:2[${PYTHON_USEDEP}]
gnome-base/libgnome
gnome-base/libgnomeui
!<dev-python/gnome-python-desktop-2.22.0-r10"
DEPEND="${RDEPEND}"
EXAMPLES=( examples/applet/. )

@ -1,28 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/gnome-applets-python/gnome-applets-python-2.32.0.ebuild,v 1.9 2011/03/22 18:56:43 ranger Exp $
EAPI="3"
GCONF_DEBUG="no"
G_PY_PN="gnome-python-desktop"
G_PY_BINDINGS="applet"
SUPPORT_PYTHON_ABIS="1"
PYTHON_DEPEND="2"
RESTRICT_PYTHON_ABIS="3.*"
inherit gnome-python-common
DESCRIPTION="Python bindings for writing GNOME applets"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sh sparc x86 ~x86-fbsd"
IUSE="examples"
RDEPEND=">=gnome-base/gnome-panel-2.13.4
>=dev-python/libbonobo-python-2.22.0:2
gnome-base/libgnome
gnome-base/libgnomeui
!<dev-python/gnome-python-desktop-2.22.0-r10"
DEPEND="${RDEPEND}"
EXAMPLES="examples/applet/*"

@ -1,5 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>gnome</herd>
</pkgmetadata>

@ -1 +0,0 @@
DIST gnome-python-desktop-2.32.0.tar.bz2 621277 SHA256 09dbd580bf3b0ef60f91b090eafe6d08ddcc50a609e2b425a7f8eca46d4e0ee9 SHA512 51beefd21fa3aa6242ba4c66e57d940372fbf4a84ffe34063339f6e7e7c22e76d281b25d5f113de3780a0dbf733c7e07142f05a285056cda26736323b4185d18 WHIRLPOOL 5713353291a34e0a03152ad76c46391e3ab246efc17b63193fc0b26b02176eb78ce134c8d0cabcb3480bd2dbb3446b7b6b301cffbfac3ce915e21a974947e37e

@ -1,22 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/gnome-desktop-python/gnome-desktop-python-2.32.0-r1.ebuild,v 1.1 2014/05/26 18:05:04 mgorny Exp $
EAPI="5"
GNOME_ORG_MODULE="gnome-python-desktop"
G_PY_BINDINGS="gnomedesktop"
PYTHON_COMPAT=( python2_7 )
inherit gnome-python-common-r1
DESCRIPTION="Python bindings for some GNOME desktop libraries"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
IUSE=""
RDEPEND=">=gnome-base/gnome-desktop-2.10.0:2
>=dev-python/gnome-vfs-python-2.22:2[${PYTHON_USEDEP}]
!<dev-python/gnome-python-desktop-2.22.0-r10"
DEPEND="${RDEPEND}"

@ -1,24 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/gnome-desktop-python/gnome-desktop-python-2.32.0.ebuild,v 1.8 2011/03/22 18:57:14 ranger Exp $
EAPI="3"
GCONF_DEBUG="no"
G_PY_PN="gnome-python-desktop"
G_PY_BINDINGS="gnomedesktop"
SUPPORT_PYTHON_ABIS="1"
PYTHON_DEPEND="2"
RESTRICT_PYTHON_ABIS="3.*"
inherit gnome-python-common
DESCRIPTION="Python bindings for some GNOME desktop libraries"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sh sparc x86 ~x86-fbsd"
IUSE=""
RDEPEND=">=gnome-base/gnome-desktop-2.10.0:2
>=dev-python/gnome-vfs-python-2.22:2
!<dev-python/gnome-python-desktop-2.22.0-r10"
DEPEND="${RDEPEND}"

@ -1,5 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>gnome</herd>
</pkgmetadata>

@ -1 +0,0 @@
DIST gnome-python-desktop-2.32.0.tar.bz2 621277 SHA256 09dbd580bf3b0ef60f91b090eafe6d08ddcc50a609e2b425a7f8eca46d4e0ee9 SHA512 51beefd21fa3aa6242ba4c66e57d940372fbf4a84ffe34063339f6e7e7c22e76d281b25d5f113de3780a0dbf733c7e07142f05a285056cda26736323b4185d18 WHIRLPOOL 5713353291a34e0a03152ad76c46391e3ab246efc17b63193fc0b26b02176eb78ce134c8d0cabcb3480bd2dbb3446b7b6b301cffbfac3ce915e21a974947e37e

@ -1,26 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/gnome-media-python/gnome-media-python-2.32.0-r1.ebuild,v 1.1 2014/05/26 18:05:05 mgorny Exp $
EAPI="5"
GNOME_ORG_MODULE="gnome-python-desktop"
G_PY_BINDINGS="mediaprofiles"
PYTHON_COMPAT=( python2_7 )
inherit gnome-python-common-r1
DESCRIPTION="Python bindings for GNOME media profiles"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
IUSE="examples"
RDEPEND="<gnome-extra/gnome-media-2.91:2
>=gnome-extra/gnome-media-2.10.0:2
>=gnome-base/gconf-2.10.0:2
>=dev-python/gconf-python-2.25.90:2[${PYTHON_USEDEP}]
!<dev-python/gnome-python-desktop-2.22.0-r10"
DEPEND="${RDEPEND}"
EXAMPLES=( examples/mediaprofiles/. )

@ -1,28 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/gnome-media-python/gnome-media-python-2.32.0.ebuild,v 1.9 2011/04/14 10:51:59 nirbheek Exp $
EAPI="3"
GCONF_DEBUG="no"
G_PY_PN="gnome-python-desktop"
G_PY_BINDINGS="mediaprofiles"
SUPPORT_PYTHON_ABIS="1"
PYTHON_DEPEND="2"
RESTRICT_PYTHON_ABIS="3.*"
inherit gnome-python-common
DESCRIPTION="Python bindings for GNOME media profiles"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sh sparc x86 ~x86-fbsd"
IUSE="examples"
RDEPEND=">=gnome-extra/gnome-media-2.10.0:2
<gnome-extra/gnome-media-2.91
>=gnome-base/gconf-2.10.0:2
>=dev-python/gconf-python-2.25.90:2
!<dev-python/gnome-python-desktop-2.22.0-r10"
DEPEND="${RDEPEND}"
EXAMPLES="examples/mediaprofiles/*"

@ -1,5 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>gnome</herd>
</pkgmetadata>

@ -0,0 +1 @@
DIST gns3-gui-1.1.tar.gz 6654053 SHA256 c9457f666bf2bf5053155c80706ed2adf82df559b6f0e25439ca1e20d2c8eab0 SHA512 0bccc722cdac7719de2db6e89ce7cf01dc28db06156adf365c0ac009339e47fd4de8e9adde7f7fe9b71ab9a3fc6a60d1e4579507226e62693d6fa30f79f5457f WHIRLPOOL bcc66777d54fc3796ce8aed2b7e18cafdaee936946d9ba4345c427c448619779f97a613439b64572d19c841e127939f3432dfdb91dfcad7f60c9184df408c9f7

@ -0,0 +1,47 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/gns3-gui/gns3-gui-1.1.ebuild,v 1.3 2014/11/13 11:45:38 idella4 Exp $
EAPI="5"
PYTHON_COMPAT=( python{3_3,3_4} )
inherit distutils-r1
DESCRIPTION="Graphical Network Simulator"
HOMEPAGE="http://www.gns3.net/"
SRC_URI="https://github.com/GNS3/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
#block dev-python/PyQt4-4.11.3_pre20141024 as it breaks runtime
#net-misc/gns3-server version should always match gns3-gui version
#block net-misc/gns3 as it conflicts
RDEPEND=">=dev-python/libcloud-0.15.1[${PYTHON_USEDEP}]
>=dev-python/ws4py-0.3.4[${PYTHON_USEDEP}]
>=dev-python/requests-2.3.0[${PYTHON_USEDEP}]
>=dev-python/paramiko-1.13.0[${PYTHON_USEDEP}]
!=dev-python/PyQt4-4.11.3_pre20141024[${PYTHON_USEDEP}]
>=dev-python/PyQt4-4.11.2[X,svg,${PYTHON_USEDEP}]
dev-qt/qtgui:4
dev-qt/qtsvg:4
=net-misc/gns3-server-$PV
!!net-misc/gns3"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
python_prepare_all() {
# avoid file collisions caused by required tests
sed -e "s:find_packages():find_packages(exclude=['tests','tests.*']):" -i setup.py || die
distutils-r1_python_prepare_all
}
python_install_all() {
distutils-r1_python_install_all
doicon "${WORKDIR}/${P}/resources/images/gns3.ico"
make_desktop_entry "gns3" "GNS3" "/usr/share/pixmaps/gns3.ico" "Utility"
}

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
<email>idella4@gentoo.org</email>
</maintainer>
<maintainer>
<email>aaron@flappyport.com</email>
<name>Arron Bauman</name>
<description>proxy maintainer</description>
</maintainer>
</pkgmetadata>

@ -1 +0,0 @@
DIST gnome-python-extras-2.25.3.tar.bz2 370489 SHA256 ca346264e00e193f0866cabd8801d3b7ce70dae7b8b296e41e5b3a45c9b0275c SHA512 6994b8b5d6ccc009edc7ddfad373b9164d8162f1007972652f6086dca30cac6941ab68ef467d15c972ab05c4ae0e19ec72edc2643636d22a01a3f5a719251467 WHIRLPOOL b0adfcef8bbb978d063a932393e17de9c8c519194f40085ecd03824ec4fb4421c84e0a4853a5a2d9fc40c94d8c0c261828447ac5fd69cff4ece39c52fc833590

@ -1,59 +0,0 @@
From 7824fd5291f570de3c2c64185035d1a6a0a3445a Mon Sep 17 00:00:00 2001
From: Alexandre Rostovtsev <tetromino@gentoo.org>
Date: Mon, 13 Aug 2012 04:42:47 -0400
Subject: [PATCH] Replace horrible slow python libs search
---
acinclude.m4 | 36 ++----------------------------------
1 files changed, 2 insertions(+), 34 deletions(-)
diff --git a/acinclude.m4 b/acinclude.m4
index 8694a65..f5373eb 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -59,40 +59,8 @@ $1],dnl
[AC_MSG_RESULT(not found)
$2])
CPPFLAGS="$save_CPPFLAGS"
-
- # This bit is copied from Planner. murrayc.
- # Check for Python library path
- AC_MSG_CHECKING([for Python library path])
-
- # Win32 has libpython25.a instead of libpython2.5.a, so we look
- # for both. TODO: Only look for libpython25.a on Windows, and for
- # libpython2.5.a on unix.
- WIN32_PYTHON_VERSION=`echo $PYTHON_VERSION | sed "s,\.,,"`
-
- python_path=`dirname $PYTHON | sed "s,/bin.*$,,"`
- for i in "$python_path/lib/python$PYTHON_VERSION/config/" "$python_path/lib/python$PYTHON_VERSION/" "$python_path/lib/python/config/" "$python_path/lib/python/" "$python_path/" ; do
- if test -e "$i"; then
- python_path=`find $i -type f -name libpython$PYTHON_VERSION.* -print | sed "1q"`
- if test -n "$python_path" ; then
- python_lib="python$PYTHON_VERSION"
- break
- fi
-
- # Additionally test WIN32_PYTHON_VERSION
- python_path=`find $i -type f -name libpython$WIN32_PYTHON_VERSION.* -print | sed "1q"`
- if test -n "$python_path" ; then
- python_lib="python$WIN32_PYTHON_VERSION"
- break
- fi
- fi
- done
-
- python_path=`echo $python_path | sed "s,/libpython.*$,,"`
- AC_MSG_RESULT([$python_path])
- if test -z "$python_path" ; then
- AC_MSG_ERROR([cannot find Python library path])
- fi
- AC_SUBST([PYTHON_LDFLAGS],["-L$python_path -l$python_lib"])
+PYTHON_LDFLAGS=`$PYTHON -c "import distutils.sysconfig; print('-L%s -lpython${PYTHON_VERSION}' % distutils.sysconfig.get_config_var('LIBDIR'))"`
+AC_SUBST([PYTHON_LDFLAGS],["$PYTHON_LDFLAGS"])
])
dnl
--
1.7.8.6

@ -1,30 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/libgda-python/libgda-python-2.25.3-r1.ebuild,v 1.1 2014/05/26 17:32:07 mgorny Exp $
EAPI="5"
GNOME_ORG_MODULE="gnome-python-extras"
G_PY_BINDINGS="gda"
PYTHON_COMPAT=( python2_7 )
inherit autotools eutils gnome-python-common-r1
DESCRIPTION="Python bindings for interacting with libgda"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE=""
RDEPEND=">=gnome-extra/libgda-4:4
>=dev-python/libbonobo-python-2.22.1:2[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
virtual/pkgconfig
gnome-base/gnome-common"
# eautoreconf needs gnome-base/gnome-common
src_prepare() {
epatch "${FILESDIR}/${P}-python-libs.patch" #344231
eautoreconf
gnome-python-common-r1_src_prepare
}

@ -1,35 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/libgda-python/libgda-python-2.25.3.ebuild,v 1.10 2012/08/13 09:31:09 tetromino Exp $
EAPI="2"
G_PY_PN="gnome-python-extras"
G_PY_BINDINGS="gda"
SUPPORT_PYTHON_ABIS="1"
PYTHON_DEPEND="2"
RESTRICT_PYTHON_ABIS="3.*"
inherit autotools eutils gnome-python-common
PVP="$(get_version_component_range 1-2)"
SRC_URI="mirror://gnome/sources/${G_PY_PN}/${PVP}/${G_PY_PN}-${PV}.tar.bz2"
DESCRIPTION="Python bindings for interacting with libgda"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86"
IUSE=""
RDEPEND=">=gnome-extra/libgda-4:4
>=dev-python/libbonobo-python-2.22.1:2"
DEPEND="${RDEPEND}
virtual/pkgconfig
gnome-base/gnome-common"
# eautoreconf needs gnome-base/gnome-common
src_prepare() {
epatch "${FILESDIR}/${P}-python-libs.patch" #344231
eautoreconf
gnome-python-common_src_prepare
}

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>gnome</herd>
<herd>python</herd>
</pkgmetadata>

@ -1 +0,0 @@
DIST gnome-python-extras-2.25.3.tar.bz2 370489 SHA256 ca346264e00e193f0866cabd8801d3b7ce70dae7b8b296e41e5b3a45c9b0275c SHA512 6994b8b5d6ccc009edc7ddfad373b9164d8162f1007972652f6086dca30cac6941ab68ef467d15c972ab05c4ae0e19ec72edc2643636d22a01a3f5a719251467 WHIRLPOOL b0adfcef8bbb978d063a932393e17de9c8c519194f40085ecd03824ec4fb4421c84e0a4853a5a2d9fc40c94d8c0c261828447ac5fd69cff4ece39c52fc833590

@ -1,59 +0,0 @@
From 7824fd5291f570de3c2c64185035d1a6a0a3445a Mon Sep 17 00:00:00 2001
From: Alexandre Rostovtsev <tetromino@gentoo.org>
Date: Mon, 13 Aug 2012 04:42:47 -0400
Subject: [PATCH] Replace horrible slow python libs search
---
acinclude.m4 | 36 ++----------------------------------
1 files changed, 2 insertions(+), 34 deletions(-)
diff --git a/acinclude.m4 b/acinclude.m4
index 8694a65..f5373eb 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -59,40 +59,8 @@ $1],dnl
[AC_MSG_RESULT(not found)
$2])
CPPFLAGS="$save_CPPFLAGS"
-
- # This bit is copied from Planner. murrayc.
- # Check for Python library path
- AC_MSG_CHECKING([for Python library path])
-
- # Win32 has libpython25.a instead of libpython2.5.a, so we look
- # for both. TODO: Only look for libpython25.a on Windows, and for
- # libpython2.5.a on unix.
- WIN32_PYTHON_VERSION=`echo $PYTHON_VERSION | sed "s,\.,,"`
-
- python_path=`dirname $PYTHON | sed "s,/bin.*$,,"`
- for i in "$python_path/lib/python$PYTHON_VERSION/config/" "$python_path/lib/python$PYTHON_VERSION/" "$python_path/lib/python/config/" "$python_path/lib/python/" "$python_path/" ; do
- if test -e "$i"; then
- python_path=`find $i -type f -name libpython$PYTHON_VERSION.* -print | sed "1q"`
- if test -n "$python_path" ; then
- python_lib="python$PYTHON_VERSION"
- break
- fi
-
- # Additionally test WIN32_PYTHON_VERSION
- python_path=`find $i -type f -name libpython$WIN32_PYTHON_VERSION.* -print | sed "1q"`
- if test -n "$python_path" ; then
- python_lib="python$WIN32_PYTHON_VERSION"
- break
- fi
- fi
- done
-
- python_path=`echo $python_path | sed "s,/libpython.*$,,"`
- AC_MSG_RESULT([$python_path])
- if test -z "$python_path" ; then
- AC_MSG_ERROR([cannot find Python library path])
- fi
- AC_SUBST([PYTHON_LDFLAGS],["-L$python_path -l$python_lib"])
+PYTHON_LDFLAGS=`$PYTHON -c "import distutils.sysconfig; print('-L%s -lpython${PYTHON_VERSION}' % distutils.sysconfig.get_config_var('LIBDIR'))"`
+AC_SUBST([PYTHON_LDFLAGS],["$PYTHON_LDFLAGS"])
])
dnl
--
1.7.8.6

@ -1,33 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/libgksu-python/libgksu-python-2.25.3-r1.ebuild,v 1.1 2014/05/26 17:44:23 mgorny Exp $
EAPI="5"
# The 'gksu' and 'gksuui' bindings are not supported. We don't have =libgksu-1*
# in tree.
GNOME_ORG_MODULE="gnome-python-extras"
G_PY_BINDINGS="gksu2"
PYTHON_COMPAT=( python2_7 )
inherit autotools eutils gnome-python-common-r1
DESCRIPTION="Python bindings for libgksu"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE="examples"
RDEPEND=">=x11-libs/libgksu-2.0.4"
DEPEND="${RDEPEND}
virtual/pkgconfig
gnome-base/gnome-common"
# eautoreconf needs gnome-base/gnome-common
EXAMPLES=( examples/gksu2/. )
src_prepare() {
epatch "${FILESDIR}/${P}-python-libs.patch" #344231
eautoreconf
gnome-python-common-r1_src_prepare
}

@ -1,38 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/libgksu-python/libgksu-python-2.25.3.ebuild,v 1.9 2012/08/13 09:32:35 tetromino Exp $
EAPI="2"
# The 'gksu' and 'gksuui' bindings are not supported. We don't have =libgksu-1*
# in tree.
G_PY_PN="gnome-python-extras"
G_PY_BINDINGS="gksu2"
SUPPORT_PYTHON_ABIS="1"
PYTHON_DEPEND="2"
RESTRICT_PYTHON_ABIS="3.*"
inherit autotools eutils gnome-python-common
PVP="$(get_version_component_range 1-2)"
SRC_URI="mirror://gnome/sources/${G_PY_PN}/${PVP}/${G_PY_PN}-${PV}.tar.bz2"
DESCRIPTION="Python bindings for libgksu"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86 ~x86-fbsd"
IUSE="examples"
RDEPEND=">=x11-libs/libgksu-2.0.4"
DEPEND="${RDEPEND}
virtual/pkgconfig
gnome-base/gnome-common"
# eautoreconf needs gnome-base/gnome-common
EXAMPLES="examples/gksu2/*"
src_prepare() {
epatch "${FILESDIR}/${P}-python-libs.patch" #344231
eautoreconf
gnome-python-common_src_prepare
}

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>gnome</herd>
<herd>python</herd>
</pkgmetadata>

@ -1 +0,0 @@
DIST gnome-python-desktop-2.32.0.tar.bz2 621277 SHA256 09dbd580bf3b0ef60f91b090eafe6d08ddcc50a609e2b425a7f8eca46d4e0ee9 SHA512 51beefd21fa3aa6242ba4c66e57d940372fbf4a84ffe34063339f6e7e7c22e76d281b25d5f113de3780a0dbf733c7e07142f05a285056cda26736323b4185d18 WHIRLPOOL 5713353291a34e0a03152ad76c46391e3ab246efc17b63193fc0b26b02176eb78ce134c8d0cabcb3480bd2dbb3446b7b6b301cffbfac3ce915e21a974947e37e

@ -1,25 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/libgnomeprint-python/libgnomeprint-python-2.32.0-r1.ebuild,v 1.1 2014/05/26 17:41:38 mgorny Exp $
EAPI="5"
GNOME_ORG_MODULE="gnome-python-desktop"
G_PY_BINDINGS=( gnomeprint gnomeprintui )
PYTHON_COMPAT=( python2_7 )
inherit gnome-python-common-r1
DESCRIPTION="Python bindings for GNOME printing support"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux"
IUSE="doc examples"
RDEPEND=">=gnome-base/libgnomeprint-2.2.0:2.2
>=gnome-base/libgnomeprintui-2.2.0:2.2
>=dev-python/libgnomecanvas-python-2.25.90:2[${PYTHON_USEDEP}]
!<dev-python/gnome-python-desktop-2.22.0-r10"
DEPEND="${RDEPEND}"
EXAMPLES=( examples/gnomeprint/. )

@ -1,27 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/libgnomeprint-python/libgnomeprint-python-2.32.0.ebuild,v 1.8 2011/03/22 19:00:20 ranger Exp $
EAPI="3"
GCONF_DEBUG="no"
G_PY_PN="gnome-python-desktop"
G_PY_BINDINGS="gnomeprint gnomeprintui"
SUPPORT_PYTHON_ABIS="1"
PYTHON_DEPEND="2"
RESTRICT_PYTHON_ABIS="3.*"
inherit gnome-python-common
DESCRIPTION="Python bindings for GNOME printing support"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sh sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux"
IUSE="doc examples"
RDEPEND=">=gnome-base/libgnomeprint-2.2.0:2.2
>=gnome-base/libgnomeprintui-2.2.0:2.2
>=dev-python/libgnomecanvas-python-2.25.90:2
!<dev-python/gnome-python-desktop-2.22.0-r10"
DEPEND="${RDEPEND}"
EXAMPLES="examples/gnomeprint/*"

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save