1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
diff -U 3 -dHrN gMTP/Makefile gMTP.new/Makefile
--- gMTP/Makefile 2011-12-15 05:57:19.000000000 +0100
+++ gMTP.new/Makefile 2011-12-24 11:16:52.211115913 +0100
@@ -1,7 +1,7 @@
# gMTP Sync tool
PKG_NAME = gmtp
-PREFIX ?= /usr/local
+PREFIX ?= /usr
VER = 1.3.1
# Note: If you update above, please update the config.h and pkginfo file as well.
@@ -36,7 +36,7 @@
GCONFTOOL = gconftool-2
TAR = tar
-CFLAGS += -c -g #-O
+CFLAGS += -c
LDFLAGS +=
LIBS +=
@@ -123,7 +123,7 @@
$(INSTALL) -d $(DESTDIR)$(PREFIX)/share/applications
$(INSTALL) -d $(DESTDIR)$(PREFIX)/share/pixmaps
$(INSTALL) -d $(DESTDIR)$(PREFIX)/share/gconf
- $(INSTALL) -d $(DESTDIR)$(PREFIX)/share/gconf/schemas
+ $(INSTALL) -d $(DESTDIR)/etc/gconf/schemas
$(INSTALL) -d $(DESTDIR)$(PREFIX)/share/locale
$(INSTALL) -d $(DESTDIR)$(PREFIX)/share/locale/es
$(INSTALL) -d $(DESTDIR)$(PREFIX)/share/locale/it
@@ -151,17 +151,17 @@
$(INSTALL) -m 644 images/view-refresh.png $(DESTDIR)$(PREFIX)/share/$(PKG_NAME)
$(INSTALL) -m 644 misc/gMTP.desktop $(DESTDIR)$(PREFIX)/share/applications
$(INSTALL) -m 644 images/icon.png $(DESTDIR)$(PREFIX)/share/pixmaps
- $(INSTALL) -m 644 misc/gMTP.schemas $(DESTDIR)$(PREFIX)/share/gconf/schemas
+ $(INSTALL) -m 644 misc/gMTP.schemas $(DESTDIR)/etc/gconf/schemas
mv $(DESTDIR)$(PREFIX)/share/pixmaps/icon.png $(DESTDIR)$(PREFIX)/share/pixmaps/gMTPicon.png
cp po/es.mo $(DESTDIR)$(PREFIX)/share/locale/es/LC_MESSAGES/gmtp.mo
cp po/fr.mo $(DESTDIR)$(PREFIX)/share/locale/fr/LC_MESSAGES/gmtp.mo
cp po/it.mo $(DESTDIR)$(PREFIX)/share/locale/it/LC_MESSAGES/gmtp.mo
cp po/da.mo $(DESTDIR)$(PREFIX)/share/locale/da/LC_MESSAGES/gmtp.mo
cp po/de.mo $(DESTDIR)$(PREFIX)/share/locale/de/LC_MESSAGES/gmtp.mo
- mv $(DESTDIR)$(PREFIX)/share/gconf/schemas/gMTP.schemas $(DESTDIR)$(PREFIX)/share/gconf/schemas/gmtp.schemas
+ mv $(DESTDIR)/etc/gconf/schemas/gMTP.schemas $(DESTDIR)/etc/gconf/schemas/gmtp.schemas
register-gconf-schemas: install
- GCONF_CONFIG_SOURCE=`$(GCONFTOOL) --get-default-source` $(GCONFTOOL) --makefile-install-rule $(DESTDIR)$(PREFIX)/share/gconf/schemas/gmtp.schemas
+ GCONF_CONFIG_SOURCE=`$(GCONFTOOL) --get-default-source` $(GCONFTOOL) --makefile-install-rule $(DESTDIR)/etc/gconf/schemas/gmtp.schemas
install-gtk3: gmtp $(catalogues)
$(INSTALL) -d $(DESTDIR)$(PREFIX)
@@ -223,7 +223,7 @@
rm -f $(DESTDIR)$(PREFIX)/share/$(PKG_NAME)/*
rm -f $(DESTDIR)$(PREFIX)/share/applications/gMTP.desktop
rm -f $(DESTDIR)$(PREFIX)/share/pixmaps/gMTPicon.png
- rm -f $(DESTDIR)$(PREFIX)/share/gconf/schemas/gmtp.schemas
+ rm -f $(DESTDIR)/etc/gconf/schemas/gmtp.schemas
rm -f $(DESTDIR)$(PREFIX)/share/glib-2.0/schemas/org.gnome.gMTP.gschema.xml
rm -f $(DESTDIR)$(PREFIX)/share/locale/es/LC_MESSAGES/gmtp.mo
rm -f $(DESTDIR)$(PREFIX)/share/locale/fr/LC_MESSAGES/gmtp.mo
diff -U 3 -dHrN gMTP/pkginfo gMTP.new/pkginfo
--- gMTP/pkginfo 2011-11-29 14:18:41.000000000 +0100
+++ gMTP.new/pkginfo 2011-12-24 11:16:57.790091128 +0100
@@ -1,5 +1,5 @@
CLASSES=none
-BASEDIR=/usr/local
+BASEDIR=/usr
TZ=PST
PATH=/sbin:/usr/sbin:/usr/bin:/usr/sadm/install/bin
PKG=gmtp
|