From: Stefaan De Roeck Date: Sun, 19 Nov 2006 09:02:15 +0000 (+0000) Subject: Remove obsolete ebuild and patch X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=eef3b61793939829645c43582abbb576963d8f07;p=gentoo.git Remove obsolete ebuild and patch Package-Manager: portage-2.1.2_pre3-r3 --- diff --git a/media-libs/openinventor/Manifest b/media-libs/openinventor/Manifest index 7c23046dd832..4ccd112003da 100644 --- a/media-libs/openinventor/Manifest +++ b/media-libs/openinventor/Manifest @@ -1,6 +1,3 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX freetype2-activate.patch 261 RMD160 eb19eff72dc7d3e97a3758a3649872474c579a85 SHA1 374b9db00b9a5f2071bb028e5c8a6bb3df1758aa SHA256 f2d86306d686c58bf560c189cd158208515c69f8c545fc3d5f4ee246adaa710c MD5 481f4b44d5f9f6b9af804116c4d2bcc0 files/freetype2-activate.patch 261 RMD160 eb19eff72dc7d3e97a3758a3649872474c579a85 files/freetype2-activate.patch 261 @@ -17,10 +14,6 @@ AUX gentoo-paths-v2.patch 10940 RMD160 a68ac0c41902de4192b7728110bd0726e47d6d85 MD5 0bcb529884efc8c3d353d9c74723bd8f files/gentoo-paths-v2.patch 10940 RMD160 a68ac0c41902de4192b7728110bd0726e47d6d85 files/gentoo-paths-v2.patch 10940 SHA256 59d8d3fae547d5926932f9c66a8facac924b4900a69dd9f4c33546b9522ed2a4 files/gentoo-paths-v2.patch 10940 -AUX gentoo-paths.patch 10582 RMD160 36cac45fba2bc788c05583750bc31836386ef967 SHA1 c0383831dfa4ab30c715b64b702aa4c6160b956f SHA256 0b2abc1430038e9f98d21d8316d1c8167f4c454b95c5f67bde2b076d0b9a572d -MD5 43d9fc3b8d7b147ca5378116eb24d558 files/gentoo-paths.patch 10582 -RMD160 36cac45fba2bc788c05583750bc31836386ef967 files/gentoo-paths.patch 10582 -SHA256 0b2abc1430038e9f98d21d8316d1c8167f4c454b95c5f67bde2b076d0b9a572d files/gentoo-paths.patch 10582 AUX no-csh.patch 1053 RMD160 f2347aaf379c7f6dc862e13aedc0d5ecaed44071 SHA1 dfc37fb9a10f829cb03f66a3cd8ea746b49da1a6 SHA256 dc18d6e344c7719d04fb2311826bb4ba1e03fddb5667c47927ce2ee50bded4b0 MD5 e44139ff4ff396e391630ccff2cab27b files/no-csh.patch 1053 RMD160 f2347aaf379c7f6dc862e13aedc0d5ecaed44071 files/no-csh.patch 1053 @@ -34,32 +27,18 @@ MD5 3b720d5d1e432dec6ec597f5391caef1 files/use-byacc.patch 1444 RMD160 f2c4b6227b5960accf6faf040489bb00bc34de44 files/use-byacc.patch 1444 SHA256 c4f1e02f8c77008777ed7845e23fbaa60b939d4563fb47cfb2bb694425374af7 files/use-byacc.patch 1444 DIST inventor-2.1.5-10.src.tar.gz 8282780 RMD160 0e600eab15016ab3f8de7b814d12bd78d83f1a05 SHA1 313665bc762e09b18e2d678f0a724b6457e3c95b SHA256 1b0106a705191f525fc89a9f3def37bdeae5ab9ceb1b4d9e5ede8a442bdf8d6b -EBUILD openinventor-2.1.5.10-r1.ebuild 2656 RMD160 6ee477ead550388498a718ad9cbac9abfd4a38d8 SHA1 fa9e71856127c2d0ee8680a38c181ad1cd8c7842 SHA256 5c654667a2d7341aeaaa3b7984a15a9e56c31d1a109c76ec1db3b4ba436077a8 -MD5 551d61e193abd8390f25ec74e3139fa6 openinventor-2.1.5.10-r1.ebuild 2656 -RMD160 6ee477ead550388498a718ad9cbac9abfd4a38d8 openinventor-2.1.5.10-r1.ebuild 2656 -SHA256 5c654667a2d7341aeaaa3b7984a15a9e56c31d1a109c76ec1db3b4ba436077a8 openinventor-2.1.5.10-r1.ebuild 2656 EBUILD openinventor-2.1.5.10-r2.ebuild 2977 RMD160 e45942c3824d3dc47cb705c94f80f583171d220a SHA1 25d5c3567f90651e80cf3da9e487a9d9a1a209f2 SHA256 7b3a3a7a3359776e850c638aba8a4cca07c47661f7690770ab25066ed7cbaef3 MD5 f838591600a8dcf3149c3ddab65f78ea openinventor-2.1.5.10-r2.ebuild 2977 RMD160 e45942c3824d3dc47cb705c94f80f583171d220a openinventor-2.1.5.10-r2.ebuild 2977 SHA256 7b3a3a7a3359776e850c638aba8a4cca07c47661f7690770ab25066ed7cbaef3 openinventor-2.1.5.10-r2.ebuild 2977 -MISC ChangeLog 2384 RMD160 f8eff886228ce889647ad136d163d3d0264b5252 SHA1 106b6fc0d2db00b4261984f854a7dc7a357682e1 SHA256 2ca43ae68e7c81b61c1d96df71aea8a3169d17a2c5daad513ea098d22bb7111c -MD5 6306d394a8cd2e0d481e1a9799aeddcb ChangeLog 2384 -RMD160 f8eff886228ce889647ad136d163d3d0264b5252 ChangeLog 2384 -SHA256 2ca43ae68e7c81b61c1d96df71aea8a3169d17a2c5daad513ea098d22bb7111c ChangeLog 2384 +MISC ChangeLog 2539 RMD160 e5f5c99ee5332f5637b4d8d73a11d44522cf31a3 SHA1 affa04b1c115c801dcdf20c2878cd19b50ab6e02 SHA256 23e357b272b7e3aa49fc80c9c77eb812fde4c5421868fffc20259115bd6972a7 +MD5 f0697e984814c72e2b94a1a75a9611c0 ChangeLog 2539 +RMD160 e5f5c99ee5332f5637b4d8d73a11d44522cf31a3 ChangeLog 2539 +SHA256 23e357b272b7e3aa49fc80c9c77eb812fde4c5421868fffc20259115bd6972a7 ChangeLog 2539 MISC metadata.xml 515 RMD160 ff932be33799d8342475e5888365e62aa87665f6 SHA1 188a77250a4ea19276fad2aa778a7af7cee47870 SHA256 d6149838745445b99a41d8b03e50f3248a2f05e20276d58110cb5e20273b6f01 MD5 0f7895c10f859b7a86f1df293a1e602b metadata.xml 515 RMD160 ff932be33799d8342475e5888365e62aa87665f6 metadata.xml 515 SHA256 d6149838745445b99a41d8b03e50f3248a2f05e20276d58110cb5e20273b6f01 metadata.xml 515 -MD5 4b2882fa24331a0ee275231a46c2dbe2 files/digest-openinventor-2.1.5.10-r1 268 -RMD160 2e9a0d832d8149d27278f176c086315c0260de59 files/digest-openinventor-2.1.5.10-r1 268 -SHA256 37eb66566f39bec0acff69c778bf07e3f4d5b2b019c2b4056738d8a7e17f25c2 files/digest-openinventor-2.1.5.10-r1 268 MD5 4b2882fa24331a0ee275231a46c2dbe2 files/digest-openinventor-2.1.5.10-r2 268 RMD160 2e9a0d832d8149d27278f176c086315c0260de59 files/digest-openinventor-2.1.5.10-r2 268 SHA256 37eb66566f39bec0acff69c778bf07e3f4d5b2b019c2b4056738d8a7e17f25c2 files/digest-openinventor-2.1.5.10-r2 268 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.5-ecc0.1.6 (GNU/Linux) - -iD8DBQFFUVWOomPajV0RnrERAvLxAJ0RYyXkyn0MaWWQc0Y+G42hutynHwCfVLAT -ugvQh6KC88//PxZlwNJbk7c= -=HjfP ------END PGP SIGNATURE----- diff --git a/media-libs/openinventor/files/digest-openinventor-2.1.5.10-r1 b/media-libs/openinventor/files/digest-openinventor-2.1.5.10-r1 deleted file mode 100644 index 5d7b155e612e..000000000000 --- a/media-libs/openinventor/files/digest-openinventor-2.1.5.10-r1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 82208096f1e0b111160e864e239c3a51 inventor-2.1.5-10.src.tar.gz 8282780 -RMD160 0e600eab15016ab3f8de7b814d12bd78d83f1a05 inventor-2.1.5-10.src.tar.gz 8282780 -SHA256 1b0106a705191f525fc89a9f3def37bdeae5ab9ceb1b4d9e5ede8a442bdf8d6b inventor-2.1.5-10.src.tar.gz 8282780 diff --git a/media-libs/openinventor/files/gentoo-paths.patch b/media-libs/openinventor/files/gentoo-paths.patch deleted file mode 100644 index 67b5c026b3d5..000000000000 --- a/media-libs/openinventor/files/gentoo-paths.patch +++ /dev/null @@ -1,258 +0,0 @@ -diff -u -urN ./apps/demos/SceneViewer/SoSceneViewer.c++ ../inventor/apps/demos/SceneViewer/SoSceneViewer.c++ ---- ./apps/demos/SceneViewer/SoSceneViewer.c++ 2003-06-11 03:20:09.000000000 +0200 -+++ ../inventor/apps/demos/SceneViewer/SoSceneViewer.c++ 2005-09-15 11:27:05.000000000 +0200 -@@ -4734,10 +4734,10 @@ - // - //////////////////////////////////////////////////////////////////////// - { -- if (access(IVPREFIX "/demos/Inventor/SceneViewer.about", R_OK) != 0) -+ if (access(IVPREFIX "/share/openinventor/demos/Inventor/SceneViewer.about", R_OK) != 0) - { - system("xmessage 'Sorry, could not find " -- IVPREFIX "/demos/Inventor/SceneViewer.about' > /dev/null"); -+ IVPREFIX "/share/openinventor/demos/Inventor/SceneViewer.about' > /dev/null"); - return; - } - -@@ -4753,7 +4753,7 @@ - } - - sprintf(command, "acroread " -- IVPREFIX "/demos/Inventor/SceneViewer.about &"); -+ IVPREFIX "/share/openinventor/demos/Inventor/SceneViewer.about &"); - system(command); - } - -diff -u -urN ./apps/demos/gview/DisplayGraph.c++ ../inventor/apps/demos/gview/DisplayGraph.c++ ---- ./apps/demos/gview/DisplayGraph.c++ 2002-06-01 04:22:20.000000000 +0200 -+++ ../inventor/apps/demos/gview/DisplayGraph.c++ 2005-09-15 11:27:15.000000000 +0200 -@@ -67,7 +67,7 @@ - SbDict *DisplayGraph::iconDict; - - #define ICON_FILE "gviewIcons.iv" --#define ICON_INST_DIR IVPREFIX "/demos/data/Inventor" -+#define ICON_INST_DIR IVPREFIX "/share/openinventor/demos/data/Inventor" - #define ICON_ENV_VAR "IV_GRAPH_DIR" - - //////////////////////////////////////////////////////////////////////// -diff -u -urN ./apps/demos/noodle/Interface.c++ ../inventor/apps/demos/noodle/Interface.c++ ---- ./apps/demos/noodle/Interface.c++ 2002-06-01 04:22:20.000000000 +0200 -+++ ../inventor/apps/demos/noodle/Interface.c++ 2005-09-15 11:30:08.000000000 +0200 -@@ -399,9 +399,9 @@ - void - Interface::showAboutDialog() - { -- if (access(IVPREFIX "/demos/Inventor/noodle.about", R_OK) != 0) { -+ if (access(IVPREFIX "/share/inventor/demos/Inventor/noodle.about", R_OK) != 0) { - system("xmessage 'Sorry, could not find " -- IVPREFIX "/demos/Inventor/noodle.about' > /dev/null"); -+ IVPREFIX "/share/inventor/demos/Inventor/noodle.about' > /dev/null"); - return; - } - -@@ -415,7 +415,7 @@ - return; - } - -- sprintf(command, "acroread " IVPREFIX "/demos/Inventor/noodle.about &"); -+ sprintf(command, "acroread " IVPREFIX "/share/inventor/demos/Inventor/noodle.about &"); - system(command); - } - -diff -u -urN ./apps/demos/qmorf/qmorf.c++ ../inventor/apps/demos/qmorf/qmorf.c++ ---- ./apps/demos/qmorf/qmorf.c++ 2002-06-01 04:22:20.000000000 +0200 -+++ ../inventor/apps/demos/qmorf/qmorf.c++ 2005-09-15 11:30:55.000000000 +0200 -@@ -414,7 +414,7 @@ - "they must contain QuadMeshes (qmorf can\n"); - fprintf(stderr, "only morph QuadMesh nodes).\n"); - fprintf(stderr, "The directory " -- IVPREFIX "/share/data/models/CyberHeads " -+ IVPREFIX "/share/openinventor/data/models/CyberHeads " - "contains good data to morph.\n"); - - exit(7); -@@ -436,10 +436,10 @@ - void - showAboutDialog(Widget, XtPointer, XtPointer) - { -- if (access(IVPREFIX "/demos/Inventor/qmorf.about", R_OK) != 0) -+ if (access(IVPREFIX "/share/openinventor/demos/Inventor/qmorf.about", R_OK) != 0) - { - system("xmessage 'Sorry, could not find " -- IVPREFIX "/demos/Inventor/qmorf.about' > /dev/null"); -+ IVPREFIX "/share/openinventor/demos/Inventor/qmorf.about' > /dev/null"); - return; - } - char command[100]; -@@ -453,7 +453,7 @@ - return; - } - -- sprintf(command, "acroread " IVPREFIX "/demos/Inventor/qmorf.about &"); -+ sprintf(command, "acroread " IVPREFIX "/share/openinventor/demos/Inventor/qmorf.about &"); - system(command); - } - -diff -u -urN ./apps/demos/revo/revo.c++ ../inventor/apps/demos/revo/revo.c++ ---- ./apps/demos/revo/revo.c++ 2002-06-01 04:22:21.000000000 +0200 -+++ ../inventor/apps/demos/revo/revo.c++ 2005-09-15 11:31:09.000000000 +0200 -@@ -78,10 +78,10 @@ - void - showAboutDialog(Widget, XtPointer, XtPointer) - { -- if (access(IVPREFIX "/demos/Inventor/revo.about", R_OK) != 0) -+ if (access(IVPREFIX "/share/openinventor/demos/Inventor/revo.about", R_OK) != 0) - { - system("xmessage 'Sorry, could not find " -- IVPREFIX "/demos/Inventor/revo.about' > /dev/null"); -+ IVPREFIX "/share/openinventor/demos/Inventor/revo.about' > /dev/null"); - return; - } - -@@ -96,7 +96,7 @@ - return; - } - -- sprintf(command, "acroread " IVPREFIX "/demos/Inventor/revo.about &"); -+ sprintf(command, "acroread " IVPREFIX "/share/openinventor/demos/Inventor/revo.about &"); - system(command); - } - -diff -u -urN ./apps/demos/textomatic/textomatic.c++ ../inventor/apps/demos/textomatic/textomatic.c++ ---- ./apps/demos/textomatic/textomatic.c++ 2003-07-12 00:40:53.000000000 +0200 -+++ ../inventor/apps/demos/textomatic/textomatic.c++ 2005-09-15 11:31:21.000000000 +0200 -@@ -160,10 +160,10 @@ - void - showAboutDialog(Widget, XtPointer, XtPointer) - { -- if (access(IVPREFIX "/demos/Inventor/textomatic.about", R_OK) != 0) -+ if (access(IVPREFIX "/share/openinventor/demos/Inventor/textomatic.about", R_OK) != 0) - { - system("xmessage 'Sorry, could not find " -- IVPREFIX "/demos/Inventor/textomatic.about' > /dev/null"); -+ IVPREFIX "/share/openinventor/demos/Inventor/textomatic.about' > /dev/null"); - return; - } - -@@ -177,7 +177,7 @@ - return; - } - -- sprintf(command, "acroread " IVPREFIX "/demos/Inventor/textomatic.about &"); -+ sprintf(command, "acroread " IVPREFIX "/share/openinventor/demos/Inventor/textomatic.about &"); - system(command); - } - -diff -u -urN ./apps/samples/widgets/MyMtlPal.c++ ../inventor/apps/samples/widgets/MyMtlPal.c++ ---- ./apps/samples/widgets/MyMtlPal.c++ 2002-06-01 04:22:21.000000000 +0200 -+++ ../inventor/apps/samples/widgets/MyMtlPal.c++ 2005-09-15 11:31:33.000000000 +0200 -@@ -193,7 +193,7 @@ - }; - - static char *editorTitle = "Material Palette"; --static char *defaultDir = IVPREFIX "/share/data/materials"; -+static char *defaultDir = IVPREFIX "/share/openinventor/data/materials"; - - - static char *geometryBuffer = "\ -diff -u -urN ./apps/samples/widgets/MyTextureEd.c++ ../inventor/apps/samples/widgets/MyTextureEd.c++ ---- ./apps/samples/widgets/MyTextureEd.c++ 2002-06-01 04:22:21.000000000 +0200 -+++ ../inventor/apps/samples/widgets/MyTextureEd.c++ 2005-09-15 11:31:43.000000000 +0200 -@@ -228,7 +228,7 @@ - - - static char *customTextureDir = ".textures"; --static char *defaultDir = IVPREFIX "/share/data/textures"; -+static char *defaultDir = IVPREFIX "/share/openinventor/data/textures"; - static char *editorTitle = "Texture Editor"; - static char *noFileNameStr = ""; - -diff -u -urN ./apps/tools/ivview/ivview.c++ ../inventor/apps/tools/ivview/ivview.c++ ---- ./apps/tools/ivview/ivview.c++ 2002-06-01 04:22:21.000000000 +0200 -+++ ../inventor/apps/tools/ivview/ivview.c++ 2005-09-15 11:31:59.000000000 +0200 -@@ -715,9 +715,9 @@ - static void - showAboutDialog() - { -- if (access(IVPREFIX "/share/help/ivview/ivview.about", R_OK) != 0) { -+ if (access(IVPREFIX "/share/openinventor/help/ivview/ivview.about", R_OK) != 0) { - system("xmessage 'Sorry, could not find " -- IVPREFIX "/share/help/ivview/ivview.about' > /dev/null"); -+ IVPREFIX "/share/openinventor/help/ivview/ivview.about' > /dev/null"); - return; - } - -@@ -731,7 +731,7 @@ - return; - } - -- sprintf(command, "acroread " IVPREFIX "/share/help/ivview/ivview.about &"); -+ sprintf(command, "acroread " IVPREFIX "/share/openinventor/help/ivview/ivview.about &"); - system(command); - } - -diff -u -urN ./libFL/ang/fl.c ../inventor/libFL/ang/fl.c ---- ./libFL/ang/fl.c 2003-07-12 00:40:53.000000000 +0200 -+++ ../inventor/libFL/ang/fl.c 2005-09-15 11:32:55.000000000 +0200 -@@ -95,7 +95,7 @@ - NULL - }; - --static char *fontPath = IVPREFIX "/share/data/fonts"; -+static char *fontPath = IVPREFIX "/share/openinventor/fonts"; - int fl_debug = FALSE; - - /* -diff -u -urN ./libSoXt/src/SoXtComponent.c++ ../inventor/libSoXt/src/SoXtComponent.c++ ---- ./libSoXt/src/SoXtComponent.c++ 2002-06-01 04:16:10.000000000 +0200 -+++ ../inventor/libSoXt/src/SoXtComponent.c++ 2005-09-15 11:33:41.000000000 +0200 -@@ -622,7 +622,7 @@ - } - - // else check for the default location -- strcpy(cardPath, IVPREFIX "/share/help/Inventor/"); -+ strcpy(cardPath, IVPREFIX "/share/openinventor/help/Inventor/"); - strcat(cardPath, cardName); - if ( access(cardPath, R_OK) == 0 ) { - strcat(pgrCmd, cardPath); -diff -u -urN ./libSoXt/src/mtlEdit/SoXtMtlEdit.c++ ../inventor/libSoXt/src/mtlEdit/SoXtMtlEdit.c++ ---- ./libSoXt/src/mtlEdit/SoXtMtlEdit.c++ 2002-06-01 04:16:10.000000000 +0200 -+++ ../inventor/libSoXt/src/mtlEdit/SoXtMtlEdit.c++ 2005-09-15 11:33:48.000000000 +0200 -@@ -156,7 +156,7 @@ - "Material Emissive Color" - }; - --static char *mtlDir = IVPREFIX "/share/data/materials"; -+static char *mtlDir = IVPREFIX "/share/openinventor/data/materials"; - - static char *slider_labels[] = { (char *)NULL, (char *)NULL, (char *)NULL, - (char *)NULL, (char *)NULL, (char *)NULL -diff -u -urN ./libSoXt/src/mtlEdit/SoXtMtlList.c++ ../inventor/libSoXt/src/mtlEdit/SoXtMtlList.c++ ---- ./libSoXt/src/mtlEdit/SoXtMtlList.c++ 2002-06-01 04:16:10.000000000 +0200 -+++ ../inventor/libSoXt/src/mtlEdit/SoXtMtlList.c++ 2005-09-15 11:33:55.000000000 +0200 -@@ -264,7 +264,7 @@ - setClassName("SoXtMaterialList"); - if (dir != NULL) - materialDir = strdup(dir); -- else materialDir = strdup(IVPREFIX "/share/data/materials"); -+ else materialDir = strdup(IVPREFIX "/share/openinventor/data/materials"); - - callbackList = new SoCallbackList; - curPalette = -1; -Binary files ./make/.ivcommonrules.swp and ../inventor/make/.ivcommonrules.swp differ -diff -u -urN ./make/ivcommondefs ../inventor/make/ivcommondefs ---- ./make/ivcommondefs 2003-07-12 00:40:54.000000000 +0200 -+++ ../inventor/make/ivcommondefs 2005-09-15 11:25:31.000000000 +0200 -@@ -194,9 +194,9 @@ - IVHDRDIR = $(IVHDRTOP)/$(HDRSUBDIR) - IVMAN1DIR = $(IVROOT)/$(IVPREFIX)/man/man1 - IVMAN3DIR = $(IVROOT)/$(IVPREFIX)/man/man3 --IVHELPDIR = $(IVROOT)/$(IVPREFIX)/share/help --IVDATADIR = $(IVROOT)/$(IVPREFIX)/share/data/models --IVDEMODIR = $(IVROOT)/$(IVPREFIX)/demos -+IVHELPDIR = $(IVROOT)/$(IVPREFIX)/share/openinventor/help -+IVDATADIR = $(IVROOT)/$(IVPREFIX)/share/openinventor/data/models -+IVDEMODIR = $(IVROOT)/$(IVPREFIX)/share/openinventor/demos - IVDEMOBINDIR = $(IVDEMODIR)/Inventor - IVDEMODATADIR = $(IVDEMODIR)/data/Inventor - diff --git a/media-libs/openinventor/openinventor-2.1.5.10-r1.ebuild b/media-libs/openinventor/openinventor-2.1.5.10-r1.ebuild deleted file mode 100644 index 4d9ea7029b9d..000000000000 --- a/media-libs/openinventor/openinventor-2.1.5.10-r1.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/openinventor/openinventor-2.1.5.10-r1.ebuild,v 1.4 2005/12/25 21:49:47 stefaan Exp $ - -inherit eutils versionator - -MY_PV=$(replace_version_separator 3 '-') -MY_PN="inventor" - -DESCRIPTION="SGI OpenInventor Toolkit and Utilities" -HOMEPAGE="http://oss.sgi.com/projects/inventor/" -SRC_URI="ftp://oss.sgi.com/projects/${MY_PN}/download/${MY_PN}-${MY_PV}.src.tar.gz" - -LICENSE="LGPL-2" -SLOT="0" -KEYWORDS="alpha amd64 x86" -IUSE="" - -RDEPEND="virtual/x11 - virtual/opengl - virtual/motif - >=media-libs/jpeg-6b - >=media-libs/freetype-2.0" -DEPEND="dev-util/byacc - ${RDEPEND}" - -S="${WORKDIR}/${MY_PN}" - -src_unpack() { - unpack ${A} - cd ${S} - # ordinary yacc fails - epatch ${FILESDIR}/use-byacc.patch - # support for amd64, sparc and alpha - epatch ${FILESDIR}/support-archs.patch - # freetype2 wasn't enabled by default - epatch ${FILESDIR}/freetype2-activate.patch - # extra #include statement necessary for freetype2 - epatch ${FILESDIR}/freetype2-includes.patch - # script aiding in manual installation required csh - epatch ${FILESDIR}/no-csh.patch - # put files in sane places - epatch ${FILESDIR}/gentoo-paths-v2.patch - # fix compilation with gcc-4 - epatch ${FILESDIR}/gcc4-support.patch -} - -src_compile() { - # VLDOPTS: find libraries during linking of executables - # VLDDSOOPTS: find libraries during linking of libraries - # VCFLAGS / VCXXFLAGS: pass user-chosen compiler flags - # OPTIMIZER: do not override user-chosen compiler flags - # system - emake \ - VLDOPTS="-L${S}/lib -L${S}/libSoXt" \ - VLDDSOOPTS="-L${S}/lib -L${S}/libSoXt" \ - VCFLAGS="${CFLAGS}" VCXXFLAGS="${CXXFLAGS}" \ - OPTIMIZER= \ - || die "Build failed" - - # fix RUNME-scripts in the demos directory for new paths - sed -i \ - -e 's:/usr/share/:/usr/share/openinventor/:g' \ - -e 's:/usr/demos/:/usr/share/openinventor/demos/:g' \ - $(find apps/demos -name *.RUNME) -} - -src_install() { - # IVROOT: serves as DESTDIR - # LLDOPTS: delete, so it won't go linking with libraries already on the - # system - # IVLIBDIR: multilib-strict compliance - # LD_LIBRARY_PATH: support executables ran during install - make \ - IVROOT="${D}" \ - LLDOPTS= \ - IVLIBDIR="${D}usr/$(get_libdir)" \ - LD_LIBRARY_PATH="${D}usr/$(get_libdir)" \ - install \ - || die "Install failed" - - # OpenInventor aliases for TrueType fonts - local FONTDIR=/usr/share/fonts/corefonts - local ALIASDIR=/usr/share/${PN}/fonts - dodir ${ALIASDIR} - dosym ${FONTDIR}/times.ttf ${ALIASDIR}/Times-Roman - dosym ${FONTDIR}/arial.ttf ${ALIASDIR}/Helvetica - dosym ${FONTDIR}/cour.ttf ${ALIASDIR}/Utopia-Regular -} -