Changeset 1256 in ProjectBuilder


Ignore:
Timestamp:
Mar 12, 2011, 12:52:55 AM (13 years ago)
Author:
Bruno Cornec
Message:
  • Adds filter geenration at newproj time for more debian/ubuntu distros
File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb/lib/ProjectBuilder/Env.pm

    r1212 r1256  
    736736EOF
    737737            close(CONF);
     738            # 9.10, 10.04, 10.10
     739            foreach my $ubv ("debian.pbf") {
     740                open(CONF,"> $ENV{'PBROOTDIR'}/pbfilter/$ubv") || die "Unable to create $ENV{'PBROOTDIR'}/pbfilter/$ubv";
     741                print CONF << "EOF";
     742#
     743# \$Id\$
     744#
     745# Filter for debian build
     746#
     747# PBDEBSTD is replaced by the Debian standard version
     748filter PBDEBSTD = 3.8.0
     749
     750# PBDEBCOMP is replaced by the Debian Compatibility value
     751filter PBDEBCOMP = 7
     752
     753EOF
     754                close(CONF);
     755            }
     756            foreach my $ubv ("ubuntu-6.06.pbf","ubuntu-7.04.pbf","ubuntu-7.10.pbf") {
     757                open(CONF,"> $ENV{'PBROOTDIR'}/pbfilter/$ubv") || die "Unable to create $ENV{'PBROOTDIR'}/pbfilter/$ubv";
     758                print CONF << "EOF";
     759#
     760# \$Id\$
     761#
     762# Filter for ubuntu build
     763#
     764# PBDEBSTD is replaced by the Debian standard version
     765filter PBDEBSTD = 3.6.2
     766
     767# PBDEBCOMP is replaced by the Debian Compatibility value
     768filter PBDEBCOMP = 4
     769
     770EOF
     771                close(CONF);
     772            }
     773            foreach my $ubv ("ubuntu-8.04.pbf","ubuntu-8.10.pbf") {
     774                open(CONF,"> $ENV{'PBROOTDIR'}/pbfilter/$ubv") || die "Unable to create $ENV{'PBROOTDIR'}/pbfilter/$ubv";
     775                print CONF << "EOF";
     776#
     777# \$Id\$
     778#
     779# Filter for ubuntu build
     780#
     781# PBDEBSTD is replaced by the Debian standard version
     782filter PBDEBSTD = 3.7.3
     783
     784# PBDEBCOMP is replaced by the Debian Compatibility value
     785filter PBDEBCOMP = 4
     786
     787EOF
     788                close(CONF);
     789            }
     790            foreach my $ubv ("ubuntu-9.04.pbf") {
     791                open(CONF,"> $ENV{'PBROOTDIR'}/pbfilter/$ubv") || die "Unable to create $ENV{'PBROOTDIR'}/pbfilter/$ubv";
     792                print CONF << "EOF";
     793#
     794# \$Id\$
     795#
     796# Filter for ubuntu build
     797#
     798# PBDEBSTD is replaced by the Debian standard version
     799filter PBDEBSTD = 3.8.0
     800
     801# PBDEBCOMP is replaced by the Debian Compatibility value
     802filter PBDEBCOMP = 4
     803
     804EOF
     805                close(CONF);
     806            }
     807            # 9.10, 10.04, 10.10
     808            foreach my $ubv ("ubuntu.pbf") {
     809                open(CONF,"> $ENV{'PBROOTDIR'}/pbfilter/$ubv") || die "Unable to create $ENV{'PBROOTDIR'}/pbfilter/$ubv";
     810                print CONF << "EOF";
     811#
     812# \$Id\$
     813#
     814# Filter for ubuntu build
     815#
     816# PBDEBSTD is replaced by the Debian standard version
     817filter PBDEBSTD = 3.8.3
     818
     819# PBDEBCOMP is replaced by the Debian Compatibility value
     820filter PBDEBCOMP = 7
     821
     822EOF
     823                close(CONF);
     824            }
    738825            open(CONF,"> $ENV{'PBROOTDIR'}/pbfilter/md.pbf") || die "Unable to create $ENV{'PBROOTDIR'}/pbfilter/md.pbf";
    739826            print CONF << "EOF";
Note: See TracChangeset for help on using the changeset viewer.