summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-08-29 12:10:09 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-08-29 12:10:09 +0000
commitdf65bdac78ac74d52511035d8027cb19614182b1 (patch)
tree3767f5849a4c81790eb79828b5925b1efd57d9cd /media-sound/canorus/files
parentVersion bump. (diff)
downloadgentoo-2-df65bdac78ac74d52511035d8027cb19614182b1.tar.gz
gentoo-2-df65bdac78ac74d52511035d8027cb19614182b1.tar.bz2
gentoo-2-df65bdac78ac74d52511035d8027cb19614182b1.zip
Initial commit wrt #157501, thanks to multiple committers.
(Portage version: 2.2_rc40/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/canorus/files')
-rw-r--r--media-sound/canorus/files/0.7_p1002-desktop_entry.patch17
-rw-r--r--media-sound/canorus/files/0.7_p1002-sandbox.patch27
2 files changed, 44 insertions, 0 deletions
diff --git a/media-sound/canorus/files/0.7_p1002-desktop_entry.patch b/media-sound/canorus/files/0.7_p1002-desktop_entry.patch
new file mode 100644
index 000000000000..916ba4c91834
--- /dev/null
+++ b/media-sound/canorus/files/0.7_p1002-desktop_entry.patch
@@ -0,0 +1,17 @@
+--- canorus.desktop.orig 2009-08-29 14:12:20.000000000 +0300
++++ canorus.desktop 2009-08-29 14:12:54.000000000 +0300
+@@ -1,5 +1,4 @@
+ [Desktop Entry]
+-Encoding=UTF-8
+ Name=Canorus
+ GenericName=Music score editor
+ GenericName[sl]=Program za pisanje not
+@@ -9,6 +8,6 @@
+ Icon=canorus
+ Terminal=false
+ Type=Application
+-Categories=Application;AudioVideo;
++Categories=AudioVideo;
+ StartupNotify=true
+-MimeType=application/x-notes
++MimeType=application/x-notes;
diff --git a/media-sound/canorus/files/0.7_p1002-sandbox.patch b/media-sound/canorus/files/0.7_p1002-sandbox.patch
new file mode 100644
index 000000000000..95a54d7c3a59
--- /dev/null
+++ b/media-sound/canorus/files/0.7_p1002-sandbox.patch
@@ -0,0 +1,27 @@
+diff -ur canorus-0.7.R1002.orig/CMakeLists.txt canorus-0.7.R1002/CMakeLists.txt
+--- canorus-0.7.R1002.orig/CMakeLists.txt 2009-03-27 12:27:02.000000000 +0200
++++ canorus-0.7.R1002/CMakeLists.txt 2009-08-29 14:07:19.000000000 +0300
+@@ -68,7 +68,7 @@
+ ENDIF (NOT CMAKE_INSTALL_PREFIX)
+ SET(CANORUS_INSTALL_DATA_DIR "share/canorus")
+ SET(CANORUS_INSTALL_BIN_DIR "bin")
+- SET(CANORUS_INSTALL_LIB_DIR "lib")
++ SET(CANORUS_INSTALL_LIB_DIR "lib${LIB_SUFFIX}")
+ ENDIF(APPLE)
+ ENDIF(MINGW)
+
+diff -ur canorus-0.7.R1002.orig/src/CMakeLists.txt canorus-0.7.R1002/src/CMakeLists.txt
+--- canorus-0.7.R1002.orig/src/CMakeLists.txt 2009-03-27 12:25:52.000000000 +0200
++++ canorus-0.7.R1002/src/CMakeLists.txt 2009-08-29 14:06:43.000000000 +0300
+@@ -685,8 +685,8 @@
+ # Install fonts
+ INSTALL(FILES ${Canorus_Fonts} DESTINATION "${CMAKE_INSTALL_PREFIX}/${CANORUS_INSTALL_DATA_DIR}/fonts")
+ # Install users manual, if it exists
+-INSTALL(CODE "FILE(MAKE_DIRECTORY ${CMAKE_INSTALL_PREFIX}/${CANORUS_INSTALL_DATA_DIR}/doc)")
+-INSTALL(CODE "FILE(MAKE_DIRECTORY ${CMAKE_INSTALL_PREFIX}/${CANORUS_INSTALL_DATA_DIR}/doc/usersguide)")
++INSTALL(CODE "FILE(MAKE_DIRECTORY \$ENV{DESTDIR}/${CMAKE_INSTALL_PREFIX}/${CANORUS_INSTALL_DATA_DIR}/doc)")
++INSTALL(CODE "FILE(MAKE_DIRECTORY \$ENV{DESTDIR}/${CMAKE_INSTALL_PREFIX}/${CANORUS_INSTALL_DATA_DIR}/doc/usersguide)")
+ FILE(GLOB Canorus_Usersguide RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} ../doc/usersguide/*.qhc ../doc/usersguide/*.qch)
+ INSTALL(FILES ${Canorus_Usersguide} DESTINATION "${CMAKE_INSTALL_PREFIX}/${CANORUS_INSTALL_DATA_DIR}/doc/usersguide")
+
+Only in canorus-0.7.R1002/src: CMakeLists.txt.orig