parent
e7918015d0
commit
4b739c73bf
@ -0,0 +1 @@
|
||||
DIST puppet-lint-0.2.1.gem 31232 SHA256 99288b6541b96e2c47616fda3a30cc2ae8815f12ee9becc3fc4aadf30e2859df SHA512 79ce0ec4df74c17400fe8e4e8e8de1aef3d227f7a9e06054ad2d8fd1fac4fe68c711f9e1f8e637d5c79affdc96c441af02685ecc67d41c0e928d36523c70dcc2 WHIRLPOOL e9ed013e14817d7d1abba05b0900915a683dfb66b25da64b37b7ff2e1778a9bf706f57d8c68c31e3bfdd4d144f98c38d11ead5fb2e27308806adc7b680c22ba2
|
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<!--
|
||||
$Header: /var/cvsroot/gentoo-x86/app-admin/puppet-lint/metadata.xml,v 1.1 2012/11/06 05:47:20 antarus Exp $
|
||||
-->
|
||||
<pkgmetadata>
|
||||
<herd>ruby</herd>
|
||||
<maintainer>
|
||||
<email>antarus@gentoo.org</email>
|
||||
<description>Primary</description>
|
||||
</maintainer>
|
||||
<longdescription>Tim Sharpe's Puppet Linter. Enforces puppetlabs style.</longdescription>
|
||||
</pkgmetadata>
|
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/puppet-lint/puppet-lint-0.2.1.ebuild,v 1.1 2012/11/06 05:47:20 antarus Exp $
|
||||
|
||||
EAPI="4"
|
||||
USE_RUBY="ruby18 ruby19"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST="rspec"
|
||||
RUBY_FAKEGEM_EXTRADOC="README*"
|
||||
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
|
||||
|
||||
inherit eutils ruby-fakegem
|
||||
|
||||
DESCRIPTION="A linter for puppet DSL."
|
||||
HOMEPAGE="http://puppet-lint.com/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
ruby_add_rdepend "
|
||||
dev-ruby/rspec
|
||||
dev-ruby/rake"
|
||||
|
||||
DEPEND="${DEPEND}"
|
||||
RDEPEND="${RDEPEND}"
|
@ -1,2 +1,3 @@
|
||||
DIST system-config-printer-1.3.11.tar.xz 947488 SHA256 13816276895ca60c11ebc77b4209d30707b18c0489e247ea219474ee4a2f63c3 SHA512 4e50e973e404f959d8cb5b25dd6a38aa40f558408eb9818b3eb3b267b9a54f13aa97f05343cc0353ab36b32ac0a229d77109efd79b5e598fe43173072be02fac WHIRLPOOL d2372eb97263e84be9efd9bd6e190ddab2a75a327b0ece6f44ff8c9d1ee12484a82c3a2c5a2124195b0e45aa21fe3298de1025dce806ad195a7a1a84bdea80ec
|
||||
DIST system-config-printer-1.3.12.tar.xz 949008 SHA256 1905bd9fd382730a8eab80fa196b1c43bd19ce79c2169142de899697cbb1e9b1 SHA512 4e6c15b52287f2a69fabb6dafe6548874b8608f2f7a2e14534b100fbb46ad0f146b1e03a6aa4c2c9fe66dad96789454bd066616db0dd73b962bffeb478a7c6c5 WHIRLPOOL 0b8afe05a87103ef99dac50ab7db5f3fc6137de9b84e483ee3a481172e4c894e206b6d022303f1f11496a63b5698351a67070fb936f35293e83f5a20c5e21599
|
||||
DIST system-config-printer-1.3.9.tar.xz 992152 SHA256 86a655d6599484cafe57f11694d9e2d9767ece03328a8fc8254aa92c8162dfe0 SHA512 98ffcbd36ee7c70fc349a945a75b5d2ed70cc1d08b2fe4eb2dc66d0ca887675956c6dc31728a2ba0e15b5742159dd6a9b11af204090a84d5b54f3237bcae62f1 WHIRLPOOL bd81593a7bc7082157ba9e9635aa3df9d0fe6c8fcd5886933781df3d93de9c889e51df5645d3bea6bd9b8448f57d65ef37ce88445cb695b734155772b794bb23
|
||||
|
@ -0,0 +1,177 @@
|
||||
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 03:48:12.392483514 +0100
|
||||
@@ -1,4 +1,4 @@
|
||||
-CFLAGS=-g -O2 -Wall
|
||||
+CFLAGS=-Wall
|
||||
|
||||
SUBDIRS=po
|
||||
|
||||
@@ -84,88 +84,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 +106,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 +130,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) \
|
@ -0,0 +1,91 @@
|
||||
# Copyright 1999-2012 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.1 2012/11/06 03:13:28 reavertm Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
PYTHON_DEPEND="2:2.6"
|
||||
WANT_AUTOMAKE="1.11"
|
||||
|
||||
inherit autotools eutils python toolchain-funcs
|
||||
|
||||
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]
|
||||
>=sys-fs/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="$($(tc-getPKG_CONFIG) --variable=udevdir udev)" \
|
||||
udevrulesdir="$($(tc-getPKG_CONFIG) --variable=udevdir udev)/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,2 +1,2 @@
|
||||
DIST system-config-printer-1.3.11.tar.xz 947488 SHA256 13816276895ca60c11ebc77b4209d30707b18c0489e247ea219474ee4a2f63c3 SHA512 4e50e973e404f959d8cb5b25dd6a38aa40f558408eb9818b3eb3b267b9a54f13aa97f05343cc0353ab36b32ac0a229d77109efd79b5e598fe43173072be02fac WHIRLPOOL d2372eb97263e84be9efd9bd6e190ddab2a75a327b0ece6f44ff8c9d1ee12484a82c3a2c5a2124195b0e45aa21fe3298de1025dce806ad195a7a1a84bdea80ec
|
||||
DIST system-config-printer-1.3.9.tar.xz 992152 SHA256 86a655d6599484cafe57f11694d9e2d9767ece03328a8fc8254aa92c8162dfe0 SHA512 98ffcbd36ee7c70fc349a945a75b5d2ed70cc1d08b2fe4eb2dc66d0ca887675956c6dc31728a2ba0e15b5742159dd6a9b11af204090a84d5b54f3237bcae62f1 WHIRLPOOL bd81593a7bc7082157ba9e9635aa3df9d0fe6c8fcd5886933781df3d93de9c889e51df5645d3bea6bd9b8448f57d65ef37ce88445cb695b734155772b794bb23
|
||||
DIST system-config-printer-1.3.12.tar.xz 949008 SHA256 1905bd9fd382730a8eab80fa196b1c43bd19ce79c2169142de899697cbb1e9b1 SHA512 4e6c15b52287f2a69fabb6dafe6548874b8608f2f7a2e14534b100fbb46ad0f146b1e03a6aa4c2c9fe66dad96789454bd066616db0dd73b962bffeb478a7c6c5 WHIRLPOOL 0b8afe05a87103ef99dac50ab7db5f3fc6137de9b84e483ee3a481172e4c894e206b6d022303f1f11496a63b5698351a67070fb936f35293e83f5a20c5e21599
|
||||
|
@ -0,0 +1,58 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-backup/deja-dup/deja-dup-25.1.1.ebuild,v 1.1 2012/11/05 18:28:43 jlec Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
GNOME2_LA_PUNT="yes"
|
||||
|
||||
inherit eutils gnome2
|
||||
|
||||
DESCRIPTION="Simple backup tool using duplicity back-end"
|
||||
HOMEPAGE="https://launchpad.net/deja-dup/"
|
||||
SRC_URI="http://launchpad.net/${PN}/26/${PV}/+download/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="nautilus"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
COMMON_DEPEND="
|
||||
app-crypt/libsecret[vala]
|
||||
dev-libs/glib:2
|
||||
dev-libs/libpeas
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/libnotify
|
||||
|
||||
app-backup/duplicity
|
||||
dev-libs/dbus-glib
|
||||
|
||||
nautilus? ( gnome-base/nautilus )"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
gnome-base/gvfs[fuse]"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
app-text/yelp-tools
|
||||
dev-lang/vala:0.16
|
||||
dev-perl/Locale-gettext
|
||||
virtual/pkgconfig
|
||||
dev-util/intltool
|
||||
sys-devel/gettext"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-desktop.patch )
|
||||
|
||||
src_prepare() {
|
||||
DOCS="NEWS AUTHORS"
|
||||
G2CONF="${G2CONF}
|
||||
$(use_with nautilus)
|
||||
--without-ccpanel
|
||||
--without-unity
|
||||
--disable-schemas-compile
|
||||
--disable-static"
|
||||
export VALAC=$(type -p valac-0.16)
|
||||
|
||||
epatch ${PATCHES[@]}
|
||||
|
||||
gnome2_src_prepare
|
||||
}
|
@ -0,0 +1,27 @@
|
||||
data/deja-dup-monitor.desktop.in.in | 2 +-
|
||||
data/deja-dup-preferences.desktop.in.in | 2 +-
|
||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/data/deja-dup-monitor.desktop.in.in b/data/deja-dup-monitor.desktop.in.in
|
||||
index c137b79..1f8e720 100644
|
||||
--- a/data/deja-dup-monitor.desktop.in.in
|
||||
+++ b/data/deja-dup-monitor.desktop.in.in
|
||||
@@ -14,4 +14,4 @@ StartupNotify=false
|
||||
NoDisplay=true
|
||||
|
||||
Type=Application
|
||||
-Categories=System;Utility;Archiving;
|
||||
+Categories=Utility;Archiving;
|
||||
diff --git a/data/deja-dup-preferences.desktop.in.in b/data/deja-dup-preferences.desktop.in.in
|
||||
index 0c3a906..fed53ef 100644
|
||||
--- a/data/deja-dup-preferences.desktop.in.in
|
||||
+++ b/data/deja-dup-preferences.desktop.in.in
|
||||
@@ -11,7 +11,7 @@ Exec=deja-dup-preferences
|
||||
StartupNotify=true
|
||||
|
||||
Type=Application
|
||||
-Categories=GNOME;GTK;System;Archiving;Utility;Settings;X-GNOME-SystemSettings;
|
||||
+Categories=GNOME;GTK;Archiving;Utility;X-GNOME-SystemSettings;
|
||||
|
||||
# Translators: Add whatever keywords you want in your language, separated by semicolons
|
||||
# These keywords are used when searching for applications in dashes, etc.
|
@ -1 +1,2 @@
|
||||
DIST akonadi-1.8.0.tar.bz2 213413 SHA256 1644040ccc62c39325127cd32d19e846f62ffb1efa90b8d5e6a137a2545fa66d SHA512 9f995d90d84c8fa7bf51691b4bdabda69e64578dc7a2f0ee0b20979ef3da9e2128625c34b4ce84e5feb79c61615df7299905b2eeded9abcbe8deb22817e1821e WHIRLPOOL 492d184fa20a09e1f68438da8519e176731b1c2d66e01b8a2dfc940da24f167ae33bd00a51900444a18a6203a2165e4e70ef4a1c2db34ac4cc0660744f7a9230
|
||||
DIST akonadi-1.8.1.tar.bz2 213787 SHA256 2b33812801ede762bb9c60d7ab9b0cd98d5552b0c58e28f215ffdc941b48c347 SHA512 8b33d9b2ee845e6ab8e01879f36b5a33c3ef1901490718859646f5b8a7ceffd6def1e788a218741023408991fef4c6cbb4769f125927801951515171ddbc6a7c WHIRLPOOL f20493ff6f1e3ae024dc47dfe7cb8f386fb4ce812cd30bd8132e09b75dc09fc884f41b9545ec46f6828b4582b7ee84f64c9586763eb5f221d3eb02da9e5e86f4
|
||||
|
@ -0,0 +1,104 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/akonadi-server/akonadi-server-1.8.1.ebuild,v 1.1 2012/11/06 02:17:21 reavertm Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="The server part of Akonadi"
|
||||
HOMEPAGE="http://pim.kde.org/akonadi"
|
||||
SRC_URI="mirror://kde/stable/${PN/-server/}/src/${P/-server/}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
|
||||
SLOT="0"
|
||||
IUSE="mysql postgres +sqlite test"
|
||||
|
||||
CDEPEND="
|
||||
dev-libs/boost
|
||||
>=dev-libs/soprano-2.6.51
|
||||
>=x11-libs/qt-gui-4.5.0:4[dbus]
|
||||
>=x11-libs/qt-sql-4.5.0:4[mysql?,postgres?]
|
||||
>=x11-libs/qt-test-4.5.0:4
|
||||
x11-misc/shared-mime-info
|
||||
"
|
||||
DEPEND="${CDEPEND}
|
||||
dev-libs/libxslt
|
||||
>=dev-util/automoc-0.9.88
|
||||
"
|
||||
RDEPEND="${CDEPEND}
|
||||
postgres? ( dev-db/postgresql-server )
|
||||
"
|
||||
|
||||
REQUIRED_USE="|| ( sqlite mysql postgres )"
|
||||
|
||||
S=${WORKDIR}/${P/-server/}
|
||||
|
||||
RESTRICT=test
|
||||
# bug 401139
|
||||
|
||||
pkg_setup() {
|
||||
# Set default storage backend in order: SQLite, MySQL, PostgreSQL
|
||||
# reverse driver check to keep the order
|
||||
if use postgres; then
|
||||
DRIVER="QPSQL"
|
||||
AVAILABLE+=" ${DRIVER}"
|
||||
fi
|
||||
|
||||
if use mysql; then
|
||||
DRIVER="QMYSQL"
|
||||
AVAILABLE+=" ${DRIVER}"
|
||||
fi
|
||||
|
||||
if use sqlite; then
|
||||
DRIVER="QSQLITE3"
|
||||
AVAILABLE+=" ${DRIVER}"
|
||||
fi
|
||||
|
||||
# Notify about driver name change
|
||||
if use sqlite && has_version "<=${CATEGORY}/${PN}-1.4.0[sqlite]"; then
|
||||
ewarn
|
||||
ewarn "SQLite driver name changed from QSQLITE to QSQLITE3."
|
||||
ewarn "Please edit your ~/.config/akonadi/akonadiserverrc."
|
||||
fi
|
||||
|
||||
# Notify about MySQL not being default anymore
|
||||
if ! use mysql && has_version "<=${CATEGORY}/${PN}-1.4.0[mysql]"; then
|
||||
ewarn
|
||||
ewarn "MySQL driver is not enabled by default in Gentoo anymore."
|
||||
ewarn "If you intend to use it, please enable mysql USE flag and reinstall"
|
||||
ewarn "${CATEGORY}/${PN}."
|
||||
ewarn "Otherwise select different driver in your ~/.config/akonadi/akonadiserverrc."
|
||||
ewarn "Available drivers are:${AVAILABLE}"
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DAKONADI_USE_STRIGI_SEARCH=OFF
|
||||
$(cmake-utils_use test AKONADI_BUILD_TESTS)
|
||||
$(cmake-utils_use sqlite AKONADI_BUILD_QSQLITE)
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Who knows, maybe it accidentally fixes our permission issues
|
||||
cat <<-EOF > "${T}"/akonadiserverrc
|
||||
[%General]
|
||||
Driver=${DRIVER}
|
||||
EOF
|
||||
insinto /usr/share/config/akonadi
|
||||
doins "${T}"/akonadiserverrc
|
||||
|
||||
cmake-utils_src_install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
echo
|
||||
elog "${DRIVER} has been set as your default akonadi storage backend."
|
||||
elog "You can override it in your ~/.config/akonadi/akonadiserverrc."
|
||||
elog "Available drivers are: ${AVAILABLE}"
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST texstudio-2.3.tar.gz 25524647 SHA256 ace47800118d3bdeb80dedcda6e659142f4ed5e5c2d8e9eb945ebd7ae8293d93 SHA512 c43864f51be4344adc10140b75a78f11e75f32afdea4c3310efd5897a6e628192dd4335b8250f2a2de8e287d9533864dca26e0a65d6d0f16322a4b3c18e81f86 WHIRLPOOL 4bcaff04bdabd7cb6156330c8e1e66d68fc9f781797eca8ef00198a48d509eed724b3c05a78bcce579f1c1fdbb76a25b6fd4708c05134ed251dcf2585daac955
|
||||
DIST texstudio-2.4.tar.gz 13809336 SHA256 95ecd0e7aab5840b147c6bee68d3c5877d3cce0006117894b3056da211dc77a9 SHA512 394ddf6529284fced1db647db40b054490a49e01ed3b52515a880930f53a757a590b415c4b703442f89191e2be36d56ddb714ecc3445b3e49b37c1ad282a97e0 WHIRLPOOL 2373f9420c9d59d2c56d34c9485f699fe251785f366fb83ef03baa4a26a47fd81feaa287ca02fba55b92cd35e7ae6981254449d2f4916594b4bc292a887715dd
|
||||
DIST texstudio-2.5.tar.gz 16197967 SHA256 0e24af04aa6ab6e4b52c6c787c4a5687c3208457ad3bb5eb670b9703bb529d2a SHA512 89324ab50366ab78f89001a971a443cda5adf3d6dc2371f9ff2b40668ed582ca0b6af55def150f1fa2b837467576de97441828d508d6b03c12d95099d5fdae2c WHIRLPOOL 3a4dca74208e59e6944de5ef632c72aa25cc49a645732494f5a1c0430b7872ddbac5f619063eb1e0be2006582adac3f09f35e246e66604f926e9de4b43432726
|
||||
|
@ -0,0 +1,84 @@
|
||||
spellerutility.h | 2 +-
|
||||
texstudio.pro | 37 ++++++-------------------------------
|
||||
2 files changed, 7 insertions(+), 32 deletions(-)
|
||||
|
||||
diff --git a/spellerutility.h b/spellerutility.h
|
||||
index 1e1d6e2..083f412 100644
|
||||
--- a/spellerutility.h
|
||||
+++ b/spellerutility.h
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
#include "mostQtHeaders.h"
|
||||
|
||||
-#include "hunspell/hunspell.hxx"
|
||||
+#include <hunspell.hxx>
|
||||
class SpellerUtility: public QObject {
|
||||
Q_OBJECT
|
||||
public:
|
||||
diff --git a/texstudio.pro b/texstudio.pro
|
||||
index 541b6b6..f801fc2 100644
|
||||
--- a/texstudio.pro
|
||||
+++ b/texstudio.pro
|
||||
@@ -52,24 +52,6 @@ HEADERS += texmaker.h \
|
||||
debughelper.h \
|
||||
thesaurusdialog.h \
|
||||
xmltagslistwidget.h \
|
||||
- hunspell/affentry.hxx \
|
||||
- hunspell/affixmgr.hxx \
|
||||
- hunspell/atypes.hxx \
|
||||
- hunspell/baseaffix.hxx \
|
||||
- hunspell/csutil.hxx \
|
||||
- hunspell/dictmgr.hxx \
|
||||
- hunspell/hashmgr.hxx \
|
||||
- hunspell/htypes.hxx \
|
||||
- hunspell/hunspell.hxx \
|
||||
- hunspell/hunspell.h \
|
||||
- hunspell/langnum.hxx \
|
||||
- hunspell/license.hunspell \
|
||||
- hunspell/phonet.hxx \
|
||||
- hunspell/suggestmgr.hxx \
|
||||
- hunspell/license.myspell \
|
||||
- hunspell/filemgr.hxx \
|
||||
- hunspell/hunzip.hxx \
|
||||
- hunspell/w_char.hxx \
|
||||
qcodeedit/lib/qeditorinputbinding.h \
|
||||
qcodeedit/lib/qeditorinputbindinginterface.h \
|
||||
randomtextgenerator.h \
|
||||
@@ -85,7 +67,6 @@ HEADERS += texmaker.h \
|
||||
latexdocument.h \
|
||||
unicodeinsertion.h \
|
||||
universalinputdialog.h \
|
||||
- hunspell/replist.hxx \
|
||||
scriptengine.h \
|
||||
insertgraphics.h \
|
||||
txstabwidget.h \
|
||||
@@ -157,18 +138,6 @@ SOURCES += main.cpp \
|
||||
codesnippet.cpp \
|
||||
thesaurusdialog.cpp \
|
||||
xmltagslistwidget.cpp \
|
||||
- hunspell/affentry.cxx \
|
||||
- hunspell/affixmgr.cxx \
|
||||
- hunspell/csutil.cxx \
|
||||
- hunspell/dictmgr.cxx \
|
||||
- hunspell/hashmgr.cxx \
|
||||
- hunspell/hunspell.cxx \
|
||||
- hunspell/phonet.cxx \
|
||||
- hunspell/replist.cxx \
|
||||
- hunspell/suggestmgr.cxx \
|
||||
- hunspell/utf_info.cxx \
|
||||
- hunspell/filemgr.cxx \
|
||||
- hunspell/hunzip.cxx \
|
||||
encodingdialog.cpp \
|
||||
qcodeedit/lib/qeditorinputbinding.cpp \
|
||||
randomtextgenerator.cpp \
|
||||
@@ -591,4 +560,10 @@ SOURCES+=synctex_parser_utils.c synctex_parser.c
|
||||
#QMAKE_CXXFLAGS_DEBUG += -Werror -Wall -Wextra -Winit-self -Wmain -Wmissing-include-dirs -Wtrigraphs -Wunused -Wunknown-pragmas -Wundef -Wpointer-arith -Wtype-limits -Wwrite-strings -Wclobbered -Wempty-body -Wsign-compare -Waddress -Wlogical-op -Winline
|
||||
QMAKE_CXXFLAGS_DEBUG += -Wall -Wextra -Winit-self -Wmissing-include-dirs -Wtrigraphs -Wunused -Wunknown-pragmas -Wundef -Wpointer-arith -Wwrite-strings -Wempty-body -Wsign-compare -Waddress -Winline
|
||||
|
||||
+# enable use of pkgconfig
|
||||
+unix {
|
||||
+ CONFIG += link_pkgconfig
|
||||
+ # use system hunspell
|
||||
+ PKGCONFIG += hunspell
|
||||
+}
|
||||
|
@ -0,0 +1,23 @@
|
||||
texstudio.pro | 5 +++--
|
||||
1 file changed, 3 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/texstudio.pro b/texstudio.pro
|
||||
index f801fc2..2b1d3df 100644
|
||||
--- a/texstudio.pro
|
||||
+++ b/texstudio.pro
|
||||
@@ -10,8 +10,6 @@ QT += network \
|
||||
QT += phonon
|
||||
DEFINES += PHONON
|
||||
}
|
||||
-contains($$list($$[QT_VERSION]), 4.3.*):message("qt 4.3.x")
|
||||
-else:include(qtsingleapplication/qtsingleapplication.pri)
|
||||
|
||||
# ##############################
|
||||
PRECOMPILED_HEADER = mostQtHeaders.h
|
||||
@@ -567,3 +565,6 @@ unix {
|
||||
PKGCONFIG += hunspell
|
||||
}
|
||||
|
||||
+#use system qtsingleapplication
|
||||
+CONFIG += qtsingleapplication
|
||||
+
|
@ -0,0 +1,42 @@
|
||||
From f9a633402c81b7c252e33c0d9386ba4b48fcde7c Mon Sep 17 00:00:00 2001
|
||||
From: hannes <hannes@fedoraproject.org>
|
||||
Date: Sun, 9 Sep 2012 10:56:06 +0200
|
||||
Subject: [PATCH] viewer
|
||||
|
||||
---
|
||||
buildmanager.cpp | 18 +++---------------
|
||||
1 file changed, 3 insertions(+), 15 deletions(-)
|
||||
|
||||
diff --git buildmanager.cpp buildmanager.cpp
|
||||
index ac7027a..ac913d0 100644
|
||||
--- buildmanager.cpp
|
||||
+++ buildmanager.cpp
|
||||
@@ -762,25 +762,13 @@
|
||||
// xdvi %.dvi -sourceposition @:%.tex
|
||||
// kdvi "file:%.dvi#src:@ %.tex"
|
||||
QString getCommandLineViewDvi(){
|
||||
- switch (x11desktop_env()) {
|
||||
- case 3: return "kdvi %.dvi > /dev/null";
|
||||
- case 4: return "okular %.dvi > /dev/null";
|
||||
- default:return "evince %.dvi > /dev/null";
|
||||
- }
|
||||
+ return "xdg-open %.dvi > /dev/null";
|
||||
};
|
||||
QString getCommandLineViewPs(){
|
||||
- switch (x11desktop_env()) {
|
||||
- case 3: return "kghostview %.ps > /dev/null";
|
||||
- case 4: return "okular %.ps > /dev/null";
|
||||
- default: return "evince %.ps > /dev/null";
|
||||
- };
|
||||
+ return "xdg-open %.ps > /dev/null";
|
||||
}
|
||||
QString getCommandLineViewPdfExternal(){
|
||||
- switch (x11desktop_env()) {
|
||||
- case 3: return "kpdf %.pdf > /dev/null";
|
||||
- case 4: return "okular %.pdf > /dev/null";
|
||||
- default: return "evince %.pdf > /dev/null";
|
||||
- };
|
||||
+ return "xdg-open %.pdf > /dev/null";
|
||||
}
|
||||
QString getCommandLineGhostscript(){ return ""; }
|
||||
|
@ -0,0 +1,66 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/texstudio/texstudio-2.5.ebuild,v 1.1 2012/11/05 18:57:07 jlec Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit base fdo-mime qt4-r2
|
||||
|
||||
DESCRIPTION="Free cross-platform LaTeX editor (former texmakerX)"
|
||||
HOMEPAGE="http://texstudio.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${PN}/TeXstudio%20${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
|
||||
IUSE="video"
|
||||
|
||||
COMMON_DEPEND="
|
||||
app-text/hunspell
|
||||
app-text/poppler[qt4]
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
>=x11-libs/qt-gui-4.6.1:4
|
||||
>=x11-libs/qt-core-4.6.1:4
|
||||
>=x11-libs/qt-script-4.6.1:4
|
||||
>=x11-libs/qt-test-4.6.1:4
|
||||
>=x11-libs/qt-webkit-4.6.1:4
|
||||
video? ( media-libs/phonon )"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
virtual/latex-base
|
||||
app-text/psutils
|
||||
app-text/ghostscript-gpl
|
||||
media-libs/netpbm"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
S="${WORKDIR}"/${P/-/}
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-hunspell.patch
|
||||
# 441914
|
||||
# "${FILESDIR}"/${P}-qtsingle.patch
|
||||
"${FILESDIR}"/${PN}-2.4-desktop.patch
|
||||
# Get it from fedora
|
||||
"${FILESDIR}"/${P}-viewers-use-xdg-open.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
find hunspell -delete
|
||||
if use video; then
|
||||
sed "/^PHONON/s:$:true:g" -i ${PN}.pro || die
|
||||
fi
|
||||
qt4-r2_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
for i in 16x16 22x22 32x32 48x48 64x64; do
|
||||
insinto /usr/share/icons/hicolor/${i}
|
||||
newins utilities/${PN}${i}.png ${PN}.png
|
||||
done
|
||||
qt4-r2_src_install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST gentoolkit-0.3.0.4.tar.gz 180411 SHA256 cc1fc031bf69a095a5cd2aab433f06e8eb3b5af2fef743bce5958c7f7f38803c SHA512 bff2b6e4d2f384f44e7c889dd12a08562ea2e1ff525e6892878cf9de72a97cb9fc9560115718e1e1903924cac052d7c61c6d83b48059a8377f3b482a6f77ed72 WHIRLPOOL 08c6b9bd3de6641f11fe02fd2ed532ae14cffd81d9a2d10c26c5eed6bdc095c4d6d3c8268e6320994d827db9b876197be8d1e60d5c2ebdc7bcd660340c150038
|
||||
DIST gentoolkit-0.3.0.5.tar.gz 3189023 SHA256 4085ab693dd2d01d31252a295036dbb0a4cb7d27ff393529186d412802a7a6f3 SHA512 53d4cde2679a6cac1860d0c824888fa4f9fad0f4b00640f2fcdf3f3f539f0b8094cbb45a85e8e784cf356f25d9298fa190905471737eeb40ebf2266c5f53512e WHIRLPOOL 7ebe891b6072f49cd6eb35cd3813cad2881927a3348847a0cf9149839c1e36353b70431ede3635e804fecff49d32626b4b625fb4b91c7f26209b9d5720f3cbeb
|
||||
DIST gentoolkit-0.3.0.6.tar.gz 191896 SHA256 5b1b7e9e0363764b3c8349540e3a16fcdd850ec2441bb56b24fdb729130e604a SHA512 6bc46fd364cba3326e9e4f1083485f1220a8dc6675b75ad058fbee59d3c103f2ca103be6035f5f726e92f496a854dca72ec08b0d2cfe012aa7efbdc3a95891a0 WHIRLPOOL e928b8d3c493ac00b622b859985e144cd7828d4c4e1be7c2a4b8abae9864f10aa22c4626b991d9ba81c6408dc7769be2346f2f9abf3c2ec864ce9eed2ae3d9e5
|
||||
DIST gentoolkit-0.3.0.7.tar.gz 3191108 SHA256 45ca2b48cfba7939a76428213f2fc4c3a1fc58716290f7a352ccd9299beb49d7 SHA512 798a058a58cf881a24b92ae32fabe7c6d49305e2611bab568004dd711392e5af97b7d66029e344f4e7c52d0b6cf47690b76cf7e3d77b5482c30b6883f872c1d1 WHIRLPOOL c21ce47365500cd93c6c617d79ee9c979f1f6a06966ed41a69eb73014354b6e066fef904c2d221b64f6116a76792f2060a8863ee633f781764c270ce954de1a7
|
||||
|
@ -1,90 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/gentoolkit-0.3.0.4-r5.ebuild,v 1.11 2012/10/29 16:31:11 mgorny Exp $
|
||||
|
||||
EAPI="3"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="2.[45]"
|
||||
PYTHON_USE_WITH="xml"
|
||||
PYTHON_NONVERSIONED_EXECUTABLES=(".*")
|
||||
|
||||
inherit distutils python eutils
|
||||
|
||||
DESCRIPTION="Collection of administration scripts for Gentoo"
|
||||
HOMEPAGE="http://www.gentoo.org/proj/en/portage/tools/index.xml"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~x86-fbsd ~x64-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
# Note: argparse is provided in python 2.7 and 3.2 (Bug 346005)
|
||||
# Note: dev-lang/python dependencies are so emerge will print a blocker if any
|
||||
# installed slot of python is not built with +xml. This is used since
|
||||
# PYTHON_USE_WITH just dies in the middle of the emerge. See bug 399331.
|
||||
DEPEND="sys-apps/portage"
|
||||
RDEPEND="${DEPEND}
|
||||
>=dev-lang/python-2.6[xml]
|
||||
!>=dev-lang/python-2.6[-xml]
|
||||
!<=app-portage/gentoolkit-dev-0.2.7
|
||||
|| ( >=sys-apps/coreutils-8.15 app-misc/realpath sys-freebsd/freebsd-bin )
|
||||
sys-apps/gawk
|
||||
sys-apps/grep
|
||||
virtual/python-argparse"
|
||||
|
||||
distutils_src_compile_pre_hook() {
|
||||
echo VERSION="${PVR}" "$(PYTHON)" setup.py set_version
|
||||
VERSION="${PVR}" "$(PYTHON)" setup.py set_version \
|
||||
|| die "setup.py set_version failed"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PV}-euse-376393.patch"
|
||||
epatch "${FILESDIR}/${PV}-euse-379599.patch"
|
||||
epatch "${FILESDIR}/${PV}-gentoolkit-375293.patch"
|
||||
epatch "${FILESDIR}/${PV}-equery-380573.patch"
|
||||
epatch "${FILESDIR}/${PV}-euse-382219.patch"
|
||||
epatch "${FILESDIR}/${PV}-setup-394909.patch"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
python_convert_shebangs -r "" build-*/scripts-*
|
||||
distutils_src_install
|
||||
|
||||
# Create cache directory for revdep-rebuild
|
||||
dodir /var/cache/revdep-rebuild
|
||||
keepdir /var/cache/revdep-rebuild
|
||||
use prefix || fowners root:root /var/cache/revdep-rebuild
|
||||
fperms 0700 /var/cache/revdep-rebuild
|
||||
|
||||
# remove on Gentoo Prefix platforms where it's broken anyway
|
||||
if use prefix; then
|
||||
elog "The revdep-rebuild command is removed, the preserve-libs"
|
||||
elog "feature of portage will handle issues."
|
||||
rm "${ED}"/usr/bin/revdep-rebuild
|
||||
rm "${ED}"/usr/share/man/man1/revdep-rebuild.1
|
||||
rm -rf "${ED}"/etc/revdep-rebuild
|
||||
rm -rf "${ED}"/var
|
||||
fi
|
||||
|
||||
# Can distutils handle this?
|
||||
dosym eclean /usr/bin/eclean-dist
|
||||
dosym eclean /usr/bin/eclean-pkg
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
distutils_pkg_postinst
|
||||
|
||||
einfo
|
||||
einfo "For further information on gentoolkit, please read the gentoolkit"
|
||||
einfo "guide: http://www.gentoo.org/doc/en/gentoolkit.xml"
|
||||
einfo
|
||||
einfo "Another alternative to equery is app-portage/portage-utils"
|
||||
ewarn
|
||||
ewarn "glsa-check since gentoolkit 0.3 has modified some output,"
|
||||
ewarn "options and default behavior. The list of injected GLSAs"
|
||||
ewarn "has moved to /var/lib/portage/glsa_injected, please"
|
||||
ewarn "run 'glsa-check -p affected' before copying the existing checkfile."
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST libexttextcat-3.2.0.tar.xz 864460 SHA256 5fce7471ff644500f2ffd72e4ade0fc0d19f810d69cbe59245edb2d4cc51e105 SHA512 6973a098b216f122f6fbafdfc1018cd6d18be98de0344639e6f342a7dbe7c643d27c5ce6b0ae46a26b9b820d344ddc9dc4e781207a57b16f30fc6e2748531a58 WHIRLPOOL 9e562b2ee00ab4363fb0f6c833b20aca36a87151a9d77340e13244b3272380f54f738620fbc920b4307e4ac0a890c58c52d8c2490a2f582d0a505e8d39e0a07a
|
||||
DIST libexttextcat-3.3.1.tar.xz 988072 SHA256 04923138f7eb42ac3f1f47d76c1f9e78c88b7e912a6b6e28f471b91b2f5deaa8 SHA512 1b4f0e0315f9704816537af1260a469d1486bd368a5015eeea88646b1aeec38c8476a81ae131f9a44a53f9afea3e975787491c03e79de50494571e2d42dd5d5c WHIRLPOOL dd742ce2b923de47e9d6054ec98fafdd377495941f496bad8e907d3bb749df13a9b429974e917205aac2456a68b1d92c980c09d1789c8799b21c567773ce08ed
|
||||
DIST libexttextcat-3.4.0.tar.xz 987560 SHA256 a7e08926274daa3932129deb8e86d90417f54d01ed4b8345b984ad262dac0ac2 SHA512 e62914117269292232b082f83ba5bcc9860d896dfed8b4043aab4fcfa7cba89b3c31b876dca7cce39fa5bc5b1788832050ecb50f86d26a4cf853ef7664f257a3 WHIRLPOOL 0d092da2bce0e73dcf167c942a730bd92e9620771decd15d5016a4f7528c6cff6f0eb77f89fe1e92b67d6d366ab14856b872bfce80311ef7d207922aee1b516f
|
||||
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/libexttextcat/libexttextcat-3.4.0.ebuild,v 1.1 2012/11/05 20:39:46 scarabeus Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="Library implementing N-gram-based text categorization"
|
||||
HOMEPAGE="http://software.wise-guys.nl/libtextcat/"
|
||||
SRC_URI="http://dev-www.libreoffice.org/src/${PN}/${P}.tar.xz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="static-libs"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-werror \
|
||||
$(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
find "${ED}" -name '*.la' -exec rm -f {} +
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST boost_1_46_1.tar.bz2 42001335 SHA256 e1dfbf42b16e5015c46b98e9899c423ca4d04469cbeee05e43ea19236416d883 SHA512 e7cc4383bb960cb59eecd29ef66e2c53466fe5f126bde58f50ba104ee8ab220771db5f7b35e4b9856e9f257d1def5a9b7ea48e1d2757976a89c5a2e3f1fdc327 WHIRLPOOL 4d8d94821c996475ec2bab962b92ec061b890a318897cab695e66daef3f9c8687990450fb26fd783fd0c5be35ccb71616994ef0c8e41c555312ae5383e3649cf
|
||||
DIST boost_1_49_0.tar.bz2 48499961 SHA256 dd748a7f5507a7e7af74f452e1c52a64e651ed1f7263fce438a06641d2180d3c SHA512 9f6198270659df112a57731afe31cbf1012d103ba36ed82f6c3f1bdc0185ddb89dcc42c5dfb9ee3f95973d52999aad6c7509dc61125420d45146e39ebf20219d WHIRLPOOL c049b4212307b0208d0b37ac870a7cfb8562d2b685ce505e1971af7bc68ae9746b06ea80ddc52599ed4cbd6dc3305b5f8051cd771387412aaa1d2f8e939a48ba
|
||||
DIST boost_1_51_0.tar.bz2 50811407 SHA256 fb2d2335a29ee7fe040a197292bfce982af84a645c81688a915c84c925b69696 SHA512 43a45ff34879328c57e1694e199b895d7535df7cdf78b127ec2649841ac5973f2dddbc0b00a1ed71f2347def6d44f1d8cc5c0deea120f60f53714ebe28046478 WHIRLPOOL 2cfe8ff8b1b812f1a2d02cad25a06fe2a824ef319d95e113fc307d432ff54f2367ac86d922517ce63fce2335b14a9d86ec0c9858b10466b4bf76d28c1ceca828
|
||||
DIST boost_1_52_0.tar.bz2 54421709 SHA256 222b6afd7723f396f5682c20130314a10196d3999feab5ba920d2a6bf53bac92 SHA512 fc512d3bfa6a39a60fee548775c97239271cf757587b8df7ed739c800844a819a359dca172be0e69ad7752753753139bf11f0813d650066d58386662fe32842d WHIRLPOOL 73bbab4a1d2a652200f4b5e669440a2afcebcea96a1139ecc75213067ca32d5cadb0f060bb0ec2e29e9e31272fb7ec9d2cb960801032ee6c5dcb86564766411d
|
||||
|
@ -0,0 +1,431 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/boost-1.52.0.ebuild,v 1.1 2012/11/05 18:23:56 flameeyes Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_DEPEND="python? *"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="*-jython *-pypy-*"
|
||||
|
||||
inherit flag-o-matic multilib multiprocessing python toolchain-funcs versionator
|
||||
|
||||
MY_P=${PN}_$(replace_all_version_separators _)
|
||||
|
||||
DESCRIPTION="Boost Libraries for C++"
|
||||
HOMEPAGE="http://www.boost.org/"
|
||||
SRC_URI="mirror://sourceforge/boost/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="Boost-1.0"
|
||||
SLOT=0
|
||||
MAJOR_V="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE="debug doc icu mpi python static-libs tools"
|
||||
|
||||
RDEPEND="icu? ( >=dev-libs/icu-3.6:= )
|
||||
!icu? ( virtual/libiconv )
|
||||
mpi? ( || ( sys-cluster/openmpi[cxx] sys-cluster/mpich2[cxx,threads] ) )
|
||||
sys-libs/zlib
|
||||
!app-admin/eselect-boost"
|
||||
DEPEND="${RDEPEND}
|
||||
=dev-util/boost-build-${MAJOR_V}*"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
MAJOR_PV=$(replace_all_version_separators _ ${MAJOR_V})
|
||||
BJAM="b2-${MAJOR_PV}"
|
||||
|
||||
create_user-config.jam() {
|
||||
local compiler compiler_version compiler_executable
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]]; then
|
||||
compiler="darwin"
|
||||
compiler_version="$(gcc-fullversion)"
|
||||
compiler_executable="$(tc-getCXX)"
|
||||
else
|
||||
compiler="gcc"
|
||||
compiler_version="$(gcc-version)"
|
||||
compiler_executable="$(tc-getCXX)"
|
||||
fi
|
||||
local mpi_configuration python_configuration
|
||||
|
||||
if use mpi; then
|
||||
mpi_configuration="using mpi ;"
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
python_configuration="using python : $(python_get_version) : /usr : $(python_get_includedir) : /usr/$(get_libdir) ;"
|
||||
fi
|
||||
|
||||
cat > user-config.jam << __EOF__
|
||||
using ${compiler} : ${compiler_version} : ${compiler_executable} : <cflags>"${CFLAGS}" <cxxflags>"${CXXFLAGS}" <linkflags>"${LDFLAGS}" ;
|
||||
${mpi_configuration}
|
||||
${python_configuration}
|
||||
__EOF__
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
if use python; then
|
||||
python_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}/${PN}-1.48.0-mpi_python3.patch" \
|
||||
"${FILESDIR}/${PN}-1.51.0-respect_python-buildid.patch" \
|
||||
"${FILESDIR}/${PN}-1.51.0-support_dots_in_python-buildid.patch" \
|
||||
"${FILESDIR}/${PN}-1.48.0-no_strict_aliasing_python2.patch" \
|
||||
"${FILESDIR}/${PN}-1.48.0-disable_libboost_python3.patch" \
|
||||
"${FILESDIR}/${PN}-1.48.0-python_linking.patch" \
|
||||
"${FILESDIR}/${PN}-1.48.0-disable_icu_rpath.patch" \
|
||||
"${FILESDIR}/remove-toolset-1.48.0.patch"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
OPTIONS=""
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]]; then
|
||||
# We need to add the prefix, and in two cases this exceeds, so prepare
|
||||
# for the largest possible space allocation.
|
||||
append-ldflags -Wl,-headerpad_max_install_names
|
||||
fi
|
||||
|
||||
# bug 298489
|
||||
if use ppc || use ppc64; then
|
||||
[[ $(gcc-version) > 4.3 ]] && append-flags -mno-altivec
|
||||
fi
|
||||
|
||||
use icu && OPTIONS+=" -sICU_PATH=/usr"
|
||||
use icu || OPTIONS+=" --disable-icu boost.locale.icu=off"
|
||||
use mpi || OPTIONS+=" --without-mpi"
|
||||
use python || OPTIONS+=" --without-python"
|
||||
|
||||
# https://svn.boost.org/trac/boost/attachment/ticket/2597/add-disable-long-double.patch
|
||||
if use sparc || { use mips && [[ ${ABI} = "o32" ]]; } || use hppa || use arm || use x86-fbsd || use sh; then
|
||||
OPTIONS+=" --disable-long-double"
|
||||
fi
|
||||
|
||||
OPTIONS+=" pch=off --boost-build=/usr/share/boost-build-${MAJOR_PV} --prefix=\"${D}usr\" --layout=versioned"
|
||||
|
||||
if use static-libs; then
|
||||
LINK_OPTS="link=shared,static"
|
||||
LIBRARY_TARGETS="*.a *$(get_libname)"
|
||||
else
|
||||
LINK_OPTS="link=shared"
|
||||
# There is no dynamically linked version of libboost_test_exec_monitor and libboost_exception.
|
||||
LIBRARY_TARGETS="libboost_test_exec_monitor*.a libboost_exception*.a *$(get_libname)"
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export BOOST_ROOT="${S}"
|
||||
PYTHON_DIRS=""
|
||||
MPI_PYTHON_MODULE=""
|
||||
NUMJOBS="-j$(makeopts_jobs)"
|
||||
|
||||
building() {
|
||||
create_user-config.jam
|
||||
|
||||
einfo "Using the following command to build:"
|
||||
einfo "${BJAM} ${NUMJOBS} -q -d+2 gentoorelease --user-config=user-config.jam ${OPTIONS} threading=single,multi ${LINK_OPTS} $(use python && echo --python-buildid=${PYTHON_ABI})"
|
||||
|
||||
${BJAM} ${NUMJOBS} -q -d+2 \
|
||||
gentoorelease \
|
||||
--user-config=user-config.jam \
|
||||
${OPTIONS} threading=single,multi ${LINK_OPTS} \
|
||||
$(use python && echo --python-buildid=${PYTHON_ABI}) \
|
||||
|| die "Building of Boost libraries failed"
|
||||
|
||||
# ... and do the whole thing one more time to get the debug libs
|
||||
if use debug; then
|
||||
einfo "Using the following command to build:"
|
||||
einfo "${BJAM} ${NUMJOBS} -q -d+2 gentoodebug --user-config=user-config.jam ${OPTIONS} threading=single,multi ${LINK_OPTS} --buildid=debug $(use python && echo --python-buildid=${PYTHON_ABI})"
|
||||
|
||||
${BJAM} ${NUMJOBS} -q -d+2 \
|
||||
gentoodebug \
|
||||
--user-config=user-config.jam \
|
||||
${OPTIONS} threading=single,multi ${LINK_OPTS} \
|
||||
--buildid=debug \
|
||||
$(use python && echo --python-buildid=${PYTHON_ABI}) \
|
||||
|| die "Building of Boost debug libraries failed"
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
if [[ -z "${PYTHON_DIRS}" ]]; then
|
||||
PYTHON_DIRS="$(find bin.v2/libs -name python | sort)"
|
||||
else
|
||||
if [[ "${PYTHON_DIRS}" != "$(find bin.v2/libs -name python | sort)" ]]; then
|
||||
die "Inconsistent structure of build directories"
|
||||
fi
|
||||
fi
|
||||
|
||||
local dir
|
||||
for dir in ${PYTHON_DIRS}; do
|
||||
mv ${dir} ${dir}-${PYTHON_ABI} || die "Renaming of '${dir}' to '${dir}-${PYTHON_ABI}' failed"
|
||||
done
|
||||
|
||||
if use mpi; then
|
||||
if [[ -z "${MPI_PYTHON_MODULE}" ]]; then
|
||||
MPI_PYTHON_MODULE="$(find bin.v2/libs/mpi/build/*/gentoorelease -name mpi.so)"
|
||||
if [[ "$(echo "${MPI_PYTHON_MODULE}" | wc -l)" -ne 1 ]]; then
|
||||
die "Multiple mpi.so files found"
|
||||
fi
|
||||
else
|
||||
if [[ "${MPI_PYTHON_MODULE}" != "$(find bin.v2/libs/mpi/build/*/gentoorelease -name mpi.so)" ]]; then
|
||||
die "Inconsistent structure of build directories"
|
||||
fi
|
||||
fi
|
||||
|
||||
mv stage/lib/mpi.so stage/lib/mpi.so-${PYTHON_ABI} || die "Renaming of 'stage/lib/mpi.so' to 'stage/lib/mpi.so-${PYTHON_ABI}' failed"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
if use python; then
|
||||
python_execute_function building
|
||||
else
|
||||
building
|
||||
fi
|
||||
|
||||
if use tools; then
|
||||
pushd tools > /dev/null || die
|
||||
einfo "Using the following command to build the tools:"
|
||||
einfo "${BJAM} ${NUMJOBS} -q -d+2 gentoorelease --user-config=../user-config.jam ${OPTIONS}"
|
||||
|
||||
${BJAM} ${NUMJOBS} -q -d+2\
|
||||
gentoorelease \
|
||||
--user-config=../user-config.jam \
|
||||
${OPTIONS} \
|
||||
|| die "Building of Boost tools failed"
|
||||
popd > /dev/null || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install () {
|
||||
installation() {
|
||||
create_user-config.jam
|
||||
|
||||
if use python; then
|
||||
local dir
|
||||
for dir in ${PYTHON_DIRS}; do
|
||||
cp -pr ${dir}-${PYTHON_ABI} ${dir} || die "Copying of '${dir}-${PYTHON_ABI}' to '${dir}' failed"
|
||||
done
|
||||
|
||||
if use mpi; then
|
||||
cp -p stage/lib/mpi.so-${PYTHON_ABI} "${MPI_PYTHON_MODULE}" || die "Copying of 'stage/lib/mpi.so-${PYTHON_ABI}' to '${MPI_PYTHON_MODULE}' failed"
|
||||
cp -p stage/lib/mpi.so-${PYTHON_ABI} stage/lib/mpi.so || die "Copying of 'stage/lib/mpi.so-${PYTHON_ABI}' to 'stage/lib/mpi.so' failed"
|
||||
fi
|
||||
fi
|
||||
|
||||
einfo "Using the following command to install:"
|
||||
einfo "${BJAM} -q -d+2 gentoorelease --user-config=user-config.jam ${OPTIONS} threading=single,multi ${LINK_OPTS} --includedir=\"${D}usr/include\" --libdir=\"${D}usr/$(get_libdir)\" $(use python && echo --python-buildid=${PYTHON_ABI}) install"
|
||||
|
||||
${BJAM} -q -d+2 \
|
||||
gentoorelease \
|
||||
--user-config=user-config.jam \
|
||||
${OPTIONS} threading=single,multi ${LINK_OPTS} \
|
||||
--includedir="${D}usr/include" \
|
||||
--libdir="${D}usr/$(get_libdir)" \
|
||||
$(use python && echo --python-buildid=${PYTHON_ABI}) \
|
||||
install || die "Installation of Boost libraries failed"
|
||||
|
||||
if use debug; then
|
||||
einfo "Using the following command to install:"
|
||||
einfo "${BJAM} -q -d+2 gentoodebug --user-config=user-config.jam ${OPTIONS} threading=single,multi ${LINK_OPTS} --includedir=\"${D}usr/include\" --libdir=\"${D}usr/$(get_libdir)\" --buildid=debug $(use python && echo --python-buildid=${PYTHON_ABI})"
|
||||
|
||||
${BJAM} -q -d+2 \
|
||||
gentoodebug \
|
||||
--user-config=user-config.jam \
|
||||
${OPTIONS} threading=single,multi ${LINK_OPTS} \
|
||||
--includedir="${D}usr/include" \
|
||||
--libdir="${D}usr/$(get_libdir)" \
|
||||
--buildid=debug \
|
||||
$(use python && echo --python-buildid=${PYTHON_ABI}) \
|
||||
install || die "Installation of Boost debug libraries failed"
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
rm -r ${PYTHON_DIRS} || die
|
||||
|
||||
# Move mpi.so Python module to Python site-packages directory and make sure it is slotted.
|
||||
if use mpi; then
|
||||
mkdir -p "${D}$(python_get_sitedir)/boost_${MAJOR_PV}" || die
|
||||
mv "${D}usr/$(get_libdir)/mpi.so" "${D}$(python_get_sitedir)/boost_${MAJOR_PV}" || die
|
||||
cat << EOF > "${D}$(python_get_sitedir)/boost_${MAJOR_PV}/__init__.py" || die
|
||||
import sys
|
||||
if sys.platform.startswith('linux'):
|
||||
import DLFCN
|
||||
flags = sys.getdlopenflags()
|
||||
sys.setdlopenflags(DLFCN.RTLD_NOW | DLFCN.RTLD_GLOBAL)
|
||||
from . import mpi
|
||||
sys.setdlopenflags(flags)
|
||||
del DLFCN, flags
|
||||
else:
|
||||
from . import mpi
|
||||
del sys
|
||||
EOF
|
||||
fi
|
||||
fi
|
||||
}
|
||||
if use python; then
|
||||
python_execute_function installation
|
||||
else
|
||||
installation
|
||||
fi
|
||||
|
||||
use python || rm -rf "${D}usr/include/boost-${MAJOR_PV}/boost"/python* || die
|
||||
|
||||
if use doc; then
|
||||
find libs/*/* -iname "test" -or -iname "src" | xargs rm -rf
|
||||
dohtml \
|
||||
-A pdf,txt,cpp,hpp \
|
||||
*.{htm,html,png,css} \
|
||||
-r doc
|
||||
dohtml \
|
||||
-A pdf,txt \
|
||||
-r tools
|
||||
insinto /usr/share/doc/${PF}/html
|
||||
doins -r libs
|
||||
doins -r more
|
||||
|
||||
# To avoid broken links
|
||||
insinto /usr/share/doc/${PF}/html
|
||||
doins LICENSE_1_0.txt
|
||||
|
||||
dosym /usr/include/boost /usr/share/doc/${PF}/html/boost
|
||||
fi
|
||||
|
||||
dosym boost-${MAJOR_PV}/boost /usr/include/boost
|
||||
|
||||
pushd "${D}usr/$(get_libdir)" > /dev/null || die
|
||||
|
||||
# The threading libs obviously always gets the "-mt" (multithreading) tag
|
||||
# some packages seem to have a problem with it. Creating symlinks...
|
||||
|
||||
if use static-libs; then
|
||||
THREAD_LIBS="libboost_thread-mt-${MAJOR_PV}.a libboost_thread-mt-${MAJOR_PV}$(get_libname)"
|
||||
else
|
||||
THREAD_LIBS="libboost_thread-mt-${MAJOR_PV}$(get_libname)"
|
||||
fi
|
||||
local lib
|
||||
for lib in ${THREAD_LIBS}; do
|
||||
dosym ${lib} "/usr/$(get_libdir)/${lib/-mt/}"
|
||||
done
|
||||
|
||||
# The same goes for the mpi libs
|
||||
if use mpi; then
|
||||
if use static-libs; then
|
||||
MPI_LIBS="libboost_mpi-mt-${MAJOR_PV}.a libboost_mpi-mt-${MAJOR_PV}$(get_libname)"
|
||||
else
|
||||
MPI_LIBS="libboost_mpi-mt-${MAJOR_PV}$(get_libname)"
|
||||
fi
|
||||
local lib
|
||||
for lib in ${MPI_LIBS}; do
|
||||
dosym ${lib} "/usr/$(get_libdir)/${lib/-mt/}"
|
||||
done
|
||||
fi
|
||||
|
||||
if use debug; then
|
||||
if use static-libs; then
|
||||
THREAD_DEBUG_LIBS="libboost_thread-mt-${MAJOR_PV}-debug$(get_libname) libboost_thread-mt-${MAJOR_PV}-debug.a"
|
||||
else
|
||||
THREAD_DEBUG_LIBS="libboost_thread-mt-${MAJOR_PV}-debug$(get_libname)"
|
||||
fi
|
||||
|
||||
local lib
|
||||
for lib in ${THREAD_DEBUG_LIBS}; do
|
||||
dosym ${lib} "/usr/$(get_libdir)/${lib/-mt/}"
|
||||
done
|
||||
|
||||
if use mpi; then
|
||||
if use static-libs; then
|
||||
MPI_DEBUG_LIBS="libboost_mpi-mt-${MAJOR_PV}-debug.a libboost_mpi-mt-${MAJOR_PV}-debug$(get_libname)"
|
||||
else
|
||||
MPI_DEBUG_LIBS="libboost_mpi-mt-${MAJOR_PV}-debug$(get_libname)"
|
||||
fi
|
||||
|
||||
local lib
|
||||
for lib in ${MPI_DEBUG_LIBS}; do
|
||||
dosym ${lib} "/usr/$(get_libdir)/${lib/-mt/}"
|
||||
done
|
||||
fi
|
||||
fi
|
||||
|
||||
local f
|
||||
for f in $(ls -1 ${LIBRARY_TARGETS} | grep -v debug); do
|
||||
dosym ${f} /usr/$(get_libdir)/${f/-${MAJOR_PV}}
|
||||
done
|
||||
|
||||
if use debug; then
|
||||
dodir /usr/$(get_libdir)/boost-debug
|
||||
local f
|
||||
for f in $(ls -1 ${LIBRARY_TARGETS} | grep debug); do
|
||||
dosym ../${f} /usr/$(get_libdir)/boost-debug/${f/-${MAJOR_PV}-debug}
|
||||
done
|
||||
fi
|
||||
|
||||
popd > /dev/null || die
|
||||
|
||||
if use tools; then
|
||||
pushd dist/bin > /dev/null || die
|
||||
# Append version postfix to binaries for slotting
|
||||
local b
|
||||
for b in *; do
|
||||
newbin "${b}" "${b}-${MAJOR_PV}"
|
||||
done
|
||||
popd > /dev/null || die
|
||||
|
||||
pushd dist > /dev/null || die
|
||||
insinto /usr/share
|
||||
doins -r share/boostbook
|
||||
# Append version postfix for slotting
|
||||
mv "${D}usr/share/boostbook" "${D}usr/share/boostbook-${MAJOR_PV}" || die
|
||||
popd > /dev/null || die
|
||||
fi
|
||||
|
||||
pushd status > /dev/null || die
|
||||
if [[ -f regress.log ]]; then
|
||||
docinto status
|
||||
dohtml *.html ../boost.png
|
||||
dodoc regress.log
|
||||
fi
|
||||
popd > /dev/null || die
|
||||
|
||||
# boost's build system truely sucks for not having a destdir. Because for
|
||||
# this reason we are forced to build with a prefix that includes the
|
||||
# DESTROOT, dynamic libraries on Darwin end messed up, referencing the
|
||||
# DESTROOT instread of the actual EPREFIX. There is no way out of here
|
||||
# but to do it the dirty way of manually setting the right install_names.
|
||||
if [[ ${CHOST} == *-darwin* ]]; then
|
||||
einfo "Working around completely broken build-system(tm)"
|
||||
local d
|
||||
for d in "${ED}"usr/lib/*.dylib; do
|
||||
if [[ -f ${d} ]]; then
|
||||
# fix the "soname"
|
||||
ebegin " correcting install_name of ${d#${ED}}"
|
||||
install_name_tool -id "/${d#${D}}" "${d}"
|
||||
eend $?
|
||||
# fix references to other libs
|
||||
refs=$(otool -XL "${d}" | \
|
||||
sed -e '1d' -e 's/^\t//' | \
|
||||
grep "^libboost_" | \
|
||||
cut -f1 -d' ')
|
||||
local r
|
||||
for r in ${refs}; do
|
||||
ebegin " correcting reference to ${r}"
|
||||
install_name_tool -change \
|
||||
"${r}" \
|
||||
"${EPREFIX}/usr/lib/${r}" \
|
||||
"${d}"
|
||||
eend $?
|
||||
done
|
||||
fi
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
# the tests will never fail because these are not intended as sanity
|
||||
# tests at all. They are more a way for upstream to check their own code
|
||||
# on new compilers. Since they would either be completely unreliable
|
||||
# (failing for no good reason) or completely useless (never failing)
|
||||
# there is no point in having them in the ebuild to begin with.
|
||||
src_test() { :; }
|
@ -1,4 +1,3 @@
|
||||
DIST logilab-common-0.55.2.tar.gz 182524 SHA256 3242039f4e0732b510e03ef638f1ea43e65ddb7154164a9bda02514ee514f99a SHA512 bbc5b3ee84e53a20ddd04be9703022ae73b163537c9a9d812ec4c49fdfdfa9758c3a45e065cb8fb693cca2deb1dfbd032493923ab3000f59d88945139f95719a WHIRLPOOL 8d5f6c62ebf5e5ced1902f4dfed457b94aa879b92ceb854ed715b0d2975a82ebefb38f64bf4f1ff6bf7a57ae63ec4a56f867782d1e0739ed1ee35474e3490b92
|
||||
DIST logilab-common-0.57.1.tar.gz 181975 SHA256 102c4860cad1ffaee98e6746ad89de4e5c40b63a569d4e131379b84c4907ed0a SHA512 84d4be823fbbff0944a6f9162dc365feea6e6116d43c2c5a65726a4e7347c771fbecaf9a4d8d81c3cdd7f79ab9a6697ab1def0bf1f4219cb947c8b1a7012c023 WHIRLPOOL 95914ed46451447f2b023fc4b86bc8c27bc2d9a99c2b7e73da6ea704877a8ed761c56cf4562afccffb6d6b7da0853cc5575922c790de7f81438a0c6c343286b0
|
||||
DIST logilab-common-0.57.2.tar.gz 182851 SHA256 feb56645bf944cbbb4d193e77d5780463084c0d2b50370885054f9144e0da86e SHA512 cbc4f96bced643b8ad0d49d06124bce68bcfbff04195c71b6ab9057dfc836f9b509f31d97c4ff35b2ccaba98a01dc6de095bc125ed37c20cbc378cb5d8d35646 WHIRLPOOL 13d4090e829d575ba438de260f014c5352bc5745f96209d2df54e580c10daf7db9ec5f1afb0d406614844b9fba347792b6fe7e5d66705b53e747336c54d05296
|
||||
DIST logilab-common-0.58.1.tar.gz 193990 SHA256 2fadd2fa938fd033c8a7e126cfe835f6b790de918b0f0d2c631b49962e9e7ff9 SHA512 b70bdf2b00ac75c34e74b341886008b0069c96f38308af62c093756fdbb218bbbcbb6b95827099f2c0da2c43744eb9029f3dc546947bfc7e0b32a9ed8df6dc7b WHIRLPOOL f059b457d286db7d3b71b4f6e1f9a659a151a8930ff65565a617345151e467e587aae2524846b24190437bfc634523210868dd160cf65db674cd03606ae8e5fb
|
||||
|
@ -1,3 +1,4 @@
|
||||
DIST boost_1_46_1.tar.bz2 42001335 SHA256 e1dfbf42b16e5015c46b98e9899c423ca4d04469cbeee05e43ea19236416d883 SHA512 e7cc4383bb960cb59eecd29ef66e2c53466fe5f126bde58f50ba104ee8ab220771db5f7b35e4b9856e9f257d1def5a9b7ea48e1d2757976a89c5a2e3f1fdc327 WHIRLPOOL 4d8d94821c996475ec2bab962b92ec061b890a318897cab695e66daef3f9c8687990450fb26fd783fd0c5be35ccb71616994ef0c8e41c555312ae5383e3649cf
|
||||
DIST boost_1_49_0.tar.bz2 48499961 SHA256 dd748a7f5507a7e7af74f452e1c52a64e651ed1f7263fce438a06641d2180d3c SHA512 9f6198270659df112a57731afe31cbf1012d103ba36ed82f6c3f1bdc0185ddb89dcc42c5dfb9ee3f95973d52999aad6c7509dc61125420d45146e39ebf20219d WHIRLPOOL c049b4212307b0208d0b37ac870a7cfb8562d2b685ce505e1971af7bc68ae9746b06ea80ddc52599ed4cbd6dc3305b5f8051cd771387412aaa1d2f8e939a48ba
|
||||
DIST boost_1_51_0.tar.bz2 50811407 SHA256 fb2d2335a29ee7fe040a197292bfce982af84a645c81688a915c84c925b69696 SHA512 43a45ff34879328c57e1694e199b895d7535df7cdf78b127ec2649841ac5973f2dddbc0b00a1ed71f2347def6d44f1d8cc5c0deea120f60f53714ebe28046478 WHIRLPOOL 2cfe8ff8b1b812f1a2d02cad25a06fe2a824ef319d95e113fc307d432ff54f2367ac86d922517ce63fce2335b14a9d86ec0c9858b10466b4bf76d28c1ceca828
|
||||
DIST boost_1_52_0.tar.bz2 54421709 SHA256 222b6afd7723f396f5682c20130314a10196d3999feab5ba920d2a6bf53bac92 SHA512 fc512d3bfa6a39a60fee548775c97239271cf757587b8df7ed739c800844a819a359dca172be0e69ad7752753753139bf11f0813d650066d58386662fe32842d WHIRLPOOL 73bbab4a1d2a652200f4b5e669440a2afcebcea96a1139ecc75213067ca32d5cadb0f060bb0ec2e29e9e31272fb7ec9d2cb960801032ee6c5dcb86564766411d
|
||||
|
@ -0,0 +1,140 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/boost-build/boost-build-1.52.0.ebuild,v 1.1 2012/11/05 18:23:38 flameeyes Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_DEPEND="python? 2"
|
||||
|
||||
inherit eutils flag-o-matic python toolchain-funcs versionator
|
||||
|
||||
MY_PV=$(replace_all_version_separators _)
|
||||
MAJOR_PV="$(replace_all_version_separators _ $(get_version_component_range 1-2))"
|
||||
|
||||
DESCRIPTION="A system for large project software construction, which is simple to use and powerful."
|
||||
HOMEPAGE="http://www.boost.org/doc/tools/build/index.html"
|
||||
SRC_URI="mirror://sourceforge/boost/boost_${MY_PV}.tar.bz2"
|
||||
|
||||
LICENSE="Boost-1.0"
|
||||
SLOT=0
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE="examples python test"
|
||||
|
||||
REQUIRED_USE="test? ( python )"
|
||||
|
||||
RDEPEND="!<dev-libs/boost-1.34.0
|
||||
!<=dev-util/boost-build-1.35.0-r1"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( sys-apps/diffutils )"
|
||||
|
||||
S="${WORKDIR}/boost_${MY_PV}/tools/build/v2"
|
||||
|
||||
pkg_setup() {
|
||||
if use python; then
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
tar xjpf "${DISTDIR}/${A}" boost_${MY_PV}/tools/build/v2 || die "unpacking tar failed"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}/${PN}-1.48.0-support_dots_in_python-buildid.patch" \
|
||||
"${FILESDIR}/${PN}-1.48.0-disable_python_rpath.patch" \
|
||||
"${FILESDIR}/${PN}-1.50.0-respect-c_ld-flags.patch" \
|
||||
"${FILESDIR}/${PN}-1.50.0-fix-test.patch"
|
||||
|
||||
# Remove stripping option
|
||||
cd "${S}/engine"
|
||||
sed -i -e 's|-s\b||' \
|
||||
build.jam || die "sed failed"
|
||||
|
||||
# Force regeneration
|
||||
rm jambase.c || die
|
||||
|
||||
# This patch allows us to fully control optimization
|
||||
# and stripping flags when bjam is used as build-system
|
||||
# We simply extend the optimization and debug-symbols feature
|
||||
# with empty dummies called 'none'
|
||||
cd "${S}"
|
||||
sed -i \
|
||||
-e 's/\(off speed space\)/\1 none/' \
|
||||
-e 's/\(debug-symbols : on off\)/\1 none/' \
|
||||
tools/builtin.jam || die "sed failed"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# For slotting
|
||||
sed -i \
|
||||
-e "s|/usr/share/boost-build|/usr/share/boost-build-${MAJOR_PV}|" \
|
||||
engine/Jambase || die "sed failed"
|
||||
|
||||
if use python; then
|
||||
# replace versions by user-selected one (TODO: fix this when slot-op
|
||||
# deps are available to always match the best version available)
|
||||
sed -i \
|
||||
-e "s|2.7 2.6 2.5 2.4 2.3 2.2|${PYTHON_ABI}|" \
|
||||
engine/build.jam || die "sed failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd engine
|
||||
|
||||
local toolset
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]]; then
|
||||
toolset=darwin
|
||||
else
|
||||
# Using boost's generic toolset here, which respects CC and CFLAGS
|
||||
toolset=cc
|
||||
fi
|
||||
|
||||
CC=$(tc-getCC) ./build.sh ${toolset} -d+2 $(use_with python python /usr) || die "building bjam failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
newbin engine/bin.*/bjam bjam-${MAJOR_PV}
|
||||
newbin engine/bin.*/b2 b2-${MAJOR_PV}
|
||||
|
||||
insinto /usr/share/boost-build-${MAJOR_PV}
|
||||
doins -r "${FILESDIR}/site-config.jam" \
|
||||
boost-build.jam bootstrap.jam build-system.jam user-config.jam *.py \
|
||||
build kernel options tools util
|
||||
|
||||
rm "${D}/usr/share/boost-build-${MAJOR_PV}/build/project.ann.py" || die "removing faulty python file failed"
|
||||
if ! use python; then
|
||||
find "${D}/usr/share/boost-build-${MAJOR_PV}" -iname "*.py" -delete || die "removing experimental python files failed"
|
||||
fi
|
||||
|
||||
dodoc changes.txt hacking.txt release_procedure.txt \
|
||||
notes/build_dir_option.txt notes/relative_source_paths.txt
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r example
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd test
|
||||
|
||||
export TMP="${T}"
|
||||
|
||||
DO_DIFF="${PREFIX}/usr/bin/diff" $(PYTHON -2) test_all.py
|
||||
|
||||
if [[ -s test_results.txt ]]; then
|
||||
eerror "At least one test failed: $(<test_results.txt)"
|
||||
die "tests failed"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use python && python_mod_optimize /usr/share/boost-build-${MAJOR_PV}
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use python && python_mod_cleanup /usr/share/boost-build-${MAJOR_PV}
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST cppcheck-1.56.tar.bz2 1131979 SHA256 0de45db8126a11f396130235a8b0c93ceff150a0afa675f5c7f5a07395c31df5 SHA512 f9dd83f38dc0255ecd122f7e7270e72ace5e9a4bbd14d94c9e47eff766c4eef3951f8b222a1c6e8b2613ba01d4e2140615f3309a0a60daacc399b3220038dec4 WHIRLPOOL b8ee263861048506e9da2e3b45dff2af69e3f2ddf47fef6e04f945b8576bad63c617b9eaf2daff994f0681958009fb1d60fdec8637355e668aedf11a4872fbdc
|
||||
DIST cppcheck-1.57.tar.bz2 1180272 SHA256 8774a804e08465787e3ddc3af9faf496606c207aa65f750eefd2851a9ccdafd5 SHA512 14afca2fb2cac3965b189b1f110554d40c1db259b6f839407c3e2937d322ec9323e1f2fc1207bd1ba9c1e7af6f77fc5521a6201a7223d10be21fac6c625919df WHIRLPOOL 38e95045c66cd8df1f3e57925288b8ae6ac50c96fa7219f61361dd68b2f704079384480ef89b59f11e607dfebed74a49140cdaab073ff758299a3e71a65d5b5a
|
||||
|
@ -0,0 +1,80 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/cppcheck/cppcheck-1.57.ebuild,v 1.1 2012/11/05 17:53:47 xmw Exp $
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="htmlreport? 2"
|
||||
|
||||
inherit distutils eutils qt4-r2 toolchain-funcs
|
||||
|
||||
DESCRIPTION="static analyzer of C/C++ code"
|
||||
HOMEPAGE="http://apps.sourceforge.net/trac/cppcheck/"
|
||||
SRC_URI="mirror://sourceforge/cppcheck/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="htmlreport qt4"
|
||||
|
||||
DEPEND="htmlreport? ( dev-python/pygments )
|
||||
qt4? ( x11-libs/qt-gui:4 )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DISTUTILS_SETUP_FILES=("htmlreport|setup.py")
|
||||
|
||||
pkg_setup() {
|
||||
if use htmlreport ; then
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if use htmlreport ; then
|
||||
pushd htmlreport
|
||||
python_convert_shebangs -r 2 .
|
||||
distutils_src_prepare
|
||||
popd
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export CXX
|
||||
if use qt4 ; then
|
||||
pushd gui
|
||||
qt4-r2_src_configure
|
||||
popd
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake || die
|
||||
if use qt4 ; then
|
||||
pushd gui
|
||||
qt4-r2_src_compile
|
||||
popd
|
||||
fi
|
||||
use htmlreport && distutils_src_compile
|
||||
#https://sourceforge.net/apps/trac/cppcheck/ticket/4149
|
||||
#$(tc-getCXX) ${CFLAGS} ${LDFLAGS} -o ${PN}-democlient.cgi \
|
||||
# democlient.cpp -I../lib democlient.cpp
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}" || die
|
||||
dodoc readme.txt || die
|
||||
if use qt4 ; then
|
||||
dobin gui/${PN}-gui || die
|
||||
dodoc readme_gui.txt gui/{projectfile.txt,gui.cppcheck} || die
|
||||
fi
|
||||
use htmlreport && distutils_src_install
|
||||
#dobin ${PN}-democlient.cgi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use htmlreport && distutils_pkg_postinst
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use htmlreport && distutils_pkg_postrm
|
||||
}
|
@ -0,0 +1,91 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/ddd/ddd-3.3.12-r3.ebuild,v 1.1 2012/11/06 01:04:41 reavertm Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit autotools-utils eutils
|
||||
|
||||
DESCRIPTION="Graphical front-end for command-line debuggers"
|
||||
HOMEPAGE="http://www.gnu.org/software/ddd"
|
||||
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3 LGPL-3 FDL-1.1"
|
||||
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
SLOT="0"
|
||||
IUSE="+gnuplot readline"
|
||||
|
||||
COMMON_DEPEND="
|
||||
sys-devel/gdb
|
||||
sys-libs/ncurses
|
||||
x11-libs/libX11
|
||||
x11-libs/libXaw
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXpm
|
||||
x11-libs/libXt
|
||||
>=x11-libs/motif-2.3:0
|
||||
ppc? ( dev-libs/elfutils )
|
||||
ppc64? ( dev-libs/elfutils )
|
||||
readline? ( sys-libs/readline )
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
x11-proto/xproto
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
x11-apps/xfontsel
|
||||
gnuplot? ( sci-visualization/gnuplot )
|
||||
"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-gcc44.patch"
|
||||
"${FILESDIR}/${P}-gdb-disassembler-bug.patch"
|
||||
"${FILESDIR}/${PN}-3.3.12-man.patch"
|
||||
)
|
||||
|
||||
DOCS=(
|
||||
AUTHORS CREDITS INSTALL NEWS PROBLEMS README TIPS TODO
|
||||
doc/ddd{-paper.ps,.pdf,-themes.pdf}
|
||||
)
|
||||
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--disable-static
|
||||
--with-termlib=ncurses
|
||||
$(use_with readline)
|
||||
)
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Remove app defaults
|
||||
rm -f "${S}"/ddd/Ddd
|
||||
|
||||
# Install ddd distribution
|
||||
autotools-utils_src_install
|
||||
|
||||
# Install application icon
|
||||
doicon "${S}"/icons/ddd.xpm
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if ! use gnuplot; then
|
||||
echo
|
||||
elog "To enable data visualization in DDD, install sci-visualization/gnuplot,"
|
||||
elog "or re-emerge DDD with gnuplot USE flag (recommended)."
|
||||
elog "For flat file package.use layout:"
|
||||
elog " echo '${CATEGORY}/${PN} gnuplot' >> /etc/portage/package.use && emerge -va gnuplot"
|
||||
elog "For directory package.use layout:"
|
||||
elog " echo '${CATEGORY}/${PN} gnuplot' > /etc/portage/package.use/ddd && emerge -va gnuplot"
|
||||
fi
|
||||
echo
|
||||
elog "To be able to debug java, bash, perl or python scripts within DDD, install respectively:"
|
||||
elog " virtual/jdk"
|
||||
elog " app-shells/bashdb"
|
||||
elog " dev-lang/perl"
|
||||
elog " dev-python/pydb"
|
||||
echo
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
--- a/ddd/GDBAgent.C 2004-09-01 20:07:38.000000000 +0200
|
||||
+++ b/ddd/GDBAgent.C 2010-06-15 14:16:34.000000000 +0200
|
||||
@@ -3078,7 +3078,7 @@
|
||||
{
|
||||
string end_( end );
|
||||
normalize_address(end_);
|
||||
- cmd += ' ';
|
||||
+ cmd += ',';
|
||||
cmd += end_;
|
||||
}
|
||||
return cmd;
|
@ -0,0 +1,16 @@
|
||||
diff -ruN ddd-3.3.12/ddd/Makefile.am ddd-my/ddd/Makefile.am
|
||||
--- ddd-3.3.12/ddd/Makefile.am 2009-02-11 18:25:07.000000000 +0100
|
||||
+++ ddd-my/ddd/Makefile.am 2012-11-06 01:48:46.363493473 +0100
|
||||
@@ -1371,10 +1371,8 @@
|
||||
man_MANS = ddd.1
|
||||
|
||||
# `ddd.man' has 8-bit format, `ddd.1' has 7-bit format
|
||||
-ddd.1: ddd.man $(srcdir)/unumlaut.sed
|
||||
- -$(SED) -f $(srcdir)/unumlaut.sed ddd.man | $(DELETE_CR) > $@~ \
|
||||
- && $(MV) $@~ $@
|
||||
-
|
||||
+ddd.1: ddd.man
|
||||
+ iconv -f ISO8859-15 -t UTF8 ddd.man > ddd.1
|
||||
|
||||
|
||||
# -----------------------------------------------------------------------------
|
@ -1 +1,2 @@
|
||||
DIST synopsis-0.12.tar.gz 9849309 SHA256 42d3c63e31e03afa558bdbab895f6630fe7fee2612bbf52fdfa9b959f36b1110 SHA512 15e368a4d290d019bd21f12af51ef61a7133e499626fe3b59316a2490e366267500f8e7a0239c4705dbfcfb6e6390017ab39fe42b24a52b25ede8f1f7c19f160 WHIRLPOOL ba27bd3969d8867bf0024fef2e33a571a1786ab5fe7ed65ef42cb44a0700914e2ebb108d46c3eaa02d506a20deeb577b2573de966b148c0bac61f35d778bc2ff
|
||||
DIST synopsis-0.13.tar.gz 10691494 SHA256 8a27f39203d828ace4a122b8bdc4f98e3746af724f88a0d75e1380fe736dbe5f SHA512 cdd84f4b9fc8a7b0edaa017e7a332bba06cd4fc804c49b84b1558a84e814e3a8a4b8c5801a8eaf149e6475dbacbb879f04ade57e31d660dfac5e0c83887abd54 WHIRLPOOL 0198437a19b8871428ddc1bcbbf01cad3b9e660cdb577f48c3542fcffc2b31acbb92ef5938b4e2d4a0404c5db85de9915772e953b93c45505fd8341748222aea
|
||||
|
@ -0,0 +1,52 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/synopsis/synopsis-0.13.ebuild,v 1.1 2012/11/05 17:53:44 kensington Exp $
|
||||
|
||||
EAPI=4
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
PYTHON_COMPAT=( python2_5 python2_6 python2_7 )
|
||||
|
||||
inherit distutils-r1 multilib toolchain-funcs
|
||||
|
||||
DESCRIPTION="General source code documentation tool"
|
||||
HOMEPAGE="http://synopsis.fresco.org/index.html"
|
||||
SRC_URI="http://synopsis.fresco.org/download/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
COMMON_DEPEND="dev-libs/boehm-gc"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
media-gfx/graphviz"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
${RDEPEND}
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
virtual/pkgconfig"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-0.12-gcc45.patch )
|
||||
|
||||
pkg_setup() {
|
||||
tc-export CC CXX
|
||||
}
|
||||
|
||||
python_prepare() {
|
||||
rm -r src/Synopsis/gc || die "failed to remove bundled lib"
|
||||
|
||||
# the distutils script passes its options to a number of
|
||||
# autoconf scripts, to not all of which these options are
|
||||
# relevant. adding this option disables these useless warnings.
|
||||
sed -e "/self.announce(command)/i\ command += ' --disable-option-checking'" \
|
||||
-i Synopsis/dist/command/config.py || die
|
||||
}
|
||||
|
||||
python_configure() {
|
||||
local mydistutilsargs=(
|
||||
config
|
||||
--libdir=/usr/$(get_libdir)
|
||||
--with-gc-prefix=/usr
|
||||
)
|
||||
esetup.py
|
||||
}
|
@ -1 +1 @@
|
||||
DIST chromium-bsu-0.9.15.tar.gz 1656178 RMD160 2909f2f0da0cb2272b9bf25bf6474d46a346512c SHA1 819107ecb8d0194c0827bc16dec252d30199d7e9 SHA256 6d926cceea6158a74583b6e8927716b9f837fab5693cf4039c6500b50e5147b2
|
||||
DIST chromium-bsu-0.9.15.tar.gz 1656178 SHA256 6d926cceea6158a74583b6e8927716b9f837fab5693cf4039c6500b50e5147b2
|
||||
|
@ -0,0 +1,70 @@
|
||||
--- Makefile
|
||||
+++ Makefile
|
||||
@@ -213,7 +213,7 @@
|
||||
endif
|
||||
endif
|
||||
|
||||
- BASE_CFLAGS = -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes -pipe
|
||||
+ BASE_CFLAGS = -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes
|
||||
|
||||
ifeq ($(USE_OPENAL),1)
|
||||
BASE_CFLAGS += -DUSE_OPENAL=1
|
||||
@@ -239,19 +239,15 @@
|
||||
BASE_CFLAGS += -I/usr/X11R6/include
|
||||
endif
|
||||
|
||||
- OPTIMIZE = -O3 -ffast-math -funroll-loops -fomit-frame-pointer
|
||||
+ OPTIMIZE = -ffast-math -funroll-loops
|
||||
|
||||
ifeq ($(ARCH),x86_64)
|
||||
- OPTIMIZE = -O3 -fomit-frame-pointer -ffast-math -funroll-loops \
|
||||
- -falign-loops=2 -falign-jumps=2 -falign-functions=2 \
|
||||
- -fstrength-reduce
|
||||
+ OPTIMIZE = -ffast-math -funroll-loops
|
||||
# experimental x86_64 jit compiler! you need GNU as
|
||||
HAVE_VM_COMPILED = true
|
||||
else
|
||||
ifeq ($(ARCH),i386)
|
||||
- OPTIMIZE = -O3 -march=i586 -fomit-frame-pointer -ffast-math \
|
||||
- -funroll-loops -falign-loops=2 -falign-jumps=2 \
|
||||
- -falign-functions=2 -fstrength-reduce
|
||||
+ OPTIMIZE = -ffast-math -funroll-loops
|
||||
HAVE_VM_COMPILED=true
|
||||
else
|
||||
ifeq ($(ARCH),ppc)
|
||||
@@ -265,7 +261,7 @@
|
||||
BASE_CFLAGS += -DNO_VM_COMPILED
|
||||
endif
|
||||
|
||||
- DEBUG_CFLAGS = $(BASE_CFLAGS) -g -O0
|
||||
+ DEBUG_CFLAGS = $(BASE_CFLAGS) $(OPTIMIZE)
|
||||
|
||||
RELEASE_CFLAGS=$(BASE_CFLAGS) -DNDEBUG $(OPTIMIZE)
|
||||
|
||||
@@ -274,7 +270,7 @@
|
||||
SHLIBLDFLAGS=-shared $(LDFLAGS)
|
||||
|
||||
THREAD_LDFLAGS=-lpthread
|
||||
- LDFLAGS=-ldl -lm
|
||||
+ LDFLAGS+=-ldl -lm
|
||||
|
||||
ifeq ($(USE_SDL),1)
|
||||
CLIENT_LDFLAGS=$(shell sdl-config --libs)
|
||||
@@ -1153,13 +1149,13 @@
|
||||
|
||||
$(B)/Quake3-UrT.$(ARCH)$(BINEXT): $(Q3OBJ) $(Q3POBJ) $(LIBSDLMAIN)
|
||||
$(echo_cmd) "LD $@"
|
||||
- $(Q)$(CC) -o $@ $(Q3OBJ) $(Q3POBJ) $(CLIENT_LDFLAGS) \
|
||||
- $(LDFLAGS) $(LIBSDLMAIN)
|
||||
+ $(Q)$(CC) -o $@ $(Q3OBJ) $(Q3POBJ) \
|
||||
+ $(LDFLAGS) $(CLIENT_LDFLAGS) $(LIBSDLMAIN)
|
||||
|
||||
$(B)/Quake3-UrT-smp.$(ARCH)$(BINEXT): $(Q3OBJ) $(Q3POBJ_SMP) $(LIBSDLMAIN)
|
||||
$(echo_cmd) "LD $@"
|
||||
- $(Q)$(CC) -o $@ $(Q3OBJ) $(Q3POBJ_SMP) $(CLIENT_LDFLAGS) \
|
||||
- $(THREAD_LDFLAGS) $(LDFLAGS) $(LIBSDLMAIN)
|
||||
+ $(Q)$(CC) -o $@ $(Q3OBJ) $(Q3POBJ_SMP) \
|
||||
+ $(LDFLAGS) $(THREAD_LDFLAGS) $(CLIENT_LDFLAGS) $(LIBSDLMAIN)
|
||||
|
||||
ifneq ($(strip $(LIBSDLMAIN)),)
|
||||
ifneq ($(strip $(LIBSDLMAINSRC)),)
|
@ -0,0 +1,124 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-fps/urbanterror/urbanterror-4.2.005.ebuild,v 1.2 2012/11/05 22:44:15 hasufell Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit check-reqs eutils gnome2-utils games
|
||||
|
||||
DESCRIPTION="Hollywood tactical shooter based on the ioquake3 engine"
|
||||
HOMEPAGE="http://www.urbanterror.info/home/"
|
||||
SRC_URI="http://178.63.102.135/svens_stuff/UrbanTerror42.tar.xz -> ${PN}-4.2.003.tar.xz
|
||||
http://dev.gentoo.org/~hasufell/distfiles/ioq3-for-UrbanTerror-4.2.002.tar.xz
|
||||
http://upload.wikimedia.org/wikipedia/en/5/56/Urbanterror.svg -> ${PN}.svg
|
||||
mirror://gentoo/urbanterror-4.2.003-to-4.2.005-update.tar"
|
||||
|
||||
LICENSE="GPL-2 Q3AEULA"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+curl debug dedicated openal +sdl server smp vorbis"
|
||||
|
||||
RDEPEND="
|
||||
!dedicated? (
|
||||
virtual/opengl
|
||||
curl? ( net-misc/curl )
|
||||
openal? ( media-libs/openal )
|
||||
sdl? ( media-libs/libsdl[X,audio,joystick,opengl,video] )
|
||||
!sdl? ( x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
x11-libs/libXxf86dga
|
||||
x11-libs/libXxf86vm )
|
||||
vorbis? ( media-libs/libogg
|
||||
media-libs/libvorbis )
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
dedicated? ( curl? ( net-misc/curl ) )"
|
||||
|
||||
S=${WORKDIR}/ioq3-for-UrbanTerror-4.2.002
|
||||
S_DATA=${WORKDIR}/UrbanTerror42
|
||||
S_UPDATE=${WORKDIR}/urbanterror-4.2.003-to-4.2.005-update
|
||||
|
||||
CHECKREQS_DISK_BUILD="2700M"
|
||||
CHECKREQS_DISK_USR="1300M"
|
||||
|
||||
pkg_pretend() {
|
||||
check-reqs_pkg_pretend
|
||||
|
||||
if ! use dedicated ; then
|
||||
if ! use sdl && ! use openal ; then
|
||||
ewarn
|
||||
ewarn "Sound support disabled. Enable 'sdl' or 'openal' useflag."
|
||||
ewarn
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-build.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
buildit() { use $1 && echo 1 || echo 0 ; }
|
||||
nobuildit() { use $1 && echo 0 || echo 1 ; }
|
||||
|
||||
emake \
|
||||
ARCH=$(usex amd64 "x86_64" "i386") \
|
||||
DEFAULT_BASEDIR="${GAMES_DATADIR}/${PN}" \
|
||||
BUILD_CLIENT=$(nobuildit dedicated) \
|
||||
BUILD_CLIENT_SMP=$(usex smp "$(nobuildit dedicated)" "0") \
|
||||
BUILD_SERVER=$(usex dedicated "1" "$(buildit server)") \
|
||||
USE_SDL=$(buildit sdl) \
|
||||
USE_OPENAL=$(buildit openal) \
|
||||
USE_OPENAL_DLOPEN=0 \
|
||||
USE_CURL=$(buildit curl) \
|
||||
USE_CURL_DLOPEN=0 \
|
||||
USE_CODEC_VORBIS=$(buildit vorbis) \
|
||||
USE_LOCAL_HEADERS=0 \
|
||||
Q="" \
|
||||
$(usex debug "debug" "release")
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local my_arch=$(usex amd64 "x86_64" "i386")
|
||||
|
||||
doicon -s scalable "${DISTDIR}"/${PN}.svg
|
||||
dodoc ChangeLog README md4-readme.txt "${S_DATA}"/q3ut4/readme42.txt
|
||||
insinto "${GAMES_DATADIR}"/${PN}/q3ut4
|
||||
doins "${S_DATA}"/q3ut4/*.pk3
|
||||
doins "${S_UPDATE}"/*.pk3
|
||||
|
||||
if use !dedicated ; then
|
||||
newgamesbin build/$(usex debug "debug" "release")-linux-${my_arch}/Quake3-UrT$(usex smp "-smp" "").${my_arch} ${PN}
|
||||
make_desktop_entry ${PN} "UrbanTerror"
|
||||
fi
|
||||
|
||||
if use dedicated || use server ; then
|
||||
newgamesbin build/$(usex debug "debug" "release")-linux-${my_arch}/Quake3-UrT-Ded.${my_arch} ${PN}-dedicated
|
||||
docinto examples
|
||||
dodoc "${S_DATA}"/q3ut4/{server.cfg,mapcycle.txt}
|
||||
fi
|
||||
|
||||
prepgamesdirs
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
games_pkg_preinst
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
games_pkg_postinst
|
||||
gnome2_icon_cache_update
|
||||
|
||||
if use openal && ! use dedicated ; then
|
||||
einfo
|
||||
elog "You might need to set:"
|
||||
elog " seta s_useopenal \"1\""
|
||||
elog "in your ~/.q3a/q3ut4/q3config.cfg for openal to work."
|
||||
einfo
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST gcompris-12.01.tar.gz 149465806 SHA256 77e5a4901550dfcad632277437b6895a65a553225224c8a78f2bd5b7b459aa91 SHA512 00a016c66965a8607048ad54e08902ce26dbb0cb424fda8a7b6f5dd8f25a44db94f0b0ea4d60e5a0e2eb575449a9a80893a5bf8f9baf927d27a87f5db067940e WHIRLPOOL 44c37f372b9fbe2b5432d459102c01dd723df0b321f03d0cb84a508f99906ad1f245a5ff8912a3eff33f286d506ebdf1a7d52078a2abaf2ca5830c6c91ba685b
|
||||
DIST gcompris-12.05.tar.bz2 152545527 SHA256 a4e9b9d04fd405c4b9ddc30f84a5f521f7ad1966c5f66c3e873bb84269ef55d0 SHA512 65ecc6746e02adcc7158dff61f236b5b776a0032bb9c30d24cc41388f242f59a98d5e14c41aa27299c711ebf1569323b846a648ccb5e5b64c58440dac3fee77a WHIRLPOOL cc0ba912efbfd4be5dbb7125bf4594b7270715bfea15b0e20ee7697acb84876741931f167c53c9d4b822480662f405c77f045c199084733164da1275789b2e4a
|
||||
|
@ -1,123 +0,0 @@
|
||||
--- gcompris-9.5.orig/Makefile.am
|
||||
+++ gcompris-9.5/Makefile.am
|
||||
@@ -17,7 +17,7 @@
|
||||
# endif
|
||||
|
||||
|
||||
-icondir=$(datadir)/pixmaps
|
||||
+icondir=/usr/share/pixmaps
|
||||
icon_DATA = gcompris.png gcompris-edit.png
|
||||
|
||||
if BUILD_MINGW32
|
||||
@@ -25,7 +25,7 @@
|
||||
Applications_in_files =
|
||||
Applications_DATA =
|
||||
else
|
||||
-Applicationsdir = $(datadir)/applications/
|
||||
+Applicationsdir = /usr/share/applications/
|
||||
Applications_in_files = gcompris.desktop.in gcompris-edit.desktop.in
|
||||
Applications_DATA = gcompris.desktop gcompris-edit.desktop
|
||||
endif
|
||||
--- gcompris-9.5.orig/configure.ac
|
||||
+++ gcompris-9.5/configure.ac
|
||||
@@ -203,10 +203,8 @@
|
||||
USE_DEBUG="$enableval", USE_DEBUG="no")
|
||||
if test "x$USE_DEBUG" == "xyes" ; then
|
||||
AC_DEFINE_UNQUOTED(DEBUG, 1, "Enable debug messages.")
|
||||
- CFLAGS="$CFLAGS $OSX_CFLAGS -Wall -Werror -g"
|
||||
-else
|
||||
- CFLAGS="$CFLAGS $OSX_CFLAGS -Wall -Werror -O2"
|
||||
fi
|
||||
+CFLAGS="$CFLAGS $OSX_CFLAGS -Wall"
|
||||
|
||||
dnl disable activation code
|
||||
AC_ARG_ENABLE(disable-activation-code,
|
||||
@@ -337,28 +335,28 @@
|
||||
fi
|
||||
else
|
||||
dnl Set PACKAGE_LOCALE_DIR in config.h.
|
||||
- AC_DEFINE_UNQUOTED(PACKAGE_LOCALE_DIR, "${myprefix}/${DATADIRNAME}/locale", [GCompris locale directory])
|
||||
+ AC_DEFINE_UNQUOTED(PACKAGE_LOCALE_DIR, "/usr/share/locale", [GCompris locale directory])
|
||||
|
||||
dnl Set PACKAGE_DATA_DIR
|
||||
PACKAGE_DATA_DIR="boards"
|
||||
AC_SUBST(PACKAGE_DATA_DIR)
|
||||
- AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, "${myprefix}/${DATADIRNAME}", [GCompris data directory])
|
||||
+ AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, "${datadir}", [GCompris data directory])
|
||||
|
||||
dnl Plugin Directory
|
||||
my_libdir=`eval echo "${libdir}"`
|
||||
- AC_DEFINE_UNQUOTED(PACKAGE_CLIB_DIR, "${my_libdir}", [Gcompris plugins directory])
|
||||
+ AC_DEFINE_UNQUOTED(PACKAGE_CLIB_DIR, "${libdir}", [Gcompris plugins directory])
|
||||
plugindir=$libdir/gcompris
|
||||
AC_SUBST(plugindir)
|
||||
|
||||
dnl Python plugin Directory
|
||||
- PYTHON_PLUGIN_DIR="${myprefix}/${DATADIRNAME}/${PACKAGE}/python"
|
||||
+ PYTHON_PLUGIN_DIR="${datadir}/${PACKAGE}/python"
|
||||
AC_SUBST(PYTHON_PLUGIN_DIR)
|
||||
|
||||
dnl System GCompris config directory
|
||||
AC_DEFINE_UNQUOTED(SYSTEM_CONFIG_DIR, "/etc", [System GCompris config directory])
|
||||
|
||||
dnl Test for gnuchess
|
||||
- AC_PATH_PROGS(GNUCHESS, gnuchess gnome-gnuchess, no, [/usr/bin:/usr/games:/usr/local/bin:$PATH])
|
||||
+ AC_PATH_PROGS(GNUCHESS, gnuchess gnome-gnuchess, no, [/usr/games/bin:/usr/bin:/usr/games:/usr/local/bin:$PATH])
|
||||
if test x$GNUCHESS = xno; then
|
||||
AC_MSG_ERROR(Couldn't find gnuchess, please install the gnuchess package version 5 or above)
|
||||
fi
|
||||
--- gcompris-9.5.orig/docs/C/Makefile.am
|
||||
+++ gcompris-9.5/docs/C/Makefile.am
|
||||
@@ -10,7 +10,7 @@
|
||||
overview.dia \
|
||||
$(man_MANS)
|
||||
|
||||
-gcompris_helpdir = $(datadir)/gnome/help/$(PACKAGE)/C
|
||||
+gcompris_helpdir = /usr/share/gnome/help/$(PACKAGE)/C
|
||||
|
||||
all: $(doc)
|
||||
|
||||
--- gcompris-9.5.orig/docs/eu/Makefile.am
|
||||
+++ gcompris-9.5/docs/eu/Makefile.am
|
||||
@@ -8,7 +8,7 @@
|
||||
overview.dia \
|
||||
gcompris.texi
|
||||
|
||||
-gcompris_helpdir = $(datadir)/gnome/help/$(PACKAGE)/eu
|
||||
+gcompris_helpdir = /usr/share/gnome/help/$(PACKAGE)/eu
|
||||
|
||||
all: $(doc)
|
||||
|
||||
--- gcompris-9.5.orig/docs/fr/Makefile.am
|
||||
+++ gcompris-9.5/docs/fr/Makefile.am
|
||||
@@ -8,7 +8,7 @@
|
||||
overview.dia \
|
||||
gcompris.texi
|
||||
|
||||
-gcompris_helpdir = $(datadir)/gnome/help/$(PACKAGE)/fr
|
||||
+gcompris_helpdir = /usr/share/gnome/help/$(PACKAGE)/fr
|
||||
|
||||
all: $(doc)
|
||||
|
||||
--- gcompris-9.5.orig/po/Makefile.in.in
|
||||
+++ gcompris-9.5/po/Makefile.in.in
|
||||
@@ -34,7 +34,7 @@
|
||||
datarootdir = @datarootdir@
|
||||
libdir = @libdir@
|
||||
DATADIRNAME = @DATADIRNAME@
|
||||
-itlocaledir = $(prefix)/$(DATADIRNAME)/locale
|
||||
+itlocaledir = /usr/share/locale
|
||||
subdir = po
|
||||
install_sh = @install_sh@
|
||||
# Automake >= 1.8 provides @mkdir_p@.
|
||||
--- gcompris-9.5.orig/src/gcompris/gcompris.c
|
||||
+++ gcompris-9.5/src/gcompris/gcompris.c
|
||||
@@ -1308,7 +1308,7 @@
|
||||
properties->package_plugin_dir = g_strconcat(pkg_clib_dir, "/gcompris", NULL);
|
||||
properties->package_python_plugin_dir = g_strconcat(pkg_data_dir, "/gcompris/python",
|
||||
NULL);
|
||||
- properties->system_icon_dir = g_strconcat(pkg_data_dir, "/pixmaps", NULL);
|
||||
+ properties->system_icon_dir = g_strconcat("/usr/share", "/pixmaps", NULL);
|
||||
properties->menu_dir = g_strdup(properties->package_data_dir);
|
||||
g_free(pkg_data_dir);
|
||||
g_free(pkg_clib_dir);
|
@ -1,89 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-kids/gcompris/gcompris-12.01-r1.ebuild,v 1.1 2012/07/16 06:41:08 mr_bones_ Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
PYTHON_DEPEND="2:2.6"
|
||||
PYTHON_USE_WITH="sqlite threads"
|
||||
|
||||
inherit autotools eutils python games
|
||||
|
||||
DESCRIPTION="full featured educational application for children from 2 to 10"
|
||||
HOMEPAGE="http://gcompris.net/"
|
||||
SRC_URI="mirror://sourceforge/gcompris/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="gnet"
|
||||
|
||||
RDEPEND="x11-libs/gtk+:2
|
||||
gnome-base/librsvg[gtk]
|
||||
media-libs/gstreamer:0.10
|
||||
media-libs/gst-plugins-good
|
||||
media-plugins/gst-plugins-ogg
|
||||
media-plugins/gst-plugins-alsa
|
||||
media-plugins/gst-plugins-vorbis
|
||||
media-libs/sdl-mixer
|
||||
media-libs/libsdl
|
||||
dev-libs/libxml2
|
||||
dev-libs/popt
|
||||
virtual/libintl
|
||||
games-board/gnuchess
|
||||
dev-db/sqlite:3
|
||||
gnet? ( net-libs/gnet:2 )
|
||||
dev-python/pygtk"
|
||||
DEPEND="${RDEPEND}
|
||||
gnome-base/gnome-common
|
||||
dev-perl/XML-Parser
|
||||
sys-devel/gettext
|
||||
sys-apps/texinfo
|
||||
app-text/texi2html
|
||||
virtual/pkgconfig"
|
||||
RDEPEND="${RDEPEND}
|
||||
media-gfx/tuxpaint
|
||||
sci-electronics/gnucap"
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
games_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Drop DEPRECATED flags, bug #387817
|
||||
sed -i -e 's:-D[A-Z_]*DISABLE_DEPRECATED:$(NULL):g' \
|
||||
src/gcompris/Makefile.am src/gcompris/Makefile.in \
|
||||
src/goocanvas/src/Makefile.am src/goocanvas/src/Makefile.in \
|
||||
|| die
|
||||
|
||||
epatch "${FILESDIR}"/${P}-build.patch
|
||||
cp /usr/share/gettext/config.rpath .
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
GNUCHESS="${GAMES_BINDIR}"/gnuchess \
|
||||
egamesconf \
|
||||
--disable-dependency-tracking \
|
||||
--datarootdir="${GAMES_DATADIR}" \
|
||||
--datadir="${GAMES_DATADIR}" \
|
||||
--localedir=/usr/share/locale \
|
||||
--infodir=/usr/share/info \
|
||||
--with-python="$(PYTHON -a)" \
|
||||
$(use_enable gnet) \
|
||||
--enable-sqlite \
|
||||
--enable-py-build-only
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1 || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
find "${D}" -name '*.la' -exec rm -f '{}' +
|
||||
dodoc AUTHORS ChangeLog NEWS README THANKS TODO
|
||||
prepgamesdirs
|
||||
}
|
@ -1,92 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-kids/gcompris/gcompris-12.01.ebuild,v 1.5 2012/05/03 03:26:38 jdhore Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
PYTHON_DEPEND="python? 2:2.6"
|
||||
PYTHON_USE_WITH_OPT="python"
|
||||
PYTHON_USE_WITH="sqlite threads"
|
||||
|
||||
inherit autotools eutils python games
|
||||
|
||||
DESCRIPTION="full featured educational application for children from 2 to 10"
|
||||
HOMEPAGE="http://gcompris.net/"
|
||||
SRC_URI="mirror://sourceforge/gcompris/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
IUSE="gnet python"
|
||||
|
||||
RDEPEND="x11-libs/gtk+:2
|
||||
gnome-base/librsvg[gtk]
|
||||
media-libs/gstreamer:0.10
|
||||
media-libs/gst-plugins-good
|
||||
media-plugins/gst-plugins-ogg
|
||||
media-plugins/gst-plugins-alsa
|
||||
media-plugins/gst-plugins-vorbis
|
||||
media-libs/sdl-mixer
|
||||
media-libs/libsdl
|
||||
dev-libs/libxml2
|
||||
dev-libs/popt
|
||||
virtual/libintl
|
||||
games-board/gnuchess
|
||||
dev-db/sqlite:3
|
||||
gnet? ( net-libs/gnet:2 )
|
||||
python? ( dev-python/pygtk )"
|
||||
DEPEND="${RDEPEND}
|
||||
gnome-base/gnome-common
|
||||
dev-perl/XML-Parser
|
||||
sys-devel/gettext
|
||||
sys-apps/texinfo
|
||||
app-text/texi2html
|
||||
virtual/pkgconfig"
|
||||
RDEPEND="${RDEPEND}
|
||||
media-gfx/tuxpaint
|
||||
sci-electronics/gnucap"
|
||||
|
||||
pkg_setup() {
|
||||
if use python; then
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
fi
|
||||
games_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Drop DEPRECATED flags, bug #387817
|
||||
sed -i -e 's:-D[A-Z_]*DISABLE_DEPRECATED:$(NULL):g' \
|
||||
src/gcompris/Makefile.am src/gcompris/Makefile.in \
|
||||
src/goocanvas/src/Makefile.am src/goocanvas/src/Makefile.in \
|
||||
|| die
|
||||
|
||||
epatch "${FILESDIR}"/${P}-build.patch
|
||||
cp /usr/share/gettext/config.rpath .
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
GNUCHESS="${GAMES_BINDIR}"/gnuchess \
|
||||
egamesconf \
|
||||
--disable-dependency-tracking \
|
||||
--datarootdir="${GAMES_DATADIR}" \
|
||||
--datadir="${GAMES_DATADIR}" \
|
||||
--localedir=/usr/share/locale \
|
||||
--infodir=/usr/share/info \
|
||||
$(use_with python python "$(PYTHON -a)") \
|
||||
$(use_enable gnet) \
|
||||
--enable-sqlite \
|
||||
--enable-py-build-only
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1 || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
find "${D}" -name '*.la' -exec rm -f '{}' +
|
||||
dodoc AUTHORS ChangeLog NEWS README THANKS TODO
|
||||
prepgamesdirs
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue