...
 
Commits (5)
......@@ -6,5 +6,6 @@ Comment[bg]=Графично създаване на стартери за GNUst
Type=Application
Version=1.0
Categories=System;FileTools;
Icon=/usr/lib/GNUstep/Applications/WrapperFactory.app/Resources/WrapperFactory.tiff
Keywords=wrapper;app-wrapper;starter;launcher;
Icon=/usr/share/GNUstep/WrapperFactory.app/WrapperFactory.tiff
Exec=WrapperFactory
......@@ -2,22 +2,30 @@ wrapperfactory.app (0.1.0-5) UNRELEASED; urgency=medium
* debian/compat: Bump to 11.
* debian/rules: Rewrite for modern dh. Don't include dpatch.make.
Don't generate/install the .xpm icon. Enable all hardening.
Don't generate/install the .xpm icon. Enable all hardening. Move the
.gorm files to /usr/share as well.
* debian/control: Run wrap-and-sort -ast.
(Build-Depends): Remove dpatch and imagemagick. Bump debhelper to
>= 11. Require gnustep-make >= 2.7.0-3 for noopt support.
(Depends): Remove ${gnustep:Depends}; obsolete.
(Vcs-Arch): Replace with Vcs-Git.
(Vcs-Browser): New field.
* debian/source/format: Set to 3.0 (quilt).
* debian/patches/00list: Rename as...
* debian/patches/series: ...
* debian/patches/series: ...and update.
* debian/patches/05_objdir.dpatch: Delete, no longer necessary.
* debian/patches/10_libGSWrapper_libobjc.dpatch: Rename as...
* debian/patches/link-libs.patch: ...and quiltify.
* debian/patches/make-v2-strict.patch: New; fix FTBFS with gnustep-make
in strict v2 mode, adapt code to a v2 environment (Closes: #897620).
* debian/patches/gcc-warnings.patch: New; fix some GCC warnings.
* debian/README.source: Delete; useless.
* debian/menu: Delete as per policy requirement.
* debian/manpages: New file.
* debian/WrapperFactory.desktop: Set Icon to the actual file in
/usr/share. Add Keywords key.
* debian/watch: Replace with a dummy one as upstream's site is gone.
* debian/maintscript: New; handle the move from dir to symlink.
-- Yavor Doganov <yavor@gnu.org> Thu, 10 May 2018 09:01:30 +0300
......
......@@ -9,7 +9,8 @@ Build-Depends:
gnustep-make (>= 2.7.0-3),
libgnustep-gui-dev,
Standards-Version: 3.8.4
Vcs-Arch: http://arch.debian.org/arch/pkg-gnustep/gnustep/wrapperfactory-app--debian--1.0
Vcs-Git: https://salsa.debian.org/gnustep-team/wrapperfactory.app.git
Vcs-Browser: https://salsa.debian.org/gnustep-team/wrapperfactory.app
Package: wrapperfactory.app
Architecture: any
......
dir_to_symlink /usr/lib/GNUstep/Applications/WrapperFactory.app/Resources/English.lproj /usr/share/GNUstep/WrapperFactory.app/English.lproj 0.1.0-5~ wrapperfactory.app
Description: Fix some compilation warnings.
- method possibly missing a [super dealloc] call
- conflicting types for ‘-(void)controlTextDidChange:(NSNotification *)not’
- ‘FreedesktopApplicationType’ defined but not used [-Wunused-variable]
Author: Yavor Doganov <yavor@gnu.org>
Forwarded: no
Last-Update 2018-05-10
---
--- wrapperfactory.app.orig/WrapperFactory/Icon.m
+++ wrapperfactory.app/WrapperFactory/Icon.m
@@ -36,6 +36,7 @@
- (void)dealloc
{
TEST_AUTORELEASE(image);
+ [super dealloc];
}
--- wrapperfactory.app.orig/WrapperFactory/ServicesProvider.m
+++ wrapperfactory.app/WrapperFactory/ServicesProvider.m
@@ -26,11 +26,6 @@
@implementation ServicesProvider
-- (void) dealloc
-{
- NSLog(@"ServicesProvider dealloced");
-}
-
- (void) createWrapperForExecutable: (NSPasteboard *)pboard
userData: (NSString *)userData
error: (NSString **)error
--- wrapperfactory.app.orig/WrapperFactory/TypesController.m
+++ wrapperfactory.app/WrapperFactory/TypesController.m
@@ -59,6 +59,7 @@
- (void)dealloc
{
TEST_RELEASE(emptyBox);
+ [super dealloc];
}
- (void)awakeFromNib
--- wrapperfactory.app.orig/WrapperFactory/WrapperDocument.m
+++ wrapperfactory.app/WrapperFactory/WrapperDocument.m
@@ -42,7 +42,9 @@
static NSString *emptyString = @"";
static NSString *launcherName = @"GSWrapper_Launcher";
+#ifdef FREEDESKTOP
static NSString *FreedesktopApplicationType = @"Freedesktop Application";
+#endif
static NSString *actionRunScript = @"RunScript";
static NSString *actionFail = @"Fail";
@@ -120,6 +122,7 @@
TEST_RELEASE(script);
TEST_RELEASE(executable);
TEST_RELEASE(executablePath);
+ [super dealloc];
}
- (void)setFlattened: (BOOL)f
@@ -262,6 +265,7 @@
- (void)dealloc
{
RELEASE(types);
+ [super dealloc];
}
- (BOOL)loadFileWrapperRepresentation: (NSFileWrapper *)file
--- wrapperfactory.app.orig/WrapperFactory/WrapperDocumentController.h
+++ wrapperfactory.app/WrapperFactory/WrapperDocumentController.h
@@ -69,7 +69,7 @@
* delegate methods
*/
-- (void)controlTextDidChange: (id)sender;
+- (void)controlTextDidChange: (NSNotification *)not;
- (void)iconViewDidChangeIcon: (NSNotification *)not;
/*
link-libs.patch
make-v2-strict.patch
gcc-warnings.patch
......@@ -35,6 +35,12 @@ override_dh_link:
&& dh_link usr/share/GNUstep/WrapperFactory.app/`basename $$i` \
$(GNUSTEP_SYSTEM_APPS)/WrapperFactory.app/Resources/`basename $$i`; \
done
# Now move the .gorm files to /usr/share. Should be done in a loop as
# above if more translations are added in the future.
mv $(d_app)$(GNUSTEP_SYSTEM_APPS)/*.app/Resources/English.lproj \
$(d_app)/usr/share/GNUstep/WrapperFactory.app
dh_link usr/share/GNUstep/WrapperFactory.app/English.lproj \
$(GNUSTEP_SYSTEM_APPS)/WrapperFactory.app/Resources/English.lproj
override_dh_makeshlibs:
# Avoid lintian warning for the private library.
......
version=3
http://raffael.ch/software/legacy/GNUstepWrapper/GNUstepWrapper-(.*)\.tar\.gz
version=4
opts=dversionmangle=s/.*/0.No-Site/ \
https://people.debian.org/~eriberto/ FakeWatchNoUpstreamSiteForThisPackage-(\d\S+)\.gz