diff options
author | darealshinji <djcj@gmx.de> | 2016-04-08 17:25:22 (GMT) |
---|---|---|
committer | darealshinji <djcj@gmx.de> | 2016-04-08 17:25:22 (GMT) |
commit | 9ba1b57e4bb9b3c1a0f24130e5eab95b3f688351 (patch) | |
tree | 2c67bfa6f230d52420f4e72cfadbdcf3219e012e /src/djvulibre-2-exe-file-extension.patch | |
parent | d11555c7602c854d8c9d10826d7d119852b68522 (diff) | |
download | mxe-9ba1b57e4bb9b3c1a0f24130e5eab95b3f688351.zip mxe-9ba1b57e4bb9b3c1a0f24130e5eab95b3f688351.tar.gz mxe-9ba1b57e4bb9b3c1a0f24130e5eab95b3f688351.tar.bz2 |
add package djvulibre
Diffstat (limited to 'src/djvulibre-2-exe-file-extension.patch')
-rw-r--r-- | src/djvulibre-2-exe-file-extension.patch | 144 |
1 files changed, 144 insertions, 0 deletions
diff --git a/src/djvulibre-2-exe-file-extension.patch b/src/djvulibre-2-exe-file-extension.patch new file mode 100644 index 0000000..843c41b --- /dev/null +++ b/src/djvulibre-2-exe-file-extension.patch @@ -0,0 +1,144 @@ +This file is part of MXE. +See index.html for further information. + +Add .exe to binary filenames. + +--- a/tools/Makefile.in ++++ b/tools/Makefile.in +@@ -28,6 +28,8 @@ + libdir = @libdir@ + mandir = @mandir@ + ++EXEEXT = @EXEEXT@ ++ + CC = @CC@ + CXX = @CXX@ + RM = @RM@ +@@ -60,10 +62,10 @@ + + SUBDIRS = jb2cmp + +-PROGRAMS = bzz c44 cjb2 cpaldjvu csepdjvu \ +- ddjvu djvm djvmcvt djvudump \ +- djvups djvuextract djvumake \ +- djvused djvutxt djvuserve ++PROGRAMS = bzz$(EXEEXT) c44$(EXEEXT) cjb2$(EXEEXT) cpaldjvu$(EXEEXT) csepdjvu$(EXEEXT) \ ++ ddjvu$(EXEEXT) djvm$(EXEEXT) djvmcvt$(EXEEXT) djvudump$(EXEEXT) \ ++ djvups$(EXEEXT) djvuextract$(EXEEXT) djvumake$(EXEEXT) \ ++ djvused$(EXEEXT) djvutxt$(EXEEXT) djvuserve$(EXEEXT) + + SCRIPTS = djvudigital any2djvu + +@@ -117,63 +119,63 @@ + ${LIBTOOL} --mode=link \ + ${CXX} -o $@ ${CXXFLAGS} annotate.o ${LIBDJVU} ${LIBS} + +-bzz: bzz.o ++bzz$(EXEEXT): bzz.o + ${LIBTOOL} --mode=link \ + ${CXX} -o $@ ${CXXFLAGS} bzz.o ${LIBDJVU} ${LIBS} + +-c44: c44.o ++c44$(EXEEXT): c44.o + ${LIBTOOL} --mode=link \ + ${CXX} -o $@ ${CXXFLAGS} c44.o ${LIBDJVU} ${LIBS} + +-cjb2: cjb2.o ${JB2OBJS} ++cjb2$(EXEEXT): cjb2.o ${JB2OBJS} + ${LIBTOOL} --mode=link \ + ${CXX} -o $@ ${CXXFLAGS} cjb2.o ${JB2OBJS} ${LIBDJVU} ${MORELIBS} + +-cpaldjvu: cpaldjvu.o ${JB2OBJS} ++cpaldjvu$(EXEEXT): cpaldjvu.o ${JB2OBJS} + ${LIBTOOL} --mode=link \ + ${CXX} -o $@ ${CXXFLAGS} cpaldjvu.o ${JB2OBJS} ${LIBDJVU} ${LIBS} + +-csepdjvu: csepdjvu.o ${JB2OBJS} ++csepdjvu$(EXEEXT): csepdjvu.o ${JB2OBJS} + ${LIBTOOL} --mode=link \ + ${CXX} -o $@ ${CXXFLAGS} csepdjvu.o ${JB2OBJS} ${LIBDJVU} ${LIBS} + +-ddjvu: ddjvu.o tiff2pdf.o ++ddjvu$(EXEEXT): ddjvu.o tiff2pdf.o + ${LIBTOOL} --mode=link \ + ${CXX} -o $@ ${CXXFLAGS} ddjvu.o tiff2pdf.o ${LIBDJVU} ${MORELIBS} + +-djvm: djvm.o ++djvm$(EXEEXT): djvm.o + ${LIBTOOL} --mode=link \ + ${CXX} -o $@ ${CXXFLAGS} djvm.o ${LIBDJVU} ${LIBS} + +-djvmcvt: djvmcvt.o ++djvmcvt$(EXEEXT): djvmcvt.o + ${LIBTOOL} --mode=link \ + ${CXX} -o $@ ${CXXFLAGS} djvmcvt.o ${LIBDJVU} ${LIBS} + +-djvudump: djvudump.o ++djvudump$(EXEEXT): djvudump.o + ${LIBTOOL} --mode=link \ + ${CXX} -o $@ ${CXXFLAGS} djvudump.o ${LIBDJVU} ${LIBS} + +-djvups: djvups.o ++djvups$(EXEEXT): djvups.o + ${LIBTOOL} --mode=link \ + ${CXX} -o $@ ${CXXFLAGS} djvups.o ${LIBDJVU} ${LIBS} + +-djvuextract: djvuextract.o ++djvuextract$(EXEEXT): djvuextract.o + ${LIBTOOL} --mode=link \ + ${CXX} -o $@ ${CXXFLAGS} djvuextract.o ${LIBDJVU} ${LIBS} + +-djvumake: djvumake.o ++djvumake$(EXEEXT): djvumake.o + ${LIBTOOL} --mode=link \ + ${CXX} -o $@ ${CXXFLAGS} djvumake.o ${LIBDJVU} ${LIBS} + +-djvused: djvused.o ++djvused$(EXEEXT): djvused.o + ${LIBTOOL} --mode=link \ + ${CXX} -o $@ ${CXXFLAGS} djvused.o ${LIBDJVU} ${LIBS} + +-djvutxt: djvutxt.o ++djvutxt$(EXEEXT): djvutxt.o + ${LIBTOOL} --mode=link \ + ${CXX} -o $@ ${CXXFLAGS} djvutxt.o ${LIBDJVU} ${LIBS} + +-djvuserve: djvuserve.o ++djvuserve$(EXEEXT): djvuserve.o + ${LIBTOOL} --mode=link \ + ${CXX} -o $@ ${CXXFLAGS} djvuserve.o ${LIBDJVU} ${LIBS} + +--- a/xmltools/Makefile.in ++++ b/xmltools/Makefile.in +@@ -28,6 +28,8 @@ + libdir = @libdir@ + mandir = @mandir@ + ++EXEEXT = @EXEEXT@ ++ + CC = @CC@ + CXX = @CXX@ + RM = @RM@ +@@ -55,7 +57,7 @@ + CFLAGS = ${FLAGS} @CPPFLAGS@ @CFLAGS@ + CXXFLAGS = ${FLAGS} ${CXXRPOFLAGS} @CPPFLAGS@ @CXXFLAGS@ + +-PROGRAMS = djvutoxml djvuxmlparser ++PROGRAMS = djvutoxml$(EXEEXT) djvuxmlparser$(EXEEXT) + + all: ${PROGRAMS} djvuxml.1 + +@@ -97,11 +99,11 @@ + sed < ${srcdir}/djvuxml.1.in > djvuxml.1 \ + -e 's,DATADIR,${datadir},' + +-djvutoxml: djvutoxml.o ++djvutoxml$(EXEEXT): djvutoxml.o + ${LIBTOOL} --mode=link \ + ${CXX} -o $@ ${CXXFLAGS} djvutoxml.o ${LIBDJVU} ${LIBS} + +-djvuxmlparser: djvuxmlparser.o ++djvuxmlparser$(EXEEXT): djvuxmlparser.o + ${LIBTOOL} --mode=link \ + ${CXX} -o $@ ${CXXFLAGS} djvuxmlparser.o ${LIBDJVU} ${LIBS} + |