[csw-devel] SF.net SVN: gar:[3701] csw/mgar/pkg

wbonnet at users.sourceforge.net wbonnet at users.sourceforge.net
Wed Mar 11 00:21:00 CET 2009


Revision: 3701
          http://gar.svn.sourceforge.net/gar/?rev=3701&view=rev
Author:   wbonnet
Date:     2009-03-10 23:21:00 +0000 (Tue, 10 Mar 2009)

Log Message:
-----------
Initial import

Added Paths:
-----------
    csw/mgar/pkg/thunderbird/
    csw/mgar/pkg/thunderbird/Makefile
    csw/mgar/pkg/thunderbird/branches/
    csw/mgar/pkg/thunderbird/tags/
    csw/mgar/pkg/thunderbird/trunk/
    csw/mgar/pkg/thunderbird/trunk/Makefile
    csw/mgar/pkg/thunderbird/trunk/checksums
    csw/mgar/pkg/thunderbird/trunk/files/
    csw/mgar/pkg/thunderbird/trunk/files/CSWthunderbird.gspec
    csw/mgar/pkg/thunderbird/trunk/files/thunderbird.desktop
    csw/mgar/pkg/thunderbird/trunk/files/thunderbird.keys

Added: csw/mgar/pkg/thunderbird/Makefile
===================================================================
--- csw/mgar/pkg/thunderbird/Makefile	                        (rev 0)
+++ csw/mgar/pkg/thunderbird/Makefile	2009-03-10 23:21:00 UTC (rev 3701)
@@ -0,0 +1,15 @@
+# vim: ft=make ts=4 sw=4 noet
+
+default:
+	@echo "You are in the pkg/ directory."
+
+%:
+	$(MAKE) -C trunk $* 
+
+paranoid-%:
+	$(MAKE) -C trunk $* || exit 2 
+
+export BUILDLOG ?= $(shell pwd)/buildlog.txt
+
+report-%:
+	$(MAKE) -C trunk $* || echo "	*** make $* in $$i failed ***" >> $(BUILDLOG) 


Property changes on: csw/mgar/pkg/thunderbird/trunk
___________________________________________________________________
Added: svn:ignore
   + cookies
download
work


Added: svn:externals
   + gar https://gar.svn.sf.net/svnroot/gar/csw/mgar/gar/v2


Added: csw/mgar/pkg/thunderbird/trunk/Makefile
===================================================================
--- csw/mgar/pkg/thunderbird/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/thunderbird/trunk/Makefile	2009-03-10 23:21:00 UTC (rev 3701)
@@ -0,0 +1,59 @@
+GARNAME = thunderbird
+GARVERSION = 2.0.0.19
+CATEGORIES = apps
+DISTNAME = $(GARNAME)
+
+DESCRIPTION =  Mozilla Thunderbird Mail Client
+define BLURB
+ Thunderbird 2 is the next generation release of the award-winning Thunderbird email client from Mozilla.
+endef
+
+MASTER_SITES = http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/$(GARVERSION)/source/
+DISTFILES  = $(GARNAME)-$(GARVERSION)-source.tar.bz2
+DISTFILES += $(call admfiles,CSWthunderbird, )
+
+# We define upstream file regex so we can be notifed of new upstream software release
+UFILES_REGEX = (\d+(?:\.\d+)*)
+UPSTREAM_MASTER_SITES = http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/
+
+CONFIGURE_ARGS = --prefix=/opt/csw/mozilla/thunderbird
+
+CFLAGS+= -DG_HAVE_ISO_VARARGS
+CXXFLAGS+= -DG_HAVE_ISO_VARARGS
+LDFLAGS+=-L/usr/lib/lwp -L/opt/csw/mozilla/thunderbird/lib -R/opt/csw/mozilla/thunderbird/lib -L/opt/csw/lib -R/opt/csw/lib
+
+export PERL CFLAGS CXXFLAGS LDFLAGS
+
+PKGS_REQUIRED_CSWthunderbird  = CSWbonobo2 CSWfconfig CSWftype2 CSWgconf2 CSWggettextrt CSWglib2 CSWgnomekeyring CSWgnomevfs2
+PKGS_REQUIRED_CSWthunderbird += CSWgtk2 CSWlibart CSWlibatk CSWlibbonoboui CSWlibcairo CSWlibgnome CSWlibgnomecanvas
+PKGS_REQUIRED_CSWthunderbird += CSWlibgnomeui CSWlibidl CSWlibpopt CSWlibxft2 CSWlibxrender CSWorbit2 CSWpango CSWzlib
+
+#PATCHFILES = autoconf.mk.in.diff
+
+TEST_SCRIPTS = 
+
+post-extract:
+	@mv $(WORKROOTDIR)/build-$(firstword $(MODULATIONS))/mozilla $(WORKROOTDIR)/build-$(firstword $(MODULATIONS))/$(GARNAME)
+	@$(MAKECOOKIE)
+
+pre-configure:
+	@cp $(FILEDIR)/.mozconfig  $(WORKROOTDIR)/build-$(firstword $(MODULATIONS))/$(GARNAME)/.mozconfig
+
+pre-install:
+	( if [ ! -d $(DESTDIR)/opt/csw/bin ] ; then mkdir -p $(DESTDIR)/opt/csw/bin ; fi )
+	( cd $(DESTDIR)/opt/csw/bin && rm -f thunderbird  && ln -s ../mozilla/thunderbird/bin/thunderbird . )
+	( mkdir -p $(DESTDIR)/opt/csw/share/pixmaps )
+#	( cp $(WORKDIR)/$(DISTNAME)/other-licenses/branding/thunderbird/mozicon128.png $(DESTDIR)/opt/csw/share/pixmaps/thunderbird.png )
+	( mkdir -p $(DESTDIR)/opt/csw/share/applications )
+	( cp $(FILEDIR)/thunderbird.desktop $(DESTDIR)/opt/csw/share/applications/thunderbird.desktop )
+	( mkdir -p $(DESTDIR)/opt/csw/share/gnome/mime-info )
+	( cp $(FILEDIR)/thunderbird.keys $(DESTDIR)/opt/csw/share/gnome/mime-info/thunderbird.keys )
+
+post-install:
+	( gfind $(DESTDIR)/opt/csw -exec bash -c "file {} | ggrep ELF | ggrep -e 'executable' -e 'dynamic lib' | ggrep 'not stripped' && strip {}"  \; )
+#	( gfind $(DESTDIR)/opt/csw -name chromelist.txt -exec bash -c " mv {} {}.temp && gsed -e  s\_`pwd`/$(WORKDIR)/$(DISTNAME)/\_\_g {}.temp > {} && rm {}.temp"  \; )
+#	( gfind $(DESTDIR)/opt/csw/mozilla/thunderbird -name "*.js" -exec bash -c " mv {} {}.temp && gsed -e  s\_`pwd`/$(WORKDIR)/$(DISTNAME)/\_\_g {}.temp > {} && rm {}.temp"  \; )
+#	( gfind $(DESTDIR)/opt/csw/mozilla/thunderbird -name "*.jar" -exec bash -c "`pwd`/removeBuildPathFromJar.sh {} `pwd` $(WORKDIR) $(DISTNAME)" \; )
+
+include gar/category.mk
+

Added: csw/mgar/pkg/thunderbird/trunk/checksums
===================================================================
--- csw/mgar/pkg/thunderbird/trunk/checksums	                        (rev 0)
+++ csw/mgar/pkg/thunderbird/trunk/checksums	2009-03-10 23:21:00 UTC (rev 3701)
@@ -0,0 +1,2 @@
+546e81748f5f8bf06cacbcb8c358395f  download/thunderbird-2.0.0.19-source.tar.bz2
+3a6b0245afd9c4e8b624f2455767574e  download/CSWthunderbird.gspec

Added: csw/mgar/pkg/thunderbird/trunk/files/CSWthunderbird.gspec
===================================================================
--- csw/mgar/pkg/thunderbird/trunk/files/CSWthunderbird.gspec	                        (rev 0)
+++ csw/mgar/pkg/thunderbird/trunk/files/CSWthunderbird.gspec	2009-03-10 23:21:00 UTC (rev 3701)
@@ -0,0 +1,6 @@
+%var            bitname thunderbird
+%var            pkgname CSWthunderbird
+%include        url file://%{PKGLIB}/csw_dyndepend.gspec
+%copyright      
+
+Please see /opt/csw/share/doc/thunderbird/LICENSE.txt for license information

Added: csw/mgar/pkg/thunderbird/trunk/files/thunderbird.desktop
===================================================================
--- csw/mgar/pkg/thunderbird/trunk/files/thunderbird.desktop	                        (rev 0)
+++ csw/mgar/pkg/thunderbird/trunk/files/thunderbird.desktop	2009-03-10 23:21:00 UTC (rev 3701)
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Type=Application
+Name=Thunderbird
+Comment=Thunderbird Community Edition
+TryExec=Thunderbird
+Exec=thunderbird %u
+Icon=thunderbird.png
+MimeType=text/html;
+Categories=Application;Network;

Added: csw/mgar/pkg/thunderbird/trunk/files/thunderbird.keys
===================================================================
--- csw/mgar/pkg/thunderbird/trunk/files/thunderbird.keys	                        (rev 0)
+++ csw/mgar/pkg/thunderbird/trunk/files/thunderbird.keys	2009-03-10 23:21:00 UTC (rev 3701)
@@ -0,0 +1,8 @@
+-------thunderbird.keys------------
+text/html
+        description=HyperText Markup Language File
+        icon_filename=i-thunderbird.png
+        default_action=application
+        short_list_application_ids_for_novice_user_level=thunderbird
+        category=Network
+-----------------------------------


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list