Code

Update debian/patches-repack/* for 4.0.
authorAndreas Metzler <ametzler@downhill.at.eu.org>
Sun, 20 Dec 2009 13:55:34 +0000 (14:55 +0100)
committerSebastian Harl <sh@tokkee.org>
Sun, 20 Dec 2009 19:58:04 +0000 (20:58 +0100)
debian/changelog
debian/patches-repack/00-win32helpers.patch
debian/patches-repack/01-unnecessary-libs.patch
debian/patches-repack/03-addmissingVERSION.patch [new file with mode: 0644]

index 20a2764ce8f60c6ec0dcc1226e5de3dd793e8d48..98e9c9f71b26626dea690d7e520154756132aed2 100644 (file)
@@ -1,3 +1,12 @@
+enblend-enfuse (4.0+dfsg-1) experimental; urgency=low
+
+  * New upstream version.
+  * Update debian/patches-repack/*.
+  * debian/patches-repack/03-addmissingVERSION.patch Add file missing in the
+    tarball but present in HG.
+
+ -- Andreas Metzler <ametzler@debian.org>  Sun, 20 Dec 2009 14:12:21 +0100
+
 enblend-enfuse (3.2+dfsg-3) unstable; urgency=medium
 
   * Remove usr/share/info/dir, which GNU install-info generates.
index 2466925731362f435487679dd9d18fad3d11e556..3713bf7d89fb59e4364bdeb2951ecd200d50a2ca 100644 (file)
@@ -1,98 +1,23 @@
-diff a/Makefile.am b/Makefile.am
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -1,2 +1,2 @@
--EXTRA_DIST = VIGRA_LICENSE README_WINDOWS.txt enblend.sln enblend_msvc2003.sln enblend_msvc2008.sln
-+EXTRA_DIST = VIGRA_LICENSE README_WINDOWS.txt
- SUBDIRS = include doc src
-diff a/configure.in b/configure.in
---- a/configure.in
-+++ b/configure.in
-@@ -140,8 +140,7 @@
-                  include/vigra/Makefile
+diff -NurbBp a/configure.in b/configure.in
+--- a/configure.in     2009-12-05 08:26:45.000000000 +0100
++++ b/configure.in     2009-12-20 14:17:56.000000000 +0100
+@@ -524,7 +524,6 @@ AC_CONFIG_FILES([Makefile
                   include/vigra_ext/Makefile
                   src/Makefile
--                 src/vigra_impex/Makefile
--                 src/win32helpers/Makefile])
-+                 src/vigra_impex/Makefile])
+                  src/vigra_impex/Makefile
+-                 src/win32helpers/Makefile
+                  doc/Makefile])
  AC_OUTPUT
  
- AC_MSG_RESULT([
-diff a/src/Makefile.am b/src/Makefile.am
---- a/src/Makefile.am
-+++ b/src/Makefile.am
-@@ -1,5 +1,4 @@
--EXTRA_DIST = enblend.vcproj enblend_msvc2003.vcproj enblend_msvc2008.vcproj enfuse.vcproj enfuse_msvc2003.vcproj enfuse_msvc2008.vcproj
+diff -NurbBp a/src/Makefile.am b/src/Makefile.am
+--- a/src/Makefile.am  2009-12-02 08:27:29.000000000 +0100
++++ b/src/Makefile.am  2009-12-20 14:18:42.000000000 +0100
+@@ -3,7 +3,7 @@ AM_CFLAGS = $(EXTRACFLAGS)
+ AM_CXXFLAGS = $(EXTRACXXFLAGS)
+ AM_LDFLAGS = $(EXTRALDFLAGS)
 -SUBDIRS = vigra_impex win32helpers
 +SUBDIRS = vigra_impex
- bin_PROGRAMS = enblend enfuse
- enblend_SOURCES = anneal.h assemble.h blend.h bounds.h common.h enblend.h enblend.cc fixmath.h float_cast.h gpu.cc gpu.h mask.h nearest.h numerictraits.h path.h pyramid.h
- enblend_LDFLAGS = -ffast-math
-diff a/src/enblend.cc b/src/enblend.cc
---- a/src/enblend.cc
-+++ b/src/enblend.cc
-@@ -21,11 +21,6 @@
- #include <config.h>
- #endif
--#ifdef _MSC_VER
--#include <win32helpers\win32config.h>
--#define isnan _isnan
--#endif // _MSC_VER
--
- // Defines lrint for fast fromRealPromotes
- #include "float_cast.h"
-@@ -49,14 +44,7 @@
- #include <list>
- #include <vector>
--#ifndef _WIN32
- #include <getopt.h>
--#else
--//extern "C" int getopt(int nargc, char** nargv, char* ostr);
--extern "C" {
--#include <win32helpers/getopt_long.h>
--}
--#endif
  
- extern "C" char *optarg;
- extern "C" int optind;
-diff a/src/enfuse.cc b/src/enfuse.cc
---- a/src/enfuse.cc
-+++ b/src/enfuse.cc
-@@ -21,11 +21,6 @@
- #include <config.h>
- #endif
--#ifdef _MSC_VER
--#include <win32helpers\win32config.h>
--#define isnan _isnan
--#endif // _MSC_VER
--
- // Defines lrint for fast fromRealPromotes
- #include "float_cast.h"
-@@ -49,14 +44,7 @@
- #include <list>
- #include <vector>
--#ifndef _WIN32
- #include <getopt.h>
--#else
--//extern "C" int getopt(int nargc, char** nargv, char* ostr);
--extern "C" {
--#include <win32helpers/getopt_long.h>
--}
--#endif
+ bin_PROGRAMS = enblend enfuse
  
- extern "C" char *optarg;
- extern "C" int optind;
-diff a/src/vigra_impex/Makefile.am b/src/vigra_impex/Makefile.am
---- a/src/vigra_impex/Makefile.am
-+++ b/src/vigra_impex/Makefile.am
-@@ -1,4 +1,3 @@
--EXTRA_DIST = vigra_impex.vcproj vigra_impex_msvc2003.vcproj vigra_impex_msvc2008.vcproj
- noinst_LIBRARIES = libvigra_impex.a
- libvigra_impex_a_SOURCES = auto_file.hxx bmp.cxx bmp.hxx byteorder.cxx byteorder.hxx codecmanager.cxx codecmanager.hxx error.hxx gif.cxx gif.hxx hdr.cxx hdr.hxx iccjpeg.c iccjpeg.h imageinfo.cxx jpeg.cxx jpeg.hxx png.cxx png.hxx pnm.cxx pnm.hxx rgbe.c rgbe.h sun.cxx sun.hxx tiff.cxx tiff.hxx viff.cxx viff.hxx void_vector.cxx void_vector.hxx exr.cxx exr.hxx
- #libvigra_impex_a_CXXFLAGS = -I${top_srcdir}/include -O3 -Wall -DHasPNG -DHasJPEG -DHasTIFF
index c27fcb0cf669ee433ba3518927bf201f2246495d..fb5c32f40f336a97a1b61273ad9820729f2714f6 100644 (file)
@@ -1,17 +1,16 @@
-diff a/m4/ax_check_glut.m4 b/m4/ax_check_glut.m4
---- a/m4/ax_check_glut.m4
-+++ b/m4/ax_check_glut.m4
-@@ -25,13 +25,6 @@
-   GLUT_CFLAGS=${GLU_CFLAGS}
-   GLUT_LIBS=${GLU_LIBS}
+diff -NurbBp a/m4/ax_check_glut.m4 b/m4/ax_check_glut.m4
+--- a/m4/ax_check_glut.m4      2009-09-06 15:14:31.000000000 +0200
++++ b/m4/ax_check_glut.m4      2009-12-20 14:23:34.000000000 +0100
+@@ -72,12 +72,6 @@ m4_define([AX_CHECK_GLUT_PROGRAM],
+ # endif]],
+                            [[glutMainLoop()]])])
  
--  #
--  # If X is present, assume GLUT depends on it.
--  #
--  if test "X${no_x}" != "Xyes"; then
--    GLUT_LIBS="${X_PRE_LIBS} -lXmu -lXi ${X_EXTRA_LIBS} ${GLUT_LIBS}"
--  fi
+-#
+-# If X is present, assume GLUT depends on it.
+-#
+-AS_IF([test X$no_x != Xyes],
+-      [GLUT_LIBS="${X_PRE_LIBS} -lXmu -lXi ${X_EXTRA_LIBS} ${GLUT_LIBS}"])
 -
-   AC_LANG_PUSH(C)
-   ax_save_CPPFLAGS="${CPPFLAGS}"
+ AC_CACHE_CHECK([for GLUT library], [ax_cv_check_glut_libglut],
+ [ax_cv_check_glut_libglut="no"
+ AC_LANG_PUSH(C)
diff --git a/debian/patches-repack/03-addmissingVERSION.patch b/debian/patches-repack/03-addmissingVERSION.patch
new file mode 100644 (file)
index 0000000..97b2352
--- /dev/null
@@ -0,0 +1,5 @@
+diff -NurbBp a/VERSION b/VERSION
+--- a/VERSION  1970-01-01 01:00:00.000000000 +0100
++++ b/VERSION  2009-12-20 14:36:54.000000000 +0100
+@@ -0,0 +1 @@
++4.0-753b534c819d