From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Mon, 3 Mar 2003 22:01:04 +0300 From: "Alexey V. Lubimov" To: sisyphus@altlinux.ru Message-Id: <20030303220104.2ceefd1a.avl@cad.ru> Organization: RIC X-Mailer: Sylpheed version 0.8.8 (GTK+ 1.2.10; i586-alt-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit Subject: [sisyphus] from gnomeprint-2.0 to gnomeprint-2.2 Sender: sisyphus-admin@altlinux.ru Errors-To: sisyphus-admin@altlinux.ru X-BeenThere: sisyphus@altlinux.ru X-Mailman-Version: 2.0.9 Precedence: bulk Reply-To: sisyphus@altlinux.ru List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Archived-At: List-Archive: Цепочка замен для практически автоматического перевода приложения с libgnomeprint(ui) 2.0 на 2.2 perl -pi -e "s|libgnomeprint-2.0|libgnomeprint-2.2|g" configure perl -pi -e "s|libgnomeprintui-2.0|libgnomeprintui-2.2|g" configure perl -pi -e "s|libgnomeprint/gnome-print-master.h|libgnomeprint/gnome-print-job.h|g" src/*.c perl -pi -e "s|libgnomeprint/gnome-print-master.h|libgnomeprint/gnome-print-job.h|g" src/*.h perl -pi -e "s|libgnomeprintui/gnome-print-master-preview.h|libgnomeprintui/gnome-print-job-preview.h|g" src/*.c perl -pi -e "s|libgnomeprintui/gnome-print-master-preview.h|libgnomeprintui/gnome-print-job-preview.h|g" src/*.h perl -pi -e "s|libgnomeprintui/gnome-printer-dialog.h|libgnomeprintui/gnome-print-dialog.h|g" src/*.h perl -pi -e "s|libgnomeprintui/gnome-printer-dialog.h|libgnomeprintui/gnome-print-dialog.h|g" src/*.c perl -pi -e "s|gnome_print_master_close |gnome_print_job_close |g" src/*.h perl -pi -e "s|gnome_print_master_close |gnome_print_job_close |g" src/*.c perl -pi -e "s|GnomePrintMaster |GnomePrintJob |g" src/*.h perl -pi -e "s|GnomePrintMaster |GnomePrintJob |g" src/*.c perl -pi -e "s|gnome_print_master_new.*\(\)|gnome_print_job_new \(NULL\)|g" src/*.h perl -pi -e "s|gnome_print_master_new.*\(\)|gnome_print_job_new \(NULL\)|g" src/*.c perl -pi -e "s|gnome_print_master_new_from_config|gnome_print_job_new|g" src/*.h perl -pi -e "s|gnome_print_master_new_from_config|gnome_print_job_new|g" src/*.c perl -pi -e "s|gnome_print_master_print |gnome_print_job_print |g" src/*.h perl -pi -e "s|gnome_print_master_print |gnome_print_job_print |g" src/*.c perl -pi -e "s|gnome_print_master_get_context |gnome_print_job_get_context |g" src/*.h perl -pi -e "s|gnome_print_master_get_context |gnome_print_job_get_context |g" src/*.c perl -pi -e "s|gnome_print_master_get_config |gnome_print_job_get_config |g" src/*.h perl -pi -e "s|gnome_print_master_get_config |gnome_print_job_get_config |g" src/*.c perl -pi -e "s|gnome_print_master_preview_new |gnome_print_job_preview_new |g" src/*.h perl -pi -e "s|gnome_print_master_preview_new |gnome_print_job_preview_new |g" src/*.c perl -pi -e "s|gnome_printer_selection_new |gnome_printer_selector_new |g" src/*.h perl -pi -e "s|gnome_printer_selection_new |gnome_printer_selector_new |g" src/*.c perl -pi -e "s|gnome_printer_selection_get_config |gnome_printer_selector_get_config |g" src/*.h perl -pi -e "s|gnome_printer_selection_get_config |gnome_printer_selector_get_config |g" src/*.c Это не все возможные замены. Но обычно этого хватает. -- С уважением, Алексей Любимов avl@cad.ru