Update of /cvsroot/pure-data/packages/linux_make In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28715
Modified Files: Tag: branch-v0-39-2-extended Makefile Added Files: Tag: branch-v0-39-2-extended pd-extended.desktop pd.png Log Message: backported debian package hack from HEAD
Index: Makefile =================================================================== RCS file: /cvsroot/pure-data/packages/linux_make/Makefile,v retrieving revision 1.21.2.1 retrieving revision 1.21.2.2 diff -C2 -d -r1.21.2.1 -r1.21.2.2 *** Makefile 29 Dec 2006 02:30:43 -0000 1.21.2.1 --- Makefile 11 Jul 2007 02:36:57 -0000 1.21.2.2 *************** *** 58,64 **** #==============================================================================#
! package: tarbz2
PACKAGE_NAME = Pd-$(PD_VERSION) tarbz2: installer_makefile installer_readme install -p .pdsettings $(DESTDIR)$(prefix) --- 58,104 ---- #==============================================================================#
! # if machine has dpkg-deb, build a Debian package ! DPKG := $(shell test -x /usr/bin/dpkg-deb && echo YES) ! ifeq ($(DPKG),YES) ! package: deb ! else ! package: tarbz2 ! endif
PACKAGE_NAME = Pd-$(PD_VERSION) + + deb: $(bindir) + # GNOME menu support + install -d $(DESTDIR)/usr/share/icons/hicolor/128x128/apps + install -p $(packages_src)/linux_make/pd.png \ + $(DESTDIR)/usr/share/icons/hicolor/128x128/apps/ + install -d $(DESTDIR)/usr/share/applications/ + install -p $(packages_src)/linux_make/pd-extended.desktop \ + $(DESTDIR)/usr/share/applications/ + # files for /etc + install -d $(DESTDIR)/etc/bash_completion.d/ + install -p $(scripts_src)/bash_completion/pd $(DESTDIR)/etc/bash_completion.d + install -d $(DESTDIR)/etc/default + install -p $(scripts_src)/debian/default/pd $(DESTDIR)/etc/default + install -d $(DESTDIR)/etc/init.d + install -p $(scripts_src)/debian/init.d/pd $(DESTDIR)/etc/init.d + # default prefs file + install -d $(DESTDIR)/etc/pd-extended + ln -s $(prefix)/lib/pd/default.pdsettings \ + $(DESTDIR)/etc/pd-extended/default.pdsettings + install -p $(packages_src)/linux_make/.pdsettings \ + $(libpddir)/default.pdsettings + # emacs mode for .pd files + install -d $(DESTDIR)/usr/share/emacs/site-lisp/ + install -p $(scripts_src)/pd-mode.el $(DESTDIR)/usr/share/emacs/site-lisp/ + # Pd-related scripts + install -p $(scripts_src)/pd-diff $(bindir) + install -p $(scripts_src)/config-switcher.sh $(bindir) + # debian packaging + test -d $(DESTDIR)/DEBIAN || mkdir -p $(DESTDIR)/DEBIAN + cp $(packages_src)/linux_make/debian/control $(DESTDIR)/DEBIAN + fakeroot dpkg-deb --build $(DESTDIR) $(packages_src)/linux_make/$(PACKAGE_NAME).deb + + tarbz2: installer_makefile installer_readme install -p .pdsettings $(DESTDIR)$(prefix)
--- NEW FILE: pd.png --- (This appears to be a binary file; contents omitted.)
--- NEW FILE: pd-extended.desktop --- [Desktop Entry] Encoding=UTF-8 Name=Pd-extended GenericName=Pure Data Comment=Visual dataflow programming platform for multimedia Comment[ca]=Plataforma de programaci visual per aplicacions multimdia Comment[de]=Grafische Datenflussprogrammierung fr Multimedia Comment[es]=Plataforma de programacin visual para aplicaciones multimedia Comment[fr]=Plateforme de programmation visuelle pour applications multimdia Comment[it]=Piattaforma di programmazione visuale per applicazioni multimedia Comment[pt]=Plataforma de programao visuais para multimedia Exec=/usr/local/bin/pd Terminal=false Type=Application Icon=pd Categories=GNOME;GTK;Application;AudioVideo;X-Ximian-Main;X-Red-Hat-Base; MimeType=application/x-ogg;application/ogg;audio/x-mp3; StartupNotify=true X-Ubuntu-Gettext-Domain=pd-extended