From d440b316f5dd54b4c7afa1f90b2acf04ecd271603dc530e2f5c8b247207bc87e Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 12 Sep 2013 21:39:12 +0000 Subject: [PATCH] xbgi-363 OBS-URL: https://build.opensuse.org/package/show/graphics/libXbgi?expand=0&rev=2 --- libXbgi.changes | 8 ++++++++ libXbgi.spec | 6 +++--- xbgi-362.tar.gz | 3 --- xbgi-363.tar.gz | 3 +++ xbgi-automake.diff | 11 ++++++----- 5 files changed, 20 insertions(+), 11 deletions(-) delete mode 100644 xbgi-362.tar.gz create mode 100644 xbgi-363.tar.gz diff --git a/libXbgi.changes b/libXbgi.changes index 89a400d..341ffc6 100644 --- a/libXbgi.changes +++ b/libXbgi.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Sep 12 17:41:53 UTC 2013 - jengelh@inai.de + +- Update to new upstream release 363 +* In addition to minor bugfixes, this release implements + user-defined line patterns, setallpalette(), and more mouse + functions. + ------------------------------------------------------------------- Tue Apr 30 14:33:30 UTC 2013 - jengelh@inai.de diff --git a/libXbgi.spec b/libXbgi.spec index dbcad4a..5daf17e 100644 --- a/libXbgi.spec +++ b/libXbgi.spec @@ -17,8 +17,8 @@ Name: libXbgi -%define lname libXbgi0 -Version: 362 +%define lname libXbgi1 +Version: 363 Release: 0 Summary: BGI-compatible 2D graphics C library License: MIT @@ -26,7 +26,7 @@ Group: Development/Libraries/C and C++ Url: http://libXbgi.sf.net/ #Freecode-URL: http://freecode.com/projects/libxbgi/ -Source: http://libxbgi.sf.net/xbgi-362.tar.gz +Source: http://libxbgi.sf.net/xbgi-%version.tar.gz Patch1: xbgi-automake.diff Patch2: xbgi-getpixel.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build diff --git a/xbgi-362.tar.gz b/xbgi-362.tar.gz deleted file mode 100644 index a705bc7..0000000 --- a/xbgi-362.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b1fc02a2902eae2d0acf9d1d5e5553738b629e89d493f13dab71326c1327f9b0 -size 61974 diff --git a/xbgi-363.tar.gz b/xbgi-363.tar.gz new file mode 100644 index 0000000..b16f209 --- /dev/null +++ b/xbgi-363.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:325aa8babbad064c19701f32bb59ef96b9ab9120182c1d1e0805c13e0268825e +size 65994 diff --git a/xbgi-automake.diff b/xbgi-automake.diff index 7708f0b..2cbcf90 100644 --- a/xbgi-automake.diff +++ b/xbgi-automake.diff @@ -8,8 +8,8 @@ build: use automake as build system Using.txt | 2 +- configure.ac | 9 +++++++++ m4/.gitignore | 2 ++ - src/Makefile.am | 42 ++++++++++++++++++++++++++++++++++++++++++ - 5 files changed, 58 insertions(+), 1 deletion(-) + src/Makefile.am | 43 +++++++++++++++++++++++++++++++++++++++++++ + 5 files changed, 59 insertions(+), 1 deletion(-) Index: xbgi/Makefile.am =================================================================== @@ -58,7 +58,7 @@ Index: xbgi/src/Makefile.am =================================================================== --- /dev/null +++ xbgi/src/Makefile.am -@@ -0,0 +1,42 @@ +@@ -0,0 +1,43 @@ +# -*- Makefile -*- + +AM_CPPFLAGS = ${x11_CFLAGS} @@ -77,7 +77,8 @@ Index: xbgi/src/Makefile.am + getmoderange.c getpalette.c getpalettesize.c getpixel.c\ + gettextsettings.c getviewsettings.c getx.c gety.c graphdefaults.c\ + grapherrormsg.c graphresult.c imagesize.c initgraph.c\ -+ installuserdriver.c installuserfont.c kbhit.c line.c linerel.c lineto.c\ ++ installuserdriver.c installuserfont.c ismouseclick.c \ ++ kbhit.c line.c linerel.c lineto.c \ + moverel.c moveto.c outtext.c outtextxy.c pieslice.c putimage.c\ + putpixel.c rectangle.c registerbgidriver.c registerbgifont.c\ + restorecrtmode.c rotated.c sector.c setactivepage.c setallpalette.c\ @@ -90,7 +91,7 @@ Index: xbgi/src/Makefile.am + initwindow.c mouseclick.c mousex.c mousey.c _putpixel.c\ + IS_BGI_COLOR.c IS_RGB_COLOR.c setrgbcolor.c setbkrgbcolor.c\ + getevent.c converttorgb.c -+libXbgi_la_LDFLAGS = -Wl,-z,defs ++libXbgi_la_LDFLAGS = -Wl,-z,defs -version-info 1:0:0 +libXbgi_la_LIBADD = -lm ${x11_LIBS} + +EXTRA_DIST = xkbhit.c