diff -Nru gcc-4.6-plugin-melt-0.9.8/debian/README.packaging gcc-4.6-plugin-melt-0.9.8/debian/README.packaging --- gcc-4.6-plugin-melt-0.9.8/debian/README.packaging 2012-12-30 14:26:10.000000000 +0000 +++ gcc-4.6-plugin-melt-0.9.8/debian/README.packaging 2012-12-31 13:46:47.000000000 +0000 @@ -1,7 +1,10 @@ To keep up to date: * git-import-orig with new release - * produce new sources: + * produce new sources packages for gcc-*-plugin-melt: - first, prepare release: DEBFULLNAME="..." DEBEMAIL="..." GCC_BASE_VER=X VERSION=Y RELEASE=Z DISTRIBUTION=A debian/rules release - then, prepare files: debian/rules control - then, prepare source package: dpkg-buildpackage -S -sa - then build your own way + * produce new source packages for gcc-plugin-melt-extra: + - ensure that latest changelog entry is gcc-GCC_BASE_VER-plugin-melt + - prepare and build source: DEBFULLNAME="..." DEBEMAIL="..." VERSION=Y RELEASE=Z DISTRIBUTION=A debian/rules extra diff -Nru gcc-4.6-plugin-melt-0.9.8/debian/changelog gcc-4.6-plugin-melt-0.9.8/debian/changelog --- gcc-4.6-plugin-melt-0.9.8/debian/changelog 2012-12-30 14:34:06.000000000 +0000 +++ gcc-4.6-plugin-melt-0.9.8/debian/changelog 2012-12-31 13:47:43.000000000 +0000 @@ -1,14 +1,32 @@ +gcc-4.6-plugin-melt (0.9.8-0ubuntu2) quantal; urgency=low + + * Releasing GCC MELT plugin for GCC 4.6 / quantal + + -- Launchpad PPA for Pirouette Cacahuète Mon, 31 Dec 2012 14:47:43 +0100 + +gcc-plugin-melt-extra (0.9.8-0ubuntu1) quantal; urgency=low + + * Releasing GCC MELT plugin extra (doc, probes) / quantal + + -- Launchpad PPA for Pirouette Cacahuète Mon, 31 Dec 2012 14:37:05 +0100 + +gcc-4.7-plugin-melt (0.9.8-0ubuntu1~quantal) quantal; urgency=low + + * Releasing for GCC 4.7 / quantal + + -- Launchpad PPA for Pirouette Cacahuète Sun, 30 Dec 2012 20:12:11 +0100 + gcc-4.6-plugin-melt (0.9.8-0ubuntu1~quantal) quantal; urgency=low * Releasing for GCC 4.6 / quantal - -- Launchpad PPA for Pirouette Cacahuète Sun, 30 Dec 2012 15:34:06 +0100 + -- Launchpad PPA for Pirouette Cacahuète Sun, 30 Dec 2012 20:02:01 +0100 gcc-4.6-plugin-melt (0.9.8-0ubuntu1~precise) precise; urgency=low * Releasing for GCC 4.6 / precise - -- Launchpad PPA for Pirouette Cacahuète Sun, 30 Dec 2012 15:26:28 +0100 + -- Launchpad PPA for Pirouette Cacahuète Sun, 30 Dec 2012 19:51:21 +0100 gcc-plugin-melt (0.9.8-0ubuntu0) quantal; urgency=low diff -Nru gcc-4.6-plugin-melt-0.9.8/debian/control gcc-4.6-plugin-melt-0.9.8/debian/control --- gcc-4.6-plugin-melt-0.9.8/debian/control 2012-12-30 14:34:09.000000000 +0000 +++ gcc-4.6-plugin-melt-0.9.8/debian/control 2012-12-31 13:47:52.000000000 +0000 @@ -51,46 +51,3 @@ of your source code. . This package contains the debugging symbols for the GCC MELT plugin. - -Package: gcc-plugin-melt-doc -Section: doc -Architecture: all -Depends: dpkg (>= 1.15.4) | install-info -Description: documentation for gcc-plugin-melt - GCC MELT is a GCC (Gnu Compiler Collection, a free compiler for many languages - -C, C++, Ada, Fortran, ...- and systems) plugin and branch, providing a lispy - domain specific language to easily code GCC extensions in. MELT originally - meant Middle End Lisp Translator. - GCC MELT should interest any important software project (coded in C, C++, Ada, - Fortran, ...), compiled with GCC, since it facilitates the development of - customized GCC extensions for: - - specific warnings or typechecks - - specific optimizations coding rules - - validation - - source code navigation or processing, in particular aspect oriented - programming, retro-engineering or refactoring tasks - - any processing taking advantage of powerful GCC internal representations - of your source code. - -Package: gcc-plugin-melt-probe -Section: x11 -Architecture: all -Depends: ${shlibs:Depends}, ${misc:Depends}, gcc-plugin-melt, gcc-plugin-melt-probe-gtkmm | gcc-plugin-melt-probe-pyqt -Description: - GCC MELT probe mechanism allows one to see internals of GCC live while - compiling. - This packages provides the melt-probe command and alternatives. - -Package: gcc-plugin-melt-probe-gtkmm -Section: x11 -Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends}, gcc-plugin-melt-probe -Description: - GCC MELT C++/GtkMM implementation of the probe. - -Package: gcc-plugin-melt-probe-pyqt -Section: x11 -Architecture: all -Depends: ${shlibs:Depends}, ${misc:Depends}, gcc-plugin-melt-probe, ${python:Depends}, python-qt4, python-qscintilla2 -Description: - GCC MELT Python/Qt4 implementation of the probe. diff -Nru gcc-4.6-plugin-melt-0.9.8/debian/control.extra.in gcc-4.6-plugin-melt-0.9.8/debian/control.extra.in --- gcc-4.6-plugin-melt-0.9.8/debian/control.extra.in 1970-01-01 00:00:00.000000000 +0000 +++ gcc-4.6-plugin-melt-0.9.8/debian/control.extra.in 2012-12-31 13:27:55.000000000 +0000 @@ -0,0 +1,53 @@ +Source: gcc-plugin-melt-extra +Section: devel +Priority: extra +Maintainer: Alexandre Lissy +Build-Depends: debhelper (>= 8.0.0), gcc-@BASE_VERSION@-plugin-dev, g++, libgmp-dev, libmpfr-dev, libmpc-dev, autogen, texinfo, texi2html, gawk, texlive, realpath, pkg-config, libgtkmm-3.0-dev, libgtksourceviewmm-3.0-dev +Build-Conflicts: gcc-plugin-melt, gcc-@BASE_VERSION@-plugin-melt +Standards-Version: 3.9.2 +Homepage: http://www.gcc-melt.org/ +Vcs-Git: git://gitorious.org/melt-debian-package/melt-debian-package.git +Vcs-Browser: https://gitorious.org/melt-debian-package/melt-debian-package + +Package: gcc-plugin-melt-doc +Section: doc +Architecture: all +Depends: dpkg (>= 1.15.4) | install-info +Description: documentation for gcc-plugin-melt + GCC MELT is a GCC (Gnu Compiler Collection, a free compiler for many languages + -C, C++, Ada, Fortran, ...- and systems) plugin and branch, providing a lispy + domain specific language to easily code GCC extensions in. MELT originally + meant Middle End Lisp Translator. + GCC MELT should interest any important software project (coded in C, C++, Ada, + Fortran, ...), compiled with GCC, since it facilitates the development of + customized GCC extensions for: + - specific warnings or typechecks + - specific optimizations coding rules + - validation + - source code navigation or processing, in particular aspect oriented + programming, retro-engineering or refactoring tasks + - any processing taking advantage of powerful GCC internal representations + of your source code. + +Package: gcc-plugin-melt-probe +Section: x11 +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, gcc-plugin-melt, gcc-plugin-melt-probe-gtkmm | gcc-plugin-melt-probe-pyqt +Description: + GCC MELT probe mechanism allows one to see internals of GCC live while + compiling. + This packages provides the melt-probe command and alternatives. + +Package: gcc-plugin-melt-probe-gtkmm +Section: x11 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, gcc-plugin-melt-probe +Description: + GCC MELT C++/GtkMM implementation of the probe. + +Package: gcc-plugin-melt-probe-pyqt +Section: x11 +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, gcc-plugin-melt-probe, ${python:Depends}, python-qt4, python-qscintilla2 +Description: + GCC MELT Python/Qt4 implementation of the probe. diff -Nru gcc-4.6-plugin-melt-0.9.8/debian/control.in gcc-4.6-plugin-melt-0.9.8/debian/control.in --- gcc-4.6-plugin-melt-0.9.8/debian/control.in 2012-12-30 14:14:08.000000000 +0000 +++ gcc-4.6-plugin-melt-0.9.8/debian/control.in 2012-12-31 13:03:15.000000000 +0000 @@ -51,46 +51,3 @@ of your source code. . This package contains the debugging symbols for the GCC MELT plugin. - -Package: gcc-plugin-melt-doc -Section: doc -Architecture: all -Depends: dpkg (>= 1.15.4) | install-info -Description: documentation for gcc-plugin-melt - GCC MELT is a GCC (Gnu Compiler Collection, a free compiler for many languages - -C, C++, Ada, Fortran, ...- and systems) plugin and branch, providing a lispy - domain specific language to easily code GCC extensions in. MELT originally - meant Middle End Lisp Translator. - GCC MELT should interest any important software project (coded in C, C++, Ada, - Fortran, ...), compiled with GCC, since it facilitates the development of - customized GCC extensions for: - - specific warnings or typechecks - - specific optimizations coding rules - - validation - - source code navigation or processing, in particular aspect oriented - programming, retro-engineering or refactoring tasks - - any processing taking advantage of powerful GCC internal representations - of your source code. - -Package: gcc-plugin-melt-probe -Section: x11 -Architecture: all -Depends: ${shlibs:Depends}, ${misc:Depends}, gcc-plugin-melt, gcc-plugin-melt-probe-gtkmm | gcc-plugin-melt-probe-pyqt -Description: - GCC MELT probe mechanism allows one to see internals of GCC live while - compiling. - This packages provides the melt-probe command and alternatives. - -Package: gcc-plugin-melt-probe-gtkmm -Section: x11 -Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends}, gcc-plugin-melt-probe -Description: - GCC MELT C++/GtkMM implementation of the probe. - -Package: gcc-plugin-melt-probe-pyqt -Section: x11 -Architecture: all -Depends: ${shlibs:Depends}, ${misc:Depends}, gcc-plugin-melt-probe, ${python:Depends}, python-qt4, python-qscintilla2 -Description: - GCC MELT Python/Qt4 implementation of the probe. diff -Nru gcc-4.6-plugin-melt-0.9.8/debian/rules gcc-4.6-plugin-melt-0.9.8/debian/rules --- gcc-4.6-plugin-melt-0.9.8/debian/rules 2012-12-30 18:48:37.000000000 +0000 +++ gcc-4.6-plugin-melt-0.9.8/debian/rules 2012-12-31 13:47:35.000000000 +0000 @@ -23,8 +23,10 @@ BASE_VERSION := $(subst -plugin-melt,,$(subst gcc-,,$(call vafilt,$(CHANGELOG_VARS),Source))) +ifneq ($(BASE_VERSION),plugin-melt-extra) export GCC=gcc-$(BASE_VERSION) export GXX=g++-$(BASE_VERSION) +endif %: dh $@ @@ -37,10 +39,10 @@ if [ "$(DISTRIBUTION)" = "" ]; then echo "No distribution specified. Please set DISTRIBUTION."; exit 1; fi; dch \ --package gcc-$(GCC_BASE_VER)-plugin-melt \ - --newversion $(VERSION)-$(RELEASE)~$(DISTRIBUTION) \ + --newversion $(VERSION)-$(RELEASE) \ --distribution $(DISTRIBUTION) \ --force-distribution \ - "Releasing for GCC $(GCC_BASE_VER) / $(DISTRIBUTION)" + "Releasing GCC MELT plugin for GCC $(GCC_BASE_VER) / $(DISTRIBUTION)" ln -s gcc-plugin-melt_$(VERSION).orig.tar.gz ../gcc-$(GCC_BASE_VER)-plugin-melt_$(VERSION).orig.tar.gz control: @@ -50,3 +52,28 @@ -e 's/@BASE_VERSION@/$(BASE_VERSION)/g' \ $$file.in > $$(echo "$$file" | sed -e 's/gcc-plugin-melt/gcc-$(BASE_VERSION)-plugin-melt/g'); \ done; + +control-extra: + if [ "$(BASE_VERSION)" = "plugin-melt" ]; then echo "Not gcc-version specific, cannot release."; exit 1; fi; + for file in debian/control.extra; do \ + sed \ + -e 's/@BASE_VERSION@/$(BASE_VERSION)/g' \ + $$file.in > $$file; \ + done; + +extra: control-extra + if [ "$(DEBFULLNAME)" = "" -o "$(DEBEMAIL)" = "" ]; then echo "Please set maintainer informations (DEBFULLNAME, DEBEMAIL)"; exit 1; fi; + if [ "$(RELEASE)" = "" ]; then echo "No new package version specified. Please set RELEASE."; exit 1; fi; + if [ "$(VERSION)" = "" ]; then echo "No new package version specified. Please set VERSION."; exit 1; fi; + if [ "$(DISTRIBUTION)" = "" ]; then echo "No distribution specified. Please set DISTRIBUTION."; exit 1; fi; + mv debian/control.extra debian/control + if [ ! -L "../gcc-plugin-melt-extra_$(VERSION).orig.tar.gz" ]; then \ + ln -s gcc-plugin-melt_$(VERSION).orig.tar.gz ../gcc-plugin-melt-extra_$(VERSION).orig.tar.gz; \ + fi; + dch \ + --package gcc-plugin-melt-extra \ + --newversion $(VERSION)-$(RELEASE) \ + --distribution $(DISTRIBUTION) \ + --force-distribution \ + "Releasing GCC MELT plugin extra (doc, probes) / $(DISTRIBUTION)" + dpkg-buildpackage -S -sa