updated on Tue Jan 10 00:10:07 UTC 2012
[aur-mirror.git] / qyzis / qyzis-1.0_alpha1.diff
blob3eadea9ff073b776ab53eb7052a0a97f58e6ea2a
1 diff -Naur yzis-1.0-alpha1.old/CMakeLists.txt yzis-1.0-alpha1/CMakeLists.txt
2 --- yzis-1.0-alpha1.old/CMakeLists.txt 2008-12-25 03:09:55.000000000 -0600
3 +++ yzis-1.0-alpha1/CMakeLists.txt 2008-12-25 03:09:58.000000000 -0600
4 @@ -141,7 +141,7 @@
5 # define some variables
7 if (NOT APPLNK_INSTALL_DIR)
8 - set(APPLNK_INSTALL_DIR share/applnk)
9 + set(APPLNK_INSTALL_DIR share/applications)
10 endif (NOT APPLNK_INSTALL_DIR)
12 if (NOT ICON_INSTALL_DIR)
13 diff -Naur yzis-1.0-alpha1.old/libyzis/debug.cpp yzis-1.0-alpha1/libyzis/debug.cpp
14 --- yzis-1.0-alpha1.old/libyzis/debug.cpp 2008-12-25 03:09:55.000000000 -0600
15 +++ yzis-1.0-alpha1/libyzis/debug.cpp 2008-12-25 03:09:58.000000000 -0600
16 @@ -112,14 +112,17 @@
17 #ifdef DEBUG
18 _level = YZ_DEBUG_LEVEL;
19 #else
20 - _level = YZ_WARNING_LEVEL;
21 + _level = YZ_FATAL_LEVEL;
22 #endif
24 + /*
25 #ifndef YZIS_WIN32_GCC
26 setDebugOutput( "/tmp/yzisdebug-" + QString(getpwuid(geteuid())->pw_name) + ".log" );
27 #else
28 setDebugOutput( "/tmp/yzisdebug.log" );
29 #endif
30 + */
31 + setDebugOutput( "stderr" );
33 // our message handler does not manage to display all messages. So,
34 // it is better left off disabled at the moment. The last one gets lost
35 diff -Naur yzis-1.0-alpha1.old/qyzis/CMakeLists.txt yzis-1.0-alpha1/qyzis/CMakeLists.txt
36 --- yzis-1.0-alpha1.old/qyzis/CMakeLists.txt 2008-12-25 03:09:55.000000000 -0600
37 +++ yzis-1.0-alpha1/qyzis/CMakeLists.txt 2008-12-25 03:09:58.000000000 -0600
38 @@ -70,5 +70,5 @@
39 target_link_libraries(qyzis ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} yzis )
41 ########### install files ###############
42 -install( FILES qyzis.desktop DESTINATION ${APPLNK_INSTALL_DIR}/Editors )
43 +install( FILES qyzis.desktop DESTINATION ${APPLNK_INSTALL_DIR} )
45 diff -Naur yzis-1.0-alpha1.old/qyzis/pics/CMakeLists.txt yzis-1.0-alpha1/qyzis/pics/CMakeLists.txt
46 --- yzis-1.0-alpha1.old/qyzis/pics/CMakeLists.txt 2008-12-25 03:09:55.000000000 -0600
47 +++ yzis-1.0-alpha1/qyzis/pics/CMakeLists.txt 2008-12-25 03:09:58.000000000 -0600
48 @@ -5,6 +5,7 @@
49 foreach(dimension 16 32 64 128)
50 install(FILES cr${dimension}-app-qyzis.png DESTINATION ${ICON_INSTALL_DIR}/hicolor/${dimension}x${dimension}/apps RENAME qyzis.png)
51 endforeach(dimension)
52 + install(FILES cr64-app-qyzis.png DESTINATION /usr/share/pixmaps RENAME qyzis.png)
53 endif (KDE4_FOUND)
55 if (APPLE)
56 diff -Naur yzis-1.0-alpha1.old/qyzis/qyzis.desktop yzis-1.0-alpha1/qyzis/qyzis.desktop
57 --- yzis-1.0-alpha1.old/qyzis/qyzis.desktop 2008-12-25 03:09:55.000000000 -0600
58 +++ yzis-1.0-alpha1/qyzis/qyzis.desktop 2008-12-25 03:10:23.000000000 -0600
59 @@ -1,11 +1,11 @@
60 [Desktop Entry]
61 -Encoding=UTF-8
62 +Version=1.0
63 Name=Qyzis
64 Exec=qyzis %u
65 Icon=qyzis
66 Type=Application
67 DocPath=qyzis/qyzis.html
68 -GenericName=Yzis Frontend for Qt
69 -Terminal=0
70 -Categories=Qt;TextEditor
71 +GenericName=A Qt interface to yzis
72 +Terminal=false
73 +Categories=Qt;Utility;TextEditor;
74 MimeType=text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/rdf;