Skip to content

Commit 68f4341

Browse files
committed
Remove deprecated Icon generation code
fix #176
1 parent 970d2a8 commit 68f4341

File tree

15 files changed

+2
-3036
lines changed

15 files changed

+2
-3036
lines changed

src/MacVim/Info.plist

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
<!-- When adding support for a new file type:
99
1. Add entry to CFBundleDocumentTypes
1010
2. Add entry to UTExportedTypeDeclarations below (for Quick Look)
11-
3. Add entry to icons/make_icons.py script (for document icon)
1211
1312
For a list of UTIs, see
1413
http://developer.apple.com/documentation/Carbon/Conceptual/

src/MacVim/README

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -162,18 +162,11 @@ be in when executing these commands):
162162
1. Configure Vim (call "./configure --help" to see a list of flags)
163163
src/$ ./configure
164164

165-
2. Generate document icons (OPTIONAL)
166-
src/MacVim/icons$ make getenvy
167-
src/MacVim/icons$ make all
168-
169-
3. Build
165+
2. Build
170166
src/$ make
171167

172168
The application bundle can be found inside "src/MacVim/build/Release".
173169

174-
If step 2 is skipped a generic document icon will be used for all file types.
175-
It is also possible to download the document icons if this step fails.
176-
177170

178171
Bjorn Winckler <[email protected]>
179172
March 21, 2011

src/MacVim/icons/Makefile

Lines changed: 1 addition & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -2,44 +2,7 @@
22

33
OUTDIR ?= .
44

5-
# This script is called during the build phase with OUTDIR set to the Resources
6-
# folder of the app bundle. The default action is to simply copy all files
7-
# named MacVim-*.icns to OUTDIR.
8-
#
9-
# The files in version control are all links to the MacVim-generic.icns file.
10-
# In order to get prettier document icons, call "make all" in this folder
11-
# before building. This will call the document generation program which
12-
# overwrites the MacVim-*.icns links with actual icons (see make_icons.py).
13-
#
14-
# The Envy Code R font can be used to render small icons that are more legible.
15-
# In order to use ECR, call "make getenvy" before calling "make all". This
16-
# step requires an internet connection.
17-
185
$(OUTDIR)/MacVim-generic.icns:
196
cp -pR MacVim-*.icns "$(OUTDIR)"/
207

21-
all: make_icons.py vim-noshadow-512.png loadfont.so
22-
rm -f MacVim-*.icns
23-
$(MAKE) -C makeicns
24-
/usr/bin/python make_icons.py "$(OUTDIR)"
25-
26-
loadfont.so: loadfont.c
27-
/usr/bin/python setup.py install --install-lib .
28-
29-
getenvy: Envy\ Code\ R\ Bold.ttf
30-
31-
Envy\ Code\ R\ Bold.ttf: EnvyCodeR.zip
32-
unzip -jo EnvyCodeR.zip
33-
# unzip uses the file date from the zip file. Change the file date to
34-
# "now", so that the zip is not unzipped in every `make` run.`
35-
touch Envy\ Code\ R\ Bold.ttf
36-
37-
ENVYCODE_URL=http://download.damieng.com/fonts/original/EnvyCodeR-PR7.zip
38-
EnvyCodeR.zip:
39-
curl ${ENVYCODE_URL} --location -o EnvyCodeR.zip
40-
41-
clean:
42-
$(MAKE) -C makeicns clean
43-
rm -f "$(OUTDIR)"/MacVim-*.icns loadfont.so *.pyc \
44-
EnvyCodeR.zip *.ttf *.reg *.txt
45-
rm -rf *.egginfo build # Created by setup.py
8+
all:

0 commit comments

Comments
 (0)