Commit Graph

307 Commits

Author SHA1 Message Date
Adrien Destugues
a90155a41a Have the haiku package provide libstdc++ for x86_gcc2.
Until we split this out, let's have the package declare it so we can
start adding requires to the ports.

Fixes installation of smpeg, libusb.
2014-08-10 13:18:29 +02:00
François Revol
c35639a9ed Also add a Jamfile MIME type 2014-08-07 15:23:16 +02:00
François Revol
2501fb7082 Add a type for makefiles
Pe provides one already but it doesn't have a sniff rule.

For now we only match the BeOS/Haiku template header string.
2014-08-07 15:22:48 +02:00
Oliver Tappe
1b4510eebf Put haiku repository onto image.
* Now that system updates seem to work properly, put the haiku
  repository config and cache file onto the image automatically.
* Adjust URL of haiku repository (it is currently redirected
  to some other URL at download.haiku-os.org, but that will be
  changed later).
2014-07-26 00:35:53 +02:00
Adrien Destugues
a0209a665a Don't provide libtiff in haiku package.
The lib was moved to a separate package, and we should require it
instead.
2014-07-24 19:59:00 +02:00
Adrien Destugues
c5dc7c1ef7 Build fix. 2014-07-17 15:14:22 +02:00
Adrien Destugues
950c7f61c6 Avoid trigraph to make compiler happy. 2014-07-17 09:54:35 +02:00
Adrien Destugues
10632ac2db Add working sniffer rule for lha and add lzh extension. 2014-07-17 09:49:42 +02:00
Adrien Destugues
362940cf89 BMP sniffing: check more bytes
* Check that the two high-order byte of the DIB header size are 0 (the
largest known size according to wikipedia is 124 bytes).
* This avoids identifying any text file that starts with "BM" as a BMP
file.

Fixes #10912.
2014-06-16 13:15:47 +02:00
Jérôme Duval
9cd7c6a433 tiff: use the outsourced packages.
* packages for secondary architectures would be welcomed.
2014-06-02 23:45:19 +02:00
Jérôme Duval
1ee3031a90 wget: use the outsourced packages.
* remove wget Jamfile from the build.
2014-06-02 00:06:31 +02:00
Oliver Tappe
aa2e5eca78 Add new configuration option --no-downloads.
* If --no-downloads has been given, Haiku will be built without
  trying to download anything, all required packages need to be put
  into the download folder manually (the build will stop on missing
  packages).
* As the required HaikuPorts repository can't be downloaded in this
  mode, a local repository is created during the build, which only
  contains the packages available in the downloads folder.

This is useful for building Haiku completely from source.
2014-05-01 13:03:43 +02:00
Oliver Tappe
3d9c3125ac Create packages_build folders per build type.
* The content of the preprocessed package-info files and the package
  contents depend on the build type, so we use a different folder for
  each build type.
2014-05-01 13:00:46 +02:00
Adrien Destugues
422265608e Add a sniffing rule for XML.
* Set to a weak priority, to let more specific rules be used (svg,
xhtml, etc.)
2014-04-24 14:33:48 +02:00
Adrien Destugues
804056af27 More tweaks to the HTML related sniffing rules:
* MHTML: give a higher priority than HTML to improve detection results,
as MHTL is likely to contain HTML in the first chunk.
* HTML: scan the first 512 bytes to increase likeliness of finding a tag
* XHTML: don't try to identify on the dectype, this is not reliable and
missing from some documents. Recognize "<html xmlns" and the utf-16
equivalent, as well as part of the DTD tag.
2014-04-23 15:13:12 +02:00
Adrien Destugues
34828f7346 Be more flexible in identifying HTML files
Some tests in WebKit have no <html> and no <head>...
* Allow "<style", "<script", and "<a href" to identify HTML
* Scan up to 256 characters instead of 64
* Also remove the rule identifying "<!--", because this really isn't html
specific.
2014-04-18 18:21:04 +02:00
Jérôme Duval
4a4450c158 less: sysless config file is part of the hpkg.
* remove in-tree sysless config gen.
2014-04-17 23:20:32 +02:00
Jérôme Duval
1a8c694443 less: use the outsourced packages.
* added packages for x86 and x86_64.
2014-04-17 00:03:28 +02:00
Adrien Destugues
0c119984fa Require SVG files to start with <?xml tag
* Makes scanning faster
* Avoids mistaking some html files with embedded SVG as SVG files
2014-04-16 08:39:41 +02:00
Jérôme Duval
8df3fb7035 Remove outsourced sharutils provides from haiku package. 2014-04-14 23:52:45 +02:00
Adrien Destugues
41a807ec64 XHTML sniffing rule: handle utf-16 documents. 2014-04-10 08:50:56 +02:00
Adrien Destugues
a68efa7326 Add a mime type for XHTML and make Web+ the preferred app.
* WebPositive testsuite relies on the mimetype to parse xhtml files.
* This has a higher priority than HTML, because it is more reliably
detectable
* Uses the same icon as html and mhtml. Who wants to draw new ones?
2014-04-10 08:50:55 +02:00
Adrien Destugues
f38165ad8c Add multipart/related MIME type for MHTML files.
* Uses the same icon as HTML. Anyone wants to design something better?
* Also add support to Web+ (not actually supported yet, but the next
version will).

These files are useful as self-contained documents (application
offline documentation), and for saving web pages in a single file.
2014-04-07 19:01:03 +02:00
Stephan Aßmus
b25fb3d559 Add a few extensions to transport stream MIME type 2014-03-24 23:36:04 +01:00
Rene Gollent
5affe86f8f Remove outsourced findutils/xargs provides from haiku package. 2014-03-02 12:01:02 -05:00
John Scipione
5e96d7d537 Localize keyboard layout names in Keymap preferences 2014-02-21 20:05:26 -05:00
Ingo Weinhold
374cf8c85d Localize keymap names in Keymap preferences 2014-02-20 23:51:38 -05:00
Jérôme Duval
0ca8f08038 Add Web Open Font Format to mime_db. 2014-02-11 23:25:43 +01:00
Ingo Weinhold
12c19e6362 Move creating the Haiku repo info to jam
* PreprocessPackageInfo rule: Pull out new rule
PreprocessPackageOrRepositoryInfo which does the sed substituation and
optionally the filtering through the C preprocessor.
* HaikuRepository rule: Generate the repository info file (from the
given template). No longer do that in the build_haiku_repository
script.
2014-01-19 00:49:10 +01:00
Humdinger
4a3268e14f Replaced "makefile" Tracker template. Fixes #10366.
* copied the correct, up-to-date makefile template from data/develop/
2014-01-03 10:25:08 +01:00
Humdinger
482f0f771a Corrected type from hrev46630. Sorry... 2014-01-01 19:29:56 +01:00
Humdinger
047dc3356d Improved sniffer rule of I-O-M files.
The "keyword" at the start of I-O-M files has changed some
time ago. Now sniffing for both possibilities.
2014-01-01 18:35:10 +01:00
François Revol
2f6cbd4f43 Revert "Provide cmd:getconf in haiku package"
This reverts commit 5558efa4ce.

We now provide getconf as a separate package from Haikuports.
2013-12-28 09:57:16 +01:00
François Revol
5558efa4ce Provide cmd:getconf in haiku package 2013-12-27 19:57:45 +01:00
Humdinger
447224bf79 Small changes to the PSD mime type
Slightly improved siffer rule
Sentence-cased description
2013-12-26 14:41:36 +01:00
Gerasim Troeglazov
49a4700789 mime_database: add psb extension for vnd.adobe.photoshop 2013-12-20 10:24:00 +00:00
Adrien Destugues
668ff59870 haiku_secondary: provide libtiff.
This will be removed when we use the libtiff package from haikuports (as
we do for libjpeg and libpng already), but for now the lib is built and
bundled in the package, so we might as well add a provides entry for it.
The main package already does so.
2013-12-09 13:07:45 +01:00
Gerasim Troeglazov
13d76c0648 Add Photoshop Image file to mime_db 2013-12-02 09:32:49 +00:00
Ingo Weinhold
d85bab41bd Add target for building a Haiku package repository
* Add rule HaikuRepository to build a repository from a repository info
  file and a list of package files. It calls a build_haiku_repository
  script which does all the work.
* Add target <repository>haiku for building the Haiku package
repository.
  It should be built via "jam -q @alpha-raw build <repository>haiku";
  the build profile is only needed to activate all build features.
2013-11-23 01:46:04 +01:00
Ingo Weinhold
8e0eb17508 makefile_engine package info: Fix vendor 2013-11-23 01:40:44 +01:00
Humdinger
61571fa66a Added icons for HaikuDepot and HPKG archives.
Anyone feel free to come umoroe sphisticated ones. :)
2013-11-09 18:12:01 +01:00
Humdinger
b9b1c2834c Changes to icon related MIME types.
Added image/x-hvif for vector icons.
Changes to description of Icon-O-Matic documents.
Added x-hvif to Icon-O-Matic's supported types.
2013-10-31 15:07:51 +01:00
François Revol
7cf311823a Fix comments 2013-10-26 21:02:11 +02:00
Humdinger
c7e2af25ab Corrected mime_db for HVIF icons
x-vnd.haiku-icon had the wrong BEOS:TYPE and META:TYPE. At least
the META:TYPE is now corresponding to the type I-O-M saves icons.
2013-10-22 18:00:01 +02:00
Rene Gollent
5b7ba6624e Fix build. 2013-10-06 21:01:09 -04:00
Rene Gollent
09729f54ff Set system package flag on OS packages. 2013-10-06 17:55:55 -04:00
Ingo Weinhold
897d5af7ff Don't code the Haiku version into all the package infos 2013-10-06 01:37:13 +02:00
Ingo Weinhold
6bbd7bf3a0 Make secondary haiku_devel package depend on the primary
Only the primary haiku_devel package contains the system headers.
2013-10-03 21:55:26 +02:00
Ingo Weinhold
730939f2a7 Declare libicu* requirements in the haiku* packages 2013-10-03 21:55:25 +02:00
Ingo Weinhold
f73f5d4c42 Initial changes to remove /boot/common
* find_directory() and hard-coded paths use /boot/system instead of
  /boot/common.
* The build system creates the writable directories in /boot/system
  instead of /boot/common.
* The build system no longer installs any packages in /boot/common.
2013-10-03 21:52:25 +02:00