abandoned debian build for now.

cleaned up the windows makefile a bit

git-svn-id: http://comictagger.googlecode.com/svn/trunk@469 6c5673fe-1810-88d6-992b-cd32ca31540c
This commit is contained in:
beville 2013-02-08 05:38:14 +00:00
parent 7d8ed954a9
commit 58f5f10c78
7 changed files with 106 additions and 109 deletions

View File

@ -1,2 +1,3 @@
include readme.txt
include README.txt
include release_notes.txt
include requirements.txt

View File

@ -7,12 +7,14 @@ all: clean
clean:
rm -rf *~ *.pyc *.pyo
cd comictagger; rm -f *~ *.pyc *.pyo
sudo rm -rf dist MANIFEST
cd comictaggerlib; rm -f *~ *.pyc *.pyo
rm -rf dist MANIFEST
rm -rf *.deb
rm -rf logdict*.log
make -C mac clean
make -C windows clean
rm -rf build
mkdir -p release
pydist:
rm -f release/*.zip
@ -23,22 +25,26 @@ remove_test_install:
sudo rm -rf /usr/local/bin/comictagger.py
sudo rm -rf /usr/local/lib/python2.7/dist-packages/comictagger*
deb:
fpm -s python -t deb \
-n 'comictagger' \
--category 'utilities' \
--maintainer 'comictagger@gmail.com' \
--after-install debian_scripts/after_install.sh \
--before-remove debian_scripts/before_remove.sh \
-d 'python >= 2.6' \
-d 'python < 2.8' \
-d 'python-imaging >= 1.1.6' \
-d 'python-bs4 >= 4.1' \
setup.py
# For now, don't require PyQt, since command-line is available without it
#-d 'python-qt4 >= 4.8'
#deb:
# fpm -s python -t deb \
# -n 'comictagger' \
# --category 'utilities' \
# --maintainer 'comictagger@gmail.com' \
# --after-install debian_scripts/after_install.sh \
# --before-remove debian_scripts/before_remove.sh \
# -d 'python >= 2.6' \
# -d 'python < 2.8' \
# -d 'python-imaging' \
# -d 'python-bs4' \
# --deb-suggests 'rar' \
# --deb-suggests 'unrar-free' \
# --python-install-bin /usr/share/comictagger \
# --python-install-lib /usr/share/comictagger \
# setup.py
#
# # For now, don't require PyQt, since command-line is available without it
# #-d 'python-qt4 >= 4.8'
upload:
$(UPLOAD_TOOL) -p comictagger -s "ComicTagger $(VERSION_STR) Source" -l Featured,Type-Source -u beville -w $(PASSWORD) "release/comictagger-$(VERSION_STR).zip"
$(UPLOAD_TOOL) -p comictagger -s "ComicTagger $(VERSION_STR) Mac OS X" -l Featured,Type-Archive -u beville -w $(PASSWORD) "release/ComicTagger-$(VERSION_STR).dmg"

View File

@ -1,2 +0,0 @@
#!/bin/bash
mv /usr/bin/comictagger.py /usr/bin/comictagger

View File

@ -1,2 +0,0 @@
#!/bin/bash
mv /usr/bin/comictagger /usr/bin/comictagger.py

153
todo.txt
View File

@ -1,77 +1,76 @@
-----------------------------------------------------
Features
-----------------------------------------------------
Rename dialog:
check-box for rows?
manual edit the preview?
Docs:
Auto-Tagging Tips:
Multiple Passes with different options
-----------------------------------------------------
Bugs
-----------------------------------------------------
Zip flakes out when filename differs from index (or whatever) i.e "\" vs "/". Python issue
-----------------------------------------------------
Big Future Features
-----------------------------------------------------
GCD scraper or DB reader
Batch Edit
Form Mode: Single vs Batch
-----------------------------------------------------
Small(er) Future Feature
-----------------------------------------------------
Parse out the rest of the scan info from filename
Style sheets for windows/mac/linux
CLI
explicit metadata settings option format
-- figure out how to add CBI "tags"
-- delete CBI "tags"
-- set primary credit flags
-- set frontcover and others?
Archive function to detect tag blocks out of sync
Settings
Add setting to dis-allow writing CBI to RAR
Google App engine to store hashes
Content Hashes, Image hashes, who knows?
Filename parsing:
Rework how series name is separated from issue
Support marvel's "AU" issues...
Mostly done, gotta wait and see what CV does
Internal GenericMetadata - Make Characters, Genre into lists?
-----------------------------------------------------
Config Mgmt check list
-----------------------------------------------------
Release Process
Optionally, make screen shots, upload to wiki
Update release notes and wiki
Update ctversion.py
Build packages
Make exe on Windows
Make dmg on Mac
Make zip on Mac or Linux
Tag the repository
Upload packages
Announce on Forum and Main Page
----------------------------------------------
rename 's/([A-Za-z]+)(\d+)(.cb[rz])/$1 $2$3/' *.cb?
-----------------------------------------------------
Features
-----------------------------------------------------
Rename dialog:
check-box for rows?
manual edit the preview?
Docs:
Auto-Tagging Tips:
Multiple Passes with different options
-----------------------------------------------------
Bugs
-----------------------------------------------------
Zip flakes out when filename differs from index (or whatever) i.e "\" vs "/". Python issue
-----------------------------------------------------
Big Future Features
-----------------------------------------------------
GCD scraper or DB reader
Batch Edit
Form Mode: Single vs Batch
-----------------------------------------------------
Small(er) Future Feature
-----------------------------------------------------
Parse out the rest of the scan info from filename
Style sheets for windows/mac/linux
CLI
explicit metadata settings option format
-- figure out how to add CBI "tags"
-- delete CBI "tags"
-- set primary credit flags
-- set frontcover and others?
Archive function to detect tag blocks out of sync
Settings
Add setting to dis-allow writing CBI to RAR
Google App engine to store hashes
Content Hashes, Image hashes, who knows?
Filename parsing:
Rework how series name is separated from issue
Support marvel's "AU" issues...
Mostly done, gotta wait and see what CV does
Internal GenericMetadata - Make Characters, Genre into lists?
-----------------------------------------------------
Config Mgmt check list
-----------------------------------------------------
Release Process
Optionally, make screen shots, upload to wiki
Update release notes and wiki
Update ctversion.py
Build packages
Make exe on Windows
Make dmg on Mac
Make zip on Mac or Linux
Tag the repository
Upload packages
Announce on Forum and Main Page
----------------------------------------------
rename 's/([A-Za-z]+)(\d+)(.cb[rz])/$1 $2$3/' *.cb?

View File

@ -1,11 +1,12 @@
# This Makefile expects that certain GNU utils are available:
# rm, cp, grep, cut, cat
TAGGER_BASE:= c:\Users\tony\Dropbox\tagger\comictagger
TAGGER_SRC := $(TAGGER_BASE)\comictaggerlib
HOMEPATH ?= $(HOME)
TAGGER_BASE:= $(HOMEPATH)/Dropbox/tagger/comictagger
TAGGER_SRC := $(TAGGER_BASE)/comictaggerlib
DIST_DIR := $(TAGGER_BASE)\windows\dist
NSIS_CMD := "C:\Program Files (x86)\NSIS\makensis.exe"
VERSION := $(shell grep version "$(TAGGER_SRC)\ctversion.py" | cut -d= -f2)
VERSION := $(shell grep version "$(TAGGER_SRC)/ctversion.py" | cut -d= -f2)
all: clean dist package
@ -28,9 +29,3 @@ package:
clean:
-rm -rf dist
-rm -f "*~" *.pyc *.pyo
-rm -f "$(TAGGER_BASE)\windows\*.exe"
test:
echo !define RELEASE_STR $(VERSION) > test.nsh