Merge lp:~3v1n0/bamf/remove-gtk2 into lp:bamf/0.4
| Status: | Merged |
|---|---|
| Approved by: | Michael Terry on 2012-11-19 |
| Approved revision: | 509 |
| Merged at revision: | 502 |
| Proposed branch: | lp:~3v1n0/bamf/remove-gtk2 |
| Merge into: | lp:bamf/0.4 |
| Diff against target: |
711 lines (+97/-278) 12 files modified
configure.ac (+4/-30) debian/changelog (+5/-0) debian/control (+1/-32) debian/rules (+4/-22) doc/reference/libbamf/Makefile.am (+2/-8) lib/libbamf/Makefile.am (+14/-26) src/bamf-legacy-window.c (+0/-40) src/bamf-xutils.c (+3/-0) tests/Makefile.am.gtests (+50/-0) tests/bamfdaemon/Makefile.am (+3/-49) tests/functional/Makefile.am (+7/-12) tests/libbamf/Makefile.am (+4/-59) |
| To merge this branch: | bzr merge lp:~3v1n0/bamf/remove-gtk2 |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Michael Terry | 2012-11-15 | Approve on 2012-11-19 | |
| PS Jenkins bot | continuous-integration | Pending | |
|
Review via email:
|
|||
Commit Message
Autconf, debian: remove the legacy gtk-2 support and factorize the test building code
Description of the Change
Remove the gtk2 dependencies from build system. Don't build gtk2 packages anymore as they are not needed.
Also, cleanup the building of tests, factorizing the shared code into just one makefile.
- 506. By Marco Trevisan (Treviño) on 2012-11-15
-
debian: update changelog
- 507. By Marco Trevisan (Treviño) on 2012-11-19
-
debian: update glib2 dependency and changelog
- 508. By Marco Trevisan (Treviño) on 2012-11-19
-
debian/rules: demoved the unneeded overrides
- 509. By Marco Trevisan (Treviño) on 2012-11-19
-
Autoconf: point to correct Makefile in testing.
| Marco Trevisan (Treviño) (3v1n0) wrote : | # |
> * You should also remove libwnck-dev from debian/control.
Done.
> * In debian/rules, you can drop all the -Bbuild flags. And if that makes the
> call a no-op (like override_
> you can drop the override stanza altogether.
Right, done as well.
> * When building, I get the following warnings and error:
> automake-1.11: cannot open < tests/Makefile.
> Looks like a typo of .tests vs .gtests
Warnings are somewhat needed for now (but I'll get rid of them soon), typo fixed. Sorry for this, I just didn't remove the renamed file locally so I was not getting the issue at all. :/

* You should also remove libwnck-dev from debian/control. dh_auto_ build just being a call to dh_auto_build), you can drop the override stanza altogether. Makefile. am:81: BUILT_SOURCES multiply defined in condition TRUE ... Makefile. am:3: ... `BUILT_SOURCES' previously defined here Makefile. am: installing `./depcomp' am:113: BUILT_SOURCES multiply defined in condition TRUE ... am.tests: No such file or directory
* In debian/rules, you can drop all the -Bbuild flags. And if that makes the call a no-op (like override_
* You can probably just drop LIBBAMF_VER, since we hardcode the 3 enough other places. But if you like to keep it, that's fine too.
* When building, I get the following warnings and error:
lib/libbamf/
lib/libbamf/
lib/libbamf/
src/Makefile.
src/Makefile.am:4: ... `BUILT_SOURCES' previously defined here
automake-1.11: cannot open < tests/Makefile.
dh_autoreconf: ./autogen.sh returned exit code 1
Looks like a typo of .tests vs .gtests