* [sisyphus] from gnomeprint-2.0 to gnomeprint-2.2
@ 2003-03-03 19:01 Alexey V. Lubimov
0 siblings, 0 replies; only message in thread
From: Alexey V. Lubimov @ 2003-03-03 19:01 UTC (permalink / raw)
To: sisyphus
Цепочка замен для практически автоматического перевода приложения с 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-03-03 19:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-03 19:01 [sisyphus] from gnomeprint-2.0 to gnomeprint-2.2 Alexey V. Lubimov
ALT Linux Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git