build: Add SYS:NAME attribute to all folders handled by Tracker.
Mail and Deskbar folders are still TODO.
This commit is contained in:
parent
9283f47bec
commit
a5297c5905
@ -2,8 +2,10 @@
|
||||
# all the other definitions.
|
||||
|
||||
# create directories that may remain empty
|
||||
AddDirectoryToHaikuImage home : home.rdef ;
|
||||
AddDirectoryToHaikuImage home Desktop ;
|
||||
AddDirectoryToHaikuImage home mail ;
|
||||
AddDirectoryToHaikuImage home config : home-config.rdef ;
|
||||
AddDirectoryToHaikuImage home config cache ;
|
||||
AddDirectoryToHaikuImage home config packages ;
|
||||
AddDirectoryToHaikuImage home config settings ;
|
||||
@ -22,6 +24,7 @@ AddDirectoryToHaikuImage home config non-packaged add-ons Tracker ;
|
||||
AddDirectoryToHaikuImage home config non-packaged add-ons Print ;
|
||||
AddDirectoryToHaikuImage home config non-packaged add-ons Screen\ Savers ;
|
||||
AddDirectoryToHaikuImage home config non-packaged add-ons Translators ;
|
||||
AddDirectoryToHaikuImage system : system.rdef ;
|
||||
AddDirectoryToHaikuImage system cache tmp ;
|
||||
AddDirectoryToHaikuImage system non-packaged bin ;
|
||||
AddDirectoryToHaikuImage system non-packaged data fonts ;
|
||||
|
@ -263,6 +263,9 @@ AddFilesToPackage add-ons decorators : BeDecorator ;
|
||||
# the MIME DB
|
||||
CopyDirectoryToPackage data : <mimedb>mime_db : : : isTarget ;
|
||||
|
||||
# directory attributes
|
||||
AddDirectoryToPackage apps : system-apps.rdef ;
|
||||
AddDirectoryToPackage preferences : system-preferences.rdef ;
|
||||
|
||||
# Deskbar menu symlinks
|
||||
|
||||
|
@ -50,6 +50,10 @@ AddFilesToPackage develop lib : libposix_error_mapper.a ;
|
||||
|
||||
# ABI independent stuff
|
||||
|
||||
# directory attributes
|
||||
AddDirectoryToPackage develop : system-develop.rdef ;
|
||||
|
||||
|
||||
# headers
|
||||
AddHeaderDirectoryToPackage config ;
|
||||
AddHeaderDirectoryToPackage glibc ;
|
||||
|
@ -34,34 +34,13 @@ WriteMailCatalogEntryAttribute()
|
||||
|
||||
|
||||
# TODO: Several of the directories are read-only, so this doesn't work.
|
||||
WriteTrackerCatalogEntryAttribute \
|
||||
"$(finddir B_APPS_DIRECTORY)" B_APPS_DIRECTORY
|
||||
|
||||
WriteTrackerCatalogEntryAttribute \
|
||||
"$(finddir B_COMMON_DIRECTORY)" B_COMMON_DIRECTORY
|
||||
|
||||
WriteTrackerCatalogEntryAttribute \
|
||||
"$(finddir B_COMMON_DEVELOP_DIRECTORY)" B_COMMON_DEVELOP_DIRECTORY
|
||||
|
||||
WriteTrackerCatalogEntryAttribute \
|
||||
"$(finddir B_USER_DIRECTORY)" B_USER_DIRECTORY
|
||||
|
||||
WriteTrackerCatalogEntryAttribute \
|
||||
"$(finddir B_DESKTOP_DIRECTORY)" B_DESKTOP_DIRECTORY
|
||||
|
||||
WriteTrackerCatalogEntryAttribute \
|
||||
"$(finddir B_USER_CONFIG_DIRECTORY)" B_USER_CONFIG_DIRECTORY
|
||||
|
||||
WriteTrackerCatalogEntryAttribute \
|
||||
"$(finddir B_USER_SETTINGS_DIRECTORY)/Tracker/Tracker New Templates" \
|
||||
"B_USER_SETTINGS_DIRECTORY/Tracker/Tracker New Templates"
|
||||
|
||||
WriteTrackerCatalogEntryAttribute \
|
||||
"$(finddir B_PREFERENCES_DIRECTORY)" B_PREFERENCES_DIRECTORY
|
||||
|
||||
WriteTrackerCatalogEntryAttribute \
|
||||
"$(finddir B_SYSTEM_DIRECTORY)" B_SYSTEM_DIRECTORY
|
||||
|
||||
WriteTrackerCatalogEntryAttribute \
|
||||
"$(finddir B_TRASH_DIRECTORY)" B_TRASH_DIRECTORY
|
||||
|
||||
|
1
src/data/directory_attrs/home-config.rdef
Normal file
1
src/data/directory_attrs/home-config.rdef
Normal file
@ -0,0 +1 @@
|
||||
resource(0, "SYS:NAME") "x-vnd.Haiku-libtracker:B_USER_CONFIG_DIRECTORY:config";
|
1
src/data/directory_attrs/home.rdef
Normal file
1
src/data/directory_attrs/home.rdef
Normal file
@ -0,0 +1 @@
|
||||
resource(0, "SYS:NAME") "x-vnd.Haiku-libtracker:B_USER_DIRECTORY:home";
|
1
src/data/directory_attrs/system-apps.rdef
Normal file
1
src/data/directory_attrs/system-apps.rdef
Normal file
@ -0,0 +1 @@
|
||||
resource(0, "SYS:NAME") "x-vnd.Haiku-libtracker:B_APPS_DIRECTORY:apps";
|
1
src/data/directory_attrs/system-develop.rdef
Normal file
1
src/data/directory_attrs/system-develop.rdef
Normal file
@ -0,0 +1 @@
|
||||
resource(0, "SYS:NAME") "x-vnd.Haiku-libtracker:B_SYSTEM_DEVELOP_DIRECTORY:develop";
|
1
src/data/directory_attrs/system-preferences.rdef
Normal file
1
src/data/directory_attrs/system-preferences.rdef
Normal file
@ -0,0 +1 @@
|
||||
resource(0, "SYS:NAME") "x-vnd.Haiku-libtracker:B_PREFERENCES_DIRECTORY:preferences";
|
1
src/data/directory_attrs/system.rdef
Normal file
1
src/data/directory_attrs/system.rdef
Normal file
@ -0,0 +1 @@
|
||||
resource(0, "SYS:NAME") "x-vnd.Haiku-libtracker:B_SYSTEM_DIRECTORY:system";
|
Loading…
Reference in New Issue
Block a user