parent
36d6939f68
commit
bd6155f44a
@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/p11-kit/p11-kit-0.20.1.ebuild,v 1.1 2013/09/27 07:29:21 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Provides a standard configuration setup for installing PKCS#11."
|
||||
HOMEPAGE="http://p11-glue.freedesktop.org/p11-kit.html"
|
||||
SRC_URI="http://p11-glue.freedesktop.org/releases/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~arm-linux ~x86-linux"
|
||||
IUSE="+asn1 debug +trust"
|
||||
REQUIRED_USE="trust? ( asn1 )"
|
||||
|
||||
RDEPEND="asn1? ( >=dev-libs/libtasn1-2.14 )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable trust trust-module) \
|
||||
$(use_enable debug) \
|
||||
$(use_with asn1 libtasn1)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
prune_libtool_files --modules
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST jboss-logging-3.1.3.tar.gz 24989 SHA256 fba22b022984bdaca3c78213957594add4faf7502be157b8dbf2eadccbc23be1 SHA512 9a9b6621d554de2baa23b26c78074063e7c59e05703c2dc710c70167efb581691207b97e4371100802c06a97b149943e098c994d0fb53530a150bf0364b9e63f WHIRLPOOL 8331cfe9f17bb8e6064e9d2d6332b74bba596e953101ec0ce542ffdef8625c46df3363151a952238acbdcae0de1209e162a35a71911b6da4a3784c0980d0cb57
|
@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/jboss-logging/jboss-logging-3.1.3.ebuild,v 1.1 2013/09/26 17:39:00 ercpe Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="JBoss logging framework"
|
||||
HOMEPAGE="http://www.jboss.org/"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.GA.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
CDEPEND="dev-java/jboss-logmanager:0
|
||||
dev-java/slf4j-api:0
|
||||
dev-java/log4j:0"
|
||||
RDEPEND=">=virtual/jre-1.5
|
||||
${CDEPEND}"
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
${CDEPEND}"
|
||||
|
||||
S="${WORKDIR}/${P}.GA/"
|
||||
|
||||
JAVA_SRC_DIR="src/main/java"
|
||||
JAVA_GENTOO_CLASSPATH="jboss-logmanager,slf4j-api,log4j"
|
||||
|
||||
java_prepare() {
|
||||
rm pom.xml || die
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>java</herd>
|
||||
<upstream>
|
||||
<remote-id type="github">jboss-logging/jboss-logging</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1 @@
|
||||
DIST jboss-logmanager-1.5.1.tar.gz 132910 SHA256 3999086ba0c01b249daac8a41b49706a5f595db3b2f24a3e788827baccda95ac SHA512 a586f3619c90390d38c0355024f1d711b11e06efa35b3da9f12f7d98e04debad5250ef30ec9b869d27ffc60d9e5d5c8e690cc4a2b0a71553a2a994cfdef89768 WHIRLPOOL c69a6918308c378d03df37396a0c8e3f83073372bf98236f05015661cb5b3b5190bb7fc68ac7f303c65fb464a6798feb4219313dfd781026bc76e6d6f0444d98
|
@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/jboss-logmanager/jboss-logmanager-1.5.1.ebuild,v 1.1 2013/09/26 17:34:48 ercpe Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="JBoss logging framework"
|
||||
HOMEPAGE="http://www.jboss.org/"
|
||||
SRC_URI="https://github.com/${PN/logmanager/logging}/${PN}/archive/${PV}.Final.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
CDEPEND="dev-java/jboss-modules:0"
|
||||
RDEPEND=">=virtual/jre-1.5
|
||||
${CDEPEND}"
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
${CDEPEND}"
|
||||
|
||||
S="${WORKDIR}/${P}.Final/"
|
||||
|
||||
JAVA_SRC_DIR="src/main/java"
|
||||
JAVA_GENTOO_CLASSPATH="jboss-modules"
|
||||
|
||||
java_prepare() {
|
||||
rm pom.xml || die
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>java</herd>
|
||||
<upstream>
|
||||
<remote-id type="github">jboss-logging/jboss-logmanager</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1 @@
|
||||
DIST jboss-modules-1.3.0.tar.gz 187838 SHA256 d30783899f3399ff69d8a0bb86702a5788d68d3c24b25095dbff19ca17fdea73 SHA512 407858cec3a82ad81262ef1feb28e3c3c259b23f3ed768f8714b28dcb8e2cc6bd68a47f82c8422d2c40ee9d0777a14c968c432a5f10f852bbd08ae434e249e56 WHIRLPOOL c205a754943bf19631de1a5accd20c17f1c6f9813f6abbb0d1ae0282d3c83365a17900477daadfe1c0085ddabc1f6b7d56d5dd475e4991fada96c386b4e2d31c
|
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/jboss-modules/jboss-modules-1.3.0.ebuild,v 1.1 2013/09/26 17:29:17 ercpe Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="JBoss modular classloading system"
|
||||
HOMEPAGE="http://www.jboss.org/"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.Final.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=virtual/jre-1.7"
|
||||
DEPEND=">=virtual/jdk-1.7"
|
||||
|
||||
S="${WORKDIR}/${P}.Final/"
|
||||
|
||||
JAVA_SRC_DIR="src/main/java"
|
||||
|
||||
java_prepare() {
|
||||
rm pom.xml || die
|
||||
mkdir -p target/classes || die
|
||||
cp -vr "${S}"/src/main/resources/* target/classes/ || die
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>java</herd>
|
||||
<upstream>
|
||||
<remote-id type="github">jboss-modules/jboss-modules</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,206 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/R/R-3.0.2.ebuild,v 1.2 2013/09/27 02:47:09 patrick Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit bash-completion-r1 autotools eutils flag-o-matic fortran-2 multilib versionator toolchain-funcs
|
||||
|
||||
BCP=${PN}-20130129.bash_completion
|
||||
DESCRIPTION="Language and environment for statistical computing and graphics"
|
||||
HOMEPAGE="http://www.r-project.org/"
|
||||
SRC_URI="
|
||||
mirror://cran/src/base/R-3/${P}.tar.gz
|
||||
bash-completion? ( http://dev.gentoo.org/~bicatali/distfiles/${BCP}.bz2 )"
|
||||
|
||||
LICENSE="|| ( GPL-2 GPL-3 ) LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-fbsd ~x86-linux ~x64-macos"
|
||||
IUSE="bash-completion cairo doc icu java jpeg lapack minimal nls openmp perl png prefix profile readline static-libs tiff tk X"
|
||||
REQUIRED_USE="png? ( || ( cairo X ) ) jpeg? ( || ( cairo X ) ) tiff? ( || ( cairo X ) )"
|
||||
|
||||
CDEPEND="
|
||||
app-arch/bzip2
|
||||
app-text/ghostscript-gpl
|
||||
dev-libs/libpcre
|
||||
virtual/blas
|
||||
|| ( >=sys-apps/coreutils-8.15 sys-freebsd/freebsd-bin app-misc/realpath )
|
||||
cairo? ( x11-libs/cairo[X] x11-libs/pango )
|
||||
icu? ( dev-libs/icu )
|
||||
jpeg? ( virtual/jpeg:0 )
|
||||
lapack? ( virtual/lapack )
|
||||
perl? ( dev-lang/perl )
|
||||
png? ( media-libs/libpng )
|
||||
readline? ( sys-libs/readline )
|
||||
tk? ( dev-lang/tk )
|
||||
X? ( x11-libs/libXmu x11-misc/xdg-utils )"
|
||||
|
||||
DEPEND="${CDEPEND}
|
||||
virtual/pkgconfig
|
||||
doc? (
|
||||
virtual/latex-base
|
||||
dev-texlive/texlive-fontsrecommended
|
||||
)"
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
( || ( <sys-libs/zlib-1.2.5.1-r1 >=sys-libs/zlib-1.2.5.1-r2[minizip] ) )
|
||||
app-arch/xz-utils
|
||||
java? ( >=virtual/jre-1.5 )"
|
||||
|
||||
RESTRICT="minimal? ( test )"
|
||||
|
||||
R_DIR="${EROOT%/}/usr/$(get_libdir)/${PN}"
|
||||
|
||||
pkg_setup() {
|
||||
if use openmp; then
|
||||
FORTRAN_NEED_OPENMP=1
|
||||
tc-has-openmp || die "Please enable openmp support in your compiler"
|
||||
fi
|
||||
fortran-2_pkg_setup
|
||||
filter-ldflags -Wl,-Bdirect -Bdirect
|
||||
# avoid using existing R installation
|
||||
unset R_HOME
|
||||
# Temporary fix for bug #419761
|
||||
if [[ ($(tc-getCC) == *gcc) && ($(gcc-version) == 4.7) ]]; then
|
||||
append-flags -fno-ipa-cp-clone
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# gentoo bug #322965 (not applied upstream)
|
||||
# https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14505
|
||||
epatch "${FILESDIR}"/${PN}-2.11.1-parallel.patch
|
||||
|
||||
# respect ldflags (not applied upstream)
|
||||
# https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14506
|
||||
epatch "${FILESDIR}"/${PN}-2.12.1-ldflags.patch
|
||||
|
||||
# gentoo bug #383431
|
||||
# https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14951
|
||||
epatch "${FILESDIR}"/${PN}-2.13.1-zlib_header_fix.patch
|
||||
|
||||
# https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14953
|
||||
epatch "${FILESDIR}"/${PN}-3.0.0-rmath-shared.patch
|
||||
|
||||
# fix packages.html for doc (gentoo bug #205103)
|
||||
sed -i \
|
||||
-e "s:../../../library:../../../../$(get_libdir)/R/library:g" \
|
||||
src/library/tools/R/Rd.R || die
|
||||
|
||||
# fix Rscript path when installed (gentoo bug #221061)
|
||||
sed -i \
|
||||
-e "s:-DR_HOME='\"\$(rhome)\"':-DR_HOME='\"${R_DIR}\"':" \
|
||||
src/unix/Makefile.in || die "sed unix Makefile failed"
|
||||
|
||||
# fix HTML links to manual (gentoo bug #273957)
|
||||
sed -i \
|
||||
-e 's:\.\./manual/:manual/:g' \
|
||||
$(grep -Flr ../manual/ doc) || die "sed for HTML links failed"
|
||||
|
||||
use lapack && \
|
||||
export LAPACK_LIBS="$($(tc-getPKG_CONFIG) --libs lapack)"
|
||||
|
||||
if use X; then
|
||||
export R_BROWSER="$(type -p xdg-open)"
|
||||
export R_PDFVIEWER="$(type -p xdg-open)"
|
||||
fi
|
||||
use perl && \
|
||||
export PERL5LIB="${S}/share/perl:${PERL5LIB:+:}${PERL5LIB}"
|
||||
|
||||
# don't search /usr/local
|
||||
sed -i -e '/FLAGS=.*\/local\//c\: # removed by ebuild' configure.ac || die
|
||||
# Fix for Darwin (OS X)
|
||||
if use prefix; then
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
sed -i \
|
||||
-e 's:-install_name libR.dylib:-install_name ${libdir}/R/lib/libR.dylib:' \
|
||||
-e 's:-install_name libRlapack.dylib:-install_name ${libdir}/R/lib/libRlapack.dylib:' \
|
||||
-e 's:-install_name libRblas.dylib:-install_name ${libdir}/R/lib/libRblas.dylib:' \
|
||||
-e "/SHLIB_EXT/s/\.so/.dylib/" \
|
||||
configure.ac || die
|
||||
# sort of "undo" 2.14.1-rmath-shared.patch
|
||||
sed -i \
|
||||
-e "s:-Wl,-soname=libRmath.so:-install_name ${EROOT%/}/usr/$(get_libdir)/libRmath.dylib:" \
|
||||
src/nmath/standalone/Makefile.in || die
|
||||
else
|
||||
append-ldflags -Wl,-rpath="${EROOT%/}/usr/$(get_libdir)/R/lib"
|
||||
fi
|
||||
fi
|
||||
AT_M4DIR=m4 eaclocal
|
||||
eautoconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--enable-byte-compiled-packages \
|
||||
--enable-R-shlib \
|
||||
--disable-R-framework \
|
||||
--with-system-zlib \
|
||||
--with-system-bzlib \
|
||||
--with-system-pcre \
|
||||
--with-system-xz \
|
||||
--with-blas="$($(tc-getPKG_CONFIG) --libs blas)" \
|
||||
--docdir="${EPREFIX}/usr/share/doc/${PF}" \
|
||||
rdocdir="${EPREFIX}/usr/share/doc/${PF}" \
|
||||
$(use_enable nls) \
|
||||
$(use_enable openmp) \
|
||||
$(use_enable profile R-profiling) \
|
||||
$(use_enable profile memory-profiling) \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable static-libs R-static-lib) \
|
||||
$(use_with cairo) \
|
||||
$(use_with icu ICU) \
|
||||
$(use_with jpeg jpeglib) \
|
||||
$(use_with lapack) \
|
||||
$(use_with !minimal recommended-packages) \
|
||||
$(use_with png libpng) \
|
||||
$(use_with readline) \
|
||||
$(use_with tiff libtiff) \
|
||||
$(use_with tk tcltk) \
|
||||
$(use_with X x)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export VARTEXFONTS="${T}/fonts"
|
||||
emake AR="$(tc-getAR)"
|
||||
emake -C src/nmath/standalone shared $(use static-libs && echo static) AR="$(tc-getAR)"
|
||||
use doc && emake info pdf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
emake -j1 -C src/nmath/standalone DESTDIR="${D}" install
|
||||
|
||||
if use doc; then
|
||||
emake DESTDIR="${D}" install-info install-pdf
|
||||
dosym ../manual /usr/share/doc/${PF}/html/manual
|
||||
fi
|
||||
|
||||
cat > 99R <<-EOF
|
||||
LDPATH=${R_DIR}/lib
|
||||
R_HOME=${R_DIR}
|
||||
EOF
|
||||
doenvd 99R
|
||||
use bash-completion && newbashcomp "${WORKDIR}"/${BCP} ${PN}
|
||||
# The buildsystem has a different understanding of install_names than what
|
||||
# we require. Since it builds modules like shared objects (wrong), many
|
||||
# objects (all modules) get an incorrect install_name. Fixing the build
|
||||
# system here is not really trivial.
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
local mod
|
||||
pushd "${ED}"/usr/lib/R > /dev/null
|
||||
for mod in $(find . -name "*.dylib") ; do
|
||||
mod=${mod#./}
|
||||
install_name_tool -id "${EPREFIX}/usr/lib/R/${mod}" \
|
||||
"${mod}"
|
||||
done
|
||||
popd > /dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use java; then
|
||||
einfo "Re-initializing java paths for ${P}"
|
||||
R CMD javareconf
|
||||
fi
|
||||
}
|
@ -1,76 +0,0 @@
|
||||
|
||||
Crashes on clipboard operations
|
||||
|
||||
http://mantis.freepascal.org/view.php?id=12396
|
||||
|
||||
--- lcl/interfaces/gtk/gtkwidgetset.inc
|
||||
+++ lcl/interfaces/gtk/gtkwidgetset.inc
|
||||
@@ -5055,11 +5055,16 @@
|
||||
while (CurSelList<>nil) do begin
|
||||
TargetSelList := CurSelList^.Data;
|
||||
gtk_target_list_unref(TargetSelList^.List);
|
||||
+ {$ifndef gtk1}
|
||||
+ if (gtk_major_version = 2) and (gtk_minor_version > 12) and (@g_slice_free1 <> nil) then
|
||||
+ g_slice_free1(SizeOf(TGtkTargetSelectionList), TargetSelList)
|
||||
+ else
|
||||
+ {$endif}
|
||||
g_free(TargetSelList);
|
||||
CurSelList := CurSelList^.Next;
|
||||
end;
|
||||
g_list_free(SelectionLists);
|
||||
- gtk_object_set_data (PGtkObject(Widget),gtk_selection_handler_key,GtkNil);
|
||||
+ gtk_object_set_data (PGtkObject(Widget), gtk_selection_handler_key, GtkNil);
|
||||
{$IFDEF DEBUG_CLIPBOARD}
|
||||
DebugLn(' ClearTargetLists WWW END');
|
||||
{$ENDIF}
|
||||
--- lcl/interfaces/gtk/gtkextra.pp
|
||||
+++ lcl/interfaces/gtk/gtkextra.pp
|
||||
@@ -54,4 +54,11 @@
|
||||
{$I gtk2extra.inc}
|
||||
{$endif}
|
||||
|
||||
+{$ifdef gtk2}
|
||||
+initialization
|
||||
+ Initialize;
|
||||
+finalization
|
||||
+ Finalize;
|
||||
+{$endif}
|
||||
+
|
||||
end.
|
||||
--- lcl/interfaces/gtk2/gtk2extra.inc
|
||||
+++ lcl/interfaces/gtk2/gtk2extra.inc
|
||||
@@ -53,3 +53,16 @@
|
||||
end;
|
||||
{$endif}
|
||||
|
||||
+procedure Initialize;
|
||||
+begin
|
||||
+ Pointer(g_slice_free1) := nil;
|
||||
+ glibhandle := LoadLibrary(gliblib);
|
||||
+ if glibhandle <> 0 then
|
||||
+ Pointer(g_slice_free1) := GetProcAddress(glibhandle, 'g_slice_free1');
|
||||
+end;
|
||||
+
|
||||
+procedure Finalize;
|
||||
+begin
|
||||
+ if glibhandle <> 0 then
|
||||
+ FreeLibrary(glibhandle);
|
||||
+end;
|
||||
--- lcl/interfaces/gtk2/gtk2extrah.inc
|
||||
+++ lcl/interfaces/gtk2/gtk2extrah.inc
|
||||
@@ -23,7 +23,7 @@
|
||||
{$ifdef HasGdk2X}
|
||||
gdk2x,
|
||||
{$endif}
|
||||
- Pango;
|
||||
+ Pango, dynlibs;
|
||||
|
||||
const
|
||||
gdkdll = gdklib;
|
||||
@@ -190,3 +190,6 @@
|
||||
{$ifdef GTK_2_10}
|
||||
function gdk_screen_is_composited(screen: PGdkScreen): gboolean; cdecl; external gdklib;
|
||||
{$endif}
|
||||
+var
|
||||
+ glibhandle: PtrUInt = 0;
|
||||
+ g_slice_free1: procedure(block_size:gsize; mem_block:gpointer); cdecl;
|
@ -1,30 +0,0 @@
|
||||
--- trunk/lcl/interfaces/gtk2/gtk2wsstdctrls.pp 2009/12/08 12:38:50 23028
|
||||
+++ trunk/lcl/interfaces/gtk2/gtk2wsstdctrls.pp 2010/02/12 02:22:04 23695
|
||||
@@ -477,16 +477,6 @@
|
||||
WidgetInfo: PWidgetInfo;
|
||||
Selection: PGtkTreeSelection;
|
||||
Path: PGtkTreePath;
|
||||
-
|
||||
- procedure ClearCursor; inline;
|
||||
- begin
|
||||
- if gtk_tree_row_reference_valid(PGtkTreeView(Widget)^.priv^.cursor) then
|
||||
- begin
|
||||
- gtk_tree_row_reference_free(PGtkTreeView(Widget)^.priv^.cursor);
|
||||
- PGtkTreeView(Widget)^.priv^.cursor := nil;
|
||||
- end;
|
||||
- end;
|
||||
-
|
||||
begin
|
||||
if not WSCheckHandleAllocated(ACustomListBox, 'SetItemIndex') then
|
||||
Exit;
|
||||
@@ -512,7 +502,9 @@
|
||||
end
|
||||
else
|
||||
begin
|
||||
- ClearCursor;
|
||||
+ Path := gtk_tree_path_new_from_indices(0, -1);
|
||||
+ if PGtkTreeView(Widget)^.priv^.tree <> nil then
|
||||
+ gtk_tree_view_set_cursor(PGtkTreeView(Widget), Path, nil, False);
|
||||
gtk_tree_selection_unselect_all(Selection);
|
||||
end;
|
||||
|
@ -1,72 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/lazarus/lazarus-0.9.26-r4.ebuild,v 1.3 2012/07/09 21:22:32 ulm Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit eutils
|
||||
|
||||
RESTRICT="strip" #269221
|
||||
|
||||
FPCVER="2.2.4"
|
||||
|
||||
SLOT="0" # Note: Slotting Lazarus needs slotting fpc, see DEPEND.
|
||||
LICENSE="GPL-2 LGPL-2.1-with-linking-exception"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
DESCRIPTION="Lazarus IDE is a feature rich visual programming environment emulating Delphi."
|
||||
HOMEPAGE="http://www.lazarus.freepascal.org/"
|
||||
IUSE=""
|
||||
SRC_URI="mirror://sourceforge/lazarus/${P}-0.tgz"
|
||||
|
||||
DEPEND="~dev-lang/fpc-${FPCVER}[source]
|
||||
net-misc/rsync
|
||||
x11-libs/gtk+:2"
|
||||
RDEPEND="${DEPEND}
|
||||
!=gnome-base/librsvg-2.16.1"
|
||||
DEPEND="${DEPEND}
|
||||
>=sys-devel/binutils-2.19.1-r1"
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-fpcsrc.patch
|
||||
epatch "${FILESDIR}"/${P}-clipboard-crash.patch #269221
|
||||
|
||||
# Use default configuration (minus stripping) unless specifically requested otherwise
|
||||
if ! test ${PPC_CONFIG_PATH+set} ; then
|
||||
local FPCVER=$(fpc -iV)
|
||||
export PPC_CONFIG_PATH="${WORKDIR}"
|
||||
sed -e 's/^FPBIN=/#&/' /usr/lib/fpc/${FPCVER}/samplecfg |
|
||||
sh -s /usr/lib/fpc/${FPCVER} "${PPC_CONFIG_PATH}" || die
|
||||
#sed -i -e '/^-Xs/d' "${PPC_CONFIG_PATH}"/fpc.cfg || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
LCL_PLATFORM=gtk2 emake -j1 || die "make failed!"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
diropts -m0755
|
||||
dodir /usr/share
|
||||
# Using rsync to avoid unnecessary copies and cleaning...
|
||||
# Note: *.o and *.ppu are needed
|
||||
rsync -a \
|
||||
--exclude="CVS" --exclude=".cvsignore" \
|
||||
--exclude="*.ppw" --exclude="*.ppl" \
|
||||
--exclude="*.ow" --exclude="*.a"\
|
||||
--exclude="*.rst" --exclude=".#*" \
|
||||
--exclude="*.~*" --exclude="*.bak" \
|
||||
--exclude="*.orig" --exclude="*.rej" \
|
||||
--exclude=".xvpics" --exclude="*.compiled" \
|
||||
--exclude="killme*" --exclude=".gdb_hist*" \
|
||||
--exclude="debian" --exclude="COPYING*" \
|
||||
--exclude="*.app" \
|
||||
"${S}" "${D}"usr/share \
|
||||
|| die "Unable to copy files!"
|
||||
|
||||
dosym ../share/lazarus/startlazarus /usr/bin/startlazarus
|
||||
dosym ../lazarus/images/ide_icon48x48.png /usr/share/pixmaps/lazarus.png
|
||||
|
||||
make_desktop_entry startlazarus "Lazarus IDE" "lazarus" || die "Failed making desktop entry!"
|
||||
}
|
@ -1,74 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/lazarus/lazarus-0.9.28.2-r1.ebuild,v 1.3 2012/07/09 21:22:32 ulm Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit eutils
|
||||
|
||||
RESTRICT="strip" #269221
|
||||
|
||||
FPCVER="2.4.0"
|
||||
|
||||
SLOT="0" # Note: Slotting Lazarus needs slotting fpc, see DEPEND.
|
||||
LICENSE="GPL-2 LGPL-2.1-with-linking-exception"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
DESCRIPTION="Lazarus IDE is a feature rich visual programming environment emulating Delphi."
|
||||
HOMEPAGE="http://www.lazarus.freepascal.org/"
|
||||
IUSE=""
|
||||
SRC_URI="mirror://sourceforge/lazarus/${P}-src.tar.bz2"
|
||||
|
||||
DEPEND="~dev-lang/fpc-${FPCVER}[source]
|
||||
net-misc/rsync
|
||||
x11-libs/gtk+:2"
|
||||
RDEPEND="${DEPEND}
|
||||
!=gnome-base/librsvg-2.16.1"
|
||||
DEPEND="${DEPEND}
|
||||
>=sys-devel/binutils-2.19.1-r1"
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-0.9.26-fpcsrc.patch
|
||||
epatch "${FILESDIR}"/${PN}-0.9.28.2-bug0015627.patch
|
||||
|
||||
# Use default configuration (minus stripping) unless specifically requested otherwise
|
||||
if ! test ${PPC_CONFIG_PATH+set} ; then
|
||||
local FPCVER=$(fpc -iV)
|
||||
export PPC_CONFIG_PATH="${WORKDIR}"
|
||||
sed -e 's/^FPBIN=/#&/' /usr/lib/fpc/${FPCVER}/samplecfg |
|
||||
sh -s /usr/lib/fpc/${FPCVER} "${PPC_CONFIG_PATH}" || die
|
||||
#sed -i -e '/^-Xs/d' "${PPC_CONFIG_PATH}"/fpc.cfg || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
LCL_PLATFORM=gtk2 emake -j1 || die "make failed!"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
diropts -m0755
|
||||
dodir /usr/share
|
||||
# Using rsync to avoid unnecessary copies and cleaning...
|
||||
# Note: *.o and *.ppu are needed
|
||||
rsync -a \
|
||||
--exclude="CVS" --exclude=".cvsignore" \
|
||||
--exclude="*.ppw" --exclude="*.ppl" \
|
||||
--exclude="*.ow" --exclude="*.a"\
|
||||
--exclude="*.rst" --exclude=".#*" \
|
||||
--exclude="*.~*" --exclude="*.bak" \
|
||||
--exclude="*.orig" --exclude="*.rej" \
|
||||
--exclude=".xvpics" --exclude="*.compiled" \
|
||||
--exclude="killme*" --exclude=".gdb_hist*" \
|
||||
--exclude="debian" --exclude="COPYING*" \
|
||||
--exclude="*.app" \
|
||||
"${S}" "${D}"usr/share \
|
||||
|| die "Unable to copy files!"
|
||||
|
||||
dosym ../share/lazarus/startlazarus /usr/bin/startlazarus
|
||||
dosym ../share/lazarus/startlazarus /usr/bin/lazarus
|
||||
dosym ../share/lazarus/lazbuild /usr/bin/lazbuild
|
||||
dosym ../lazarus/images/ide_icon48x48.png /usr/share/pixmaps/lazarus.png
|
||||
|
||||
make_desktop_entry startlazarus "Lazarus IDE" "lazarus" || die "Failed making desktop entry!"
|
||||
}
|
@ -1,73 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/lazarus/lazarus-1.0.4.ebuild,v 1.1 2013/01/31 08:15:43 patrick Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit eutils
|
||||
|
||||
RESTRICT="strip" #269221
|
||||
|
||||
FPCVER="2.6.0"
|
||||
|
||||
SLOT="0" # Note: Slotting Lazarus needs slotting fpc, see DEPEND.
|
||||
LICENSE="GPL-2 LGPL-2.1-with-linking-exception"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
DESCRIPTION="Lazarus IDE is a feature rich visual programming environment emulating Delphi."
|
||||
HOMEPAGE="http://www.lazarus.freepascal.org/"
|
||||
IUSE=""
|
||||
SRC_URI="http://downloads.sourceforge.net/project/${PN}/Lazarus%20Zip%20_%20GZip/Lazarus%20${PV}/lazarus-1.0.4-1.tar.gz"
|
||||
|
||||
DEPEND="~dev-lang/fpc-${FPCVER}[source]
|
||||
net-misc/rsync
|
||||
x11-libs/gtk+:2"
|
||||
RDEPEND="${DEPEND}
|
||||
!=gnome-base/librsvg-2.16.1"
|
||||
DEPEND="${DEPEND}
|
||||
>=sys-devel/binutils-2.19.1-r1"
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-0.9.26-fpcsrc.patch
|
||||
|
||||
# Use default configuration (minus stripping) unless specifically requested otherwise
|
||||
if ! test ${PPC_CONFIG_PATH+set} ; then
|
||||
local FPCVER=$(fpc -iV)
|
||||
export PPC_CONFIG_PATH="${WORKDIR}"
|
||||
sed -e 's/^FPBIN=/#&/' /usr/lib/fpc/${FPCVER}/samplecfg |
|
||||
sh -s /usr/lib/fpc/${FPCVER} "${PPC_CONFIG_PATH}" || die
|
||||
#sed -i -e '/^-Xs/d' "${PPC_CONFIG_PATH}"/fpc.cfg || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
LCL_PLATFORM=gtk2 emake -j1 || die "make failed!"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
diropts -m0755
|
||||
dodir /usr/share
|
||||
# Using rsync to avoid unnecessary copies and cleaning...
|
||||
# Note: *.o and *.ppu are needed
|
||||
rsync -a \
|
||||
--exclude="CVS" --exclude=".cvsignore" \
|
||||
--exclude="*.ppw" --exclude="*.ppl" \
|
||||
--exclude="*.ow" --exclude="*.a"\
|
||||
--exclude="*.rst" --exclude=".#*" \
|
||||
--exclude="*.~*" --exclude="*.bak" \
|
||||
--exclude="*.orig" --exclude="*.rej" \
|
||||
--exclude=".xvpics" --exclude="*.compiled" \
|
||||
--exclude="killme*" --exclude=".gdb_hist*" \
|
||||
--exclude="debian" --exclude="COPYING*" \
|
||||
--exclude="*.app" \
|
||||
"${S}" "${D}"usr/share \
|
||||
|| die "Unable to copy files!"
|
||||
|
||||
dosym ../share/lazarus/startlazarus /usr/bin/startlazarus
|
||||
dosym ../share/lazarus/startlazarus /usr/bin/lazarus
|
||||
dosym ../share/lazarus/lazbuild /usr/bin/lazbuild
|
||||
dosym ../lazarus/images/ide_icon48x48.png /usr/share/pixmaps/lazarus.png
|
||||
|
||||
make_desktop_entry startlazarus "Lazarus IDE" "lazarus" || die "Failed making desktop entry!"
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
diff --git a/Makefile.pre.in b/Makefile.pre.in
|
||||
--- a/Makefile.pre.in
|
||||
+++ b/Makefile.pre.in
|
||||
@@ -1000,12 +1000,12 @@
|
||||
$(INSTALL_DATA) $(srcdir)/Modules/xxmodule.c \
|
||||
$(DESTDIR)$(LIBDEST)/distutils/tests ; \
|
||||
fi
|
||||
- PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
|
||||
+ -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
|
||||
$(PYTHON_FOR_BUILD) -Wi -tt $(DESTDIR)$(LIBDEST)/compileall.py \
|
||||
-d $(LIBDEST) -f \
|
||||
-x 'bad_coding|badsyntax|site-packages|lib2to3/tests/data' \
|
||||
$(DESTDIR)$(LIBDEST)
|
||||
- PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
|
||||
+ -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
|
||||
$(PYTHON_FOR_BUILD) -Wi -tt -O $(DESTDIR)$(LIBDEST)/compileall.py \
|
||||
-d $(LIBDEST) -f \
|
||||
-x 'bad_coding|badsyntax|site-packages|lib2to3/tests/data' \
|
@ -1,231 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/klibc/klibc-1.5.8.ebuild,v 1.7 2011/06/12 17:19:42 mattst88 Exp $
|
||||
|
||||
# Robin H. Johnson <robbat2@gentoo.org>, 12 Nov 2007:
|
||||
# This still needs major work.
|
||||
# But it is significently better than the previous version.
|
||||
# In that it will now build on biarch systems, such as ppc64-32ul.
|
||||
|
||||
# NOTES:
|
||||
# ======
|
||||
# We need to bring in the kernel sources seperately
|
||||
# Because they have to be configured in a way that differs from the copy in
|
||||
# /usr/src/. The sys-kernel/linux-headers are too stripped down to use
|
||||
# unfortunetly.
|
||||
# This will be able to go away once the klibc author updates his code
|
||||
# to build again the headers provided by the kernel's 'headers_install' target.
|
||||
|
||||
inherit eutils multilib toolchain-funcs
|
||||
|
||||
DESCRIPTION="A minimal libc subset for use with initramfs."
|
||||
HOMEPAGE="http://www.zytor.com/mailman/listinfo/klibc"
|
||||
KV_MAJOR="2" KV_MINOR="6" KV_SUB="23"
|
||||
OKV="${KV_MAJOR}.${KV_MINOR}.${KV_SUB}"
|
||||
PKV="${KV_MAJOR}.${KV_MINOR}.$((${KV_SUB}+1))-rc7"
|
||||
PATCH_URI="mirror://kernel/linux/kernel/v${KV_MAJOR}.${KV_MINOR}/patch-${PKV}.bz2"
|
||||
KERNEL_URI="mirror://kernel/linux/kernel/v${KV_MAJOR}.${KV_MINOR}/testing/linux-${OKV}.tar.bz2"
|
||||
SRC_URI="
|
||||
mirror://kernel/linux/libs/klibc/${P}.tar.bz2
|
||||
mirror://kernel/linux/libs/klibc/Testing/${P}.tar.bz2
|
||||
${PATCH_URI}
|
||||
${KERNEL_URI}"
|
||||
|
||||
LICENSE="|| ( GPL-2 LGPL-2 )"
|
||||
KEYWORDS="amd64 -mips ppc x86"
|
||||
SLOT="0"
|
||||
IUSE="debug"
|
||||
|
||||
DEPEND="dev-lang/perl"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
KS="${WORKDIR}/linux-${OKV}"
|
||||
|
||||
# Klibc has no PT_GNU_STACK support, so scanning for execstacks is moot
|
||||
QA_EXECSTACK="*"
|
||||
# Do not strip
|
||||
RESTRICT="strip"
|
||||
|
||||
src_unpack() {
|
||||
unpack linux-${OKV}.tar.bz2 ${P}.tar.bz2
|
||||
EPATCH_OPTS="-d ${KS} -p1" epatch "${DISTDIR}"/patch-${PKV}.bz2
|
||||
cd "${S}"
|
||||
|
||||
# Symlink /usr/src/linux to ${S}/linux
|
||||
ln -snf "${KS}" linux
|
||||
#ln -snf "/usr" linux
|
||||
|
||||
# Build interp.o with EXTRA_KLIBCAFLAGS (.S source)
|
||||
epatch "${FILESDIR}"/${PN}-1.4.11-interp-flags.patch
|
||||
|
||||
# Fixes for sparc and ppc
|
||||
epatch "${FILESDIR}"/${PN}-1.5-sigaction.patch
|
||||
|
||||
# Fix the asm-ppc vs. asm-powerpc issue, bug #196521
|
||||
epatch "${FILESDIR}"/${PN}-1.5-klibcasmarch.patch
|
||||
|
||||
# Fix usage of -s, bug #201006
|
||||
epatch "${FILESDIR}"/klibc-1.5.7-strip-fix-dash-s.patch
|
||||
}
|
||||
|
||||
# For a given Gentoo ARCH,
|
||||
# specify the kernel defconfig most relevant
|
||||
kernel_defconfig() {
|
||||
a="${1:${ARCH}}"
|
||||
# most, but not all arches have a sanely named defconfig
|
||||
case ${a} in
|
||||
ppc64) echo ppc64_defconfig ;;
|
||||
ppc) echo pmac32_defconfig ;;
|
||||
arm*|sh*) die "TODO: Your arch is not supported by the klibc ebuild. Please suggest a defconfig in a bug." ;;
|
||||
*) echo defconfig ;;
|
||||
esac
|
||||
}
|
||||
|
||||
# klibc has it's own ideas of arches
|
||||
# They reflect userspace strictly.
|
||||
# This functions maps from a Gentoo ARCH, to an arch that klibc expects
|
||||
# Look at klibc-${S}/usr/klibc/arch for a list of these arches
|
||||
klibc_arch() {
|
||||
a="${1:${ARCH}}"
|
||||
case ${a} in
|
||||
amd64) echo x86_64 ;;
|
||||
mips) die 'TODO: Use the $ABI' ;;
|
||||
x86) echo i386 ;;
|
||||
*) echo ${a} ;;
|
||||
esac
|
||||
}
|
||||
|
||||
kernel_asm_arch() {
|
||||
a="${1:${ARCH}}"
|
||||
case ${a} in
|
||||
# Merged arches
|
||||
x86|amd64) echo x86 ;;
|
||||
ppc*) echo powerpc ;;
|
||||
# Non-merged
|
||||
alpha|arm|ia64|m68k|mips|sh|sparc*) echo ${1} ;;
|
||||
*) die "TODO: Update the code for your asm-ARCH symlink" ;;
|
||||
esac
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myargs
|
||||
local myARCH="${ARCH}" myABI="${ABI}"
|
||||
# TODO: For cross-compiling
|
||||
# You should set ARCH and ABI here
|
||||
CC="$(tc-getCC)"
|
||||
HOSTCC="$(tc-getBUILD_CC)"
|
||||
KLIBCARCH="$(klibc_arch ${ARCH})"
|
||||
KLIBCASMARCH="$(kernel_asm_arch ${ARCH})"
|
||||
libdir="$(get_libdir)"
|
||||
# This should be the defconfig corresponding to your userspace!
|
||||
# NOT your kernel. PPC64-32ul would choose 'ppc' for example.
|
||||
defconfig=$(kernel_defconfig ${ARCH})
|
||||
unset ABI ARCH # Unset these, because they interfere
|
||||
unset KBUILD_OUTPUT # we are using a private copy
|
||||
|
||||
cd "${KS}"
|
||||
emake ${defconfig} || die "No defconfig"
|
||||
emake prepare || die "Failed to prepare kernel sources for header usage"
|
||||
|
||||
cd "${S}"
|
||||
|
||||
use debug && myargs="${myargs} V=1"
|
||||
|
||||
emake \
|
||||
EXTRA_KLIBCAFLAGS="-Wa,--noexecstack" \
|
||||
EXTRA_KLIBCLDFLAGS="-z,noexecstack" \
|
||||
HOSTCC="${HOSTCC}" CC="${CC}" \
|
||||
INSTALLDIR="/usr/${libdir}/klibc" \
|
||||
KLIBCARCH=${KLIBCARCH} \
|
||||
KLIBCASMARCH=${KLIBCASMARCH} \
|
||||
SHLIBDIR="/${libdir}" \
|
||||
libdir="/usr/${libdir}" \
|
||||
mandir="/usr/share/man" \
|
||||
${myargs} || die "Compile failed!"
|
||||
|
||||
#SHLIBDIR="/${libdir}" \
|
||||
|
||||
ARCH="${myARCH}" ABI="${myABI}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local myargs
|
||||
local myARCH="${ARCH}" myABI="${ABI}"
|
||||
# TODO: For cross-compiling
|
||||
# You should set ARCH and ABI here
|
||||
CC="$(tc-getCC)"
|
||||
HOSTCC="$(tc-getBUILD_CC)"
|
||||
KLIBCARCH="$(klibc_arch ${ARCH})"
|
||||
KLIBCASMARCH="$(kernel_asm_arch ${ARCH})"
|
||||
libdir="$(get_libdir)"
|
||||
# This should be the defconfig corresponding to your userspace!
|
||||
# NOT your kernel. PPC64-32ul would choose 'ppc' for example.
|
||||
defconfig=$(kernel_defconfig ${ARCH})
|
||||
|
||||
use debug && myargs="${myargs} V=1"
|
||||
|
||||
local klibc_prefix
|
||||
if tc-is-cross-compiler ; then
|
||||
klibc_prefix=$("${S}/klcc/${KLIBCARCH}-klcc" -print-klibc-prefix)
|
||||
else
|
||||
klibc_prefix=$("${S}/klcc/klcc" -print-klibc-prefix)
|
||||
fi
|
||||
|
||||
unset ABI ARCH # Unset these, because they interfere
|
||||
unset KBUILD_OUTPUT # we are using a private copy
|
||||
|
||||
emake \
|
||||
EXTRA_KLIBCAFLAGS="-Wa,--noexecstack" \
|
||||
EXTRA_KLIBCLDFLAGS="-z,noexecstack" \
|
||||
HOSTCC="${HOSTCC}" CC="${CC}" \
|
||||
INSTALLDIR="/usr/${libdir}/klibc" \
|
||||
INSTALLROOT="${D}" \
|
||||
KLIBCARCH=${KLIBCARCH} \
|
||||
KLIBCASMARCH=${KLIBCASMARCH} \
|
||||
SHLIBDIR="/${libdir}" \
|
||||
libdir="/usr/${libdir}" \
|
||||
mandir="/usr/share/man" \
|
||||
${myargs} \
|
||||
install || die "Install failed!"
|
||||
|
||||
#SHLIBDIR="/${libdir}" \
|
||||
|
||||
# klibc doesn't support prelinking, so we need to mask it
|
||||
cat > "${T}/70klibc" <<-EOF
|
||||
PRELINK_PATH_MASK="/usr/${libdir}/klibc"
|
||||
EOF
|
||||
|
||||
doenvd "${T}"/70klibc
|
||||
|
||||
# Fix the permissions (bug #178053) on /usr/${libdir}/klibc/include
|
||||
# Actually I have no idea, why the includes have those weird-ass permissions
|
||||
# on a particular system, might be due to inherited permissions from parent
|
||||
# directory
|
||||
find "${D}"/usr/${libdir}/klibc/include | xargs chmod o+rX
|
||||
|
||||
# Hardlinks becoming copies
|
||||
for x in gunzip zcat ; do
|
||||
rm -f "${D}/${klibc_prefix}/bin/${x}"
|
||||
dosym gzip "${klibc_prefix}/bin/${x}"
|
||||
done
|
||||
|
||||
# Restore now, so we can use the tc- functions
|
||||
ARCH="${myARCH}" ABI="${myABI}"
|
||||
if ! tc-is-cross-compiler ; then
|
||||
cd "${S}"
|
||||
insinto /usr/share/aclocal
|
||||
doins contrib/klibc.m4
|
||||
|
||||
dodoc README usr/klibc/CAVEATS usr/klibc/README
|
||||
newdoc usr/klibc/arch/README README.klibc.arch
|
||||
docinto dash; newdoc usr/dash/README.klibc README
|
||||
docinto gzip; dodoc usr/gzip/README
|
||||
fi
|
||||
|
||||
# Fix up the symlink
|
||||
# Mainly for merged arches
|
||||
linkname="${D}/usr/${libdir}/klibc/include/asm"
|
||||
if [ -L "${linkname}" ] && [ ! -e "${linkname}" ] ; then
|
||||
ln -snf asm-${KLIBCASMARCH} "${linkname}"
|
||||
fi
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST nspr-4.10.1.tar.gz 1102858 SHA256 0c2f8dc265f1e9b2600fd519430a1f960799888857bbb1538343a1b16ba41b20 SHA512 80b8895a104317dd18d19e813ecf91f081d85b36320b3e3898802f653b5e29320667729208178b3ca556a4066906774d446193cba76caafef002b1d7b240e249 WHIRLPOOL 58fedf84b0f0688cf5d1f6da306c3bcfb5c612cf0017142e3f7eb481e0208c6e7d37528ff7be7b8493a4ff7276e7b6366181187b081ccaa8236535558f3685c6
|
||||
DIST nspr-4.10.tar.gz 1103862 SHA256 0cfbe561676b92e5af3ddc7ac77452014e3da8885da66baec811e7354138cc16 SHA512 80d511e3bdce9a1efc577acc1671f507bef3d6ca933705f67a7aba567ff7b981e9cde70c2da6fbde82852938b779baa0058c82f937d4ac3e672f6d8e7bdefe8b WHIRLPOOL 404af25a7856df10376a90d7618edd10297c5a1843d6db3e2e754b4066475ffcf4af024804b119e1a8479bbd748a6c142aa77fe27c02e5d3cd751bf449ab1182
|
||||
DIST nspr-4.9.5.tar.gz 1156396 SHA256 616ab65c849155c9ed0e5f502530a241cc9108e278275aa448b417ae632c7604 SHA512 cbe60e4c5265863fa3250d7c16a2727d3a4a8762d17bc63d044ec88d11758fe9f54f54c08e198db6278ee68c55edd88f7c4bc5db9bdc46bdea4e4cf9eb277f27 WHIRLPOOL d2792148805a99d1f2de919b57e48cfd03290b1f8faaec55d4374004574a578ed3fef110956fbb767a2f7f6d00cb9d594aa3a534e29df5790f3284c4fcea8b7b
|
||||
|
@ -0,0 +1,95 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/nspr/nspr-4.10.1.ebuild,v 1.1 2013/09/27 01:54:39 anarchy Exp $
|
||||
|
||||
EAPI=3
|
||||
WANT_AUTOCONF="2.1"
|
||||
|
||||
inherit autotools eutils multilib toolchain-funcs versionator
|
||||
|
||||
MIN_PV="$(get_version_component_range 2)"
|
||||
|
||||
DESCRIPTION="Netscape Portable Runtime"
|
||||
HOMEPAGE="http://www.mozilla.org/projects/nspr/"
|
||||
SRC_URI="ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${PV}/src/${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( MPL-2.0 GPL-2 LGPL-2.1 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="debug"
|
||||
|
||||
src_prepare() {
|
||||
mkdir build inst
|
||||
cd "${S}"/nspr/
|
||||
epatch "${FILESDIR}"/${PN}-4.6.1-lang.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.7.0-prtime.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.7.1-solaris.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.7.4-solaris.patch
|
||||
# epatch "${FILESDIR}"/${PN}-4.8.3-aix-gcc.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.8.4-darwin-install_name.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.8.9-link-flags.patch
|
||||
# We do not need to pass -L$libdir via nspr-config --libs
|
||||
epatch "${FILESDIR}"/${PN}-4.9.5_nspr_config.patch
|
||||
|
||||
# We must run eautoconf to regenerate configure
|
||||
eautoconf
|
||||
|
||||
# make sure it won't find Perl out of Prefix
|
||||
sed -i -e "s/perl5//g" "${S}"/nspr/configure || die
|
||||
|
||||
# Respect LDFLAGS
|
||||
sed -i -e 's/\$(MKSHLIB) \$(OBJS)/\$(MKSHLIB) \$(LDFLAGS) \$(OBJS)/g' \
|
||||
"${S}"/nspr/config/rules.mk || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
cd "${S}"/build
|
||||
|
||||
# We use the standard BUILD_xxx but nspr uses HOST_xxx
|
||||
tc-export_build_env BUILD_CC
|
||||
export HOST_CC=${BUILD_CC} HOST_CFLAGS=${BUILD_CFLAGS} HOST_LDFLAGS=${BUILD_LDFLAGS}
|
||||
tc-export AR CC CXX RANLIB
|
||||
[[ ${CBUILD} != ${CHOST} ]] \
|
||||
&& export CROSS_COMPILE=1 \
|
||||
|| unset CROSS_COMPILE
|
||||
|
||||
local myconf
|
||||
echo > "${T}"/test.c
|
||||
${CC} ${CFLAGS} ${CPPFLAGS} -c "${T}"/test.c -o "${T}"/test.o || die
|
||||
case $(file "${T}"/test.o) in
|
||||
*32-bit*x86-64*|*64-bit*|*ppc64*|*x86_64*) myconf+=" --enable-64bit";;
|
||||
*32-bit*|*ppc*|*i386*) ;;
|
||||
*) die "Failed to detect whether your arch is 64bits or 32bits, disable distcc if you're using it, please";;
|
||||
esac
|
||||
|
||||
# Ancient autoconf needs help finding the right tools.
|
||||
LC_ALL="C" ECONF_SOURCE="../nspr" \
|
||||
ac_cv_path_AR="${AR}" \
|
||||
econf \
|
||||
--libdir="${EPREFIX}/usr/$(get_libdir)" \
|
||||
$(use_enable debug) \
|
||||
$(use_enable !debug optimize) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd "${S}"/build
|
||||
emake || die "failed to build"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Their build system is royally confusing, as usual
|
||||
MINOR_VERSION=${MIN_PV} # Used for .so version
|
||||
cd "${S}"/build
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
|
||||
cd "${ED}"/usr/$(get_libdir)
|
||||
einfo "removing static libraries as upstream has requested!"
|
||||
rm -f *.a || die "failed to remove static libraries."
|
||||
|
||||
# install nspr-config
|
||||
dobin "${S}"/build/config/nspr-config || die "failed to install nspr-config"
|
||||
|
||||
# Remove stupid files in /usr/bin
|
||||
rm -f "${ED}"/usr/bin/prerr.properties || die "failed to cleanup unneeded files"
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/nss/nss-3.15.1-r2.ebuild,v 1.1 2013/09/26 06:02:24 vapier Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/nss/nss-3.15.2.ebuild,v 1.1 2013/09/27 01:23:32 anarchy Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit eutils flag-o-matic multilib toolchain-funcs
|
@ -0,0 +1 @@
|
||||
DIST Flask-Dashed-0.1b2.tar.gz 325834 SHA256 fe49940e39a9eaeafa9d26eb81db0fee1eba54d87ef3a5d7489072cd221c28b0 SHA512 daccb1e4ac83a598c25c7ef202f50f08c19473aa27d8c936a9918b3e45bc9da06de7499a3976e6fff001fd81cec787093594a13c814bf26e2315793a0c8efded WHIRLPOOL e6e520ae230028bf23c1950faf075ccc36cb5bd6b4dfa47f04f39e863943bd75963d51c5f5864dbd50b73bb76505126ff2820a1349beb5af63ff0893e8f0e0bd
|
@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/flask-dashed/flask-dashed-0.1b_p2.ebuild,v 1.1 2013/09/27 04:13:06 patrick Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN="Flask-Dashed"
|
||||
MY_PV="${PV/_p/}"
|
||||
MY_P="${MY_PN}-${MY_PV}"
|
||||
|
||||
DESCRIPTION="Admin app framework for flask"
|
||||
HOMEPAGE="http://pythonhosted.org/${MY_PN}/ https://pypi.python.org/pypi/${MY_PN}"
|
||||
SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-python/flask[${PYTHON_USEDEP}]
|
||||
dev-python/flask-wtf[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
distutils-r1_src_prepare
|
||||
rm -rf "${S}/tests"
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>python</herd>
|
||||
</pkgmetadata>
|
@ -0,0 +1,66 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/gevent/gevent-1.0_rc3.ebuild,v 1.1 2013/09/27 07:47:28 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
PYTHON_REQ_USE="ssl"
|
||||
|
||||
inherit distutils-r1 flag-o-matic
|
||||
|
||||
MY_PV=${PV/_/}
|
||||
MY_P=${PN}-${MY_PV}
|
||||
|
||||
DESCRIPTION="Python networking library that uses greenlet to provide synchronous API"
|
||||
HOMEPAGE="http://gevent.org/ http://pypi.python.org/pypi/gevent/"
|
||||
SRC_URI="https://github.com/surfly/${PN}/releases/download/${MY_PV}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
|
||||
IUSE="doc examples"
|
||||
|
||||
RDEPEND="dev-libs/libev
|
||||
net-dns/c-ares
|
||||
dev-python/greenlet[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
|
||||
|
||||
# Tests take long and fail terribly a few times.
|
||||
# It also seems that they require network access.
|
||||
RESTRICT="test"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
python_prepare_all() {
|
||||
rm -rf {libev,c-ares}
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_configure_all() {
|
||||
append-flags -fno-strict-aliasing
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C doc html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
cd greentest || die
|
||||
"${PYTHON}" testrunner.py || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( doc/_build/html/. )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
|
||||
dodoc changelog.rst
|
||||
|
||||
if use examples; then
|
||||
dodoc -r examples
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
fi
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
Import setuptools unconditionally to ensure consistent egg-info behavior.
|
||||
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -53,9 +53,7 @@
|
||||
|
||||
from distutils.core import setup
|
||||
|
||||
-# On Python 3, we need distribute (new setuptools) to do the 2to3 conversion
|
||||
-if PY3:
|
||||
- import setuptools
|
||||
+import setuptools
|
||||
|
||||
# Our own imports
|
||||
from setupbase import target_update
|
@ -0,0 +1 @@
|
||||
DIST include-what-you-use-3.3.tar.gz 287279 SHA256 4aa3a4b1f9450c731c9cb125db6906d2b6bce093297dd1811bdc191c35a443be SHA512 70d7052a0cd5d82fc9d8fcec2fa222f38a02517ad1f6aa6bcff1b9a5170372dd090aebe3989746727ec883a21bf44c5d5602ebe0f8a021cfc2124fb81a14a238 WHIRLPOOL 04fbc8bef3b176327f88eb5edae8a14a046803b06a7782c548690e222b00c9f3e8aace71395bbc41ed5b928e60fe2531bbcb9650655386dc5499da14e746f255
|
@ -0,0 +1,299 @@
|
||||
Upstream-bug: http://code.google.com/p/include-what-you-use/issues/detail?id=110
|
||||
Index: tests/elaboration-struct.h
|
||||
===================================================================
|
||||
--- tests/elaboration-struct.h (revision 0)
|
||||
+++ tests/elaboration-struct.h (revision 0)
|
||||
@@ -0,0 +1,10 @@
|
||||
+//===--- elaboration-struct.h - test input file for iwyu ------------------===//
|
||||
+//
|
||||
+// The LLVM Compiler Infrastructure
|
||||
+//
|
||||
+// This file is distributed under the University of Illinois Open Source
|
||||
+// License. See LICENSE.TXT for details.
|
||||
+//
|
||||
+//===----------------------------------------------------------------------===//
|
||||
+
|
||||
+struct ElaborationStruct {};
|
||||
|
||||
Property changes on: tests\elaboration-struct.h
|
||||
___________________________________________________________________
|
||||
Added: svn:eol-style
|
||||
+ native
|
||||
|
||||
Index: tests/elaboration.cc
|
||||
===================================================================
|
||||
--- tests/elaboration.cc (revision 0)
|
||||
+++ tests/elaboration.cc (revision 0)
|
||||
@@ -0,0 +1,79 @@
|
||||
+//===--- elaboration.cc - test input file for iwyu ------------------------===//
|
||||
+//
|
||||
+// The LLVM Compiler Infrastructure
|
||||
+//
|
||||
+// This file is distributed under the University of Illinois Open Source
|
||||
+// License. See LICENSE.TXT for details.
|
||||
+//
|
||||
+//===----------------------------------------------------------------------===//
|
||||
+
|
||||
+// Test that elaborated types are handled correctly.
|
||||
+//
|
||||
+// An elaborated type is a type prefixed by type kind, e.g. 'class Foo',
|
||||
+// 'struct Bar' or 'enum Baz'.
|
||||
+//
|
||||
+// Clang considers namespace-qualified types elaborated as well, even if they
|
||||
+// lack actual elaboration, e.g. 'ns::Foo'.
|
||||
+
|
||||
+
|
||||
+#include "tests/elaboration-enum1.h" // for ElaborationEnum1
|
||||
+#include "tests/elaboration-enum2.h" // for ElaborationEnum2
|
||||
+
|
||||
+// Make sure both elaborated and bare enums require the full type.
|
||||
+void bare_enum(ElaborationEnum1 e);
|
||||
+void elaborated_enum(enum ElaborationEnum2 e);
|
||||
+
|
||||
+// For C++ classes, a forward declaration should suffice for
|
||||
+// bare type names and nothing should be necessary for elaborated ones.
|
||||
+#include "tests/elaboration-class.h"
|
||||
+
|
||||
+void bare_class(ElaborationClass* c);
|
||||
+void elaborated_class(class UnknownElaborationClass* c);
|
||||
+
|
||||
+// Structs should work like classes.
|
||||
+#include "tests/elaboration-struct.h"
|
||||
+
|
||||
+void bare_struct(ElaborationStruct* s);
|
||||
+void elaborated_struct(struct UnknownElaborationStruct* s);
|
||||
+
|
||||
+// And unions.
|
||||
+#include "tests/elaboration-union.h"
|
||||
+
|
||||
+void bare_union(ElaborationUnion* u);
|
||||
+void elaborated_union(union UnknownElaborationUnion* u);
|
||||
+
|
||||
+// Namespace-qualified types must be forward-declared even
|
||||
+// if they are represented as elaborated types in Clang's AST.
|
||||
+#include "tests/elaboration-namespace.h"
|
||||
+
|
||||
+void namespace_qualified(Elaboration::Class* c);
|
||||
+
|
||||
+// We can use elaborated types for templates, too, but
|
||||
+// they must also be forward-declared.
|
||||
+struct Elaboration::Template<int, float>* namespace_qualified_template;
|
||||
+
|
||||
+/**** IWYU_SUMMARY
|
||||
+
|
||||
+tests/elaboration.cc should add these lines:
|
||||
+class ElaborationClass;
|
||||
+namespace Elaboration { class Class; }
|
||||
+namespace Elaboration { template <typename T, typename U> struct Template; }
|
||||
+struct ElaborationStruct;
|
||||
+union ElaborationUnion;
|
||||
+
|
||||
+tests/elaboration.cc should remove these lines:
|
||||
+- #include "tests/elaboration-class.h" // lines XX-XX
|
||||
+- #include "tests/elaboration-namespace.h" // lines XX-XX
|
||||
+- #include "tests/elaboration-struct.h" // lines XX-XX
|
||||
+- #include "tests/elaboration-union.h" // lines XX-XX
|
||||
+
|
||||
+The full include-list for tests/elaboration.cc:
|
||||
+#include "tests/elaboration-enum1.h" // for ElaborationEnum1
|
||||
+#include "tests/elaboration-enum2.h" // for ElaborationEnum2
|
||||
+class ElaborationClass;
|
||||
+namespace Elaboration { class Class; }
|
||||
+namespace Elaboration { template <typename T, typename U> struct Template; }
|
||||
+struct ElaborationStruct;
|
||||
+union ElaborationUnion;
|
||||
+
|
||||
+***** IWYU_SUMMARY */
|
||||
Index: tests/elaboration-enum1.h
|
||||
===================================================================
|
||||
--- tests/elaboration-enum1.h (revision 0)
|
||||
+++ tests/elaboration-enum1.h (revision 0)
|
||||
@@ -0,0 +1,13 @@
|
||||
+//===--- elaboration-enum1.h - test input file for iwyu -------------------===//
|
||||
+//
|
||||
+// The LLVM Compiler Infrastructure
|
||||
+//
|
||||
+// This file is distributed under the University of Illinois Open Source
|
||||
+// License. See LICENSE.TXT for details.
|
||||
+//
|
||||
+//===----------------------------------------------------------------------===//
|
||||
+
|
||||
+enum ElaborationEnum1 {
|
||||
+ EE1_First,
|
||||
+ EE1_Second
|
||||
+};
|
||||
|
||||
Property changes on: tests\elaboration-enum1.h
|
||||
___________________________________________________________________
|
||||
Added: svn:eol-style
|
||||
+ native
|
||||
|
||||
Index: tests/elaboration-class.h
|
||||
===================================================================
|
||||
--- tests/elaboration-class.h (revision 0)
|
||||
+++ tests/elaboration-class.h (revision 0)
|
||||
@@ -0,0 +1,10 @@
|
||||
+//===--- elaboration-class.h - test input file for iwyu -------------------===//
|
||||
+//
|
||||
+// The LLVM Compiler Infrastructure
|
||||
+//
|
||||
+// This file is distributed under the University of Illinois Open Source
|
||||
+// License. See LICENSE.TXT for details.
|
||||
+//
|
||||
+//===----------------------------------------------------------------------===//
|
||||
+
|
||||
+class ElaborationClass {};
|
||||
|
||||
Property changes on: tests\elaboration-class.h
|
||||
___________________________________________________________________
|
||||
Added: svn:eol-style
|
||||
+ native
|
||||
|
||||
Index: tests/badinc.cc
|
||||
===================================================================
|
||||
--- tests/badinc.cc (revision 485)
|
||||
+++ tests/badinc.cc (working copy)
|
||||
@@ -317,17 +317,12 @@
|
||||
// IWYU: I2_Class is...*badinc-i2.h.*for autocast
|
||||
// IWYU: I2_Class needs a declaration
|
||||
const I2_Class& i2,
|
||||
- const class I1_Class& elaborated_i1,
|
||||
- // IWYU: I2_Class is...*badinc-i2.h.*for autocast
|
||||
- const class I2_Class& elaborated_i2,
|
||||
// A subtle c++ point: forward-declaring is ok for i2b, because
|
||||
// you can't do implicit conversion to a non-const reference
|
||||
// (implicit conversion involves creating a temporary, which
|
||||
// doesn't bind to non-const references).
|
||||
// IWYU: I2_Class needs a declaration
|
||||
I2_Class& i2_nonconst,
|
||||
- class I2_Class& elaborated_i2_nonconst,
|
||||
- struct i3_ns1::i3_ns2::i3_ns3::I3_ForwardDeclareNamespaceStruct* i3_forward,
|
||||
// Forward-declaring is ok because we a const reference to a *pointer*.
|
||||
// IWYU: I2_Class needs a declaration
|
||||
I2_Class* const & i2_ptrref,
|
||||
@@ -897,11 +892,6 @@
|
||||
// IWYU: I3_ForwardDeclareNamespaceTemplateStruct needs a declaration
|
||||
i3_ns1::i3_ns2::i3_ns3::I3_ForwardDeclareNamespaceTemplateStruct<H_Enum, 2>*
|
||||
i3_fdtns_struct;
|
||||
-// Even with elaboration, we still need fwd decl.
|
||||
-// IWYU: I3_ForwardDeclareNamespaceTemplateStruct needs a declaration
|
||||
-struct i3_ns1::i3_ns2::i3_ns3::I3_ForwardDeclareNamespaceTemplateStruct<H_Enum,
|
||||
- 3>*
|
||||
- i3_elaborated_fdtns_struct;
|
||||
|
||||
// IWYU: I3_UnnamedNamespaceStruct needs a declaration
|
||||
i3_ns1::I3_UnnamedNamespaceStruct* i3_unnamed_namespace_struct;
|
||||
Index: tests/elaboration-enum2.h
|
||||
===================================================================
|
||||
--- tests/elaboration-enum2.h (revision 0)
|
||||
+++ tests/elaboration-enum2.h (revision 0)
|
||||
@@ -0,0 +1,13 @@
|
||||
+//===--- elaboration-enum2.h - test input file for iwyu -------------------===//
|
||||
+//
|
||||
+// The LLVM Compiler Infrastructure
|
||||
+//
|
||||
+// This file is distributed under the University of Illinois Open Source
|
||||
+// License. See LICENSE.TXT for details.
|
||||
+//
|
||||
+//===----------------------------------------------------------------------===//
|
||||
+
|
||||
+enum ElaborationEnum2 {
|
||||
+ EE2_First,
|
||||
+ EE2_Second
|
||||
+};
|
||||
|
||||
Property changes on: tests\elaboration-enum2.h
|
||||
___________________________________________________________________
|
||||
Added: svn:eol-style
|
||||
+ native
|
||||
|
||||
Index: tests/elaboration-union.h
|
||||
===================================================================
|
||||
--- tests/elaboration-union.h (revision 0)
|
||||
+++ tests/elaboration-union.h (revision 0)
|
||||
@@ -0,0 +1,10 @@
|
||||
+//===--- elaboration-union.h - test input file for iwyu -------------------===//
|
||||
+//
|
||||
+// The LLVM Compiler Infrastructure
|
||||
+//
|
||||
+// This file is distributed under the University of Illinois Open Source
|
||||
+// License. See LICENSE.TXT for details.
|
||||
+//
|
||||
+//===----------------------------------------------------------------------===//
|
||||
+
|
||||
+union ElaborationUnion {};
|
||||
|
||||
Property changes on: tests\elaboration-union.h
|
||||
___________________________________________________________________
|
||||
Added: svn:eol-style
|
||||
+ native
|
||||
|
||||
Index: tests/elaboration-namespace.h
|
||||
===================================================================
|
||||
--- tests/elaboration-namespace.h (revision 0)
|
||||
+++ tests/elaboration-namespace.h (revision 0)
|
||||
@@ -0,0 +1,18 @@
|
||||
+//===--- elaboration-namespace.h - test input file for iwyu ---------------===//
|
||||
+//
|
||||
+// The LLVM Compiler Infrastructure
|
||||
+//
|
||||
+// This file is distributed under the University of Illinois Open Source
|
||||
+// License. See LICENSE.TXT for details.
|
||||
+//
|
||||
+//===----------------------------------------------------------------------===//
|
||||
+
|
||||
+namespace Elaboration {
|
||||
+ class Class {};
|
||||
+
|
||||
+ template< typename T, typename U >
|
||||
+ struct Template {
|
||||
+ typedef T FirstType;
|
||||
+ typedef U SecondType;
|
||||
+ };
|
||||
+}
|
||||
|
||||
Property changes on: tests\elaboration-namespace.h
|
||||
___________________________________________________________________
|
||||
Added: svn:eol-style
|
||||
+ native
|
||||
|
||||
Index: iwyu.cc
|
||||
===================================================================
|
||||
--- iwyu.cc (revision 485)
|
||||
+++ iwyu.cc (working copy)
|
||||
@@ -166,6 +166,7 @@
|
||||
using clang::DeclContext;
|
||||
using clang::DeclRefExpr;
|
||||
using clang::ElaboratedType;
|
||||
+using clang::EnumType;
|
||||
using clang::Expr;
|
||||
using clang::FileEntry;
|
||||
using clang::FriendDecl;
|
||||
@@ -3454,6 +3455,7 @@
|
||||
preprocessor_info().FileInfoFor(CurrentFileEntry())->AddForwardDeclare(
|
||||
decl_to_fwd_declare, definitely_keep_fwd_decl);
|
||||
}
|
||||
+
|
||||
return Base::VisitTagDecl(decl);
|
||||
}
|
||||
|
||||
@@ -3562,13 +3564,17 @@
|
||||
// If we're forward-declarable, then no complicated checking is
|
||||
// needed: just forward-declare. If we're already elaborated
|
||||
// ('class Foo x') but not namespace-qualified ('class ns::Foo x')
|
||||
- // there's no need even to forward-declare!
|
||||
+ // or an enum ('enum Foo x') there's no need even to forward-declare!
|
||||
if (CanForwardDeclareType(current_ast_node())) {
|
||||
current_ast_node()->set_in_forward_declare_context(true);
|
||||
+
|
||||
+ bool is_enum_type = current_ast_node()->GetAs<EnumType>();
|
||||
if (!IsElaborationNode(current_ast_node()->parent()) ||
|
||||
- IsNamespaceQualifiedNode(current_ast_node()->parent())) {
|
||||
+ IsNamespaceQualifiedNode(current_ast_node()->parent()) ||
|
||||
+ is_enum_type) {
|
||||
ReportDeclForwardDeclareUse(CurrentLoc(), type->getDecl());
|
||||
}
|
||||
+
|
||||
return Base::VisitTagType(type);
|
||||
}
|
||||
|
@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/include-what-you-use/include-what-you-use-3.3-r1.ebuild,v 1.1 2013/09/27 09:54:25 slyfox Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit eutils cmake-utils flag-o-matic
|
||||
|
||||
DESCRIPTION="find unused include directives in C/C++ programs"
|
||||
HOMEPAGE="https://code.google.com/p/include-what-you-use/"
|
||||
# picked from google drive
|
||||
SRC_URI="http://dev.gentoo.org/~slyfox/distfiles/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="=sys-devel/llvm-3.3*"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-issue-110-elaboration.patch
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-ldflags -L$(llvm-config --libdir)
|
||||
|
||||
local mycmakeargs=(
|
||||
-DLLVM_PATH=$(llvm-config --libdir)
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>slyfox@gentoo.org</email>
|
||||
<name>Sergei Trofimovich</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,22 @@
|
||||
--- a/src/core/MonoDevelop.Core/Makefile.am
|
||||
+++ b/src/core/MonoDevelop.Core/Makefile.am
|
||||
@@ -394,7 +394,7 @@
|
||||
all: $(ASSEMBLY) $(ASSEMBLY).mdb
|
||||
|
||||
$(ASSEMBLY): $(build_sources) $(build_resources)
|
||||
- $(CSC) $(CSC_FLAGS) -warnaserror -unsafe -debug -out:$@ -target:library $(REFS) $(build_resources:%=/resource:%) $(build_sources) \
|
||||
+ $(CSC) $(CSC_FLAGS) -unsafe -debug -out:$@ -target:library $(REFS) $(build_resources:%=/resource:%) $(build_sources) \
|
||||
&& cp $(srcdir)/$(CONFIG) $(top_builddir)/build/bin
|
||||
|
||||
$(ASSEMBLY).mdb: $(ASSEMBLY)
|
||||
--- a/src/core/MonoDevelop.Core/Makefile.in
|
||||
+++ b/src/core/MonoDevelop.Core/Makefile.in
|
||||
@@ -809,7 +809,7 @@
|
||||
all: $(ASSEMBLY) $(ASSEMBLY).mdb
|
||||
|
||||
$(ASSEMBLY): $(build_sources) $(build_resources)
|
||||
- $(CSC) $(CSC_FLAGS) -warnaserror -unsafe -debug -out:$@ -target:library $(REFS) $(build_resources:%=/resource:%) $(build_sources) \
|
||||
+ $(CSC) $(CSC_FLAGS) -unsafe -debug -out:$@ -target:library $(REFS) $(build_resources:%=/resource:%) $(build_sources) \
|
||||
&& cp $(srcdir)/$(CONFIG) $(top_builddir)/build/bin
|
||||
|
||||
$(ASSEMBLY).mdb: $(ASSEMBLY)
|
@ -1,3 +1,3 @@
|
||||
DIST plan9port-20130320.tgz 54184719 SHA256 d08fd032edc9c27bc549ee9076963812f210476d0d1f21f5300e9d867699ff55 SHA512 fae40eae76a0f3121f47a3895809f2433beed91fc9e879c8cde25e493ec91dfdfc89fe59e3fe3a8aab7c33a2537a02b30857edb3af7f202df4a98e02cee8ecb7 WHIRLPOOL 5b707c8d18c8f1fa8e3d36e8f14a20213cad9ab3344f088f18942034dce3356ba88675c5817a7d50b66275d71d95e6d5fd3fdefbd18bcca9089790e258dbb60f
|
||||
DIST plan9port-20130814.tgz 54196312 SHA256 d5b2067a4622e84beb06399d67f4b2eb7a4686014ccfe3e25dba2d4f5962f268 SHA512 c92f0de0be1c90747d578d4cb1a3cd76e76388d1e2332c032260efbcd836d3e06f9892ca46503b400606b5b194c537f4512dccb2b7c65fffaccac50ae273b6e4 WHIRLPOOL 638f262593afb819d614e0c397bba16755055c72508a7c7e40ac0b2318b668fd53197b05ad47a143a0a624701e4b267018fbc0f0a3c86cb6f7eb173751b274d8
|
||||
DIST plan9port-20130907.tgz 54200562 SHA256 b45477e36efece6c543e01f1ab73547d255c62dbfb38d2bd9545f9e44ee553db SHA512 c41eb5e4e05faa55212e508b3e39288d856cd4ca220a3726e0b671e272810ab34d9f76f576ec10ad904190cfd2086a2a5403c6438d714689f9d8ec35a681b854 WHIRLPOOL 94482c0afcc2d6d34dc18ce4f1cbe61c992819f82a5fc56ed08f468285196da7f8a2755a83def676047085584e8a63363683cffce8433160b71fd3a53739d0c3
|
||||
DIST plan9port-20130926.tgz 54485230 SHA256 a545839ab0ed6715f0db4fcafe72ad727d919e321550f082160662fa77503e23 SHA512 e47d03262645f2a12b14d6de2a39fe7f9f6ca006dd97f6381b604695dc3c9e38edece09e00e78654447ce23c045d253e699ecc2c501c874501e64f959a545fa8 WHIRLPOOL 627be318cc0d2ff63f250175228965d1346fd18b287ec898f80dd830e2c82a752ee7de7513323a713b1791f80c6eb74562b4f29f3cfd3535fd2711e1c080be9d
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/plan9port/plan9port-20130814.ebuild,v 1.1 2013/08/15 12:15:13 blueness Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/plan9port/plan9port-20130926.ebuild,v 1.1 2013/09/27 11:55:34 blueness Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
@ -0,0 +1,11 @@
|
||||
--- contrib/thg.desktop
|
||||
+++ contrib/thg.desktop
|
||||
@@ -0,0 +1,8 @@
|
||||
+[Desktop Entry]
|
||||
+Type=Application
|
||||
+Name=TortoiseHg
|
||||
+GenericName=Version Control GUI
|
||||
+Comment=GUI application for using Mercurial
|
||||
+Icon=thg_logo
|
||||
+Exec=thg --nofork
|
||||
+Categories=Development;RevisionControl;
|
@ -0,0 +1 @@
|
||||
DIST kio-mtp-0.75_p20130912.tar.gz 22307 SHA256 61733750e8d43d05336b02faf929f6dc132120fc39d91289b994a8ace465e221 SHA512 7c6a94b44c5fcf210d8f9816114f5a0569ab313490bf3266ac9d21fcece0407d1a23d719169c784b6f4e7abd570bbad1c7496338e492c0946d534e034f12e52b WHIRLPOOL 2a7d3a9e29bc29cf40305a39ad008e58ca21480cd81f60346645ab57fae5bc8356d05e9fb8ce7ca122341dc379ddbf8a31249a23a7daf9c044c1096340a2f55a
|
@ -0,0 +1,21 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/kde-misc/kio-mtp/kio-mtp-0.75_p20130912.ebuild,v 1.1 2013/09/26 18:23:07 johu Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit kde4-base
|
||||
|
||||
DESCRIPTION="MTP KIO-Client for KDE"
|
||||
HOMEPAGE="https://projects.kde.org/projects/playground/base/kio-mtp"
|
||||
SRC_URI="http://dev.gentoo.org/~kensington/distfiles/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="4"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug"
|
||||
|
||||
DEPEND="
|
||||
>=media-libs/libmtp-1.1.3
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>kde</herd>
|
||||
</pkgmetadata>
|
@ -0,0 +1,32 @@
|
||||
--- a/comm-esr24/mozilla/configure.in 2013-09-26 09:41:27.220542321 -0400
|
||||
+++ b/comm-esr24/mozilla/configure.in 2013-09-26 09:49:07.888550730 -0400
|
||||
@@ -1339,13 +1339,6 @@
|
||||
AC_TRY_LINK(,,AC_MSG_RESULT([yes]),
|
||||
AC_MSG_RESULT([no])
|
||||
LDFLAGS=$_SAVE_LDFLAGS)
|
||||
- AC_MSG_CHECKING([for --build-id option to ld])
|
||||
- _SAVE_LDFLAGS=$LDFLAGS
|
||||
- LDFLAGS="$LDFLAGS -Wl,--build-id"
|
||||
- AC_TRY_LINK(,,AC_MSG_RESULT([yes])
|
||||
- [NSPR_LDFLAGS="$NSPR_LDFLAGS -Wl,--build-id"],
|
||||
- AC_MSG_RESULT([no])
|
||||
- LDFLAGS=$_SAVE_LDFLAGS)
|
||||
|
||||
|
||||
# Check for -mssse3 on $CC
|
||||
--- a/comm-esr24/mozilla/js/src/configure.in 2013-09-26 09:41:27.222542321 -0400
|
||||
+++ b/comm-esr24/mozilla/js/src/configure.in 2013-09-26 09:49:19.121550935 -0400
|
||||
@@ -1154,13 +1154,6 @@
|
||||
DSO_PIC_CFLAGS='-fPIC'
|
||||
ASFLAGS="$ASFLAGS -fPIC"
|
||||
|
||||
- AC_MSG_CHECKING([for --build-id option to ld])
|
||||
- _SAVE_LDFLAGS=$LDFLAGS
|
||||
- LDFLAGS="$LDFLAGS -Wl,--build-id"
|
||||
- AC_TRY_LINK(,,AC_MSG_RESULT([yes]),
|
||||
- AC_MSG_RESULT([no])
|
||||
- LDFLAGS=$_SAVE_LDFLAGS)
|
||||
-
|
||||
# Turn on GNU-specific warnings:
|
||||
# -Wall - turn on a lot of warnings
|
||||
# -Wpointer-arith - good to have
|
@ -1,2 +1,2 @@
|
||||
DIST opensmtpd-201309201537p1.tar.gz 787578 SHA256 af803c9233c89b1d4473a610dcb9bd83860ab7ef8f5be19462c52c11e5d1fd3d SHA512 c9cb7a9efe609f82ca416d40b66444a5e38c851bcd7286d6ea79d8bcd2ee4c295b49368e0e73bd4d5b8c08b6ceb31617157c9445b733399b495894de1848f9e7 WHIRLPOOL 92af9f1abc924750ce9b4ce7682b2c390d9f985439c19b8615d63d732fa685fb972676ac54b9165f2c4d81a84dd711ca1d04ee9ba93bb4d9756cd09a392644f8
|
||||
DIST opensmtpd-201309251624p1.tar.gz 788860 SHA256 461593615f56c095a0bcfa7ecfe137e81183ae1700eb21d4e90fb6acc614f208 SHA512 c0afc59236401d101f8b7dcf9b785dce806f285e21556d7c2e90ed898b087bf32c96002a949224782493d9fad616d39a1bb0de7f465c2bc185e1b72b80ce48e0 WHIRLPOOL 84029b655721fe53a76ca2e61cbecda21e5443bcf744ab8dea6f71e5ae71443f76b1188cae6ed5d724d665c85474561ee598c1e4d10424197c1ae521c879f613
|
||||
DIST opensmtpd-5.3.3p1.tar.gz 343733 SHA256 34f0e208e6fdde5c5c25bb11f468436c4d6148a8b640c32117869cad140b823c SHA512 8ea72773dca4f907d2b8285fc7abcd5c4c19ceb50b547cc4a217ec296a222f8134bfc4bc7707439b0c5d58b5354f92ebed65966179d7598c4793cad4370b087b WHIRLPOOL 1df185264da3edae4a1a1a56251af2a7e81dd1b4deabaf8d68f043beb16ca22488f775ff656dc8b84c3a3d024c0e4e67240f0c248edfb85bb2835290a28f12fe
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-mta/opensmtpd/opensmtpd-5.3.3.201309201537_p1.ebuild,v 1.1 2013/09/20 19:22:00 zx2c4 Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-mta/opensmtpd/opensmtpd-5.3.3.201309251624_p1.ebuild,v 1.1 2013/09/26 13:58:52 zx2c4 Exp $
|
||||
|
||||
EAPI=5
|
||||
|
@ -1,8 +1,10 @@
|
||||
DIST darktable-1.1.4.tar.xz 2231272 SHA256 fb6bc7d5a672b1b493921e80aae8cff2a94e66da7acee9e2cdbd83fa11ececaf SHA512 6ab94c4d49697fc32727ab6f62a37ea56b40968e29a737863640b486054116e21596c440432a81e41368957d9b2eca34ff466b1e0ba494091f4fee97c6350b80 WHIRLPOOL 2813334c4f5e84adf7917e63c4342532fbcb97630885e49957aba017365db516ceda4278eb7d873bcf45f1353bf9b523d178c1bbf913be7910b1ce9081266a21
|
||||
DIST darktable-1.2.1.tar.xz 2273260 SHA256 b1756295dfda78fc828603033a58f233ced1908b8a50ec97d2e600d6eacf8e2a SHA512 d9e36ebd9d6b452a645a0b510ec54cc51694a29c90e1ca4435ac5cd1591c048092bab39820a5a733622ed3ce5400c5320e6e828c5fc3964aa8e2b0e77ebc03ff WHIRLPOOL 756d2e4a37d17069364769043c708924b1f9f78a3a4784b3683df09e29ee43b4543c8a1ae75876a98c4cf7c6ea67a5b4d9c5421641eca3fd6b4be61cb22386dc
|
||||
DIST darktable-1.2.2.tar.xz 2307300 SHA256 12902e8c3ef185d2167ce3a5f9d11eddde763c5a3cb0e9267f4b470a252fc859 SHA512 d8ec6535119eb0a275efd13c53ec218d08c50595a7417ededf7766208fdbaf44296fbd9044d91f92521d910aff6a5df0ae97a63f87027f972443dabdddb0878e WHIRLPOOL 5ab068c82cbc0c9503a08af2a19e7a2cff9e522b55a6984ad8012ed621bdb2be0ce6dbef48409814b35328401dd1b7d8ddb779117de08a0738e390e9bd34cee7
|
||||
DIST darktable-1.2.3.tar.xz 2348864 SHA256 686b62e020c13e64d18c9b465742ddec8604cfee36e06c8858301735c29f7316 SHA512 abd01ecadfd54504e90b50181cc84991e623379d003c445134f60c067e35acb93db2cbdb3a4324d8d4545bde84edff116c2241fcf514b372cf57afeb04e6f58f WHIRLPOOL 1a66753618a1c6d261f2456e8d915bea34e592e7045133f00122425955c0190bb74ba7341420a540b717d670ebcdcf975a7feefd0baa4294e0c006889c5e0ff5
|
||||
DIST darktable-1.2.tar.xz 2399856 SHA256 dc52582b5c5dfbd22e936f1d441e192a4aa53ac6533fe2c53aaa59433ccd5450 SHA512 3a0e10bfeeade0225c7f07a0419a7c7f6f99d6e6a81618e63edf42a00ba3ffa1699c221ade61626f2a1c49e66d275b4351f6dcdb4db8786e6d28b36b68c5758e WHIRLPOOL dc45e15927f015e6c6fcd1e277d46cdeb6efcf5d3eb8b3cf25ccb4a9448f55774022fc1ac1d613251c957a337438c7f7abd1fda53d1ae10d79575f44bb6c9b08
|
||||
DIST darktable-usermanual-1.1.2.pdf 8513151 SHA256 a33d4e7bb87c8d7f748f99badb12bd923ba798d205bbddbac85a648d6c9d866f SHA512 1e2b22fc8fb4db7b99dfc8b228310951b04d52a42781f8f83f96ce2e86b24ddc1d3075b246a4d9e73f566a0b57999582daf40f04fd166ab979f8abebe6582275 WHIRLPOOL 5c9733bc155e93fc6c475f93af7246a7123a9257e4ffe1da057845a7d2d9bd4c29a5d61ea172acdb7739abb466c7325502d73b72cbe03d7f4553118bfee5c6f2
|
||||
DIST darktable-usermanual-1.2.1.pdf 10016945 SHA256 d82a2de84cbcbfee30f86b22ca5f7c08292b3de6faf54ad130252ddd47d7574a SHA512 f9de8e0bf47eb5a0f84f6abf32f55e87d4275c1dc6447f1a6cfa5b5442f98239d48f377ab760803d07542e9120e25e9ba1d2959575899116b8bb6b1138402ef1 WHIRLPOOL 1e5fe61b7c7c8a63e693f2b748c25f0559ad38ad6b7fdf06564167792be6a833c695825c62a353f4c52abde53a044be3bdb4bc0c737039ebc48c5cf5c9bb417e
|
||||
DIST darktable-usermanual-1.2.2.pdf 10016945 SHA256 d82a2de84cbcbfee30f86b22ca5f7c08292b3de6faf54ad130252ddd47d7574a SHA512 f9de8e0bf47eb5a0f84f6abf32f55e87d4275c1dc6447f1a6cfa5b5442f98239d48f377ab760803d07542e9120e25e9ba1d2959575899116b8bb6b1138402ef1 WHIRLPOOL 1e5fe61b7c7c8a63e693f2b748c25f0559ad38ad6b7fdf06564167792be6a833c695825c62a353f4c52abde53a044be3bdb4bc0c737039ebc48c5cf5c9bb417e
|
||||
DIST darktable-usermanual-1.2.3.pdf 10016945 SHA256 d82a2de84cbcbfee30f86b22ca5f7c08292b3de6faf54ad130252ddd47d7574a SHA512 f9de8e0bf47eb5a0f84f6abf32f55e87d4275c1dc6447f1a6cfa5b5442f98239d48f377ab760803d07542e9120e25e9ba1d2959575899116b8bb6b1138402ef1 WHIRLPOOL 1e5fe61b7c7c8a63e693f2b748c25f0559ad38ad6b7fdf06564167792be6a833c695825c62a353f4c52abde53a044be3bdb4bc0c737039ebc48c5cf5c9bb417e
|
||||
DIST darktable-usermanual-1.2.pdf 10016945 SHA256 d82a2de84cbcbfee30f86b22ca5f7c08292b3de6faf54ad130252ddd47d7574a SHA512 f9de8e0bf47eb5a0f84f6abf32f55e87d4275c1dc6447f1a6cfa5b5442f98239d48f377ab760803d07542e9120e25e9ba1d2959575899116b8bb6b1138402ef1 WHIRLPOOL 1e5fe61b7c7c8a63e693f2b748c25f0559ad38ad6b7fdf06564167792be6a833c695825c62a353f4c52abde53a044be3bdb4bc0c737039ebc48c5cf5c9bb417e
|
||||
|
@ -0,0 +1,120 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-gfx/darktable/darktable-1.2.3.ebuild,v 1.1 2013/09/27 05:26:44 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit cmake-utils toolchain-funcs gnome2-utils fdo-mime pax-utils eutils
|
||||
|
||||
DESCRIPTION="A virtual lighttable and darkroom for photographers"
|
||||
HOMEPAGE="http://www.darktable.org/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz
|
||||
doc? ( mirror://sourceforge/${PN}/${PV}/${PN}-usermanual.pdf -> ${PN}-usermanual-${PV}.pdf )"
|
||||
|
||||
LICENSE="GPL-3 CC-BY-3.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="colord doc flickr geo gnome-keyring gphoto2 graphicsmagick jpeg2k kde
|
||||
nls opencl openmp pax_kernel +rawspeed +slideshow +squish web-services"
|
||||
|
||||
CDEPEND="
|
||||
dev-db/sqlite:3
|
||||
>=dev-libs/glib-2.28:2
|
||||
dev-libs/libxml2:2
|
||||
colord? ( x11-misc/colord )
|
||||
flickr? ( media-libs/flickcurl )
|
||||
geo? ( net-libs/libsoup:2.4 )
|
||||
gnome-keyring? ( gnome-base/gnome-keyring )
|
||||
gnome-base/librsvg:2
|
||||
gphoto2? ( media-libs/libgphoto2 )
|
||||
graphicsmagick? ( media-gfx/graphicsmagick )
|
||||
jpeg2k? ( media-libs/openjpeg:0 )
|
||||
media-gfx/exiv2[xmp]
|
||||
media-libs/lcms:2
|
||||
>=media-libs/lensfun-0.2.3
|
||||
media-libs/libpng:0
|
||||
media-libs/openexr
|
||||
media-libs/tiff:0
|
||||
net-misc/curl
|
||||
opencl? ( virtual/opencl )
|
||||
slideshow? (
|
||||
media-libs/libsdl
|
||||
virtual/glu
|
||||
virtual/opengl
|
||||
)
|
||||
virtual/jpeg
|
||||
web-services? ( dev-libs/json-glib )
|
||||
x11-libs/cairo
|
||||
x11-libs/gdk-pixbuf:2
|
||||
x11-libs/gtk+:2
|
||||
x11-libs/pango"
|
||||
RDEPEND="${CDEPEND}
|
||||
kde? ( kde-base/kwalletd )"
|
||||
DEPEND="${CDEPEND}
|
||||
virtual/pkgconfig
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
pkg_pretend() {
|
||||
if use openmp ; then
|
||||
tc-has-openmp || die "Please switch to an openmp compatible compiler"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -e "s:\(/share/doc/\)darktable:\1${PF}:" \
|
||||
-e "s:LICENSE::" \
|
||||
-i doc/CMakeLists.txt || die
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
$(cmake-utils_use_use colord COLORD)
|
||||
$(cmake-utils_use_use flickr FLICKR)
|
||||
$(cmake-utils_use_use geo GEO)
|
||||
$(cmake-utils_use_use gnome-keyring GNOME_KEYRING)
|
||||
$(cmake-utils_use_use gphoto2 CAMERA_SUPPORT)
|
||||
$(cmake-utils_use_use graphicsmagick GRAPHICSMAGICK)
|
||||
$(cmake-utils_use_use jpeg2k OPENJPEG)
|
||||
$(cmake-utils_use_use nls NLS)
|
||||
$(cmake-utils_use_use opencl OPENCL)
|
||||
$(cmake-utils_use_use openmp OPENMP)
|
||||
$(cmake-utils_use !rawspeed DONT_USE_RAWSPEED)
|
||||
$(cmake-utils_use_use squish SQUISH)
|
||||
$(cmake-utils_use_build slideshow SLIDESHOW)
|
||||
$(cmake-utils_use_use web-services GLIBJSON)
|
||||
-DCUSTOM_CFLAGS=ON
|
||||
-DINSTALL_IOP_EXPERIMENTAL=ON
|
||||
-DINSTALL_IOP_LEGACY=ON
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
use doc && dodoc "${DISTDIR}"/${PN}-usermanual-${PV}.pdf
|
||||
|
||||
if use pax_kernel && use opencl ; then
|
||||
pax-mark Cm "${ED}"/usr/bin/${PN} || die
|
||||
eqawarn "USE=pax_kernel is set meaning that ${PN} will be run"
|
||||
eqawarn "under a PaX enabled kernel. To do so, the ${PN} binary"
|
||||
eqawarn "must be modified and this *may* lead to breakage! If"
|
||||
eqawarn "you suspect that ${PN} is broken by this modification,"
|
||||
eqawarn "please open a bug."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST luminance-hdr-2.3.0.tar.bz2 5398576 SHA256 dada0795b58843912bcb57ce61dcd615bcb9f9437b610a37ff813ad2c899c676 SHA512 6806782bec25cde92eeafc1e6a6aeb801226c0db27bd9163829b4556209267a9f5f0ecaae934fbb42a25a780cd131bc34880bc48d6d68867fe1ab117bb4cde08 WHIRLPOOL 8f1430b0e46d53e79e7ba565b73e190b0ad6efb9f2937f8612b0ddda4d442fbc4c31b055a4904c48338e00dc8719cefb94b7f43fff040255f403ebeb4e8aac95
|
||||
DIST luminance-hdr-2.3.1.tar.bz2 10328308 SHA256 7a2a81cd0f2da6b6780bdd47e5f902c9dfaeb8107d763ea63007b6fcdcb4d23b SHA512 d4c3fd51c802c5fa69e01685d89e113a4086a15f50e6e37e4e7d3520c7e30e67355356fb330b8a52c09c48593c9010fee6bea239b74e313e85dad2e1fe895efe WHIRLPOOL bfd2f6e43b260f89afaadcb9672ad59c1e6b8e5aba5ecbaaffee18fd67f30d626ba9933d30a3dc919dde7640035f3fddce8d3b47d91e4264b0e91d4ebfe02454
|
||||
|
@ -0,0 +1,15 @@
|
||||
--- luminance-hdr-2.3.1/CMakeLists.txt
|
||||
+++ luminance-hdr-2.3.1/CMakeLists.txt
|
||||
@@ -250,12 +250,6 @@
|
||||
|
||||
INSTALL(FILES ${CMAKE_SOURCE_DIR}/images/luminance-hdr.png DESTINATION share/icons/hicolor/48x48/apps) # icon
|
||||
INSTALL(FILES ${CMAKE_SOURCE_DIR}/luminance-hdr.desktop DESTINATION share/applications) #desktop entry
|
||||
- INSTALL(FILES
|
||||
- ${CMAKE_SOURCE_DIR}/AUTHORS
|
||||
- ${CMAKE_SOURCE_DIR}/README
|
||||
- ${CMAKE_SOURCE_DIR}/LICENSE
|
||||
- ${CMAKE_SOURCE_DIR}/Changelog
|
||||
- DESTINATION share/luminance-hdr) #info files
|
||||
INSTALL(DIRECTORY ${CMAKE_SOURCE_DIR}/help DESTINATION share/luminance-hdr) # help directory
|
||||
# Microsoft Windows
|
||||
ELSEIF(WIN32)
|
@ -0,0 +1,52 @@
|
||||
--- luminance-hdr-2.3.1/CMakeLists.txt
|
||||
+++ luminance-hdr-2.3.1/CMakeLists.txt
|
||||
@@ -32,12 +32,6 @@
|
||||
${QT_QTCORE_LIBRARIES} ${QT_QTGUI_LIBRARIES} ${QT_QTNETWORK_LIBRARIES}
|
||||
${QT_QTWEBKIT_LIBRARIES} ${QT_QTXML_LIBRARIES} ${QT_QTSQL_LIBRARIES})
|
||||
|
||||
-FIND_PACKAGE(Git)
|
||||
-IF(GIT_FOUND)
|
||||
- include(GetGitRevisionDescription)
|
||||
- get_git_head_revision(GIT_REFSPEC GIT_SHA1)
|
||||
-ENDIF()
|
||||
-
|
||||
IF(WIN32)
|
||||
# Windows Section
|
||||
|
||||
--- luminance-hdr-2.3.1.orig/src/Common/CMakeLists.txt
|
||||
+++ luminance-hdr-2.3.1/src/Common/CMakeLists.txt
|
||||
@@ -1,5 +1,3 @@
|
||||
-CONFIGURE_FILE( ${CMAKE_CURRENT_SOURCE_DIR}/GitSHA1.cpp.in
|
||||
- ${CMAKE_CURRENT_BINARY_DIR}/GitSHA1.cpp @ONLY)
|
||||
CONFIGURE_FILE( ${CMAKE_CURRENT_SOURCE_DIR}/global.hxx.in
|
||||
${CMAKE_CURRENT_BINARY_DIR}/global.hxx @ONLY)
|
||||
CONFIGURE_FILE( ${CMAKE_CURRENT_SOURCE_DIR}/config.h.in
|
||||
@@ -32,8 +30,7 @@
|
||||
|
||||
ADD_LIBRARY(common ${FILES_H} ${FILES_CPP} ${FILES_MOC} ${FILES_HXX} ${FILES_UI_H}
|
||||
${CMAKE_CURRENT_BINARY_DIR}/global.hxx
|
||||
- ${CMAKE_CURRENT_BINARY_DIR}/config.h
|
||||
- ${CMAKE_CURRENT_BINARY_DIR}/GitSHA1.cpp)
|
||||
+ ${CMAKE_CURRENT_BINARY_DIR}/config.h)
|
||||
|
||||
SET(FILES_TO_TRANSLATE ${FILES_TO_TRANSLATE} ${FILES_CPP} ${FILES_H} ${FILES_UI} ${FILES_HXX} PARENT_SCOPE)
|
||||
SET(LUMINANCE_MODULES_GUI ${LUMINANCE_MODULES_GUI} common PARENT_SCOPE)
|
||||
--- luminance-hdr-2.3.1.orig/src/UI/UMessageBox.cpp
|
||||
+++ luminance-hdr-2.3.1/src/UI/UMessageBox.cpp
|
||||
@@ -28,7 +28,6 @@
|
||||
|
||||
#include "UI/UMessageBox.h"
|
||||
|
||||
-#include "Common/GitSHA1.h"
|
||||
#include "Common/config.h"
|
||||
#include "Common/archs.h"
|
||||
#include "ui_about.h"
|
||||
@@ -92,7 +91,7 @@
|
||||
ui.authorsBox->setOpenExternalLinks(true);
|
||||
ui.thanksToBox->setOpenExternalLinks(true);
|
||||
ui.GPLbox->setTextInteractionFlags(Qt::TextSelectableByMouse);
|
||||
- ui.label_version->setText(ui.label_version->text().append(QString(LUMINANCEVERSION)).append(" [Build ").append(QString(g_GIT_SHA1).left(6)).append("]"));
|
||||
+ ui.label_version->setText(ui.label_version->text().append(QString(LUMINANCEVERSION)));
|
||||
|
||||
bool license_file_not_found=true;
|
||||
QString docDir = QCoreApplication::applicationDirPath();
|
@ -0,0 +1,38 @@
|
||||
--- luminance-hdr-2.3.1/cmake/CompilerSettings.cmake
|
||||
+++ luminance-hdr-2.3.1/cmake/CompilerSettings.cmake
|
||||
@@ -8,6 +8,8 @@
|
||||
ENDIF()
|
||||
ENDIF()
|
||||
|
||||
+OPTION(USE_OPENMP "Use openmp threading support." ON)
|
||||
+
|
||||
#Activate C++11 support, when available
|
||||
if("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU")
|
||||
execute_process(COMMAND ${CMAKE_CXX_COMPILER} -dumpversion OUTPUT_VARIABLE GCC_VERSION)
|
||||
@@ -39,16 +41,18 @@
|
||||
endif()
|
||||
|
||||
#OpenMP Support under Linux, Windows with MSVC & MacOS X with GCC >= 4.3
|
||||
-IF(MSVC)
|
||||
- FIND_PACKAGE(OpenMP REQUIRED)
|
||||
- SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS}")
|
||||
- SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${OpenMP_C_FLAGS}")
|
||||
-ELSEIF(CMAKE_COMPILER_IS_GNUCC AND UNIX)
|
||||
- EXECUTE_PROCESS(COMMAND ${CMAKE_CXX_COMPILER} -dumpversion OUTPUT_VARIABLE GCC_VERSION)
|
||||
- IF(GCC_VERSION VERSION_GREATER 4.3 OR GCC_VERSION VERSION_EQUAL 4.3)
|
||||
- MESSAGE(STATUS "GCC >= 4.3")
|
||||
+IF(USE_OPENMP)
|
||||
+ IF(MSVC)
|
||||
FIND_PACKAGE(OpenMP REQUIRED)
|
||||
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS}")
|
||||
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${OpenMP_C_FLAGS}")
|
||||
+ ELSEIF(CMAKE_COMPILER_IS_GNUCC AND UNIX)
|
||||
+ EXECUTE_PROCESS(COMMAND ${CMAKE_CXX_COMPILER} -dumpversion OUTPUT_VARIABLE GCC_VERSION)
|
||||
+ IF(GCC_VERSION VERSION_GREATER 4.3 OR GCC_VERSION VERSION_EQUAL 4.3)
|
||||
+ MESSAGE(STATUS "GCC >= 4.3")
|
||||
+ FIND_PACKAGE(OpenMP REQUIRED)
|
||||
+ SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS}")
|
||||
+ SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${OpenMP_C_FLAGS}")
|
||||
+ ENDIF()
|
||||
ENDIF()
|
||||
ENDIF()
|
@ -0,0 +1,79 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-gfx/luminance-hdr/luminance-hdr-2.3.1.ebuild,v 1.1 2013/09/27 07:19:58 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit cmake-utils toolchain-funcs eutils flag-o-matic
|
||||
|
||||
MY_P=${P/_/.}
|
||||
DESCRIPTION="Luminance HDR is a graphical user interface that provides a workflow for HDR imaging."
|
||||
HOMEPAGE="http://qtpfsgui.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/qtpfsgui/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
LANGS=" cs de es fi fr hi hu id it pl ro ru sk tr zh"
|
||||
IUSE="sse2 ${LANGS// / linguas_} openmp"
|
||||
|
||||
DEPEND="
|
||||
>=media-gfx/exiv2-0.14
|
||||
media-libs/lcms:2
|
||||
media-libs/libpng:0=
|
||||
>=media-libs/libraw-0.13.4:=
|
||||
>=media-libs/openexr-1.2.2-r2:=
|
||||
>=media-libs/tiff-3.8.2-r2:0
|
||||
sci-libs/fftw:3.0[threads]
|
||||
sci-libs/gsl
|
||||
virtual/jpeg:0
|
||||
dev-qt/qtcore:4
|
||||
dev-qt/qtgui:4
|
||||
dev-qt/qtsql:4
|
||||
dev-qt/qtwebkit:4"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=( AUTHORS BUGS Changelog README TODO )
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
pkg_pretend() {
|
||||
if use sse2 ; then
|
||||
append-flags -msse2
|
||||
else
|
||||
eerror "This package requires a CPU supporting the SSE2 instruction set."
|
||||
die "SSE2 support missing"
|
||||
fi
|
||||
|
||||
if use openmp ; then
|
||||
tc-has-openmp || die "Please switch to an openmp compatible compiler"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# don't try to define the git version of the release
|
||||
epatch "${FILESDIR}"/${P}-no-git.patch
|
||||
|
||||
# don't install extra docs and fix install dir
|
||||
epatch "${FILESDIR}"/${P}-docs.patch
|
||||
|
||||
# fix openmp automagic support
|
||||
epatch "${FILESDIR}"/${P}-openmp-automagic.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
mycmakeargs=(
|
||||
$(cmake-utils_use_use openmp OPENMP)
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
|
||||
for lang in ${LANGS} ; do
|
||||
if ! use linguas_${lang} ; then
|
||||
rm -f "${D}"/usr/share/${PN}/i18n/{lang,qt}_${lang}.qm || die
|
||||
fi
|
||||
done
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST giflib-4.1.6.tar.bz2 506050 SHA256 e1c1ced9c5bc8f93ef0faf0a8c7717abf784d10a7b270d2285e8e1f3b93f2bed SHA512 f47954218ed7d3415cc195a1031a688fcb7dd2bc2b394491830e6b5f5332903ed7c4433b795cd3da9ac53bfc969fe94bec2a4e66b15c0385c732c01b1b7e5057 WHIRLPOOL ee5c3c606dcc2a56151cfd8f9ec33ce6071fb433969df92fae5d51def5bdf974f6dcdb1acf7d83234967f0f5fd3822702822e1e6b274c2e6c39e3e324b54fe09
|
||||
DIST giflib-4.2.3.tar.bz2 560968 SHA256 0ac8d56726f77c8bc9648c93bbb4d6185d32b15ba7bdb702415990f96f3cb766 SHA512 f582fafa3ccb0f9ae6f040df0e33469a26fb275437f8615c39af613523ef5f3b09003ed3419f62880200606edfbe08b5aa3ba18a4d615ecd8da27331aec16b36 WHIRLPOOL b23ef64d227eb5219a9a1143cdafea6cb0aea12409fc18a686d5bf2d5241f97ac1c8f8bb76b0c99a5fd60fcff45fc092a2226a6b54ee24a2ec3841765a102447
|
||||
DIST giflib-5.0.4.tar.bz2 629190 SHA256 7c78b2834256fcb7ff703d0d2153f965dc296f8e059de1fc635aba1042b00bba SHA512 057c7754a7169a8690d03b39e084626355e907dcc0644473da1ebe6c6f36c7d991a477c0b22d258bdbceafe473bab585bca57fa9bf4d9c0c4d7ebbe920bea83f WHIRLPOOL 91aad640c43581b9ff0daef2e8e909414419451590bbc372943275558724513cd3b1f081dc202498670c7d18cb22b48e067c79a157da6f597c8c56c737e07231
|
||||
|
@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/giflib/giflib-4.2.3.ebuild,v 1.1 2013/09/27 05:58:15 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils autotools
|
||||
|
||||
DESCRIPTION="Library to handle, display and manipulate GIF images"
|
||||
HOMEPAGE="http://sourceforge.net/projects/giflib/"
|
||||
SRC_URI="mirror://sourceforge/giflib/${P}.tar.bz2"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="static-libs X"
|
||||
|
||||
DEPEND="X? (
|
||||
x11-libs/libXt
|
||||
x11-libs/libX11
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM
|
||||
)"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
# don't generate html docs
|
||||
sed -i '/^SUBDIRS/s/doc//' Makefile.am || die
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-4.1.6-giffix-null-Extension-fix.patch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable X x11)
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd tests || die
|
||||
emake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
# for static libs the .la file is required if built with +X
|
||||
use static-libs || find "${ED}" -name '*.la' -exec rm -f {} +
|
||||
doman doc/*.1
|
||||
dodoc doc/*.txt
|
||||
}
|
@ -0,0 +1,45 @@
|
||||
commit 562d1412a705b6667bc9fa594133366fb7e787ab
|
||||
Author: hasufell <hasufell@gentoo.org>
|
||||
Date: Thu Sep 26 20:49:44 2013 +0200
|
||||
|
||||
avoid autoreconf
|
||||
|
||||
diff --git a/examples/3ds2obj/Makefile.in b/examples/3ds2obj/Makefile.in
|
||||
index 1b5b1fe..d2fda8a 100644
|
||||
--- a/examples/3ds2obj/Makefile.in
|
||||
+++ b/examples/3ds2obj/Makefile.in
|
||||
@@ -180,7 +180,7 @@ top_builddir = @top_builddir@
|
||||
top_srcdir = @top_srcdir@
|
||||
INCLUDES = -I$(top_srcdir)/src
|
||||
3ds2obj_SOURCES = 3ds2obj.c
|
||||
-LDADD = $(top_builddir)/src/lib3ds.la
|
||||
+LDADD = $(top_builddir)/src/lib3ds.la -lm
|
||||
EXTRA_DIST = 3ds2obj.vcproj
|
||||
all: all-am
|
||||
|
||||
diff --git a/examples/3dsdump/Makefile.in b/examples/3dsdump/Makefile.in
|
||||
index 4c915cc..f9f7bba 100644
|
||||
--- a/examples/3dsdump/Makefile.in
|
||||
+++ b/examples/3dsdump/Makefile.in
|
||||
@@ -180,7 +180,7 @@ top_builddir = @top_builddir@
|
||||
top_srcdir = @top_srcdir@
|
||||
INCLUDES = -I$(top_srcdir)/src
|
||||
3dsdump_SOURCES = 3dsdump.c
|
||||
-LDADD = $(top_builddir)/src/lib3ds.la
|
||||
+LDADD = $(top_builddir)/src/lib3ds.la -lm
|
||||
EXTRA_DIST = 3dsdump.vcproj
|
||||
all: all-am
|
||||
|
||||
diff --git a/examples/cube/Makefile.in b/examples/cube/Makefile.in
|
||||
index 76b7946..1c4b5b6 100644
|
||||
--- a/examples/cube/Makefile.in
|
||||
+++ b/examples/cube/Makefile.in
|
||||
@@ -180,7 +180,7 @@ top_builddir = @top_builddir@
|
||||
top_srcdir = @top_srcdir@
|
||||
INCLUDES = -I$(top_srcdir)/src
|
||||
cube_SOURCES = cube.c
|
||||
-LDADD = $(top_builddir)/src/lib3ds.la
|
||||
+LDADD = $(top_builddir)/src/lib3ds.la -lm
|
||||
EXTRA_DIST = cube.vcproj cube.tga
|
||||
all: all-am
|
||||
|
@ -0,0 +1,56 @@
|
||||
commit 158cf6f8deaac69eba0c5941f809469cc3eefb43
|
||||
Author: hasufell <hasufell@gentoo.org>
|
||||
Date: Thu Sep 26 20:49:01 2013 +0200
|
||||
|
||||
fix underlinking
|
||||
|
||||
diff --git a/configure.in b/configure.in
|
||||
index 7bf17c2..fa5bd3f 100644
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -16,6 +16,8 @@ AM_INIT_AUTOMAKE(lib3ds, $LIB3DS_VERSION)
|
||||
AC_PROG_CC
|
||||
AC_PROG_LIBTOOL
|
||||
|
||||
+AC_CHECK_LIBM
|
||||
+
|
||||
AC_OUTPUT([ \
|
||||
lib3ds-config \
|
||||
Makefile \
|
||||
diff --git a/examples/3ds2obj/Makefile.am b/examples/3ds2obj/Makefile.am
|
||||
index 8213225..4214675 100644
|
||||
--- a/examples/3ds2obj/Makefile.am
|
||||
+++ b/examples/3ds2obj/Makefile.am
|
||||
@@ -3,6 +3,6 @@ INCLUDES = -I$(top_srcdir)/src
|
||||
bin_PROGRAMS = 3ds2obj
|
||||
3ds2obj_SOURCES = 3ds2obj.c
|
||||
|
||||
-LDADD = $(top_builddir)/src/lib3ds.la
|
||||
+LDADD = $(top_builddir)/src/lib3ds.la $(LIBM)
|
||||
|
||||
EXTRA_DIST = 3ds2obj.vcproj
|
||||
diff --git a/examples/3dsdump/Makefile.am b/examples/3dsdump/Makefile.am
|
||||
index 98ec5d1..ef19b04 100644
|
||||
--- a/examples/3dsdump/Makefile.am
|
||||
+++ b/examples/3dsdump/Makefile.am
|
||||
@@ -3,6 +3,6 @@ INCLUDES = -I$(top_srcdir)/src
|
||||
bin_PROGRAMS = 3dsdump
|
||||
3dsdump_SOURCES = 3dsdump.c
|
||||
|
||||
-LDADD = $(top_builddir)/src/lib3ds.la
|
||||
+LDADD = $(top_builddir)/src/lib3ds.la $(LIBM)
|
||||
|
||||
EXTRA_DIST = 3dsdump.vcproj
|
||||
diff --git a/examples/cube/Makefile.am b/examples/cube/Makefile.am
|
||||
index c79c0ee..539813d 100644
|
||||
--- a/examples/cube/Makefile.am
|
||||
+++ b/examples/cube/Makefile.am
|
||||
@@ -3,7 +3,7 @@ INCLUDES = -I$(top_srcdir)/src
|
||||
bin_PROGRAMS = cube
|
||||
cube_SOURCES = cube.c
|
||||
|
||||
-LDADD = $(top_builddir)/src/lib3ds.la
|
||||
+LDADD = $(top_builddir)/src/lib3ds.la $(LIBM)
|
||||
|
||||
EXTRA_DIST = cube.vcproj cube.tga
|
||||
|
@ -0,0 +1,109 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-sound/lilypond/lilypond-2.17.26.ebuild,v 1.1 2013/09/27 08:10:27 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
inherit elisp-common autotools eutils python-single-r1
|
||||
|
||||
DESCRIPTION="GNU Music Typesetter"
|
||||
SRC_URI="http://download.linuxaudio.org/lilypond/sources/v${PV:0:4}/${P}.tar.gz"
|
||||
HOMEPAGE="http://lilypond.org/"
|
||||
|
||||
LICENSE="GPL-3 FDL-1.3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~x86"
|
||||
LANGS=" ca cs da de el eo es fi fr it ja nl ru sv tr uk vi zh_TW"
|
||||
IUSE="debug emacs profile vim-syntax ${LANGS// / linguas_}"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND=">=app-text/ghostscript-gpl-8.15
|
||||
>=dev-scheme/guile-1.8.2[deprecated,regex]
|
||||
media-fonts/urw-fonts
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype:2
|
||||
>=x11-libs/pango-1.12.3
|
||||
emacs? ( virtual/emacs )
|
||||
${PYTHON_DEPS}"
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/t1utils
|
||||
dev-lang/perl
|
||||
dev-texlive/texlive-metapost
|
||||
virtual/pkgconfig
|
||||
media-gfx/fontforge
|
||||
>=sys-apps/texinfo-4.11
|
||||
>=sys-devel/bison-2.0
|
||||
sys-devel/flex
|
||||
sys-devel/gettext
|
||||
sys-devel/make"
|
||||
|
||||
# Correct output data for tests isn't bundled with releases
|
||||
RESTRICT="test"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-2.17.2-tex-docs.patch
|
||||
|
||||
if ! use vim-syntax ; then
|
||||
sed -i 's/vim//' GNUmakefile.in || die
|
||||
fi
|
||||
|
||||
# respect CFLAGS
|
||||
sed -i 's/OPTIMIZE -g/OPTIMIZE/' aclocal.m4 || die
|
||||
|
||||
for lang in ${LANGS}; do
|
||||
use linguas_${lang} || rm po/${lang}.po || die
|
||||
done
|
||||
|
||||
# respect AR
|
||||
sed -i "s/^AR=ar/AR=$(tc-getAR)/" stepmake/stepmake/library-vars.make || die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# documentation generation currently not supported since it requires a newer
|
||||
# version of texi2html than is currently in the tree
|
||||
|
||||
econf \
|
||||
--with-ncsb-dir=/usr/share/fonts/urw-fonts \
|
||||
--disable-documentation \
|
||||
--disable-optimising \
|
||||
--disable-pipe \
|
||||
$(use_enable debug debugging) \
|
||||
$(use_enable profile profiling)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
|
||||
if use emacs ; then
|
||||
elisp-compile elisp/lilypond-{font-lock,indent,mode,what-beat}.el \
|
||||
|| die "elisp-compile failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install () {
|
||||
emake DESTDIR="${D}" vimdir=/usr/share/vim/vimfiles install
|
||||
|
||||
# remove elisp files since they are in the wrong directory
|
||||
rm -r "${ED}"/usr/share/emacs || die
|
||||
|
||||
if use emacs ; then
|
||||
elisp-install ${PN} elisp/*.{el,elc} elisp/out/*.el \
|
||||
|| die "elisp-install failed"
|
||||
elisp-site-file-install "${FILESDIR}"/50${PN}-gentoo.el
|
||||
fi
|
||||
|
||||
python_fix_shebang "${ED}"
|
||||
|
||||
dodoc AUTHORS.txt HACKING NEWS.txt README.txt
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
@ -1 +1 @@
|
||||
Thu, 26 Sep 2013 12:36:56 +0000
|
||||
Fri, 27 Sep 2013 15:06:58 +0000
|
||||
|
@ -0,0 +1,64 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?xml-stylesheet href="/xsl/glsa.xsl" type="text/xsl"?>
|
||||
<?xml-stylesheet href="/xsl/guide.xsl" type="text/xsl"?>
|
||||
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
|
||||
<glsa id="201309-20">
|
||||
<title>Dropbear: Multiple vulnerabilities</title>
|
||||
<synopsis>Multiple vulnerabilities have been found in Dropbear, the worst of
|
||||
which could lead to arbitrary code execution.
|
||||
</synopsis>
|
||||
<product type="ebuild">dropbear</product>
|
||||
<announced>September 26, 2013</announced>
|
||||
<revised>September 26, 2013: 1</revised>
|
||||
<bug>328409</bug>
|
||||
<bug>405607</bug>
|
||||
<access>remote</access>
|
||||
<affected>
|
||||
<package name="net-misc/dropbear" auto="yes" arch="*">
|
||||
<unaffected range="ge">2012.55</unaffected>
|
||||
<vulnerable range="lt">2012.55</vulnerable>
|
||||
</package>
|
||||
</affected>
|
||||
<background>
|
||||
<p>Dropbear is an SSH server and client designed with a small memory
|
||||
footprint.
|
||||
</p>
|
||||
</background>
|
||||
<description>
|
||||
<p>Multiple vulnerabilities have been discovered in Dropbear. Please review
|
||||
the CVE identifier and Gentoo bug referenced below for details.
|
||||
</p>
|
||||
</description>
|
||||
<impact type="normal">
|
||||
<p>A remote attacker could send a specially crafted request to trigger a
|
||||
use-after-free condition, possibly resulting in arbitrary code execution
|
||||
or a Denial of Service condition. Additionally, the bundled version of
|
||||
libtommath has an error in its prime number generation, which could
|
||||
result in the generation of weak keys.
|
||||
</p>
|
||||
</impact>
|
||||
<workaround>
|
||||
<p>There is no known workaround at this time.</p>
|
||||
</workaround>
|
||||
<resolution>
|
||||
<p>All Dropbear users should upgrade to the latest version:</p>
|
||||
|
||||
<code>
|
||||
# emerge --sync
|
||||
# emerge --ask --oneshot --verbose ">=net-misc/dropbear-2012.55"
|
||||
</code>
|
||||
|
||||
</resolution>
|
||||
<references>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-0920">CVE-2012-0920</uri>
|
||||
<uri link="https://bugs.gentoo.org/show_bug.cgi?id=328383">libtommath
|
||||
Gentoo bug
|
||||
</uri>
|
||||
</references>
|
||||
<metadata tag="requester" timestamp="Sat, 03 Mar 2012 20:26:25 +0000">
|
||||
underling
|
||||
</metadata>
|
||||
<metadata tag="submitter" timestamp="Thu, 26 Sep 2013 23:47:21 +0000">
|
||||
creffett
|
||||
</metadata>
|
||||
</glsa>
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue