Statistical mechanics of irreversible processes Part VIII: general theory of weakly coupled systems