Merge lp:~ballogy/libdbusmenu/diff-dir-for-gtk3 into lp:libdbusmenu/0.6
| Status: | Merged |
|---|---|
| Approved by: | Ted Gould on 2012-01-26 |
| Approved revision: | 346 |
| Merged at revision: | 353 |
| Proposed branch: | lp:~ballogy/libdbusmenu/diff-dir-for-gtk3 |
| Merge into: | lp:libdbusmenu/0.6 |
| Diff against target: |
89 lines (+7/-7) 7 files modified
libdbusmenu-glib/Makefile.am (+1/-1) libdbusmenu-glib/dbusmenu-glib-0.4.pc.in (+1/-1) libdbusmenu-gtk/Makefile.am (+1/-1) libdbusmenu-gtk/dbusmenu-gtk-0.4.pc.in (+1/-1) libdbusmenu-gtk/dbusmenu-gtk3-0.4.pc.in (+1/-1) tests/Makefile.am (+1/-1) tests/dbusmenu-jsonloader-0.4.pc.in (+1/-1) |
| To merge this branch: | bzr merge lp:~ballogy/libdbusmenu/diff-dir-for-gtk3 |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Ted Gould (community) | 2011-11-21 | Approve on 2012-01-26 | |
|
Review via email:
|
|||
Description of the Change
This change moves libdbusmenu-gtk3 header files
from /usr/include/
to /usr/include/
The main benefit of this change is that applications which can be built with both GTK2 and GTK3 could use the same path for header files <libdbusmenu-
However, this change requires to modify all apps that depend on libdbusmenu-gtk3, so I recommend this change for the next development circle.
- 346. By Balló György on 2012-01-05
-
Separate libdbusmenu-glib and libdbusmenu-gtk include directories
| Balló György (ballogy) wrote : | # |
OK, your solution looks good. Now I modified my proposal, so
- libdbusmenu-glib and libdbusmenu-
- gtk2-based libdbusmenu-gtk uses /usr/include/
- gtk3-based libdbusmenu-gtk uses /usr/include/
I modified also my proposal for libindicate according to this change:
https:/

The problem is that the .pc file includes the dbusmenu-glib pc file, which will include the other directory. So, in general, we'd end up pulling in two places where the GTK headers could be found.
I was chatting about this with mterry who did the initial work here, and we were batting around some ideas. The only one that I could see working is that we establish three high level directories:
/usr/ include/ libdbusmenu- glib-0. 4/ include/ libdbusmenu- gtk-0.4/ include/ libdbusmenu- gtk3-0. 4/
/usr/
/usr/
Then the .pc files could point to each individual one. What do you think of a solution like that?