1
#! /bin/sh /usr/share/dpatch/dpatch-run
2
## 01-icons-not-docs.dpatch by Stefan Ritter <xeno@thehappy.de>
4
## All lines beginning with `## DP:' are a description of the patch.
5
## DP: Avoid moving icons to docdir
8
diff -urNad apvlv-0.0.6.8~/Makefile.am apvlv-0.0.6.8/Makefile.am
9
--- apvlv-0.0.6.8~/Makefile.am 2009-07-21 03:57:00.000000000 +0200
10
+++ apvlv-0.0.6.8/Makefile.am 2009-07-21 11:43:45.000000000 +0200
15
-EXTRA_DIST = apvlv.1 apvlvrc.example Startup.pdf icons/*
16
+EXTRA_DIST = apvlv.1 apvlvrc.example Startup.pdf
18
pdf_DATA = Startup.pdf
19
-doc_DATA = apvlvrc.example icons/reg.png icons/dir.png icons/pdf.png
20
+doc_DATA = apvlvrc.example
22
diff -urNad apvlv-0.0.6.8~/Makefile.in apvlv-0.0.6.8/Makefile.in
23
--- apvlv-0.0.6.8~/Makefile.in 2009-07-21 03:57:03.000000000 +0200
24
+++ apvlv-0.0.6.8/Makefile.in 2009-07-21 11:44:08.000000000 +0200
26
# require the minimal version of automake 1.7
27
AUTOMAKE_OPTIONS = foreign 1.7
29
-EXTRA_DIST = apvlv.1 apvlvrc.example Startup.pdf icons/*
30
+EXTRA_DIST = apvlv.1 apvlvrc.example Startup.pdf
31
pdf_DATA = Startup.pdf
32
-doc_DATA = apvlvrc.example icons/reg.png icons/dir.png icons/pdf.png
33
+doc_DATA = apvlvrc.example
37
diff -urNad apvlv-0.0.6.8~/src/ApvlvUtil.cpp apvlv-0.0.6.8/src/ApvlvUtil.cpp
38
--- apvlv-0.0.6.8~/src/ApvlvUtil.cpp 2009-07-21 02:47:20.000000000 +0200
39
+++ apvlv-0.0.6.8/src/ApvlvUtil.cpp 2009-07-21 11:47:21.000000000 +0200
42
string helppdf = string (DOCDIR) + "/Startup.pdf";
43
string iniexam = string (DOCDIR) + "/apvlvrc.example";
44
- string iconreg = string (DOCDIR) + "/reg.png";
45
- string icondir = string (DOCDIR) + "/dir.png";
46
- string iconpdf = string (DOCDIR) + "/pdf.png";
47
+ string iconreg = "/usr/share/pixmaps/apvlv/reg.png";
48
+ string icondir = "/usr/share/pixmaps/apvlv/dir.png";
49
+ string iconpdf = "/usr/share/pixmaps/apvlv/pdf.png";
50
string inifile = "~/.apvlvrc";
51
string sessionfile = "~/.apvlvinfo";