Commit 6919abb2 authored by Yavor Doganov's avatar Yavor Doganov

Move .gorm files to /usr/share.

parent b02e65cb
......@@ -2,7 +2,8 @@ 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.
......@@ -24,6 +25,7 @@ wrapperfactory.app (0.1.0-5) UNRELEASED; urgency=medium
* 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
......
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
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment