mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 11:37:20 -08:00
Merge updates from master
This commit is contained in:
@@ -0,0 +1,261 @@
|
||||
#! /bin/sh /usr/share/dpatch/dpatch-run
|
||||
# Description: fix warning: cast from pointer to integer of different size
|
||||
# Origin: https://sourceforge.net/tracker/download.php?group_id=11005&atid=311005&file_id=340993&aid=2846694
|
||||
# Bug: https://sourceforge.net/tracker/?func=detail&atid=311005&aid=2846694&group_id=11005
|
||||
# Author: Jack Howarth <jwhowarth@users.sourceforge.net>
|
||||
|
||||
@DPATCH@
|
||||
diff -urNad nedit-5.6~cvs20081118~/Xlt/SlideC.c nedit-5.6~cvs20081118/Xlt/SlideC.c
|
||||
--- nedit-5.6~cvs20081118~/Xlt/SlideC.c 2009-09-15 21:27:12.000000000 +0200
|
||||
+++ nedit-5.6~cvs20081118/Xlt/SlideC.c 2009-09-15 22:05:42.000000000 +0200
|
||||
@@ -28,6 +28,7 @@
|
||||
#endif
|
||||
|
||||
#include <Xm/XmP.h>
|
||||
+#include <stdint.h>
|
||||
|
||||
#include "SlideCP.h"
|
||||
|
||||
@@ -116,14 +117,14 @@
|
||||
/* notify that initialize called XtArgsProc */ NULL,
|
||||
/* NULL XtProc */ NULL,
|
||||
/* NULL XtPointer */ NULL,
|
||||
-/* NULL Cardinal */ (Cardinal)NULL,
|
||||
+/* NULL Cardinal */ (Cardinal)(uintptr_t)NULL,
|
||||
/* resources for subclass fields XtResourceList */ resources,
|
||||
/* number of entries in resources Cardinal */ XtNumber(resources),
|
||||
/* resource class quarkified XrmClass */ NULLQUARK,
|
||||
-/* NULL Boolean */ (Boolean)NULL,
|
||||
-/* NULL XtEnum */ (XtEnum)NULL,
|
||||
-/* NULL Boolean */ (Boolean)NULL,
|
||||
-/* NULL Boolean */ (Boolean)NULL,
|
||||
+/* NULL Boolean */ (Boolean)(uintptr_t)NULL,
|
||||
+/* NULL XtEnum */ (XtEnum)(uintptr_t)NULL,
|
||||
+/* NULL Boolean */ (Boolean)(uintptr_t)NULL,
|
||||
+/* NULL Boolean */ (Boolean)(uintptr_t)NULL,
|
||||
/* free data for subclass pointers XtWidgetProc */ destroy,
|
||||
/* NULL XtProc */ NULL,
|
||||
/* NULL XtProc */ NULL,
|
||||
diff -urNad nedit-5.6~cvs20081118~/source/file.c nedit-5.6~cvs20081118/source/file.c
|
||||
--- nedit-5.6~cvs20081118~/source/file.c 2009-09-15 21:27:12.000000000 +0200
|
||||
+++ nedit-5.6~cvs20081118/source/file.c 2009-09-15 22:06:42.000000000 +0200
|
||||
@@ -52,6 +52,7 @@
|
||||
#include <limits.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
+#include <stdint.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
@@ -1914,7 +1915,7 @@
|
||||
if (XmToggleButtonGetState(w)) {
|
||||
XtPointer userData;
|
||||
XtVaGetValues(w, XmNuserData, &userData, NULL);
|
||||
- *(int*) clientData = (int) userData;
|
||||
+ *(int*) clientData = (int) (uintptr_t) userData;
|
||||
}
|
||||
}
|
||||
|
||||
diff -urNad nedit-5.6~cvs20081118~/source/highlight.c nedit-5.6~cvs20081118/source/highlight.c
|
||||
--- nedit-5.6~cvs20081118~/source/highlight.c 2009-09-15 21:27:12.000000000 +0200
|
||||
+++ nedit-5.6~cvs20081118/source/highlight.c 2009-09-15 22:07:06.000000000 +0200
|
||||
@@ -49,6 +49,7 @@
|
||||
#include <limits.h>
|
||||
#include <math.h>
|
||||
#include <stdlib.h>
|
||||
+#include <stdint.h>
|
||||
#include <string.h>
|
||||
#ifdef VMS
|
||||
#include "../util/VMSparam.h"
|
||||
@@ -512,7 +513,7 @@
|
||||
if (!pattern) {
|
||||
return NULL;
|
||||
}
|
||||
- return (void*)pattern->userStyleIndex;
|
||||
+ return (void*)(uintptr_t)pattern->userStyleIndex;
|
||||
}
|
||||
|
||||
/*
|
||||
diff -urNad nedit-5.6~cvs20081118~/source/macro.c nedit-5.6~cvs20081118/source/macro.c
|
||||
--- nedit-5.6~cvs20081118~/source/macro.c 2009-09-15 21:27:12.000000000 +0200
|
||||
+++ nedit-5.6~cvs20081118/source/macro.c 2009-09-15 22:07:27.000000000 +0200
|
||||
@@ -60,6 +60,7 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
+#include <stdint.h>
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
#include <errno.h>
|
||||
@@ -2924,7 +2925,7 @@
|
||||
readStringArg(argList[i], &btnLabel, btnStorage, errMsg);
|
||||
btn = XtVaCreateManagedWidget("mdBtn", xmPushButtonWidgetClass, dialog,
|
||||
XmNlabelString, s1=XmStringCreateSimple(btnLabel),
|
||||
- XmNuserData, (XtPointer)(i+1), NULL);
|
||||
+ XmNuserData, (XtPointer)(uintptr_t)(i+1), NULL);
|
||||
XtAddCallback(btn, XmNactivateCallback, dialogBtnCB, window);
|
||||
XmStringFree(s1);
|
||||
}
|
||||
@@ -2965,7 +2966,7 @@
|
||||
return; /* shouldn't happen */
|
||||
if (XtClass(w) == xmPushButtonWidgetClass) {
|
||||
XtVaGetValues(w, XmNuserData, &userData, NULL);
|
||||
- retVal.val.n = (int)userData;
|
||||
+ retVal.val.n = (int)(uintptr_t)userData;
|
||||
} else
|
||||
retVal.val.n = 1;
|
||||
retVal.tag = INT_TAG;
|
||||
@@ -3101,7 +3102,7 @@
|
||||
readStringArg(argList[i], &btnLabel, btnStorage, errMsg);
|
||||
btn = XtVaCreateManagedWidget("mdBtn", xmPushButtonWidgetClass, dialog,
|
||||
XmNlabelString, s1=XmStringCreateSimple(btnLabel),
|
||||
- XmNuserData, (XtPointer)(i+1), NULL);
|
||||
+ XmNuserData, (XtPointer)(uintptr_t)(i+1), NULL);
|
||||
XtAddCallback(btn, XmNactivateCallback, stringDialogBtnCB, window);
|
||||
XmStringFree(s1);
|
||||
}
|
||||
@@ -3155,7 +3156,7 @@
|
||||
returned in w. */
|
||||
if (XtClass(w) == xmPushButtonWidgetClass) {
|
||||
XtVaGetValues(w, XmNuserData, &userData, NULL);
|
||||
- btnNum = (int)userData;
|
||||
+ btnNum = (int)(uintptr_t)userData;
|
||||
} else
|
||||
btnNum = 1;
|
||||
|
||||
@@ -3680,7 +3681,7 @@
|
||||
readStringArg(argList[i], &btnLabel, btnStorage, errMsg);
|
||||
btn = XtVaCreateManagedWidget("mdBtn", xmPushButtonWidgetClass, dialog,
|
||||
XmNlabelString, s1=XmStringCreateSimple(btnLabel),
|
||||
- XmNuserData, (XtPointer)(i+1), NULL);
|
||||
+ XmNuserData, (XtPointer)(uintptr_t)(i+1), NULL);
|
||||
XtAddCallback(btn, XmNactivateCallback, listDialogBtnCB, window);
|
||||
XmStringFree(s1);
|
||||
}
|
||||
@@ -3760,7 +3761,7 @@
|
||||
returned in w. */
|
||||
if (XtClass(w) == xmPushButtonWidgetClass) {
|
||||
XtVaGetValues(w, XmNuserData, &userData, NULL);
|
||||
- btnNum = (int)userData;
|
||||
+ btnNum = (int)(uintptr_t)userData;
|
||||
} else
|
||||
btnNum = 1;
|
||||
|
||||
diff -urNad nedit-5.6~cvs20081118~/source/preferences.c nedit-5.6~cvs20081118/source/preferences.c
|
||||
--- nedit-5.6~cvs20081118~/source/preferences.c 2009-09-15 21:27:12.000000000 +0200
|
||||
+++ nedit-5.6~cvs20081118/source/preferences.c 2009-09-15 22:07:47.000000000 +0200
|
||||
@@ -58,6 +58,7 @@
|
||||
#include <ctype.h>
|
||||
#include <pwd.h>
|
||||
#include <stdlib.h>
|
||||
+#include <stdint.h>
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
@@ -2296,7 +2297,7 @@
|
||||
XtVaGetValues(menu, XmNchildren, &items, XmNnumChildren, &nItems, NULL);
|
||||
for (n=0; n<(int)nItems; n++) {
|
||||
XtVaGetValues(items[n], XmNuserData, &userData, NULL);
|
||||
- XmToggleButtonSetState(items[n], (int)userData == mode, False);
|
||||
+ XmToggleButtonSetState(items[n], (int)(uintptr_t)userData == mode, False);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -5148,7 +5149,7 @@
|
||||
xmToggleButtonGadgetClass, menu,
|
||||
XmNlabelString, s1=XmStringCreateSimple(LanguageModes[i]->name),
|
||||
XmNmarginHeight, 0,
|
||||
- XmNuserData, (void *)i,
|
||||
+ XmNuserData, (void *)(uintptr_t)i,
|
||||
XmNset, window->languageMode==i, NULL);
|
||||
XmStringFree(s1);
|
||||
XtAddCallback(btn, XmNvalueChangedCallback, setLangModeCB, window);
|
||||
@@ -5169,14 +5170,14 @@
|
||||
XtVaGetValues(w, XmNuserData, &mode, NULL);
|
||||
|
||||
/* If the mode didn't change, do nothing */
|
||||
- if (window->languageMode == (int)mode)
|
||||
+ if (window->languageMode == (int)(uintptr_t)mode)
|
||||
return;
|
||||
|
||||
/* redo syntax highlighting word delimiters, etc. */
|
||||
/*
|
||||
reapplyLanguageMode(window, (int)mode, False);
|
||||
*/
|
||||
- params[0] = (((int)mode) == PLAIN_LANGUAGE_MODE) ? "" : LanguageModes[(int)mode]->name;
|
||||
+ params[0] = (((int)(uintptr_t)mode) == PLAIN_LANGUAGE_MODE) ? "" : LanguageModes[(int)(uintptr_t)mode]->name;
|
||||
XtCallActionProc(window->textArea, "set_language_mode", NULL, params, 1);
|
||||
}
|
||||
|
||||
diff -urNad nedit-5.6~cvs20081118~/source/regularExp.c nedit-5.6~cvs20081118/source/regularExp.c
|
||||
--- nedit-5.6~cvs20081118~/source/regularExp.c 2009-09-15 21:27:12.000000000 +0200
|
||||
+++ nedit-5.6~cvs20081118/source/regularExp.c 2009-09-15 22:08:16.000000000 +0200
|
||||
@@ -88,6 +88,7 @@
|
||||
#include <limits.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
+#include <stdint.h>
|
||||
#include <string.h>
|
||||
|
||||
#ifdef HAVE_DEBUG_H
|
||||
@@ -4157,7 +4158,7 @@
|
||||
table [*c] = 1;
|
||||
}
|
||||
|
||||
- table [(int) NULL] = 1; /* These */
|
||||
+ table [(int)(uintptr_t) NULL] = 1; /* These */
|
||||
table [(int) '\t'] = 1; /* characters */
|
||||
table [(int) '\n'] = 1; /* are always */
|
||||
table [(int) ' ' ] = 1; /* delimiters. */
|
||||
diff -urNad nedit-5.6~cvs20081118~/source/userCmds.c nedit-5.6~cvs20081118/source/userCmds.c
|
||||
--- nedit-5.6~cvs20081118~/source/userCmds.c 2009-09-15 21:27:12.000000000 +0200
|
||||
+++ nedit-5.6~cvs20081118/source/userCmds.c 2009-09-15 22:08:47.000000000 +0200
|
||||
@@ -49,6 +49,7 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
+#include <stdint.h>
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
#ifdef VMS
|
||||
@@ -1116,7 +1117,7 @@
|
||||
XtVaGetValues(items[n], XmNsubMenuId, &subMenu, NULL);
|
||||
dimSelDepItemsInMenu(subMenu, menuList, nMenuItems, sensitive);
|
||||
} else {
|
||||
- index = (int)userData - 10;
|
||||
+ index = (int)(uintptr_t)userData - 10;
|
||||
if (index <0 || index >= nMenuItems)
|
||||
return;
|
||||
if (menuList[index]->input == FROM_SELECTION)
|
||||
@@ -1928,7 +1929,7 @@
|
||||
XmNlabelString, st1,
|
||||
XmNacceleratorText, st2,
|
||||
XmNmnemonic, f->mnemonic,
|
||||
- XmNuserData, (XtPointer)(index+10), NULL);
|
||||
+ XmNuserData, (XtPointer)(uintptr_t)(index+10), NULL);
|
||||
XtAddCallback(btn, XmNactivateCallback, cbRtn, cbArg);
|
||||
XmStringFree(st1);
|
||||
XmStringFree(st2);
|
||||
diff -urNad nedit-5.6~cvs20081118~/util/prefFile.c nedit-5.6~cvs20081118/util/prefFile.c
|
||||
--- nedit-5.6~cvs20081118~/util/prefFile.c 2009-09-15 21:27:12.000000000 +0200
|
||||
+++ nedit-5.6~cvs20081118/util/prefFile.c 2009-09-15 22:04:14.000000000 +0200
|
||||
@@ -38,6 +38,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
+#include <stdint.h>
|
||||
#ifdef VMS
|
||||
#include "VMSparam.h"
|
||||
#else
|
||||
@@ -353,9 +354,9 @@
|
||||
*(int *)rsrcDescrip->valueAddr = 0;
|
||||
return False;
|
||||
case PREF_STRING:
|
||||
- if ((int)strlen(string) >= (int)rsrcDescrip->arg)
|
||||
+ if ((int)strlen(string) >= (int)(uintptr_t)rsrcDescrip->arg)
|
||||
return False;
|
||||
- strncpy(rsrcDescrip->valueAddr, string, (int)rsrcDescrip->arg);
|
||||
+ strncpy(rsrcDescrip->valueAddr, string, (int)(uintptr_t)rsrcDescrip->arg);
|
||||
return True;
|
||||
case PREF_ALLOC_STRING:
|
||||
*(char **)rsrcDescrip->valueAddr = XtMalloc(strlen(string) + 1);
|
||||
@@ -0,0 +1,17 @@
|
||||
--- source/Makefile.common 2004-03-21 15:25:56.000000000 +0100
|
||||
+++ source/Makefile.common.new 2009-10-24 10:47:03.667835157 +0200
|
||||
@@ -21,12 +21,12 @@
|
||||
# we only want natural rebuilds to regenerate the link date.
|
||||
nedit: $(OBJS) ../util/libNUtil.a $(XMLLIB) $(XLTLIB)
|
||||
$(CC) $(CFLAGS) -c linkdate.c
|
||||
- $(CC) $(CFLAGS) $(OBJS) linkdate.o $(XMLLIB) \
|
||||
+ $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) linkdate.o $(XMLLIB) \
|
||||
$(XLTLIB) ../util/libNUtil.a $(LIBS) -o $@
|
||||
|
||||
# Note LIBS isn't quite right here; it links unnecessarily against Motif
|
||||
nc: nc.o server_common.o ../util/libNUtil.a
|
||||
- $(CC) $(CFLAGS) nc.o server_common.o ../util/libNUtil.a $(LIBS) -o $@
|
||||
+ $(CC) $(CFLAGS) $(LDFLAGS) nc.o server_common.o ../util/libNUtil.a $(LIBS) -o $@
|
||||
|
||||
help.o: help.c
|
||||
$(CC) $(CFLAGS) $(BIGGER_STRINGS) -c help.c -o $@
|
||||
@@ -2,6 +2,6 @@
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>maintainer-needed@gentoo.org</email>
|
||||
<email>amynka@gentoo.org</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
||||
@@ -0,0 +1,74 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="Multi-purpose text editor for the X Window System"
|
||||
HOMEPAGE="http://sourceforge.net/projects/nedit"
|
||||
SRC_URI="http://downloads.sourceforge.net/project/${PN}/${PN}-source/${P}a-src.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~mips ~ppc ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
|
||||
RDEPEND=">=x11-libs/motif-2.3:0
|
||||
x11-libs/libXp
|
||||
x11-libs/libXpm
|
||||
x11-libs/libXt
|
||||
x11-libs/libX11"
|
||||
DEPEND="${RDEPEND}
|
||||
|| ( dev-util/yacc sys-devel/bison )
|
||||
dev-lang/perl"
|
||||
|
||||
S="${WORKDIR}/${PN}-5.6"
|
||||
|
||||
src_prepare() {
|
||||
#respecting LDFLAGS, bug #208189
|
||||
epatch \
|
||||
"${FILESDIR}"/${P}-ldflags.patch \
|
||||
"${FILESDIR}"/${P}-40_Pointer_to_Integer.patch
|
||||
sed \
|
||||
-e "s:bin/:${EPREFIX}/bin/:g" \
|
||||
-i Makefile source/preferences.c source/help_data.h source/nedit.c Xlt/Makefile || die
|
||||
sed \
|
||||
-e "s:nc:neditc:g" -i doc/nc.pod || die
|
||||
sed -i -e "s:CFLAGS=-O:CFLAGS=${CFLAGS}:" -e "s:check_tif_rule::" \
|
||||
makefiles/Makefile.linux || die
|
||||
sed -i -e "s:CFLAGS=-O:CFLAGS=${CFLAGS}:" \
|
||||
-e "s:MOTIFDIR=/usr/local:MOTIFDIR=${EPREFIX}/usr:" \
|
||||
-e "s:-lX11:-lX11 -lXmu -liconv:" \
|
||||
-e "s:check_tif_rule::" \
|
||||
makefiles/Makefile.macosx || die
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
case "${CHOST}" in
|
||||
*-darwin*)
|
||||
emake CC="$(tc-getCC)" AR="$(tc-getAR)" macosx
|
||||
;;
|
||||
*-linux*)
|
||||
emake CC="$(tc-getCC)" AR="$(tc-getAR)" linux
|
||||
;;
|
||||
esac
|
||||
emake VERSION="NEdit ${PV}" -C doc all
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin source/nedit
|
||||
newbin source/nc neditc
|
||||
|
||||
make_desktop_entry "${PN}"
|
||||
doicon "${FILESDIR}/${PN}.svg"
|
||||
|
||||
newman doc/nedit.man nedit.1
|
||||
newman doc/nc.man neditc.1
|
||||
|
||||
dodoc README ReleaseNotes ChangeLog
|
||||
dodoc doc/nedit.doc doc/NEdit.ad doc/faq.txt
|
||||
dohtml doc/nedit.html
|
||||
}
|
||||
@@ -1,4 +1 @@
|
||||
DIST rtabmap-0.10.5.tar.gz 16975400 SHA256 2c783d7a3c872b084bde18466863fda6d8c8247ff279dbee40f1d3da69b1667a SHA512 a144387d6cbe4ad9b656216c269505768a60408ae9486b41d85c8ed0f8a1212b8f598d392c147d042f8b3ade57974b2b8ae6e5ec8c47e6a18f11d53ce8a086e9 WHIRLPOOL 76faf97da79a5c7693b6ca41422c92d5bb47b6c1cc6ccec6658df2721ad1219ba41be3a6c15bf3c9f9d7c7b9e384141d04c1c996fe604edab2b3e03506c7f8c5
|
||||
DIST rtabmap-0.8.2.tar.gz 16314234 SHA256 058006a00e550187ca382308985723573735e64bc7bb833357a47929949ef6b0 SHA512 fc2f3152c9651fc847881d773b788d0845a0c842ee3dd8508f395de0954072a0aeb0d37bf55389e29bcc4d14027845218dbda7ef346f2161669be6570eb785f5 WHIRLPOOL 5ac7b2b30742ff360d7755c016735f59542fe828c80689686a449f3ab4d2e40ad568ae9a0ad8d148cfd221e43da463e0409238b5a94ce600970a9d0162f97368
|
||||
DIST rtabmap-0.8.3.tar.gz 16331307 SHA256 cc19a57fc50f5bccd25dda2383993f04164074348f6a75b1f83b8ae152b88ff8 SHA512 a326d3704bc4f1eeb1cc102919192b2999c49b1a5460ccb9c39721829a80e7889a4549b203f5aafeacdbe482e114de275508e3b22cb0a466cfa831e736766a30 WHIRLPOOL 7a338f58c0731b3ae9e2793432a720099cd84634b2115fa8d97b31066afa2fc8ec348a6c9e25fba691f6051d52ab1af62dddbac00dffc27c99a9658b52154011
|
||||
DIST rtabmap-0.9.0.tar.gz 16871134 SHA256 d64afbf4075e249665a0d19259f40c587c8cebb11b70d60ad8c48b6822066ba1 SHA512 86002dbdbca917901b0a17c1eca948d012c5bd4b29bf334b093478b740a07b3bce6699340df41f64e477be19dad3be757bca6dba962939fba1ecb3c8462f9891 WHIRLPOOL 06d1201a4d7339df4941b45ce6785781659da96e8b2ab9f281bd13a23fa4f68b0f5e70b23e6479300cc128044e44159f8b9c73ac14cd631c704e9a66ad496a1e
|
||||
|
||||
@@ -1,48 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
SCM=""
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
SCM="git-r3"
|
||||
EGIT_REPO_URI="https://github.com/introlab/rtabmap"
|
||||
fi
|
||||
|
||||
inherit ${SCM} cmake-utils multilib
|
||||
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
KEYWORDS=""
|
||||
SRC_URI=""
|
||||
else
|
||||
KEYWORDS="~amd64"
|
||||
SRC_URI="https://github.com/introlab/rtabmap/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Real-Time Appearance-Based Mapping (RGB-D Graph SLAM)"
|
||||
HOMEPAGE="http://introlab.github.io/rtabmap/"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE="qt4 openni2"
|
||||
|
||||
RDEPEND="
|
||||
media-libs/opencv:=
|
||||
sci-libs/pcl[openni]
|
||||
sci-libs/vtk
|
||||
sys-libs/zlib
|
||||
openni2? ( dev-libs/OpenNI2 )
|
||||
qt4? (
|
||||
dev-qt/qtgui:4
|
||||
dev-qt/qtsvg:4
|
||||
dev-qt/qtcore:4
|
||||
)
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_configure() {
|
||||
use openni2 || sed -e 's/OpenNI2)/DiSaBlEd)/' -i CMakeLists.txt || die
|
||||
use qt4 || sed -e 's/Qt4/DiSaBlEd/' -i CMakeLists.txt || die
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
@@ -1,48 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
SCM=""
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
SCM="git-r3"
|
||||
EGIT_REPO_URI="https://github.com/introlab/rtabmap"
|
||||
fi
|
||||
|
||||
inherit ${SCM} cmake-utils multilib
|
||||
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
KEYWORDS=""
|
||||
SRC_URI=""
|
||||
else
|
||||
KEYWORDS="~amd64"
|
||||
SRC_URI="https://github.com/introlab/rtabmap/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Real-Time Appearance-Based Mapping (RGB-D Graph SLAM)"
|
||||
HOMEPAGE="http://introlab.github.io/rtabmap/"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE="qt4 openni2"
|
||||
|
||||
RDEPEND="
|
||||
media-libs/opencv:=
|
||||
sci-libs/pcl[openni]
|
||||
sci-libs/vtk
|
||||
sys-libs/zlib
|
||||
openni2? ( dev-libs/OpenNI2 )
|
||||
qt4? (
|
||||
dev-qt/qtgui:4
|
||||
dev-qt/qtsvg:4
|
||||
dev-qt/qtcore:4
|
||||
)
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_configure() {
|
||||
use openni2 || sed -e 's/OpenNI2)/DiSaBlEd)/' -i CMakeLists.txt || die
|
||||
use qt4 || sed -e 's/Qt4/DiSaBlEd/' -i CMakeLists.txt || die
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
@@ -1,60 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
SCM=""
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
SCM="git-r3"
|
||||
EGIT_REPO_URI="https://github.com/introlab/rtabmap"
|
||||
fi
|
||||
|
||||
inherit ${SCM} cmake-utils multilib
|
||||
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
KEYWORDS=""
|
||||
SRC_URI=""
|
||||
else
|
||||
KEYWORDS="~amd64"
|
||||
SRC_URI="https://github.com/introlab/rtabmap/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Real-Time Appearance-Based Mapping (RGB-D Graph SLAM)"
|
||||
HOMEPAGE="http://introlab.github.io/rtabmap/"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE="ieee1394 openni2 qt4 qt5"
|
||||
|
||||
RDEPEND="
|
||||
media-libs/opencv:=
|
||||
sci-libs/pcl[openni]
|
||||
sci-libs/vtk
|
||||
sys-libs/zlib
|
||||
ieee1394? ( media-libs/libdc1394 )
|
||||
openni2? ( dev-libs/OpenNI2 )
|
||||
!qt5? (
|
||||
qt4? (
|
||||
dev-qt/qtgui:4
|
||||
dev-qt/qtsvg:4
|
||||
dev-qt/qtcore:4
|
||||
)
|
||||
)
|
||||
qt5? (
|
||||
dev-qt/qtwidgets:5
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtsvg:5
|
||||
)
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=()
|
||||
use ieee1394 || mycmakeargs+=( "-DCMAKE_DISABLE_FIND_PACKAGE_DC1394=TRUE" )
|
||||
use openni2 || mycmakeargs+=( "-DCMAKE_DISABLE_FIND_PACKAGE_OpenNI2=TRUE" )
|
||||
use qt4 || mycmakeargs+=( "-DCMAKE_DISABLE_FIND_PACKAGE_Qt4=TRUE" )
|
||||
use qt5 && mycmakeargs+=( "-DRTABMAP_QT_VERSION=5" )
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
Reference in New Issue
Block a user