]> Pileus Git - aweather/commitdiff
Move build scripts to separate repository
authorAndy Spencer <andy753421@gmail.com>
Sun, 1 Jan 2012 20:59:41 +0000 (12:59 -0800)
committerAndy Spencer <andy753421@gmail.com>
Mon, 2 Jan 2012 00:15:40 +0000 (00:15 +0000)
Makefile.am
aptrepo.sh [deleted file]
aweather.nsi [deleted file]
gen-apple.sh [deleted file]
gen-win32.sh [deleted file]
gen.sh [deleted file]

index 5a748cbaa1ea4d20512e1374e60d29784c64ccf7..ac41c5bba35cc69326b407336b80e4cee8fb6b21 100644 (file)
@@ -9,25 +9,6 @@ MAINTAINERCLEANFILES = aclocal.m4 compile config.guess config.h.in config.sub \
 test: all
        (cd src && make test)
 
-build: all
-       export DESTDIR="`pwd`/build"; \
-       make -C ../aweather-win32 install; \
-       make -C ../grits-win32 install; \
-       make -C ../rsl-win32 install;
-       find build -name '*.a'  -delete
-       find build -name '*.la' -delete
-       rm -rf build/share/rsl/colors
-       rm -rf build/include
-       touch $@
-
-installers: $(PACKAGE)-$(VERSION).exe $(PACKAGE)-$(VERSION)-gtk.exe
-
-$(PACKAGE)-$(VERSION).exe: build
-       makensis -DVERSION=$(VERSION) aweather.nsi
-
-$(PACKAGE)-$(VERSION)-gtk.exe: build
-       makensis -DVERSION=$(VERSION) -DUSE_GTK aweather.nsi
-
 release: all dist
        @echo -en "\nRelease $(PACKAGE)-$(VERSION) (y/n): "
        @read ans && [ "$$ans" != "y" ] && exit 1 || exit 0
diff --git a/aptrepo.sh b/aptrepo.sh
deleted file mode 100755 (executable)
index 5661889..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/bash
-
-cd /aptrepo/
-dpkg-scanpackages -m binary /dev/null | gzip -9c > binary/Packages.gz
-dpkg-scansources source /dev/null | gzip -9c > source/Sources.gz
diff --git a/aweather.nsi b/aweather.nsi
deleted file mode 100644 (file)
index a43c66d..0000000
+++ /dev/null
@@ -1,97 +0,0 @@
-SetCompressor /SOLID lzma
-!define MULTIUSER_EXECUTIONLEVEL Highest
-!define MULTIUSER_MUI
-!define MULTIUSER_INSTALLMODE_COMMANDLINE
-!define MULTIUSER_INSTALLMODE_INSTDIR AWeather
-!include "MultiUser.nsh"
-!include "MUI2.nsh"
-
-Function .onInit
-       !insertmacro MULTIUSER_INIT
-FunctionEnd
-
-Function un.onInit
-       !insertmacro MULTIUSER_UNINIT
-FunctionEnd
-
-Name "AWeather"
-!ifndef VERSION
-       !define VERSION LATEST
-!endif
-!ifdef USE_GTK
-       OutFile "aweather-${VERSION}-gtk.exe"
-!else
-       OutFile "aweather-${VERSION}.exe"
-!endif
-InstallDir AWeather
-Icon "data/icons/48x48/aweather.ico"
-
-!define MUI_ABORTWARNING
-
-!insertmacro MUI_PAGE_LICENSE "COPYING"
-!insertmacro MULTIUSER_PAGE_INSTALLMODE
-!insertmacro MUI_PAGE_COMPONENTS
-!insertmacro MUI_PAGE_DIRECTORY
-!insertmacro MUI_PAGE_INSTFILES
-
-!insertmacro MUI_UNPAGE_CONFIRM
-!insertmacro MUI_UNPAGE_INSTFILES
-
-!insertmacro MUI_LANGUAGE "English"
-
-Section "AWeather (required)" SecAWeather
-       SectionIn RO
-
-       SetOutPath $INSTDIR
-       File /r build/*
-       !ifdef USE_GTK
-               file /r gtk/*
-       !endif
-       
-       StrCmp $MultiUser.InstallMode "AllUsers" 0 +4
-               WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\AWeather" "DisplayName" "AWeather"
-               WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\AWeather" "UninstallString" "$INSTDIR\uninstaller.exe"
-       Goto +3
-               WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\AWeather" "DisplayName" "AWeather"
-               WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\AWeather" "UninstallString" "$INSTDIR\uninstaller.exe"
-
-       FileOpen $0 $INSTDIR\instmode.dat w
-       FileWrite $0 $MultiUser.InstallMode
-       FileClose $0
-       
-       WriteUninstaller $INSTDIR\uninstaller.exe
-SectionEnd
-!insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN
-!insertmacro MUI_DESCRIPTION_TEXT ${SecAWeather} "AWeather core files."
-!insertmacro MUI_FUNCTION_DESCRIPTION_END
-
-Section "Desktop Icons"
-       SetOutPath $INSTDIR\bin
-       CreateShortCut "$DESKTOP\AWeather.lnk" "$INSTDIR\bin\aweather.exe" "" "$INSTDIR\bin\aweather.exe" 0
-SectionEnd
-
-Section "Start Menu Shortcuts"
-       SetOutPath $INSTDIR\bin
-       CreateDirectory "$SMPROGRAMS\AWeather"
-       CreateShortCut  "$SMPROGRAMS\AWeather\Uninstall AWeather.lnk" "$INSTDIR\uninstaller.exe"  "" "$INSTDIR\uninstaller.exe"  0
-       CreateShortCut  "$SMPROGRAMS\AWeather\AWeather.lnk"           "$INSTDIR\bin\aweather.exe" "" "$INSTDIR\bin\aweather.exe" 0
-       CreateShortCut  "$SMPROGRAMS\AWeather\AWeather (debug).lnk" "cmd.exe" "/K aweather-dbg.exe -d 7" "$INSTDIR\bin\aweather-dbg.exe" 0
-SectionEnd
-
-Section "Uninstall"
-       FileOpen $0 $INSTDIR\instmode.dat r
-       FileRead $0 $1
-       FileClose $0
-
-       StrCmp $1 "AllUsers" 0 +4
-               SetShellVarContext all
-               DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\AWeather"
-       Goto +3
-               SetShellVarContext current
-               DeleteRegKey HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\AWeather"
-
-       Delete $DESKTOP\AWeather.exe.lnk
-
-       RMDir /r $SMPROGRAMS\AWeather
-       RMDir /r $INSTDIR
-SectionEnd
diff --git a/gen-apple.sh b/gen-apple.sh
deleted file mode 100755 (executable)
index a2246be..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/bash
-dir=$(pwd)
-PKG_CONFIG_PATH="../grits/src/" \
-./autogen.sh \
-       "--datadir=$dir/data" \
-       "--libdir=$dir/src/plugins" \
-       CFLAGS="-g -Werror $CFLAGS"
diff --git a/gen-win32.sh b/gen-win32.sh
deleted file mode 100755 (executable)
index 2917923..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/bash
-
-GRITS="/scratch/grits-win32/src"
-export PKG_CONFIG_PATH="$GRITS"
-export LIBS="-L$GRITS"
-export CPPFLAGS="-I$GRITS"
-export CFLAGS="-g -Werror -Wno-unused -O3"
-./autogen.sh \
-       --enable-shared \
-       --disable-static \
-       --host=i686-pc-mingw32
diff --git a/gen.sh b/gen.sh
deleted file mode 100755 (executable)
index fb81447..0000000
--- a/gen.sh
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/bash
-dir=$(dirname $(readlink -f $0))
-PKG_CONFIG_PATH="../grits/src/" \
-./autogen.sh \
-       "--datadir=$dir/data" \
-       "--libdir=$dir/src/plugins" \
-       CFLAGS="-g -Werror $CFLAGS"