-
Notifications
You must be signed in to change notification settings - Fork 30k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor mac installer (built on #2571) #5656
Closed
rvagg
wants to merge
22
commits into
nodejs:master
from
rvagg:fhemberger-refactor-mac-installer-rebase
Closed
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
553dec2
Revert "test: change duration_ms to duration"
rvagg 12bccda
Refactor Mac .pkg generation
remixz 0ed035d
Add symlink step to Mac installer
remixz 86c5357
Create empty files on pre-pkg, set up uninstall
remixz 5559798
Wrap osx-pkg README at 80 characters
remixz 69cfb04
Add uninstaller
remixz 453c0ad
Remove node_modules if folder is empty
remixz 1db12f4
Replace iojs -> nodejs, remove symlink
fhemberger 8027c2e
build: Update OS X installer logo
fhemberger a828c74
Rename package: nodejs-* -> node-*
fhemberger d876918
Add npm preinstall script
fhemberger 6c673b6
Move .pkg to top-level
rvagg 6f17f1e
build: separate node, npm, headers install options
rvagg fe8c6c7
build: fix osx uninstaller script
rvagg bee2989
build: fix npm in pkg config
rvagg ed5d909
Use new separate installer directories for pkg
rvagg 1ac41d9
remove uninstaller
rvagg f06d845
Fix installer options, tweak intro and summary
rvagg 00baf29
build: update Node.js logo on OSX installer
rvagg 5671878
change background
rvagg e943c43
undo temporary debug make stuff
rvagg 5313db4
PACKAGESBUILD?=, don't run pre-pkg before building
rvagg File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
## osx-pkg | ||
|
||
### Build | ||
|
||
Prerequisites: | ||
|
||
* Packages: http://s.sudre.free.fr/Software/Packages/about.html | ||
|
||
In the root folder: | ||
|
||
```bash | ||
make pkg | ||
``` | ||
|
||
### Localization | ||
|
||
There are two files that can be localized in the OS X installer: the | ||
introduction, and the summary. | ||
|
||
1. Make sure you've installed Packages: | ||
http://s.sudre.free.fr/Software/Packages/about.html | ||
2. Duplicate the `strings/en` folder for reference, and rename the folder to | ||
the language you are localizing (ex. `fr`, `ru`, etc.) | ||
3. Translate `introduction.rtf` and `summary.rtf`. Do not modify the words | ||
`__nodeversion__` or `__npmversion__`, as these are automatically replaced | ||
by the build step with the Node.js and npm versions, respectively. | ||
4. In the root folder, run `make pre-pkg`. This will generate the | ||
files needed for Packages. | ||
5. Open `tools/osx-pkg/osx-pkg.pkgproj` in Packages. (Not | ||
`osx-pkg-out.pkgproj`, as this is a generated file) | ||
6. In Packages, go to the Presentation tab, and if not already selected, | ||
choose "Introduction" from the dropdown on the right-hand side. | ||
![packages preview](https://s3.amazonaws.com/f.cl.ly/items/3q160p2r1X1B3i2N1W42/Screen%20Shot%202015-02-09%20at%207.26.09%20PM.png) | ||
7. Press the "+" at the bottom right. This will add a new language entry. Click | ||
on the flag, and choose which language you are localizing. | ||
8. Click on the column next to the flag, and ensure "Relative to Project" is | ||
selected. It's a rectangle with the letter "R" inside of it. | ||
9. Click on the last column, which will currently have a dash in it, and | ||
press "Choose...". | ||
10. Locate the `introduction.rtf` file you translated, and choose it. | ||
Don't worry about the `introduction.out.rtf` file, as this is an autogenerated | ||
file, and is dealt with when compiling. | ||
11. In the dropdown that says "Introduction" at the top, choose "Conclusion" | ||
and repeat this process for the `conclusion.rtf` file. | ||
12. Save the project, and commit your changes. The generated files are | ||
automatically ignored by Git, so you don't have to worry about accidentally committing them in. |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no different than
NODE_INSTALL_NODE_ONLY
?