updated on Thu Jan 26 12:02:26 UTC 2012
[aur-mirror.git] / tagplop / tagplop-0.0.3.1.diff
blob096f832acac5efb0994aeb5d9d27ca12d9423c3e
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
4 @@ -1,10 +1,10 @@
6 +DESTDIR=
8 CC=gcc
9 -INSTDIR=/usr/share/tagplop
10 +INSTDIR=/usr
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
17 TARGET=tagplop
18 OBJECTS=main.o functions.o network.o xml.o gtkchosentrack.o
19 @@ -37,10 +37,13 @@
20 rm -f *.o *~ $(TARGET) *.bak
22 install:
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
31 uninstall:
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
41 @@ -0,0 +1,9 @@
42 +[Desktop Entry]
43 +Version=1.0
44 +Type=Application
45 +Name=Tagplop
46 +Comment=A simple music file tagger
47 +TryExec=/usr/bin/tagplop
48 +Exec=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
54 @@ -0,0 +1,73 @@
55 +/* XPM */
56 +static const char *tagplop_xpm[] = {
57 +"48 48 22 1",
58 +" c None",
59 +". c #8D2E2E",
60 +"+ c #8C2E2E",
61 +"@ c #903030",
62 +"# c #933030",
63 +"$ c #923131",
64 +"% c #892D2D",
65 +"& c #882D2D",
66 +"* c #943131",
67 +"= c #923030",
68 +"- c #8D2F2F",
69 +"; c #892E2E",
70 +"> c #8F2F2F",
71 +", c #933131",
72 +"' c #913030",
73 +") c #943030",
74 +"! c #8A2D2D",
75 +"~ c #8E2F2F",
76 +"{ c #872D2D",
77 +"] c #8C2F2F",
78 +"^ c #8B2E2E",
79 +"/ c #902F2F",
80 +" ",
81 +" ",
82 +" ",
83 +" ",
84 +" ",
85 +" ",
86 +" ",
87 +" .+ ",
88 +" @@ ",
89 +" ## ",
90 +" $#% ",
91 +" &*= ",
92 +" - $*; ",
93 +" > ,, ",
94 +" ' -*= ",
95 +" > ')! ",
96 +" >. == ",
97 +" , #~ ",
98 +" * {* ",
99 +" +# '' ",
100 +" '# # ",
101 +" #= ' ",
102 +" #@ ] ",
103 +" ^*+ ^ ",
104 +" >* ~ ",
105 +" =* / ",
106 +" *, ",
107 +" %*' ",
108 +" /*/ ",
109 +" **^ ",
110 +" ** ",
111 +" ~** ",
112 +" &+]% =), ",
113 +" @********= =*= ",
114 +" @**)******)**@!#*@ ",
115 +" ,*),*********#*##*~ ",
116 +" #*,****************^ ",
117 +" *#****************#% ",
118 +" +*****************)# ",
119 +" *)**************#*= ",
120 +" @*#************#*# ",
121 +" '*#**********,*# ",
122 +" -##********)#@ ",
123 +" %~'=,,='>^ ",
124 +" ",
125 +" ",
126 +" ",
127 +" "};