Hello community,

here is the log from the commit of package gigaset-frontend for openSUSE:Factory
checked in at Mon Aug 29 12:29:32 CEST 2011.



--------
New Changes file:

--- /dev/null   2010-08-26 16:28:41.000000000 +0200
+++ /mounts/work_src_done/STABLE/gigaset-frontend/gigaset-frontend.changes      
2011-08-29 08:59:50.000000000 +0200
@@ -0,0 +1,11 @@
+-------------------------------------------------------------------
+Mon Aug 29 06:59:49 UTC 2011 - [email protected]
+
+- license update: GPL-2.0
+  Use modern syntax
+
+-------------------------------------------------------------------
+Sun Aug 21 21:49:24 CET 2011 - [email protected]
+
+- initial version (0.6.0)
+

calling whatdependson for head-i586


New:
----
  gigaset-frontend-0.6.0.tar.gz
  gigaset-frontend-fix_uninitialized.patch
  gigaset-frontend-optflags.patch
  gigaset-frontend-rpmlintrc
  gigaset-frontend.changes
  gigaset-frontend.desktop
  gigaset-frontend.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gigaset-frontend.spec ++++++
#
# spec file for package gigaset-frontend
#
# Copyright (c) 2011 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# 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/
#



Name:           gigaset-frontend
Version:        0.6.0
Release:        1
Summary:        Siemens Gigaset configuration software
Source:         
http://prdownloads.sourceforge.net/gigaset307x/gigaset-frontend-%{version}.tar.gz
Source1:        gigaset-frontend.desktop
Patch1:         gigaset-frontend-optflags.patch
Patch2:         gigaset-frontend-fix_uninitialized.patch
Source99:       gigaset-frontend-rpmlintrc
Url:            http://gigaset307x.sourceforge.net/frontend.html
Group:          Hardware/ISDN
License:        GPL-2.0
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} == 0
BuildRequires:  kernel-source
%else
%if 0%{?suse_version} > 1120
BuildRequires:  linux-glibc-devel
%else
BuildRequires:  linux-kernel-headers
%endif #1120
%endif #0
BuildRequires:  libqt4-devel
BuildRequires:  libexpat-devel
BuildRequires:  gcc gcc-c++ glibc-devel make pkgconfig
BuildRequires:  update-desktop-files

%description
This package contains user space configuration programs for Siemens Gigaset
ISDN devices.

%package qt


Summary:        Siemens Gigaset configuration software (GUI)
Group:          Hardware/ISDN

%description qt
This package contains qgigaset, a graphical user space configuration program
for Siemens Gigaset ISDN devices.

%prep
%setup -q
%patch1
%patch2

%build
# not autotools:
./configure \
    --prefix="%{_prefix}" \
    --libdir="%{_libdir}" \
    --mandir="%{_mandir}" \
    --datadir="%{_datadir}" \
    --destdir="%{buildroot}" \
    --with-expat \
    --with-qt \
    --without-qtlibs

%__make %{?_smp_flags} \
    RELEASE=1 \
    CC="%__cc" \
    CXX="%__cxx" \
    OPTFLAGS="%{optflags}" \
    QTDIR="%{_usr}" \
    QTBINDIR="%{_bindir}" \
    MOC="%{_bindir}/moc" \
    LRELEASE="%{_bindir}/lrelease" \
    LUPDATE="%{_bindir}/lupdate"

%install
%__make \
    RELEASE=1 \
    CC="%__cc" \
    CXX="%__cxx" \
    OPTFLAGS="%{optflags}" \
    QTDIR="%{_usr}" \
    QTBINDIR="%{_bindir}" \
    MOC="%{_bindir}/moc" \
    LRELEASE="%{_bindir}/lrelease" \
    LUPDATE="%{_bindir}/lupdate" \
    install

find "%{buildroot}%{_datadir}/" -type f -exec %__chmod -x {} \;

LFILE="$PWD/.lang"
pushd "%{buildroot}%{_datadir}/qgigaset"
/bin/ls -1d *.qm | while read qm; do
    l="${qm##*_}"
    l="${l%.qm}"
    echo "%lang($l) %{_datadir}/qgigaset/$qm" >>"$LFILE"
done

%__install -D -m0644 "%{SOURCE1}" 
"%{buildroot}%{_datadir}/applications/%{name}.desktop"
%suse_update_desktop_file -r "%{name}" Settings HardwareSettings

%clean
%{?buildroot:%__rm -rf "%{buildroot}"}

%files
%defattr(-,root,root)
%doc COPYING README TODO Release.notes known_bugs.txt
%{_sbindir}/gigaconf
%{_sbindir}/gigacontr
%doc %{_mandir}/man8/gigaconf.8%{ext_man}
%doc %{_mandir}/man8/gigacontr.8%{ext_man}

%files qt -f .lang
%defattr(-,root,root)
%{_bindir}/qgigaset
%{_datadir}/qgigaset
%{_datadir}/applications/%{name}.desktop

%changelog
++++++ gigaset-frontend-fix_uninitialized.patch ++++++
--- lib/sms.c.orig      2011-08-21 23:54:44.338000523 +0200
+++ lib/sms.c   2011-08-21 23:55:07.079000523 +0200
@@ -44,7 +44,7 @@
 #ifndef GIG_TEST
 int gigaset_smsend (struct gstatus * gs)
 {
-       ssize_t r;
+       ssize_t r = 0;
        unsigned zsmend;
 
        zsmend = gs->temp_filter[FLT_ZSMEND]->status;
--- lib/block.c.orig    2011-08-21 23:52:44.466000523 +0200
+++ lib/block.c 2011-08-21 23:54:42.824000523 +0200
@@ -313,10 +313,10 @@
        char * s;
        int tout=50; // FIXME: initial timeout guessed
        int doabort=1;
-       uint32_t totsize;
+       uint32_t totsize = 0;
        char * curblock;
-       char * pos;
-       size_t cursize, bytesleft;
+       char * pos = 0;
+       size_t cursize, bytesleft = 0;
        uint8_t curseq, curtype, curdatatype;
        char * dest=NULL;
        int badblocks=0;
--- qt/dial.cc.orig     2011-08-21 23:51:18.944000524 +0200
+++ qt/dial.cc  2011-08-21 23:51:48.825000526 +0200
@@ -165,7 +165,7 @@
        case 1:
                type = GIG_TYPE_EXTERNAL;
                break;
-       case -1:
+    default:
                return; //FIXME msg
        }
 
++++++ gigaset-frontend-optflags.patch ++++++
--- console/Makefile.orig       2011-08-21 23:48:35.551000523 +0200
+++ console/Makefile    2011-08-21 23:48:42.100000523 +0200
@@ -1,5 +1,5 @@
 CFLAGS = -Wall
-CFLAGS += -g
+CFLAGS += $(OPTFLAGS)
 #CFLAGS += -pedantic -W
 INSTALL = install
 INSTALL-D = $(INSTALL) -d
--- lib/Makefile.orig   2011-08-21 23:47:48.601000524 +0200
+++ lib/Makefile        2011-08-21 23:47:59.058000523 +0200
@@ -1,5 +1,5 @@
 CFLAGS = -Wall
-CFLAGS += -g
+CFLAGS += $(OPTFLAGS)
 #CFLAGS += -pedantic -W
 #CFLAGS += -DGIG_TEST #FIXME REMOVE
 
--- qt/Makefile.orig    2011-08-21 23:46:13.857000523 +0200
+++ qt/Makefile 2011-08-21 23:46:39.190000524 +0200
@@ -1,6 +1,8 @@
 INSTALL := install
 INSTALL-D := $(INSTALL) -d
 
+OPTFLAGS = -g
+
 # cross-compiling: set QTDIR to Windows qt-dir and QTBINDIR to Linux qt-dir/bin
 QTBINDIR := $(QTDIR)/bin
 MOC := $(QTBINDIR)/moc
@@ -57,13 +59,13 @@
 LIBS +=  $(shell pkg-config --libs QtCore)
 CXXFLAGS += $(shell pkg-config --cflags QtGui)
 LIBS +=  $(shell pkg-config --libs QtGui)
-CXXFLAGS += -s -O3
+CXXFLAGS += $(OPTFLAGS)
 else
 CXXFLAGS += $(shell pkg-config --cflags QtCore_debug)
 LIBS +=  $(shell pkg-config --libs QtCore_debug)
 CXXFLAGS += $(shell pkg-config --cflags QtGui_debug)
 LIBS +=  $(shell pkg-config --libs QtGui_debug)
-CXXFLAGS += -g
+CXXFLAGS += $(OPTFLAGS)
 endif
 
 CXXFLAGS += -DQGIGASET_DATADIR=$(DATADIR)
++++++ gigaset-frontend-rpmlintrc ++++++
addFilter('rpm-buildroot-usage')
++++++ gigaset-frontend.desktop ++++++
[Desktop Entry]
Version=1.0
Terminal=false
Exec=qgigaset
Type=Application
Categories=
StartupNotify=false
Name=gigaset-frontend
GenericName=Siemens Gigaset Configuration


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to