Commits

Kent James  committed b061769

redo of renaming, did not take first time

  • Participants
  • Parent commits 829da88

Comments (0)

Files changed (4)

 RELEASE_VERSION := $(shell cat $(RELEASE_DIR)/src/mail/config/version.txt | sed "s/\([0-9]*\)\..*/\1/")
 BASE_VERSION := $(shell echo $(THUNDERBIRD_VERSION) | sed "s/\([0-9]*\)\..*/\1/")
 
-#MODULE	= betalight
+#MODULE	= earlylight
 DIRS = build
 
-XPI_NAME = betalight
-INSTALL_EXTENSION_ID = betalight@mesquilla.com
-XPI_PKGNAME = betalight
+XPI_NAME = earlylight
+INSTALL_EXTENSION_ID = earlylight@mesquilla.com
+XPI_PKGNAME = earlylight
 LIBRARY_NAME = calbasecomps
 
 include $(topsrcdir)/config/rules.mk
 
 # fix install.rdf with correct version
 export::
-	sed "s/_BETALIGHT_VERSION_/$(BETALIGHT_VERSION)/g" <$(srcdir)/install.rdf | \
-	sed "s/_BETALIGHT_MINVERSION_/$(BETALIGHT_MINVERSION)/g" | \
-	sed "s/_BETALIGHT_MAXVERSION_/$(BETALIGHT_MAXVERSION)/g" >$(FINAL_TARGET)/install.rdf
+	sed "s/_EARLYLIGHT_VERSION_/$(EARLYLIGHT_VERSION)/g" <$(srcdir)/install.rdf | \
+	sed "s/_EARLYLIGHT_MINVERSION_/$(EARLYLIGHT_MINVERSION)/g" | \
+	sed "s/_EARLYLIGHT_MAXVERSION_/$(EARLYLIGHT_MAXVERSION)/g" >$(FINAL_TARGET)/install.rdf
 	cp -r $(FINAL_TARGET)/../lightning/* $(FINAL_TARGET)/
 	# cleanup items which may be changed by multirelease
 	#rm -f $(FINAL_TARGET)/components/calbasecomps*.dll
 
-ifndef BETALIGHT_VERSION
-BETALIGHT_VERSION := $(LIGHTNING_VERSION)
+ifndef EARLYLIGHT_VERSION
+EARLYLIGHT_VERSION := $(LIGHTNING_VERSION)
 endif
 
-ifndef BETALIGHT_MINVERSION
-BETALIGHT_MINVERSION :=$(THUNDERBIRD_VERSION).0a2
+ifndef EARLYLIGHT_MINVERSION
+EARLYLIGHT_MINVERSION :=$(THUNDERBIRD_VERSION).0a2
 endif
 
-ifndef BETALIGHT_MAXVERSION
-BETALIGHT_MAXVERSION :=$(THUNDERBIRD_VERSION).*
+ifndef EARLYLIGHT_MAXVERSION
+EARLYLIGHT_MAXVERSION :=$(THUNDERBIRD_VERSION).*
 endif
 
 REPOS := aurora beta release
-MY_NAME := betalight
+MY_NAME := earlylight
 
 # only used in Linux multirelease
 
 	echo "binary-component $(DLL_PREFIX)$(LIBRARY_NAME)-beta-x86_64$(DLL_SUFFIX) appversion<$(BETA_VERSION).* platformversion>$(BETA_VERSION).0a1 abi=$(MY_OS)_x86_64-$(MY_C)" >> $(FINAL_TARGET)/components/components.manifest
 	echo "binary-component $(DLL_PREFIX)$(LIBRARY_NAME)-release-x86_64$(DLL_SUFFIX) appversion<$(RELEASE_VERSION).* platformversion>$(RELEASE_VERSION).0a1 abi=$(MY_OS)_x86_64-$(MY_C)" >> $(FINAL_TARGET)/components/components.manifest
 endif
-	sed "s/_BETALIGHT_VERSION_/$(BETALIGHT_VERSION)/g" <$(srcdir)/install.rdf | \
-	sed "s/_BETALIGHT_MINVERSION_/$(RELEASE_VERSION)\.0/g" | \
-	sed "s/_BETALIGHT_MAXVERSION_/$(AURORA_VERSION)\.\*/g" >$(FINAL_TARGET)/install.rdf  
-	cd $(FINAL_TARGET) && $(ZIP) -qr ../$(XPI_PKGNAME)_$(HOST_OS_ARCH)\(TB$(RELEASE_VERSION)-TB$(AURORA_VERSION)\)_$(BETALIGHT_VERSION).xpi *
+	sed "s/_EARLYLIGHT_VERSION_/$(EARLYLIGHT_VERSION)/g" <$(srcdir)/install.rdf | \
+	sed "s/_EARLYLIGHT_MINVERSION_/$(RELEASE_VERSION)\.0/g" | \
+	sed "s/_EARLYLIGHT_MAXVERSION_/$(AURORA_VERSION)\.\*/g" >$(FINAL_TARGET)/install.rdf  
+	cd $(FINAL_TARGET) && $(ZIP) -qr ../$(XPI_PKGNAME)_$(HOST_OS_ARCH)\(TB$(RELEASE_VERSION)-TB$(AURORA_VERSION)\)_$(EARLYLIGHT_VERSION).xpi *

File build/Makefile.in

 
 
 # Copy this DLL into the extension components directory
-XPI_NAME = betalight
+XPI_NAME = earlylight
 
-MODULE = betalight
+MODULE = earlylight
 LIBRARY_NAME = calbasecomps
 SHORT_LIBNAME = calbscmp
 IS_COMPONENT = 1

File extension.sh

 #!/bin/sh
 #
 # This script will create the extension object directory and makefile in build directory passed as a parameter.
-# start in src/betalight
+# start in src/earlylight
 # typical usage: ./extension.sh tb-release/i386
 DEPTH='..'
 OBJ_DIR=$1
 <RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 
   xmlns:em="http://www.mozilla.org/2004/em-rdf#">
   <Description about="urn:mozilla:install-manifest">
-    <em:id>betalight@mesquilla.com</em:id>
+    <em:id>earlylight@mesquilla.com</em:id>
     <em:unpack>true</em:unpack>
-    <em:name>Beta Multirelease Lightning</em:name>
-    <em:version>_BETALIGHT_VERSION_</em:version>
+    <em:name>Early Light - Repacked Lightning (aurora) supporting multiple Thunderbird releases</em:name>
+    <em:version>_EARLYLIGHT_VERSION_</em:version>
     <em:creator>R Kent James</em:creator>
     <em:description>Repackaged Lightning extension for release, beta, and aurora</em:description>
-    <em:homepageURL>http://mesquilla.com/extensions/betalight</em:homepageURL>
+    <em:homepageURL>http://mesquilla.com/extensions/earlylight</em:homepageURL>
     <!-- Thunderbird -->
     <em:targetApplication>
       <Description>
         <em:id>{3550f703-e582-4d05-9a08-453d09bdfdc6}</em:id> <!-- thunderbird -->
-        <em:minVersion>_BETALIGHT_MINVERSION_</em:minVersion>
-        <em:maxVersion>_BETALIGHT_MAXVERSION_</em:maxVersion>
+        <em:minVersion>_EARLYLIGHT_MINVERSION_</em:minVersion>
+        <em:maxVersion>_EARLYLIGHT_MAXVERSION_</em:maxVersion>
       </Description>
     </em:targetApplication>
   </Description>