Skip to content

Commit

Permalink
fix make install in x86_64.
Browse files Browse the repository at this point in the history
  • Loading branch information
hejiann committed Jul 20, 2012
1 parent 37a07d3 commit cc4074b
Show file tree
Hide file tree
Showing 5 changed files with 687 additions and 633 deletions.
23 changes: 16 additions & 7 deletions Makefile
Expand Up @@ -28,16 +28,25 @@ GDK_PIXBUF_CSOURCE = gdk-pixbuf-csource
all: beautify rip-border skin-whitening

install: beautify rip-border skin-whitening
$(GIMPTOOL) --install-admin-bin beautify
$(GIMPTOOL) --install-admin-bin rip-border
$(GIMPTOOL) --install-admin-bin skin-whitening

beautify: beautify.o
$(CC) $(CFLAGS) -o $@ $^ $(LIBS)
# need fix: --install-admin-bin has issue in x86_64,
# it install the plug-in into /usr/lib/gimp/2.0/plug-ins/
# but the correct directory is /usr/lib64/gimp/2.0/plug-ins/
# $(GIMPTOOL) --install-admin-bin beautify
# $(GIMPTOOL) --install-admin-bin rip-border
# $(GIMPTOOL) --install-admin-bin skin-whitening
cp beautify /usr/lib64/gimp/2.0/plug-ins/
cp rip-border /usr/lib64/gimp/2.0/plug-ins/
cp skin-whitening /usr/lib64/gimp/2.0/plug-ins/

beautify: beautify.o beautify-effect.o
$(CC) -o $@ $^ $(LIBS)

beautify.o: beautify.c beautify-textures.h
beautify.o: beautify.c
$(CC) $(CFLAGS) -c beautify.c -o beautify.o

beautify-effect.o: beautify-effect.c beautify-textures.h
$(CC) $(CFLAGS) -c beautify-effect.c -o beautify-effect.o

beautify-textures.h: beautify-textures.list
$(GDK_PIXBUF_CSOURCE) --raw --build-list `cat beautify-textures.list` > $(@F)

Expand Down
5 changes: 5 additions & 0 deletions README
Expand Up @@ -25,9 +25,14 @@ Support: #beautify on FreeNode
CHANGELOG
===================

2012-07-20
fix make install in x86_64
beautify refactor: split the effect code into beautify-feature.c

2012-07-19
beautify: fix memory leak
beautify: speed up dialog display
fix Makefile: install plugin into mathine directory instead of user directory

2012-07-18
beautify: add blues effect
Expand Down

0 comments on commit cc4074b

Please sign in to comment.