GNOME Bugzilla – Bug 687315
various packaging fixes
Last modified: 2013-01-11 02:37:05 UTC
Here is a set of patches that will make the packaging a bit sane.
Created attachment 227770 [details] [review] build: only export public symbols from the library
Created attachment 227771 [details] [review] build: make sure to define $datarootdir in generated scripts Some of automake standard directory variables are expanded using "${datarootdir}", which must be available at run-time. Define it at the beginning of the script templates.
Created attachment 227772 [details] [review] build: suppress Python bytecode generation when building
Created attachment 227773 [details] [review] build: install vapi file Install caribou-1.0.vapi into the standard vapi directory. Also install caribou-1.0.deps file so "--pkg caribou-1.0" automatically pulls dependencies.
Created attachment 227774 [details] [review] build: install pkg-config file
Created attachment 227775 [details] [review] build: use git.mk Use git.mk to generate .gitignore files upon building. Also remove *.[ch] from CLEANFILES since it makes little sense with automake Vala support.
Created attachment 232384 [details] [review] Don't use deprecated Automake variable INCLUDE.
Pushed since they are all minor... Attachment 227770 [details] pushed as a6a4392 - build: only export public symbols from the library Attachment 227771 [details] pushed as 86fdbc3 - build: make sure to define $datarootdir in generated scripts Attachment 227772 [details] pushed as 662e04e - build: suppress Python bytecode generation when building Attachment 227773 [details] pushed as 11b35f6 - build: install vapi file Attachment 227774 [details] pushed as 9c6e23a - build: install pkg-config file Attachment 227775 [details] pushed as 4e2469f - build: use git.mk
Created attachment 232841 [details] [review] build: rename caribou.pc to caribou-1.0.pc Both *.pc and *.vapi should have the same basename. Also remove *.pc on "make distclean" instead of "make clean" since it is created at configure time. -- Minor amendment to comment 5.
Comment on attachment 232841 [details] [review] build: rename caribou.pc to caribou-1.0.pc Attachment 232841 [details] pushed as 4a9bda2 - build: rename caribou.pc to caribou-1.0.pc