1 diff -Naur tagplop~/Makefile tagplop/Makefile
2 --- tagplop~/Makefile 2009-01-18 13:53:13.000000000 -0600
3 +++ tagplop/Makefile 2009-01-18 13:58:44.000000000 -0600
9 -INSTDIR=/usr/share/tagplop
11 # -DFILENAME=\"$(INSTDIR)/tagplop.glade\"
12 -CFLAGS=-g `pkg-config --cflags gtk+-2.0 libglade-2.0 taglib` `xml2-config --cflags` -DFILENAME=\"$(INSTDIR)/tagplop.glade\"
13 -LIBS=`pkg-config --libs gtk+-2.0 libglade-2.0` `xml2-config --libs` -ltag_c -ltunepimp -lcurl
14 +CFLAGS+=-g `pkg-config --cflags gtk+-2.0 libglade-2.0 taglib` `xml2-config --cflags` -DFILENAME=\"$(INSTDIR)/share/tagplop/tagplop.glade\"
15 +LIBS+=`pkg-config --libs gtk+-2.0 libglade-2.0` `xml2-config --libs` -ltag_c -ltunepimp -lcurl
18 OBJECTS=main.o functions.o network.o xml.o gtkchosentrack.o
20 rm -f *.o *~ $(TARGET) *.bak
23 - mkdir -p $(INSTDIR) && \
24 - cp tagplop.glade $(INSTDIR)/. && \
25 - cp tagplop /usr/bin/.
26 + install -D -m 755 $(TARGET) $(DESTDIR)$(INSTDIR)/bin/$(TARGET)
27 + install -D -m 644 $(TARGET).glade $(DESTDIR)$(INSTDIR)/share/$(TARGET)/$(TARGET).glade
28 + install -D -m 644 $(TARGET).xpm $(DESTDIR)$(INSTDIR)/share/pixmaps/$(TARGET).xpm
29 + install -D -m 644 $(TARGET).desktop $(DESTDIR)$(INSTDIR)/share/applications/$(TARGET).desktop
32 - rm /usr/bin/tagplop && rm -rf $(INSTDIR)
34 + rm -rf $(DESTDIR)$(INSTDIR)/share/$(TARGET)
35 + rm -f $(DESTDIR)$(INSTDIR)/bin/$(TARGET)
36 + rm -f $(DESTDIR)$(INSTDIR)/share/pixmaps/$(TARGET).xpm
37 + rm -f $(DESTDIR)$(INSTDIR)/share/applications/$(TARGET).desktop
38 diff -Naur tagplop~/tagplop.desktop tagplop/tagplop.desktop
39 --- tagplop~/tagplop.desktop 1969-12-31 18:00:00.000000000 -0600
40 +++ tagplop/tagplop.desktop 2009-01-18 13:53:18.000000000 -0600
46 +Comment=A simple music file tagger
47 +TryExec=/usr/bin/tagplop
49 +Icon=/usr/share/pixmaps/tagplop.xpm
50 +Categories=Audio;AudioVideoEditing;
51 diff -Naur tagplop~/tagplop.xpm tagplop/tagplop.xpm
52 --- tagplop~/tagplop.xpm 1969-12-31 18:00:00.000000000 -0600
53 +++ tagplop/tagplop.xpm 2009-01-18 13:53:18.000000000 -0600
56 +static const char *tagplop_xpm[] = {
114 +" @**)******)**@!#*@ ",
115 +" ,*),*********#*##*~ ",
116 +" #*,****************^ ",
117 +" *#****************#% ",
118 +" +*****************)# ",
119 +" *)**************#*= ",
120 +" @*#************#*# ",
121 +" '*#**********,*# ",