Date: Friday, May 15, 2015 @ 14:38:10 Author: bluewind Revision: 133512
archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: freecad/repos/community-testing-i686/PKGBUILD (from rev 133511, freecad/trunk/PKGBUILD) freecad/repos/community-testing-i686/freecad.desktop (from rev 133511, freecad/trunk/freecad.desktop) freecad/repos/community-testing-i686/freecad.install (from rev 133511, freecad/trunk/freecad.install) freecad/repos/community-testing-i686/freecad.xml (from rev 133511, freecad/trunk/freecad.xml) freecad/repos/community-testing-x86_64/ freecad/repos/community-testing-x86_64/PKGBUILD (from rev 133511, freecad/trunk/PKGBUILD) freecad/repos/community-testing-x86_64/freecad.desktop (from rev 133511, freecad/trunk/freecad.desktop) freecad/repos/community-testing-x86_64/freecad.install (from rev 133511, freecad/trunk/freecad.install) freecad/repos/community-testing-x86_64/freecad.xml (from rev 133511, freecad/trunk/freecad.xml) Deleted: freecad/repos/community-testing-i686/PKGBUILD freecad/repos/community-testing-i686/freecad.desktop freecad/repos/community-testing-i686/freecad.install freecad/repos/community-testing-i686/freecad.xml ------------------------------------------+ /PKGBUILD | 74 +++++++++++++++++++++++++++++ /freecad.desktop | 14 +++++ /freecad.install | 15 +++++ community-testing-i686/PKGBUILD | 74 ----------------------------- community-testing-i686/freecad.desktop | 14 ----- community-testing-i686/freecad.install | 15 ----- community-testing-x86_64/PKGBUILD | 74 +++++++++++++++++++++++++++++ community-testing-x86_64/freecad.desktop | 14 +++++ community-testing-x86_64/freecad.install | 15 +++++ 9 files changed, 206 insertions(+), 103 deletions(-) Deleted: community-testing-i686/PKGBUILD =================================================================== --- community-testing-i686/PKGBUILD 2015-05-15 12:32:30 UTC (rev 133511) +++ community-testing-i686/PKGBUILD 2015-05-15 12:38:10 UTC (rev 133512) @@ -1,74 +0,0 @@ -# Maintainer: Florian Pritz <bluew...@xinu.at> -# Contributor: Jonas Heinrich <o...@project-insanity.org> -# Contributor: Jonas Heinrich <o...@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.15.4671 -pkgrel=3 -pkgdesc='A general purpose 3D CAD modeler' -arch=('i686' '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' 'qtwebkit') -makedepends=('boost' 'eigen' 'gcc-fortran' 'swig' 'xerces-c' 'desktop-file-utils' 'cmake' 'coin>=3.1.3-9') -# TODO add reasons -optdepends=('python2-matplotlib' 'pycollada-git' 'python2-pyqt4') -install=freecad.install -source=("http://downloads.sourceforge.net/sourceforge/free-cad/freecad_${pkgver}.tar.gz" - "${pkgname}.desktop" - "${pkgname}.xml") -md5sums=('7afa95d3e8cd845bef83202e76db7f24' - '382cd66757dae635b53105d207679fce' - 'c2f4154c8e4678825411de8e7fa54c6b') - -prepare() { - sed -i \ - -e "46i\\\tModDir = '/usr/share/freecad/Mod'" \ - -e "50i\\\tLibDir = '/usr/lib/freecad'" \ - "${srcdir}/freecad-${pkgver}/src/App/FreeCADInit.py" - - sed -i \ - -e 's|\bpyside-uic\b|python2-pyside-uic|' \ - $srcdir/freecad-$pkgver/cMake/FindPySideTools.cmake -} - -build() { - cd "${srcdir}/freecad-${pkgver}/" - cmake \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_PREFIX:PATH="/usr" \ - -DCMAKE_INSTALL_DOCDIR:PATH="share/freecad/doc" \ - -DCMAKE_INSTALL_DATADIR:PATH="share/freecad" \ - -DCMAKE_INSTALL_LIBDIR:PATH="lib/freecad" \ - -DOCC_INCLUDE_DIR:PATH=/opt/opencascade/inc/ \ - -DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/python2 \ - -DFREECAD_USE_EXTERNAL_PIVY:BOOL=ON - make -} - -package() { - cd "${srcdir}/freecad-${pkgver}" - make DESTDIR="${pkgdir}" install - - # Symlink to /usr/bin - ln -sf "FreeCAD" "${pkgdir}/usr/bin/freecad" - ln -sf "FreeCADCmd" "${pkgdir}/usr/bin/freecadcmd" - - cp -ra "${pkgdir}/usr/Mod" "${pkgdir}/usr/share/freecad/" - rm -r "${pkgdir}/usr/Mod" - - # Install pixmaps and desktop shortcut - desktop-file-install \ - --dir="${pkgdir}/usr/share/applications" \ - "${srcdir}/${pkgname}.desktop" - - # Mime info - install -D -m644 "${srcdir}/${pkgname}.xml" "${pkgdir}/usr/share/mime/packages/${pkgname}.xml" -} Copied: freecad/repos/community-testing-i686/PKGBUILD (from rev 133511, freecad/trunk/PKGBUILD) =================================================================== --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2015-05-15 12:38:10 UTC (rev 133512) @@ -0,0 +1,74 @@ +# Maintainer: Florian Pritz <bluew...@xinu.at> +# Contributor: Jonas Heinrich <o...@project-insanity.org> +# Contributor: Jonas Heinrich <o...@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.15.4671 +pkgrel=3 +pkgdesc='A general purpose 3D CAD modeler' +arch=('i686' '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' 'qtwebkit') +makedepends=('boost' 'eigen' 'gcc-fortran' 'swig' 'xerces-c' 'desktop-file-utils' 'cmake' 'coin>=3.1.3-9') +# TODO add reasons +optdepends=('python2-matplotlib' 'pycollada-git' 'python2-pyqt4') +install=freecad.install +source=("http://downloads.sourceforge.net/sourceforge/free-cad/freecad_${pkgver}.tar.gz" + "${pkgname}.desktop" + "${pkgname}.xml") +md5sums=('7afa95d3e8cd845bef83202e76db7f24' + '382cd66757dae635b53105d207679fce' + 'c2f4154c8e4678825411de8e7fa54c6b') + +prepare() { + sed -i \ + -e "46i\\\tModDir = '/usr/share/freecad/Mod'" \ + -e "50i\\\tLibDir = '/usr/lib/freecad'" \ + "${srcdir}/freecad-${pkgver}/src/App/FreeCADInit.py" + + sed -i \ + -e 's|\bpyside-uic\b|python2-pyside-uic|' \ + $srcdir/freecad-$pkgver/cMake/FindPySideTools.cmake +} + +build() { + cd "${srcdir}/freecad-${pkgver}/" + cmake \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX:PATH="/usr" \ + -DCMAKE_INSTALL_DOCDIR:PATH="share/freecad/doc" \ + -DCMAKE_INSTALL_DATADIR:PATH="share/freecad" \ + -DCMAKE_INSTALL_LIBDIR:PATH="lib/freecad" \ + -DOCC_INCLUDE_DIR:PATH=/opt/opencascade/inc/ \ + -DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/python2 \ + -DFREECAD_USE_EXTERNAL_PIVY:BOOL=ON + make +} + +package() { + cd "${srcdir}/freecad-${pkgver}" + make DESTDIR="${pkgdir}" install + + # Symlink to /usr/bin + ln -sf "FreeCAD" "${pkgdir}/usr/bin/freecad" + ln -sf "FreeCADCmd" "${pkgdir}/usr/bin/freecadcmd" + + cp -ra "${pkgdir}/usr/Mod" "${pkgdir}/usr/share/freecad/" + rm -r "${pkgdir}/usr/Mod" + + # Install pixmaps and desktop shortcut + desktop-file-install \ + --dir="${pkgdir}/usr/share/applications" \ + "${srcdir}/${pkgname}.desktop" + + # Mime info + install -D -m644 "${srcdir}/${pkgname}.xml" "${pkgdir}/usr/share/mime/packages/${pkgname}.xml" +} Deleted: community-testing-i686/freecad.desktop =================================================================== --- community-testing-i686/freecad.desktop 2015-05-15 12:32:30 UTC (rev 133511) +++ community-testing-i686/freecad.desktop 2015-05-15 12:38:10 UTC (rev 133512) @@ -1,14 +0,0 @@ -[Desktop Entry] -Version=1.0 -Encoding=UTF-8 -Name=FreeCAD -Comment=A general purpose 3D CAD modeler -GenericName=CAD Application -Exec=/usr/bin/freecad %F -Path=/usr/share/freecad -Terminal=false -Type=Application -Icon=/usr/share/freecad/freecad.xpm -Categories=Application;Science;Math;Education; -StartupNotify=true -MimeType=application/x-extension-fcstd; Copied: freecad/repos/community-testing-i686/freecad.desktop (from rev 133511, freecad/trunk/freecad.desktop) =================================================================== --- community-testing-i686/freecad.desktop (rev 0) +++ community-testing-i686/freecad.desktop 2015-05-15 12:38:10 UTC (rev 133512) @@ -0,0 +1,14 @@ +[Desktop Entry] +Version=1.0 +Encoding=UTF-8 +Name=FreeCAD +Comment=A general purpose 3D CAD modeler +GenericName=CAD Application +Exec=/usr/bin/freecad %F +Path=/usr/share/freecad +Terminal=false +Type=Application +Icon=/usr/share/freecad/freecad.xpm +Categories=Application;Science;Math;Education; +StartupNotify=true +MimeType=application/x-extension-fcstd; Deleted: community-testing-i686/freecad.install =================================================================== --- community-testing-i686/freecad.install 2015-05-15 12:32:30 UTC (rev 133511) +++ community-testing-i686/freecad.install 2015-05-15 12:38:10 UTC (rev 133512) @@ -1,15 +0,0 @@ -post_install() { - xdg-icon-resource forceupdate --theme hicolor &> /dev/null - update-desktop-database -q - update-mime-database usr/share/mime -} - -post_upgrade() { - post_install -} - -post_remove() { - xdg-icon-resource forceupdate --theme hicolor &> /dev/null - update-desktop-database -q - update-mime-database usr/share/mime -} Copied: freecad/repos/community-testing-i686/freecad.install (from rev 133511, freecad/trunk/freecad.install) =================================================================== --- community-testing-i686/freecad.install (rev 0) +++ community-testing-i686/freecad.install 2015-05-15 12:38:10 UTC (rev 133512) @@ -0,0 +1,15 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null + update-desktop-database -q + update-mime-database usr/share/mime +} + +post_upgrade() { + post_install +} + +post_remove() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null + update-desktop-database -q + update-mime-database usr/share/mime +} Deleted: community-testing-i686/freecad.xml =================================================================== (Binary files differ) Copied: freecad/repos/community-testing-i686/freecad.xml (from rev 133511, freecad/trunk/freecad.xml) =================================================================== (Binary files differ) Copied: freecad/repos/community-testing-x86_64/PKGBUILD (from rev 133511, freecad/trunk/PKGBUILD) =================================================================== --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2015-05-15 12:38:10 UTC (rev 133512) @@ -0,0 +1,74 @@ +# Maintainer: Florian Pritz <bluew...@xinu.at> +# Contributor: Jonas Heinrich <o...@project-insanity.org> +# Contributor: Jonas Heinrich <o...@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.15.4671 +pkgrel=3 +pkgdesc='A general purpose 3D CAD modeler' +arch=('i686' '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' 'qtwebkit') +makedepends=('boost' 'eigen' 'gcc-fortran' 'swig' 'xerces-c' 'desktop-file-utils' 'cmake' 'coin>=3.1.3-9') +# TODO add reasons +optdepends=('python2-matplotlib' 'pycollada-git' 'python2-pyqt4') +install=freecad.install +source=("http://downloads.sourceforge.net/sourceforge/free-cad/freecad_${pkgver}.tar.gz" + "${pkgname}.desktop" + "${pkgname}.xml") +md5sums=('7afa95d3e8cd845bef83202e76db7f24' + '382cd66757dae635b53105d207679fce' + 'c2f4154c8e4678825411de8e7fa54c6b') + +prepare() { + sed -i \ + -e "46i\\\tModDir = '/usr/share/freecad/Mod'" \ + -e "50i\\\tLibDir = '/usr/lib/freecad'" \ + "${srcdir}/freecad-${pkgver}/src/App/FreeCADInit.py" + + sed -i \ + -e 's|\bpyside-uic\b|python2-pyside-uic|' \ + $srcdir/freecad-$pkgver/cMake/FindPySideTools.cmake +} + +build() { + cd "${srcdir}/freecad-${pkgver}/" + cmake \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX:PATH="/usr" \ + -DCMAKE_INSTALL_DOCDIR:PATH="share/freecad/doc" \ + -DCMAKE_INSTALL_DATADIR:PATH="share/freecad" \ + -DCMAKE_INSTALL_LIBDIR:PATH="lib/freecad" \ + -DOCC_INCLUDE_DIR:PATH=/opt/opencascade/inc/ \ + -DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/python2 \ + -DFREECAD_USE_EXTERNAL_PIVY:BOOL=ON + make +} + +package() { + cd "${srcdir}/freecad-${pkgver}" + make DESTDIR="${pkgdir}" install + + # Symlink to /usr/bin + ln -sf "FreeCAD" "${pkgdir}/usr/bin/freecad" + ln -sf "FreeCADCmd" "${pkgdir}/usr/bin/freecadcmd" + + cp -ra "${pkgdir}/usr/Mod" "${pkgdir}/usr/share/freecad/" + rm -r "${pkgdir}/usr/Mod" + + # Install pixmaps and desktop shortcut + desktop-file-install \ + --dir="${pkgdir}/usr/share/applications" \ + "${srcdir}/${pkgname}.desktop" + + # Mime info + install -D -m644 "${srcdir}/${pkgname}.xml" "${pkgdir}/usr/share/mime/packages/${pkgname}.xml" +} Copied: freecad/repos/community-testing-x86_64/freecad.desktop (from rev 133511, freecad/trunk/freecad.desktop) =================================================================== --- community-testing-x86_64/freecad.desktop (rev 0) +++ community-testing-x86_64/freecad.desktop 2015-05-15 12:38:10 UTC (rev 133512) @@ -0,0 +1,14 @@ +[Desktop Entry] +Version=1.0 +Encoding=UTF-8 +Name=FreeCAD +Comment=A general purpose 3D CAD modeler +GenericName=CAD Application +Exec=/usr/bin/freecad %F +Path=/usr/share/freecad +Terminal=false +Type=Application +Icon=/usr/share/freecad/freecad.xpm +Categories=Application;Science;Math;Education; +StartupNotify=true +MimeType=application/x-extension-fcstd; Copied: freecad/repos/community-testing-x86_64/freecad.install (from rev 133511, freecad/trunk/freecad.install) =================================================================== --- community-testing-x86_64/freecad.install (rev 0) +++ community-testing-x86_64/freecad.install 2015-05-15 12:38:10 UTC (rev 133512) @@ -0,0 +1,15 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null + update-desktop-database -q + update-mime-database usr/share/mime +} + +post_upgrade() { + post_install +} + +post_remove() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null + update-desktop-database -q + update-mime-database usr/share/mime +} Copied: freecad/repos/community-testing-x86_64/freecad.xml (from rev 133511, freecad/trunk/freecad.xml) =================================================================== (Binary files differ)