gnome-pkg-tools-0.19.3ubuntu2/0000775000000000000000000000000012012623600013033 5ustar gnome-pkg-tools-0.19.3ubuntu2/1/0000775000000000000000000000000012012623600013173 5ustar gnome-pkg-tools-0.19.3ubuntu2/1/rules/0000775000000000000000000000000012012623600014325 5ustar gnome-pkg-tools-0.19.3ubuntu2/1/rules/ubuntu-get-source.mk0000664000000000000000000000273312012622763020271 0ustar # copied from CDBS' buildvars DEB_SOURCE_PACKAGE ?= $(strip $(shell egrep '^Source: ' debian/control | cut -f 2 -d ':')) DEB_VERSION ?= $(shell dpkg-parsechangelog | egrep '^Version:' | cut -f 2 -d ' ') DEB_NOEPOCH_VERSION ?= $(shell echo $(DEB_VERSION) | cut -d: -f2-) DEB_UPSTREAM_VERSION ?= $(shell echo $(DEB_NOEPOCH_VERSION) | sed 's/-[^-]*$$//') DEB_SOURCE_PACKAGE_INITIAL ?= $(shell echo $(DEB_SOURCE_PACKAGE) | cut -c 1) # where to store the resulting .orig tarball DEB_TARBALL_DOWNLOAD_DIR ?= . UBUNTU_COMPONENT ?= main # defaults to non-native; you don't need to set this as both are tried UBUNTU_NATIVE ?= UBUNTU_DOWNLOAD_URL ?= http://archive.ubuntu.com/ubuntu/pool/$(UBUNTU_COMPONENT)/$(DEB_SOURCE_PACKAGE_INITIAL)/$(DEB_SOURCE_PACKAGE)/$(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION)$(if $(filter 1 true yes,$(UBUNTU_NATIVE)),,.orig).tar.gz UBUNTU_DOWNLOAD_COMMAND ?= wget -N -T10 -t1 -O $(DEB_TARBALL_DOWNLOAD_DIR)/$(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig.tar.gz $(UBUNTU_DOWNLOAD_URL) get-orig-source: dh_testdir @@echo 'Source package: $(DEB_SOURCE_PACKAGE)' @@echo 'Source package: $(DEB_VERSION)' @@echo 'Source version without epoch: $(DEB_NOEPOCH_VERSION)' @@echo 'Upstream version (for orig tarball): $(DEB_UPSTREAM_VERSION)' mkdir -p $(DEB_TARBALL_DOWNLOAD_DIR) # try to download non-native, then native, or fail $(foreach UBUNTU_NATIVE,no yes,$(UBUNTU_DOWNLOAD_COMMAND) ||) false .PHONY: get-orig-source gnome-pkg-tools-0.19.3ubuntu2/1/rules/check-dist.mk0000664000000000000000000000142312012622763016705 0ustar # In the default configuration, including this Makefile will allow uploads to # experimental, prevent upload to unstable, and warn in other cases # target distribution DEB_DISTRIBUTION ?= $(shell LC_ALL=C dpkg-parsechangelog | sed -n 's/^Distribution: //p') ALLOWED_DISTS ?= experimental DISALLOWED_DISTS ?= unstable ifeq ($(findstring $(DEB_DISTRIBUTION),$(ALLOWED_DISTS)),$(DEB_DISTRIBUTION)) # distribution is listed in ALLOWED_DISTS; skip $(info Allowed distribution: $(DEB_DISTRIBUTION)) else ifeq ($(findstring $(DEB_DISTRIBUTION),$(DISALLOWED_DISTS)),$(DEB_DISTRIBUTION)) # distribution is listed in DISALLOWED_DISTS; fail $(error Disallowed distribution: $(DEB_DISTRIBUTION)) else # unknown distribution; warn $(warning Unknown distribution: $(DEB_DISTRIBUTION)) endif endif gnome-pkg-tools-0.19.3ubuntu2/1/rules/lp-get-source.mk0000664000000000000000000000240312012622763017354 0ustar # copied from CDBS' buildvars DEB_SOURCE_PACKAGE ?= $(strip $(shell egrep '^Source: ' debian/control | cut -f 2 -d ':')) DEB_VERSION ?= $(shell dpkg-parsechangelog | egrep '^Version:' | cut -f 2 -d ' ') DEB_NOEPOCH_VERSION ?= $(shell echo $(DEB_VERSION) | cut -d: -f2-) DEB_UPSTREAM_VERSION ?= $(shell echo $(DEB_NOEPOCH_VERSION) | sed 's/-[^-]*$$//') # where to store the resulting .orig tarball DEB_TARBALL_DOWNLOAD_DIR ?= . TARBALL_EXT ?= tar.gz LP_DOWNLOAD_PAGE ?= https://launchpad.net/$(DEB_SOURCE_PACKAGE)/+download LP_DOWNLOAD_URL ?= $(shell wget -q -O - $(LP_DOWNLOAD_PAGE) | grep -o 'href="http://launchpad.net/$(DEB_SOURCE_PACKAGE)/.*/+download/$(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION)\.$(TARBALL_EXT)"' | cut -d'"' -f2) LP_DOWNLOAD_COMMAND ?= wget -T15 -t1 -O $(DEB_TARBALL_DOWNLOAD_DIR)/$(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig.$(TARBALL_EXT) $(LP_DOWNLOAD_URL) get-orig-source: dh_testdir @@echo 'Source package: $(DEB_SOURCE_PACKAGE)' @@echo 'Upstream version: $(DEB_UPSTREAM_VERSION)' @@echo 'Download page: $(LP_DOWNLOAD_PAGE)' @@echo 'Download url: $(LP_DOWNLOAD_URL)' mkdir -p $(DEB_TARBALL_DOWNLOAD_DIR) $(LP_DOWNLOAD_COMMAND) .PHONY: get-orig-source gnome-pkg-tools-0.19.3ubuntu2/1/rules/patch-translations.mk0000664000000000000000000000215012012622763020503 0ustar # Helper rules to translate new strings introduced in patches # The relevant patches must be listed by hand in debian/po-up/POTFILES.in clean:: rm -f debian/stamp-patch-translations rm -f po/patched.pot -mv po.saved/*.po po/ if [ -d po.saved ]; then rmdir po.saved; fi infiles = $(shell sed 's/^\[.*\]//' debian/po-up/POTFILES.in) update-po:: cd debian && for i in $(infiles); do \ if [ $${i##*.} = patch ]; then \ mv $$i $$i.saved ; \ sed -n 's/^\+//p' $$i.saved > $$i ; \ fi; done cd debian/po-up && intltool-update --pot -g patches cd debian && for i in $(infiles); do \ if [ -f $$i.saved ]; then \ mv $$i.saved $$i ; \ fi; done cd debian/po-up && for i in *.po; do \ if [ -f $$i ]; then \ intltool-update -g patches --dist $${i%.po}; \ fi; done post-patches:: debian/stamp-patch-translations debian/stamp-patch-translations: mkdir -p po.saved cd po && intltool-update --pot -g patched cd debian/po-up && for i in *.po; do \ if [ -f $$i ]; then \ cp -p ../../po/$$i ../../po.saved/ ; \ msgmerge --backup=none -U -C $$i ../../po/$$i ../../po/patched.pot ; \ fi; done touch $@ gnome-pkg-tools-0.19.3ubuntu2/1/rules/gnome-get-source.mk0000664000000000000000000001165012012622763020052 0ustar # copied from CDBS' buildvars DEB_SOURCE_PACKAGE ?= $(strip $(shell egrep '^Source: ' debian/control | cut -f 2 -d ':')) DEB_VERSION ?= $(shell dpkg-parsechangelog | egrep '^Version:' | cut -f 2 -d ' ') DEB_NOEPOCH_VERSION ?= $(shell echo $(DEB_VERSION) | cut -d: -f2-) DEB_UPSTREAM_VERSION ?= $(shell echo $(DEB_NOEPOCH_VERSION) | sed 's/-[^-]*$$//') # compute the major.minor part of the upstream version DEB_UPSTREAM_VERSION_MAJOR_MINOR := $(shell echo $(DEB_UPSTREAM_VERSION) | sed -r -n 's/^([0-9]+\.[0-9]+).*/\1/p') # search for a GIT revision in the version of the changelog # accepted formats: foo+git20090430.42ad43 (or ~ instead of +) DEB_UPSTREAM_GIT_REV ?= $(shell echo $(DEB_UPSTREAM_VERSION) | sed -rn 's/^.*[\.~+\d]+git[0-9]+\.([0-9a-f]+)$$/\1/p') # where to store the resulting .orig tarball DEB_TARBALL_DOWNLOAD_DIR ?= . # whether to generate a tarball in tarball (dbs format); default is to use the # upstream tarball, set to non-empty to change this behavior DEB_USE_DBS_TARBALL_LAYOUT ?= DEB_SOURCE_FORMAT := $(shell cat debian/source/format 2>/dev/null || echo 1.0) ifeq ($(DEB_SOURCE_FORMAT),3.0 (quilt)) TARBALL_EXT ?= tar.xz else TARBALL_EXT ?= tar.gz endif GNOME_MODULE ?= $(DEB_SOURCE_PACKAGE) GNOME_TARBALL ?= $(GNOME_MODULE)-$(DEB_UPSTREAM_VERSION).$(TARBALL_EXT) GNOME_DOWNLOAD_URL ?= http://ftp.gnome.org/pub/GNOME/sources/$(GNOME_MODULE)/$(DEB_UPSTREAM_VERSION_MAJOR_MINOR)/$(GNOME_TARBALL) GNOME_DOWNLOAD_COMMAND ?= wget -T10 -t3 -O $(if $(DEB_USE_DBS_TARBALL_LAYOUT),$(DEB_TARBALL_DOWNLOAD_DIR)/$(GNOME_TARBALL),$(DEB_TARBALL_DOWNLOAD_DIR)/$(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig.$(TARBALL_EXT)) $(GNOME_DOWNLOAD_URL) GNOME_GIT_URL ?= git://git.gnome.org/$(GNOME_MODULE) get-orig-source: dh_testdir @@echo 'Source package: $(DEB_SOURCE_PACKAGE)' @@echo 'Source version: $(DEB_VERSION)' @@echo 'Source version without epoch: $(DEB_NOEPOCH_VERSION)' @@echo 'Upstream version (for orig tarball): $(DEB_UPSTREAM_VERSION)' # create tarball dir mkdir -p $(DEB_TARBALL_DOWNLOAD_DIR) ifeq ($(DEB_UPSTREAM_GIT_REV),) $(GNOME_DOWNLOAD_COMMAND) @case "$(TARBALL_EXT)" in \ tar.bz2|tbz) \ if [ "$(DEB_SOURCE_FORMAT)" != "3.0 (quilt)" ]; then \ echo "$(DEB_TARBALL_DOWNLOAD_DIR)/$(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig.$(TARBALL_EXT) -> $(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig.tar.gz ...";\ bzcat $(DEB_TARBALL_DOWNLOAD_DIR)/$(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig.$(TARBALL_EXT) | \ gzip -9 >$(DEB_TARBALL_DOWNLOAD_DIR)/$(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig.tar.gz ; \ rm -f $(DEB_TARBALL_DOWNLOAD_DIR)/$(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig.$(TARBALL_EXT); \ fi \ ;;\ tar.xz) \ if [ "$(DEB_SOURCE_FORMAT)" != "3.0 (quilt)" ]; then \ echo "$(DEB_TARBALL_DOWNLOAD_DIR)/$(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig.$(TARBALL_EXT) -> $(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig.tar.gz ...";\ xzcat $(DEB_TARBALL_DOWNLOAD_DIR)/$(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig.$(TARBALL_EXT) | \ gzip -9 >$(DEB_TARBALL_DOWNLOAD_DIR)/$(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig.tar.gz ; \ rm -f $(DEB_TARBALL_DOWNLOAD_DIR)/$(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig.$(TARBALL_EXT); \ fi \ ;;\ zip) \ echo "$(DEB_TARBALL_DOWNLOAD_DIR)/$(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig.$(TARBALL_EXT) -> $(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig.tar.gz ...";\ unzip -q $(DEB_TARBALL_DOWNLOAD_DIR)/$(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig.$(TARBALL_EXT) \ -d $(DEB_TARBALL_DOWNLOAD_DIR)/$(GNOME_MODULE)-$(DEB_UPSTREAM_VERSION) ;\ (cd $(DEB_TARBALL_DOWNLOAD_DIR);\ if [ -d $(GNOME_MODULE)-$(DEB_UPSTREAM_VERSION)/$(GNOME_MODULE)-$(DEB_UPSTREAM_VERSION) ]; then \ cd $(GNOME_MODULE)-$(DEB_UPSTREAM_VERSION); \ tar cfz ../$(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig.tar.gz $(GNOME_MODULE)-$(DEB_UPSTREAM_VERSION);\ else \ tar cfz $(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig.tar.gz $(GNOME_MODULE)-$(DEB_UPSTREAM_VERSION); \ fi \ );\ rm -rf $(DEB_TARBALL_DOWNLOAD_DIR)/$(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig.$(TARBALL_EXT) \ $(DEB_TARBALL_DOWNLOAD_DIR)/$(GNOME_MODULE)-$(DEB_UPSTREAM_VERSION);\ ;;\ esac else @@echo 'Upstream GIT rev: $(DEB_UPSTREAM_GIT_REV)' @@echo 'Upstream GIT repo: $(GNOME_GIT_URL)' @@git clone $(GNOME_GIT_URL) \ $(DEB_TARBALL_DOWNLOAD_DIR)/$(GNOME_MODULE)-$(DEB_UPSTREAM_VERSION) @@cd $(DEB_TARBALL_DOWNLOAD_DIR)/$(GNOME_MODULE)-$(DEB_UPSTREAM_VERSION); \ git checkout $(DEB_UPSTREAM_GIT_REV); \ $(RM) -rf .git @@(cd $(DEB_TARBALL_DOWNLOAD_DIR);\ tar cfz $(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig.tar.gz \ $(GNOME_MODULE)-$(DEB_UPSTREAM_VERSION) \ ) @@$(RM) -rf $(DEB_TARBALL_DOWNLOAD_DIR)/$(GNOME_MODULE)-$(DEB_UPSTREAM_VERSION) endif .PHONY: get-orig-source gnome-pkg-tools-0.19.3ubuntu2/1/rules/gnome-version.mk0000664000000000000000000000103112012622763017452 0ustar # makefile snippet for generating ${gnome:Version} and # ${gnome:NextVersion} substitution variables DEB_GNOME_VERSION := $(shell echo $(DEB_VERSION) | sed -r 's/^([0-9]+:)?([0-9]\.[0-9]+)\..*$$/\1\2/') DEB_GNOME_NEXTVERSION := $(shell echo $(DEB_GNOME_VERSION) | awk -F. '{ printf("%s.%i\n",$$1,$$2+1) }') $(patsubst %,binary-install/%,$(DEB_PACKAGES)) :: binary-install/%: echo gnome:Version=$(DEB_GNOME_VERSION) >> debian/$(cdbs_curpkg).substvars echo gnome:NextVersion=$(DEB_GNOME_NEXTVERSION) >> debian/$(cdbs_curpkg).substvars gnome-pkg-tools-0.19.3ubuntu2/1/rules/uploaders.mk0000664000000000000000000000306312012622763016667 0ustar # ========================================================================= # Debian GNOME Packaging Tools # GNU Make class for auto-updating the Uploaders field # # $Id: uploaders.mk 22417 2009-11-21 10:51:59Z joss $ # ========================================================================= # Members list of Debian GNOME Maintainers TEAM_LIST ?= /usr/share/gnome-pkg-tools/pkg-gnome.team # Uploaders which should always be listed in UPLOADERS; the Maintainer is still # excluded ALWAYS_UPLOADS ?= Debian GNOME Maintainers # Shell command to get the maintainer from the control file GET_MAINTAINER_CMD ?= sed -n 's/^Maintainer: //p' debian/control.in # Number of uploads to be considered recent for the list of recent uploaders RECENT_UPLOADS ?= 10 # Shell command to get list of all recent uploaders GET_RECENT_UPLOADERS_CMD ?= sed -n 's/ .*//; s/^ -- //p' debian/changelog | head -n $(RECENT_UPLOADS) | sort -u # Create uploaders as intersection of GNOME uploaders and recent uploaders, but # without the Maintainer UPLOADERS ?= $(shell (echo "$(ALWAYS_UPLOADS)"; sed 's/,//' $(TEAM_LIST); $(GET_RECENT_UPLOADERS_CMD)) | grep -vF "`$(GET_MAINTAINER_CMD)`" | sort | uniq -d | sed '$$,$$! s/$$/,/') # backward compatibility uploaders := $(UPLOADERS) # Header for debian/control (warning to not modify it directly) CONTROL_HEADER ?= /usr/share/gnome-pkg-tools/control.header ifeq ($(DISABLE_UPDATE_UPLOADERS),) clean:: { cat $(CONTROL_HEADER) ; \ sed "s/@GNOME_TEAM@/$(UPLOADERS)/" debian/control.in ; } \ > debian/control endif gnome-pkg-tools-0.19.3ubuntu2/1/rules/clean-la.mk0000664000000000000000000000067312012622763016351 0ustar # makefile snippet for removing dependency_libs lines from .la files $(patsubst %,binary-install/%,$(DEB_PACKAGES)) :: binary-install/%: for file in $(wildcard debian/$(cdbs_curpkg)/usr/lib/*.la); do \ sed -i "/dependency_libs/ s/'.*'/''/" $$file ; \ done ifneq (,$(DEB_HOST_MULTIARCH)) for file in $(wildcard debian/$(cdbs_curpkg)/usr/lib/$(DEB_HOST_MULTIARCH)/*.la); do \ sed -i "/dependency_libs/ s/'.*'/''/" $$file ; \ done endif gnome-pkg-tools-0.19.3ubuntu2/1/rules/sf-get-source.mk0000664000000000000000000000352012012622763017352 0ustar # copied from CDBS' buildvars DEB_SOURCE_PACKAGE ?= $(strip $(shell egrep '^Source: ' debian/control | cut -f 2 -d ':')) DEB_VERSION ?= $(shell dpkg-parsechangelog | egrep '^Version:' | cut -f 2 -d ' ') DEB_NOEPOCH_VERSION ?= $(shell echo $(DEB_VERSION) | cut -d: -f2-) DEB_UPSTREAM_VERSION ?= $(shell echo $(DEB_NOEPOCH_VERSION) | sed 's/-[^-]*$$//') # where to store the resulting .orig tarball DEB_TARBALL_DOWNLOAD_DIR ?= . TARBALL_EXT ?= tar.gz SF_PROJECT ?= $(DEB_SOURCE_PACKAGE) SF_MODULE ?= $(DEB_SOURCE_PACKAGE) SF_TARBALL ?= $(SF_MODULE)-$(DEB_UPSTREAM_VERSION).$(TARBALL_EXT) SF_DOWNLOAD_URL ?= http://$$sf_mirror.dl.sourceforge.net/$(SF_PROJECT)/$(SF_TARBALL) SF_MIRRORS ?= aarnet cdnetworks-kr-1 cdnetworks-kr-2 cdnetworks-us-1 citylan dfn freefr garr heanet hivelocity ignum internode iweb jaist kent nchc ncu netcologne softlayer space sunet superb-dca2 superb-sea2 switch ufpr voxel waix SF_DOWNLOAD_COMMAND ?= for sf_mirror in $(SF_MIRRORS); do wget -nc -T10 -t1 -O $(DEB_TARBALL_DOWNLOAD_DIR)/$(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig.$(TARBALL_EXT) $(SF_DOWNLOAD_URL) && break; done get-orig-source: dh_testdir @@echo 'Source package: $(DEB_SOURCE_PACKAGE)' @@echo 'Source package: $(DEB_VERSION)' @@echo 'Source version without epoch: $(DEB_NOEPOCH_VERSION)' @@echo 'Upstream version (for orig tarball): $(DEB_UPSTREAM_VERSION)' mkdir -p $(DEB_TARBALL_DOWNLOAD_DIR) $(SF_DOWNLOAD_COMMAND) case "$(TARBALL_EXT)" in \ tar.bz2|tbz) \ bzcat $(DEB_TARBALL_DOWNLOAD_DIR)/$(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig.$(TARBALL_EXT) | \ gzip -9 >$(DEB_TARBALL_DOWNLOAD_DIR)/$(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig.tar.gz ; \ rm -f $(DEB_TARBALL_DOWNLOAD_DIR)/$(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig.$(TARBALL_EXT) \ ;;\ esac .PHONY: get-orig-source gnome-pkg-tools-0.19.3ubuntu2/gnome-policy.xml0000664000000000000000000002677112012622763016205 0ustar Debian GNOME Packaging Policy RossBurton ross@debian.org MikaelHallendal Advised on correct gtk-doc usage micke@codefactory.se ChristianMarillat Documentation clarifications BastienNocera SebastianRittau Gustavo Noronha Silva ColinWalters GNOME-VFS section This document describes the policy requirements for the packaging of GNOME programs in Debian GNU/Linux. 20050123-1 2005-01-23 Remove section on Nautilus Views, add dh_gconf, and clarify gtk-doc paths. 20040816-1 2004-08-16 Quick update to cover changes up to GNOME 2.6. 20030502-1 2003-05-03 Clarified gtk-doc layout, added a section on the 'gnome' section, and clarified the section for engines. 20030218-1 2003-02-18 Rewrote section on API Documentation, after talking to gtk-doc developers. 20030119-1 2003-01-19 Added a section on GnomeVFS, and rewrote the API documentation section. 20030114-1 2003-01-14 Reformatted in DocBook. 2003-4 Ross Burton TODO: insert Open Content License or similar here Table of Contents Introduction This document describes the policy requirements for the packaging of GNOME programs. This document is currently a draft, as it evolves it should become more organised. This document only mentions packaging guidelines appropriate for GNOME packages. The Debian Policy still applies to all packages. General Packaging Guidelines Package Naming Programs that the end user can actually run (such as File Roller) should be packaged as the name of the program. Do not suffix the package with a 2 to represent the GNOME 2 package; if upstream is maintaining both GNOME 1 and GNOME 2 releases, then name the GNOME 1 package foo-gnome1 instead. Package Section GNOME applications (not libraries) should be in the gnome section unless they are used by multiple environments (such as KDE). Documentation If any binaries accept the standard GTK+ or GNOME command-line options, the manual pages should refer to the GTK+ and/or GNOME common command-line option manual pages, gtk-options.7 and gnome-options.7 (in the packages libgtk2.0-bin and libgnome2-common respectively). If the upstream tarball contains API documentation for a library which is generated using gtk-doc or doxygen, it should not be regenerated during the Debian package build process. In the case of gtk-doc, this means passing the --disable-gtk-doc flag to configure. An exception to this rule is if the upstream tarball contains incomplete or old API documentation, or if it is not installed when --disable-gtk-doc is used. API documentation should be included in the -dev package if relatively small, otherwise in a separate -doc package. API docs should be available in /usr/share/doc/[package]/, normally in a directory named after the type of file (such as html/). This is so that multiple formats can be packaged (PDF for example). However, if gtk-doc is used to generate the API documentation, the documentation should be installed in the default location, /usr/share/gtk-doc/html/[package], with a symbolic link in /usr/share/doc/[package]/html/. Alternatively, the documentation can be installed into /usr/share/doc/[package]/ and a symbolic link to it created in /usr/share/gtk-doc/html/. The [package].devhelp file must also be installed. This ensures that gtk-doc and other tools which use the gtk-doc metadata (such as DevHelp) can find the documentation. TODO: There is the issue of rebuilding documentation if upstream didn't generate it with cross-references. Ideally all types will be cross-referenced, down to gint. Use of GConf Many GNOME applications use GConf for preferences, and most applications provide schemas for the keys they set. These schemas must be handled specially in the package build process. There are two issues: the location of schema files on disk, and registering schemas at install time. GConf schema files are by default installed into /etc/gconf/schemas, but as they are not configuration files we move them to /usr/share/gconf/schemas/. This can be done with the configure flag --with-gconf-schema-file-dir=/usr/share/gconf/schemas. Alternatively dh_gconf will move any schemas found in /etc/gconf/schemas if it is called in debian/rules. If debian/rules is using CDBS, simply include /usr/share/cdbs/1/class/gnome.mk. This will call dh_gconf which will set the relevant environment variables and create the maintainer scripts. Note that dh_gconf will move the schema files from /etc/gconf/schemas to /usr/share/gconf/schemas, as GConf schemas are not configuration files. If the package doesn't use CDBS however, before running make install, the variable GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL must be set to 1. This will ensure that the schemas are not installed on your machine in the package build tree. Then in the relevant binary- target call dh_gconf to create the maintainer scripts. If you use dh_gconf via either CDBS or manually, you must depend on debhelper >= 4.1.87, although debhelper >= 4.2.16 is recomended for the move of schemas to /usr/share/gconf/schemas. Specific Packaging Guidelines Panel Applets TODO: Panel applets -- "gnome-applet-foo" or "foo-applet" or "gnome-foo-applet"? Panel applets must be installed into /usr/lib/gnome-panel as they are never directly executabled by the user. This applies to both shared library and executable panel applets. TODO: Or should they go into /usr/share/gnome-applets? Themes and Theme Engines GTK+ 1.x engines must be named gtk-engines-[name], and GTK+ 2.x engines must named gtk2-engines-[name]. All engines should be in the gnome section. Unless there are special requirements, GTK+ themes should not specify a font. This is because a font specified in a theme can not be changed by the user trivially. TODO: How do we package pure gtkrc themes which use engines (such as GitM, which uses mist)? Should engine packages include a set of decent themes for this engine, even if they were not written by the same author? TODO: Icon themes? Metacity themes? GnomeVFS Methods It is recommended that any GnomeVFS methods included with a program should be packaged separately, with just the necessary shared library and the GnomeVFS module configuration file. If a package provides just a single method, it should be named like gnomevfs-method-[prefix], where [prefix] is the URI prefix that the method provides. If a single upstream source package provides multiple methods, it may either be packaged as gnomevfs-methods-[name], where [name] is the name of the upstream source, or it may be split into multiple individual packages as above. License TODO: insert something sane. gnome-pkg-tools-0.19.3ubuntu2/debian/0000775000000000000000000000000012012623600014255 5ustar gnome-pkg-tools-0.19.3ubuntu2/debian/gnome-pkg-tools.doc-base0000664000000000000000000000104612012622763020710 0ustar Document: gnome-pkg-tools Title: Debian GNOME Packaging Policy Author: Debian GNOME Maintainers Abstract: This document describes the policy requirements for the packaging of GNOME programs. This document is currently a draft, as it evolves it should become more organised. This document only mentions packaging guidelines appropriate for GNOME packages. The Debian Policy still applies to all packages. Section: Debian Format: HTML Index: /usr/share/doc/gnome-pkg-tools/gnome-policy.html Files: /usr/share/doc/gnome-pkg-tools/gnome-policy.html gnome-pkg-tools-0.19.3ubuntu2/debian/copyright0000664000000000000000000000173212012622763016224 0ustar This is gnome-pkg-tools, written and maintained by Sebastien Bacher on Wed, 8 Oct 2003 16:19:13 +0200. Copyright (C) 2003 Sebastien Bacher 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 package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-2'. gnome-pkg-tools-0.19.3ubuntu2/debian/desktop-check-mime-types.10000664000000000000000000000131512012622763021163 0ustar .TH desktop-check-mime-types 1 2011-08-11 "desktop-check-mime-types" .SH NAME desktop-check-mime-types - compare MIME types in installed .desktop files .SH SYNOPSIS .B desktop-check-mime-types .SH DESCRIPTION desktop-check-mime-types compares MIME types in installed .desktop files with the ones installed in debian/*.mime files, reporting which ones are not listed into .mime files. .PP This tool is part of gnome-pkg-tools package. .SH COPYRIGHT This manual page is Copyright 2011 Luca Falavigna . Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or any later version published by the Free Software Foundation. gnome-pkg-tools-0.19.3ubuntu2/debian/gnome-pkg-tools.install0000664000000000000000000000056712012622763020710 0ustar pkg-gnome.team usr/share/gnome-pkg-tools/ 1 usr/share/gnome-pkg-tools/ control.header usr/share/gnome-pkg-tools/ desktop-check-mime-types usr/bin/ dh/dh_gnome usr/bin/ dh/dh_gnome_clean usr/bin/ dh/gnome.pm usr/share/perl5/Debian/Debhelper/Sequence/ gnome-pkg-tools-0.19.3ubuntu2/debian/source/0000775000000000000000000000000012012623600015555 5ustar gnome-pkg-tools-0.19.3ubuntu2/debian/source/format0000664000000000000000000000001512012622763016775 0ustar 3.0 (native) gnome-pkg-tools-0.19.3ubuntu2/debian/README.Debian0000664000000000000000000001371212012622763016333 0ustar ================================================================================ README.Debian for Debian GNOME Packaging Tools ================================================================================ Authors: Sebastien Bacher Andrew Lau Josselin Mouette 1 - Contacts ------------ Homepage: http://alioth.debian.org/projects/pkg-gnome/ Mailing List: 2 - Co-maintainers ------------------ The following instructions detail how to use gnome-pkg-tools to keep an up-to-date list of Debian GNOME Maintainers as co-maintainers to your packages. * debian/control.in: Copy control to control.in so that it gets refreshed before each build Make the following edits: Build-Depends: ..., gnome-pkg-tools Uploaders: @GNOME_TEAM@ NOTE: Remember to make changes to control.in instead of control in future as control will be overridden each time! * debian/rules : Add the following line: include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk You'll also have to turn your clean: target into a clean:: target (or just switch to CDBS). You may override the provided team list (/usr/share/gnome-pkg-tools/pkg-gnome.team) by setting $(TEAM_LIST) before the class inclusion. * Debian Package Tracking System (PTS) Remember to subscribe (and confirm) the mailing list to the PTS entry for each of your GNOME packages at http://packages.qa.debian.org/ . Please also disable the bts-control and upload-binary keywords to keep traffic on the mailing list to a minimum. 3 - Subversion Repository ------------------------- You can browse it online at: http://anonscm.debian.org/viewvc/pkg-gnome/ To "checkout" the repository use these commands: $ svn co \ svn+ssh://${ALIOTH_USERNAME}@svn.debian.org/svn/pkg-gnome/ If you had previously checked out the repository while it was still hosted at Alioth (before January 1, 2005), you will need to migrate your working copy to the new location by executing: $ svn switch --relocate \ svn+ssh://${ALIOTH_USERNAME}@pkg-gnome.alioth.debian.org/svn/pkg-gnome/ \ svn+ssh://${ALIOTH_USERNAME}@svn.debian.org/svn/pkg-gnome/ Authorized SSH keys are controlled at https://alioth.debian.org/account/ For the moment the root has 3 directories: - desktop Contains debian/ files for all packages belonging to GNOME official releases. Development for 2.4 packages should be done at branches/2.4 dir and development for 2.6 must be done at trunk/ - packages Contains the debian/ files for the packages not being official GNOME modules - tools Tools to make maintaining GNOME packages easier (including this one) 4 - Using svn-buildpackage -------------------------- To make maintaining your Debian GNOME packages easier, you may choose to build them straight out of the SVN repository you have checked out as detailed above using the wrappers from Eduard Bloch's svn-devscripts package. For native Debian packages, commit the whole package to the Subversion repository. Packages with an upstream tarball will require you to set the mergeWithUpstream property first (from the package root) so that svn-buildpackage will look for the .orig.tar.gz in the ../tarballs directory. $ svn propset mergeWithUpstream 1 debian Please note that this only works for packages which have only the debian/ directory committed. Consequently, you must use CDBS's simple-patchsys.mk or dpatch to modify the upstream sources. After you have finished and committed your Debian patches via $ svn commit [PACKAGE] as well as copying the orig.tar.gz to ../tarballs/ if necessary, you may build your package with the following commands: $ svn-buildpackage -rfakeroot If the build is successful, the resultant source and binary packages may be found in the ../build-area directory. If you wish to use another program to build the package rather than dpkg-buildpackage (for example debuild or pdebuild) then use this command: $ svn-buildpackage -rfakeroot --svn-builder=debuild Also take note that svn:ignore has been set to "*" for the build-area and tarballs directories to prevent accidental SVN commital of your built packages and orig tarballs. 5 - Policy ---------- When committing non-trivial changes to SVN, please use the most recent changelog.Debian entries of the relevant packages as your svn commit log message. Please observe the following guidelines for now when upgrading the version no. of this package: [x.y.z]: x: Massive overhaul rendering Makefile classes under /usr/share/gnome-pkg/tools/(x+1)/ obsolete. y: Changes in functionality. z: Changes to pkg-gnome.team file only. 6 - Upload queue on Alioth -------------------------- Some notes on the upload queue on Alioth * URI: alioth.debian.org:/org/alioth.debian.org/chroot/home/groups/pkg-gnome/htdocs/debian/incoming/ * dupload config (/etc/dupload.conf): $cfg{'alioth'} = { fqdn => "alioth.debian.org", method => "scpb", incoming => "/org/alioth.debian.org/chroot/home/groups/pkg-gnome/htdocs/debian/incoming/", dinstall_runs => 1, }; * dupload usage: dupload --to alioth .changes * dput configuration (~/.dput.cf): [gnome] method = scp fqdn = alioth.debian.org incoming = /org/alioth.debian.org/chroot/home/groups/pkg-gnome/htdocs/debian/incoming/ * dput usage: dput gnome foo.changes * entries for sources.list: deb http://pkg-gnome.alioth.debian.org/debian/ unstable main deb http://pkg-gnome.alioth.debian.org/debian/ experimental main * Notes the queue is processed every 10 minutes -------------------------------------------------------------------------------- $Id: README.Debian 30528 2011-10-15 00:40:05Z jordi $ -- Sebastien Bacher , Thu Jun 17 17:28:30 2004 gnome-pkg-tools-0.19.3ubuntu2/debian/control0000664000000000000000000000253612012623601015667 0ustar # This file is autogenerated. DO NOT EDIT! # # Modifications should be made to debian/control.in instead. # This file is regenerated automatically in the clean target. Source: gnome-pkg-tools Section: devel Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Debian GNOME Maintainers Uploaders: Debian GNOME Maintainers , Emilio Pozuelo Monfort , Jordi Mallach , Josselin Mouette , Loïc Minier Build-Depends: cdbs, debhelper (>= 9) Build-Depends-Indep: xmlto Standards-Version: 3.9.3 Vcs-Svn: svn://anonscm.debian.org/svn/pkg-gnome/tools/gnome-pkg-tools Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-gnome/tools/gnome-pkg-tools/ Package: gnome-pkg-tools Architecture: all Depends: ${misc:Depends}, ${perl:Depends}, dh-translations, python-scour Suggests: svn-buildpackage Multi-Arch: foreign Description: Tools for the Debian GNOME Packaging Team This package contains some useful tools for the Debian GNOME Packaging Team including: * Documentation. * The list of team members. * A number of rules files for CDBS that are helpful for GNOME packages - but may also be useful for others. gnome-pkg-tools-0.19.3ubuntu2/debian/control.in0000664000000000000000000000175012012622763016301 0ustar Source: gnome-pkg-tools Section: devel Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Debian GNOME Maintainers Uploaders: @GNOME_TEAM@ Build-Depends: cdbs, debhelper (>= 9) Build-Depends-Indep: xmlto Standards-Version: 3.9.3 Vcs-Svn: svn://anonscm.debian.org/svn/pkg-gnome/tools/gnome-pkg-tools Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-gnome/tools/gnome-pkg-tools/ Package: gnome-pkg-tools Architecture: all Depends: ${misc:Depends}, ${perl:Depends}, dh-translations, python-scour Suggests: svn-buildpackage Multi-Arch: foreign Description: Tools for the Debian GNOME Packaging Team This package contains some useful tools for the Debian GNOME Packaging Team including: * Documentation. * The list of team members. * A number of rules files for CDBS that are helpful for GNOME packages - but may also be useful for others. gnome-pkg-tools-0.19.3ubuntu2/debian/docs0000664000000000000000000000002212012622763015133 0ustar gnome-policy.html gnome-pkg-tools-0.19.3ubuntu2/debian/compat0000664000000000000000000000000212012622763015464 0ustar 9 gnome-pkg-tools-0.19.3ubuntu2/debian/rules0000775000000000000000000000107112012622763015345 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk # Use local copies to generate Uploaders: field TEAM_LIST := ./pkg-gnome.team CONTROL_HEADER := ./control.header include ./1/rules/uploaders.mk # check for missing trailing comma or superfluous comma (on last line) typos := $(shell sed -n 's/[^,]*//; $$,$$! { /^,$$/ d }; $$,$$ { /^$$/ d }; =' $(TEAM_LIST)) ifneq ($(typos),) $(error Missing or superfluous comma in $(TEAM_LIST) at lines: $(typos)) endif build/gnome-pkg-tools:: xmlto html-nochunks gnome-policy.xml clean:: rm -f gnome-policy.html gnome-pkg-tools-0.19.3ubuntu2/debian/changelog0000664000000000000000000005302512012623044016136 0ustar gnome-pkg-tools (0.19.3ubuntu2) quantal; urgency=low * Remove blank line at end of control.header. (LP: #953392) -- Logan Rosen Mon, 30 Jul 2012 03:54:42 -0400 gnome-pkg-tools (0.19.3ubuntu1) quantal; urgency=low * Resynchronize on Debian, remaining diffs * dh/gnome.pm: - Run dh_translations and dh_scour, to match behaviour of our cdbs gnome.mk. Add dh-translations and python-scour dependencies for this. - Suggests on svn-buildpackage since it's in universe -- Sebastien Bacher Mon, 11 Jun 2012 15:55:09 +0200 gnome-pkg-tools (0.19.3) unstable; urgency=low * Add Martin Pitt and Jeremy Bicha to the team list. * Update debhelper compatibility to v9. * Bump Standards-Version to 3.9.3, with no further changes. -- Jordi Mallach Fri, 30 Mar 2012 18:54:44 +0200 gnome-pkg-tools (0.19.2) unstable; urgency=low * *-get-source.mk: get-orig-source now defaults to current directory to download source tarballs per policy 4.9; set DEB_TARBALL_DOWNLOAD_DIR to set a different output directory such as ../tarballs; thanks James Westby; closes: #527626. * Set gnome-pkg-tools Multi-Arch: foreign; see LP #950072. * gnome-policy: drop ScrollKeeper section as dh_scrollkeeper is deprecated nowadays. * Drop obsolete gnome-dupload. -- Loïc Minier Mon, 12 Mar 2012 11:57:06 +0100 gnome-pkg-tools (0.19.1) unstable; urgency=low * Update SF mirrors to the current official list in http://sourceforge.net/apps/trac/sourceforge/wiki/Mirrors. * Update Vcs-* fields and other URL references. * Bump to debhelper compatibility 8. -- Jordi Mallach Sat, 15 Oct 2011 02:18:29 +0200 gnome-pkg-tools (0.19.0) unstable; urgency=low * gnome-get-source.mk: + Make tar.xz the default extension now that the archive supports it. -- Josselin Mouette Sun, 02 Oct 2011 13:22:39 +0200 gnome-pkg-tools (0.18.1) unstable; urgency=low * Team upload. * pkg-gnome.team: - Remove myself for the time being. * debian/control.in: - Bump Standards-Version to 3.9.2, no changes required. * debian/desktop-check-mime-types.1: - Provide a man page for desktop-check-mime-types tool. -- Luca Falavigna Thu, 11 Aug 2011 16:34:04 +0200 gnome-pkg-tools (0.18.0) unstable; urgency=low [ Emilio Pozuelo Monfort ] * 1/rules/clean-la.mk: + If $DEB_HOST_MULTIARCH is set, look in this directory for .la files to clean too. Thanks Steve Langasek for the patch. Closes: #618377. [ Josselin Mouette ] * gnome-get-source.mk: + Make conversion rules silent. + Prefer tar.bz2 when 3.0 source format is used. + Only convert tar.bz2 to tar.gz if 1.0 format is still used. + Add support for tar.xz which should be soon supported by the archive. -- Josselin Mouette Wed, 20 Apr 2011 20:37:14 +0200 gnome-pkg-tools (0.17.0) unstable; urgency=low [ Laurent Bigonville ] * debian/control.in: Add Vcs-Svn and Vcs-Browser fields. [ Luca Falavigna ] * Add --with gnome debhelper sequencer (Closes: #578494). It currently provides the equivalent for the following classes: - check-dist.mk - clean-la.mk - gnome-version.mk - uploaders.mk [ Emilio Pozuelo Monfort ] * 1/rules/*-get-source.mk: - Don't be silent when downloading tarballs. [ Frederic Peters ] * pkg-gnome.team: add myself. [ Emilio Pozuelo Monfort ] * debian/control.in: + Bump Standards-Version to 3.9.1, no changes needed. * debian/source/format: + Switch to source format 3.0 (native). -- Emilio Pozuelo Monfort Sun, 27 Feb 2011 16:03:19 +0000 gnome-pkg-tools (0.16.3) unstable; urgency=low * patch-translations.mk: support forced types in POTFILES.in. -- Josselin Mouette Tue, 13 Apr 2010 23:48:53 +0200 gnome-pkg-tools (0.16.2) unstable; urgency=low [ Josselin Mouette ] * Add Michael Biebl to the team. [ Emilio Pozuelo Monfort ] * 1/rules/lp-get-source.mk: - Allow to override the default .tar.gz tarball extension. * debian/control.in: - Standards-Version is 3.8.4, no changes needed. [ David Weinehall ] * pkg-gnome.team: add myself. -- Emilio Pozuelo Monfort Tue, 23 Mar 2010 12:19:58 +0100 gnome-pkg-tools (0.16.1) unstable; urgency=low [ Josselin Mouette ] * Fix typo in description. Closes: #557363. [ Andrea Veri ] * pkg-gnome.team: updated my mail to match my Debian Account's address. -- Andrea Veri Wed, 16 Dec 2009 23:10:06 +0100 gnome-pkg-tools (0.16) unstable; urgency=low * uploaders.mk: add a comment at the top of debian/control explaining that the file is autogenerated. Closes: #555446. * control.header: add a file containing the default header. It can be overriden by the CONTROL_HEADER make variable. -- Josselin Mouette Sat, 21 Nov 2009 11:47:41 +0100 gnome-pkg-tools (0.15.2) unstable; urgency=low [ Andreas Henriksson ] * pkg-gnome.team: add myself. [ Andrea Veri ] * pkg-gnome.team: add myself. [ Laurent Bigonville ] * pkg-gnome.team: add myself. -- Laurent Bigonville Fri, 23 Oct 2009 14:02:08 +0200 gnome-pkg-tools (0.15.1) unstable; urgency=low * pkg-gnome.team: add myself. -- Luca Falavigna Tue, 22 Sep 2009 12:20:03 +0000 gnome-pkg-tools (0.15) unstable; urgency=low [ Loïc Minier ] * Stop install gnome-make-tartar as I believe it's not used anywhere anymore. * Drop 1/class/ dir as it's now empty. * Bump Standards-Version to 3.8.2, no change needed. [ Emilio Pozuelo Monfort ] * pkg-gnome.team: switch my email address to @debian.org * Standards-Version is 3.8.3, no changes needed. * gnome-make-tartar: Removed. * 1/rules/gnome-get-source.mk: gnome-make-tartar is gone now, don't try to use it. -- Emilio Pozuelo Monfort Wed, 26 Aug 2009 13:57:29 +0200 gnome-pkg-tools (0.14.3) unstable; urgency=low [ Emilio Pozuelo Monfort ] * 1/rules/lp-get-source.mk: New rule to fetch orig tarballs from Launchpad. [ Loïc Minier ] * Add a second entry in the team with my UTF-8 name and a third with my Debian address. -- Loïc Minier Fri, 17 Jul 2009 12:17:01 +0200 gnome-pkg-tools (0.14.2) unstable; urgency=low [ Josselin Mouette ] * Remove a few inactive members of the team. [ Eugen Dedu ] * GNOME has switched to git, update get-orig-source to use git instead of svn. [ Kilian Krause ] * debian/control(.in): Update to compat 3.8.1 - no changes needed. -- Kilian Krause Thu, 21 May 2009 22:03:03 +0200 gnome-pkg-tools (0.14.1) unstable; urgency=low [ Loic Minier ] * Add ${misc:Depends}. [ Romain Francoise ] * pkg-gnome.team: Remove myself. [ Julian Andres Klode ] * Update my email address, it's now jak@debian.org -- Julian Andres Klode Thu, 09 Apr 2009 21:16:39 +0200 gnome-pkg-tools (0.14) unstable; urgency=low [ Loic Minier ] * Drop Homepage from description. * Remove Ondřej Surý from the team at his request. [ Josselin Mouette ] * patch-translations.mk: + Add support for multi-line translations by only including lines starting with + and removing the said +. This will widely broaden the range of patches this hack can support. + Don’t let msgmerge make backups during the build, they pollute the diff if run twice. * Improve description a bit. * Standards version is now 3.8.0. -- Josselin Mouette Sun, 28 Dec 2008 03:25:36 +0100 gnome-pkg-tools (0.13.6) unstable; urgency=low * Pass -nc to wget instead of -N as it is incompatible with -O; thanks Mark Purcell; closes: #478217. -- Loic Minier Sat, 03 May 2008 23:04:03 +0200 gnome-pkg-tools (0.13.5) unstable; urgency=low * Add myself. -- Julian Andres Klode Sat, 29 Mar 2008 19:43:39 +0100 gnome-pkg-tools (0.13.4) unstable; urgency=low * Add Deng Xiyue to the team. -- Sebastian Dröge Thu, 28 Feb 2008 16:51:11 +0100 gnome-pkg-tools (0.13.3) unstable; urgency=low * gnome-get-source.mk: fix the case where the zip already contains a single directory. -- Josselin Mouette Sun, 24 Feb 2008 13:20:33 +0100 gnome-pkg-tools (0.13.2) unstable; urgency=low [ Emilio Pozuelo Monfort ] * pkg-gnome.team: Add myself to the team. [ Ross Burton ] * Add Rob Bradford back. -- Ross Burton Thu, 14 Feb 2008 16:10:59 +0000 gnome-pkg-tools (0.13.1) unstable; urgency=low * 1/rules/patch-translations.mk: don't regenerate the .po and .pot files in the clean target. Create a new update-po target for that effect. -- Josselin Mouette Sat, 12 Jan 2008 03:16:43 +0100 gnome-pkg-tools (0.13) unstable; urgency=low * 1/rules/patch-translations.mk: new file, contains helper rules for translating the contents of patches. -- Josselin Mouette Sun, 18 Nov 2007 18:54:11 +0100 gnome-pkg-tools (0.12.3) unstable; urgency=low * Drop obsolete print-version from .PHONY. * Try non-native and then native tarballs in ubuntu-get-source. -- Loic Minier Tue, 31 Jul 2007 16:45:22 +0200 gnome-pkg-tools (0.12.2) unstable; urgency=low [ Kilian Krause ] * Add bz2 and zip downloads with repacking to 1/rules/gnome-get-source.mk. * Add svn downloads from svn.gnome.org. * Relax svn revision syntax restrictions. [ Loic Minier ] * New ubuntu-get-source Makefile snippet implementing the get-orig-source target from the Ubuntu archive. -- Loic Minier Tue, 31 Jul 2007 14:41:00 +0200 gnome-pkg-tools (0.12.1) unstable; urgency=low * Add bz2 downloads with repacking to 1/rules/sf-get-source.mk. -- Kilian Krause Sat, 21 Jul 2007 17:09:44 +0200 gnome-pkg-tools (0.12) unstable; urgency=low * New script, desktop-check-mime-types, will fail if a MIME type found in a publicly installed .desktop file isn't listed in a debian/*.mime file. * Bump up debhelper compatibility level to 5. * Cleanups. -- Loic Minier Thu, 05 Jul 2007 20:25:48 +0200 gnome-pkg-tools (0.11.9) unstable; urgency=low * Add myself. -- Mario Lang Sun, 10 Jun 2007 01:05:58 +0200 gnome-pkg-tools (0.11.8) unstable; urgency=low * pkg-gnome.team: Add myself and fix alphabetical order. -- Romain Francoise Tue, 05 Jun 2007 08:35:44 +0200 gnome-pkg-tools (0.11.7) unstable; urgency=low * Added myself; -- Otavio Salvador Fri, 01 Jun 2007 21:11:34 -0300 gnome-pkg-tools (0.11.6) unstable; urgency=low * Added myself; hello! -- Norbert Tretkowski Wed, 30 May 2007 12:08:07 +0200 gnome-pkg-tools (0.11.5) unstable; urgency=low * Added Riccardo Setti; have a nice jump in the team! * Check for missing trailing comma or superfluous comma on last line in pkg-gnome.team. -- Loic Minier Fri, 11 May 2007 21:45:41 +0200 gnome-pkg-tools (0.11.4) unstable; urgency=low * Define "uploaders" for backward compatibility. -- Loic Minier Mon, 30 Apr 2007 11:06:46 +0200 gnome-pkg-tools (0.11.3) unstable; urgency=low * Add Sebastian Dröge; welcome! -- Loic Minier Mon, 16 Apr 2007 09:57:47 +0200 gnome-pkg-tools (0.11.2) unstable; urgency=high * Add an ALWAYS_UPLOADS list, with only pkg-gnome-maintainers@ for now, to uploaders.mk. -- Loic Minier Tue, 27 Mar 2007 21:38:28 +0200 gnome-pkg-tools (0.11.1) unstable; urgency=high * Avoid using xargs which will cause simple quotes to be stripped; poor HE. -- Loic Minier Tue, 27 Mar 2007 15:45:45 +0200 gnome-pkg-tools (0.11) unstable; urgency=low [ Marc 'HE' Brockschmidt ] * 1/rules/uploaders.mk: Generate uploaders field by intersecting the list of gnome maintainers with a list of people who have done an upload recently. [ Loic Minier ] * Add DISABLE_UPDATE_UPLOADERS to disable the clean:: target of 1/rules/uploaders.mk. -- Loic Minier Mon, 26 Mar 2007 15:34:12 +0200 gnome-pkg-tools (0.10.1) unstable; urgency=low * Cleanups. * Drop wget's -N flag as it's incompatible with -O in wget 1.11. -- Loic Minier Mon, 12 Mar 2007 13:34:41 +0100 gnome-pkg-tools (0.10) unstable; urgency=low * Try to wget from each SF mirror only one time before going to the next. * New Makefile, check-dist.mk, which allows uploads to experimental, forbids uploads to unstable, and warns in other cases; distribution lists can be overriden. -- Loic Minier Mon, 22 Jan 2007 10:47:20 +0100 gnome-pkg-tools (0.9.3) unstable; urgency=low * Fix typo in changelog. * Remove print-version target in gnome-get-source.mk and always print the version in the get-orig-source target. * New sf-get-orig-source Makefile offering a get-orig-source implementation for SourceForge downloads. -- Loic Minier Sun, 14 Jan 2007 12:35:41 +0100 gnome-pkg-tools (0.9.2) unstable; urgency=low [ Loic Minier ] * Hide comments of gnome-get-source at runtime. [ Kilian Krause ] * Add print-version target to allow for better debugging. [ Loic Minier ] * Simple rebuild to get rid of .svn dirs; no idea how these landed in the .deb. -- Loic Minier Sun, 14 Jan 2007 11:23:26 +0100 gnome-pkg-tools (0.9.1) unstable; urgency=low * Copy the required vars from CDBS' buildvars and get rid of the CDBS dependency for use in the non-CDBS sources. * Add a shell script to repack upstream tarballs for dbs, gnome-make-tartar. * Repack tarballs for use in dbs packages when DEB_USE_DBS_TARBALL_LAYOUT is set. -- Loic Minier Sat, 13 Jan 2007 22:17:38 +0100 gnome-pkg-tools (0.9) unstable; urgency=low * New gnome-get-source CDBS Makefile offering a get-orig-source implementation. -- Loic Minier Tue, 9 Jan 2007 14:07:36 +0100 gnome-pkg-tools (0.8) unstable; urgency=low * Add myself to Debian GNOME team. -- Kilian Krause Sun, 7 Jan 2007 14:25:15 +0100 gnome-pkg-tools (0.7) unstable; urgency=low * clean-la.mk: new rules file, that removes the dependency_libs field from .la files shipped by the package. -- Josselin Mouette Thu, 7 Sep 2006 14:23:07 +0200 gnome-pkg-tools (0.6) unstable; urgency=low * gnome-versions.mk: new rules file, that generates ${gnome:Version} and ${gnome:NextVersion} substitution variables. Will hopefully help us getting rid of lots of complaints from buildd administrators. * uploaders.mk: remove the shebang line, it's not meant to be executed. * Remove dependency on make. -- Josselin Mouette Fri, 1 Sep 2006 21:19:20 +0200 gnome-pkg-tools (0.5.2) unstable; urgency=low * Move cdbs, and debhelper from Build-Depends-Indep to Build-Depends. * Add Oystein Gisnas to the team, welcome on board! * Drop Akira TAGOH , Andreas Rottmann , Takuo KITAME from the team: thanks for your work. -- Loic Minier Mon, 3 Jul 2006 15:46:34 +0200 gnome-pkg-tools (0.5.1) unstable; urgency=low * pkg-gnome.team: - added Marco Cabizza , welcome to the team! - removed Ed Boraas, Emil Soleyman-Zomalan, Joe Drew, Johannes Rohr, Rob Bradford and Robert McQueen. Thanks for all your work! * debian/control.in: - bumped Standards-Version to 3.7.2 with no changes. -- Guilherme de S. Pastore Sun, 14 May 2006 18:21:19 -0300 gnome-pkg-tools (0.5) unstable; urgency=low * Revert changes in 0.4. They're not needed, thanks to a change in dpkg-dev 2 days earlier /o\ -- Josselin Mouette Sat, 6 May 2006 08:30:19 +0200 gnome-pkg-tools (0.4) unstable; urgency=low * arch-all.mk: new cdbs rule file, to work around the limitation of dpkg with regard to binary NMUs. It makes possible to depend on foo-data (= ${Arch-all-Version}). -- Josselin Mouette Thu, 4 May 2006 22:37:12 +0200 gnome-pkg-tools (0.3.20) unstable; urgency=low * pkg-gnome.team: Add Gustavo Franco . -- Guilherme de S. Pastore Wed, 26 Apr 2006 23:28:34 -0300 gnome-pkg-tools (0.3.19) unstable; urgency=low * pkg-gnome.team: updated my e-mail address. * debian/copyright: updated FSF's postal address. -- Guilherme de S. Pastore Tue, 18 Apr 2006 00:39:39 -0300 gnome-pkg-tools (0.3.18) unstable; urgency=low * pkg-gnome.team: Add Dafydd Harries . * pkg-gnome.team: Remove Carlos Perelló and Edd Dumbill. -- Jordi Mallach Tue, 28 Mar 2006 02:10:49 +0200 gnome-pkg-tools (0.3.17) unstable; urgency=low * brown paper bag release * pkg-gnome.team: - missing a comma... err... -- Gustavo Noronha Silva Thu, 1 Sep 2005 18:04:39 -0300 gnome-pkg-tools (0.3.16) unstable; urgency=low * pkg-gnome.team: - added Guilherme de S. Pastore (fatalerror) -- Gustavo Noronha Silva Thu, 1 Sep 2005 17:47:22 -0300 gnome-pkg-tools (0.3.15) unstable; urgency=low * Change my address * Add a manpage for gnome-dupload * Fix a few minor dependency issues -- Clément Stenac Sat, 27 Aug 2005 21:38:52 +0200 gnome-pkg-tools (0.3.14) unstable; urgency=low * Fix missing ",". -- Loic Minier Fri, 29 Jul 2005 21:38:52 +0200 gnome-pkg-tools (0.3.13) unstable; urgency=low * Add Clément Stenac to the team, welcome! * Bump Standards-Version to 3.6.2. -- Loic Minier Fri, 29 Jul 2005 19:11:43 +0200 gnome-pkg-tools (0.3.12) unstable; urgency=low * Add myself to the uploaders! [pkg-gnome.team] -- Loic Minier Sun, 5 Jun 2005 19:13:08 +0200 gnome-pkg-tools (0.3.11) unstable; urgency=low * pkg-gnome.team: add Ed Boraas. -- Josselin Mouette Sat, 19 Feb 2005 01:30:48 +0100 gnome-pkg-tools (0.3.10) unstable; urgency=low * pkg-gnome.team: added myself. -- Sjoerd Simons Fri, 14 Jan 2005 19:55:09 +0100 gnome-pkg-tools (0.3.9) unstable; urgency=low * Ross Burton: - Add new version of GNOME Policy as DocBook, and generate HTML for the package. * Andrew Lau: - README.Debian: Document migration of Subversion repository from Alioth servers to svn.debian.org -- Andrew Lau Wed, 5 Jan 2005 16:53:20 +1100 gnome-pkg-tools (0.3.8) unstable; urgency=low * Marc 'HE' Brockschmidt: - gnome-dupload: Fixed to actually detect if an upload is targeted at experimental. -- Marc 'HE' Brockschmidt Sat, 19 Jun 2004 18:11:55 +0200 gnome-pkg-tools (0.3.7) unstable; urgency=low * Sebastien Bacher: - README.Debian: - Added some notes about the upload queue on alioth * Marc 'HE' Brockschmidt: - pkg-gnome.team: Added me. - gnome-dupload: Created wrapper for dupload to check if packages are built for experimental but targeted at unstable before uploading. -- Sebastien Bacher Thu, 17 Jun 2004 18:16:40 +0200 gnome-pkg-tools (0.3.6) unstable; urgency=low * Ross Burton: - README.Debian: Changed the section on Alioth usernames, and added a note about using alternatives to dpkg-buildpackage with svn-buildpackage. - pkg-gnome.team: Updated Ross Burton's email address. * Jordi Mallach: - pkg-gnome.team: Added Andreas Rottmann, Rob Taylor and Carlos Perelló. -- Jordi Mallach Fri, 26 Mar 2004 16:32:55 +0100 gnome-pkg-tools (0.3.5) unstable; urgency=low * pkg-gnome.team: Jose Carlos Garcia Sogo -- Sebastien Bacher Fri, 12 Mar 2004 19:48:55 +0100 gnome-pkg-tools (0.3.4) unstable; urgency=low * pkg-gnome.team: added Ondřej Surý . -- Josselin Mouette Fri, 12 Mar 2004 14:22:23 +0100 gnome-pkg-tools (0.3.3) unstable; urgency=low * Updated Johannes Rohr's email. -- Sebastien Bacher Wed, 28 Jan 2004 21:35:36 +0100 gnome-pkg-tools (0.3.2) unstable; urgency=low * Added "J.H.M. Dassen (Ray) " to the members' list, welcome to the team :). -- Sebastien Bacher Sat, 10 Jan 2004 15:15:50 +0100 gnome-pkg-tools (0.3.1) unstable; urgency=medium * README.Debian: - Instructions on using svn-buildpackage. (Josselin Mouette ) -- Andrew Lau Tue, 28 Oct 2003 21:29:47 +1100 gnome-pkg-tools (0.3) unstable; urgency=low * Rewrote Uploaders: handling by introducing CDBS style Makefile classes. Debugging thanks: Tommi Virtanen . * Debian GNOME Packaging Policy: 20030502-1. -- Andrew Lau Thu, 23 Oct 2003 03:13:30 +1000 gnome-pkg-tools (0.2) unstable; urgency=low * README.Debian: - Contact details. - Uploaders: field handling. - Subversion repository at http://alioth.debian.org/ - Policy: Use changelog.Debian entry as svn commit log message. * control: Self-update Uploaders and arch:all. * rules: Switch from Debhelper to Common Debian Build System. -- Andrew Lau Fri, 17 Oct 2003 01:20:52 +1000 gnome-pkg-tools (0.1) unstable; urgency=low * Initial Release. -- Sebastien Bacher Wed, 8 Oct 2003 16:19:13 +0200 gnome-pkg-tools-0.19.3ubuntu2/debian/gnome-pkg-tools.manpages0000664000000000000000000000010412012622763021020 0ustar dh/dh_gnome.1 dh/dh_gnome_clean.1 debian/desktop-check-mime-types.1 gnome-pkg-tools-0.19.3ubuntu2/desktop-check-mime-types0000775000000000000000000000223012012622763017602 0ustar #!/usr/bin/perl -T # compares MIME types in installed .desktop files with the ones installed in # debian/*.mime files use warnings; use strict; my @debian_mime_types; foreach my $mime_file (glob "debian/*.mime") { open MIME_FILE,$mime_file or die "Can't open $mime_file: $!"; while () { chomp; s/\s*;.*//; next if /^#/; next if /^$/; push @debian_mime_types, $_; } } my @desktop_mime_types; foreach my $desktop_file (glob "debian/*/usr/share/applications/*.desktop") { open DESKTOP_FILE,$desktop_file or die "Can't open $desktop_file: $!"; while () { chomp; next unless /^MimeType\s*=/; s/.*=\s*//; push @desktop_mime_types, split(/;/); } } my @missing_mime_types; foreach my $desktop_mime_type (@desktop_mime_types) { next if grep($desktop_mime_type eq $_, @debian_mime_types); push @missing_mime_types, $desktop_mime_type; } if (@missing_mime_types) { print "The following MIME types are listed in some .desktop files but are missing from debian/*.mime:\n"; print join("\n", @missing_mime_types); print "\n"; exit(2); } gnome-pkg-tools-0.19.3ubuntu2/dh/0000775000000000000000000000000012012623600013426 5ustar gnome-pkg-tools-0.19.3ubuntu2/dh/dh_gnome_clean.10000664000000000000000000001147512012622763016453 0ustar .\" Automatically generated by Pod::Man 2.22 (Pod::Simple 3.07) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is turned on, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .ie \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . nr % 0 . rr F .\} .el \{\ . de IX .. .\} .\" .\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). .\" Fear. Run. Save yourself. No user-serviceable parts. . \" fudge factors for nroff and troff .if n \{\ . ds #H 0 . ds #V .8m . ds #F .3m . ds #[ \f1 . ds #] \fP .\} .if t \{\ . ds #H ((1u-(\\\\n(.fu%2u))*.13m) . ds #V .6m . ds #F 0 . ds #[ \& . ds #] \& .\} . \" simple accents for nroff and troff .if n \{\ . ds ' \& . ds ` \& . ds ^ \& . ds , \& . ds ~ ~ . ds / .\} .if t \{\ . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' . ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' . ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' . ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' . ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' .\} . \" troff and (daisy-wheel) nroff accents .ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' .ds 8 \h'\*(#H'\(*b\h'-\*(#H' .ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] .ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' .ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' .ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#] .ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] .ds ae a\h'-(\w'a'u*4/10)'e .ds Ae A\h'-(\w'A'u*4/10)'E . \" corrections for vroff .if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' .if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' . \" for low resolution devices (crt and lpr) .if \n(.H>23 .if \n(.V>19 \ \{\ . ds : e . ds 8 ss . ds o a . ds d- d\h'-1'\(ga . ds D- D\h'-1'\(hy . ds th \o'bp' . ds Th \o'LP' . ds ae ae . ds Ae AE .\} .rm #[ #] #H #V #F C .\" ======================================================================== .\" .IX Title "DH_GNOME_CLEAN 1" .TH DH_GNOME_CLEAN 1 "2010-11-01" "" "gnome-pkg-tools" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" dh_gnome \- tools for the Debian GNOME Packaging Team .SH "SYNOPSIS" .IX Header "SYNOPSIS" \&\fBdh_gnome_clean\fR [\fIdebhelper options\fR] [\-\-no\-control] [\-\-check\-dist] .SH "DESCRIPTION" .IX Header "DESCRIPTION" gnome-pkg-tools contains some useful tools for the Debian \s-1GNOME\s0 Packaging Team. .PP dh_gnome_clean is a tool designed to provide useful functions to \s-1GNOME\s0 packages which do use of debhelper as preferred build system, similar to the \s-1CDBS\s0 routines provided by gnome-pkg-tools. .PP dh_gnome_clean handles some routines to be run during clean phase. .SH "OPTIONS" .IX Header "OPTIONS" .IP "\fB\-\-no\-control\fR" 4 .IX Item "--no-control" Use this flag if you do not want to recreate debian/control file on top of debian/control.in, or if you do not provide the latter. .IP "\fB\-\-check\-dist\fR" 4 .IX Item "--check-dist" Use this flag if you want to avoid unwanted uploads to unstable. .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fIdebhelper\fR\|(7) .PP This program is a part of gnome-pkg-tools but is made to work with debhelper. .SH "AUTHORS" .IX Header "AUTHORS" Luca Falavigna gnome-pkg-tools-0.19.3ubuntu2/dh/gnome.pm0000664000000000000000000000037112012622763015103 0ustar #!/usr/bin/perl use warnings; use strict; use Debian::Debhelper::Dh_Lib; insert_before("dh_gconf", "dh_gnome"); insert_before("dh_compress", "dh_translations"); insert_after("dh_link", "dh_scour"); insert_before("dh_clean", "dh_gnome_clean"); 1; gnome-pkg-tools-0.19.3ubuntu2/dh/dh_gnome_clean0000775000000000000000000000733212012622763016314 0ustar #!/usr/bin/perl -w =head1 NAME dh_gnome - tools for the Debian GNOME Packaging Team =cut use strict; use Debian::Debhelper::Dh_Lib; =head1 SYNOPSIS B [I] [--no-control] [--check-dist] =head1 DESCRIPTION gnome-pkg-tools contains some useful tools for the Debian GNOME Packaging Team. dh_gnome_clean is a tool designed to provide useful functions to GNOME packages which do use of debhelper as preferred build system, similar to the CDBS routines provided by gnome-pkg-tools. dh_gnome_clean handles some routines to be run during clean phase. =head1 OPTIONS =over 4 =item B<--no-control> Use this flag if you do not want to recreate debian/control file on top of debian/control.in, or if you do not provide the latter. =item B<--check-dist> Use this flag if you want to avoid unwanted uploads to unstable. =back =cut init(options => { "no-control" => \$dh{MANGLE_CONTROL}, "check-dist" => \$dh{CHECK_DIST} }); # Members list of Debian GNOME Maintainers my $team_list = "/usr/share/gnome-pkg-tools/pkg-gnome.team"; # Uploaders which should always be listed in UPLOADERS; # the Maintainer is still excluded my $always_uploads = "Debian GNOME Maintainers "; # Number of uploads to be considered recent for the list of recent uploaders my $recent_uploads = 10; # Header for debian/control my $control_header = "/usr/share/gnome-pkg-tools/control.header"; # Allowed distributions in changelog my @allowed_dists = ("experimental"); # Disallowed distributions in changelog my @disallowed_dists = ("unstable"); sub mangle_control { my @team_list; my @uploaders; my $maintainer; # Save control.in content open FILE, "debian/control.in" or die $!; my @control = ; close FILE; # Save control_header content open FILE, $control_header or die $!; my @header = ; close FILE; # Determine who uploaded package so far open FILE, "debian/changelog" or die $!; foreach my $line () { if ($line =~ m/^ -- (.*>) /) { push (@uploaders, $1); } } close FILE; # Determine pkg-gnome team members open FILE, $team_list or die $!; foreach my $line () { if ($line =~ s/,//) { push (@team_list, $line); } } close FILE; # Determine Maintainer foreach (@control) { $_ =~ m/^Maintainer: (.*)$/; if ($1) { $maintainer = $1; } } $maintainer or die "Unable to determine Maintainer"; # Maintainer must not be listed in Uploader if (my ($index) = grep { $team_list[$_] =~ $maintainer } 0..$#team_list) { delete $team_list[$index]; } # Only consider a limited number of uploads delete @uploaders[$recent_uploads..$#uploaders]; # Fill debian/control with collected data open FILE, ">", "debian/control" or die $!; print FILE @header; my %hash = map { $_, 1 } @uploaders; my $uploaders = join (", ", sort (keys %hash) ); foreach (@control) { $_ =~ s/\@GNOME_TEAM\@/$uploaders/; print FILE $_; } close FILE; } sub check_dist { `dpkg-parsechangelog` =~ m/Distribution: (\S+)/; my $distribution = $1; foreach (@allowed_dists) { return if $distribution eq $_; } foreach (@disallowed_dists) { die "Disallowed distribution: $distribution" if $distribution eq $_; } print "Unknown distribution: $distribution\n"; } unless ($dh{MANGLE_CONTROL}) { mangle_control(); } if ($dh{CHECK_DIST}) { check_dist(); } =head1 SEE ALSO L This program is a part of gnome-pkg-tools but is made to work with debhelper. =head1 AUTHORS Luca Falavigna =cut gnome-pkg-tools-0.19.3ubuntu2/dh/dh_gnome0000775000000000000000000000550312012622763015150 0ustar #!/usr/bin/perl -w =head1 NAME dh_gnome - tools for the Debian GNOME Packaging Team =cut use strict; use Debian::Debhelper::Dh_Lib; =head1 SYNOPSIS B [I] [--no-clean-la] [--no-gnome-version] =head1 DESCRIPTION gnome-pkg-tools contains some useful tools for the Debian GNOME Packaging Team. dh_gnome is a tool designed to provide useful functions to GNOME packages which do use of debhelper as preferred build system, similar to the CDBS routines provided by gnome-pkg-tools. dh_gnome handles some routines to be run during binary-install phase. =head1 OPTIONS =over 4 =item B<--no-clean-la> Use this flag if you do not want to automatically empty dependency_libs fields provided by your packages' .la files. =item B<--no-gnome-versions> Use this flag if you do not want to generate GNOME subsvars for your packages. =back =cut init(options => { "no-clean-la" => \$dh{CLEAN_LA}, "no-gnome-versions" => \$dh{GNOME_VERSIONS} }); sub clean_la_files { # Empty dependency_libs lines from .la files foreach my $package (@{$dh{DOPACKAGES}}) { if (-d "debian/$package/usr/lib") { opendir (DIR, "debian/$package/usr/lib"); my @files = grep (/\.la$/, readdir (DIR) ); closedir (DIR); foreach my $file (@files) { my $la = "debian/$package/usr/lib/$file"; open FILE, $la or die $!; my @lines = ; close FILE; open FILE, "+>", $la or die $!; foreach (@lines) { if ($_ =~ /^dependency_libs/) { $_ =~ s/'.*'/''/; } print FILE $_; } close FILE; } } } } sub gnome_versions { # Generate ${gnome:Version} and ${gnome:NextVersion} substvars foreach my $package (@{$dh{DOPACKAGES}}) { my $gnome_version; my $gnome_next_version; isnative($package); $dh{VERSION} =~ /^([0-9]+:)?([0-9]\.[0-9]+)\..*$/; if ($1) { $gnome_version = $1.$2; } else { $gnome_version = $2; } $gnome_version =~ /^([0-9]+:)?([0-9]\.)([0-9]+)$/; if ($1) { $gnome_next_version = $1.$2.($3+1); } else { $gnome_next_version = $2.($3+1); } open FILE, ">>", "debian/$package.substvars" or die $!; print FILE "gnome:Version=$gnome_version\n"; print FILE "gnome:NextVersion=$gnome_next_version\n"; close FILE; } } unless ($dh{CLEAN_LA}) { clean_la_files(); } unless ($dh{GNOME_VERSIONS}) { gnome_versions(); } =head1 SEE ALSO L This program is a part of gnome-pkg-tools but is made to work with debhelper. =head1 AUTHORS Luca Falavigna =cut gnome-pkg-tools-0.19.3ubuntu2/dh/dh_gnome.10000664000000000000000000000607612012622763015312 0ustar .\" Automatically generated by Pod::Man 2.22 (Pod::Simple 3.07) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is turned on, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .ie \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . nr % 0 . rr F .\} .el \{\ . de IX .. .\} .\" ======================================================================== .\" .IX Title "DH_GNOME 1" .TH DH_GNOME 1 "2010-09-24" "" "gnome-pkg-tools" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" dh_gnome \- tools for the Debian GNOME Packaging Team .SH "SYNOPSIS" .IX Header "SYNOPSIS" \&\fBdh_gnome\fR [\fIdebhelper options\fR] [\-\-no\-clean\-la] [\-\-no\-gnome\-version] .SH "DESCRIPTION" .IX Header "DESCRIPTION" gnome-pkg-tools contains some useful tools for the Debian \s-1GNOME\s0 Packaging Team. .PP dh_gnome is a tool designed to provide useful functions to \s-1GNOME\s0 packages which do use of debhelper as preferred build system, similar to the \s-1CDBS\s0 routines provided by gnome-pkg-tools. .PP dh_gnome handles some routines to be run during binary-install phase. .SH "OPTIONS" .IX Header "OPTIONS" .IP "\fB\-\-no\-clean\-la\fR" 4 .IX Item "--no-clean-la" Use this flag if you do not want to automatically empty dependency_libs fields provided by your packages' .la files. .IP "\fB\-\-no\-gnome\-versions\fR" 4 .IX Item "--no-gnome-versions" Use this flag if you do not want to generate \s-1GNOME\s0 subsvars for your packages. .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fIdebhelper\fR\|(7) .PP This program is a part of gnome-pkg-tools but is made to work with debhelper. .SH "AUTHORS" .IX Header "AUTHORS" Luca Falavigna gnome-pkg-tools-0.19.3ubuntu2/control.header0000664000000000000000000000025112012623044015665 0ustar # This file is autogenerated. DO NOT EDIT! # # Modifications should be made to debian/control.in instead. # This file is regenerated automatically in the clean target. gnome-pkg-tools-0.19.3ubuntu2/pkg-gnome.team0000664000000000000000000000215112012622763015577 0ustar Debian GNOME Maintainers , Andrea Veri , Andreas Henriksson , David Weinehall , Deng Xiyue , Emilio Pozuelo Monfort , Gustavo Noronha Silva , J.H.M. Dassen (Ray) , Jeremy Bicha , Jordi Mallach , Jose Carlos Garcia Sogo , Josselin Mouette , Julian Andres Klode , Kilian Krause , Laurent Bigonville , Loic Minier , Loïc Minier , Loïc Minier , Marc 'HE' Brockschmidt , Mario Lang , Martin Pitt , Michael Biebl , Otavio Salvador , Oystein Gisnas , Rob Bradford , Ross Burton , Sebastian Dröge , Sebastien Bacher , Sjoerd Simons , Frederic Peters