48187 Commits

Author SHA1 Message Date
Ingo Weinhold
93cfb72270 build features/bootstrap repo: support secondary arch
* Add rule FSplitPackageName. It splits a package name into port name
  and package suffix.
* FSetConditionsHold: Rename to FConditionsHold and replace the set
  parameter by a predicate rule parameter, thus adding more flexibility.
* FIsBuildFeatureEnabled: Use the faster check.
* Add rule FQualifiedBuildFeatureName. Given a build feature name, it
  prepends the current packaging architecture to yield a qualified
  feature name. Is used by the other build feature rules so that the
  same build feature can be configured differently for each arch.
* ExtractBuildFeatureArchives: The supplied list is now filtered via
  FFilterByBuildFeatures, allowing for build feature conditions in the
  list.
* Add rule InitArchitectureBuildFeatures. It is called early for each
  configured architecture, setting up some basic build features for it.
  "primary" is set for the primary architecture and a "secondary_<arch>"
  is set for each secondary architecture.
* BuildFeatures: Add secondary architecture support: Use the correct
  paths for libraries and headers (subdir for secondary architecture)
  and configure the icu and zlib sources only for the primary
  architecture.
* BootstrapPackageRepository: The package lists are now filtered via
  FFilterByBuildFeatures, allowing for build feature conditions in the
  lists.
* IsPackageAvailable, FetchPackage: Add secondary architecture support.
* HaikuPortsCross/x86_gcc2: Add icu and zlib x86 secondary packages.

The second stage Haiku cross devel package for the secondary
architecture can now be built.
2013-08-05 07:09:45 +02:00
Ingo Weinhold
7bd562abc9 lib{network,package,shared,agg,icon}: secondary arch support 2013-08-05 06:41:53 +02:00
Ingo Weinhold
a36a166632 MergedDirectory: missing include 2013-08-05 06:39:41 +02:00
Ingo Weinhold
f7d5e4c647 ArchitectureSetup: fix library map for secondary arch
The libraries where resolved to the library targets for the primary
architecture.
2013-08-05 06:39:10 +02:00
Ingo Weinhold
de799f73c0 MultiArch* rule: support optional architecture parameter 2013-08-05 06:37:56 +02:00
Ingo Weinhold
57190167ef Fix usage of obsolete HAIKU_BUILD_FEATURE_OPENSSL_ENABLED 2013-08-05 00:25:30 +02:00
Ingo Weinhold
d31a50eef7 Move build feature rules to separate file 2013-08-05 00:17:46 +02:00
Stephan Aßmus
c887e3ac0d HaikuDepot: Show package version...
... and add short description to about page.
2013-08-04 22:17:15 +02:00
Stephan Aßmus
0046c36dfc HaikuDepot: Display the first screenhot in the package contents area.
* Disabled BitmapView::GetHeightForWidth() to keep aspect, it seems
   broken in the layout system, the view gets layouted completely
   elsewhere. Mabye due to the layout hierarchy being optimized?
 * Instead layout the bitmap with correct aspect in the given space,
   honor LayoutAlignment() for this.
hrev45951
2013-08-04 22:08:36 +02:00
Stephan Aßmus
9481e817b4 HaikuDepot: Add screenshots from resources to dummy package infos. 2013-08-04 22:08:10 +02:00
Oliver Tappe
f30881d7fe Replace makeinfo_bootstrap with texinfo_bootstrap.
* using texinfo_bootstrap has the advantage of allowing implicit
  mapping between _bootstrap packages and the corresponding 
  non-bootstrap packages
2013-08-04 21:05:24 +02:00
Stephan Aßmus
b576b5a85b HaikuDepot: Keep aspect ratio of Bitmap in BitmapView 2013-08-04 18:37:25 +02:00
Stephan Aßmus
127061e76f HaikuDepot: Scrollbars for content, document window look
* All text views that potentially need scrolling are now
   embedded into a CustomScrollView. That one controls a
   vertical BScrollBar only and has B_NO_BORDER frame. Since
   the regular BScrollView doesn't do some adjustments in
   this setup, the CustomScrollView takes care of moving the
   BScrollBar such that the B_DOCUMENT_WINDOW_LOOK resize
   handle does not obscure the bottom arrow button.
hrev45950
2013-08-04 18:29:23 +02:00
Stephan Aßmus
a8b89c6b4f BControlLook: The spacing values need to be rounded...
... or they will cause all sorts of graphics glitches and layout
 problems.
2013-08-04 18:29:22 +02:00
Stephan Aßmus
8c9cf99133 HaikuDepot: Allow to force other size on BitmapView 2013-08-04 18:29:21 +02:00
Stephan Aßmus
9ecd9f0294 HaikuDepot: Added ability to store screenshots in PackageInfo. 2013-08-04 18:29:20 +02:00
Stephan Aßmus
168c3c8b34 HaikuDepot: Added ability to load archived BBitmaps resourced.
* SharedBitmap should probably be moved into its own file.
 * Untested as of yet.
2013-08-04 18:29:19 +02:00
Stephan Aßmus
2ff988cad4 HaikuDepot: Added WonderBrush and Paladin screenshots in resources 2013-08-04 18:29:19 +02:00
Ingo Weinhold
68ccc98930 Build the cross gcc for the secondary arch as such
Pass --enable-hybrid-secondary to gcc's configure when building it as
a secondary compiler. Doesn't make a difference for building Haiku
itself, but makes it easier to match the Haiku cross devel package with
the compiler when building bootstrap packages with haikuporter.

gcc 4 only ATM.
2013-08-04 17:21:20 +02:00
Rene Gollent
44646df416 Debugger: Move CLI commands into their own subdir. hrev45949 2013-08-04 10:50:44 -04:00
Stephan Aßmus
601d751f4f HaikuDepot: Switched back to actual BTabView
* Instead of showing all package actions along the bottom
   of the window, only the applicable actions are shown, but
   besides the package title.
 * The radio buttons are gone, instead an actual BTabView is
   used, but now in a more pretty way.
 * The package info content stretches to the window border
   which will make showing a vertical scroll bar look better.
hrev45948
2013-08-04 00:51:49 +02:00
Stephan Aßmus
68ed4f7dd6 HaikuDepot: More work on package info view
* Display rating via RatingView and additional BStringView
   decoration
 * Display radio buttons to switch between About, Ratings and
   Changelog pages. (Will be replaced again...)
 * Implement preliminary UserRatingsView showing all user
   ratings (currently in a single BTextView, will be much
   more detailed later on).
 * Implement ChangelogView, simply showing the dummy changelogs
   in a BTextView.
 * Layout tweaks
hrev45947
2013-08-03 22:40:13 +02:00
Stephan Aßmus
c76894073a HaikuDepot: Class and method to retrieve a user rating summary 2013-08-03 22:40:12 +02:00
Stephan Aßmus
0177c6b4be HaikuDepot: Include PackageManager.cpp in build 2013-08-03 22:40:11 +02:00
Stephan Aßmus
ae5df46045 HaikuDepot: Include star icon in resources 2013-08-03 22:40:10 +02:00
Stephan Aßmus
3e2a7aa5ce HaikuDepot: Classes to interface with the Package Kit
* Non functional
 * Basically allows to retrieve applicable actions for
   a given package.
2013-08-03 22:40:09 +02:00
Stephan Aßmus
3aac7049ba HaikuDepot: Disallow second split (package info) to collapse 2013-08-03 22:40:08 +02:00
Niels Sascha Reedijk
dfc913cb7a Update translations from Pootle hrev45946 2013-08-03 06:18:24 +02:00
Ingo Weinhold
f975dc63f1 build_cross_tools_gcc4: move sysroot dir into install dir
This allows us to sneak in system include and library search dirs in
haikuporter without doing anything outside the cross tools dir.
2013-08-03 05:29:15 +02:00
Ingo Weinhold
833b6688aa cross devel hpkg: use suffix/subdir for secondary arch
* Libraries for a secondary architectures must be placed in a respective
  subdir.
* Add a suffix to the package name when building for a secondary
  architecture. Looks a bit weird
  ("haiku_cross_devel_sysroot_x86_gcc_x86.hpkg"), but is consistent.
2013-08-03 05:26:25 +02:00
Rene Gollent
1f67610d5a Move Alex Smith to active maintainers list. hrev45945 2013-08-02 22:15:18 -04:00
Philippe Saint-Pierre
ba03d61b4f DeskBar: use the prepared transparent icon when necessary
In the odd case where there is no icon for an app, and the generic
3 boxes icon is also unavailable/removed, Deskbar now properly draws
the transparent icon that was prepared, but not used (and leaked).
hrev45944
2013-08-02 21:04:57 -04:00
Rene Gollent
055118de88 AboutSystem: Move Pawel Dziepak to active maintainers list. hrev45943 2013-08-01 19:29:35 -04:00
Stephan Aßmus
c4a4cf93eb HaikuDepot: Package title tweaks, show publisher hrev45942 2013-08-02 00:06:38 +02:00
Stephan Aßmus
b42e741f26 HaikuDepot: ÜiPut psher info in its own class. hrev45941 2013-08-01 23:52:14 +02:00
Stephan Aßmus
ffc424b51a HaikuDepot: Show the publisher mail and website as in the mockup.
TODO: Should be clickable of course.
hrev45940
2013-08-01 23:26:44 +02:00
Stephan Aßmus
dd75adcdfa HaikuDepot: Fixed bugs with MimeType icon loading 2013-08-01 23:26:14 +02:00
Stephan Aßmus
c58a02bab6 HaikuDepot: Added icon loading from BMimeType to SharedBitmap
* Also added publisher email and website fields to PackageInfo.
2013-08-01 22:56:51 +02:00
Ingo Weinhold
a56422b448 VFS: fs_mount(): fix FS name leak
Fixes #9909.
hrev45939
2013-08-01 15:43:24 +02:00
Ingo Weinhold
b0944c78b0 More work towards hybrid support
* All packaging architecture dependent variables do now have a
  respective suffix and are set up for each configured packaging
  architecture, save for the kernel and boot loader variables, which
  are still only set up for the primary architecture.
  For convenience TARGET_PACKAGING_ARCH, TARGET_ARCH, TARGET_LIBSUPC++,
  and TARGET_LIBSTDC++ are set to the respective values for the primary
  packaging architecture by default.
* Introduce a set of MultiArch* rules to help with building targets for
  multiple packaging architectures. Generally the respective targets are
  (additionally) gristed with the packaging architecture. For libraries
  the additional grist is usually omitted for the primary architecture
  (e.g. libroot.so and <x86>libroot.so for x86_gcc2/x86 hybrid), so that
  Jamfiles for targets built only for the primary architecture don't
  need to be changed.
* Add multi-arch build support for all targets needed for the stage 1
  cross devel package as well as for libbe (untested).
2013-08-01 08:54:06 +02:00
Ingo Weinhold
159663ceba Remove no longer needed HAIKU_STRIP_DEBUG_FROM_OPTIONAL_PACKAGES 2013-08-01 08:54:05 +02:00
Ingo Weinhold
30f0d45ff7 Remove unused Haiku64Image 2013-08-01 08:54:05 +02:00
Ingo Weinhold
13dc541c25 libroot: os/arch: remove unsupported architectures 2013-08-01 08:54:05 +02:00
Jérôme Duval
8f5dbad65b FreeBSD compat layer: root->softc needs to be zeroed, not root. hrev45938 2013-08-01 07:37:59 +02:00
Stephan Aßmus
2285a7451d HaikuDepot: SharedBitmap, when constructed with BBitmap, return that. hrev45937 2013-07-31 22:34:37 +02:00
Stephan Aßmus
0ee1699a5d HaikuDepot: Added vector icons to package list and info area
* SharedBitmap can be pointed to a resource (later the icons will
   likely be fetched from somewhere else).
 * SharedBitmap caches 16, 32, and 64 icons.
  * Added icon resources for WonderBrush and Paladin dummy packages.
2013-07-31 22:34:36 +02:00
Jerome Duval
d66a9a6072 FreeBSD compat layer: init the struct root_device_softc.
Should help to fix things for devices without MSI or with MSI-X.
hrev45936
2013-07-31 20:50:52 +02:00
Jerome Duval
3ae0742de7 FreeBSD compat layer: fix typo ...
introduced in 656e05ec86375a592c360f7f4d2ea321e74cd8ff
hrev45935
2013-07-31 16:58:12 +02:00
Rene Gollent
17d68fd24c Debugger: Fix handling of modified types with no base type.
In the case of a modified type pointing to an unspecified base type,
i.e. const void*, gcc appears to omit the DW_AT_type attribute entirely.
This had the result that such variables wouldn't appear in the var list.
If we encounter such a case, simply assume that the base type is unspecified
rather than failing early.
hrev45934
2013-07-30 22:12:26 -04:00
Alexander von Gluck IV
4623dc73d0 Radeon HD: Add trinity / thames / aruba pciid.
* For #9894
* No clue how that is going to work, seems mulitple
  GPU onboard.. we will likely just use the first
  card we see.
* We may need to remove one of these if additional
  work is required to switch GPU's.
hrev45933
2013-07-30 18:42:20 -05:00