Bug#717034: freecad: FTBFS against oce 0.12

2013-08-07 Thread peter green

Anton Gladky wrote:

Hi Peter!

Thanks a lot for that! I have tried yesterday to fix the problem,
but could not manage that.

You, probably, forgot to attach the patch. Could you, please, do it?
  

Done.

Thank you,

Anton

2013/8/6 peter green plugw...@p10link.net:
  

Tags 717034 +patch
Tags 718545 +patch
Thanks

Attatched is a patch that fixes the build failure by forcing the occ include
directory from debian/rules. The patch also contains a fix to the clean
target.

I have tested that the package builds succesfully with this patch, that the
resulting package can be installed and that freecad runs and successfully
displays the application window. I have not tested beyond that.

--
debian-science-maintainers mailing list
debian-science-maintain...@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers



  


diff -Nru freecad-0.13.1830-dfsg/debian/changelog 
freecad-0.13.1830-dfsg/debian/changelog
--- freecad-0.13.1830-dfsg/debian/changelog 2013-05-30 17:49:15.0 
+
+++ freecad-0.13.1830-dfsg/debian/changelog 2013-08-06 21:05:16.0 
+
@@ -1,3 +1,15 @@
+freecad (0.13.1830-dfsg-2.1) UNRELEASED; urgency=low
+
+  * Fix build failures with new oce by forcing occ include directory
+(Closes: 718545, 717034)
+  * Remove some stuff left behind by build process in clean target to prevent
+errors from dpkg-source when building multiple times in a row.
++ obj-*
++ src/Mod/Start/Gui/share
++ src/Mod/Drawing/App/share
+
+ -- Peter Michael Green plugw...@p10link.net  Mon, 05 Aug 2013 18:41:52 +
+
 freecad (0.13.1830-dfsg-2) unstable; urgency=low
 
   * [800a2d9] Compile freecad against libcoin80. (Closes: #617613)
diff -Nru freecad-0.13.1830-dfsg/debian/rules 
freecad-0.13.1830-dfsg/debian/rules
--- freecad-0.13.1830-dfsg/debian/rules 2013-05-02 21:07:15.0 +
+++ freecad-0.13.1830-dfsg/debian/rules 2013-08-06 21:01:39.0 +
@@ -16,7 +16,8 @@
 -DCMAKE_INSTALL_PREFIX=/usr \
 -DCMAKE_INSTALL_DATADIR=share/freecad \
 -DRESOURCEDIR=/usr/share/freecad \
--DCMAKE_INSTALL_INCLUDEDIR=include/freecad
+-DCMAKE_INSTALL_INCLUDEDIR=include/freecad \
+-DOCC_INCLUDE_DIR=/usr/include/oce
 #-DCMAKE_INSTALL_DOCDIR=share/doc/freecad \
 
 override_dh_auto_configure:
@@ -31,4 +32,5 @@
 
 override_dh_auto_clean:
find -name '*.pyc' | xargs rm -f
+   rm -rf obj-* src/Mod/Start/Gui/share src/Mod/Drawing/App/share
dh_clean


Bug#717034: freecad: FTBFS against oce 0.12

2013-08-06 Thread peter green

Tags 717034 +patch
Tags 718545 +patch
Thanks

Attatched is a patch that fixes the build failure by forcing the occ 
include directory from debian/rules. The patch also contains a fix to 
the clean target.


I have tested that the package builds succesfully with this patch, that 
the resulting package can be installed and that freecad runs and 
successfully displays the application window. I have not tested beyond that.



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#717034: freecad: FTBFS against oce 0.12

2013-08-06 Thread Anton Gladky
Hi Peter!

Thanks a lot for that! I have tried yesterday to fix the problem,
but could not manage that.

You, probably, forgot to attach the patch. Could you, please, do it?

Thank you,

Anton

2013/8/6 peter green plugw...@p10link.net:
 Tags 717034 +patch
 Tags 718545 +patch
 Thanks

 Attatched is a patch that fixes the build failure by forcing the occ include
 directory from debian/rules. The patch also contains a fix to the clean
 target.

 I have tested that the package builds succesfully with this patch, that the
 resulting package can be installed and that freecad runs and successfully
 displays the application window. I have not tested beyond that.

 --
 debian-science-maintainers mailing list
 debian-science-maintain...@lists.alioth.debian.org
 http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#717034: freecad: FTBFS against oce 0.12

2013-07-16 Thread Julien Cristau
Source: freecad
Version: 0.13.1830-dfsg-2
Severity: serious
Justification: fails to build from source (but built successfully in the past)

See the logs at
https://buildd.debian.org/status/logs.php?pkg=freecadver=0.13.1830-dfsg-2%2Bb1suite=sid

Cheers,
Julien


signature.asc
Description: Digital signature