diff options
Diffstat (limited to 'games-util/loki_patch')
-rw-r--r-- | games-util/loki_patch/Manifest | 6 | ||||
-rw-r--r-- | games-util/loki_patch/files/loki_patch-20091105-build.patch | 179 | ||||
-rw-r--r-- | games-util/loki_patch/files/loki_patch-20091105-patchdata.patch | 11 | ||||
-rw-r--r-- | games-util/loki_patch/loki_patch-20091105.ebuild | 51 | ||||
-rw-r--r-- | games-util/loki_patch/metadata.xml | 8 |
5 files changed, 0 insertions, 255 deletions
diff --git a/games-util/loki_patch/Manifest b/games-util/loki_patch/Manifest deleted file mode 100644 index 9e09480a90f5..000000000000 --- a/games-util/loki_patch/Manifest +++ /dev/null @@ -1,6 +0,0 @@ -AUX loki_patch-20091105-build.patch 4617 BLAKE2B 2dd2804ee90c88e8cc055a26dcf75ade6fc96d7e194a25909b97df745b74d8a67e80190b60af824538e82458e67648f7fa9390456000d31cc071001481bde5e0 SHA512 eabc0db3f6594b99ef76d57e1fdd738c96e4ef45c0bb67127907fa6a19d19002e2a97acc2735e7353915047ecf626bacd6bcdc7bf42446cd42c6b10f79dc6ca7 -AUX loki_patch-20091105-patchdata.patch 257 BLAKE2B 0bab64cabdfc931e06f61b140a5a079267028c7e975a742344cb593b5144776152f2b88c12877de26fef23e1b8efe8db5448b123d889c19eaf61ccc229e640ab SHA512 e21da8ce772f38c1bc2acb52bedeb96042e5bb2168c76ec3efde995bfd4b113000a20b4c6efba92fc79f7ebc16486cc7871d628bf71494bf4bb8ce7dfd7dfed4 -DIST loki_patch-20091105.tar.bz2 331725 BLAKE2B a3fa2e1c594d3484830527276ebd24f6e1c56f924b815fd3e2a12f802bccfd556017084a094508c531badd568158eb68fa3d608c30a55110de24410088fc5275 SHA512 9db40b1746ecf5603c09be3ddf01bf92cfc6b3d1c35ac7153751e1871840175c538af98c22f458658bcbebac65ccddccc1aee92a88300a243b8e68bda13ca323 -DIST loki_setupdb-20091105.tar.bz2 60725 BLAKE2B d3bed3d6b9123093b307f9c735f14c630f8ebfd2b228d6268cf97e8016ec83fa18b3b390e84facd42afe5d3f707bfb63a48e21a6b002a7d0583fdbde907567dc SHA512 ba55b24a6e2b2b6268dec9df8ec0581d852461b5c07ca97a24ebee3e55fe5764dffbbcfdb6b18a80677f2fae1e7701df4fbca0f6af8ef8050c662f5a39daf25d -EBUILD loki_patch-20091105.ebuild 874 BLAKE2B c67c080b6639c66bf20d26522b13bfdabfd169ac6696092e03a9aa44d222428b7aaf2cb94aa29835b4ee6e43b15ef53d40f128fbdd0cdd6eac215286528f4638 SHA512 4e6e08b74cb19c7dd3e20a5b7a35bae1d25140ed1e41af95af2d106534aef94a5b2a37cce2f3085ac3c23b0548cc216fdcc6fec6438604d27332c6ae41003543 -MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 diff --git a/games-util/loki_patch/files/loki_patch-20091105-build.patch b/games-util/loki_patch/files/loki_patch-20091105-build.patch deleted file mode 100644 index 8e2b5bbf1557..000000000000 --- a/games-util/loki_patch/files/loki_patch-20091105-build.patch +++ /dev/null @@ -1,179 +0,0 @@ ---- loki_patch/configure.in -+++ loki_patch/configure.in -@@ -1,4 +1,4 @@ --AC_INIT(README) -+AC_INIT(loki_patch, 1.0.2) - - dnl Define the release numbers here - -@@ -10,13 +10,14 @@ - AC_CANONICAL_HOST - AC_CANONICAL_TARGET - -+AM_INIT_AUTOMAKE(foreign no-dependencies) - AC_PROG_CC - AC_PROG_MAKE_SET - AC_PROG_INSTALL - - AC_CHECK_HEADERS(unistd.h) - --CFLAGS="-fsigned-char -funroll-loops -Wall -g -O2" -+CFLAGS="$CFLAGS -fsigned-char -Wall" - - case "$target" in - *i?86*) -@@ -32,17 +33,12 @@ - OS=`uname -s` - - dnl Look for the XML libraries -+PKG_CHECK_MODULES(XML, libxml-2.0) -+AC_SUBST(XML_LIBS) - --AC_PATH_PROG(HAVEXML, xml-config, $PATH) --if test ! -z "$HAVEXML"; then -- XML_CFLAGS=`$HAVEXML --cflags` -- XML_PREFIX=`$HAVEXML --prefix` -- -- CFLAGS="$CFLAGS $XML_CFLAGS" -- LIBS="$LIBS $XML_PREFIX/lib/libxml.a" --else -- AC_MSG_ERROR([*** xml-config not found. You need a working libxml installation.]) --fi -+PKG_CHECK_MODULES(XDELTA, xdelta) -+AC_SUBST(XDELTA_CFLAGS) -+AC_SUBST(XDELTA_LIBS) - - SETUPDB_VERSION=1.0.0 - SETUPDB="`pwd`/../loki_setupdb-$SETUPDB_VERSION" -@@ -57,14 +53,6 @@ - SETUPDB=$with_setupdb - fi - --dnl Check for correct setupdb installation -- --if test -f $SETUPDB/$ARCH/libsetupdb.a; then -- AC_MSG_RESULT([SetupDB library found in $SETUPDB/$ARCH]) --else -- AC_MSG_ERROR([*** Please compile setupdb first!]) --fi -- - CFLAGS="$CFLAGS -I$SETUPDB" - - AC_SUBST(SETUPDB) ---- loki_patch/loki_xdelta.c -+++ loki_patch/loki_xdelta.c -@@ -49,7 +49,7 @@ - - #define LOKI_PATCH - --#include "xdelta_inc/xdelta.h" -+#include <xdelta.h> - - static HandleFuncTable xd_handle_table; - ---- loki_patch/Makefile.am -+++ loki_patch/Makefile.am -@@ -0,0 +1,12 @@ -+COMMONSRC = load_patch.c size_patch.c print_patch.c \ -+ loki_xdelta.c mkdirhier.c log_output.c -+ -+bin_PROGRAMS = make_patch loki_patch -+ -+make_patch_SOURCES = $(COMMONSRC) make_patch.c tree_patch.c save_patch.c -+ -+loki_patch_SOURCES = $(COMMONSRC) loki_patch.c apply_patch.c registry.c -+ -+AM_CPPFLAGS = $(XDELTA_CFLAGS) -+ -+LDADD = $(top_builddir)/../loki_setupdb/libsetupdb.a $(XDELTA_LIBS) $(XML_LIBS) -lz ---- loki_setupdb/configure.in -+++ loki_setupdb/configure.in -@@ -1,4 +1,4 @@ --AC_INIT -+AC_INIT(setupdb, 1.6.5) - AC_CONFIG_HEADER(config.h) - - dnl Define the release numbers here -@@ -12,8 +12,7 @@ - PACKAGE_VERSION="$SETUPDB_VERSION_MAJOR.$SETUPDB_VERSION_MINOR.$SETUPDB_VERSION_RELEASE" - PACKAGE_STRING="$PACKAGE_NAME v$PACKAGE_VERSION" - --test "x$CFLAGS" = x && CFLAGS="-O2" --CFLAGS="$CFLAGS -fsigned-char -Wall -g -I." -+CFLAGS="$CFLAGS -fsigned-char -Wall" - REENTRANT="-D_REENTRANT" - - if test -d /usr/codehost/lib; then -@@ -33,9 +32,11 @@ - AC_CANONICAL_HOST - AC_CANONICAL_TARGET - -+AM_INIT_AUTOMAKE(foreign no-dependencies) - AC_PROG_CC - AC_PROG_MAKE_SET - AC_PATH_PROGS(AR, [ar gar]) -+AC_PROG_RANLIB - - AC_CHECK_HEADERS(unistd.h) - AC_CHECK_HEADERS(strings.h) -@@ -128,7 +129,7 @@ - - AC_CHECK_FUNCS(getopt, , GETOPT_C="getopt.c") - AC_CHECK_FUNCS(getopt_long, , GETOPT_C="getopt.c") --AC_CHECK_LIB(gnugetopt, getopt_long, LIBS="$LIBS $BSTATIC -lgnugetopt"; GETOPT_C="") -+AC_CHECK_LIB(gnugetopt, getopt_long, LIBS="$LIBS -lgnugetopt"; GETOPT_C="") - - AC_SUBST(ARCH) - AC_SUBST(STATIC) -@@ -139,37 +140,8 @@ - - dnl Look for the XML libraries - --XMLVER="" --AC_ARG_WITH(libxml2, --[ --with-libxml2 use libxml2 [default=libxml1]], -- , with_libxml2=no) --if test x$with_libxml2 != xno; then -- XMLVER="2" --fi -- --AC_PATH_PROG(HAVEXML, xml${XMLVER}-config, $PATH) --if test ! -z "$HAVEXML"; then -- XML_CFLAGS=`$HAVEXML --cflags` -- XML_PREFIX=`$HAVEXML --prefix` -- -- if "$HAVEXML" --help|grep libtool-libs > /dev/null; then -- XML_LIBTOOL=`$HAVEXML --libtool-libs` -- if test -f "$XML_LIBTOOL"; then -- . "$XML_LIBTOOL" -- XML_LIBS="$dependency_libs" -- else -- XML_LIBS="-lm" -- fi -- elif "$HAVEXML" --libs | grep thread > /dev/null; then -- XML_LIBS="$PTHREAD -lm" -- fi -- EXTRA_LIBS="$EXTRA_LIBS $XML_LIBS" -- -- CFLAGS="$CFLAGS $XML_CFLAGS" -- LIBS="$LIBS $XML_PREFIX/lib$LIBSUFFIX/libxml${XMLVER}.a $BSTATIC $ZLIB $BDYNAMIC $EXTRA_LIBS" --else -- AC_MSG_ERROR([*** xml-config not found. You need a working libxml installation.]) --fi -+PKG_CHECK_MODULES(XML, libxml-2.0) -+AC_SUBST(XML_CFLAGS) - - AC_ARG_WITH(vendor, - [ --with-vendor with specified vendor prefix [default=loki]], ---- loki_setupdb/Makefile.am -+++ loki_setupdb/Makefile.am -@@ -0,0 +1,9 @@ -+noinst_LIBRARIES = libsetupdb.a -+ -+libsetupdb_a_SOURCES = \ -+ arch.c brandelf.c convert.c md5.c register.c setupdb.c -+ -+libsetupdb_a_CPPFLAGS = \ -+ -DSETUPDB_VERSION_MAJOR=$(SETUPDB_VERSION_MAJOR) \ -+ -DSETUPDB_VERSION_MINOR=$(SETUPDB_VERSION_MINOR) \ -+ $(XML_CFLAGS) diff --git a/games-util/loki_patch/files/loki_patch-20091105-patchdata.patch b/games-util/loki_patch/files/loki_patch-20091105-patchdata.patch deleted file mode 100644 index 74ec3dae7568..000000000000 --- a/games-util/loki_patch/files/loki_patch-20091105-patchdata.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- loki_patch/load_patch.c -+++ loki_patch/load_patch.c -@@ -8,7 +8,7 @@ - #include "load_patch.h" - #include "log_output.h" - --#define BASE "patchdata" -+#define BASE "data" - - - int load_add_file(FILE *file, int *line_num, const char *dst, loki_patch *patch) diff --git a/games-util/loki_patch/loki_patch-20091105.ebuild b/games-util/loki_patch/loki_patch-20091105.ebuild deleted file mode 100644 index b3084027a98d..000000000000 --- a/games-util/loki_patch/loki_patch-20091105.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit autotools eutils - -DESCRIPTION="Loki Software binary patch tool" -HOMEPAGE="http://www.icculus.org/loki_setup/" -SRC_URI="mirror://gentoo/${P}.tar.bz2 - mirror://gentoo/loki_setupdb-${PV}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND="dev-util/xdelta:0 - dev-libs/libxml2 - dev-libs/glib:2" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -S=${WORKDIR} - -src_prepare() { - epatch \ - "${FILESDIR}"/${P}-build.patch \ - "${FILESDIR}"/${P}-patchdata.patch - cd loki_setupdb - eautoreconf - cd "${S}"/${PN} - eautoreconf -} - -src_configure() { - cd loki_setupdb - econf - cd "${S}"/${PN} - econf -} - -src_compile() { - emake -C loki_setupdb - emake -C loki_patch -} - -src_install() { - cd ${PN} - dobin loki_patch make_patch - dodoc CHANGES NOTES README TODO -} diff --git a/games-util/loki_patch/metadata.xml b/games-util/loki_patch/metadata.xml deleted file mode 100644 index 78274e0fa550..000000000000 --- a/games-util/loki_patch/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="project"> - <email>games@gentoo.org</email> - <name>Gentoo Games Project</name> -</maintainer> -</pkgmetadata> |