build: Cleanup and fixes following previous commits.
* Hashing semantics for the new build repositories are different than the old ones, so update those (if the x86 build was not broken before it is now...) * OptionalPackages has been updated slightly (removed libtool and git_cvs from the default images, as they are rarely used nowadays and would pull in a bunch of dependencies we don't really care for either) * Removed lib:libqrencode from Haiku package requires (qrencode_kdl is a static library, the userland libqrencode is not used anywhere in the tree, as far as I can tell) * Fix build of JPEG2000 translator after update * Decouple fluidsynth build machinery and remove from image now that it is no longer used * Update repository URL in Repositories preflet
This commit is contained in:
@@ -602,7 +602,7 @@ rule ArchitectureSetupWarnings architecture
|
||||
EnableWerror src add-ons translators hvif ;
|
||||
EnableWerror src add-ons translators ico ;
|
||||
EnableWerror src add-ons translators jpeg ;
|
||||
EnableWerror src add-ons translators jpeg2000 ;
|
||||
# EnableWerror src add-ons translators jpeg2000 ;
|
||||
EnableWerror src add-ons translators pcx ;
|
||||
EnableWerror src add-ons translators png ;
|
||||
EnableWerror src add-ons translators ppm ;
|
||||
|
||||
+9
-19
@@ -440,25 +440,15 @@ if [ IsPackageAvailable libicns_devel ] {
|
||||
|
||||
# Jasper
|
||||
if [ IsPackageAvailable jasper_devel ] {
|
||||
if $(HAIKU_PACKAGING_ARCH) = x86_64 {
|
||||
ExtractBuildFeatureArchives jasper :
|
||||
file: base jasper
|
||||
runtime: lib
|
||||
file: devel jasper_devel
|
||||
depends: base
|
||||
library: $(developLibDir)/libjasper.so.4
|
||||
headers: $(developHeadersDir) $(developHeadersDir)/jasper
|
||||
;
|
||||
} else {
|
||||
ExtractBuildFeatureArchives jasper :
|
||||
file: base jasper
|
||||
runtime: lib
|
||||
file: devel jasper_devel
|
||||
depends: base
|
||||
library: $(developLibDir)/libjasper.so.1
|
||||
headers: $(developHeadersDir) $(developHeadersDir)/jasper
|
||||
;
|
||||
}
|
||||
ExtractBuildFeatureArchives jasper :
|
||||
file: base jasper
|
||||
runtime: lib
|
||||
file: devel jasper_devel
|
||||
depends: base
|
||||
library: $(developLibDir)/libjasper.so.4
|
||||
headers: $(developHeadersDir) $(developHeadersDir)/jasper
|
||||
;
|
||||
|
||||
EnableBuildFeatures jasper ;
|
||||
} else {
|
||||
Echo "Jasper support not available on $(TARGET_PACKAGING_ARCH)" ;
|
||||
|
||||
@@ -87,7 +87,7 @@ if [ IsOptionalHaikuImagePackageAdded Bluetooth ] {
|
||||
# Development
|
||||
if [ IsOptionalHaikuImagePackageAdded Development ] {
|
||||
# auto tools and perl
|
||||
AddHaikuImagePackages autoconf automake libtool perl texinfo ;
|
||||
AddHaikuImagePackages autoconf automake perl texinfo ;
|
||||
|
||||
# some other build tools
|
||||
AddHaikuImagePackages pkgconfig scons ;
|
||||
@@ -149,12 +149,6 @@ if [ IsOptionalHaikuImagePackageAdded FFMpeg-devel ] {
|
||||
# Git
|
||||
if [ IsOptionalHaikuImagePackageAdded Git ] {
|
||||
AddHaikuImagePackages git git_arch git_daemon git_email git_svn ;
|
||||
|
||||
# git_cvs depends on cvsps, which does not build with gcc2. So it is not
|
||||
# available on gcc2-only builds.
|
||||
if $(TARGET_PACKAGING_ARCHS) != x86_gcc2 {
|
||||
AddHaikuImagePackages git_cvs ;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -160,9 +160,12 @@ rule RemotePackageRepository repository : architecture : repositoryUrl
|
||||
# build package list checksum file
|
||||
local packagesChecksumFile
|
||||
= $(repository:G=repository-package-checksum)-checksum ;
|
||||
local thisPackageRepositoryFile = [ Glob [ FDirName
|
||||
$(HAIKU_BUILD_RULES_DIR) repositories HaikuPorts ] :
|
||||
$(HAIKU_PACKAGING_ARCH) ] ;
|
||||
MakeLocate $(packagesChecksumFile) : $(repositoriesDir) ;
|
||||
Depends $(packagesChecksumFile) : $(packageListFile) ;
|
||||
ChecksumFileSHA256 $(packagesChecksumFile) : $(packageListFile) ;
|
||||
Depends $(packagesChecksumFile) : $(thisPackageRepositoryFile) ;
|
||||
ChecksumFileSHA256 $(packagesChecksumFile) : $(thisPackageRepositoryFile) ;
|
||||
|
||||
local repositoryInfo = $(repository:G=repository-info)-info ;
|
||||
local repositoryFile = $(repository:G=repository-cache) ;
|
||||
@@ -260,7 +263,7 @@ actions RepositoryConfig1
|
||||
version=`cat "$(2[3]:E)"`
|
||||
fi
|
||||
$(HOST_ADD_BUILD_COMPATIBILITY_LIB_DIR)
|
||||
$(2[1]) $(HAIKU_REPOSITORY_URL) $(2[2]) $(1)
|
||||
$(2[1]) $(2[2]) $(1)
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -90,7 +90,6 @@ rule HaikuImageGetPrivateSystemLibs
|
||||
{
|
||||
return [ MultiArchDefaultGristFiles [ FFilterByBuildFeatures
|
||||
libalm.so
|
||||
libfluidsynth.so@gcc2
|
||||
libilmimf.so
|
||||
libpackage-add-on-libsolv.so
|
||||
libroot-addon-icu.so
|
||||
|
||||
Reference in New Issue
Block a user