--- gnustep-make-1.10.0.orig/debian/Internals/index.html +++ gnustep-make-1.10.0/debian/Internals/index.html @@ -0,0 +1,66 @@ + + + + + +GNUstep Makefile Package Internals + + + + + + + + + + + + + + + Next: internals +

+ + + +

GNUstep Makefile Package Internals

+
+ +

Nicola Pero n.pero@mi.flashnet.it

+

last days of June 2001 - revised end of July 2001

+
+

+ +  + + + +

+
+root +2003-12-10 +
+ + --- gnustep-make-1.10.0.orig/debian/Internals/internals.html +++ gnustep-make-1.10.0/debian/Internals/internals.html @@ -0,0 +1,66 @@ + + + + + +GNUstep Makefile Package Internals + + + + + + + + + + + + + + + Next: internals +

+ + + +

GNUstep Makefile Package Internals

+
+ +

Nicola Pero n.pero@mi.flashnet.it

+

last days of June 2001 - revised end of July 2001

+
+

+ +  + + + +

+
+root +2003-12-10 +
+ + --- gnustep-make-1.10.0.orig/debian/Internals/node1.html +++ gnustep-make-1.10.0/debian/Internals/node1.html @@ -0,0 +1,45 @@ + + + + + +internals + + + + + + + + + + + + + + + + + + Next: 1 Introduction +Up: GNUstep Makefile Package Internals + Previous: GNUstep Makefile Package Internals +

+ + + +

+


+
+root +2003-12-10 +
+ + --- gnustep-make-1.10.0.orig/debian/Internals/node2.html +++ gnustep-make-1.10.0/debian/Internals/node2.html @@ -0,0 +1,60 @@ + + + + + +1 Introduction + + + + + + + + + + + + + + + + + + Next: 2 From `make' to +Up: GNUstep Makefile Package Internals + Previous: internals +

+ + + +

+1 Introduction +

+This short document attempts to explain simply how the gnustep +makefile package works internally. When I first wrote this document, +the mechanism used to be extremely complex, involving many recursive +make invocations; I have now simplified it so that it involves only a +single recursive make invocation per target/type/operation. As a +result, I hope that the mechanism is now so simple that you can figure +out how it works without reading this document, by just reading the +gnustep-make source code. Anyway, the thing might still not be still +totally trivial at a first approach, so this document might help you +to get familiar with the gnustep-make source code in a shorter time +and with less pain. + +

+


+
+root +2003-12-10 +
+ + --- gnustep-make-1.10.0.orig/debian/Internals/node3.html +++ gnustep-make-1.10.0/debian/Internals/node3.html @@ -0,0 +1,79 @@ + + + + + +2 From `make' to the internal-all rule + + + + + + + + + + + + + + + + + + Next: 3 From the internal-all +Up: GNUstep Makefile Package Internals + Previous: 1 Introduction +

+ + + +

+2 From `make' to the internal-all rule +

+Imagine for example that in your GNUmakefile you include both +tool.make and library.make, as in the following example: +
+include $(GNUSTEP_MAKEFILES)/common.make
+
+TOOL_NAME = decrypt
+decrypt_OBJC_FILES = decrypt.m
+
+LIBRARY_NAME = libDvd
+libDvd_OBJC_FILES = decss.m
+
+include $(GNUSTEP_MAKEFILES)/tool.make
+include $(GNUSTEP_MAKEFILES)/library.make
+
Then you type `make' on the command line. We want to understand what +happens. + +

+Make will process your GNUmakefile, which includes +tool.make, and that will include rules.make. In +rules.make make finds the first rule (the one which is +executed), which is +

+all:: before-all internal-all after-all
+
+This means that make will build by default that target all, +and that building that target requires building the +before-all, internal-all and after-all +targets. We ignore the before-all and after-all +targets for now, and only concentrate on the core target, which is +internal-all. + +

+


+
+root +2003-12-10 +
+ + --- gnustep-make-1.10.0.orig/debian/Internals/node4.html +++ gnustep-make-1.10.0/debian/Internals/node4.html @@ -0,0 +1,85 @@ + + + + + +3 From the internal-all rule to the %.variables rule + + + + + + + + + + + + + + + + + + Next: 4 The %.variables rule +Up: GNUstep Makefile Package Internals + Previous: 2 From `make' to +

+ + + +

+3 From the internal-all rule to the %.variables rule +

+Make needs to build this target internal-all. In +rules.make this target appears as +
+internal-all::
+
+because of the double colons (that is, because it is +internal-all:: rather than internal-all:) this +target can have multiple totally separated rules. Each rule must be a +double colon rule, and is processed separately from the other rules +(even if they refer to the same target). + +

+The real rules for internal-all are included by the specific +makefiles; in our example, tool.make includes +

+internal-all:: $(TOOL_NAME:=.all.tool.variables)
+
now - in our case - because TOOL_NAME is decrypt, then +this rule actually means +
 
+internal-all:: decrypt.all.tool.variables
+
+This means that to build internal-all, make has to build (at +least) the decrypt.all.tool.variables target. +library.make includes the completely analogous rule +
+internal-all:: $(LIBRARY_NAME:=.all.library.variables)
+
which in our case means +
+internal-all:: libDvd.all.library.variables
+
+This rule is completely separated from the other one; to build +internal-all, make has to build the two different targets: +
+decrypt.all.tool.variables
+libDvd.all.library.variables
+
+ +

+


+
+root +2003-12-10 +
+ + --- gnustep-make-1.10.0.orig/debian/Internals/node5.html +++ gnustep-make-1.10.0/debian/Internals/node5.html @@ -0,0 +1,73 @@ + + + + + +4 The %.variables rule - dependencies + + + + + + + + + + + + + + + + + + Next: 5 The %.variables rule +Up: GNUstep Makefile Package Internals + Previous: 3 From the internal-all +

+ + + +

+4 The %.variables rule - dependencies +

+The rule for building these targets is in the rules.make file, +it is the %.variables rule: +
+%.variables: %.tools %.subprojects
+@ \
+target=$(basename $(basename $*)); \
+operation=$(subst .,,$(suffix $(basename $*))); \
+type=$(subst -,_,$(subst .,,$(suffix $*))); \
+echo Making $$operation for $$type $$target...; \
+$(MAKE) -f $(MAKEFILE_NAME) --no-print-directory --no-keep-going \
+  internal-$${type}-$$operation \
+  INTERNAL_$${type}_NAME=$$target \
+  TARGET=$$target \
+  _SUBPROJECTS="$($(basename $(basename $*))_SUBPROJECTS)" \
+  ...
+
This rule matches all targets ending in .variables. First of +all, the rule depends on the corresponding %.tools and +%.subprojects rules. This is because before processing the +target itself, gnustep-make needs to process the related subprojects +and (only for frameworks) the framework tools. We ignore this +complication of subprojects and framework tools for now; if you look +at the %.subprojects and %.tools rules you see +that they do nothing if you are not actually using subprojects or +framework tools in your makefile. + +

+


+
+root +2003-12-10 +
+ + --- gnustep-make-1.10.0.orig/debian/Internals/node6.html +++ gnustep-make-1.10.0/debian/Internals/node6.html @@ -0,0 +1,113 @@ + + + + + +5 The %.variables rule - second make invocation + + + + + + + + + + + + + + + + + + Next: 6 Second make invocation +Up: GNUstep Makefile Package Internals + Previous: 4 The %.variables rule +

+ + + +

+5 The %.variables rule - second make invocation +

+The rule body parses the %.variables string - for example when +the rule is applied to +
+decrypt.all.tool.variables
+
+then (remember that $* is the stem of the rule, +decrypt.all.tool in this case) it extracts +
+target=decrypt
+operation=all
+type=tool
+
+and then it runs a make subprocess, specific to that target, type and +operation. In our case, the %.variables rules is executed +twice, once to build +
+decrypt.all.tool.variables
+
+and once to build +
+libDvd.all.tool.variables
+
+so the result is to run two separate make processes: +
+make internal-tool-all INTERNAL_tool_NAME=decrypt TARGET=decrypt \
+  _SUBPROJECTS="$(decrypt_SUBPROJECTS)" \
+  OBJC_FILES="$(decrypt_OBJC_FILES)" \
+  ...
+make internal-library-all INTERNAL_library_NAME=libDvd TARGET=libDvd \
+  _SUBPROJECTS="$(libDvd_SUBPROJECTS)" \
+  OBJC_FILES="$(libDvs_OBJC_FILES)" \
+  ...
+
+where ... stands for a lot of other variables, including all +variables needed to perform the final stage: OBJC_FILES, +C_FILES, JAVA_FILES, +ADDITIONAL_INCLUDE_DIRS etc. Note that each make +subprocess will get passed different, specific, variables. If +gnustep-make wants to modify these variables in some way, it does it +at this stage, before passing them to the submake process. For +example, some library flags are filtered through the +WHICH_LIB_SCRIPT. + +

+What this means is that for each target/type/operation, a separate +make process is run. For example, if you have two tools, +decrypt and crypt, and you want to both compile and install +them, it will run four make subprocesses: +

+make internal-tool-all INTERNAL_tool_NAME=decrypt ...
+make internal-tool-all INTERNAL_tool_NAME=crypt ...
+make internal-tool-install INTERNAL_tool_NAME=decrypt ...
+make internal-tool-install INTERNAL_tool_NAME=crypt ...
+
+This is the `second make invocation'. The make package knows that it +is being invoked for the second time, because of the +INTERNAL_tool_NAME being non-empty. + +

+


Next: 6 Second make invocation +Up: GNUstep Makefile Package Internals + Previous: 4 The %.variables rule + + +
+root +2003-12-10 +
+ + --- gnustep-make-1.10.0.orig/debian/Internals/node7.html +++ gnustep-make-1.10.0/debian/Internals/node7.html @@ -0,0 +1,59 @@ + + + + + +6 Second make invocation + + + + + + + + + + + + + + + + + + Next: About this document ... +Up: GNUstep Makefile Package Internals + Previous: 5 The %.variables rule +

+ + + +

+6 Second make invocation +

+Because of the INTERNAL_tool_NAME variable being a +non-empty string (while it was empty in the previous top-level +invocation), tool.make will include the actual rules to build +the tool; in particular, the internal-tool-all rule, which is +then executed and builds the tool. All variables such as +OBJC_FILES or the library flags are now available directly +in the makefiles, they have already been prepared and preprocessed, so +that the rules in tool.make can just plainly use these +variables naively to perform their job (compiling, installing, or +whatever). + +

+


+
+root +2003-12-10 +
+ + --- gnustep-make-1.10.0.orig/debian/Internals/node8.html +++ gnustep-make-1.10.0/debian/Internals/node8.html @@ -0,0 +1,60 @@ + + + + + +About this document ... + + + + + + + + + + + + + + + +Up: GNUstep Makefile Package Internals + Previous: 6 Second make invocation +

+ + + +

+About this document ... +

+ +

+Copyright (C) 2000, 2001 Free Software Foundation, Inc. +

+Permission is granted to make and distribute verbatim copies of this +manual provided the copyright notice and this permission notice are +preserved on all copies. +

+Permission is granted to copy and distribute modified versions of this +manual under the conditions for verbatim copying, provided that the +entire resulting derived work is distributed under the terms of a +permission notice identical to this one. +

+Permission is granted to copy and distribute translations of this +manual into another language, under the above conditions for modified +versions. + +


+
+root +2003-12-10 +
+ + --- gnustep-make-1.10.0.orig/debian/Internals/internals.css +++ gnustep-make-1.10.0/debian/Internals/internals.css @@ -0,0 +1,30 @@ +/* Century Schoolbook font is very similar to Computer Modern Math: cmmi */ +.MATH { font-family: "Century Schoolbook", serif; } +.MATH I { font-family: "Century Schoolbook", serif; font-style: italic } +.BOLDMATH { font-family: "Century Schoolbook", serif; font-weight: bold } + +/* implement both fixed-size and relative sizes */ +SMALL.XTINY { font-size : xx-small } +SMALL.TINY { font-size : x-small } +SMALL.SCRIPTSIZE { font-size : smaller } +SMALL.FOOTNOTESIZE { font-size : small } +SMALL.SMALL { } +BIG.LARGE { } +BIG.XLARGE { font-size : large } +BIG.XXLARGE { font-size : x-large } +BIG.HUGE { font-size : larger } +BIG.XHUGE { font-size : xx-large } + +/* heading styles */ +H1 { } +H2 { } +H3 { } +H4 { } +H5 { } + +/* mathematics styles */ +DIV.displaymath { } /* math displays */ +TD.eqno { } /* equation-number cells */ + + +/* document-specific styles come next */ --- gnustep-make-1.10.0.orig/debian/control +++ gnustep-make-1.10.0/debian/control @@ -0,0 +1,34 @@ +Source: gnustep-make +Section: libs +Priority: optional +Maintainer: Debian GNUstep maintainers +Uploaders: Matthias Klose , Eric Heintzmann +Standards-Version: 3.6.1.1 +Build-Depends: debhelper (>> 4.2), gobjc (>= 4:3.3), tar (>= 1.13.93-4) +Build-Depends-Indep: texinfo, tetex-base (>= 2.0.2), tetex-bin, tetex-extra, texi2html + +Package: gnustep-make +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Suggests: gnustep-make-doc (= ${Source-Version}), gnustep-base1 +Conflicts: gnustep-base1 (<< 1.7.3), gnustep-base-examples (<< 1.7.3) +Description: Basic GNUstep Scripts and Makefiles + This package contains the basic scripts, makefiles and directory layout + needed to run and compile any GNUstep software. + +Package: gnustep-make-ogo +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Suggests: gnustep-make-doc (= ${Source-Version}) +Description: Basic GNUstep Scripts and Makefiles for OpenGroupware.org + This package contains the basic scripts, makefiles and directory layout + needed to run and compile OpenGroupware.org, a free and open groupware + suite. + +Package: gnustep-make-doc +Section: doc +Architecture: all +Conflicts: gnustep-make (<< 1.7.3), gnustep-base-examples (<< 1.7.3) +Description: Documentation for GNUstep-make + This package contains text, HTML and PDF documentation for the + GNUstep-make package. --- gnustep-make-1.10.0.orig/debian/prerm.in +++ gnustep-make-1.10.0/debian/prerm.in @@ -0,0 +1,49 @@ +#! /bin/sh +# prerm script for gnustep-make +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `upgrade' +# * `failed-upgrade' +# * `remove' `in-favour' +# * `deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + +gs_root=@GSROOT@ + +remove_local_links() +{ + rm -f $gs_root/Local || true + rm -f $gs_root/Network || true +} + +case "$1" in + remove|upgrade|deconfigure) + remove_local_links + ;; + failed-upgrade) + ;; + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +if [ -L $gs_root/System/Makefiles ]; then + rm -f $gs_root/System/Makefiles >/dev/null 2>&1 +fi + + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- gnustep-make-1.10.0.orig/debian/README.Debian +++ gnustep-make-1.10.0/debian/README.Debian @@ -0,0 +1,134 @@ + + GNUstep for Debian GNU/Linux + ---------------------------- + +This is GNUstep, packaged for Debian GNU/Linux. + +GNUstep is a free implementation of the OpenStep specification by NeXT. +OpenStep is the foundation of Apple's new Mac OS X GUI API. +The full OpenStep specification can be found at : + + http://www.gnustep.org/resources/OpenStepSpec/OpenStepSpec.html + + +Debian specific +--------------- + +GNUstep has its own directory layout concept. The Debian GNUstep packages +are set up to populate a tree /usr/lib/GNUstep. Debian's layout for +System, Local and Network is: + + GNUSTEP_SYSTEM_ROOT /usr/lib/GNUstep/System + GNUSTEP_LOCAL_ROOT /usr/local/lib/GNUstep/Local + GNUSTEP_NETWORK_ROOT /usr/local/lib/GNUstep/Network + +The exact layout is described in /usr/share/doc/gnustep-make/DESIGN.gz. +See also the GNUstep Filesystem Hierarchy Document available at : + + http://www.gnustep.org/resources/documentation/filesystem.ps + + +To run GNUstep applications or to develop for GNUstep using the GNUstep +Makefiles package, you'll have to set up the environment first. This can +be done by sourcing /usr/lib/GNUstep/System/Makefiles/GNUstep.sh (resp. +GNUstep.csh): + + . /usr/lib/GNUstep/System/Makefiles/GNUstep.sh # (bash users etc.) + source /usr/lib/GNUstep/System/Makefiles/GNUstep.csh # (tcsh users etc.) + +If you're going to run GNUstep applications regularly, you certainly +want to put this in your .bashrc or something. + + +Examples +-------- + +Install gnustep-examples to view some basic test applications : + + openapp Ink.app + +You find the examples in /usr/lib/GNUstep/System/Applications + + +Name server for GNUstep Distributed Objects +------------------------------------------- + +The name server (gdomap) can use several methods for finding other servers. +The Debian default setup disables the broadcast to the local networks +with the option -p. To change the setup, you can edit /etc/init.d/gdomap + +* Reenable the broadcast by removing the -p option. + +* Delimit the broadcast to specific hosts by replacing the -p option + with -c /etc/GNUstep/gdomap_probes (probe specific hosts). + +You can get more information calling `man gdomap', `gdomap -H' and `gdomap -C'. + + +GNUstep Distributed Notification Center +--------------------------------------- + +Every user needs to have his own instance of gdnc running. While gdnc +will be started automatically as soon as it is needed, it is recommended +to start gdnc in a personal login script like ~/.bashrc or ~/.cshrc. + +You can get more information calling `man gdnc'. + + +GNUstep PasteBoard Server +------------------------- + +Every user needs to have his own instance of gpbs running. +While gpbs will be started automatically as soon as it is needed, +it is recommended to start gpbs when your windowing system +or the window manager is started. For example, on systems with X11 +you can launch gpbs from your .xinitrc script or +alternatively - if you are running Window Maker - put it in +Window Maker's autostart script. + +You can get more information calling `man gpbs'. + + +Resources +--------- + +The official web site of the GNUstep project is + + http://www.gnustep.org/ + + +The GNUstep Community Website : + + http://www.gnustep.net/ + + +The GNUstep Wiki Website : + + http://wiki.gnustep.org + + +There's also several GNUstep newsgroups and mailing lists : + + http://www.gnustep.org/information/gethelp.html + + +On a regular basis snapshots of the sources are made and placed online at: + + ftp://ftp.gnustep.org/pub/daily-snapshots/ + + +The source repository of the GNUstep project is available via anonymous CVS. +For instructions, have a look at the GNUstep-HOWTO. +For a first start, look at : + + http://savannah.gnu.org/cvs/?group=gnustep + + + 11/09/98 + Gregor Hoffleit + 05/08/99 + Matthias Klose + 04/04/03 + Eric Heintzmann + 24/09/03 + Eric Heintzmann --- gnustep-make-1.10.0.orig/debian/control.in +++ gnustep-make-1.10.0/debian/control.in @@ -0,0 +1,34 @@ +Source: gnustep-make +Section: libs +Priority: optional +Maintainer: Debian GNUstep maintainers +Uploaders: Matthias Klose , Eric Heintzmann +Standards-Version: 3.6.1.1 +Build-Depends: debhelper (>> 4.2), gobjc (>= V_OBJC), tar (>= 1.13.93-4) +Build-Depends-Indep: texinfo, tetex-base (>= 2.0.2), tetex-bin, tetex-extra, texi2html + +Package: gnustep-make +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Suggests: gnustep-make-doc (= ${Source-Version}), gnustep-base1 +Conflicts: gnustep-base1 (<< 1.7.3), gnustep-base-examples (<< 1.7.3) +Description: Basic GNUstep Scripts and Makefiles + This package contains the basic scripts, makefiles and directory layout + needed to run and compile any GNUstep software. + +Package: gnustep-make-ogo +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Suggests: gnustep-make-doc (= ${Source-Version}) +Description: Basic GNUstep Scripts and Makefiles for OpenGroupware.org + This package contains the basic scripts, makefiles and directory layout + needed to run and compile OpenGroupware.org, a free and open groupware + suite. + +Package: gnustep-make-doc +Section: doc +Architecture: all +Conflicts: gnustep-make (<< 1.7.3), gnustep-base-examples (<< 1.7.3) +Description: Documentation for GNUstep-make + This package contains text, HTML and PDF documentation for the + GNUstep-make package. --- gnustep-make-1.10.0.orig/debian/compat +++ gnustep-make-1.10.0/debian/compat @@ -0,0 +1 @@ +4 --- gnustep-make-1.10.0.orig/debian/gnustep-make-ogo.overrides +++ gnustep-make-1.10.0/debian/gnustep-make-ogo.overrides @@ -0,0 +1,7 @@ +gnustep-make-ogo: unusual-interpreter ./usr/lib/opengroupware.org/System/Library/Makefiles/GNUstep-reset.sh #!/bin/echo +gnustep-make-ogo: csh-script-but-no-c-shell-dep ./usr/lib/opengroupware.org/System/Library/Makefiles/ld_lib_path.csh +gnustep-make-ogo: csh-considered-harmful ./usr/lib/opengroupware.org/System/Library/Makefiles/ld_lib_path.csh +gnustep-make-ogo: unusual-interpreter ./usr/lib/opengroupware.org/System/Library/Makefiles/GNUstep.sh #!/bin/echo +gnustep-make-ogo: unusual-interpreter ./usr/lib/opengroupware.org/System/Library/Makefiles/GNUstep.csh #!/bin/echo +gnustep-make-ogo: script-not-executable ./usr/lib/opengroupware.org/System/Library/Makefiles/java-executable.template +gnustep-make-ogo: script-not-executable ./usr/lib/opengroupware.org/System/Library/Makefiles/executable.template --- gnustep-make-1.10.0.orig/debian/gnustep-make-ogo.postinst +++ gnustep-make-1.10.0/debian/gnustep-make-ogo.postinst @@ -0,0 +1,92 @@ +#! /bin/sh +# postinst script for gnustep-make +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the `postinst' is called with `abort-upgrade', +# `abort-remove' or `abort-deconfigure'. + +gs_root=/usr/lib/opengroupware.org +gs_usrlocal=/usr/local/lib/opengroupware.org +gs_libs=/usr/lib/opengroupware.org/System/Library/Libraries + +setup_local_links() +{ + if [ -e $gs_root/Local ]; then + true + else + ln -s $gs_usrlocal/Local $gs_root/Local + fi + if [ -e $gs_root/Network ]; then + true + else + ln -s $gs_usrlocal/Network $gs_root/Network + fi +} + + +setup_ldconf() +{ + test -f /etc/ld.so.conf || touch /etc/ld.so.conf + grep -v $gs_root /etc/ld.so.conf > /etc/ld.so.conf.new || true + echo "$gs_libs" >> /etc/ld.so.conf.new + if diff /etc/ld.so.conf /etc/ld.so.conf.new >/dev/null 2>&1; then + rm -f /etc/ld.so.conf.new + else + mv -f /etc/ld.so.conf /etc/ld.so.conf.old + mv /etc/ld.so.conf.new /etc/ld.so.conf + fi +} + + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + + +case "$1" in + configure) + setup_local_links + setup_ldconf + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +if [ -d $gs_root/System/Makefiles ]; then + if [ -L $gs_root/System/Makefiles ]; then + true + else + rmdir $gs_root/System/Makefiles >/dev/null 2>&1 \ + || mv -f $gs_root/System/Makefiles \ + $gs_root/System/Makefiles.moved_by_postinst >/dev/null 2>&1 + ln -sf $gs_root/System/Library/Makefiles $gs_root/System/Makefiles + fi +fi + +exit 0 --- gnustep-make-1.10.0.orig/debian/copyright +++ gnustep-make-1.10.0/debian/copyright @@ -0,0 +1,23 @@ +This package was downloaded from +ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-make-X.Y.Z.tar.gz + +Upstream Authors: See the README file. + +Copyright: + + The GNUstep libraries are covered under the GNU Lesser Public +License. This means you can use these libraries in any program (even +non-free programs). If you distribute the libraries along with your +program, you must make the improvements you have made to the libraries +freely available. + + GNUstep tools, test programs, and other files are covered under the +GNU General Public License. The GNU GPL is a free software license, +which requires that all the released improved versions be free software +as well. + + On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL', the complete +text of the GNU Lesser General Public License can be fouund in +`/usr/share/common-licenses/LGPL'. + --- gnustep-make-1.10.0.orig/debian/gnustep-make-ogo.postrm +++ gnustep-make-1.10.0/debian/gnustep-make-ogo.postrm @@ -0,0 +1,48 @@ +#! /bin/sh +# postrm script for gnustep-make +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `purge' +# * `upgrade' +# * `failed-upgrade' +# * `abort-install' +# * `abort-install' +# * `abort-upgrade' +# * `disappear' overwrit>r> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + +gs_root=/usr/lib/opengroupware.org + +grep_ldconfig() +{ + grep -v $gs_root /etc/ld.so.conf > /etc/ld.so.conf.new || true + if diff /etc/ld.so.conf /etc/ld.so.conf.new >/dev/null 2>&1; then + rm -f /etc/ld.so.conf.new + else + mv -f /etc/ld.so.conf /etc/ld.so.conf.old + mv /etc/ld.so.conf.new /etc/ld.so.conf + fi +} + +case "$1" in + purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + grep_ldconfig + + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# --- gnustep-make-1.10.0.orig/debian/gnustep-make.postinst +++ gnustep-make-1.10.0/debian/gnustep-make.postinst @@ -0,0 +1,92 @@ +#! /bin/sh +# postinst script for gnustep-make +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the `postinst' is called with `abort-upgrade', +# `abort-remove' or `abort-deconfigure'. + +gs_root=/usr/lib/GNUstep +gs_usrlocal=/usr/local/lib/GNUstep +gs_libs=/usr/lib/GNUstep/System/Library/Libraries + +setup_local_links() +{ + if [ -e $gs_root/Local ]; then + true + else + ln -s $gs_usrlocal/Local $gs_root/Local + fi + if [ -e $gs_root/Network ]; then + true + else + ln -s $gs_usrlocal/Network $gs_root/Network + fi +} + + +setup_ldconf() +{ + test -f /etc/ld.so.conf || touch /etc/ld.so.conf + grep -v $gs_root /etc/ld.so.conf > /etc/ld.so.conf.new || true + echo "$gs_libs" >> /etc/ld.so.conf.new + if diff /etc/ld.so.conf /etc/ld.so.conf.new >/dev/null 2>&1; then + rm -f /etc/ld.so.conf.new + else + mv -f /etc/ld.so.conf /etc/ld.so.conf.old + mv /etc/ld.so.conf.new /etc/ld.so.conf + fi +} + + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + + +case "$1" in + configure) + setup_local_links + setup_ldconf + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +if [ -d $gs_root/System/Makefiles ]; then + if [ -L $gs_root/System/Makefiles ]; then + true + else + rmdir $gs_root/System/Makefiles >/dev/null 2>&1 \ + || mv -f $gs_root/System/Makefiles \ + $gs_root/System/Makefiles.moved_by_postinst >/dev/null 2>&1 + ln -sf $gs_root/System/Library/Makefiles $gs_root/System/Makefiles + fi +fi + +exit 0 --- gnustep-make-1.10.0.orig/debian/gnustep-make-ogo.prerm +++ gnustep-make-1.10.0/debian/gnustep-make-ogo.prerm @@ -0,0 +1,49 @@ +#! /bin/sh +# prerm script for gnustep-make +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `upgrade' +# * `failed-upgrade' +# * `remove' `in-favour' +# * `deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + +gs_root=/usr/lib/opengroupware.org + +remove_local_links() +{ + rm -f $gs_root/Local || true + rm -f $gs_root/Network || true +} + +case "$1" in + remove|upgrade|deconfigure) + remove_local_links + ;; + failed-upgrade) + ;; + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +if [ -L $gs_root/System/Makefiles ]; then + rm -f $gs_root/System/Makefiles >/dev/null 2>&1 +fi + + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- gnustep-make-1.10.0.orig/debian/gnustep-make.postrm +++ gnustep-make-1.10.0/debian/gnustep-make.postrm @@ -0,0 +1,48 @@ +#! /bin/sh +# postrm script for gnustep-make +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `purge' +# * `upgrade' +# * `failed-upgrade' +# * `abort-install' +# * `abort-install' +# * `abort-upgrade' +# * `disappear' overwrit>r> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + +gs_root=/usr/lib/GNUstep + +grep_ldconfig() +{ + grep -v $gs_root /etc/ld.so.conf > /etc/ld.so.conf.new || true + if diff /etc/ld.so.conf /etc/ld.so.conf.new >/dev/null 2>&1; then + rm -f /etc/ld.so.conf.new + else + mv -f /etc/ld.so.conf /etc/ld.so.conf.old + mv /etc/ld.so.conf.new /etc/ld.so.conf + fi +} + +case "$1" in + purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + grep_ldconfig + + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# --- gnustep-make-1.10.0.orig/debian/gnustep-make.prerm +++ gnustep-make-1.10.0/debian/gnustep-make.prerm @@ -0,0 +1,49 @@ +#! /bin/sh +# prerm script for gnustep-make +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `upgrade' +# * `failed-upgrade' +# * `remove' `in-favour' +# * `deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + +gs_root=/usr/lib/GNUstep + +remove_local_links() +{ + rm -f $gs_root/Local || true + rm -f $gs_root/Network || true +} + +case "$1" in + remove|upgrade|deconfigure) + remove_local_links + ;; + failed-upgrade) + ;; + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +if [ -L $gs_root/System/Makefiles ]; then + rm -f $gs_root/System/Makefiles >/dev/null 2>&1 +fi + + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- gnustep-make-1.10.0.orig/debian/postinst.in +++ gnustep-make-1.10.0/debian/postinst.in @@ -0,0 +1,92 @@ +#! /bin/sh +# postinst script for gnustep-make +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the `postinst' is called with `abort-upgrade', +# `abort-remove' or `abort-deconfigure'. + +gs_root=@GSROOT@ +gs_usrlocal=@GSUSRLOCAL@ +gs_libs=@GSLIBS@ + +setup_local_links() +{ + if [ -e $gs_root/Local ]; then + true + else + ln -s $gs_usrlocal/Local $gs_root/Local + fi + if [ -e $gs_root/Network ]; then + true + else + ln -s $gs_usrlocal/Network $gs_root/Network + fi +} + + +setup_ldconf() +{ + test -f /etc/ld.so.conf || touch /etc/ld.so.conf + grep -v $gs_root /etc/ld.so.conf > /etc/ld.so.conf.new || true + echo "$gs_libs" >> /etc/ld.so.conf.new + if diff /etc/ld.so.conf /etc/ld.so.conf.new >/dev/null 2>&1; then + rm -f /etc/ld.so.conf.new + else + mv -f /etc/ld.so.conf /etc/ld.so.conf.old + mv /etc/ld.so.conf.new /etc/ld.so.conf + fi +} + + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + + +case "$1" in + configure) + setup_local_links + setup_ldconf + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +if [ -d $gs_root/System/Makefiles ]; then + if [ -L $gs_root/System/Makefiles ]; then + true + else + rmdir $gs_root/System/Makefiles >/dev/null 2>&1 \ + || mv -f $gs_root/System/Makefiles \ + $gs_root/System/Makefiles.moved_by_postinst >/dev/null 2>&1 + ln -sf $gs_root/System/Library/Makefiles $gs_root/System/Makefiles + fi +fi + +exit 0 --- gnustep-make-1.10.0.orig/debian/postrm.in +++ gnustep-make-1.10.0/debian/postrm.in @@ -0,0 +1,48 @@ +#! /bin/sh +# postrm script for gnustep-make +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `purge' +# * `upgrade' +# * `failed-upgrade' +# * `abort-install' +# * `abort-install' +# * `abort-upgrade' +# * `disappear' overwrit>r> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + +gs_root=@GSROOT@ + +grep_ldconfig() +{ + grep -v $gs_root /etc/ld.so.conf > /etc/ld.so.conf.new || true + if diff /etc/ld.so.conf /etc/ld.so.conf.new >/dev/null 2>&1; then + rm -f /etc/ld.so.conf.new + else + mv -f /etc/ld.so.conf /etc/ld.so.conf.old + mv /etc/ld.so.conf.new /etc/ld.so.conf + fi +} + +case "$1" in + purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + grep_ldconfig + + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# --- gnustep-make-1.10.0.orig/debian/watch +++ gnustep-make-1.10.0/debian/watch @@ -0,0 +1,7 @@ +# Example watch control file for uscan +# Rename this file to "watch" and then you can run the "uscan" command +# to check for upstream updates and more. +# Site Directory Pattern Version Script +version=2 +ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-make-(.*)\.tar\.gz debian uupdate + --- gnustep-make-1.10.0.orig/debian/gnustep-make.overrides +++ gnustep-make-1.10.0/debian/gnustep-make.overrides @@ -0,0 +1,7 @@ +gnustep-make: unusual-interpreter ./usr/lib/GNUstep/System/Library/Makefiles/GNUstep-reset.sh #!/bin/echo +gnustep-make: csh-script-but-no-c-shell-dep ./usr/lib/GNUstep/System/Library/Makefiles/ld_lib_path.csh +gnustep-make: csh-considered-harmful ./usr/lib/GNUstep/System/Library/Makefiles/ld_lib_path.csh +gnustep-make: unusual-interpreter ./usr/lib/GNUstep/System/Library/Makefiles/GNUstep.sh #!/bin/echo +gnustep-make: unusual-interpreter ./usr/lib/GNUstep/System/Library/Makefiles/GNUstep.csh #!/bin/echo +gnustep-make: script-not-executable ./usr/lib/GNUstep/System/Library/Makefiles/java-executable.template +gnustep-make: script-not-executable ./usr/lib/GNUstep/System/Library/Makefiles/executable.template --- gnustep-make-1.10.0.orig/debian/FILESYSTEM.Changes.Debian +++ gnustep-make-1.10.0/debian/FILESYSTEM.Changes.Debian @@ -0,0 +1,16 @@ + gnustep-make 1.7.1-1 contains a major change in the location of +certain directories and installed files. +If you are upgrading from a prior version, you should update +GNUstep Local root, Network root and User root(s). +To do that, you can use the 'move_obsolete_paths.sh' script. +For example : + +. /usr/lib/GNUstep/System/Library/Makefiles/GNUstep.sh +move_obsolete_paths.sh /usr/local/lib/GNUstep/Local +move_obsolete_paths.sh /usr/local/lib/GNUstep/Network +move_obsolete_paths.sh /home//GNUstep + +For more informations on the new filesystem structure, +see the gnustep-make-doc package or go to : + +http://www.gnustep.org/resources/documentation/filesystem.ps --- gnustep-make-1.10.0.orig/debian/app-wrapper.sh +++ gnustep-make-1.10.0/debian/app-wrapper.sh @@ -0,0 +1,11 @@ +#! /bin/sh + +if [ -z "$GNUSTEP_MAKEFILES" ]; then + . /usr/lib/GNUstep/System/Library/Makefiles/GNUstep.sh +fi + +[ `opentool gdomap -L GDNCServer | grep -c Found` = '0' ] && opentool gdnc +[ `opentool gdomap -L GNUstepGSPasteboardServer | grep -c Found` = '0' ] && opentool gpbs + +app=$(basename "$0") +openapp "$app" "$@" --- gnustep-make-1.10.0.orig/debian/tool-wrapper.sh +++ gnustep-make-1.10.0/debian/tool-wrapper.sh @@ -0,0 +1,8 @@ +#! /bin/sh + +if [ -z "$GNUSTEP_MAKEFILES" ]; then + . /usr/lib/GNUstep/System/Library/Makefiles/GNUstep.sh +fi + +tool=$(basename "$0") +exec "/usr/lib/GNUstep/System/Tools/$tool" "$@" --- gnustep-make-1.10.0.orig/debian/app-wrapper-ogo.sh +++ gnustep-make-1.10.0/debian/app-wrapper-ogo.sh @@ -0,0 +1,8 @@ +#! /bin/sh + +if [ -z "$GNUSTEP_MAKEFILES" ]; then + . /usr/lib/opengroupware.org/System/Library/Makefiles/GNUstep.sh +fi + +app=$(basename "$0") +openapp "$app" "$@" --- gnustep-make-1.10.0.orig/debian/tool-wrapper-ogo.sh +++ gnustep-make-1.10.0/debian/tool-wrapper-ogo.sh @@ -0,0 +1,8 @@ +#! /bin/sh + +if [ -z "$GNUSTEP_MAKEFILES" ]; then + . /usr/lib/opengroupware.org/System/Library/Makefiles/GNUstep.sh +fi + +tool=$(basename "$0") +exec "/usr/lib/opengroupware.org/System/Tools/$tool" "$@" --- gnustep-make-1.10.0.orig/debian/rules +++ gnustep-make-1.10.0/debian/rules @@ -0,0 +1,281 @@ +#! /usr/bin/make -f +# -*- makefile -*- + +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. +# +# Modified to make a template file for a multi-binary package with separated +# build-arch and build-indep targets by Bill Allombert 2001 + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# we're using brace expansion +export SHELL=/bin/bash + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) + +# make some files executable +dummy := $(shell chmod +x config.guess clean_cpu.sh clean_os.sh \ + cpu.sh os.sh configure mkinstalldirs) + +# package names +p_make = gnustep-make +p_make_ogo = $(p_make)-ogo +p_doc = $(p_make)-doc + +# package build dirs +b_make = $(CURDIR)/build-$(p_make) +b_make_ogo = $(CURDIR)/build-$(p_make_ogo) + +# package temp dirs +d_make = $(CURDIR)/debian/$(p_make) +d_make_ogo = $(CURDIR)/debian/$(p_make_ogo) +d_doc = $(CURDIR)/debian/$(p_doc) + +# gcc/gobjc +CC = gcc +V_OBJC = 4:3.3 + +# ----------------------------------------------------------------------------- +# GNUstep SETTINGS + +# Installation dirs +GS_ROOT = usr/lib/GNUstep +GS_USRLOCAL = usr/local/lib/GNUstep +GS_SYSTEM_ROOT = $(GS_ROOT)/System +GS_LOCAL_ROOT = $(GS_USRLOCAL)/Local +GS_NETWORK_ROOT = $(GS_USRLOCAL)/Network +GS_DOC_DIR = $(GS_SYSTEM_ROOT)/Library/Documentation +GS_LIBS_DIR = $(GS_SYSTEM_ROOT)/Library/Libraries + +# Library combo +GS_LIBRARY_COMBO = gnu-gnu-gnu + +# -------------------- +# SETTINGS for OpenGroupware.org + +GS_OGO_ROOT = usr/lib/opengroupware.org +GS_OGO_USRLOCAL = usr/local/lib/opengroupware.org +GS_OGO_SYSTEM_ROOT = $(GS_OGO_ROOT)/System +GS_OGO_LOCAL_ROOT = $(GS_OGO_USRLOCAL)/Local +GS_OGO_NETWORK_ROOT = $(GS_OGO_USRLOCAL)/Network +GS_OGO_DOC_DIR = $(GS_OGO_SYSTEM_ROOT)/Library/Documentation +GS_OGO_LIBS_DIR = $(GS_OGO_SYSTEM_ROOT)/Library/Libraries + +# Library combo for OpenGroupware.org +GS_OGO_LIBRARY_COMBO = gnu-fd-nil + +# ----------------------------------------------------------------------------- + +control-file: + : # Generate debian/control file + sed -e 's/V_OBJC/$(V_OBJC)/g' debian/control.in > debian/control + +$(b_make)/config.status: configure + dh_testdir + + : # Generate postinst file + sed -e 's,@GSROOT@,/$(GS_ROOT),' \ + -e 's,@GSUSRLOCAL@,/$(GS_USRLOCAL),' \ + -e 's,@GSLIBS@,/$(GS_LIBS_DIR),' \ + debian/postinst.in > debian/$(p_make).postinst + + : # Generate prerm file + sed -e 's,@GSROOT@,/$(GS_ROOT),' \ + debian/prerm.in > debian/$(p_make).prerm + + : # Generate postrm file + sed -e 's,@GSROOT@,/$(GS_ROOT),' \ + debian/postrm.in > debian/$(p_make).postrm + + -mkdir $(b_make) + + cd $(b_make) && CC=$(CC) ../configure \ + --prefix=/$(GS_ROOT) \ + --with-local-root=/$(GS_LOCAL_ROOT) \ + --with-network-root=/$(GS_NETWORK_ROOT) \ + --with-library-combo=$(GS_LIBRARY_COMBO) \ + --build=$(DEB_BUILD_GNU_TYPE) \ + --host=$(DEB_HOST_GNU_TYPE) \ + --target=$(DEB_HOST_GNU_TYPE) + +$(b_make_ogo)/config.status: configure + dh_testdir + + : # Generate postinst file + sed -e 's,@GSROOT@,/$(GS_OGO_ROOT),' \ + -e 's,@GSUSRLOCAL@,/$(GS_OGO_USRLOCAL),' \ + -e 's,@GSLIBS@,/$(GS_OGO_LIBS_DIR),' \ + debian/postinst.in > debian/$(p_make_ogo).postinst + + : # Generate prerm file + sed -e 's,@GSROOT@,/$(GS_OGO_ROOT),' \ + debian/prerm.in > debian/$(p_make_ogo).prerm + + : # Generate postrm file + sed -e 's,@GSROOT@,/$(GS_OGO_ROOT),' \ + debian/postrm.in > debian/$(p_make_ogo).postrm + + -mkdir $(b_make_ogo) + + cd $(b_make_ogo) && CC=$(CC) ../configure \ + --prefix=/$(GS_OGO_ROOT) \ + --with-local-root=/$(GS_OGO_LOCAL_ROOT) \ + --with-network-root=/$(GS_OGO_NETWORK_ROOT) \ + --with-library-combo=$(GS_OGO_LIBRARY_COMBO) \ + --build=$(DEB_BUILD_GNU_TYPE) \ + --host=$(DEB_HOST_GNU_TYPE) \ + --target=$(DEB_HOST_GNU_TYPE) + +# NOTE: The Build-Indep-Depends are only available, when building the +# build-indep packages. +build: build-arch # build-indep + +build-arch: build-arch-stamp +build-arch-stamp: $(b_make)/config.status $(b_make_ogo)/config.status + $(MAKE) -C $(b_make) + $(MAKE) -C $(b_make_ogo) + touch build-arch-stamp + +build-indep: build-indep-stamp +build-indep-stamp: $(b_make)/config.status + # Workaround for broken Makefiles + #cp $(b_make)/Documentation/GNUmakefile Documentation + + $(MAKE) -C Documentation + # cd Documentation; htlatex internals.tex + touch build-indep-stamp + +clean: $(b_make)/config.status $(b_make_ogo)/config.status + dh_testdir + dh_testroot + rm -f build-arch-stamp build-indep-stamp + + : # Clean Documentation dir + -$(MAKE) -C Documentation clean + -$(MAKE) -C Documentation distclean + rm -f Documentation/*.{aux,dvi,gz,info,html,log,ps,toc,vr,vrs} + rm -f Documentation/version.texi + rm -f Documentation/{ANNOUNCE,FAQ,GNUstep-HOWTO,INSTALL,NEWS,README} + + : # Clean build dirs + rm -rf $(b_make) $(b_make_ogo) + dh_clean + +install: install-indep install-arch +install-indep: build-indep + dh_testdir + dh_testroot + dh_clean -k -i + dh_installdirs -i \ + usr/share/doc/$(p_make) + + $(MAKE) -C Documentation install \ + GNUSTEP_INSTALLATION_DIR=$(d_doc)/$(GS_SYSTEM_ROOT) + + : # Install Internals doc + dh_install -i debian/Internals $(GS_DOC_DIR)/Developer/Make/Manual + + : # remove postscript doc + -find $(d_doc)/$(GS_DOC_DIR) -name '*.ps' | xargs rm -f + + : # remove info doc + rm -rf $(d_doc)/$(GS_DOC_DIR)/info + + +install-arch: build-arch + dh_testdir + dh_testroot + dh_clean -k -a + dh_installdirs -a + + $(MAKE) -C $(b_make) install special_prefix=$(d_make) + $(MAKE) -C $(b_make_ogo) install special_prefix=$(d_make_ogo) + + : # install wrapper scripts + chmod 755 debian/*.sh + mkdir -p $(d_make)/usr/bin $(d_make_ogo)/usr/bin + cp -p debian/tool-wrapper.sh $(d_make)/usr/bin/gnustep-tool-wrapper + cp -p debian/app-wrapper.sh $(d_make)/usr/bin/gnustep-app-wrapper + cp -p debian/tool-wrapper.sh \ + $(d_make_ogo)/usr/bin/gnustep-ogo-tool-wrapper + cp -p debian/app-wrapper.sh \ + $(d_make_ogo)/usr/bin/gnustep-ogo-app-wrapper + for i in openapp opentool debugapp; do \ + ln -sf gnustep-tool-wrapper $(d_make)/usr/bin/$$i; \ + ln -sf gnustep-ogo-tool-wrapper $(d_make_ogo)/usr/bin/$$i-ogo; \ + done + + : # remove info dir + rmdir $(d_make)/$(GS_DOC_DIR)/info + rmdir $(d_make_ogo)/$(GS_OGO_DOC_DIR)/info + + rm -f $(d_make)/$(GS_SYSTEM_ROOT)/share/config.site + rm -f $(d_make_ogo)/$(GS_OGO_SYSTEM_ROOT)/share/config.site + -rmdir $(d_make)/$(GS_SYSTEM_ROOT)/share + -rmdir $(d_make_ogo)/$(GS_OGO_SYSTEM_ROOT)/share + + : # override lintian warnings + dh_installdirs -p$(p_make) usr/share/lintian/overrides + cp -p debian/$(p_make).overrides \ + $(d_make)/usr/share/lintian/overrides/$(p_make) + dh_installdirs -p$(p_make_ogo) usr/share/lintian/overrides + cp -p debian/$(p_make_ogo).overrides \ + $(d_make_ogo)/usr/share/lintian/overrides/$(p_make_ogo) + + : # according to policy manual 10.1.2 --> postinst/prerm + : # Now use dh_usrlocal debhelper program. + + install -m 755 move_obsolete_paths.sh \ + $(d_make)/$(GS_SYSTEM_ROOT)/Tools + install -m 755 move_obsolete_paths.sh \ + $(d_make_ogo)/$(GS_OGO_SYSTEM_ROOT)/Tools + +# Build architecture independant packages +binary-indep: control-file install-indep + dh_testdir + dh_testroot + dh_installchangelogs -i ChangeLog + dh_installdocs -i ANNOUNCE NEWS README \ + debian/FILESYSTEM.Changes.Debian + dh_link -i \ + $(GS_DOC_DIR)/Developer usr/share/doc/$(p_make)/Developer \ + $(GS_DOC_DIR)/User usr/share/doc/$(p_make)/User \ + usr/share/doc/$(p_make)/Developer usr/share/doc/$(p_doc)/Developer \ + usr/share/doc/$(p_make)/User usr/share/doc/$(p_doc)/User \ + usr/share/doc/$(p_make)/User/GNUstep/FAQ usr/share/doc/$(p_make)/FAQ \ + usr/share/doc/$(p_make)/FAQ usr/share/doc/$(p_doc)/FAQ +# dh_installinfo -i + dh_usrlocal -i + dh_compress -i + dh_fixperms -i + dh_installdeb -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +# Build architecture dependant packages +binary-arch: control-file install-arch + dh_testdir + dh_testroot + dh_installchangelogs -a ChangeLog + dh_installdocs -a ANNOUNCE NEWS README debian/FILESYSTEM.Changes.Debian + dh_installman -p$(p_make) \ + Documentation/GNUstep.7 Documentation/openapp.1 + + dh_usrlocal -a + dh_strip -a + dh_compress -a + dh_fixperms -a + dh_installdeb -a + dh_shlibdeps -a + dh_gencontrol -a + dh_md5sums -a + dh_builddeb -a + +binary: binary-arch binary-indep +.PHONY: control-file build clean binary-indep binary-arch binary install install-indep install-arch --- gnustep-make-1.10.0.orig/debian/changelog +++ gnustep-make-1.10.0/debian/changelog @@ -0,0 +1,358 @@ +gnustep-make (1.10.0-4) unstable; urgency=low + + * Add missing spaces in gnustep-app-wrapper. + + -- Eric Heintzmann Sat, 20 Nov 2004 15:22:58 +0100 + +gnustep-make (1.10.0-3) unstable; urgency=low + + * Upload in unstable. + * 1.10.0-4 + + -- Eric Heintzmann Sat, 20 Nov 2004 15:22:52 +0100 + +gnustep-make (1.10.0-2) experimental; urgency=low + + * Upload in experimental. + + -- Eric Heintzmann Sat, 30 Oct 2004 17:51:49 +0200 + +gnustep-make (1.10.0-1) unstable; urgency=low + + * New upstream release. + * debian/app-wrapper.sh: + start gdnc and gpbs if needed. + * Bump Standards-Version up to 3.6.1.1. + + -- Eric Heintzmann Mon, 25 Oct 2004 20:00:55 +0200 + +gnustep-make (1.9.2-2) unstable; urgency=medium + + * Add wrapper scripts gnustep-app-wrapper and gnustep-tool-wrapper. + Provide wrappers for openapp, opentool, debugapp (closes: #256153). + + -- Matthias Klose Fri, 25 Jun 2004 20:16:44 +0200 + +gnustep-make (1.9.2-1) unstable; urgency=low + + * New upstream release. + * Change Debian GNUstep maintainers e-mail: + use pkg-gnustep-maintainers@lists.alioth.debian.org. + + -- Eric Heintzmann Sat, 12 Jun 2004 23:48:05 +0200 + +gnustep-make (1.9.1-2) unstable; urgency=low + + * Acknowledge NMU (closes: #240280). + + -- Eric Heintzmann Mon, 29 Mar 2004 19:45:12 +0200 + +gnustep-make (1.9.1-1.1) unstable; urgency=low + + * NMU. Fix postinst, patch in bts. Closes: #240280 + + -- LaMont Jones Mon, 29 Mar 2004 09:32:12 -0700 + +gnustep-make (1.9.1-1) unstable; urgency=low + + * New upstream release. + + -- Eric Heintzmann Sun, 14 Mar 2004 00:12:51 +0100 + +gnustep-make (1.9.0-2) unstable; urgency=low + + * New gnustep-make-ogo package needed by OpenGroupware.org. + ( Thanks to Sebastian Ley ) + * Apply Sebastian Ley's patch on GNUMakefile.in. + * Use Instance/framework.make from CVS. + * Use dh_usrlocal in debian/rules. + * Build-depends on tar (>= 1.13.92-4) to avoid Bug #230910. + + -- Eric Heintzmann Sun, 1 Feb 2004 22:18:04 +0100 + +gnustep-make (1.9.0-1) unstable; urgency=low + + * New upstream release. + * Do not use latex2html anymore (closes: #221324). + + -- Eric Heintzmann Wed, 10 Dec 2003 18:41:28 +0100 + +gnustep-make (1.8.0-2) unstable; urgency=medium + + * Fix typo in postinst script (closes: #214833).Thanks to Robert Bamler. + + -- Eric Heintzmann Thu, 9 Oct 2003 14:22:44 +0200 + +gnustep-make (1.8.0-1) unstable; urgency=low + + * New upstream release. + * debian/rules : update V_OBJC (3:3.3-1 -> 4:3.3.1). + * Update README.Debian. + + -- Eric Heintzmann Tue, 30 Sep 2003 01:52:27 +0200 + +gnustep-make (1.7.3-1) unstable; urgency=low + + * New upstream release. + * New Co-Maintainer. + * Udate to Standards-Version 3.6.1. + * Udate Suggests and Conflicts fields : + replace gnustep-* 1.7.0 by 1.7.3 to avoid imcompatibilities. + * Install new openapp manpage. + + -- Eric Heintzmann Tue, 26 Aug 2003 00:30:55 +0200 + +gnustep-make (1.7.2-1) unstable; urgency=low + + * New upstream release. + * Update debian/rules to use flattened directory structure : + - remove GS_HOST, GS_CPU, GS_OS, GS_LIB_DIR, GS_COMBO_DIR variables. + - rename @GSCOMBODIR@ to @GSLIBRARIES@. + * Update debian/postinst.in to use flattened directory structure : + - replace combodir and libdir variables by libraries_dir variable. + - rename @GSCOMBODIR@ in @GSLIBRARIES@. + * Install new GNUstep.7 manpage. + + -- Eric Heintzmann Wed, 23 Jul 2003 22:00:21 +0200 + +gnustep-make (1.7.1-3) unstable; urgency=low + + * Reupload (debconf fixed in the meantime). + + -- Matthias Klose Tue, 15 Jul 2003 07:54:45 +0200 + +gnustep-make (1.7.1-2) unstable; urgency=low + + * Don't try to build the docs when build arch-dependent packages only. + * debian/control: gnustep-make-doc: Don't recommend gnustep-make. + * debian/control: Remove references to gstep-* packages. + * debian/control: Change section to libs. Package is needed for pure + user setups as well. + * Add the text docs to the -doc package. + * Some packaging changes. + + -- Matthias Klose Fri, 11 Jul 2003 08:17:12 +0200 + +gnustep-make (1.7.1-1) unstable; urgency=low + + * New upstream release (New filesystem structure). + * New gnustep-make-doc package (675 KB of installed data). + * Use default gcc. + * Update control file : + - New Build-Depends-Indep field. + - Add latex2html in Build-Depends-Indep. + - Add gnustep-base (<< 1.7.0), gnustep-gui/back (<< 0.8.6) in Conflicts. + * New FILESYSTEM.Changes.Debian documentation file. + * Update postinst and prerm scripts. + + -- Eric Heintzmann Mon, 30 May 2003 14:21:07 +0200 + +gnustep-make (1.6.0-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Update to Debian Policy 3.5.9. + * Update to Debhelper compatibility level 4. + * Update copyright file (closes: #187698). + * Update README.Debian (closes: #187696). + * Fix lintian warning (closes: #187800). + * Use 2775 permissions for local dirs in postinst script (Policy 10.1.2). + * Add debian/docs file. + * Add debian/watch file. + * Update maintainer scripts. + + -- Eric Heintzmann Mon, 07 Apr 2003 14:21:07 +0200 + +gnustep-make (1.6.0-1) unstable; urgency=low + + * New stable upstream version. + + -- Matthias Klose Thu, 20 Mar 2003 00:07:31 +0100 + +gnustep-make (1.5.90-1) unstable; urgency=low + + * Snapshot taken from the freeze-1_6_0 branch (CVS 20030303). + + -- Matthias Klose Tue, 4 Mar 2003 00:23:44 +0100 + +gnustep-make (1.5.2-2) unstable; urgency=low + + * Apply build patch from BTS (closes: #182316). However the GNU_TYPE + doesn't say anything about the compiler options used. + + -- Matthias Klose Tue, 25 Feb 2003 23:10:12 +0100 + +gnustep-make (1.5.2-1) unstable; urgency=low + + * New upstream release. + - The config values in GNUstep.{sh,csh} are now hardcoded, no + need to run config.guess/config.sub at runtime, which would + require gcc, binutils and libc6-dev beeing installed (closes: #177292). + + -- Matthias Klose Fri, 21 Feb 2003 20:00:22 +0100 + +gnustep-make (1.5.1-2) unstable; urgency=low + + * Rebuild with fixed tetex-base. + + -- Matthias Klose Fri, 17 Jan 2003 16:43:43 +0100 + +gnustep-make (1.5.1-1) unstable; urgency=low + + * New upstream release. + + -- Matthias Klose Mon, 6 Jan 2003 23:12:24 +0100 + +gnustep-make (1.5.0-1) unstable; urgency=low + + * New upstream version. + * Build using gcc-3.2. + + -- Matthias Klose Sun, 8 Sep 2002 13:18:24 +0200 + +gnustep-make (1.4.0-1) unstable; urgency=low + + * New upstream version. + + -- Matthias Klose Tue, 30 Jul 2002 00:33:53 +0200 + +gnustep-make (1.3.4-1) unstable; urgency=low + + * New upstream release. + * Adjust README.Debian (closes: #152443). + * Use gobjc-3.1 (CC=gcc-3.1) on all architectures. + + -- Matthias Klose Sun, 14 Jul 2002 21:03:24 +0200 + +gnustep-make (1.3.2-2) unstable; urgency=low + + * Use gobjc-3.1 on all architectures, except m68k (gobjc-3.0). + * Remove the dependency on gnustep-make and the compiler. + Make gnustep-base1-dev depend on the correct compiler. + Package maintainers: Please + - remove any dependencies on the compiler, + - build-depend on gnustep-base1-dev (>= 1.3.2-3), + - determine the compiler in debian/rules by using something like: + GS_ROOT = usr/lib/GNUstep/System + GS_CPU := $(shell /$(GS_ROOT)/Makefiles/clean_cpu.sh \ + `/$(GS_ROOT)/Makefiles/cpu.sh $(GS_HOST)`) + GS_OS := $(shell /$(GS_ROOT)/Makefiles/clean_os.sh \ + `/$(GS_ROOT)/Makefiles/os.sh $(GS_HOST)`) + lib_dir = $(GS_CPU)/$(GS_OS) + CC := $(shell sed -n -e '/^CC.*=/s,.*= *\(.*\),\1,p' \ + /$(GS_ROOT)/Makefiles/$(lib_dir)/config.make) + * ld_lib_path.sh does restore IFS variable since 1.3.2 (closes: #143089). + * Do not assume an existing /etc/ld.so.conf (closes: #147732). + + -- Matthias Klose Fri, 31 May 2002 23:20:22 +0200 + +gnustep-make (1.3.2-1) unstable; urgency=low + + * New upstream release. + + -- Matthias Klose Sat, 4 May 2002 14:25:01 +0200 + +gnustep-make (1.3.0-3) unstable; urgency=medium + + * Update to CVS 20020414. Fixes resetting IFS after sourcing GNUstep.sh + and another fix for correct symlinks in bundle building. + + -- Matthias Klose Sun, 14 Apr 2002 12:35:51 +0200 + +gnustep-make (1.3.0-2) unstable; urgency=high + + * Update to CVS 20020406 for correct building of bundles. + + -- Matthias Klose Sun, 7 Apr 2002 13:05:53 +0200 + +gnustep-make (1.3.0-1) unstable; urgency=low + + * New upstream version. + * Fixed upstream and (closes: #135066). + * On arm, depend on gobjc-3.0.2. + + -- Matthias Klose Fri, 15 Mar 2002 22:02:12 +0100 + +gnustep-make (1.2.1-4) unstable; urgency=high + + * Make the dependency on gobjc-3.0 unversioned for arm. This let's + gnustep-make build on arm. + + -- Matthias Klose Sun, 3 Feb 2002 18:59:41 +0100 + +gnustep-make (1.2.1-3) unstable; urgency=low + + * Fix documentation symlinks. + * Support for building with garbage collection is available (closes: #87871). + + -- Matthias Klose Sun, 13 Jan 2002 22:03:16 +0100 + +gnustep-make (1.2.1-2) unstable; urgency=low + + * Add tetex-extra to build dependencies (closes: #128775). + + -- Matthias Klose Fri, 11 Jan 2002 18:54:09 +0100 + +gnustep-make (1.2.1-1) unstable; urgency=low + + * New upstream release. + + -- Matthias Klose Thu, 10 Jan 2002 02:32:14 +0100 + +gnustep-make (1.2.0-2) unstable; urgency=medium + + * Correctly determine s390 architecture (closes: #128339). + + -- Matthias Klose Wed, 9 Jan 2002 02:21:49 +0100 + +gnustep-make (1.2.0-1) unstable; urgency=low + + * Depend on gobjc (>= 3.0.2), not (>= 3.0.3). + + -- Matthias Klose Mon, 31 Dec 2001 01:08:10 +0100 + +gnustep-make (1.2.0-0.1) unstable; urgency=low + + * NMU. New upstream release. + * Fix error in postinst script (closes: #121452). + * Include DESIGN document in binary package (closes: #115117). + + -- Matthias Klose Sun, 9 Dec 2001 10:24:51 +0100 + +gnustep-make (1.0.1-0.1) unstable; urgency=low + + * New upstream release. + * Use gobjc-3.0 as a compiler, get rid of gnustep-objc package. + * Use Standards-Version: 3.5.5 + + -- Chanop Silpa-Anan Thu, 26 Jul 2001 06:29:58 +1000 + +gnustep-make (1.0.0) unstable; urgency=low + + * Change library-combo to gnu-gnu-gnu + + -- Adam Fedor Thu, 12 Apr 2001 18:47:57 +0600 + +gnustep-make (0.9.1.010302-1) unstable; urgency=low + + * New Maintainer. + * New CVS version. + * Various small fixes. + + -- Kai Henningsen Sat, 3 Mar 2001 00:20:55 +0100 + +gnustep-make (0.9.1.010224-1) unstable; urgency=low + + * Update to Debian policy 3.2.1. + * Set prefix to /usr/lib/GNUstep to match FHS. + * Use debhelper. + + -- Matthias Klose Sat, 24 Feb 2001 07:45:38 +0100 + +gnustep-make (0.9.0) unstable; urgency=low + + * Packaged for Debian. + * Use gnustep- prefix for package names (was gstep- before). + * New packaging schema doesn't support gnustep-core anymore, so each + component starts with fresh Debian files. + + -- Nicola Pero Mon, 29 Jan 2001 23:04:21 +0000