diff options
28 files changed, 0 insertions, 1511 deletions
diff --git a/media-gfx/freecad/Manifest b/media-gfx/freecad/Manifest deleted file mode 100644 index 17b6bba6..00000000 --- a/media-gfx/freecad/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST freecad-0.12.5284.tar.gz 48399004 SHA256 45486c6cc3ae212fd3eba994c603fd97962c7f505bf2a807d1533f9ee6d6026d SHA512 f1fee73ae7b43e7b3a136847f0dbb0b3f3e8f62ad3a9063f759efd8b9ed5a0dfff54961870465f37c0563161c4c5e2821f1f3379ead72dbdeddae36702e2ec0a WHIRLPOOL 7a46119d86a5d43ae8eaec6b5532e4739d54b0443769381630e644aa16c3f4185b63b513e4350c7562beacd86d56a7edbb3b506d10cb54190cbeaab48a504d5f -DIST freecad-0.13.1830.tar.gz 70168706 SHA256 550ed16225e4cd67a463ae9b826f3a64edf7d2819cc8d235b15a89e10be72f13 SHA512 3e8d4eed8cace38da9615965f79a2b0da21d31a6df793ceaf3f732e0abd5666e9715ec9eb162e6ff998718e8d609a7dff2d0993b28f493200b734318a2322160 WHIRLPOOL 6d41565423edf8a0c67901a8559600ff1088f645c3ecb4aad8d7597490522f80d6475af3e7f5a623fc30b4d1571187bf6e6a132e6c480825798b957bea90bb83 diff --git a/media-gfx/freecad/files/freecad-0.12.5284-boost148.patch b/media-gfx/freecad/files/freecad-0.12.5284-boost148.patch deleted file mode 100644 index 4c9c7355..00000000 --- a/media-gfx/freecad/files/freecad-0.12.5284-boost148.patch +++ /dev/null @@ -1,25 +0,0 @@ -From d6061d30a053617b8127c96e8c6a65e47589a182 Mon Sep 17 00:00:00 2001 -From: Werner Mayer <werner@werner-VirtualBox.(none)> -Date: Sat, 31 Mar 2012 19:22:11 +0200 -Subject: [PATCH] #0000585: bug with boost 1.48 - ---- - CMakeLists.txt | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 920aca7..9e3bbf5 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -284,6 +284,8 @@ MARK_AS_ADVANCED(FORCE FREECAD_LIBPACK_CHECKFILE6X FREECAD_LIBPACK_CHECKFILE7X) - # get include dirs - QT4_GET_MOC_FLAGS(moc_flags) - QT4_EXTRACT_OPTIONS(moc_files moc_options ${ARGN}) -+ # fixes bug 0000585: bug with boost 1.48 -+ SET(moc_options ${moc_options} -DBOOST_TT_HAS_OPERATOR_HPP_INCLUDED) - - foreach(it ${moc_files}) - get_filename_component(it ${it} ABSOLUTE) --- -1.7.9.2 - diff --git a/media-gfx/freecad/files/freecad-0.12.5284-gcc46.patch b/media-gfx/freecad/files/freecad-0.12.5284-gcc46.patch deleted file mode 100644 index df2fb191..00000000 --- a/media-gfx/freecad/files/freecad-0.12.5284-gcc46.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -ruN FreeCAD-0.11.4422.orig/src/zipios++/directory.h FreeCAD-0.11.4422/src/zipios++/directory.h ---- FreeCAD-0.11.4422.orig/src/zipios++/directory.h 2011-02-11 01:48:21.000000000 +0100 -+++ FreeCAD-0.11.4422/src/zipios++/directory.h 2011-11-13 22:11:27.000000000 +0100 -@@ -31,6 +31,7 @@ - #include <string>
- #include <ctime>
- #include <stdexcept>
-+#include <cstddef>
-
- // #include <boost.h> Contents of boost.h
-
diff --git a/media-gfx/freecad/files/freecad-0.12.5284-glu.patch b/media-gfx/freecad/files/freecad-0.12.5284-glu.patch deleted file mode 100644 index 95672153..00000000 --- a/media-gfx/freecad/files/freecad-0.12.5284-glu.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -ruN FreeCAD-0.12.5284.orig/src/Mod/Image/Gui/GLImageBox.cpp FreeCAD-0.12.5284/src/Mod/Image/Gui/GLImageBox.cpp ---- FreeCAD-0.12.5284.orig/src/Mod/Image/Gui/GLImageBox.cpp 2012-01-03 13:24:30.000000000 +0100 -+++ FreeCAD-0.12.5284/src/Mod/Image/Gui/GLImageBox.cpp 2012-01-06 10:26:38.000000000 +0100 -@@ -27,6 +27,8 @@ - # include <GL/glext.h>
- #endif
-
-+#include <GL/glu.h>
-+
- #include "GLImageBox.h"
-
- using namespace ImageGui;
diff --git a/media-gfx/freecad/files/freecad-0.12.5284-no-3rdParty.patch b/media-gfx/freecad/files/freecad-0.12.5284-no-3rdParty.patch deleted file mode 100644 index d5797567..00000000 --- a/media-gfx/freecad/files/freecad-0.12.5284-no-3rdParty.patch +++ /dev/null @@ -1,9 +0,0 @@ ---- FreeCAD-0.12.5284/src/CMakeLists.txt -+++ FreeCAD-0.12.5284/src/CMakeLists.txt -@@ -1,6 +1,5 @@ - - add_subdirectory(Build) --add_subdirectory(3rdParty) - add_subdirectory(Base) - add_subdirectory(App) - add_subdirectory(Main) diff --git a/media-gfx/freecad/files/freecad-0.12.5284-no-permissive.patch b/media-gfx/freecad/files/freecad-0.12.5284-no-permissive.patch deleted file mode 100644 index d19a92f4..00000000 --- a/media-gfx/freecad/files/freecad-0.12.5284-no-permissive.patch +++ /dev/null @@ -1,40 +0,0 @@ ---- FreeCAD-0.12.5284/src/Mod/Mesh/App/WildMagic4/Wm4Query2Filtered.inl -+++ FreeCAD-0.12.5284/src/Mod/Mesh/App/WildMagic4/Wm4Query2Filtered.inl -@@ -55,7 +55,7 @@ - Real fLen1 = Math<Real>::Sqrt(fX1*fX1 + fY1*fY1);
- Real fScaledUncertainty = m_fUncertainty*fLen0*fLen1;
-
-- Real fDet2 = Det2(fX0,fY0,fX1,fY1);
-+ Real fDet2 = this->Det2(fX0,fY0,fX1,fY1);
- if (Math<Real>::FAbs(fDet2) >= fScaledUncertainty)
- {
- return (fDet2 > (Real)0.0 ? +1 : (fDet2 < (Real)0.0 ? -1 : 0));
-@@ -93,7 +93,7 @@ - Real fLen2 = Math<Real>::Sqrt(fD2x*fD2x + fD2y*fD2y + fZ2*fZ2);
- Real fScaledUncertainty = m_fUncertainty*fLen0*fLen1*fLen2;
-
-- Real fDet3 = Det3(fD0x,fD0y,fZ0,fD1x,fD1y,fZ1,fD2x,fD2y,fZ2);
-+ Real fDet3 = this->Det3(fD0x,fD0y,fZ0,fD1x,fD1y,fZ1,fD2x,fD2y,fZ2);
- if (Math<Real>::FAbs(fDet3) >= fScaledUncertainty)
- {
- return (fDet3 < (Real)0.0 ? 1 : (fDet3 > (Real)0.0 ? -1 : 0));
---- FreeCAD-0.12.5284/src/Mod/Mesh/App/WildMagic4/Wm4Query3Filtered.in -+++ FreeCAD-0.12.5284/src/Mod/Mesh/App/WildMagic4/Wm4Query3Filtered.inl -@@ -62,7 +62,7 @@ - Real fLen2 = Math<Real>::Sqrt(fX2*fX2 + fY2*fY2 + fZ2*fZ2);
- Real fScaledUncertainty = m_fUncertainty*fLen0*fLen1*fLen2;
-
-- Real fDet3 = Det3(fX0,fY0,fZ0,fX1,fY1,fZ1,fX2,fY2,fZ2);
-+ Real fDet3 = this->Det3(fX0,fY0,fZ0,fX1,fY1,fZ1,fX2,fY2,fZ2);
- if (Math<Real>::FAbs(fDet3) >= fScaledUncertainty)
- {
- return (fDet3 > (Real)0.0 ? +1 : (fDet3 < (Real)0.0 ? -1 : 0));
-@@ -115,7 +115,7 @@ - Real fLen3 = Math<Real>::Sqrt(fD3x*fD3x+fD3y*fD3y+fD3z*fD3z+fW3*fW3);
- Real fScaledUncertainty = m_fUncertainty*fLen0*fLen1*fLen2*fLen3;
-
-- Real fDet4 = Det4(fD0x,fD0y,fD0z,fW0,fD1x,fD1y,fD1z,fW1,fD2x,
-+ Real fDet4 = this->Det4(fD0x,fD0y,fD0z,fW0,fD1x,fD1y,fD1z,fW1,fD2x,
- fD2y,fD2z,fW2,fD3x,fD3y,fD3z,fW3);
-
- if (Math<Real>::FAbs(fDet4) >= fScaledUncertainty)
diff --git a/media-gfx/freecad/files/freecad-0.12.5284-nodir.patch b/media-gfx/freecad/files/freecad-0.12.5284-nodir.patch deleted file mode 100644 index 3e9bbedb..00000000 --- a/media-gfx/freecad/files/freecad-0.12.5284-nodir.patch +++ /dev/null @@ -1,21 +0,0 @@ -diff -ruN FreeCAD-0.12.5284.orig/src/Mod/CMakeLists.txt FreeCAD-0.12.5284/src/Mod/CMakeLists.txt ---- FreeCAD-0.12.5284.orig/src/Mod/CMakeLists.txt 2012-01-03 13:26:12.000000000 +0100 -+++ FreeCAD-0.12.5284/src/Mod/CMakeLists.txt 2012-01-06 12:19:06.000000000 +0100 -@@ -18,7 +18,7 @@ - MESSAGE("Due to the missing Eigen3 library the Sketcher module won't be built") - MESSAGE("Due to the missing Eigen3 library the Robot module won't be built") - ENDIF(EIGEN3_FOUND) --add_subdirectory(Machining_Distortion) -+# add_subdirectory(Machining_Distortion) - - add_subdirectory(ReverseEngineering) - add_subdirectory(MeshPart) -@@ -32,7 +32,7 @@ - - add_subdirectory(Arch) - --add_subdirectory(Assembly) -+# add_subdirectory(Assembly) - - if(FREECAD_BUILD_CAM) - add_subdirectory(Cam) diff --git a/media-gfx/freecad/files/freecad-0.12.5284-nopivy.patch b/media-gfx/freecad/files/freecad-0.12.5284-nopivy.patch deleted file mode 100644 index 337348aa..00000000 --- a/media-gfx/freecad/files/freecad-0.12.5284-nopivy.patch +++ /dev/null @@ -1,17 +0,0 @@ -diff -ruN FreeCAD-0.12.5284.orig/src/3rdParty/CMakeLists.txt FreeCAD-0.12.5284/src/3rdParty/CMakeLists.txt ---- FreeCAD-0.12.5284.orig/src/3rdParty/CMakeLists.txt 2012-01-03 13:30:19.000000000 +0100 -+++ FreeCAD-0.12.5284/src/3rdParty/CMakeLists.txt 2012-01-07 15:57:52.000000000 +0100 -@@ -19,13 +19,6 @@ - # add_subdirectory(Pivy) - #endif(MINGW) - # applies for Unix, MinGW and Windows with custom LibPack --elseif(FREECAD_BUILD_GUI) -- find_path(COIN_VERSION3 Inventor/scxml/ScXML.h ${COIN3D_INCLUDE_DIR}) -- if (COIN_VERSION3) -- add_subdirectory(Pivy-0.5) -- else (COIN_VERSION3) -- add_subdirectory(Pivy) -- endif(COIN_VERSION3) - endif(FREECAD_BUILD_GUI AND FREECAD_LIBPACK_CHECKFILE6X) - - # For Windows we have all stuff in the LibPack diff --git a/media-gfx/freecad/files/freecad-0.12.5284-occ-6.5.5.patch b/media-gfx/freecad/files/freecad-0.12.5284-occ-6.5.5.patch deleted file mode 100644 index 1886f8ec..00000000 --- a/media-gfx/freecad/files/freecad-0.12.5284-occ-6.5.5.patch +++ /dev/null @@ -1,224 +0,0 @@ ---- FreeCAD-0.12.5284/src/Mod/Part/App/TopoShape.cpp -+++ FreeCAD-0.12.5284/src/Mod/Part/App/TopoShape.cpp -@@ -1370,7 +1370,7 @@ -
- //circular profile
- Handle(Geom_Circle) aCirc = new Geom_Circle (gp::XOY(), 1.0);
-- aCirc->Rotate (gp::OZ(), Standard_PI/2.);
-+ aCirc->Rotate (gp::OZ(), M_PI/2.);
-
- //perpendicular section
- Handle(BRepAdaptor_HCurve) myPath = new BRepAdaptor_HCurve(path_adapt);
-@@ -1469,12 +1469,12 @@ - }
-
- gp_Pnt2d aPnt(0, 0);
-- gp_Dir2d aDir(2. * PI, pitch);
-+ gp_Dir2d aDir(2. * M_PI, pitch);
- gp_Ax2d aAx2d(aPnt, aDir);
-
- Handle(Geom2d_Line) line = new Geom2d_Line(aAx2d);
- gp_Pnt2d beg = line->Value(0);
-- gp_Pnt2d end = line->Value(sqrt(4.0*PI*PI+pitch*pitch)*(height/pitch));
-+ gp_Pnt2d end = line->Value(sqrt(4.0*M_PI*M_PI+pitch*pitch)*(height/pitch));
- Handle(Geom2d_TrimmedCurve) segm = GCE2d_MakeSegment(beg , end);
-
- TopoDS_Edge edgeOnSurf = BRepBuilderAPI_MakeEdge(segm , surf);
-@@ -1772,7 +1772,7 @@ - Standard_Real x3, y3, z3;
-
- Handle_StlMesh_Mesh aMesh = new StlMesh_Mesh();
-- StlTransfer::BuildIncrementalMesh(this->_Shape, accuracy, aMesh);
-+ StlTransfer::BuildIncrementalMesh(this->_Shape, accuracy, false, aMesh);
- StlMesh_MeshExplorer xp(aMesh);
- for (Standard_Integer nbd=1;nbd<=aMesh->NbDomains();nbd++) {
- for (xp.InitTriangle (nbd); xp.MoreTriangle (); xp.NextTriangle ()) {
---- FreeCAD-0.12.5284/src/Mod/Part/App/FeatureRevolution.cpp -+++ FreeCAD-0.12.5284/src/Mod/Part/App/FeatureRevolution.cpp -@@ -71,7 +71,7 @@ - try {
- // Now, let's get the TopoDS_Shape
- TopoDS_Shape revolve = base->Shape.getShape().revolve(gp_Ax1(pnt, dir),
-- Angle.getValue()/180.0f*Standard_PI);
-+ Angle.getValue()/180.0f*M_PI);
- if (revolve.IsNull())
- return new App::DocumentObjectExecReturn("Resulting shape is null");
- this->Shape.setValue(revolve);
---- FreeCAD-0.12.5284/src/Mod/Part/App/PrimitiveFeature.cpp -+++ FreeCAD-0.12.5284/src/Mod/Part/App/PrimitiveFeature.cpp -@@ -263,9 +263,9 @@ - return new App::DocumentObjectExecReturn("Radius of sphere too small");
- try {
- BRepPrimAPI_MakeSphere mkSphere(Radius.getValue(),
-- Angle1.getValue()/180.0f*Standard_PI,
-- Angle2.getValue()/180.0f*Standard_PI,
-- Angle3.getValue()/180.0f*Standard_PI);
-+ Angle1.getValue()/180.0f*M_PI,
-+ Angle2.getValue()/180.0f*M_PI,
-+ Angle3.getValue()/180.0f*M_PI);
- TopoDS_Shape ResultShape = mkSphere.Shape();
- this->Shape.setValue(ResultShape);
- }
-@@ -321,9 +321,9 @@ - gp_Ax2 ax2(pnt,dir);
- BRepPrimAPI_MakeSphere mkSphere(ax2,
- Radius2.getValue(),
-- Angle1.getValue()/180.0f*Standard_PI,
-- Angle2.getValue()/180.0f*Standard_PI,
-- Angle3.getValue()/180.0f*Standard_PI);
-+ Angle1.getValue()/180.0f*M_PI,
-+ Angle2.getValue()/180.0f*M_PI,
-+ Angle3.getValue()/180.0f*M_PI);
- Standard_Real scale = Radius1.getValue()/Radius2.getValue();
- gp_Dir xDir = ax2.XDirection();
- gp_Dir yDir = ax2.YDirection();
-@@ -380,7 +380,7 @@ - try {
- BRepPrimAPI_MakeCylinder mkCylr(Radius.getValue(),
- Height.getValue(),
-- Angle.getValue()/180.0f*Standard_PI);
-+ Angle.getValue()/180.0f*M_PI);
- TopoDS_Shape ResultShape = mkCylr.Shape();
- this->Shape.setValue(ResultShape);
- }
-@@ -429,7 +429,7 @@ - BRepPrimAPI_MakeCone mkCone(Radius1.getValue(),
- Radius2.getValue(),
- Height.getValue(),
-- Angle.getValue()/180.0f*Standard_PI);
-+ Angle.getValue()/180.0f*M_PI);
- TopoDS_Shape ResultShape = mkCone.Shape();
- this->Shape.setValue(ResultShape);
- }
-@@ -498,9 +498,9 @@ - #else
- BRepPrimAPI_MakeTorus mkTorus(Radius1.getValue(),
- Radius2.getValue(),
-- Angle1.getValue()/180.0f*Standard_PI,
-- Angle2.getValue()/180.0f*Standard_PI,
-- Angle3.getValue()/180.0f*Standard_PI);
-+ Angle1.getValue()/180.0f*M_PI,
-+ Angle2.getValue()/180.0f*M_PI,
-+ Angle3.getValue()/180.0f*M_PI);
- const TopoDS_Solid& ResultShape = mkTorus.Solid();
- #endif
- this->Shape.setValue(ResultShape);
---- FreeCAD-0.12.5284/src/Mod/Part/App/AppPartPy.cpp -+++ FreeCAD-0.12.5284/src/Mod/Part/App/AppPartPy.cpp -@@ -492,7 +492,7 @@ - d.SetCoord(vec.x, vec.y, vec.z);
- }
- Handle_Geom_Plane aPlane = new Geom_Plane(p, d);
-- BRepBuilderAPI_MakeFace Face(aPlane, 0.0, length, 0.0, width);
-+ BRepBuilderAPI_MakeFace Face(aPlane, 0.0, length, 0.0, width, Precision::Confusion());
- return new TopoShapeFacePy(new TopoShape((Face.Face())));
- }
- catch (Standard_DomainError) {
---- FreeCAD-0.12.5284/src/Mod/Part/App/GeometrySurfacePyImp.cpp -+++ FreeCAD-0.12.5284/src/Mod/Part/App/GeometrySurfacePyImp.cpp -@@ -79,7 +79,7 @@ - s->Bounds(u1,u2,v1,v2);
- if (!PyArg_ParseTuple(args, "|dddd", &u1,&u2,&v1,&v2))
- return 0;
-- BRepBuilderAPI_MakeFace mkBuilder(s, u1, u2, v1, v2);
-+ BRepBuilderAPI_MakeFace mkBuilder(s, u1, u2, v1, v2, Precision::Confusion());
- TopoDS_Shape sh = mkBuilder.Shape();
- return new TopoShapeFacePy(new TopoShape(sh));
- }
---- FreeCAD-0.12.5284/src/Mod/Part/App/Geometry.cpp -+++ FreeCAD-0.12.5284/src/Mod/Part/App/Geometry.cpp -@@ -1252,7 +1252,7 @@ - Handle_Geom_Surface s = Handle_Geom_Surface::DownCast(handle());
- Standard_Real u1,u2,v1,v2;
- s->Bounds(u1,u2,v1,v2);
-- BRepBuilderAPI_MakeFace mkBuilder(s, u1, u2, v1, v2);
-+ BRepBuilderAPI_MakeFace mkBuilder(s, u1, u2, v1, v2, Precision::Confusion());
- return mkBuilder.Shape();
- }
-
---- FreeCAD-0.12.5284/src/Mod/Part/App/PrimitiveFeature.cpp -+++ FreeCAD-0.12.5284/src/Mod/Part/App/PrimitiveFeature.cpp -@@ -191,7 +191,7 @@ - gp_Pnt pnt(0.0,0.0,0.0);
- gp_Dir dir(0.0,0.0,1.0);
- Handle_Geom_Plane aPlane = new Geom_Plane(pnt, dir);
-- BRepBuilderAPI_MakeFace mkFace(aPlane, 0.0, L, 0.0, W);
-+ BRepBuilderAPI_MakeFace mkFace(aPlane, 0.0, L, 0.0, W, Precision::Confusion());
-
- const char *error=0;
- switch (mkFace.Error())
---- FreeCAD-0.12.5284/src/Mod/Part/App/TopoShape.cpp -+++ FreeCAD-0.12.5284/src/Mod/Part/App/TopoShape.cpp -@@ -1338,7 +1338,7 @@ - double u1,u2,v1,v2;
- surf->Bounds(u1,u2,v1,v2);
-
-- BRepBuilderAPI_MakeFace mkBuilder(surf, umin, umax, v1, v2);
-+ BRepBuilderAPI_MakeFace mkBuilder(surf, umin, umax, v1, v2, Precision::Confusion());
- return mkBuilder.Face();
- }
-
-@@ -1391,7 +1391,7 @@ -
- Standard_Real u1,u2,v1,v2;
- mySurface->Bounds(u1,u2,v1,v2);
-- BRepBuilderAPI_MakeFace mkBuilder(mySurface, u1, u2, v1, v2);
-+ BRepBuilderAPI_MakeFace mkBuilder(mySurface, u1, u2, v1, v2, Precision::Confusion());
- return mkBuilder.Shape();
- }
-
-@@ -1443,7 +1443,7 @@ - mkSweep.Perform(tol, Standard_False, GeomAbs_C1, BSplCLib::MaxDegree(), 1000);
-
- const Handle_Geom_Surface& surf = mkSweep.Surface();
-- BRepBuilderAPI_MakeFace mkBuilder(surf, umin, umax, vmin, vmax);
-+ BRepBuilderAPI_MakeFace mkBuilder(surf, umin, umax, vmin, vmax, Precision::Confusion());
- return mkBuilder.Face();
- }
-
---- FreeCAD-0.12.5284/src/Mod/Part/App/TopoShapeFacePyImp.cpp -+++ FreeCAD-0.12.5284/src/Mod/Part/App/TopoShapeFacePyImp.cpp -@@ -135,7 +135,7 @@ - return -1;
- }
-
-- BRepBuilderAPI_MakeFace mkFace(S);
-+ BRepBuilderAPI_MakeFace mkFace(S, Precision::Confusion());
- if (bound) {
- Py::List list(bound);
- for (Py::List::iterator it = list.begin(); it != list.end(); ++it) {
---- FreeCAD-0.12.5284/src/Mod/Fem/App/AppFemPy.cpp -+++ FreeCAD-0.12.5284/src/Mod/Fem/App/AppFemPy.cpp -@@ -498,12 +498,12 @@ -
- //Do a Monte Carlo approach and start from the Principal Axis System
- //and rotate +/- 60° around each axis in a first iteration
-- double angle_range_min_x=-PI/3.0,angle_range_max_x=PI/3.0,
-- angle_range_min_y=-PI/3.0,angle_range_max_y=PI/3.0,
-- angle_range_min_z=-PI/3.0,angle_range_max_z=PI/3.0;
-+ double angle_range_min_x=-M_PI/3.0,angle_range_max_x=M_PI/3.0,
-+ angle_range_min_y=-M_PI/3.0,angle_range_max_y=M_PI/3.0,
-+ angle_range_min_z=-M_PI/3.0,angle_range_max_z=M_PI/3.0;
-
- //We rotate until we are 0.1° sure to be in the right position
-- for (step_size = (2.0*PI/it_steps);step_size>(2.0*PI/3600.0);step_size=(2.0*PI/it_steps))
-+ for (step_size = (2.0*M_PI/it_steps);step_size>(2.0*M_PI/3600.0);step_size=(2.0*M_PI/it_steps))
- {
- for(alpha_x=angle_range_min_x;alpha_x<angle_range_max_x;alpha_x=alpha_x+step_size)
- {
-@@ -744,11 +744,11 @@ -
- //Do a Monte Carlo approach and start from the Principal Axis System
- //and rotate +/- 60° around each axis in a first iteration
-- double angle_range_min_x=-PI/3.0,angle_range_max_x=PI/3.0,
-- angle_range_min_y=-PI/3.0,angle_range_max_y=PI/3.0,
-- angle_range_min_z=-PI/3.0,angle_range_max_z=PI/3.0;
-+ double angle_range_min_x=-M_PI/3.0,angle_range_max_x=M_PI/3.0,
-+ angle_range_min_y=-M_PI/3.0,angle_range_max_y=M_PI/3.0,
-+ angle_range_min_z=-M_PI/3.0,angle_range_max_z=M_PI/3.0;
-
-- for (step_size = (2.0*PI/it_steps);step_size>(2.0*PI/360.0);step_size=(2.0*PI/it_steps))
-+ for (step_size = (2.0*M_PI/it_steps);step_size>(2.0*M_PI/360.0);step_size=(2.0*M_PI/it_steps))
- {
- for(alpha_x=angle_range_min_x;alpha_x<angle_range_max_x;alpha_x=alpha_x+step_size)
- {
diff --git a/media-gfx/freecad/files/freecad-0.12.5284-qt3support.patch b/media-gfx/freecad/files/freecad-0.12.5284-qt3support.patch deleted file mode 100644 index 1548c2f1..00000000 --- a/media-gfx/freecad/files/freecad-0.12.5284-qt3support.patch +++ /dev/null @@ -1,36 +0,0 @@ -diff -ruN FreeCAD-0.12.5284.orig/src/Mod/Arch/Resources/ui/archprefs-base.ui FreeCAD-0.12.5284/src/Mod/Arch/Resources/ui/archprefs-base.ui ---- FreeCAD-0.12.5284.orig/src/Mod/Arch/Resources/ui/archprefs-base.ui 2012-01-03 13:26:11.000000000 +0100 -+++ FreeCAD-0.12.5284/src/Mod/Arch/Resources/ui/archprefs-base.ui 2012-01-07 17:15:29.000000000 +0100 -@@ -133,7 +133,7 @@ - </layout> - </widget> - <layoutdefault spacing="6" margin="11"/> -- <pixmapfunction>qPixmapFromMimeSource</pixmapfunction> -+ <pixmapfunction></pixmapfunction> - <customwidgets> - <customwidget> - <class>Gui::ColorButton</class> -diff -ruN FreeCAD-0.12.5284.orig/src/Mod/Draft/Resources/ui/userprefs-base.ui FreeCAD-0.12.5284/src/Mod/Draft/Resources/ui/userprefs-base.ui ---- FreeCAD-0.12.5284.orig/src/Mod/Draft/Resources/ui/userprefs-base.ui 2012-01-03 13:25:30.000000000 +0100 -+++ FreeCAD-0.12.5284/src/Mod/Draft/Resources/ui/userprefs-base.ui 2012-01-07 17:15:11.000000000 +0100 -@@ -957,7 +957,7 @@ - </layout> - </widget> - <layoutdefault spacing="6" margin="11"/> -- <pixmapfunction>qPixmapFromMimeSource</pixmapfunction> -+ <pixmapfunction></pixmapfunction> - <customwidgets> - <customwidget> - <class>Gui::FileChooser</class> -diff -ruN FreeCAD-0.12.5284.orig/src/Mod/Draft/Resources/ui/userprefs-import.ui FreeCAD-0.12.5284/src/Mod/Draft/Resources/ui/userprefs-import.ui ---- FreeCAD-0.12.5284.orig/src/Mod/Draft/Resources/ui/userprefs-import.ui 2012-01-03 13:25:30.000000000 +0100 -+++ FreeCAD-0.12.5284/src/Mod/Draft/Resources/ui/userprefs-import.ui 2012-01-07 17:14:50.000000000 +0100 -@@ -411,7 +411,7 @@ - </layout> - </widget> - <layoutdefault spacing="6" margin="11"/> -- <pixmapfunction>qPixmapFromMimeSource</pixmapfunction> -+ <pixmapfunction></pixmapfunction> - <customwidgets> - <customwidget> - <class>Gui::FileChooser</class> diff --git a/media-gfx/freecad/files/freecad-0.12.5284-removeoldswig.patch b/media-gfx/freecad/files/freecad-0.12.5284-removeoldswig.patch deleted file mode 100644 index b768178e..00000000 --- a/media-gfx/freecad/files/freecad-0.12.5284-removeoldswig.patch +++ /dev/null @@ -1,111 +0,0 @@ ---- src/Base/Interpreter.cpp.old 2010-08-27 16:24:16.000000000 +0200 -+++ src/Base/Interpreter.cpp 2011-12-24 00:13:52.356641021 +0100 -@@ -503,11 +503,6 @@ - #if (defined(HAVE_SWIG) && (HAVE_SWIG == 1))
- namespace Swig_python { extern int createSWIGPointerObj_T(const char* TypeName, void* obj, PyObject** ptr, int own); }
- #endif
--namespace Swig_1_3_25 { extern int createSWIGPointerObj_T(const char* TypeName, void* obj, PyObject** ptr, int own); }
--namespace Swig_1_3_33 { extern int createSWIGPointerObj_T(const char* TypeName, void* obj, PyObject** ptr, int own); }
--namespace Swig_1_3_36 { extern int createSWIGPointerObj_T(const char* TypeName, void* obj, PyObject** ptr, int own); }
--namespace Swig_1_3_38 { extern int createSWIGPointerObj_T(const char* TypeName, void* obj, PyObject** ptr, int own); }
--namespace Swig_1_3_40 { extern int createSWIGPointerObj_T(const char* TypeName, void* obj, PyObject** ptr, int own); }
-
- PyObject* InterpreterSingleton::createSWIGPointerObj(const char* Module, const char* TypeName, void* Pointer, int own)
- {
-@@ -517,21 +512,6 @@ - int version = getSWIGVersionFromModule(Module);
- switch (version&0xff)
- {
-- case 25:
-- result = Swig_1_3_25::createSWIGPointerObj_T(TypeName, Pointer, &proxy, own);
-- break;
-- case 33:
-- result = Swig_1_3_33::createSWIGPointerObj_T(TypeName, Pointer, &proxy, own);
-- break;
-- case 36:
-- result = Swig_1_3_36::createSWIGPointerObj_T(TypeName, Pointer, &proxy, own);
-- break;
-- case 38:
-- result = Swig_1_3_38::createSWIGPointerObj_T(TypeName, Pointer, &proxy, own);
-- break;
-- case 40:
-- result = Swig_1_3_40::createSWIGPointerObj_T(TypeName, Pointer, &proxy, own);
-- break;
- default:
- #if (defined(HAVE_SWIG) && (HAVE_SWIG == 1))
- result = Swig_python::createSWIGPointerObj_T(TypeName, Pointer, &proxy, own);
-@@ -550,11 +530,6 @@ - #if (defined(HAVE_SWIG) && (HAVE_SWIG == 1))
- namespace Swig_python { extern int convertSWIGPointerObj_T(const char* TypeName, PyObject* obj, void** ptr, int flags); }
- #endif
--namespace Swig_1_3_25 { extern int convertSWIGPointerObj_T(const char* TypeName, PyObject* obj, void** ptr, int flags); }
--namespace Swig_1_3_33 { extern int convertSWIGPointerObj_T(const char* TypeName, PyObject* obj, void** ptr, int flags); }
--namespace Swig_1_3_36 { extern int convertSWIGPointerObj_T(const char* TypeName, PyObject* obj, void** ptr, int flags); }
--namespace Swig_1_3_38 { extern int convertSWIGPointerObj_T(const char* TypeName, PyObject* obj, void** ptr, int flags); }
--namespace Swig_1_3_40 { extern int convertSWIGPointerObj_T(const char* TypeName, PyObject* obj, void** ptr, int flags); }
-
- bool InterpreterSingleton::convertSWIGPointerObj(const char* Module, const char* TypeName, PyObject* obj, void** ptr, int flags)
- {
-@@ -563,21 +538,6 @@ - int version = getSWIGVersionFromModule(Module);
- switch (version&0xff)
- {
-- case 25:
-- result = Swig_1_3_25::convertSWIGPointerObj_T(TypeName, obj, ptr, flags);
-- break;
-- case 33:
-- result = Swig_1_3_33::convertSWIGPointerObj_T(TypeName, obj, ptr, flags);
-- break;
-- case 36:
-- result = Swig_1_3_36::convertSWIGPointerObj_T(TypeName, obj, ptr, flags);
-- break;
-- case 38:
-- result = Swig_1_3_38::convertSWIGPointerObj_T(TypeName, obj, ptr, flags);
-- break;
-- case 40:
-- result = Swig_1_3_40::convertSWIGPointerObj_T(TypeName, obj, ptr, flags);
-- break;
- default:
- #if (defined(HAVE_SWIG) && (HAVE_SWIG == 1))
- result = Swig_python::convertSWIGPointerObj_T(TypeName, obj, ptr, flags);
-@@ -596,11 +556,6 @@ - #if (defined(HAVE_SWIG) && (HAVE_SWIG == 1))
- namespace Swig_python { extern void cleanupSWIG_T(const char* TypeName); }
- #endif
--namespace Swig_1_3_25 { extern void cleanupSWIG_T(const char* TypeName); }
--namespace Swig_1_3_33 { extern void cleanupSWIG_T(const char* TypeName); }
--namespace Swig_1_3_36 { extern void cleanupSWIG_T(const char* TypeName); }
--namespace Swig_1_3_38 { extern void cleanupSWIG_T(const char* TypeName); }
--namespace Swig_1_3_40 { extern void cleanupSWIG_T(const char* TypeName); }
-
- void InterpreterSingleton::cleanupSWIG(const char* TypeName)
- {
-@@ -608,9 +563,4 @@ - #if (defined(HAVE_SWIG) && (HAVE_SWIG == 1))
- Swig_python::cleanupSWIG_T(TypeName);
- #endif
-- Swig_1_3_25::cleanupSWIG_T(TypeName);
-- Swig_1_3_33::cleanupSWIG_T(TypeName);
-- Swig_1_3_36::cleanupSWIG_T(TypeName);
-- Swig_1_3_38::cleanupSWIG_T(TypeName);
-- Swig_1_3_40::cleanupSWIG_T(TypeName);
- }
---- src/Base/Makefile.am.old 2011-12-24 00:14:25.625540687 +0100 -+++ src/Base/Makefile.am 2010-10-27 12:29:37.000000000 +0200 -@@ -65,16 +65,6 @@ - Swap.cpp \ - swigpyrun.inl \ - swigpyrun.cpp \ -- swigpyrun_1.3.25.cpp \ -- swigpyrun_1.3.25.h \ -- swigpyrun_1.3.33.cpp \ -- swigpyrun_1.3.33.h \ -- swigpyrun_1.3.36.cpp \ -- swigpyrun_1.3.36.h \ -- swigpyrun_1.3.38.cpp \ -- swigpyrun_1.3.38.h \ -- swigpyrun_1.3.40.cpp \ -- swigpyrun_1.3.40.h \ - TimeInfo.cpp \ - Type.cpp \ - Tools.cpp \ diff --git a/media-gfx/freecad/files/freecad-0.12.5284-salomesmesh-occ-6.5.5.patch b/media-gfx/freecad/files/freecad-0.12.5284-salomesmesh-occ-6.5.5.patch deleted file mode 100644 index 50e30e6c..00000000 --- a/media-gfx/freecad/files/freecad-0.12.5284-salomesmesh-occ-6.5.5.patch +++ /dev/null @@ -1,228 +0,0 @@ ---- FreeCAD-0.12.5284/src/3rdParty/salomesmesh/src/SMESH/SMESH_MeshEditor.cpp -+++ FreeCAD-0.12.5284/src/3rdParty/salomesmesh/src/SMESH/SMESH_MeshEditor.cpp -@@ -1374,7 +1374,7 @@ - const SMDS_MeshNode * n1, - const SMDS_MeshNode * n2) - { -- double angle = 2*PI; // bad angle -+ double angle = 2*M_PI; // bad angle - - // get normals - SMESH::Controls::TSequenceOfXYZ P1, P2; ---- FreeCAD-0.12.5284/src/3rdParty/salomesmesh/src/SMESH/SMESH_Pattern.cpp -+++ FreeCAD-0.12.5284/src/3rdParty/salomesmesh/src/SMESH/SMESH_Pattern.cpp -@@ -1234,7 +1234,7 @@ - maxLen2 = Max( maxLen2, ( n[1]->myUV - n[2]->myUV ).SquareModulus() ); - } - maxLen2 = Max( maxLen2, ( n[2]->myUV - node->myUV ).SquareModulus() ); -- minDiag = sqrt( maxLen2 ) * PI / 60.; // ~ maxLen * Sin( 3 deg ) -+ minDiag = sqrt( maxLen2 ) * M_PI / 60.; // ~ maxLen * Sin( 3 deg ) - } - - // check if newUV is behind 3 dirs: n[0]-n[1], n[1]-n[2] and n[0]-n[2] -@@ -1721,9 +1721,9 @@ - if ( iDir == 1 ) - aNorm[ iDir ].Reverse(); // along iDir isoline - -- double angle = tgt1.Angle( tgt2 ); // [-PI, PI] -+ double angle = tgt1.Angle( tgt2 ); // [-M_PI, M_PI] - // maybe angle is more than |PI| -- if ( Abs( angle ) > PI / 2. ) { -+ if ( Abs( angle ) > M_PI / 2. ) { - // check direction of the last but one perpendicular isoline - TIsoNode* prevNode = bndNode2->GetNext( iDir, 0 ); - bndNode1 = prevNode->GetBoundaryNode( 1 - iDir, 0 ); -@@ -1734,7 +1734,7 @@ - double angle2 = tgt1.Angle( isoDir ); - //cout << " isoDir: "<< isoDir.X() <<" "<<isoDir.Y() << " ANGLE: "<< angle << " "<<angle2<<endl; - if (angle2 * angle < 0 && // check the sign of an angle close to PI -- Abs ( Abs ( angle ) - PI ) <= PI / 180. ) { -+ Abs ( Abs ( angle ) - M_PI ) <= M_PI / 180. ) { - //MESSAGE("REVERSE ANGLE"); - angle = -angle; - } -@@ -1746,7 +1746,7 @@ - // cout << "bndNode1: " << bndNode1->myUV.X()<<" "<<bndNode1->myUV.Y()<< endl; - // cout << "bndNode2: " << bndNode2->myUV.X()<<" "<<bndNode2->myUV.Y()<<endl; - // cout <<" tgt: " << tgt1.X()<<" "<<tgt1.Y()<<" "<< tgt2.X()<<" "<<tgt2.Y()<<endl; -- angle += ( angle < 0 ) ? 2. * PI : -2. * PI; -+ angle += ( angle < 0 ) ? 2. * M_PI : -2. * M_PI; - } - } - aTgt[ iDir ] = tgt1.Rotated( angle * ratio[ iDir ] ).XY(); -@@ -1785,7 +1785,7 @@ - double initAngle = initTgt1.Angle( initTgt2 ); - double angle = node->myDir[0].Angle( node->myDir[1] ); - if ( reversed ) angle = -angle; -- if ( initAngle > angle && initAngle - angle > PI / 2.1 ) { -+ if ( initAngle > angle && initAngle - angle > M_PI / 2.1 ) { - // find a close internal node - TIsoNode* nClose = 0; - list< TIsoNode* > testNodes; ---- FreeCAD-0.12.5284/src/3rdParty/salomesmesh/src/Controls/SMESH_Controls.cpp -+++ FreeCAD-0.12.5284/src/3rdParty/salomesmesh/src/Controls/SMESH_Controls.cpp -@@ -332,12 +332,12 @@ - aMin = Min(aMin,A0); - } - -- return aMin * 180.0 / PI; -+ return aMin * 180.0 / M_PI; - } - - double MinimumAngle::GetBadRate( double Value, int nbNodes ) const - { -- //const double aBestAngle = PI / nbNodes; -+ //const double aBestAngle = M_PI / nbNodes; - const double aBestAngle = 180.0 - ( 360.0 / double(nbNodes) ); - return ( fabs( aBestAngle - Value )); - } -@@ -831,19 +831,19 @@ - gp_XYZ N = GI.Crossed( GJ ); - - if ( N.Modulus() < gp::Resolution() ) -- return PI / 2; -+ return M_PI / 2; - - N.Normalize(); - - double H = ( thePnt2 - theG ).Dot( N ); -- return asin( fabs( H / L ) ) * 180. / PI; -+ return asin( fabs( H / L ) ) * 180. / M_PI; - } - - double Warping::GetBadRate( double Value, int /*nbNodes*/ ) const - { - // the warp is in the range [0.0,PI/2] - // 0.0 = good (no warp) -- // PI/2 = bad (face pliee) -+ // M_PI/2 = bad (face pliee) - return Value; - } - -@@ -915,14 +915,14 @@ - return 0.; - - // Compute skew -- static double PI2 = PI / 2.; -+ static double PI2 = M_PI / 2.; - if ( P.size() == 3 ) - { - double A0 = fabs( PI2 - skewAngle( P( 3 ), P( 1 ), P( 2 ) ) ); - double A1 = fabs( PI2 - skewAngle( P( 1 ), P( 2 ), P( 3 ) ) ); - double A2 = fabs( PI2 - skewAngle( P( 2 ), P( 3 ), P( 1 ) ) ); - -- return Max( A0, Max( A1, A2 ) ) * 180. / PI; -+ return Max( A0, Max( A1, A2 ) ) * 180. / M_PI; - } - else - { -@@ -939,7 +939,7 @@ - if ( A < Precision::Angular() ) - return 0.; - -- return A * 180. / PI; -+ return A * 180. / M_PI; - } - } - ---- FreeCAD-0.12.5284/src/3rdParty/salomesmesh/src/StdMeshers/StdMeshers_CompositeHexa_3D.cpp -+++ FreeCAD-0.12.5284/src/3rdParty/salomesmesh/src/StdMeshers/StdMeshers_CompositeHexa_3D.cpp -@@ -812,7 +812,7 @@ - int iMyCommon; - if ( mySides.Contain( otherSide, &iMyCommon ) ) { - // check if normals of two faces are collinear at all vertices of a otherSide -- const double angleTol = PI / 180 / 2; -+ const double angleTol = M_PI / 180 / 2; - int iV, nbV = otherSide.NbVertices(), nbCollinear = 0; - for ( iV = 0; iV < nbV; ++iV ) - { ---- FreeCAD-0.12.5284/src/3rdParty/salomesmesh/src/StdMeshers/StdMeshers_RadialQuadrangle_1D2D.cpp -+++ FreeCAD-0.12.5284/src/3rdParty/salomesmesh/src/StdMeshers/StdMeshers_RadialQuadrangle_1D2D.cpp -@@ -355,8 +355,8 @@ - for(; itn != theNodes.end(); itn++ ) { - CNodes.push_back( (*itn).second ); - double ang = (*itn).first - fang; -- if( ang>PI ) ang = ang - 2*PI; -- if( ang<-PI ) ang = ang + 2*PI; -+ if( ang>M_PI ) ang = ang - 2*M_PI; -+ if( ang<-M_PI ) ang = ang + 2*M_PI; - Angles.Append( ang ); - } - } -@@ -404,7 +404,7 @@ - // a segment of line - double fp, lp; - Handle(Geom_Circle) aCirc = Handle(Geom_Circle)::DownCast( getCurve( CircEdge, &fp, &lp )); -- if( fabs(fabs(lp-fp)-PI) > Precision::Confusion() ) { -+ if( fabs(fabs(lp-fp)-M_PI) > Precision::Confusion() ) { - // not half of circle - return error(COMPERR_BAD_SHAPE); - } -@@ -434,8 +434,8 @@ - for(; itn != theNodes.end(); itn++ ) { - CNodes.push_back( (*itn).second ); - double ang = (*itn).first - fang; -- if( ang>PI ) ang = ang - 2*PI; -- if( ang<-PI ) ang = ang + 2*PI; -+ if( ang>M_PI ) ang = ang - 2*M_PI; -+ if( ang<-M_PI ) ang = ang + 2*M_PI; - Angles.Append( ang ); - } - const SMDS_MeshNode* NF = theNodes.begin()->second; -@@ -587,8 +587,8 @@ - for(; itn != theNodes.end(); itn++ ) { - CNodes.push_back( (*itn).second ); - double ang = (*itn).first - fang; -- if( ang>PI ) ang = ang - 2*PI; -- if( ang<-PI ) ang = ang + 2*PI; -+ if( ang>M_PI ) ang = ang - 2*M_PI; -+ if( ang<-M_PI ) ang = ang + 2*M_PI; - Angles.Append( ang ); - } - P1 = gp_Pnt( NF->X(), NF->Y(), NF->Z() ); -@@ -1055,7 +1055,7 @@ - aLine = Handle(Geom_Line)::DownCast(C3); - } - bool ok = !aCirc.IsNull() && !aLine.IsNull(); -- if( fabs(fabs(lp-fp)-PI) > Precision::Confusion() ) { -+ if( fabs(fabs(lp-fp)-M_PI) > Precision::Confusion() ) { - // not half of circle - ok = false; - } ---- FreeCAD-0.12.5284/src/3rdParty/salomesmesh/src/StdMeshers/StdMeshers_QuadToTriaAdaptor.cpp -+++ FreeCAD-0.12.5284/src/3rdParty/salomesmesh/src/StdMeshers/StdMeshers_QuadToTriaAdaptor.cpp -@@ -1037,19 +1037,19 @@ - double ang1 = fabs(VN1.Angle(VI1)); - double ang2 = fabs(VN2.Angle(VI2)); - double h1,h2; -- if(ang1>PI/3.) -+ if(ang1>M_PI/3.) - h1 = VI1.Magnitude()/2; - else - h1 = VI1.Magnitude()*cos(ang1); -- if(ang2>PI/3.) -+ if(ang2>M_PI/3.) - h2 = VI2.Magnitude()/2; - else - h2 = VI2.Magnitude()*cos(ang2); - double coef1 = 0.5; -- if(ang1<PI/3) -+ if(ang1<M_PI/3) - coef1 -= cos(ang1)*0.25; - double coef2 = 0.5; -- if(ang2<PI/3) -+ if(ang2<M_PI/3) - coef2 -= cos(ang1)*0.25; - - SMDS_MeshNode* aNode1 = const_cast<SMDS_MeshNode*>(Ns1[4]); ---- FreeCAD-0.12.5284/src/3rdParty/salomesmesh/src/StdMeshers/StdMeshers_AutomaticLength.cpp -+++ FreeCAD-0.12.5284/src/3rdParty/salomesmesh/src/StdMeshers/StdMeshers_AutomaticLength.cpp -@@ -116,7 +116,7 @@ - */ - //================================================================================ - -- const double a14divPI = 14. / PI; -+ const double a14divPI = 14. / M_PI; - - inline double segLength(double S0, double edgeLen, double minLen ) - { diff --git a/media-gfx/freecad/files/freecad-0.13.1830-remove-qt3-support.patch b/media-gfx/freecad/files/freecad-0.13.1830-remove-qt3-support.patch deleted file mode 100644 index 8f761d87..00000000 --- a/media-gfx/freecad/files/freecad-0.13.1830-remove-qt3-support.patch +++ /dev/null @@ -1,33 +0,0 @@ ---- freecad-0.13.1830/src/Mod/Arch/Resources/ui/archprefs-base.ui -+++ freecad-0.13.1830/src/Mod/Arch/Resources/ui/archprefs-base.ui -@@ -309,7 +309,7 @@ - </layout> - </widget> - <layoutdefault spacing="6" margin="11"/> -- <pixmapfunction>qPixmapFromMimeSource</pixmapfunction> -+ <pixmapfunction></pixmapfunction> - <customwidgets> - <customwidget> - <class>Gui::ColorButton</class> ---- freecad-0.13.1830/src/Mod/Draft/Resources/ui/userprefs-base.ui -+++ freecad-0.13.1830/src/Mod/Draft/Resources/ui/userprefs-base.ui -@@ -1185,7 +1185,7 @@ - </layout> - </widget> - <layoutdefault spacing="6" margin="11"/> -- <pixmapfunction>qPixmapFromMimeSource</pixmapfunction> -+ <pixmapfunction></pixmapfunction> - <customwidgets> - <customwidget> - <class>Gui::FileChooser</class> ---- freecad-0.13.1830/src/Mod/Draft/Resources/ui/userprefs-import.ui -+++ freecad-0.13.1830/src/Mod/Draft/Resources/ui/userprefs-import.ui -@@ -536,7 +536,7 @@ - </layout> - </widget> - <layoutdefault spacing="6" margin="11"/> -- <pixmapfunction>qPixmapFromMimeSource</pixmapfunction> -+ <pixmapfunction></pixmapfunction> - <customwidgets> - <customwidget> - <class>Gui::FileChooser</class> diff --git a/media-gfx/freecad/freecad-0.12.5284-r2.ebuild b/media-gfx/freecad/freecad-0.12.5284-r2.ebuild deleted file mode 100644 index dc7ea5b0..00000000 --- a/media-gfx/freecad/freecad-0.12.5284-r2.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/freecad/freecad-0.12.5284-r2.ebuild,v 1.7 2013/03/07 15:54:35 axs Exp $ - -EAPI=4 -PYTHON_DEPEND=2 - -inherit base multilib fortran-2 flag-o-matic python cmake-utils - -MY_P="freecad-${PV}" -MY_PD="FreeCAD-${PV}" - -DESCRIPTION="QT based Computer Aided Design application" -HOMEPAGE="http://sourceforge.net/apps/mediawiki/free-cad/" -SRC_URI="mirror://sourceforge/free-cad/${MY_P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND=" - dev-cpp/eigen:3 - dev-games/ode - dev-libs/boost - dev-libs/libf2c - dev-libs/xerces-c[icu] - dev-python/pivy - dev-python/PyQt4[svg] - media-libs/coin - media-libs/SoQt - >=sci-libs/opencascade-6.3-r3 - sci-libs/gts - sys-libs/zlib - virtual/glu - dev-qt/qtgui:4 - dev-qt/qtopengl:4 - dev-qt/qtsvg:4 - dev-qt/qtwebkit:4 - dev-qt/qtxmlpatterns:4" -DEPEND="${RDEPEND} - >=dev-lang/swig-2.0.4-r1" - -RESTRICT="bindist mirror" -# http://bugs.gentoo.org/show_bug.cgi?id=352435 -# http://www.gentoo.org/foundation/en/minutes/2011/20110220_trustees.meeting_log.txt - -S="${WORKDIR}/${MY_PD}" - -PATCHES=( - "${FILESDIR}/${P}-gcc46.patch" - "${FILESDIR}/${P}-removeoldswig.patch" - "${FILESDIR}/${P}-glu.patch" - "${FILESDIR}/${P}-nodir.patch" - "${FILESDIR}/${P}-nopivy.patch" - "${FILESDIR}/${P}-qt3support.patch" - "${FILESDIR}/${P}-boost148.patch" -) - -pkg_setup() { - fortran-2_pkg_setup - python_set_active_version 2 -} - -src_prepare() { - base_src_prepare - append-cxxflags -fpermissive -} - -src_configure() { - local mycmakeargs=( - -DOCC_INCLUDE_DIR=${CASROOT}/inc - -DOCC_INCLUDE_PATH=${CASROOT}/inc - -DOCC_LIBRARY=${CASROOT}/lib/libTKernel.so - -DOCC_LIBRARY_DIR=${CASROOT}/lib - -DOCC_LIB_PATH=${CASROOT}/lib - -DCOIN3D_INCLUDE_DIR=/usr/include/coin - -DCOIN3D_LIBRARY=/usr/$(get_libdir)/libCoin.so - -DSOQT_LIBRARY=/usr/$(get_libdir)/libSoQt.so - -DSOQT_INCLUDE_PATH=/usr/include/coin - ) - cmake-utils_src_configure -} - -src_install() { - cmake-utils_src_install - - find "${D}" -name "*.la" -exec rm {} + - - dodoc README.Linux ChangeLog.txt -} diff --git a/media-gfx/freecad/freecad-0.12.5284-r3.ebuild b/media-gfx/freecad/freecad-0.12.5284-r3.ebuild deleted file mode 100644 index ca4375ba..00000000 --- a/media-gfx/freecad/freecad-0.12.5284-r3.ebuild +++ /dev/null @@ -1,128 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/freecad/freecad-0.12.5284-r3.ebuild,v 1.1 2013/04/27 22:49:15 xmw Exp $ - -EAPI=5 - -PYTHON_DEPEND=2 - -inherit eutils multilib fortran-2 python cmake-utils - -DESCRIPTION="QT based Computer Aided Design application" -HOMEPAGE="http://sourceforge.net/apps/mediawiki/free-cad/" -SRC_URI="mirror://sourceforge/free-cad/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND="dev-cpp/eigen:3 - dev-games/ode - dev-libs/boost - dev-libs/libf2c - dev-libs/libspnav[X] - dev-libs/xerces-c[icu] - dev-python/PyQt4[svg] - dev-python/pivy - dev-qt/qtgui:4 - dev-qt/qtopengl:4 - dev-qt/qtsvg:4 - dev-qt/qtwebkit:4 - dev-qt/qtxmlpatterns:4 - media-libs/SoQt - media-libs/coin[doc] - sci-libs/gts - sci-libs/opencascade - sys-libs/zlib - virtual/glu" -DEPEND="${RDEPEND} - >=dev-lang/swig-2.0.4-r1:0" - -# http://bugs.gentoo.org/show_bug.cgi?id=352435 -# http://www.gentoo.org/foundation/en/minutes/2011/20110220_trustees.meeting_log.txt -RESTRICT="bindist mirror" - -S="${WORKDIR}/FreeCAD-${PV}" - -pkg_setup() { - fortran-2_pkg_setup - python_set_active_version 2 -} - -src_prepare() { - einfo remove bundled libs - rm -rf src/3rdParty/{Pivy{,-0.5},boost} - einfo cleanup build system - find . -name "configure*" -print -delete - - epatch \ - "${FILESDIR}"/${P}-gcc46.patch \ - "${FILESDIR}"/${P}-removeoldswig.patch \ - "${FILESDIR}"/${P}-glu.patch \ - "${FILESDIR}"/${P}-nodir.patch \ - "${FILESDIR}"/${P}-qt3support.patch \ - "${FILESDIR}"/${P}-boost148.patch \ - "${FILESDIR}"/${P}-nopivy.patch \ - "${FILESDIR}"/${P}-no-permissive.patch - - local my_cas_version=$(eselect opencascadee show 2>/dev/null || echo 6.5) - if [ "${my_cas_version}" > "6.5.0" ] ; then - epatch "${FILESDIR}"/${P}-occ-6.5.5.patch - epatch "${FILESDIR}"/${P}-salomesmesh-occ-6.5.5.patch - fi - - local my_coin_version=$(best_version media-libs/coin) - local my_coin_path="${EROOT}"usr/share/doc/${my_coin_version##*/}/html - sed -e "s:/usr/share/doc/libcoin60-doc/html:${my_coin_path}:" \ - -i cMake/FindCoin3DDoc.cmake || die - - sed -e '/FREECAD_BUILD_FEM/s: ON): OFF):' \ - -i CMakeLists.txt || die - #sed -e '/add_subdirectory(Fem)/d' \ - # -e '/add_subdirectory(MeshPart)/d' \ - # -i src/Mod/CMakeLists.txt || die -} - -src_configure() { - local my_occ_env=${EROOT}etc/env.d/50opencascade - if [ -e "${EROOT}etc//env.d/51opencascade" ] ; then - my_occ_env=${EROOT}etc/env.d/51opencascade - fi - export CASROOT=$(sed -ne '/^CASROOT=/{s:.*=:: ; p}' $my_occ_env) - - local mycmakeargs=( - -DOCC_INCLUDE_DIR="${CASROOT}"/inc - -DOCC_INCLUDE_PATH="${CASROOT}"/inc - -DOCC_LIBRARY="${CASROOT}"/lib/libTKernel.so - -DOCC_LIBRARY_DIR="${CASROOT}"/lib - -DOCC_LIB_PATH="${CASROOT}"/lib - -DCOIN3D_INCLUDE_DIR="${EROOT}"usr/include/coin - -DCOIN3D_LIBRARY="${EROOT}"usr/$(get_libdir)/libCoin.so - -DSOQT_LIBRARY="${EROOT}"usr/$(get_libdir)/libSoQt.so - -DSOQT_INCLUDE_PATH="${EROOT}"usr/include/coin - -DCMAKE_INSTALL_PREFIX="${EROOT}"usr/$(get_libdir)/${P} - ) - cmake-utils_src_configure - ewarn "${P} will be built against opencascade version ${CASROOT}" -} - -src_install() { - cmake-utils_src_install - insinto /usr/$(get_libdir)/${P}/Mod/Start - doins -r src/Mod/Start/StartPage - - prune_libtool_files - - make_wrapper FreeCAD \ - "${EROOT}"usr/$(get_libdir)/${P}/bin/FreeCAD \ - "" "${EROOT}"usr/$(get_libdir)/${P}/lib - make_wrapper FreeCADCmd \ - "${EROOT}"usr/$(get_libdir)/${P}/bin/FreeCADCmd \ - "" "${EROOT}"usr/$(get_libdir)/${P}/lib - - newicon src/Main/icon.ico ${PN}.ico - make_desktop_entry FreeCAD - - dodoc README.Linux ChangeLog.txt -} diff --git a/media-gfx/freecad/freecad-0.13.1830.ebuild b/media-gfx/freecad/freecad-0.13.1830.ebuild deleted file mode 100644 index 6dfc820a..00000000 --- a/media-gfx/freecad/freecad-0.13.1830.ebuild +++ /dev/null @@ -1,88 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/freecad/freecad-0.13.1830.ebuild,v 1.2 2013/05/09 08:36:38 xmw Exp $ - -EAPI=5 - -PYTHON_DEPEND=2 - -inherit eutils multilib fortran-2 python cmake-utils - -DESCRIPTION="QT based Computer Aided Design application" -HOMEPAGE="http://www.freecadweb.org/" -SRC_URI="mirror://sourceforge/free-cad/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="" -IUSE="" - -RDEPEND="dev-cpp/eigen:3 - dev-games/ode - dev-libs/boost - dev-libs/libf2c - dev-libs/libspnav[X] - dev-libs/xerces-c[icu] - dev-python/PyQt4[svg] - dev-python/pivy - dev-qt/qtgui:4 - dev-qt/qtopengl:4 - dev-qt/qtsvg:4 - dev-qt/qtwebkit:4 - dev-qt/qtxmlpatterns:4 - media-libs/SoQt - media-libs/coin[doc] - sci-libs/gts - sci-libs/opencascade - sys-libs/zlib - virtual/glu" -DEPEND="${RDEPEND} - >=dev-lang/swig-2.0.4-r1:0" - -# http://bugs.gentoo.org/show_bug.cgi?id=352435 -# http://www.gentoo.org/foundation/en/minutes/2011/20110220_trustees.meeting_log.txt -RESTRICT="bindist mirror" - -pkg_setup() { - fortran-2_pkg_setup - python_set_active_version 2 -} - -src_prepare() { - einfo remove bundled libs - rm -rf src/3rdParty - - epatch "${FILESDIR}"/${P}-remove-qt3-support.patch -} - -src_configure() { - local my_occ_env=${EROOT}etc/env.d/50opencascade - if [ -e "${EROOT}etc//env.d/51opencascade" ] ; then - my_occ_env=${EROOT}etc/env.d/51opencascade - fi - export CASROOT=$(sed -ne '/^CASROOT=/{s:.*=:: ; p}' $my_occ_env) - - local mycmakeargs=( - -DOCC_INCLUDE_DIR="${CASROOT}"/inc - -DOCC_INCLUDE_PATH="${CASROOT}"/inc - -DOCC_LIBRARY="${CASROOT}"/lib/libTKernel.so - -DOCC_LIBRARY_DIR="${CASROOT}"/lib - -DOCC_LIB_PATH="${CASROOT}"/lib - -DCOIN3D_INCLUDE_DIR="${EROOT}"usr/include/coin - -DCOIN3D_LIBRARY="${EROOT}"usr/$(get_libdir)/libCoin.so - -DSOQT_LIBRARY="${EROOT}"usr/$(get_libdir)/libSoQt.so - -DSOQT_INCLUDE_PATH="${EROOT}"usr/include/coin - -DCMAKE_BINARY_DIR="${EROOT}"usr/bin - -DCMAKE_INSTALL_PREFIX="${EROOT}"usr/$(get_libdir)/${P} - ) - cmake-utils_src_configure - ewarn "${P} will be built against opencascade version ${CASROOT}" -} - -src_install() { - cmake-utils_src_install - - prune_libtool_files - - dodoc README.Linux ChangeLog.txt -} diff --git a/media-gfx/freecad/freecad-9999.ebuild b/media-gfx/freecad/freecad-9999.ebuild deleted file mode 100644 index 305d3633..00000000 --- a/media-gfx/freecad/freecad-9999.ebuild +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/freecad/freecad-0.11.3729.ebuild,v 1.6 2011/11/13 20:13:27 dilfridge Exp $ - -EAPI=3 - -PYTHON_DEPEND=2 - -inherit base eutils fortran-2 multilib autotools flag-o-matic python git-2 - -MY_P="freecad-${PV}" -MY_PD="FreeCAD-${PV}" - -DESCRIPTION="QT based Computer Aided Design application" -HOMEPAGE="http://sourceforge.net/apps/mediawiki/free-cad/" -EGIT_REPO_URI="git://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="soqt assembly sandbox cam loginfo" - -RDEPEND=" - dev-cpp/eigen - dev-games/ode - dev-libs/boost - dev-libs/xerces-c - dev-python/pivy - dev-python/PyQt4[svg] - media-libs/coin - soqt? ( media-libs/SoQt ) - >=sci-libs/opencascade-6.3 - sci-libs/gts - sys-libs/zlib - virtual/fortran - x11-libs/qt-gui:4 - x11-libs/qt-opengl:4 - x11-libs/qt-svg:4 - x11-libs/qt-webkit:4 - x11-libs/qt-xmlpatterns:4 - x11-libs/qt-qt3support:4" -DEPEND="${RDEPEND} - dev-lang/swig" - -#PATCHES=( "${FILESDIR}/${P}-asneeded.patch" ) - -RESTRICT="bindist mirror" -# http://bugs.gentoo.org/show_bug.cgi?id=352435 -# http://www.gentoo.org/foundation/en/minutes/2011/20110220_trustees.meeting_log.txt - -S="${WORKDIR}/${MY_PD}" - -pkg_setup() { - fortran-2_pkg_setup - python_set_active_version 2 -} - -src_prepare() { - base_src_prepare - ./autogen.sh - eautoreconf -} - -src_configure() { - if use assembly ; then - --enable-assembly - fi - if use sandbox ; then - --enable-sandbox - fi - if use cam ; then - --enable-cam - fi - if use loginfo ; then - --enable-loginfo - fi - if ! use soqt ; then - --without-soqt - fi - append-cflags "-DBOOST_FILESYSTEM_VERSION=2" - append-cppflags "-DBOOST_FILESYSTEM_VERSION=2" - append-cxxflags "-DBOOST_FILESYSTEM_VERSION=2" - econf \ - --with-qt4-include="${EPREFIX}"/usr/include/qt4 \ - --with-qt4-bin="${EPREFIX}"//usr/bin \ - --with-qt4-lib="${EPREFIX}"//usr/$(get_libdir)/qt4 \ - --with-occ-include=${CASROOT}/inc \ - --with-occ-lib=${CASROOT}/lib -} - -src_compile() { - #For compilation safety keep j1 - MAKEOPTS="-j1" base_src_compile -} - -src_install() { - emake DESTDIR="${D}" install || die "install failed" - - find "${D}" -name "*.la" -exec rm {} + - - dodoc README.Linux ChangeLog.txt || die - - dodir /usr/share/apps/freecad || die - mv "${D}/usr/share/freecad.xpm" "${D}/usr/share/apps/freecad/" || die - - make_desktop_entry FreeCAD FreeCAD /usr/share/apps/freecad/freecad.xpm -} diff --git a/media-tv/popcorntime/Manifest b/media-tv/popcorntime/Manifest deleted file mode 100644 index 927f65bc..00000000 --- a/media-tv/popcorntime/Manifest +++ /dev/null @@ -1,6 +0,0 @@ -DIST Popcorn-Time-0.3.5-Linux32.tar.xz 34868600 SHA256 bf3a1926dfe1681b50313a02fe0802f980705a28a18007f2eca272079adeab19 SHA512 df62f2a749660bfd09879bc5bfc8f5353126dcfb56068b26777a307e3da15fdc22f771cdd7f188627af68a5f8b9ef9575d796b055b8c34fa007c46a04a20aa17 WHIRLPOOL 562138db53ffba2a048a358bb98a2a1e6b25849bce2c4f90cc5d0dc1ad22cf70e4fc9d5ccd8481bd1e8f4e99ac3aa208ad31c8861b56bb2caddcac7374cb9fec -DIST Popcorn-Time-0.3.5-Linux64.tar.xz 36104684 SHA256 7033cfa855bc175d24a3c1435c9a83919266e20a04dfe7e8228c61e0710e567f SHA512 bf39cc51acfd78fcd170cbe9cc071ee6a17d0720ef4fea16695c3cee1ff86ecde59a8fb5a3a8a5ed3b001bbb18877ce286433325b436eab246c72e0cfbd46905 WHIRLPOOL 6d8bce16961c9346028ed3d5864753274f489f6fb2885f9f8e2e8cd50f39543e99db08d5570a8629a12c4721a316fee3aed692135829d2eb07e34f7f9df9a19e -DIST Popcorn-Time-0.3.7-Linux32.tar.xz 35011416 SHA256 8135e40a07598c679b7525c2d89b03b3a79e44e7703e9dcdb4c5557f6f6160c4 SHA512 4d8153ef0740756470faa2ceed9e957cac7c89943fc57e3ebc29517e60fcc3b52be8b84dec291512c07e51683664c005b2f767ebde7629089758a27d9c831cd0 WHIRLPOOL 83a7e5c80abe5944b6d46d9a4a47350eea26647bb40780a138add6b699bc7ce026d5c73a55594f362da244a7e365382dac2aa4b5505f516acd4d4ecaf1f610d7 -DIST Popcorn-Time-0.3.7-Linux64.tar.xz 36281000 SHA256 a5af8a0ef8dd06d50ba9e6d8444cf83cf0d07c0b3a7d254874511c536ac9de5d SHA512 dbbe2d9e11af78f359978e83e6572ce264efac4bb097a59a65edfb2cd7d4829354526d74a0dca6eba81465b94afa3c5112e7aac8a78f6cff63b79db744656dd4 WHIRLPOOL d77e7f33bcc8c1785d92f70b4513a1154ba92b8f17a0e8f477b3dd8488313ec255c2523fb48bfcfa2809d76ffb2592ab4700b5103f25362563ae34df575f4191 -DIST Popcorn-Time-0.3.7.2-Linux32.tar.xz 35298920 SHA256 21e5dbc667f13572fcd8edc535ce4fcd2c0bffafcd237753ad8a2f1cc665e1b7 SHA512 cc994effca55d62743aced23d32047fd8ae0470dc9e36026c205438809f74e422acc27c9f702fa5cbc21f58c417c3c59cf002bfd9225e9eeb13b934340d508b3 WHIRLPOOL 2a69959d59008d7caa3445d65027383c8f312343560a90c0609ed424923538d36a6650816dd16840ec2c3d5d5add92af0903de816b0f6b9719391c0f5a5d1d1d -DIST Popcorn-Time-0.3.7.2-Linux64.tar.xz 36568388 SHA256 0b294d08e6bc46d3d06717d4a6344b4e6e4e14f742f61101b8498d931d99a952 SHA512 7991695dba1e3890723a0fa3afbcf7f815734f6dbce7974160594dd5bad7d4a54b671d4018ed293248bddd84ba0a573a03bdac2c7d3bf6c03d3b6e60ac7cd65c WHIRLPOOL dd0db15ded7864a0de2eef58aeaa2248cb9a7617d240f8549e520026326687b919fdf1d0a25bf337a5b3c9c4c87a8118ae58d23b7ebb69c75caacd2e63423426 diff --git a/media-tv/popcorntime/files/popcorntime.desktop b/media-tv/popcorntime/files/popcorntime.desktop deleted file mode 100644 index 37268036..00000000 --- a/media-tv/popcorntime/files/popcorntime.desktop +++ /dev/null @@ -1,8 +0,0 @@ -[Desktop Entry] -Name=Popcorn Time -Comment=Watch torrent movies instantly -Exec=popcorntime %U -Icon=popcorntime -Terminal=false -Type=Application -Categories=Player;AudioVideo;Video;Network; diff --git a/media-tv/popcorntime/files/popcorntime.png b/media-tv/popcorntime/files/popcorntime.png Binary files differdeleted file mode 100644 index 3ea50108..00000000 --- a/media-tv/popcorntime/files/popcorntime.png +++ /dev/null diff --git a/media-tv/popcorntime/popcorntime-0.3.5.ebuild b/media-tv/popcorntime/popcorntime-0.3.5.ebuild deleted file mode 100644 index 5bc8a745..00000000 --- a/media-tv/popcorntime/popcorntime-0.3.5.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 - -inherit eutils fdo-mime multilib - -DESCRIPTION="Watch torrent movies instantly" -HOMEPAGE="http://popcorn.cdnjd.com/" -SRC_URI="x86? ( http://cdn.popcorntime.io/build/Popcorn-Time-${PV}-Linux32.tar.xz ) - amd64? ( http://cdn.popcorntime.io/build/Popcorn-Time-${PV}-Linux64.tar.xz )" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" -RESTRICT="splitdebug strip" - -DEPEND="" -RDEPEND="dev-libs/nss - gnome-base/gconf - media-fonts/corefonts - media-libs/alsa-lib - x11-libs/gtk+:2" - -S="${WORKDIR}" - -src_install() { - exeinto /opt/${PN} - doexe Popcorn-Time libffmpegsumo.so nw.pak - - dosym /usr/$(get_libdir)/libudev.so.1 /opt/${PN}/libudev.so.0 - make_wrapper ${PN} ./Popcorn-Time /opt/${PN} /opt/${PN} /opt/bin - - insinto /usr/share/applications - doins "${FILESDIR}"/${PN}.desktop - - insinto /usr/share/pixmaps - doins "${FILESDIR}"/${PN}.png -} - -pkg_postinst() { - fdo-mime_desktop_database_update -} - -pkg_postrm() { - fdo-mime_desktop_database_update -} diff --git a/media-tv/popcorntime/popcorntime-0.3.7.2.ebuild b/media-tv/popcorntime/popcorntime-0.3.7.2.ebuild deleted file mode 100644 index 42f3b835..00000000 --- a/media-tv/popcorntime/popcorntime-0.3.7.2.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 - -inherit eutils fdo-mime multilib - -DESCRIPTION="Watch torrent movies instantly" -HOMEPAGE="http://popcorn.cdnjd.com/" -SRC_URI="x86? ( http://cdn.popcorntime.io/build/Popcorn-Time-${PV}-Linux32.tar.xz ) - amd64? ( http://cdn.popcorntime.io/build/Popcorn-Time-${PV}-Linux64.tar.xz )" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" -RESTRICT="splitdebug strip" - -DEPEND="" -RDEPEND="dev-libs/nss - gnome-base/gconf - media-fonts/corefonts - media-libs/alsa-lib - net-libs/nodejs - x11-libs/gtk+:2" - -S="${WORKDIR}" - -src_install() { - exeinto /opt/${PN} - doexe Popcorn-Time libffmpegsumo.so nw.pak - - dosym /usr/$(get_libdir)/libudev.so.1 /opt/${PN}/libudev.so.0 - make_wrapper ${PN} ./Popcorn-Time /opt/${PN} /opt/${PN} /opt/bin - - insinto /usr/share/applications - doins "${FILESDIR}"/${PN}.desktop - - insinto /usr/share/pixmaps - doins "${FILESDIR}"/${PN}.png -} - -pkg_postinst() { - fdo-mime_desktop_database_update -} - -pkg_postrm() { - fdo-mime_desktop_database_update -} diff --git a/media-tv/popcorntime/popcorntime-0.3.7.ebuild b/media-tv/popcorntime/popcorntime-0.3.7.ebuild deleted file mode 100644 index 42f3b835..00000000 --- a/media-tv/popcorntime/popcorntime-0.3.7.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 - -inherit eutils fdo-mime multilib - -DESCRIPTION="Watch torrent movies instantly" -HOMEPAGE="http://popcorn.cdnjd.com/" -SRC_URI="x86? ( http://cdn.popcorntime.io/build/Popcorn-Time-${PV}-Linux32.tar.xz ) - amd64? ( http://cdn.popcorntime.io/build/Popcorn-Time-${PV}-Linux64.tar.xz )" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" -RESTRICT="splitdebug strip" - -DEPEND="" -RDEPEND="dev-libs/nss - gnome-base/gconf - media-fonts/corefonts - media-libs/alsa-lib - net-libs/nodejs - x11-libs/gtk+:2" - -S="${WORKDIR}" - -src_install() { - exeinto /opt/${PN} - doexe Popcorn-Time libffmpegsumo.so nw.pak - - dosym /usr/$(get_libdir)/libudev.so.1 /opt/${PN}/libudev.so.0 - make_wrapper ${PN} ./Popcorn-Time /opt/${PN} /opt/${PN} /opt/bin - - insinto /usr/share/applications - doins "${FILESDIR}"/${PN}.desktop - - insinto /usr/share/pixmaps - doins "${FILESDIR}"/${PN}.png -} - -pkg_postinst() { - fdo-mime_desktop_database_update -} - -pkg_postrm() { - fdo-mime_desktop_database_update -} diff --git a/xfce-base/thunar/Manifest b/xfce-base/thunar/Manifest deleted file mode 100644 index 16ee35b3..00000000 --- a/xfce-base/thunar/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST Thunar-1.6.2.tar.bz2 1953026 SHA256 7dbd172ae396e7a2533f47dc1ff703a9ea1a61af3edfdc6f4877b9b9331abd85 SHA512 307496dcd67c46f5dbef10305c25ba4ae0a23525932f660dbeb7508dff32601173deae72fa0f2884b11677fb8dcea2473a1c7647203e74154a0d85c30e2061aa WHIRLPOOL f07d1a0079e687a6168a0897542ec9922e5adf455e0e27e4aff9f3a72ae13480b5c25592611d2e67bca9222c86b44b7a3c6a43f652a4bbdd6e29cd7b00f75fde diff --git a/xfce-base/thunar/thunar-1.6.2.ebuild b/xfce-base/thunar/thunar-1.6.2.ebuild deleted file mode 100644 index ceea193b..00000000 --- a/xfce-base/thunar/thunar-1.6.2.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 -inherit virtualx xfconf - -MY_P=${P/t/T} - -DESCRIPTION="File manager for the Xfce desktop environment" -HOMEPAGE="http://www.xfce.org/projects/ http://thunar.xfce.org/" -SRC_URI="mirror://xfce/src/xfce/${PN}/${PV%.*}/${MY_P}.tar.bz2" - -LICENSE="GPL-2 LGPL-2" -SLOT="0" -KEYWORDS="alpha amd64 arm ~arm64 ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~x86-solaris" -IUSE="+dbus debug exif libnotify pcre startup-notification test udisks +xfce_plugins_trash" - -GVFS_DEPEND=">=gnome-base/gvfs-1.18.3" -COMMON_DEPEND=">=dev-lang/perl-5.6 - >=dev-libs/glib-2.30 - >=x11-libs/gdk-pixbuf-2.14 - >=x11-libs/gtk+-2.24:2 - >=xfce-base/exo-0.10 - >=xfce-base/libxfce4ui-4.10 - >=xfce-base/libxfce4util-4.10.1 - >=xfce-base/xfconf-4.10 - dbus? ( >=dev-libs/dbus-glib-0.100 ) - exif? ( >=media-libs/libexif-0.6.19 ) - libnotify? ( >=x11-libs/libnotify-0.7 ) - pcre? ( >=dev-libs/libpcre-6 ) - startup-notification? ( x11-libs/startup-notification ) - udisks? ( virtual/libgudev:= ) - xfce_plugins_trash? ( >=xfce-base/xfce4-panel-4.10 )" -RDEPEND="${COMMON_DEPEND} - >=dev-util/desktop-file-utils-0.20-r1 - x11-misc/shared-mime-info - dbus? ( ${GVFS_DEPEND} ) - udisks? ( - virtual/udev - ${GVFS_DEPEND}[udisks,udev] - ) - xfce_plugins_trash? ( ${GVFS_DEPEND} )" -DEPEND="${COMMON_DEPEND} - dev-util/intltool - sys-devel/gettext - virtual/pkgconfig" -REQUIRED_USE="xfce_plugins_trash? ( dbus )" - -S=${WORKDIR}/${MY_P} - -pkg_setup() { - XFCONF=( - --docdir="${EPREFIX}"/usr/share/doc/${PF} - $(use_enable dbus) - $(use_enable startup-notification) - $(use_enable udisks gudev) - $(use_enable libnotify notifications) - $(xfconf_use_debug) - $(use_enable exif) - $(use_enable pcre) - --with-html-dir="${EPREFIX}"/usr/share/doc/${PF}/html - ) - - use xfce_plugins_trash || XFCONF+=( --disable-tpa-plugin ) - - DOCS=( AUTHORS ChangeLog FAQ HACKING NEWS README THANKS TODO ) -} - -src_test() { - Xemake check -} diff --git a/xfce-extra/thunar-dropbox/Manifest b/xfce-extra/thunar-dropbox/Manifest deleted file mode 100644 index 6cfd1bb6..00000000 --- a/xfce-extra/thunar-dropbox/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST thunar-dropbox-0.2.0.tar.bz2 109292 SHA256 1f3419bb50906874d6db1dfcfd002bc9d1edb91e7641de6826ac9f2ed9196700 SHA512 774f78f2afdd983f5cb81ee8cc425579b186d2ede81f26b94a6974e6f66d0c9831c6a9f8aeed3cc7b1e2587a4cb490786c1426bc90dfeeacfead693778d47a6e WHIRLPOOL 277f89c356ef8d0b52a12a47676d2cc36a3f3ecc61eee54ac505a06194d379142ab81c6e39cbc325918ae7c2fa11a9cf01d5064cdffb5f27200b172c34392b38 diff --git a/xfce-extra/thunar-dropbox/files/thunar-dropbox-0.2.0-wscript.patch b/xfce-extra/thunar-dropbox/files/thunar-dropbox-0.2.0-wscript.patch deleted file mode 100644 index cb434205..00000000 --- a/xfce-extra/thunar-dropbox/files/thunar-dropbox-0.2.0-wscript.patch +++ /dev/null @@ -1,36 +0,0 @@ -thunar-dropbox-0.2.0 -Disable gtk-update-icon-cache, install library with proper permissions, -respect --libdir. -slawomir.nizio at sabayon.org ---- wscript -+++ wscript -@@ -13,11 +13,13 @@ - def set_options(opt): - opt.tool_options('compiler_cc') - opt.tool_options('gnu_dirs') -+ opt.add_option('--libdir', action='store', default="/usr/lib", help="libdir") - - def configure(conf): - conf.check_tool('compiler_cc') - conf.check_cfg(package='thunarx-2', uselib_store='THUNARX', mandatory=True, args='--cflags --libs') - conf.check_cfg(package='gio-2.0', uselib_store='GIO', mandatory=True, args='--cflags --libs') -+ conf.env.LIBDIR = Options.options.libdir - - def build(bld): - prog = bld.new_task_gen('cc', 'cshlib') -@@ -27,14 +29,4 @@ - prog.includes = 'src' - prog.find_sources_in_dirs('src') - bld.install_files('${PREFIX}/share/icons/hicolor/16x16/apps', 'data/icons/hicolor/16x16/apps/thunar-dropbox.png') -- bld.install_as('${PREFIX}/lib/thunarx-2/thunar-dropbox.so', 'libthunar-dropbox.so') -- --def shutdown(): -- if Options.commands['install'] or Options.commands['uninstall']: -- dir = '%s/share/icons/hicolor' % Build.bld.env['PREFIX'] -- command = 'gtk-update-icon-cache -q -t -f %s 2> /dev/null' % dir -- try: -- if Utils.exec_command(command): -- Utils.pprint('YELLOW', 'Icon cache not updated.') -- except: -- pass -+ bld.install_as(bld.env.LIBDIR + '/thunarx-2/thunar-dropbox.so', 'libthunar-dropbox.so', chmod=0755) diff --git a/xfce-extra/thunar-dropbox/thunar-dropbox-0.2.0.ebuild b/xfce-extra/thunar-dropbox/thunar-dropbox-0.2.0.ebuild deleted file mode 100644 index 3f148481..00000000 --- a/xfce-extra/thunar-dropbox/thunar-dropbox-0.2.0.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 -inherit eutils gnome2-utils - -DESCRIPTION="Plugin for Thunar that adds context-menu items for Dropbox" -HOMEPAGE="http://www.softwarebakery.com/maato/thunar-dropbox.html" -SRC_URI="http://www.softwarebakery.com/maato/files/${PN}/${P}.tar.bz2" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="" - -COMMON_DEPEND="dev-libs/glib:2 - xfce-base/thunar -" -DEPEND="${COMMON_DEPEND} - virtual/pkgconfig -" -RDEPEND="${COMMON_DEPEND} - net-misc/dropbox -" - -src_prepare() { - epatch "${FILESDIR}/${P}-wscript.patch" -} - -src_configure() { - python2 waf configure --prefix=/usr -} - -src_compile() { - python2 waf build -} - -src_install() { - python2 waf install --destdir="${D}" -} - -pkg_preinst() { - gnome2_icon_savelist -} - -pkg_postinst() { - gnome2_icon_cache_update /usr/share/icons/hicolor - gtk-update-icon-cache -} - -pkg_postrm() { - gnome2_icon_cache_update /usr/share/icons/hicolor - gtk-update-icon-cache -} |