Add a logo and fix dist building.

This commit is contained in:
Bastian Kleineidam 2012-05-18 22:55:40 +02:00
parent edb528dc88
commit 3362ea86a9
6 changed files with 35 additions and 4 deletions

20
build.bat Normal file
View File

@ -0,0 +1,20 @@
:: Build patool
:: Copyright (C) 2012 Bastian Kleineidam
:: This program is free software; you can redistribute it and/or modify
:: it under the terms of the GNU General Public License as published by
:: the Free Software Foundation; either version 2 of the License, or
:: (at your option) any later version.
::
:: This program is distributed in the hope that it will be useful,
:: but WITHOUT ANY WARRANTY; without even the implied warranty of
:: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
:: GNU General Public License for more details.
::
:: You should have received a copy of the GNU General Public License along
:: with this program; if not, write to the Free Software Foundation, Inc.,
:: 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
@echo off
:: Python version
set PYDIR=C:\Python27
set PYVER=2.7
%PYDIR%\python.exe setup.py build

9
dist.bat Executable file → Normal file
View File

@ -1,5 +1,5 @@
:: Create patool Windows distribution file
:: Copyright (C) 2010 Bastian Kleineidam
:: Copyright (C) 2010-2012 Bastian Kleineidam
:: This program is free software: you can redistribute it and/or modify
:: it under the terms of the GNU General Public License as published by
:: the Free Software Foundation, either version 3 of the License, or
@ -14,7 +14,8 @@
:: along with this program. If not, see <http://www.gnu.org/licenses/>.
@echo off
set PYDIR=c:\python27
rd build /s /q
rd dist /s /q
%PYDIR%\python.exe setup.py bdist_wininst
rd /s /q build > nul
call %~dp0\build.bat
rd /s /q dist > nul
%PYDIR%\python.exe setup.py py2exe
pause

10
doc/icon/Makefile Normal file
View File

@ -0,0 +1,10 @@
OXYGEN := ${HOME}/src/oxygen-gitsvn
ICOICONS := logo16x16.png logo32x32.png
all: favicon.ico
logo%.png: $(OXYGEN)/%/apps/utilities-file-archiver.png
cp $< $@
favicon.ico: $(ICOICONS)
png2ico favicon.ico $(ICOICONS)

BIN
doc/icon/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

BIN
doc/icon/logo16x16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 528 B

BIN
doc/icon/logo32x32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB