--- wrapperfactory.app-0.1.0.orig/debian/docs
+++ wrapperfactory.app-0.1.0/debian/docs
@@ -0,0 +1,2 @@
+README
+TODO
--- wrapperfactory.app-0.1.0.orig/debian/WrapperFactory.1
+++ wrapperfactory.app-0.1.0/debian/WrapperFactory.1
@@ -0,0 +1,19 @@
+.TH WRAPPERFACTORY 1 "December  8, 2004"
+.SH NAME
+WrapperFactory \- Application wrappers configuration tool
+.SH SYNOPSIS
+.B WrapperFactory
+.SH DESCRIPTION
+This manual page documents briefly the
+.B WrapperFactory
+command.
+This manual page was written for the Debian distribution
+because the original program does not have a manual page.
+.PP
+\fBWrapperFactory\fP provides an easy way to create GNUstep app-wrappers of non-GNUstep  applications. It is the most useful in conjunction with GWorkspace  environment.
+.SH SEE ALSO
+.BR GNUstep (7).
+.br
+.SH AUTHOR
+This manual page was written by G\[:u]rkan Seng\[:u]n <gurkan@linuks.mine.nu>,
+for the Debian project (but may be used by others).
--- wrapperfactory.app-0.1.0.orig/debian/copyright
+++ wrapperfactory.app-0.1.0/debian/copyright
@@ -0,0 +1,27 @@
+This package was debianized by Gürkan Sengün <gurkan@linuks.mine.nu> on
+Wed,  8 Dec 2004 01:00:10 +0100.
+
+It was downloaded from ftp://ftp.raffael.ch/software/GNUstepWrapper/
+
+Upstream Author: Raffael Herzog <herzog@raffael.ch>
+
+Copyright Holder: (C) 2004 Raffael Herzog <herzog@raffael.ch>
+
+License:
+
+   This package 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 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 General Public License for more details.
+
+   You should have received a copy of the GNU 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 General
+Public License can be found in `/usr/share/common-licenses/GPL'.
--- wrapperfactory.app-0.1.0.orig/debian/README.source
+++ wrapperfactory.app-0.1.0/debian/README.source
@@ -0,0 +1,8 @@
+This package uses dpatch (in a fairly standard/straightforward way) to
+manage all modifications to the upstrean source.  Please see
+
+  /usr/share/doc/dpatch/README.source.gz
+
+for further instructions.
+
+ -- Yavor Doganov <yavor@gnu.org>, Tue,  8 Jun 2010 17:23:38 +0300
--- wrapperfactory.app-0.1.0.orig/debian/menu
+++ wrapperfactory.app-0.1.0/debian/menu
@@ -0,0 +1,5 @@
+?package(wrapperfactory.app):needs="X11" \
+  section="Applications/System/Administration" \
+  title="WrapperFactory" command="/usr/bin/WrapperFactory" \
+  icon="/usr/share/pixmaps/WrapperFactory.xpm" \
+  longtitle="Graphical editor for app wrappers for GNUstep"
--- wrapperfactory.app-0.1.0.orig/debian/WrapperFactory.desktop
+++ wrapperfactory.app-0.1.0/debian/WrapperFactory.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Name=WrapperFactory
+Name[bg]=WrapperFactory
+Comment=Graphically create Unix application wrappers for GNUstep
+Comment[bg]=Графично създаване на стартери за GNUstep
+Type=Application
+Version=1.0
+Categories=System;FileTools;
+Icon=/usr/lib/GNUstep/Applications/WrapperFactory.app/Resources/WrapperFactory.tiff
+Exec=WrapperFactory
--- wrapperfactory.app-0.1.0.orig/debian/changelog
+++ wrapperfactory.app-0.1.0/debian/changelog
@@ -0,0 +1,94 @@
+wrapperfactory.app (0.1.0-4) unstable; urgency=low
+
+  * debian/compat: Set to 7.
+  * debian/control (Section): Change to `gnustep'.
+    (Build-Depends): Require debhelper >= 7, unversion libgnustep-gui-dev.
+    (Depends): Add ${misc:Depends} and ${gnustep:Depends}.
+    (Vcs-Arch): New field.
+    (Standards-Version): Claim compliance with 3.8.4 as of this release.
+  * debian/rules: Include /usr/share/GNUstep/debian/config.mk, export
+    GNUSTEP_MAKEFILES and avoid gs_make usage.
+    (LDFLAGS): Add -Wl,-rpath,/usr/lib/wrapperfactory.app.
+    (d_app): Define and use (for convenience).
+    (OPTFLAG): No longer define; rework noopt handling to be compatible
+    with gnustep-make/2.4.x (Closes: #581989).
+    (install): Replace dh_clean -k with dh_prep.  Don't install the
+    lintian override file.  Install libGSWrapper as a private library
+    under /usr/lib/wrappefactory.app.  Delete usr/bin/GSWrapper_Launcher;
+    should not be there as it's not supposed to be started manually.
+    (binary-arch): Conditionally move arch-independent image files to
+    /usr/share/GNUstep.  Explicitly install the app's manpage.
+  * debian/README.source:
+  * debian/source/format:
+  * debian/watch: New file.
+  * debian/lintian-override:
+  * debian/manpages:
+  * debian/GSWrapper_Launcher.1: Delete.
+  * debian/WrapperFactory.desktop: Make it valid.
+
+ -- Yavor Doganov <yavor@gnu.org>  Tue, 08 Jun 2010 20:59:40 +0300
+
+wrapperfactory.app (0.1.0-3) unstable; urgency=low
+
+  * debian/control (Maintainer): Adopting package; set to the GNUstep team
+    (Closes: #449514).
+    (Uploaders): Add myself.
+    (Build-Depends): Bump debhelper to (>= 5), replace
+    libgnustep-gui0.10-dev with libgnustep-gui-dev (>= 0.12) (Closes:
+    #447449).  Drop gnustep-make.  Add dpatch and imagemagick.
+    (Standards-Version): Set to 3.7.2 (no changes needed).
+  * debian/compat: Bump to 5.
+  * debian/copyright: Add the GPL blurb.
+  * debian/dirs: Deleted.
+  * debian/docs: Drop NEWS, not useful.
+  * debian/GSWrapper_Launcher.1: New manpage.
+  * debian/manpages: Added GSWrapper_Launcher.
+  * debian/rules: Include /usr/share/dpatch/dpatch.make.
+    (CFLAGS): Do not define.
+    (LDFLAGS): Define.
+    (OPTFLAG): Define only conditionally based on the value of
+    DEB_BUILD_OPTIONS.
+    (configure, configure-stamp): Delete these targets, not needed.
+    (build): Depend on the `patch' target.
+    (build-stamp): Do not source GNUstep.sh; honor OPTFLAG and LDFLAGS.
+    Convert the icon to XPM format.  Do not depend on the
+    `configure-stamp' target.
+    (clean): Renamed to `clean-patched'; depend on it and `unpatch'.
+    (clean-patched): Do not delete configure-stamp.  Delete the XPM icon.
+    Use gs_make instead of $(MAKE).
+    (install): Do not invoke dh_installdirs.  Use gs_make and
+    GNUSTEP_INSTALLATION_DOMAIN.  Remove the invalid .desktop file and
+    install ours; install the XPM icon as well.  Install the lintian
+    override here.
+    (binary-arch): Do not invoke dh_installexamples.  Do not create
+    symlink for the app wrapper.  Uncomment dh_makeshlibs invocation.
+    (.PHONY): Remove configure.
+  * debian/menu (section): Changed to
+    `Applications/System/Administration'.
+    (icon, longtitle): Added.
+  * debian/WrapperFactory.desktop: New file.
+  * debian/patches/05_objdir.dpatch: New; objects' directories are always
+    `obj' as of GNUstep Make 2.0.
+  * debian/patches/10_libGSWrapper_libobjc.dpatch: New; link against
+    libobjc to avoid undefined symbols.
+  * debian/patches/00list: Create.
+  * debian/lintian-override: Ignore more lintian warnings; libGSWrapper is
+    not a public library: non-dev-pkg-with-shlib-symlink,
+    no-shlibs-control-file, postinst-must-call-ldconfig,
+    postrm-should-call-ldconfig, package-name-doesnt-match-sonames.
+
+ -- Yavor Doganov <yavor@gnu.org>  Sat, 24 Nov 2007 22:24:15 +0200
+
+wrapperfactory.app (0.1.0-2) unstable; urgency=low
+
+  * Bump standards version.
+  * Build-depends update for libgnustep-gui0.10-dev. (closes: #352377)
+  * Update manpage.
+
+ -- Gürkan Sengün <gurkan@linuks.mine.nu>  Thu, 16 Mar 2006 11:15:39 +0100
+
+wrapperfactory.app (0.1.0-1) unstable; urgency=low
+
+  * Initial Release. (closes: #285689)
+
+ -- Gürkan Sengün <gurkan@linuks.mine.nu>  Wed,  8 Dec 2004 01:00:10 +0100
--- wrapperfactory.app-0.1.0.orig/debian/compat
+++ wrapperfactory.app-0.1.0/debian/compat
@@ -0,0 +1 @@
+7
--- wrapperfactory.app-0.1.0.orig/debian/watch
+++ wrapperfactory.app-0.1.0/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://raffael.ch/software/legacy/GNUstepWrapper/GNUstepWrapper-(.*)\.tar\.gz
--- wrapperfactory.app-0.1.0.orig/debian/rules
+++ wrapperfactory.app-0.1.0/debian/rules
@@ -0,0 +1,85 @@
+#!/usr/bin/make -f
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+include /usr/share/dpatch/dpatch.make
+include /usr/share/GNUstep/debian/config.mk
+
+export GNUSTEP_MAKEFILES := $(GS_MAKE_DIR)
+d_app := $(CURDIR)/debian/wrapperfactory.app
+# Make sure there are no undefined symbols and avoid unnecessary
+# dependencies.
+LDFLAGS := -Wl,-z,defs -Wl,--as-needed -Wl,-rpath,/usr/lib/wrapperfactory.app
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+optim := debug=yes
+endif
+
+build: patch build-stamp
+
+build-stamp: 
+	dh_testdir
+	$(MAKE) $(optim) LDFLAGS="$(LDFLAGS)" messages=yes
+	convert WrapperFactory/Icons/WrapperFactory.tiff \
+	  -resize 32x32 WrapperFactory.xpm
+	touch $@
+
+clean: clean-patched unpatch
+
+clean-patched:
+	dh_testdir
+	dh_testroot
+	$(MAKE) distclean
+	dh_clean build-stamp WrapperFactory.xpm
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_prep
+# Install libGSWrapper as a private library.
+	$(MAKE) install DESTDIR=$(d_app) GNUSTEP_INSTALLATION_DOMAIN=SYSTEM \
+	  GNUSTEP_SYSTEM_LIBRARIES=/usr/lib/wrapperfactory.app
+# Remove invalid .desktop file and install ours.
+	rm $(d_app)$(GNUSTEP_SYSTEM_APPS)/*.app/Resources/*.desktop
+	install -D -m 644 debian/WrapperFactory.desktop \
+	  $(d_app)/usr/share/applications/WrapperFactory.desktop
+# Install the XPM icon.
+	install -D -m 644 WrapperFactory.xpm \
+	  $(d_app)/usr/share/pixmaps/WrapperFactory.xpm
+# Remove the helper tool; it's in the app bundle.
+	rm $(d_app)/usr/bin/GSWrapper_Launcher
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs
+	dh_installdocs
+	dh_installmenu
+	dh_installman debian/WrapperFactory.1
+ifeq ($(GS_USE_FHS),yes)
+	gsdh_gnustep
+	dh_installdirs usr/share/GNUstep/WrapperFactory.app
+# Move the images only; the helper tool must be in Resources, and it's
+# arch-dependent so we can't symlink the whole directory.
+	for i in $(d_app)$(GNUSTEP_SYSTEM_APPS)/WrapperFactory.app/Resources/*.tiff; do \
+	  mv $$i $(d_app)/usr/share/GNUstep/WrapperFactory.app/ \
+	  && dh_link usr/share/GNUstep/WrapperFactory.app/`basename $$i` \
+	  $(GNUSTEP_SYSTEM_APPS)/WrapperFactory.app/Resources/`basename $$i`; \
+        done
+endif
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
--- wrapperfactory.app-0.1.0.orig/debian/control
+++ wrapperfactory.app-0.1.0/debian/control
@@ -0,0 +1,22 @@
+Source: wrapperfactory.app
+Section: gnustep
+Priority: optional
+Maintainer: Debian GNUstep maintainers <pkg-gnustep-maintainers@lists.alioth.debian.org>
+Uploaders: Yavor Doganov <yavor@gnu.org>
+Build-Depends: debhelper (>= 7),
+	       dpatch,
+	       libgnustep-gui-dev,
+	       imagemagick
+Standards-Version: 3.8.4
+Vcs-Arch: http://arch.debian.org/arch/pkg-gnustep/gnustep/wrapperfactory-app--debian--1.0
+
+Package: wrapperfactory.app
+Architecture: any
+Depends: ${shlibs:Depends},
+	 ${misc:Depends},
+	 ${gnustep:Depends}
+Recommends: gworkspace.app
+Description: Application wrappers configuration tool for GNUstep
+ This provides an easy way to create GNUstep app-wrappers of non-GNUstep
+ applications. It is the most useful in conjunction with GWorkspace
+ environment.
--- wrapperfactory.app-0.1.0.orig/debian/source/format
+++ wrapperfactory.app-0.1.0/debian/source/format
@@ -0,0 +1 @@
+1.0
--- wrapperfactory.app-0.1.0.orig/debian/patches/00list
+++ wrapperfactory.app-0.1.0/debian/patches/00list
@@ -0,0 +1,2 @@
+05_objdir
+10_libGSWrapper_libobjc
--- wrapperfactory.app-0.1.0.orig/debian/patches/05_objdir.dpatch
+++ wrapperfactory.app-0.1.0/debian/patches/05_objdir.dpatch
@@ -0,0 +1,24 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 05_objdir.dpatch by Yavor Doganov <yavor@gnu.org>
+##
+## DP: Objects' directories are always `obj' as of GNUstep Make 2.0.
+
+@DPATCH@
+diff -urNad wrapperfactory.app-0.1.0~/Directories.make wrapperfactory.app-0.1.0/Directories.make
+--- wrapperfactory.app-0.1.0~/Directories.make	2004-08-09 19:30:51.000000000 +0300
++++ wrapperfactory.app-0.1.0/Directories.make	2007-11-18 13:13:33.000000000 +0200
+@@ -19,13 +19,8 @@
+ # $Id: Directories.make 103 2004-08-09 16:30:51Z rherzog $
+ # $HeadURL: file:///home/rherzog/Subversion/GNUstep/GSWrapper/tags/release-0.1.0/Directories.make $
+ 
+-ifeq ($(debug),yes)
+-APP_DIR=WrapperFactory.debug
+-OBJ_BASE_DIR=shared_debug_obj
+-else
+ APP_DIR=WrapperFactory.app
+-OBJ_BASE_DIR=shared_obj
+-endif
++OBJ_BASE_DIR=obj
+ 
+ ARCH_DIR=$(GNUSTEP_TARGET_CPU)/$(GNUSTEP_TARGET_OS)/$(LIBRARY_COMBO)
+ ifneq ($(GNUSTEP_FLATTENED),yes)
--- wrapperfactory.app-0.1.0.orig/debian/patches/10_libGSWrapper_libobjc.dpatch
+++ wrapperfactory.app-0.1.0/debian/patches/10_libGSWrapper_libobjc.dpatch
@@ -0,0 +1,18 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 10_libGSWrapper_libobjc.dpatch by Yavor Doganov <yavor@gnu.org>
+##
+## DP: Link with libobjc and use standard GNUstep Make variables.
+
+@DPATCH@
+diff -urNad wrapperfactory.app-0.1.0~/libGSWrapper/GNUmakefile wrapperfactory.app-0.1.0/libGSWrapper/GNUmakefile
+--- wrapperfactory.app-0.1.0~/libGSWrapper/GNUmakefile	2004-08-09 16:30:51.000000000 +0000
++++ wrapperfactory.app-0.1.0/libGSWrapper/GNUmakefile	2007-11-25 11:13:14.000000000 +0000
+@@ -29,7 +29,7 @@
+ 	NSApplication+SuppressAppIcon.m \
+ 	NSApplication+AppName.m \
+ 
+-libGSWrapper_LIBRARIES_DEPEND_UPON = -lgnustep-base -lgnustep-gui
++libGSWrapper_LIBRARIES_DEPEND_UPON = $(FND_LIBS) $(GUI_LIBS) $(OBJC_LIBS)
+ 
+ ifeq ($(GSWrapper_Development),yes)
+ include ../GNUmakefile.development
