...
 
Commits (3)
wrapperfactory.app (0.1.0-5) UNRELEASED; urgency=medium wrapperfactory.app (0.1.0-5) unstable; urgency=medium
* debian/compat: Bump to 11. * debian/compat: Bump to 11.
* debian/rules: Rewrite for modern dh. Don't include dpatch.make. * debian/rules: Rewrite for modern dh. Don't include dpatch.make.
...@@ -10,6 +10,7 @@ wrapperfactory.app (0.1.0-5) UNRELEASED; urgency=medium ...@@ -10,6 +10,7 @@ wrapperfactory.app (0.1.0-5) UNRELEASED; urgency=medium
(Depends): Remove ${gnustep:Depends}; obsolete. (Depends): Remove ${gnustep:Depends}; obsolete.
(Vcs-Arch): Replace with Vcs-Git. (Vcs-Arch): Replace with Vcs-Git.
(Vcs-Browser): New field. (Vcs-Browser): New field.
(Standards-Version): Claim compliance with 4.1.4 as of this release.
* debian/source/format: Set to 3.0 (quilt). * debian/source/format: Set to 3.0 (quilt).
* debian/patches/00list: Rename as... * debian/patches/00list: Rename as...
* debian/patches/series: ...and update. * debian/patches/series: ...and update.
...@@ -26,8 +27,9 @@ wrapperfactory.app (0.1.0-5) UNRELEASED; urgency=medium ...@@ -26,8 +27,9 @@ wrapperfactory.app (0.1.0-5) UNRELEASED; urgency=medium
/usr/share. Add Keywords key. /usr/share. Add Keywords key.
* debian/watch: Replace with a dummy one as upstream's site is gone. * debian/watch: Replace with a dummy one as upstream's site is gone.
* debian/maintscript: New; handle the move from dir to symlink. * debian/maintscript: New; handle the move from dir to symlink.
* debian/copyright: Rewrite in format 1.0.
-- Yavor Doganov <yavor@gnu.org> Thu, 10 May 2018 09:01:30 +0300 -- Yavor Doganov <yavor@gnu.org> Thu, 10 May 2018 22:12:39 +0300
wrapperfactory.app (0.1.0-4) unstable; urgency=low wrapperfactory.app (0.1.0-4) unstable; urgency=low
......
...@@ -8,7 +8,7 @@ Build-Depends: ...@@ -8,7 +8,7 @@ Build-Depends:
debhelper (>= 11), debhelper (>= 11),
gnustep-make (>= 2.7.0-3), gnustep-make (>= 2.7.0-3),
libgnustep-gui-dev, libgnustep-gui-dev,
Standards-Version: 3.8.4 Standards-Version: 4.1.4
Vcs-Git: https://salsa.debian.org/gnustep-team/wrapperfactory.app.git Vcs-Git: https://salsa.debian.org/gnustep-team/wrapperfactory.app.git
Vcs-Browser: https://salsa.debian.org/gnustep-team/wrapperfactory.app Vcs-Browser: https://salsa.debian.org/gnustep-team/wrapperfactory.app
......
This package was debianized by Gürkan Sengün <gurkan@linuks.mine.nu> on Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Wed, 8 Dec 2004 01:00:10 +0100.
Files: *
It was downloaded from ftp://ftp.raffael.ch/software/GNUstepWrapper/ Copyright: 2003-2004 Raffael Herzog
License: GPL-2+
Upstream Author: Raffael Herzog <herzog@raffael.ch>
Files: debian/*
Copyright Holder: (C) 2004 Raffael Herzog <herzog@raffael.ch> Copyright: 2004-2018 Debian GNUstep maintainers
License: GPL-2+
License:
License: GPL-2+
This package is free software; you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or the Free Software Foundation; either version 2 of the License, or (at
(at your option) any later version. your option) any later version.
.
This package is distributed in the hope that it will be useful, This package is distributed in the hope that it will be useful, but
but WITHOUT ANY WARRANTY; without even the implied warranty of WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
GNU General Public License for more details. General Public License for more details.
.
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with this package; if not, write to the Free Software along with this package; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
.
On Debian systems, the complete text of the GNU General On Debian systems, the complete text of the GNU General Public
Public License can be found in `/usr/share/common-licenses/GPL'. License version 2 can be found in `/usr/share/common-licenses/GPL-2'.
...@@ -158,28 +158,34 @@ Last-Update: 2018-05-10 ...@@ -158,28 +158,34 @@ Last-Update: 2018-05-10
@implementation AppFileWrapper @implementation AppFileWrapper
- (void)dealloc - (void)dealloc
@@ -824,12 +857,15 @@ @@ -824,17 +857,19 @@
- (NSFileWrapper *)saveWrapper - (NSFileWrapper *)saveWrapper
{ {
- -
- NSString *flattenedString = [[[NSProcessInfo processInfo] environment] objectForKey: @"GNUSTEP_FLATTENED"]; - NSString *flattenedString = [[[NSProcessInfo processInfo] environment] objectForKey: @"GNUSTEP_FLATTENED"];
- BOOL flattened;
+ /* Try to obtain GNUSTEP_IS_FLATTENED from the environment, in + /* Try to obtain GNUSTEP_IS_FLATTENED from the environment, in
+ * case GNUSTEP_SH_EXPORT_ALL_VARIABLES is defined. Resort to the + * case GNUSTEP_SH_EXPORT_ALL_VARIABLES is defined. Resort to the
+ * slower method if it's not exported. */ + * slower method if it's not exported. */
+ NSString *flattenedString = [[[NSProcessInfo processInfo] environment] objectForKey: @"GNUSTEP_IS_FLATTENED"]; + NSString *flattenedString = [[[NSProcessInfo processInfo] environment] objectForKey: @"GNUSTEP_IS_FLATTENED"];
+ BOOL flattened = NO; BOOL flattened;
if ( flattenedString == nil ) { if ( flattenedString == nil ) {
- NSLog(@"GNUSTEP_FLATTENED not set"); - NSLog(@"GNUSTEP_FLATTENED not set");
- flattened = NO; - flattened = NO;
- }
- else {
- flattened = [flattenedString isEqualToString: @"yes"];
+ flattenedString = getVar(@"GNUSTEP_IS_FLATTENED"); + flattenedString = getVar(@"GNUSTEP_IS_FLATTENED");
+ if ( [flattenedString isEqualToString: @""] ) + if ( [flattenedString isEqualToString: @""] )
+ NSLog(@"GNUSTEP_IS_FLATTENED not set"); + NSLog(@"GNUSTEP_IS_FLATTENED not set");
} }
else {
flattened = [flattenedString isEqualToString: @"yes"]; + flattened = [flattenedString isEqualToString: @"yes"];
@@ -954,6 +990,13 @@ +
//NSSize iconSize = NSMakeSize(48, 48);
NSData *data;
NSDictionary *dict;
@@ -954,6 +989,13 @@
[environment objectForKey: @"LIBRARY_COMBO"], [environment objectForKey: @"LIBRARY_COMBO"],
nil]; nil];
......