소스 검색

* Set for which os'es the packages have to be compiled for those packages that do not compile on WinCE

git-svn-id: trunk@20057 -
joost 13 년 전
부모
커밋
6c6708632e
6개의 변경된 파일16개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 0
      packages/aspell/fpmake.pp
  2. 5 0
      packages/cairo/fpmake.pp
  3. 1 1
      packages/fcl-extra/fpmake.pp
  4. 4 0
      packages/fpgtk/fpmake.pp
  5. 1 0
      packages/fv/fpmake.pp
  6. 4 0
      packages/librsvg/fpmake.pp

+ 1 - 0
packages/aspell/fpmake.pp

@@ -21,6 +21,7 @@ begin
     P.Author := 'header:Aleš Katona, library: Kevin Atkinson';
     P.Author := 'header:Aleš Katona, library: Kevin Atkinson';
     P.License := 'header: LGPL with modification, library: LGPL 2.0 or 2.1';
     P.License := 'header: LGPL with modification, library: LGPL 2.0 or 2.1';
     P.HomepageURL := 'www.freepascal.org';
     P.HomepageURL := 'www.freepascal.org';
+    P.OSes := [beos,haiku,freebsd,darwin,iphonesim,netbsd,openbsd,linux,win32];
     P.Email := '';
     P.Email := '';
     P.Description := 'The New Aspell, spelling library';
     P.Description := 'The New Aspell, spelling library';
     P.NeedLibC:= true;
     P.NeedLibC:= true;

+ 5 - 0
packages/cairo/fpmake.pp

@@ -19,6 +19,11 @@ begin
     P.Author :=  'Library:  University of Southern California + Red Hat Inc., header: Luiz AmXrico Pereira CXmara';
     P.Author :=  'Library:  University of Southern California + Red Hat Inc., header: Luiz AmXrico Pereira CXmara';
     P.License := 'Library: MPL 1.1 + LGPL-2.1, header: LGPL with modification, ';
     P.License := 'Library: MPL 1.1 + LGPL-2.1, header: LGPL with modification, ';
     P.HomepageURL := 'www.freepascal.org';
     P.HomepageURL := 'www.freepascal.org';
+    P.OSes := [beos,haiku,freebsd,solaris,netbsd,openbsd,linux,win32];
+    // Do not build cairo on iPhone (=arm-darwin)
+    if Defaults.CPU<>arm then
+      P.OSes := P.OSes + [darwin];
+
     P.Email := '';
     P.Email := '';
     P.Description := 'a vector graphics library with display and print output';
     P.Description := 'a vector graphics library with display and print output';
     P.NeedLibC:= true;
     P.NeedLibC:= true;

+ 1 - 1
packages/fcl-extra/fpmake.pp

@@ -18,7 +18,7 @@ begin
 {$endif ALLPACKAGES}
 {$endif ALLPACKAGES}
     P.Version:='2.7.1';
     P.Version:='2.7.1';
     P.Dependencies.Add('fcl-base');
     P.Dependencies.Add('fcl-base');
-    P.OSes:=AllWindowsOSes+AllUnixOSes;
+    P.OSes:=[Win32,Win64]+AllUnixOSes;
     P.Dependencies.Add('winunits-jedi',[Win32,Win64]);
     P.Dependencies.Add('winunits-jedi',[Win32,Win64]);
     P.Dependencies.Add('winunits-base',[Win32,Win64]);
     P.Dependencies.Add('winunits-base',[Win32,Win64]);
     P.Dependencies.Add('univint',[darwin,iPhoneSim]);
     P.Dependencies.Add('univint',[darwin,iPhoneSim]);

+ 4 - 0
packages/fpgtk/fpmake.pp

@@ -17,6 +17,10 @@ begin
     P.Directory:='fpgtk';
     P.Directory:='fpgtk';
 {$endif ALLPACKAGES}
 {$endif ALLPACKAGES}
     P.Version:='2.7.1';
     P.Version:='2.7.1';
+    P.OSes := [beos,haiku,freebsd,solaris,netbsd,openbsd,linux,win32,win64,os2,emx];
+    // Do not build fpgtk on iPhone (=arm-darwin)
+    if Defaults.CPU<>arm then
+      P.OSes := P.OSes + [darwin];
     P.Author := 'Luk Vandelaer & Sebastian Guenther (?)';
     P.Author := 'Luk Vandelaer & Sebastian Guenther (?)';
     P.License := 'LGPL with modification, ';
     P.License := 'LGPL with modification, ';
     P.HomepageURL := 'www.freepascal.org';
     P.HomepageURL := 'www.freepascal.org';

+ 1 - 0
packages/fv/fpmake.pp

@@ -20,6 +20,7 @@ begin
     P.Author := 'Leon De Boer and Pierre Mueller';
     P.Author := 'Leon De Boer and Pierre Mueller';
     P.License := 'LGPL with modification, ';
     P.License := 'LGPL with modification, ';
     P.HomepageURL := 'www.freepascal.org';
     P.HomepageURL := 'www.freepascal.org';
+    P.OSes := [beos,haiku,freebsd,darwin,iphonesim,solaris,netbsd,openbsd,linux,win32,win64,os2,emx,netware,netwlibc,go32v2,morphos];
     P.Email := '';
     P.Email := '';
     P.Description := 'Free Vision, a portable Turbo Vision clone.';
     P.Description := 'Free Vision, a portable Turbo Vision clone.';
     P.NeedLibC:= false;
     P.NeedLibC:= false;

+ 4 - 0
packages/librsvg/fpmake.pp

@@ -16,6 +16,10 @@ begin
 {$ifdef ALLPACKAGES}
 {$ifdef ALLPACKAGES}
     P.Directory:='librsvg';
     P.Directory:='librsvg';
 {$endif ALLPACKAGES}
 {$endif ALLPACKAGES}
+    P.OSes := [beos,haiku,freebsd,netbsd,openbsd,linux,win32];
+    // Do not build x11 on iPhone (=arm-darwin)
+    if Defaults.CPU<>arm then
+      P.OSes := P.OSes + [darwin];
     P.Version:='2.7.1';
     P.Version:='2.7.1';
     P.SourcePath.Add('src');
     P.SourcePath.Add('src');
     P.IncludePath.Add('src');
     P.IncludePath.Add('src');