Skip to content

Commit

Permalink
Fix up FSF address
Browse files Browse the repository at this point in the history
  • Loading branch information
pemsley committed Aug 15, 2016
1 parent 3a48e93 commit adcb590
Show file tree
Hide file tree
Showing 21 changed files with 44 additions and 20 deletions.
2 changes: 1 addition & 1 deletion coords/mmdb-crystal.cc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
*/

// mmdb related functions that also (used to) depend on clipper. We
Expand Down
2 changes: 1 addition & 1 deletion coot-utils/coot-fffear.cc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
*/

// Much this class was copied from the exmple code of clipper and
Expand Down
2 changes: 1 addition & 1 deletion coot-utils/coot-map-utils.cc
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
*/


Expand Down
2 changes: 1 addition & 1 deletion coot-utils/maps-spherical.cc
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
*/


Expand Down
24 changes: 24 additions & 0 deletions fix-fsf-address.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@

declare -a old_addresses_arr=("675 Mass Ave,.*USA" "59 Temple Place.*USA" "Cambridge,.*USA")

# also I needed these because "USA" was on the next line
# declare -a old_addresses_arr=("59 Temple Place.*1307")

for addr in "${old_addresses_arr[@]}" ;
do
echo looking for $addr
# only look in directies at depth 0,1,2 (not save directories)
files=$(find . -type f -depth -3 -exec grep -nIHl "$addr" {} \;)
echo files: $files
for file in $files ;
do
ext="${file##*.}"
if [ "$ext" != "sed" ] ; then
echo $file
# for xxx.*USA pattern
# sed -i.sed "s/$addr/51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA/" $file
# for xxx.*1307 pattern
sed -i.sed "s/$addr/51 Franklin Street, Fifth Floor, Boston, MA 02110-1307/" $file
fi
done
done
2 changes: 1 addition & 1 deletion intltool-extract.in
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA.
#
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
Expand Down
2 changes: 1 addition & 1 deletion intltool-merge.in
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA.
#
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
Expand Down
2 changes: 1 addition & 1 deletion intltool-update.in
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA.
#
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
Expand Down
2 changes: 1 addition & 1 deletion src/coot-gtk2.defs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
;;
;; You should have received a copy of the GNU General Public
;; License along with this program; if not, write to the Free Software
;; Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
;; Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA

(import "gtk-2.0.defs")

Expand Down
2 changes: 1 addition & 1 deletion src/coot.defs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
;;
;; You should have received a copy of the GNU General Public
;; License along with this program; if not, write to the Free Software
;; Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
;; Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA

(import "gtk-1.2.defs")

Expand Down
2 changes: 1 addition & 1 deletion src/density-score-by-residue-src.cc
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
*/


Expand Down
2 changes: 1 addition & 1 deletion src/graphics-info-defines.cc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
*/

#if defined (USE_PYTHON)
Expand Down
2 changes: 1 addition & 1 deletion src/graphics-info-mutate.cc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
*/

#ifdef USE_PYTHON
Expand Down
2 changes: 1 addition & 1 deletion src/graphics-info-navigation-gtk1.cc
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
*/


Expand Down
2 changes: 1 addition & 1 deletion src/graphics-info-navigation.cc
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
*/

#ifdef USE_PYTHON
Expand Down
2 changes: 1 addition & 1 deletion src/graphics-info-render.cc
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA.
*/

#ifdef USE_PYTHON
Expand Down
2 changes: 1 addition & 1 deletion src/graphics-info-residues.cc
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
*/

#if defined (USE_PYTHON)
Expand Down
2 changes: 1 addition & 1 deletion src/graphics-info-superpose.cc
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
*/

#ifdef USE_PYTHON
Expand Down
2 changes: 1 addition & 1 deletion src/molecule-class-info-ncs.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1307
* USA.
*/

Expand Down
2 changes: 1 addition & 1 deletion src/molecule-class-info-surface.cc
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA.
*/

#ifdef USE_PYTHON
Expand Down
2 changes: 1 addition & 1 deletion src/molecule-class-info-widget-work.cc
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA.
*/


Expand Down

0 comments on commit adcb590

Please sign in to comment.