Patch by taos. Adds rdef files to make localization working.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42337 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Clemens Zeidler 2011-06-28 23:42:37 +00:00
parent 43ad8a3327
commit aba82385f1
13 changed files with 103 additions and 3 deletions

View File

@ -5,14 +5,13 @@ UsePublicHeaders [ FDirName add-ons mail_daemon ] ;
SubDirHdrs [ FDirName $(HAIKU_TOP) headers os add-ons mail_daemon ] ; SubDirHdrs [ FDirName $(HAIKU_TOP) headers os add-ons mail_daemon ] ;
AddResources MatchHeader : MatchHeader.rdef ;
Addon MatchHeader Addon MatchHeader
: :
ConfigView.cpp ConfigView.cpp
RuleFilter.cpp RuleFilter.cpp
StringMatcher.cpp StringMatcher.cpp
;
LinkAgainst MatchHeader
: :
be libmail.so $(TARGET_LIBSUPC++) $(HAIKU_LOCALE_LIBS) be libmail.so $(TARGET_LIBSUPC++) $(HAIKU_LOCALE_LIBS)
; ;

View File

@ -0,0 +1,15 @@
/*
* MatchHeader.rdef
*/
resource app_signature "application/x-vnd.Haiku-MatchHeader";
resource app_version {
major = 1,
middle = 0,
minor = 0,
variety = 0,
internal = 0,
short_info = "1.0.0",
long_info = "Haiku MatchHeader mail_daemon add-on."
};

View File

@ -5,6 +5,8 @@ UsePublicHeaders [ FDirName add-ons mail_daemon ] ;
SubDirHdrs [ FDirName $(HAIKU_TOP) headers os add-ons mail_daemon ] ; SubDirHdrs [ FDirName $(HAIKU_TOP) headers os add-ons mail_daemon ] ;
AddResources NewMailNotification : NewMailNotification.rdef ;
Addon NewMailNotification : Addon NewMailNotification :
filter.cpp filter.cpp
ConfigView.cpp ConfigView.cpp

View File

@ -0,0 +1,15 @@
/*
* IMAP.rdef
*/
resource app_signature "application/x-vnd.Haiku-IMAP";
resource app_version {
major = 1,
middle = 0,
minor = 0,
variety = 0,
internal = 0,
short_info = "1.0.0",
long_info = "Haiku IMAP mail_daemon add-on."
};

View File

@ -29,6 +29,8 @@ local sources =
IMAPStorage.cpp IMAPStorage.cpp
; ;
AddResources IMAP : IMAP.rdef ;
if $(HAIKU_OPENSSL_ENABLED) { if $(HAIKU_OPENSSL_ENABLED) {
SubDirC++Flags -DUSE_SSL ; SubDirC++Flags -DUSE_SSL ;
SetupFeatureObjectsDir ssl ; SetupFeatureObjectsDir ssl ;

View File

@ -28,6 +28,8 @@ if $(HAIKU_OPENSSL_ENABLED) {
SetupFeatureObjectsDir no-ssl ; SetupFeatureObjectsDir no-ssl ;
} }
AddResources POP3 : POP3.rdef ;
Addon POP3 Addon POP3
: $(sources) : $(sources)
: be libmail.so $(HAIKU_LOCALE_LIBS) $(HAIKU_OPENSSL_LIBS) : be libmail.so $(HAIKU_LOCALE_LIBS) $(HAIKU_OPENSSL_LIBS)

View File

@ -0,0 +1,15 @@
/*
* POP3.rdef
*/
resource app_signature "application/x-vnd.Haiku-POP3";
resource app_version {
major = 1,
middle = 0,
minor = 0,
variety = 0,
internal = 0,
short_info = "1.0.0",
long_info = "Haiku POP3 mail_daemon add-on."
};

View File

@ -0,0 +1,15 @@
/*
* Fortune.rdef
*/
resource app_signature "application/x-vnd.Haiku-Fortune";
resource app_version {
major = 1,
middle = 0,
minor = 0,
variety = 0,
internal = 0,
short_info = "1.0.0",
long_info = "Haiku Fortune mail_daemon add-on."
};

View File

@ -6,6 +6,8 @@ UsePublicHeaders [ FDirName add-ons mail_daemon ] ;
SubDirHdrs [ FDirName $(HAIKU_TOP) headers os add-ons mail_daemon ] ; SubDirHdrs [ FDirName $(HAIKU_TOP) headers os add-ons mail_daemon ] ;
AddResources Fortune : Fortune.rdef ;
Addon Fortune : Addon Fortune :
ConfigView.cpp ConfigView.cpp
filter.cpp filter.cpp

View File

@ -24,6 +24,8 @@ if $(HAIKU_OPENSSL_ENABLED) {
SetupFeatureObjectsDir no-ssl ; SetupFeatureObjectsDir no-ssl ;
} }
AddResources SMTP : SMTP.rdef ;
Addon SMTP Addon SMTP
: $(sources) : $(sources)
: be libmail.so $(TARGET_NETWORK_LIBS) $(TARGET_LIBSTDC++) : be libmail.so $(TARGET_NETWORK_LIBS) $(TARGET_LIBSTDC++)

View File

@ -0,0 +1,15 @@
/*
* SMTP.rdef
*/
resource app_signature "application/x-vnd.Haiku-SMTP";
resource app_version {
major = 1,
middle = 0,
minor = 0,
variety = 0,
internal = 0,
short_info = "1.0.0",
long_info = "Haiku SMTP mail_daemon add-on."
};

View File

@ -47,6 +47,7 @@ if $(HAIKU_OPENSSL_ENABLED) {
SetupFeatureObjectsDir no-ssl ; SetupFeatureObjectsDir no-ssl ;
} }
AddResources libmail.so : libmail.rdef ;
SharedLibrary libmail.so : SharedLibrary libmail.so :
$(sources) $(sources)

View File

@ -0,0 +1,15 @@
/*
* libmail.rdef
*/
resource app_signature "application/x-vnd.Haiku-libmail";
resource app_version {
major = 1,
middle = 0,
minor = 0,
variety = 0,
internal = 0,
short_info = "1.0.0",
long_info = "Haiku libmail."
};