pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/FlightCrew Import FlightCrew-0.7.1 as textpro...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/88e3772a019f
branches:  trunk
changeset: 590933:88e3772a019f
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Fri Jul 29 19:32:18 2011 +0000

description:
Import FlightCrew-0.7.1 as textproc/FlightCrew from wip/FlightCrew

FlightCrew is a C++, cross-platform, native code epub validator.
It is composed of three parts:

* FlightCrew, the validation library;
* FlightCrew-cli, the command-line front-end to the FlightCrew library;
* FlightCrew-gui, the GUI front-end to the FlightCrew library;

diffstat:

 textproc/FlightCrew/DESCR                                             |   6 +
 textproc/FlightCrew/Makefile                                          |  37 ++++++++++
 textproc/FlightCrew/PLIST                                             |   3 +
 textproc/FlightCrew/distinfo                                          |   7 +
 textproc/FlightCrew/patches/patch-CMakeLists.txt                      |  23 ++++++
 textproc/FlightCrew/patches/patch-src_FlightCrew_tests_CMakeLists.txt |  15 ++++
 6 files changed, 91 insertions(+), 0 deletions(-)

diffs (115 lines):

diff -r 959d9af0d15c -r 88e3772a019f textproc/FlightCrew/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/FlightCrew/DESCR Fri Jul 29 19:32:18 2011 +0000
@@ -0,0 +1,6 @@
+FlightCrew is a C++, cross-platform, native code epub validator.
+It is composed of three parts:
+
+* FlightCrew, the validation library;
+* FlightCrew-cli, the command-line front-end to the FlightCrew library;
+* FlightCrew-gui, the GUI front-end to the FlightCrew library;
diff -r 959d9af0d15c -r 88e3772a019f textproc/FlightCrew/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/FlightCrew/Makefile      Fri Jul 29 19:32:18 2011 +0000
@@ -0,0 +1,37 @@
+# $NetBSD: Makefile,v 1.1.1.1 2011/07/29 19:32:18 ryoon Exp $
+#
+
+DISTNAME=      FlightCrew-0.7.1-Code
+PKGNAME=       ${DISTNAME:S/-Code//}
+CATEGORIES=    textproc
+MASTER_SITES=  http://flightcrew.googlecode.com/files/
+EXTRACT_SUFX=  .zip
+
+MAINTAINER=    ryoon%NetBSD.org@localhost
+HOMEPAGE=      http://code.google.com/p/flightcrew/
+COMMENT=       EPUB validator
+LICENSE=       gnu-lgpl-v3 AND cc-by-sa-v3.0
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+USE_LANGUAGES= c c++
+USE_CMAKE=     yes
+
+BUILDLINK_TRANSFORM+=  l:BoostParts:boost_date_time:boost_filesystem:boost_regex:boost_system:boost_thread:boost_program_options
+BUILDLINK_TRANSFORM+=  l:Xerces:xerces-c
+BUILDLINK_TRANSFORM+=  l:zlib:z
+
+SUBST_CLASSES+=                        fix-damaged
+SUBST_STAGE.fix-damaged=       pre-patch
+SUBST_MESSAGE.fix-damaged=     fixing
+SUBST_FILES.fix-damaged=       src/FlightCrew/tests/misc_tests/ConvertUtf8PathToBoostPath_test.cpp
+SUBST_SED.fix-damaged+=                -e "2,2s/^/\//" # commented-out
+SUBST_SED.fix-damaged+=                -e "1,1d" # deleted
+
+.include "../../devel/googletest/buildlink3.mk"
+.include "../../devel/gmock/buildlink3.mk"
+.include "../../textproc/xerces-c/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../devel/boost-libs/buildlink3.mk"
+.include "../../x11/qt4-tools/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 959d9af0d15c -r 88e3772a019f textproc/FlightCrew/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/FlightCrew/PLIST Fri Jul 29 19:32:18 2011 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2011/07/29 19:32:18 ryoon Exp $
+bin/flightcrew-cli
+bin/flightcrew-gui
diff -r 959d9af0d15c -r 88e3772a019f textproc/FlightCrew/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/FlightCrew/distinfo      Fri Jul 29 19:32:18 2011 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2011/07/29 19:32:18 ryoon Exp $
+
+SHA1 (FlightCrew-0.7.1-Code.zip) = fda658c25b5991caa6a912d5f4198f0222bc1466
+RMD160 (FlightCrew-0.7.1-Code.zip) = 591f25e8f7631a381f4a00cc1e63d6974d27df86
+Size (FlightCrew-0.7.1-Code.zip) = 7738824 bytes
+SHA1 (patch-CMakeLists.txt) = 8423ab7b53fad354e04fdfd159b070a8f8bf61f9
+SHA1 (patch-src_FlightCrew_tests_CMakeLists.txt) = a505955df3d6d1901f0a331311fa401ba9fec3ba
diff -r 959d9af0d15c -r 88e3772a019f textproc/FlightCrew/patches/patch-CMakeLists.txt
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/FlightCrew/patches/patch-CMakeLists.txt  Fri Jul 29 19:32:18 2011 +0000
@@ -0,0 +1,23 @@
+$NetBSD: patch-CMakeLists.txt,v 1.1.1.1 2011/07/29 19:32:18 ryoon Exp $
+
+* Use external boost, xerces-c, zlib, and gmock.
+
+--- CMakeLists.txt.orig        2010-11-11 10:05:50.000000000 +0000
++++ CMakeLists.txt
+@@ -42,12 +42,12 @@ set( CMAKE_OSX_SYSROOT "/Developer/SDKs/
+ set( CMAKE_OSX_ARCHITECTURES "i386;x86_64" )
+ 
+ # The parsing order is significant!
+-add_subdirectory( src/BoostParts )
+-add_subdirectory( src/Xerces )
++#add_subdirectory( src/BoostParts )
++#add_subdirectory( src/Xerces )
+ add_subdirectory( src/XercesExtensions )
+-add_subdirectory( src/zlib )
++#add_subdirectory( src/zlib )
+ add_subdirectory( src/zipios )
+-add_subdirectory( src/googlemock )
++#add_subdirectory( src/googlemock )
+ add_subdirectory( src/FlightCrew )
+ add_subdirectory( src/FlightCrew-cli )
+ 
diff -r 959d9af0d15c -r 88e3772a019f textproc/FlightCrew/patches/patch-src_FlightCrew_tests_CMakeLists.txt
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/FlightCrew/patches/patch-src_FlightCrew_tests_CMakeLists.txt     Fri Jul 29 19:32:18 2011 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_FlightCrew_tests_CMakeLists.txt,v 1.1.1.1 2011/07/29 19:32:18 ryoon Exp $
+
+* libgtest is needed.
+
+--- src/FlightCrew/tests/CMakeLists.txt.orig   2010-11-11 10:05:50.000000000 +0000
++++ src/FlightCrew/tests/CMakeLists.txt
+@@ -65,7 +65,7 @@ precompiled_header( TEST_SOURCES ALL_INC
+ 
+ add_executable( ${PROJECT_NAME} ${TEST_SOURCES} )
+ 
+-target_link_libraries( ${PROJECT_NAME} FlightCrew gmock )
++target_link_libraries( ${PROJECT_NAME} FlightCrew gmock gtest )
+ 
+ #############################################################################
+ 



Home | Main Index | Thread Index | Old Index