浏览代码

Put files into folders

Jakob Truelsen 16 年之前
父节点
当前提交
c43c52bc9b

+ 0 - 53
CMakeLists.txt

@@ -1,53 +0,0 @@
-# This file is part of wkhtmltopdf.
-#
-# wkhtmltopdf is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# wkhtmltopdf is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with wkhtmltopdf.  If not, see <http://www.gnu.org/licenses/>.
-CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
-PROJECT(wkhtmltopdf)
-SET(CPACK_PACKAGE_VERSION_MAJOR "0")
-SET(CPACK_PACKAGE_VERSION_MINOR "8")
-SET(CPACK_PACKAGE_VERSION_PATCH "3")
-
-SET( CMAKE_COLOR_MAKEFILE ON )
-SET( CMAKE_VERBOSE_MAKEFILE ON )
-SET( CMAKE_INCLUDE_CURRENT_DIR TRUE )
-ADD_DEFINITIONS( -Wall -ansi -DMAJOR_VERSION=${CPACK_PACKAGE_VERSION_MAJOR} -DMINOR_VERSION=${CPACK_PACKAGE_VERSION_MINOR} -DPATCH_VERSION=${CPACK_PACKAGE_VERSION_PATCH})
-SET( QT_USE_QTWEBKIT TRUE )
-SET( QT_USE_QTNETWORK TRUE )
-FIND_PACKAGE( Qt4 REQUIRED )
-INCLUDE( ${QT_USE_FILE} )
-INCLUDE_DIRECTORIES(${CMAKE_BINARY_DIR} )
-QT4_WRAP_CPP(HAT wkhtmltopdf.hh toc.hh)
-ADD_EXECUTABLE(wkhtmltopdf wkhtmltopdf.cc toc.cc arguments.cc ${HAT})
-TARGET_LINK_LIBRARIES( wkhtmltopdf ${QT_LIBRARIES} )
-INSTALL(TARGETS wkhtmltopdf DESTINATION bin)
-
-SET(CPACK_PACKAGE_NAME wkhtmltopdf)
-SET(CPACK_SYSTEM_NAME linux-amd64)
-SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Simple shell utility to convert html to pdf using the webkit rendering engine, and qt.")
-SET(CPACK_DEBIAN_PACKAGE_MAINTAINER "Jakob Truelsen (http://www.daimi.au.dk/~jakobt/")
-SET(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/README")
-#objdump -p wkhtmltopdf | grep NEEDED | sed -re 's/NEEDED//' | xargs dpkg-query -S | sed -re 's/:.*//' | sort -u
-SET(CPACK_DEBIAN_PACKAGE_DEPENDS "libqt4-webkit, libqt4-network, libqt4-gui")
-SET(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/COPYING")
-SET(CPACK_PACKAGE_INSTALL_DIRECTORY "CMake ${CMake_VERSION_MAJOR}.${CMake_VERSION_MINOR}")
-
-SET(CPACK_GENERATOR "DEB")
-execute_process(COMMAND dpkg --print-architecture OUTPUT_VARIABLE CPACK_DEBIAN_PACKAGE_ARCHITECTURE ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE)
-SET(CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}-${CPACK_DEBIAN_PACKAGE_ARCHITECTURE}")
-
-SET(CPACK_STRIP_FILES "bin/wkhtmltopdf")
-SET(CPACK_SOURCE_STRIP_FILES "")
-
-SET(CPACK_PACKAGE_EXECUTABLES "wkhtmltopdf" "wkhtmltopdf")
-INCLUDE(CPack)

+ 0 - 0
release.sh → scripts/release.sh


+ 0 - 0
static-build.sh → scripts/static-build.sh


+ 0 - 0
test.sh → scripts/test.sh


+ 0 - 0
arguments.cc → src/arguments.cc


+ 0 - 0
qt-no-x11.patch → src/qt-patchs/qt-no-x11.patch


+ 0 - 0
qt-pdf-outline.patch → src/qt-patchs/qt-pdf-outline.patch


+ 0 - 0
qt-webkit-cheat.patch → src/qt-patchs/qt-webkit-cheat.patch


+ 0 - 0
qt-webkit-default-encoding.patch → src/qt-patchs/qt-webkit-default-encoding.patch


+ 0 - 0
qt-webkit-export-pagerects.patch → src/qt-patchs/qt-webkit-export-pagerects.patch


+ 0 - 0
qt-webkit-no-x11.patch → src/qt-patchs/qt-webkit-no-x11.patch


+ 0 - 0
qt-webkit-outline-mediatype-and-print-callback.patch → src/qt-patchs/qt-webkit-outline-mediatype-and-print-callback.patch


+ 0 - 0
qt-webkit-print-mediatype.patch → src/qt-patchs/qt-webkit-print-mediatype.patch


+ 0 - 0
toc.cc → src/toc.cc


+ 0 - 0
toc.hh → src/toc.hh


+ 0 - 0
wkhtmltopdf.cc → src/wkhtmltopdf.cc


+ 0 - 0
wkhtmltopdf.hh → src/wkhtmltopdf.hh