packages: parted/parted-pl.po-update.patch, parted/parted.m4, parted/parted...

qboosh qboosh at pld-linux.org
Sat Sep 4 09:54:23 CEST 2010


Author: qboosh                       Date: Sat Sep  4 07:54:23 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- updated to 2.3 (supports modern sector sizes and alignments)
- updated pl.po-update patch
- removed obsolete etherd,headers patches
- added sonames patch (work without progsreiserfs-devel)
- updated parted.m4 from git
- separated -libs

---- Files affected:
packages/parted:
   parted-pl.po-update.patch (1.18 -> 1.19) , parted.m4 (1.1 -> 1.2) , parted.spec (1.152 -> 1.153) , parted-sonames.patch (NONE -> 1.1)  (NEW), parted-etherd.patch (1.6 -> NONE)  (REMOVED), parted-headers.patch (1.1 -> NONE)  (REMOVED)

---- Diffs:

================================================================
Index: packages/parted/parted-pl.po-update.patch
diff -u packages/parted/parted-pl.po-update.patch:1.18 packages/parted/parted-pl.po-update.patch:1.19
--- packages/parted/parted-pl.po-update.patch:1.18	Wed Aug 22 23:05:28 2007
+++ packages/parted/parted-pl.po-update.patch	Sat Sep  4 09:54:17 2010
@@ -1,367 +1,147 @@
---- parted-1.8.8/po/pl.po.orig	2007-08-09 20:50:24.000000000 +0200
-+++ parted-1.8.8/po/pl.po	2007-08-22 22:17:46.804207292 +0200
-@@ -5,10 +5,10 @@
+--- parted-2.3/po/pl.po.orig	2010-09-03 19:49:47.450531741 +0200
++++ parted-2.3/po/pl.po	2010-09-03 20:09:53.214526712 +0200
+@@ -6,7 +6,7 @@
  #
  msgid ""
  msgstr ""
--"Project-Id-Version: parted 1.8.7\n"
-+"Project-Id-Version: parted 1.8.8\n"
+-"Project-Id-Version: parted 2.2\n"
++"Project-Id-Version: parted 2.3\n"
  "Report-Msgid-Bugs-To: bug-parted at gnu.org\n"
- "POT-Creation-Date: 2007-08-09 14:50-0400\n"
--"PO-Revision-Date: 2007-05-15 17:40+0200\n"
-+"PO-Revision-Date: 2007-08-20 18:22+0200\n"
- "Last-Translator: Jakub Bogusz <qboosh at pld-linux.org>\n"
- "Language-Team: Polish <translation-team-pl at lists.sourceforge.net>\n"
- "MIME-Version: 1.0\n"
-@@ -195,7 +195,6 @@
- msgstr "(C)"
+ "POT-Creation-Date: 2010-05-28 20:30+0200\n"
+ "PO-Revision-Date: 2010-02-26 22:32+0100\n"
+@@ -58,9 +58,9 @@
+ msgstr "%s: opcja '%c%s' nie mo¿e mieæ argumentów\n"
  
- #: lib/version-etc.c:68
--#, fuzzy
- msgid ""
- "\n"
- "License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl."
-@@ -205,7 +204,7 @@
- "\n"
- msgstr ""
- "\n"
--"Licencja GPLv2+: GNU GPL w wersji 2 lub pó¼niejszej:\n"
-+"Licencja GPLv3+: GNU GPL w wersji 3 lub pó¼niejszej:\n"
- "<http://gnu.org/licenses/gpl.html>\n"
- "Ten program jest wolnodostêpny: mo¿na go modyfikowaæ i rozprowadzaæ.\n"
- "NIE MA ¯ADNEJ GWARANCJI w zakresie dopuszczalnym przez prawo.\n"
-@@ -427,7 +426,6 @@
- msgstr "Sk³adnia: %s [OPCJA] [URZ¡DZENIE]...\n"
- 
- #: partprobe/partprobe.c:144
--#, fuzzy
- msgid ""
- "Inform the operating system about partition table changes.\n"
- "\n"
-@@ -438,13 +436,12 @@
- msgstr ""
- "Poinformowanie systemu operacyjnego o zmianach w tablicy partycji.\n"
- "\n"
--"  -d, --no-update  nie uaktualnianie j±dra\n"
-+"  -d, --dry-run    pominiêcie informowania systemu operacyjnego\n"
- "  -s, --summary    wypisanie podsumowania zawarto¶ci\n"
- "  -h, --help       wy¶wietlenie tego opisu i zakoñczenie\n"
- "  -v, --version    wy¶wietlenie informacji o wersji i zakoñczenie\n"
- 
- #: partprobe/partprobe.c:152
--#, fuzzy
- msgid ""
- "\n"
- "When no DEVICE is given, probe all partitions.\n"
-@@ -618,7 +615,7 @@
- 
- #: libparted/arch/linux.c:1197
- msgid "Xen Virtual Block Device"
--msgstr ""
-+msgstr "Wirtualne urz±dzenie blokowe Xena"
+ #: lib/getopt.c:637 lib/getopt.c:656
+-#, fuzzy, c-format
++#, c-format
+ msgid "%s: option '--%s' requires an argument\n"
+-msgstr "%s: opcja '%s' musi mieæ argument\n"
++msgstr "%s: opcja '--%s' musi mieæ argument\n"
  
- #: libparted/arch/linux.c:1202
- msgid "Unknown"
-@@ -689,9 +686,9 @@
- msgstr "Zapewnienie (%s) w %s:%d w funkcji %s() nie powiod³o siê."
+ #: lib/getopt.c:694 lib/getopt.c:697
+ #, c-format
+@@ -93,9 +93,9 @@
+ msgstr "%s: opcja '-W %s' nie mo¿e mieæ argumentów\n"
  
- #: libparted/disk.c:202
+ #: lib/getopt.c:962 lib/getopt.c:980
 -#, fuzzy, c-format
 +#, c-format
- msgid "%s: unrecognised disk label"
--msgstr "Nie mo¿na otworzyæ %s - nierozpoznana etykieta dysku."
-+msgstr "%s: nierozpoznana etykieta dysku"
+ msgid "%s: option '-W %s' requires an argument\n"
+-msgstr "%s: opcja '%s' musi mieæ argument\n"
++msgstr "%s: opcja '-W %s' musi mieæ argument\n"
  
- #: libparted/disk.c:470
- #, c-format
-@@ -1152,137 +1149,103 @@
- msgstr "Zbyt du¿o partycji g³ównych"
+ #. TRANSLATORS:
+ #. Get translations for open and closing quotation marks.
+@@ -692,7 +692,7 @@
  
- #: libparted/labels/fdasd.c:103
--#, fuzzy
- msgid "open error"
--msgstr ""
--"%s b³±d otwierania\n"
--"%s\n"
-+msgstr "b³±d otwierania"
- 
- #: libparted/labels/fdasd.c:106
--#, fuzzy
- msgid "seek error"
--msgstr ""
--"%s b³±d seek\n"
--"%s\n"
-+msgstr "b³±d seek"
- 
- #: libparted/labels/fdasd.c:109
--#, fuzzy
- msgid "read error"
--msgstr "b³±d zapisu"
-+msgstr "b³±d odczytu"
- 
- #: libparted/labels/fdasd.c:115
--#, fuzzy
- msgid "ioctl() error"
--msgstr "b³±d zapisu"
-+msgstr "b³±d ioctl()"
- 
- #: libparted/labels/fdasd.c:119
--#, fuzzy
- msgid "API version mismatch"
--msgstr ""
--"%s niezgodno¶æ wersji API\n"
--"%s\n"
-+msgstr "niezgodno¶æ wersji API"
- 
- #: libparted/labels/fdasd.c:123
--#, fuzzy
- msgid "Unsupported disk type"
+ #: libparted/arch/linux.c:1313
+ msgid "ATA over Ethernet Device"
 -msgstr ""
--"%s Nieobs³ugiwany typ dysku\n"
--"%s\n"
-+msgstr "Nieobs³ugiwany typ dysku"
- 
- #: libparted/labels/fdasd.c:127
--#, fuzzy
- msgid "Unsupported disk format"
--msgstr ""
--"%s Nieobs³ugiwany format dysku\n"
--"%s\n"
-+msgstr "Nieobs³ugiwany format dysku"
- 
- #: libparted/labels/fdasd.c:131
--#, fuzzy
- msgid "Disk is in use"
--msgstr ""
--"%s Dysk jest w u¿yciu\n"
--"%s\n"
-+msgstr "Dysk jest w u¿yciu"
++msgstr "Urz±dzenie ATA over Ethernet"
  
- #: libparted/labels/fdasd.c:135
- msgid "Syntax error in config file"
--msgstr ""
-+msgstr "B³±d sk³adni w pliku konfiguracyjnym"
+ #: libparted/arch/linux.c:1319
+ msgid "IBM S390 DASD drive"
+@@ -737,7 +737,7 @@
  
- #: libparted/labels/fdasd.c:139
--#, fuzzy
- msgid "Volume label is corrupted"
--msgstr ""
--"%s Uszkodzona etykieta wolumenu.\n"
--"%s\n"
-+msgstr "Uszkodzona etykieta wolumenu"
- 
- #: libparted/labels/fdasd.c:143
--#, fuzzy
- msgid "A data set name is corrupted"
+ #: libparted/arch/linux.c:1388
+ msgid "Linux Software RAID Array"
 -msgstr ""
--"%s uszkodzona nazwa zbioru danych.\n"
--"%s\n"
-+msgstr "Uszkodzona nazwa zbioru danych"
- 
- #: libparted/labels/fdasd.c:147
--#, fuzzy
- msgid "Memory allocation failed"
--msgstr "Relokacja danych nie powiod³a siê."
-+msgstr "Przydzielanie pamiêci powiod³o siê"
- 
- #: libparted/labels/fdasd.c:151
--#, fuzzy
- msgid "Device verification failed"
--msgstr "Relokacja danych nie powiod³a siê."
-+msgstr "Weryfikacja urz±dzenia nie powiod³o siê"
- 
- #: libparted/labels/fdasd.c:152
--#, fuzzy
- msgid "The specified device is not a valid DASD device"
--msgstr ""
--"%s weryfikacja urz±dzenia nie powiod³a siê\n"
--"Podane urz±dzenie nie jest poprawnym urz±dzeniem DASD\n"
-+msgstr "Podane urz±dzenie nie jest poprawnym urz±dzeniem DASD"
- 
- #: libparted/labels/fdasd.c:155 libparted/labels/vtoc.c:179
--#, fuzzy
- msgid "Fatal error"
--msgstr "B³±d krytyczny\n"
-+msgstr "B³±d krytyczny"
++msgstr "Linuksowa programowa macierz RAID"
  
- #: libparted/labels/fdasd.c:231
- msgid "No room for volume label."
+ #: libparted/arch/linux.c:1395
+ msgid "ped_device_new()  Unsupported device type"
+@@ -759,17 +759,17 @@
+ "Error informing the kernel about modifications to partition %s -- %s.  This "
+ "means Linux won't know about any changes you made to %s until you reboot -- "
+ "so you shouldn't mount it or use it in any way before rebooting."
 -msgstr ""
-+msgstr "Brak miejsca na etykietê wolumenu."
++msgstr "B³±d przy informowaniu j±dra o modyfikacji partycji %s - %s. Oznacza to, ¿e Linux nie bêdzie wiedzia³ o zmianach wykonanych na %s do czasu restartu systemu - wiêc nie bêdzie mo¿na zamontowaæ tej partycji ani u¿yæ jej w inny sposób przed restartem."
  
- #: libparted/labels/fdasd.c:239
--#, fuzzy
- msgid "No room for partition info."
--msgstr "Nie znaleziono prawid³owej mapy partycji."
-+msgstr "Brak miejsca na informacjê o partycji."
- 
- #: libparted/labels/fdasd.c:709
--#, fuzzy
- msgid "Invalid VTOC."
--msgstr "Nieprawid³owy numer."
-+msgstr "Nieprawid³owe dane VTOC."
- 
- #: libparted/labels/fdasd.c:764
--#, fuzzy
- msgid "Could not retrieve API version."
--msgstr "Nie uda³o siê zapisaæ etykiet VTOC."
-+msgstr "Nie uda³o siê odczytaæ wersji API."
+ #: libparted/arch/linux.c:2503
+-#, fuzzy, c-format
++#, c-format
+ msgid "Unable to determine the size and length of %s."
+-msgstr "Nie mo¿na ustaliæ rozmiaru %s (%s)."
++msgstr "Nie mo¿na ustaliæ rozmiaru i d³ugo¶ci %s."
  
- #: libparted/labels/fdasd.c:767
- #, c-format
- msgid ""
- "The current API version '%d' doesn't match dasd driver API version '%d'!"
- msgstr ""
-+"Aktualna wersja API '%d' nie zgadza siê z wersj± API sterownika dasd '%d'!"
+ #: libparted/arch/linux.c:2528
+-#, fuzzy, c-format
++#, c-format
+ msgid "Failed to add partition %d (%s)"
+-msgstr "%s : Nie powiód³ siê odczyt bloku partycji %llu\n"
++msgstr "Nie uda³o siê dodaæ partycji %d (%s)"
  
- #: libparted/labels/fdasd.c:787
- msgid "Could not retrieve disk geometry information."
+ #: libparted/arch/linux.c:2555
+ #, c-format
+@@ -778,7 +778,7 @@
+ "the kernel of the change, probably because it/they are in use.  As a result, "
+ "the old partition(s) will remain in use.  You should reboot now before "
+ "making further changes."
 -msgstr ""
-+msgstr "Nie uda³o siê odczytaæ informacji o geometrii dysku."
++msgstr "Partycja %s na %s zosta³a zapisana, ale nie uda³o siê poinformowaæ j±dra o tej zmianie, prawdopodobnie poniewa¿ partycje s± w u¿yciu. W efekcie w u¿yciu pozostan± stare partycje; przed dalszymi zmianami trzeba zrestartowaæ system."
  
- #: libparted/labels/fdasd.c:791
- msgid "Could not retrieve blocksize information."
--msgstr ""
-+msgstr "Nie uda³o siê odczytaæ informacji o rozmiarze bloku."
+ #: libparted/arch/linux.c:2681
+ #, c-format
+@@ -963,7 +963,7 @@
  
- #: libparted/labels/fdasd.c:796
- msgid "Could not retrieve disk information."
+ #: libparted/disk.c:2445
+ msgid "diag"
 -msgstr ""
-+msgstr "Nie uda³o siê odczytaæ informacji o dysku."
++msgstr "diag"
  
- #: libparted/labels/fdasd.c:800
- msgid "This is not an ECKD disk!  This disk type is not supported!"
+ #: libparted/disk.c:2451
+ #, c-format
+@@ -2939,12 +2939,12 @@
+ #: parted/parted.c:2093
+ #, c-format
+ msgid "%d aligned\n"
 -msgstr ""
-+msgstr "To nie jest dysk ECKD! Ten typ dysku nie jest obs³ugiwany!"
++msgstr "%d wyrównana\n"
  
- #: libparted/labels/gpt.c:453
+ #: parted/parted.c:2093
  #, c-format
-@@ -1538,42 +1501,28 @@
- msgstr "Etykieta dysku Sun jest pe³na."
- 
- #: libparted/labels/vtoc.c:164
--#, fuzzy
- msgid "opening of device failed"
--msgstr ""
--"%s otwieranie urz±dzenia '%s' nie powiod³o siê.\n"
--"%s\n"
-+msgstr "otwieranie urz±dzenia nie powiod³o siê"
- 
- #: libparted/labels/vtoc.c:168
--#, fuzzy
- msgid "seeking on device failed"
--msgstr ""
--"%s ustawianie pozycji na urz±dzeniu '%s' nie powiod³o siê.\n"
--"%s\n"
-+msgstr "ustawianie pozycji na urz±dzeniu nie powiod³o siê"
- 
- #: libparted/labels/vtoc.c:172
--#, fuzzy
- msgid "writing to device failed"
--msgstr ""
--"%s zapis na urz±dzeniu '%s' nie powiód³ siê,\n"
--"%s\n"
-+msgstr "zapis na urz±dzeniu nie powiód³ siê"
- 
- #: libparted/labels/vtoc.c:176
--#, fuzzy
- msgid "reading from device failed"
+ msgid "%d not aligned\n"
 -msgstr ""
--"%s odczyt z urz±dzenia '%s' nie powiód³ siê.\n"
--"%s\n"
-+msgstr "odczyt z urz±dzenia nie powiód³ siê"
- 
- #: libparted/labels/vtoc.c:281 libparted/labels/vtoc.c:288
--#, fuzzy
- msgid "Could not read volume label."
--msgstr "Nie uda³o siê odczytaæ etykiet VTOC."
-+msgstr "Nie uda³o siê odczytaæ etykiety wolumenu."
- 
- #: libparted/labels/vtoc.c:307 libparted/labels/vtoc.c:312
--#, fuzzy
- msgid "Could not write volume label."
--msgstr "Nie uda³o siê zapisaæ etykiet VTOC."
-+msgstr "Nie uda³o siê zapisaæ etykiety wolumenu."
- 
- #: libparted/labels/vtoc.c:418
- msgid "Could not read VTOC labels."
-@@ -2138,9 +2087,9 @@
- msgstr "fat_table_alloc_cluster: brak wolnych klastrów"
++msgstr "%d niewyrównana\n"
  
- #: libparted/fs/linux_swap/linux_swap.c:238
--#, fuzzy, c-format
-+#, c-format
- msgid "Unrecognised linux swap signature '%10s'."
--msgstr "Nierozpoznany podpis linuksowej partycji wymiany starego typu '%10s'."
-+msgstr "Nierozpoznany podpis linuksowej partycji wymiany '%10s'."
- 
- #: libparted/fs/linux_swap/linux_swap.c:314
- msgid "Too many bad pages."
-@@ -3277,9 +3226,9 @@
- "B³±d: Wyst±pi³ ogólny sygna³ SIGILL."
+ #: parted/parted.c:2124
+ msgid "Flag to Invert?"
+@@ -3561,15 +3561,14 @@
+ msgstr "POLECENIA:"
  
- #: parted/ui.c:876
+ #: parted/ui.c:1520
 -#, fuzzy, c-format
 +#, c-format
- msgid "invalid token: %s"
--msgstr "Nie mo¿na otworzyæ %s."
-+msgstr "nieprawid³owy token: %s"
- 
- #: parted/ui.c:1034
- msgid "Expecting a partition number."
-@@ -3334,55 +3283,3 @@
- #: parted/ui.c:1529
+ msgid ""
+ "\n"
+ "Report bugs to %s\n"
+ msgstr ""
+ "\n"
+ "Prosimy zg³aszaæ b³êdy na adres <%s>.\n"
+-"B³êdy w t³umaczeniu prosimy zg³aszaæ na adres: <translation-team-pl at lists."
+-"sourceforge.net>.\n"
++"B³êdy w t³umaczeniu prosimy zg³aszaæ na adres: <translation-team-pl at lists.sourceforge.net>.\n"
+ 
+ #: parted/ui.c:1527
+ #, c-format
+@@ -3579,19 +3578,3 @@
+ #: parted/ui.c:1601
  msgid "This command does not make sense in non-interactive mode.\n"
  msgstr "To polecenie nie ma sensu w trybie nieinteraktywnym.\n"
 -
 -#~ msgid ""
--#~ "%s read error\n"
--#~ "%s\n"
+-#~ "WARNING: the kernel failed to re-read the partition table on %s (%s).  As "
+-#~ "a result, it may not reflect all of your changes until after reboot."
 -#~ msgstr ""
--#~ "%s b³±d odczytu\n"
--#~ "%s\n"
+-#~ "UWAGA: próba ponownego odczytu tablicy partycji przez j±dro nie powiod³a "
+-#~ "siê dla %s (%s). W efekcie zmiany mog± nie byæ uwzglêdnione do restartu "
+-#~ "komputera."
 -
 -#~ msgid ""
--#~ "%s write error\n"
--#~ "%s\n"
+-#~ "Device %s has a logical sector size of %lld.  Not all parts of GNU Parted "
+-#~ "support this at the moment, and the working code is HIGHLY EXPERIMENTAL.\n"
 -#~ msgstr ""
--#~ "%s b³±d zapisu\n"
--#~ "%s\n"
--
--#~ msgid ""
--#~ "%s IOCTL error\n"
--#~ "%s\n"
--#~ msgstr ""
--#~ "%s b³±d IOCTL\n"
--#~ "%s\n"
--
--#~ msgid ""
--#~ "%s Config file syntax error\n"
--#~ "%s\n"
--#~ msgstr ""
--#~ "%s B³±d sk³adni pliku konfiguracyjnego\n"
--#~ "%s\n"
--
--#~ msgid ""
--#~ "%s space allocation\n"
--#~ "%s\n"
--#~ msgstr ""
--#~ "%s przydzielanie miejsca\n"
--#~ "%s\n"
--
--#~ msgid ""
--#~ "%s Fatal error\n"
--#~ "%s\n"
--#~ msgstr ""
--#~ "%s B³±d krytyczny\n"
--#~ "%s\n"
--
--#~ msgid "Unrecognised new style linux swap signature '%10s'."
--#~ msgstr ""
--#~ "Nierozpoznany podpis linuksowej partycji wymiany nowego typu '%10s'."
--
--#~ msgid "Unrecognised swsusp linux swap signature '%9s'."
--#~ msgstr "Nierozpoznany podpis linuksowej partycji wymiany swsusp '%9s'."
--
--#~ msgid "File system?"
--#~ msgstr "System plików?"
+-#~ "Logiczny rozmiar sektora dla %s wynosi %lld. Nie wszystkie czê¶ci GNU "
+-#~ "Parteda aktualnie to obs³uguj±, a dzia³aj±cy kod jest WYSOCE "
+-#~ "EKSPERYMENTALNY.\n"

================================================================
Index: packages/parted/parted.m4
diff -u packages/parted/parted.m4:1.1 packages/parted/parted.m4:1.2
--- packages/parted/parted.m4:1.1	Wed Apr  4 11:30:16 2007
+++ packages/parted/parted.m4	Sat Sep  4 09:54:17 2010
@@ -9,7 +9,7 @@
 dnl PARTED_CHECK_LIBPARTED(1.2.8, , [AC_MSG_ERROR([*** libparted >= 1.2.8 not installed - please install first ***])])
 dnl
 dnl Adds the required libraries to $PARTED_LIBS and does an
-dnl AC_SUBST(PARTED_LIBS)
+dnl AC_SUBST([PARTED_LIBS])
 dnl
 
 
@@ -21,13 +21,13 @@
 saved_LIBS="$LIBS"
 
 dnl Check for headers and library
-AC_CHECK_HEADER(parted/parted.h, ,
+AC_CHECK_HEADER([parted/parted.h], ,
 		[AC_MSG_ERROR([<parted/parted.h> not found; install GNU/Parted])]
 		$3)
-AC_CHECK_LIB(uuid, uuid_generate, ,
+AC_CHECK_LIB([uuid], [uuid_generate], ,
 	     [AC_MSG_ERROR([libuuid not found; install e2fsprogs available at http://web.mit.edu/tytso/www/linux/e2fsprogs.html])]
              $3)
-AC_CHECK_LIB(parted,ped_device_read, ,
+AC_CHECK_LIB([parted],ped_device_read, ,
              [AC_MSG_ERROR([libparted not found; install GNU/Parted available at http://www.gnu.org/software/parted/parted.html])]
              $3)
 
@@ -36,21 +36,21 @@
 		# with very generic names, which is why we special
 		# case these tests.
 
-		AC_CHECK_LIB(shouldbeinlibc,lcm, ,
+		AC_CHECK_LIB([shouldbeinlibc], [lcm], ,
                 	[AC_MSG_ERROR([libshouldbeinlibc not found; install the Hurd development libraries.])]
                 $3)
 
-		AC_CHECK_LIB(store,store_open, ,
+		AC_CHECK_LIB([store], [store_open], ,
                 	[AC_MSG_ERROR([libstore not found; install the Hurd development libraries.])]
                 $3)
 		;;
 	*)	;;
 esac
 
-AC_MSG_CHECKING(for libparted - version >= $1)
+AC_MSG_CHECKING([for libparted - version >= $1])
 
-AC_TRY_LINK_FUNC(ped_get_version,,
-                 AC_MSG_RESULT(failed)
+AC_TRY_LINK_FUNC([ped_get_version], ,
+                 AC_MSG_RESULT([failed])
                  AC_MSG_ERROR([*** libparted < 1.2.8 or == 1.3.0 can't execute test ***]))
 
 dnl Get major, minor, and micro version from arg MINIMUM-VERSION
@@ -70,15 +70,15 @@
 int main ()
 {
 	int		major, minor, micro;
-	const char	*version;    
-	
+	const char	*version;
+
 	if ( !(version = ped_get_version ()) )
-		exit(1);
+		exit(EXIT_FAILURE);
 	if (sscanf(version, "%d.%d.%d", &major, &minor, &micro) != 3) {
 		printf("%s, bad version string\n", version);
-		exit(1);
+		exit(EXIT_FAILURE);
 	}
-	
+
 	if ((major > $parted_config_major_version) ||
 	   ((major == $parted_config_major_version) && (minor > $parted_config_minor_version)) ||
 	   ((major == $parted_config_major_version) && (minor == $parted_config_minor_version) && (micro >= $parted_config_micro_version))) {
@@ -87,22 +87,22 @@
 		printf("\n*** An old version of libparted (%s) was found.\n",
 		       version);
 		printf("*** You need a version of libparted equal to or newer than %d.%d.%d.\n",
-			$parted_config_major_version, 
+			$parted_config_major_version,
 			$parted_config_minor_version,
 			$parted_config_micro_version);
 		printf("*** You can get it at - ftp://ftp.gnu.org/gnu/parted/\n");
 		return 1;
 	}
 }
-], 
-    AC_MSG_RESULT(yes),
-    AC_MSG_RESULT(no) ; $3,
+],
+    AC_MSG_RESULT([yes]),
+    AC_MSG_RESULT([no]) ; $3,
     [echo $ac_n "cross compiling; assumed OK... $ac_c"])
 
 dnl restore orignial LIBS and set @PARTED_LIBS@
 PARTED_LIBS="$LIBS"
 LIBS="$saved_LIBS"
-AC_SUBST(PARTED_LIBS)
+AC_SUBST([PARTED_LIBS])
 
 dnl Execute ACTION-IF-FOUND
 $2

================================================================
Index: packages/parted/parted.spec
diff -u packages/parted/parted.spec:1.152 packages/parted/parted.spec:1.153
--- packages/parted/parted.spec:1.152	Wed Jun  2 14:30:46 2010
+++ packages/parted/parted.spec	Sat Sep  4 09:54:17 2010
@@ -1,6 +1,4 @@
 # $Revision$, $Date$
-# TODO:
-# - put library to separate package
 #
 # Conditional build:
<<Diff was trimmed, longer than 597 lines>>

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/parted/parted-pl.po-update.patch?r1=1.18&r2=1.19&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/parted/parted.m4?r1=1.1&r2=1.2&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/parted/parted.spec?r1=1.152&r2=1.153&f=u



More information about the pld-cvs-commit mailing list