debian/0000755000000000000000000000000012263240273007167 5ustar debian/source/0000755000000000000000000000000012263240006010461 5ustar debian/source/format0000644000000000000000000000001412263240006011667 0ustar 3.0 (quilt) debian/menu0000644000000000000000000000026612263240006010054 0ustar ?package(mensis):needs="X11" section="Applications/Graphics"\ title="Mensis" longtitle="Editor for some TrueType/OpenType font tables" \ command="/usr/bin/mensis" hints="Fonts" debian/watch0000644000000000000000000000020712263240006010211 0ustar version=3 opts=filenamemangle=s/.*\/([^\/]*)\/download/$1/,uversionmangle=s/^/0.0./ \ http://sf.net/mensis/mensis_full-(.+)\.tar\.bz2 debian/patches/0000755000000000000000000000000012263240006010610 5ustar debian/patches/series0000644000000000000000000000025212263240006012024 0ustar 005_x_www_browser.diff 007_mensis_kill_rpatch_on_binaries.diff 008_libgif.diff 009_libtool_modes.diff 010_libtool_shell.diff 011_add_freetype_link.diff add_DESTDIR.patch debian/patches/007_mensis_kill_rpatch_on_binaries.diff0000644000000000000000000000053312263240006020253 0ustar Index: Makefile.in =================================================================== --- mensis-0.0.080507.orig/Makefile.in +++ mensis-0.0.080507/Makefile.in @@ -32,7 +32,7 @@ CPPFLAGS = @CPPFLAGS@ LDFLAGS = @LDFLAGS@ -LIBS = -rpath $(libdir) $(X_LIBS) @GLIBS@ \ +LIBS = $(X_LIBS) @GLIBS@ \ $(X_PRE_LIBS) $(X_EXTRA_LIBS) @LIBS@ -lm debian/patches/add_DESTDIR.patch0000644000000000000000000000203312263240006013535 0ustar --- mensis-0.0.080507/Makefile.in 2014-01-08 12:42:08.000000000 +0900 +++ /tmp/Makefile.in 2014-01-08 12:43:34.206004064 +0900 @@ -60,18 +60,18 @@ install: $(sharedir) all # You may need to be root to do the install - mkdir -p $(bindir) - mkdir -p $(mandir)/man1 - mkdir -p $(sharedir) - $(LIBTOOL) --mode=install $(INSTALL) -c mensis $(bindir) - $(LIBTOOL) --mode=finish $(bindir) - cp mensis-*.ui $(sharedir) - cp $(srcdir)/mensis.1 $(mandir)/man1 + mkdir -p $(DESTDIR)/$(bindir) + mkdir -p $(DESTDIR)/$(mandir)/man1 + mkdir -p $(DESTDIR)/$(sharedir) + $(LIBTOOL) --mode=install $(INSTALL) -c mensis $(DESTDIR)/$(bindir) + $(LIBTOOL) --mode=finish $(DESTDIR)/$(bindir) + cp mensis-*.ui $(DESTDIR)/$(sharedir) + cp $(srcdir)/mensis.1 $(DESTDIR)/$(mandir)/man1 uninstall: - -rm $(bindir)/mensis - -rm $(sharedir)/mensis-*.ui - -rm $(mandir)/man1/mensis.1 + -rm $(DESTDIR)/$(bindir)/mensis + -rm $(DESTDIR)/$(sharedir)/mensis-*.ui + -rm $(DESTDIR)/$(mandir)/man1/mensis.1 $(sharedir): - mkdir -p $(sharedir) + mkdir -p $(DESTDIR)/$(sharedir) debian/patches/005_x_www_browser.diff0000644000000000000000000000104712263240006014746 0ustar Index: uiutil.c =================================================================== --- mensis-0.0.080507.orig/uiutil.c +++ mensis-0.0.080507/uiutil.c @@ -274,8 +274,8 @@ "iexplore.exe", /*"lynx.exe",*/ #else - static char *stdbrowsers[] = { "mozilla", "opera", "galeon", "kfmclient", - "netscape", "mosaic", /*"grail",*/ "lynx", + static char *stdbrowsers[] = { "x-www-browser", "htmlview", "firefox", "mozilla", "konqueror", + "opera", "galeon", "kfmclient", "netscape", "mosaic", /*"grail",*/ "lynx", #endif NULL }; int i; debian/patches/009_libtool_modes.diff0000644000000000000000000000600012263240006014661 0ustar Fix the compilation when libtool version > 1.9b This patch by Arne Götje . Index: mensis-0.0.080507/Makefile.in =================================================================== --- mensis-0.0.080507.orig/Makefile.in +++ mensis-0.0.080507/Makefile.in @@ -39,12 +39,14 @@ all: mensis-en.ui mensis mensis: $(mensis_OBJECTS) - $(LIBTOOL) $(CC) -o mensis $(mensis_OBJECTS) stamp.c $(LIBS) + $(LIBTOOL) --mode=compile $(CC) -c stamp.c + $(LIBTOOL) --mode=link $(CC) -o mensis $(mensis_OBJECTS) stamp.lo $(LIBS) #this makes all the .ui files but wildcarding doesn't work too well if the # files don't exist. nomen.h mensis-ui.c mensis-en.ui: $(srcdir)/nomen-*.c makenomenh.c - $(LIBTOOL) $(CC) -o makenomenh $(CFLAGS) $(srcdir)/makenomenh.c $(LIBS) + $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c $(srcdir)/makenomenh.c + $(LIBTOOL) --mode=link $(CC) -o makenomenh $(CFLAGS) $(srcdir)/makenomenh.lo $(LIBS) -ln -s $(srcdir)/nomen-*.c . ./makenomenh mensis Mensis mv mensis-ui-en.c mensis-ui.c @@ -60,7 +62,8 @@ mkdir -p $(bindir) mkdir -p $(mandir)/man1 mkdir -p $(sharedir) - $(LIBTOOL) $(INSTALL) -c mensis $(bindir) + $(LIBTOOL) --mode=install $(INSTALL) -c mensis $(bindir) + $(LIBTOOL) --mode=finish $(bindir) cp mensis-*.ui $(sharedir) cp $(srcdir)/mensis.1 $(mandir)/man1 Index: mensis-0.0.080507/Makefile.dynamic.in =================================================================== --- mensis-0.0.080507.orig/Makefile.dynamic.in +++ mensis-0.0.080507/Makefile.dynamic.in @@ -37,12 +37,14 @@ all: mensis-en.ui mensis mensis: $(mensis_OBJECTS) - $(LIBTOOL) $(CC) -o mensis $(mensis_OBJECTS) stamp.c $(LIBS) + $(LIBTOOL) --mode=compile $(CC) -c stamp.c + $(LIBTOOL) --mode=link $(CC) -o mensis $(mensis_OBJECTS) stamp.lo $(LIBS) #this makes all the .ui files but wildcarding doesn't work too well if the # files don't exist. nomen.h mensis-ui.c mensis-en.ui: $(srcdir)/nomen-*.c makenomenh.c - $(LIBTOOL) $(CC) -o makenomenh $(CFLAGS) $(srcdir)/makenomenh.c $(LIBS) + $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c $(srcdir)/makenomenh.c + $(LIBTOOL) --mode=link $(CC) -o makenomenh $(CFLAGS) $(srcdir)/makenomenh.lo $(LIBS) -ln -s $(srcdir)/nomen-*.c . ./makenomenh mensis Mensis mv mensis-ui-en.c mensis-ui.c @@ -58,7 +60,8 @@ mkdir -p $(bindir) mkdir -p $(mandir)/man1 mkdir -p $(sharedir) - $(LIBTOOL) $(INSTALL) -c mensis $(bindir) + $(LIBTOOL) --mode=install $(INSTALL) -c mensis $(bindir) + $(LIBTOOL) --mode=finish $(bindir) cp mensis-*.ui $(sharedir) cp $(srcdir)/mensis.1 $(mandir)/man1 Index: mensis-0.0.080507/Makefile.static.in =================================================================== --- mensis-0.0.080507.orig/Makefile.static.in +++ mensis-0.0.080507/Makefile.static.in @@ -47,7 +47,8 @@ mkdir -p $(bindir) mkdir -p $(mandir)/man1 mkdir -p $(sharedir) - $(LIBTOOL) $(INSTALL) -c mensis $(bindir) + $(LIBTOOL) --mode=install $(INSTALL) -c mensis $(bindir) + $(LIBTOOL) --mode=finish $(bindir) cp mensis-*.ui $(sharedir) cp $(srcdir)/mensis.1 $(mandir)/man1 debian/patches/011_add_freetype_link.diff0000644000000000000000000000077012263240006015477 0ustar Description: mensis uses symbols from freetype, but doesn't add the necessary libraries to the linker command. Author: Andreas Moog Bug-Debian: http://bugs.debian.org/555596 --- mensis-0.0.080507.orig/Makefile.in +++ mensis-0.0.080507/Makefile.in @@ -34,7 +34,7 @@ CPPFLAGS = @CPPFLAGS@ LDFLAGS = @LDFLAGS@ LIBS = $(X_LIBS) @GLIBS@ \ - $(X_PRE_LIBS) $(X_EXTRA_LIBS) @LIBS@ -lgif -lm + $(X_PRE_LIBS) $(X_EXTRA_LIBS) @LIBS@ -lgif -lm -lfreetype all: mensis-en.ui mensis debian/patches/010_libtool_shell.diff0000644000000000000000000000167012263240006014661 0ustar Description: Substitute SHELL in Makefiles so that LIBTOOL expands correctly Author: Colin Watson Bug-Ubuntu: https://bugs.launchpad.net/bugs/832774 Forwarded: no Last-Update: 2011-09-15 Index: b/Makefile.dynamic.in =================================================================== --- a/Makefile.dynamic.in +++ b/Makefile.dynamic.in @@ -9,6 +9,7 @@ bindir = @bindir@ libdir = @libdir@ +SHELL = @SHELL@ LIBTOOL = @LIBTOOL@ CC = @CC@ INSTALL = @INSTALL@ Index: b/Makefile.in =================================================================== --- a/Makefile.in +++ b/Makefile.in @@ -10,6 +10,7 @@ srcdir = @srcdir@ top_builddir = . +SHELL = @SHELL@ CC = @CC@ INSTALL = @INSTALL@ LIBTOOL = @LIBTOOL@ Index: b/Makefile.static.in =================================================================== --- a/Makefile.static.in +++ b/Makefile.static.in @@ -1,3 +1,4 @@ +SHELL = @SHELL@ CC = @CC@ X_CFLAGS = @X_CFLAGS@ debian/patches/008_libgif.diff0000644000000000000000000000164612263240006013274 0ustar Add -lgif when linking. This patch from the Ubuntu package by Matthias Klose . Index: mensis-0.0.080507/Makefile.dynamic.in =================================================================== --- mensis-0.0.080507.orig/Makefile.dynamic.in +++ mensis-0.0.080507/Makefile.dynamic.in @@ -32,8 +32,7 @@ LDFLAGS = @LDFLAGS@ LIBS = -L../libs -rpath $(libdir) $(X_LIBS) -lgdraw -lgutils -lgunicode \ - $(X_PRE_LIBS) -lX11 $(X_EXTRA_LIBS) @LIBS@ -lm - + $(X_PRE_LIBS) -lX11 $(X_EXTRA_LIBS) @LIBS@ -lgif -lm all: mensis-en.ui mensis Index: mensis-0.0.080507/Makefile.in =================================================================== --- mensis-0.0.080507.orig/Makefile.in +++ mensis-0.0.080507/Makefile.in @@ -33,7 +33,7 @@ LDFLAGS = @LDFLAGS@ LIBS = $(X_LIBS) @GLIBS@ \ - $(X_PRE_LIBS) $(X_EXTRA_LIBS) @LIBS@ -lm + $(X_PRE_LIBS) $(X_EXTRA_LIBS) @LIBS@ -lgif -lm all: mensis-en.ui mensis debian/copyright0000644000000000000000000000342112263240006011114 0ustar This package was debianized by Kęstutis Biliūnas on Tue, 09 Sep 2008 07:41:10 +0300. It was downloaded from http://mensis.sourceforge.net/ Upstream Author: George Williams Copyright: © 2000-2008 by George Williams Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. The Debian packaging is (C) 2008, Debian Fonts Task Force and is licensed under the GPL, see `/usr/share/common-licenses/GPL-2'. debian/compat0000644000000000000000000000000212263240006010357 0ustar 9 debian/rules0000755000000000000000000000147012263240006010243 0ustar #!/usr/bin/make -f # -*- makefile -*- #export DH_VERBOSE=1 # These are used for cross-compiling and for saving the configure script # from having to guess our platform (since we know it already) DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE)) CROSS= --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) else CROSS= --build $(DEB_BUILD_GNU_TYPE) endif export DEB_BUILD_MAINT_OPTIONS := hardening=+all CONFIG_OPT=--prefix=/usr \ --with-regular-link \ --includedir=/usr/include/fontforge %: dh $@ --with autotools-dev,autoreconf override_dh_autoreconf: aclocal dh_autoreconf override_dh_auto_configure: $(CURDIR)/configure $(CROSS) $(CONFIG_OPT) debian/source.lintian-overrides0000644000000000000000000000006012263240006014035 0ustar mensis source: ancient-libtool ltmain.sh 1.4.2 debian/README.source0000644000000000000000000000350712263240006011345 0ustar Editing and creating patches ============================ To start, you should be in the source package directory (this is the directory that contains the debian/ directory) and run: debian/rules untar Editing an existing patch ------------------------- Run: quilt push yourpatchname.diff Make your edits now, directly in the source tree. If you're editing a file that wasn't previously included in the patch, you must let quilt know you're doing it by using: quilt add filename or quilt edit filename If you're not sure if you need this, you can run "quilt files" to see if your file is already in there, or "quilt patches filename" to see if the current patch edits the specified file. Once you're done editing, run: quilt refresh -p1 to update your patch. This will create a unified diff patch with a strip number of 1. You can then go in to the patches directory and document your patch by adding a description of it to the top of the patch file. It is very advisable always to document the changes you have made in the header of the patch. Creating a new patch -------------------- Decide where your patch belongs according to the number series. Once you do this, run: quilt push patch-before-yours where "patch-before-yours" specifies the filename of the patch that will be the last one applied before your new patch. Then run: quilt new patchname using the name of the patch (including the appropriate number). Then, as described above in the case of editing existing patches, you'll want to be sure quilt knows which files you are editing. Run: quilt add filename Now make your edits to the source files, directly in the source tree. When you are finished, run: quilt refresh -p1 Once you're all done with patch creation/editing, run: debian/rules clean to get rid of the things that had to be set up. debian/changelog0000644000000000000000000000437112263240006011040 0ustar mensis (0.0.080507-4) unstable; urgency=medium * Team upload [ Hideki Yamane ] * debian/patches/ - 011_add_freetype_link.diff: + add -lfreetype to link libraries to fix a FTBFS due to indirect linking (Closes: #555596) Thanks to Andreas Moog - add_DESTDIR.patch: upstream Makefile doesn't specify $(DESTDIR) * debian/control - remove Kęstutis Biliūnas from Uploaders Thanks for your past work (Closes: #704975) - remove quilt from Build-Depends since it is already source format 3.0 (quilt) - remove deprecated "Dm-Upload-Allowed: yes" field - update to Standards-Version: 3.9.5 - move vcs from svn to git - change Build-Depends: + add dh-autoreconf + remove unnecessary automake, autoconf and libtool due to above change + update debhelper (>= 9) + remove unnecessary bzip2 * debian/rules - enable hardening - make it DH7-sytle - exec aclocal before dh_autoreconf due to avoid libtool version mismatch - simplify configure option, just set --prefix=/usr * debian/compat - set 9 [ Christian Perrier ] * debian/control - set section as "fonts" -- Hideki Yamane Wed, 8 Jan 2014 11:43:00 +0900 mensis (0.0.080507-3) unstable; urgency=low [ Davide Viti ] * debian/watch: workaround broken Sourceforge redirector [ Colin Watson ] * Substitute SHELL in Makefiles so that LIBTOOL expands correctly (LP: #832774). Closes: #641713 [ Christian Perrier ] * Move to "3.0 (quilt)" source format * Add ${misc:Depends} to binary package description * Bump standards to 3.9.2 * Add build-arch and build-indep targets in debian/rules * Rewrite Davide's workaround for debian/watch..:-) -- Christian Perrier Sun, 18 Sep 2011 18:51:24 +0200 mensis (0.0.080507-2) unstable; urgency=low * debian/control: - changed section to the new fonts section; - bumped Standards-Version to 3.8.1. No changes required. -- Kęstutis Biliūnas Tue, 21 Apr 2009 08:27:24 +0300 mensis (0.0.080507-1) experimental; urgency=low * Initial release (Closes: #499367). -- Kęstutis Biliūnas Sat, 28 Feb 2009 19:09:45 +0200 debian/control0000644000000000000000000000155312263240006010570 0ustar Source: mensis Section: fonts Priority: optional Maintainer: Debian Fonts Task Force Uploaders: Christian Perrier , Davide Viti Build-Depends: debhelper (>= 9), autotools-dev, dh-autoreconf, libfontforge-dev, libgif-dev, libfreetype6-dev, libxt-dev Standards-Version: 3.9.5 Homepage: http://mensis.sourceforge.net/ Vcs-git: git://anonscm.debian.org/pkg-fonts/mensis.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-fonts/mensis.git;a=summary Package: mensis Architecture: any Section: fonts Depends: ${shlibs:Depends}, ${misc:Depends} Description: Editor for some TrueType/OpenType font tables This program allows you to examine and modify some of the tables in a TrueType or OpenType font.