# Bazaar merge directive format 2 (Bazaar 0.90) # revision_id: serkan@gentoo.org-20081014204742-m1f1undpfdbu4ikc # target_branch: ../mainline/ # testament_sha1: 8cd8d12ef2cb826a26b67f1550386f4dcc9e73bb # timestamp: 2008-10-15 00:11:58 +0300 # base_revision_id: andrew@operationaldynamics.com-20081014015640-\ # 81xaue23uz6g5bce # # Begin patch === modified file 'Makefile' --- Makefile 2008-07-13 05:10:28 +0000 +++ Makefile 2008-10-14 20:47:42 +0000 @@ -61,7 +61,7 @@ install: all \ $(DESTDIR)$(PREFIX) \ - $(DESTDIR)$(PREFIX)/share/java/slashtime-$(APIVERSION).jar \ + $(DESTDIR)$(JARDIR)/slashtime-$(APIVERSION).jar \ tmp/stamp/install-pixmaps \ $(DESTDIR)$(PREFIX)/share/applications/slashtime.desktop \ $(DESTDIR)$(PREFIX)/bin/slashtime @@ -74,7 +74,7 @@ @echo -e "MKDIR\t$@/" -mkdir -p $@ -$(DESTDIR)$(PREFIX)/share/java: +$(DESTDIR)$(JARDIR): @echo -e "MKDIR\t$@/" -mkdir -p $@ @@ -111,11 +111,13 @@ cp -f share/pixmaps/*.png $(DESTDIR)$(PREFIX)/share/pixmaps touch $@ -$(DESTDIR)$(PREFIX)/share/java/slashtime-$(APIVERSION).jar: \ - $(DESTDIR)$(PREFIX)/share/java \ +$(DESTDIR)$(JARDIR)/slashtime-$(APIVERSION).jar: \ + $(DESTDIR)$(JARDIR) \ tmp/slashtime.jar @echo -e "INSTALL\t$@" cp -f tmp/slashtime.jar $@ + @echo -e "SYMLINK\t$(@D)/slashtime.jar -> slashtime-$(APIVERSION).jar" + cd $(@D) && rm -f slashtime.jar && ln -s slashtime-$(APIVERSION).jar slashtime.jar # -------------------------------------------------------------------- === modified file 'configure' --- configure 2008-10-14 01:51:05 +0000 +++ configure 2008-10-14 20:47:42 +0000 @@ -343,6 +343,7 @@ # -------------------------------------------------------------------- my $prefix; +my $jardir; my $compiler; my $runtime; my $jdk_home; @@ -375,6 +376,9 @@ } elsif (($key =~ /^--prefix$/) || ($key =~ /^prefix$/)) { $prefix="$value"; + } elsif (($key =~ /^--jardir$/) || + ($key =~ /^jardir$/)) { + $jardir="$value"; } elsif ($key =~ /^runtime/) { $runtime="$value"; } elsif ($key =~ /^compiler/) { @@ -394,6 +398,10 @@ $prefix="/usr/local"; } +if (!$jardir) { + $jardir=$prefix . "/share/java"; +} + # check jdk_home override. compiler and runtime are checked # later (at the end) against choices that have been validated. @@ -1340,6 +1348,7 @@ print CONFIG "APIVERSION=$apiversion\n"; print CONFIG "VERSION=$version\n"; +print CONFIG "JARDIR=$jardir\n"; # -------------------------------------------------------------------- # Done! Create .config file # Begin bundle IyBCYXphYXIgcmV2aXNpb24gYnVuZGxlIHY0CiMKQlpoOTFBWSZTWZBH8EYAAvHfgCAwdXP//3// //W/////YAZvr3tygAJ7bZlpQAIJREAKeVP0J6p4FP00CmnmqbUGj00j1BpkD1PKA3qgJSU8qbFM 1HjQSZNGQ9TRkDQ0AZDE0AGgaFT1NJnqj1D1AGgDQA0GIAAAAAAFU/KntU0GgAYjQAABoNBoAAA0 AHMJoyNDQyGEaGQ00aADEZMgGEAwCSQIBpGQFMypsaU2ymjUeTRpNMIGIBpoaaRiNBoKFm2ewtx3 P7eofvMxkX3papK5TwhOtKcE7mKWLG+5RTKDeqTm5Ku8dbUAjE0XNzQvrg0YxrlRcqcjZsni/Hss vW+z41Lalgfv8ONmRP8XDlFEVUVR3giP/x2RVW6t6pmEDk3MICKpzDOEAI4zQcAg2EWqZrCKDy+R DlMWdoCqTLLmKutGA6ZTyFPSRhslUBJMESLARscwt1xEpuzgiBxIFBF8hbi06HY9NWIcPA3OUzsc 6ehUCeDU89hffVUQW70BWc5QGc7aIlOkbXtInExFjyiGYG6vF0e2c+54NwBxFt2GItYMC9Serv4u NetmpDrFmEQChbLDrEcmP9OLX6nWPEJnE5E76KupEL4+m9TK8u7AoNtc7CqNObTcSMSysvC7Cs4B Hzae0sKQQxUySoFWTH6h53h5UUkiioe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