Commit 498ccd33 authored by Michael Natterer's avatar Michael Natterer 😴

plug-ins: move file-compressor to plug-ins/common/, it's only one .c file

parent 91cb85ea
......@@ -2222,7 +2222,6 @@ build/windows/gimp.rc
build/windows/gimp-plug-ins.rc
plug-ins/Makefile
plug-ins/file-bmp/Makefile
plug-ins/file-compressor/Makefile
plug-ins/file-exr/Makefile
plug-ins/file-faxg3/Makefile
plug-ins/file-fits/Makefile
......
......@@ -33,7 +33,6 @@ SUBDIRS = \
$(script_fu) \
$(pygimp) \
file-bmp \
file-compressor \
$(file_exr) \
file-faxg3 \
file-fits \
......
......@@ -72,6 +72,8 @@
/file-aa.exe
/file-cel
/file-cel.exe
/file-compressor
/file-compressor.exe
/file-csource
/file-csource.exe
/file-desktop-link
......
......@@ -79,6 +79,7 @@ libexec_PROGRAMS = \
engrave \
$(FILE_AA) \
file-cel \
file-compressor \
file-csource \
file-desktop-link \
file-dicom \
......@@ -785,6 +786,26 @@ file_cel_LDADD = \
$(INTLLIBS) \
$(file_cel_RC)
file_compressor_CFLAGS = $(LZMA_CFLAGS)
file_compressor_SOURCES = \
file-compressor.c
file_compressor_LDADD = \
$(libgimp) \
$(libgimpmath) \
$(libgimpconfig) \
$(libgimpcolor) \
$(libgimpbase) \
$(CAIRO_LIBS) \
$(GDK_PIXBUF_LIBS) \
$(LZMA_LIBS) \
$(BZIP2_LIBS) \
$(Z_LIBS) \
$(RT_LIBS) \
$(INTLLIBS) \
$(file_compressor_RC)
file_csource_SOURCES = \
file-csource.c
......
......@@ -156,8 +156,8 @@ static const gchar * find_extension (const Compressor *compressor,
static gboolean gzip_load (const char *infile,
const char *outfile);
static gboolean gzip_save (const char *infile,
const char *outfile);
static gboolean bzip2_load (const char *infile,
const char *outfile);
static gboolean bzip2_save (const char *infile,
......
......@@ -33,6 +33,7 @@ emboss_RC = emboss.rc.o
engrave_RC = engrave.rc.o
file_aa_RC = file-aa.rc.o
file_cel_RC = file-cel.rc.o
file_compressor_RC = file-compressor.rc.o
file_csource_RC = file-csource.rc.o
file_desktop_link_RC = file-desktop-link.rc.o
file_dicom_RC = file-dicom.rc.o
......
......@@ -35,6 +35,7 @@
'file-aa' => { ui => 1, gegl => 1, optional => 1, libs => 'AA_LIBS' },
'file-cel' => { ui => 1, gegl => 1 },
'file-csource' => { ui => 1, gegl => 1 },
'file-compressor' => { libdep => 'Z:BZIP2:LZMA', cflags => 'LZMA_CFLAGS' },
'file-desktop-link' => {},
'file-dicom' => { ui => 1, gegl => 1, cflags => '-fno-strict-aliasing' },
'file-gbr' => { ui => 1, gegl => 1 },
......
/Makefile.in
/Makefile
/.deps
/_libs
/.libs
/file-compressor
/file-compressor.exe
## Process this file with automake to produce Makefile.in
libgimpconfig = $(top_builddir)/libgimpconfig/libgimpconfig-$(GIMP_API_VERSION).la
libgimp = $(top_builddir)/libgimp/libgimp-$(GIMP_API_VERSION).la
libgimpcolor = $(top_builddir)/libgimpcolor/libgimpcolor-$(GIMP_API_VERSION).la
libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la
libgimpmath = $(top_builddir)/libgimpmath/libgimpmath-$(GIMP_API_VERSION).la
if OS_WIN32
mwindows = -mwindows
endif
AM_LDFLAGS = $(mwindows)
libexecdir = $(gimpplugindir)/plug-ins
libexec_PROGRAMS = file-compressor
file_compressor_SOURCES = \
file-compressor.c
AM_CPPFLAGS = \
-I$(top_srcdir) \
$(GTK_CFLAGS) \
$(GEGL_CFLAGS) \
$(LZMA_CFLAGS) \
-I$(includedir)
LDADD = \
$(libgimpconfig) \
$(libgimp) \
$(libgimpcolor) \
$(libgimpmath) \
$(libgimpbase) \
$(GTK_LIBS) \
$(RT_LIBS) \
$(INTLLIBS) \
$(Z_LIBS) \
$(BZIP2_LIBS) \
$(LZMA_LIBS)
......@@ -39,6 +39,7 @@ plug-ins/common/engrave.c
plug-ins/common/file-aa.c
plug-ins/common/file-cel.c
plug-ins/common/file-csource.c
plug-ins/common/file-compressor.c
plug-ins/common/file-desktop-link.c
plug-ins/common/file-dicom.c
plug-ins/common/file-gbr.c
......@@ -120,7 +121,6 @@ plug-ins/common/wind.c
plug-ins/file-bmp/bmp-read.c
plug-ins/file-bmp/bmp-write.c
plug-ins/file-bmp/bmp.c
plug-ins/file-compressor/file-compressor.c
plug-ins/file-exr/file-exr.c
plug-ins/file-faxg3/faxg3.c
plug-ins/file-fits/fits.c
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment