Closed
Bug 296390
Opened 20 years ago
Closed 19 years ago
'make xpi' fails
Categories
(Calendar :: Internal Components, defect)
Calendar
Internal Components
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mvl, Assigned: mvl)
Details
Attachments
(2 files, 2 obsolete files)
|
7.66 KB,
patch
|
mostafah
:
first-review+
|
Details | Diff | Splinter Review |
|
3.32 KB,
patch
|
mvl
:
first-review+
|
Details | Diff | Splinter Review |
make xpi dies on: cp libxpical/libxpical.so ./xpi/components cp: cannot stat `libxpical/libxpical.so': No such file or directory The filelist needs to be updated, because of all the new calFoo.js components. OR even better, this should be done automaticly.
| Assignee | ||
Comment 1•20 years ago
|
||
This patch uses a xpi dir, which contains a modified copy of the lighting Makefile.in, and packages everything into calendar.xpi. This way, --enable-calendar still creates a build with calendar enabled without needing extra steps to install it. Tested on linux seamonkey.
| Assignee | ||
Comment 2•20 years ago
|
||
Comment on attachment 185149 [details] [diff] [review] patch v1 The install.js in this patch is a copy of the existing install.js, with the installation of the icons removed. That part is still broken. The install.rdf that should be in the patch is a copy of the calendar/install.rdf file. (something went wrong when creating the patch)
| Assignee | ||
Updated•20 years ago
|
Attachment #185149 -
Flags: first-review?(mostafah)
Comment 3•20 years ago
|
||
Comment on attachment 185149 [details] [diff] [review] patch v1 Finally, the correct way for building the xpi, well, almost.
Attachment #185149 -
Flags: first-review?(mostafah) → first-review+
| Assignee | ||
Comment 4•20 years ago
|
||
patch checked in, leaving bug open for further cleanup, like removing the old xpi targers in Makefile.in
Summary: make xpi fails → 'make xpi' fails
Comment 5•19 years ago
|
||
Is this bug the reason calendar extension is not being built as detailed in http://weblogs.mozillazine.org/calendar/2005/11/the_calendar_extensions_status.html ? Perhaps someone can go to the Third Party Builds forum here http://forums.mozillazine.org/viewforum.php?f=42 and ask someone to try doing some calendar extension builds.
| Assignee | ||
Comment 6•19 years ago
|
||
(In reply to comment #5) > Is this bug the reason calendar extension is not being built as detailed in > http://weblogs.mozillazine.org/calendar/2005/11/the_calendar_extensions_status.html > ? No. Please read the entire bug before commenting (especially comment 4). Then read the blog entiry entry. It would answer your question.
Comment 7•19 years ago
|
||
I tried to make a calendar XPI from the trunk and it seems that the lines referring to the dir libxpical (that doesn't exist any more) in the Makefile are obsolete. At least I had to comment them to get "make xpi" to work fully.
Attachment #206926 -
Flags: first-review?(mvl)
| Assignee | ||
Comment 8•19 years ago
|
||
Comment on attachment 206926 [details] [diff] [review] remove references to libxpical dir make xpi is obsolete. You need to make in the xpi dir. There is no need to try to fix make xpi. We should just remove it.
Attachment #206926 -
Flags: first-review?(mvl) → first-review-
Comment 9•19 years ago
|
||
OK, I don't usually work on Calendar and got confused (among other things) by the title of this bug. This new patch now removes all the XPI related stuff from calendar/Makefile.in and just redirects "make xpi" to call make in the xpi dir. (I hope I didn't delete too much.)
Attachment #206926 -
Attachment is obsolete: true
Attachment #206934 -
Flags: first-review?(mvl)
| Assignee | ||
Comment 10•19 years ago
|
||
Comment on attachment 206934 [details] [diff] [review] Redirect xpi target to xpi dir >-ifndef MOZ_SUNBIRD >-ifneq ($(OS_ARCH),Darwin) >-DIRS += xpi >-endif >-endif Just leave that part. Then there is no need for a seperate target to build the xpi. It will be built automaticly. (excpet when building sunbird, but then you don't need an xpi anyway)
Attachment #206934 -
Flags: first-review?(mvl) → first-review-
Comment 11•19 years ago
|
||
The idea behind removing that part was that if one builds with --enable-calendar one doesn't really need an XPI. But then package doesn't handle the calendar files so I agree that to build the XPI automatically makes more sense.
Attachment #206934 -
Attachment is obsolete: true
Attachment #206943 -
Flags: first-review?(mvl)
| Assignee | ||
Comment 12•19 years ago
|
||
Comment on attachment 206943 [details] [diff] [review] remove all xpi targets (but nothing else) r=mvl
Attachment #206943 -
Flags: first-review?(mvl) → first-review+
| Assignee | ||
Comment 13•19 years ago
|
||
patch checked in
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•