Version bump to 1.0.1, add few missing dependencies.
authorTomas Chvatal <scarabeus@gentoo.org>
Thu, 11 Aug 2011 09:30:31 +0000 (09:30 +0000)
committerTomas Chvatal <scarabeus@gentoo.org>
Thu, 11 Aug 2011 09:30:31 +0000 (09:30 +0000)
Package-Manager: portage-2.2.0_alpha50/cvs/Linux x86_64

media-gfx/graphite2/ChangeLog
media-gfx/graphite2/Manifest
media-gfx/graphite2/files/graphite2-disablefonttest.patch [deleted file]
media-gfx/graphite2/files/graphite2-fix-nostdlib.patch [deleted file]
media-gfx/graphite2/files/graphite2-fix_wrong_linker_opts.patch
media-gfx/graphite2/files/graphite2-includes-libs-perl.patch
media-gfx/graphite2/files/graphite2-multilib-strict.patch [deleted file]
media-gfx/graphite2/graphite2-1.0.1.ebuild [moved from media-gfx/graphite2/graphite2-0.9.4-r1.ebuild with 85% similarity]

index a2306514801a2ba6cf77f09791ab101bf57c1a49..2c723b7f791aee8c9335383eca90d39611f498fb 100644 (file)
@@ -1,6 +1,15 @@
 # ChangeLog for media-gfx/graphite2
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphite2/ChangeLog,v 1.8 2011/07/29 11:11:10 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphite2/ChangeLog,v 1.9 2011/08/11 09:30:31 scarabeus Exp $
+
+*graphite2-1.0.1 (11 Aug 2011)
+
+  11 Aug 2011; Tomáš Chvátal <scarabeus@gentoo.org>
+  -files/graphite2-disablefonttest.patch, -files/graphite2-fix-nostdlib.patch,
+  -files/graphite2-multilib-strict.patch,
+  files/graphite2-fix_wrong_linker_opts.patch, -graphite2-0.9.4-r1.ebuild,
+  files/graphite2-includes-libs-perl.patch, +graphite2-1.0.1.ebuild:
+  Version bump to 1.0.1, add few missing dependencies.
 
   29 Jul 2011; Tomáš Chvátal <scarabeus@gentoo.org>
   +files/graphite2-fix_wrong_linker_opts.patch, graphite2-0.9.4-r1.ebuild:
index 3bb7be99396ead8d394016175b8c36eb3ae7dc1f..647ffec5d486a491a954d0c3e3dc33dbf7b28afc 100644 (file)
@@ -1,19 +1,16 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
-AUX graphite2-disablefonttest.patch 3239 RMD160 05de65868555648df40abd219f18855d24440ffe SHA1 4ae5238eaf376ac362e0e70c6f5ba5eded404b3f SHA256 4f216133001c45c0748f870fdfb2afce03be3369409ff63717edecec7b5f2e9d
-AUX graphite2-fix-nostdlib.patch 1712 RMD160 640485f64d16c199cc73e0be6d3fa96c8d74027f SHA1 3a6af85969dca25a6202fe6f3b3443a45e83729e SHA256 2b8844ccba51943d541acfd68c0bdb7f5836b470e775b4d92efbb59d362e1ef7
-AUX graphite2-fix_wrong_linker_opts.patch 780 RMD160 10f7e7f1823aae7d76216a8925964c2f9fd248b0 SHA1 5b7a0c965fcfe5a03d977ea35eaca49fab83a1f7 SHA256 11700f6e36e485fd0fcc98e1930fee79b14afaa0d31f614177639211ab35e1ae
-AUX graphite2-includes-libs-perl.patch 536 RMD160 ae964c2aacd8a8d6383b25c1f045fe4771558b09 SHA1 9209a91a11f3e9feb6fd3a449b85d8d1b185788f SHA256 84a1bff6793b9fd49268b9e5927ac249e960d34cac119fe17b8cf35032c9f11b
-AUX graphite2-multilib-strict.patch 1190 RMD160 09079fa143c030621ea2d013baa2491335c780ac SHA1 1f40393332628e3feaa473a238e5fc762f437d14 SHA256 c6a7eb3b6f500ef27808cb90287b4e183ac4acf13a47832da7d484bebca8a2a4
-DIST graphite2-0.9.4.tgz 3548861 RMD160 6181dd3ecc9741f36255cc431a630243fc7c90cb SHA1 bf7c359c5338b8e0ea54a72985c6c9adb16f6fb8 SHA256 75ea41360ddf0d84364a790c0494708a4e14643915ad517309d330ceb34b60ee
-EBUILD graphite2-0.9.4-r1.ebuild 1656 RMD160 52052c25dbd1562fe36f9e66c2547452eb755086 SHA1 9b1bc0d093315d522fafb45009f780842a67fc77 SHA256 b08c7cef0e85256cf7b568020b61a9c77022176ef52ad4d0e9cae72b65ef28c2
-MISC ChangeLog 1669 RMD160 e61ece2720a6e4661815d1782f6d2bd332b39908 SHA1 2b0274e252dbc7f1a43adc6f47d6f9dec115c0f8 SHA256 0c2d1d1acd7f7afb3c79a0141fdae4e9ac589906cff217edb7a0c0f240e4ac67
+AUX graphite2-fix_wrong_linker_opts.patch 1156 RMD160 d833b7173ac49f70bd9d8fbba2b0fd7117d0e531 SHA1 6be0c6b8892bd902a8a8b105217fb76f4632095e SHA256 9830a775fb2324105280b8b8ee3814ab5a5cc134c29d72825f8582d264a8ed9c
+AUX graphite2-includes-libs-perl.patch 552 RMD160 a90152c78e8776dd3dd90517483a369e0a9f647e SHA1 184a711d99e4704db3fd54ace42e2165c22ca90e SHA256 b6de707da6c697179ac1e7a390a68461af8292db774c7b7dfaec85644574e349
+DIST graphite2-1.0.1.tgz 4351585 RMD160 0cf416d184577913d3173c7386c63c58ee2594d6 SHA1 1330d1fba79363c1a20d389a4eb4fd241097867c SHA256 f8ff6dfe5add45a2b140a0f339dadd6b77bb3da970c2762864e3cda9a0ccfad2
+EBUILD graphite2-1.0.1.ebuild 1604 RMD160 f7faeee2f8370c47f1171c892dd048fafbf245ce SHA1 a09f3293aa2505dd69bfeace4a7f86cdd94dc0f5 SHA256 25e76843e1a481d09c0038d98485d490992dae69d7e52646b16ba93e175e3278
+MISC ChangeLog 2077 RMD160 cec388a5511e4159568e232725d2698c36e84793 SHA1 40ebbd8b69fb6ce287ce636d5e5287d349fa8661 SHA256 4bb4174ef2138942a9e7e32e5532156b25be63fa2fc56f20fb3d565fc8581add
 MISC metadata.xml 163 RMD160 68888b3756b2cf14b88ff5aa31e4fd07c9cc9713 SHA1 bd3e6fae69f40f453bc382ae8f1a7644a590a9cc SHA256 4539da09a369d01dcec488c471eeaaef71b60686482101eba357344538e994e2
 -----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.17 (GNU/Linux)
+Version: GnuPG v2.0.18 (GNU/Linux)
 
-iEYEARECAAYFAk4ylUkACgkQHB6c3gNBRYdMdgCgpV6XaUc8ocTcjgYIbwOOuGdS
-HUAAn3PJC8dokqF92M90PJ+DrnqMVpRX
-=ukmi
+iEYEARECAAYFAk5DoUEACgkQHB6c3gNBRYdrXgCeNbnrAay+oMNm0Yi/ft/P5+kl
+MHMAoKo9YsH6gaEBw+NQEpto3Gr+aD4J
+=ObpY
 -----END PGP SIGNATURE-----
diff --git a/media-gfx/graphite2/files/graphite2-disablefonttest.patch b/media-gfx/graphite2/files/graphite2-disablefonttest.patch
deleted file mode 100644 (file)
index 7fafea1..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
---- graphite2-0.9.4.orig/tests/CMakeLists.txt
-+++ graphite2-0.9.4/tests/CMakeLists.txt
-@@ -31,28 +31,6 @@ macro(fonttest TESTNAME FONTFILE)
- #    add_custom_target(${TESTNAME} DEPENDS ${TESTNAME}.xml)
- endmacro(fonttest)
- 
--fonttest(padauk1 Padauk.ttf 1015 102F 100F 1039 100F 1031 1038)
--fonttest(padauk2 Padauk.ttf 1000 103C 102D 102F)
--fonttest(padauk3 Padauk.ttf 101e 1004 103a 1039 1001 103b 102d 102f 1004 103a 1038)
--fonttest(padauk4 Padauk.ttf 1005 1000 1039 1000 1030)
--fonttest(padauk5 Padauk.ttf 1000 103c 1031 102c 1004 1037 103a)
--fonttest(padauk6 Padauk.ttf 1000 102D 1005 1039 1006 102C)
--# padauk7 can cause an infinite loop, though the text is miss-spelt
--fonttest(padauk7 Padauk.ttf 1017 1014 103c 103d 102f)
--fonttest(padauk8 Padauk.ttf 1004 103A 1039 1005)
--fonttest(padauk9 Padauk.ttf 1004 103A 1039)
--fonttest(padauk10 Padauk.ttf 1004 103D 1000 103A -feat kdot=1,wtri=1)
--fonttest(padauk11 Padauk.ttf 100B 1039 100C 1031 102C)
--fonttest(charis1 charis_r_gr.ttf 0069 02E6 02E8 02E5)
--fonttest(scher1 Scheherazadegr.ttf 0628 0628 064E 0644 064E 0654 0627 064E -rtl)
--fonttest(scher2 Scheherazadegr.ttf 0627 0644 0625 0639 0644 0627 0646 -rtl)
--fonttest(charis2 charis_r_gr.ttf 1D510 0041 1D513)
--fonttest(charis3 charis_r_gr.ttf 0054 0069 1ec3 0075 -feat 'lang=vie')
--fonttest(charis4 charis_r_gr.ttf 006b 0361 070)
--fonttest(magyar1 MagyarLinLibertineG.ttf 0031 0035 -feat 210=36)
--fonttest(magyar2 MagyarLinLibertineG.ttf 0031 0030 -feat 210=200)
--fonttest(magyar3 MagyarLinLibertineG.ttf 0066 0069 0066 0074 0079 002d 0066 0069 0076 0065 -feat 209=3)
--
- macro(feattest TESTNAME FONTFILE)
-     if (EXISTS ${PROJECT_SOURCE_DIR}/standards/${TESTNAME}${CMAKE_SYSTEM_NAME}.log)
-         set(PLATFORM_TEST_SUFFIX ${CMAKE_SYSTEM_NAME})
-@@ -65,6 +43,3 @@ macro(feattest TESTNAME FONTFILE)
- #    add_custom_target(${TESTNAME} DEPENDS ${TESTNAME}.xml)
- endmacro(feattest)
- 
--feattest(padauk_feat Padauk.ttf)
--feattest(charis_feat charis_r_gr.ttf)
--feattest(scher_feat Scheherazadegr.ttf)
---- graphite2-0.9.4.orig/tests/comparerenderer/CMakeLists.txt
-+++ graphite2-0.9.4/tests/comparerenderer/CMakeLists.txt
-@@ -123,11 +123,8 @@ macro(comparetest TESTNAME FONTFILE TEXT
-     endif (${GR_FOUND})
- endmacro(comparetest)
- 
--comparetest(charis charis_r_gr.ttf udhr_eng.txt)
- comparetest(padauk Padauk.ttf my_HeadwordSyllables.txt)
- comparetest(padauk_ulon Padauk.ttf my_HeadwordSyllables.txt --features ulon=1)
--comparetest(charis_yor charis_r_gr.ttf udhr_yor.txt)
--comparetest(piglatin PigLatinBenchmark_v3.ttf udhr_eng.txt)
- # comparerenderer needs a bidi algorithm before it can run this test
- # comparetest(scheherazade_arb Scheherazadegr.ttf udhr_arb.txt --rtl)
- 
---- graphite2-0.9.4.orig/tests/examples/CMakeLists.txt
-+++ graphite2-0.9.4/tests/examples/CMakeLists.txt
-@@ -29,4 +29,3 @@ endmacro(test_example)
- test_example(simple simple.c ${PROJECT_SOURCE_DIR}/../fonts/Padauk.ttf "Hello World!")
- test_example(features features.c ${PROJECT_SOURCE_DIR}/../fonts/Padauk.ttf)
- test_example(clusters cluster.c ${PROJECT_SOURCE_DIR}/../fonts/Padauk.ttf "စက္ခုန္ဒြေ")
--test_example(linebreak linebreak.c ${PROJECT_SOURCE_DIR}/../fonts/charis_r_gr.ttf 120 "This is a long test line that goes on and on and on")
diff --git a/media-gfx/graphite2/files/graphite2-fix-nostdlib.patch b/media-gfx/graphite2/files/graphite2-fix-nostdlib.patch
deleted file mode 100644 (file)
index 7b7c80b..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-diff --git a/gr2fonttest/CMakeLists.txt b/gr2fonttest/CMakeLists.txt
-index 4e11217..89f97e4 100644
---- a/gr2fonttest/CMakeLists.txt
-+++ b/gr2fonttest/CMakeLists.txt
-@@ -45,7 +45,7 @@ endif (${CMAKE_SYSTEM_NAME} STREQUAL "Windows")
- if  (${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
-     # -lgcc LINKER_LANGUAGE C
-     add_definitions(-fno-rtti -fno-exceptions)
--    set_target_properties(gr2fonttest PROPERTIES LINK_FLAGS "-nostdlibs -nodefaultlibs" )
-+    set_target_properties(gr2fonttest PROPERTIES LINK_FLAGS "-nostdlib -nodefaultlibs" )
-     set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "")
-     # This script just fails
-     nolib_test(stdc++ $<TARGET_FILE:gr2fonttest>)
-diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
-index 9c31e35..775a83b 100644
---- a/src/CMakeLists.txt
-+++ b/src/CMakeLists.txt
-@@ -164,9 +164,9 @@ set_target_properties(graphite2 PROPERTIES LT_VERSION_AGE ${GRAPHITE_API_AGE})
- if  (${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
-     add_definitions(-Wall -Wno-unknown-pragmas -Wparentheses -Wextra -Wendif-labels
-      -Wshadow -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -fdiagnostics-show-option
--     -fno-rtti -fno-exceptions -nodefaultlibs -nostdlibs
-+     -fno-rtti -fno-exceptions -nodefaultlibs -nostdlib
-      -fvisibility=hidden -fvisibility-inlines-hidden -fno-stack-protector)
--    set_target_properties(graphite2 PROPERTIES LINK_FLAGS "-nostdlibs -nodefaultlibs" LINKER_LANGUAGE C)
-+    set_target_properties(graphite2 PROPERTIES LINK_FLAGS "-nostdlib -nodefaultlibs" LINKER_LANGUAGE C)
-     if (${CMAKE_CXX_COMPILER} MATCHES  ".*mingw.*")
-         target_link_libraries(graphite2 "-lkernel32 -lmsvcr90 -lmingw32 -lgcc -luser32")
-     else (${CMAKE_CXX_COMPILER} MATCHES  ".*mingw.*")
index 233995647ce3f81cb62c98245b00da4b8c4dd08a..77d1206e7bd3ba3c6d664cc07c3d875c2cb74ae5 100644 (file)
@@ -1,11 +1,18 @@
-diff -urN graphite2-0.9.4.old/src/CMakeLists.txt graphite2-0.9.4/src/CMakeLists.txt
---- graphite2-0.9.4.old/src/CMakeLists.txt     2011-07-29 12:53:36.000000000 +0200
-+++ graphite2-0.9.4/src/CMakeLists.txt 2011-07-29 13:06:18.000000000 +0200
-@@ -166,7 +166,6 @@
+diff -urN graphite2-1.0.1.old/src/CMakeLists.txt graphite2-1.0.1/src/CMakeLists.txt
+--- graphite2-1.0.1.old/src/CMakeLists.txt     2011-08-11 10:57:24.737639566 +0200
++++ graphite2-1.0.1/src/CMakeLists.txt 2011-08-11 10:57:47.880350242 +0200
+@@ -103,7 +103,6 @@
       -Wshadow -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -fdiagnostics-show-option
-      -fno-rtti -fno-exceptions -nodefaultlibs -nostdlib
+      -fno-rtti -fno-exceptions -nodefaultlibs
       -fvisibility=hidden -fvisibility-inlines-hidden -fno-stack-protector)
--    set_target_properties(graphite2 PROPERTIES LINK_FLAGS "-nostdlib -nodefaultlibs" LINKER_LANGUAGE C)
+-    set_target_properties(graphite2 PROPERTIES LINK_FLAGS "-nodefaultlibs" LINKER_LANGUAGE C)
      if (${CMAKE_CXX_COMPILER} MATCHES  ".*mingw.*")
          target_link_libraries(graphite2 "-lkernel32 -lmsvcr90 -lmingw32 -lgcc -luser32")
      else (${CMAKE_CXX_COMPILER} MATCHES  ".*mingw.*")
+@@ -121,4 +120,4 @@
+ 
+ 
+ install(TARGETS graphite2 EXPORT graphite2 LIBRARY DESTINATION lib${LIB_SUFFIX} ARCHIVE DESTINATION lib${LIB_SUFFIX} PUBLIC_HEADER DESTINATION include/graphite2 RUNTIME DESTINATION bin)
+-install(EXPORT graphite2 DESTINATION share/graphite2 NAMESPACE gr2_)
+\ Chybí znak konce řádku na konci souboru
++install(EXPORT graphite2 DESTINATION share/graphite2 NAMESPACE gr2_)
index f549f5bd424ee918482303ba4d46adbdd8e1751e..b0fef4d1e62ebf75535aa55e7f6d77a08bc4e0e9 100644 (file)
@@ -1,5 +1,5 @@
---- graphite2-0.9.3.orig/perl/Build.PL
-+++ graphite2-0.9.3/perl/Build.PL
+--- graphite2-0.9.3.orig/contrib/perl/Build.PL
++++ graphite2-0.9.3/contrib/perl/Build.PL
 @@ -8,8 +8,8 @@ my $builder = Module::Build->new(
      dist_author         => 'Simon Cozens <simon@cpan.org>',
      dist_version_from   => 'lib/Text/Graphite2.pm',
diff --git a/media-gfx/graphite2/files/graphite2-multilib-strict.patch b/media-gfx/graphite2/files/graphite2-multilib-strict.patch
deleted file mode 100644 (file)
index 66d849a..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-diff -urN graphite2-0.9.4.old/CMakeLists.txt graphite2-0.9.4/CMakeLists.txt
---- graphite2-0.9.4.old/CMakeLists.txt 2011-07-27 17:45:26.000000000 +0200
-+++ graphite2-0.9.4/CMakeLists.txt     2011-07-27 17:48:30.000000000 +0200
-@@ -68,5 +68,5 @@
- 
- configure_file(graphite2.pc.in graphite2.pc)
- 
--install(FILES ${PROJECT_BINARY_DIR}/graphite2.pc DESTINATION lib/pkgconfig)
-+install(FILES ${PROJECT_BINARY_DIR}/graphite2.pc DESTINATION lib${LIB_SUFFIX}/pkgconfig)
- 
-diff -urN graphite2-0.9.4.old/src/CMakeLists.txt graphite2-0.9.4/src/CMakeLists.txt
---- graphite2-0.9.4.old/src/CMakeLists.txt     2011-07-27 17:45:26.000000000 +0200
-+++ graphite2-0.9.4/src/CMakeLists.txt 2011-07-27 17:48:04.000000000 +0200
-@@ -182,6 +182,6 @@
- endif (${CMAKE_SYSTEM_NAME} STREQUAL "Windows")
- 
- 
--install(TARGETS graphite2 EXPORT graphite2 LIBRARY DESTINATION lib ARCHIVE DESTINATION lib PUBLIC_HEADER DESTINATION include/graphite2 RUNTIME DESTINATION bin)
-+install(TARGETS graphite2 EXPORT graphite2 LIBRARY DESTINATION lib${LIB_SUFFIX} ARCHIVE DESTINATION lib${LIB_SUFFIX} PUBLIC_HEADER DESTINATION include/graphite2 RUNTIME DESTINATION bin)
- install(EXPORT graphite2 DESTINATION share/graphite2 NAMESPACE gr2_)
- 
similarity index 85%
rename from media-gfx/graphite2/graphite2-0.9.4-r1.ebuild
rename to media-gfx/graphite2/graphite2-1.0.1.ebuild
index 98dd8108efbf0d9dd0c4e25e0360394e0bf9b6fb..1f6074dac0701292813ea047a665cc14e55ba438 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphite2/graphite2-0.9.4-r1.ebuild,v 1.5 2011/07/29 11:11:10 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphite2/graphite2-1.0.1.ebuild,v 1.1 2011/08/11 09:30:31 scarabeus Exp $
 
 EAPI=4
 
@@ -18,6 +18,8 @@ IUSE="perl"
 RDEPEND="
        dev-libs/glib:2
        media-libs/fontconfig
+       media-libs/harfbuzz
+       media-libs/silgraphite
        perl? ( dev-lang/perl )
 "
 DEPEND="${RDEPEND}
@@ -26,9 +28,6 @@ DEPEND="${RDEPEND}
 
 PATCHES=(
        "${FILESDIR}/${PN}-includes-libs-perl.patch"
-       "${FILESDIR}/${PN}-disablefonttest.patch"
-       "${FILESDIR}/${PN}-multilib-strict.patch"
-       "${FILESDIR}/${PN}-fix-nostdlib.patch"
        "${FILESDIR}/${PN}-fix_wrong_linker_opts.patch"
 )
 
@@ -44,7 +43,7 @@ src_prepare() {
                _check_build_dir init
                sed -i \
                        -e "s:@BUILD_DIR@:\"${CMAKE_BUILD_DIR}/src\":" \
-                       perl/Build.PL || die
+                       contrib/perl/Build.PL || die
        fi
 }
 
@@ -59,7 +58,7 @@ src_configure() {
 src_compile() {
        cmake-utils_src_compile
        if use perl; then
-               cd perl
+               cd contrib/perl
                perl-module_src_prep
                perl-module_src_compile
        fi
@@ -68,7 +67,7 @@ src_compile() {
 src_test() {
        cmake-utils_src_test
        if use perl; then
-               cd perl
+               cd contrib/perl
                perl-module_src_test
        fi
 }
@@ -76,7 +75,7 @@ src_test() {
 src_install() {
        cmake-utils_src_install
        if use perl; then
-               cd perl
+               cd contrib/perl
                perl-module_src_install
                fixlocalpod
        fi