cups: use INC_PR due cups.inc being used in many recipes
authorOtavio Salvador <otavio@ossystems.com.br>
Thu, 21 May 2009 02:30:56 +0000 (23:30 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Thu, 21 May 2009 02:30:59 +0000 (23:30 -0300)
To be easier to update the recipes we use a INC_PR in cups.inc that is
included in all PR fields in all recipes. Since currently the oldest
revision was 'r6' INC_PR starts in 'r7'.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
recipes/cups/cups.inc
recipes/cups/cups_1.1.23.bb
recipes/cups/cups_1.2.12.bb
recipes/cups/cups_1.2.7.bb
recipes/cups/cups_1.3.8.bb

index 56450f7..cbec781 100644 (file)
@@ -3,6 +3,8 @@ SECTION = "console/utils"
 LICENSE = "GPL LGPL"
 DEPENDS = "gnutls jpeg dbus dbus-glib libpng zlib fakeroot-native"
 
+INC_PR = "r7"
+
 SRC_URI = "ftp://ftp.easysw.com/pub/cups/${PV}/cups-${PV}-source.tar.bz2 \
          "
 
@@ -89,4 +91,3 @@ FILES_${PN} += "${datadir}/doc/cups/images \
                ${datadir}/doc/cups/*.css \
                 ${datadir}/icons/ \
               "
-
index d6f0de8..bc1053c 100644 (file)
@@ -2,7 +2,7 @@ DESCRIPTION = "An Internet printing system for Unix."
 SECTION = "console/utils"
 LICENSE = "GPL LGPL"
 DEPENDS = "openssl jpeg libpng zlib fakeroot-native"
-PR = "r6"
+PR = "${INC_PR}.1"
 
 SRC_URI = "ftp://ftp3.easysw.com/pub/cups/${PV}/cups-${PV}-source.tar.bz2 \
            file://strftime_fix.patch;patch=1"
index 4f7d0d4..773f97e 100644 (file)
@@ -1,2 +1,2 @@
 require cups.inc
-PR = "r2"
+PR = "${INC_PR}.1"
index 8559bfc..7084032 100644 (file)
@@ -2,7 +2,7 @@ DESCRIPTION = "An Internet printing system for Unix."
 SECTION = "console/utils"
 LICENSE = "GPL LGPL"
 DEPENDS = "gnutls jpeg dbus dbus-glib libpng zlib fakeroot-native"
-PR = "r1"
+PR = "${INC_PR}.1"
 
 SRC_URI = "ftp://ftp3.easysw.com/pub/cups/${PV}/cups-${PV}-source.tar.bz2 \
          "
index 79cbc32..c921133 100644 (file)
@@ -1,7 +1,7 @@
 require cups.inc
 
 SRC_URI += "file://use_echo_only_in_init.patch;patch=1"
-PR = "r2"
+PR = "${INC_PR}.1"
 
 DEFAULT_PREFERENCE = "-1"