Accepting request 743818 from graphics
- Update to xfig 3.2.7 Patchlevel 7b (Oct 2019) o New drawings in Electronic/Schematic library. Thanks to Niko Sauer. Ticket numbers refer to https://sourceforge.net/p/mcj/tickets/#. o When exiting, cleanly pull down all windows. Ticket #54. o Adding and deleting arrows to arcs works, ticket #46. o Allow more than 100 comment lines, ticket #47. o Make `xfig -update' work again, would segfault. o Correctly draw interpolated splines, ticket #35. o Position points on grid, if appres.userspacing unequal 1. Ticket #31. - Correct hunk offsets of the patches * xfig.3.2.3d-international-std-fonts.dif * xfig.3.2.5-xim.dif * xfig.3.2.5b-locale.dif * xfig.3.2.5b-null.dif * xfig.3.2.5b-pspdftex.dif OBS-URL: https://build.opensuse.org/request/show/743818 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xfig?expand=0&rev=49
This commit is contained in:
commit
502ec9a38d
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:32831801fdfe54b32f1e222db12676312ee98acac76c79be91bd424ec9512507
|
||||
size 5067004
|
3
xfig-3.2.7b.tar.xz
Normal file
3
xfig-3.2.7b.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e25b7d2c2750bbcb1a0882130dc9f4a407d69873e07f8832de7965c5fdad0e65
|
||||
size 5073716
|
@ -1,6 +1,6 @@
|
||||
--- src/main.c
|
||||
+++ src/main.c 2013-12-10 13:40:27.062735528 +0000
|
||||
@@ -328,8 +328,36 @@ static XtResource application_resources[
|
||||
@@ -329,8 +329,36 @@ static XtResource application_resources[
|
||||
XtOffset(appresPtr, always_use_fontset), XtRBoolean, (caddr_t) & false},
|
||||
{"fixedFontSet", "FontSet", XtRFontSet, sizeof(XFontSet),
|
||||
XtOffset(appresPtr, fixed_fontset), XtRString,
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
--- src/d_text.c
|
||||
+++ src/d_text.c 2016-09-22 08:46:29.848945840 +0000
|
||||
@@ -1968,7 +1968,10 @@ xim_initialize(Widget w)
|
||||
@@ -1971,7 +1971,10 @@ xim_initialize(Widget w)
|
||||
if (xim_style == 0) xim_style = style_root;
|
||||
}
|
||||
}
|
||||
|
@ -5,7 +5,7 @@
|
||||
|
||||
--- src/main.c
|
||||
+++ src/main.c 2018-09-06 11:16:21.842867881 +0000
|
||||
@@ -59,11 +59,13 @@
|
||||
@@ -60,11 +60,13 @@
|
||||
|
||||
/* input extensions for an input tablet */
|
||||
#ifdef USE_TAB
|
||||
@ -20,7 +20,7 @@
|
||||
#endif /* I18N */
|
||||
|
||||
#include <X11/IntrinsicP.h>
|
||||
@@ -781,11 +783,6 @@ void main(int argc, char **argv)
|
||||
@@ -782,11 +784,6 @@ void main(int argc, char **argv)
|
||||
}
|
||||
}
|
||||
|
||||
@ -32,7 +32,7 @@
|
||||
/*
|
||||
* save the command line arguments
|
||||
*/
|
||||
@@ -890,6 +887,10 @@ void main(int argc, char **argv)
|
||||
@@ -891,6 +888,10 @@ void main(int argc, char **argv)
|
||||
setup_icons_big();
|
||||
|
||||
#ifdef I18N
|
||||
@ -43,7 +43,7 @@
|
||||
/************************************************************/
|
||||
/* if the international option has been set, set the locale */
|
||||
/************************************************************/
|
||||
@@ -1612,6 +1613,11 @@ setup_visual(int *argc_p, char **argv, A
|
||||
@@ -1611,6 +1612,11 @@ setup_visual(int *argc_p, char **argv, A
|
||||
*/
|
||||
tool = XtAppInitialize (&tool_app, "Fig", options, XtNumber (options), argc_p, argv,
|
||||
(String *) NULL, args, 0);
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
--- src/w_dir.c
|
||||
+++ src/w_dir.c 2016-09-22 08:47:20.164004194 +0000
|
||||
@@ -127,6 +127,8 @@ FileSelected(Widget w, XtPointer client_
|
||||
@@ -130,6 +130,8 @@ FileSelected(Widget w, XtPointer client_
|
||||
{
|
||||
XawListReturnStruct *ret_struct = (XawListReturnStruct *) call_data;
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
strcpy(CurrentSelectionName, ret_struct->string);
|
||||
FirstArg(XtNstring, CurrentSelectionName);
|
||||
if (browse_up) {
|
||||
@@ -158,6 +160,8 @@ DirSelected(Widget w, XtPointer client_d
|
||||
@@ -161,6 +163,8 @@ DirSelected(Widget w, XtPointer client_d
|
||||
{
|
||||
XawListReturnStruct *ret_struct = (XawListReturnStruct *) call_data;
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
/* make it suitable for pdftex. */
|
||||
strsub(prcmd, "ps", "pdf", tmpcmd, 0);
|
||||
@@ -694,7 +694,7 @@ build_layer_list(char *layers)
|
||||
@@ -697,7 +697,7 @@ build_layer_list(char *layers)
|
||||
{
|
||||
char list[PATH_MAX], notlist[PATH_MAX], num[10];
|
||||
int layer, len, notlen;
|
||||
|
19
xfig.changes
19
xfig.changes
@ -1,3 +1,22 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 29 08:56:06 UTC 2019 - Dr. Werner Fink <werner@suse.de>
|
||||
|
||||
- Update to xfig 3.2.7 Patchlevel 7b (Oct 2019)
|
||||
o New drawings in Electronic/Schematic library. Thanks to Niko Sauer.
|
||||
Ticket numbers refer to https://sourceforge.net/p/mcj/tickets/#.
|
||||
o When exiting, cleanly pull down all windows. Ticket #54.
|
||||
o Adding and deleting arrows to arcs works, ticket #46.
|
||||
o Allow more than 100 comment lines, ticket #47.
|
||||
o Make `xfig -update' work again, would segfault.
|
||||
o Correctly draw interpolated splines, ticket #35.
|
||||
o Position points on grid, if appres.userspacing unequal 1. Ticket #31.
|
||||
- Correct hunk offsets of the patches
|
||||
* xfig.3.2.3d-international-std-fonts.dif
|
||||
* xfig.3.2.5-xim.dif
|
||||
* xfig.3.2.5b-locale.dif
|
||||
* xfig.3.2.5b-null.dif
|
||||
* xfig.3.2.5b-pspdftex.dif
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 10 10:31:03 UTC 2018 - sndirsch@suse.com
|
||||
|
||||
|
12
xfig.spec
12
xfig.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package xfig
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -12,7 +12,7 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
@ -44,7 +44,7 @@ Requires: netpbm
|
||||
Requires: transfig
|
||||
Requires: xorg-x11-fonts
|
||||
Requires: xorg-x11-fonts-core
|
||||
Version: 3.2.7a
|
||||
Version: 3.2.7b
|
||||
Release: 0
|
||||
Summary: Facility for Interactive Generation of Figures under the X Window System
|
||||
# www.xfig.org is dead
|
||||
@ -148,7 +148,7 @@ PKG_CONFIG_PATH=/usr/share/pkgconfig:/usr/lib/pkgconfig:${PWD}
|
||||
export PKG_CONFIG_PATH
|
||||
%endif
|
||||
CC=gcc
|
||||
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -w -D_GNU_SOURCE -std=gnu99"
|
||||
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -w -D_GNU_SOURCE -std=gnu99 -DUSE_XPM -DUSE_SPLASH"
|
||||
CFLAGS="$CFLAGS -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
|
||||
CFLAGS="$CFLAGS -DMAXNUMPTS=50000"
|
||||
CFLAGS="$CFLAGS -DBSDLPR"
|
||||
@ -158,14 +158,16 @@ chmod 755 configure
|
||||
%configure \
|
||||
--docdir=%{_defaultdocdir}/%{name} \
|
||||
--enable-cache-size=512 \
|
||||
--enable-xpm-splash \
|
||||
--enable-tablet \
|
||||
--with-x \
|
||||
--with-xaw3d1_5e \
|
||||
--with-xaw3d
|
||||
touch src/splash.xbm
|
||||
touch src/splash.xpm
|
||||
make %{?_smp_mflags} CCOPTIONS="$CFLAGS"
|
||||
|
||||
%install
|
||||
find -name '*.bak' -exec rm -vf '{}' \+
|
||||
make DESTDIR=%{buildroot} install
|
||||
mv %{buildroot}%{_mandir}/man1/xfig.1 %{buildroot}%{_mandir}/man1/xfig.1x
|
||||
gzip -9 %{buildroot}%{_mandir}/man1/xfig.1x
|
||||
|
Loading…
Reference in New Issue
Block a user