Note per the ionic equations:
ClO(-) + Cl(-) + 2H(+) <=> Cl2 + H2O
there are many paths to generating chlorine. For example, for ClO(-), one can use NaOCl, Ca(OCl)2, HOCl,.
For the chloride, Cl(-), use HCl or NaCl.
For H(+), usually a strong acid or acid salt like NaHSO4. Note, in the case of a too weak acid, only Hypochlorous acid is formed:
NaOCl + H2CO3 --> NaHCO3 + HOCl
However, there are interesting instances to have an acidic 'activity level' equivalent to a strong acid without, of course, the strong acid. For example, employing a highly concentrated ionic slurry (or acid salt hydrate) may work. Examples include MgSO4 (outlined in several patents to produce dibasic Magnesium hypochlorite, where Cl2 is formed as a byproduct) and even FeSO4 (discussed in an old sciencemadness thread where a syrup-like FeSO4/NaOCl mixture is reported to work best).
So understanding the mechanics of the reaction, one can generate Cl2 in a convenient manner.