diff options
author | Markus Meier <maekke@gentoo.org> | 2009-04-04 10:29:14 +0000 |
---|---|---|
committer | Markus Meier <maekke@gentoo.org> | 2009-04-04 10:29:14 +0000 |
commit | 9eafc2c102d577777db1ff33bda4413d44c85a28 (patch) | |
tree | 7b8ec0779ba95ee17b1aba349c457d5b5515ae6a /media-libs/libafterimage | |
parent | Version bump (diff) | |
download | gentoo-2-9eafc2c102d577777db1ff33bda4413d44c85a28.tar.gz gentoo-2-9eafc2c102d577777db1ff33bda4413d44c85a28.tar.bz2 gentoo-2-9eafc2c102d577777db1ff33bda4413d44c85a28.zip |
old
(Portage version: 2.2_rc28/cvs/Linux i686)
Diffstat (limited to 'media-libs/libafterimage')
-rw-r--r-- | media-libs/libafterimage/ChangeLog | 8 | ||||
-rw-r--r-- | media-libs/libafterimage/files/libafterimage-1.15-examples.patch | 29 | ||||
-rw-r--r-- | media-libs/libafterimage/files/libafterimage-examples.patch | 471 | ||||
-rw-r--r-- | media-libs/libafterimage/libafterimage-1.07.ebuild | 80 | ||||
-rw-r--r-- | media-libs/libafterimage/libafterimage-1.15.ebuild | 80 | ||||
-rw-r--r-- | media-libs/libafterimage/libafterimage-1.18.ebuild | 80 |
6 files changed, 7 insertions, 741 deletions
diff --git a/media-libs/libafterimage/ChangeLog b/media-libs/libafterimage/ChangeLog index f0a38528806d..1ef5f1a1ae40 100644 --- a/media-libs/libafterimage/ChangeLog +++ b/media-libs/libafterimage/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-libs/libafterimage # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libafterimage/ChangeLog,v 1.25 2009/03/25 19:02:10 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libafterimage/ChangeLog,v 1.26 2009/04/04 10:29:14 maekke Exp $ + + 04 Apr 2009; Markus Meier <maekke@gentoo.org> + -files/libafterimage-1.15-examples.patch, + -files/libafterimage-examples.patch, -libafterimage-1.07.ebuild, + -libafterimage-1.15.ebuild, -libafterimage-1.18.ebuild: + old 25 Mar 2009; Raúl Porcel <armin76@gentoo.org> libafterimage-1.18-r1.ebuild: diff --git a/media-libs/libafterimage/files/libafterimage-1.15-examples.patch b/media-libs/libafterimage/files/libafterimage-1.15-examples.patch deleted file mode 100644 index 3e238247e571..000000000000 --- a/media-libs/libafterimage/files/libafterimage-1.15-examples.patch +++ /dev/null @@ -1,29 +0,0 @@ ---- ./apps/Makefile.in.orig Thu Aug 2 07:09:02 2007 -+++ ./apps/Makefile.in Sun Aug 5 21:11:50 2007 -@@ -13,14 +13,14 @@ - MV = @MV@ - RM = @RM@ - RMF = @RM@ -f --MKDIR = @MKDIR@ -+MKDIR = @MKDIR@ -p - FIND = @FIND@ - XARGS = @XARGS@ - LDCONFIG = @LDCONFIG@ - - INSTALL = @INSTALL@ --INSTALL_PROGRAM = @INSTALL@ -m 755 --INSTALL_DATA = @INSTALL@ -m 644 -+INSTALL_PROGRAM = @INSTALL_PROGRAM@ -+INSTALL_DATA = @INSTALL_DATA@ - - INCS_X = @X_CFLAGS@ - INCS_PRIVATE = -@@ -30,7 +30,7 @@ - LIBS_X = @x_libs@ - LIBS_XEXTS = - LIBS_AFTERIMAGE = @AFTERIMAGE_APPS_LIBS@ --LIBRARIES = $(USER_LD_FLAGS) $(LIBS_AFTERIMAGE) $(LIBS_X) $(LIBS_XEXTS) -+LIBRARIES = $(LIBS_AFTERIMAGE) $(USER_LD_FLAGS) $(LIBS_X) $(LIBS_XEXTS) - - prefix = @prefix@ - exec_prefix = @exec_prefix@ diff --git a/media-libs/libafterimage/files/libafterimage-examples.patch b/media-libs/libafterimage/files/libafterimage-examples.patch deleted file mode 100644 index 2a92154a3e91..000000000000 --- a/media-libs/libafterimage/files/libafterimage-examples.patch +++ /dev/null @@ -1,471 +0,0 @@ -diff -Nur libAfterImage-1.07/apps/Makefile.in libAfterImage-1.07.new/apps/Makefile.in ---- libAfterImage-1.07/apps/Makefile.in 2005-02-28 14:52:47.000000000 +0000 -+++ libAfterImage-1.07.new/apps/Makefile.in 2007-02-04 16:56:24.000000000 +0000 -@@ -40,7 +40,7 @@ - AFTER_DIR = @with_afterdir@ - - # need this for dependancies : --LIBAFTERIMAGE_PATH = ../../libAfterImage -+LIBAFTERIMAGE_PATH = ../ - LIB_STATIC = $(LIBAFTERIMAGE_PATH)/libAfterImage.a - LIB_SHARED = $(LIBAFTERIMAGE_PATH)/libAfterImage.so - -diff -Nur libAfterImage-1.07/Makefile.in libAfterImage-1.07.new/Makefile.in ---- libAfterImage-1.07/Makefile.in 2005-06-03 21:44:06.000000000 +0100 -+++ libAfterImage-1.07.new/Makefile.in 2007-02-04 16:57:37.000000000 +0000 -@@ -78,7 +78,7 @@ - MV = @MV@ - RM = @RM@ - RMF = @RM@ -f --MKDIR = @MKDIR@ -+MKDIR = @MKDIR@ -p - FIND = @FIND@ - XARGS = @XARGS@ - LDCONFIG = @LDCONFIG@ -@@ -124,7 +124,7 @@ - # We want to build both static and dynamic libs, as some service apps may need - # static library as they gets run at compile time (ASDocGen for example) - # but we only install whats selected --all: $(LIB_STATIC) @LIBPROG@ $(INSTALLONBUILD) apps -+all: $(LIB_STATIC) @LIBPROG@ $(INSTALLONBUILD) - - install.bin: - -@@ -135,21 +135,6 @@ - @(if [ -d $(LIBDIR) ] && [ -w $(LIBDIR) ]; then \ - echo "$(INSTALL_LIB) $(LIB_STATIC) $(LIBDIR)"; \ - $(INSTALL_LIB) $(LIB_STATIC) $(LIBDIR); \ -- if [ `uname` = "Linux" ]; then \ -- if test $(LIBDIR) = "/lib" || test $(LIBDIR) = "/usr/lib"; then \ -- echo "" > /dev/null; \ -- elif grep -q $(LIBDIR) /etc/ld.so.conf > /dev/null 2>&1; then \ -- echo "" > /dev/null; \ -- else \ -- echo "Unable to find $(LIBDIR) in ld.so.conf. In order to use "; \ -- echo "$(LIB_STATIC), you may need to add it or set LD_LIBRARY_PATH."; \ -- fi; \ -- if test -w /etc; then \ -- echo "$(LDCONFIG)"; \ -- $(LDCONFIG); \ -- fi; \ -- fi ;\ -- fi \ - ) - - install.script: -@@ -161,18 +146,6 @@ - $(RM) -f $(LIBDIR)/$(LIB_SHARED).$(LIBVERMAJOR) $(LIBDIR)/$(LIB_SHARED); \ - $(LN_S) -f $(LIB_SHARED).$(LIBVER) $(LIBDIR)/$(LIB_SHARED).$(LIBVERMAJOR); \ - $(LN_S) -f $(LIB_SHARED).$(LIBVERMAJOR) $(LIBDIR)/$(LIB_SHARED); \ -- if test `uname` = "Linux"; then \ -- if test $(LIBDIR) = "/lib" || test $(LIBDIR) = "/usr/lib"; then \ -- echo "" > /dev/null; \ -- elif grep -q $(LIBDIR) /etc/ld.so.conf > /dev/null 2>&1; then \ -- echo "" > /dev/null; \ -- else \ -- echo "Unable to find $(LIBDIR) in ld.so.conf. In order to use "; \ -- echo "$(LIB_SHARED), you may need to add it or set LD_LIBRARY_PATH."; \ -- fi; \ -- echo "$(LDCONFIG)"; \ -- $(LDCONFIG); \ -- fi \ - ) - - install.cyg: -@@ -221,7 +194,7 @@ - ) - - install.apps: install.lib -- cd apps; make install; cd .. -+ cd apps; $(MAKE) install; cd .. - - uninstall.bin: - -@@ -286,7 +259,7 @@ - cd apps; make deps; cd .. - - apps: @LIBPROG@ $(LIB_OBJS) $(LIB_INCS) $(APPS_SRCS) $(APPS_INCS) -- cd apps; make ; cd .. -+ cd apps; $(MAKE) ; cd .. - - - $(LIB_STATIC): $(LIB_OBJS) $(LIB_INCS) config.h -@@ -325,10 +298,10 @@ - - $(LIB_SHARED_CYG): $(LIB_OBJS) $(LIB_INCS) - $(CC) -shared -o $(LIB_SHARED_CYG) \ -- -Wl,--out-implib=$(LIB_SHARED_CYG_AR) \ -- -Wl,--export-all-symbols -Wl,--enable-auto-import \ -- -Wl,--whole-archive ${LIB_OBJS} \ -- $(USER_LD_FLAGS) -Wl,--no-whole-archive $(LIBRARIES) -+ -Wl,--out-implib=$(LIB_SHARED_CYG_AR) \ -+ -Wl,--export-all-symbols -Wl,--enable-auto-import \ -+ -Wl,--whole-archive ${LIB_OBJS} \ -+ $(USER_LD_FLAGS) -Wl,--no-whole-archive $(LIBRARIES) - - $(LIB_SHARED): $(LIB_SHARED).$(LIBVERMAJOR) - $(LN_S) -f $(LIB_SHARED).$(LIBVERMAJOR) $(LIB_SHARED) -@@ -349,7 +322,6 @@ - $(INSTALL_DATA) $$page_name.man $(AFTER_MAN_DIR)/$$page_name.1x; \ - done; cd ../..; \ - fi -- - - install.doc: - @if [ -d doc/html ] ; then \ -@@ -364,7 +336,7 @@ - cd ../..; \ - fi - --install: install.lib install.man install.doc install.apps -+install: install.lib - - - uninstall: uninstall.lib -diff -Nur libAfterImage-1.07/Makefile.in~ libAfterImage-1.07.new/Makefile.in~ ---- libAfterImage-1.07/Makefile.in~ 1970-01-01 01:00:00.000000000 +0100 -+++ libAfterImage-1.07.new/Makefile.in~ 2007-02-04 16:56:24.000000000 +0000 -@@ -0,0 +1,343 @@ -+# -+# Copyright (c) 2001, Sasha Vasko <sasha at aftercode.net> -+# Copyright (c) 1998, Guylhem AZNAR <guylhem@oeil.qc.ca> -+# -+ -+subdirs = libjpeg libpng libungif zlib -+ -+LIBJPEG_OBJS = libjpeg/jcapimin.o libjpeg/jcapistd.o libjpeg/jccoefct.o \ -+ libjpeg/jccolor.o libjpeg/jcdctmgr.o libjpeg/jchuff.o \ -+ libjpeg/jcinit.o libjpeg/jcmainct.o libjpeg/jcmarker.o \ -+ libjpeg/jcmaster.o libjpeg/jcomapi.o libjpeg/jcparam.o \ -+ libjpeg/jcphuff.o libjpeg/jcprepct.o libjpeg/jcsample.o \ -+ libjpeg/jctrans.o libjpeg/jdapimin.o libjpeg/jdapistd.o \ -+ libjpeg/jdatadst.o libjpeg/jdatasrc.o libjpeg/jdcoefct.o \ -+ libjpeg/jdcolor.o libjpeg/jddctmgr.o libjpeg/jdhuff.o \ -+ libjpeg/jdinput.o libjpeg/jdmainct.o libjpeg/jdmarker.o \ -+ libjpeg/jdmaster.o libjpeg/jdmerge.o libjpeg/jdphuff.o \ -+ libjpeg/jdpostct.o libjpeg/jdsample.o libjpeg/jdtrans.o \ -+ libjpeg/jerror.o libjpeg/jfdctflt.o libjpeg/jfdctfst.o \ -+ libjpeg/jfdctint.o libjpeg/jidctflt.o libjpeg/jidctfst.o \ -+ libjpeg/jidctint.o libjpeg/jidctred.o libjpeg/jquant1.o \ -+ libjpeg/jquant2.o libjpeg/jutils.o libjpeg/jmemmgr.o libjpeg/jmemnobs.o -+ -+LIBPNG_OBJS = libpng/png.o libpng/pngset.o libpng/pngget.o libpng/pngrutil.o \ -+ libpng/pngtrans.o libpng/pngwutil.o libpng/pngread.o libpng/pngrio.o \ -+ libpng/pngwio.o libpng/pngwrite.o libpng/pngrtran.o \ -+ libpng/pngwtran.o libpng/pngmem.o libpng/pngerror.o \ -+ libpng/pngpread.o libpng/pnggccrd.o -+ -+ZLIB_OBJS = zlib/adler32.o zlib/compress.o zlib/crc32.o \ -+ zlib/gzio.o zlib/uncompr.o zlib/deflate.o \ -+ zlib/trees.o zlib/zutil.o zlib/inflate.o \ -+ zlib/infback.o zlib/inftrees.o zlib/inffast.o -+ -+LIBUNGIF_OBJS = libungif/dgif_lib.o libungif/egif_lib.o libungif/gifalloc.o libungif/gif_err.o -+ -+AFTERIMAGE_OBJS= @AFTERBASE_C@ asimage.o ascmap.o asfont.o asimagexml.o asstorage.o \ -+ asvisual.o blender.o bmp.o char2uni.o draw.o export.o imencdec.o import.o \ -+ pixmap.o transform.o ungif.o xcf.o ximage.o xpm.o -+ -+################################################################ -+# library specifics : -+ -+LIB_INCS= afterimage.h config.h afterbase.h ascmap.h asfont.h asim_afterbase.h \ -+ asimage.h asimagexml.h asstorage.h asvisual.h blender.h bmp.h char2uni.h \ -+ draw.h export.h imencdec.h import.h pixmap.h transform.h ungif.h \ -+ xcf.h ximage.h xpm.h xwrap.h -+ -+LIB_OBJS= @JPEG_OBJS@ @ZLIB_OBJS@ @PNG_OBJS@ @UNGIF_OBJS@ $(AFTERIMAGE_OBJS) -+ -+APPS_SRCS=apps/common.c apps/ascompose.c apps/asview.c \ -+ apps/asscale.c apps/astile.c apps/asmerge.c \ -+ apps/asgrad.c apps/asflip.c apps/astext.c -+ -+APPS_INCS=apps/common.h -+ -+# end specifics -+################################################################ -+# generic makefile stuff : -+ -+LIB_DIR_NAME = libAfterImage -+LIB_NAME = LIBAFTERIMAGE -+LIB_STATIC = libAfterImage.a -+LIB_SHARED = libAfterImage.so -+LIB_SHARED_CYG = cygAfterImage.dll -+LIB_SHARED_CYG_AR = libAfterImage.dll.a -+LIBVER = 0.99 -+LIBVERMAJOR = 0 -+ -+CC = @CC@ -+CCFLAGS = @CFLAGS@ -+# -march=pentiumpro -mcpu=pentiumpro -+EXTRA_DEFINES = @DEFINE_XLOCALE@ -+ -+RANLIB = @RANLIB@ -+AR = ar clq -+CP = @CP@ -+MV = @MV@ -+RM = @RM@ -+RMF = @RM@ -f -+MKDIR = @MKDIR@ -p -+FIND = @FIND@ -+XARGS = @XARGS@ -+LDCONFIG = @LDCONFIG@ -+ROBODOC = robodoc -+LN_S = @LN_S@ -+ -+YACC = @YACC@ -+LEX = @LEX@ -+YACCFLAGS = -d -+LEXFLAGS = -+ -+INSTALL = @INSTALL@ -+INSTALL_PROGRAM = @INSTALL@ -s -m 755 -+INSTALL_DATA = @INSTALL@ -m 644 -+INSTALL_HEADER = @INSTALL@ -m 644 -+INSTALL_LIB = @INSTALL@ -m 755 -+INSTALL_SCRIPT = @INSTALL@ -m 755 -+ -+INCS_EXTRA = @XPM_CFLAGS@ @JPEG_CFLAGS@ @PNG_CFLAGS@ @GIF_CFLAGS@ @TIFF_CFLAGS@ @TTF_INCLUDES@ -+INCS_X = @X_CFLAGS@ -+INCS_PRIVATE = -+INCLUDES = $(INCS_EXTRA) $(INCS_PRIVATE) $(INCS_X) -+ -+USER_LD_FLAGS = @user_ldflags@ -+LIBS_X = @x_libs@ -+LIBS_XEXTS = -+LIBS_TEST = @AFTERIMAGE_TEST_LIBS@ -+LIBS_AFTERIMAGE = @AFTERIMAGE_LIB_LIBS@ -+LIBRARIES = $(LIBS_AFTERIMAGE) $(LIBS_X) $(LIBS_XEXTS) -+LIBRARIES_TEST = $(LIBS_TEST) $(LIBS_X) $(LIBS_XEXTS) -+ -+prefix = @prefix@ -+exec_prefix = @exec_prefix@ -+LIBDIR = $(DESTDIR)@libdir@ -+INCLUDEDIR = $(DESTDIR)@includedir@ -+AFTER_INC_DIR = $(DESTDIR)@includedir@/$(LIB_DIR_NAME) -+AFTER_BIN_DIR = $(DESTDIR)@bindir@ -+AFTER_MAN_DIR = $(DESTDIR)@mandir@/man3 -+AFTER_APP_MAN_DIR = $(DESTDIR)@mandir@/man1 -+AFTER_SHAREDIR = $(DESTDIR)@datadir@/$(LIB_DIR_NAME) -+AFTER_DOC_DIR = $(AFTER_SHAREDIR)/doc -+ -+# We want to build both static and dynamic libs, as some service apps may need -+# static library as they gets run at compile time (ASDocGen for example) -+# but we only install whats selected -+all: $(LIB_STATIC) @LIBPROG@ $(INSTALLONBUILD) apps -+ -+install.bin: -+ -+install.lib: @LIBPROG@ @LIBINSTALL@ install.inc -+ -+install.static: -+ $(INSTALL_SCRIPT) afterimage-libs afterimage-config $(AFTER_BIN_DIR) -+ @(if [ -d $(LIBDIR) ] && [ -w $(LIBDIR) ]; then \ -+ echo "$(INSTALL_LIB) $(LIB_STATIC) $(LIBDIR)"; \ -+ $(INSTALL_LIB) $(LIB_STATIC) $(LIBDIR); \ -+ ) -+ -+install.script: -+ -+install.dyn: -+ @( echo "$(INSTALL_LIB) $(LIB_SHARED).$(LIBVER) $(LIBDIR)"; \ -+ $(INSTALL_LIB) $(LIB_SHARED).$(LIBVER) $(LIBDIR); \ -+ $(INSTALL_SCRIPT) afterimage-libs afterimage-config $(AFTER_BIN_DIR); \ -+ $(RM) -f $(LIBDIR)/$(LIB_SHARED).$(LIBVERMAJOR) $(LIBDIR)/$(LIB_SHARED); \ -+ $(LN_S) -f $(LIB_SHARED).$(LIBVER) $(LIBDIR)/$(LIB_SHARED).$(LIBVERMAJOR); \ -+ $(LN_S) -f $(LIB_SHARED).$(LIBVERMAJOR) $(LIBDIR)/$(LIB_SHARED); \ -+ ) -+ -+install.cyg: -+ @( echo "$(INSTALL_LIB) $(LIB_SHARED_CYG) $(AFTER_BIN_DIR)"; \ -+ $(INSTALL_LIB) $(LIB_SHARED_CYG) $(AFTER_BIN_DIR); \ -+ echo "$(INSTALL_LIB) $(LIB_SHARED_CYG) $(LIBDIR)"; \ -+ $(INSTALL_LIB) $(LIB_SHARED_CYG) $(LIBDIR); \ -+ echo "$(INSTALL_LIB) $(LIB_SHARED_CYG_AR) $(LIBDIR)"; \ -+ $(INSTALL_LIB) $(LIB_SHARED_CYG_AR) $(LIBDIR); \ -+ echo "$(INSTALL_SCRIPT) afterimage-libs afterimage-config $(AFTER_BIN_DIR)"; \ -+ $(INSTALL_SCRIPT) afterimage-libs afterimage-config $(AFTER_BIN_DIR); \ -+ ) -+ -+install.inc: -+ @(if [ -d $(AFTER_INC_DIR) ]; then \ -+ echo "$(RM) $(AFTER_INC_DIR)/*"; \ -+ $(RM) $(AFTER_INC_DIR)/*; \ -+ else \ -+ if [ -d $(INCLUDEDIR) ]; then \ -+ echo "$(MKDIR) $(AFTER_INC_DIR)"; \ -+ if $(MKDIR) $(AFTER_INC_DIR); then \ -+ echo " ">/dev/null; \ -+ else \ -+ echo "failed to create include directory: $(AFTER_INC_DIR)"; \ -+ fi; \ -+ else \ -+ echo "$(MKDIR) $(INCLUDEDIR)"; \ -+ if $(MKDIR) $(INCLUDEDIR); then \ -+ echo "$(MKDIR) $(AFTER_INC_DIR)"; \ -+ if $(MKDIR) $(AFTER_INC_DIR) >/dev/null; then \ -+ echo " ">/dev/null; \ -+ else \ -+ echo "failed to create include directory: $(AFTER_INC_DIR)"; \ -+ fi; \ -+ else \ -+ echo "failed to create include directory: $(INCLUDEDIR)"; \ -+ fi; \ -+ fi; \ -+ fi; \ -+ if [ -d $(AFTER_INC_DIR) ]; then \ -+ for file in $(LIB_INCS) ; do \ -+ echo "$(INSTALL_HEADER) $$file $(AFTER_INC_DIR)"; \ -+ $(INSTALL_HEADER) $$file $(AFTER_INC_DIR); \ -+ done; \ -+ fi \ -+ ) -+ -+install.apps: install.lib -+ cd apps; $(MAKE) install; cd .. -+ -+uninstall.bin: -+ -+uninstall.lib: -+ -+uninstall.man: -+ -+uninstall.script: -+ -+clean: -+ $(RMF) $(LIB_SHARED) $(LIB_SHARED_CYG) $(LIB_SHARED_CYG_AR) $(LIB_STATIC) *.so.* *.so *.o *~ *% *.bak \#* core ; \ -+ for I in ${subdirs}; do $(RMF) $$I/*.o $$I/*.obj $$I/*.bak; done; \ -+ cd apps; make clean; cd .. -+ -+distclean: clean -+ $(RMF) $(LIB_SHARED) $(LIB_SHARED_CYG) $(LIB_SHARED_CYG_AR) $(LIB_STATIC) *.o *.so.* *~ *% *.bak \#* *.orig core Makefile ; \ -+ cd apps; make distclean; cd .. -+ -+indent: -+ @SRCS=`echo "$(AFTERIMAGE_OBJS) " | sed "s/.o /.c /g"`; \ -+ if test "x$$SRCS" == "x"; then exit; fi; \ -+ for i in $$SRCS; do \ -+ if (indent -di14 -ts4 -i4 -l120 -lc80 -bad -nbbb -bli0 -c48 -cd48 -ce -cli1 -ncs -nbs -nbbo -hnl < $$i > /tmp/$$i); then \ -+ echo "indent $$i"; \ -+ mv /tmp/$$i $$i; \ -+ fi; \ -+ done ; \ -+ cd apps; make indent; cd .. -+ -+deps: -+ echo -n > .depend ; \ -+ buf="" ; \ -+ SRCS=`echo "$(AFTERIMAGE_OBJS) " | sed "s/.o /.c /g"`; \ -+ echo -n $(LIB_NAME)_OBJS = > .shared ; \ -+ for file in $$SRCS; do \ -+ echo " \\" >> .shared ; \ -+ echo -n ' $$('$(LIB_NAME)_PATH')'/$$file >> .shared ; \ -+ if test "x$$buf" != "x"; then \ -+ echo $$buf >>.depend ; \ -+ echo >>.depend ; \ -+ fi; \ -+ buf="./"`echo "$$file " | sed "s/.c /.o /g"`: ; \ -+ for d in `grep "#include \"" < $$file | awk -F \" '{print $$2}'`; do \ -+ if test "x$$buf" != "x"; then \ -+ echo $$buf \\ >>.depend ; \ -+ fi; \ -+ echo -n " " >>.depend ; \ -+ buf="$$d "; \ -+ done; \ -+ done; \ -+ if test "x$$buf" != "x"; then \ -+ echo $$buf >>.depend ; \ -+ fi; \ -+ echo "">> .shared ; \ -+ echo "">> .shared ; \ -+ echo -n $(LIB_NAME)_INCS = >> .shared ; \ -+ for f in $(LIB_INCS); do \ -+ echo " \\" >> .shared ; \ -+ echo -n ' $$('$(LIB_NAME)_PATH')'/$$f >> .shared ; \ -+ done; \ -+ echo "" >> .shared ; \ -+ cd apps; make deps; cd .. -+ -+apps: @LIBPROG@ $(LIB_OBJS) $(LIB_INCS) $(APPS_SRCS) $(APPS_INCS) -+ cd apps; make ; cd .. -+ -+ -+$(LIB_STATIC): $(LIB_OBJS) $(LIB_INCS) config.h -+ $(RMF) $(LIB_STATIC) -+ $(AR) $(LIB_STATIC) $(LIB_OBJS) -+ $(RANLIB) $(LIB_STATIC) -+ -+test_asstorage.o: asstorage.c -+ $(CC) $(CCFLAGS) $(EXTRA_DEFINES) -DTEST_ASSTORAGE $(INCLUDES) $(EXTRA_INCLUDES) -c asstorage.c -o test_asstorage.o -+ -+test_asstorage: test_asstorage.o -+ $(CC) test_asstorage.o $(USER_LD_FLAGS) $(LIBRARIES_TEST) $(EXTRA_LIBRARIES) -o test_asstorage -+ -+test_asdraw.o: draw.c -+ $(CC) $(CCFLAGS) $(EXTRA_DEFINES) -DTEST_ASDRAW $(INCLUDES) $(EXTRA_INCLUDES) -c draw.c -o test_asdraw.o -+ -+test_asdraw: test_asdraw.o -+ $(CC) test_asdraw.o $(USER_LD_FLAGS) $(LIBRARIES_TEST) $(EXTRA_LIBRARIES) -o test_asdraw -+ -+ -+ -+.c.o: -+ $(CC) $(CCFLAGS) $(EXTRA_DEFINES) $(INCLUDES) $(EXTRA_INCLUDES) -c $*.c -o $@ -+ -+.c.s: -+ $(CC) $(CCFLAGS) $(EXTRA_DEFINES) $(INCLUDES) $(EXTRA_INCLUDES) -S $*.c -+ -+# -+# include dependency files if they exist -+# -+# this is merely a precaution, but as it does not work with ansi make -+# we took it out -+#ifneq ($(wildcard .depend),) -+include .depend -+#endif -+ -+$(LIB_SHARED_CYG): $(LIB_OBJS) $(LIB_INCS) -+ $(CC) -shared -o $(LIB_SHARED_CYG) \ -+ -Wl,--out-implib=$(LIB_SHARED_CYG_AR) \ -+ -Wl,--export-all-symbols -Wl,--enable-auto-import \ -+ -Wl,--whole-archive ${LIB_OBJS} \ -+ $(USER_LD_FLAGS) -Wl,--no-whole-archive $(LIBRARIES) -+ -+$(LIB_SHARED): $(LIB_SHARED).$(LIBVERMAJOR) -+ $(LN_S) -f $(LIB_SHARED).$(LIBVERMAJOR) $(LIB_SHARED) -+ -+$(LIB_SHARED).$(LIBVERMAJOR): $(LIB_SHARED).$(LIBVER) -+ $(LN_S) -f $(LIB_SHARED).$(LIBVER) $(LIB_SHARED).$(LIBVERMAJOR) -+ -+$(LIB_SHARED).$(LIBVER): $(LIB_OBJS) $(LIB_INCS) config.h -+ $(CC) -shared -Wl,-soname,$(LIB_SHARED).$(LIBVERMAJOR) -o $(LIB_SHARED).$(LIBVER) \ -+ $(LIB_OBJS) -+ -+install.man: -+ @if [ -d doc/man ] ; then \ -+ cd doc/man; \ -+ for f in `ls *.man`; do \ -+ page_name=`echo $$f| awk -F . '{print $$1}'`; \ -+ echo $(INSTALL_DATA) $$page_name.man $(AFTER_MAN_DIR)/$$page_name.1x; \ -+ $(INSTALL_DATA) $$page_name.man $(AFTER_MAN_DIR)/$$page_name.1x; \ -+ done; cd ../..; \ -+ fi -+ -+install.doc: -+ @if [ -d doc/html ] ; then \ -+ if [ ! -d $(AFTER_DOC_DIR)/html ] ; then \ -+ $(MKDIR) -p $(AFTER_DOC_DIR)/html; \ -+ fi; \ -+ cd doc/html; \ -+ for f in `ls *.html`; do \ -+ echo $(INSTALL_DATA) $$f $(AFTER_DOC_DIR)/html/$$f; \ -+ $(INSTALL_DATA) $$f $(AFTER_DOC_DIR)/html/$$f; \ -+ done; \ -+ cd ../..; \ -+ fi -+ -+install: install.lib install.man install.apps -+ -+ -+uninstall: uninstall.lib -+ diff --git a/media-libs/libafterimage/libafterimage-1.07.ebuild b/media-libs/libafterimage/libafterimage-1.07.ebuild deleted file mode 100644 index 7ef608549fb9..000000000000 --- a/media-libs/libafterimage/libafterimage-1.07.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libafterimage/libafterimage-1.07.ebuild,v 1.3 2007/07/22 09:27:55 dberkholz Exp $ - -inherit eutils autotools - -MY_PN="libAfterImage" - -DESCRIPTION="Afterstep's standalone generic image manipulation library" -HOMEPAGE="http://www.afterstep.org/afterimage/index.php" -SRC_URI="ftp://ftp.afterstep.org/stable/${MY_PN}/${MY_PN}-${PV}.tar.bz2" - -LICENSE="LGPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="gif jpeg mmx nls png tiff examples" - -RDEPEND="media-libs/freetype - x11-libs/libICE - x11-libs/libSM - x11-libs/libXext - x11-libs/libXrender - x11-libs/libX11 - png? ( >=media-libs/libpng-1.2.5 ) - jpeg? ( >=media-libs/jpeg-6b ) - gif? ( >=media-libs/giflib-4.1 ) - tiff? ( >=media-libs/tiff-3.5.7 )" - -DEPEND="${RDEPEND} - !x11-wm/afterstep" - -S="${WORKDIR}/${MY_PN}-${PV}" - -src_unpack() { - unpack ${A} - # patch to build the test apps examples if use=test - epatch "${FILESDIR}"/${PN}-examples.patch - cd "${S}" - # patch for afterimage-config - epatch "${FILESDIR}"/${PN}-config.patch - # remove forced flags - sed -i \ - -e 's/CFLAGS="-O3"//' \ - -e 's/ -rdynamic//' \ - configure || die "sed failed" - - eautomake -} - -src_compile() { - econf \ - $(use_enable nls i18n) \ - $(use_enable mmx mmx-optimization) \ - $(use_with png) \ - $(use_with jpeg) \ - $(use_with gif) \ - $(use_with tiff) \ - --enable-glx \ - --enable-sharedlibs \ - --disable-staticlibs \ - --with-x \ - --with-xpm \ - --without-builtin-ungif \ - --without-afterbase \ - || die "econf failed" - - emake || die "emake failed" -} - -src_install() { - dodir /usr/include - dodir /usr/bin - dodir /usr/$(get_libdir) - emake DESTDIR="${D}" install || die "emake install failed" - dodoc ChangeLog README - if use examples; then - insinto /usr/share/doc/${PF}/examples - doins apps/* - fi -} diff --git a/media-libs/libafterimage/libafterimage-1.15.ebuild b/media-libs/libafterimage/libafterimage-1.15.ebuild deleted file mode 100644 index 2ea4a3097aaa..000000000000 --- a/media-libs/libafterimage/libafterimage-1.15.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libafterimage/libafterimage-1.15.ebuild,v 1.13 2008/04/08 09:20:34 armin76 Exp $ - -inherit eutils - -MY_PN="libAfterImage" - -DESCRIPTION="Afterstep's standalone generic image manipulation library" -HOMEPAGE="http://www.afterstep.org/afterimage/index.php" -SRC_URI="ftp://ftp.afterstep.org/stable/${MY_PN}/${MY_PN}-${PV}.tar.bz2" - -LICENSE="LGPL-2" -SLOT="0" -KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86" -IUSE="gif jpeg mmx nls png tiff examples" - -RDEPEND="media-libs/freetype - x11-libs/libSM - x11-libs/libXext - x11-libs/libXrender - png? ( >=media-libs/libpng-1.2.5 ) - jpeg? ( >=media-libs/jpeg-6b ) - gif? ( >=media-libs/giflib-4.1 ) - tiff? ( >=media-libs/tiff-3.5.7 )" - -DEPEND="${RDEPEND} - !x11-wm/afterstep" - -S="${WORKDIR}/${MY_PN}-${PV}" - -src_unpack() { - unpack ${A} - cd "${S}" - # fix apps makefile - epatch "${FILESDIR}"/${P}-examples.patch - # fix some ldconfig problem in makefile.in - epatch "${FILESDIR}"/${PN}-makefile.in.patch - # fix lib paths in afterimage-config - epatch "${FILESDIR}"/${PN}-config.patch - # remove forced flags - sed -i \ - -e 's/CFLAGS="-O3"//' \ - -e 's/ -rdynamic//' \ - configure || die "sed failed" -} - -src_compile() { - econf \ - $(use_enable nls i18n) \ - $(use_enable mmx mmx-optimization) \ - $(use_with png) \ - $(use_with jpeg) \ - $(use_with gif) \ - $(use_with tiff) \ - --enable-glx \ - --enable-sharedlibs \ - --with-x \ - --with-xpm \ - --without-builtin-ungif \ - --without-afterbase \ - || die "econf failed" - - emake || die "emake failed" -} - -src_install() { - emake \ - DESTDIR="${D}" \ - AFTER_DOC_DIR="${D}/usr/share/doc/${PF}" \ - install || die "emake install failed" - dodoc ChangeLog README || die - if use examples; then - cd apps - emake clean - rm -f Makefile* - insinto /usr/share/doc/${PF}/examples - doins * || die "install examples failed" - fi -} diff --git a/media-libs/libafterimage/libafterimage-1.18.ebuild b/media-libs/libafterimage/libafterimage-1.18.ebuild deleted file mode 100644 index 2931d9cdba81..000000000000 --- a/media-libs/libafterimage/libafterimage-1.18.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libafterimage/libafterimage-1.18.ebuild,v 1.2 2008/12/13 13:57:00 aballier Exp $ - -inherit eutils - -MY_PN="libAfterImage" - -DESCRIPTION="Afterstep's standalone generic image manipulation library" -HOMEPAGE="http://www.afterstep.org/afterimage/index.php" -SRC_URI="ftp://ftp.afterstep.org/stable/${MY_PN}/${MY_PN}-${PV}.tar.bz2" - -LICENSE="LGPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" -IUSE="gif jpeg mmx nls png tiff examples" - -RDEPEND="media-libs/freetype - x11-libs/libSM - x11-libs/libXext - x11-libs/libXrender - png? ( media-libs/libpng ) - jpeg? ( media-libs/jpeg ) - gif? ( media-libs/giflib ) - tiff? ( media-libs/tiff )" - -DEPEND="${RDEPEND} - !x11-wm/afterstep" - -S="${WORKDIR}/${MY_PN}-${PV}" - -src_unpack() { - unpack ${A} - cd "${S}" - # fix some ldconfig problem in makefile.in - epatch "${FILESDIR}"/${PN}-makefile.in.patch - # fix lib paths in afterimage-config - epatch "${FILESDIR}"/${PN}-config.patch - # Fix recursive make calls, bug #210965 - epatch "${FILESDIR}"/${P}-recmake_bsd.patch - # remove forced flags - sed -i \ - -e 's/CFLAGS="-O3"//' \ - -e 's/ -rdynamic//' \ - configure || die "sed failed" -} - -src_compile() { - econf \ - $(use_enable nls i18n) \ - $(use_enable mmx mmx-optimization) \ - $(use_with png) \ - $(use_with jpeg) \ - $(use_with gif) \ - $(use_with tiff) \ - --enable-glx \ - --enable-sharedlibs \ - --with-x \ - --with-xpm \ - --without-builtin-ungif \ - --without-afterbase \ - || die "econf failed" - - emake || die "emake failed" -} - -src_install() { - emake \ - DESTDIR="${D}" \ - AFTER_DOC_DIR="${D}/usr/share/doc/${PF}" \ - install || die "emake install failed" - dodoc ChangeLog README || die - if use examples; then - cd apps || die - emake clean - rm -f Makefile* - insinto /usr/share/doc/${PF}/examples - doins * || die "install examples failed" - fi -} |