Bug 63926 - remove extra include paths in svtools/ and sfx2/
Summary: remove extra include paths in svtools/ and sfx2/
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: Other All
: medium normal
Assignee: Marcos Souza
URL:
Whiteboard: target:4.2.0
Keywords: difficultyBeginner, easyHack, skillCpp
Depends on:
Blocks:
 
Reported: 2013-04-25 15:12 UTC by Björn Michaelsen
Modified: 2015-12-15 16:49 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
remove extra include paths in svtools/ and sfx2/ (22.54 KB, patch)
2013-05-03 16:22 UTC, nileshgupta6
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Björn Michaelsen 2013-04-25 15:12:51 UTC
Various libraries in svtools/ and sfx2/ set include paths to subdirs of $(INCLUDE) like -I$(SRCDIR)/include/sfx2/.
Since $(SRCDIR)/include/ is already in the include paths, the headers are reachable from there already.
Removing the additional path and then fixing up the #include statements should improve build times possibly and make the location of the header more explicit.
Comment 1 nileshgupta6 2013-05-03 16:22:42 UTC
Created attachment 78814 [details]
remove extra include paths in svtools/ and sfx2/
Comment 2 Björn Michaelsen 2013-05-04 00:49:39 UTC
Comment on attachment 78814 [details]
remove extra include paths in svtools/ and sfx2/

This needs a bit of tweaking: the include statement should be removed completely, not replaced with a relative patch. Also there seem to be additional temporary file garbage in the dump?
Comment 3 Commit Notification 2013-08-05 10:26:57 UTC
Radu Ioan committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=1cbdcc31b8a921c508f2fdf09847f64d004a7faa

fdo#63926 - remove extra include paths in svtools/ and sfx2/



The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds
Affected users are encouraged to test the fix and report feedback.
Comment 4 Commit Notification 2013-08-06 09:21:56 UTC
Radu Ioan committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=389bdc162415abff78971b1ce7c5d47482e1d37b

fdo#63926 - remove extra include paths in svtools/ and sfx2/



The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds
Affected users are encouraged to test the fix and report feedback.
Comment 5 Commit Notification 2013-08-15 15:30:20 UTC
Michael Stahl committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=fa96ed925fc40e20aca58551414e5bc5d61a87bd

Revert "fdo#63926 - remove extra include paths in svtools/ and sfx2/"



The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds
Affected users are encouraged to test the fix and report feedback.
Comment 6 Commit Notification 2013-08-15 15:30:46 UTC
Michael Stahl committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=593a298dd3cf61781d0d069eaf2fa80a82eda502

Revert "fdo#63926 - remove extra include paths in svtools/ and sfx2/"



The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds
Affected users are encouraged to test the fix and report feedback.
Comment 7 Michael Stahl (allotropia) 2013-09-17 12:43:28 UTC
evidently the description is not clear, what needs to be done is to remove these lines:

-I$(SRCDIR)/include/svtools/

and

-I$(SRCDIR)/include/sfx2/

from svtools/Library_svt.mk sfx2/Library_sfx.mk sfx2/Library_qstart_gtk.mk
and then fix up the includes everywhere so it builds again.
Comment 8 Michael Stahl (allotropia) 2013-09-17 12:45:22 UTC
Comment on attachment 78814 [details]
remove extra include paths in svtools/ and sfx2/

sorry, this patch is also wrong...
Comment 9 Commit Notification 2013-09-17 18:58:14 UTC
Marcos Paulo de Souza committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=e95b076744da8911b2804501b418649a9147e3a9

fdo#63926: remove extra include paths in svtools/ and sfx2/



The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds
Affected users are encouraged to test the fix and report feedback.
Comment 10 Marcos Souza 2013-09-18 11:18:26 UTC
This is fixed now in master
Comment 11 Robinson Tryon (qubit) 2015-12-15 16:49:57 UTC
Migrating Whiteboard tags to Keywords: (EasyHack DifficultyBeginner SkillCpp )
[NinjaEdit]