Commit Graph

14 Commits

Author SHA1 Message Date
Ingo Weinhold 0ba49c35b3 * BuildPlatformMain supports overriding HOST_LIBROOT on the target now,
so one can set it to the static libroot, if desired.
* Generic attribute emulation:
  - Added build tool rm_attrs, a simple "rm" replacement, which also
    removes the attributes directory for a given file.
  - Added build/scripts/rm_attrs shell script, which wraps the
    invocation of the rm_attrs tool. If it doesn't exist yet, the
    ordinary rm is used.
  - The RM jam variable refers to the rm_attrs script now, i.e. whenever
    something is removed by the build system, the attributes are removed
    too (if the build tool has already been built, that is).
  - Removed the shell function attrrmrf() in build_haiku_image. We use
    the rm_attrs tool instead, if necessary.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24528 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-22 21:05:03 +00:00
Axel Dörfler 4421183286 * Changed Ld rule to allow adding resource files.
* Changed ResAttr rule to allow not deleting the file before writing the
  attributes.
* Added application signatures for the runtime_loader and zbeos, just so that
  they may have an icon, too (hint, hint) :-)
* As a side effect, this also let's FileTypes handle these two as apps (even
  though they aren't), so that I can close bug #606.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22412 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-02 15:22:13 +00:00
Ingo Weinhold 81bb654dfb Made the ResComp and ResAttr actions spaces-in-file-names-proof.
AddDirectoryToHaikuImage with attributes does also work for directory
names with spaces now.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21761 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-07-31 01:54:24 +00:00
Ingo Weinhold 3ddb7b1df4 * ResComp can now deal with multiple input files at once.
* Added ResAttr rule, which converts resource (or rdef) files to a
  file with attributes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21708 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-07-26 23:08:05 +00:00
Ingo Weinhold c033041c9f Using a temporary file doesn't seem to work very well in this case.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21169 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-18 17:27:17 +00:00
Ingo Weinhold 31ef846e36 Missed the usual compatibility context.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21168 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-18 17:00:18 +00:00
Ingo Weinhold b696213351 Added rule AddFileDataAttribute to add an attribute to a file. The
attribute value is read from another file.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21166 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-18 16:50:47 +00:00
Axel Dörfler ef33454cfd * Reverted my change to AddFileDataResource - I obviously missed someone's intentions :-)
* Added a comment about the proper use of the data-file argument.
* Applied Ingo's suggestion to the Jamfile, and it worked out of the box.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19649 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-28 21:28:17 +00:00
Axel Dörfler 7288922282 Removed $(dataFile) from file name of the resource - this allows to put your
resource data files into subdirectories; the resource ID is supposed to be unique, anyway.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19643 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-28 13:49:51 +00:00
Jérôme Duval 049112799e provided a fix for the build of resources, hope I didn't do bad things
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18422 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-07 12:07:05 +00:00
Ingo Weinhold b0634f6510 Resource definition files (*.rdef) are now piped through the C preprocessor.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18413 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-06 12:38:30 +00:00
Ingo Weinhold 2cb3f38f9f Fixed comment.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16264 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-06 23:04:54 +00:00
Ingo Weinhold 7aa7880955 Build mimeset for the build platform and use it for the apps we build.
This fixes bug #74.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16130 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-28 22:02:48 +00:00
Ingo Weinhold 338b8dc301 Merged changes from branch build_system_redesign at revision 14573.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14574 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-29 16:27:43 +00:00