summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2013-05-15 18:25:35 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2013-05-15 18:25:35 +0200
commit93713798ba38c22ce2c972a2feb7c63c294a1210 (patch)
tree765e04e7262d96e061fe39ecdcf9bc191924b150
parentdec896ca8ffa5e4ee06ae82bcabc067c81b8e153 (diff)
Use its own resource file for qphotorec
-rw-r--r--src/Makefile.am3
-rw-r--r--src/icon_ph.rc2
-rw-r--r--src/icon_qph.rc33
-rw-r--r--src/icon_tst.rc2
4 files changed, 37 insertions, 3 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index d673ef2..ee37fd6 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -4,6 +4,7 @@
if USEICON
ICON_TESTDISK=icon_tst.rc ../ico/testdisk.ico
ICON_PHOTOREC=icon_ph.rc ../ico/photorec.ico
+ICON_QPHOTOREC=icon_qph.rc ../ico/photorec.ico
endif
if USEQT
@@ -301,7 +302,7 @@ photorec_SOURCES = phmain.c $(photorec_C) $(photorec_H) $(photorec_ncurses_C) $(
photorecf_SOURCES = phmain.c $(photorec_C) $(photorec_H) $(photorec_ncurses_C) $(photorec_ncurses_H) $(file_C) $(file_H) $(base_C) $(base_H) partgptro.c $(fs_C) $(fs_H) $(ICON_PHOTOREC) suspend.c
-qphotorec_SOURCES = qmainrec.cpp qphotorec.cpp qphotorec.h chgtype.c chgtype.h $(photorec_C) $(photorec_H) $(file_C) $(file_H) $(base_C) $(base_H) partgptro.c $(fs_C) $(fs_H) $(ICON_PHOTOREC) suspend_no.c
+qphotorec_SOURCES = qmainrec.cpp qphotorec.cpp qphotorec.h chgtype.c chgtype.h $(photorec_C) $(photorec_H) $(file_C) $(file_H) $(base_C) $(base_H) partgptro.c $(fs_C) $(fs_H) $(ICON_QPHOTOREC) suspend_no.c
nodist_qphotorec_SOURCES = moc_qphotorec.cpp
diff --git a/src/icon_ph.rc b/src/icon_ph.rc
index d38518a..2e59531 100644
--- a/src/icon_ph.rc
+++ b/src/icon_ph.rc
@@ -22,7 +22,7 @@ BEGIN
VALUE "Comments", "Signature based file recovery utility"
VALUE "FileVersion", "6.14"
VALUE "ProductVersion", "6.14"
- VALUE "LegalCopyright", "Copyright (C) 2012"
+ VALUE "LegalCopyright", "Copyright (C) 2013"
END
END
BLOCK "VarFileInfo"
diff --git a/src/icon_qph.rc b/src/icon_qph.rc
new file mode 100644
index 0000000..dff6efe
--- /dev/null
+++ b/src/icon_qph.rc
@@ -0,0 +1,33 @@
+app ICON DISCARDABLE "../ico/photorec.ico"
+
+//CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST MOVEABLE PURE "../win/qphotorec_win.exe.manifest"
+1 24 "../win/qphotorec_win.exe.manifest"
+
+1 VERSIONINFO
+FILEVERSION 6, 14, 0, 0
+PRODUCTVERSION 6, 14, 0, 0
+FILEFLAGSMASK 0x3f
+FILEOS 0x4
+FILETYPE 0x1
+BEGIN
+ BLOCK "StringFileInfo"
+ BEGIN
+ BLOCK "040904E4"
+ BEGIN
+ VALUE "CompanyName", "CGSecurity"
+ VALUE "ProductName", "PhotoRec"
+ VALUE "FileDescription", "PhotoRec"
+ VALUE "InternalName", "PhotoRec"
+ VALUE "OriginalFilename", "qphotorec_win.exe"
+ VALUE "Comments", "Signature based file recovery utility"
+ VALUE "FileVersion", "6.14"
+ VALUE "ProductVersion", "6.14"
+ VALUE "LegalCopyright", "Copyright (C) 2013"
+ END
+ END
+ BLOCK "VarFileInfo"
+ BEGIN
+ /* Once again -- same meanings -- apparently necessary */
+ VALUE "Translation", 0x0409, 0x04E4
+ END
+END
diff --git a/src/icon_tst.rc b/src/icon_tst.rc
index 90015a4..170f2c6 100644
--- a/src/icon_tst.rc
+++ b/src/icon_tst.rc
@@ -22,7 +22,7 @@ BEGIN
VALUE "Comments", "Partition and file recovery utility"
VALUE "FileVersion", "6.14"
VALUE "ProductVersion", "6.14"
- VALUE "LegalCopyright", "Copyright (C) 2012"
+ VALUE "LegalCopyright", "Copyright (C) 2013"
END
END
BLOCK "VarFileInfo"