Check-in [9b93393d5e]
Overview
Comment: | Move PYZ shebang prefixing into `xpm` codebase. Simplifies local Makefile. Renamed PKG_PYZ into PKG_ZIP, and added extra target rules to Packfile. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
9b93393d5ed2d49896f9fd8100cd5fc3 |
User & Date: | mario on 2015-04-17 22:15:59 |
Other Links: | manifest | tags |
Context
2015-04-18
| ||
17:15 | Experimental drag and drop code snippets. (Not going to work well with other apps, only VLC tested, everything else depends on text/uri-list temp file:// URLs. Internal row dragging not implemented / no bookmarks subcats yet.) check-in: 185e42f185 user: mario tags: trunk | |
2015-04-17
| ||
22:15 | Move PYZ shebang prefixing into `xpm` codebase. Simplifies local Makefile. Renamed PKG_PYZ into PKG_ZIP, and added extra target rules to Packfile. check-in: 9b93393d5e user: mario tags: trunk | |
21:14 | Remove remnant module .title/etc attributes, and .current category overwriting. check-in: a7b0cd39a2 user: mario tags: trunk | |
Changes
Modified Makefile from [6500ab14b2] to [9e648740b2].
︙ | ︙ | |||
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | .PHONY: bin all: gtk3 #(most used) pack: all ver docs xpm src gtk3: gtk3.xml.gz zip: pyz print-%: @echo $*=$($*) # Convert between internal GtkBuilder-gzipped file and uncompressed xml gtk3.xml.gz: gtk3.xml gzip -c9 < gtk3.xml > gtk3.xml.gz glade: gzip -dc > gtk3.xml < gtk3.xml.gz glade gtk3.xml 2>/dev/null gzip -c9 < gtk3.xml > gtk3.xml.gz # Prepare packaging docs: # update static files gzip -9c NEWS > NEWS.gz ver: # copy `version:` info version get:plugin st2.py write:control PKG-INFO clean: rm *.pyc */*.pyc rm -r __pycache__ */__pycache__ #-- bundles | > | | | < > | > > < | | < < | 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 | .PHONY: bin all: gtk3 #(most used) pack: all ver docs xpm src gtk3: gtk3.xml.gz zip: pyz print-%: @echo $*=$($*) # Convert between internal GtkBuilder-gzipped file and uncompressed xml gtk3.xml.gz: gtk3.xml gzip -c9 < gtk3.xml > gtk3.xml.gz glade: gzip -dc > gtk3.xml < gtk3.xml.gz glade gtk3.xml 2>/dev/null gzip -c9 < gtk3.xml > gtk3.xml.gz # Prepare packaging docs: # update static files gzip -9c NEWS > NEWS.gz ver: # copy `version:` info version get:plugin st2.py write:control PKG-INFO clean: rm *.pyc */*.pyc rm -r __pycache__ */__pycache__ #-- bundles xpm: deb pyz tar rpm exe deb: $(PACK) $(OPTS) $(DEPS) -t $@ -p "$(NAME)-VERSION.deb" st2.py rpm: $(PACK) $(OPTS) $(DEPS) -t $@ -p "$(NAME)-VERSION.rpm" st2.py tar: $(PACK) $(OPTS) $(DEPS) -t $@ -p "$(NAME)-VERSION.bin.txz" st2.py exe: $(PACK) $(OPTS) $(DEPS) -t $@ -p "$(NAME)-VERSION.exe" st2.py pyz: #@BUG: relative package references leave a /tmp/doc/ folder $(PACK) -u packfile -s src -t zip --zip-shebang "/usr/bin/env python" \ -f -p "$(NAME)-$(VERSION).pyz" --prefix=./ --verbose .zip.py st2.py src: cd .. && pax -wvJf streamtuner2/streamtuner2-$(VERSION).src.txz \ streamtuner2/*.{py,png,svg,desktop} streamtuner2/channels/*.{py,png} \ streamtuner2/{bundle/,help/,gtk,NEWS,READ,PACK,PKG,CRED,Make,bin,.zip}* # test .deb contents check: |
︙ | ︙ |
Modified Packfile from [3da3b35078] to [13eeb7b77b].
1 2 3 4 5 6 | # See http://fossil.include-once.org/xpm/wiki/Packfile # Applies minor file tweaks right before -t package generation. all: preprocess $(PACK_TYPE) # More selective file rewriting | | > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | # See http://fossil.include-once.org/xpm/wiki/Packfile # Applies minor file tweaks right before -t package generation. all: preprocess $(PACK_TYPE) # More selective file rewriting preprocess: $(shell find . -name search.py)m %.pym: %.py preprocess -D $(PKG_FLAG) -o $< $< deb: # complainy lintian needs a custom changelog.gz gzip -9c usr/share/doc/streamtuner2/NEWS > usr/share/doc/streamtuner2/changelog.gz zip: rpm: exe: src: tar: |
Modified channels/search.py from [dba2a92b9f] to [ed74d1d852].
︙ | ︙ | |||
152 153 154 155 156 157 158 | model.set_value(iter, color, "") # for some reason the cellrenderer colors get applied to all rows, even if we specify an iter (=treelist position?, not?) model.set_value(iter, flag, False) # that's why we need the secondary -set option #?? return False | | | 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 | model.set_value(iter, color, "") # for some reason the cellrenderer colors get applied to all rows, even if we specify an iter (=treelist position?, not?) model.set_value(iter, flag, False) # that's why we need the secondary -set option #?? return False # #ifdef PKG_ZIP finder = """ iVBORw0KGgoAAAANSUhEUgAAAIQAAACCCAYAAACHHWC6AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAADnQAAA50BvNxDqgAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAACAASURBVHic7b15lF1Xfef72fvcoW6NUpVKqioNJVmeBcYD4AELOzwIUxgDgaRDoLtZq9NNhn55nWSx8ggQOgG6F5081iNp0nTSnZfuDB1oQsIQMMGAY9lMNpJlG8tSaS5ZNUs13Ons3/tj73POPueee6tKkm2Z5b3Wrbr7nnPP2Xf/fvs3fH+/3z5KRHiuNKWU8vvyXBr8c6Sp58KcOkbQQOBeAoRAKCLm2Rzbj1u77BnCMUMAlIEeoAIYYMm9Gs8zxaVr+tkeQKemlNJAAegFtgA/Cfw9cBuwFegHillV8ny78HbZMoQnGXqwzPBe4DPAC4CPAde6z7uBwvNMcWnaZcsQgAJKwCbgd4H3Y9UGwBXA vwV2uuMVIHieKS6+Xe4MUQD+E/DTOcfvAN4J7AA2Ypnncv49z4l2uU+gAf470Ghz/B3A3Vh7YgBrT1zuv+mybpfz5BksIzwAfKLNOQ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