--- gfccore-2.3.1.orig/debian/patches/00list +++ gfccore-2.3.1/debian/patches/00list @@ -0,0 +1,2 @@ +#01_fix_quark_inl +02_add_assignment_operator_to_properties --- gfccore-2.3.1.orig/debian/patches/02_add_assignment_operator_to_properties.dpatch +++ gfccore-2.3.1/debian/patches/02_add_assignment_operator_to_properties.dpatch @@ -0,0 +1,35 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 02_add_assignment_operator_to_properties.dpatch by Goedson Paixao +## The code in this patch has been taken from upstream's CVS repository +## DP: Adds assignment and conversion operators to properties. + +@DPATCH@ +diff -urNad gfccore-2.3.1/gfc/glib/property.hh /tmp/dpep.C2AmCb/gfccore-2.3.1/gfc/glib/property.hh +--- gfccore-2.3.1/gfc/glib/property.hh 2004-08-18 03:05:55.000000000 -0300 ++++ /tmp/dpep.C2AmCb/gfccore-2.3.1/gfc/glib/property.hh 2004-12-20 19:35:49.000000000 -0200 +@@ -194,6 +194,20 @@ + { + Base::property()->set(Base::object(), data); + } ++ ++ ++ operator DataType() const ++ { ++ DataType data; ++ get(data); ++ return data; ++ } ++ ++ void operator=(const DataType& data) const ++ { ++ set(data); ++ } ++ + }; + + } // namespace G +@@ -201,3 +215,4 @@ + } // namespace GFC + + #endif // GFC_G_PROPERTY_HH ++ --- gfccore-2.3.1.orig/debian/patches/01_fix_quark_inl.dpatch +++ gfccore-2.3.1/debian/patches/01_fix_quark_inl.dpatch @@ -0,0 +1,37 @@ +#! /bin/sh -e +## 01_fix_quark_inl.dpatch by Goedson Teixeira Paixao +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Fix parse error in quark.inl + +if [ $# -lt 1 ]; then + echo "`basename $0`: script expects -patch|-unpatch as argument" >&2 + exit 1 +fi + +[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts +patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}" + +case "$1" in + -patch) patch -p1 ${patch_opts} < $0;; + -unpatch) patch -R -p1 ${patch_opts} < $0;; + *) + echo "`basename $0`: script expects -patch|-unpatch as argument" >&2 + exit 1;; +esac + +exit 0 + +@DPATCH@ +diff -urNad /var/tmp/goedson/debian/gfccore-2.3.0/gfc/glib/inline/quark.inl gfccore-2.3.0/gfc/glib/inline/quark.inl +--- /var/tmp/goedson/debian/gfccore-2.3.0/gfc/glib/inline/quark.inl 2004-06-25 18:54:07.000000000 -0300 ++++ gfccore-2.3.0/gfc/glib/inline/quark.inl 2004-08-18 16:18:42.000000000 -0300 +@@ -18,7 +18,7 @@ + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ + +-inline GFC::G::Quark::operator String() const ++inline GFC::G::Quark::operator GFC::String() const + { + return g_quark_to_string(value_); + } --- gfccore-2.3.1.orig/debian/docs +++ gfccore-2.3.1/debian/docs @@ -0,0 +1,2 @@ +NEWS +README --- gfccore-2.3.1.orig/debian/compat +++ gfccore-2.3.1/debian/compat @@ -0,0 +1 @@ +4 --- gfccore-2.3.1.orig/debian/libgfccore-dev.install +++ gfccore-2.3.1/debian/libgfccore-dev.install @@ -0,0 +1,11 @@ +debian/tmp/usr/lib/pkgconfig/gfccore-2.0.pc +debian/tmp/usr/lib/libgfccore-2.0.so +debian/tmp/usr/lib/libgfccore-2.0.a +debian/tmp/usr/lib/libgfccore-2.0.la +debian/tmp/usr/include/gfc-2.0/gfc/* +debian/tmp/usr/include/gfc-2.0/gfc/glib/* +debian/tmp/usr/include/gfc-2.0/gfc/glib/inline/* +debian/tmp/usr/lib/gfc-2.0/include/* + + + --- gfccore-2.3.1.orig/debian/copyright +++ gfccore-2.3.1/debian/copyright @@ -0,0 +1,26 @@ +This package was debianized by Goedson Teixeira Paixao on +Wed, 18 Aug 2004 09:24:33 -0300. + +It was downloaded from http://www.sourceforge.net/projects/gfc/ + +Upstream Author: Jeff Franks + +Copyright: + + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + +On Debian systems, the complete text of the GNU Lesser General +Public License can be found in `/usr/share/common-licenses/LGPL'. + --- gfccore-2.3.1.orig/debian/changelog +++ gfccore-2.3.1/debian/changelog @@ -0,0 +1,101 @@ +gfccore (2.3.1-6ubuntu2) gutsy; urgency=low + + * debian/control: Update maintainer fields according to debian- + maintainer-field spec. + + -- Martin Pitt Wed, 15 Aug 2007 08:04:31 +0000 + +gfccore (2.3.1-6ubuntu1) dapper; urgency=low + + * Resynchronise with Debian. + + -- Stephan Hermann Sun, 11 Dec 2005 01:10:28 +0100 + +gfccore (2.3.1-6) unstable; urgency=low + + * Rebuild linking with libsigc++-2.0-0c2a. + + -- Goedson Teixeira Paixao Sun, 4 Dec 2005 15:52:56 -0200 + +gfccore (2.3.1-5) unstable; urgency=low + + * Renamed library due to libstdc++ allocator change, + thanks to Matthias Klose (Closes: #339170). + * debian/copyright: update FSF address. + + -- Goedson Teixeira Paixao Thu, 17 Nov 2005 17:25:25 -0200 + +gfccore (2.3.1-4ubuntu1) dapper; urgency=low + + * Resynchronise with Debian. + * libstdc++ new allocator transition + + Renaming libgfccore-2.0-0c2 to libgfccore-2.0-0c2a + * debian/control: + + Adjusted packagenames, conflicts/replaces and dependencies + + Tightend build-dep of libsigc++-2.0-dev >= 2.0.10-3 (merged debian + dropped diff) + * debian/rules: + + Adjusted DEB_DH_STRIP_ARGS to --dbg-package=libgfccore-2.0-0 (it was + wrong former value: libgfccore-2.0-0c2-dbg) + * Renamed libgfccore-2.0-0c2.install to libgfccore-2.0-0c2a.install + + -- Stephan Hermann Sat, 26 Nov 2005 22:40:26 +0100 + +gfccore (2.3.1-4) unstable; urgency=low + + * Added missing Conflicts: fields. + + -- Goedson Teixeira Paixao Fri, 29 Jul 2005 17:07:26 -0300 + +gfccore (2.3.1-3) unstable; urgency=low + + * Recompiled with G++ 4.0. + * Bumped Standards-Version to 3.6.2. No changes needed. + + -- Goedson Teixeira Paixao Wed, 27 Jul 2005 20:59:20 +0000 + +gfccore (2.3.1-2ubuntu3) breezy; urgency=low + + * Rebuild for dependencies + + -- Barry deFreese Tue, 13 Sep 2005 11:34:20 -0400 + +gfccore (2.3.1-2ubuntu2) breezy; urgency=low + + * debian/control: libgfccore-2.0-0-dbg install-dep to libgfccore-2.0-0c2 and + not to libgfccore-2.0-0 :( + + -- Stephan Hermann Tue, 13 Sep 2005 12:38:02 +0200 + +gfccore (2.3.1-2ubuntu1) breezy; urgency=low + + * cxx trans renaming libgfccore-2.0-0 to libgfccore-2.0-0c2 + * debian/control: adjusting conflicts/replaces and dependencies + * debian/libgfccore-2.0-0.install: renaming it to libgfccore-2.0-0c2.install + + -- Stephan Hermann Wed, 13 Jul 2005 00:38:52 +0200 + +gfccore (2.3.1-2) unstable; urgency=low + + * debian/patches: + - 02_add_assignment_operator_to_properties: adds the capability + to set properties using the assignment syntax and recovering + the value of the property through a conversion operator. + + -- Goedson Teixeira Paixao Tue, 21 Dec 2004 19:46:54 -0200 + +gfccore (2.3.1-1) unstable; urgency=low + + * New upstream release. + * debian/patches: remove patches applied upstream + - 01_fix_quark_inl + * debian/control: fixed -doc package short description. + + -- Goedson Teixeira Paixao Fri, 27 Aug 2004 13:33:52 -0300 + +gfccore (2.3.0-1) unstable; urgency=low + + * Initial Release. (Closes: #266831) + + -- Goedson Teixeira Paixao Fri, 20 Aug 2004 20:55:43 -0300 + --- gfccore-2.3.1.orig/debian/control +++ gfccore-2.3.1/debian/control @@ -0,0 +1,77 @@ +Source: gfccore +Section: libs +Priority: optional +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Goedson Teixeira Paixao +Build-Depends: cdbs, debhelper (>= 4.1.46), dpatch, binutils (>= 2.14.90.0.7), libsigc++-2.0-dev (>= 2.0.10-3), libglib2.0-dev +Standards-Version: 3.6.2 + +Package: libgfccore-dev +Section: libdevel +Architecture: any +Depends: libgfccore-2.0-0c2a (= ${Source-Version}), libsigc++-2.0-dev (>= 2.0.3-4) +Description: GTK+ Foundation Classes Core - development files + GTK+ Foundation Classes (GFC) is a set of integrated C++ foundation classes for + developing GTK+ applications. + . + GFC-Core is a collection of C++ modules that form the core of the GFC library + upon which other modules, such as GFC-UI, are built. + . + GFC-Core modules include a C++ wrapper for GLib, a UTF8 string class, + automatic memory management, a typesafe C++ signal and slots system. + . + This package provides the development files needed to compile programs that + use GFC-Core. + + +Package: libgfccore-2.0-0-dbg +Section: libdevel +Architecture: any +Depends: libgfccore-2.0-0c2a (= ${Source-Version}) +Description: GTK+ Foundation Classes Core - debug symbols + GTK+ Foundation Classes (GFC) is a set of integrated C++ foundation classes for + developing GTK+ applications. + . + GFC-Core is a collection of C++ modules that form the core of the GFC library + upon which other modules, such as GFC-UI, are built. + . + GFC-Core modules include a C++ wrapper for GLib, a UTF8 string class, + automatic memory management, a typesafe C++ signal and slots system. + . + This package provides the debug symbols needed to debug programs that use + GFC-Core. + + +Package: libgfccore-2.0-0c2a +Section: libs +Architecture: any +Depends: ${shlibs:Depends} +Conflicts: libgfccore-2.0-0, libgfccore-2.0-0c2 +Replaces: libgfccore-2.0-0, libgfccore-2.0-0c2 +Description: GTK+ Foundation Classes Core - shared libraries + GTK+ Foundation Classes (GFC) is a set of integrated C++ foundation classes for + developing GTK+ applications. + . + GFC-Core is a collection of C++ modules that form the core of the GFC library + upon which other modules, such as GFC-UI, are built. + . + GFC-Core modules include a C++ wrapper for GLib, a UTF8 string class, + automatic memory management, a typesafe C++ signal and slots system. + . + This package provides the shared libraries needed to run programs that use + GFC-Core. + +Package: libgfccore-doc +Section: libdevel +Architecture: any +Description: GTK+ Foundation Classes Core - API reference documentation + GTK+ Foundation Classes (GFC) is a set of integrated C++ foundation classes for + developing GTK+ applications. + . + GFC-Core is a collection of C++ modules that form the core of the GFC library + upon which other modules, such as GFC-UI, are built. + . + GFC-Core modules include a C++ wrapper for GLib, a UTF8 string class, + automatic memory management, a typesafe C++ signal and slots system. + . + This package provides the documentation of the GFC-Core API. --- gfccore-2.3.1.orig/debian/libgfccore-2.0-0-dbg.install +++ gfccore-2.3.1/debian/libgfccore-2.0-0-dbg.install @@ -0,0 +1 @@ +debian/tmp//usr/lib/debug/usr/lib/libgfccore-2.0.so.* --- gfccore-2.3.1.orig/debian/rules +++ gfccore-2.3.1/debian/rules @@ -0,0 +1,62 @@ +#!/usr/bin/make -f +# Copyright 2004 Goedson Teixeira Paixao +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2, or (at +# your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA +# 02111-1307 USA. + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk + +DEB_DH_STRIP_ARGS := --dbg-package=libgfccore-2.0-0 +DEB_CONFIGURE_EXTRA_FLAGS := --enable-static --enable-shared + + + +# Use dpatch to apply patches +include /usr/share/dpatch/dpatch.make +post-patches:: patch +clean:: unpatch + +install/libgfccore-doc:: + mkdir -p debian/libgfccore-doc/usr/share/doc/libgfccore-doc/ + cp -rf docs/reference debian/libgfccore-doc/usr/share/doc/libgfccore-doc/ + + + + + + + + + + + + + + + + + + + + + + + + + + + --- gfccore-2.3.1.orig/debian/libgfccore-2.0-0c2a.install +++ gfccore-2.3.1/debian/libgfccore-2.0-0c2a.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/libgfccore-2.0.so.* --- gfccore-2.3.1.orig/debian/libgfccore-2.0-0c2a-dbg.install +++ gfccore-2.3.1/debian/libgfccore-2.0-0c2a-dbg.install @@ -0,0 +1 @@ +debian/tmp//usr/lib/debug/usr/lib/libgfccore-2.0.so.*