Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] svn commit: trunk/buildroot/package/tiff
@ 2008-11-11 11:43 laird at uclibc.org
  2008-11-11 12:31 ` Thomas Petazzoni
  0 siblings, 1 reply; 10+ messages in thread
From: laird at uclibc.org @ 2008-11-11 11:43 UTC (permalink / raw)
  To: buildroot

Author: laird
Date: 2008-11-11 03:43:27 -0800 (Tue, 11 Nov 2008)
New Revision: 23999

Log:
package/tiff/tiff.mk: Change to Autotools.in format

Bounce tiff into Autotools.in format.
Did not use install to target as this puts loads of executables into TARGET.
So just copied tiff.so instead.

Signed-off-by: Daniel Laird <daniel.j.laird@nxp.com>



Modified:
   trunk/buildroot/package/tiff/tiff.mk


Changeset:
Modified: trunk/buildroot/package/tiff/tiff.mk
===================================================================
--- trunk/buildroot/package/tiff/tiff.mk	2008-11-11 11:33:45 UTC (rev 23998)
+++ trunk/buildroot/package/tiff/tiff.mk	2008-11-11 11:43:27 UTC (rev 23999)
@@ -4,85 +4,23 @@
 #
 #############################################################
 TIFF_VERSION:=3.8.2
-TIFF_SOURCE:=tiff_$(TIFF_VERSION).orig.tar.gz
-TIFF_SOURCE2:=tiff-$(TIFF_VERSION).tar.gz
-TIFF_SITE:=$(BR2_DEBIAN_MIRROR)/debian/pool/main/t/tiff/
-TIFF_DIR:=$(BUILD_DIR)/tiff-$(TIFF_VERSION)
-TIFF_CAT:=$(ZCAT)
+TIFF_SITE:=ftp://ftp.remotesensing.org/pub/libtiff
+TIFF_SOURCE:=tiff-$(TIFF_VERSION).tar.gz
+TIFF_LIBTOOL_PATCH = NO
+TIFF_INSTALL_STAGING = YES
+TIFF_INSTALL_TARGET = NO
+TIFF_CONF_OPT = \
+	--enable-shared \
+	--enable-static \
+	--disable-cxx \
+	--without-x \
 
-$(DL_DIR)/$(TIFF_SOURCE):
-	 $(WGET) -P $(DL_DIR) $(TIFF_SITE)/$(TIFF_SOURCE)
+TIFF_DEPENDENCIES = uclibc pkgconfig zlib jpeg
 
-tiff-source: $(DL_DIR)/$(TIFF_SOURCE)
+$(eval $(call AUTOTARGETS,package,tiff))
 
-$(TIFF_DIR)/.unpacked: $(DL_DIR)/$(TIFF_SOURCE)
-	$(TIFF_CAT) $(DL_DIR)/$(TIFF_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
-	$(TIFF_CAT) $(TIFF_DIR)/$(TIFF_SOURCE2) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
-	toolchain/patch-kernel.sh $(TIFF_DIR) package/tiff/ tiff\*.patch
-	$(CONFIG_UPDATE) $(TIFF_DIR)
-	$(CONFIG_UPDATE) $(TIFF_DIR)/config
-	touch $(TIFF_DIR)/.unpacked
+$(TIFF_HOOK_POST_BUILD):
+	-cp -a $(TIFF_DIR)/libtiff/.libs/libtiff.so* $(TARGET_DIR)/usr/lib/
+	$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libtiff.so
+	touch $@
 
-$(TIFF_DIR)/.configured: $(TIFF_DIR)/.unpacked \
-	$(STAGING_DIR)/usr/lib/libjpeg.a $(STAGING_DIR)/usr/lib/libz.so
-	(cd $(TIFF_DIR); rm -rf config.cache; \
-		$(TARGET_CONFIGURE_OPTS) \
-		$(TARGET_CONFIGURE_ARGS) \
-		./configure \
-		--target=$(GNU_TARGET_NAME) \
-		--host=$(GNU_TARGET_NAME) \
-		--build=$(GNU_HOST_NAME) \
-		--prefix=/usr \
-		--exec-prefix=/usr \
-		--bindir=/usr/bin \
-		--sbindir=/usr/sbin \
-		--libdir=/usr/lib \
-		--libexecdir=/usr/lib \
-		--sysconfdir=/etc \
-		--datadir=/usr/share \
-		--localstatedir=/var \
-		--includedir=/usr/include \
-		--mandir=/usr/man \
-		--infodir=/usr/info \
-		--enable-shared \
-		--enable-static \
-		--disable-cxx \
-		--without-x \
-		--with-jpeg-include-dir=$(STAGING_DIR)/usr/include \
-		--with-jpeg-lib-dir=$(STAGING_DIR)/lib \
-		--with-zlib-include-dir=$(STAGING_DIR)/usr/include \
-		--with-zlib-lib-dir=$(STAGING_DIR)/lib \
-	)
-	touch $(TIFF_DIR)/.configured
-
-$(TIFF_DIR)/libtiff/.libs/libtiff.a: $(TIFF_DIR)/.configured
-	$(MAKE) -C $(TIFF_DIR)
-	touch -c $@
-
-$(STAGING_DIR)/usr/lib/libtiff.so: $(TIFF_DIR)/libtiff/.libs/libtiff.a
-	$(MAKE) DESTDIR=$(STAGING_DIR) -C $(TIFF_DIR) install
-	$(SED) "s,^libdir=.*,libdir=\'$(STAGING_DIR)/usr/lib\',g" $(STAGING_DIR)/usr/lib/libtiff.la
-	touch -c $@
-
-$(TARGET_DIR)/usr/lib/libtiff.so: $(STAGING_DIR)/usr/lib/libtiff.so
-	cp -dpf $(STAGING_DIR)/usr/lib/libtiff.so* $(TARGET_DIR)/usr/lib/
-	-$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $@
-
-tiff: uclibc $(TARGET_DIR)/usr/lib/libtiff.so
-
-tiff-clean:
-	-rm -f $(TARGET_DIR)/usr/lib/libtiff.so*
-	-$(MAKE) -C $(TIFF_DIR) DESTDIR=$(STAGING_DIR) uninstall
-	-$(MAKE) -C $(TIFF_DIR) clean
-
-tiff-dirclean:
-	rm -rf $(TIFF_DIR)
-
-#############################################################
-#
-# Toplevel Makefile options
-#
-#############################################################
-ifeq ($(strip $(BR2_PACKAGE_TIFF)),y)
-TARGETS+=tiff
-endif

^ permalink raw reply	[flat|nested] 10+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/tiff
@ 2008-12-08  4:41 hamish at uclibc.org
  0 siblings, 0 replies; 10+ messages in thread
From: hamish at uclibc.org @ 2008-12-08  4:41 UTC (permalink / raw)
  To: buildroot

Author: hamish
Date: 2008-12-07 20:41:19 -0800 (Sun, 07 Dec 2008)
New Revision: 24304

Log:
Over-ride the target-install target rather than installing as a post-build
hook. Otherwise the wrong stamps are used and the library won't be reinstalled
if you clean out $(TARGET_DIR).


Modified:
   trunk/buildroot/package/tiff/tiff.mk


Changeset:
Modified: trunk/buildroot/package/tiff/tiff.mk
===================================================================
--- trunk/buildroot/package/tiff/tiff.mk	2008-12-07 21:22:51 UTC (rev 24303)
+++ trunk/buildroot/package/tiff/tiff.mk	2008-12-08 04:41:19 UTC (rev 24304)
@@ -8,7 +8,7 @@
 TIFF_SOURCE:=tiff-$(TIFF_VERSION).tar.gz
 TIFF_LIBTOOL_PATCH = NO
 TIFF_INSTALL_STAGING = YES
-TIFF_INSTALL_TARGET = NO
+TIFF_INSTALL_TARGET = YES
 TIFF_CONF_OPT = \
 	--enable-shared \
 	--enable-static \
@@ -19,7 +19,7 @@
 
 $(eval $(call AUTOTARGETS,package,tiff))
 
-$(TIFF_HOOK_POST_BUILD):
+$(TIFF_TARGET_INSTALL_TARGET):
 	-cp -a $(TIFF_DIR)/libtiff/.libs/libtiff.so* $(TARGET_DIR)/usr/lib/
 	$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libtiff.so
 	touch $@

^ permalink raw reply	[flat|nested] 10+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/tiff
@ 2008-07-17 13:19 jacmet at uclibc.org
  0 siblings, 0 replies; 10+ messages in thread
From: jacmet at uclibc.org @ 2008-07-17 13:19 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2008-07-17 06:19:42 -0700 (Thu, 17 Jul 2008)
New Revision: 22859

Log:
tiff: zlib and jpeg are needed at configure time

Modified:
   trunk/buildroot/package/tiff/tiff.mk


Changeset:
Modified: trunk/buildroot/package/tiff/tiff.mk
===================================================================
--- trunk/buildroot/package/tiff/tiff.mk	2008-07-17 13:19:33 UTC (rev 22858)
+++ trunk/buildroot/package/tiff/tiff.mk	2008-07-17 13:19:42 UTC (rev 22859)
@@ -23,7 +23,8 @@
 	$(CONFIG_UPDATE) $(TIFF_DIR)/config
 	touch $(TIFF_DIR)/.unpacked
 
-$(TIFF_DIR)/.configured: $(TIFF_DIR)/.unpacked
+$(TIFF_DIR)/.configured: $(TIFF_DIR)/.unpacked \
+	$(STAGING_DIR)/usr/lib/libjpeg.a $(STAGING_DIR)/usr/lib/libz.so
 	(cd $(TIFF_DIR); rm -rf config.cache; \
 		$(TARGET_CONFIGURE_OPTS) \
 		$(TARGET_CONFIGURE_ARGS) \
@@ -67,7 +68,7 @@
 	cp -dpf $(STAGING_DIR)/usr/lib/libtiff.so* $(TARGET_DIR)/usr/lib/
 	-$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $@
 
-tiff: uclibc zlib jpeg $(TARGET_DIR)/usr/lib/libtiff.so
+tiff: uclibc $(TARGET_DIR)/usr/lib/libtiff.so
 
 tiff-clean:
 	-rm -f $(TARGET_DIR)/usr/lib/libtiff.so*

^ permalink raw reply	[flat|nested] 10+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/tiff
@ 2008-07-17 13:19 jacmet at uclibc.org
  0 siblings, 0 replies; 10+ messages in thread
From: jacmet at uclibc.org @ 2008-07-17 13:19 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2008-07-17 06:19:33 -0700 (Thu, 17 Jul 2008)
New Revision: 22858

Log:
tiff: cleanup and fix -clean target

Modified:
   trunk/buildroot/package/tiff/tiff.mk


Changeset:
Modified: trunk/buildroot/package/tiff/tiff.mk
===================================================================
--- trunk/buildroot/package/tiff/tiff.mk	2008-07-17 11:59:13 UTC (rev 22857)
+++ trunk/buildroot/package/tiff/tiff.mk	2008-07-17 13:19:33 UTC (rev 22858)
@@ -56,20 +56,22 @@
 
 $(TIFF_DIR)/libtiff/.libs/libtiff.a: $(TIFF_DIR)/.configured
 	$(MAKE) -C $(TIFF_DIR)
-	touch -c $(TIFF_DIR)/libtiff/.libs/libtiff.a
+	touch -c $@
 
-$(STAGING_DIR)/usr/lib/libtiff.so.$(TIFF_VERSION): $(TIFF_DIR)/libtiff/.libs/libtiff.a
+$(STAGING_DIR)/usr/lib/libtiff.so: $(TIFF_DIR)/libtiff/.libs/libtiff.a
 	$(MAKE) DESTDIR=$(STAGING_DIR) -C $(TIFF_DIR) install
 	$(SED) "s,^libdir=.*,libdir=\'$(STAGING_DIR)/usr/lib\',g" $(STAGING_DIR)/usr/lib/libtiff.la
-	touch -c $(STAGING_DIR)/usr/lib/libtiff.so.$(TIFF_VERSION)
+	touch -c $@
 
-$(TARGET_DIR)/usr/lib/libtiff.so.$(TIFF_VERSION): $(STAGING_DIR)/usr/lib/libtiff.so.$(TIFF_VERSION)
+$(TARGET_DIR)/usr/lib/libtiff.so: $(STAGING_DIR)/usr/lib/libtiff.so
 	cp -dpf $(STAGING_DIR)/usr/lib/libtiff.so* $(TARGET_DIR)/usr/lib/
-	-$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libtiff.so.$(TIFF_VERSION)
+	-$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $@
 
-tiff: uclibc zlib jpeg $(TARGET_DIR)/usr/lib/libtiff.so.$(TIFF_VERSION)
+tiff: uclibc zlib jpeg $(TARGET_DIR)/usr/lib/libtiff.so
 
 tiff-clean:
+	-rm -f $(TARGET_DIR)/usr/lib/libtiff.so*
+	-$(MAKE) -C $(TIFF_DIR) DESTDIR=$(STAGING_DIR) uninstall
 	-$(MAKE) -C $(TIFF_DIR) clean
 
 tiff-dirclean:

^ permalink raw reply	[flat|nested] 10+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/tiff
@ 2008-03-06 18:27 ninevoltz at uclibc.org
  0 siblings, 0 replies; 10+ messages in thread
From: ninevoltz at uclibc.org @ 2008-03-06 18:27 UTC (permalink / raw)
  To: buildroot

Author: ninevoltz
Date: 2008-03-06 10:27:19 -0800 (Thu, 06 Mar 2008)
New Revision: 21233

Log:
fixes for tiff makefile

Modified:
   trunk/buildroot/package/tiff/tiff.mk


Changeset:
Modified: trunk/buildroot/package/tiff/tiff.mk
===================================================================
--- trunk/buildroot/package/tiff/tiff.mk	2008-03-06 18:26:58 UTC (rev 21232)
+++ trunk/buildroot/package/tiff/tiff.mk	2008-03-06 18:27:19 UTC (rev 21233)
@@ -35,7 +35,7 @@
 		--exec-prefix=/usr \
 		--bindir=/usr/bin \
 		--sbindir=/usr/sbin \
-		--libdir=/lib \
+		--libdir=/usr/lib \
 		--libexecdir=/usr/lib \
 		--sysconfdir=/etc \
 		--datadir=/usr/share \
@@ -58,16 +58,16 @@
 	$(MAKE) -C $(TIFF_DIR)
 	touch -c $(TIFF_DIR)/libtiff/.libs/libtiff.a
 
-$(STAGING_DIR)/lib/libtiff.so.$(TIFF_VERSION): $(TIFF_DIR)/libtiff/.libs/libtiff.a
+$(STAGING_DIR)/usr/lib/libtiff.so.$(TIFF_VERSION): $(TIFF_DIR)/libtiff/.libs/libtiff.a
 	$(MAKE) DESTDIR=$(STAGING_DIR) -C $(TIFF_DIR) install
-	$(SED) "s,^libdir=.*,libdir=\'$(STAGING_DIR)/lib\',g" $(STAGING_DIR)/lib/libtiff.la
-	touch -c $(STAGING_DIR)/lib/libtiff.so.$(TIFF_VERSION)
+	$(SED) "s,^libdir=.*,libdir=\'$(STAGING_DIR)/usr/lib\',g" $(STAGING_DIR)/usr/lib/libtiff.la
+	touch -c $(STAGING_DIR)/usr/lib/libtiff.so.$(TIFF_VERSION)
 
-$(TARGET_DIR)/lib/libtiff.so.$(TIFF_VERSION): $(STAGING_DIR)/lib/libtiff.so.$(TIFF_VERSION)
-	cp -dpf $(STAGING_DIR)/lib/libtiff.so* $(TARGET_DIR)/lib/
-	-$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/lib/libtiff.so.$(TIFF_VERSION)
+$(TARGET_DIR)/usr/lib/libtiff.so.$(TIFF_VERSION): $(STAGING_DIR)/usr/lib/libtiff.so.$(TIFF_VERSION)
+	cp -dpf $(STAGING_DIR)/usr/lib/libtiff.so* $(TARGET_DIR)/usr/lib/
+	-$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libtiff.so.$(TIFF_VERSION)
 
-tiff: uclibc zlib jpeg $(TARGET_DIR)/lib/libtiff.so.$(TIFF_VERSION)
+tiff: uclibc zlib jpeg $(TARGET_DIR)/usr/lib/libtiff.so.$(TIFF_VERSION)
 
 tiff-clean:
 	-$(MAKE) -C $(TIFF_DIR) clean

^ permalink raw reply	[flat|nested] 10+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/tiff
@ 2007-08-10 18:53 andersen at uclibc.org
  0 siblings, 0 replies; 10+ messages in thread
From: andersen at uclibc.org @ 2007-08-10 18:53 UTC (permalink / raw)
  To: buildroot

Author: andersen
Date: 2007-08-10 11:53:34 -0700 (Fri, 10 Aug 2007)
New Revision: 19423

Log:
fixup compile


Modified:
   trunk/buildroot/package/tiff/tiff.mk


Changeset:
Modified: trunk/buildroot/package/tiff/tiff.mk
===================================================================
--- trunk/buildroot/package/tiff/tiff.mk	2007-08-10 14:44:48 UTC (rev 19422)
+++ trunk/buildroot/package/tiff/tiff.mk	2007-08-10 18:53:34 UTC (rev 19423)
@@ -5,6 +5,7 @@
 #############################################################
 TIFF_VERSION:=3.8.2
 TIFF_SOURCE:=tiff_$(TIFF_VERSION).orig.tar.gz
+TIFF_SOURCE2:=tiff-$(TIFF_VERSION).tar.gz
 TIFF_SITE:=http://ftp.debian.org/pool/main/t/tiff/
 TIFF_DIR:=$(BUILD_DIR)/tiff-$(TIFF_VERSION)
 TIFF_CAT:=$(ZCAT)
@@ -16,6 +17,7 @@
 
 $(TIFF_DIR)/.unpacked: $(DL_DIR)/$(TIFF_SOURCE)
 	$(TIFF_CAT) $(DL_DIR)/$(TIFF_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
+	$(TIFF_CAT) $(TIFF_DIR)/$(TIFF_SOURCE2) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
 	toolchain/patch-kernel.sh $(TIFF_DIR) package/tiff/ tiff\*.patch
 	$(CONFIG_UPDATE) $(TIFF_DIR)
 	$(CONFIG_UPDATE) $(TIFF_DIR)/config

^ permalink raw reply	[flat|nested] 10+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/tiff
@ 2007-08-05 12:21 aldot at uclibc.org
  0 siblings, 0 replies; 10+ messages in thread
From: aldot at uclibc.org @ 2007-08-05 12:21 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-08-05 05:21:11 -0700 (Sun, 05 Aug 2007)
New Revision: 19405

Log:
- download times out; use debian instead


Modified:
   trunk/buildroot/package/tiff/tiff.mk


Changeset:
Modified: trunk/buildroot/package/tiff/tiff.mk
===================================================================
--- trunk/buildroot/package/tiff/tiff.mk	2007-08-05 12:10:35 UTC (rev 19404)
+++ trunk/buildroot/package/tiff/tiff.mk	2007-08-05 12:21:11 UTC (rev 19405)
@@ -4,9 +4,9 @@
 #
 #############################################################
 TIFF_VERSION:=3.8.2
+TIFF_SOURCE:=tiff_$(TIFF_VERSION).orig.tar.gz
+TIFF_SITE:=http://ftp.debian.org/pool/main/t/tiff/
 TIFF_DIR:=$(BUILD_DIR)/tiff-$(TIFF_VERSION)
-TIFF_SITE:=ftp://ftp.remotesensing.org/libtiff
-TIFF_SOURCE:=tiff-$(TIFF_VERSION).tar.gz
 TIFF_CAT:=$(ZCAT)
 
 $(DL_DIR)/$(TIFF_SOURCE):

^ permalink raw reply	[flat|nested] 10+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/tiff
@ 2007-07-23 10:03 ulf at uclibc.org
  2007-07-26  7:01 ` Hans-Christian Egtvedt
  0 siblings, 1 reply; 10+ messages in thread
From: ulf at uclibc.org @ 2007-07-23 10:03 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2007-07-23 03:03:14 -0700 (Mon, 23 Jul 2007)
New Revision: 19212

Log:
Update config for tiff package

Modified:
   trunk/buildroot/package/tiff/tiff.mk


Changeset:
Modified: trunk/buildroot/package/tiff/tiff.mk
===================================================================
--- trunk/buildroot/package/tiff/tiff.mk	2007-07-23 09:45:23 UTC (rev 19211)
+++ trunk/buildroot/package/tiff/tiff.mk	2007-07-23 10:03:14 UTC (rev 19212)
@@ -18,6 +18,7 @@
 	$(TIFF_CAT) $(DL_DIR)/$(TIFF_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
 	toolchain/patch-kernel.sh $(TIFF_DIR) package/tiff/ tiff\*.patch
 	$(CONFIG_UPDATE) $(TIFF_DIR)
+	$(CONFIG_UPDATE) $(TIFF_DIR)/config
 	touch $(TIFF_DIR)/.unpacked
 
 $(TIFF_DIR)/.configured: $(TIFF_DIR)/.unpacked

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2008-12-08  4:41 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-11 11:43 [Buildroot] svn commit: trunk/buildroot/package/tiff laird at uclibc.org
2008-11-11 12:31 ` Thomas Petazzoni
  -- strict thread matches above, loose matches on Subject: below --
2008-12-08  4:41 hamish at uclibc.org
2008-07-17 13:19 jacmet at uclibc.org
2008-07-17 13:19 jacmet at uclibc.org
2008-03-06 18:27 ninevoltz at uclibc.org
2007-08-10 18:53 andersen at uclibc.org
2007-08-05 12:21 aldot at uclibc.org
2007-07-23 10:03 ulf at uclibc.org
2007-07-26  7:01 ` Hans-Christian Egtvedt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox