summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabriel Souza Franco2018-04-08 17:19:36 +0200
committerGabriel Souza Franco2018-04-08 17:19:36 +0200
commit3e6b68c0a1422860ec47160ff5c6b46ff8322a97 (patch)
tree22b90e94726ee0e8b5dcbeb965a468af6933b0d3
parentbdfb447d836faf0c8de707a5c19bcb8f20b5b299 (diff)
downloadaur-3e6b68c0a1422860ec47160ff5c6b46ff8322a97.tar.gz
Update to version 0.17
-rw-r--r--.SRCINFO33
-rw-r--r--.gitignore2
-rw-r--r--PKGBUILD113
-rw-r--r--PKGBUILD.0.1793
-rw-r--r--remove-qtwebkit.patch24
-rw-r--r--remove-webgui.patch124
6 files changed, 85 insertions, 304 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7cc3eeb6538..ae8a035a579 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,7 @@
-# Generated by mksrcinfo v8
-# Thu Mar 22 09:24:25 UTC 2018
pkgbase = freecad
pkgdesc = A general purpose 3D CAD modeler
- pkgver = 0.16.6712
- pkgrel = 4
+ pkgver = 0.17
+ pkgrel = 1
url = http://www.freecadweb.org/
arch = x86_64
license = LGPL
@@ -15,32 +13,37 @@ pkgbase = freecad
makedepends = desktop-file-utils
makedepends = cmake
makedepends = coin>=3.1.3-9
+ makedepends = python2-pyside
depends = boost-libs
depends = curl
- depends = opencascade>=6.6.0
- depends = python2-pivy
+ depends = opencascade>=7.2
depends = xerces-c
depends = libspnav
+ depends = glu
depends = shared-mime-info
depends = hicolor-icon-theme
+ depends = jsoncpp
+ depends = med
+ depends = qt4
+ depends = netcdf
+ depends = python2-pivy
+ depends = python2-pyside
depends = python2-matplotlib
depends = python2-shiboken
depends = python2-pyside-tools
depends = pyside-tools-common
- depends = qt4
optdepends = python2-matplotlib
optdepends = python2-pyqt4
- optdepends = graphviz: Dependency graph feature
- source = freecad-0.16.6712.tar.gz::https://github.com/FreeCAD/FreeCAD/archive/0.16.6712.tar.gz
+ optdepends = graphviz
+ optdepends = openscad
+ source = freecad-0.17.tar.gz::https://github.com/FreeCAD/FreeCAD/archive/0.17.tar.gz
source = freecad.desktop
source = freecad.xml
source = remove-qtwebkit.patch
- source = remove-webgui.patch
- md5sums = 40ea50aa495c0dfc2b247dc6a32aec2a
- md5sums = b7bd72a67073c2869da263d8df61f205
- md5sums = c2f4154c8e4678825411de8e7fa54c6b
- md5sums = 19e9cd7d41a1ddd557cef05a6b23bdee
- md5sums = 6b5f9253c559c7aacaa277b2973fbaf3
+ sha256sums = ae017393476b6dc7f1192bcaf91ceedc2f9b791f2495307ce7c45efadb5266fb
+ sha256sums = 617968d7bbd1da71bdedaed1b66c5d6eaf24e0fb34678b93f5d925d370c66296
+ sha256sums = 248918de7d3c2145b5cc4fbbc9e224d22f4a6ca7ead2680e8c3a32e91772482a
+ sha256sums = de214a281d421d44b02b469ecf72e36c4d61f10c40431e511e09734aca316baf
pkgname = freecad
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..e06614aafa0
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+freecad-*.tar.gz
+*.pkg.*
diff --git a/PKGBUILD b/PKGBUILD
index b16ce06e380..2162c6affa2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,5 +1,5 @@
-# Maintainer: Florian Pritz <bluewind@xinu.at>
-# Contributor: Jonas Heinrich <onny@project-insanity.org>
+# Maintainer: Gabriel Souza Franco <Z2FicmllbGZyYW5jb3NvdXphQGdtYWlsLmNvbQ==>
+# Contributor: Florian Pritz <bluewind@xinu.at>
# Contributor: Jonas Heinrich <onny@project-insanity.org>
# Contributor: Jordi De Groof <jordi (dot) degroof (at) gmail (dot) com>
# Contributor: mickele
@@ -8,82 +8,71 @@
# Contributor: gborzi
pkgname=freecad
-pkgver=0.16.6712
-pkgrel=4
+pkgver=0.17
+pkgrel=1
pkgdesc='A general purpose 3D CAD modeler'
arch=('x86_64')
url='http://www.freecadweb.org/'
license=('LGPL')
-depends=('boost-libs' 'curl' 'opencascade>=6.6.0' 'python2-pivy' 'xerces-c'
- 'libspnav' 'shared-mime-info' 'hicolor-icon-theme'
- 'python2-matplotlib' 'python2-shiboken' 'python2-pyside-tools' 'pyside-tools-common' 'qt4')
-makedepends=('boost' 'eigen' 'gcc-fortran' 'swig' 'xerces-c' 'desktop-file-utils' 'cmake' 'coin>=3.1.3-9')
-# TODO add reasons
-optdepends=('python2-matplotlib' 'python2-pyqt4'
-"graphviz: Dependency graph feature")
+depends=('boost-libs' 'curl' 'opencascade>=7.2' 'xerces-c' 'libspnav' 'glu'
+ 'shared-mime-info' 'hicolor-icon-theme' 'jsoncpp' 'med' 'qt4' 'netcdf'
+ 'python2-pivy' 'python2-pyside' 'python2-matplotlib' 'python2-shiboken'
+ 'python2-pyside-tools' 'pyside-tools-common')
+makedepends=('boost' 'eigen' 'gcc-fortran' 'swig' 'xerces-c'
+ 'desktop-file-utils' 'cmake' 'coin>=3.1.3-9' 'python2-pyside')
+optdepends=('python2-matplotlib' 'python2-pyqt4' 'graphviz' 'openscad')
source=("$pkgname-$pkgver.tar.gz::https://github.com/FreeCAD/FreeCAD/archive/$pkgver.tar.gz"
- "${pkgname}.desktop"
- "${pkgname}.xml"
- "remove-qtwebkit.patch"
- "remove-webgui.patch")
-md5sums=('40ea50aa495c0dfc2b247dc6a32aec2a'
- 'b7bd72a67073c2869da263d8df61f205'
- 'c2f4154c8e4678825411de8e7fa54c6b'
- '19e9cd7d41a1ddd557cef05a6b23bdee'
- '6b5f9253c559c7aacaa277b2973fbaf3')
+ "${pkgname}.desktop" "${pkgname}.xml"
+ 'remove-qtwebkit.patch')
+sha256sums=('ae017393476b6dc7f1192bcaf91ceedc2f9b791f2495307ce7c45efadb5266fb'
+ '617968d7bbd1da71bdedaed1b66c5d6eaf24e0fb34678b93f5d925d370c66296'
+ '248918de7d3c2145b5cc4fbbc9e224d22f4a6ca7ead2680e8c3a32e91772482a'
+ 'de214a281d421d44b02b469ecf72e36c4d61f10c40431e511e09734aca316baf')
prepare() {
- cd "${srcdir}/FreeCAD-${pkgver}/"
-
- # Remove QtWebkit dependency
- patch -Np1 -i ../remove-qtwebkit.patch
-
- # Remove features depending on Web module
- patch -Np1 -i ../remove-webgui.patch
+ cd "${srcdir}/FreeCAD-${pkgver}"
- # http://www.freecadweb.org/tracker/view.php?id=2347
- sed -i 's/boost::re_detail/boost::BOOST_REGEX_DETAIL_NS/' \
- src/Mod/Drawing/App/FeaturePage.cpp
+ patch -Np1 -i ../remove-qtwebkit.patch
}
build() {
- cd "${srcdir}/FreeCAD-${pkgver}/"
- cmake \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX:PATH="/usr/lib/freecad" \
- -DCMAKE_INSTALL_DOCDIR:PATH="/usr/share/freecad/doc" \
- -DCMAKE_INSTALL_DATADIR:PATH="/usr/share/freecad" \
- -DOCC_INCLUDE_DIR:PATH=/opt/opencascade/inc/ \
- -DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/python2 \
- -DFREECAD_USE_EXTERNAL_PIVY:BOOL=ON \
- -DBUILD_START=OFF \
- -DBUILD_WEB=OFF
- make
+ cd "${srcdir}/FreeCAD-${pkgver}"
+ cmake \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX="/usr/lib/freecad" \
+ -DCMAKE_INSTALL_DOCDIR="/usr/share/freecad/doc" \
+ -DCMAKE_INSTALL_DATADIR="/usr/share/freecad" \
+ -DFREECAD_USE_OCC_VARIANT="Official Version" \
+ -DFREECAD_USE_EXTERNAL_PIVY=ON \
+ -DPYTHON_EXECUTABLE=/usr/bin/python2 \
+ -DBUILD_START=OFF \
+ -DBUILD_WEB=OFF
+ make
}
package() {
- cd "${srcdir}/FreeCAD-${pkgver}"
+ cd "${srcdir}/FreeCAD-${pkgver}"
- make DESTDIR="${pkgdir}" install
+ make DESTDIR="${pkgdir}" install
- # Symlink to /usr/bin
- install -dm755 "$pkgdir/usr/bin"
- ln -srf "$pkgdir/usr/lib/freecad/bin/FreeCAD" "${pkgdir}/usr/bin/freecad"
- ln -srf "$pkgdir/usr/lib/freecad/bin/FreeCAD" "${pkgdir}/usr/bin/FreeCAD"
- ln -srf "$pkgdir/usr/lib/freecad/bin/FreeCADCmd" "${pkgdir}/usr/bin/freecadcmd"
- ln -srf "$pkgdir/usr/lib/freecad/bin/FreeCADCmd" "${pkgdir}/usr/bin/FreeCADCmd"
+ # Symlink to /usr/bin
+ install -dm755 "${pkgdir}/usr/bin"
+ ln -srf "${pkgdir}/usr/lib/freecad/bin/FreeCAD" "${pkgdir}/usr/bin/freecad"
+ ln -srf "${pkgdir}/usr/lib/freecad/bin/FreeCAD" "${pkgdir}/usr/bin/FreeCAD"
+ ln -srf "${pkgdir}/usr/lib/freecad/bin/FreeCADCmd" "${pkgdir}/usr/bin/freecadcmd"
+ ln -srf "${pkgdir}/usr/lib/freecad/bin/FreeCADCmd" "${pkgdir}/usr/bin/FreeCADCmd"
- # Install pixmaps and desktop shortcut
- desktop-file-install \
- --dir="${pkgdir}/usr/share/applications" \
- "${srcdir}/${pkgname}.desktop"
- for i in 16 32 48 64; do
- install -Dm644 "src/Gui/Icons/freecad-icon-${i}.png" \
- "$pkgdir/usr/share/icons/hicolor/${i}x${i}/apps/freecad.png"
- done
- install -Dm644 "src/Gui/Icons/freecad.svg" \
- "$pkgdir/usr/share/icons/hicolor/scalable/apps/freecad.svg"
+ # Install pixmaps and desktop shortcut
+ desktop-file-install \
+ --dir="${pkgdir}/usr/share/applications" \
+ "${srcdir}/${pkgname}.desktop"
+ for i in 16 32 48 64; do
+ install -Dm644 "src/Gui/Icons/freecad-icon-${i}.png" \
+ "${pkgdir}/usr/share/icons/hicolor/${i}x${i}/apps/freecad.png"
+ done
+ install -Dm644 "src/Gui/Icons/freecad.svg" \
+ "${pkgdir}/usr/share/icons/hicolor/scalable/apps/freecad.svg"
- # Mime info
- install -D -m644 "${srcdir}/${pkgname}.xml" "${pkgdir}/usr/share/mime/packages/${pkgname}.xml"
+ # Mime info
+ install -D -m644 "${srcdir}/freecad.xml" "${pkgdir}/usr/share/mime/packages/freecad.xml"
}
diff --git a/PKGBUILD.0.17 b/PKGBUILD.0.17
deleted file mode 100644
index aa068a8047b..00000000000
--- a/PKGBUILD.0.17
+++ /dev/null
@@ -1,93 +0,0 @@
-# Maintainer: Florian Pritz <bluewind@xinu.at>
-# Contributor: Jonas Heinrich <onny@project-insanity.org>
-# Contributor: Jonas Heinrich <onny@project-insanity.org>
-# Contributor: Jordi De Groof <jordi (dot) degroof (at) gmail (dot) com>
-# Contributor: mickele
-# Contributor: manwithgrenade
-# Contributor: bricem13
-# Contributor: gborzi
-
-pkgname=freecad
-pkgver=0.17_test1
-_pkgver=master
-pkgrel=1
-pkgdesc='A general purpose 3D CAD modeler'
-arch=('x86_64')
-url='http://www.freecadweb.org/'
-license=('LGPL')
-depends=('boost-libs' 'curl' 'opencascade>=6.6.0' 'python2-pivy' 'xerces-c'
- 'libspnav' 'shared-mime-info' 'hicolor-icon-theme'
- 'python2-matplotlib' 'python2-shiboken' 'python2-pyside-tools' 'pyside-tools-common' 'qt5-webkit' 'qt5-tools' 'vtk' 'hdf5' 'med-fichier' 'netcdf')
-makedepends=('boost' 'eigen' 'swig' 'xerces-c' 'desktop-file-utils' 'cmake' 'coin>=3.1.3-9' 'doxygen' 'graphviz')
-# TODO add reasons
-optdepends=('python2-matplotlib' 'python2-pyqt4'
-"graphviz: Dependency graph feature")
-source=("$pkgname-$_pkgver.tar.gz::https://github.com/FreeCAD/FreeCAD/archive/$_pkgver.tar.gz"
- "${pkgname}.desktop"
- "${pkgname}.xml"
- "remove-qtwebkit.patch"
- "remove-webgui.patch")
-md5sums=('03f9d1b80681ed4b1fd74308dff06ddb'
- 'b7bd72a67073c2869da263d8df61f205'
- 'c2f4154c8e4678825411de8e7fa54c6b'
- '19e9cd7d41a1ddd557cef05a6b23bdee'
- '6b5f9253c559c7aacaa277b2973fbaf3')
-
-prepare() {
- cd "${srcdir}/FreeCAD-${_pkgver}/"
-
- # Remove QtWebkit dependency
- #patch -Np1 -i ../remove-qtwebkit.patch
-
- # Remove features depending on Web module
- #patch -Np1 -i ../remove-webgui.patch
-
- # http://www.freecadweb.org/tracker/view.php?id=2347
- #sed -i 's/boost::re_detail/boost::BOOST_REGEX_DETAIL_NS/' \
- #src/Mod/Drawing/App/FeaturePage.cpp
-}
-
-build() {
- cd "${srcdir}/FreeCAD-${_pkgver}/"
- cmake \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX:PATH="/usr/lib/freecad" \
- -DCMAKE_INSTALL_DOCDIR:PATH="/usr/share/freecad/doc" \
- -DCMAKE_INSTALL_DATADIR:PATH="/usr/share/freecad" \
- -DOCC_INCLUDE_DIR:PATH=/opt/opencascade/inc/ \
- -DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/python2 \
- -DFREECAD_USE_EXTERNAL_PIVY:BOOL=ON \
- -DPYSIDEUIC4BINARY="/usr/bin/python2-pyside-uic" \
- -DBUILD_QT5:BOOL=ON \
- -DBUILD_QT5_WEBKIT:BOOL=OFF \
- -DQT_QMAKE_EXECUTABLE:FILEPATH=/usr/bin/qmake-qt5 \
- -DBUILD_WEB:BOOL=OFF
- make
-}
-
-package() {
- cd "${srcdir}/FreeCAD-${_pkgver}"
-
- make DESTDIR="${pkgdir}" install
-
- # Symlink to /usr/bin
- install -dm755 "$pkgdir/usr/bin"
- ln -srf "$pkgdir/usr/lib/freecad/bin/FreeCAD" "${pkgdir}/usr/bin/freecad"
- ln -srf "$pkgdir/usr/lib/freecad/bin/FreeCAD" "${pkgdir}/usr/bin/FreeCAD"
- ln -srf "$pkgdir/usr/lib/freecad/bin/FreeCADCmd" "${pkgdir}/usr/bin/freecadcmd"
- ln -srf "$pkgdir/usr/lib/freecad/bin/FreeCADCmd" "${pkgdir}/usr/bin/FreeCADCmd"
-
- # Install pixmaps and desktop shortcut
- desktop-file-install \
- --dir="${pkgdir}/usr/share/applications" \
- "${srcdir}/${pkgname}.desktop"
- for i in 16 32 48 64; do
- install -Dm644 "src/Gui/Icons/freecad-icon-${i}.png" \
- "$pkgdir/usr/share/icons/hicolor/${i}x${i}/apps/freecad.png"
- done
- install -Dm644 "src/Gui/Icons/freecad.svg" \
- "$pkgdir/usr/share/icons/hicolor/scalable/apps/freecad.svg"
-
- # Mime info
- install -D -m644 "${srcdir}/${pkgname}.xml" "${pkgdir}/usr/share/mime/packages/${pkgname}.xml"
-}
diff --git a/remove-qtwebkit.patch b/remove-qtwebkit.patch
index f5c8423df19..555c3806132 100644
--- a/remove-qtwebkit.patch
+++ b/remove-qtwebkit.patch
@@ -1,23 +1,27 @@
-diff -Naur FreeCAD-0.16.orig/src/Gui/DownloadManager.cpp FreeCAD-0.16/src/Gui/DownloadManager.cpp
---- FreeCAD-0.16.orig/src/Gui/DownloadManager.cpp 2016-04-07 03:39:34.000000000 +0200
-+++ FreeCAD-0.16/src/Gui/DownloadManager.cpp 2017-02-07 17:05:51.753657498 +0100
-@@ -33,7 +33,6 @@
+diff --git a/src/Gui/DownloadManager.cpp b/src/Gui/DownloadManager.cpp
+index 98b767d34..31defb46d 100644
+--- a/src/Gui/DownloadManager.cpp
++++ b/src/Gui/DownloadManager.cpp
+@@ -33,9 +33,6 @@
#include <QMetaEnum>
#include <QSettings>
#include <QFileIconProvider>
+-#if QT_VERSION < 0x050000
-#include <QWebSettings>
-
- #include "DownloadItem.h"
- #include "DownloadManager.h"
-@@ -224,11 +223,6 @@
+-#endif
+ #if QT_VERSION >= 0x050000
+ #include <QUrlQuery>
+ #endif
+@@ -217,12 +214,6 @@ void DownloadManager::updateRow()
ui->downloadsView->setRowHeight(row, item->minimumSizeHint().height());
bool remove = false;
+-#if QT_VERSION < 0x050000
- QWebSettings *globalSettings = QWebSettings::globalSettings();
- if (!item->downloading()
- && globalSettings->testAttribute(QWebSettings::PrivateBrowsingEnabled))
- remove = true;
--
+-#endif
+
if (item->downloadedSuccessfully()
&& removePolicy() == DownloadManager::SuccessFullDownload) {
- remove = true;
diff --git a/remove-webgui.patch b/remove-webgui.patch
deleted file mode 100644
index 202ac4535e0..00000000000
--- a/remove-webgui.patch
+++ /dev/null
@@ -1,124 +0,0 @@
-diff -Naur FreeCAD-0.16.orig/src/Mod/Arch/ArchServer.py FreeCAD-0.16/src/Mod/Arch/ArchServer.py
---- FreeCAD-0.16.orig/src/Mod/Arch/ArchServer.py 2016-04-07 03:39:34.000000000 +0200
-+++ FreeCAD-0.16/src/Mod/Arch/ArchServer.py 2017-02-07 18:55:34.918643280 +0100
-@@ -36,20 +36,6 @@
- __url__ = "http://www.freecadweb.org"
-
-
--class _CommandBimserver:
-- "the Arch Bimserver command definition"
-- def GetResources(self):
-- return {'Pixmap' : 'Arch_Bimserver',
-- 'MenuText': QtCore.QT_TRANSLATE_NOOP("Arch_Bimserver","BIM server"),
-- 'ToolTip': QtCore.QT_TRANSLATE_NOOP("Arch_Bimserver","Opens a browser window and connects to a BIM server instance")}
--
-- def Activated(self):
-- p = FreeCAD.ParamGet("User parameter:BaseApp/Preferences/Mod/Arch")
-- url = p.GetString("BimServerUrl","http://localhost:8082")
-- FreeCADGui.addModule("WebGui")
-- FreeCADGui.doCommand("WebGui.openBrowser(\""+url+"\")")
--
--
- class _CommandGit:
- "the Arch Git Commit command definition"
- def GetResources(self):
-@@ -161,5 +147,4 @@
-
-
- if FreeCAD.GuiUp:
-- FreeCADGui.addCommand('Arch_Bimserver',_CommandBimserver())
- FreeCADGui.addCommand('Arch_Git',_CommandGit())
-diff -Naur FreeCAD-0.16.orig/src/Mod/Arch/InitGui.py FreeCAD-0.16/src/Mod/Arch/InitGui.py
---- FreeCAD-0.16.orig/src/Mod/Arch/InitGui.py 2016-04-07 03:39:34.000000000 +0200
-+++ FreeCAD-0.16/src/Mod/Arch/InitGui.py 2017-02-07 18:54:19.949158114 +0100
-@@ -44,7 +44,7 @@
- "Arch_SelectNonSolidMeshes","Arch_RemoveShape",
- "Arch_CloseHoles","Arch_MergeWalls","Arch_Check",
- "Arch_IfcExplorer","Arch_ToggleIfcBrepFlag","Arch_3Views",
-- "Arch_Bimserver","Arch_Git","Arch_IfcSpreadsheet"]
-+ "Arch_Git","Arch_IfcSpreadsheet"]
-
- # draft tools
- self.drafttools = ["Draft_Line","Draft_Wire","Draft_Circle","Draft_Arc","Draft_Ellipse",
-diff -Naur FreeCAD-0.16.orig/src/Mod/Drawing/Gui/Command.cpp FreeCAD-0.16/src/Mod/Drawing/Gui/Command.cpp
---- FreeCAD-0.16.orig/src/Mod/Drawing/Gui/Command.cpp 2016-04-07 03:39:34.000000000 +0200
-+++ FreeCAD-0.16/src/Mod/Drawing/Gui/Command.cpp 2017-02-07 18:52:19.077843909 +0100
-@@ -427,43 +427,6 @@
-
-
- //===========================================================================
--// Drawing_OpenBrowserView
--//===========================================================================
--
--DEF_STD_CMD_A(CmdDrawingOpenBrowserView);
--
--CmdDrawingOpenBrowserView::CmdDrawingOpenBrowserView()
-- : Command("Drawing_OpenBrowserView")
--{
-- // seting the
-- sGroup = QT_TR_NOOP("Drawing");
-- sMenuText = QT_TR_NOOP("Open &browser view");
-- sToolTipText = QT_TR_NOOP("Opens the selected page in a browser view");
-- sWhatsThis = "Drawing_OpenBrowserView";
-- sStatusTip = QT_TR_NOOP("Opens the selected page in a browser view");
-- sPixmap = "actions/drawing-openbrowser";
--}
--
--void CmdDrawingOpenBrowserView::activated(int iMsg)
--{
-- unsigned int n = getSelection().countObjectsOfType(Drawing::FeaturePage::getClassTypeId());
-- if (n != 1) {
-- QMessageBox::warning(Gui::getMainWindow(), QObject::tr("Wrong selection"),
-- QObject::tr("Select one Page object."));
-- return;
-- }
-- std::vector<Gui::SelectionSingleton::SelObj> Sel = getSelection().getSelection();
-- doCommand(Doc,"PageName = App.activeDocument().%s.PageResult",Sel[0].FeatName);
-- doCommand(Doc,"import WebGui");
-- doCommand(Doc,"WebGui.openBrowser(PageName)");
--}
--
--bool CmdDrawingOpenBrowserView::isActive(void)
--{
-- return (getActiveGuiDocument() ? true : false);
--}
--
--//===========================================================================
- // Drawing_Annotation
- //===========================================================================
-
-@@ -786,7 +749,6 @@
- rcCmdMgr.addCommand(new CmdDrawingNewA3Landscape());
- rcCmdMgr.addCommand(new CmdDrawingNewView());
- rcCmdMgr.addCommand(new CmdDrawingOrthoViews());
-- rcCmdMgr.addCommand(new CmdDrawingOpenBrowserView());
- rcCmdMgr.addCommand(new CmdDrawingAnnotation());
- rcCmdMgr.addCommand(new CmdDrawingClip());
- rcCmdMgr.addCommand(new CmdDrawingSymbol());
-diff -Naur FreeCAD-0.16.orig/src/Mod/Drawing/Gui/Workbench.cpp FreeCAD-0.16/src/Mod/Drawing/Gui/Workbench.cpp
---- FreeCAD-0.16.orig/src/Mod/Drawing/Gui/Workbench.cpp 2016-04-07 03:39:34.000000000 +0200
-+++ FreeCAD-0.16/src/Mod/Drawing/Gui/Workbench.cpp 2017-02-07 19:10:18.512913826 +0100
-@@ -61,7 +61,6 @@
- *part << "Drawing_NewPage";
- *part << "Drawing_NewView";
- *part << "Drawing_OrthoViews";
-- *part << "Drawing_OpenBrowserView";
- *part << "Drawing_Annotation";
- *part << "Drawing_Clip";
- *part << "Drawing_Symbol";
-@@ -84,7 +83,6 @@
- *part << "Drawing_NewPage";
- *part << "Drawing_NewView";
- *part << "Drawing_OrthoViews";
-- *part << "Drawing_OpenBrowserView";
- *part << "Drawing_Annotation";
- *part << "Drawing_Clip";
- *part << "Drawing_Symbol";
-@@ -106,7 +104,6 @@
- //*img << "Drawing_NewA3Landscape";
- *img << "Drawing_NewPage";
- *img << "Drawing_OrthoViews";
-- *img << "Drawing_OpenBrowserView";
- *img << "Drawing_Annotation";
- *img << "Drawing_Clip";
- *img << "Drawing_DraftView";