summaryrefslogtreecommitdiff
path: root/app-text/catdoc/files
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-text/catdoc/files
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.xz
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-text/catdoc/files')
-rw-r--r--app-text/catdoc/files/catdoc-0.94.2+autoconf-2.63.patch12
-rw-r--r--app-text/catdoc/files/catdoc-0.94.2-flags.patch35
-rw-r--r--app-text/catdoc/files/catdoc-0.94.4-desktop.patch11
-rw-r--r--app-text/catdoc/files/catdoc-0.94.4-destdir.patch17
4 files changed, 75 insertions, 0 deletions
diff --git a/app-text/catdoc/files/catdoc-0.94.2+autoconf-2.63.patch b/app-text/catdoc/files/catdoc-0.94.2+autoconf-2.63.patch
new file mode 100644
index 00000000000..7fc70d33fd9
--- /dev/null
+++ b/app-text/catdoc/files/catdoc-0.94.2+autoconf-2.63.patch
@@ -0,0 +1,12 @@
+Index: catdoc-0.94.2/configure.in
+===================================================================
+--- catdoc-0.94.2.orig/configure.in
++++ catdoc-0.94.2/configure.in
+@@ -119,6 +119,6 @@ AC_SUBST(charsetcheck)
+ AC_SUBST(installroot)
+ AC_SUBST(catdoc_version)
+ AC_SUBST(CFLAGS)
+-AC_SUBST(WORDS_BIGENDIAN DEFS)
++AC_SUBST(DEFS)
+ AC_CONFIG_HEADER(src/config.h)
+ AC_OUTPUT(doc/Makefile charsets/Makefile src/Makefile Makefile doc/catdoc.1 doc/xls2csv.1 doc/wordview.1 doc/catppt.1)
diff --git a/app-text/catdoc/files/catdoc-0.94.2-flags.patch b/app-text/catdoc/files/catdoc-0.94.2-flags.patch
new file mode 100644
index 00000000000..eb4e7e469e9
--- /dev/null
+++ b/app-text/catdoc/files/catdoc-0.94.2-flags.patch
@@ -0,0 +1,35 @@
+Index: catdoc-0.94.2/configure.in
+===================================================================
+--- catdoc-0.94.2.orig/configure.in
++++ catdoc-0.94.2/configure.in
+@@ -100,10 +100,6 @@ AC_C_CONST
+ dnl Checks for library functions.
+ AC_FUNC_SETVBUF_REVERSED
+
+-if test "$GCC" = "yes"; then
+- CFLAGS="-g -O2 -Wall"
+-fi
+-
+ AC_DEFINE_UNQUOTED([SOURCE_CHARSET],"$sourcecharset",[Character encoding used by default for 8-bit source files])
+ AC_DEFINE_UNQUOTED([TARGET_CHARSET],"$targetcharset",[Output character encoding used by default, if impossible to determine encoding from locale])
+ AC_DEFINE_UNQUOTED([SPEC_EXT],"$specsuffix",[Suffix for files with special symbols map (ones to be replaced regardless of availability in target encoding)])
+Index: catdoc-0.94.2/src/Makefile.in
+===================================================================
+--- catdoc-0.94.2.orig/src/Makefile.in
++++ catdoc-0.94.2/src/Makefile.in
+@@ -74,12 +74,12 @@ OBJPPT=catppt.o pptparse.o $(COMMONOBJ)
+ # $(CC) -c $(CFLAGS) $*
+ all: @buildtargets@
+ catdoc: $(OBJ)
+- $(CC) -o catdoc $(OBJ)
++ $(CC) $(LDFLAGS) -o catdoc $(OBJ)
+ xls2csv: $(OBJXLS)
+- $(CC) -o xls2csv $(OBJXLS) -lm
++ $(CC) $(LDFLAGS) -o xls2csv $(OBJXLS) -lm
+
+ catppt: $(OBJPPT)
+- $(CC) -o catppt $(OBJPPT) -lm
++ $(CC) $(LDFLAGS) -o catppt $(OBJPPT) -lm
+
+ install: @installtargets@
+ install-catdoc:catdoc xls2csv catppt
diff --git a/app-text/catdoc/files/catdoc-0.94.4-desktop.patch b/app-text/catdoc/files/catdoc-0.94.4-desktop.patch
new file mode 100644
index 00000000000..f92792293ce
--- /dev/null
+++ b/app-text/catdoc/files/catdoc-0.94.4-desktop.patch
@@ -0,0 +1,11 @@
+--- catdoc-0.94.4/desktop/wordview.desktop
++++ catdoc-0.94.4/desktop/wordview.desktop
+@@ -2,7 +2,7 @@
+ Name=Wordview Microsoft doc Viewer
+ Comment=Microsoft doc document file viewer
+ Exec=wordview
+-Icon=wordview.xpm
++Icon=wordview
+ Terminal=false
+ Categories=Office;GNOME;
+ Type=Application
diff --git a/app-text/catdoc/files/catdoc-0.94.4-destdir.patch b/app-text/catdoc/files/catdoc-0.94.4-destdir.patch
new file mode 100644
index 00000000000..9e6ac0986b2
--- /dev/null
+++ b/app-text/catdoc/files/catdoc-0.94.4-destdir.patch
@@ -0,0 +1,17 @@
+--- catdoc-0.94.4/desktop/Makefile.in
++++ catdoc-0.94.4/desktop/Makefile.in
+@@ -20,10 +20,10 @@
+ clean:
+
+ install: all
+- ../mkinstalldirs $(prefix)$(desktopdir)
+- ../mkinstalldirs $(prefix)$(iconsdir)
+- $(INSTALL) -m 644 wordview.desktop $(prefix)$(desktopdir)/wordview.desktop
+- $(INSTALL) -m 644 wordview.xpm $(prefix)$(iconsdir)/wordview.xpm
++ ../mkinstalldirs $(installroot)$(prefix)$(desktopdir)
++ ../mkinstalldirs $(installroot)$(prefix)$(iconsdir)
++ $(INSTALL) -m 644 wordview.desktop $(installroot)$(prefix)$(desktopdir)/wordview.desktop
++ $(INSTALL) -m 644 wordview.xpm $(installroot)$(prefix)$(iconsdir)/wordview.xpm
+
+ distclean: clean
+ rm Makefile