[packaging] import mer packaging adapted for subtree and optional X11