From 00cf18c31d79c637f6c884a64fb6d97bf5646df2 Mon Sep 17 00:00:00 2001 From: Michael Nottebrock Date: Wed, 26 Oct 2005 17:43:10 +0000 Subject: [PATCH] Don't race and run away when run under KDE with KDE-modified X resources. Patch obtained from: Debian --- graphics/xfig-devel/Makefile | 2 +- graphics/xfig-devel/files/patch-Fig-color.ad | 17 +++++++++++++++++ graphics/xfig-devel/files/patch-Fig.ad | 17 +++++++++++++++++ graphics/xfig/Makefile | 2 +- graphics/xfig/files/patch-Fig-color.ad | 17 +++++++++++++++++ graphics/xfig/files/patch-Fig.ad | 17 +++++++++++++++++ 6 files changed, 70 insertions(+), 2 deletions(-) create mode 100644 graphics/xfig-devel/files/patch-Fig-color.ad create mode 100644 graphics/xfig-devel/files/patch-Fig.ad create mode 100644 graphics/xfig/files/patch-Fig-color.ad create mode 100644 graphics/xfig/files/patch-Fig.ad diff --git a/graphics/xfig-devel/Makefile b/graphics/xfig-devel/Makefile index 68146ae332eb..2553ab7942f4 100644 --- a/graphics/xfig-devel/Makefile +++ b/graphics/xfig-devel/Makefile @@ -7,7 +7,7 @@ PORTNAME= xfig PORTVERSION= 3.2.4 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= graphics MASTER_SITES= http://www.xfig.org/xfigdist/ \ ftp://www-epb.lbl.gov/xfig/%SUBDIR%/ diff --git a/graphics/xfig-devel/files/patch-Fig-color.ad b/graphics/xfig-devel/files/patch-Fig-color.ad new file mode 100644 index 000000000000..c14be8a116d5 --- /dev/null +++ b/graphics/xfig-devel/files/patch-Fig-color.ad @@ -0,0 +1,17 @@ +--- Fig-color.ad.orig Wed Oct 26 19:25:06 2005 ++++ Fig-color.ad Wed Oct 26 19:27:02 2005 +@@ -100,14 +100,6 @@ + Fig*button_form.update*foreground: red + Fig*upd_ctrl_form.upd_ctrl_btns*shadowWidth: 2 + +-!##### Shadows +-Fig*shadowWidth: 1 +-Fig*Label.shadowWidth: 1 +-Fig*horizontal.shadowWidth: 2 +-Fig*Scrollbar.shadowWidth: 2 +-! no shadows for update indicators +-Fig*button_form.update.shadowWidth: 0 +- + Fig*topShadowContrast: 40 + Fig*bottomShadowContrast: -90 + diff --git a/graphics/xfig-devel/files/patch-Fig.ad b/graphics/xfig-devel/files/patch-Fig.ad new file mode 100644 index 000000000000..65b18f79d5ac --- /dev/null +++ b/graphics/xfig-devel/files/patch-Fig.ad @@ -0,0 +1,17 @@ +--- Fig.ad.orig Wed Oct 26 19:25:21 2005 ++++ Fig.ad Wed Oct 26 19:29:12 2005 +@@ -154,6 +154,14 @@ + Fig*mode_panel.background: black + Fig*mode_panel.foreground: black + ++!##### Shadows ++Fig*shadowWidth: 1 ++Fig*Label.shadowWidth: 1 ++Fig*horizontal.shadowWidth: 2 ++Fig*Scrollbar.shadowWidth: 2 ++! no shadows for update indicators ++Fig*button_form.update.shadowWidth: 0 ++ + ! Specify a private Compose key database file. If this resource contains a "/" + ! then the wired-in name of the xfig global directory won't be prefixed to it. + ! An initial "~/" is replaced by the value of "$HOME/". diff --git a/graphics/xfig/Makefile b/graphics/xfig/Makefile index 68146ae332eb..2553ab7942f4 100644 --- a/graphics/xfig/Makefile +++ b/graphics/xfig/Makefile @@ -7,7 +7,7 @@ PORTNAME= xfig PORTVERSION= 3.2.4 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= graphics MASTER_SITES= http://www.xfig.org/xfigdist/ \ ftp://www-epb.lbl.gov/xfig/%SUBDIR%/ diff --git a/graphics/xfig/files/patch-Fig-color.ad b/graphics/xfig/files/patch-Fig-color.ad new file mode 100644 index 000000000000..c14be8a116d5 --- /dev/null +++ b/graphics/xfig/files/patch-Fig-color.ad @@ -0,0 +1,17 @@ +--- Fig-color.ad.orig Wed Oct 26 19:25:06 2005 ++++ Fig-color.ad Wed Oct 26 19:27:02 2005 +@@ -100,14 +100,6 @@ + Fig*button_form.update*foreground: red + Fig*upd_ctrl_form.upd_ctrl_btns*shadowWidth: 2 + +-!##### Shadows +-Fig*shadowWidth: 1 +-Fig*Label.shadowWidth: 1 +-Fig*horizontal.shadowWidth: 2 +-Fig*Scrollbar.shadowWidth: 2 +-! no shadows for update indicators +-Fig*button_form.update.shadowWidth: 0 +- + Fig*topShadowContrast: 40 + Fig*bottomShadowContrast: -90 + diff --git a/graphics/xfig/files/patch-Fig.ad b/graphics/xfig/files/patch-Fig.ad new file mode 100644 index 000000000000..65b18f79d5ac --- /dev/null +++ b/graphics/xfig/files/patch-Fig.ad @@ -0,0 +1,17 @@ +--- Fig.ad.orig Wed Oct 26 19:25:21 2005 ++++ Fig.ad Wed Oct 26 19:29:12 2005 +@@ -154,6 +154,14 @@ + Fig*mode_panel.background: black + Fig*mode_panel.foreground: black + ++!##### Shadows ++Fig*shadowWidth: 1 ++Fig*Label.shadowWidth: 1 ++Fig*horizontal.shadowWidth: 2 ++Fig*Scrollbar.shadowWidth: 2 ++! no shadows for update indicators ++Fig*button_form.update.shadowWidth: 0 ++ + ! Specify a private Compose key database file. If this resource contains a "/" + ! then the wired-in name of the xfig global directory won't be prefixed to it. + ! An initial "~/" is replaced by the value of "$HOME/".