Merge lp://staging/~saviq/dee-qt/rename-libs into lp://staging/~unity-team/dee-qt/qt4-and-qt5
Proposed by
Michał Sawicz
Status: | Merged |
---|---|
Merged at revision: | 82 |
Proposed branch: | lp://staging/~saviq/dee-qt/rename-libs |
Merge into: | lp://staging/~unity-team/dee-qt/qt4-and-qt5 |
Diff against target: |
684 lines (+199/-235) 22 files modified
.bzrignore (+2/-2) CMakeLists.txt (+34/-98) debian/changelog (+13/-0) debian/control (+46/-20) debian/libdee-qt-3.install (+1/-3) debian/libdee-qt-dev.install (+3/-3) debian/libdee-qt5-3.install (+1/-3) debian/libdee-qt5-dev.install (+3/-3) debian/qml1-dee-3.install (+2/-0) debian/qml2-dee-3.install (+2/-0) debian/rules (+3/-3) libdee-qt.pc.in (+6/-6) modules/CMakeLists.txt (+1/-0) modules/Dee/CMakeLists.txt (+45/-0) modules/Dee/plugin.cpp (+3/-3) modules/Dee/plugin.h (+1/-1) modules/Dee/qmldir (+2/-1) test.cpp (+0/-35) test.h (+0/-52) tests/CMakeLists.txt (+29/-0) tests/test_qtquick1.qml (+1/-1) tests/test_qtquick2.qml (+1/-1) |
To merge this branch: | bzr merge lp://staging/~saviq/dee-qt/rename-libs |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Didier Roche-Tolomelli | Approve | ||
Albert Astals Cid (community) | Approve | ||
Cris Dywan | Pending | ||
Review via email: mp+137177@code.staging.launchpad.net |
Commit message
rename libqtdee to libdee-qt, refactor plugin and tests
* rename the source package to dee-qt
* rename libqtdee to libdee-qt
* rename libqtdee-qt5 to libdee-qt5
* bump version to 3.0.0
* separate plugin out into "modules" directory
* separate tests out
* drop obsolete test.cpp
Description of the change
To converge on a single way to name libraries and friends, rename them from libqtdee to libdee-qt.
Refactor the plugin and tests.
To post a comment you must log in.
You still have OUR_QT_TEST_LIB in the root CMakeLists.txt and seems we don't need it there since the uses where moved to tests/CMakeList s.txt, same for the use of the test includes inside OUR_QT_INCLUDES
You don't need the enable_testing in tests/CMakeList s.txt, the one in the root CMakeLists.txt is enough
Also I think that you don't need to concatenate OUR_QT_INCLUDES like you do in tests/CMakeList s.txt, you can just use a new variable and use it in include_ directories, as far as i read the include_directories entry in the cmake man page the include_directories commands work like a stack so if the "old" OUR_QT_INCLUDES were already included in the root you'll already have them, just need to include the new stuff