commit xplanet for openSUSE:Factory

2019-05-16 Thread root
Hello community,

here is the log from the commit of package xplanet for openSUSE:Factory checked 
in at 2019-05-16 22:08:46

Comparing /work/SRC/openSUSE:Factory/xplanet (Old)
 and  /work/SRC/openSUSE:Factory/.xplanet.new.5148 (New)


Package is "xplanet"

Thu May 16 22:08:46 2019 rev:16 rq:703210 version:1.3.1

Changes:

--- /work/SRC/openSUSE:Factory/xplanet/xplanet.changes  2016-07-01 
09:58:21.0 +0200
+++ /work/SRC/openSUSE:Factory/.xplanet.new.5148/xplanet.changes
2019-05-16 22:08:46.894351251 +0200
@@ -1,0 +2,7 @@
+Tue May 14 23:42:40 UTC 2019 - John Jolly 
+
+- Added link to gobject-2.0 libraries (glib2.patch)
+  * Pango use to do this, but it has removed this for libraries
+linking to Pango
+
+---

New:

  glib2.patch



Other differences:
--
++ xplanet.spec ++
--- /var/tmp/diff_new_pack.zYNep8/_old  2019-05-16 22:08:48.562349736 +0200
+++ /var/tmp/diff_new_pack.zYNep8/_new  2019-05-16 22:08:48.582349718 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package xplanet
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2013 B1 Systems GmbH, Vohburg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
@@ -13,7 +13,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/
 #
 
 
@@ -21,26 +21,30 @@
 Version:1.3.1
 Release:0
 Summary:Planets as Background Pictures or Interactive Animations
-License:GPL-2.0+
+License:GPL-2.0-or-later
 Group:  Productivity/Scientific/Astronomy
-Url:http://xplanet.sourceforge.net/
+URL:http://xplanet.sourceforge.net/
 Source0:
http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
 # new giflib-5 api
 Patch0: xplanet-giflib5.patch
 # PATCH-FIX-UPSTREAM gcc6.patch boo#985129 asterios.dra...@gmail.com -- Fix 
compilation with GCC 6
 Patch1: gcc6.patch
+Patch2: glib2.patch
+BuildRequires:  autoconf
+BuildRequires:  automake
 BuildRequires:  freetype2-devel
 BuildRequires:  gcc-c++
 BuildRequires:  giflib-devel
+BuildRequires:  glib2-devel
 BuildRequires:  libjpeg-devel
+BuildRequires:  libpng-devel
+BuildRequires:  libtiff-devel
+BuildRequires:  pango-devel
 %if 0%{?suse_version}
 BuildRequires:  libnetpbm-devel
 %else
 BuildRequires:  netpbm-devel
 %endif
-BuildRequires:  libpng-devel
-BuildRequires:  libtiff-devel
-BuildRequires:  pango-devel
 %if 0%{?suse_version} == 1110
 BuildRequires:  xorg-x11-devel
 BuildRequires:  xorg-x11-libICE-devel
@@ -50,7 +54,6 @@
 BuildRequires:  pkgconfig(x11)
 BuildRequires:  pkgconfig(xscrnsaver)
 %endif
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
 Xplanet can display the earth or other planets in the background of
@@ -65,8 +68,10 @@
 %patch0 -p1
 %endif
 %patch1
+%patch2 -p1
 
 %build
+autoreconf -fi
 # configure does not check if netpbm headers are installed in 
/usr/include/netpbm
 export CPPFLAGS=-I%{_includedir}/netpbm
 # Set our preferred architecture-specific flags for the compiler and linker:
@@ -79,10 +84,10 @@
 %make_install
 
 %files
-%defattr(-,root,root,-)
-%doc AUTHORS COPYING ChangeLog NEWS README TODO
+%license COPYING
+%doc AUTHORS ChangeLog NEWS README TODO
 %{_bindir}/%{name}
-%{_mandir}/man1/%{name}.1%{ext_man}
+%{_mandir}/man1/%{name}.1%{?ext_man}
 %{_datadir}/%{name}/
 
 %changelog

++ glib2.patch ++
Index: xplanet-1.3.1/configure.ac
===
--- xplanet-1.3.1.orig/configure.ac
+++ xplanet-1.3.1/configure.ac
@@ -58,6 +58,8 @@ AC_FIND_XSS
 AC_FIND_FREETYPE
 AC_FIND_PANGO
 
+PKG_CHECK_MODULES(GOBJ, gobject-2.0)
+
 AC_SUBST(xplanet_ARFLAGS)
 AC_SUBST(xplanet_LDFLAGS)
 AC_SUBST(separator)
Index: xplanet-1.3.1/src/Makefile.am
===
--- xplanet-1.3.1.orig/src/Makefile.am
+++ xplanet-1.3.1/src/Makefile.am
@@ -73,4 +73,4 @@ xplanet_LDADD =   libannotate/libannotate.
libsgp4sdp4/libsgp4sdp4.a   \
@GRAPHICS_LIBS@ @CSPICE_LIBS@ @X_LIBS@  \
@XSS_LIBS@ @FREETYPE_LIBS@ @AQUA_LIBS@  \
-   @LIBICONV@ @LIBCHARSET@
+   @LIBICONV@ @LIBCHARSET@ @GOBJ_LIBS@



commit xplanet for openSUSE:Factory

2016-07-01 Thread h_root
Hello community,

here is the log from the commit of package xplanet for openSUSE:Factory checked 
in at 2016-07-01 09:58:19

Comparing /work/SRC/openSUSE:Factory/xplanet (Old)
 and  /work/SRC/openSUSE:Factory/.xplanet.new (New)


Package is "xplanet"

Changes:

--- /work/SRC/openSUSE:Factory/xplanet/xplanet.changes  2014-06-05 
10:50:02.0 +0200
+++ /work/SRC/openSUSE:Factory/.xplanet.new/xplanet.changes 2016-07-01 
09:58:21.0 +0200
@@ -1,0 +2,10 @@
+Fri Jun 17 18:53:46 UTC 2016 - asterios.dra...@gmail.com
+
+- Update to 1.3.1:
+  * Changelog not available.
+- Removed xplanet-libpng16.patch (fixed upstream).
+- Updated xplanet-giflib5.patch (taken from Fedora). Only needed
+  for openSUSE > 13.2.
+- Added gcc6.patch to fix compilation with GCC 6 (boo#985129).
+
+---

Old:

  xplanet-1.3.0.tar.gz
  xplanet-libpng16.patch

New:

  gcc6.patch
  xplanet-1.3.1.tar.gz



Other differences:
--
++ xplanet.spec ++
--- /var/tmp/diff_new_pack.xDmz04/_old  2016-07-01 09:58:22.0 +0200
+++ /var/tmp/diff_new_pack.xDmz04/_new  2016-07-01 09:58:22.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package xplanet
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2013 B1 Systems GmbH, Vohburg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
@@ -18,17 +18,17 @@
 
 
 Name:   xplanet
-Version:1.3.0
+Version:1.3.1
 Release:0
 Summary:Planets as Background Pictures or Interactive Animations
 License:GPL-2.0+
 Group:  Productivity/Scientific/Astronomy
 Url:http://xplanet.sourceforge.net/
 Source0:
http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
-# build also with libpng16, patch sent to h...@alumni.caltech.edu
-Patch0: xplanet-libpng16.patch
 # new giflib-5 api
-Patch1: xplanet-giflib5.patch
+Patch0: xplanet-giflib5.patch
+# PATCH-FIX-UPSTREAM gcc6.patch boo#985129 asterios.dra...@gmail.com -- Fix 
compilation with GCC 6
+Patch1: gcc6.patch
 BuildRequires:  freetype2-devel
 BuildRequires:  gcc-c++
 BuildRequires:  giflib-devel
@@ -61,8 +61,10 @@
 
 %prep
 %setup -q
+%if 0%{?suse_version} > 1320
 %patch0 -p1
-%patch1 -p1
+%endif
+%patch1
 
 %build
 # configure does not check if netpbm headers are installed in 
/usr/include/netpbm
@@ -80,7 +82,7 @@
 %defattr(-,root,root,-)
 %doc AUTHORS COPYING ChangeLog NEWS README TODO
 %{_bindir}/%{name}
-%doc %{_mandir}/man1/%{name}.1%{ext_man}
+%{_mandir}/man1/%{name}.1%{ext_man}
 %{_datadir}/%{name}/
 
 %changelog

++ gcc6.patch ++
Index: src/libmultiple/RayleighScattering.cpp
===
--- src/libmultiple/RayleighScattering.cpp  (revision 206)
+++ src/libmultiple/RayleighScattering.cpp  (revision 207)
@@ -369,7 +369,7 @@
 
 diskTemplate_.clear();
 limbTemplate_.clear();
-while (inFile.getline(line, MAX_LINE_LENGTH, '\n') != NULL)
+while (inFile.getline(line, MAX_LINE_LENGTH, '\n'))
 {
 int i = 0;
 while (isDelimiter(line[i]))
@@ -439,7 +439,7 @@
 values.clear();
 
 char line[MAX_LINE_LENGTH];
-while (inFile.getline(line, MAX_LINE_LENGTH, '\n') != NULL)
+while (inFile.getline(line, MAX_LINE_LENGTH, '\n'))
 {
 int i = 0;
 while (isDelimiter(line[i]))
@@ -470,7 +470,7 @@
   double )
 {
 char line[MAX_LINE_LENGTH];
-while (inFile.getline(line, MAX_LINE_LENGTH, '\n') != NULL)
+while (inFile.getline(line, MAX_LINE_LENGTH, '\n'))
 {
 int i = 0;
 while (isDelimiter(line[i]))
Index: src/libmultiple/drawStars.cpp
===
--- src/libmultiple/drawStars.cpp   (revision 206)
+++ src/libmultiple/drawStars.cpp   (revision 207)
@@ -41,7 +41,7 @@
 ifstream inFile(starMap.c_str());
 
 char line[MAX_LINE_LENGTH];
-while (inFile.getline(line, MAX_LINE_LENGTH, '\n') != NULL)
+while (inFile.getline(line, MAX_LINE_LENGTH, '\n'))
 {
 if (line[0] == '#') continue;
 
Index: src/readConfig.cpp
===
--- src/readConfig.cpp  (revision 206)
+++ src/readConfig.cpp  (revision 207)
@@ -550,7 +550,7 @@
 
 ifstream inFile(configFile.c_str());
 char *line = new char[256];
-while (inFile.getline(line, 256, '\n') != NULL)
+while (inFile.getline(line, 256, '\n'))
 readConfig(line, planetProperties);
 
 // 

commit xplanet for openSUSE:Factory

2014-06-05 Thread h_root
Hello community,

here is the log from the commit of package xplanet for openSUSE:Factory checked 
in at 2014-06-05 10:49:58

Comparing /work/SRC/openSUSE:Factory/xplanet (Old)
 and  /work/SRC/openSUSE:Factory/.xplanet.new (New)


Package is xplanet

Changes:

--- /work/SRC/openSUSE:Factory/xplanet/xplanet.changes  2014-03-23 
22:34:23.0 +0100
+++ /work/SRC/openSUSE:Factory/.xplanet.new/xplanet.changes 2014-06-05 
10:50:02.0 +0200
@@ -1,0 +2,5 @@
+Sun Jun  1 09:40:00 UTC 2014 - jeng...@inai.de
+
+- Update xplanet-giflib5.patch to support giflib7-5.1
+
+---



Other differences:
--
++ xplanet.spec ++
--- /var/tmp/diff_new_pack.j01WHM/_old  2014-06-05 10:50:04.0 +0200
+++ /var/tmp/diff_new_pack.j01WHM/_new  2014-06-05 10:50:04.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package xplanet
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 # Copyright (c) 2013 B1 Systems GmbH, Vohburg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
@@ -42,8 +42,8 @@
 BuildRequires:  libtiff-devel
 BuildRequires:  pango-devel
 %if 0%{?suse_version} == 1110
-BuildRequires:  xorg-x11-libICE-devel 
 BuildRequires:  xorg-x11-devel
+BuildRequires:  xorg-x11-libICE-devel
 #BuildRequires:  XScrnSaver-devel
 %else 
 BuildRequires:  pkgconfig(ice)

++ xplanet-giflib5.patch ++
--- /var/tmp/diff_new_pack.j01WHM/_old  2014-06-05 10:50:04.0 +0200
+++ /var/tmp/diff_new_pack.j01WHM/_new  2014-06-05 10:50:04.0 +0200
@@ -1,19 +1,28 @@
-diff --git a/src/libimage/gif.c b/src/libimage/gif.c
-index 835bb20..6cfb040 100644
 a/src/libimage/gif.c
-+++ b/src/libimage/gif.c
-@@ -23,6 +23,29 @@
+---
+ src/libimage/gif.c |   85 
+
+ 1 file changed, 85 insertions(+)
+
+Index: xplanet-1.3.0/src/libimage/gif.c
+===
+--- xplanet-1.3.0.orig/src/libimage/gif.c
 xplanet-1.3.0/src/libimage/gif.c
+@@ -23,6 +23,35 @@
  
  #include gif_lib.h
  
-+#if GIFLIB_MAJOR = 5
++#if defined(GIFLIB_MAJOR)
++# if GIFLIB_MAOJR  5 || (GIFLIB_MAJOR == 5  GIFLIB_MINOR = 1)
++# define DGifCloseFile(x) DGifCloseFile(x, NULL)
++# define EGifCloseFile(x) EGifCloseFile(x, NULL)
++# endif
++# if GIFLIB_MAJOR = 5
 +/* old giflib did define TRUE/FALSE */
-+#ifndef TRUE
-+#define TRUE1
-+#endif /* TRUE */
-+#ifndef FALSE
-+#define FALSE   0
-+#endif /* FALSE */
++# ifndef TRUE
++# define TRUE1
++# endif /* TRUE */
++# ifndef FALSE
++# define FALSE   0
++# endif /* FALSE */
 +
 +static void
 +gif_error(int err)
@@ -25,14 +34,15 @@
 +fprintf(stderr, \nGIF-LIB undefined error %d.\n, err);
 +}
 +
-+#define QuantizeBuffer GifQuantizeBuffer
-+#define MakeMapObject  GifMakeMapObject
++# define QuantizeBuffer GifQuantizeBuffer
++# define MakeMapObject  GifMakeMapObject
++# endif
 +#endif
 +
  /*
A lot of this is based on the gif2rgb and rgb2gif codes in the libungif 
distribution. 
-@@ -42,11 +65,20 @@ read_gif(const char *filename, int *width, int *height, 
unsigned char **rgb)
+@@ -42,11 +71,20 @@ read_gif(const char *filename, int *widt
  int color_index;
  unsigned char *ptr = NULL;
  
@@ -53,7 +63,7 @@
  return(0);
  }
  
-@@ -54,7 +86,11 @@ read_gif(const char *filename, int *width, int *height, 
unsigned char **rgb)
+@@ -54,7 +92,11 @@ read_gif(const char *filename, int *widt
  {
  if (DGifGetRecordType(infile, record_type) == GIF_ERROR) 
  {
@@ -65,7 +75,7 @@
  return(0);
  }
  
-@@ -63,7 +99,11 @@ read_gif(const char *filename, int *width, int *height, 
unsigned char **rgb)
+@@ -63,7 +105,11 @@ read_gif(const char *filename, int *widt
  case IMAGE_DESC_RECORD_TYPE:
  if (DGifGetImageDesc(infile) == GIF_ERROR)
  {
@@ -77,7 +87,7 @@
  return(0);
  }
  
-@@ -107,14 +147,22 @@ read_gif(const char *filename, int *width, int *height, 
unsigned char **rgb)
+@@ -107,14 +153,22 @@ read_gif(const char *filename, int *widt
  GifByteType *ext;
  if (DGifGetExtension(infile, ext_code, ext) == GIF_ERROR) 
  {
@@ -100,7 +110,7 @@
  return(0);
  }
  }
-@@ -166,6 +214,9 @@ write_gif(const char *filename, int width, int height, 
char *rgb)
+@@ -166,6 +220,9 @@ write_gif(const char *filename, int widt
  

commit xplanet for openSUSE:Factory

2014-03-23 Thread h_root
Hello community,

here is the log from the commit of package xplanet for openSUSE:Factory checked 
in at 2014-03-23 22:34:18

Comparing /work/SRC/openSUSE:Factory/xplanet (Old)
 and  /work/SRC/openSUSE:Factory/.xplanet.new (New)


Package is xplanet

Changes:

--- /work/SRC/openSUSE:Factory/xplanet/xplanet.changes  2013-03-14 
15:36:30.0 +0100
+++ /work/SRC/openSUSE:Factory/.xplanet.new/xplanet.changes 2014-03-23 
22:34:23.0 +0100
@@ -1,0 +2,6 @@
+Sat Mar 22 19:32:26 UTC 2014 - avvi...@yandex.ru
+
+- Fix rpmlint error for SLE11 and Fedora: unresolvable:
+  * add ?suse_version
+
+---



Other differences:
--
++ xplanet.spec ++
--- /var/tmp/diff_new_pack.bNwKLq/_old  2014-03-23 22:34:24.0 +0100
+++ /var/tmp/diff_new_pack.bNwKLq/_new  2014-03-23 22:34:24.0 +0100
@@ -33,13 +33,23 @@
 BuildRequires:  gcc-c++
 BuildRequires:  giflib-devel
 BuildRequires:  libjpeg-devel
+%if 0%{?suse_version} 
 BuildRequires:  libnetpbm-devel
+%else
+BuildRequires:  netpbm-devel
+%endif
 BuildRequires:  libpng-devel
 BuildRequires:  libtiff-devel
 BuildRequires:  pango-devel
+%if 0%{?suse_version} == 1110
+BuildRequires:  xorg-x11-libICE-devel 
+BuildRequires:  xorg-x11-devel
+#BuildRequires:  XScrnSaver-devel
+%else 
 BuildRequires:  pkgconfig(ice)
 BuildRequires:  pkgconfig(x11)
 BuildRequires:  pkgconfig(xscrnsaver)
+%endif
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit xplanet for openSUSE:Factory

2013-03-14 Thread h_root
Hello community,

here is the log from the commit of package xplanet for openSUSE:Factory checked 
in at 2013-03-14 15:06:27

Comparing /work/SRC/openSUSE:Factory/xplanet (Old)
 and  /work/SRC/openSUSE:Factory/.xplanet.new (New)


Package is xplanet, Maintainer is jsm...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/xplanet/xplanet.changes  2013-02-15 
18:55:17.0 +0100
+++ /work/SRC/openSUSE:Factory/.xplanet.new/xplanet.changes 2013-03-14 
15:08:54.0 +0100
@@ -1,0 +2,5 @@
+Tue Mar 12 16:36:52 UTC 2013 - seife+...@b1-systems.com
+
+- fix build with giflib-5, xplanet-giflib5.patch
+
+---

New:

  xplanet-giflib5.patch



Other differences:
--
++ xplanet.spec ++
--- /var/tmp/diff_new_pack.ObJSYp/_old  2013-03-14 15:08:57.0 +0100
+++ /var/tmp/diff_new_pack.ObJSYp/_new  2013-03-14 15:08:57.0 +0100
@@ -2,6 +2,7 @@
 # spec file for package xplanet
 #
 # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 B1 Systems GmbH, Vohburg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -26,6 +27,8 @@
 Source0:
http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
 # build also with libpng16, patch sent to h...@alumni.caltech.edu
 Patch0: xplanet-libpng16.patch
+# new giflib-5 api
+Patch1: xplanet-giflib5.patch
 BuildRequires:  freetype2-devel
 BuildRequires:  gcc-c++
 BuildRequires:  giflib-devel
@@ -49,6 +52,7 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 # configure does not check if netpbm headers are installed in 
/usr/include/netpbm

++ xplanet-giflib5.patch ++
diff --git a/src/libimage/gif.c b/src/libimage/gif.c
index 835bb20..6cfb040 100644
--- a/src/libimage/gif.c
+++ b/src/libimage/gif.c
@@ -23,6 +23,29 @@
 
 #include gif_lib.h
 
+#if GIFLIB_MAJOR = 5
+/* old giflib did define TRUE/FALSE */
+#ifndef TRUE
+#define TRUE1
+#endif /* TRUE */
+#ifndef FALSE
+#define FALSE   0
+#endif /* FALSE */
+
+static void
+gif_error(int err)
+{
+const char * Err = GifErrorString(err);
+if (Err != NULL)
+fprintf(stderr, \nGIF-LIB error: %s.\n, Err);
+else
+fprintf(stderr, \nGIF-LIB undefined error %d.\n, err);
+}
+
+#define QuantizeBuffer GifQuantizeBuffer
+#define MakeMapObject  GifMakeMapObject
+#endif
+
 /*
   A lot of this is based on the gif2rgb and rgb2gif codes in the libungif 
   distribution. 
@@ -42,11 +65,20 @@ read_gif(const char *filename, int *width, int *height, 
unsigned char **rgb)
 int color_index;
 unsigned char *ptr = NULL;
 
+#if GIFLIB_MAJOR = 5
+int err;
+infile = DGifOpenFileName(filename, err);
+#else
 infile = DGifOpenFileName(filename);
+#endif
 
 if (infile == NULL)
 {
+#if GIFLIB_MAJOR  5
 PrintGifError();
+#else
+gif_error(err);
+#endif
 return(0);
 }
 
@@ -54,7 +86,11 @@ read_gif(const char *filename, int *width, int *height, 
unsigned char **rgb)
 {
 if (DGifGetRecordType(infile, record_type) == GIF_ERROR) 
 {
+#if GIFLIB_MAJOR  5
 PrintGifError();
+#else
+gif_error(infile-Error);
+#endif
 return(0);
 }
 
@@ -63,7 +99,11 @@ read_gif(const char *filename, int *width, int *height, 
unsigned char **rgb)
 case IMAGE_DESC_RECORD_TYPE:
 if (DGifGetImageDesc(infile) == GIF_ERROR)
 {
+#if GIFLIB_MAJOR  5
 PrintGifError();
+#else
+gif_error(infile-Error);
+#endif
 return(0);
 }
 
@@ -107,14 +147,22 @@ read_gif(const char *filename, int *width, int *height, 
unsigned char **rgb)
 GifByteType *ext;
 if (DGifGetExtension(infile, ext_code, ext) == GIF_ERROR) 
 {
+#if GIFLIB_MAJOR  5
 PrintGifError();
+#else
+gif_error(infile-Error);
+#endif
 return(0);
 }
 while (ext != NULL) 
 {
 if (DGifGetExtensionNext(infile, ext) == GIF_ERROR) 
 {
+#if GIFLIB_MAJOR  5
 PrintGifError();
+#else
+gif_error(infile-Error);
+#endif
 return(0);
 }
 }
@@ -166,6 +214,9 @@ write_gif(const char *filename, int width, int height, char 
*rgb)
 GifByteType *red, *green, *blue, *buffer, *ptr;
 GifFileType *outfile;
 ColorMapObject *colormap;
+#if GIFLIB_MAJOR = 5
+int err;
+#endif
 
 red = malloc(width * height * sizeof(GifByteType));
 green = malloc(width * height * 

commit xplanet for openSUSE:Factory

2013-02-15 Thread h_root
Hello community,

here is the log from the commit of package xplanet for openSUSE:Factory checked 
in at 2013-02-15 18:55:16

Comparing /work/SRC/openSUSE:Factory/xplanet (Old)
 and  /work/SRC/openSUSE:Factory/.xplanet.new (New)


Package is xplanet, Maintainer is jsm...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/xplanet/xplanet.changes  2012-10-06 
18:45:44.0 +0200
+++ /work/SRC/openSUSE:Factory/.xplanet.new/xplanet.changes 2013-02-15 
18:55:17.0 +0100
@@ -1,0 +2,6 @@
+Fri Feb 15 07:28:36 UTC 2013 - pgaj...@suse.com
+
+- build also with libpng16
+  * libpng16.patch
+
+---

New:

  xplanet-libpng16.patch



Other differences:
--
++ xplanet.spec ++
--- /var/tmp/diff_new_pack.JVDjvP/_old  2013-02-15 18:55:18.0 +0100
+++ /var/tmp/diff_new_pack.JVDjvP/_new  2013-02-15 18:55:18.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package xplanet
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,6 +24,8 @@
 Group:  Productivity/Scientific/Astronomy
 Url:http://xplanet.sourceforge.net/
 Source0:
http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
+# build also with libpng16, patch sent to h...@alumni.caltech.edu
+Patch0: xplanet-libpng16.patch
 BuildRequires:  freetype2-devel
 BuildRequires:  gcc-c++
 BuildRequires:  giflib-devel
@@ -46,6 +48,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 # configure does not check if netpbm headers are installed in 
/usr/include/netpbm

++ xplanet-libpng16.patch ++
Index: xplanet-1.3.0/src/libimage/png.c
===
--- xplanet-1.3.0.orig/src/libimage/png.c
+++ xplanet-1.3.0/src/libimage/png.c
@@ -20,6 +20,7 @@
 
 #include stdio.h
 #include stdlib.h
+#include string.h
 
 #include png.h
 
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit xplanet for openSUSE:Factory

2012-10-06 Thread h_root
Hello community,

here is the log from the commit of package xplanet for openSUSE:Factory checked 
in at 2012-10-04 20:11:08

Comparing /work/SRC/openSUSE:Factory/xplanet (Old)
 and  /work/SRC/openSUSE:Factory/.xplanet.new (New)


Package is xplanet, Maintainer is jsm...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/xplanet/xplanet.changes  2012-03-29 
07:49:39.0 +0200
+++ /work/SRC/openSUSE:Factory/.xplanet.new/xplanet.changes 2012-10-06 
18:45:44.0 +0200
@@ -1,0 +2,8 @@
+Fri Sep 28 19:37:45 UTC 2012 - asterios.dra...@gmail.com
+
+- Added CPPFLAGS=-I%{_includedir}/netpbm to fix compilation with netpbm
+  support in Factory (the netpbm headers where moved from /usr/include to
+  /usr/include/netpbm).
+- Use pkgconfig(...) for xorg-x11 build requirements.
+
+---



Other differences:
--
++ xplanet.spec ++
--- /var/tmp/diff_new_pack.va6cQw/_old  2012-10-06 18:45:45.0 +0200
+++ /var/tmp/diff_new_pack.va6cQw/_new  2012-10-06 18:45:45.0 +0200
@@ -27,18 +27,14 @@
 BuildRequires:  freetype2-devel
 BuildRequires:  gcc-c++
 BuildRequires:  giflib-devel
-%if 0%{?suse_version}  1210
-BuildRequires:  libICE-devel
-BuildRequires:  libX11-devel
-BuildRequires:  libXScrnSaver-devel
-%else
-BuildRequires:  xorg-x11-devel
-%endif
 BuildRequires:  libjpeg-devel
 BuildRequires:  libnetpbm-devel
 BuildRequires:  libpng-devel
 BuildRequires:  libtiff-devel
 BuildRequires:  pango-devel
+BuildRequires:  pkgconfig(ice)
+BuildRequires:  pkgconfig(x11)
+BuildRequires:  pkgconfig(xscrnsaver)
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -52,6 +48,8 @@
 %setup -q
 
 %build
+# configure does not check if netpbm headers are installed in 
/usr/include/netpbm
+export CPPFLAGS=-I%{_includedir}/netpbm
 # Set our preferred architecture-specific flags for the compiler and linker:
 export CFLAGS=%{optflags} -fno-strict-aliasing
 export CXXFLAGS=%{optflags} -fno-strict-aliasing

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit xplanet for openSUSE:Factory

2012-03-28 Thread h_root
Hello community,

here is the log from the commit of package xplanet for openSUSE:Factory checked 
in at 2012-03-29 07:49:36

Comparing /work/SRC/openSUSE:Factory/xplanet (Old)
 and  /work/SRC/openSUSE:Factory/.xplanet.new (New)


Package is xplanet, Maintainer is jsm...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/xplanet/xplanet.changes  2012-03-11 
20:05:36.0 +0100
+++ /work/SRC/openSUSE:Factory/.xplanet.new/xplanet.changes 2012-03-29 
07:49:39.0 +0200
@@ -1,0 +2,10 @@
+Sat Mar 24 19:20:46 UTC 2012 - asterios.dra...@gmail.com
+
+- Update to 1.3.0:
+  * add outlined keyword to marker files
+  * update JPL ephemeris code for 64 bit machines
+  * add bump_shade config file parameter
+  * add opacity keyword for markers
+  * implement Rayleigh scattering
+
+---

Old:

  xplanet-1.2.2.tar.gz

New:

  xplanet-1.3.0.tar.gz



Other differences:
--
++ xplanet.spec ++
--- /var/tmp/diff_new_pack.aN7dxD/_old  2012-03-29 07:49:40.0 +0200
+++ /var/tmp/diff_new_pack.aN7dxD/_new  2012-03-29 07:49:40.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   xplanet
-Version:1.2.2
+Version:1.3.0
 Release:0
 Summary:Planets as Background Pictures or Interactive Animations
 License:GPL-2.0+
@@ -66,6 +66,6 @@
 %doc AUTHORS COPYING ChangeLog NEWS README TODO
 %{_bindir}/%{name}
 %doc %{_mandir}/man1/%{name}.1%{ext_man}
-%{_datadir}/%{name}
+%{_datadir}/%{name}/
 
 %changelog

++ xplanet-1.2.2.tar.gz - xplanet-1.3.0.tar.gz ++
 2416 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit xplanet for openSUSE:Factory

2012-03-11 Thread h_root
Hello community,

here is the log from the commit of package xplanet for openSUSE:Factory checked 
in at 2012-03-11 20:05:34

Comparing /work/SRC/openSUSE:Factory/xplanet (Old)
 and  /work/SRC/openSUSE:Factory/.xplanet.new (New)


Package is xplanet, Maintainer is jsm...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/xplanet/xplanet.changes  2011-09-23 
12:52:42.0 +0200
+++ /work/SRC/openSUSE:Factory/.xplanet.new/xplanet.changes 2012-03-11 
20:05:36.0 +0100
@@ -1,0 +2,6 @@
+Sun Mar  4 21:02:26 UTC 2012 - asterios.dra...@gmail.com
+
+- Spec file updates:
+  * Updated XOrg BuildRequires: for openSUSE  12.1.
+
+---

Old:

  xplanet-1.2.2.tar.bz2

New:

  xplanet-1.2.2.tar.gz



Other differences:
--
++ xplanet.spec ++
--- /var/tmp/diff_new_pack.Arhw3x/_old  2012-03-11 20:05:37.0 +0100
+++ /var/tmp/diff_new_pack.Arhw3x/_new  2012-03-11 20:05:37.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package xplanet
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,38 +15,38 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
-
 
 Name:   xplanet
 Version:1.2.2
-Release:1
-License:GPL-2.0+
+Release:0
 Summary:Planets as Background Pictures or Interactive Animations
-Url:http://xplanet.sourceforge.net/
+License:GPL-2.0+
 Group:  Productivity/Scientific/Astronomy
-# 
https://downloads.sourceforge.net/project/xplanet/xplanet/1.2.2/xplanet-1.2.2.tar.gz
-Source0:%{name}-%{version}.tar.bz2
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+Url:http://xplanet.sourceforge.net/
+Source0:
http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
 BuildRequires:  freetype2-devel
 BuildRequires:  gcc-c++
 BuildRequires:  giflib-devel
+%if 0%{?suse_version}  1210
+BuildRequires:  libICE-devel
+BuildRequires:  libX11-devel
+BuildRequires:  libXScrnSaver-devel
+%else
+BuildRequires:  xorg-x11-devel
+%endif
 BuildRequires:  libjpeg-devel
 BuildRequires:  libnetpbm-devel
 BuildRequires:  libpng-devel
 BuildRequires:  libtiff-devel
 BuildRequires:  pango-devel
-BuildRequires:  xorg-x11-devel
+BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
 Xplanet can display the earth or other planets in the background of
 your display, similar to xearth or xglobe.  Additionally, it can run in
 interactive mode allowing you to rotate or zoom the planet.  Also, with
 an included script, it is very easy to combine map files with current
-satellite cloud images. See
-/usr/share/doc/packages/xplanet/README.SuSE.  For screenshots and more
-interesting information, have a look at the Xplanet home page:
-http://xplanet.sourceforge.net/
+satellite cloud images.
 
 %prep
 %setup -q
@@ -61,9 +61,6 @@
 %install
 %make_install
 
-%clean
-rm -rf %{buildroot}
-
 %files
 %defattr(-,root,root,-)
 %doc AUTHORS COPYING ChangeLog NEWS README TODO

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit xplanet for openSUSE:Factory

2011-12-06 Thread h_root
Hello community,

here is the log from the commit of package xplanet for openSUSE:Factory checked 
in at 2011-12-06 19:17:50

Comparing /work/SRC/openSUSE:Factory/xplanet (Old)
 and  /work/SRC/openSUSE:Factory/.xplanet.new (New)


Package is xplanet, Maintainer is jsm...@suse.com

Changes:




Other differences:
--
++ xplanet.spec ++
--- /var/tmp/diff_new_pack.bb5jQ4/_old  2011-12-06 19:58:56.0 +0100
+++ /var/tmp/diff_new_pack.bb5jQ4/_new  2011-12-06 19:58:56.0 +0100
@@ -21,7 +21,7 @@
 Name:   xplanet
 Version:1.2.2
 Release:1
-License:GPLv2+
+License:GPL-2.0+
 Summary:Planets as Background Pictures or Interactive Animations
 Url:http://xplanet.sourceforge.net/
 Group:  Productivity/Scientific/Astronomy

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org